This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
The moose likes EJB and other Java EE Technologies and the fly likes Custom socket connection with Weblogic, JNDI and SSL? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Custom socket connection with Weblogic, JNDI and SSL?" Watch "Custom socket connection with Weblogic, JNDI and SSL?" New topic
Author

Custom socket connection with Weblogic, JNDI and SSL?

Eric Mission
Greenhorn

Joined: Apr 22, 2009
Posts: 22
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!


to infinity and beyond
Eric Mission
Greenhorn

Joined: Apr 22, 2009
Posts: 22
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?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Custom socket connection with Weblogic, JNDI and SSL?
 
Similar Threads
EJB
Recognize Application server.
problem in getting the database connection from a connection pool
please answer this 128 questions for WLS. Urgently!
Oracle JDBC connection using JNDI lookup