Troubleshooting
Problem
Maximo login attempt failed with an error. "The system could not connect to an application server on the specified host. Ensure that the application server is running."
NOTE: This solution applies to Maximo 7.6.0.x env that are compatible with Java 1.7. However it does not apply to servers with Maximo 7.6.1.x as Websphere 8.5.5 must have Java 1.8
Symptom
JVM SystemOut.log file shows an error:
CNTR0075E: The user-provided class "psdi.security.ejb.EJSRemoteStatelessaccesstokenprovider_87daf10b" needed by the EnterpriseBean could not be found or loaded.
WSVR0068E: Attempt to start EnterpriseBean MAXIMO#mboejb.jar#accesstokenprovider failed with exception: com.ibm.ejs.container.EJBConfigurationException: Bean class psdi.security.ejb.EJSRemoteStatelessaccesstokenprovider_87daf10b could not be found or loaded
at com.ibm.ws.metadata.ejb.EJBMDOrchestrator.loadGeneratedImplementationClasses(EJBMDOrchestrator.java:4919)
at com.ibm.ws.metadata.ejb.EJBMDOrchestrator.finishBMDInitWithReferenceContext(EJBMDOrchestrator.java:1077)
...
Caused by: java.lang.ClassNotFoundException: psdi.security.ejb.EJSRemoteStatelessaccesstokenprovider_99a49003
at java.net.URLClassLoader.findClass(URLClassLoader.java:607)
Environment
IBM WebSphere Application Server 8.5.5.9+ (minimum requirement for Java 8)
Resolving The Problem
To resolve the errors, follow the steps below:
Follow the instructions in the document link below to enable ejb deploy using Java 8.
http://www-01.ibm.com/support/docview.wss?uid=swg24043474
Alternatively, the following steps can be performed to downgrade the SDK to version 1.7 if you wish:
1. Stop the JVM server and uninstall Maximo application from WebSphere console.
2. Set the Java SDK to 1.7 to all WebSphere profiles using manageSDK script.
For example:
To list available Java SDKs:
Navigate to application server directory BIN directory, for example C:\IBM\WebSphere\AppServer\bin
C:\IBM\WebSphere\AppServer\bin>
> managesdk -listAvailable -verbose
To enable all profiles to use Java version 1.7 SDK:
> managesdk -enableProfileAll -sdkname 1.7.1_64 -enableServers
3. Manually synchronize the WebSphere nodes using the syncNode command.
4. Rebuild and redeploy a new Maximo EAR.
Note: During EAR deployment, ensure that the option "Deploy enterprise beans" is checked.
As an alternative, apply a WebSphere Interim Fix that fixes APAR PI73197:Enable Java 8 Support for EJBDeploy on WebSphere Application Server .
Related Information
Was this topic helpful?
Document Information
Modified date:
22 January 2019
UID
swg22002577