Hi,
I followed it and was able to start serviemix in debug mode on port 5005
But the problem is i can't switch between my jms consumer and bean SU.
I want to see what exactly is going in the servicemix.I mean step through
all the steps.
Is there a way to do that or is it I can't see anything going inside NMR
Regards,
Raj

Gert Vanthienen wrote:
> 
> Raj,
> 
> 
> You might want to consider remote debugging in your case.  This means 
> you just run the SA in a stand-alone ServiceMix container.  Using the 
> remote debugger from Eclipse, you can then connect to the container.   
> Have a look at 
> http://incubator.apache.org/servicemix/remote-debugging-servicemix-in-eclipse.html
>  
> for more information about that...
> 
> 
> Gert
> 
> [EMAIL PROTECTED] wrote:
>> hi,
>> i still can't add serviemix server to eclipse 
>> can u tell me the exact steps in eclipse europa or myeclispe
>> raj
>>
>> Zhurakousky, Oleg wrote:
>>   
>>> If you want to debug or step through the code of the actual Service Mix,
>>> then the links to the documents that you have provided describe exactly
>>> what you need to do. I am not sure there is more to add. 
>>> I used the same documentation last week to setup myself with ServiceMix
>>> source environment and had no issues.
>>>
>>>
>>> -----Original Message-----
>>> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
>>> Sent: Thursday, October 04, 2007 2:26 PM
>>> To: [email protected]
>>> Subject: RE: How to debug SA in eclipse
>>>
>>>
>>> Hi,
>>> sorry to bother you again 
>>> I was wondering if there is any mvn command that will help in migration 
>>> i am usind maven 
>>> I mean are there any steps that allows servicemix to import to eclipse
>>> so
>>> that i can see whats going on inside jbi?
>>> Regards,
>>> Raj
>>>
>>>
>>>
>>> Zhurakousky, Oleg wrote:
>>>     
>>>> Here it is again:
>>>> http://open.iona.com/wiki/display/ProdInfo/FUSE+Eclipse+Tools
>>>>
>>>> Once you go through the steps in the link above all the necessary
>>>> plug-ins will be installed.
>>>>
>>>> To configure a server (make sure you go through steps above first): 
>>>> 1. Open up a Server View inside of Eclipse --> Right Click anywhere in
>>>> the view --> New --> Server --> Apache --> SrviceMix and follow the
>>>> directions.
>>>> 2. Once done you'll see two options "Start" or "Start in debug". If
>>>> server is started in debug mode, and breakpoints are setup in your SUs
>>>> the debugger will stop at breakpoints
>>>>
>>>> You might also want to read some of the Eclipse documentation on how
>>>>       
>>> to
>>>     
>>>> setup various Eclipse environments since the process I described above
>>>> is not any different then setting up for JBoss, Fuse, BEA, Wewbsphere
>>>>       
>>> or
>>>     
>>>> any other server.
>>>> oleg  
>>>>
>>>> -----Original Message-----
>>>> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
>>>> Sent: Thursday, October 04, 2007 10:20 AM
>>>> To: [email protected]
>>>> Subject: RE: How to debug SA in eclipse
>>>>
>>>>
>>>> Hi,
>>>> I set up debugger to let it know where to stop
>>>> I am following this docs
>>>> http://incubator.apache.org/servicemix/building.html
>>>>
>>>>       
>>> http://incubator.apache.org/servicemix/importing-servicemix-into-eclipse
>>>     
>>>> .html
>>>> I did mvn install and mvn eclipse and did build using mvn
>>>> jbi:projectDeploy
>>>> I don't know how to start servicemix from within eclipse 
>>>> the link that you pasted last one is not opening 
>>>> so can you send it again 
>>>>
>>>> I am starting servicemix 3.2 form commandline i mean using
>>>> <SERVICEMIX_HOME>bin\servicemix
>>>> Please let me know more about starting from within eclipse and how do
>>>>       
>>> i
>>>     
>>>> migrate the correct way to eclipse to see how is everything going on 
>>>> I deployed my project using mvn jbi:projectDeploy command and putting
>>>> the
>>>> jar in project directory.
>>>> everything is working fine but i just can't see the whole control
>>>>       
>>> within
>>>     
>>>> NMR
>>>> I hope this time I clearified you 
>>>> So please let me know if you don't understand this explanation i will
>>>> try to
>>>> elaborate
>>>> Regards,
>>>> Raj
>>>>
>>>> Zhurakousky, Oleg wrote:
>>>>       
>>>>> Sorry, but I still don't understand. 
>>>>> 1. Did you set the breakpoint to let debugger know where to stop?
>>>>> 2. In your previous post you said: ". . . set up everything as the
>>>>>         
>>> doc
>>>     
>>>>> says". What doc you are referring to? Is it this one?
>>>>>
>>>>>         
>>> http://open.iona.com/wiki/display/ProdInfo/FUSE+Eclipse+Tools?focusedCom
>>>     
>>>>> mentId=1081394#comment-1081394
>>>>> 3. Did you configure ServiceMix or Fuse server in Eclipse?
>>>>> 4. Did you start ServiceMix or Fuse server within the Eclipse
>>>>> environemnt?
>>>>>
>>>>> To debug NMR exchanges or any other SerbiceMix code all you have to
>>>>>         
>>> do
>>>     
>>>>> is Attach Sources, which is part of Eclipse standard debug feature
>>>>>         
>>> and
>>>     
>>>>> not ServiceMix specific.
>>>>> See this:
>>>>>
>>>>>         
>>> http://www.google.com/search?hl=en&client=firefox-a&rls=org.mozilla%3Aen
>>>     
>>>>> -US%3Aofficial&hs=KL6&q=Debugging+in+Eclipse&btnG=Search
>>>>>  Oleg
>>>>>
>>>>> -----Original Message-----
>>>>> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
>>>>> Sent: Thursday, October 04, 2007 9:40 AM
>>>>> To: [email protected]
>>>>> Subject: RE: How to debug SA in eclipse
>>>>>
>>>>>
>>>>> Yes.I moved the project to eclipse
>>>>> I could see the queue through the JMX console 
>>>>> and could trace everyhting in by client code that sends messge to the
>>>>> queue 
>>>>> jms consumer consumes it and bean listens to the NMR and echos it 
>>>>> but in remote debugger of the eclipse never shows the control to the
>>>>> onMessage method of the servicemix bean
>>>>> Please help me with this if you have done it.
>>>>> Regards,
>>>>> Yogaraj
>>>>>
>>>>> Zhurakousky, Oleg wrote:
>>>>>         
>>>>>> Do you mean you set the breakpoint in your bean and it doesn't stop
>>>>>>           
>>>> at
>>>>       
>>>>>> breakpoint?
>>>>>>
>>>>>> -----Original Message-----
>>>>>> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
>>>>>> Sent: Thursday, October 04, 2007 9:16 AM
>>>>>> To: [email protected]
>>>>>> Subject: How to debug SA in eclipse
>>>>>>
>>>>>>
>>>>>> hi,
>>>>>> I made tow SU servicemix bean and jms consumer and its working.
>>>>>> I want to debug the project in eclipse and I set up everything as
>>>>>>           
>>> the
>>>     
>>>>>> docs
>>>>>> says.
>>>>>> But the problem is the debugg workflow doesn't go through the bean.
>>>>>> I mean I can see my jms client program steps puhsing the message to
>>>>>>           
>>>>> the
>>>>>         
>>>>>> queue and echo back form bean in inout exchage.
>>>>>> Can we trace the NMR flow in the eclipse too or is it something that
>>>>>> happens
>>>>>> internally.
>>>>>> Regards,
>>>>>> Yogaraj
>>>>>> -- 
>>>>>> View this message in context:
>>>>>>
>>>>>>           
>>> http://www.nabble.com/How-to-debug-SA-in-eclipse-tf4568770s12049.html#a1
>>>     
>>>>>> 3039678
>>>>>> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>>>>>>
>>>>>>
>>>>>>
>>>>>>           
>>>>> -- 
>>>>> View this message in context:
>>>>>
>>>>>         
>>> http://www.nabble.com/How-to-debug-SA-in-eclipse-tf4568770s12049.html#a1
>>>     
>>>>> 3040094
>>>>> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>>>>>
>>>>>
>>>>>
>>>>>         
>>>> -- 
>>>> View this message in context:
>>>>
>>>>       
>>> http://www.nabble.com/How-to-debug-SA-in-eclipse-tf4568770s12049.html#a1
>>>     
>>>> 3040880
>>>> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>>>>
>>>>
>>>>
>>>>       
>>> -- 
>>> View this message in context:
>>> http://www.nabble.com/How-to-debug-SA-in-eclipse-tf4568770s12049.html#a1
>>> 3045823
>>> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>>>
>>>
>>>
>>>     
>>
>>   
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/How-to-debug-SA-in-eclipse-tf4568770s12049.html#a13058303
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to