webtop not starting in Tomcat

NanoMeko
edited April 13, 2015 in Documentum #1

I have a customized webtop 6.7SP1 application. After upgrading the application to 6.7 SP2 and deploying it on a new tomcat 7 server, the application does not start. How do I fix this issue and start up the application?

The error displayed is:

SEVERE: Exception starting filter WDKController<br/>java.lang.NullPointerException<br/>  at java.util.regex.Pattern.<init>(Unknown Source)<br/>  at java.util.regex.Pattern.compile(Unknown Source)<br/>  at com.documentum.web.env.WDKController.init(Unknown Source)<br/>  at org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:277)<br/>  at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:258)<br/>  at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:382)<br/>  at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:103)<br/>  at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4650)<br/>  at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5306)<br/>  at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)<br/>  at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)<br/>  at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)<br/>  at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:618)<br/>  at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1100)<br/>  at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1618)<br/>  at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)<br/>  at java.util.concurrent.FutureTask.run(Unknown Source)<br/>  at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)<br/>  at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)<br/>  at java.lang.Thread.run(Unknown Source)

Tagged:

Comments

  • rstein
    edited January 14, 2015 #2

    Hello , check WEB-INF\web.xml file and compare it against the default 6.7 SP2 version.

  • NanoMeko
    edited January 14, 2015 #3

    Thanks @rstein but I there must be something else. I put the original webtop 6.7sp2 web.xml and restarted the app server but the error remains.

    Can the error message be caused by another configuration file other than web.xml?

  • rstein
    edited January 14, 2015 #4

    The deployment guide states some other configuration that need to be done in Tomcat before app deployment:

    • Disable the enablePooling property in web.xml

    DA 7.1 also requires, and I believe that some of them are needed for Webtop on Tomcat 7 as well:

    • In the file catalina.properties insert: org.apache.jasper.compiler.Parser.STRICT_WHITESPACE=false
    • In context.xml modify the Context element adding useHttpOnly="false", like:

                   <Context useHttpOnly="false">

    Check these configurations and tell me if it works.

  • NanoMeko
    edited January 14, 2015 #5

    Thank you for you answer.

    The following modification have been made:

    1. Failover turned off in app.xml
    2. enablePooling disabled in web.xml
    3. useHttpOnly="false" in context.xml
    4. org.apache.jasper.compiler.Parser.STRICT_WHITESPACE=false added to catalina.properties

    Tomcat 7.0.29 restarted, work folder cleared, and the error remains in localhost.2015-01-14.log

  • rstein
    edited January 14, 2015 #6

    I suggest you deploy the original out-of-the-box Webtop 6.7 SP2 and try it out in that same Tomcat 7. Then, if it works, you'll have to identify what modification introduced by your customization causes this behavior.

  • Francois Dauberlieu
    edited January 16, 2015 #7

    disable all the components you extend in the custom (or your) layer, then re-enable them one after the other to find which one crashes....

  • alain_molimard
    edited April 13, 2015 #8

    Did you find a solution?

    Regards

    Alain