Error 401 on AdminApp deployment to Websphere 9 Docker - docker

While running jython py script with adminApp.install to install on Docker WAS, I'm getting the Error:
WASX7017E: Exception received while running file
"deployWebSphere_with_install_standAlone.py"; exception information:
com.ibm.websphere.management.filetransfer.client.TransferFailedException:
401 Unauthorized (for:
C:\Users\devopsjava\AppData\Local\Temp\app5674632847255103189.ear).
I tried give full control on this path,
I tried set custom property:com.ibm.websphere.management.filetransfer.serverBasicAuth=true
(https://www-01.ibm.com/support/docview.wss?uid=swg1PK71800)
My code:
options = ['-node ',node,'-cell ',cell,"-server ",server]
print AdminApp.install(packageFile, options)
I always get :
WASX7017E: Exception received while running file
"deployWebSphere_with_install_standAlone.py"; exception information:
com.ibm.websphere.management.filetransfer.client.TransferFailedException:
401 Unauthorized (for:
C:\Users\devopsjava\AppData\Local\Temp\app5674632847255103189.ear).
Maybe, I need to set some more property, or there is problem with security between docker domain and the outside world ?

Related

A command from the RDF4J framework is throwing an error

When running the following commands, an error is thrown by the add command. The rdf4j framework is used for communicating with a graphdb Knowledge Base:
import org.eclipse.rdf4j.model.Model;
Model model;
//statements have been added to the model
public RepositoryConnection connection;
...
connection.add(model); <-- error is thrown
An error is thrown in add command
2022-01-24 09:46:02 [http-nio-8080-exec-5] ERROR restapi.SubmitRMService - unable to rollback transaction. HTTP error code 404
org.eclipse.rdf4j.repository.RepositoryException: unable to rollback transaction. HTTP error code 404
at org.eclipse.rdf4j.http.client.RDF4JProtocolSession.rollbackTransaction(RDF4JProtocolSession.java:786)
at org.eclipse.rdf4j.repository.http.HTTPRepositoryConnection.rollback(HTTPRepositoryConnection.java:354)
at org.eclipse.rdf4j.repository.base.AbstractRepositoryConnection.conditionalRollback(AbstractRepositoryConnection.java:335)
at org.eclipse.rdf4j.repository.base.AbstractRepositoryConnection.add(AbstractRepositoryConnection.java:379)
The code is running successfully in two other environments except one we are setting with kubernetes. We ensured that /opt/graphdb/home has write permissions.
Question: I just do not understand the 404 RepositoryException error. The code can successfully run queries before the .add(model), so the connection with the graphdb is ok.

getting this error while trying to run cube js

I'm getting this error while trying to run cube js with the default command in the getting started docs. I've started this in a folder and running it in docker.
Warning. There is no cube.js file. Continue with environment variables
πŸ”₯ Cube Store (0.28.31) is assigned to 3030 port.
Warning. Option apiSecret is required in dev mode. Cube.js has generated it as e3b8c5a35fe378f4d481ada777e5f3c4
πŸ”“ Authentication checks are disabled in developer mode. Please use NODE_ENV=production to enable it.
πŸ¦… Dev environment available at http://localhost:4000
πŸš€ Cube.js server (0.28.31) is listening on 4000
2021-09-03 15:06:01,512 INFO [cubestore::http::status] <pid:17> Serving status probes at 0.0.0.0:3031
2021-09-03 15:06:01,515 INFO [cubestore::metastore] <pid:17> Using existing metastore in /cube/conf/.cubestore/data/metastore
thread '
main
' panicked at '
called `Result::unwrap()` on an `Err` value: Error { message: "IO error: While fsync: a directory: Invalid argument" }
', /project/cubestore/src/metastore/mod.rs:1542:40
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Cube Store Start Error: undefined
I guess it’s corrupted metastore due to it was incorrectly shutdown for you locally. Could you please try to drop the .cubestore directory?

Failed to start the VM error when starting a Dataflow SQL job

Getting the following error when I try to launch a Dataflow SQL job:
Failed to start the VM, launcher-____, used for launching because of status code: INVALID_ARGUMENT, reason: Error: Message: Invalid value for field 'resource.networkInterfaces[0].network': 'global/networks/default'. The referenced network resource cannot be found. HTTP Code: 400.
This issue just started today.
Adding the default network solved the issue.

Using ant task in mobilefirst error in wladm cmd

I followed this tutorial:
http://www.ibm.com/support/knowledgecenter/SSHS8R_7.1.0/com.ibm.worklight.appadmin.doc/admin/r_invoking_the_wladm_program.html
I'm trying to enter a command in cmd and tried this:
wladm --url=http://IP:9080 --user=demo --passwordfile=PATH\wladm.config --secure=false show info
I'm getting this error:
Error accessing http://IP:9080/userAndConfigInfo?locale=en_US:
HTTP/1.1 404 Not Found
Now when I enter another command:
wladm --url=http://IP:9080 --user=demo --passwordfile=PATH\wladm.config --secure=false list adapters RuntimeName
I'm getting this error:
Error accessing http://sv591527.ph.sunlife:9080/management-apis/1.0/runtimes/Sun
lifeTestApp/adapters?pageSize=1000000000&locale=en_US: HTTP/1.1 404 Not Found
Anyone have an idea what I'm missing?
The URL should contain the context root of the MobileFirst web application for administration services, that is, should be something like http://IP:9080/wladmin or http://IP:9080/worklightadmin. For more details, please consult the wladm usage documentation http://www.ibm.com/support/knowledgecenter/SSHS8R_7.1.0/com.ibm.worklight.appadmin.doc/admin/r_invoking_the_wladm_program.html.

Crucible after restore fails in Jira

I install and user Crucible+FishEye on http://mydomen:8060
work several month - all works, integration with jira was worked.
I create http://crucible.mydomain (in other physic server) - with nginx proxy on localhost:8060, install Crucible+FishEye and restore from backup.
And now i get erro in jira tasks Source and Rewiev tab:
This list of reviews may be incomplete, as errors occurred retrieving data from the following repositories:
Request to http://mydomen:8060/ failed: Error in remote call to 'mydomen' (http://crucible1.mydomen) [AbstractRestCommand{path='rest-service/search-v1/reviews', params={maxReturn=50, term=XM-911}, methodType=GET}] : Received status code 404 (Not Found)
Request to http://crucible.mydomain/ failed: Error in remote call to 'Crucible+FishEye' (http://mydomen:8060) [AbstractRestCommand{path='rest-service/search-v1/reviews', params={maxReturn=50, term=XM-911}, methodType=GET}] : The host did not accept the connection within timeout of 10000 ms
Why it try connected on http://mydomen:8060 ??
In my Crucible > Administration > Global settings > Server > HTTP Bind=crucible.mydomain
I found solution: I need recreate Application links in http://jira.mydomen/plugins/servlet/applinks/listApplicationLinks

Resources