-
1. Re: EJB call with RMI over HTTPS
rimmeraj Jul 5, 2004 1:32 PM (in response to sero)I have no problems with this. What do your server side logs say? It looks like ssl is not enabled on the server..
-
2. home lookup goes HTTPS, but home.create goes HTTP.
sero Jul 6, 2004 12:20 PM (in response to sero)Yes, it was from the client, set wrong port. Now it goes ok.
But now, another problem: The first call (lookup) is made using https, but the subsequent calls to the home interfaces are mede using http.
Initally I set up the configuration for the stateless-http-invoker that tells the home's proxy how to call back.
Is there something similar for https?
thanks -
3. Re: EJB call with RMI over HTTPS
rimmeraj Jul 6, 2004 2:53 PM (in response to sero)In deploy/http-invoker.sar/META-INF/jboss-service.xml the HttpInvoker mbean should look like
<!-- Use a URL of the form http://:8080/invoker/EJBInvokerServlet
where is InetAddress.getHostname value on which the server
is running.
-->
https://
:8443/invoker/restricted/EJBInvokerServlet
true
The proxy factory ..
<!-- The Naming service we are proxying -->
jboss:service=Naming
<!-- Compose the invoker URL from the cluster node address -->
https://
:8443/invoker/restricted/JMXInvokerServlet
true
org.jnp.interfaces.Naming
jc.client.ClientInterceptor
org.jboss.proxy.ClientMethodInterceptor
org.jboss.proxy.SecurityInterceptor
org.jboss.naming.interceptors.ExceptionInterceptor
org.jboss.invocation.InvokerInterceptor -
4. Re: EJB call with RMI over HTTPS
sero Jul 7, 2004 5:49 AM (in response to sero)Thanks, rimmeraj, now all works, your help was very valuable.