AS7 is by default secure, which means that invocations on it need to be authenticate/authorized. So without the username/password from the client, the security check will fail, unless you disable security on the server side. Is that what you want? If yes, is there a specific reason to disable security?
Is that what i want. I have a legacy system where i have to migrate for jboss 7. In this system, was not used the security for lookup of remote EJB.
How i can disable this security feature for remote invocation in jboss 7.1?
The remoting subsystem is configured with a connector named remoting-connector:
<subsystem xmlns="urn:jboss:domain:remoting:1.1"> <connector name="remoting-connector" socket-binding="remoting" security-realm="ApplicationRealm"/> </subsystem>
That's what's used for remote invocations. The security-realm attribute is what makes it secure. Just remove that attribute if you want security disabled:
<subsystem xmlns="urn:jboss:domain:remoting:1.1"> <connector name="remoting-connector" socket-binding="remoting" /> </subsystem>