Yes, i solved it. A couple of changes are required for Jboss to enable the http invoker. Fist edit the file /server/legolas/conf/standardjboss.xml and change the text:
| <invoker-proxy-binding> | <name>stateless-rmi-invoker</name> | <invoker-mbean>jboss:service=invoker,type=jrmp</invoker-mbean> | to: | <invoker-proxy-binding> | <name>stateless-http-invoker</name> | <invoker-mbean>jboss:service=invoker,type=http</invoker-mbean> | This change enabled the http invoker for all stateless session beans. Then edit the file /server/legolas/deploy/http-invoker.sar/META-INF/jboss-service.xml and add or change the text in the http invoker (in bold): | <mbean code="org.jboss.invocation.http.server.HttpInvoker" | name="jboss:service=invoker,type=http"> | <attribute name="InvokerURLPrefix">http://</attribute> | <attribute name="InvokerURLSuffix">:8080/invoker/EJBInvokerServlet</attribute> | <attribute name="InvokerURL">http://<server>:80/invoker/EJBInvokerServlet</attribute> | <attribute name="UseHostName">false</attribute> | | </mbean> | and for the HttpProxyFactory: | <mbean code="org.jboss.invocation.http.server.HttpProxyFactory" | name="jboss:service=invoker,type=http,target=Naming"> | ? | <attribute name="InvokerURL">http://<server>:80/invoker/JMXInvokerServlet</attribute> | <attribute name="UseHostName">false</attribute> | | ? | Change the servername and portnumber to the actual servername of the server Jboss is running or to the name of the loadbalancer server. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3941534#3941534 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3941534 ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ JBoss-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-user
