JBoss Community

Unable to find Remoting services in Jboss 5.1.0

reply from dhaval joshi in JBoss Remoting - View the full discussion

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">

 

<!-- 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

Start a new discussion in JBoss Remoting at Community