Friday, January 8, 2010

Re: RPC error with jboss

Hello,

Its not able to look-up the servlet you have deployed. Please check
the web.xml configuration.

You must have specified the remote relative path in your RemoteService
interface. e.g. @RemoteServiceRelativePath("security-service")

The web.xml for you application should also contain a servlet mapping
as below:

<servlet>
<servlet-name>securityServlet</servlet-name>
<servlet-class>com.xxxx.server.service.SecurityServiceImpl</
servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>securityServlet</servlet-name>
<url-pattern>/application-name/security-service</url-pattern>
</servlet-mapping>

Here, the url-pattern contains 'application-name' you should verify
the correct application name (relative path) in your JBoss environment
and web.xml. This should solve your problem.

Regards,
Upendra Jariya

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate