This content has been marked as final.
Show 2 replies
-
1. Re: Integrating Sun Open MQ and JBoss
gaohoward Dec 16, 2009 3:45 AM (in response to rockytriton)Hi,
This is more like a JBoss deployment issue, pls ask the AS guys. Just a wild guess, I think your imqjmsra.rar may have incompatible structure/contents with JBoss. I suggest you pickup an existing rar file, unzip it and compare the contents with your rar, see if there is any difference.
Howard
-
2. Re: Integrating Sun Open MQ and JBoss
bdupreez1 Jan 13, 2010 3:55 AM (in response to rockytriton)To resolve this issue, you need to do the following:
- Unzip the standard “imqjmsra.rar” in “<OPEN_MQ_HOME>/mq/lib/” to a temporary folder.
- Edit the standard “META-INF/MANIFEST.MF” file in this temporary folder and replace the file’s original contents:
Manifest-Version: 1.0
Specification-Title: Open Message Queue / Sun Java(tm) System Message Queue J2EE Resource Adapter for JMS
Class-Path: imqbroker.jar
Created-By: 1.5.0_09 (Sun Microsystems Inc.)
Main-Class: com.sun.messaging.jmq.Version
Implementation-Title: Open Message Queue
Specification-Vendor: Sun Microsystems, Inc.
Specification-Version: 1.5
Implementation-Version: 4.3 (Build 7-g)
Implementation-Vendor: Sun Microsystems, Inc.
Name: com/sun/messaging/jms/ra
with something like the following:
Manifest-Version: 1.0
Created-By: 1.5.0_09 (Sun Microsystems Inc.)
Sealed: false
Specification-Title: J2EE Connector Architecture
Specification-Version: 1.5
Specification-Vendor: Sun Microsystems, Inc. Implementation-Title: Open Message Queue J2EE Resource Adapter for JMS
Implementation-Version: 4.3 (Build 7-g)
Implementation-Vendor: Sun Microsystems, Inc.
The “Class-Path”, “Name” and/or “Main-Class” entries in the original file seem to be causing the deployment problem.
Re-zip the modified contents into a new version of the “imqjmsra.rar” file.
i. Ensure that you created a ZIP archive and NOT a RAR archive.
ii. Ensure that the root of the new “imqjmsra.rar” file contains a META-INF folder and 3 jars.
Copy the modified “imqjmsra.rar” to “<JBOSS_HOME>/server/<server name [default]>/deploy/”.