Configuring Tomcat for DSM

Good morning.

I've configured Tomcat as in the manual specified, but I'm having some problems.

When I try to acces to vgnTest.jsp I get this error message in the log.

27-Feb-2015 11:00:34.265 SEVERE [http-nio-8081-exec-5] org.apache.catalina.core.StandardWrapperValve.invoke Servlet.service() for servlet [jsp] in context with path [/sites] threw exception
 java.lang.NullPointerException
    at com.vignette.ext.templating.util.SysUtilImpl.getConfigVal(SysUtilImpl.java:1019)
    at com.vignette.ext.templating.util.SysUtilImpl.getImplInstance(SysUtilImpl.java:1182)
    at com.vignette.ext.templating.util.SysUtilImpl.getImplInstance(SysUtilImpl.java:1277)
    at com.vignette.ext.templating.util.SysUtilImpl.getSiteInfoImpl(SysUtilImpl.java:1146)
    at com.vignette.ext.templating.util.SysUtil.getSiteInfoImpl(SysUtil.java:509)
    at com.vignette.ext.templating.util.SiteResolver.resolveSite(SiteResolver.java:76)
    at com.vignette.ext.templating.util.SiteResolver.populate(SiteResolver.java:40)
    at com.vignette.ext.templating.util.ResolverChain.populate(ResolverChain.java:30)
    at com.vignette.ext.templating.util.DefaultRequestContextFactory.initializeResolverChain(DefaultRequestContextFactory.java:226)
    at com.vignette.ext.templating.util.DefaultRequestContextFactory.initializeRequest(DefaultRequestContextFactory.java:61)
    at com.vignette.ext.templating.util.DefaultRequestContextFactory.getCurrentRequestContext(DefaultRequestContextFactory.java:133)
    at com.vignette.ext.templating.util.PageUtil.getCurrentRequestContext(PageUtil.java:213)
    at com.vignette.ext.templating.filter.capture.interceptor.ExternalContentProviderResponseInterceptor.intercept(ExternalContentProviderResponseInterceptor.java:43)
    at com.vignette.ext.templating.filter.capture.CaptureFilter.doFilter(CaptureFilter.java:139)
    at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:237)
    at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)
    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:142)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
    at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:610)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:516)
    at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1086)
    at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:659)
    at org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:223)
    at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1558)
    at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1515)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
    at java.lang.Thread.run(Unknown Source)

Also I want to know how can I get the sample site for version 10.5.

Thank you so much.

Comments

  • Hola Ignacio,

    I’m not sure if this is related but we have detected an incompatibility of our DPM/DSM code with the latest versions of Tomcat 7 and 8. Check KBA 58080125 and see if your Tomcat version is affected:

    https://knowledge.opentext.com/knowledge/cs.dll?func=ll&objId=58080125&objAction=ArticleView

    If so simply download a previous Tomcat version and configure on that.

    Un saludo,

                          Tomás

     

    From: eLink Entry: Discussion Group - Web Experience Management [mailto:v7webcontentmanagement@elinkkc.opentext.com]
    Sent: viernes, 27 de febrero de 2015 11:25
    To: eLink Recipient
    Subject: Configuring Tomcat for DSM

     

    Configuring Tomcat for DSM

     

    Posted byisebastian@dclconsultores.com (Sebastian, Ignacio) On 02/27/2015 05:22 AM

     

     

    Good morning.

    I've configured Tomcat as in the manual specified, but I'm having some problems.

    When I try to acces to vgnTest.jsp I get this error message in the log.

    27-Feb-2015 11:00:34.265 SEVERE [http-nio-8081-exec-5] org.apache.catalina.core.StandardWrapperValve.invoke Servlet.service() for servlet [jsp] in context with path [/sites] threw exception
     java.lang.NullPointerException
        at com.vignette.ext.templating.util.SysUtilImpl.getConfigVal(SysUtilImpl.java:1019)
        at com.vignette.ext.templating.util.SysUtilImpl.getImplInstance(SysUtilImpl.java:1182)
        at com.vignette.ext.templating.util.SysUtilImpl.getImplInstance(SysUtilImpl.java:1277)
        at com.vignette.ext.templating.util.SysUtilImpl.getSiteInfoImpl(SysUtilImpl.java:1146)
        at com.vignette.ext.templating.util.SysUtil.getSiteInfoImpl(SysUtil.java:509)
        at com.vignette.ext.templating.util.SiteResolver.resolveSite(SiteResolver.java:76)
        at com.vignette.ext.templating.util.SiteResolver.populate(SiteResolver.java:40)
        at com.vignette.ext.templating.util.ResolverChain.populate(ResolverChain.java:30)
        at com.vignette.ext.templating.util.DefaultRequestContextFactory.initializeResolverChain(DefaultRequestContextFactory.java:226)
        at com.vignette.ext.templating.util.DefaultRequestContextFactory.initializeRequest(DefaultRequestContextFactory.java:61)
        at com.vignette.ext.templating.util.DefaultRequestContextFactory.getCurrentRequestContext(DefaultRequestContextFactory.java:133)
        at com.vignette.ext.templating.util.PageUtil.getCurrentRequestContext(PageUtil.java:213)
        at com.vignette.ext.templating.filter.capture.interceptor.ExternalContentProviderResponseInterceptor.intercept(ExternalContentProviderResponseInterceptor.java:43)
        at com.vignette.ext.templating.filter.capture.CaptureFilter.doFilter(CaptureFilter.java:139)
        at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:237)
        at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)
        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:142)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
        at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:610)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:516)
        at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1086)
        at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:659)
        at org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:223)
        at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1558)
        at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1515)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
        at java.lang.Thread.run(Unknown Source)

    Also I want to know how can I get the sample site for version 10.5.

    Thank you so much.


    [To post a comment, use the normal reply function]

    Forum:

    Discussion Group - Web Experience Management

    Content Server:

    Knowledge Center

     

  • Hi Tomas.

    I reinstalled a previous version of Tomcat and the error is still the same.

    I installed Tomcat, then I checked and Saw it was working by entering http://localhost:port and it worked

    After following the steps is I enter that address I get this message: Content Management Server host name is not configured

    And if I try to access to vgnTest I get the same error than before.

    Thank you.

  • Do you happen to remember the solution to this issue?  Getting the same thing on DPM.

     

    Thanks!

  • Have you configured DSM in your Configuration Console already? If not, then that is most likely the issue.

  • Hi Ignacio,

    Can you tell what were the steps you did follow until you got the error? Have you follow the steps described in DSM/DPM Config. Guide?

    I'm assuming that you have installed WEM 10.5, correct? follow the link for DSM/DPM Config. Guide > https://knowledge.opentext.com/knowledge/cs.dll/Open/56350453

    You can find more information about Innovate Sample Site on chapter 22 also.