AnsweredAssumed Answered

Activiti REST - Not working in Oracle

Question asked by prakashm88 on Jan 26, 2016
Latest reply on Jan 26, 2016 by prakashm88
We are trying to deploy Activiti-REST in Oracle, and as insisted it supports Servlet 3.0.

After completion of the application deployment, when trying to acesss the REST URL, I am getting the following error.

####<Jan 25, 2016 8:58:19 PM EST> <Info> <Deployer> <salsa> <myserver> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1453773499051> <BEA-149060> <Module activiti-rest.war of application activiti-rest successfully transitioned from STATE_ADMIN to STATE_ACTIVE on server myserver.>
####<Jan 25, 2016 8:58:19 PM EST> <Info> <Deployer> <salsa> <myserver> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1453773499069> <BEA-149074> <Successfully completed deployment task: [Deployer:149026]deploy application activiti-rest on myserver..>
####<Jan 25, 2016 8:58:40 PM EST> <Error> <HTTP> <salsa> <myserver> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1453773520821> <BEA-101020> <[ServletContext@698589730[app:activiti-rest module:activiti-rest.war path:null spec-version:3.0]] Servlet failed with an Exception
java.lang.IllegalArgumentException: ServletContext must not be null
        at org.springframework.util.Assert.notNull(
        at org.springframework.web.filter.DelegatingFilterProxy.findWebApplicationContext(
        at org.springframework.web.filter.DelegatingFilterProxy.doFilter(
        at weblogic.servlet.internal.FilterChainImpl.doFilter(
        at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(
        at weblogic.servlet.internal.WebAppServletContext$
        at weblogic.servlet.internal.WebAppServletContext.doSecuredExecute(
        at weblogic.servlet.internal.WebAppServletContext.securedExecute(
        at weblogic.servlet.internal.WebAppServletContext.execute(
        at weblogic.servlet.provider.ContainerSupportProviderImpl$

It seems the Weblogic Security handler is failing eventhough the application is deployed successfully, is there a way to resolve the same. Is there a way to disable the secutiry and test the application asa well.

Any help is appreciated, Thanks !.