dev@glassfish.java.net

Re: New v3 build error!

From: Marina Vatkina <marina.vatkina_at_oracle.com>
Date: Fri, 28 May 2010 17:06:49 -0700

Thanks Mahesh.

Right, it's still failing in the embedded test under distributions/web.
If anybody knows what I can try, let me know...

-marina

Mahesh Kannan wrote:
> I just committed the changes. I don't have a MAC right now but will
> kick off a mac build in the next 30 minutes or so.
>
> Thanks Marina for testing that the MAC build goes past the current
> ha-apt / tools.jar problem. Her build is failing in another place...
>
> --Mahesh
>
> On 05/28/2010 04:35 PM, Mahesh Kannan wrote:
>> I am taking out the ha-apt out of the build for the time being. I
>> should be checking in the changes shortly.
>>
>> --Mahesh
>>
>> On 05/28/2010 04:22 PM, Marina Vatkina wrote:
>>> Do I need to file a p1? :(
>>>
>>> Snjezana Sevo-Zenzerovic wrote:
>>>> Yes, I guess that could make the difference :-(
>>>>
>>>> Mahesh owns ha module so I hope he'll have something to add here.
>>>> That dependency is specified with "system" scope so maybe it would
>>>> be possible to get rid off it...
>>>>
>>>> Marina Vatkina wrote:
>>>>> I'm on mac - may be this is the problem? It fails in ha module:
>>>>>
>>>>> [INFO] Building GlassFish High Availability APIs and SPI
>>>>> [INFO] task-segment: [clean, install]
>>>>> [INFO]
>>>>> ------------------------------------------------------------------------
>>>>>
>>>>> [INFO] Reloading plugin container for:
>>>>> org.glassfish.build:maven-glassfishbuild-plugin. The plugin
>>>>> artifact has changed.
>>>>> [INFO] [clean:clean]
>>>>>
>>>>> -marina
>>>>>
>>>>> Snjezana Sevo-Zenzerovic wrote:
>>>>>> This is a dependency of top level ha module which has just been
>>>>>> added to the build sequence. I am not sure why your build cannot
>>>>>> resolve this artifact - my workspace build and continuous job
>>>>>> both went through with this change...
>>>>>>
>>>>>> Marina Vatkina wrote:
>>>>>>> What's going on today? I updated again, and now it's even worth:
>>>>>>>
>>>>>>> [INFO] Failed to resolve artifact.
>>>>>>>
>>>>>>> Missing:
>>>>>>> ----------
>>>>>>> 1) sun.jdk:tools:jar:1.6.0
>>>>>>>
>>>>>>> Try downloading the file manually from the project website.
>>>>>>>
>>>>>>> Then, install it using the command:
>>>>>>> mvn install:install-file -DgroupId=sun.jdk
>>>>>>> -DartifactId=tools -Dversion=1.6.0 -Dpackaging=jar
>>>>>>> -Dfile=/path/to/file
>>>>>>>
>>>>>>> Alternatively, if you host your own repository you can deploy
>>>>>>> the file there:
>>>>>>> mvn deploy:deploy-file -DgroupId=sun.jdk -DartifactId=tools
>>>>>>> -Dversion=1.6.0 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url]
>>>>>>> -DrepositoryId=[id]
>>>>>>>
>>>>>>> Path to dependency:
>>>>>>> 1) org.glassfish.ha:ha-api:hk2-jar:3.1-SNAPSHOT
>>>>>>> 2) sun.jdk:tools:jar:1.6.0
>>>>>>>
>>>>>>> ----------
>>>>>>> 1 required artifact is missing.
>>>>>>>
>>>>>>> for artifact:
>>>>>>> org.glassfish.ha:ha-api:hk2-jar:3.1-SNAPSHOT
>>>>>>>
>>>>>>> from the specified remote repositories:
>>>>>>> central (http://repo1.maven.org/maven2),
>>>>>>> glassfish-repo-archive
>>>>>>> (http://maven.glassfish.org/content/groups/glassfish)
>>>>>>>
>>>>>>>
>>>>>>> -marina
>>>>>>>
>>>>>>> Marina Vatkina wrote:
>>>>>>>> I didn't change anything - I brought over today's changes :(
>>>>>>>>
>>>>>>>> This is the failure:
>>>>>>>>
>>>>>>>>
>>>>>>>> INFO: Portable JNDI names for EJB SampleEjb :
>>>>>>>> [java:global/test-classes/SampleEjb!org.glassfish.distributions.test.ejb.SampleEjb,
>>>>>>>> java:global/test-classes/SampleEjb]
>>>>>>>> May 28, 2010 3:01:09 PM com.sun.logging.LogDomains$1 log
>>>>>>>> INFO: webApplication.loadingApplication
>>>>>>>> Deployed test-classes
>>>>>>>> java.io.FileNotFoundException:
>>>>>>>> http://localhost:8080/test-classes/hello
>>>>>>>> at
>>>>>>>> sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1311)
>>>>>>>>
>>>>>>>> at
>>>>>>>> org.glassfish.distributions.test.EmbeddedTest.testWeb(EmbeddedTest.java:181)
>>>>>>>>
>>>>>>>> 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.TestMethodRunner.executeMethodBody(TestMethodRunner.java:99)
>>>>>>>>
>>>>>>>> at
>>>>>>>> org.junit.internal.runners.TestMethodRunner.runUnprotected(TestMethodRunner.java:81)
>>>>>>>>
>>>>>>>> at
>>>>>>>> org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAndAfterRunner.java:34)
>>>>>>>>
>>>>>>>> at
>>>>>>>> org.junit.internal.runners.TestMethodRunner.runMethod(TestMethodRunner.java:75)
>>>>>>>>
>>>>>>>> at
>>>>>>>> org.junit.internal.runners.TestMethodRunner.run(TestMethodRunner.java:45)
>>>>>>>>
>>>>>>>> at
>>>>>>>> org.junit.internal.runners.TestClassMethodsRunner.invokeTestMethod(TestClassMethodsRunner.java:66)
>>>>>>>>
>>>>>>>> at
>>>>>>>> org.junit.internal.runners.TestClassMethodsRunner.run(TestClassMethodsRunner.java:35)
>>>>>>>>
>>>>>>>> at
>>>>>>>> org.junit.internal.runners.TestClassRunner$1.runUnprotected(TestClassRunner.java:42)
>>>>>>>>
>>>>>>>> at
>>>>>>>> org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAndAfterRunner.java:34)
>>>>>>>>
>>>>>>>> at
>>>>>>>> org.junit.internal.runners.TestClassRunner.run(TestClassRunner.java:52)
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> Jane Young wrote:
>>>>>>>>> The last Hudson build at 2:32pm built successfully.
>>>>>>>>> http://hudson.glassfish.org/job/gf-trunk-build-continuous/
>>>>>>>>>
>>>>>>>>> Anything you've changed in the local workspace that may cause
>>>>>>>>> the test failure?
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> Marina Vatkina wrote:
>>>>>>>>>> Am I the luckiest person or what? :(
>>>>>>>>>>
>>>>>>>>>> v3/distributions/web build fails in the test area :
>>>>>>>>>>
>>>>>>>>>> Tests in error:
>>>>>>>>>>
>>>>>>>>>> Tests run: 5, Failures: 0, Errors: 1, Skipped: 0
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> -marina
>>>>>>>>>>
>>>>>>>>>> ---------------------------------------------------------------------
>>>>>>>>>>
>>>>>>>>>> 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
>