users@glassfish.java.net

Re: Glassfish random ports

From: <glassfish_at_javadesktop.org>
Date: Fri, 17 Aug 2007 04:09:27 PDT

Hi raju.

First of all, i don't have the '-Dcom.sun.management.jmxremote.port' jvm argument..and if add it, i get two error...one of them very strange:

[i]Could not load Logmanager "com.sun.enterprise.server.logging.ServerLogManager"
java.lang.ClassNotFoundException: com.sun.enterprise.server.logging.ServerLogManager
        at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
        at java.util.logging.LogManager$1.run(LogManager.java:166)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.util.logging.LogManager.<clinit>(LogManager.java:156)
        at java.util.logging.Logger.getLogger(Logger.java:274)
        at sun.management.snmp.util.MibLogger.<init>(MibLogger.java:57)
        at sun.management.snmp.util.MibLogger.<init>(MibLogger.java:42)
        at sun.management.jmxremote.ConnectorBootstrap.<clinit>(ConnectorBootstrap.java:584)
        at sun.management.Agent.startAgent(Agent.java:127)
        at sun.management.Agent.startAgent(Agent.java:239)
Error: Password file not found: C:\Java\jdk1.6.0_02\jre\lib\management\jmxremote.password[/i]
[Message sent by forum member 'apunto' (apunto)]

http://forums.java.net/jive/thread.jspa?messageID=231313