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

Go Back   LiteSpeed Support Forums > External Applications > Java JSP/Servlet > LSWS 1.2 ServletEngine Setup Failure

Reply
 
Thread Tools Display Modes
  #1  
Old 12-02-2003, 09:31 PM
dnebing dnebing is offline
New Member
 
Join Date: Dec 2003
Posts: 5
Default LSWS 1.2 ServletEngine Setup Failure

I'm trying to set up 1.2 to work against Tomcat 5. While 1.1 didn't have a problem, 1.2 fails during the definition of the servlet engine because the autostart radio isn't set (even though I can't set it once the servlet engine type is chosen). I'm thinking this must be a bug; if it's an ABKB error on my end, I'd be more than happy to admit my mistake if someone can help resolve this...
Reply With Quote
  #2  
Old 12-03-2003, 10:49 AM
Lauren Lauren is offline
LiteSpeed Staff
 
Join Date: Jul 2003
Location: New Jersey, USA
Posts: 99
Thanks for trying the new version and pointing out this. This a bug, we'll fix it and put in a bug fix release 1.2.1 soon. Autostart should be blocked for servlet engine, since tomcat needs to be brought up separately. But this should not prevent you from configuring it.
How do you use our server? in production, development or test? How's your experience with R1.1 on JSP/Serlvet? Any suggestions?

Thanks,
Lauren
Reply With Quote
  #3  
Old 12-03-2003, 07:10 PM
dnebing dnebing is offline
New Member
 
Join Date: Dec 2003
Posts: 5
Default LS@Home ;-)

How do I use LS? Well, it's a combination of all three (eventually). I've got a home grown linux distro sitting behind a firewalled DSL connection. It serves my own domain, www.joat.com, for things that I want to share, and I use it as a test/development box at home for stuff for myself and for work.

In general 1.1 worked well with tomcat, although there seemed to be a problem with non-jsp extensions that are a pain to work around.

As an example, use LS with a generic Tomcat install (with the jsp examples) and try following the links to the source for the JSP pages (it has a .txt extension); for some reason the text was not being returned, it was processed as a regular jsp page...
Reply With Quote
  #4  
Old 12-04-2003, 10:36 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,585
Default Can't reproduce the extension problem

I just tried it on 1.2.1 with a fresh Tomcat install, the source code is displayed properly.
1.1 should be the same and I could not think of any thing would cause that.
If you still experience that problem with the upcoming 1.2.1, can you please send us a test link to that page?

Thanks.
Reply With Quote
  #5  
Old 12-04-2003, 01:21 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,585
Default try 1.2.1

Please download and try V1.2.1, let us know the result.

Thanks!
Reply With Quote
  #6  
Old 12-04-2003, 08:51 PM
dnebing dnebing is offline
New Member
 
Join Date: Dec 2003
Posts: 5
Default 1.2.1 Did The Trick...

Thanks alot guys! The 1.2.1 version fixed the trick. In testing the config, however, I noticed the following...

When trying the Number Guess Example http://www.joat.com/jsp-examples/num/numguess.jsp, the initial page shows, but submission of the page fails with a 404 error from tomcat; however, I don't get it if I connect directly to tomcat via port 8080 (this port is protected via firewall so you won't be able to connect directly yourselves). Although the 404 error is returned, there's nothing in my localhost or catalina log files to indicate tomcat is truly encountering an error.

Any guesses?
Reply With Quote
  #7  
Old 12-05-2003, 09:03 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,585
Default oops!

It is a bug in the AJPv13 interface introduced in 1.2, sending the whole URL including query string, but only URI without query string is expected by tomcat.
The fix will be in 1.2.2. it will be released soon.
Reply With Quote
  #8  
Old 12-05-2003, 06:06 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,585
Default 1.2.2

Please try 1.2.2.
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
LSWS 3.0RC2 and trac-fcgi Erg CGI/Perl/Python 13 02-06-2009 12:16 PM
capistrano script to start lsws djsodom Install/Configuration 3 01-11-2007 05:52 PM
Not to stop FCGI apps while reloading LSWS Roman2K Feedback/Feature Requests 4 10-12-2005 01:21 PM
LSWS killed my pet squirrel!!! DNSFusion Bug Reports 1 07-24-2004 08:01 PM
Testimonial : LSWS as web app frontend instead of Apache bogus Feedback/Feature Requests 1 03-26-2004 10:32 AM


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



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