LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > External Applications > Java JSP/Servlet > Litespeed + Tomcat 5.5 howto?

Reply
 
Thread Tools Display Modes
  #1  
Old 11-30-2005, 11:24 AM
pcguru pcguru is offline
Member
 
Join Date: Nov 2005
Posts: 17
Default Litespeed + Tomcat 5.5 howto?

I've been evaluating Litespeed for possible deployment on our site and so far I've been impressed in every aspect. We will most likely purchase a permanent enterprise license in the coming week.

Right now I'm about to start testing the JSP processing backend. I have not been able to make it work though unfortunately. My knowledge of Tomcat is limited. :roll:

Tomcat responds on host:8080 and the tomcat hello test jsp pages have been deployed and are available at host:8080/servlets/

Litspeed config:
On server level I have configured an External App called Tomcat 5.5.
Adress: localhost:8009
Also I've added a scripthandler for .jsp that uses the External App.

On a certain virtual host I have defined a Java Web App context:
URI: /servlets/
Servlet Engine: Tomcat 5.5 (server level)
index files: index.jsp

http://host/servlets/ just responds "500 Internal Server Error".
Litespeed log says "Premature end of response header" as well as "[localhost:8009] Connection refused, restart!"

Any ideas?
Reply With Quote
  #2  
Old 11-30-2005, 11:41 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,583
Thank you for your praise.

Your configuration looks fine to me.
You need to make sure that the AJP connector on port 8009 is enabled.
Try "telnet localhost 8009".
Configuration for AJP connector is in tomcat/conf/server.xml

If the the AJP connector does not work very well, you can just use LSWS's proxy interface to talk to tomcat on port 8080, you need to manully configure all servlet contexts if proxy is used.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Setup for Rails via Litespeed Ruby LSAPI Justin Ruby/Rails 2 12-08-2007 07:19 PM
Trying to use litespeed load balancer for balancing lsapi technix Ruby/Rails 3 07-06-2007 08:28 PM
Litespeed stops working nicksnels Java JSP/Servlet 11 06-15-2007 08:13 AM
Problem running Gallery under LiteSpeed kchrist PHP 4 10-01-2006 02:53 PM
Best configuration for PHP LiteSpeed SAPI jeff Install/Configuration 6 10-19-2005 09:54 AM


All times are GMT -7. The time now is 12:41 PM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.