[jboss-user] [EJB 3.0] - EJB3 over SSL in NAT environment (JBoss 4.0.5)
clnw8346
do-not-reply at jboss.com
Sun Nov 19 22:12:38 EST 2006
Has anyone been able to configure SSL for EJB3 in a NAT environment?
I have followed the lower 2 posts and have successfully configured a server for EJB3 over SSL and configured regular EJB3 in a NAT environment, but not combined.
(Problems with bean-lookup in NAT environment, EJB3RC5)
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=79325
(stateless-ssl-invoker for EJB3)
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=74475
My EJB has the following annotations:
@RemoteBindings({
| @RemoteBinding(clientBindUrl="sslsocket://0.0.0.0:3843", jndiBinding="ejb/TestBean/ssl"),
| @RemoteBinding(jndiBinding="ejb/TestBean/remote")
| })
| public class TestBean implements TestInterface
| {
| ...
| }
The regular remote call, "ejb/TestBean/remote", works in NAT if I setup the ej3 deployer with a remoting configuration (similar to the ssl version) and specify a "clientConnectAddress"
An example here:
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=63821
Since I have to specify a remote binding annotation to bind "ejb/TestBean/ssl" to the ssl socket, the clientConnectAddress in the service file is never used, it is overridden by the annotated value.
Any ideas would be greatly appreciated. The server version used is 4.0.5 prod.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3987190#3987190
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3987190
More information about the jboss-user
mailing list