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

Go Back   LiteSpeed Support Forums > External Applications > Java JSP/Servlet > Tomcat 6/Spring/Struts with AJP

Reply
 
Thread Tools Display Modes
  #11  
Old 12-28-2009, 01:57 AM
amazert amazert is offline
New Member
 
Join Date: Dec 2009
Posts: 7
Any update on this issue.
__________________
------

Looking for help
Reply With Quote
  #12  
Old 12-28-2009, 12:09 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
I think you did not configure it properly for the regular expression. can you post a screen shot of that page?

Another solution is to use proxy context, instead of servlet context. But, you still need to get the regular expression right.
Reply With Quote
  #13  
Old 12-28-2009, 07:57 PM
Elik Elik is offline
Member
 
Join Date: Nov 2009
Posts: 24
Default Screenshots

Hello,

Here it is as requested for this.
Attached Images
File Type: jpg Context-Screenshot.jpg (10.4 KB, 8 views)
File Type: jpg Context-Detailed-Screenshot.jpg (16.0 KB, 5 views)
Reply With Quote
  #14  
Old 12-28-2009, 08:20 PM
amazert amazert is offline
New Member
 
Join Date: Dec 2009
Posts: 7
Quote:
Originally Posted by Elik View Post
Hello,

Here it is as requested for this.
Images are quite poor in resolution. difficult to see anything.
__________________
------

Looking for help
Reply With Quote
  #15  
Old 12-28-2009, 09:00 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
Are you using exactly
Quote:
exp: \.do$
for the URI configuration? I cannot tell from the image.
Reply With Quote
  #16  
Old 12-28-2009, 09:32 PM
amazert amazert is offline
New Member
 
Join Date: Dec 2009
Posts: 7
Quote:
Originally Posted by mistwang View Post
Are you using exactly

for the URI configuration? I cannot tell from the image.
@Mistwang, just want to ask one thing.

Suppose i do the URI configuration correct as you advised. Then will litespeed server pass control to tomcat whenever anybody requests for *.do files even when *.do file does not exist on server.

I ask this because i tested the server after above configuration and it passes the control to tomcat if the requested *.do file really exists on the server but it does not pass control to tomcat if *.do file does not exist on server.

I think litespeed only passes control to tomcat if the file exists. I need a setting where litespeed can pass control to tomcat even when the file does not exist.

I hope you understand what i mean.
__________________
------

Looking for help
Reply With Quote
  #17  
Old 12-28-2009, 09:53 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
It should does what you want. Make sure browser does not cache the result.
Make sure that you do NOT add a script handler for ".do", it requires the existence of the script file.
Reply With Quote
  #18  
Old 12-28-2009, 10:59 PM
Elik Elik is offline
Member
 
Join Date: Nov 2009
Posts: 24
Default Expression - Struts

Hello,

Here is the links to the files, so you can see it in full size. I can assure you that it does not work, since it acts on the basis that the file exist when it does not, since it is generated map url by Tomcat, and Litespeed acts like it is 404 due to non-existant file.

Here is the two links:



Reply With Quote
  #19  
Old 12-29-2009, 11:06 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
It works properly, I can do that in our lab without any problem.
It must be something else, maybe rewrite rule or other configuration causes this.

Maybe you should remove that vhost and configure it again from scratch.
You can try proxy instead of AJP as well.
Reply With Quote
  #20  
Old 12-30-2009, 11:13 PM
amazert amazert is offline
New Member
 
Join Date: Dec 2009
Posts: 7
Can you tell me how to use proxy (a step by step instruction willl be good) so that i can give a try to that also.
__________________
------

Looking for help
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 10:58 PM.



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