You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by puneetjain <pu...@wipro.com> on 2008/02/20 14:31:05 UTC

Re: (Please Reply) Issue/Bug with Servicemix-web 3.2.1 (WAR)

Hi,

Please anybody reply. Any reply will be appreciated as this is a bottle neck
for me.

Thanks,
Puneet




puneetjain wrote:
> 
> Hi Bruce,
> 
> I have tried it on apache-tomcat-5.5.26 also. But problem still remains
> the same.
> The HttpMarshaler is getting called initially and createMessage() method
> executes.
> Then HttpHandler.onMessageExchange() method is called.
> As I am using a In-Out MEP, the sendOut() method of HttpMarshaler class
> should be executed. But the respective method is not executing.
> 
> I have changed all the log level to debug mode.
> 
> I am sending all the log across with the mail.
> 
>  http://www.nabble.com/file/p15560488/servicemix.log servicemix.log 
>  http://www.nabble.com/file/p15560488/TomcatConsole.log TomcatConsole.log 
>  http://www.nabble.com/file/p15560488/http-uploader_application.zip
> http-uploader_application.zip 
> 
> 
> I am also sending across sample appliation code. Please have a look and
> let me know where I am getting wrong.
> 
> Steps Performed:
> ===========
> 1. I have deployed the apache-servicemix-web-3.2.1.war on tomcat.
> 2. Started the Tomcat Server.
> 3. Deployed and started the shared library and servicemix-components(http
> and bean)
> 4. Deployed the http-uploader service assembly.
> 5. Tried to access the service but result is same. I am not getting any
> response back on the browser.
> 
> Exception:
> ======
> No Exception is raised.
> 
> Please help me in resolving this issue.
> Any help will be appreciated.
> 
> Thanks,
> Puneet
> 
> 
> 
> 
> bsnyder wrote:
>> 
>> On Feb 17, 2008 11:55 AM, puneetjain <pu...@wipro.com> wrote:
>>>
>>> Hi,
>>>
>>> I am trying to integrate servicemix with Geronimo.
>>> I have written the http-uploader sample application given in the
>>> tutorial of
>>> servicemix at below location
>>> http://servicemix.apache.org/7-intermediate-writing-a-http-upload-application.html
>>>
>>> It runs fine with standalone servicemix. But when, I tried to run this
>>> application with servicemix running in Geronimo, it's not working
>>> properly.
>>> When we tried the same on the Servicemix, it shows file save dialog box.
>>> The
>>> same is not working, when tried on Geronimo.
>>>
>>> Note: No exception is coming
>>>
>>> I have put the logging statements in the HttpMarshler and HttpHandler
>>> Bean
>>> classes and run it. I have observed that the createMessage() method of
>>> HttpMarshler is getting called. onMessageExchange() method of
>>> HttpHandler is
>>> also called. But the sendOut method of HttpMarshler is not getting
>>> called.
>>>
>>> The example is using the http:consumer element in xbean.xml file:
>>> <http:consumer   service="ex:httplistener"
>>>                  endpoint="listenerEndpoint"
>>>                  locationURI="http://0.0.0.0:8192/upload/"
>>>                  defaultMep="http://www.w3.org/2004/08/wsdl/in-out"
>>>                  targetService="ex:httphandler"
>>>                  marshaler="#marshaler" />
>>> And This element is existing in ServiceMix version 3.2 and above only
>>> (As
>>> mentioned in the tutorial).
>>>
>>> Since this element is new in servicemix, the handling of this element is
>>> having some issue when it is used with apache servicemix-web (WAR) in
>>> Geronimo.
>>>
>>> Environment:
>>> =========
>>> Operating System – Windows XP SP2
>>> Servicemix 3.2.1
>>> Geronimo with tomcat version 2.0.2
>>> Java 1.5
>>>
>>> Steps Performed:
>>> ============
>>>
>>> 1.      Downloaded the "apache-servicemix-web-3.2.1.zip" file from below
>>> location
>>> and deployed it on Geronimo.
>>>         http://servicemix.apache.org/download.html
>>>
>>> 2.      Installed servicemix-shared library using the apache
>>> servicemix-web
>>> interface's Shared Libraries Menu.
>>> 3.      Installed and started servicemix-http and servicemix-bean
>>> component using
>>> the servicemix-web interface's Components menu.
>>> 4.      Deployed and started the http-uploader-sa service assembly using
>>> the same
>>> interface's Service assemblies menu.
>>> 5.      Verified that the service is deployed using below url:
>>>         http://localhost:8080/apache-servicemix-web-3.2.1.zip/jbi/
>>>
>>> 6.      I have written a client as per instruction given in the tutorial
>>> and
>>> change the  "action" in the HTML form tag  with the following URL:
>>>         http://localhost:8080/apache-servicemix-web-3.2.1.zip/jbi/upload
>>> 7.      When, I tried to access the application, nothing got displayed
>>> on the
>>> browser. i.e.  no response comes back.
>>>
>>> Exception:
>>> ======
>>> There is no Exception comes in any log.
>>>
>>>
>>> Please help me in resolving this problem. I am stuck with this problem
>>> from
>>> long time and have sent so many mails, but have not got any pointers to
>>> solve to this problem.
>>>
>>> Looking forward for your reply at the earliest..!
>> 
>> Have you enabled debug level logging to see if there's more
>> information from ServiceMix or Geronimo? Have you set up remote
>> debugging and stepped through it with a debugger to see why the
>> marshaler is not being called? Have you tried deploying the ServiceMix
>> WAR file in Jetty or Tomcat without Geronimo or JBoss just to see what
>> happens?
>> 
>> Also, there is no need to send this message to any other list than the
>> servicemix-user list.
>> 
>> Bruce
>> -- 
>> perl -e 'print
>> unpack("u30","D0G)U8V4\@4VYY9&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
>> );'
>> 
>> Apache ActiveMQ - http://activemq.org/
>> Apache Camel - http://activemq.org/camel/
>> Apache ServiceMix - http://servicemix.org/
>> Apache Geronimo - http://geronimo.apache.org/
>> 
>> Blog: http://bruceblog.org/
>> 
>> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Re%3A-Issue-Bug-with-Servicemix-web-3.2.1-%28WAR%29-tp15560488s12049p15589134.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.