Re: [JBoss-user] Strange exception deploying a WAR [SOLVED]
The problem was solved by upgrade to latest CVS. Hanging application mentioned bellow was partially caused by my mistake - the web app talks not only to app server but also to its own mysql database (directly using struts's db pool) and I forgot to put appropriate JDBC driver into the classpath. Anyway, I guess such mistake shouldn't cause the problem I described bellow. Pavel On Thu, 27 Jun 2002, Pavel Kolesnikov wrote: > On Wed, 26 Jun 2002, Pavel Kolesnikov wrote: > > > Now the first web app works still correctly but the second > > one doesn't deploy. It hangs when it creates remote interface > > for my session bean, I can't even undeploy it or stop JBoss > > correctly (I had to kill -9 it after cca 10 minutes). > > Update: after few hours JBoss throwed OutOfMemory error. > > Pavel > > > On Mon, 24 Jun 2002, Scott M Stark wrote: > > > > > You are using an out of date beta. Go to sourceforge and get > > > the latest 3.0.0 release. > > > > > > > > > Scott Stark > > > Chief Technology Officer > > > JBoss Group, LLC > > > > > > - Original Message - > > > From: "Pavel Kolesnikov" <[EMAIL PROTECTED]> > > > To: <[EMAIL PROTECTED]> > > > Sent: Monday, June 24, 2002 10:45 AM > > > Subject: [JBoss-user] Strange exception deploying a WAR > > > > > > > > > > Hallo, > > > > > > > > I've encountered following weird problem; > > > > > > > > I have an EJB application containimg one session bean called > > > > UserManager that should be accessed from two web applications. > > > > > > > > I'm sure both of those web apps use the same code for getting > > > > home and remote interface for UserManager, they use similar > > > > deployment descriptors which seem to be correct according > > > > to Jboss docs, but deployment one of them causes following > > > > exception: > > > > > > > > java.lang.NullPointerException > > > > at > > > org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invokeHome(Stat > > > > elessSessionContainer.java:598) > > > > at > > > org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invokeHome( > > > > CachedConnectionInterceptor.java:167) > > > > at > > > org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invokeHome(Statele > > > > ssSessionInstanceInterceptor.java:57) > > > > at > > > org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor > > > > .java:98) > > > > at > > > org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT. > > > > java:167) > > > > at > > > org.jboss.ejb.plugins.TxInterceptorCMT.invokeHome(TxInterceptorCMT.java:52) > > > > at > > > org.jboss.ejb.plugins.SecurityInterceptor.invokeHome(SecurityInterceptor.jav > > > > a:104) > > > > at > > > org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogInterceptor.java:109) > > > > at > > > org.jboss.ejb.StatelessSessionContainer.invokeHome(StatelessSessionContainer > > > > .java:300) > > > > at org.jboss.ejb.Container.invoke(Container.java:727) > > > > at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:492) > > > > at org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java:98) > > > > at > > > org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:102) > > > > at > > > org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:73 > > > > ) > > > > at > > > org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:76) > > > > at org.jboss.proxy.ejb.HomeInterceptor.invoke(HomeInterceptor.java:185) > > > > at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:96) > > > > at $Proxy124.create(Unknown Source) > > > > > > > > Does anybody has an idea what may be wrong? > > > > > > > > I'm using JBoss 3.0.0 RC1 + Tomcat 4.0.3 on Redhat Linux 7.3. > > > > > > > > Thanks a lot > > > > > > > > Pavel > > > > > > > > > > > > > > > --- > > > Sponsored by: > > > ThinkGeek at http://www.Thi
Re: [JBoss-user] Strange exception deploying a WAR
On Wed, 26 Jun 2002, Pavel Kolesnikov wrote: > Now the first web app works still correctly but the second > one doesn't deploy. It hangs when it creates remote interface > for my session bean, I can't even undeploy it or stop JBoss > correctly (I had to kill -9 it after cca 10 minutes). Update: after few hours JBoss throwed OutOfMemory error. Pavel > On Mon, 24 Jun 2002, Scott M Stark wrote: > > > You are using an out of date beta. Go to sourceforge and get > > the latest 3.0.0 release. > > > > > > Scott Stark > > Chief Technology Officer > > JBoss Group, LLC > > > > - Original Message - > > From: "Pavel Kolesnikov" <[EMAIL PROTECTED]> > > To: <[EMAIL PROTECTED]> > > Sent: Monday, June 24, 2002 10:45 AM > > Subject: [JBoss-user] Strange exception deploying a WAR > > > > > > > Hallo, > > > > > > I've encountered following weird problem; > > > > > > I have an EJB application containimg one session bean called > > > UserManager that should be accessed from two web applications. > > > > > > I'm sure both of those web apps use the same code for getting > > > home and remote interface for UserManager, they use similar > > > deployment descriptors which seem to be correct according > > > to Jboss docs, but deployment one of them causes following > > > exception: > > > > > > java.lang.NullPointerException > > > at > > org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invokeHome(Stat > > > elessSessionContainer.java:598) > > > at > > org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invokeHome( > > > CachedConnectionInterceptor.java:167) > > > at > > org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invokeHome(Statele > > > ssSessionInstanceInterceptor.java:57) > > > at > > org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor > > > .java:98) > > > at > > org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT. > > > java:167) > > > at > > org.jboss.ejb.plugins.TxInterceptorCMT.invokeHome(TxInterceptorCMT.java:52) > > > at > > org.jboss.ejb.plugins.SecurityInterceptor.invokeHome(SecurityInterceptor.jav > > > a:104) > > > at > > org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogInterceptor.java:109) > > > at > > org.jboss.ejb.StatelessSessionContainer.invokeHome(StatelessSessionContainer > > > .java:300) > > > at org.jboss.ejb.Container.invoke(Container.java:727) > > > at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:492) > > > at org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java:98) > > > at > > org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:102) > > > at > > org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:73 > > > ) > > > at > > org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:76) > > > at org.jboss.proxy.ejb.HomeInterceptor.invoke(HomeInterceptor.java:185) > > > at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:96) > > > at $Proxy124.create(Unknown Source) > > > > > > Does anybody has an idea what may be wrong? > > > > > > I'm using JBoss 3.0.0 RC1 + Tomcat 4.0.3 on Redhat Linux 7.3. > > > > > > Thanks a lot > > > > > > Pavel > > > > > > > > > > --- > > Sponsored by: > > ThinkGeek at http://www.ThinkGeek.com/ > > ___ > > JBoss-user mailing list > > [EMAIL PROTECTED] > > https://lists.sourceforge.net/lists/listinfo/jboss-user > > > > > > > --- > This sf.net email is sponsored by: Jabber Inc. > Don't miss the IM event of the season | Special offer for OSDN members! > JabberConf 2002, Aug. 20-22, Keystone, CO http://www.jabberconf.com/osdn > ___ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user > --- Sponsored by: ThinkGeek at http://www.ThinkGeek.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] Strange exception deploying a WAR
Well... I've upgraded to the lasted CVS version yesterday (because of another problems with 3.0.0). Now the first web app works still correctly but the second one doesn't deploy. It hangs when it creates remote interface for my session bean, I can't even undeploy it or stop JBoss correctly (I had to kill -9 it after cca 10 minutes). But it doesn't throw the exception mentioned in my previous e-mail. Pavel On Mon, 24 Jun 2002, Scott M Stark wrote: > You are using an out of date beta. Go to sourceforge and get > the latest 3.0.0 release. > > > Scott Stark > Chief Technology Officer > JBoss Group, LLC > > - Original Message - > From: "Pavel Kolesnikov" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Monday, June 24, 2002 10:45 AM > Subject: [JBoss-user] Strange exception deploying a WAR > > > > Hallo, > > > > I've encountered following weird problem; > > > > I have an EJB application containimg one session bean called > > UserManager that should be accessed from two web applications. > > > > I'm sure both of those web apps use the same code for getting > > home and remote interface for UserManager, they use similar > > deployment descriptors which seem to be correct according > > to Jboss docs, but deployment one of them causes following > > exception: > > > > java.lang.NullPointerException > > at > org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invokeHome(Stat > > elessSessionContainer.java:598) > > at > org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invokeHome( > > CachedConnectionInterceptor.java:167) > > at > org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invokeHome(Statele > > ssSessionInstanceInterceptor.java:57) > > at > org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor > > .java:98) > > at > org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT. > > java:167) > > at > org.jboss.ejb.plugins.TxInterceptorCMT.invokeHome(TxInterceptorCMT.java:52) > > at > org.jboss.ejb.plugins.SecurityInterceptor.invokeHome(SecurityInterceptor.jav > > a:104) > > at > org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogInterceptor.java:109) > > at > org.jboss.ejb.StatelessSessionContainer.invokeHome(StatelessSessionContainer > > .java:300) > > at org.jboss.ejb.Container.invoke(Container.java:727) > > at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:492) > > at org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java:98) > > at > org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:102) > > at > org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:73 > > ) > > at > org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:76) > > at org.jboss.proxy.ejb.HomeInterceptor.invoke(HomeInterceptor.java:185) > > at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:96) > > at $Proxy124.create(Unknown Source) > > > > Does anybody has an idea what may be wrong? > > > > I'm using JBoss 3.0.0 RC1 + Tomcat 4.0.3 on Redhat Linux 7.3. > > > > Thanks a lot > > > > Pavel > > > > > --- > Sponsored by: > ThinkGeek at http://www.ThinkGeek.com/ > ___ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user > --- This sf.net email is sponsored by: Jabber Inc. Don't miss the IM event of the season | Special offer for OSDN members! JabberConf 2002, Aug. 20-22, Keystone, CO http://www.jabberconf.com/osdn ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] Strange exception deploying a WAR
You are using an out of date beta. Go to sourceforge and get the latest 3.0.0 release. Scott Stark Chief Technology Officer JBoss Group, LLC - Original Message - From: "Pavel Kolesnikov" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, June 24, 2002 10:45 AM Subject: [JBoss-user] Strange exception deploying a WAR > Hallo, > > I've encountered following weird problem; > > I have an EJB application containimg one session bean called > UserManager that should be accessed from two web applications. > > I'm sure both of those web apps use the same code for getting > home and remote interface for UserManager, they use similar > deployment descriptors which seem to be correct according > to Jboss docs, but deployment one of them causes following > exception: > > java.lang.NullPointerException > at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invokeHome(Stat > elessSessionContainer.java:598) > at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invokeHome( > CachedConnectionInterceptor.java:167) > at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invokeHome(Statele > ssSessionInstanceInterceptor.java:57) > at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor > .java:98) > at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT. > java:167) > at org.jboss.ejb.plugins.TxInterceptorCMT.invokeHome(TxInterceptorCMT.java:52) > at org.jboss.ejb.plugins.SecurityInterceptor.invokeHome(SecurityInterceptor.jav > a:104) > at org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogInterceptor.java:109) > at org.jboss.ejb.StatelessSessionContainer.invokeHome(StatelessSessionContainer > .java:300) > at org.jboss.ejb.Container.invoke(Container.java:727) > at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:492) > at org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java:98) > at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:102) > at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:73 > ) > at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:76) > at org.jboss.proxy.ejb.HomeInterceptor.invoke(HomeInterceptor.java:185) > at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:96) > at $Proxy124.create(Unknown Source) > > Does anybody has an idea what may be wrong? > > I'm using JBoss 3.0.0 RC1 + Tomcat 4.0.3 on Redhat Linux 7.3. > > Thanks a lot > > Pavel --- Sponsored by: ThinkGeek at http://www.ThinkGeek.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] Strange exception deploying a WAR
Hallo, I've encountered following weird problem; I have an EJB application containimg one session bean called UserManager that should be accessed from two web applications. I'm sure both of those web apps use the same code for getting home and remote interface for UserManager, they use similar deployment descriptors which seem to be correct according to Jboss docs, but deployment one of them causes following exception: java.lang.NullPointerException at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invokeHome(Stat elessSessionContainer.java:598) at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invokeHome( CachedConnectionInterceptor.java:167) at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invokeHome(Statele ssSessionInstanceInterceptor.java:57) at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor .java:98) at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT. java:167) at org.jboss.ejb.plugins.TxInterceptorCMT.invokeHome(TxInterceptorCMT.java:52) at org.jboss.ejb.plugins.SecurityInterceptor.invokeHome(SecurityInterceptor.jav a:104) at org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogInterceptor.java:109) at org.jboss.ejb.StatelessSessionContainer.invokeHome(StatelessSessionContainer .java:300) at org.jboss.ejb.Container.invoke(Container.java:727) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:492) at org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java:98) at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:102) at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:73 ) at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:76) at org.jboss.proxy.ejb.HomeInterceptor.invoke(HomeInterceptor.java:185) at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:96) at $Proxy124.create(Unknown Source) Does anybody has an idea what may be wrong? I'm using JBoss 3.0.0 RC1 + Tomcat 4.0.3 on Redhat Linux 7.3. Thanks a lot Pavel --- Sponsored by: ThinkGeek at http://www.ThinkGeek.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user