On Tue, Aug 23, 2011 at 5:15 PM, Jörn Kottmann <[email protected]> wrote:
> On 8/23/11 10:00 PM, [email protected] wrote: > >> I am having an issue that maybe is out of topic, sorry. >> I launched a EC2 free tier and managed to setup UIMA As there. >> Now I am trying to monitor it remotely using JMX and a JConsole, but I am >> failing to connect. I configured the security group properly and can see >> from netstat that it is waiting for a connection. >> I also tried to monitor the ActiveMQ queues without luck. >> >> Did someone managed to monitor a remote UIMA AS instance running at Amazon >> EC2? Can you please point me how? >> > > Nice to see you over at UIMA. > > I never tried it on EC2, but did you follow > > http://uima.apache.org/d/uima-**as-2.3.1/uima_async_scaleout.** > html#ugr.async.mt.jmx_**sampling.configuring<http://uima.apache.org/d/uima-as-2.3.1/uima_async_scaleout.html#ugr.async.mt.jmx_sampling.configuring> > > these instructions? > > As far as I know is JMX opening a second connection shortly > after the first connection is created, this can fail for example > when the port is blocked, or JMX is listening on the wrong network > interface > (e.g. only on the loop back) for it. > > Which error message do you get? > > Jörn Hi Jörn! Nice to see you here too. Thank you for your answer. Yes, I followed that instructions, but it didn't work. I tried searching about this issue and looks like it is related to the second port you mentioned and firewall. ActiveMQ has a configuration where one can set this second port, but couldn't find something similar in UIMA. Anyway even after configuring the rmiServerPort in ActiveMQ it worked, so maybe can be something else. I can not see any error message. JConsole only says that the connection failed. Thank you William
