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

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Install/Configuration > proxy to web server - initial load slow.

Reply
 
Thread Tools Display Modes
  #1  
Old 12-25-2009, 08:57 PM
Shelby Shelby is offline
Member
 
Join Date: Aug 2006
Location: Dallas, TX
Posts: 22
Default proxy to web server - initial load slow.

I am setting up a litespeed server to serve as a reverse proxy to a jboss server.

The jboss server is listening on port 8080. When I go to jboss directly by hitting port 8080, the login page for my gwt app loads in approximately one second. But, when I go through the litespeed proxy, it takes about 30 seconds to load the same page!

This is very confusing to me. What is also curious is that, when running under the litespeed proxy, after that initial load, the other pages of the app run quite quickly. So, it is just the initial app load that is the problem and this initial load is NOT a problem when accessing jboss directly.

Here's my settings...
1) I set up a web server external app at the server level. It points to 127.0.0.1:8080 -- max connections = 20 -- connection keepalive = -1 -- initial request timeout = 60; retry timeout = 0

2) In my virtual host I setup a context that references the web server initial app. the URI is /AppName I have nothing else set on the configuration page for that context. By the way, I have tried /AppName/ as well with no difference.

I am at a loss. What could be causing this slow load?

Thanks for your help.
Reply With Quote
  #2  
Old 12-26-2009, 01:22 PM
Shelby Shelby is offline
Member
 
Join Date: Aug 2006
Location: Dallas, TX
Posts: 22
Well, I still don't know what was going wrong with the proxy, but I moved to using the ajp connector (servlet), using a context, and it works fine.
Reply With Quote
  #3  
Old 12-26-2009, 08:50 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
You can try our latest 4.0.12 if you have not, it might be fixed.
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 01:33 AM.



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