Ok, JBoss starts without the [failed to create MQQueueManager for ''] exception if I set
export LD_ASSUME_KERNEL=2.4.19 in the jboss user's environment. I realised this when I tried starting JBoss as the mqm user and it worked. I did already have the variable set in the mqm user's environment, and set when installing the RPMs as root, as is required if the kernel is newer. I didn't set it anywhere else because I couldn't see why it would be needed for anything else except Websphere MQ. For example, why change the kernel threading model for everything else aswell? I guessed that as a compromise I could set it in the script that starts JBoss rather than set it as an environment variable, but after doing some more digging it appears that, as long as you have MQ fix pack 5 or later, using export AMQ_THREADMODEL_RESET=1 for the jboss user will be enough as this sets LD_ASSUME_KERNEL=2.4.19 but has the advantage that the LD_ASSUME_KERNEL variable is only defined for MQ processes and so other applications are unaffected and can run with the new posix thread model. Other things that I already had done but need to be noted are: - make the jboss user a member of the mqm group - set access permissions for jboss user for queue manager and queue(s) - set LD_LIBRARY_PATH=LIBPATH=/opt/mqm/java/lib. - make symlinks for /opt/mqm/java/lib*.jar in server/default/deploy/lib - add MQ Series as JMS provider in server/default/deploy/jms/jms-ds.xml and server/default/conf/standardjboss.xml Hope that helps someone Cheers View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3899323#3899323 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3899323 ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ JBoss-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-user
