[JBoss-user] [EJB 3.0] - Re: ActiveMQ + EJB3 MDB Integration failure
I've checked out JBoss Head and tried to deploy my MDBs there. I still get errors. My annotations: @MessageDriven(activationConfig = { @ActivationConfigProperty(propertyName="messagingType", propertyValue="javax.jms.MessageListener"), @ActivationConfigProperty(propertyName="destinationType", propertyValue="javax.jms.Queue"), @ActivationConfigProperty(propertyName="destination", propertyValue="queue/testqueue"), @ActivationConfigProperty(propertyName="connectionFactoryName", propertyValue="activemq/QueueConnectionFactory"), @ActivationConfigProperty(propertyName="resourceAdaptorName", propertyValue="activemq-ra-3.2.1.rar") }) The errors: 2006-01-17 10:44:17,370 WARN [org.jboss.ejb3.mdb.MDB] JMS provider failure detected: javax.jms.JMSException: Error creating the dlq connection: queue not bound at org.jboss.ejb3.mdb.DLQHandler.createService(DLQHandler.java:153) at org.jboss.system.ServiceMBeanSupport.jbossInternalCreate(ServiceMBeanSupp ort.java:260) at org.jboss.system.ServiceMBeanSupport.create(ServiceMBeanSupport.java:188) at org.jboss.ejb3.mdb.MDB.setupDLQ(MDB.java:860) at org.jboss.ejb3.mdb.MDB.innerCreate(MDB.java:374) at org.jboss.ejb3.mdb.MDB.start(MDB.java:239) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java :39) ... Has anyone managed to get ActiveMQ to run with annotations? I've checked the SwiftMQ samples...but that didn't help either... (without annotations it works) Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3917812#3917812 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3917812 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: ActiveMQ + EJB3 MDB Integration failure
I can't get this to run on EJB3 RC3. So is it only supported in RC4? Or is possible and I'm just an idiot unable to configure it correctly? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3917310#3917310 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3917310 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: EJB3, JUnit, Maven 2
...or has anyone a list of dependencies that is currently needed to run JUnit tests? ...or an idea why I get an NPE here? I've dug a bit in the code to no avail. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3914689#3914689 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3914689 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - EJB3, JUnit, Maven 2
Hi, has anyone managed to get JUnit-based EJB3 tests to run within Maven2? Setting up the pom.xml and installing all the necessary jars was quite a PITA, but then all I get is this: java.lang.RuntimeException: java.lang.NullPointerException at org.jboss.ejb3.embedded.EJB3StandaloneBootstrap.scanClasspath(EJB3StandaloneBootstrap.java:157) at de.agimatec.nucleus.persistence.access.ejb3.UserEjb3DAOTest.setUp(UserEjb3DAOTest.java:25) at junit.framework.TestCase.runBare(TestCase.java:125) at junit.framework.TestResult$1.protect(TestResult.java:106) at junit.framework.TestResult.runProtected(TestResult.java:124) at junit.framework.TestResult.run(TestResult.java:109) at junit.framework.TestCase.run(TestCase.java:118) at junit.framework.TestSuite.runTest(TestSuite.java:208) at junit.framework.TestSuite.run(TestSuite.java:203) 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.apache.maven.surefire.battery.JUnitBattery.executeJUnit(JUnitBattery.java:230) at org.apache.maven.surefire.battery.JUnitBattery.execute(JUnitBattery.java:204) at org.apache.maven.surefire.Surefire.executeBattery(Surefire.java:218) at org.apache.maven.surefire.Surefire.run(Surefire.java:166) at org.apache.maven.surefire.Surefire.run(Surefire.java:90) 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.apache.maven.surefire.SurefireBooter.runTestsInProcess(SurefireBooter.java:246) at org.apache.maven.surefire.SurefireBooter.run(SurefireBooter.java:195) at org.apache.maven.test.SurefirePlugin.execute(SurefirePlugin.java:366) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:399) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:519) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:469) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:448) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:301) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:268) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:137) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:316) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:113) at org.apache.maven.cli.MavenCli.main(MavenCli.java:249) 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.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) Caused by: java.lang.NullPointerException at org.jboss.ejb3.embedded.EJB3StandaloneBootstrap.getInitialContextProperties(EJB3StandaloneBootstrap.java:120) at org.jboss.ejb3.embedded.EJB3StandaloneBootstrap.scanClasspath(EJB3StandaloneBootstrap.java:138) ... 42 more Jars and configuration files are in the classpath. Any idea? Thanks, Fabian View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3914547#3914547 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3914547 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user