Hi,
I am facing problem while running a sample code of servicemix in
jboss/Geronimo.
The sample is running fine with servicemix stand alone but not working
when deployed on jboss/Geronimo.
What I have observed is that the http consumer is not getting the
response data.
sendOut() method of MyMarshler is not getting called of my marshler bean
class.
The response is not getting displayed on the Internet browser. The same
thing runs fine as standalone application.
The other details are given below:
Environment:
========
Jboss 4.2.2.GA
servicemix3.2.1
Java 1.5
OS Linux
Steps Performed:
===========
1. xbean configuration for http-consumer service unit is:
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns:http="http://servicemix.apache.org/http/1.0"
xmlns:ex="http://www.servicemix.org/example">
<http:consumer service="ex:httplistener"
endpoint="ex:listenerEndpoint"
locationURI="http://0.0.0.0:8192/upload/"
defaultMep="http://www.w3.org/2004/08/wsdl/in-out"
targetService="ex:lineReverse"
marshaler="#marshaler" />
<bean id="marshaler"
class="org.apache.servicemix.jbi.MyMarshaler" />
</beans>
2. xbean configuration for bean service unit.
<beans xmlns:bean="http://servicemix.apache.org/bean/1.0"
xmlns:ex="http://www.servicemix.org/example">
<bean:endpoint service="ex:lineReverse"
endpoint="lineReverseEndpoint" bean="#lineReverseBean" />
<bean id="lineReverseBean"
class="org.apache.servicemix.jbi.MyBean" />
</beans>
Exception: There is no exception raised at all.
======
Servicemix log file is attached in the mail.
Please help me to resolve this. A early response will be highly
appreciated as it is a bottleneck for my work.
Thanks,
Puneet Jain
The information contained in this electronic message and any attachments to
this message are intended for the exclusive use of the addressee(s) and may
contain proprietary, confidential or privileged information. If you are not the
intended recipient, you should not disseminate, distribute or copy this e-mail.
Please notify the sender immediately and destroy all copies of this message and
any attachments.
WARNING: Computer viruses can be transmitted via email. The recipient should
check this email and any attachments for the presence of viruses. The company
accepts no liability for any damage caused by any virus transmitted by this
email.
www.wipro.com