cannot be cast to javax.servlet.Servlet

2011-05-29 Thread Hedi Ben Said
Hi everybody,

when I deploy my ear file I got the following error
the GlobalServiceImpl is the service that extends RemoteServiceServlet

13:08:41,625 INFO  [org.apache.catalina.core.ContainerBase.[jboss.web].
[localhost].[/Manager]] Marking servlet globalServlet as unavailable
13:08:41,625 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].
[localhost].[/Manager].[globalServlet]] Allocate exception for servlet
globalServlet: java.
lang.ClassCastException:
com.tdiinc.manager.server.communication.GlobalServiceImpl cannot be
cast to javax.servlet.Servlet

it looks like there is an incompatibility between or something like
this

I'm using
gwt 2.2
gxt 2.2.3

java 1.6.025
jboss 6

thanks a lot for your help

-- 
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+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: cannot be cast to javax.servlet.Servlet

2011-05-29 Thread Hedi Ben Said
Think I found the problem, I removed the gwt-user.jar from my ear and
the exception disappeared

On May 29, 1:13 pm, Hedi Ben Said hedi.bens...@gmail.com wrote:
 Hi everybody,

 when I deploy my ear file I got the following error
 the GlobalServiceImpl is the service that extends RemoteServiceServlet

 13:08:41,625 INFO  [org.apache.catalina.core.ContainerBase.[jboss.web].
 [localhost].[/Manager]] Marking servlet globalServlet as unavailable
 13:08:41,625 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].
 [localhost].[/Manager].[globalServlet]] Allocate exception for servlet
 globalServlet: java.
 lang.ClassCastException:
 com.tdiinc.manager.server.communication.GlobalServiceImpl cannot be
 cast to javax.servlet.Servlet

 it looks like there is an incompatibility between or something like
 this

 I'm using
 gwt 2.2
 gxt 2.2.3

 java 1.6.025
 jboss 6

 thanks a lot for your help

-- 
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+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.