WARNING: ADMC0046W
java.lang.NoClassDefFoundError: com/ibm/security/cert/IBMCertPath
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:141)
at com.ibm.websphere.management.AdminClientFactory.createAdminClient(AdminClientFactory.java:258)
at com.ibm.ws.management.application.j2ee.deploy.spi.DeploymentManagerImpl.connect(DeploymentManagerImpl.java:181)
at com.ibm.ws.management.application.j2ee.deploy.spi.factories.DeploymentFactoryImpl.getDeploymentManager(DeploymentFactoryImpl.java:186)
at com.test.testme.main(testme.java:64)
Exception in thread "main"
There is no class named "com.ibm.security.cert.IBMCertPath" that comes with WAS 6.0
1. Upgrade to WAS 6.0.1.0
2. Add the following lines of code to set certain system properties:
System.setProperty("com.ibm.SOAP.configURL", "C:\\Program Files\\IBM\\WebSphere\\AppServer\\profiles\\default\\properties\\soap.client.props");
System.setProperty("was.install.root", "C:\\Program Files\\IBM\\WebSphere\\AppServer");
Hope that will help somebody out there experiencing the same problem.
> There is no class
> named "com.ibm.security.cert.IBMCertPath" that comes
> with WAS 6.0
As far as com.ibm.security.cert.IBMCertPath, it exists --
you need to run your program with IBM's JRE, that class
and others needed exist in the IBM runtime.
And that's what I have, and I still get that
"An error occurred creating the application deployment
manager"...