  | Mailing List | | Home | | Forum Home | | JBoss - Java Application Server | | Tomcat - JSP/Servlet container | | Struts - A MVC web framework | | iText - An open source PDF Java Library | | JDOM - JDOM XML Parser | | J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition | | JSP - A mailing list about Java Server Pages specification and reference | | J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog | | Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology | |
Struts & Hibernate
|
|
|
  | | | - Re: EJB jar deploy order in Jboss AS | - Re: EJB jar deploy order in Jboss AS 2007-06-10 - By ALRubinger
Back Sure. You can do a couple of things.
If you're looking to alter the order of deployment:
1) Write your own DeploymentSorter and plug it into the MainDeployer in $JBOSS _HOME/server/[youServerName]/conf/jboss-service.xml - you can customize here to your heart's content.
- OR -
2) Add a numeric or alphanumeric prefix (eg "1-myapp.ear") to each of your deployable units, and set the "URLComparator" attribute of the deployment sorter appropriately.
http://www.jboss.org/wiki/Wiki.jsp?page=URLComparator
...but better for you in this case, if your JARs are more than libraries and contain deployable units in themselves (EJB3s, or example), you'd be better off defining in a @(protected) annotation the name of the Service upon which your other service depends. Check the JMX Console to get the ObjectNames of your services .
Check out the Dependency Section here:
http://trailblazer.demo.jboss.com/EJB3Trail/serviceobjects/jmx/
Good luck.
S, ALR
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic &p=4052907#4052907
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode =reply&p=4052907 __ ____ ____ ____ ____ ____ ____ ____ ____ ____ jboss-user mailing list jboss-user@(protected) https://lists.jboss.org/mailman/listinfo/jboss-user
|
|
 |