javax.jms.JMSException: MQJMS1092: userid must be less than 12 characters
 Technote (troubleshooting)
 
Problem(Abstract)
If Global Security is DISABLED, the application works OK. However, if Global Security is ENABLED using LDAP registry, WebSphere is running, but users are unable to log into the application using the application id. This is the error that is seen in the WAS logs:

Next Linked Exception:
javax.jms.JMSException: MQJMS1092: userid must be less than 12
characters
at com.ibm.mq.jms.services.ConfigEnvironment.newException
(ConfigEnvironment..java:556)
at com.ibm.mq.jms.MQXATopicConnectionFactory.createXATopicConnection
(MQXATopicConnectionFactory.java:116)
 
Cause
If the ID specified in the alias is greater than 12 characters, it results in MQJMS1092 error.
 
Resolving the problem
It is a limitation of the product that the user ID should be lesser than 12 characters.

InfoCenter states:
"Note: User IDs longer than 12 characters cannot be used for
authentication with the embedded WebSphere JMS provider. For example,
the default Windows NT user ID, Administrator, is not valid for use with
embedded WebSphere messaging, because it contains 13 characters.
Therefore, an authentication alias for a WebSphere JMS provider
connection factory must specify a user ID no longer than 12 characters"

Reference:
http://publib.boulder.ibm.com/infocenter/wasinfo/v5r1//index.jsp?topic=/com.ibm.websphere.nd.doc/info/ae/ae/umj_ptcfw.html

For the embedded JMS provider, the J2C alias goes up against the target registry, so your only option, when using the embedded provider, is to use an ID with less than 12 characters. You could disable security on the JMS lookup, as per this link:

Disabling lookup security
http://publib.boulder.ibm.com/infocenter/wasinfo/v5r1//index.jsp?topic=/
com.ibm.websphere.nd.doc/info/ae/ae/tdat_dissec.html

Another option is to drop the embedded provider for full WebSphere MQ.

 
 
Historical Number
58946
033
000
 
 


Document Information


Product categories: Software > Application Servers > Distributed Application & Web Servers > WebSphere Application Server > Embedded/Express
Operating system(s): Windows
Software version: 6.0.2
Software edition:
Reference #: 1264824
IBM Group: Software Group
Modified date: Jun 27, 2007