You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@geronimo.apache.org by Kevan Miller <ke...@gmail.com> on 2008/07/19 18:20:40 UTC
Re: Cannot deploy wmq.jmsra.rar (WebSphere MQ)
On Jun 12, 2008, at 7:29 PM, sbyonge wrote:
>
> I am having problem with deploying wmq.jmsra.rar in Geronimo 2.1.1
>
> Deployment failed:
> The plan is trying to set attributes: [queueManager, transportType]
This problem should be fixed in current source trees (branches/2.1 and
trunk). Here's a pointer to our 2.1 nightly build. Could you confirm
whether or not this fixes your problem?
http://people.apache.org/builds/geronimo/server/binaries/2.1/20080719
--kevan
Re: Cannot deploy wmq.jmsra.rar (WebSphere MQ)
Posted by sbyonge <sb...@gmail.com>.
Thanks for resolving MQ RA deployment. I'll pass on to MQ support team.
Kevan Miller wrote:
>
> Hi,
> I've been told that this is a known MQ issue. Probably best to contact
> MQ support...
>
> --kevan
>
>
>
--
View this message in context: http://www.nabble.com/Cannot-deploy-wmq.jmsra.rar-%28WebSphere-MQ%29-tp17811963s134p18634363.html
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.
Re: Cannot deploy wmq.jmsra.rar (WebSphere MQ)
Posted by Kevan Miller <ke...@gmail.com>.
Hi,
I've been told that this is a known MQ issue. Probably best to contact
MQ support...
--kevan
Re: Cannot deploy wmq.jmsra.rar (WebSphere MQ)
Posted by sbyonge <sb...@gmail.com>.
I am deploying RAR separately from my test app. My app is deployed as ear and
dependency is specified in web.xml. To simplify testing, I removed MDB and
test code is contained in a single servlet (WmqServlet). No MQ libraries
are included in the ear file. Please let me know if you need any additional
information
gmo-mq.xml (MQ RAR deployment plan - deployed with wmq.jmsra.rar using
console application)
<?xml version="1.0" encoding="UTF-8"?>
<connector xmlns="http://geronimo.apache.org/xml/ns/j2ee/connector-1.2"
xmlns:sys="http://geronimo.apache.org/xml/ns/deployment-1.2"
xmlns:nam="http://geronimo.apache.org/xml/ns/naming-1.2">
<sys:environment>
<sys:moduleId>
<sys:groupId>gmo.mq</sys:groupId>
<sys:artifactId>jmsra</sys:artifactId>
<sys:version>1.0</sys:version>
<sys:type>rar</sys:type>
</sys:moduleId>
</sys:environment>
<resourceadapter>
<resourceadapter-instance>
<resourceadapter-name>MQRA</resourceadapter-name>
<nam:workmanager>
<nam:gbean-link>DefaultWorkManager</nam:gbean-link>
</nam:workmanager>
</resourceadapter-instance>
<outbound-resourceadapter>
<connection-definition>
<connectionfactory-interface>javax.jms.QueueConnectionFactory</connectionfactory-interface>
<connectiondefinition-instance>
<name>MyQueueConnectionFactory</name>
<config-property-setting
name="queueManager">...</config-property-setting>
<config-property-setting
name="channel">...</config-property-setting>
<config-property-setting
name="transportType">CLIENT</config-property-setting>
<config-property-setting
name="hostName">...</config-property-setting>
<config-property-setting
name="port">1414</config-property-setting>
<connectionmanager>
<!--
<xa-transaction/>
-->
<local-transaction/>
<single-pool>
<max-size>50</max-size>
<min-size>20</min-size>
<blocking-timeout-milliseconds>5000</blocking-timeout-milliseconds>
<idle-timeout-minutes>2</idle-timeout-minutes>
<match-all />
</single-pool>
</connectionmanager>
</connectiondefinition-instance>
</connection-definition>
</outbound-resourceadapter>
</resourceadapter>
<adminobject>
<adminobject-interface>javax.jms.Queue</adminobject-interface>
<adminobject-class>com.ibm.mq.connector.outbound.MQQueueProxy</adminobject-class>
<adminobject-instance>
<message-destination-name>RequestQueue</message-destination-name>
<config-property-setting
name="baseQueueName">...</config-property-setting>
<config-property-setting
name="baseQueueManagerName">...</config-property-setting>
<config-property-setting
name="targetClient">MQ</config-property-setting>
</adminobject-instance>
<adminobject-instance>
<message-destination-name>ReplyQueue</message-destination-name>
<config-property-setting
name="baseQueueName">...</config-property-setting>
<config-property-setting
name="baseQueueManagerName">...</config-property-setting>
</adminobject-instance>
</adminobject>
</connector>
// web deployment descriptor for WmqServlet
web.xml
<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
version="2.5">
<display-name>Geronimo MQ testing</display-name>
<servlet>
<servlet-name>WmqServlet</servlet-name>
<servlet-class>gmo.servlet.WmqServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>WmqServlet</servlet-name>
<url-pattern>/wmq</url-pattern>
</servlet-mapping>
<resource-ref>
<res-ref-name>jms/wmqcf</res-ref-name>
<res-type>javax.jms.QueueConnectionFactory</res-type>
<res-auth>Container</res-auth>
<res-sharing-scope>Shareable</res-sharing-scope>
</resource-ref>
<resource-env-ref>
<resource-env-ref-name>jms/RequestQueue</resource-env-ref-name>
<resource-env-ref-type>javax.jms.Queue</resource-env-ref-type>
</resource-env-ref>
<resource-env-ref>
<resource-env-ref-name>jms/ReplyQueue</resource-env-ref-name>
<resource-env-ref-type>javax.jms.Queue</resource-env-ref-type>
</resource-env-ref>
</web-app>
geronimo-web.xml
<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns="http://geronimo.apache.org/xml/ns/j2ee/web-2.0.1"
xmlns:sys="http://geronimo.apache.org/xml/ns/deployment-1.2"
xmlns:nam="http://geronimo.apache.org/xml/ns/naming-1.2">
<sys:environment>
<sys:moduleId>
<sys:groupId>gmo.testing</sys:groupId>
<sys:artifactId>mq</sys:artifactId>
<sys:version>1.0.0</sys:version>
<sys:type>war</sys:type>
</sys:moduleId>
<sys:dependencies>
<sys:dependency>
<sys:groupId>gmo.mq</sys:groupId>
<sys:artifactId>jmsra</sys:artifactId>
<sys:version>1.0</sys:version>
<sys:type>rar</sys:type>
</sys:dependency>
</sys:dependencies>
</sys:environment>
<nam:resource-ref>
<nam:ref-name>jms/wmqcf</nam:ref-name>
<nam:resource-link>MyQueueConnectionFactory</nam:resource-link>
</nam:resource-ref>
<nam:resource-env-ref>
<nam:ref-name>jms/RequestQueue</nam:ref-name>
<nam:message-destination-link>RequestQueue</nam:message-destination-link>
</nam:resource-env-ref>
<nam:resource-env-ref>
<nam:ref-name>jms/ReplyQueue</nam:ref-name>
<nam:message-destination-link>ReplyQueue</nam:message-destination-link>
</nam:resource-env-ref>
</web-app>
// Servlet used for testing MQ
public class WmqServlet extends HttpServlet
{
private final Logger log = Logger.getLogger(WmqServlet.class);
@Resource(name="jms/wmqcf")
private QueueConnectionFactory qcf;
@Resource(name="jms/RequestQueue")
private Queue qRequest;
@Resource(name="jms/ReplyQueue")
private Queue qReply;
@Override
protected void doGet(HttpServletRequest request, HttpServletResponse
response)
throws ServletException, IOException
{
try {
processMessage();
}
catch (Exception e) {
e.printStackTrace();
}
}
private void processMessage() throws NamingException, JMSException
{
log.info("Testing MQ send/receive");
log.info("ConnectionFactory=" + qcf);
log.info("Request Queue=" + qRequest);
log.info("Reply Queue=" + qReply);
QueueConnection qc = qcf.createQueueConnection();
try {
log.info("Connection created=" + qc);
qc.start();
QueueSession session = qc.createQueueSession(false,
QueueSession.AUTO_ACKNOWLEDGE);
log.info("Session created=" + session);
QueueSender producer = session.createSender(qRequest);
log.info("Producer created=" + producer);
Message msg = session.createTextMessage("ACC12345");
msg.setJMSReplyTo(qReply); // failing here
producer.send(msg);
log.info("Message sent=" + msg);
QueueReceiver receiver = session.createReceiver(qReply);
log.info("Receiver created=" + receiver);
msg = receiver.receive(30000);
log.info("Got message: " + msg);
receiver.close();
producer.close();
session.close();
}
finally {
qc.close();
}
}
}
Stack trace:
10:28:37,612 INFO [WmqServlet] Testing MQ send/receive
10:28:37,612 INFO [WmqServlet]
ConnectionFactory=com.ibm.mq.connector.outbound.
QueueConnectionFactoryImpl@19b39f6
10:28:37,612 INFO [WmqServlet] Request
Queue=com.ibm.mq.connector.outbound.MQQu
eueProxy@1fa6619
10:28:37,612 INFO [WmqServlet] Reply
Queue=com.ibm.mq.connector.outbound.MQQueu
eProxy@4528a3
10:28:40,217 INFO [WmqServlet] Connection
created=com.ibm.mq.connector.outbound
.QueueConnectionWrapper@1fce0aa
10:28:40,627 INFO [WmqServlet] Session
created=com.ibm.mq.connector.outbound.Qu
eueSessionWrapper@a1fa7f
10:28:40,768 INFO [WmqServlet] Producer
created=com.ibm.mq.connector.outbound.Q
ueueSenderWrapper@129607b
java.lang.ClassCastException: com.ibm.mq.connector.outbound.MQQueueProxy
cannot
be cast to com.ibm.mq.jms.MQQueue
at
com.ibm.mq.jms.MQJMSMessage.setHeaderFromMQMD(MQJMSMessage.java:899)
at
com.ibm.mq.jms.MQMessageProducer.sendInternal(MQMessageProducer.java:
1813)
at
com.ibm.mq.jms.MQMessageProducer.send(MQMessageProducer.java:1139)
at
com.ibm.mq.jms.MQMessageProducer.send(MQMessageProducer.java:1215)
at
com.ibm.mq.connector.outbound.MessageProducerWrapper.send(MessageProd
ucerWrapper.java:203)
at gmo.servlet.WmqServlet.processMessage(Unknown Source)
at gmo.servlet.WmqServlet.doGet(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:693)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
at
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487
)
at
org.apache.geronimo.jetty6.InternalJettyServletHolder.handle(Internal
JettyServletHolder.java:65)
at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:3
62)
at
org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.jav
a:216)
at
org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:1
81)
at
org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:7
26)
at
org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
at
org.apache.geronimo.jetty6.handler.TwistyWebAppContext.access$101(Twi
styWebAppContext.java:40)
at
org.apache.geronimo.jetty6.handler.TwistyWebAppContext$TwistyHandler.
handle(TwistyWebAppContext.java:65)
at
org.apache.geronimo.jetty6.handler.ThreadClassloaderHandler.handle(Th
readClassloaderHandler.java:46)
at
org.apache.geronimo.jetty6.handler.InstanceContextHandler.handle(Inst
anceContextHandler.java:58)
at
org.apache.geronimo.jetty6.handler.UserTransactionHandler.handle(User
TransactionHandler.java:48)
at
org.apache.geronimo.jetty6.handler.ComponentContextHandler.handle(Com
ponentContextHandler.java:47)
at
org.apache.geronimo.jetty6.handler.TwistyWebAppContext.handle(TwistyW
ebAppContext.java:59)
at
org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHand
lerCollection.java:206)
at
org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.
java:114)
at
org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:1
39)
at org.mortbay.jetty.Server.handle(Server.java:324)
at
org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:50
5)
at
org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpCo
nnection.java:828)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:514)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)
at
org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.ja
va:395)
at org.apache.geronimo.pool.ThreadPool$1.run(ThreadPool.java:214)
at
org.apache.geronimo.pool.ThreadPool$ContextClassLoaderRunnable.run(Th
readPool.java:344)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExec
utor.java:885)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
.java:907)
at java.lang.Thread.run(Thread.java:619)
Kevan Miller wrote:
>
>
> On Jul 22, 2008, at 10:13 PM, sbyonge wrote:
>
>>
>> I am not sure why I am getting ClassCastException. It may be my local
>> setting and Geronimo is working fine. Any suggestion?
>>
>> QueueSender producer = session.createSender(requestQueue);
>>
>> Message msg = session.createTextMessage("...");
>> // If I comment out "setJMSReplyTo" method, message is sent OK
>> msg.setJMSReplyTo(replyQueue); // Gererating ClassCastException
>> producer.send(msg);
>>
>> java.lang.ClassCastException:
>> com.ibm.mq.connector.outbound.MQQueueProxy
>> cannot
>> be cast to com.ibm.mq.jms.MQQueue
>> at
>> com.ibm.mq.jms.MQJMSMessage.setHeaderFromMQMD(MQJMSMessage.java:899)
>> at
>> com.ibm.mq.jms.MQMessageProducer.sendInternal(MQMessageProducer.java:
>> 1813)
>> at
>> com.ibm.mq.jms.MQMessageProducer.send(MQMessageProducer.java:1139)
>> at
>> com.ibm.mq.jms.MQMessageProducer.send(MQMessageProducer.java:1215)
>> at
>> com.ibm.mq.connector.outbound.MessageProducerWrapper.send(MessageProd
>> ucerWrapper.java:203)
>
> Heh. Don't take it personally, but I was hoping we were done with you
> and your problem... ;-)
>
> Can you email your full stack trace? This exception is occurring
> within Geronimo, correct? Not an external MQ/JMS client?
>
> Apologies if you've already told us this info:
>
> How are you deploying the RA? Separately from your app? Or all in a
> single ear? What's your ear deployment plan look like? Are you
> packaging any MQ libraries in your ear?
>
> --kevan
>
>
--
View this message in context: http://www.nabble.com/Cannot-deploy-wmq.jmsra.rar-%28WebSphere-MQ%29-tp17811963s134p18613373.html
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.
Re: Cannot deploy wmq.jmsra.rar (WebSphere MQ)
Posted by Kevan Miller <ke...@gmail.com>.
On Jul 22, 2008, at 10:13 PM, sbyonge wrote:
>
> I am not sure why I am getting ClassCastException. It may be my local
> setting and Geronimo is working fine. Any suggestion?
>
> QueueSender producer = session.createSender(requestQueue);
>
> Message msg = session.createTextMessage("...");
> // If I comment out "setJMSReplyTo" method, message is sent OK
> msg.setJMSReplyTo(replyQueue); // Gererating ClassCastException
> producer.send(msg);
>
> java.lang.ClassCastException:
> com.ibm.mq.connector.outbound.MQQueueProxy
> cannot
> be cast to com.ibm.mq.jms.MQQueue
> at
> com.ibm.mq.jms.MQJMSMessage.setHeaderFromMQMD(MQJMSMessage.java:899)
> at
> com.ibm.mq.jms.MQMessageProducer.sendInternal(MQMessageProducer.java:
> 1813)
> at
> com.ibm.mq.jms.MQMessageProducer.send(MQMessageProducer.java:1139)
> at
> com.ibm.mq.jms.MQMessageProducer.send(MQMessageProducer.java:1215)
> at
> com.ibm.mq.connector.outbound.MessageProducerWrapper.send(MessageProd
> ucerWrapper.java:203)
Heh. Don't take it personally, but I was hoping we were done with you
and your problem... ;-)
Can you email your full stack trace? This exception is occurring
within Geronimo, correct? Not an external MQ/JMS client?
Apologies if you've already told us this info:
How are you deploying the RA? Separately from your app? Or all in a
single ear? What's your ear deployment plan look like? Are you
packaging any MQ libraries in your ear?
--kevan
Re: Cannot deploy wmq.jmsra.rar (WebSphere MQ)
Posted by sbyonge <sb...@gmail.com>.
I am not sure why I am getting ClassCastException. It may be my local
setting and Geronimo is working fine. Any suggestion?
QueueSender producer = session.createSender(requestQueue);
Message msg = session.createTextMessage("...");
// If I comment out "setJMSReplyTo" method, message is sent OK
msg.setJMSReplyTo(replyQueue); // Gererating ClassCastException
producer.send(msg);
java.lang.ClassCastException: com.ibm.mq.connector.outbound.MQQueueProxy
cannot
be cast to com.ibm.mq.jms.MQQueue
at
com.ibm.mq.jms.MQJMSMessage.setHeaderFromMQMD(MQJMSMessage.java:899)
at
com.ibm.mq.jms.MQMessageProducer.sendInternal(MQMessageProducer.java:
1813)
at
com.ibm.mq.jms.MQMessageProducer.send(MQMessageProducer.java:1139)
at
com.ibm.mq.jms.MQMessageProducer.send(MQMessageProducer.java:1215)
at
com.ibm.mq.connector.outbound.MessageProducerWrapper.send(MessageProd
ucerWrapper.java:203)
sbyonge wrote:
>
> "2.1/20080722" build works a lot better. I can send messages now but I
> cannot set the reply queue. If I call
> TextMessage.setJMSReplyTo(replyQueue), I get the following error but this
> may be related to WMQ bug -
> http://www-1.ibm.com/support/docview.wss?rs=171&uid=swg1IZ13135. I'll
> download this patch and try again.
>
> 2008.07.22 13:58:09 MQJMS1016E an internal error has occurred. Please
> contact yo
> ur system administrator. Detail: java.lang.ClassCastException:
> com.ibm.mq.connec
> tor.outbound.MQQueueProxy cannot be cast to com.ibm.jms.JMSDestination
> javax.jms.JMSException: MQJMS1016: an internal error has occurred. Please
> contac
> t your system administrator. Detail: java.lang.ClassCastException:
> com.ibm.mq.co
> nnector.outbound.MQQueueProxy cannot be cast to com.ibm.jms.JMSDestination
> at
> com.ibm.mq.jms.services.ConfigEnvironment.newException(ConfigEnvironm
> ent.java:644)
> at
> com.ibm.mq.jms.MQMessageProducer.sendInternal(MQMessageProducer.java:
> 1779)
> at
> com.ibm.mq.jms.MQMessageProducer.send(MQMessageProducer.java:1139)
> at
> com.ibm.mq.jms.MQMessageProducer.send(MQMessageProducer.java:1215)
> at
> com.ibm.mq.connector.outbound.MessageProducerWrapper.send(MessageProd
> ucerWrapper.java:203)
>
>
>
> Kevan Miller wrote:
>>
>>
>> On Jul 21, 2008, at 6:27 PM, sbyonge wrote:
>>
>>>
>>> I am getting the same error. I downloaded from
>>> http://people.apache.org/builds/geronimo/server/binaries/2.1/20080721/geronimo-jetty6-javaee5-2.1.2-SNAPSHOT-bin.zip
>>> .
>>> Is this the right build? Maybe your fix is not included in this
>>> build and
>>> I'll try tomorrow. I could not try the build from trunk. There is no
>>> binary in 20080721 directory.
>>
>> Doesn't look like that build would have contained the fix. Try --
>> http://people.apache.org/builds/geronimo/server/binaries/2.1/20080722/
>>
>> --kevan
>>
>
>
--
View this message in context: http://www.nabble.com/Cannot-deploy-wmq.jmsra.rar-%28WebSphere-MQ%29-tp17811963s134p18602593.html
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.
Re: Cannot deploy wmq.jmsra.rar (WebSphere MQ)
Posted by sbyonge <sb...@gmail.com>.
"2.1/20080722" build works a lot better. I can send messages now but I
cannot set the reply queue. If I call
TextMessage.setJMSReplyTo(replyQueue), I get the following error but this
may be related to WMQ bug -
http://www-1.ibm.com/support/docview.wss?rs=171&uid=swg1IZ13135. I'll
download this patch and try again.
2008.07.22 13:58:09 MQJMS1016E an internal error has occurred. Please
contact yo
ur system administrator. Detail: java.lang.ClassCastException:
com.ibm.mq.connec
tor.outbound.MQQueueProxy cannot be cast to com.ibm.jms.JMSDestination
javax.jms.JMSException: MQJMS1016: an internal error has occurred. Please
contac
t your system administrator. Detail: java.lang.ClassCastException:
com.ibm.mq.co
nnector.outbound.MQQueueProxy cannot be cast to com.ibm.jms.JMSDestination
at
com.ibm.mq.jms.services.ConfigEnvironment.newException(ConfigEnvironm
ent.java:644)
at
com.ibm.mq.jms.MQMessageProducer.sendInternal(MQMessageProducer.java:
1779)
at
com.ibm.mq.jms.MQMessageProducer.send(MQMessageProducer.java:1139)
at
com.ibm.mq.jms.MQMessageProducer.send(MQMessageProducer.java:1215)
at
com.ibm.mq.connector.outbound.MessageProducerWrapper.send(MessageProd
ucerWrapper.java:203)
Kevan Miller wrote:
>
>
> On Jul 21, 2008, at 6:27 PM, sbyonge wrote:
>
>>
>> I am getting the same error. I downloaded from
>> http://people.apache.org/builds/geronimo/server/binaries/2.1/20080721/geronimo-jetty6-javaee5-2.1.2-SNAPSHOT-bin.zip
>> .
>> Is this the right build? Maybe your fix is not included in this
>> build and
>> I'll try tomorrow. I could not try the build from trunk. There is no
>> binary in 20080721 directory.
>
> Doesn't look like that build would have contained the fix. Try --
> http://people.apache.org/builds/geronimo/server/binaries/2.1/20080722/
>
> --kevan
>
--
View this message in context: http://www.nabble.com/Cannot-deploy-wmq.jmsra.rar-%28WebSphere-MQ%29-tp17811963s134p18595602.html
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.
Re: Cannot deploy wmq.jmsra.rar (WebSphere MQ)
Posted by Kevan Miller <ke...@gmail.com>.
On Jul 21, 2008, at 6:27 PM, sbyonge wrote:
>
> I am getting the same error. I downloaded from
> http://people.apache.org/builds/geronimo/server/binaries/2.1/20080721/geronimo-jetty6-javaee5-2.1.2-SNAPSHOT-bin.zip
> .
> Is this the right build? Maybe your fix is not included in this
> build and
> I'll try tomorrow. I could not try the build from trunk. There is no
> binary in 20080721 directory.
Doesn't look like that build would have contained the fix. Try -- http://people.apache.org/builds/geronimo/server/binaries/2.1/20080722/
--kevan
Re: Cannot deploy wmq.jmsra.rar (WebSphere MQ)
Posted by sbyonge <sb...@gmail.com>.
I am getting the same error. I downloaded from
http://people.apache.org/builds/geronimo/server/binaries/2.1/20080721/geronimo-jetty6-javaee5-2.1.2-SNAPSHOT-bin.zip.
Is this the right build? Maybe your fix is not included in this build and
I'll try tomorrow. I could not try the build from trunk. There is no
binary in 20080721 directory.
Jarek Gawor-2 wrote:
>
> I just committed another fix. Please try it with the next snapshot.
>
> You're testing with 2.1.2-SNAPSHOT, right? I was testing with trunk...
>
> Jarek
>
> On Mon, Jul 21, 2008 at 12:50 PM, A K <sb...@gmail.com> wrote:
>> I posted the complete log in the forum. I am getting
>> NoSuchAttributeException
>> Caused by: org.apache.geronimo.kernel.NoSuchAttributeException: Unknown
>> attribut
>> e "logWriterEnabled" in gbean
>> gmo.mq/jmsra/1.0/rar?J2EEApplication=null,JCAResou
>> rce=gmo.mq/jmsra/1.0/rar,ResourceAdapter=gmo.mq/jmsra/1.0/rar,ResourceAdapterMod
>> ule=gmo.mq/jmsra/1.0/rar,j2eeType=JCAResourceAdapter,name=MQRA
>>
>> I looked ra.xml and property type is java.lang.String. Could it be
>> something to do with mapping String to primitive boolean type or vice
>> versa?
>>
>> <config-property>
>> <config-property-name>logWriterEnabled</config-property-name>
>> <config-property-type>java.lang.String</config-property-type>
>> <config-property-value>true</config-property-value>
>> </config-property>
>>
>> On Sat, Jul 19, 2008 at 12:20 PM, Kevan Miller <ke...@gmail.com>
>> wrote:
>>>
>>> On Jun 12, 2008, at 7:29 PM, sbyonge wrote:
>>>
>>> I am having problem with deploying wmq.jmsra.rar in Geronimo 2.1.1
>>>
>>> Deployment failed:
>>> The plan is trying to set attributes: [queueManager, transportType]
>>>
>>> This problem should be fixed in current source trees (branches/2.1 and
>>> trunk). Here's a pointer to our 2.1 nightly build. Could you confirm
>>> whether
>>> or not this fixes your problem?
>>> http://people.apache.org/builds/geronimo/server/binaries/2.1/20080719
>>> --kevan
>>
>
>
--
View this message in context: http://www.nabble.com/Cannot-deploy-wmq.jmsra.rar-%28WebSphere-MQ%29-tp17811963s134p18578916.html
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.
Re: Cannot deploy wmq.jmsra.rar (WebSphere MQ)
Posted by Jarek Gawor <jg...@gmail.com>.
I just committed another fix. Please try it with the next snapshot.
You're testing with 2.1.2-SNAPSHOT, right? I was testing with trunk...
Jarek
On Mon, Jul 21, 2008 at 12:50 PM, A K <sb...@gmail.com> wrote:
> I posted the complete log in the forum. I am getting
> NoSuchAttributeException
> Caused by: org.apache.geronimo.kernel.NoSuchAttributeException: Unknown
> attribut
> e "logWriterEnabled" in gbean
> gmo.mq/jmsra/1.0/rar?J2EEApplication=null,JCAResou
> rce=gmo.mq/jmsra/1.0/rar,ResourceAdapter=gmo.mq/jmsra/1.0/rar,ResourceAdapterMod
> ule=gmo.mq/jmsra/1.0/rar,j2eeType=JCAResourceAdapter,name=MQRA
>
> I looked ra.xml and property type is java.lang.String. Could it be
> something to do with mapping String to primitive boolean type or vice versa?
>
> <config-property>
> <config-property-name>logWriterEnabled</config-property-name>
> <config-property-type>java.lang.String</config-property-type>
> <config-property-value>true</config-property-value>
> </config-property>
>
> On Sat, Jul 19, 2008 at 12:20 PM, Kevan Miller <ke...@gmail.com>
> wrote:
>>
>> On Jun 12, 2008, at 7:29 PM, sbyonge wrote:
>>
>> I am having problem with deploying wmq.jmsra.rar in Geronimo 2.1.1
>>
>> Deployment failed:
>> The plan is trying to set attributes: [queueManager, transportType]
>>
>> This problem should be fixed in current source trees (branches/2.1 and
>> trunk). Here's a pointer to our 2.1 nightly build. Could you confirm whether
>> or not this fixes your problem?
>> http://people.apache.org/builds/geronimo/server/binaries/2.1/20080719
>> --kevan
>
Re: Cannot deploy wmq.jmsra.rar (WebSphere MQ)
Posted by A K <sb...@gmail.com>.
I posted the complete log in the forum. I am getting
NoSuchAttributeException
Caused by: org.apache.geronimo.kernel.NoSuchAttributeException: Unknown
attribut
e "logWriterEnabled" in gbean
gmo.mq/jmsra/1.0/rar?J2EEApplication=null,JCAResou
rce=
gmo.mq/jmsra/1.0/rar,ResourceAdapter=gmo.mq/jmsra/1.0/rar,ResourceAdapterMod
ule=gmo.mq/jmsra/1.0/rar,j2eeType=JCAResourceAdapter,name=MQRA
I looked ra.xml and property type is java.lang.String. Could it be
something to do with mapping String to primitive boolean type or vice versa?
<config-property>
<config-property-name>logWriterEnabled</config-property-name>
<config-property-type>java.lang.String</config-property-type>
<config-property-value>true</config-property-value>
</config-property>
On Sat, Jul 19, 2008 at 12:20 PM, Kevan Miller <ke...@gmail.com>
wrote:
>
> On Jun 12, 2008, at 7:29 PM, sbyonge wrote:
>
>
> I am having problem with deploying wmq.jmsra.rar in Geronimo 2.1.1
>
> Deployment failed:
> The plan is trying to set attributes: [queueManager, transportType]
>
>
> This problem should be fixed in current source trees (branches/2.1 and
> trunk). Here's a pointer to our 2.1 nightly build. Could you confirm whether
> or not this fixes your problem?
>
> http://people.apache.org/builds/geronimo/server/binaries/2.1/20080719
>
> --kevan
>
Re: Cannot deploy wmq.jmsra.rar (WebSphere MQ)
Posted by Kevan Miller <ke...@gmail.com>.
Thanks for testing! I used a deployment plan that I already had,
rather than cut/paste of your plan. Expect Jarek did the same. Can't
look at this right now. Hopefully soon.
--kevan
On Jul 21, 2008, at 10:02 AM, sbyonge <sb...@gmail.com> wrote:
>
> I see NoSuchAttributeException from the log
>
> Caused by: org.apache.geronimo.kernel.NoSuchAttributeException:
> Unknown
> attribut
> e "logWriterEnabled" in gbean
> gmo.mq/jmsra/1.0/rar?J2EEApplication=null,JCAResou
> rce=gmo.mq/jmsra/1.0/rar,ResourceAdapter=gmo.mq/jmsra/1.0/
> rar,ResourceAdapterMod
> ule=gmo.mq/jmsra/1.0/rar,j2eeType=JCAResourceAdapter,name=MQRA
>
> I looked ra.xml and property type for logWriterEnabled is
> java.lang.String.
> Could it be something to do with mapping String to primitive boolean
> type or
> vice versa?
>
> <config-property>
> <config-property-name>logWriterEnabled</config-property-name>
> <config-property-type>java.lang.String</config-property-type>
> <config-property-value>true</config-property-value>
> </config-property>
>
>
> sbyonge wrote:
>>
>> It does not seem to work. Although console application does not
>> complain,
>> I am getting the following errors while deploying on the server log.
>>
>> [ConfigurationUtil] Could not load gbean gmo.mq/jmsra/1.0/rar
>> ?J2EEApplication=null,JCAResource=gmo.mq/jmsra/1.0/
>> rar,ResourceAdapter=gmo.mq/jm
>> sra/1.0/rar,ResourceAdapterModule=gmo.mq/jmsra/1.0/
>> rar,j2eeType=JCAResourceAdapt
>> er,name=MQRA
>> org.apache.geronimo.gbean.InvalidConfigurationException: Could not
>> inject
>> config
>> uration data into the GBean
>> gmo.mq/jmsra/1.0/rar?J2EEApplication=null,JCAResourc
>> e=gmo.mq/jmsra/1.0/rar,ResourceAdapter=gmo.mq/jmsra/1.0/
>> rar,ResourceAdapterModul
>> e=gmo.mq/jmsra/1.0/rar,j2eeType=JCAResourceAdapter,name=MQRA
>> at
>> org.apache.geronimo.gbean.runtime.GBeanInstance.<init>(GBeanInstance.
>> java:377)
>> at
>> org.apache.geronimo.kernel.basic.BasicKernel.loadGBean(BasicKernel.ja
>> va:354)
>> at
>> org.apache.geronimo.kernel.config.ConfigurationUtil.startConfiguratio
>> nGBeans(ConfigurationUtil.java:441)
>> at
>> org.apache.geronimo.kernel.config.KernelConfigurationManager.start(Ke
>> rnelConfigurationManager.java:188)
>> at
>> org.apache.geronimo.kernel.config.SimpleConfigurationManager.startCon
>> figuration(SimpleConfigurationManager.java:562)
>> at
>> org.apache.geronimo.kernel.config.SimpleConfigurationManager.startCon
>> figuration(SimpleConfigurationManager.java:543)
>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
>> java:39)
>> at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
>> sorImpl.java:25)
>> at java.lang.reflect.Method.invoke(Method.java:597)
>> at
>> org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(Refl
>> ectionMethodInvoker.java:34)
>> at
>> org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperatio
>> n.java:124)
>> at
>> org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.
>> java:832)
>> at
>> org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:5
>> 7)
>> at
>> org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperat
>> ionInvoker.java:35)
>> at
>> org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(Pro
>> xyMethodInterceptor.java:96)
>> at
>> org.apache.geronimo.gbean.GBeanLifecycle$$EnhancerByCGLIB$$64bde49a.s
>> tartConfiguration(<generated>)
>> at
>> org.apache.geronimo.deployment.plugin.local.StartCommand.run(StartCom
>> mand.java:67)
>> at java.lang.Thread.run(Thread.java:619)
>> Caused by: org.apache.geronimo.kernel.NoSuchAttributeException:
>> Unknown
>> attribut
>> e "logWriterEnabled" in gbean
>> gmo.mq/jmsra/1.0/rar?J2EEApplication=null,JCAResou
>> rce=gmo.mq/jmsra/1.0/rar,ResourceAdapter=gmo.mq/jmsra/1.0/
>> rar,ResourceAdapterMod
>> ule=gmo.mq/jmsra/1.0/rar,j2eeType=JCAResourceAdapter,name=MQRA
>> at
>> org.apache.geronimo.gbean.runtime.GBeanInstance.getAttributeByName(GB
>> eanInstance.java:802)
>> at
>> org.apache.geronimo.gbean.runtime.GBeanInstance.setAttribute(GBeanIns
>> tance.java:751)
>> at
>> org.apache.geronimo.gbean.runtime.GBeanInstance.<init>(GBeanInstance.
>> java:372)
>> ... 18 more
>> org.apache.geronimo.kernel.config.LifecycleException: start of
>> gmo.mq/jmsra/1.0/
>> rar failed
>> at
>> org.apache.geronimo.kernel.config.SimpleConfigurationManager.startCon
>> figuration(SimpleConfigurationManager.java:579)
>> at
>> org.apache.geronimo.kernel.config.SimpleConfigurationManager.startCon
>> figuration(SimpleConfigurationManager.java:543)
>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
>> java:39)
>> at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
>> sorImpl.java:25)
>> at java.lang.reflect.Method.invoke(Method.java:597)
>> at
>> org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(Refl
>> ectionMethodInvoker.java:34)
>> at
>> org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperatio
>> n.java:124)
>> at
>> org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.
>> java:832)
>> at
>> org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:5
>> 7)
>> at
>> org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperat
>> ionInvoker.java:35)
>> at
>> org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(Pro
>> xyMethodInterceptor.java:96)
>> at
>> org.apache.geronimo.gbean.GBeanLifecycle$$EnhancerByCGLIB$$64bde49a.s
>> tartConfiguration(<generated>)
>> at
>> org.apache.geronimo.deployment.plugin.local.StartCommand.run(StartCom
>> mand.java:67)
>> at java.lang.Thread.run(Thread.java:619)
>> Caused by: org.apache.geronimo.kernel.config.InvalidConfigException:
>> Unknown sta
>> rt exception
>> at
>> org.apache.geronimo.kernel.config.ConfigurationUtil.startConfiguratio
>> nGBeans(ConfigurationUtil.java:522)
>> at
>> org.apache.geronimo.kernel.config.KernelConfigurationManager.start(Ke
>> rnelConfigurationManager.java:188)
>> at
>> org.apache.geronimo.kernel.config.SimpleConfigurationManager.startCon
>> figuration(SimpleConfigurationManager.java:562)
>> ... 14 more
>> Caused by: org.apache.geronimo.gbean.InvalidConfigurationException:
>> Could
>> not in
>> ject configuration data into the GBean
>> gmo.mq/jmsra/1.0/rar?J2EEApplication=null
>> ,JCAResource=gmo.mq/jmsra/1.0/rar,ResourceAdapter=gmo.mq/jmsra/1.0/
>> rar,ResourceA
>> dapterModule=gmo.mq/jmsra/1.0/
>> rar,j2eeType=JCAResourceAdapter,name=MQRA
>> at
>> org.apache.geronimo.gbean.runtime.GBeanInstance.<init>(GBeanInstance.
>> java:377)
>> at
>> org.apache.geronimo.kernel.basic.BasicKernel.loadGBean(BasicKernel.ja
>> va:354)
>> at
>> org.apache.geronimo.kernel.config.ConfigurationUtil.startConfiguratio
>> nGBeans(ConfigurationUtil.java:441)
>> ... 16 more
>> Caused by: org.apache.geronimo.kernel.NoSuchAttributeException:
>> Unknown
>> attribut
>> e "logWriterEnabled" in gbean
>> gmo.mq/jmsra/1.0/rar?J2EEApplication=null,JCAResou
>> rce=gmo.mq/jmsra/1.0/rar,ResourceAdapter=gmo.mq/jmsra/1.0/
>> rar,ResourceAdapterMod
>> ule=gmo.mq/jmsra/1.0/rar,j2eeType=JCAResourceAdapter,name=MQRA
>> at
>> org.apache.geronimo.gbean.runtime.GBeanInstance.getAttributeByName(GB
>> eanInstance.java:802)
>> at
>> org.apache.geronimo.gbean.runtime.GBeanInstance.setAttribute(GBeanIns
>> tance.java:751)
>> at
>> org.apache.geronimo.gbean.runtime.GBeanInstance.<init>(GBeanInstance.
>> java:372)
>> ... 18 more
>>
>>
>>
>> Kevan Miller wrote:
>>>
>>>
>>> On Jun 12, 2008, at 7:29 PM, sbyonge wrote:
>>>
>>>>
>>>> I am having problem with deploying wmq.jmsra.rar in Geronimo 2.1.1
>>>>
>>>> Deployment failed:
>>>> The plan is trying to set attributes: [queueManager, transportType]
>>>
>>> This problem should be fixed in current source trees (branches/2.1
>>> and
>>> trunk). Here's a pointer to our 2.1 nightly build. Could you confirm
>>> whether or not this fixes your problem?
>>>
>>> http://people.apache.org/builds/geronimo/server/binaries/
>>> 2.1/20080719
>>>
>>> --kevan
>>>
>>
>>
>
> --
> View this message in context: http://www.nabble.com/Cannot-deploy-wmq.jmsra.rar-%28WebSphere-MQ%29-tp17811963s134p18573051.html
> Sent from the Apache Geronimo - Users mailing list archive at
> Nabble.com.
>
Re: Cannot deploy wmq.jmsra.rar (WebSphere MQ)
Posted by sbyonge <sb...@gmail.com>.
I see NoSuchAttributeException from the log
Caused by: org.apache.geronimo.kernel.NoSuchAttributeException: Unknown
attribut
e "logWriterEnabled" in gbean
gmo.mq/jmsra/1.0/rar?J2EEApplication=null,JCAResou
rce=gmo.mq/jmsra/1.0/rar,ResourceAdapter=gmo.mq/jmsra/1.0/rar,ResourceAdapterMod
ule=gmo.mq/jmsra/1.0/rar,j2eeType=JCAResourceAdapter,name=MQRA
I looked ra.xml and property type for logWriterEnabled is java.lang.String.
Could it be something to do with mapping String to primitive boolean type or
vice versa?
<config-property>
<config-property-name>logWriterEnabled</config-property-name>
<config-property-type>java.lang.String</config-property-type>
<config-property-value>true</config-property-value>
</config-property>
sbyonge wrote:
>
> It does not seem to work. Although console application does not complain,
> I am getting the following errors while deploying on the server log.
>
> [ConfigurationUtil] Could not load gbean gmo.mq/jmsra/1.0/rar
> ?J2EEApplication=null,JCAResource=gmo.mq/jmsra/1.0/rar,ResourceAdapter=gmo.mq/jm
> sra/1.0/rar,ResourceAdapterModule=gmo.mq/jmsra/1.0/rar,j2eeType=JCAResourceAdapt
> er,name=MQRA
> org.apache.geronimo.gbean.InvalidConfigurationException: Could not inject
> config
> uration data into the GBean
> gmo.mq/jmsra/1.0/rar?J2EEApplication=null,JCAResourc
> e=gmo.mq/jmsra/1.0/rar,ResourceAdapter=gmo.mq/jmsra/1.0/rar,ResourceAdapterModul
> e=gmo.mq/jmsra/1.0/rar,j2eeType=JCAResourceAdapter,name=MQRA
> at
> org.apache.geronimo.gbean.runtime.GBeanInstance.<init>(GBeanInstance.
> java:377)
> at
> org.apache.geronimo.kernel.basic.BasicKernel.loadGBean(BasicKernel.ja
> va:354)
> at
> org.apache.geronimo.kernel.config.ConfigurationUtil.startConfiguratio
> nGBeans(ConfigurationUtil.java:441)
> at
> org.apache.geronimo.kernel.config.KernelConfigurationManager.start(Ke
> rnelConfigurationManager.java:188)
> at
> org.apache.geronimo.kernel.config.SimpleConfigurationManager.startCon
> figuration(SimpleConfigurationManager.java:562)
> at
> org.apache.geronimo.kernel.config.SimpleConfigurationManager.startCon
> figuration(SimpleConfigurationManager.java:543)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
> java:39)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> sorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at
> org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(Refl
> ectionMethodInvoker.java:34)
> at
> org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperatio
> n.java:124)
> at
> org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.
> java:832)
> at
> org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:5
> 7)
> at
> org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperat
> ionInvoker.java:35)
> at
> org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(Pro
> xyMethodInterceptor.java:96)
> at
> org.apache.geronimo.gbean.GBeanLifecycle$$EnhancerByCGLIB$$64bde49a.s
> tartConfiguration(<generated>)
> at
> org.apache.geronimo.deployment.plugin.local.StartCommand.run(StartCom
> mand.java:67)
> at java.lang.Thread.run(Thread.java:619)
> Caused by: org.apache.geronimo.kernel.NoSuchAttributeException: Unknown
> attribut
> e "logWriterEnabled" in gbean
> gmo.mq/jmsra/1.0/rar?J2EEApplication=null,JCAResou
> rce=gmo.mq/jmsra/1.0/rar,ResourceAdapter=gmo.mq/jmsra/1.0/rar,ResourceAdapterMod
> ule=gmo.mq/jmsra/1.0/rar,j2eeType=JCAResourceAdapter,name=MQRA
> at
> org.apache.geronimo.gbean.runtime.GBeanInstance.getAttributeByName(GB
> eanInstance.java:802)
> at
> org.apache.geronimo.gbean.runtime.GBeanInstance.setAttribute(GBeanIns
> tance.java:751)
> at
> org.apache.geronimo.gbean.runtime.GBeanInstance.<init>(GBeanInstance.
> java:372)
> ... 18 more
> org.apache.geronimo.kernel.config.LifecycleException: start of
> gmo.mq/jmsra/1.0/
> rar failed
> at
> org.apache.geronimo.kernel.config.SimpleConfigurationManager.startCon
> figuration(SimpleConfigurationManager.java:579)
> at
> org.apache.geronimo.kernel.config.SimpleConfigurationManager.startCon
> figuration(SimpleConfigurationManager.java:543)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
> java:39)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> sorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at
> org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(Refl
> ectionMethodInvoker.java:34)
> at
> org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperatio
> n.java:124)
> at
> org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.
> java:832)
> at
> org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:5
> 7)
> at
> org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperat
> ionInvoker.java:35)
> at
> org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(Pro
> xyMethodInterceptor.java:96)
> at
> org.apache.geronimo.gbean.GBeanLifecycle$$EnhancerByCGLIB$$64bde49a.s
> tartConfiguration(<generated>)
> at
> org.apache.geronimo.deployment.plugin.local.StartCommand.run(StartCom
> mand.java:67)
> at java.lang.Thread.run(Thread.java:619)
> Caused by: org.apache.geronimo.kernel.config.InvalidConfigException:
> Unknown sta
> rt exception
> at
> org.apache.geronimo.kernel.config.ConfigurationUtil.startConfiguratio
> nGBeans(ConfigurationUtil.java:522)
> at
> org.apache.geronimo.kernel.config.KernelConfigurationManager.start(Ke
> rnelConfigurationManager.java:188)
> at
> org.apache.geronimo.kernel.config.SimpleConfigurationManager.startCon
> figuration(SimpleConfigurationManager.java:562)
> ... 14 more
> Caused by: org.apache.geronimo.gbean.InvalidConfigurationException: Could
> not in
> ject configuration data into the GBean
> gmo.mq/jmsra/1.0/rar?J2EEApplication=null
> ,JCAResource=gmo.mq/jmsra/1.0/rar,ResourceAdapter=gmo.mq/jmsra/1.0/rar,ResourceA
> dapterModule=gmo.mq/jmsra/1.0/rar,j2eeType=JCAResourceAdapter,name=MQRA
> at
> org.apache.geronimo.gbean.runtime.GBeanInstance.<init>(GBeanInstance.
> java:377)
> at
> org.apache.geronimo.kernel.basic.BasicKernel.loadGBean(BasicKernel.ja
> va:354)
> at
> org.apache.geronimo.kernel.config.ConfigurationUtil.startConfiguratio
> nGBeans(ConfigurationUtil.java:441)
> ... 16 more
> Caused by: org.apache.geronimo.kernel.NoSuchAttributeException: Unknown
> attribut
> e "logWriterEnabled" in gbean
> gmo.mq/jmsra/1.0/rar?J2EEApplication=null,JCAResou
> rce=gmo.mq/jmsra/1.0/rar,ResourceAdapter=gmo.mq/jmsra/1.0/rar,ResourceAdapterMod
> ule=gmo.mq/jmsra/1.0/rar,j2eeType=JCAResourceAdapter,name=MQRA
> at
> org.apache.geronimo.gbean.runtime.GBeanInstance.getAttributeByName(GB
> eanInstance.java:802)
> at
> org.apache.geronimo.gbean.runtime.GBeanInstance.setAttribute(GBeanIns
> tance.java:751)
> at
> org.apache.geronimo.gbean.runtime.GBeanInstance.<init>(GBeanInstance.
> java:372)
> ... 18 more
>
>
>
> Kevan Miller wrote:
>>
>>
>> On Jun 12, 2008, at 7:29 PM, sbyonge wrote:
>>
>>>
>>> I am having problem with deploying wmq.jmsra.rar in Geronimo 2.1.1
>>>
>>> Deployment failed:
>>> The plan is trying to set attributes: [queueManager, transportType]
>>
>> This problem should be fixed in current source trees (branches/2.1 and
>> trunk). Here's a pointer to our 2.1 nightly build. Could you confirm
>> whether or not this fixes your problem?
>>
>> http://people.apache.org/builds/geronimo/server/binaries/2.1/20080719
>>
>> --kevan
>>
>
>
--
View this message in context: http://www.nabble.com/Cannot-deploy-wmq.jmsra.rar-%28WebSphere-MQ%29-tp17811963s134p18573051.html
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.
Re: Cannot deploy wmq.jmsra.rar (WebSphere MQ)
Posted by sbyonge <sb...@gmail.com>.
It does not seem to work. Although console application does not complain, I
am getting the following errors while deploying on the server log.
[ConfigurationUtil] Could not load gbean gmo.mq/jmsra/1.0/rar
?J2EEApplication=null,JCAResource=gmo.mq/jmsra/1.0/rar,ResourceAdapter=gmo.mq/jm
sra/1.0/rar,ResourceAdapterModule=gmo.mq/jmsra/1.0/rar,j2eeType=JCAResourceAdapt
er,name=MQRA
org.apache.geronimo.gbean.InvalidConfigurationException: Could not inject
config
uration data into the GBean
gmo.mq/jmsra/1.0/rar?J2EEApplication=null,JCAResourc
e=gmo.mq/jmsra/1.0/rar,ResourceAdapter=gmo.mq/jmsra/1.0/rar,ResourceAdapterModul
e=gmo.mq/jmsra/1.0/rar,j2eeType=JCAResourceAdapter,name=MQRA
at
org.apache.geronimo.gbean.runtime.GBeanInstance.<init>(GBeanInstance.
java:377)
at
org.apache.geronimo.kernel.basic.BasicKernel.loadGBean(BasicKernel.ja
va:354)
at
org.apache.geronimo.kernel.config.ConfigurationUtil.startConfiguratio
nGBeans(ConfigurationUtil.java:441)
at
org.apache.geronimo.kernel.config.KernelConfigurationManager.start(Ke
rnelConfigurationManager.java:188)
at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.startCon
figuration(SimpleConfigurationManager.java:562)
at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.startCon
figuration(SimpleConfigurationManager.java:543)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(Refl
ectionMethodInvoker.java:34)
at
org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperatio
n.java:124)
at
org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.
java:832)
at
org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:5
7)
at
org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperat
ionInvoker.java:35)
at
org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(Pro
xyMethodInterceptor.java:96)
at
org.apache.geronimo.gbean.GBeanLifecycle$$EnhancerByCGLIB$$64bde49a.s
tartConfiguration(<generated>)
at
org.apache.geronimo.deployment.plugin.local.StartCommand.run(StartCom
mand.java:67)
at java.lang.Thread.run(Thread.java:619)
Caused by: org.apache.geronimo.kernel.NoSuchAttributeException: Unknown
attribut
e "logWriterEnabled" in gbean
gmo.mq/jmsra/1.0/rar?J2EEApplication=null,JCAResou
rce=gmo.mq/jmsra/1.0/rar,ResourceAdapter=gmo.mq/jmsra/1.0/rar,ResourceAdapterMod
ule=gmo.mq/jmsra/1.0/rar,j2eeType=JCAResourceAdapter,name=MQRA
at
org.apache.geronimo.gbean.runtime.GBeanInstance.getAttributeByName(GB
eanInstance.java:802)
at
org.apache.geronimo.gbean.runtime.GBeanInstance.setAttribute(GBeanIns
tance.java:751)
at
org.apache.geronimo.gbean.runtime.GBeanInstance.<init>(GBeanInstance.
java:372)
... 18 more
org.apache.geronimo.kernel.config.LifecycleException: start of
gmo.mq/jmsra/1.0/
rar failed
at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.startCon
figuration(SimpleConfigurationManager.java:579)
at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.startCon
figuration(SimpleConfigurationManager.java:543)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(Refl
ectionMethodInvoker.java:34)
at
org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperatio
n.java:124)
at
org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.
java:832)
at
org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:5
7)
at
org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperat
ionInvoker.java:35)
at
org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(Pro
xyMethodInterceptor.java:96)
at
org.apache.geronimo.gbean.GBeanLifecycle$$EnhancerByCGLIB$$64bde49a.s
tartConfiguration(<generated>)
at
org.apache.geronimo.deployment.plugin.local.StartCommand.run(StartCom
mand.java:67)
at java.lang.Thread.run(Thread.java:619)
Caused by: org.apache.geronimo.kernel.config.InvalidConfigException: Unknown
sta
rt exception
at
org.apache.geronimo.kernel.config.ConfigurationUtil.startConfiguratio
nGBeans(ConfigurationUtil.java:522)
at
org.apache.geronimo.kernel.config.KernelConfigurationManager.start(Ke
rnelConfigurationManager.java:188)
at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.startCon
figuration(SimpleConfigurationManager.java:562)
... 14 more
Caused by: org.apache.geronimo.gbean.InvalidConfigurationException: Could
not in
ject configuration data into the GBean
gmo.mq/jmsra/1.0/rar?J2EEApplication=null
,JCAResource=gmo.mq/jmsra/1.0/rar,ResourceAdapter=gmo.mq/jmsra/1.0/rar,ResourceA
dapterModule=gmo.mq/jmsra/1.0/rar,j2eeType=JCAResourceAdapter,name=MQRA
at
org.apache.geronimo.gbean.runtime.GBeanInstance.<init>(GBeanInstance.
java:377)
at
org.apache.geronimo.kernel.basic.BasicKernel.loadGBean(BasicKernel.ja
va:354)
at
org.apache.geronimo.kernel.config.ConfigurationUtil.startConfiguratio
nGBeans(ConfigurationUtil.java:441)
... 16 more
Caused by: org.apache.geronimo.kernel.NoSuchAttributeException: Unknown
attribut
e "logWriterEnabled" in gbean
gmo.mq/jmsra/1.0/rar?J2EEApplication=null,JCAResou
rce=gmo.mq/jmsra/1.0/rar,ResourceAdapter=gmo.mq/jmsra/1.0/rar,ResourceAdapterMod
ule=gmo.mq/jmsra/1.0/rar,j2eeType=JCAResourceAdapter,name=MQRA
at
org.apache.geronimo.gbean.runtime.GBeanInstance.getAttributeByName(GB
eanInstance.java:802)
at
org.apache.geronimo.gbean.runtime.GBeanInstance.setAttribute(GBeanIns
tance.java:751)
at
org.apache.geronimo.gbean.runtime.GBeanInstance.<init>(GBeanInstance.
java:372)
... 18 more
Kevan Miller wrote:
>
>
> On Jun 12, 2008, at 7:29 PM, sbyonge wrote:
>
>>
>> I am having problem with deploying wmq.jmsra.rar in Geronimo 2.1.1
>>
>> Deployment failed:
>> The plan is trying to set attributes: [queueManager, transportType]
>
> This problem should be fixed in current source trees (branches/2.1 and
> trunk). Here's a pointer to our 2.1 nightly build. Could you confirm
> whether or not this fixes your problem?
>
> http://people.apache.org/builds/geronimo/server/binaries/2.1/20080719
>
> --kevan
>
--
View this message in context: http://www.nabble.com/Cannot-deploy-wmq.jmsra.rar-%28WebSphere-MQ%29-tp17811963s134p18570992.html
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.