incubator-clerezza-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Franco Fallica <franco.fall...@getunik.com>
Subject JmxRemote
Date Thu, 13 Jan 2011 10:42:42 GMT
hi guys,

Has somebody allready tried to use jmxremote with clerezza?
I somehow struggle to get a connection because of the security.manager

What I did:
setup up a jmxremote.password and jmxremote.access file and startet clerezza with the follwing
params.


-Dcom.sun.management.jmxremote.port=portNum

-Dcom.sun.management.jmxremote.password.file=pathtofile

-Dcom.sun.management.jmxremote.access.file=pathtofile



when I try to connect with jconsole it throws the following exception:



java.lang.SecurityException: attempt to add a Permission to a readonly Permissions object

        at java.security.Permissions.add(Permissions.java:110)



in the jmx documentation it says:
"If your application runs a security manager, then additional permissions are required in
the security permissions file."

I guess that's the problem - but honestly it doesn't help me much, since I don't really knwo
what it means.

Any ideas?

thanks in advance.

cheers
franco


--[cid:image001.png@01CBB316.7C345D10]<http://twitter.com/getunik>-[cid:image002.png@01CBB316.7C345D10]<http://www.facebook.com/pages/getunikcom/124320320041>----------------------------------------------

-- getunik ag -------------------------------------------
  franco fallica             franco.fallica@getunik.com<mailto:jonas.rothfuchs@getunik.com>
  hardturmstrasse 101    fon: +41 44 388 55 88
  ch-8005 zuerich               fax: +41 44 388 55 89

-- latest getunik project -------------------------
   Act local! Geo Marketing for your E-Mail campaign: www.geomarketing.com<http://www.geomarketing.com/>

-- best of swiss web awards 2009 ------------------
   Gold & Silver for Connect2Earth / Bronze for WWF UK

we make the web a better place - www.getunik.com<http://www.getunik.com/>



***********************************************************
P Think about the environment ! Do not print this mail unless necessary.
***********************************************************


Mime
  • Unnamed multipart/related (inline, None, 0 bytes)
View raw message