Have you tried:
java -jar glassfish/lib/glassfish-10.0-SNAPSHOT.jar
I am getting this error:
Dec 6, 2007 1:03:05 PM com.sun.enterprise.v3.server.AppServerStartup run
INFO: Init service :
com.sun.enterprise.v3.services.impl.CmdLineParamProcessor_at_29e97f9f
Dec 6, 2007 1:03:06 PM com.sun.enterprise.v3.server.AppServerStartup run
INFO: Init service :
com.sun.enterprise.v3.services.impl.LogManagerService_at_74b23210
Dec 6, 2007 1:03:06 PM
com.sun.enterprise.v3.services.impl.GrizzlyAdapter postConstruct
INFO: Listening on port 8080
Dec 6, 2007 1:03:06 PM com.sun.enterprise.v3.server.AppServerStartup run
INFO: Startup service : Grizzly on port 8080
Dec 6, 2007 1:03:06 PM
com.sun.enterprise.v3.services.impl.DeploymentService postConstruct
INFO: Supported containers : jruby,web,phobos
Dec 6, 2007 1:03:06 PM com.sun.enterprise.v3.server.AppServerStartup run
INFO: Startup service : Deployment
Dec 6, 2007 1:03:07 PM com.sun.enterprise.v3.server.AppServerStartup run
INFO: Startup service : Application Loader
Dec 6, 2007 1:03:07 PM com.sun.enterprise.v3.server.AppServerStartup run
INFO: Glassfish v3 started in 1837 ms
Dec 6, 2007 1:03:07 PM com.sun.grizzly.Controller doSelect
SEVERE: doSelect exception
java.net.BindException: Address already in use:
8080=com.sun.grizzly.http.SelectorThreadHandler_at_ffdadcd
at
com.sun.grizzly.TCPSelectorHandler.preSelect(TCPSelectorHandler.java:259)
at com.sun.grizzly.Controller.doSelect(Controller.java:290)
at
com.sun.grizzly.SelectorHandlerRunner.run(SelectorHandlerRunner.java:57)
at com.sun.grizzly.Controller.start(Controller.java:826)
at
com.sun.grizzly.http.SelectorThread.startListener(SelectorThread.java:1116)
at
com.sun.grizzly.http.SelectorThread.startEndpoint(SelectorThread.java:1088)
at com.sun.enterprise.v3.services.impl.GrizzlyAdapter
$1.run(GrizzlyAdapter.java:161)
I did not see this yesterday.
Paul
On Thu, 2007-12-06 at 13:00 -0800, Jane Young wrote:
> Hi Paul,
>
> I'm also seeing this same problem with a fresh build:
>
>
> janey:/export/Glassfish/glassfish_v3_06Dec/v3/execute/glassfish/bin
> janey$ ./asadmin deploy --port 7070 ~/J2EE_apps/hello1.war
> SUCCESS : null
>
> server log:
>
> Dec 6, 2007 12:58:42 PM com.sun.enterprise.v3.admin.AdminAdapter doCommand
> SEVERE: Exception in command execution : java.lang.LinkageError: Unable
> to locate ant module
> java.lang.LinkageError: Unable to locate ant module
> at
> com.sun.enterprise.web.WebImportPolicy.prepare(WebImportPolicy.java:55)
> at com.sun.enterprise.module.Module.resolve(Module.java:299)
> at
> com.sun.enterprise.module.ModulesRegistry.makeModuleFor(ModulesRegistry.java:224)
> at com.sun.enterprise.module.Module.resolve(Module.java:313)
> at
> com.sun.enterprise.module.ModulesRegistry.makeModuleFor(ModulesRegistry.java:224)
> at
> com.sun.enterprise.v3.server.ContainerStarter.startContainer(ContainerStarter.java:121)
> at
> com.sun.enterprise.v3.server.ApplicationLifecycle.startContainer(ApplicationLifecycle.java:311)
> at
> com.sun.enterprise.v3.server.ApplicationLifecycle.load(ApplicationLifecycle.java:147)
> at
> com.sun.enterprise.v3.deployment.DeployCommand.execute(DeployCommand.java:196)
> at
> com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:246)
> at
> com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:162)
> at
> com.sun.enterprise.v3.admin.AdminAdapter.service(AdminAdapter.java:110)
> at
> com.sun.enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:100)
> at
> com.sun.enterprise.v3.services.impl.GrizzlyAdapter.service(GrizzlyAdapter.java:251)
> at
> com.sun.grizzly.http.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:598)
> at
> com.sun.grizzly.http.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:529)
> at
> com.sun.grizzly.http.DefaultProcessorTask.process(DefaultProcessorTask.java:773)
> at
> com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:130)
> at
> com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:90)
> at
> com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:68)
> at
> com.sun.grizzly.http.SelectorThread$1.execute(SelectorThread.java:628)
> at com.sun.grizzly.Context.call(Context.java:266)
> at
> com.sun.grizzly.util.WorkerThreadImpl.run(WorkerThreadImpl.java:179)
>
>
>
> Hong Zhang wrote:
>
> > Hi, Paul
> > What I tried:
> > 1. update v3 workspace, svn update
> > 2. mvn clean; mvn -U install
> > 3. get the pe.zip under distribution directory and unzip
> > 4. start server and deploy by "asadmin deploy --path hello1.war"
> >
> > - Hong
> >
> >>
> >> I was able to deploy and use the hello1 war deployed to GF from the
> >> built pe.zip file. Please tell me the steps you took that led to the
> >> error below.
> >>
> >> Paul
> >>
> >> On Thu, 2007-12-06 at 13:23 -0500, Hong Zhang wrote:
> >>
> >>> Hi, Paul
> >>> After I updated workspace, I could build and start server ok.
> >>> But when I tried to deploy the hello1.war, I got following error:
> >>>
> >>> INFO: Glassfish v3 started in 962 ms
> >>> Dec 6, 2007 1:20:47 PM com.sun.enterprise.v3.admin.AdminAdapter
> >>> doCommand
> >>> SEVERE: Exception in command execution : java.lang.LinkageError:
> >>> Unable to locate ant module
> >>> java.lang.LinkageError: Unable to locate ant module
> >>> at
> >>> com.sun.enterprise.web.WebImportPolicy.prepare(WebImportPolicy.java:55)
> >>> at com.sun.enterprise.module.Module.resolve(Module.java:299)
> >>> at
> >>> com.sun.enterprise.module.ModulesRegistry.makeModuleFor(ModulesRegistry.java:224)
> >>> at com.sun.enterprise.module.Module.resolve(Module.java:313)
> >>> at
> >>> com.sun.enterprise.module.ModulesRegistry.makeModuleFor(ModulesRegistry.java:224)
> >>> at
> >>> com.sun.enterprise.v3.server.ContainerStarter.startContainer(ContainerStarter.java:121)
> >>> at
> >>> com.sun.enterprise.v3.server.ApplicationLifecycle.startContainer(ApplicationLifecycle.java:311)
> >>> at
> >>> com.sun.enterprise.v3.server.ApplicationLifecycle.load(ApplicationLifecycle.java:147)
> >>> at
> >>> com.sun.enterprise.v3.deployment.DeployCommand.execute(DeployCommand.java:196)
> >>> at
> >>> com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:246)
> >>> at
> >>> com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:162)
> >>> at
> >>> com.sun.enterprise.v3.admin.AdminAdapter.service(AdminAdapter.java:110)
> >>> at
> >>> com.sun.enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:100)
> >>> at
> >>> com.sun.enterprise.v3.services.impl.GrizzlyAdapter.service(GrizzlyAdapter.java:251)
> >>> at
> >>> com.sun.grizzly.http.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:598)
> >>> at
> >>> com.sun.grizzly.http.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:529)
> >>> at
> >>> com.sun.grizzly.http.DefaultProcessorTask.process(DefaultProcessorTask.java:773)
> >>> at
> >>> com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:130)
> >>> at
> >>> com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:90)
> >>> at
> >>> com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:68)
> >>> at
> >>> com.sun.grizzly.http.SelectorThread$1.execute(SelectorThread.java:628)
> >>> at com.sun.grizzly.Context.call(Context.java:266)
> >>> at
> >>> com.sun.grizzly.util.WorkerThreadImpl.run(WorkerThreadImpl.java:179)
> >>>
> >>> - Hong
> >>>
> >>> Paul Sterk wrote:
> >>>
> >>>>
> >>>> Ok. A Husdon batch process failed for some reason. I'll push out
> >>>> new version now.
> >>>>
> >>>> Paul
> >>>>
> >>>> On Thu, 2007-12-06 at 12:32 -0500, Hong Zhang wrote:
> >>>>
> >>>>> Hi, Paul
> >>>>> I tried earlier this morning (after updating my workspace), and
> >>>>> I got this error:
> >>>>>
> >>>>> Downloading:
> >>>>> http://repo1.maven.org/maven2/org/jvnet/maven-antrun-extended-plugin/maven-antrun-extended-plugin/1.9/maven-antrun-extended-plugin-1.9.pom
> >>>>>
> >>>>> [INFO]
> >>>>> ------------------------------------------------------------------------
> >>>>>
> >>>>> [ERROR] BUILD ERROR
> >>>>> [INFO]
> >>>>> ------------------------------------------------------------------------
> >>>>>
> >>>>> [INFO] Failed to resolve artifact.
> >>>>>
> >>>>> GroupId: org.jvnet.maven-antrun-extended-plugin
> >>>>> ArtifactId: maven-antrun-extended-plugin
> >>>>> Version: 1.9
> >>>>>
> >>>>> Reason: Unable to download the artifact from any repository
> >>>>>
> >>>>>
> >>>>> org.jvnet.maven-antrun-extended-plugin:maven-antrun-extended-plugin:pom:1.9
> >>>>>
> >>>>>
> >>>>> from the specified remote repositories:
> >>>>> central (http://repo1.maven.org/maven2),
> >>>>> repo1.maven.org (http://repo1.maven.org/maven2),
> >>>>> java-dev-repository (http://download.java.net/maven/1),
> >>>>> maven2.java.net (http://download.java.net/maven/2),
> >>>>> glassfish-repository (http://download.java.net/maven/glassfish),
> >>>>> java.net (http://download.java.net/maven/1),
> >>>>> my-m1-repository (http://download.java.net/javaee5/external/shared)
> >>>>>
> >>>>> Thanks,
> >>>>>
> >>>>> - Hong
> >>>>>
> >>>>>>
> >>>>>>
> >>>>>> Please retest with latest bits. Kohsuke and I have made some
> >>>>>> progress. The server should start now. We are working to reduce
> >>>>>> bloat in the current zip ile.
> >>>>>>
> >>>>>> Paul
> >>>>>>
> >>>>>> On Wed, 2007-12-05 at 15:10 -0500, Hong Zhang wrote:
> >>>>>>
> >>>>>>> Hi, Paul
> >>>>>>> I just built the v3 using the latest source (including your
> >>>>>>> check in today) and I couldn't get the server started either.
> >>>>>>> :-( The only jar in my lib directory after unzip is
> >>>>>>> glassfish-10.0-SNAPSHOT.jar.
> >>>>>>>
> >>>>>>> hzhang_at_nmr:~/files/sun/glassfish/lib$ java -jar
> >>>>>>> glassfish-10.0-SNAPSHOT.jar
> >>>>>>> Exception in thread "main" java.lang.NoClassDefFoundError:
> >>>>>>> com/sun/enterprise/module/bootstrap/Main
> >>>>>>> at java.lang.ClassLoader.defineClass1(Native Method)
> >>>>>>> at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
> >>>>>>> at
> >>>>>>> java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
> >>>>>>> at
> >>>>>>> java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
> >>>>>>> at
> >>>>>>> java.net.URLClassLoader.access$100(URLClassLoader.java:56)
> >>>>>>> at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
> >>>>>>> at java.security.AccessController.doPrivileged(Native
> >>>>>>> Method)
> >>>>>>> at
> >>>>>>> java.net.URLClassLoader.findClass(URLClassLoader.java:188)
> >>>>>>> at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
> >>>>>>> at
> >>>>>>> sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
> >>>>>>> at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
> >>>>>>> at
> >>>>>>> java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
> >>>>>>>
> >>>>>>> - Hong
> >>>>>>>
> >>>>>>> Paul Sterk wrote:
> >>>>>>>
> >>>>>>>>
> >>>>>>>> Jane,
> >>>>>>>>
> >>>>>>>> I have a fix for this issue and am completing some tests. I
> >>>>>>>> also want to give Jerome a chance to comment on my fix, if he
> >>>>>>>> has time. Either way, I'll commit a patch in about an hour.
> >>>>>>>>
> >>>>>>>> Paul
> >>>>>>>>
> >>>>>>>> On Wed, 2007-12-05 at 01:29 -0800, Jane Young wrote:
> >>>>>>>>
> >>>>>>>>>Hi Sahoo,
> >>>>>>>>>
> >>>>>>>>>Thanks for the quick response.
> >>>>>>>>>I unzipped
> >>>>>>>>>org/glassfish/distributions/pe/10.0-SNAPSHOT/pe-10.0-SNAPSHOT.zip from
> >>>>>>>>>~/.m2/repository and I couldn't find
> >>>>>>>>>glassfish/lib/glassfish-10.0-SNAPSHOT.jar
> >>>>>>>>>
> >>>>>>>>>I'm using the latest build. Something is not working...
> >>>>>>>>>
> >>>>>>>>>Jane
> >>>>>>>>>
> >>>>>>>>>
> >>>>>>>>>Sahoo wrote:
> >>>>>>>>>
> >>>>>>>>>> 'mvn install' should install a file like this in your maven repository
> >>>>>>>>>> (usually ~/.m2/repository)
> >>>>>>>>>> org/glassfish/distributions/pe/10.0-SNAPSHOT/pe-10.0-SNAPSHOT.zip
> >>>>>>>>>>
> >>>>>>>>>> Thanks,
> >>>>>>>>>> Sahoo
> >>>>>>>>>>
> >>>>>>>>>> Jane Young wrote:
> >>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>>> Hi,
> >>>>>>>>>>>>
> >>>>>>>>>>>> Has anyone checked-out V3 recently?
> >>>>>>>>>>>> I followed the instruction on
> >>>>>>>>>>>> http://wiki.glassfish.java.net/Wiki.jsp?page=V3FullBuildInstructions.
> >>>>>>>>>>>> The build is successful, but I can't find "pe-VERSION.zip". I
> >>>>>>>>>>>> see only two zip files in distributions/pe/target: "pe.zip" and
> >>>>>>>>>>>> "javadb.zip".
> >>>>>>>>>>>>
> >>>>>>>>>>>> Any idea?
> >>>>>>>>>>>>
> >>>>>>>>>>>> Thanks,
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>> Jane
> >>>>>>>>>>>
> >>>>>>>>>>> ---------------------------------------------------------------------
> >>>>>>>>>>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net <mailto:dev-unsubscribe_at_glassfish.dev.java.net>
> >>>>>>>>>>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net <mailto:dev-help_at_glassfish.dev.java.net>
> >>>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>> ---------------------------------------------------------------------
> >>>>>>>>>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net <mailto:dev-unsubscribe_at_glassfish.dev.java.net>
> >>>>>>>>>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net <mailto:dev-help_at_glassfish.dev.java.net>
> >>>>>>>>>>
> >>>>>>>>>
> >>>>>>>>>---------------------------------------------------------------------
> >>>>>>>>>To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net <mailto:dev-unsubscribe_at_glassfish.dev.java.net>
> >>>>>>>>>For additional commands, e-mail: dev-help_at_glassfish.dev.java.net <mailto:dev-help_at_glassfish.dev.java.net>
> >>>>>>>>>
> >>>>>>>>>
> >>>>>>>>>
> >>>>>>>>>
> >>>>>>>>>
> >>>>>>>>>
> >>>>>>>
> >>>>>
> >>>
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>