-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
1.1.22
-
None
From JNDI View - here is what is bound. The binding under ProxyFactory shouldn't be there.
+- HelloBean (class: org.jnp.interfaces.NamingContext)
+- https (class: Proxy for: com.jboss.examples.ejb3.Hello) |
+- http (class: Proxy for: com.jboss.examples.ejb3.Hello) |
+- helloWorld (class: org.jnp.interfaces.NamingContext)
+- HelloBean (class: org.jnp.interfaces.NamingContext) | |
+- local-com.jboss.examples.ejb3.HelloLocal (class: Proxy for: com.jboss.examples.ejb3.HelloLocal) | |
+- local (class: Proxy for: com.jboss.examples.ejb3.HelloLocal) | |
+- remote-com.jboss.examples.ejb3.Hello (class: Proxy for: com.jboss.examples.ejb3.Hello) |
+- ProxyFactory (class: org.jnp.interfaces.NamingContext)
+- helloWorld (class: org.jnp.interfaces.NamingContext) | |||
+- HelloBean (class: org.jnp.interfaces.NamingContext) | |||
+- HelloBean (class: org.jnp.interfaces.NamingContext) | |||
+- https (proxy: $Proxy145 implements interface |
EJB Definition:
@Stateless(name="HelloBean")
public class HelloBean implements Hello, HelloLocal
{
...
}
public @Remote interface Hello
public @Local interface HelloLocal { }
<?xml version="1.0" encoding="UTF-8"?>
<jboss xmlns="http://www.jboss.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.jboss.com/xml/ns/javaee http://www.jboss.org/j2ee/schema/jboss_5_0.xsd" version="3.0">
<enterprise-beans>
<session>
<ejb-name>HelloBean</ejb-name>
<remote-binding>
<jndi-name>HelloBean/http</jndi-name>
<client-bind-url>
http://${jboss.bind.address}:8080/unified-invoker/Ejb3ServerInvokerServlet/?return-exception=true
</client-bind-url>
</remote-binding>
<remote-binding>
<jndi-name>HelloBean/https</jndi-name>
<client-bind-url>
https://${jboss.bind.address}:8443/unified-invoker/SSLEjb3ServerInvokerServlet/?return-exception=true
</client-bind-url>
</remote-binding>
</session>
</enterprise-beans>
</jboss>