I believe RMI over SSL is the ketwords I was missing. Does anyone have sample code
for a client application. I am getting this error.
[java] Created LoginContext
[java] getDatabase() - Caught an exception.
[java] java.rmi.ConnectIOException: Exception creating connection to:
192.168.40.43; nested exception is:
[java] java.net.SocketException: Default SSL context init failed: null
[java] at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:580)
[java] at
sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:185)
[java] at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:171)
[java] at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:101)
[java] at org.jboss.invocation.jrmp.server.JRMPInvoker_Stub.invoke(Unknown
Source)
[java] at
org.jboss.invocation.jrmp.interfaces.JRMPInvokerProxy.invoke(JRMPInvokerProxy.java:135)
[java] at
org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:96)
[java] at
org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:46)
[java] at
org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:45)
[java] at org.jboss.proxy.ejb.HomeInterceptor.invoke(HomeInterceptor.java:173)
[java] at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:85)
[java] at $Proxy0.create(Unknown Source)
[java] at com.oasis.timecard.client.TimecardClient.getDatabase(Unknown Source)
[java] at com.oasis.timecard.client.TimecardClient.main(Unknown Source)
[java] Caused by: java.net.SocketException: Default SSL context init failed: null
[java] at javax.net.ssl.DefaultSSLSocketFactory.createSocket(DashoA6275)
[java] at
org.jboss.security.ssl.RMISSLClientSocketFactory.createSocket(RMISSLClientSocketFactory.java:46)
[java] at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:562)
[java] ... 13 more
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3841890#3841890
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3841890
---
This SF.Net email sponsored by Black Hat Briefings Training.
Attend Black Hat Briefings Training, Las Vegas July 24-29 -
digital self defense, top technical experts, no vendor pitches,
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user