dev@glassfish.java.net

Re: URGENT: Error in build

From: Bhavanishankar <bshankar_at_sun.com>
Date: Tue, 26 Oct 2010 14:39:13 +0530

Hi Hong, Ken,

There have been some changes in the web container APIs, for which there
was a test change as well.

I am not seeing this error in my workspace (I have been building it from
yesterday). Also, in hudson builds are going fine.

So, when this happens in your system, can you send the contents of
'distributions/web/gfembed********tmp/' directory to me at bshankar_at_sun.com

Thanks,
Bhavani.

On 10/26/2010 01:18 AM, Ken wrote:
> 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.
>>>
>>
> So far 2 of us are seeing this, but the build works for Shing Wai.
> Is there a way to get a build to complete and generate the zip files
> so that I can continue testing?
> Why did this suddenly pop up today?
> I am building on Solaris if that matters.
>
> 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
>