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

Go Back   LiteSpeed Support Forums > External Applications > Java JSP/Servlet > Litespeed stops working

Reply
 
Thread Tools Display Modes
  #1  
Old 06-12-2007, 01:59 PM
nicksnels nicksnels is offline
Member
 
Join Date: Feb 2007
Posts: 33
Default Litespeed stops working

I'm trying to get JWChat to work behind Litespeed. I have it deployed on a Tomcat server. JWChat is working when I access it on port 8080. I have also enabled port 8009 on Tomcat.

On Litespeed (I'm using 2.2.6) I have added an external application:
Name: Tomcat 5.5
Type: Servlet Engine
Address: localhost:8009
Max Connections: 100
Initial Request Timeout: 60
Retry Timeout: 10
Response Buffering: No

And I also added a script handler:
Suffixes: jsp
Handler Type: Servlet Engine
Handler Name: Tomcat 5.5

At this stage I can still gracefully restart Litespeed and it comes back up.

After that I created a new virtual host based on the centralConfigLog template. On the context menu I added a new context (and deleted the cgi-bin one):

Type: Java Web App
URI: /jwchat/
Servlet Engine: Tomcat 5.5

If I do a graceful restart, the server doesn't come back up again. I need to delete all entries in httpd_config.xml that point to this new virtual host, before Litespeed starts again. I can't find any errors in stderr.log. I have no more clues of what is going wrong. I'm hoping you can help me. Thanks.

Kind regards,

Nick
Reply With Quote
  #2  
Old 06-12-2007, 03:23 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
It is time to upgrade to 3.1.1 release.
Reply With Quote
  #3  
Old 06-13-2007, 01:51 PM
nicksnels nicksnels is offline
Member
 
Join Date: Feb 2007
Posts: 33
Thanks for the tip. I upgraded to 3.1.1, but the same thing happens as with the 2.2.6 version. And as an added bonus the new admin console is very slow. What am I doing wrong?
Reply With Quote
  #4  
Old 06-13-2007, 02:04 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
Please do "strace ./lshttpd -d", and send the output to bug ((a)) litespeedtech ((.)) com, if you do not want to post it here. Please check if there is core files produced in /tmp/lshttpd or lsws/bin directory.

The YUI used in the new admin console has a slow start.
Reply With Quote
  #5  
Old 06-14-2007, 12:16 AM
nicksnels nicksnels is offline
Member
 
Join Date: Feb 2007
Posts: 33
I have send a strace output to you guys. Hope it helps to clarify my problem. Thanks.
Reply With Quote
  #6  
Old 06-14-2007, 08:52 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
The strace ouptut shows that the LSWS started successfully. Was the vhost causing problem taken out from httpd_config.xml when you run the strace?
Please remove those core files under /tmp/lshttpd, then try to reproduce the problem, if a new core file is created, email the core, along with lsws/logs/error.log
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 09:16 AM.



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