Hi all,
I'm Antony and I have a problem with a .JSP page of my server.
In my server there are 2 users: "u1" and "u2"; there are 2 TomCat, version 5.5.9 and version 6.0.16. There is Apache WebServer version 2. The 2 TomCat servers have the same configuration files: server.xml and web.xml (in the dir /conf of the main server's root). They not work simultaneously.
When the user "root" launch the TomCat 5.5.9 all work fine: the server will show correctly the JSP pages of "u1" and the pages of "u2".
When the user "root" launch the TomCat 6.0.16 the JSP pages of "u1" work fine but the JSP pages of "u2" not work: it seems that there are problems with the path where the server want to search the pages of u2.
In the server.xml there is this code (for the handle of u2's site):
<Host name="u2site.com" appBase="/home/u2/public_html/">
<Alias>www.u2site.com</Alias>
<Context path="" reloadable="false" docBase="/home/u2/public_html/" debug="0"/>
<Context path="/manager" debug="0" privileged="true"
docBase="/usr/local/jakarta/tomcat/server/webapps/manager">
</Context>
</Host>
and this code (for the u1's site)
<Host name="u1site.com" appBase="/home/u1/public_html/">
<Context path="" reloadable="false" docBase="/home/u1/public_html" debug="1"/>
<Context path="/manager" debug="0" privileged="true"
docBase="/usr/local/jakarta/tomcat/server/webapps/manager">
</Context>
</Host>
The problems with the JSP pages of u2 are one of the following:
org.apache.jasper.JasperException: /login2.jsp(4,0) The value for the useBean class attribute com.u2.beans.access.Autenticator is invalid.
and this one that appear with the pages that have the inclusion of another JSP page
/u2page.jsp(3,0) File "/../support/_formatting.jsp" not found
I think that the TomCat know how to find the page that the browser request to Apache WebServer (and that the webserver request to Tomcat by the connector) 'cause for pages that haven't inclusion or call to method in packages all work fine...but the TomCat have problems to locate the pages included or the method located in a JAR (the jars are located in WEB-INF/lib/ of the u2's site).
How I can resolve this problem with TomCat 6.0.16? I repeat that with TomCat 5.5.9 all work fine...same configuration!
Any ideas?
Thank you very much,
Antony.