Hi,
I am facing problem while running a sample code of servicemix in jboss.
I have write a sample code where i pass a file name. It read the file and
set in the normalize message and than in exchange object in HttpMarshler and
send to bean. In my bean service unit HttpHandler class reverse the read
data and set in the exchange and displayed on the browser.
I am using in-out MEP.
The sample is running under servicemix stand alone but not working on jboss.
Environment:
========
Jboss 4.2.2.GA
servicemix3.2.1
Java 1.5/1.6(tried on both)
OS Linux
Steps Performed:
===========
1. Created a http-consumer service unit.
xbean file is attached: http://www.nabble.com/file/p15420787/xbean.xml
xbean.xml
HttpMarshler is :
http://www.nabble.com/file/p15420787/HTTPMarshaler.java HTTPMarshaler.java
2. Created a bean service unit.
xbean is : http://www.nabble.com/file/p15420787/xbean.xml xbean.xml
HttpHandler is :
http://www.nabble.com/file/p15420787/LineReverseBean.java
LineReverseBean.java
3. Create a service assembly and install using maven.
mvn clean install
4. Jboss jbi deployer is deployed on jboss.
5. Servicemix-web is deployed on jboss (the update only).
6. Shared library is installed using servicemix.
7. http and bean component is installed and started.
8. Service Assembly is installed and started.
9. When I call the bellow url
Exception:
======
The sendOut method of HttpMarshler is not getting called. It should be
called since the MEP is the http consumer is in-out.
02:12:57,182 INFO [STDOUT] INFO - ServiceAssemblyLifeCycle -
Starting service assembly: http-upload-sa
02:12:57,182 INFO [STDOUT] INFO - ServiceUnitLifeCycle -
Initializing service unit: http-consumer-su
02:12:57,182 INFO [STDOUT] INFO - ServiceUnitLifeCycle -
Initializing service unit: http-handler-su
02:12:57,182 INFO [STDOUT] INFO - ServiceUnitLifeCycle -
Starting service unit: http-consumer-su
02:12:57,198 INFO [STDOUT] INFO - ServiceUnitLifeCycle -
Starting service unit: http-handler-su
02:13:45,988 INFO [STDOUT] File Name : C:\\puneet1.txt
02:13:45,988 INFO [STDOUT] File processed successfully.
02:13:46,003 INFO [STDOUT] Inside provider
02:13:46,003 INFO [STDOUT] Input String : property Test tingg build
another property
Please help me resolving my problem.
Thanks,
Puneet Jain
--
View this message in context:
http://www.nabble.com/Urgent-help-required-for-problem-in-sample-deployed-on-Jboss-tp15420787s12049p15420787.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.