-
1. Re: Tutorial: Integrating EJB3.0 into JBoss AS 4.0.4.CR2
starksm64 Apr 1, 2006 6:16 PM (in response to astronox)What is wrong with using the ejb3, ejb-clustered selections from the installer?
-
2. Re: Tutorial: Integrating EJB3.0 into JBoss AS 4.0.4.CR2
astronox Apr 1, 2006 6:23 PM (in response to astronox)Nothing. You don't get the installer running on Bash though.
-
3. Re: Tutorial: Integrating EJB3.0 into JBoss AS 4.0.4.CR2
astronox Apr 1, 2006 6:39 PM (in response to astronox)Actually, I just checked and the error that was in 4.0.4RC1 is still present:
07:27:53,750 WARN [EJBTimerServiceImpl] Cannot obtain TransactionManager from JNDI, using TxManager.getInstance(): javax.naming.NameNotFoundException: TransactionManager not bound
It was also recommended to use the manual, self-install package to avoid this problem (it worked for me):
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=78114 -
4. Re: Tutorial: Integrating EJB3.0 into JBoss AS 4.0.4.CR2
bill.burke Apr 2, 2006 10:03 AM (in response to astronox)Thanks for the directions. I'll have a distribution of RC6 sometime next week with these directions. I'm on vacation.
-
5. Re: Tutorial: Integrating EJB3.0 into JBoss AS 4.0.4.CR2
outersky1 Apr 3, 2006 11:47 PM (in response to astronox)But why not install ejb3 by default ?
why remove it in this release ? -
6. Re: Tutorial: Integrating EJB3.0 into JBoss AS 4.0.4.CR2
cybernd Apr 4, 2006 4:30 AM (in response to astronox)Hmm
Why CR2 instead of RC2 (typo?).
The download site contains: "NOTE: This release includes the EJB 3.0 RC6 module. Download the jboss-4.0.4CR2-installer.jar file, run it and choose to install the ejb3 config." Maybe its better to fix this?
cybi -
7. Re: Tutorial: Integrating EJB3.0 into JBoss AS 4.0.4.CR2
epbernard Apr 4, 2006 4:33 AM (in response to astronox)CR is the OSGi standard convention for version naming
-
8. Re: Tutorial: Integrating EJB3.0 into JBoss AS 4.0.4.CR2
cybernd Apr 4, 2006 5:10 AM (in response to astronox)thx, good to know
-
9. Re: Tutorial: Integrating EJB3.0 into JBoss AS 4.0.4.CR2
robby80 Apr 4, 2006 7:43 AM (in response to astronox)Hi,
I followed the instruction by AstroNox as given above and when deploying the EJB3.0 TrailBlazer I getWARN [ServiceController] Problem creating service jboss.j2ee:module=beans.jar,uid=22359683,service=EJB3 java.lang.RuntimeException: No container configured with name 'Stateful Bean'' at org.jboss.ejb3.Ejb3AnnotationHandler.getStatefulContainer(Ejb3AnnotationHandler.java:198)
I am not experienced with JBossAS, so don't know what's wrong.
I have a sample application adapted from the TrailBlazer which doesn't work either anymore. Everything worked fine with 4.0.4RC1.
What can I do?
thx, robert -
10. Re: Tutorial: Integrating EJB3.0 into JBoss AS 4.0.4.CR2
joel.rosi-schwartz Apr 4, 2006 10:07 AM (in response to astronox)I am not able to create a running JBoss following the above instructions. I do get an option to install both ejb3 and ejb3 clustered in the intsaller. I have tried installing both of these. In both cases I can successfully start JBoss.
After I follow the instructions, I get the following failure when I start JBoss. Btw, the instructions call for removing jboss-aop.deployer, this directory does not exist in either of my installs.14:48:28,865 WARN [ServiceController] Problem creating service jboss.ws:service=WebServiceDeployerEJB3 java.lang.IllegalArgumentException: Unable to find operation addOperationInterceptor(org.jboss.mx.interceptor.Interceptor) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:227) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.system.InterceptorServiceMBeanSupport.attach(InterceptorServiceMBeanSupport.java:182) at org.jboss.deployment.SubDeployerInterceptorSupport.attach(SubDeployerInterceptorSupport.java:109) at org.jboss.ws.server.WebServiceDeployer.createService(WebServiceDeployer.java:82) at org.jboss.system.ServiceMBeanSupport.jbossInternalCreate(ServiceMBeanSupport.java:260) at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:243) 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.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:260) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978) at $Proxy0.create(Unknown Source) at org.jboss.system.ServiceController.create(ServiceController.java:330) at org.jboss.system.ServiceController.create(ServiceController.java:273) at org.jboss.system.ServiceController.create(ServiceController.java:349) at org.jboss.system.ServiceController.create(ServiceController.java:273) at org.jboss.system.ServiceController.create(ServiceController.java:349) at org.jboss.system.ServiceController.create(ServiceController.java:273) at org.jboss.system.ServiceController.create(ServiceController.java:349) at org.jboss.system.ServiceController.create(ServiceController.java:273) at org.jboss.system.ServiceController.create(ServiceController.java:349) at org.jboss.system.ServiceController.create(ServiceController.java:273) at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:260) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:190) at $Proxy4.create(Unknown Source) at org.jboss.deployment.SARDeployer.create(SARDeployer.java:258) at org.jboss.deployment.MainDeployer.create(MainDeployer.java:953) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:807) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771) at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133) at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142) at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:260) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:190) at $Proxy6.deploy(Unknown Source) at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:334) at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:522) at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:207) at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:280) at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289) at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245) 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.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:260) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978) at $Proxy0.start(Unknown Source) at org.jboss.system.ServiceController.start(ServiceController.java:417) 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.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:260) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:190) at $Proxy4.start(Unknown Source) at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302) at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1007) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:808) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:755) 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.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133) at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142) at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:260) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:190) at $Proxy5.deploy(Unknown Source) at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482) at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362) at org.jboss.Main.boot(Main.java:200) at org.jboss.Main$1.run(Main.java:464) at java.lang.Thread.run(Thread.java:595)
-
11. Re: Tutorial: Integrating EJB3.0 into JBoss AS 4.0.4.CR2
joel.rosi-schwartz Apr 4, 2006 10:32 AM (in response to astronox)"AstroNox" wrote:
Nothing. You don't get the installer running on Bash though.
You can run the installer from the shell with this commandjava -jar jboss-4.0.4.CR2-installer.jar
-
12. Re: Tutorial: Integrating EJB3.0 into JBoss AS 4.0.4.CR2
joel.rosi-schwartz Apr 4, 2006 10:56 AM (in response to astronox)I retried this starting from a manual install rather than on top of one of the installer installs. This does work, except that the instructions for default call for copying ejb3-clustered-sfsbcache-service.xml into depploy, this is not corrrect and breaks the startup.
I also tried to deploy the TrailBlazer and get the same exception previously reported. -
13. Re: Tutorial: Integrating EJB3.0 into JBoss AS 4.0.4.CR2
starksm64 Apr 4, 2006 11:41 AM (in response to astronox)"outersky@gmail.com" wrote:
But why not install ejb3 by default ?
why remove it in this release ?
EJB3 cannot be bundled in the j2ee1.4 compatible distribution due to the j2ee rules. -
14. Re: Tutorial: Integrating EJB3.0 into JBoss AS 4.0.4.CR2
elkner Apr 4, 2006 11:57 AM (in response to astronox)Wondering, what those "j2ee rules" are ... ;-)