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

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Install/Configuration > 500 Internal Server Error while accessing JSP files

Reply
 
Thread Tools Display Modes
  #1  
Old 09-28-2010, 05:45 AM
parames parames is offline
New Member
 
Join Date: Sep 2010
Posts: 6
Default 500 Internal Server Error while accessing JSP files

Hi,

I configured litespeed to use tomcat connector for my web application. I am able to access .html files but when it comes to .jsp files i am getting 500 Internal Server Error. Below is my configuration.

External APP

Servlet Engine Definition
Name TomcatAJP
Address localhost:9009
Max Connections 500
Initial Request Timeout (secs) 60
Retry Timeout (secs) 60

WebApp Context Definition

URI /myapp/
Location /usr/local/tomcat/webapps/myapp/
Servlet Engine TomcatAJP

OS : Ubuntu 8.10
Litespeed : 4.0.16
Tomcat : 6.0.18

I added the script handler aswell but no luck
Servlet Engine : TomcatAJP
Suffix : jsp

Can someone help me out.

Thanks
Parames
Reply With Quote
  #2  
Old 09-28-2010, 05:58 PM
NiteWave NiteWave is offline
LiteSpeed Staff
 
Join Date: Sep 2009
Posts: 2,218
Quote:
Address localhost:9009
usually tomcat listen to 8009, please confirm no typo here.

Quote:
I added the script handler aswell but no luck
Servlet Engine : TomcatAJP
Suffix : jsp
may not need.
Reply With Quote
  #3  
Old 09-28-2010, 09:13 PM
parames parames is offline
New Member
 
Join Date: Sep 2010
Posts: 6
Yeah usually tomcat connector looks into port 8009. But as per our needs i changed the port to 9009.
Reply With Quote
  #4  
Old 09-28-2010, 09:20 PM
NiteWave NiteWave is offline
LiteSpeed Staff
 
Join Date: Sep 2009
Posts: 2,218
you can compare your setting with our demo site:
http://www.litespeedtech.com/litespeed-live-demos.html
there is a same TomcatAJP setting there, and that's working.
Reply With Quote
  #5  
Old 09-28-2010, 09:58 PM
parames parames is offline
New Member
 
Join Date: Sep 2010
Posts: 6
Yeah i had a look into this aswell. let me start a new tomcat with 8009 connector and try again.
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


All times are GMT -7. The time now is 12:34 AM.



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