facebook

GlassFish v2ur2 startup failure under MyEclipse 6.01, WinXP

  1. MyEclipse Archived
  2.  > 
  3. Application Servers and Deployment
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #285835 Reply

    Has anyone tested this combination?
    I’m seeing the following in the console:

    
    Jun 12, 2008 10:18:51 AM com.sun.enterprise.server.PEMain main
    INFO: Starting Sun Java System Application Server 9.1_02 (build b04-fcs) ...
    Jun 12, 2008 10:18:51 AM com.sun.enterprise.server.PEMain$LoadMBeanServer doRun
    INFO: MBeanServer started: com.sun.enterprise.interceptor.DynamicInterceptor
    Jun 12, 2008 10:18:53 AM com.sun.enterprise.server.ss.ASLazyKernel startASSocketServices
    SEVERE: UnknownException during startup. Disable quick startup by setting system property com.sun.enterprise.server.ss.ASQuickStartup to false
    java.lang.NullPointerException
        at com.sun.enterprise.config.serverbeans.ServerBeansFactory.getConfigModel(ServerBeansFactory.java:77)
        at com.sun.enterprise.config.serverbeans.ServerBeansFactory.getConfigBean(ServerBeansFactory.java:111)
        at com.sun.enterprise.server.ss.ASLazyKernel.setupSocketListeners(ASLazyKernel.java:132)
        at com.sun.enterprise.server.ss.ASLazyKernel.startASSocketServices(ASLazyKernel.java:99)
        at com.sun.enterprise.server.ondemand.OnDemandServer.onInitialization(OnDemandServer.java:92)
        at com.sun.enterprise.server.PEMain.run(PEMain.java:401)
        at com.sun.enterprise.server.PEMain.main(PEMain.java:338)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)[/quote][/quote]    at com.sun.enterprise.server.PELaunch.main(PELaunch.java:412)
    

    If, as directed, I set -Dcom.sun.enterprise.server.ss.ASQuickStartup=false in the launch VM args, I get this.

    
    WARNING: 
    java.lang.NullPointerException
        at com.sun.enterprise.config.serverbeans.ServerBeansFactory.getConfigModel(ServerBeansFactory.java:77)
        at com.sun.enterprise.config.serverbeans.ServerBeansFactory.getConfigBean(ServerBeansFactory.java:111)
        at com.sun.enterprise.server.logging.ServerLogManager.getLogService(ServerLogManager.java:365)
        at com.sun.enterprise.server.logging.ServerLogManager.reInitializeServerLoggers(ServerLogManager.java:545)
        at com.sun.enterprise.server.ApplicationServer.onInitialization(ApplicationServer.java:167)
        at com.sun.enterprise.server.ondemand.OnDemandServer.onInitialization(OnDemandServer.java:101)
        at com.sun.enterprise.server.PEMain.run(PEMain.java:401)
        at com.sun.enterprise.server.PEMain.main(PEMain.java:338)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at com.sun.enterprise.server.PELaunch.main(PELaunch.java:412)
    
    #285839 Reply

    Loyal Water
    Member

    If, as directed, I set -Dcom.sun.enterprise.server.ss.ASQuickStartup=false in the launch VM args, I get this.

    Did you add this in the Launch VM Args text area box under GlassFish 2.x > JDK?

    #285855 Reply

    I had it in a custom launch configuration created from under Glassfish 2.x > Launch.

    I moved it to Glassfish 2.x > JDK launch options.
    Same result.

    #285872 Reply

    Loyal Water
    Member

    Can you please make sure your configured connector looks like this:-
    https://www.genuitec.com/forums/topic/glassfish-2-what-does-a-configured-connector-look-like/

    Also, GlassFish 2.x > JDK > Glass Fish JDK Name should point to a JDK e.g. JDK 1.5

    #286115 Reply

    Aha. The “Server name” field has a typo: “server1” instead of “server”.
    It starts now. Thanks!

    #286120 Reply

    Loyal Water
    Member

    Your Welcome.

Viewing 6 posts - 1 through 6 (of 6 total)
Reply To: GlassFish v2ur2 startup failure under MyEclipse 6.01, WinXP

This topic is marked as closed to new replies, however your posting capabilities still allow you to do so.

You must be logged in to post in the forum log in