Specifying remote-binding / client-bind-url in jboss.xml binds under ProxyFactory in JNDI
-----------------------------------------------------------------------------------------
Key: EJBTHREE-2144
URL:
https://jira.jboss.org/browse/EJBTHREE-2144
Project: EJB 3.0
Issue Type: Bug
Affects Versions: 1.1.22
Environment: Sun JDK 6, JBoss EAP 5.0.1
Reporter: Brad Maxwell
Assignee: Andrew Lee Rubinger
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>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira