geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From puneetjain <puneet.ja...@wipro.com>
Subject facing problem while running servicemix sample on Geronimo
Date Mon, 11 Feb 2008 22:07:58 GMT

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: 
======== 
Geronimo geronimo-tomcat6-jee5-2.0.2
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/p15421792/xbean.xml
xbean.xml 
     HttpMarshler is : 
http://www.nabble.com/file/p15421792/HTTPMarshaler.java HTTPMarshaler.java 

2. Created a bean service unit. 
    xbean is :   http://www.nabble.com/file/p15421792/xbean.xml xbean.xml 
    HttpHandler is : 
http://www.nabble.com/file/p15421792/LineReverseBean.java
LineReverseBean.java 

3. Create a service assembly and install using maven. 
    mvn clean install 

4. Servicemix-web is deployed on jboss (the update only). 
5. Shared library is installed using servicemix. 
6. http and bean component is installed and started. 
7. Service Assembly is installed and started. 
8. 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/facing-problem-while-running-servicemix-sample-on-Geronimo-tp15421792s134p15421792.html
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.


Mime
View raw message