# Flowable 6.4.0 on Weblogic 12c

**URL:** <https://forum.flowable.org/t/flowable-6-4-0-on-weblogic-12c/2701>\
**Category:** Flowable Engine\
**Created:** [October 8, 2018, 12:51pm UTC](https://forum.flowable.org/t/flowable-6-4-0-on-weblogic-12c/2701 "2018-10-08T12:51:38Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![bianghouse](https://avatars.discourse-cdn.com/v4/letter/b/db5fbb/32.png) [@bianghouse](https://forum.flowable.org/u/bianghouse)\
**Post date:** [October 8, 2018, 12:51pm UTC](https://forum.flowable.org/t/flowable-6-4-0-on-weblogic-12c/2701/1 "2018-10-08T12:51:39Z")

</div>

Hi, I’m on 6.4.0 version, I’ve installed with no pain all distribution wars on oracle weblogic 12c.  
I properly changed every configuration file (flowable-default.properties) inside each war, pointing to mysql as database and then i made some changes to redirection parameters, which their default values pointed to localhost on port 8080 instead of \<my\_remote\_ip\>:7001 (weblogic server default port).  
So database is generated and filled up correctly, tables which refer to user access are filled correctly.  
When I try to access to remote resource  
\<my\_remote\_server\_ip\>:7001/flowable-modeler  
I get a redirection like this:  
\<my\_remote\_server\_ip\>:7001/flowable-idm/#/login?redirectOnAuthSuccess=true&redirectUrl=http://\<my\_remote\_serve\>\_ip\>:7001/flowable-modeler  
with login prompt, then entering correct credentials server comes back again to login page.  
Have I mess something during configuration step? Or is simply uncompliant with oracle Weblogic Server?  
Any help would by grately appreciated.

Many thanks in advance!

---

<div class="post-metadata">

**Author:** ![arun](https://avatars.discourse-cdn.com/v4/letter/a/ee7513/32.png) [@arun](https://forum.flowable.org/u/arun)\
**Post date:** [October 17, 2018, 8:06pm UTC](https://forum.flowable.org/t/flowable-6-4-0-on-weblogic-12c/2701/2 "2018-10-17T20:06:57Z")

</div>

Hi ,  
I am on 6.4.0 version & using Tomcat application server. Our services has a requirement moving to Oracle weblogic 12c platform. When the containers (flowable-admin,flowable-idm,flowable-modeler,flowable-rest & flowable-task) are deployed in weblogic (after changing to weblogic port in each properties files) I am running into below exception

org.springframework.context.ApplicationContextException: Unable to start web server; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘httpPutFormContentFilter’ defined in class path resource [org/springframework/boot/autoconfigure/web/servlet/WebMvcAutoConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.boot.web.servlet.filter.OrderedHttpPutFormContentFilter]: **Factory method ‘httpPutFormContentFilter’ threw exception; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.fasterxml.jackson.datatype.jsr310.JavaTimeModule]:** Constructor threw exception; nested exception is java.lang.IllegalAccessError: tried to access method com.fasterxml.jackson.databind.ser.std.StdSerializer.(Ljava/lang/Class;)V from class com.fasterxml.jackson.datatype.jsr310.JavaTimeModule  
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.onRefresh(ServletWebServerApplicationContext.java:155)  
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:544)  
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:140)  
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:780)  
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:412)  
at org.springframework.boot.SpringApplication.run(SpringApplication.java:333)  
at org.springframework.boot.web.servlet.support.SpringBootServletInitializer.run(SpringBootServletInitializer.java:157)  
at org.springframework.boot.web.servlet.support.SpringBootServletInitializer.createRootApplicationContext(SpringBootServletInitializer.java:137)

Any pointers on how to resolve this exception ?.

Regards

Arun

---

<div class="post-metadata">

**Author:** ![joram](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.flowable.org/joram/32/26_2.png) [@joram](https://forum.flowable.org/u/joram)\
**Post date:** [October 18, 2018, 9:45am UTC](https://forum.flowable.org/t/flowable-6-4-0-on-weblogic-12c/2701/3 "2018-10-18T09:45:02Z")

</div>

It seems like this is a general spring boot + weblogic issue. Stackoverflow gave me this: [https://stackoverflow.com/questions/38811072/spring-boot-rest-service-deploy-on-weblogic12c](https://stackoverflow.com/questions/38811072/spring-boot-rest-service-deploy-on-weblogic12c), maybe you can try and see if it solves the problem?

---

<div class="post-metadata">

**Author:** ![arun](https://avatars.discourse-cdn.com/v4/letter/a/ee7513/32.png) [@arun](https://forum.flowable.org/u/arun)\
**Post date:** [October 19, 2018, 3:25pm UTC](https://forum.flowable.org/t/flowable-6-4-0-on-weblogic-12c/2701/4 "2018-10-19T15:25:09Z")

</div>

Thanks Joram that really helped, Exception cleared & admin /modeler/task pages are Up after adding weblogic.xml in web-inf folder

\<wls:weblogic-web-app xsi:schemaLocation=“[http://java.sun.com/xml/ns/javaee](http://java.sun.com/xml/ns/javaee) [http://java.sun.com/xml/ns/javaee/web-app\_2\_5.xsd](http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd) [http://xmlns.oracle.com/weblogic/weblogic-web-app](http://xmlns.oracle.com/weblogic/weblogic-web-app) [http://xmlns.oracle.com/weblogic/weblogic-web-app/1.7/weblogic-web-app.xsd](http://xmlns.oracle.com/weblogic/weblogic-web-app/1.7/weblogic-web-app.xsd)” xmlns:wls=“[http://xmlns.oracle.com/weblogic/weblogic-web-app](http://xmlns.oracle.com/weblogic/weblogic-web-app)” xmlns:xsi=“[http://www.w3.org/2001/XMLSchema-instance](http://www.w3.org/2001/XMLSchema-instance)”\>  
wls:context-rootflowable-idm\</wls:context-root\>  
wls:container-descriptor  
wls:prefer-web-inf-classesfalse\</wls:prefer-web-inf-classes\>  
wls:prefer-application-packages  
wls:package-namecom.fasterxml.jackson.\*\</wls:package-name\>  
\</wls:prefer-application-packages\>  
\</wls:container-descriptor\>  
\</wls:weblogic-web-app\>

But now i get redirected to login page after credetial validation ☹ Is there any configuration needs to be checked

Regards

Arun

---

<div class="post-metadata">

**Author:** ![arun](https://avatars.discourse-cdn.com/v4/letter/a/ee7513/32.png) [@arun](https://forum.flowable.org/u/arun)\
**Post date:** [October 22, 2018, 8:01am UTC](https://forum.flowable.org/t/flowable-6-4-0-on-weblogic-12c/2701/5 "2018-10-22T08:01:01Z")

</div>

Hi,

After a few trial & error i could find the list of packages / classes that are in conflict with weblogic libraries & jars. Solution to overcome these exceptions would to explicitly mention weblogic class cloader where the classes should be loaded from in wls:prefer-application-packages ( weblogic.xml)

com.fasterxml.jackson.\*  
com.google.common.\*  
com.google.thirdparty.\*  
javax.annotation.\*  
javax.annotation.security.\*  
javax.annotation.sql.\*  
org.aopalliance.aop.\*  
org.aopalliance.intercept.\*  
org.apache.commons.\*  
org.apache.xerces.\*  
org.joda.time.\*  
org.slf4j.\*  
org.slf4j.helpers.\*  
org.slf4j.impl.\*  
org.slf4j.spi.\*  
org.w3c.dom.ls.DOMImplementationLS  
org.w3c.dom.ls.LSLoadEvent  
org.w3c.dom.ls.LSProgressEvent  
org.w3c.dom.ranges.DocumentRange  
org.w3c.dom.ranges.Range  
org.w3c.dom.ranges.RangeException

But my login works only for flowable-idm , if i use flowable-admin,modelere or task i get directed back to idm login page

Similar redirect problems has been reported like below

> [@After auth success, app redirects back to login page](https://forum.flowable.org/t/after-auth-success-app-redirects-back-to-login-page/2136):
>
> I’m running Flowable 6.3.1 IDM and Modeler in a Docker container. The Dockerfile is simply this: FROM tomcat:8.0.20-jre8 COPY src/main/resources/flowable-ui-idm-app.war /usr/local/tomcat/webapps/flowable-idm.war COPY src/main/resources/flowable-ui-modeler-app.war /usr/local/tomcat/webapps/flowable-modeler.war And I run it like this: docker run -d -p 8080:8080 -e FLOWABLE\_COMMON\_APP\_IDM\_URL=http://localhost:8080/flowable-idm -e FLOWABLE\_COMMON\_APP\_IDM\_REDIRECT\_URL=http://localhost:8080/flowabl…

I coundn’t find the solution yet for redirect , could you please guide on how to fix it

Regards

Arun

---

<div class="post-metadata">

**Author:** ![Ashok\_Gautam](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.flowable.org/ashok_gautam/32/901_2.png) [@Ashok\_Gautam](https://forum.flowable.org/u/Ashok_Gautam)\
**Post date:** [October 23, 2018, 9:55am UTC](https://forum.flowable.org/t/flowable-6-4-0-on-weblogic-12c/2701/6 "2018-10-23T09:55:09Z")

</div>

Hi !

I am also facing same issue while deploying our custom flowable Application in Weblogic 12c.

I’m using **Flowable 6.4.0 IDM** and Modeler in a **Weblogic server**

But after I login successfully with admin/test, it sends me back to: [http://localhost:8080/flowable-idm/#/login?redirectOnAuthSuccess=true&redirectUrl=http:%2F%2Flocalhost:8080%2Fflowable-modeler%2F](http://localhost:8080/flowable-idm/#/login?redirectOnAuthSuccess=true&redirectUrl=http:%2F%2Flocalhost:8080%2Fflowable-modeler%2F)

This is using a fresh flowable database on oracle database. Is weblogic not supported for flowable ?

i have gone through with below video that describes Flowable Integration with Weblogic

Could you please help me to solve this issue.

Any suggestion/feedback will be highly appreciated.

Let me know, if any more information required to help with this issue.

Regards  
Ashok

---

<div class="post-metadata">

**Author:** ![dyachera](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.flowable.org/dyachera/32/1635_2.png) [@dyachera](https://forum.flowable.org/u/dyachera)\
**Post date:** [December 5, 2019, 9:37pm UTC](https://forum.flowable.org/t/flowable-6-4-0-on-weblogic-12c/2701/7 "2019-12-05T21:37:12Z")

</div>

I was running into same issue where every time I logged on it kept sending me back to login when deployed to weblogic (tomcat worked fine:. Spent good amount of time trying to debug and figured I’d share what I did to fix since I had trouble finding any help.I needed the following added to weblogics config.xml security-configuration:

```
`<enforce-valid-basic-auth-credentials>false</enforce-valid-basic-auth-credentials>`

```

Without it flowables http basic authentication is blocked
