Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

SSL Socket Stopped Working with Java1.6

 
Chris Gabel
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I wrote some code to do FTP over SSL using Sockets. It worked well using the Java 1.4 JVM in my WebSphere 5.1 installation.

We upgraded to WebSphere 7.0, which uses a Java 1.6 JVM and now it doesn't work. It doesn't throw any exceptions, it just connects and doesn't communicate.

Does anyone know why? Here is my code.



I also tried it without the IBM JSSE2 socket factory and that just gives a NullPointerException on the createSocket call.

java.lang.NullPointerException
at com.ibm.websphere.ssl.protocol.SSLSocketFactory.createSocket(SSLSocketFactory.java:560)

 
mooooooo ..... tiny ad ....
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!