• 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

Custom socket connection with Weblogic, JNDI and SSL?

 
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
Been there. Done that. Went back for more. But this time, I took this tiny ad with me:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic