geronimo-user mailing list archives

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


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. 

Geronimo geronimo-tomcat6-jee5-2.0.2
Java 1.5/1.6(tried on both) 
OS Linux 

Steps Performed: 
1. Created a http-consumer service unit. 
     xbean file is attached:
     HttpMarshler is : 

2. Created a bean service unit. 
    xbean is : xbean.xml 
    HttpHandler is : 

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 

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. 

Puneet Jain 
View this message in context:
Sent from the Apache Geronimo - Users mailing list archive at

View raw message