Re: httptunneling/callback
Marco Lettere <[email protected]>
| Newsgroups | gmane.comp.java.openjms.user |
|---|---|
| Message-ID | <[email protected]> |
Hello to everyone, I would like to hook up this thread to ask you about NAT-ted clients and Http(s) tunneling. We have serious problems making the Http tunneled connection work in presence of NAT-ted clients. In effect, it doesn't work! ;-) Is there a way (or will it be one) to work around NAT networks? I read something about this new ".war" webapp that would be able to solve this by avoiding server->client connections when implementing tunneling but I couldn't find it. Is it a 0.7.7 feature or could we use it also for 0.7.6? What is the time for making the 0.7.7 release? Thank you, M. Daniel Otero wrote: > Hi saf, what you need to do (if you are using the 0.7.7-dev version) > is (if you can wait a few days things will be simplified a bit): > > On the server side: > > 1) place the .war in the webapps/ directory. > > 2) define the https connector and it's configuration like this (in the > openjms.xml): > > <Connectors> > <Connector scheme="https"> > <ConnectionFactories> > <TopicConnectionFactory name="TopicConnectionFactory" /> > <QueueConnectionFactory name="QueueConnectionFactory" /> > </ConnectionFactories> > </Connector> > </Connectors> > > <HttpsConfiguration webServerHost="your.webserver.com" > webServerPort="9999" > port="3030" > servlet="/openjms-tunnel/tunnel" > /> > > Note: in the next few days the TopicConnectionFactory and > QueueConnectionFactory will be replaced by a single entry like so - > and the examples should be modified accordingly: > > <ConnectionFactory name="ConnectionFactory" /> > > On the cliet side... > > 1) You need to set up your keystore and run your java client with the > usual parameters (-Djavax.net.ssl.trustStore="$TSTORE" > -Djavax.net.ssl.keyStore="$KSTORE" -Djavax.net.ssl.keyStoreType="jks" > -Djavax.net.ssl.keyStorePassword="$KPASS" ) > > I believe the plan is to make these part of the jndi.properties file > (i.e. look in examples/basic and see 2) below). But that won't happen > for a few days... > > 2) The good news is that if you need to use a proxy-server to get > through the corporate firewall the properties to do this can already > be specified in the jndi.properties file like so (much like the ssl > ones will probably end up): > > org.exolab.jms.net.https.proxyHost=local.proxy.com > org.exolab.jms.net.https.proxyPort=3128 > > if user authentication is required you can also use the following: > > org.exolab.jms.net.https.proxyUser=user > org.exolab.jms.net.https.proxyPassword=password > > On Apr 7, 2005, at 11:07 AM, Laszlo Schaffer personal wrote: > > Hello! > > > > It is possible to use MessageListener…onMessage() behind a client > firewall? > > I have read something about this TunnelServlet but I do not know > how can I use this? > > What I need a configuration where a client there is behind a > firewall (the jms server server also) and the connection is being > made using https > > Recently have download and compiled the 0.7.7-dev version but how > can I use this Tunneling feature? > > > > Thanks > > saf > ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click