Actually I got it finally working.... When I put my app in the root folder... even if I set up the context for root my jndi names for my db where failling and returning an invalid pointer for my db connection..... I fixed the problem by creating a default context....

Noel J. Bergman wrote:

What would I have to do to setup a container on port 82 and have it
server my web app as default thanks...

If you want to service 8080 and 82, I believe that you do it along the lines
of:

<service name="videotron-service">

<Connector className="org.apache.coyote.tomcat4.CoyoteConnector"
port="82" minProcessors="5" maxProcessors="75"
enableLookups="true"
acceptCount="10" debug="0" connectionTimeout="20000"
useURIValidationHack="false" />

<Engine name="videotron-service" defaultHost="localhost" debug="0">

<Logger className="org.apache.catalina.logger.FileLogger"
prefix="catalina_log." suffix=".txt"
timestamp="true"/>

<Host name="localhost" debug="0" appBase="videotron-webapps"
unpackWARs="true" autoDeploy="true">

<Logger className="org.apache.catalina.logger.FileLogger"
directory="logs" prefix="localhost_log." suffix=".txt"
timestamp="true"/>

<!-- If you don't want to use the directory ROOT, modify and
uncomment this -->
<!--
<Context path=""
docBase="/videotron-root-webapp"
debug="0" reloadable="true" />
-->
</Host>
</Engine>
</service>

Then put your webapp in videotron-webapps/ROOT, where videotron-webapps is a
peer of webapps/, or adjust the Context accordingly. You could do other
things, such as setup a separate tomcat, but that is a story for another
day.

--- Noel


--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>





Reply via email to