[Users] How to provide JMS as a Service Assembly
abbenoit
abbenoit at sopragroup.com
Wed Mar 16 10:40:20 CET 2011
Thanks, I configured the BC using the Shared Library via an Ant task.
I'm now facing another problem ... [Rolling Eyes]
When calling my endpoint via the Sample Client (requesting <jms><text>hello</text></jms> and targeting my SA's endpoint), I get the following error :
Code:
petals at localhost:/> [Petals.Container.Components.petals-sample-client]-INFO 2010
-03-02 15:47:32,560 SampleClient try to send
[Petals.Container.Components.petals-bc-jms]-INFO 2010-03-02 15:47:32,575 Try to
send JBI message to 'queue' JMS provider.
[Petals.Container.Components.petals-bc-jms]-SEVERE 2010-03-02 15:47:32,575 Can n
ot create the JMS message from JBI message.
[b][u]javax.jms.MessageFormatException[/u]: Can't set non primitive Java object as a prope
rty value.[/b]
at org.objectweb.joram.client.jms.Message.setObjectProperty(Message.java
:608)
at org.ow2.petals.bc.jms.listener.ServiceManager.setMessageProperties(Se
rviceManager.java:309)
at org.ow2.petals.bc.jms.listener.ServiceManager.transform(ServiceManage
r.java:181)
at org.ow2.petals.bc.jms.listener.ServiceManager.sendJMSMessage(ServiceM
anager.java:108)
at org.ow2.petals.bc.jms.listener.ServiceManager.onJBIMessage(ServiceMan
ager.java:57)
at org.ow2.petals.bc.jms.listener.JBIListener.onJBIMessage(JBIListener.j
ava:63)
at org.ow2.petals.component.framework.process.MessageExchangeProcessor.p
rocessInOnlyAsProvider(MessageExchangeProcessor.java:434)
at org.ow2.petals.component.framework.process.MessageExchangeProcessor.p
rocessAsProvider(MessageExchangeProcessor.java:375)
at org.ow2.petals.component.framework.process.MessageExchangeProcessor.p
rocess(MessageExchangeProcessor.java:242)
at org.ow2.petals.component.framework.process.MessageExchangeProcessor.r
un(MessageExchangeProcessor.java:176)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExec
utor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
.java:908)
at java.lang.Thread.run(Thread.java:619)
[Petals.Container.Components.petals-bc-jms]-SEVERE 2010-03-02 15:47:32,591 Can n
ot create the JMS message from JBI message.
org.ow2.petals.component.framework.api.exception.PEtALSCDKException: Can not cre
ate the JMS message from JBI message.
at org.ow2.petals.bc.jms.listener.ServiceManager.sendJMSMessage(ServiceM
anager.java:128)
at org.ow2.petals.bc.jms.listener.ServiceManager.onJBIMessage(ServiceMan
ager.java:57)
at org.ow2.petals.bc.jms.listener.JBIListener.onJBIMessage(JBIListener.j
ava:63)
at org.ow2.petals.component.framework.process.MessageExchangeProcessor.p
rocessInOnlyAsProvider(MessageExchangeProcessor.java:434)
at org.ow2.petals.component.framework.process.MessageExchangeProcessor.p
rocessAsProvider(MessageExchangeProcessor.java:375)
at org.ow2.petals.component.framework.process.MessageExchangeProcessor.p
rocess(MessageExchangeProcessor.java:242)
at org.ow2.petals.component.framework.process.MessageExchangeProcessor.r
un(MessageExchangeProcessor.java:176)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExec
utor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
.java:908)
at java.lang.Thread.run(Thread.java:619)
Caused by: javax.jms.MessageFormatException: Can't set non primitive Java object
as a property value.
at org.objectweb.joram.client.jms.Message.setObjectProperty(Message.java
:608)
at org.ow2.petals.bc.jms.listener.ServiceManager.setMessageProperties(Se
rviceManager.java:309)
at org.ow2.petals.bc.jms.listener.ServiceManager.transform(ServiceManage
r.java:181)
at org.ow2.petals.bc.jms.listener.ServiceManager.sendJMSMessage(ServiceM
anager.java:108)
... 9 more
-------------------- m2f --------------------
Subscribe/Unsubscribe emails notifications.
Response to this email will be posted on the Petals forum.
Please delete the existing text before responding :)
Read the topic online:
http://forum.petalslink.com/viewtopic.php?p=30508#30508
-------------------- m2f --------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://forum-list.petalslink.org/pipermail/users/attachments/20110316/f54da09b/attachment.htm>
More information about the Users
mailing list