Sunday, May 23, 2010

Re: GWT RPC and GoDaddy

Hi,

I find "SingleSignOn" suspicious. GWT-Servlets gets in general only
AJAX-Calls.
This does not fit to the classical SSO approach to redirect to an
other URL for authentication.
Ajax-Calls have not assigned page as a gui, so any redirection will
fail to ask for credentials

So I think your problem has nothing to do with 1.6 but with SSO and
your authentication scheme.

Stefan Bachert
http://gwtworld.de

On 22 Mai, 18:44, Mike Apolis <michaelgb....@gmail.com> wrote:
> Hi,
>
> I've deployed the sample Stock Watcher app to my GoDaddy Hosting site,
> and I get the error below.  I've tried compiling the Project in
> Eclipse with JRE 1.5 because my Host is using jre 1.5.  I think the
> issue is the "gwt-servlet.jar" is not compatible with jre 1.5.  Can
> anyone confirm this.  The project runs fine on my local machine using
> JRE 1.6.  Unfortunately GoDaddy will not upgrade my shared hosting
> account jre to 1.6.
>
> GoDaddy Server Setup:
>
> Tomcat Version 5.0.27
> JRE 1.5_22
>
> Error:
>
> HTTP Status 500 -
>
> type Exception report
> message
> description The server encountered an internal error () that prevented
> it from fulfilling this request.
> exception
> javax.servlet.ServletException: Error allocating a servlet instance
>
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:
> 117)
>         org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:
> 535)
>
> org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:
> 417)
>         org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:
> 160)
>         org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:300)
>         org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:374)
>         org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:743)
>
> org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:
> 675)
>         org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:866)
>         org.apache.tomcat.util.threads.ThreadPool
> $ControlRunnable.run(ThreadPool.java:683)
>         java.lang.Thread.run(Thread.java:595)
>
> root cause
> java.lang.UnsupportedClassVersionError: Bad version number in .class
> file
>         java.lang.ClassLoader.defineClass1(Native Method)
>         java.lang.ClassLoader.defineClass(ClassLoader.java:621)
>         java.security.SecureClassLoader.defineClass(SecureClassLoader.java:
> 124)
>
> org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:
> 1634)
>
> org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:
> 860)
>
> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:
> 1307)
>
> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:
> 1189)
>         java.security.AccessController.doPrivileged(Native Method)
>
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:
> 117)
>         org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:
> 535)
>
> org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:
> 417)
>         org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:
> 160)
>         org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:300)
>         org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:374)
>         org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:743)
>
> org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:
> 675)
>         org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:866)
>         org.apache.tomcat.util.threads.ThreadPool
> $ControlRunnable.run(ThreadPool.java:683)
>         java.lang.Thread.run(Thread.java:595)
>
> note The full stack trace of the root cause is available in the Apache
> Tomcat/5.0.27 logs.
>
> Apache Tomcat/5.0.27
>
> --
> You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
> For more options, visit this group athttp://groups.google.com/group/google-web-toolkit?hl=en.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment