Re: httptunneling/callback

Daniel Otero <[email protected]>
Newsgroups gmane.comp.java.openjms.user
Message-ID <[email protected]>
Yes it has, at least it works for me.

On Apr 8, 2005, at 8:27 AM, Marco Lettere wrote:

>
> Yes, Daniel, but you were talking about proxy/firewall. My question is 
> more oriented towards the NAT problem. Has this problem been faced, in 
> 0.7.7-dev?
> M.
>
>> Wrong assumption... Tim has said that a new version is quite a long 
>> ways off, what I suggested is that the 0.7.7-dev (i.e. head) will 
>> make things easier, but I have no idea when the next version will be 
>> out.
>>
>> On Apr 8, 2005, at 5:59 AM, Laszlo Schaffer personal wrote:
>>
>>> Hello Marco!
>>>
>>> You can download the 0.7.7-dev source from the openjms sourceforge 
>>> and
>>> compile it.
>>> I have made it but I did not tried this new feature yet…
>>>
>>> As you see in the message chain there will be a new version in few 
>>> days that
>>> is helping to solve this problem (hopefully)
>>>
>>> Regards
>>> saf
>>>
>>>
>>> -----Original Message-----
>>> From: openjms-user-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
>>> [mailto:openjms-user-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org] On Behalf Of Marco 
>>> Lettere
>>> Sent: 2005. április 8. 9:50
>>> To: [email protected]
>>> Subject: Re: [openjms-user] httptunneling/callback
>>>
>>> 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
>>> _______________________________________________
>>> openjms-user mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/openjms-user
>>>
>>>
>>>
>>> -------------------------------------------------------
>>> 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_ide95&alloc_id396&op=click
>>> _______________________________________________
>>> openjms-user mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/openjms-user
>>
>>
>>
>>
>> -------------------------------------------------------
>> 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_ide95&alloc_id396&op=click
>> _______________________________________________
>> openjms-user mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/openjms-user
>
>
>
>
> -------------------------------------------------------
> 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
> _______________________________________________
> openjms-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/openjms-user



-------------------------------------------------------
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_ide95&alloc_id396&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.