users@glassfish.java.net

Glassfish 3.1.1 unable to deploy web application

From: <forums_at_java.net>
Date: Fri, 29 Jul 2011 09:31:44 -0500 (CDT)

 

I've just setup a g/f 3.1.1 test environment but can't deploy my app. When I
start the server instance I get a few logging warnings as can be seen and the
output stops at the intriguing "INFO: g!" line. When I deploy the app the
output starts at the line "INFO: gosh: stopping framework" and the jvm exits.
Thanks for any suggestions.   Launching GlassFish on Felix platform
Jul 29, 2011 2:19:23 PM com.sun.enterprise.server.logging.LogManagerService
postConstruct
WARNING: Record begin marker is not a proper value so using default.
Jul 29, 2011 2:19:24 PM com.sun.enterprise.server.logging.LogManagerService
postConstruct
WARNING: Record end marker is not a proper value so using default.
Jul 29, 2011 2:19:24 PM com.sun.enterprise.server.logging.LogManagerService
postConstruct
WARNING: Log Format field separator is not a character so using default.
Jul 29, 2011 2:19:24 PM com.sun.enterprise.server.logging.LogManagerService
postConstruct
WARNING: Date Format specified is wrong so using default.
INFO: Registered org.glassfish.ha.store.adapter.cache.ShoalBackingStoreProxy
for persistence-type = replicated in BackingStoreFactoryRegistry
INFO: The Admin Console is already installed, but not yet loaded.
INFO: Grizzly Framework 1.9.36 started in: 296ms - bound to [0.0.0.0:8181]
INFO: Grizzly Framework 1.9.36 started in: 390ms - bound to [0.0.0.0:8080]
INFO: Grizzly Framework 1.9.36 started in: 296ms - bound to [0.0.0.0:4848]
INFO: Grizzly Framework 1.9.36 started in: 281ms - bound to [0.0.0.0:3700]
INFO: Grizzly Framework 1.9.36 started in: 249ms - bound to [0.0.0.0:7676]
INFO: WEB0169: Created HTTP listener [http-listener-1] on host/port
[0.0.0.0:8080]
INFO: WEB0169: Created HTTP listener [http-listener-2] on host/port
[0.0.0.0:8181]
INFO: WEB0169: Created HTTP listener [admin-listener] on host/port
[0.0.0.0:4848]
INFO: WEB0171: Created virtual server [server]
INFO: WEB0171: Created virtual server [__asadmin]
INFO: WEB0172: Virtual server [server] loaded default web module []
INFO: core.start_container_done
INFO: SEC1002: Security Manager is OFF.
INFO: SEC1010: Entering Security Startup Service
INFO: SEC1143: Loading policy provider
com.sun.enterprise.security.provider.PolicyWrapper.
INFO: SEC1115: Realm [admin-realm] of classtype
[com.sun.enterprise.security.auth.realm.file.FileRealm] successfully created.
INFO: SEC1115: Realm [file] of classtype
[com.sun.enterprise.security.auth.realm.file.FileRealm] successfully created.
INFO: SEC1115: Realm [certificate] of classtype
[com.sun.enterprise.security.auth.realm.certificate.CertificateRealm]
successfully created.
INFO: SEC1115: Realm [SportQuestRealm] of classtype
[com.sun.enterprise.security.auth.realm.jdbc.JDBCRealm] successfully created.
INFO: SEC1115: Realm [CustomLoginRealm] of classtype
[uk.co.sportquest.general.CustomLoginRealm] successfully created.
INFO: SEC1011: Security Service(s) Started Successfully
INFO: Initializing Mojarra 2.1.3 (FCS b02) for context '/suffixMapping'
INFO: Hibernate Validator 4.1.0.Final
INFO: Instantiated an instance of
org.hibernate.validator.engine.resolver.JPATraversableResolver.
INFO: WEB0671: Loading application [suffixMapping] at [/suffixMapping]
INFO: CORE10010: Loading application suffixMapping done in 5,023 ms
INFO: GlassFish Server Open Source Edition 3.1.1 (12) startup time : Felix
(23,275ms), startup services(11,872ms), total(35,147ms)
INFO: Instantiated an instance of
org.hibernate.validator.engine.resolver.JPATraversableResolver.
INFO: JMXStartupService: Started JMXConnector, JMXService URL =
service:jmx:rmi://SportQuest:8686/jndi/rmi://SportQuest:8686/jmxrmi
INFO: WEB0169: Created HTTP listener [http-listener-1] on host/port
[0.0.0.0:8080]
INFO: Grizzly Framework 1.9.36 started in: 62ms - bound to [0.0.0.0:8080]
INFO: WEB0169: Created HTTP listener [http-listener-2] on host/port
[0.0.0.0:8181]
INFO: Grizzly Framework 1.9.36 started in: 16ms - bound to [0.0.0.0:8181]
INFO: ____________________________
Welcome to Apache Felix Gogo INFO: g! ** deploy app here **
INFO: gosh: stopping framework
INFO: Stopping com.sun.enterprise.v3.server.AppServerStartup_at_788dffd9 [1]
INFO: JMXStartupService: Stopped JMXConnectorServer: null
INFO: JMXStartupService and JMXConnectors have been shut down.
INFO: Shutdown procedure finished
INFO: [Thread[GlassFish Kernel Main Thread,5,main]] exiting
Completed shutdown of Log manager service
Error stopping framework: org.glassfish.embeddable.GlassFishException:
org.osgi.framework.BundleException: Bundle org.apache.felix.framework [0]
cannot be stopped since it is already stopping.
org.glassfish.embeddable.GlassFishException:
org.osgi.framework.BundleException: Bundle org.apache.felix.framework [0]
cannot be stopped since it is already stopping.
        at
com.sun.enterprise.glassfish.bootstrap.osgi.OSGiGlassFishRuntime.shutdown(OSGiGlassFishRuntime.java:81)
        at
com.sun.enterprise.glassfish.bootstrap.GlassFishMain$Launcher$1.run(GlassFishMain.java:203)
Caused by: org.osgi.framework.BundleException: Bundle
org.apache.felix.framework [0] cannot be stopped since it is already
stopping.
        at
org.apache.felix.framework.Felix.stopBundle(Felix.java:2139)
        at org.apache.felix.framework.Felix.stop(Felix.java:869)
        at
com.sun.enterprise.glassfish.bootstrap.osgi.OSGiGlassFishRuntime.shutdown(OSGiGlassFishRuntime.java:76)
        ... 1 more
 
 


[1] mailto:com.sun.enterprise.v3.server.AppServerStartup_at_788dffd9

--
[Message sent by forum member 'oversteer']
View Post: http://forums.java.net/node/827327