aspose file tools*
The moose likes Security and the fly likes SSL implementation in jacorb Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Engineering » Security
Bookmark "SSL implementation in jacorb" Watch "SSL implementation in jacorb" New topic
Author

SSL implementation in jacorb

Nidhi Garg
Greenhorn

Joined: Jun 19, 2009
Posts: 21
I am trying to implement ssl on jacorb. I have made a HelloServer program.
It is giving me the following exception:

ERROR: org.omg.CORBA.COMM_FAILURE: IOException: javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection? vmcid: 0x0 minor code: 0 completed: No
0000: 47 49 4F 50 01 GIOP.
Thread-3, handling exception: javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?
Thread-3, SEND TLSv1 ALERT: fatal, description = unexpected_message
Thread-3, WRITE: TLSv1 Alert, length = 2
Thread-3, Exception sending alert: java.net.SocketException: Software caused connection abort: socket write error
Thread-3, called closeSocket()
main, handling exception: javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?
Thread-3, called close()
Thread-3, called closeInternal(true)
Thread-3, called close()
Thread-3, called closeInternal(true)
Thread-3, called close()
Thread-3, called closeInternal(true)
org.omg.CORBA.COMM_FAILURE: IOException: javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection? vmcid: 0x0 minor code: 0 completed: No
at org.jacorb.orb.etf.ConnectionBase.to_COMM_FAILURE(ConnectionBase.java:129)
at org.jacorb.orb.etf.StreamConnectionBase.flush(StreamConnectionBase.java:166)
at org.jacorb.orb.giop.GIOPConnection.sendMessage(GIOPConnection.java:853)
at org.jacorb.orb.giop.GIOPConnection.sendRequest(GIOPConnection.java:805)
at org.jacorb.orb.giop.ClientConnection.sendRequest(ClientConnection.java:302)
at org.jacorb.orb.giop.ClientConnection.sendRequest(ClientConnection.java:282)
at org.jacorb.orb.Delegate.invoke_internal(Delegate.java:912)
at org.jacorb.orb.Delegate.invoke(Delegate.java:857)
at org.jacorb.orb.Delegate.is_a(Delegate.java:1268)
at org.omg.CORBA.portable.ObjectImpl._is_a(Unknown Source)
at org.omg.CosNaming.NamingContextExtHelper.narrow(Unknown Source)
at HelloServer.main(HelloServer.java:99)
HelloServer Exiting ...

It gives error when I trying to:
NamingContextExt ncRef = NamingContextExtHelper.narrow(objRef);

Any pointers as to what is the root cause for this?


Regards,
Nidhi Garg
Waseem Sabek
Greenhorn

Joined: Apr 09, 2010
Posts: 2
Hi

Didyouget a rely for below problem?
couldyou sewn it tme?

thanks
Nidhi Garg
Greenhorn

Joined: Jun 19, 2009
Posts: 21
no
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: SSL implementation in jacorb