You can try to look at one of my previous blogs:
http://blogs.sun.com/swchan/entry/enterprise_java_bean_over_ssl
Shing Wai Chan
glassfish_at_javadesktop.org wrote:
> Thank you for your reply.
>
> When I attempt to use port 3820 I get an exception: "org.omg.CORBA.COMM_FAILURE: vmcid: SUN minor code: 208 completed: Maybe"
>
> Setting the log level to "Finest" for javax.enterprise.resource.corba, the server shows me a whole load of exceptions, but the clue seems to be: "Caused by: javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?"
>
> I tell my client to use an SSL port (3820), but I suspect it is attempting to talk 'plaintext' on that port.
> [b]How can I tell my client to use SSL? [/b]
>
> Properties props = new Properties();
> props.setProperty("java.naming.factory.initial", "com.sun.enterprise.naming.SerialInitContextFactory");
> props.setProperty("java.naming.factory.url.pkgs", "com.sun.enterprise.naming");
> props.setProperty("java.naming.factory.state", "com.sun.corba.ee.impl.presentation.rmi.JNDIStateFactoryImpl");
> props.setProperty("org.omg.CORBA.ORBInitialPort", "3820");
> Context ctx = new InitialContext(props);
> ...and then the ctx.lookup
>
> [u][/u]
> [Message sent by forum member 'ajvok' (ajvok1_at_gmail.com)]
>
> http://forums.java.net/jive/thread.jspa?messageID=389638
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>