You do not need to merge your code with the console code.

Do something like that:

rockerrocker.ear
  
      META-INF/application.xml
      rockerrocker.war
      rockerrocker.jar
      jbpmconsole.war

NOTE: You need to put all your model/ejbs classes in a separated jar file in 
order to be accessed by the two war applications.

The application.xml should be something like that:


  | <?xml version="1.0" encoding="UTF-8"?>
  | <application xmlns="http://java.sun.com/xml/ns/javaee"; 
  |     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
  |     xsi:schemaLocation="http://java.sun.com/xml/ns/javaee 
http://java.sun.com/xml/ns/javaee/application_5.xsd"; 
  |     version="5">
  |   <description>RockerRocker Enterprise Application</description>
  |   <display-name>RockerRocker Enterprise Application</display-name>
  |   <module>
  |     <web>
  |       <web-uri>rockerrocker.war</web-uri>
  |       <context-root>/rockerrocker</context-root>
  |     </web>
  |   </module>
  |   <module>
  |     <ejb>rockerrocker.jar</ejb>
  |   </module>
  |   <module>
  |     <web>
  |       <web-uri>jbpmconsole.war</web-uri>
  |       <context-root>/jbpmconsole</context-root>
  |     </web>
  |   </module>
  | </application>
  | 

NOTE: I'm using JBoss AS 4.3.2

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4266188#4266188

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4266188
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to