Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Custom socket connection with Weblogic, JNDI and SSL?

 
Eric Mission
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Does anyone know if it is possible to perform a JNDI lookup on Weblogic using a custom SSL socket connection other than the built-in connection method?

For example:




I thought there might be some class that I can extend from and add to the code or some other setting that I can make to force the use of a different socket object but I can't find any documentation anywhere on it. Which makes me believe that it isn't possible but I wanted to ask the community anyway.

Some additional info...
Clustered server with an Alteon load balancer and 3 Weblogic 9.2 MP3 instances in the cluster (round robin) running a Web site.
An internal (tier3) support tool trying to connect to the load balancer to get info on the cluster only works when connecting directly to an instance in the cluster. As well as when connecting to the load balancer with a custom socket connection. The Alteon does not filter protocol (t3s) or IPs so the idea is to use the custom socket connection in conjunction with a jndi lookup to hit the load balancer directly. The result of using the default connection methods going directly to the load balancer is a timeout. I don't recall the error off-hand but it happens after the handshaking, I would have to get back with the error message. I don't feel this is worth troubleshooting unless someone is curious about the error.

Thanks for the answers!
 
Eric Mission
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I found this piece of code in a posting...



and tried it but it didn't change the socket connection (I did create my own SSLSocketFactory similar to this posting). Though it does seem to be promising. Is anyone familiar with this setting?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic