dev@glassfish.java.net

Re: New v3 build error!

From: Marina Vatkina <marina.vatkina_at_oracle.com>
Date: Fri, 28 May 2010 16:10:08 -0700

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
>>
>
>