users@glassfish.java.net

Trying to use nucleus distribution

From: David Van Couvering <David.Vancouvering_at_Sun.COM>
Date: Mon, 01 Sep 2008 20:02:53 -0700

Hi, all. I pulled down the GF source tree, and went into
distributions/nucleus and built the nucleus distribution using "mvn install"

I took the resulting zip and unzipped it into another directory and
tried to start it, I got the following result (see below). Is there
something I need to do first? domains/domain1 appears to exist and be
set up, but do I need to configure it somehow?

Also, when I want to add a new module that runs on startup, it looks
like I just need to implement the Startup service and the PostConstruct
service. Do I have that right?

Thanks,

David

$./startserv
Sep 1, 2008 7:42:43 PM
com.sun.enterprise.admin.launcher.GFLauncherLogger info
INFO: Successfully launched in 152 msec.
Sep 1, 2008 7:42:43 PM com.sun.enterprise.glassfish.bootstrap.ASMain main
INFO: Launching GlassFish on Apache Felix OSGi platform
Sep 1, 2008 7:42:43 PM com.sun.enterprise.glassfish.bootstrap.ASMainOSGi
findDerbyClient
INFO: Cannot find javadb client jar file, jdbc driver not available
Sep 1, 2008 7:42:43 PM
com.sun.enterprise.glassfish.bootstrap.ASMainHelper setUpINFO:
contextRootDir = /Users/David/gfnucleus/glassfish/modules
Sep 1, 2008 7:42:44 PM OSGiFactoryImpl initialize
INFO: Singleton already initialized as
com.sun.enterprise.module.impl.HK2Factory_at_9dd6e2
Sep 1, 2008 7:42:44 PM OSGiModuleImpl loadClass
INFO: Started bundle org.glassfish.core.kernel [36]
Sep 1, 2008 7:42:44 PM OSGiModuleImpl loadClass
INFO: Started bundle org.glassfish.common.common-util [26]
Sep 1, 2008 7:42:44 PM HK2Main$HK2ServiceTrackerCustomizer addingService
INFO: registerring service =
org.apache.felix.framework.StartLevelImpl_at_156508, contract =
org.osgi.service.startlevel.StartLevel, name = null
Sep 1, 2008 7:42:44 PM HK2Main$HK2ServiceTrackerCustomizer addingService
INFO: registerring service =
org.apache.felix.framework.PackageAdminImpl_at_548414, contract =
org.osgi.service.packageadmin.PackageAdmin, name = null
Sep 1, 2008 7:42:44 PM AppServerStartup run
INFO: [Thread[GlassFish Kernel Main Thread,5,main]] started
Command start-domain executed successfully.
The domain was stopped.

$./stopserv
Usage: stop-domain [--terse=false] [--echo=false] [--user admin-user]
[--passwordfile filename] [--domaindir domain_directory] [--force true]
[domain_name]
CLI306 Error - server is not running.
Closest matching command(s):
    stop-domain
Command stop-domain failed.