Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use on Websphere Liberty and Websphere Traditional #128

Open
davidg251 opened this issue Jan 16, 2019 · 0 comments
Open

Use on Websphere Liberty and Websphere Traditional #128

davidg251 opened this issue Jan 16, 2019 · 0 comments
Assignees

Comments

@davidg251
Copy link

Hello 😀

We are using OpenPojo in our app, we are generating an EAR artefact and deploy it to a WAS Liberty and a AS traditional server. The EAR is installed and launched sucessfully, but when the code calls OpenPojo functions the server shows the next error:

Caused by: java.lang.NoClassDefFoundError: sun.security.krb5.Credentials at com.openpojo.random.generator.security.CredentialsRandomGenerator.<clinit>(CredentialsRandomGenerator.java:39) at com.openpojo.registry.ServiceRegistrar.initializeRandomGeneratorService(ServiceRegistrar.java:94) at com.openpojo.registry.ServiceRegistrar.<init>(ServiceRegistrar.java:57) at com.openpojo.registry.ServiceRegistrar.<init>(ServiceRegistrar.java:49) at com.openpojo.registry.ServiceRegistrar$Instance.<clinit>(ServiceRegistrar.java:199) at com.openpojo.registry.ServiceRegistrar.getInstance(ServiceRegistrar.java:170) at com.openpojo.reflection.impl.PojoClassFactory.getPojoClass(PojoClassFactory.java:42) at com.openpojo.business.identity.impl.DefaultStringanizer.toString(DefaultStringanizer.java:39) at com.openpojo.business.identity.impl.DefaultIdentityHandler.toString(DefaultIdentityHandler.java:45) at com.openpojo.business.BusinessIdentity.toString(BusinessIdentity.java:79) at com.baxter.ots.model.Users.toString(Users.java:129) at java.lang.String.valueOf(String.java:3411) at java.lang.StringBuilder.append(StringBuilder.java:516) at com.baxter.ots.controllers.generic.GenericBusinessController.sucessResponse(GenericBusinessController.java:42) at com.baxter.ots.controllers.impl.LoginController.getUserProfile(LoginController.java:189) ... 83 more Caused by: java.lang.ClassNotFoundException: sun.security.krb5.Credentials at java.net.URLClassLoader.findClass(URLClassLoader.java:610) at com.ibm.ws.bootstrap.ExtClassLoader.findClass(ExtClassLoader.java:243) at java.lang.ClassLoader.loadClassHelper(ClassLoader.java:925) at java.lang.ClassLoader.loadClass(ClassLoader.java:870) at com.ibm.ws.bootstrap.ExtClassLoader.loadClass(ExtClassLoader.java:134) at java.lang.ClassLoader.loadClass(ClassLoader.java:853) at com.ibm.ws.classloader.ProtectionClassLoader.loadClass(ProtectionClassLoader.java:62) at com.ibm.ws.classloader.ProtectionClassLoader.loadClass(ProtectionClassLoader.java:58) at com.ibm.ws.classloader.CompoundClassLoader.loadClass(CompoundClassLoader.java:587) at java.lang.ClassLoader.loadClass(ClassLoader.java:853) at com.ibm.ws.classloader.CompoundClassLoader.loadClass(CompoundClassLoader.java:587) at java.lang.ClassLoader.loadClass(ClassLoader.java:853) ... 98 more

environment
Java version = 1.8.0_191,
Java Runtime Version = 8.0.5.26 - pxa6480sr5fp26-20181115_03(SR5 FP26),
Java Compiler = j9jit29,
Java VM name = IBM J9 VM

There are known issues on IBM JVM?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants