sharing apache DocumentRoot with tomcat webapp directory, serving .jsps via mod_jk

2004-12-07 Thread migar
Hi - I would like to set up my Apache2/Tomcat4.1 server so that my domain root the.domain.com will point directly to a Tomcat non-default webapp which contains static HTML pages, jsp, servlets etc. In this scenario, I have set up Apache with a VirtualHost whose DocumentRoot is the directory

Re: sharing apache DocumentRoot with tomcat webapp directory, serving .jsps via mod_jk

2004-12-07 Thread Mladen Turk
migar wrote: I would like to set up my Apache2/Tomcat4.1 server so that my domain root the.domain.com will point directly VirtualHost *:80 ServerName the.domain.com DocumentRoot C:/some/directory #Add the auto aliasing here JkAutoAlias C:/some/directory JkMount /*.jsp ajp13 /VirtualHost

Re: sharing apache DocumentRoot with tomcat webapp directory, serving .jsps via mod_jk

2004-12-07 Thread migar
Keep getting error message when restarting Apache after adding the JkAutoAlias directive. I don't know if it's a syntactical thing or if I need to explicitly give apache access to this directory somewhere? Is there a syntactical modification necessary if the server is running Windows? Or can I

Re: sharing apache DocumentRoot with tomcat webapp directory, serving .jsps via mod_jk

2004-12-07 Thread Mladen Turk
migar wrote: Keep getting error message when restarting Apache after adding the JkAutoAlias directive. I don't know if it's a syntactical thing or if I need to explicitly give apache access to this directory somewhere? Is there a syntactical modification necessary if the server is running

Re: sharing apache DocumentRoot with tomcat webapp directory, serving .jsps via mod_jk

2004-12-07 Thread migar
Well, I must have been using an older mod_jk version perhaps before this was supported, I guess although I am still unclear about whether the JkAutoAlias should go to Tomcat's webapps directory (where I have my webapp's context XML definition file located) or if I should just point it to the

Re: sharing apache DocumentRoot with tomcat webapp directory, serving .jsps via mod_jk

2004-12-07 Thread migar
JkAutoAlias does not seem to produce the results that I was looking for. I need some way to pass information to Tomcat as part of the JkMount /*.jsp ajp13 about the particular webapp which this VirtualHost is serving. The alias doesn't appear to give Tomcat any info about the Context path of

Not serving JSPs

2004-08-26 Thread Daron
Hi, I set up Tomcat a few months ago and have just been able to start looking at it again. It is serving up my html documents but with jsps it complains. The error page includes: Unable to find a javac compiler; com.sun.tools.javac.Main is not on the classpath. Perhaps JAVA_HOME does not point

Re: Not serving JSPs

2004-08-26 Thread Nikita
Daron wrote: Hi, I set up Tomcat a few months ago and have just been able to start looking at it again. It is serving up my html documents but with jsps it complains. The error page includes: Unable to find a javac compiler; com.sun.tools.javac.Main is not on the classpath. Perhaps JAVA_HOME does

RE: Not serving JSPs

2004-08-26 Thread Daron
August 2004 5:57 PM To: Tomcat Users List Subject: Re: Not serving JSPs Daron wrote: Hi, I set up Tomcat a few months ago and have just been able to start looking at it again. It is serving up my html documents but with jsps it complains. The error page includes: Unable to find a javac

Re: Not serving JSPs

2004-08-26 Thread Nikita
: Nikita [mailto:[EMAIL PROTECTED] Sent: Thursday, 26 August 2004 5:57 PM To: Tomcat Users List Subject: Re: Not serving JSPs Daron wrote: Hi, I set up Tomcat a few months ago and have just been able to start looking at it again. It is serving up my html documents but with jsps it complains

RE: Not serving JSPs

2004-08-26 Thread Daron
thanx -Original Message- From: Nikita [mailto:[EMAIL PROTECTED] Sent: Thursday, 26 August 2004 6:19 PM To: Tomcat Users List Subject: Re: Not serving JSPs Daron wrote: Thanks for responding Nikita, yes I am using XP. My JAVA_HOME is set correctly. This has brought up an issue though

Not serving JSPs

2004-08-26 Thread Nelson, Jerry W, Contractor 146CF, SCB
Daron had a similar problem, my situation is the same, but everything is setup correctly. I'm using SDK1.4.02_04, I have the CLASSPATH pointing to this directory. Java programs run just fine on my computer, but Tomcat will not run a JSP. What could be wrong Jerry

not serving jsps without query string

2003-04-03 Thread Warren Sweetman
runing tomcat 4.1.18 isapi_redirector2.dll IIS 5.x (IP address is only visible locally) when at the server the following will serve the JSP http://127.0.0.1/index.jsp http://localhost/index.jsp this url works from any location (internally) http://10.20.2.190/index.jsp? but when

Re: not serving jsps without query string

2003-04-03 Thread Reinhard Moosauer
Hi, looks like a cache problem. Try delete temp internet files and insert resonse.setHeader(expires,0); in all your JSPs Also check setting of IE for caching (should be automatic) regards Reinhard Am Donnerstag, 3. April 2003 15:09 schrieb Warren Sweetman: runing tomcat 4.1.18