Welcome to MobyThreads.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

Tomcat Servlet deployment problem

 
   Web Hosting and Web Master Forums (Home) -> Apache RSS
Next:  Reverse Proxy Performance  
Author Message
stealyourface

External


Since: Jul 11, 2003
Posts: 1



(Msg. 1) Posted: Fri Jul 11, 2003 8:45 am
Post subject: Tomcat Servlet deployment problem
Archived from groups: alt>apache>configuration (more info?)

Hello,
I am not too familar with Apache, so I am going to try to describe my
problem as clear as possible, but I may leave out something critical
due to my lack of experience with Apache. If I do please let me know.

I have a servlet that we coded and tested using JRun 3. We didn't
have any issue with it in our testing environment, and it worked as
planned. When we used the same servlet in a Tomcat 4 environment, on
a Windows 2000 server, we cannot get the server to start.

We put the file in a sub-directory of the web-inf folder, and with the
new file, the web server will not start. There are other servlets
within this subdirectory that the server starts and runs normally.
When we added this new servlet, we had the problem of the server not
being able to start.

Is there a specific configuration that you have to set when adding a
servlet? We added the servlet and mapping entries to the web.xml
file, but that is the only configuration that we did. Also any
suggestions on how to go about diagnosing where the Tomcat server is
failing during startup would be helpful as well. I really don't know
where to begin with diagnosing the server startup problem.

Thanks

 >> Stay informed about: Tomcat Servlet deployment problem 
Back to top
Login to vote
gmh2441

External


Since: Jul 10, 2003
Posts: 6



(Msg. 2) Posted: Fri Jul 11, 2003 11:43 am
Post subject: Re: Tomcat Servlet deployment problem [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Greg wrote:

 > Is there a specific configuration that you have to set when adding a
 > servlet? We added the servlet and mapping entries to the web.xml
 > file, but that is the only configuration that we did. Also any
 > suggestions on how to go about diagnosing where the Tomcat server is
 > failing during startup would be helpful as well. I really don't know
 > where to begin with diagnosing the server startup problem.

Sounds to me like you need to use the invoker servlet, which was
disabled for security reasons starting with 4.1.12 (I *think*). See
<a style='text-decoration: underline;' href="http://tomcatfaq.sourceforge.net" target="_blank">http://tomcatfaq.sourceforge.net</a> for more info.

--
Lynn Hollerman.<!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: Tomcat Servlet deployment problem 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Connection between Apache2 + Tomcat 4.1 - I've read and search the google but have no luck. I got Apache 2, Tomcat 4.1, and Cocoon running on my Windows XP. Now, how do I connect the Apache with Tomcat? It seems there are a few solutions, namely mod_jk2 and mod_webapp. Question: 1. Which one....

Apache+Tomcat+Cocoon - Anyone ever get those 3 latest-stable release ever work? I got Apache+Tomcat works fine. But I can't get Cocoon to work. All I got when I did http://localhost:8080/cocoon is a directory listing. Helps are greatly appreciated. PS: Its too confusing to....

tomcat apache integration documentation - Hi, well I couldn't get it to work, the jsp pages were showing up as text on the webpage, so anyway I'm starting from scratch on a test box. I want to make sure I'm using the right documentation from the start though. I was had been using..

apache + tomcat + mod_jk to load jsp pages through apache - I'm continuing to try to get apache, tomcat, and the connector to work so apache passes jsp page requests to tomcat. It still is not functional, but still haven't found the culprit of why this isn't working. My configuration including perhaps tail-tell..

apache not passing jsp requests to tomcat (config looks ok) - Looks like everything is configured correctly, _but_ when i navgate to execute a jsp page within the JkMount path (httpd.conf), the apache webserver displays it as html/plain text, so it looks like apache is not handing off to mod_jk and the tomcat..
   Web Hosting and Web Master Forums (Home) -> Apache All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]