Monday, March 23, 2009

Re: How to configure web.xml to include RPC service?

It works fine for me including the full package name.

For tomcat, in the module's xml I use the servlet name:
<servlet path="/rpcCommon"
class="giros.server.services.common.CommonServiceImpl"/>

In the web.xml for Weblogic I used the "fullModuleNameWithDots/
servletName":
<servlet>
<servlet-name>Common</servlet-name>
<servlet-class>giros.server.services.common.CommonServiceImpl</
servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>Common</servlet-name>
<url-pattern>/giros.MenuNavegacion/rpcCommon</url-pattern>
</servlet-mapping>

And the URL in java is:
GWT.getModuleBaseURL() + "rpcCommon";


On Mar 22, 11:28 am, stsc...@schliwinski.de wrote:
> > The requested resource (/gwtejb/de.stsch.gwtejb.GwtEjb/GwtEjbSrc) is
> > not available.
>
> Hmmmmm, it works when I change my web.xml to
>
> <url-pattern>/de.stsch.gwtejb.GwtEjb/GwtEjbSrc</url-pattern>
>
> Why do I have to include the full package name?
--~--~---------~--~----~------------~-------~--~----~
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: