users@glassfish.java.net

Re: Could not run HelloNB69 (Java EE 6) on GF3.0.1

From: <glassfish_at_javadesktop.org>
Date: Wed, 29 Sep 2010 01:03:47 PDT

Hi Tim,

I have successfully deployed and ran HelloNB69 after replacing GF3.0.1 with latest GF3.1.01 from nightly download and installing it in C:/Sun folder to overcame the naming spacing issue. However, the Admin Console does not displayed anything when launching from Netbeans 6.9.1 Service tab. Below is the server which doesn't appears to have encountering any issue:
------------------------------------------------------------------------------------------------------
INFO: ACDEPL104: Java Web Start services stopped for the app client HelloNB69/HelloNB69-app-client.jar
INFO: Server shutdown initiated
INFO: Stopping extender called org.glassfish.osgiweb.WebExtender_at_1ddcb
Launching GlassFish on Felix platform
OSGiGlassFishRuntime: Initialized org.apache.felix.framework [0]
29/09/2010 4:12:37 PM com.sun.enterprise.util.EarlyLogger add
INFO: Total time to parse domain.xml: 180 milliseconds
gfKernel = com.sun.enterprise.v3.server.AppServerStartup_at_8034b6
INFO: This message was emitted before the logging service started:Total time to parse domain.xml: 180 milliseconds
INFO: Registered org.glassfish.ha.store.adapter.cache.ShoalBackingStoreProxy for persistence-type = replicated in BackingStoreFactoryRegistry
INFO: Registered SHOAL BackingStore Proxy with persistence-type = replicated
INFO: Registered org.glassfish.ha.store.adapter.cache.ReplicationStoreProxy2 for persistence-type = replication in BackingStoreFactoryRegistry
INFO: Registered ReplicationStoreProxy with persistence-type = replication
INFO: Perform lazy SSL initialization for the listener 'http-listener-2'
INFO: Grizzly Framework 1.9.19 started in: 281ms - bound to [0.0.0.0:8080]
INFO: Grizzly Framework 1.9.19 started in: 31ms - bound to [0.0.0.0:8181]
INFO: GRIZZLY0001: Starting Grizzly Framework 1.9.19 - 29/09/10 4:12 PM
INFO: Grizzly Framework 1.9.19 started in: 110ms - bound to [0.0.0.0:3700]
INFO: GRIZZLY0001: Starting Grizzly Framework 1.9.19 - 29/09/10 4:12 PM
INFO: Grizzly Framework 1.9.19 started in: 63ms - bound to [localhost:7676]
INFO: Grizzly Framework 1.9.19 started in: 296ms - bound to [0.0.0.0:4848]
INFO: The Admin Console is already installed, but not yet loaded.
INFO: GlassFish Server Open Source Edition 3.1-b21 (21) startup time : Felix(10828ms) startup services(5063ms) total(15891ms)
INFO: Binding RMI port to *:8686
INFO: C:\Sun\glassfish3\glassfish\domains\domain1\autodeploy\bundles does not exist, please create it.
INFO: Started bundle: file:/C:/Sun/glassfish3/glassfish/modules/autostart/osgi-web-container.jar
INFO: Hibernate Validator null
INFO: Instantiated an instance of org.hibernate.validator.engine.resolver.JPATraversableResolver.
INFO: Started bundle: file:/C:/Sun/glassfish3/glassfish/modules/autostart/org.apache.felix.bundlerepository.jar
INFO: DEBUG: EventAdmin: org.apache.felix.eventadmin.CacheSize=30
INFO: DEBUG: EventAdmin: org.apache.felix.eventadmin.ThreadPoolSize=20
INFO: DEBUG: EventAdmin: org.apache.felix.eventadmin.Timeout=5000
INFO: DEBUG: EventAdmin: org.apache.felix.eventadmin.RequireTopic=true
INFO: Started bundle: file:/C:/Sun/glassfish3/glassfish/modules/autostart/org.apache.felix.eventadmin.jar
INFO: DEBUG: EventAdmin: org.apache.felix.eventadmin.CacheSize=30
INFO: DEBUG: EventAdmin: org.apache.felix.eventadmin.ThreadPoolSize=20
INFO: DEBUG: EventAdmin: org.apache.felix.eventadmin.Timeout=5000
INFO: JMXStartupService: Started JMXConnector, JMXService URL = service:jmx:rmi://startrek.abc.com:8686/jndi/rmi://startrek.abc.com:8686/jmxrmi
INFO: DEBUG: EventAdmin: org.apache.felix.eventadmin.RequireTopic=true
INFO: ExtenderManager starting
INFO: Starting extender called org.glassfish.osgiweb.WebExtender_at_896e10
INFO: Starting extender called org.glassfish.osgijavaeebase.JavaEEExtender_at_cfa52e
INFO: Started bundle: file:/C:/Sun/glassfish3/glassfish/modules/autostart/osgi-javaee-base.jar
INFO: Grizzly Framework 1.9.19 started in: 16ms - bound to [0.0.0.0:8080]
INFO: Started bundle: file:/C:/Sun/glassfish3/glassfish/modules/autostart/org.apache.felix.scr.jar
INFO: Perform lazy SSL initialization for the listener 'http-listener-2'
INFO: Grizzly Framework 1.9.19 started in: 15ms - bound to [0.0.0.0:8181]
INFO: DTX5019: Using [com.sun.enterprise.transaction.jts.JavaEETransactionManagerJTSDelegate] as the delegate
INFO: [Thread[GlassFish Kernel Main Thread,5,main]] started
INFO: Installed C:\Sun\glassfish3\glassfish\modules\autostart\org.apache.felix.fileinstall-autodeploy-bundles.cfg
INFO: C:\Sun\glassfish3\glassfish\domains\domain1\autodeploy\bundles does not exist, please create it.
INFO: Installed C:\Sun\glassfish3\glassfish\modules\autostart\org.apache.felix.webconsole.internal.servlet.OsgiManager.cfg
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: SEC1011: Security Service(s) Started Successfully
INFO: JTS5014: Recoverable JTS instance, serverId = [3700]
INFO: Portable JNDI names for EJB Hello : [java:global/HelloNB69/HelloNB69-ejb/Hello, java:global/HelloNB69/HelloNB69-ejb/Hello!ejb.HelloRemote]
INFO: Glassfish-specific (Non-portable) JNDI names for EJB Hello : [ejb.HelloRemote, ejb.HelloRemote#ejb.HelloRemote]
WARNING: ACDEPL112: The following extensions or libraries are referenced from the manifest of C:\Documents and Settings\Jack\HelloNB69\dist\gfdeploy\HelloNB69\HelloNB69-app-client.jar but were not found where indicated: HelloNB69-ejb.jar appclient-server-core.jar gf-client.jar internal-api.jar ; ignoring and continuing
INFO: ACDEPL103: Java Web Start services started for the app client HelloNB69/HelloNB69-app-client.jar (contextRoot: /HelloNB69/HelloNB69-app-client)
INFO: HelloNB69 was successfully deployed in 20,593 milliseconds.
INFO: Initiating Jersey application, version 'Jersey: 1.4 09/11/2010 10:30 PM'
INFO: Listening to REST requests at context: /management/domain
INFO: The Admin Console is already installed, but not yet loaded.
INFO: The Admin Console is loading...
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: PersistenceStrategyBuilderFactory>>createPersistenceStrategyBuilder: CandidateBuilderClassName = class com.sun.enterprise.web.MemoryStrategyBuilder
INFO: WEB0172: Virtual server [server] loaded default web module []
INFO: PersistenceStrategyBuilderFactory>>createPersistenceStrategyBuilder: CandidateBuilderClassName = class com.sun.enterprise.web.MemoryStrategyBuilder
INFO: Initializing Mojarra 2.1.0 (SNAPSHOT 20100910) for context ''
INFO: WEB0671: Loading application [__admingui] at [/]
INFO: loading.application.time
INFO: The Admin Console application is loaded.
INFO: AMX ComplianceMonitor: ValidationLevel = full, UnregisterNonCompliant = false, LogInaccessibleAttributes = true
INFO: AMX config read, domain config registered as amx:pp=/,type=domain
INFO: J2EEDomain registered at amx:pp=/,type=J2EEDomain,j2eeType=J2EEDomain,name=amx
INFO: AMXStartupServiceNew: AMX ready for use, DomainRoot = amx:pp=,type=domain-root
--------------------------------------------------------------------------------------
Any suggestion on the workaround? I need to create JDBC Resource & Connection pool on the server.

Thanks again,

Jack
[Message sent by forum member 'htran_888']

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