users@glassfish.java.net

Problem Managing Web-Services with JMX

From: Jean-Francois Denise - Sun Microsystems <Jean-Francois.Denise_at_Sun.COM>
Date: Fri, 15 Dec 2006 15:00:06 +0100

Chris,
it seems that you encountered some difficulties in following my blog
entry http://blogs.sun.com/jmxnetbeans/#glassfish_managing_jax_ws_2

I tried to reproduce using Java 6, NetBeans 5.5 and Glassfish V1 U1 but
were not able to ran into your problem.

Going through the blog entry, I noticed that it is no more needed to
grant permissions to your application. By default, Security Manager is
turned to OFF. The example works without modifying the <domain
name>/config/server.policy file.

Are you running with a policy file? It could be the source of your problem.
In the blog entry, the codeBase of the grant block is "file:/-", it
could conflict with your configuration.

Try to replace the codeBase value to be "file:/<path to
JAX-WS20Project.war file>".
Let me know if it fixed your problem. In such a case I will update the
example.

Thanks.

Jean-Francois


==> Your problem logs

/[#|2006-12-13T17:38:37.374-0500|SEVERE|sun-appserver-pe9.0|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;com.sun.enterprise.admin.server.core.JmxConnectorLifecycle_at_1c6a99d;com.sun.appserv.server.ServerLifecycleException:
Internal: null ssl
configuration;_RequestID=bae03d4e-2d05-45d9-8aad-840d20de5457;|Service
com.sun.enterprise.admin.server.core.JmxConnectorLifecycle_at_1c6a99d
cannot be initialized! :
com.sun.appserv.server.ServerLifecycleException: Internal: null ssl
configuration|#]

[#|2006-12-13T17:38:37.388-0500|SEVERE|sun-appserver-pe9.0|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;_RequestID=bae03d4e-2d05-45d9-8aad-840d20de5457;|CORE5071:
An error occured during initialization
com.sun.appserv.server.ServerLifecycleException: Internal: null ssl
configuration
at
com.sun.enterprise.admin.server.core.JmxConnectorLifecycle.onInitialization(JmxConnectorLifecycle.java:110)

at
com.sun.enterprise.server.ApplicationServer.onInitialization(ApplicationServer.java:238)

at
com.sun.enterprise.server.ondemand.OnDemandServer.onInitialization(OnDemandServer.java:93)

at com.sun.enterprise.server.PEMain.run(PEMain.java:316)
at com.sun.enterprise.server.PEMain.main(PEMain.java:260)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:585)
at com.sun.enterprise.server.PELaunch.main(PELaunch.java:272)
Caused by: com.sun.appserv.server.ServerLifecycleException: Internal:
null ssl configuration
at
com.sun.enterprise.admin.server.core.JmxConnectorLifecycle.configureJmxConnectorServerDriver(JmxConnectorLifecycle.java:198)

at
com.sun.enterprise.admin.server.core.JmxConnectorLifecycle.onInitialization(JmxConnectorLifecycle.java:106)

... 9 more
|#]

[#|2006-12-13T17:38:37.392-0500|SEVERE|sun-appserver-pe9.0|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;_RequestID=bae03d4e-2d05-45d9-8aad-840d20de5457;|Server
Startup failed. Exiting...|#]

[#|2006-12-13T17:38:37.392-0500|INFO|sun-appserver-pe9.0|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;|Server
shutdown in progress...|#]

[#|2006-12-13T17:38:37.410-0500|WARNING|sun-appserver-pe9.0|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;_RequestID=bae03d4e-2d05-45d9-8aad-840d20de5457;|CORE5061:
Exception :
com.sun.appserv.server.ServerLifecycleException
at
com.sun.enterprise.admin.server.core.JmxConnectorLifecycle.onShutdown(JmxConnectorLifecycle.java:145)

at
com.sun.enterprise.server.ApplicationServer.onShutdown(ApplicationServer.java:440)

at
com.sun.enterprise.server.ondemand.OnDemandServer.onShutdown(OnDemandServer.java:123)

at com.sun.enterprise.server.PEMain.run(PEMain.java:343)
at com.sun.enterprise.server.PEMain.main(PEMain.java:260)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:585)
at com.sun.enterprise.server.PELaunch.main(PELaunch.java:272)
|#]

[#|2006-12-13T17:38:37.467-0500|WARNING|sun-appserver-pe9.0|javax.enterprise.system.tools.admin|_ThreadID=10;_ThreadName=main;_RequestID=bae03d4e-2d05-45d9-8aad-840d20de5457;|core.tmp_folder_deletion_failed|#]

[#|2006-12-13T17:38:37.878-0500|SEVERE|sun-appserver-pe9.0|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;_RequestID=bae03d4e-2d05-45d9-8aad-840d20de5457;|Server
stopped due to Server startup failure.|#]/

-- 
Jean-Francois Denise  JMX team
Interested in netbeans ==> http://blogs.sun.com/roller/page/jmxnetbeans