dev@glassfish.java.net

Re: v3 build hanging

From: Hong Zhang <Hong.Zhang_at_Sun.COM>
Date: Tue, 14 Jul 2009 12:27:33 -0400

> Since I'm not able to reproduce this hang. Is it possible if you can
> execute "jstack -l pid" to produce the stack dump?
>
I have just cleaned my local repository to see if I can get a successful
build as I want to move forward to do other work. If I get this error
again, I will try jstack -l pid.

Thanks,

- Hong

>
>
> Hong Zhang wrote:
>
>>
>>> I just built successfully on the Mac using an existing Maven repo.
>>> Looks like this hang is happening sporadically.
>>> BTW: are you using a Linux? I recall seeing the same hang in
>>> create-domain on the Hudson dev job yesterday. Hudson dev job is
>>> also running on Linux.
>>>
>> Yes, I am on ubuntu.
>>
>>>
>>> Hong Zhang wrote:
>>>
>>>>
>>>>>>> in which module is this ?
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> Most times in core/kernel. There was one time the build was able
>>>>>> to go further, and then when it's building the nucleus
>>>>>> distribution, it hang with a similar error.
>>>>>
>>>>>
>>>>>
>>>>> ok let me know if it hangs somewhere else. I need to spawn a
>>>>> process to test the embedded as running several embedded
>>>>> instances in the same process can have side effects.
>>>>
>>>>
>>>>
>>>>
>>>> Jerome: I have updated workspace and got your changes. Now it hang
>>>> in building nucleus distribution:
>>>>
>>>> create.distribution:
>>>> [echo] Creating distribution: nucleus
>>>> [unzip] Expanding:
>>>> /home/hzhang/files/workspaces/v3/distributions/nucleus/target/stage/felix-3.0-SNAPSHOT.zip
>>>> into
>>>> /home/hzhang/files/workspaces/v3/distributions/nucleus/target/stage
>>>> [unzip] Expanding:
>>>> /home/hzhang/files/workspaces/v3/distributions/nucleus/target/stage/glassfish-grizzly-3.0-SNAPSHOT.zip
>>>> into
>>>> /home/hzhang/files/workspaces/v3/distributions/nucleus/target/stage
>>>> [unzip] Expanding:
>>>> /home/hzhang/files/workspaces/v3/distributions/nucleus/target/stage/glassfish-hk2-3.0-SNAPSHOT.zip
>>>> into
>>>> /home/hzhang/files/workspaces/v3/distributions/nucleus/target/stage
>>>> [unzip] Expanding:
>>>> /home/hzhang/files/workspaces/v3/distributions/nucleus/target/stage/glassfish-nucleus-3.0-SNAPSHOT.zip
>>>> into
>>>> /home/hzhang/files/workspaces/v3/distributions/nucleus/target/stage
>>>> [mkdir] Created dir:
>>>> /home/hzhang/files/workspaces/v3/distributions/target
>>>> [delete] DEPRECATED - Use of the implicit FileSet is deprecated.
>>>> Use a nested fileset element instead.
>>>> [delete] Deleting 4 files from
>>>> /home/hzhang/files/workspaces/v3/distributions/nucleus/target/stage
>>>>
>>>> fetch-domain-creation-artifacts:
>>>> [echo] cli-optional jar:
>>>> /home/hzhang/.m2/repository/org/glassfish/admin/cli-optional/3.0-SNAPSHOT/cli-optional-3.0-SNAPSHOT.jar
>>>>
>>>> [echo] server-mgmt jar:
>>>> /home/hzhang/.m2/repository/org/glassfish/admin/server-mgmt/3.0-SNAPSHOT/server-mgmt-3.0-SNAPSHOT.jar
>>>>
>>>> [echo] admin-util jar:
>>>> /home/hzhang/.m2/repository/org/glassfish/admin/admin-util/3.0-SNAPSHOT/admin-util-3.0-SNAPSHOT.jar
>>>>
>>>> [echo] security jar:
>>>> /home/hzhang/.m2/repository/org/glassfish/security/security/3.0-SNAPSHOT/security-3.0-SNAPSHOT.jar
>>>>
>>>> [copy] Copying 1 file to
>>>> /home/hzhang/files/workspaces/v3/distributions/nucleus/target/stage/glassfishv3/glassfish/modules
>>>>
>>>> [copy] Copying 1 file to
>>>> /home/hzhang/files/workspaces/v3/distributions/nucleus/target/stage/glassfishv3/glassfish/modules
>>>>
>>>> [copy] Copying 1 file to
>>>> /home/hzhang/files/workspaces/v3/distributions/nucleus/target/stage/glassfishv3/glassfish/modules
>>>>
>>>> [copy] Copying 1 file to
>>>> /home/hzhang/files/workspaces/v3/distributions/nucleus/target/stage/glassfishv3/glassfish/modules
>>>>
>>>>
>>>> init:
>>>>
>>>> create-domain-on-windows:
>>>>
>>>> create-domain-on-unix:
>>>>
>>>> create-domain:
>>>> [echo] Directory to run command from:
>>>> /home/hzhang/files/workspaces/v3/distributions/nucleus/target/stage/glassfishv3/glassfish/bin
>>>>
>>>> [echo] Command to run:
>>>> /home/hzhang/files/workspaces/v3/distributions/nucleus/target/stage/glassfishv3/glassfish/bin/asadmin
>>>>
>>>> [exec] Using port 4848 for Admin.
>>>> [exec] Using port 8080 for HTTP Instance.
>>>> [exec] Using default port 7676 for JMS.
>>>> [exec] Using default port 3700 for IIOP.
>>>> [exec] Using default port 8181 for HTTP_SSL.
>>>> [exec] Using default port 3820 for IIOP_SSL.
>>>> [exec] Using default port 3920 for IIOP_MUTUALAUTH.
>>>> [exec] Using default port 8686 for JMX_ADMIN.
>>>> [exec] Distinguished Name of the self-signed X.509 Server
>>>> Certificate is:
>>>> [exec] [CN=localhost,OU=GlassFish,O=Sun Microsystems,L=Santa
>>>> Clara,ST=California,C=US]
>>>> [exec] Jul 14, 2009 11:51:55 AM
>>>> com.sun.enterprise.v3.server.AppServerStartup run
>>>> [exec] INFO: GlassFish v3 startup time : Embedded(307ms)
>>>> startup services(224ms) total(531ms)
>>>> [exec] Jul 14, 2009 11:51:55 AM AppServerStartup run
>>>> [exec] INFO: [Thread[GlassFish Kernel Main Thread,5,main]] started
>>>> [exec] Received Stop
>>>> [exec] Sending stop event to ms
>>>>
>>>>
>>>> - Hong
>>>>
>>>>>
>>>>>>
>>>>>>>
>>>>>>> you updated and did mvn clean install from the root ?
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> Yes, I updated, and did mvn -U clean install from the root.
>>>>>>
>>>>>> - Hong
>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> On Jul 14, 2009, at 8:10 AM, Hong Zhang wrote:
>>>>>>>
>>>>>>>> Hi,
>>>>>>>> I have updated my workspace this morning and tried to build
>>>>>>>> the workspace and the build kept hanging. I have restarted a
>>>>>>>> few times and no difference. There is where it hangs:
>>>>>>>>
>>>>>>>> -------------------------------------------------------
>>>>>>>> T E S T S
>>>>>>>> -------------------------------------------------------
>>>>>>>> Running com.sun.enterprise.v3.admin.AdminAdapterTest
>>>>>>>> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time
>>>>>>>> elapsed: 0.019 sec
>>>>>>>> Running com.sun.enterprise.v3.admin.CreateProfilerTest
>>>>>>>> Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time
>>>>>>>> elapsed: 0.001 sec
>>>>>>>> Running org.glassfish.tests.kernel.embedded.EmbeddedTest
>>>>>>>> Jul 14, 2009 10:55:43 AM
>>>>>>>> com.sun.enterprise.v3.server.AppServerStartup run
>>>>>>>> INFO: GlassFish v3 startup time : Embedded(219ms) startup
>>>>>>>> services(170ms) total(389ms)
>>>>>>>> Jul 14, 2009 10:55:43 AM AppServerStartup run
>>>>>>>> INFO: [Thread[GlassFish Kernel Main Thread,5,main]] started
>>>>>>>> Jul 14, 2009 10:55:43 AM
>>>>>>>> com.sun.enterprise.v3.admin.CommandRunnerImpl getCommand
>>>>>>>> INFO: Command create-http-listener not found
>>>>>>>> Received Stop
>>>>>>>> Sending stop event to ms
>>>>>>>>
>>>>>>>> Anyone seeing similar thing? I have svn revision 29132.
>>>>>>>>
>>>>>>>> Thanks,
>>>>>>>>
>>>>>>>> - Hong
>>>>>>>>
>>>>>>>> ---------------------------------------------------------------------
>>>>>>>>
>>>>>>>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>>>>>>>> For additional commands, e-mail: 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
>>>>>>>
>>>>>>
>>>>>>
>>>>>> ---------------------------------------------------------------------
>>>>>>
>>>>>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>>>>>> For additional commands, e-mail: 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
>>>>>
>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>>>> For additional commands, e-mail: 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
>>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: 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
>