[EJB 3.0] - Re: First step towards performance improvement of EJB3 deplo
by jaikiran
"chawax" wrote :
|
| - JBoss 4.2.3 : about 1'
| - JBoss 5.0.1 : about 4'30"
| - JBoss 5.1.0.CR1 : about 5'
| - JBoss 5.1.0.CR1 + EJB3 patch : about 3'45"
Thanks for providing these numbers. Inputs like these help in narrowing down the performance issues. The numbers show some expected improvements.
"chawax" wrote :
| Deploy times are better, but still far from JBoss 4.2 performance :
|
Given the changes to the core services in the AS, i am not sure we can get to the JBossAS-4.x timings. However, there are still some improvements that can definitely be done in the deployment timings. Some of them are already done and commited. There are some others for which there's discussions going on. The JBossAS-5.1.0 GA which is to be released, will contain a major fix which we expect will improve the deployment time noticeably for big deployments. I'll update this thread with the details when 5.1.0 GA is out.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4232181#4232181
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4232181
16 years, 11 months
[Microcontainer] - Re: Microcontainer Demos
by alesj
"uaarkoti(a)gmail.com" wrote : Although there is some good documentation and enough information on these forums I still cannot figure out how to run these (http://anonsvn.jboss.org/repos/jbossas/projects/demos/microcontainer/trunk/) examples.
|
| First of all, the sprint-int, guice-int, springframework and guice libraries need to be included with the JMXMain and bootstrap.Main modules. Not sure why they are not included.
|
No, they are only needed at models module (see models' pom.xml).
What you need to do is to run JMXMain from the models module,
using its classpath, which includes the right jars - bootstrap, jmx, spring-int, guice-int, ...
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4232162#4232162
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4232162
16 years, 11 months
[EJB 3.0] - Re: @EJB injection after redeploy
by vlotarev
JBoss version is 4.2.3GA
I am making hot-deploy just copying corresponding EAR file in the server/deploy folder. Deployment itself went well except several warnings (I removed log entries related to entity beans deployment since as far as I guess the are out of interest).
INFO [EARDeployer] Init J2EE application: file:/C:/jboss-4.2.3.GA/server/default/deploy/SV2Interface.ear
| ....
| WARN [EJBHandler] IGNORING DEPENDENCY: unable to find @EJB from interface only com.foo.service.SwService in ejb-jar.xml of SV2Servicenot used by any EJBs
| WARN [EJBHandler] IGNORING DEPENDENCY: unable to find @EJB from interface only com.foo.aaa.service.serviceRejet.IServiceRejetEnterprisein ejb-jar.xml of SV2Servicenot used by any EJBs
| WARN [EJBHandler] IGNORING DEPENDENCY: unable to find @EJB from interface only com.bar.bbb.service.SessionService in ejb-jar.xml ofSwServicenot used by any EJBs
| WARN [EJBHandler] IGNORING DEPENDENCY: unable to find @EJB from interface only com.bar.bbb.service.DbSearchService in ejb-jar.xml of SwServicenot used by any EJBs
| INFO [JmxKernelAbstraction] creating wrapper delegate for: org.jboss.ejb3.stateless.StatelessContainer
| INFO [JmxKernelAbstraction] installing MBean: jboss.j2ee:ear=SV2Interface.ear,jar=SV2InterfaceEJBModule.jar,name=ShipService,service=EJB3 with dependencies:
| INFO [JmxKernelAbstraction] persistence.units:ear=SV2Interface.ear,jar=SV2InterfaceEJBModule.jar,unitName=SV2_Ship_Casa
| INFO [JmxKernelAbstraction] persistence.units:ear=SV2Interface.ear,jar=SV2InterfaceEJBModule.jar,unitName=SV2_Reference
| INFO [JmxKernelAbstraction] persistence.units:ear=SV2Interface.ear,jar=SV2InterfaceEJBModule.jar,unitName=SV2_Ship_Moro
| INFO [EJBContainer] STARTED EJB: com.foo.service.ShipServiceBean ejbName: ShipService
| INFO [JmxKernelAbstraction] creating wrapper delegate for: org.jboss.ejb3.stateless.StatelessContainer
| INFO [JmxKernelAbstraction] installing MBean: jboss.j2ee:ear=SV2Interface.ear,jar=SV2InterfaceEJBModule.jar,name=SV2Service,service=EJB3 with dependencies:
| INFO [JmxKernelAbstraction] jboss.j2ee:ear=SV2Interface.ear,jar=SV2InterfaceEJBModule.jar,name=ShipService,service=EJB3
| INFO [EJBContainer] STARTED EJB: com.foo.service.SV2ServiceBean ejbName: SV2Service
| INFO [JmxKernelAbstraction] creating wrapper delegate for: org.jboss.ejb3.stateless.StatelessContainer
| INFO [JmxKernelAbstraction] installing MBean: jboss.j2ee:ear=SV2Interface.ear,jar=SV2InterfaceEJBModule.jar,name=SwService,service=EJB3 with dependencies:
| INFO [EJBContainer] STARTED EJB: com.foo.service.SwServiceBean ejbName: SwService
| INFO [EJB3Deployer] Deployed: file:/C:/jboss-4.2.3.GA/server/default/tmp/deploy/tmp5596106466848300323SV2Interface.ear-contents/SV2InterfaceEJBModule.jar
| INFO [EARDeployer] Started J2EE application: file:/C:/jboss-4.2.3.GA/server/default/deploy/SV2Interface.ear
|
As I mentioned in my first post all EJB's are located in the same jar (ejb module) that, in turn, is packaged in EAR application. I am accesing one EJB from another EJB (both of them are located in the same JAR).
Thanks,
Vadim
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4232149#4232149
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4232149
16 years, 11 months