Eugene Yunak wrote:
On 13 September 2010 17:36, Elmar Bschorer
<elmar.bscho...@bugconsulting.de> wrote:
Samir SAADA wrote:
On Sun, Sep 12, 2010 at 11:37:37AM +0200, Elmar Bschorer wrote:
hi list,
when i try to connect to a jvm pid with jconsole for debugging i end
up with a "connection failed".
i also tried connecting to a remote process ending up with the same
error. when i try to connect with jconsole to the same remote
process from a linux system it works. so it seems that jmx is
configured successfully on the remote side.
are there any security related issues on 4.7 that prevent me from
establishing a connection with jconsole?
you do not give detailed description of your problem,
anyway, it works ok here,
check your network settings including /etc/hosts.
I didn't make any changes to /etc/hosts.
I am running a fresh installation of OpenBSD 4.7 (stable). I installed
tomcat5.5 via pkg_add.
I start tomcat with startup.sh (as root) and then i start jconsole (as root
as well). jconsole starts up and i can choose a process-id to connect to
(localy running). I choose tomcat's pid but the connection fails after a
minute or so.
pfctl -d ?
yes - i had stopped the firewall as well... but meanwhile i found the
problem. Samir SAADA was right. The problem was my /etc/hosts:-(
the ip resolution for my hostname was mapped to my em0 network interface
ip-address. but when i tried to connect to tomcat with jconsole i had
the iwn0 (wireless) interface up with a different ip-adress. Since I
changed that all works great!
Thx guys for your great help!