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:19 PM

Pages: [1]   Go Down
  Print  
Author Topic: Trying a simple Google Web Toolkit app, with no success  (Read 1482 times)
SkillAdvance
Spaceship Navigator
*****
Offline Offline

Posts: 82


WWW
« on: March 25, 2010, 02:06:29 PM »

Hi; I'm trying to evaluate Google Web Toolkit pretty much as an experiment.  I have the simplest possible demo, a Hello World level app, that runs happily in devmode on my Windows XP system, as well as with Tomcat 6 on the same system.

When I upload the same WAR file to <MyServer>/webapps, it gets expanded and the initial page is displayed (http://www.jeremyrussell.lunarpages.com/gwtest2).  Clicking the send button causes an Error 500, with Firefox/Firebug reporting the following message:

<title>500 Servlet Exception</title>
<h1>500 Servlet Exception</h1>
<code><pre>
javax.servlet.ServletException: Class `com.lunarpages.jeremyrussell.server.GreetingServiceImpl'
was not found in classpath.
Classes normally belong in /gwtest2/WEB-INF/classes.
   at com.caucho.server.http.Application.instantiateServlet(Application.java:3198)
   at com.caucho.server.http.Application.createServlet(Application.java:3104)
   at com.caucho.server.http.Application.loadServlet(Application.java:3065)
   at com.caucho.server.http.QServletConfig.loadServlet(QServletConfig.java:435)
   at com.caucho.server.http.Application.getFilterChainServlet(Application.java:2809)
   at com.caucho.server.http.Application.buildFilterChain(Application.java:2765)
   at com.caucho.server.http.Invocation.service(Invocation.java:313)
   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:534)
</pre></code>
<hr /><small>
Resin 2.1.13 (built Thu Apr  1 10:57:42 PST 2004)
</small>


Via the cPanel file manager, I have confirmed that "com.lunarpages.jeremyrussell.server.GreetingServiceImpl.class" is present in the /public_html/webapps/gwtest2/WEB-INF/classes directory.

Since this application works on the embedded Jetty server provided with GWT, and the identical WAR file works on Tomcat 6.x and on GlassFish v2.1 as bundled with Eclipse, I can only think this must be something caused by Resin.

And there, I come to a complete dead end.

Can anyone make a suggestion as to why this won't run at LunarPages (on Rigel, FYI)?

Thanks in advance ...
Logged

JR
_______________________________________________________

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

Posts: 82


WWW
« Reply #1 on: March 29, 2010, 04:28:49 AM »

It appears that the issue I reported originally may be due to trying to run on an incompatible (old) version of Resin with an old JDK.

Whilst I could download a JDK for version 1.4.2 - that reached the end of it's service life in October '08 - I'd rather use a later version of a JDK!

Hopefully, moving my account to a more current server will resolve this issue.
Logged

JR
_______________________________________________________

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

Posts: 82


WWW
« Reply #2 on: April 04, 2010, 10:42:04 AM »

Problem solved ... moved my site to a more up-to-date server, waited for DNS (re)propagation, fixed another small incidental account set-up issue at LP.

All's well that ends well.
Logged

JR
_______________________________________________________

SkillAdvance LLC
 Web:     http://www.skilladvance.com
_______________________________________________________
Pages: [1]   Go Up
  Print  
 
Jump to: