[jboss-user] [jBPM] - Re: Console crashes on opening Process Overview (fresh jBPM5.2 installation)

hamsterdancer do-not-reply at jboss.com
Mon Jan 16 13:21:35 EST 2012

hamsterdancer [https://community.jboss.org/people/hamsterdancer] created the discussion

"Re: Console crashes on opening Process Overview (fresh jBPM5.2 installation)"

To view the discussion, visit: https://community.jboss.org/message/647035#647035

Ok we found the problem.

As Tihomir already said, the problem is about the version of commons codec. We found THREE different versions of commons codec in the different projects which are parts of the jBPM Installer. 1.3, 1.4 and 1.5. 
It looks like jboss loads the libraries in a different order on different systems. The following output (I've got by a colleague) may help to fix the problem permanently.

> 18:32:21,749 INFO  [stdout] (http-localhost- 
>  >>>>>>>>>>>> commons codec location : 
> vfs:/content/jbpm-gwt-console-server.war/WEB-INF/lib/org.apache.commons.codec_1.3.0.v201101211617.jar
> 18:32:21,750 ERROR 
> [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/gwt-console-server]] 
> (http-localhost- StandardWrapper.Throwable: 
> java.lang.NoSuchMethodError: 
> org.apache.commons.codec.binary.Base64.encodeBase64String([B)Ljava/lang/String;

Our temporary solution is to change the build.xml to exclude the old library on the jboss installation

>            <!-- Install reporting AS7  -->
>    <target name="install.reporting.into.jboss7" depends="check.birt.as7" if="birt.download" >
>      <mkdir dir="${install.home}/birt"/>
>      <unzip src="${install.home}/lib/birt-runtime-${birt.version.as7}.zip"
>             dest="${install.home}/birt"/>
>     <copy todir="${install.home}/target/jbpm-gwt-console-server-war/WEB-INF/lib">
>        <fileset dir="${install.home}/birt/birt-runtime-${birt.version.as7}/ReportEngine/lib">
>           <include name="**/*.jar"/>
> <exclude name="**/org.apache.commons.codec_1.3.0.v201101211617.jar"/>
>        </fileset>
>     </copy>     

I hope it helps without causing additional problems^^

Reply to this message by going to Community

Start a new discussion in jBPM at Community

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

More information about the jboss-user mailing list