AnsweredAssumed Answered

activiti 5.2 on weblogic and oracle

Question asked by heymjo on Feb 4, 2011
Latest reply on Aug 25, 2011 by ananthk

Just spent a bit of time getting the distribution to run on WLS and Oracle. Here is what i did to get things working

  • configure the standard 5.2 distribution to use Oracle, using the instructions as provided in the user manual (adding jdbc driver etc). Ensure that everything still works first before continuing.

  • create a new vanilla weblogic domain using WLS 10.3 or higher. 9.2 won't work because for some reason Activiti requires a servlet 2.5 compatible container.

  • copy the war files from apps\apache-tomcat-6.0.29\webapps\ to the autodeploy directory in the domain

  • adapt surf.xml and change <endpoint-url> to the new host and port locations for each webapp

  • because of classloader issues with org.mozilla classes, you need to deploy each war as an EAR. Basically wrap each webapp in another directory and add in META-INF an application.xml like this

  • <?xml version="1.0" encoding="UTF-8"?>
    <application xmlns="" xmlns:xsi="" version="5">
    and also a weblogic-application.xml like this

    <weblogic-application xmlns="" xmlns:xsi=""

  • lastly, you need to disable weblogic handling of basic authentication. by default it will intercept all basic auth requests and reject them unless the domain is correctly configured for the basic auth. This doesn't make sense for activiti because it needs to handle the auth itself. So edit config.xml and add this just before the closing tag </security-configuration>

  •   <enforce-valid-basic-auth-credentials>false</enforce-valid-basic-auth-credentials>
That's pretty much it and things should work now.

The only thing that doesn't work is the modeler, upon deployment it throws a classnotfoundexception which is very strange:

<04-Feb-2011 15:18:45 o'clock CET> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
weblogic.application.ModuleException: Failed to load webapp: '/activiti-modeler'
        at weblogic.servlet.internal.WebAppModule.prepare(
        at weblogic.application.internal.flow.ScopedModuleDriver.prepare(
        at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(
        at weblogic.application.internal.flow.DeploymentCallbackFlow$
        at weblogic.application.utils.StateMachineDriver.nextState(
        Truncated. see log file for complete stacktrace

Caused By: java.lang.ClassNotFoundException: org.oryxeditor.server.BPMNLayouterServlet
        at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(
        at weblogic.utils.classloaders.GenericClassLoader.findClass(
        at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(
        at java.lang.ClassLoader.loadClass(
        at java.lang.ClassLoader.loadClass(
        Truncated. see log file for complete stacktrace

I looked through the complete distribution for this class but cannot find it. Anyone have an idea what is going on ? I have found a reference to signavio.war in jboss-classloading.xml but where does signavio.war come from ?