Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > Does JBoss activate a passivated Stateful Session bean

Reply
Thread Tools

Does JBoss activate a passivated Stateful Session bean

 
 
redyz@yahoo.com
Guest
Posts: n/a
 
      11-14-2006
Hi,

I've looked around on the internet but so far I am not convinced that
for a bean that is passivated (if it is idle for a certain amount of
time), then activation on the next method call on that bean is not
taking place. I'm using JBoss 4.0.4 but I think the container is not
doing the activation.
server.log log show that passivation (and serialisation of that session
state) is taking place.

Can anyone help?

regards,

redyz

 
Reply With Quote
 
 
 
 
redyz@yahoo.com
Guest
Posts: n/a
 
      11-14-2006
A bit more info, here is the error that I get. Seems to me like JBoss
4.0.4 is having a problem activating a stateful seassion bean that was
previously passivated. I know that activation/passivation are left to
the container.

Any help greatly appreciated.

regards,

redyz

--------------------------------

Exception in thread "AWT-EventQueue-0" java.lang.RuntimeException:
org.jboss.serial.exception.SerializationException: Could not create
instance of org.hibernate.ejb.QueryImpl - org.hibernate.ejb.QueryImpl

at
org.jboss.ejb3.stateful.StatefulBeanContext.extrac tBeanAndInterceptors(StatefulBeanContext.java:365)

at
org.jboss.ejb3.stateful.StatefulBeanContext.getIns tance(StatefulBeanContext.java:309)

at
org.jboss.ejb3.stateful.StatefulInstanceIntercepto r.invoke(StatefulInstanceInterceptor.java:75)

at
org.jboss.aop.joinpoint.MethodInvocation.invokeNex t(MethodInvocation.java:101)

at
org.jboss.aspects.security.AuthenticationIntercept or.invoke(AuthenticationInterceptor.java:7

at
org.jboss.aop.joinpoint.MethodInvocation.invokeNex t(MethodInvocation.java:101)

at
org.jboss.ejb3.ENCPropagationInterceptor.invoke(EN CPropagationInterceptor.java:47)

at
org.jboss.aop.joinpoint.MethodInvocation.invokeNex t(MethodInvocation.java:101)

at
org.jboss.ejb3.asynchronous.AsynchronousIntercepto r.invoke(AsynchronousInterceptor.java:106)

at
org.jboss.aop.joinpoint.MethodInvocation.invokeNex t(MethodInvocation.java:101)

at
org.jboss.ejb3.stateful.StatefulContainer.dynamicI nvoke(StatefulContainer.java:30

at org.jboss.aop.Dispatcher.invoke(Dispatcher.java:10 6)

at
org.jboss.aspects.remoting.AOPRemotingInvocationHa ndler.invoke(AOPRemotingInvocationHandler.java:82)

at org.jboss.remoting.ServerInvoker.invoke(ServerInvo ker.java:82

at org.jboss.remoting.ServerInvoker.invoke(ServerInvo ker.java:681)

at
org.jboss.remoting.transport.socket.ServerThread.p rocessInvocation(ServerThread.java:35

at
org.jboss.remoting.transport.socket.ServerThread.d orun(ServerThread.java:412)

at
org.jboss.remoting.transport.socket.ServerThread.r un(ServerThread.java:239)

at
org.jboss.remoting.RemoteClientInvoker.invoke(Remo teClientInvoker.java:190)

at org.jboss.remoting.Client.invoke(Client.java:525)

at org.jboss.remoting.Client.invoke(Client.java:48

at
org.jboss.aspects.remoting.InvokeRemoteInterceptor .invoke(InvokeRemoteInterceptor.java:55)

at
org.jboss.aop.joinpoint.MethodInvocation.invokeNex t(MethodInvocation.java:101)

at
org.jboss.aspects.tx.ClientTxPropagationIntercepto r.invoke(ClientTxPropagationInterceptor.java:61)

at
org.jboss.aop.joinpoint.MethodInvocation.invokeNex t(MethodInvocation.java:101)

at
org.jboss.aspects.security.SecurityClientIntercept or.invoke(SecurityClientInterceptor.java:55)

at
org.jboss.aop.joinpoint.MethodInvocation.invokeNex t(MethodInvocation.java:101)

at
org.jboss.ejb3.remoting.IsLocalInterceptor.invoke( IsLocalInterceptor.java:65)

at
org.jboss.aop.joinpoint.MethodInvocation.invokeNex t(MethodInvocation.java:101)

at
org.jboss.ejb3.stateful.StatefulRemoteProxy.invoke (StatefulRemoteProxy.java:133)

at $Proxy4.report(Unknown Source)

at uk.co.MyCompany.a.b.MyStatefulBean.report(MyStatef ulBean.java:49)
....

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
what does this error mean `activate': can't activate activesupport (=3.0.1, runtime) for ["activerecord-3.0.1"] Junkone Ruby 2 10-27-2010 09:13 AM
EJB 3 Stateful Session Bean create method Giovanni Azua Java 0 05-03-2009 02:49 PM
[ejb][jboss]Bean inside a serialized object in another bean carlg@libertybasic.com Java 1 09-13-2006 08:10 PM
Stateful NAT failover = yes. Stateful CBAC failover = ???? Alec Waters Cisco 0 06-09-2004 01:38 PM
Problem in ejbCreate (stateful session bean) biebel Java 2 02-27-2004 08:48 AM



Advertisments