Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-4417

java.lang.ClassNotFoundException: No ClassLoaders found for: boolean

    XMLWordPrintable

Details

    • Bug
    • Resolution: Obsolete
    • Major
    • None
    • JBossAS-4.2.0.GA
    • None
    • None

    Description

      Hello,

      My app seems to have a problem invoking methods that have boolean arguments on remote session beans. The application uses JBoss client to communicate with a staleless session bean on a server running on the same host. I seem to be able to invoke any method on the bean with no problem, but only in case, the method has no boolean argument. When I call a method that has a boolean argument, I get this:

      On the JBoss server side:

      23:25:18,703 ERROR (PooledInvokerThread-192.168.1.65-2) [STDERR] java.lang.ClassNotFoundException: No ClassLoaders found for: boolean
      23:25:18,703 ERROR (PooledInvokerThread-192.168.1.65-2) [STDERR] at org.jboss.mx.loading.LoadMgr3.beginLoadTask(LoadMgr3.java:306)
      23:25:18,703 ERROR (PooledInvokerThread-192.168.1.65-2) [STDERR] at org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.java:511)
      23:25:18,703 ERROR (PooledInvokerThread-192.168.1.65-2) [STDERR] at org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:405)
      23:25:18,703 ERROR (PooledInvokerThread-192.168.1.65-2) [STDERR] at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
      23:25:18,703 ERROR (PooledInvokerThread-192.168.1.65-2) [STDERR] at org.jboss.util.loading.DelegatingClassLoader.loadClass(DelegatingClassLoader.java:89)
      23:25:18,703 ERROR (PooledInvokerThread-192.168.1.65-2) [STDERR] at org.jboss.mx.loading.LoaderRepositoryClassLoader.loadClass(LoaderRepositoryClassLoader.java:90)
      23:25:18,703 ERROR (PooledInvokerThread-192.168.1.65-2) [STDERR] at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
      23:25:18,703 ERROR (PooledInvokerThread-192.168.1.65-2) [STDERR] at org.jboss.util.loading.DelegatingClassLoader.loadClass(DelegatingClassLoader.java:89)
      23:25:18,703 ERROR (PooledInvokerThread-192.168.1.65-2) [STDERR] at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
      23:25:18,703 ERROR (PooledInvokerThread-192.168.1.65-2) [STDERR] at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
      23:25:18,703 ERROR (PooledInvokerThread-192.168.1.65-2) [STDERR] at java.lang.Class.forName0(Native Method)
      23:25:18,703 ERROR (PooledInvokerThread-192.168.1.65-2) [STDERR] at java.lang.Class.forName(Class.java:242)
      23:25:18,703 ERROR (PooledInvokerThread-192.168.1.65-2) [STDERR] at org.jboss.invocation.pooled.interfaces.OptimizedObjectInputStream.forName(OptimizedObjectInputStream.java:114)
      23:25:18,703 ERROR (PooledInvokerThread-192.168.1.65-2) [STDERR] at org.jboss.invocation.pooled.interfaces.OptimizedObjectInputStream.resolveClass(OptimizedObjectInputStream.java:184)
      23:25:18,703 ERROR (PooledInvokerThread-192.168.1.65-2) [STDERR] at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1544)
      23:25:18,703 ERROR (PooledInvokerThread-192.168.1.65-2) [STDERR] at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1466)
      23:25:18,703 ERROR (PooledInvokerThread-192.168.1.65-2) [STDERR] at java.io.ObjectInputStream.readClass(ObjectInputStream.java:1433)
      23:25:18,703 ERROR (PooledInvokerThread-192.168.1.65-2) [STDERR] at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1288)
      23:25:18,703 ERROR (PooledInvokerThread-192.168.1.65-2) [STDERR] at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1634)
      23:25:18,703 ERROR (PooledInvokerThread-192.168.1.65-2) [STDERR] at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299)
      23:25:18,703 ERROR (PooledInvokerThread-192.168.1.65-2) [STDERR] at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1634)
      23:25:18,703 ERROR (PooledInvokerThread-192.168.1.65-2) [STDERR] at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299)
      23:25:18,703 ERROR (PooledInvokerThread-192.168.1.65-2) [STDERR] at java.io.ObjectInputStream.readObject(ObjectInputStream.java:348)
      23:25:18,703 ERROR (PooledInvokerThread-192.168.1.65-2) [STDERR] at org.jboss.invocation.pooled.interfaces.PooledMarshalledValue.get(PooledMarshalledValue.java:93)
      23:25:18,703 ERROR (PooledInvokerThread-192.168.1.65-2) [STDERR] at org.jboss.invocation.pooled.interfaces.PooledMarshalledInvocation.getArguments(PooledMarshalledInvocation.java:165)
      23:25:18,703 ERROR (PooledInvokerThread-192.168.1.65-2) [STDERR] at org.jboss.ejb.Container.invoke(Container.java:918)
      23:25:18,703 ERROR (PooledInvokerThread-192.168.1.65-2) [STDERR] at sun.reflect.GeneratedMethodAccessor123.invoke(Unknown Source)
      23:25:18,703 ERROR (PooledInvokerThread-192.168.1.65-2) [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      23:25:18,703 ERROR (PooledInvokerThread-192.168.1.65-2) [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
      23:25:18,718 ERROR (PooledInvokerThread-192.168.1.65-2) [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
      23:25:18,718 ERROR (PooledInvokerThread-192.168.1.65-2) [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
      23:25:18,718 ERROR (PooledInvokerThread-192.168.1.65-2) [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
      23:25:18,718 ERROR (PooledInvokerThread-192.168.1.65-2) [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
      23:25:18,718 ERROR (PooledInvokerThread-192.168.1.65-2) [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
      23:25:18,718 ERROR (PooledInvokerThread-192.168.1.65-2) [STDERR] at org.jboss.invocation.pooled.server.PooledInvoker$MBeanServerAction.invoke(PooledInvoker.java:896)
      23:25:18,718 ERROR (PooledInvokerThread-192.168.1.65-2) [STDERR] at org.jboss.invocation.pooled.server.PooledInvoker.invoke(PooledInvoker.java:383)
      23:25:18,718 ERROR (PooledInvokerThread-192.168.1.65-2) [STDERR] at org.jboss.invocation.pooled.server.ServerThread.processInvocation(ServerThread.java:233)
      23:25:18,718 ERROR (PooledInvokerThread-192.168.1.65-2) [STDERR] at org.jboss.invocation.pooled.server.ServerThread.dorun(ServerThread.java:290)
      23:25:18,718 ERROR (PooledInvokerThread-192.168.1.65-2) [STDERR] at org.jboss.invocation.pooled.server.ServerThread.run(ServerThread.java:156)
      23:25:18,734 ERROR (PooledInvokerThread-192.168.1.65-2) [STDERR] java.lang.ClassNotFoundException: No ClassLoaders found for: boolean
      23:25:18,734 ERROR (PooledInvokerThread-192.168.1.65-2) [STDERR] at org.jboss.mx.loading.LoadMgr3.beginLoadTask(LoadMgr3.java:306)
      23:25:18,734 ERROR (PooledInvokerThread-192.168.1.65-2) [STDERR] at org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.java:511)
      23:25:18,734 ERROR (PooledInvokerThread-192.168.1.65-2) [STDERR] at org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:405)
      23:25:18,734 ERROR (PooledInvokerThread-192.168.1.65-2) [STDERR] at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
      23:25:18,734 ERROR (PooledInvokerThread-192.168.1.65-2) [STDERR] at org.jboss.util.loading.DelegatingClassLoader.loadClass(DelegatingClassLoader.java:89)
      23:25:18,734 ERROR (PooledInvokerThread-192.168.1.65-2) [STDERR] at org.jboss.mx.loading.LoaderRepositoryClassLoader.loadClass(LoaderRepositoryClassLoader.java:90)
      23:25:18,734 ERROR (PooledInvokerThread-192.168.1.65-2) [STDERR] at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
      23:25:18,734 ERROR (PooledInvokerThread-192.168.1.65-2) [STDERR] at org.jboss.util.loading.DelegatingClassLoader.loadClass(DelegatingClassLoader.java:89)
      23:25:18,734 ERROR (PooledInvokerThread-192.168.1.65-2) [STDERR] at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
      23:25:18,734 ERROR (PooledInvokerThread-192.168.1.65-2) [STDERR] at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
      23:25:18,734 ERROR (PooledInvokerThread-192.168.1.65-2) [STDERR] at java.lang.Class.forName0(Native Method)
      23:25:18,734 ERROR (PooledInvokerThread-192.168.1.65-2) [STDERR] at java.lang.Class.forName(Class.java:242)
      23:25:18,734 ERROR (PooledInvokerThread-192.168.1.65-2) [STDERR] at org.jboss.invocation.pooled.interfaces.OptimizedObjectInputStream.forName(OptimizedObjectInputStream.java:114)
      23:25:18,734 ERROR (PooledInvokerThread-192.168.1.65-2) [STDERR] at org.jboss.invocation.pooled.interfaces.OptimizedObjectInputStream.resolveClass(OptimizedObjectInputStream.java:184)
      23:25:18,734 ERROR (PooledInvokerThread-192.168.1.65-2) [STDERR] at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1544)
      23:25:18,734 ERROR (PooledInvokerThread-192.168.1.65-2) [STDERR] at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1466)
      23:25:18,734 ERROR (PooledInvokerThread-192.168.1.65-2) [STDERR] at java.io.ObjectInputStream.readClass(ObjectInputStream.java:1433)
      23:25:18,734 ERROR (PooledInvokerThread-192.168.1.65-2) [STDERR] at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1288)
      23:25:18,734 ERROR (PooledInvokerThread-192.168.1.65-2) [STDERR] at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1634)
      23:25:18,734 ERROR (PooledInvokerThread-192.168.1.65-2) [STDERR] at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299)
      23:25:18,734 ERROR (PooledInvokerThread-192.168.1.65-2) [STDERR] at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1634)
      23:25:18,734 ERROR (PooledInvokerThread-192.168.1.65-2) [STDERR] at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299)
      23:25:18,734 ERROR (PooledInvokerThread-192.168.1.65-2) [STDERR] at java.io.ObjectInputStream.readObject(ObjectInputStream.java:348)
      23:25:18,734 ERROR (PooledInvokerThread-192.168.1.65-2) [STDERR] at org.jboss.invocation.pooled.interfaces.PooledMarshalledValue.get(PooledMarshalledValue.java:93)
      23:25:18,734 ERROR (PooledInvokerThread-192.168.1.65-2) [STDERR] at org.jboss.invocation.pooled.interfaces.PooledMarshalledInvocation.getArguments(PooledMarshalledInvocation.java:165)
      23:25:18,734 ERROR (PooledInvokerThread-192.168.1.65-2) [STDERR] at org.jboss.ejb.plugins.CallValidationInterceptor.validateArguments(CallValidationInterceptor.java:72)
      23:25:18,734 ERROR (PooledInvokerThread-192.168.1.65-2) [STDERR] at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:62)
      23:25:18,734 ERROR (PooledInvokerThread-192.168.1.65-2) [STDERR] at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121)
      23:25:18,734 ERROR (PooledInvokerThread-192.168.1.65-2) [STDERR] at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:350)
      23:25:18,734 ERROR (PooledInvokerThread-192.168.1.65-2) [STDERR] at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:181)
      23:25:18,734 ERROR (PooledInvokerThread-192.168.1.65-2) [STDERR] at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:168)
      23:25:18,734 ERROR (PooledInvokerThread-192.168.1.65-2) [STDERR] at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205)
      23:25:18,734 ERROR (PooledInvokerThread-192.168.1.65-2) [STDERR] at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:136)
      23:25:18,734 ERROR (PooledInvokerThread-192.168.1.65-2) [STDERR] at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:648)
      23:25:18,734 ERROR (PooledInvokerThread-192.168.1.65-2) [STDERR] at org.jboss.ejb.Container.invoke(Container.java:954)
      23:25:18,734 ERROR (PooledInvokerThread-192.168.1.65-2) [STDERR] at sun.reflect.GeneratedMethodAccessor123.invoke(Unknown Source)
      23:25:18,734 ERROR (PooledInvokerThread-192.168.1.65-2) [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      23:25:18,734 ERROR (PooledInvokerThread-192.168.1.65-2) [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
      23:25:18,734 ERROR (PooledInvokerThread-192.168.1.65-2) [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
      23:25:18,734 ERROR (PooledInvokerThread-192.168.1.65-2) [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
      23:25:18,734 ERROR (PooledInvokerThread-192.168.1.65-2) [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
      23:25:18,734 ERROR (PooledInvokerThread-192.168.1.65-2) [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
      23:25:18,734 ERROR (PooledInvokerThread-192.168.1.65-2) [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
      23:25:18,734 ERROR (PooledInvokerThread-192.168.1.65-2) [STDERR] at org.jboss.invocation.pooled.server.PooledInvoker$MBeanServerAction.invoke(PooledInvoker.java:896)
      23:25:18,734 ERROR (PooledInvokerThread-192.168.1.65-2) [STDERR] at org.jboss.invocation.pooled.server.PooledInvoker.invoke(PooledInvoker.java:383)
      23:25:18,734 ERROR (PooledInvokerThread-192.168.1.65-2) [STDERR] at org.jboss.invocation.pooled.server.ServerThread.processInvocation(ServerThread.java:233)
      23:25:18,734 ERROR (PooledInvokerThread-192.168.1.65-2) [STDERR] at org.jboss.invocation.pooled.server.ServerThread.dorun(ServerThread.java:290)
      23:25:18,734 ERROR (PooledInvokerThread-192.168.1.65-2) [STDERR] at org.jboss.invocation.pooled.server.ServerThread.run(ServerThread.java:156)
      23:25:18,734 ERROR (PooledInvokerThread-192.168.1.65-2) [LogInterceptor] RuntimeException in method: public abstract java.lang.Object cz.eshops.facade.bo.BOFacade.invokeBOMethod(cz.eshops.ecommonext.security.SecurityDescriptor,java.lang.Class,java.lang.String,java.lang.Class[],java.lang.Object[]) throws java.rmi.RemoteException,java.lang.Exception:
      java.lang.NullPointerException
      at org.jboss.ejb.plugins.CallValidationInterceptor.validateArguments(CallValidationInterceptor.java:73)
      at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:62)
      at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121)
      at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:350)
      at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:181)
      at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:168)
      at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205)
      at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:136)
      at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:648)
      at org.jboss.ejb.Container.invoke(Container.java:954)
      at sun.reflect.GeneratedMethodAccessor123.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
      at org.jboss.invocation.pooled.server.PooledInvoker$MBeanServerAction.invoke(PooledInvoker.java:896)
      at org.jboss.invocation.pooled.server.PooledInvoker.invoke(PooledInvoker.java:383)
      at org.jboss.invocation.pooled.server.ServerThread.processInvocation(ServerThread.java:233)
      at org.jboss.invocation.pooled.server.ServerThread.dorun(ServerThread.java:290)
      at org.jboss.invocation.pooled.server.ServerThread.run(ServerThread.java:156)

      On the JBoss client side:

      [2007-05-15 00:44:28,040] DEBUG [main] [BODelegateFactory.invoke] Invoking BO facade invokeBOMethod to execute: cz.eshops.ecommonext.bo.security.ISecurityBO.maybeReuseExistingSession()

      [2007-05-15 00:44:28,043] DEBUG [main] [BODelegateFactory.invoke] Invoking BO facade invokeBOMethod to execute: cz.eshops.ecommonext.bo.security.ISecurityBO.login(java.lang.String=su,java.lang.String=eshops,cz.eshops.ecommonext.security.ActiveSessionTakeOverPolicy=IGNORE)

      [2007-05-15 00:44:28,046] DEBUG [main] [BODelegateFactory.invoke] Invoking BO facade invokeBOMethod to execute: cz.eshops.ecommonext.bo.egroup.ICompanyBO.getByOid(java.lang.Long=50)

      [2007-05-15 00:44:28,765] DEBUG [main] [BODelegateFactory.invoke] Invoking BO facade invokeBOMethod to execute: cz.eshops.ecommonext.bo.security.ISecurityBO.refresh()

      [2007-05-15 00:44:32,015] DEBUG [main] [BODelegateFactory.invoke] Invoking BO facade invokeBOMethod to execute: cz.eshops.ecommonext.bo.security.ISecurityBO.logout(boolean=false)

      Exception in thread "main" java.lang.reflect.UndeclaredThrowableException
      at $Proxy0.logout(Unknown Source)
      at cz.eshops.delegate.security.SecurityProfile.logout(SecurityProfile.java:263)
      at cz.eshops.tool.termsmgr.TermsManager.execute(TermsManager.java:125)
      at cz.eshops.tool.termsmgr.Main.main(Main.java:97)
      Caused by: java.rmi.ServerException: RuntimeException; nested exception is:
      java.lang.NullPointerException
      at org.jboss.ejb.plugins.LogInterceptor.handleException(LogInterceptor.java:421)
      at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:209)
      at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:136)
      at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:648)
      at org.jboss.ejb.Container.invoke(Container.java:954)
      at sun.reflect.GeneratedMethodAccessor94.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
      at org.jboss.invocation.pooled.server.PooledInvoker$MBeanServerAction.invoke(PooledInvoker.java:896)
      at org.jboss.invocation.pooled.server.PooledInvoker.invoke(PooledInvoker.java:383)
      at org.jboss.invocation.pooled.server.ServerThread.processInvocation(ServerThread.java:233)
      at org.jboss.invocation.pooled.server.ServerThread.dorun(ServerThread.java:290)
      at org.jboss.invocation.pooled.server.ServerThread.run(ServerThread.java:156)
      Caused by: java.lang.NullPointerException
      at org.jboss.ejb.plugins.CallValidationInterceptor.validateArguments(CallValidationInterceptor.java:73)
      at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:62)
      at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121)
      at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:350)
      at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:181)
      at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:168)
      at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205)
      ... 16 more

      Please note the invokeBOMethod log statements - they represent the methods being called on "business objects" thru a generic session facade bean. The invokeBOMethod in the session facade bean takes a BO interface name, method name, argument types and argument values. The facade bean normally allocates the business object of the given type (based on the interface name) and invokes the specified method with the given argument types, passing it the specified argument values. When the argument types array contains a boolean type, the client chocks up with the above exception.

      When I do the same thing from a JSP on the server - no problem at all. But this could very well be just because I have turned on the "pass by reference" option.

      When I change the signature of the invoked business object and pass java.lang.Boolean to the session facade bean in the arguments type array, rather then boolean (i.e. Boolean.TYPE), it works fine.

      Thanks for any tips.
      Jan

      Attachments

        Activity

          People

            Unassigned Unassigned
            xmoravej_jira Jan Moravec (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: