You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by emiddio-verizon <em...@verizon.net> on 2008/09/26 21:39:51 UTC

need help with failed build

i've followed 
http://cwiki.apache.org/GMOxDEV/building-apache-geronimo.html#BuildingApacheGeronimo-JavaDeveloperKit%2528JDK%2529

i've only checked out the trunk

svn co https://svn.apache.org/repos/asf/geronimo/server/trunk server


*so -- do i  need the other branches for a successful build ?*

i'm on windows xp -- so i partially followed the recommendations for 
path length issues.

maven repository is at c:\sun\m2.m2
geronimo was checked out to c:\sun\g_src\g

i'm using mave 2.0.9, and jdk5 with the MAVEN_OPTS = -Xmx512m 
-XX:MaxPermSize=128m

t*he build progresses  quite awhile then starts getting  failures like 
the following:*
[INFO] Packaging module configuration: 
C:\Sun\g_src\g\plugins\plancreator\plancreator-console-jetty\target\resources\META-INF\plan.xml
[INFO] Started deployer: 
org.apache.geronimo.framework/geronimo-gbean-deployer/2.2-SNAPSHOT/car
[INFO] Started deployer: 
org.apache.geronimo.configs/j2ee-deployer/2.2-SNAPSHOT/car
[INFO] Started deployer: 
org.apache.geronimo.configs/jetty6-deployer/2.2-SNAPSHOT/car
[INFO] Started deployer: 
org.apache.geronimo.configs/jasper-deployer/2.2-SNAPSHOT/car
[ERROR] The protocol for the JAR file's URL is not supported
java.lang.UnsupportedOperationException: Only local file jars are 
supported 
jar:file:/C:/Sun/m2.m2/org/apache/geronimo/configs/system-database/2.2-SNAPSHOT/system-database-2.2-SNAPSHOT.
car!/rar/tranql-connector-1.4.jar
    
org.apache.geronimo.kernel.classloader.UrlResourceFinder.cacheUrl(UrlResourceFinder.java:231)


*but continues until the final error:
*[INFO] Started deployer: 
org.apache.geronimo.configs/openejb-deployer/2.2-SNAPSHOT/car
[ERROR] Deployment failed due to
java.lang.NullPointerException
    
org.apache.openejb.config.ConfigurationFactory.configureService(ConfigurationFactory.java:786)
    
org.apache.geronimo.openejb.deployment.EjbModuleBuilder.addContainerInfos(EjbModuleBuilder.java:662)
*

i'm only trying to build the source at the moment -- not run or deploy.

thanks

*

Re: need help with failed build

Posted by emiddio-verizon <em...@verizon.net>.
firefox 3.0.3; also google chrome; firefox is default browser, yes its windoz xp
  ----- Original Message ----- 
  From: Kevan Miller 
  To: dev@geronimo.apache.org 
  Sent: Saturday, September 27, 2008 3:04 PM
  Subject: Re: need help with failed build




  On Sep 27, 2008, at 2:36 AM, emiddio-verizon wrote:


    ok -- builds now complete ok -- says Build Successful -- when building with the option
    -Dmaven.test.skip=true

    but still get a bunch of the 1st type of errors -- that dont cause the build to fail,

    like
    [ERROR] The protocol for the JAR file's URL is not supported
    java.lang.UnsupportedOperationException: Only local file jars are supported

    what is the story on these types of errors.?


  They're windoze-related and can be ignored. They've been lurking around for a little bit -- time to figure out the root cause, I think, and fix it...



    also

    when the default tests are run i get a number of errors -- most seem to be associated with a windows dialog
    popup saying firefox is already running or something of the ilk.

    whats happening here?


  That's the selenium plugin trying to launch Firefox to run automated tests. I'd assume that this is also a Windows specific problem. Are other Windows users running into this problem?


  Which version of Firefox is installed on your system?


  --kevan




Re: need help with failed build

Posted by Kevan Miller <ke...@gmail.com>.
On Sep 27, 2008, at 2:36 AM, emiddio-verizon wrote:

> ok -- builds now complete ok -- says Build Successful -- when  
> building with the option
> -Dmaven.test.skip=true
>
> but still get a bunch of the 1st type of errors -- that dont cause  
> the build to fail,
>
> like
> [ERROR] The protocol for the JAR file's URL is not supported
> java.lang.UnsupportedOperationException: Only local file jars are  
> supported
>
> what is the story on these types of errors.?

They're windoze-related and can be ignored. They've been lurking  
around for a little bit -- time to figure out the root cause, I think,  
and fix it...

>
> also
>
> when the default tests are run i get a number of errors -- most seem  
> to be associated with a windows dialog
> popup saying firefox is already running or something of the ilk.
>
> whats happening here?

That's the selenium plugin trying to launch Firefox to run automated  
tests. I'd assume that this is also a Windows specific problem. Are  
other Windows users running into this problem?

Which version of Firefox is installed on your system?

--kevan



Re: need help with failed build

Posted by emiddio-verizon <em...@verizon.net>.
ok -- builds now complete ok -- says Build Successful -- when building with the option
-Dmaven.test.skip=true

but still get a bunch of the 1st type of errors -- that dont cause the build to fail,

like
[ERROR] The protocol for the JAR file's URL is not supported
java.lang.UnsupportedOperationException: Only local file jars are supported 

what is the story on these types of errors.?

also

when the default tests are run i get a number of errors -- most seem to be associated with a windows dialog
popup saying firefox is already running or something of the ilk.

whats happening here?

thanks

gary

Re: need help with failed build

Posted by Kevan Miller <ke...@gmail.com>.
That problem should be fixed in current source. Can you 'svn up' and  
'mvn clean install'
--kevan

On Sep 26, 2008, at 3:39 PM, emiddio-verizon <em...@verizon.net>  
wrote:

> i've followed http://cwiki.apache.org/GMOxDEV/building-apache-geronimo.html#BuildingApacheGeronimo-JavaDeveloperKit%2528JDK%2529
>
> i've only checked out the trunk
>  svn co https://svn.apache.org/repos/asf/geronimo/server/trunk server
>
> so -- do i  need the other branches for a successful build ?
>
> i'm on windows xp -- so i partially followed the recommendations for  
> path length issues.
>
> maven repository is at c:\sun\m2.m2
> geronimo was checked out to c:\sun\g_src\g
>
> i'm using mave 2.0.9, and jdk5 with the MAVEN_OPTS = -Xmx512m - 
> XX:MaxPermSize=128m
>
> the build progresses  quite awhile then starts getting  failures  
> like the following:
> [INFO] Packaging module configuration: C:\Sun\g_src\g\plugins 
> \plancreator\plancreator-console-jetty\target\resources\META-INF 
> \plan.xml
> [INFO] Started deployer: org.apache.geronimo.framework/geronimo- 
> gbean-deployer/2.2-SNAPSHOT/car
> [INFO] Started deployer: org.apache.geronimo.configs/j2ee-deployer/ 
> 2.2-SNAPSHOT/car
> [INFO] Started deployer: org.apache.geronimo.configs/jetty6-deployer/ 
> 2.2-SNAPSHOT/car
> [INFO] Started deployer: org.apache.geronimo.configs/jasper-deployer/ 
> 2.2-SNAPSHOT/car
> [ERROR] The protocol for the JAR file's URL is not supported
> java.lang.UnsupportedOperationException: Only local file jars are  
> supported jar:file:/C:/Sun/m2.m2/org/apache/geronimo/configs/system- 
> database/2.2-SNAPSHOT/system-database-2.2-SNAPSHOT.
> car!/rar/tranql-connector-1.4.jar
>      
> org. 
> apache. 
> geronimo. 
> kernel.classloader.UrlResourceFinder.cacheUrl(UrlResourceFinder.java: 
> 231)
>
>
> but continues until the final error:
> [INFO] Started deployer: org.apache.geronimo.configs/openejb- 
> deployer/2.2-SNAPSHOT/car
> [ERROR] Deployment failed due to
> java.lang.NullPointerException
>      
> org. 
> apache. 
> openejb. 
> config. 
> ConfigurationFactory.configureService(ConfigurationFactory.java:786)
>      
> org. 
> apache. 
> geronimo. 
> openejb. 
> deployment.EjbModuleBuilder.addContainerInfos(EjbModuleBuilder.java: 
> 662)
>
>
> i'm only trying to build the source at the moment -- not run or  
> deploy.
>
> thanks
>