It's all about the answers!

Ask a question

Cannot use RTC methods in web application


Arati Kulkarni (132) | asked Aug 12 '21, 5:24 a.m.
edited Aug 12 '21, 6:43 a.m.

 I have used RTC plain Java APIs into my library and this particular library I am using in a web application.

All functionalities are working fine in stand alone library project but in web application it giving me following exception.
Caused by: java.lang.SecurityException: class "org.eclipse.core.runtime.Platform"'s signer information does not match signer information of other classes in the same package
at java.lang.ClassLoader.checkCerts(ClassLoader.java:898)
at java.lang.ClassLoader.preDefineClass(ClassLoader.java:668)
at java.lang.ClassLoader.defineClass(ClassLoader.java:761)
at java.lang.ClassLoader.defineClass(ClassLoader.java:839)
at org.jboss.modules.ModuleClassLoader.doDefineOrLoadClass(ModuleClassLoader.java:424)
at org.jboss.modules.ModuleClassLoader.defineClass(ModuleClassLoader.java:555)
at org.jboss.modules.ModuleClassLoader.loadClassLocal(ModuleClassLoader.java:339)
at org.jboss.modules.ModuleClassLoader$1.loadClassLocal(ModuleClassLoader.java:126)
at org.jboss.modules.Module.loadModuleClass(Module.java:731)
at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:247)
at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:410)
at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:398)
at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:116)
at com.ibm.team.repository.client.internal.TeamRepositoryService.shouldAllowJtsLogin(TeamRepositoryService.java:80)
at com.ibm.team.repository.client.internal.TeamRepositoryService.<clinit>(TeamRepositoryService.java:66)
... 191 more


I am using IntelliJ Idea 2018 IDE and RTC 7.0.1 plain Java APIs and web application is a Maven project.


Comments
Ralph Schoon commented Aug 12 '21, 6:31 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

I am not sure if that solves your problem, but you should definitely read https://rsjazz.wordpress.com/2021/02/10/ewm-rtc-plain-java-client-libraries-and-maven/ 

Be the first one to answer this question!


Register or to post your answer.