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, 04:36:30 PM

Pages: [1]   Go Down
  Print  
Author Topic: 500 Servlet Exception  (Read 5330 times)
fates66
Intergalactic Cowboy
*****
Offline Offline

Posts: 57


« on: March 26, 2010, 08:29:11 PM »

I got the following 500 Servlet Exception error, anybody's helps would be appreciated. This problem was submitted March-23 to the LP support desk, and got the response as "The error you are facing appears to be due to the compiling of the code for different environment". the above problem is still be there and not solved Until now March-27. I purchased the hosting plan with JSP enabled and autocompiling feature included also. I never met the above problem since last 3 three years.

500 Servlet Exception
com.caucho.java.CompileClassNotFound: compiling XXXBean didn't produce
a .class
   at com.caucho.java.CompilingClassLoader.getClassEntry(CompilingClassLoader.java:245)
   at com.caucho.util.DynamicClassLoader.findClass(DynamicClassLoader.java:560)
   at com.caucho.util.DynamicClassLoader.loadClass(DynamicClassLoader.java:512)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
   at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
   at java.lang.Class.forName0(Native Method)
   at java.lang.Class.forName(Class.java:242)
   at com.caucho.util.CauchoSystem.loadClass(CauchoSystem.java:395)
   at com.caucho.jsp.JavaGenerator.loadBeanClass(JavaGenerator.java:2072)
   at com.caucho.jsp.JavaGenerator.getBeanClass(JavaGenerator.java:2047)
   at com.caucho.jsp.JavaGenerator.addBeanClass(JavaGenerator.java:2006)
   at com.caucho.jsp.JavaGenerator.generateUseBean(JavaGenerator.java:1454)
   at com.caucho.jsp.JavaGenerator.generateTag(JavaGenerator.java:804)
   at com.caucho.jsp.JspGenerator.generateChildren(JspGenerator.java:886)
   at com.caucho.jsp.JspGenerator.generate(JspGenerator.java:315)
   at com.caucho.jsp.JspParser.parse(JspParser.java:329)
   at com.caucho.jsp.JspParser.parse(JspParser.java:234)
   at com.caucho.jsp.JspManager.createPage(JspManager.java:172)
   at com.caucho.jsp.PageManager.getPage(PageManager.java:351)
   at com.caucho.jsp.PageManager.getPage(PageManager.java:206)
   at com.caucho.jsp.QServlet.getPage(QServlet.java:220)
   at com.caucho.server.http.FilterChainPage.doFilter(FilterChainPage.java:129)
   at com.caucho.server.http.Invocation.service(Invocation.java:315)
   at com.caucho.server.http.CacheInvocation.service(CacheInvocation.java:135)
   at com.caucho.server.http.RunnerRequest.handleRequest(RunnerRequest.java:346)
   at com.caucho.server.http.RunnerRequest.handleConnection(RunnerRequest.java:274)
   at com.caucho.server.TcpConnection.run(TcpConnection.java:139)
   at java.lang.Thread.run(Thread.java:595)


--------------------------------------------------------------------------------
Resin 2.1.13 (built Thu Apr 1 10:57:42 PST 2004)
« Last Edit: March 26, 2010, 08:33:59 PM by fates66 » Logged
SkillAdvance
Spaceship Navigator
*****
Offline Offline

Posts: 82


WWW
« Reply #1 on: March 28, 2010, 06:58:04 AM »

As per my own post, I'm having similar issues with my JSP site - pages from 2005 are working fine, but new and modified pages wont compile (with pretty much the same error message you have reported).

Which LunarPages server are you on?
Logged

JR
_______________________________________________________

SkillAdvance LLC
 Web:     http://www.skilladvance.com
_______________________________________________________
fates66
Intergalactic Cowboy
*****
Offline Offline

Posts: 57


« Reply #2 on: March 28, 2010, 08:48:45 AM »

It's on Dewi server now. It's with autocompiling feature whenever JSP or Servelet files updated before. And I got the answers from LP's system Administrator Team as "The error you are facing appears to be due to the compiling of the code for different environment." Why is it?
Logged
SkillAdvance
Spaceship Navigator
*****
Offline Offline

Posts: 82


WWW
« Reply #3 on: March 28, 2010, 11:23:49 AM »

Hmmm, that answer doesn't quite make sense. 

Has your code compiled and run successfully on a local server i.e. not on the LP Dewi server?

If so, which app server tool did you use?

If not, can you try compiling and running the code locally?

My own site is hosted on Rigel - pages that were running successfully in 2005 now won't run on a recompile - I get an Error 500 like you, but I'm fairly sure that the issue is different to your.
Logged

JR
_______________________________________________________

SkillAdvance LLC
 Web:     http://www.skilladvance.com
_______________________________________________________
SkillAdvance
Spaceship Navigator
*****
Offline Offline

Posts: 82


WWW
« Reply #4 on: March 28, 2010, 04:30:20 PM »

It appears that the Rigel server has a very old installation of Resin - I've asked to move to a different and more up-to-date server.
Logged

JR
_______________________________________________________

SkillAdvance LLC
 Web:     http://www.skilladvance.com
_______________________________________________________
fates66
Intergalactic Cowboy
*****
Offline Offline

Posts: 57


« Reply #5 on: March 28, 2010, 07:52:44 PM »

One question I can't understand why it run well on the Dewi server before. How to get the Resin version information?
Logged
SkillAdvance
Spaceship Navigator
*****
Offline Offline

Posts: 82


WWW
« Reply #6 on: March 29, 2010, 04:23:41 AM »

You either need to ask Support (since the cPanel server information doesn't include this detail) or run a JSP or servlet that prints the result of the method below:
Code:
getServletContext().getServerInfo()
HTH
Logged

JR
_______________________________________________________

SkillAdvance LLC
 Web:     http://www.skilladvance.com
_______________________________________________________
fates66
Intergalactic Cowboy
*****
Offline Offline

Posts: 57


« Reply #7 on: March 29, 2010, 06:34:28 AM »

They need my decision to move to new one or not. I never do my development locally. I use Notepad++ editor to edit my jsp and java files and upload directly to my hosting server, just that.
Logged
SkillAdvance
Spaceship Navigator
*****
Offline Offline

Posts: 82


WWW
« Reply #8 on: April 02, 2010, 03:00:31 PM »

I've moved also (from rigel to happy) and I'm not!  (Happy, that is).

I'm in pretty much the same position as previously - JSP's aren't running and I can't determine why.  More to follow when I hear back on my open support tickets.
Logged

JR
_______________________________________________________

SkillAdvance LLC
 Web:     http://www.skilladvance.com
_______________________________________________________
fates66
Intergalactic Cowboy
*****
Offline Offline

Posts: 57


« Reply #9 on: April 03, 2010, 07:57:09 AM »

I had the same state that Jsp couldn't run before. You could ask the LP support to recreate WEB-INF and webapps folders and their respective subfolders. ANd then it should be OK.
Logged
Pages: [1]   Go Up
  Print  
 
Jump to: