VerifyError due to Security???
adpaika Sep 15, 2004 10:41 AMHi all,
I have my own Loginmodule which is extending from AbstractServerLoginModule. My application is currently running in Jboss3.0. When I triedd move my application to Jboss3.2.5 I got AuthenticationException while it was trying to access the beans. So, i modified my loginmodule by setting the new 'loginOk' variable from the AbstractServerLoginModule.but, now it cant access one one of my files, which I'm using for returning groups and roles from an XML file.
the Exception is:
java.lang.VerifyError:
(class: com/server/app/auth/XMLConfiguration, method: initialize signature: ()V) Incompatible object argument for function call
at com.server.app.auth.MyLoginModule.getGroups(MyLoginModule.java:59)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:683)
at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:185)
at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:72)
at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:84)
at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:315)
at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:148)
at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:120)
at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:191)
at org.jboss.ejb.StatelessSessionContainer.internalInvoke(StatelessSessionContainer.java:331)
at org.jboss.ejb.Container.invoke(Container.java:723)
at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:359)
at org.jboss.ejb.plugins.local.StatelessSessionProxy.invoke(StatelessSessionProxy.java:83)
at $Proxy260.getGroups(Unknown Source)
Does anybody know the reason/solution for this problem.??Plz help me.....
Thnx & Rgds
vasko