[jboss-user] [JBoss Remoting] - Unable to find Remoting services in Jboss 5.1.0

dhaval joshi do-not-reply at jboss.com
Tue Aug 31 18:39:28 EDT 2010


dhaval joshi [http://community.jboss.org/people/dhaval0129] replied to the discussion

"Unable to find Remoting services in Jboss 5.1.0"

To view the discussion, visit: http://community.jboss.org/message/559906#559906

--------------------------------------------------------------
Hi,

I still do not understand how can make this work, In previous Jboss 4.2.2 I added code below to Jboss-service.xml to remoting section and everything worked for me. I really do not know how should I get it working on Jboss 5.1.0. This what i added to jboss-service.xml as below:

<mbean code="org.jboss.remoting.transport.Connector"
        name="jboss.remoting:service=Connector,transport=SSLServlet"
        display-name="SSL Servlet transport Connector">
        <attribute name="InvokerLocator">
            sslservlet://localhost:8443/servlet-invoker/ServerInvokerServlet
        </attribute>
        <attribute name="Configuration">
        <config>
        <handlers>
        <handler subsystem="server-log-monitor">com.icrco.remoting.CallbackInvocationHandler</handler>
        <handler subsystem="server-log-sender">com.icrco.remoting.CallbackInvocationHandler</handler>
        </handlers>
        </config>
        </attribute>
 </mbean>

Can any one tell me where do i need to add this in Jboss 5.1.0 and also to let you know this How my Web.xml looks like in servlet-invoker.war

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE web-app PUBLIC
   "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
   " http://java.sun.com/dtd/web-app_2_3.dtd http://java.sun.com/dtd/web-app_2_3.dtd">

<!-- The the JBossRemoting server invoker servlet web.xml descriptor
$Id: web.xml,v 1.2 2009/06/03 17:42:47 jon Exp $
-->
<web-app>
    <servlet>
        <servlet-name>ServerInvokerServlet</servlet-name>
        <description>The ServerInvokerServlet receives requests via HTTP
           protocol from within a web container and passes it onto the
           ServletServerInvoker for processing.
        </description>
        <servlet-class>org.jboss.remoting.transport.servlet.web.ServerInvokerServlet</servlet-class>
        <init-param>
           <!--
            <param-name>invokerName</param-name>
            <param-value>jboss.remoting:service=Connector,transport=SSLServlet</param-value>
            <description>The servlet server invoker</description>
           -->
            <param-name>locatorUrl</param-name>
            <param-value>sslservlet://localhost:8443/servlet-invoker/ServerInvokerServlet</param-value>
            <description>The servlet server invoker locator url</description>
        </init-param>
        <load-on-startup>1</load-on-startup>
      <depends>jboss.remoting:service=TransactionManager</depends>
    </servlet>
    <servlet-mapping>
        <servlet-name>ServerInvokerServlet</servlet-name>
        <url-pattern>/ServerInvokerServlet/*</url-pattern>
    </servlet-mapping>
</web-app>

JBoss 5.1.0 also throws exception on depends tag can you please give me tips how to resolve this Jboss Remoting issues on 5.1.0

--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/559906#559906]

Start a new discussion in JBoss Remoting at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2050]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20100831/46a990e6/attachment.html 


More information about the jboss-user mailing list