• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Websphere security issue for the calls between two applications using RMI IIOP

 
Balasubramanian Chidambaram
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,


I am stuck into Websphere security issue for the calls between two applications using RMI IIOP in the same websphere server. I have application A which uses servlet to invoke the logincontext in application B to login. This end up in infinite loop and stack over flow error and also unable to stop the server.

Please help.


Source = com.ibm.ws.security.auth.JaasLoginHelper.jaas_login
probeid = 388
Stack Dump = javax.security.auth.login.LoginException: java.lang.StackOverflowError
at java.lang.ClassLoader.loadClass(ClassLoader.java:623)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:328)
at java.lang.ClassLoader.loadClass(ClassLoader.java:597)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:363)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:347)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:83)
at java.lang.ClassLoader.loadClass(ClassLoader.java:623)
at com.ibm.ws.bootstrap.ExtClassLoader.loadClass(ExtClassLoader.java:87)
at java.lang.ClassLoader.loadClass(ClassLoader.java:597)
at com.ibm.ws.classloader.ProtectionClassLoader.loadClass(ProtectionClassLoader.java:58)
at com.ibm.ws.classloader.ProtectionClassLoader.loadClass(ProtectionClassLoader.java:54)
at com.ibm.ws.classloader.CompoundClassLoader.loadClass(CompoundClassLoader.java:375)
at java.lang.ClassLoader.loadClass(ClassLoader.java:597)
at com.ibm.ws.security.common.auth.module.proxy.WSLoginModuleProxy.initialize(WSLoginModuleProxy.java:97)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
at javax.security.auth.login.LoginContext.invoke(LoginContext.java:782)
at javax.security.auth.login.LoginContext.access$000(LoginContext.java:209)
at javax.security.auth.login.LoginContext$4.run(LoginContext.java:709)
at java.security.AccessController.doPrivileged(AccessController.java:246)
at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:706)
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic