<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: servlet Context in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/servlet-context/m-p/3235176#M890645</link>
    <description>Do you need some configuration in WEB-INF/web.xml ??&lt;BR /&gt;&lt;BR /&gt;Kaps</description>
    <pubDate>Thu, 01 Apr 2004 07:41:58 GMT</pubDate>
    <dc:creator>KapilRaj</dc:creator>
    <dc:date>2004-04-01T07:41:58Z</dc:date>
    <item>
      <title>servlet Context</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/servlet-context/m-p/3235169#M890638</link>
      <description>Hi can anybody tell me how to create new servlet context,  I am having hp web server suit ver 1.3 with mod_jk enabled. I tried to create a context named crms.I added folloeing in server.xml----------&lt;!-- Tomcat CRMS Context added by user --&gt;                                                                                        &lt;CONTEXT path="/crms" docbase="crms" debug="0" reloadable="true"&gt;                &lt;LOGGER classname="org.apache.catalina.logger.FileLogger" prefix="localhost_crms_log." suffix=".txt" timestamp="true"&gt;&lt;/LOGGER&gt;        &lt;/CONTEXT&gt;----------------I created required directories in /opt/hpws/tomcat/webapps/crms.I placed one jsp in this dir i.e. /opt/hpws/tomcat/webapps/crms.I am able to access this jsp if I give in browserhttp://localhost/crms/login.jsp and all the example servlets of tomcat but I am not able to access the servlets which I have placed in directory /opt/hpws/tomcat/webapps/crms/WEB-INF/classes, however if I place the same servlets in example context i.e. in dir /opt/hpws/tomcat/webapps/examples/WEB-INF/classes I am able to access the servlets.   What is wrong ?  Can any body help me.-- Santosh</description>
      <pubDate>Wed, 31 Mar 2004 06:18:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/servlet-context/m-p/3235169#M890638</guid>
      <dc:creator>SANTOSH S. MHASKAR</dc:creator>
      <dc:date>2004-03-31T06:18:58Z</dc:date>
    </item>
    <item>
      <title>Re: servlet Context</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/servlet-context/m-p/3235170#M890639</link>
      <description>Change dicBase from "crms" to "/opt/hpws/tomcat/webapps/examples"&lt;BR /&gt;&lt;BR /&gt;This should resolve your issues..&lt;BR /&gt;&lt;BR /&gt;mod_jk is a good idea if you want to load balance the tomcat instances&lt;BR /&gt;&lt;BR /&gt;Regds,&lt;BR /&gt;&lt;BR /&gt;Kaps</description>
      <pubDate>Wed, 31 Mar 2004 06:28:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/servlet-context/m-p/3235170#M890639</guid>
      <dc:creator>KapilRaj</dc:creator>
      <dc:date>2004-03-31T06:28:38Z</dc:date>
    </item>
    <item>
      <title>Re: servlet Context</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/servlet-context/m-p/3235171#M890640</link>
      <description>typo read as docBase&lt;BR /&gt;&lt;BR /&gt;Apologies&lt;BR /&gt;&lt;BR /&gt;Kaps</description>
      <pubDate>Wed, 31 Mar 2004 06:29:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/servlet-context/m-p/3235171#M890640</guid>
      <dc:creator>KapilRaj</dc:creator>
      <dc:date>2004-03-31T06:29:22Z</dc:date>
    </item>
    <item>
      <title>Re: servlet Context</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/servlet-context/m-p/3235172#M890641</link>
      <description>Hi Kapil ,I want it in ..../crms only. It is already working in .../examples.RegardsSantosh</description>
      <pubDate>Wed, 31 Mar 2004 06:57:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/servlet-context/m-p/3235172#M890641</guid>
      <dc:creator>SANTOSH S. MHASKAR</dc:creator>
      <dc:date>2004-03-31T06:57:07Z</dc:date>
    </item>
    <item>
      <title>Re: servlet Context</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/servlet-context/m-p/3235173#M890642</link>
      <description>Sorry i did mean &lt;BR /&gt;&lt;BR /&gt;For the crms context &lt;BR /&gt;&lt;BR /&gt;Change docBase from "crms" to "/opt/hpws/tomcat/webapps/crms" to run the jsp's&lt;BR /&gt;&lt;BR /&gt;Also when you start tomcat make sure you have the correct vars set i.e. CATALINA_BASE etc ...&lt;BR /&gt;&lt;BR /&gt;Regds,&lt;BR /&gt;&lt;BR /&gt;Kaps</description>
      <pubDate>Wed, 31 Mar 2004 07:32:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/servlet-context/m-p/3235173#M890642</guid>
      <dc:creator>KapilRaj</dc:creator>
      <dc:date>2004-03-31T07:32:53Z</dc:date>
    </item>
    <item>
      <title>Re: servlet Context</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/servlet-context/m-p/3235174#M890643</link>
      <description>Create a new one as follows,&lt;BR /&gt;&lt;BR /&gt;&lt;CONTEXT path="/crms_santosh" docbase="/opt/hpws/tomcat/webapps/crms_santosh"&gt;&lt;/CONTEXT&gt;           workDir="/opt/hpws/tomcat/webapps/crms_santosh"                                     debug="0" reloadable="false"                                               &lt;BR /&gt;           swallowOutput="true"&amp;gt;                                                      &lt;BR /&gt;           &lt;LOGGER classname="org.apache.catalina.logger.FileLogger" prefix="localhost_gecs_log." suffix=".txt"&gt;&lt;/LOGGER&gt;          timestamp="true"/&amp;gt;                                                     &lt;BR /&gt;&lt;BR /&gt;Keep ur jsps in crms_santosh&lt;BR /&gt;&lt;BR /&gt;Kap</description>
      <pubDate>Wed, 31 Mar 2004 07:44:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/servlet-context/m-p/3235174#M890643</guid>
      <dc:creator>KapilRaj</dc:creator>
      <dc:date>2004-03-31T07:44:36Z</dc:date>
    </item>
    <item>
      <title>Re: servlet Context</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/servlet-context/m-p/3235175#M890644</link>
      <description>Actually the servlets r working if I place them in example context, i.e. in &lt;BR /&gt;&lt;BR /&gt;/opt/hpws/tomcat/webapps/examples/WEB-INF/classes&lt;BR /&gt;&lt;BR /&gt;directory. I just want to know why they r not working in crms context.&lt;BR /&gt;&lt;BR /&gt;-Santosh</description>
      <pubDate>Thu, 01 Apr 2004 04:16:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/servlet-context/m-p/3235175#M890644</guid>
      <dc:creator>SANTOSH S. MHASKAR</dc:creator>
      <dc:date>2004-04-01T04:16:56Z</dc:date>
    </item>
    <item>
      <title>Re: servlet Context</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/servlet-context/m-p/3235176#M890645</link>
      <description>Do you need some configuration in WEB-INF/web.xml ??&lt;BR /&gt;&lt;BR /&gt;Kaps</description>
      <pubDate>Thu, 01 Apr 2004 07:41:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/servlet-context/m-p/3235176#M890645</guid>
      <dc:creator>KapilRaj</dc:creator>
      <dc:date>2004-04-01T07:41:58Z</dc:date>
    </item>
  </channel>
</rss>

