We have WebSphere 8.5.5.x installed and we are running into issue with some wsadmin tool command when attempting to run our application. Our script hangs. Our application runs fine when we execute it from the web console but if we try to run it using admin commands we get an error. Below is an example of the command we are running:
AdminControl.invoke(appManager,'startApplication','%s' % Appname)’
Error:
wsadmin>AdminControl.invoke(appManager,'startApplication','%s' % Appname)
WASX7015E: Exception running command: "AdminControl.invoke(appManager,'startApplication','%s' % Appname)"; exception information:
com.ibm.websphere.management.exception.ConnectorNotAvailableException
javax.naming.ServiceUnavailableException: javax.naming.ServiceUnavailableException: A communication failure occurred while attempting to obtain an initial context with the provider URL: "corbaloc:iiop:localhost:2809/WsnAdminNameService". Make sure that any bootstrap address information in the URL is correct and that the target name server is running. A bootstrap address with no port specification defaults to port 2809. Possible causes other than an incorrect bootstrap address or unavailable name server include the network environment and workstation network configuration. [Root exception is org.omg.CORBA.TRANSIENT: java.net.ConnectException: Connection refused:host=cimbnrcs-app,port=2809 vmcid: IBM minor code: E02 completed: No]
We know its not a bootstrap issue - we do have the port set at 2809. We also checked the appManager variable to ensure it wasn’t empty.
Any suggestions that could be causing this?
#Support#SupportMigration#WebSphereApplicationServer(WAS)