I am using Eclipse Europa
jdk 1.6
servicemix 3.1.2
it says servicemix filed to start
Starting Apache ServiceMix ESB: 3.1.2
Loading Apache ServiceMix from servicemix.xml on the CLASSPATH
Caught: org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'rmiRegistry' defined in class path resource
[jmx.xml]: Invocation of init method failed; nested exception is
java.rmi.server.ExportException: Port already in use: 1099; nested exception
is:
java.net.BindException: Address already in use: JVM_Bind
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'rmiRegistry' defined in class path resource [jmx.xml]: Invocation
of init method failed; nested exception is java.rmi.server.ExportException:
Port already in use: 1099; nested exception is:
java.net.BindException: Address already in use: JVM_Bind
Caused by: java.rmi.server.ExportException: Port already in use: 1099;
nested exception is:
java.net.BindException: Address already in use: JVM_Bind
at sun.rmi.transport.tcp.TCPTransport.listen(Unknown Source)
at sun.rmi.transport.tcp.TCPTransport.exportObject(Unknown Source)
at sun.rmi.transport.tcp.TCPEndpoint.exportObject(Unknown Source)
at sun.rmi.transport.LiveRef.exportObject(Unknown Source)
at sun.rmi.server.UnicastServerRef.exportObject(Unknown Source)
at sun.rmi.registry.RegistryImpl.setup(Unknown Source)
at sun.rmi.registry.RegistryImpl.<init>(Unknown Source)
at java.rmi.registry.LocateRegistry.createRegistry(Unknown Source)
at
org.apache.servicemix.jbi.jmx.RmiRegistryFactoryBean.afterPropertiesSet(RmiRegistryFactoryBean.java:106)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1201)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1171)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:425)
at
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:251)
at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:156)
at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:248)
at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160)
at
org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:284)
at
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:352)
at
org.apache.xbean.spring.context.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:161)
at
org.apache.xbean.spring.context.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:51)
at org.apache.servicemix.Main.main(Main.java:51)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.codehaus.classworlds.Launcher.launchStandard(Launcher.java:410)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:344)
at org.codehaus.classworlds.Launcher.main(Launcher.java:461)
Caused by: java.net.BindException: Address already in use: JVM_Bind
at java.net.PlainSocketImpl.socketBind(Native Method)
at java.net.PlainSocketImpl.bind(Unknown Source)
at java.net.ServerSocket.bind(Unknown Source)
at java.net.ServerSocket.<init>(Unknown Source)
at java.net.ServerSocket.<init>(Unknown Source)
at
sun.rmi.transport.proxy.RMIDirectSocketFactory.createServerSocket(Unknown
Source)
at
sun.rmi.transport.proxy.RMIMasterSocketFactory.createServerSocket(Unknown
Source)
at sun.rmi.transport.tcp.TCPEndpoint.newServerSocket(Unknown Source)
... 28 more
I am attaching the screenshots too
http://www.nabble.com/file/p13063716/eclispe_error.doc eclispe_error.doc
Zhurakousky, Oleg wrote:
>
> C'mon . . . does it produce any error/exception? Anything in the logs?
> Coul'd you please be more specific about these issues (version of
> Eclipse, JVM etc.)?
>
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: Friday, October 05, 2007 12:50 PM
> To: [email protected]
> Subject: RE: How to debug SA in eclipse
>
>
> It shuts down after running for a while
> Raj
>
> Zhurakousky, Oleg wrote:
>>
>> What errors?
>>
>> -----Original Message-----
>> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
>> Sent: Friday, October 05, 2007 11:46 AM
>> To: [email protected]
>> Subject: RE: How to debug SA in eclipse
>>
>>
>> Hi Oleg,
>> Finally I am able to start eclipse in debug mode
>> but it is giving some errors
>> does it work for servicemix version 3.1.1 only
>> I am using version 3.1.2
>> Is this version issue or something else
>>
>> it starts and stops inbetween
>> is there any environment setup for this fix
>> Regards,
>> Raj
>>
>>
>>
>>
>>
>> Zhurakousky, Oleg wrote:
>>>
>>> You won't see the server until you configure one
>>>> 1. Open up a Server View inside of Eclipse --> Right Click anywhere
>> in
>>>
>>>> the view --> New --> Server --> Apache --> SrviceMix and follow the
>>>> directions.
>>>
>>> -----Original Message-----
>>> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
>>> Sent: Thursday, October 04, 2007 2:57 PM
>>> To: [email protected]
>>> Subject: RE: How to debug SA in eclipse
>>>
>>>
>>> Hi,
>>> I installed the required plugins as the site suggested but couldn't
>> see
>>> the
>>> required servicemix server
>>> am i missing some step
>>> i am going to
>>> window->show view->other->server but i couldn't see servicemix there
>>> Please help me where i am missing
>>> 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
>>> 3046535
>>> 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
>> 3062108
>> 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
> 3063350
> 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#a13063716
Sent from the ServiceMix - User mailing list archive at Nabble.com.