From: Ian B. <ibu...@pi...> - 2001-04-03 22:09:13
|
Hi, I am a 'first time caller - long time listener' and would like to say that JBoss is a great product - I spent over a year working with WLS and JBoss beats it in may ways - well done everyone. I am encountering a problem which has been seen before with JBoss 2.0 - i.e. the server working fine then after being left unattended/unused for a while throws a ServerException: Load failed. I did a pretty comprehensive search of the old mailing list archive and Marc Fleury said that this was fixed on November 13 2000. I noticed that quite a few files in the JBoss-tomcat.zip archive (the FINAL-2.0 release) are dated November 14 2000 (although some are earlier). I am wondering if this fix ever got into the final release? Is this fixed in 2.1? I downloaded the jboss-tomcat.zip for the 2.1-beta, but I've noticed that that there aren't all the usual helpful scripts and pre-build conf directories. Before I go racing off installing 2.1-beta I would like to know if it is necessary. Incidentally I noticed that when I re-run my servlet which calls the (stateless) session bean (which calls a bunch of entities in a for loop) it croaks on the 50th iteration of the for loop (which is suspiciously the same number as the min cache size for the beans in the standardjboss.xml) - I don't know exactly the significance of this. TIA, Ian. ps I am using JBoss 2.0 Final on Red Hat 7 with Postgresql as the back end. *** STACK TRACE: [Bean Cache] Passivated overaged bean ConfigurationSet with id = null [Bean Cache] Passivated overaged bean ConfigurationSet with id = null [Bean Cache] Passivated overaged bean ConfigurationSet with id = null [Bean Cache] Resized cache for bean ConfigurationSet: old size = 78, new size = 50 [ProfileBuilder] ** after creating renderer [ProfileBuilder] ** after creating renderer [ProfileBuilder] ** after creating renderer [ProfileBuilder] ** after creating renderer [ProfileBuilder] ** after creating renderer [ProfileBuilder] ** after creating renderer [ProfileBuilder] ** after creating renderer [ProfileBuilder] ** after creating renderer [ProfileBuilder] ** after creating renderer [ProfileBuilder] ** after creating renderer [ProfileBuilder] ** after creating renderer [ProfileBuilder] ** after creating renderer [ProfileBuilder] ** after creating renderer [ProfileBuilder] ** after creating renderer [ProfileBuilder] ** after creating renderer [ProfileBuilder] ** after creating renderer [ProfileBuilder] ** after creating renderer [ProfileBuilder] ** after creating renderer [ProfileBuilder] ** after creating renderer [ProfileBuilder] ** after creating renderer [ProfileBuilder] ** after creating renderer [ProfileBuilder] ** after creating renderer [ProfileBuilder] ** after creating renderer [ProfileBuilder] ** after creating renderer [ProfileBuilder] ** after creating renderer [ProfileBuilder] ** after creating renderer [ProfileBuilder] ** after creating renderer [ProfileBuilder] ** after creating renderer [ProfileBuilder] ** after creating renderer [ProfileBuilder] ** after creating renderer [ProfileBuilder] ** after creating renderer [ProfileBuilder] ** after creating renderer [ProfileBuilder] ** after creating renderer [ProfileBuilder] ** after creating renderer [ProfileBuilder] ** after creating renderer [ProfileBuilder] ** after creating renderer [ProfileBuilder] ** after creating renderer [ProfileBuilder] ** after creating renderer [ProfileBuilder] ** after creating renderer [ProfileBuilder] ** after creating renderer [ProfileBuilder] ** after creating renderer [ProfileBuilder] ** after creating renderer [ProfileBuilder] ** after creating renderer [ProfileBuilder] ** after creating renderer [ProfileBuilder] ** after creating renderer [ProfileBuilder] ** after creating renderer [ProfileBuilder] ** after creating renderer [ProfileBuilder] ** after creating renderer [ProfileBuilder] ** after creating renderer [ConfigurationSet] TRANSACTION ROLLBACK EXCEPTION:Load failed; nested exception is: java.lang.NullPointerException; nested exception is: java.rmi.ServerException: Load failed; nested exception is: java.lang.NullPointerException [ConfigurationSet] java.rmi.ServerException: Load failed; nested exception is: [ConfigurationSet] java.lang.NullPointerException [ConfigurationSet] java.lang.NullPointerException [ConfigurationSet] at java.lang.reflect.Field.get(Native Method) [ConfigurationSet] at org.jboss.ejb.plugins.jaws.jdbc.JDBCCommand.getPkFieldValue(JDBCCommand.java :598) [ConfigurationSet] at org.jboss.ejb.plugins.jaws.jdbc.JDBCCommand.setPrimaryKeyParameters(JDBCComm and.java:344) [ConfigurationSet] at org.jboss.ejb.plugins.jaws.jdbc.JDBCLoadEntityCommand.setParameters(JDBCLoad EntityCommand.java:92) [ConfigurationSet] at org.jboss.ejb.plugins.jaws.jdbc.JDBCCommand.jdbcExecute(JDBCCommand.java:157 ) [ConfigurationSet] at org.jboss.ejb.plugins.jaws.jdbc.JDBCLoadEntityCommand.execute(JDBCLoadEntity Command.java:77) [ConfigurationSet] at org.jboss.ejb.plugins.jaws.JAWSPersistenceManager.loadEntity(JAWSPersistence Manager.java:150) [ConfigurationSet] at org.jboss.ejb.plugins.CMPPersistenceManager.loadEntity(CMPPersistenceManager .java:277) [ConfigurationSet] at org.jboss.ejb.plugins.EntitySynchronizationInterceptor.invoke(EntitySynchron izationInterceptor.java:192) [ConfigurationSet] at org.jboss.ejb.plugins.EntityInstanceInterceptor.invoke(EntityInstanceInterce ptor.java:204) [ConfigurationSet] at org.jboss.ejb.plugins.TxInterceptorCMT.invokeNext(TxInterceptorCMT.java:133) [ConfigurationSet] at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT. java:263) [ConfigurationSet] at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:99) [ConfigurationSet] at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:14 4) [ConfigurationSet] at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:192) [ConfigurationSet] at org.jboss.ejb.EntityContainer.invoke(EntityContainer.java:323) [ConfigurationSet] at org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoker.invoke(JRMPContainerI nvoker.java:237) [ConfigurationSet] at org.jboss.ejb.plugins.jrmp.interfaces.EntityProxy.invoke(EntityProxy.java:14 6) [ConfigurationSet] at $Proxy32.getRefConfigSetID(Unknown Source) [ConfigurationSet] at mypackage.profile.ProfileBuilderBean.collateAndSortConfigSets(ProfileBuilder Bean.java:272) [ConfigurationSet] at mypackage.profile.ProfileBuilderBean.generatePhoneProfiles(ProfileBuilderBea n.java:57) [ConfigurationSet] at java.lang.reflect.Method.invoke(Native Method) [ConfigurationSet] at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(Stateles sSessionContainer.java:472) [ConfigurationSet] at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSe ssionInstanceInterceptor.java:87) [ConfigurationSet] at org.jboss.ejb.plugins.TxInterceptorCMT.invokeNext(TxInterceptorCMT.java:133) [ConfigurationSet] at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT. java:263) [ConfigurationSet] at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:99) [ConfigurationSet] at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:14 4) [ConfigurationSet] at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:192) [ConfigurationSet] at org.jboss.ejb.StatelessSessionContainer.invoke(StatelessSessionContainer.jav a:271) [ConfigurationSet] at org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoker.invoke(JRMPContainerI nvoker.java:237) [ConfigurationSet] at org.jboss.ejb.plugins.jrmp.interfaces.StatelessSessionProxy.invoke(Stateless SessionProxy.java:152) [ConfigurationSet] at $Proxy19.generatePhoneProfiles(Unknown Source) [ConfigurationSet] at mypackage.servlet.BakeOffServlet.doGet(BakeOffServlet.java:71) [ConfigurationSet] at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) [ConfigurationSet] at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) [ConfigurationSet] at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404) [ConfigurationSet] at org.apache.tomcat.core.Handler.service(Handler.java:286) [ConfigurationSet] at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372) [ConfigurationSet] at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:79 9) [ConfigurationSet] at org.apache.tomcat.core.ContextManager.service(ContextManager.java:745) [ConfigurationSet] at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC onnectionHandler.java:210) [ConfigurationSet] at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:407) [ConfigurationSet] at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498) [ConfigurationSet] at java.lang.Thread.run(Thread.java:484) [ProfileBuilder] TRANSACTION ROLLBACK EXCEPTION:null; nested exception is: javax.ejb.EJBException [ProfileBuilder] javax.transaction.TransactionRolledbackException: Load failed; nested exception is: [ProfileBuilder] java.lang.NullPointerException; nested exception is: [ProfileBuilder] java.rmi.ServerException: Load failed; nested exception is: [ProfileBuilder] java.lang.NullPointerException [ProfileBuilder] java.rmi.ServerException: Load failed; nested exception is: [ProfileBuilder] java.lang.NullPointerException [ProfileBuilder] java.lang.NullPointerException [ProfileBuilder] at java.lang.reflect.Field.get(Native Method) [ProfileBuilder] at org.jboss.ejb.plugins.jaws.jdbc.JDBCCommand.getPkFieldValue(JDBCCommand.java :598) [ProfileBuilder] at org.jboss.ejb.plugins.jaws.jdbc.JDBCCommand.setPrimaryKeyParameters(JDBCComm and.java:344) [ProfileBuilder] at org.jboss.ejb.plugins.jaws.jdbc.JDBCLoadEntityCommand.setParameters(JDBCLoad EntityCommand.java:92) [ProfileBuilder] at org.jboss.ejb.plugins.jaws.jdbc.JDBCCommand.jdbcExecute(JDBCCommand.java:157 ) [ProfileBuilder] at org.jboss.ejb.plugins.jaws.jdbc.JDBCLoadEntityCommand.execute(JDBCLoadEntity Command.java:77) [ProfileBuilder] at org.jboss.ejb.plugins.jaws.JAWSPersistenceManager.loadEntity(JAWSPersistence Manager.java:150) [ProfileBuilder] at org.jboss.ejb.plugins.CMPPersistenceManager.loadEntity(CMPPersistenceManager .java:277) [ProfileBuilder] at org.jboss.ejb.plugins.EntitySynchronizationInterceptor.invoke(EntitySynchron izationInterceptor.java:192) [ProfileBuilder] at org.jboss.ejb.plugins.EntityInstanceInterceptor.invoke(EntityInstanceInterce ptor.java:204) [ProfileBuilder] at org.jboss.ejb.plugins.TxInterceptorCMT.invokeNext(TxInterceptorCMT.java:133) [ProfileBuilder] at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT. java:263) [ProfileBuilder] at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:99) [ProfileBuilder] at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:14 4) [ProfileBuilder] at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:192) [ProfileBuilder] at org.jboss.ejb.EntityContainer.invoke(EntityContainer.java:323) [ProfileBuilder] at org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoker.invoke(JRMPContainerI nvoker.java:237) [ProfileBuilder] at org.jboss.ejb.plugins.jrmp.interfaces.EntityProxy.invoke(EntityProxy.java:14 6) [ProfileBuilder] at $Proxy32.getRefConfigSetID(Unknown Source) [ProfileBuilder] at mypackage.profile.ProfileBuilderBean.collateAndSortConfigSets(ProfileBuilder Bean.java:272) [ProfileBuilder] at mypackage.profile.ProfileBuilderBean.generatePhoneProfiles(ProfileBuilderBea n.java:57) [ProfileBuilder] at java.lang.reflect.Method.invoke(Native Method) [ProfileBuilder] at org.jboss.ejb.StatelessSessionContainer$ContainerInte rceptor.invoke(StatelessSessionContainer.java:472) [ProfileBuilder] at org.jboss.ejb.plugins.StatelessSessionInstanceInterce ptor.invoke(StatelessSessionInstanceInterceptor.java:87) [ProfileBuilder] at org.jboss.ejb.plugins.TxInterceptorCMT.invokeNext(TxI nterceptorCMT.java:133) [ProfileBuilder] at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransac tions(TxInterceptorCMT.java:263) [ProfileBuilder] at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInter ceptorCMT.java:99) [ProfileBuilder] at org.jboss.ejb.plugins.SecurityInterceptor.invoke(Secu rityInterceptor.java:144) [ProfileBuilder] at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterc eptor.java:192) [ProfileBuilder] at org.jboss.ejb.StatelessSessionContainer.invoke(Statel essSessionContainer.java:271) [ProfileBuilder] at org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoke r.invoke(JRMPContainerInvoker.java:237) [ProfileBuilder] at org.jboss.ejb.plugins.jrmp.interfaces.StatelessSessio nProxy.invoke(StatelessSessionProxy.java:152) [ProfileBuilder] at $Proxy19.generatePhoneProfiles(Unknown Source) [ProfileBuilder] at mypackage.servlet.BakeOffServlet.doGet(BakeOffS ervlet.java:71) [ProfileBuilder] at javax.servlet.http.HttpServlet.service(HttpServlet.ja va:740) [ProfileBuilder] at javax.servlet.http.HttpServlet.service(HttpServlet.ja va:853) [ProfileBuilder] at org.apache.tomcat.core.ServletWrapper.doService(Servl etWrapper.java:404) [ProfileBuilder] at org.apache.tomcat.core.Handler.service(Handler.java:2 86) [ProfileBuilder] at org.apache.tomcat.core.ServletWrapper.service(Servlet Wrapper.java:372) [ProfileBuilder] at org.apache.tomcat.core.ContextManager.internalService (ContextManager.java:799) [ProfileBuilder] at org.apache.tomcat.core.ContextManager.service(Context Manager.java:745) [ProfileBuilder] at org.apache.tomcat.service.http.HttpConnectionHandler. processConnection(HttpConnectionHandler.java:210) [ProfileBuilder] at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolT cpEndpoint.java:407) [ProfileBuilder] at org.apache.tomcat.util.ThreadPool$ControlRunnable.run (ThreadPool.java:498) [ProfileBuilder] at java.lang.Thread.run(Thread.java:484) [EmbeddedTomcat] Ctx( /pds ): Exception in: R( /pds + /servlet/BakeOffServlet + null) javax.servlet.ServletException: javax.transaction.TransactionRolledbackException : null; nested exception is: javax.ejb.EJBException at mypackage.servlet.BakeOffServlet.doGet(BakeOffServlet.java:93) at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:4 04) at org.apache.tomcat.core.Handler.service(Handler.java:286) at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372 ) at org.apache.tomcat.core.ContextManager.internalService(ContextManager. java:799) at org.apache.tomcat.core.ContextManager.service(ContextManager.java:745 ) at org.apache.tomcat.service.http.HttpConnectionHandler.processConnectio n(HttpConnectionHandler.java:210) at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java: 407) at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java :498) at java.lang.Thread.run(Thread.java:484) |