Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > JBoss EJB MessageContext Exception

Reply
Thread Tools

JBoss EJB MessageContext Exception

 
 
pek
Guest
Posts: n/a
 
      04-25-2007
I start JBoss and run my application. Everything is running correctly.
I close and exit my application and leave JBoss running (I am using
JBossIDE). After a while JBoss throws this exception:

"22:29:38,406 INFO [STDOUT] Exception in thread "Timer-4"
22:29:38,406 INFO [STDOUT] java.lang.NoClassDefFoundError: javax/xml/
rpc/handler/MessageContext
22:29:38,406 INFO [STDOUT] at
java.lang.Class.getDeclaredMethods0(Native Method)
22:29:38,406 INFO [STDOUT] at
java.lang.Class.privateGetDeclaredMethods(Class.ja va:2427)
22:29:38,406 INFO [STDOUT] at
java.lang.Class.getDeclaredMethod(Class.java:1935)
22:29:38,406 INFO [STDOUT] at
java.io.ObjectStreamClass.getInheritableMethod(Obj ectStreamClass.java:
1349)
22:29:38,406 INFO [STDOUT] at java.io.ObjectStreamClass.access
$2200(ObjectStreamClass.java:52)
22:29:38,406 INFO [STDOUT] at java.io.ObjectStreamClass
$2.run(ObjectStreamClass.java:44
22:29:38,406 INFO [STDOUT] at
java.security.AccessController.doPrivileged(Native Method)
22:29:38,406 INFO [STDOUT] at
java.io.ObjectStreamClass.<init>(ObjectStreamClass .java:413)
22:29:38,406 INFO [STDOUT] at
java.io.ObjectStreamClass.lookup(ObjectStreamClass .java:310)
22:29:38,406 INFO [STDOUT] at
java.io.ObjectOutputStream.writeObject0(ObjectOutp utStream.java:1106)
22:29:38,406 INFO [STDOUT] at
java.io.ObjectOutputStream.writeObject(ObjectOutpu tStream.java:326)
22:29:38,406 INFO [STDOUT] at
org.jboss.ejb3.cache.simple.StatefulSessionFilePer sistenceManager.passivateSession(StatefulSessionFi lePersistenceManager.java:
324)
22:29:38,421 INFO [STDOUT] at
org.jboss.ejb3.cache.simple.SimpleStatefulCache.pa ssivate(SimpleStatefulCache.java:
143)
22:29:38,421 INFO [STDOUT] at
org.jboss.ejb3.cache.simple.SimpleStatefulCache
$SessionTimeoutTask.run(SimpleStatefulCache.java:9 2)
22:29:38,421 INFO [STDOUT] at
java.util.TimerThread.mainLoop(Timer.java:512)
22:29:38,421 INFO [STDOUT] at java.util.TimerThread.run(Timer.java:
462)"

Whenever this exception is thrown I cannot redeploy correctly my
application. When I try deploying my J2EE (it include EJB3.0,
Persistence, and Web modules) I get an exception (among the long log
while deploying). The exception is at the end of this post (part of
it). The only way to start my app again is to restart JBoss and
deploy. Any ideas..?

Thank you in advance


"java.lang.NullPointerException
at
org.jboss.ejb3.stateful.StatefulRemoteProxyFactory .getInterfaces(StatefulRemoteProxyFactory.java:
53)
at
org.jboss.ejb3.stateful.BaseStatefulProxyFactory.i nit(BaseStatefulProxyFactory.java:
41)
at
org.jboss.ejb3.stateful.StatefulRemoteProxyFactory .init(StatefulRemoteProxyFactory.java:
71)
at
org.jboss.ejb3.stateful.StatefulRemoteProxyFactory .start(StatefulRemoteProxyFactory.java:
7
at org.jboss.ejb3.ProxyDeployer.start(ProxyDeployer.j ava:96)
at org.jboss.ejb3.SessionContainer.start(SessionConta iner.java:55)
at
org.jboss.ejb3.stateful.StatefulContainer.start(St atefulContainer.java:
69)
at
org.jboss.ejb3.stateful.StatefulManager.startServi ce(StatefulManager.java:
91)
at
org.jboss.system.ServiceMBeanSupport.jbossInternal Start(ServiceMBeanSupport.java:
274)
at
org.jboss.system.ServiceMBeanSupport.jbossInternal Lifecycle(ServiceMBeanSupport.java:
230)
at sun.reflect.GeneratedMethodAccessor4.invoke(Unknow n Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:
25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.jboss.mx.interceptor.ReflectedDispatcher.invok e(ReflectedDispatcher.java:
141)
at org.jboss.mx.server.Invocation.dispatch(Invocation .java:80)
at org.jboss.mx.server.Invocation.invoke(Invocation.j ava:72)
at
org.jboss.mx.server.AbstractMBeanInvoker.invoke(Ab stractMBeanInvoker.java:
245)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanSe rverImpl.java:
644)
at org.jboss.system.ServiceController
$ServiceProxy.invoke(ServiceController.java:943)
at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceCo ntroller.java:
42
........ (the log is very long. I could send it if requested.)

 
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
Possible to generate "ejb-jar.xml" from EJB class (source)? "ejb-jar.xml" appserver independent? Raymond Schanks Java 0 08-03-2010 08:21 AM
EJB-QL: writing a regular expression query using EJB QL Sriv Chakravarthy Java 0 09-18-2003 03:39 PM
To EJB or not to EJB Jeremy Haile Java 5 09-10-2003 03:52 AM
EJB on Weblogic7 : accessing Ejb thru *Local interface* fails due to JNDI lookup Mumbai Joe Java 0 07-29-2003 04:16 PM
Dynamically Access & Call An EJB From Another EJB? Steve Java 1 07-15-2003 06:47 PM



Advertisments