Web Hosting Forum | Lunarpages


*
Welcome, Guest. Please login or register.
Did you miss your activation email?



Login with username, password and session length
May 23, 2012, 10:45:58 PM

Pages: [1]   Go Down
  Print  
Author Topic: url to Java Servlet not working since Nov 3rd LP server upgrade  (Read 2645 times)
sries
Newbie
*
Offline Offline

Posts: 2


« on: November 07, 2007, 08:52:34 AM »

My Java Servlet app had been working just fine for months, until the LP server upgrade on Nov 3, 2007.  Now, all my static html pages still work fine, but the links that should run my Java servlets get a "page not found" error.  Does anyone have any idea what could be the problem.  I have been working with LP support for 4 days now and they have not been able to fix it.  They put a "test" JSP file in my "public html" directory, and it works -- Resin translates the JSP to a Java class file in the "work" directory in the WEB-INF directory.  Any help is appreciated. Thanks

LP support finally fixed THEIR problem -- a Resin config item needed to be added.
« Last Edit: November 29, 2007, 09:22:05 AM by sries » Logged
shyam541
Newbie
*
Offline Offline

Posts: 5


« Reply #1 on: December 28, 2007, 09:07:20 PM »

Can you tell me what solved your problem. I have signed with LP recently but I couldn't get my site up because of similar problem. I uploaded a war file but was not able to access the servlets that are part of war file. The jsps work fine, but when I try to access Servlets I get page not found error. I have been working with LP support guys without any result.
Logged
BigBear101
Space Explorer
***
Offline Offline

Posts: 6


« Reply #2 on: April 05, 2008, 04:04:16 AM »

recently in Jan-Feb? I uploaded a website, and now in April (when I've had time to work on it again) the relative urls to servlets and not a single url to the servlet worked as well.  works fine on my developmental servlet.  anyone else have this problem?

Mozilla says servlet cannot be found.
IE says "Page Not Found" error.

Logged
sries
Newbie
*
Offline Offline

Posts: 2


« Reply #3 on: April 22, 2008, 10:01:23 AM »

Sorry, shyam541 and BigBear101 for not posting a response to your questions sooner -- since my problem was fixed, I rarely login to this site.
Better late than never...!!
It was very difficult getting a straight answer from LP support, but here is the explanation they sent me:

"Hello,

This issue has been fixed by adding another record on resin configuration file, that has for your host www in front of the domain. So right now in the configuration file there are two records for your domain: one that has host like domain.com and another one that has as host www.domain.com"

Hope you guys got better support than I did. 
Good luck.

Logged
Pages: [1]   Go Up
  Print  
 
Jump to: