users@glassfish.java.net

Error starting domain with profiler settings.

From: <glassfish_at_javadesktop.org>
Date: Thu, 18 Oct 2007 14:00:40 PDT

After following all the instructions for setting up the remote profiling starting GlassFish fails. I add the following lines to the domain.xml as specified in the instructions step 6 in NetBeans for profiling remote application.

<profiler enabled="true" name="NetBeansProfiler">
  <jvm-options>-agentpath:/root/NB_PROFILER/lib/deployed/jdk15/linux/libprofilerinterface.so=/root/NB_PROFILER/lib,5140</jvm-options>
</profiler>

When I start GlassFish I get this.

 ./asadmin start-domain --verbose domain1
Starting Domain domain1, please wait.
Error refreshing ConfigContext:/home/opt/glassfish/glassfish/domains/domain1/config/domain.xml
cause: Failed to create the XML-DOM Document. Check your XML to make sure it is correct.
The content of element type "profiler" must match "(jvm-options|property)*".
CLI156 Could not start the domain domain1.

I'm using NB 5.5.1 and GlassFish 58g

S.D.
[Message sent by forum member 'sdoyle' (sdoyle)]

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