-
1. Re: Access remote ConnectionFactory deployed on EAP6 from wildfly jms client
gaohoward Oct 23, 2014 9:05 AM (in response to nono_du_31)sounds like a wildfly question to me. You can put this question to their forum also.
Did you try remove this line
props.put(Context.URL_PKG_PREFIXES, "org.jboss.jms.jndi.JNDIProviderAdapter");
from the code and see if it makes a difference? I tried some standalone client before and I didn't have this line.
Howard
-
2. Re: Access remote ConnectionFactory deployed on EAP6 from wildfly jms client
jbertram Oct 23, 2014 10:36 PM (in response to nono_du_31)As Howard indicated, the problem you're seeing is related to Wildfly and not HornetQ itself. The authentication failure is related to your JNDI connection, not your JMS connection.
-
3. Re: Access remote ConnectionFactory deployed on EAP6 from wildfly jms client
nono_du_31 Oct 24, 2014 2:47 AM (in response to gaohoward)Hi
I already tried to remove this, but it still doesn't work.
-
4. Re: Access remote ConnectionFactory deployed on EAP6 from wildfly jms client
jbertram Oct 24, 2014 9:46 AM (in response to nono_du_31)As indicated previously, your problem is with the authentication of your JNDI connection. I suggest you try adding the proper user account for our principal/credential.
-
5. Re: Access remote ConnectionFactory deployed on EAP6 from wildfly jms client
nono_du_31 Oct 27, 2014 4:40 AM (in response to jbertram)Hi
the problem doesn't come from the credentials, today i made a test with my former application in EAP4.3 and the message is correctly sent (connection to JNDI is ok) and the source for the configuration (principal/credential) is the same.I also checked via debug the host, the port, the principal and credentials and all is good :/
-
6. Re: Access remote ConnectionFactory deployed on EAP6 from wildfly jms client
jbertram Oct 27, 2014 9:56 AM (in response to nono_du_31)Whatever the actual underlying problem is with your JNDI connection authentication, it's not related to HornetQ. I recommend you post on the Wildfly forum for additional assistance.
-
7. Re: Access remote ConnectionFactory deployed on EAP6 from wildfly jms client
nono_du_31 Oct 27, 2014 10:19 AM (in response to jbertram)Yep. that's why i moved the subject to Wildfly discussions last week.