• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

SSL implementation in jacorb

 
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi

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

thanks
 
Nidhi Garg
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
no
 
reply
    Bookmark Topic Watch Topic
  • New Topic