Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
hi i sucessfully installed tomcat 5.5.28 , i get the default browser page also i am able to execute the Servlet Examples but when i try to execute the jsp examples i get the following error
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
hi paulsm4 suggested me to install JDK with jre how do i install it
when i install jdk the path is /usr/java/jdk1.6.0_20
and the path for jre is /usr/java/jre1.6.0_20
so how do i do this what will be the envireoment variable in this case
still the same no change the Servlet Examples execute but not the jsp examples. also if i write my own jsp code for test it executes but not my main application which is also in java
th output of the command below
find / -name "servlet*jar" -print 2>/dev/null
/usr/share/java/servletapi5.jar
/usr/share/java/servlet.jar
/usr/local/tomcat/server/lib/servlets-webdav.jar
/usr/local/tomcat/server/lib/servlets-default.jar
/usr/local/tomcat/server/lib/servlets-invoker.jar
/usr/local/tomcat/server/lib/servlets-cgi.renametojar
/usr/local/tomcat/server/lib/servlets-ssi.renametojar
/usr/local/tomcat/common/lib/servlet-api.jar
/usr/local/tomcat/common/lib/servlet.jar
/usr/local/tomcat/webapps/customerrelations/WEB-INF/lib/servlet.jar
/usr/local/tomcat/webapps/bss/WEB-INF/lib/servlet.jar
/var/lib/hsqldb/lib/servlet.jar
how do i know which are old
Last edited by fernfrancis; 04-26-2010 at 01:16 AM.
1. You can figure out which files are which using "ls -l". Files in the same package will likely have the same dates; older files are from older libraries.
2. Q: did you look for GJC (a suggestion in my first post)?
Q: If you found it, did you uninstall it?
3. MOST IMPORTANT:
It sounds like some jsp's and/or servlets are working, and some aren't.
Q: Could you please be as specific as possible about what's working vs what's not? Post code, if at all possible.
Thank you in advance .. PSM
PS:
Please specify, too:
* Your distro and version
* Whether you got your Tomcat 5.5.28 from your distro's package manager, or whether you built it yourself
PPS:
It couldn't hurt to check your Tomcat log, if you haven't already. Here's an example from mine:
Quote:
cd /var/log/tomcat5
less catalina.out =>
Using CATALINA_BASE: /usr/share/tomcat5
Using CATALINA_HOME: /usr/share/tomcat5
Using CATALINA_TMPDIR: /usr/share/tomcat5/temp
Using JRE_HOME:
...
INFO: Find registry server-registry.xml at classpath resource
25-Apr-10 3:06:31 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 15167 ms
thanx a lot problem solved
it swas sumethign to do with my custom code if i remove it out from the webapps folder tomcat seems to be working fine will all inbuild exampples working
there was a bug in my application which was looping around causing the problem
thanx a lot
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.