[jboss-user] [jBPM] - Re: Deploying jBPM 5.1 on jBoss 6

Chaitanya Desai do-not-reply at jboss.com
Thu Jul 28 18:17:22 EDT 2011


Chaitanya Desai [http://community.jboss.org/people/chaitanya1987] created the discussion

"Re: Deploying jBPM 5.1 on jBoss 6"

To view the discussion, visit: http://community.jboss.org/message/618241#618241

--------------------------------------------------------------
Was able to get it working by removing certain jars from the .war files :
(Placing extracts from build.xml used)

 http://blog.athico.com/2011/05/guvnor-wars-per-application-server.html http://blog.athico.com/2011/05/guvnor-wars-per-application-server.html

<echo message="Deleting conflicting jars from jbpm-gwt-console-server-war"/>
    <delete file="${install.home}/target/jbpm-gwt-console-server-war/WEB-INF/lib/javassist-3.6.0.GA.jar"/>
          <delete file="${install.home}/target/jbpm-gwt-console-server-war/WEB-INF/lib/jaxrs-api-1.0.2.GA.jar"/>
          <delete file="${install.home}/target/jbpm-gwt-console-server-war/WEB-INF/lib/el-api.jar"/> 
          <delete file="${install.home}/target/jbpm-gwt-console-server-war/WEB-INF/lib/slf4j-api-1.6.0.jar"/>
          <delete file="${install.home}/target/jbpm-gwt-console-server-war/WEB-INF/lib/slf-log4j12-1.6.0.jar"/>
          <delete file="${install.home}/target/jbpm-gwt-console-server-war/WEB-INF/lib/slf4j-api-1.5.2.jar"/>
          <delete file="${install.home}/target/jbpm-gwt-console-server-war/WEB-INF/lib/slf4j-log4j12-1.5.2.jar"/>
          <delete file="${install.home}/target/jbpm-gwt-console-server-war/WEB-INF/lib/slf4j-simple-1.5.2.jar"/>
 <delete file="${install.home}/target/jbpm-gwt-console-server-war/WEB-INF/lib/el-impl-1.0.jar"/> 
          <delete file="${install.home}/target/jbpm-gwt-console-server-war/WEB-INF/lib/javax.jsf_1.2.0.0.jar"/>
          <delete file="${install.home}/target/jbpm-gwt-console-server-war/WEB-INF/lib/glassfish.jsf_1.2.3.2.jar"/>
          <delete file="${install.home}/target/jbpm-gwt-console-server-war/WEB-INF/lib/glassfish.jstl_1.2.0.1.jar"/>



2)

  <target name="install.guvnor.into.jboss.other1">

 <mkdir dir="${install.home}/target/drools-guvnor"/>
    <unzip src="${install.home}/lib/guvnor-5.2.0.Final-jboss-as-6.0.war" dest="${install.home}/target/drools-guvnor" />
           <echo message="Removing the unrequired jars from drools-guvnor.war"/>
    <delete> 
      <fileset dir="${install.home}/target/drools-guvnor/WEB-INF/lib" includes="xml-apis-*.jar"/>                     
                <fileset dir="${install.home}/target/drools-guvnor/WEB-INF/lib" includes="jta-*.jar"/>
                      <fileset dir="${install.home}/target/drools-guvnor/WEB-INF/lib" includes="slf4j-api-1.6.0.jar"/>
                      <fileset dir="${install.home}/target/drools-guvnor/WEB-INF/lib" includes="slf4j-log4j12-1.6.0.jar"/>
          <!--            <fileset dir="${install.home}/target/drools-guvnor/WEB-INF/lib" includes="jsf-api-*.jar"/> -->
                      <fileset dir="${install.home}/target/drools-guvnor/WEB-INF/lib" includes="javassist-*.jar"/>
                      <fileset dir="${install.home}/target/drools-guvnor/WEB-INF/classes/org/drools/guvnor/server/jaxrs" includes="GuvnorApplication.class"/>

    </delete>
    <zip basedir="${install.home}/target/drools-guvnor"
         destfile="${install.home}/target/drools-guvnor.war"/>
    <copy file="${install.home}/target/drools-guvnor.war"
          tofile="${jboss.server.deploy.dir}/drools-guvnor.war"
          overwrite="true" />
    <delete dir="${install.home}/target"/>

  </target>
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/618241#618241]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110728/28282703/attachment.html 


More information about the jboss-user mailing list