You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by Bill Stoddard <bi...@wstoddard.com> on 2005/12/12 20:03:34 UTC

New 1.0.x build failure

1.0 was building over the weekend. Did a svn update this morning followed by maven new clean and am seeing 
this failure in new4:

multiproject:install-callback:
     [echo] Running car:install for JavaMail
44424 [main] ERROR org.apache.geronimo.deployment.Deployer  - Deployment failed due to
java.lang.NoClassDefFoundError: javax/mail/Authenticator
	at java.lang.Class.getDeclaredMethods0(Native Method)
	at java.lang.Class.privateGetDeclaredMethods(Class.java:1655)
	at java.lang.Class.getDeclaredMethod(Class.java:1262)

<snip stack trace>

BUILD FAILED
File...... c:\home\apache\geronimo-1.0.x\maven.xml
Element... maven:reactor
Line...... 58
Column.... 112
Unable to obtain goal [multiproject:install-callback] -- C:\Documents and 
Settings\Administrator\.maven\cache\geronimo-packaging-plugin-1.0.0\plugin.jelly:67:15: <car:package> null
Total time: 8 minutes 39 seconds
Finished at: Mon Dec 12 13:35:18 EST 2005


Re: New 1.0.x build failure - 2 more questions

Posted by Donald Woods <dr...@yahoo.com>.
Two other build questions:
1) Should /pom.xml be referencing the old geronimo-spec-* JARs, or is 
this file only used by Maven 2?
2) Where are the OpenEJB 2.0 released files, since 
etc\project.properties has openejb_version=2.0, but they could not be 
found on any of the listed Maven repos?  Why are we still forcing people 
to checkout and build OpenEJB with Geronimo???


-Donald

Donald Woods wrote:
> I'm still seeing the failure with the 1.0 branch Rev356751 from this 
> morning, using Maven 1.1Beta2 and a clean local maven repo and cache...
> 
> +----------------------------------------
> | configurations Server Configuration for the J2EE Server
> | Memory: 29M/42M
> +----------------------------------------
> DEPRECATED: the default goal should be specified in the <build> section 
> of project.xml instead of maven.xml
> DEPRECATED: the default goal should be specified in the <build> section 
> of project.xml instead of maven.xml
> 
> build:end:
> 
> Attempting to download jaxr-api-0.5.jar.
> 28K downloaded
> Attempting to download juddi-0.9rc4.jar.
> 727K downloaded
> Attempting to download jdom-1.0.jar.
> 149K downloaded
> build:start:
> 
> multiproject:install-callback:
>     [echo] Running car:install for Server Configuration for the J2EE Server
> 4136 [main] ERROR org.apache.geronimo.plugin.packaging.PackageBuilder  - 
> org.apache.geronimo.common.DeploymentException: 
> org.apache.geronimo.kernel.repository.MissingDependencyException: uri 
> geronimo/geronimo-util/1.0-SNAPSHOT/jar not found in repository
> org.apache.geronimo.common.DeploymentException: 
> org.apache.geronimo.kernel.repository.MissingDependencyException: uri 
> geronimo/geronimo-util/1.0-SNAPSHOT/jar not found in repository
>     at 
> org.apache.geronimo.deployment.service.ServiceConfigBuilder.getDependencyURI(ServiceConfigBuilder.java:402) 
> 
>     at 
> org.apache.geronimo.deployment.service.ServiceConfigBuilder.addDependencies(ServiceConfigBuilder.java:276) 
> 
>     at 
> org.apache.geronimo.deployment.service.ServiceConfigBuilder.addDependencies(ServiceConfigBuilder.java:303) 
> 
>     at 
> org.apache.geronimo.deployment.service.ServiceConfigBuilder.buildConfiguration(ServiceConfigBuilder.java:204) 
> 
>     at 
> org.apache.geronimo.deployment.service.ServiceConfigBuilder.buildConfiguration(ServiceConfigBuilder.java:167) 
> 
>     at 
> org.apache.geronimo.deployment.service.ServiceConfigBuilder$$FastClassByCGLIB$$9f173be6.invoke(<generated>) 
> 
>     at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
> 
> 
> Any ideas?
> 
> -Donald
> 
> Bill Stoddard wrote:
> 
>> David Jencks wrote:
>>
>>> We may have done a bad thing by not hiding the test upload of 
>>> released  spec jars better.  The first upload of the spec uberjar was 
>>> faulty and  did not contain the javamail classes.  You might have 
>>> downloaded this  jar.  To fix the problem you need to remove your 
>>> maven  org.apache.geronimo.specs directory.
>>
>>
>>
>> Yep, that fixed it. Thanks.
>>
>> Bill
>>
>>
>>

Re: New 1.0.x build failure

Posted by Donald Woods <dr...@yahoo.com>.
Below problem has been resolved.  I had to delete and checkout the 
OpenEJB source again using m:co to resolve the build failure.

We really need the OpenEJB 2.0 files published or JIRA-1317 integrated 
into AG 1.0 to keep others from hitting the same problems, given the 
default "new" maven goals do not include the usage of the m:update, 
m:clean or m:clean-repo goals...


-Donald

Donald Woods wrote:
> I'm still seeing the failure with the 1.0 branch Rev356751 from this 
> morning, using Maven 1.1Beta2 and a clean local maven repo and cache...
> 
> +----------------------------------------
> | configurations Server Configuration for the J2EE Server
> | Memory: 29M/42M
> +----------------------------------------
> DEPRECATED: the default goal should be specified in the <build> section 
> of project.xml instead of maven.xml
> DEPRECATED: the default goal should be specified in the <build> section 
> of project.xml instead of maven.xml
> 
> build:end:
> 
> Attempting to download jaxr-api-0.5.jar.
> 28K downloaded
> Attempting to download juddi-0.9rc4.jar.
> 727K downloaded
> Attempting to download jdom-1.0.jar.
> 149K downloaded
> build:start:
> 
> multiproject:install-callback:
>     [echo] Running car:install for Server Configuration for the J2EE Server
> 4136 [main] ERROR org.apache.geronimo.plugin.packaging.PackageBuilder  - 
> org.apache.geronimo.common.DeploymentException: 
> org.apache.geronimo.kernel.repository.MissingDependencyException: uri 
> geronimo/geronimo-util/1.0-SNAPSHOT/jar not found in repository
> org.apache.geronimo.common.DeploymentException: 
> org.apache.geronimo.kernel.repository.MissingDependencyException: uri 
> geronimo/geronimo-util/1.0-SNAPSHOT/jar not found in repository
>     at 
> org.apache.geronimo.deployment.service.ServiceConfigBuilder.getDependencyURI(ServiceConfigBuilder.java:402) 
> 
>     at 
> org.apache.geronimo.deployment.service.ServiceConfigBuilder.addDependencies(ServiceConfigBuilder.java:276) 
> 
>     at 
> org.apache.geronimo.deployment.service.ServiceConfigBuilder.addDependencies(ServiceConfigBuilder.java:303) 
> 
>     at 
> org.apache.geronimo.deployment.service.ServiceConfigBuilder.buildConfiguration(ServiceConfigBuilder.java:204) 
> 
>     at 
> org.apache.geronimo.deployment.service.ServiceConfigBuilder.buildConfiguration(ServiceConfigBuilder.java:167) 
> 
>     at 
> org.apache.geronimo.deployment.service.ServiceConfigBuilder$$FastClassByCGLIB$$9f173be6.invoke(<generated>) 
> 
>     at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
> 
> 
> Any ideas?
> 
> -Donald
> 
> Bill Stoddard wrote:
> 
>> David Jencks wrote:
>>
>>> We may have done a bad thing by not hiding the test upload of 
>>> released  spec jars better.  The first upload of the spec uberjar was 
>>> faulty and  did not contain the javamail classes.  You might have 
>>> downloaded this  jar.  To fix the problem you need to remove your 
>>> maven  org.apache.geronimo.specs directory.
>>
>>
>>
>> Yep, that fixed it. Thanks.
>>
>> Bill
>>
>>
>>

Re: New 1.0.x build failure

Posted by Donald Woods <dr...@yahoo.com>.
I'm still seeing the failure with the 1.0 branch Rev356751 from this 
morning, using Maven 1.1Beta2 and a clean local maven repo and cache...

+----------------------------------------
| configurations Server Configuration for the J2EE Server
| Memory: 29M/42M
+----------------------------------------
DEPRECATED: the default goal should be specified in the <build> section 
of project.xml instead of maven.xml
DEPRECATED: the default goal should be specified in the <build> section 
of project.xml instead of maven.xml

build:end:

Attempting to download jaxr-api-0.5.jar.
28K downloaded
Attempting to download juddi-0.9rc4.jar.
727K downloaded
Attempting to download jdom-1.0.jar.
149K downloaded
build:start:

multiproject:install-callback:
     [echo] Running car:install for Server Configuration for the J2EE Server
4136 [main] ERROR org.apache.geronimo.plugin.packaging.PackageBuilder  - 
org.apache.geronimo.common.DeploymentException: 
org.apache.geronimo.kernel.repository.MissingDependencyException: uri 
geronimo/geronimo-util/1.0-SNAPSHOT/jar not found in repository
org.apache.geronimo.common.DeploymentException: 
org.apache.geronimo.kernel.repository.MissingDependencyException: uri 
geronimo/geronimo-util/1.0-SNAPSHOT/jar not found in repository
	at 
org.apache.geronimo.deployment.service.ServiceConfigBuilder.getDependencyURI(ServiceConfigBuilder.java:402)
	at 
org.apache.geronimo.deployment.service.ServiceConfigBuilder.addDependencies(ServiceConfigBuilder.java:276)
	at 
org.apache.geronimo.deployment.service.ServiceConfigBuilder.addDependencies(ServiceConfigBuilder.java:303)
	at 
org.apache.geronimo.deployment.service.ServiceConfigBuilder.buildConfiguration(ServiceConfigBuilder.java:204)
	at 
org.apache.geronimo.deployment.service.ServiceConfigBuilder.buildConfiguration(ServiceConfigBuilder.java:167)
	at 
org.apache.geronimo.deployment.service.ServiceConfigBuilder$$FastClassByCGLIB$$9f173be6.invoke(<generated>)
	at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)


Any ideas?

-Donald

Bill Stoddard wrote:
> David Jencks wrote:
> 
>> We may have done a bad thing by not hiding the test upload of 
>> released  spec jars better.  The first upload of the spec uberjar was 
>> faulty and  did not contain the javamail classes.  You might have 
>> downloaded this  jar.  To fix the problem you need to remove your 
>> maven  org.apache.geronimo.specs directory.
> 
> 
> Yep, that fixed it. Thanks.
> 
> Bill
> 
> 
> 

Re: New 1.0.x build failure

Posted by Bill Stoddard <bi...@wstoddard.com>.
David Jencks wrote:
> We may have done a bad thing by not hiding the test upload of released  
> spec jars better.  The first upload of the spec uberjar was faulty and  
> did not contain the javamail classes.  You might have downloaded this  
> jar.  To fix the problem you need to remove your maven  
> org.apache.geronimo.specs directory.

Yep, that fixed it. Thanks.

Bill


Re: New 1.0.x build failure

Posted by David Jencks <da...@yahoo.com>.
We may have done a bad thing by not hiding the test upload of released  
spec jars better.  The first upload of the spec uberjar was faulty and  
did not contain the javamail classes.  You might have downloaded this  
jar.  To fix the problem you need to remove your maven  
org.apache.geronimo.specs directory.

Let us know if this does not fix the problem.

thanks
david jencks




On Dec 12, 2005, at 11:03 AM, Bill Stoddard wrote:

> 1.0 was building over the weekend. Did a svn update this morning  
> followed by maven new clean and am seeing this failure in new4:
>
> multiproject:install-callback:
>     [echo] Running car:install for JavaMail
> 44424 [main] ERROR org.apache.geronimo.deployment.Deployer  -  
> Deployment failed due to
> java.lang.NoClassDefFoundError: javax/mail/Authenticator
> 	at java.lang.Class.getDeclaredMethods0(Native Method)
> 	at java.lang.Class.privateGetDeclaredMethods(Class.java:1655)
> 	at java.lang.Class.getDeclaredMethod(Class.java:1262)
>
> <snip stack trace>
>
> BUILD FAILED
> File...... c:\home\apache\geronimo-1.0.x\maven.xml
> Element... maven:reactor
> Line...... 58
> Column.... 112
> Unable to obtain goal [multiproject:install-callback] -- C:\Documents  
> and  
> Settings\Administrator\.maven\cache\geronimo-packaging-plugin 
> -1.0.0\plugin.jelly:67:15: <car:package> null
> Total time: 8 minutes 39 seconds
> Finished at: Mon Dec 12 13:35:18 EST 2005
>