imqjmsra.rar references imq.jar which is not inside RAR ... and ra.xml

When deploying the RAR file to JBoss 4.0.5, it shows the following

2006-12-01 15:49:06,040 DEBUG [org.jboss.deployment.MainDeployer] The manifest entry in file:/home/jsalvo/jboss-4.0.5.GA/server/default/tmp/depl

oy/tmp5798imqjmsra.rar-contents/imqjmx.jar references URL file:/home/jsalvo/jboss-4.0.5.GA/server/default/tmp/deploy/tmp5798imqjmsra.rar-content

s/imq.jar which could not be opened, entry ignored

org.jboss.deployment.DeploymentException: url file:/home/jsalvo/jboss-4.0.5.GA/server/default/tmp/deploy/tmp5798imqjmsra.rar-contents/imq.jar could not be opened, does it exist?

I'll make a new rar with imq.jar inside it ... but what are the various properties / elements in the ra.xml ?

That is, how do they correspond to the ".bindings" file that is generated running imqadmin ?

[833 byte] By [j.salvo] at [2007-11-14]
# 1

Well ... after adding imq.jar into the RAR, it is now looking for imqxm.jar, and other internationalization JARs such as imq_ja.rar:

2006-12-01 16:04:42,311 DEBUG [org.jboss.deployment.MainDeployer] resolveLibraries: imqxm.jar imq_ja.jar imq_zh_CN.jar imq_fr.jar imq_de.jar imq_es.jar imq_it.jar imq_sw.jar imq_ko.jar imq_zh_TW.jar imq_lang1.jar

2006-12-01 16:04:42,311 DEBUG [org.jboss.deployment.MainDeployer] new manifest entry for sdi at imq.jar entry is imqxm.jar

2006-12-01 16:04:42,313 DEBUG [org.jboss.deployment.MainDeployer] The manifest entry in file:/home/jsalvo/jboss-4.0.5.GA/server/default/tmp/deploy/tmp17576imqjmsra.rar-contents/imq.jar references URL file:/home/jsalvo/jboss-4.0.5.GA/server/default/tmp/deploy/tmp17576imqjmsra.rar-contents/imqxm.jar which could not be opened, entry ignored

2006-12-01 16:04:42,317 DEBUG [org.jboss.util.NestedThrowable] org.jboss.util.NestedThrowable.parentTraceEnabled=true

2006-12-01 16:04:42,317 DEBUG [org.jboss.util.NestedThrowable] org.jboss.util.NestedThrowable.nestedTraceEnabled=false

2006-12-01 16:04:42,317 DEBUG [org.jboss.util.NestedThrowable] org.jboss.util.NestedThrowable.detectDuplicateNesting=true

org.jboss.deployment.DeploymentException: url file:/home/jsalvo/jboss-4.0.5.GA/server/default/tmp/deploy/tmp17576imqjmsra.rar-contents/imqxm.jar could not be opened, does it exist?

Do I really need imq.jar, imqxm.jar, and these internationalization JARs in the RAR ?

jsalvo at 2007-7-7 > top of java,Application & Integration Servers,Sun Java System Message Queue...
# 2

OK .. I removed imq.jar from imqjmsra.rar.

I also updated ra.xml so that:

<resourceadapter>

<resourceadapter-class>

com.sun.messaging.jms.ra.ResourceAdapter

</resourceadapter-class>

<config-property>

<config-property-name>

ConnectionURL

</config-property-name>

<config-property-type>

java.lang.String

</config-property-type>

<config-property-value>

mq://192.168.0.75:7676/

</config-property-value>

</config-property>

...

.. then deploying the new RAR to JBoss, I get:

2006-12-01 16:16:09,540 ERROR [STDERR] 1/12/2006 16:16:09 com.sun.messaging.jms.ra.ResourceAdapter start

INFO: MQJMSRA_RA1101: SJSMQ JMS Resource Adapter starting...

================================================================================

Sun Java(tm) System Message Queue 4.0

Sun Microsystems, Inc.

Version: 4.0 (Build 28-a)

Compile: Tue May 2 09:50:18 PDT 2006

Copyright (c) 2006 Sun Microsystems, Inc. All rights reserved.

SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.

This product includes code licensed from RSA Data Security.

================================================================================

2006-12-01 16:16:09,857 ERROR [STDERR] 1/12/2006 16:16:09 com.sun.messaging.jms.ra.ResourceAdapter start

INFO: MQJMSRA_RA1101: SJSMQ JMS ResourceAdaapter configuration=

raUID=null

brokerType =REMOTE

brokerInstanceName=imqbroker

brokerBindAddress=null

brokerPort =7676

brokerHomeDir=null

brokerVarDir=null

brokerJavaDir=null

brokerArgs =null

brokerStartTimeout=10000

adminUsername=admin

adminPassFile=null

useJNDIRmiServiceURL=true

rmiRegistryPort =1099

startRmiRegistry=false

useSSLJMXConnector=true

brokerEnableHA =false

clusterId=null

brokerId=null

jmxServiceURL=null

dbType=null

dbProps={}

dsProps={}

ConnectionURL=mq://192.168.0.75:7676/

UserName=guest

ReconnectEnabled=false

ReconnectInterval=5000

ReconnectAttempts=6

AddressListBehavior=PRIORITY

AddressListIterations=1

InAppClientContainer=false

InClusteredContainer=false

GroupName=null

2006-12-01 16:16:09,859 ERROR [STDERR] 1/12/2006 16:16:09 com.sun.messaging.jms.ra.ResourceAdapter start

INFO: MQJMSRA_RA1101: start:SJSMQ JMSRA Connection Factory Config={imqOverrideJMSPriority=false, imqConsumerFlowLimit=1000, imqOverrideJMSExpiration=false, imqAddressListIterations=1, imqLoadMaxToServerSession=true, imqConnectionType=TCP, imqPingInterval=30, imqSetJMSXUserID=false, imqConfiguredClientID=, imqSSLProviderClassname=com.sun.net.ssl.internal.ssl.Provider, imqJMSDeliveryMode=PERSISTENT, imqConnectionFlowLimit=1000, imqConnectionURL=http://localhost/imq/tunnel, imqBrokerServiceName=, imqJMSPriority=4, imqBrokerHostName=localhost, imqJMSExpiration=0, imqAckOnProduce=, imqEnableSharedClientID=false, imqAckTimeout=0, imqAckOnAcknowledge=, imqConsumerFlowThreshold=50, imqDefaultPassword=guest, imqQueueBrowserMaxMessagesPerRetrieve=1000, imqDefaultUsername=guest, imqReconnectEnabled=false, imqConnectionFlowCount=100, imqAddressListBehavior=PRIORITY, imqReconnectAttempts=6, imqSetJMSXAppID=false, imqConnectionHandler=com.sun.messaging.jmq.jmsclient.protocol.tcp.TCPStreamHandler, imqSetJMSXRcvTimestamp=false, imqBrokerServicePort=0, imqDisableSetClientID=false, imqSetJMSXConsumerTXID=false, imqOverrideJMSDeliveryMode=false, imqBrokerHostPort=7676, imqQueueBrowserRetrieveTimeout=60000, imqSetJMSXProducerTXID=false, imqSSLIsHostTrusted=false, imqConnectionFlowLimitEnabled=false, imqReconnectInterval=5000, imqAddressList=mq://192.168.0.75:7676/, imqOverrideJMSHeadersToTemporaryDestinations=false}

I have a cluster of SunOne JMS brokers. How do I specify that in the ra.xml file ?

That is, what is the difference between ConnectionURL and AddressList in the ra.xml file ?

jsalvo at 2007-7-7 > top of java,Application & Integration Servers,Sun Java System Message Queue...