Hi, I tried the user and password I configured in /etc/users.properties which already works for the webconsole. I also tried smx/smx and karaf/karaf which did not succeed. One further thing I noticed: if I try to connect to an invalid IP address, I get an error instantly, if I try with the correct IP address it takes quite some time until the error occurs. Does karaf log the connection requests somehow and possibly show failed connections with the according error?
Regards, Stefan Am 12.08.2011 um 09:30 schrieb Freeman Fang: > Hi, > > What's the username/password you're using to connect JMX? > Could you try both smx/smx and karaf/karaf? > > Freeman > On 2011-8-12, at 下午3:25, Stefan Essl wrote: > >> No, there is no firewall. I even tried "telnet ip_to_server 1099" which >> works. So the connection can't be blocked by a firewall. >> >> Regards, >> Stefan >> >> >> Am 11.08.2011 um 22:36 schrieb Christian Müller: >> >>> Is your SMX running behind a firewall? >>> >>> Sent from a mobile device >>> Am 11.08.2011 16:23 schrieb "Stefan Essl" < >>> [email protected]>: >>>> Thanks, but the connection still fails. Do I have to change something >>> within the configuration to enable remote jmx access? And am I on the right >>> track attempting to connect with the user and password configured in >>> /etc/users.properties? >>>> >>>> Regards, >>>> Stefan >>>> >>>> >>>> Am 11.08.2011 um 15:43 schrieb Gert Vanthienen: >>>> >>>>> L.S., >>>>> >>>>> The default JMX service URL would >>>>> be service:jmx:rmi:///jndi/rmi://ip_to_server:1099/karaf-root - this is >>>>> being configured in etc/org.apache.karaf.management.cfg. >>>>> >>>>> Regards, >>>>> >>>>> Gert Vanthienen >>>>> ------------------------ >>>>> FuseSource >>>>> Web: http://fusesource.com >>>>> Blog: http://gertvanthienen.blogspot.com/ >>>>> >>>>> >>>>> On Thu, Aug 11, 2011 at 10:32 AM, Jean-Baptiste Onofré <[email protected] >>>> wrote: >>>>> >>>>>> Sorry, I used the ServiceMix "nickname" :) >>>>>> >>>>>> You are right, ServiceMix 4.3.0 is the latest ServiceMix release (aka >>>>>> SMX4). >>>>>> >>>>>> For the jconsole, I'm gonna check the RMI URL. As workaround, you can >>> use >>>>>> jconsole with the PID (locally). >>>>>> >>>>>> Regards >>>>>> JB >>>>>> >>>>>> >>>>>> On 08/11/2011 10:29 AM, Stefan Essl wrote: >>>>>> >>>>>>> Hi JB, >>>>>>> >>>>>>> thanks for the info. I downloaded ServiceMix some days ago and on the >>>>>>> website it says ServiceMix 4.3.0 so I guess I'm already working with >>> SMX4, >>>>>>> or did I get anything wrong? >>>>>>> >>>>>>> Any thoughts on the jconsole problem? I would really appreciate to get >>>>>>> that working... >>>>>>> >>>>>>> Regards, >>>>>>> Stefan >>>>>>> >>>>>>> >>>>>>> Am 11.08.2011 um 10:24 schrieb Jean-Baptiste Onofré: >>>>>>> >>>>>>> Hi Stefan, >>>>>>>> >>>>>>>> the tutorial should be upgraded. >>>>>>>> >>>>>>>> jbi:projectDeploy goal is deprecated. In place, you should use: >>>>>>>> - mvn install to create your SA zip file >>>>>>>> - copy the zip file into the deploy folder of SMX4 >>>>>>>> >>>>>>>> I also advice you to take a look on Camel with SMX4. >>>>>>>> SMX3 is quite in End Of Life mode. >>>>>>>> >>>>>>>> Regards >>>>>>>> JB >>>>>>>> >>>>>>>> On 08/11/2011 10:20 AM, Stefan Essl wrote: >>>>>>>> >>>>>>>>> Hi folks, >>>>>>>>> >>>>>>>>> I'm completely new to ServiceMix and currently working through the >>>>>>>>> tutorials so my question might be on a quite newbie level: >>>>>>>>> >>>>>>>>> In the second tutorial I try to use "mvn jbi:projectDeploy" and get a >>>>>>>>> build error with this remark: >>>>>>>>> >>>>>>>>> [INFO] Unable to deploy project, Error accessing ServiceMix >>>>>>>>>> administration >>>>>>>>>> >>>>>>>>>> jmxrmi >>>>>>>>>> >>>>>>>>> >>>>>>>>> Also, when I try to connect with jconsole using the string >>>>>>>>> "service:jmx:rmi:///jndi/rmi:/**/ip_to_server:1099/**defaultJBIJMX", >>> I >>>>>>>>> get a connection error. Note that I'm trying to remotely connect with >>>>>>>>> jconsole since ServiceMix is running on a remote server. >>>>>>>>> >>>>>>>>> My own shot is that there is a problem with jmx not running >>> correctly. >>>>>>>>> How can I check this and get it up and running? >>>>>>>>> >>>>>>>>> Thanks for your help, >>>>>>>>> Stefan >>>>>>>>> >>>>>>>> >>>>>>>> -- >>>>>>>> Jean-Baptiste Onofré >>>>>>>> [email protected] >>>>>>>> http://blog.nanthrax.net >>>>>>>> Talend - http://www.talend.com >>>>>>>> >>>>>>> >>>>>>> >>>>>> -- >>>>>> Jean-Baptiste Onofré >>>>>> [email protected] >>>>>> http://blog.nanthrax.net >>>>>> Talend - http://www.talend.com >>>>>> >>>> >> > > --------------------------------------------- > Freeman Fang > > FuseSource > Email:[email protected] > Web: fusesource.com > Twitter: freemanfang > Blog: http://freemanfang.blogspot.com > > > > > > > > >
