Just how exactly do you run Tomcat with Jbuilder? Can you debug doing that?

> -----Original Message-----
> From: A mailing list for discussion about Sun Microsystem's Java Servlet
> API Technology. [mailto:[EMAIL PROTECTED]]On Behalf Of Amos
> Shapira
> Sent: Thursday, July 06, 2000 10:10 AM
> To: [EMAIL PROTECTED]
> Subject: relative path names for Tomcat docBase
>
>
> Hello,
>
> I'm trying to avoid using absolute path names in Tomcat 3.1's
> "server.xml" file.  I can cause it to run the JSP files fine, but
> will not find image files ONLY if the docBase is relative (it does
> find them if docBase is absolute).
>
> Here are the details:
>
> I run Tomcat standalone under JBuilder 3.5 (Windows 2000, JDK 1.2.2)
> With "-f" pointing to the full path name of server.xml.  Inside
> server.xml I have the following:
>
> <Context path="/providercenter" docBase="." debug="100"
> reloadable="true" />
>
> This works great with the JSP files, but when these JSP files
> generate HTML
> which causes the browser to try to fetch images files, the images aren't
> found and I get the following in tomcat.log:
>
> Context log: path="/providercenter" In error handler 404 null / R(
> /providercenter +  + /images/spacer.gif)
> Context log: path="/providercenter" Error: Calling servlet
> Wrapper(tomcat.errorPage S:org.apache.tomcat.servlets.DefaultErrorPage)
>
> Changing the docBase to the full path name of the directory which contains
> the .jsp files
> (and the images/ directory under it, e.g. "w:\amos\providercenter"), makes
> the problem go
> away (and no output in tomcat.log even though I tried to ask it for full
> debug output).
> This is the ONLY difference between the two cases.
>
> Any help would be greatly appreciated, as so far I couldn't figure out the
> problem
> from digging Tomcat's documents and source.
>
> Thanks,
>
> --Amos Shapira
> WebCollage
>
> __________________________________________________________________
> _________
> To unsubscribe, send email to [EMAIL PROTECTED] and include
> in the body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to