There is a third party solution available that allows you to run most of J2EE APIs
over HTTP(S).
Have a look at http://www.jproxy.com
Cheers,
Marat
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3838180#3838180
Reply to the post :
http://www.jboss.org/inde
Which part of the following section from the "Read this first" topic did
you or Adam not understand?
anonymous wrote :
| Do not post ME TOO . If you have the same problem but nothing
| to add to the problem, don't add noise to the thread!
|
| Always start a new thread for a new problem.
I'm working with Adam on this problem and wanted to add a little clarification on all
the pieces of this puzzle and what we're trying to accomplish.
Let's say that we're dealing with two groups of IP addresses:
Behind firewall: 192.x.x.x
and the client requests will originate from 137.x.x.x
and s
I'm having similar problems with the HTTPConnectionFactory.
JBoss is running on an internal NAT'd machine. I need to be able to run JMS over 8080
to facilitate someone from outside the firewall to be able to receive messages.
I've made the following client side changes:
Properties props = new
If you were using HTTP why does your stacktrace say OIL?
[qoute]
at javax.net.DefaultSocketFactory.createSocket(DashoA6275)
at org.jboss.mq.il.oil.OILServerIL.createConnection(OILServerIL.java:563)
at org.jboss.mq.il.oil.OILServerIL.checkConnection(OILServerIL.java:507)
at org.jboss.mq.il.oil.OIL
Adrian: I am back @ square one:
If you refer the very fist code post, you should see that I used HTTPConnectionFactory
before and you wanted me to use UIL2 and so on. Now you want me to use
HTTPConnectionFactory again.
However, I suspect the issue is to do with firewall.
Please tell whether
If you want access JMS over http use the HTTPConnectionFactory
Regards,
Adrian
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3825919#3825919";>View
the original post
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3825919>Reply
to the post
---
Thanks Adrian for your support so far.
Further to my previous posts, I also opened the 8093 port on my firewall. But I am
confused about the random ports at the client. Obviously I can't open those on my
firewall.
Can't I configure JBoss to talk only through port 80 or atleast few fixed ports?
log4j Output:
2004-03-16 11:58:17,487 TRACE [org.jboss.mq.Connection(1)] {main} Authenticating user
phuser
2004-03-16 11:58:17,487 TRACE [org.jboss.mq.il.uil2.UILServerIL(1)] {main} Connecting
to : /203.94.78.157:8093
2004-03-16 11:58:17,487 TRACE [org.jboss.mq.il.uil2.UILServerIL(1)] {main} Con
Sorry if my wording gave the wrong impression. But I didn't add log4j.properties to my
classpath, instead added a folder name and had the file in it. As u said: it's basic
stuff.
Infact I removed the ORIGINAL log4j.properties file from the jbossall-client.jar,
thinking it could do any harm.
T
"jula" wrote : Thanks Adrian:
|
| My client doesn't have log4j configured. I tried adding the log4j.properties in my
classpath. But it didn't create any log file. Do I have to code my client to support
log4j to support this or have I missed any thing.
|
| On the server: I get the follow
Thanks Adrian:
My client doesn't have log4j configured. I tried adding the log4j.properties in my
classpath. But it didn't create any log file. Do I have to code my client to support
log4j to support this or have I missed any thing.
On the server: I get the following but the client connection c
The default is discovery, but that is irrevelent, you already got past that stage.
I posted instructions on enabling trace logging on the client here:
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3816091
This should show you where it is trying to connect to.
Regards,
Adrian
http:/
Many Thanks Adrian;
Now I am using UIL2ConnectionFactory and removed
"props.put("jnp.disableDiscovery","true");", if that is what you meant by Discovery is
not supported through a firewall. However I still get the same exception.
In addition I changed the bind ip address of the UIL2-service.xml
1) OIL does not work through a firewall, use UIL2
2) Discovery doesn't work through a firewall either
Most likely your connection factories are bound to 192.168.1.11
making them inaccessible on the internet. Check your host configuration.
Regards,
Adrian
http://www.jboss.org/index.html?module=bb
Full stack trace.
org.jboss.mq.SpyJMSException: Cannot authenticate user; - nested throwable:
(java.net.ConnectException: Connection timed out: connect)
at org.jboss.mq.Connection.authenticate(Connection.java:883)
at org.jboss.mq.Connection.(Connection.java:238)
at org.jbo
Client Code:
Properties props = new Properties();
props.put(Context.INITIAL_CONTEXT_FACTORY,"org.jboss.naming.HttpNamingContextFactory");
//LOCAL IP->props.put(Context.PROVIDER_URL,
"http://192.168.1.11:8080/invoker/JNDIFactory";);
props.put(Context.PROVIDER_URL, "http://203.
Post the full stacktrace and configuration.
Your question just says "It does not work" without any context.
Regards,
Adrian
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3825611#3825611";>View
the original post
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=382561
18 matches
Mail list logo