Posted: Wed Mar 05, 2008 7:20 am Post subject: MQ Java TCP/IP client uses "user.name" as MQ crede
Newbie
Joined: 25 Oct 2006 Posts: 5
I started the Java client with a system property "user.name=SYSTEM" and I got rid of MQJMS2013 problems.
MQ Java client in CLIENT (tcp/ip) transportType mode relies on the user.name System property for the MQ credential.
Actually this problem was in WAS 6.1 and the system property can be added for the application server in WAS admin console at "application server -> process definition -> JVM -> custom properties".
Posted: Wed Mar 05, 2008 3:04 pm Post subject: Re: MQ Java TCP/IP client uses "user.name" as MQ c
Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
Split from previous topic as it was obviously intended for a different one...
lhotari wrote:
I started the Java client with a system property "user.name=SYSTEM" and I got rid of MQJMS2013 problems.
MQ Java client in CLIENT (tcp/ip) transportType mode relies on the user.name System property for the MQ credential.
Actually this problem was in WAS 6.1 and the system property can be added for the application server in WAS admin console at "application server -> process definition -> JVM -> custom properties".
I would never condone such a setup.
Use JAAS to create an authentication alias and use it when defining the connection Factory in JNDI. This is the right way to go. You do not want to force your JVM to run under some specific user name...
In a standalone client use the following form of connect
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum