[JBoss JIRA] Created: (JBAS-4417) java.lang.ClassNotFoundException: No ClassLoaders found for: boolean
by Jan Moravec (JIRA)
java.lang.ClassNotFoundException: No ClassLoaders found for: boolean
--------------------------------------------------------------------
Key: JBAS-4417
URL: http://jira.jboss.com/jira/browse/JBAS-4417
Project: JBoss Application Server
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: JBossAS-4.2.0.GA
Environment: Windows 2000, Jdk1.5
Reporter: Jan Moravec
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
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
19 years, 2 months
[JBoss JIRA] Commented: (JBAS-2737) InternalManagedConnectionPool.removeTimedOut() should not destroy connections below the minimum pool size
by Ricardo Arguello (JIRA)
[ http://jira.jboss.com/jira/browse/JBAS-2737?page=comments#action_12362991 ]
Ricardo Arguello commented on JBAS-2737:
----------------------------------------
Was this backported to 4.0.x or 4.2..x?
Where is this new parameter documented?
> InternalManagedConnectionPool.removeTimedOut() should not destroy connections below the minimum pool size
> ---------------------------------------------------------------------------------------------------------
>
> Key: JBAS-2737
> URL: http://jira.jboss.com/jira/browse/JBAS-2737
> Project: JBoss Application Server
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Components: JCA service
> Affects Versions: JBossAS-4.0.3 SP1
> Environment: SUSE Linux, Sun JDK 1.4.2_08 (though this issue would be relevant to all platforms)
> Reporter: Jim Paterson
> Fix For: JBossAS-5.0.0.Beta1
>
>
> By default JBoss JDBC connection pools have a 15 minute idle time. Every time the IdleRemover runs it currently destroys every connection in the pool that has not been used in the last 15 minutes. It then establishes new connections if necessary to take the pool back up to its minimum size.
> In most cases this behaviour probably doesn't cause problems. However, in our scenario it does. We are using DB2 and, in some situations, DB2 caches previously compiled query plans on a per connection basis. One specific example we have is a highly optimized search stored procedure that uses temporary tables. The IdleRemover is causing roughly 60% of our calls to this procedure to go through a new connection. This changes the response time from this stored procedure from ~200ms to ~2seconds as if triggers re-compilations in the database.
> Because of this behaviour we do not want the application server to drop and restore connections unless they are in error or the pool has grown beyond the minimum size during a period of peak load.
> I can understand that the current implementation protects the application server against stale connections. However, there are other mechanisms in the JDBC connection pool to handle this i.e. the the check-valid-connection-sql and valid-connection-checker-class-name parameters.
> Do you agree that the current implementation should be changed?
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
19 years, 2 months
[JBoss JIRA] Created: (JBPORTAL-1415) Wizard buttons
by Thomas Heute (JIRA)
Wizard buttons
--------------
Key: JBPORTAL-1415
URL: http://jira.jboss.com/jira/browse/JBPORTAL-1415
Project: JBoss Portal
Issue Type: Task
Security Level: Public (Everyone can see)
Components: Portal Core
Affects Versions: 2.6.CR2
Reporter: Thomas Heute
Assigned To: Thomas Heute
Fix For: 2.6 Final
On the final screen of the wizard, the "confirm" and "cancel" buttons should be on the same horizontal line as the "previous" button, but separated by more space than between the "previous" and "next" buttons on the previous pages. The buttons should have as much spacing between them as all the other steps int the wizard.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
19 years, 2 months
[JBoss JIRA] Created: (JBPORTAL-1426) Replace security table
by Thomas Heute (JIRA)
Replace security table
----------------------
Key: JBPORTAL-1426
URL: http://jira.jboss.com/jira/browse/JBPORTAL-1426
Project: JBoss Portal
Issue Type: Task
Security Level: Public (Everyone can see)
Components: Portal Core
Affects Versions: 2.6.CR2
Reporter: Thomas Heute
Assigned To: Thomas Heute
Fix For: 2.6 Final
The security screen on any portal object should have the table of permissions replaced with a table of checkboxes, but the permission label at the top of each column, and the roles at the leftmost column should have the word "Role" removed and placed at the top of the column. The table should be styled similarly to the other tables in the management portlet.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
19 years, 2 months