1 Reply Latest reply on Nov 17, 2009 1:09 PM by tomeicher

    Accessing a database through a Proxy

    ben.wright

      I'm trying to ingest data into a JBoss ESB from a database. Normally this would be easy, but I need to figure out how to get JBoss to connect to a database that is not on my local network. I need to get through a proxy server to access it.

      Anybody know how to configure JBoss ESB to do this? Preferably as a Datasource?

      I've already tried sending in
      -Dhttp.proxyHost=theproxyhost -Dhttp.proxyPort=80 -DproxySet=true
      but it doesn't seem to make any difference (theproxyhost is filled in with the actual proxy)

      Using:
      JBoss AS 5.1
      JBoss ESB 4.6
      Java 6



        • 1. Re: Accessing a database through a Proxy
          tomeicher

          Hi,
          you cannot access a database using a proxy, since a proxy is for some well-known protocols, mainly http, https, ftp, ...
          If and how this could be done depends on your database and the network protocol it uses.
          The other option is to use a TCP/IP tunnel.
          But all this is completely ESB-unrelated...
          Cheers, Tom.