From user-return-9090-apmail-geronimo-user-archive=geronimo.apache.org@geronimo.apache.org Mon Feb 11 22:08:32 2008 Return-Path: Delivered-To: apmail-geronimo-user-archive@www.apache.org Received: (qmail 44689 invoked from network); 11 Feb 2008 22:08:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 11 Feb 2008 22:08:32 -0000 Received: (qmail 12096 invoked by uid 500); 11 Feb 2008 22:08:23 -0000 Delivered-To: apmail-geronimo-user-archive@geronimo.apache.org Received: (qmail 12069 invoked by uid 500); 11 Feb 2008 22:08:23 -0000 Mailing-List: contact user-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: user@geronimo.apache.org List-Id: Delivered-To: mailing list user@geronimo.apache.org Received: (qmail 12058 invoked by uid 99); 11 Feb 2008 22:08:23 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Feb 2008 14:08:23 -0800 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=DNS_FROM_OPENWHOIS,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Feb 2008 22:07:38 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1JOgog-00060w-IR for user@geronimo.apache.org; Mon, 11 Feb 2008 14:07:58 -0800 Message-ID: <15421792.post@talk.nabble.com> Date: Mon, 11 Feb 2008 14:07:58 -0800 (PST) From: puneetjain To: user@geronimo.apache.org Subject: facing problem while running servicemix sample on Geronimo MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: puneet.jain1@wipro.com X-Virus-Checked: Checked by ClamAV on apache.org 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.