This discussion is archived
4 Replies Latest reply: Jun 29, 2008 8:46 AM by 807574 RSS

Problems with java_ee_sdk-5_05-windows.exe on Windows Vista

807574 Newbie
Currently Being Moderated
I have downloaded java_ee_sdk-5_05-windows.exe to install the applications server on Windows Vista. I have followed all the steps at the installation, and it worked ok.

But when I start up the AppServer I find two problems:

1.- The console shows,

     Standard JMX Clients (like JConsole) can connect to JMXServiceURL:
[null] for domain management purposes.
Domain listens on at least following ports for connections:
[8080 8181 4848 3700 3820 3920 8686 ].
Domain does not support application server clusters and other standalone instanc
es.

2.- The server.log shows,

C:/Sun/SDK/lib/jhall.jar;C:\Sun\SDK\lib\appserv-launch.jar
com.sun.enterprise.server.PELaunch
start
[#|2008-06-15T19:25:49.974+0200|INFO|sun-appserver9.1|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;|Starting Sun Java System Application Server 9.1_02 (build b04-fcs) ...|#]

[#|2008-06-15T19:25:50.124+0200|INFO|sun-appserver9.1|javax.enterprise.system.core|_ThreadID=11;_ThreadName=pool-1-thread-2;com.sun.enterprise.interceptor.DynamicInterceptor;|MBeanServer started: com.sun.enterprise.interceptor.DynamicInterceptor|#]

[#|2008-06-15T19:25:50.707+0200|INFO|sun-appserver9.1|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;|CORE5098: AS Socket Service Initialization has been completed.|#]

[#|2008-06-15T19:25:50.735+0200|INFO|sun-appserver9.1|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;Java HotSpot(TM) Client VM;1.6.0_06;Sun Microsystems Inc.;|CORE5076: Using [Java HotSpot(TM) Client VM, Version 1.6.0_06] from [Sun Microsystems Inc.]|#]

[#|2008-06-15T19:25:50.768+0200|INFO|sun-appserver9.1|javax.enterprise.system.core.security|_ThreadID=10;_ThreadName=main;|SEC1002: Security Manager is OFF.|#]

[#|2008-06-15T19:25:51.477+0200|INFO|sun-appserver9.1|javax.enterprise.system.stream.out|_ThreadID=10;_ThreadName=main;|C:/Sun/SDK/domains/domain1/config/.__com_sun_appserv_pid|#]

[#|2008-06-15T19:25:51.707+0200|INFO|sun-appserver9.1|javax.enterprise.system.tools.admin|_ThreadID=10;_ThreadName=main;|ADM0001:SunoneInterceptor is now enabled|#]

[#|2008-06-15T19:25:51.817+0200|INFO|sun-appserver9.1|javax.enterprise.system.core.security|_ThreadID=10;_ThreadName=main;com.sun.enterprise.security.provider.PolicyWrapper;|SEC1143: Loading policy provider com.sun.enterprise.security.provider.PolicyWrapper.|#]

[#|2008-06-15T19:25:52.277+0200|INFO|sun-appserver9.1|javax.enterprise.system.container.web|_ThreadID=10;_ThreadName=main;server;|WEB0114: SSO is disabled in virtual server [server]|#]

[#|2008-06-15T19:25:52.286+0200|INFO|sun-appserver9.1|javax.enterprise.system.container.web|_ThreadID=10;_ThreadName=main;__asadmin;|WEB0114: SSO is disabled in virtual server [__asadmin]|#]

[#|2008-06-15T19:25:52.908+0200|INFO|sun-appserver9.1|javax.enterprise.system.tools.admin|_ThreadID=10;_ThreadName=main;|ADM1079: Initialization of AMX MBeans started|#]

[#|2008-06-15T19:25:53.044+0200|SEVERE|sun-appserver9.1|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;com.sun.enterprise.admin.server.core.JmxConnectorLifecycle@143ed74;com.sun.appserv.server.ServerLifecycleException;_RequestID=3b562bbb-2bf1-45eb-a0d3-f7144e4a32f7;|Service com.sun.enterprise.admin.server.core.JmxConnectorLifecycle@143ed74 cannot be started! : com.sun.appserv.server.ServerLifecycleException|#]

[#|2008-06-15T19:25:53.045+0200|SEVERE|sun-appserver9.1|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;_RequestID=3b562bbb-2bf1-45eb-a0d3-f7144e4a32f7;|CORE5071: An error occured during initialization
com.sun.appserv.server.ServerLifecycleException
     at com.sun.enterprise.admin.server.core.JmxConnectorLifecycle.onStartup(JmxConnectorLifecycle.java:153)
     at com.sun.enterprise.server.ApplicationServer.onStartup(ApplicationServer.java:442)
     at com.sun.enterprise.server.ondemand.OnDemandServer.onStartup(OnDemandServer.java:120)
     at com.sun.enterprise.server.PEMain.run(PEMain.java:411)
     at com.sun.enterprise.server.PEMain.main(PEMain.java:338)
     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:597)
     at com.sun.enterprise.server.PELaunch.main(PELaunch.java:412)
Caused by: java.lang.NullPointerException
     at javax.management.remote.JMXConnectorServerFactory.newJMXConnectorServer(JMXConnectorServerFactory.java:283)
     at com.sun.enterprise.admin.jmx.remote.server.rmi.JmxConnectorServerDriver.startConnectorServer(JmxConnectorServerDriver.java:215)
     at com.sun.enterprise.admin.server.core.JmxConnectorLifecycle.onStartup(JmxConnectorLifecycle.java:134)
     ... 9 more
|#]

[#|2008-06-15T19:25:53.046+0200|SEVERE|sun-appserver9.1|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;_RequestID=3b562bbb-2bf1-45eb-a0d3-f7144e4a32f7;|Server Startup failed. Exiting...|#]

[#|2008-06-15T19:25:53.046+0200|INFO|sun-appserver9.1|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;|Server shutdown in progress...|#]

[#|2008-06-15T19:25:53.046+0200|INFO|sun-appserver9.1|javax.enterprise.system.container.web|_ThreadID=10;_ThreadName=main;|WEB0303: Stopping Sun-Java-System/Application-Server.|#]

[#|2008-06-15T19:25:53.047+0200|WARNING|sun-appserver9.1|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;_RequestID=3b562bbb-2bf1-45eb-a0d3-f7144e4a32f7;|CORE5061: Exception :
com.sun.appserv.server.ServerLifecycleException: WEB0106: An error occurred while stopping the web container
     at com.sun.enterprise.web.PEWebContainer.stopInstance(PEWebContainer.java:822)
     at com.sun.enterprise.web.PEWebContainerLifecycle.onShutdown(PEWebContainerLifecycle.java:95)
     at com.sun.enterprise.server.ApplicationServer.onShutdown(ApplicationServer.java:549)
     at com.sun.enterprise.server.ondemand.OnDemandServer.onShutdown(OnDemandServer.java:131)
     at com.sun.enterprise.server.PEMain.run(PEMain.java:429)
     at com.sun.enterprise.server.PEMain.main(PEMain.java:338)
     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:597)
     at com.sun.enterprise.server.PELaunch.main(PELaunch.java:412)
Caused by: LifecycleException: WEB0103: This web container has not yet been started
     at com.sun.enterprise.web.WebContainer.stop(WebContainer.java:913)
     at com.sun.enterprise.web.PEWebContainer.stopInstance(PEWebContainer.java:814)
     ... 10 more
|#]

[#|2008-06-15T19:25:53.047+0200|INFO|sun-appserver9.1|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;|CORE5051: Shutting down all J2EE applications ...|#]

[#|2008-06-15T19:25:53.047+0200|INFO|sun-appserver9.1|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;|CORE 5060 :  Stopping all J2EE Connector 1.5 Compliant resource adapters ...|#]

[#|2008-06-15T19:25:53.048+0200|INFO|sun-appserver9.1|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;|CORE 5061 : Resource adapters Stop() Complete|#]

[#|2008-06-15T19:25:53.048+0200|INFO|sun-appserver9.1|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;|CORE5052: Application shutdown complete.|#]

[#|2008-06-15T19:25:53.049+0200|WARNING|sun-appserver9.1|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;_RequestID=3b562bbb-2bf1-45eb-a0d3-f7144e4a32f7;|CORE5061: Exception :
java.lang.NullPointerException
     at com.sun.enterprise.util.InvocationManagerImpl.preInvoke(InvocationManagerImpl.java:136)
     at com.sun.appserv.server.ServerLifecycleModule.preInvoke(ServerLifecycleModule.java:178)
     at com.sun.appserv.server.ServerLifecycleModule.postEvent(ServerLifecycleModule.java:219)
     at com.sun.appserv.server.ServerLifecycleModule.onShutdown(ServerLifecycleModule.java:273)
     at com.sun.appserv.server.LifecycleModuleService.onShutdown(LifecycleModuleService.java:487)
     at com.sun.enterprise.server.ApplicationServer.onShutdown(ApplicationServer.java:549)
     at com.sun.enterprise.server.ondemand.OnDemandServer.onShutdown(OnDemandServer.java:131)
     at com.sun.enterprise.server.PEMain.run(PEMain.java:429)
     at com.sun.enterprise.server.PEMain.main(PEMain.java:338)
     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:597)
     at com.sun.enterprise.server.PELaunch.main(PELaunch.java:412)
|#]

[#|2008-06-15T19:25:53.053+0200|WARNING|sun-appserver9.1|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;_RequestID=3b562bbb-2bf1-45eb-a0d3-f7144e4a32f7;|CORE5061: Exception :
com.sun.appserv.server.ServerLifecycleException
     at com.sun.enterprise.admin.server.core.JmxConnectorLifecycle.onShutdown(JmxConnectorLifecycle.java:171)
     at com.sun.enterprise.server.ApplicationServer.onShutdown(ApplicationServer.java:549)
     at com.sun.enterprise.server.ondemand.OnDemandServer.onShutdown(OnDemandServer.java:131)
     at com.sun.enterprise.server.PEMain.run(PEMain.java:429)
     at com.sun.enterprise.server.PEMain.main(PEMain.java:338)
     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:597)
     at com.sun.enterprise.server.PELaunch.main(PELaunch.java:412)
|#]

[#|2008-06-15T19:25:53.220+0200|WARNING|sun-appserver9.1|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;_RequestID=3b562bbb-2bf1-45eb-a0d3-f7144e4a32f7;|CORE5061: Exception :
java.lang.NullPointerException
     at com.sun.enterprise.util.InvocationManagerImpl.preInvoke(InvocationManagerImpl.java:136)
     at com.sun.appserv.server.ServerLifecycleModule.preInvoke(ServerLifecycleModule.java:178)
     at com.sun.appserv.server.ServerLifecycleModule.postEvent(ServerLifecycleModule.java:219)
     at com.sun.appserv.server.ServerLifecycleModule.onTermination(ServerLifecycleModule.java:277)
     at com.sun.appserv.server.LifecycleModuleService.onTermination(LifecycleModuleService.java:496)
     at com.sun.enterprise.server.ApplicationServer.onTermination(ApplicationServer.java:587)
     at com.sun.enterprise.server.PEMain.run(PEMain.java:434)
     at com.sun.enterprise.server.PEMain.main(PEMain.java:338)
     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:597)
     at com.sun.enterprise.server.PELaunch.main(PELaunch.java:412)
|#]

[#|2008-06-15T19:25:53.220+0200|SEVERE|sun-appserver9.1|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;_RequestID=3b562bbb-2bf1-45eb-a0d3-f7144e4a32f7;|Server stopped due to Server startup failure.|#]


Please, any help.

Thanking in advance,
Oggie Svennson
  • 1. Re: Problems with java_ee_sdk-5_05-windows.exe on Windows Vista
    807574 Newbie
    Currently Being Moderated
    Hi,

    I think the issue is exposed on Bug ID:6402335 (http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6402335)
    where I found as follows:
    Simple fix is to just remove the setReuseAddress from socket service code.
    Any help about what does it mean.

    Thanking in advance,
    Oggie
  • 2. Re: Problems with java_ee_sdk-5_05-windows.exe on Windows Vista
    807574 Newbie
    Currently Being Moderated
    Hi,

    I think it could be a solution to create a LifeCycleModule for domain1. I have been visiting some pages here on Sun
    and I Think this is what I have to do. But it is quite delicated, I mean, if I create (with asadmin on the console) a
    LifeCycleModule I can cause an error on shutdown the AppServer.

    I will apreciate any idea.

    Thanking in advance.
    Oggie
  • 3. Re: Problems with java_ee_sdk-5_05-windows.exe on Windows Vista
    807574 Newbie
    Currently Being Moderated
    I have found this page (http://osdir.com/ml/java.netbeans.j2ee/2007/msg01651.html), where they are talking about
    a possible solution to my problem, but I am not sure at all. I can change my Windows Vista administrator name,
    Jos�, by localhost. I guess GlassFish does not work with this tag
    <jms-service addresslist-behavior="random" addresslist-iterations="3" default-jms-host="default_JMS_host" init-timeout-in-seconds="60"
    reconnect-attempts="3" reconnect-enabled="true" reconnect-interval-in-seconds="5" type="EMBEDDED">
    <jms-host admin-password="admin" admin-user-name="admin" host="*Jos��1*" name="default_JMS_host" port="7676"/>
    </jms-service>
    I have tried to put localhost as the conversation recommend but GlashFish does not work as well. I think I am getting closer to the solution.

    Any idea?

    Thx
    Jos� �lvarez de Lara (Oggie)
  • 4. Re: Problems with java_ee_sdk-5_05-windows.exe on Windows Vista
    807574 Newbie
    Currently Being Moderated
    Hi,

    It is what I guessed as the web page explains. The domain.xml file does not recognize any equipment name
    that as an acute in it. That was my case. So I have changed the name of my equipment and the problem was
    resolved when I installed the GlassFish again.

    Thanks for all of you about to visit my posts

    See you around,
    Oggie