This week's book giveaways are in the iOS and Features new in Java 8 forums. We're giving away four copies each of Barcodes with iOS: Bringing together the digital and physical worlds and Core Java for the Impatient and have the authors on-line! See this thread and this one for details.
In our client place, we installed tomcat 6.0 on linux OS and deployed our application in the path usr/share/tomcat-6.0.8/webapps. When we try to run the app like 'http://ipAddress:8080/appName' we got 404 resource not found error.
Can I know how to configure tomcat on linux and deploy web apps in it.
Did you configure a default page, or a servlet that listens to "/"? If you have neither, then accessing the web app root is expected to return a 404.
Joined: Mar 13, 2007
I used welcomepage as jsp file for the application. but it shows resource not found. I think that we need to set context path for the app like /applicationPath in tomcat server configuration. I want to set it on lnux OS.
Which Linux OS? There are an untold number of Linux distributions, with widely varying configurations.
Did you use your OS's package management system to install Tomcat, or did you just download Tomcat and extract it?
Ramesh kangamuthu wrote:
Can I know how to configure tomcat on linux and deploy web apps in it. . .
. . .I used welcomepage as jsp file for the application. but it shows resource not found. I
Just so we're all on the same page, have you actually deployed your application? It should be as simple as copying your application's WAR file to the TOMCAT_ROOT/webapps directory. Where that directory is can vary depending on how you installed Tomcat.
Pankaj, the purpose of the forum is so that people can share solutions with each other. If someone emails you a solution, then others don't benefit from it, thus reducing the effectiveness of the forum.
Also, you might bet better results if you ask this as a new post in the servlets and jsps forum. And TellTheDetails.