Hi All,
I have configured the tomcat 6.0.26 and it is working fine in Solaris.
Testing JSP and SERVLET program I ensured tomcat is configured properly (My guess).
Now I placed my Servlet and JSP code under /users/kalai/sample.
I have created a soft link to sample (/users/kalai/sample) under tomcat/webapps.
Sample has index.html which load the another file.
When I try to access my page like (https:\\<server ip>:8443\sample) . I am getting an error as given below.
HTTP Status 404 -
type Status report
message
description The requested resource () is not available.
Apache Tomcat/6.0.26
When I start the tomcat it was fail to access some jars from my location. But it started successfully.
--------------------------------
Catalina.out:
AM org.apache.catalina.loader.WebappLoader start
SEVERE: LifecycleException
java.io.IOException: Failed to access resource /WEB-INF/lib/One.jar
at org.apache.catalina.loader.WebappLoader.setRepositories(WebappLoader.java:1022)
at org.apache.catalina.loader.WebappLoader.start(WebappLoader.java:653)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4341)
------------------------------------
Also One.jar is softlink to another location. Because this jar is needed for running another application too.
To avoid duplicate I created a soft link to One.jar too.
But instead of creating a softlink under webapps, when I place my code under tomcat/webapps/sample and when I try to access through web page it was working fine. It was loading my sample page.
In apache tomcat 6.0.16 it was working fine when I create a soft link too.
I do remember I made the same configuration for both the version.
I am using JDK 1.6.
Please help me to solve this problem. I need to create a soft link and have to access my page.
Thanks,
Kalai