Andrea,

The following comment was in my system.xml file:

           You can add a "home" attribute to represent the "base" for
         all relative paths. If none is set, the TOMCAT_HOME property
         will be used, and if not set "." will be used.
         webapps/, work/ and logs/ will be relative to this ( unless
         set explicitely to absolute paths ).

Sounds like it could be a simple typo and its therefore appending to your
entry. Check to make sure that you have the "/" before home.
i.e.  docBase="/home/user/domain/htdocs" and not
docBase="home/user/domain/htdocs"

Regards,
Debbie

-----Original Message-----
From: Andrea Bertone [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 24, 2001 5:55 PM
To: [EMAIL PROTECTED]
Subject: RE: server.xml help (i think)


I tried this and it is now looking for the jsp pages at
/opt/tomcat/home/user/domain/htdocs/file.jsp

I have been playing with it and reading like a mad woman and can't figure it
out. Please help.

Andrea

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Ben Blakely
Sent: Wednesday, January 24, 2001 11:19 AM
To: [EMAIL PROTECTED]
Subject: Re: server.xml help (i think)



In your server.xml file there should be a line something like this:

<Context path="" docBase="webapps/ROOT" />

Change the "webapps/ROOT" to "/home/user/domain/htdocs" and restart
tomcat. This sets the root context for Tomcat to your web server's
document root. Hope this helps,

--brb


> Andrea Bertone wrote:
>
> Hi Tomcat Users!
>
> I am desperate need of assistance. I have been diligently attempting
> to get Tomcat working for 2 months (which should be a clue I'm just
> not cut out for this) but I keep trucking along. In addition to being
> new to Tomcat, I am also new to Apache and Linux and JSP... I
> currently am running rh Linux with Apache Web Server and Tomcat with
> Jserv for jsp pages. Tomcat is functioning. My problem is that in
> order to get my jsp pages to function they need to be in the
> tomcat/webapps/root folder. How can I change it so they can run in
> home/user/domain/htdocs? I suspect it is the server.xml file. Am I
> right? and if so what and how do I change it?
>
> I appreciate your help immensely.
>
> Thank you,
> Andrea
>
>
> Search Engine Optimization
> Bertone Advertising, Inc.
>
> ph. 562.404.7300
> fax 562.623.0027
> www.bertoneadvertising.com
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to