dev@glassfish.java.net

Re: URGENT: Error in build

From: Shing Wai Chan <shing.wai.chan_at_oracle.com>
Date: Mon, 25 Oct 2010 12:24:25 -0700

I have updated my workspace and build without problem.
Also, Hudson is ok.
Shing Wai Chan

On 10/25/10 12:20 PM, Hong Zhang wrote:
> I am seeing this too..
>
> On 10/25/2010 3:15 PM, Ken wrote:
>> Ken wrote:
>>> I am getting the following error in one of the surefire tests when I
>>> build GF 3.1:
>>>
>>> -------------------------------------------------------------------------------
>>>
>>> Test set: org.glassfish.distributions.test.EmbeddedTest
>>> -------------------------------------------------------------------------------
>>>
>>> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed:
>>> 4.703 sec <<< FAILURE!
>>> org.glassfish.distributions.test.EmbeddedTest Time elapsed: 0 sec
>>> <<< ERROR!
>>> org.glassfish.embeddable.GlassFishException:
>>> java.lang.IllegalArgumentException: WEB0314: virtual server server
>>> has an invalid docroot
>>> /space/ws/GlassFish/v3/v3_new/distributions/web/gfembed8797638296199577296tmp/docroot
>>>
>>> at
>>> org.glassfish.web.embed.impl.EmbeddedWebContainerImpl.start(EmbeddedWebContainerImpl.java:353)
>>>
>>> at
>>> org.glassfish.distributions.test.EmbeddedTest.setup(EmbeddedTest.java:116)
>>>
>>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>> at
>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>>
>>> at
>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>>
>>> at java.lang.reflect.Method.invoke(Method.java:597)
>>> at
>>> org.junit.internal.runners.BeforeAndAfterRunner.invokeMethod(BeforeAndAfterRunner.java:74)
>>>
>>> at
>>> org.junit.internal.runners.BeforeAndAfterRunner.runBefores(BeforeAndAfterRunner.java:50)
>>>
>>> at
>>> org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAndAfterRunner.java:33)
>>>
>>> at
>>> org.junit.internal.runners.TestClassRunner.run(TestClassRunner.java:52)
>>> at
>>> org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
>>>
>>> at
>>> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
>>>
>>> at
>>> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:165)
>>>
>>> at org.apache.maven.surefire.Surefire.run(Surefire.java:107)
>>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>> at
>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>>
>>> at
>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>>
>>> at java.lang.reflect.Method.invoke(Method.java:597)
>>> at
>>> org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:289)
>>>
>>> at
>>> org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1005)
>>>
>>> Caused by: java.lang.IllegalArgumentException: WEB0314: virtual
>>> server server has an invalid docroot
>>> /space/ws/GlassFish/v3/v3_new/distributions/web/gfembed8797638296199577296tmp/docroot
>>>
>>> at
>>> com.sun.enterprise.web.WebContainer.validateDocroot(WebContainer.java:1210)
>>>
>>> at
>>> com.sun.enterprise.web.WebContainer.createHost(WebContainer.java:1149)
>>> at
>>> com.sun.enterprise.web.WebContainer.createHosts(WebContainer.java:1120)
>>> at
>>> com.sun.enterprise.web.WebContainer.postConstruct(WebContainer.java:552)
>>>
>>> at
>>> com.sun.hk2.component.AbstractWombImpl.inject(AbstractWombImpl.java:128)
>>>
>>> at
>>> com.sun.hk2.component.ConstructorWomb.initialize(ConstructorWomb.java:88)
>>>
>>> at
>>> com.sun.hk2.component.AbstractWombImpl.get(AbstractWombImpl.java:79)
>>> at
>>> com.sun.hk2.component.SingletonInhabitant.get(SingletonInhabitant.java:64)
>>>
>>> at
>>> com.sun.hk2.component.EventPublishingInhabitant.get(EventPublishingInhabitant.java:136)
>>>
>>> at
>>> com.sun.hk2.component.AbstractInhabitantImpl.get(AbstractInhabitantImpl.java:73)
>>>
>>> at
>>> org.glassfish.web.embed.impl.EmbeddedWebContainerImpl.start(EmbeddedWebContainerImpl.java:320)
>>>
>>> ... 19 more
>>>
>>> Does anyone know what this is? I don't think is has anything to do
>>> with my ORB-related
>>> changes. This was around rev 42083.
>>>
>> Same thing at rev 42087. This is currently block all of my work for
>> MS6.
>> I need some guidance on whether others are seeing this, or what I
>> need to look at
>> in my workspace that might be causing this failure.
>>
>> Thanks,
>>
>> Ken.
>>
>> ---------------------------------------------------------------------
>> 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
>