I had code working in older versions of 4.0.4, but in 4.0.4.GA it breaks.
It looks like it has to do with the messagingType
The error is:
| 13:24:24,221 WARN [ServiceController] Problem starting service
jboss.j2ee:ear=MyProject.ear,jar=MyTest.jar,name=MyTestService,service=EJB3
| java.lang.RuntimeException: java.lang.ExceptionInInitializerError
| at
org.jboss.ejb3.ServiceDelegateWrapper.startService(ServiceDelegateWrapper.java:105)
| at
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
| at
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
| at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
| ...<many more>...
| at java.lang.Thread.run(Thread.java:595)
| Caused by: java.lang.ExceptionInInitializerError
| at org.jboss.ejb3.mdb.MDB.getOnMessage(MDB.java:818)
| at org.jboss.ejb3.mdb.MDB.innerCreate(MDB.java:314)
| at org.jboss.ejb3.mdb.MDB.innerStart(MDB.java:225)
| at org.jboss.ejb3.mdb.MDB.start(MDB.java:214)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at
org.jboss.ejb3.ServiceDelegateWrapper.startService(ServiceDelegateWrapper.java:99)
| ... 176 more
| Caused by: java.lang.RuntimeException: unable to determine messagingType
interface for MDB
| at org.jboss.ejb3.mdb.MDB.getMessagingType(MDB.java:128)
| at org.jboss.ejb3.mdb.MDB.getOnMessage(MDB.java:810)
| ... 184 more
|
so, I added a messaging type to my code, but It still produces the same error.
| @MessageDriven(activationConfig =
| {
| @ActivationConfigProperty(propertyName="messagingType",
propertyValue="javax.jms.MessageListener"),
| @ActivationConfigProperty(propertyName="destinationType",
propertyValue="javax.jms.Queue"),
| @ActivationConfigProperty(propertyName="destination",
propertyValue="queue/mailQueue")
| })
|
How do I resolve this?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3944967#3944967
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3944967
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user