Just tried to reproduce using posted ejb3 app and config with JBossAS 4.0.4RC1 and worked fine (although used regular transport for jndi instead of http). Only thing extra step required (besides changing the ejb3.deployer/META-INF/jboss-service.xml config to match the one above) was to deploy the servlet-invoker.war, which is need if using the servlet transport (more info at http://labs.jboss.com/portal/jbossremoting/docs/guide/ch04.html#d0e858).
Although this example app will work with: | @RemoteBinding(clientBindUrl="http://localhost:8080/servlet-invoker/ServerInvokerServlet") | would suggest using: | @RemoteBinding(clientBindUrl="servlet://localhost:8080/servlet-invoker/ServerInvokerServlet") | just so the remoting locator uri matches up with the once configured on the server. There was a bug that remoting client did not covert to 'http' url internally, so required the 'http' on the client, but has been fixed. If you decide to switch to use the pure http invoker (meaning server sides runs in its own embedded web container instead of as a servlet within JBoss's web container... Tomcat), can change the locator uri to be 'http' in both the Connector config and the RemoteBinding. However, due to bug (JBAS-2766), will need to manually copy following jars to server's lib directory (e.g. jboss/server/default/lib): tomcat-apr.jar tomcat-coyote.jar tomcat-http.jar tomcat-util.jar otherwise will see an error message like: | java.lang.ClassNotFoundException: org.jboss.remoting.transport.coyote.CoyoteInvoker | Have also tested this with 4.0.4CR1 and working fine. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3934871#3934871 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3934871 ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ JBoss-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-user
