Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
I know this has been discussed but I searched and cannot find the problem that I am experiencing. Ok, I just want to serve .jsp pages and that's it. So my understanding is that I can use tomcat to hook to apache and the way to do that is to use mod_jk. I have:
I've read that you can start the service after unpacking. I ran it like so:
/usr/local/jakarta-tomcat-5.0.28-src/jakarta-tomcat-catalina/catalina/src/bin/startup.sh which shows:
Using CATALINA_BASE: /usr/local/jakarta-tomcat-5.0.28-src
Using CATALINA_HOME: /usr/local/jakarta-tomcat-5.0.28-src
Using CATALINA_TMPDIR: /usr/local/jakarta-tomcat-5.0.28-src/temp
Using JAVA_HOME: /usr/local/java
Looks good right? no...I check the logs and I see for catalina.out:
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/catalina/startup/Bootstrap
What does this mean? I've looked on google and haven't found an answer. My environments are:
It looks like you may have downloaded the source code instead of the binary that you may want... you might try again using the tomcat binary instead of the source...
Yes, the binary version is a lot easier I must admit for tomcat. Tomcat works off the bat which is great but trying to get mod_jk to work....now that's a headache. I have downloaded the mod_jk.deb (forgot the actual filename...i can get that to you if you need) and installing it went well but when I try to serve .jsp pages from apache I see the jsp code which is not what I want. Hmm, is mod_jk that difficult to get it to work with apache?
Well, there's plenty of HOW-TOs out on the web for all sorts distros, versions of tomcat and apache...
I've posted a few times on this subject but you may be better off googling to find something specifically suited to your install...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.