Last week, we had the author of TDD for a Shopping Website LiveProject. Friday at 11am Ranch time, Steven Solomon will be hosting a live TDD session just for us. See for the agenda and registration link
  • 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
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

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?
 
mooooooo ..... tiny ad ....
free, earth-friendly heat - a kickstarter for putting coin in your pocket while saving the earth
https://coderanch.com/t/751654/free-earth-friendly-heat-kickstarter
reply
    Bookmark Topic Watch Topic
  • New Topic