geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Jencks <david_jen...@yahoo.com>
Subject Re: ApacheGeronimo - Build failure
Date Wed, 08 Apr 2009 22:49:27 GMT
Not sure about the assemblies....

I suspect when I set up connector 1.6 that I used the -Pee6 profile to  
get the j2ca 1.6 spec jar into jee-specs.  So if you build jee-specs  
and connector 1.6 with

mvn clean install -Pee6

it might work.

david jencks

On Apr 8, 2009, at 2:19 PM, rahul.soa wrote:

> Hello Kevan, David,
>
> Thanks for your replies. I was able to build (not completely except  
> assemblies and /plugins/connector-1_6) ApacheGeronimo module by  
> module with your instructions.
>
> I did also run the server and did deploy the sample application  
> successfully by following the instruction from the below link:
>
> http://cwiki.apache.org/GMOxDOC21/quick-start-apache-geronimo-for-the-impatient.html#Quickstart-ApacheGeronimofortheimpatient-Starttheserver
>
> Following errors, I received in building assemblies:
>
> ----
>
> [INFO] snapshot org.apache.geronimo.configs:sharedlib:2.2-SNAPSHOT:  
> checking for updates from apache.org
> [INFO] snapshot org.apache.geronimo.configs:sharedlib:2.2-SNAPSHOT:  
> checking for updates from apache.snapshots
> [INFO] snapshot org.apache.geronimo.configs:sharedlib:2.2-SNAPSHOT:  
> checking for updates from apache-snapshots
> [INFO] snapshot org.apache.geronimo.configs:sharedlib:2.2-SNAPSHOT:  
> checking for updates from codehaus-snapshots
> [INFO] [enforcer:enforce {execution: default}]
> [INFO] [remote-resources:process {execution: process}]
> [INFO] [remote-resources:process {execution: default}]
> [INFO] [resources:resources]
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] skip non existing resourceDirectory /home/rahul/server/ 
> assemblies/geronimo-jetty6-minimal/src/main/resources
> [INFO] Copying 3 resources
> [INFO] Copying 3 resources
> [INFO] [car:install-modules]
> [ERROR] Unable to install plugin
> java.io.IOException: Could not resolve artifact xpp3/xpp3//jar in  
> repo /home/rahul/.m2/repository
>      
> org 
> .apache 
> .geronimo 
> .mavenplugins 
> .car.Maven2RepositoryAdapter.open(Maven2RepositoryAdapter.java:104)
>      
> org 
> .apache 
> .geronimo 
> .system 
> .plugin 
> .PluginInstallerGBean.downloadArtifact(PluginInstallerGBean.java:1178)
>      
> org 
> .apache 
> .geronimo 
> .system 
> .plugin 
> .PluginInstallerGBean.downloadArtifact(PluginInstallerGBean.java:1299)
>      
> org 
> .apache 
> .geronimo 
> .system 
> .plugin 
> .PluginInstallerGBean.downloadArtifact(PluginInstallerGBean.java:1299)
>      
> org 
> .apache 
> .geronimo 
> .system 
> .plugin.PluginInstallerGBean.install(PluginInstallerGBean.java:773)
>      
> org 
> .apache 
> .geronimo 
> .system 
> .plugin.PluginInstallerGBean.install(PluginInstallerGBean.java:718)
>      
> org 
> .apache 
> .geronimo 
> .mavenplugins.car.InstallModulesMojo.execute(InstallModulesMojo.java: 
> 175)
>      
> org 
> .apache 
> .maven 
> .plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java: 
> 451)
>      
> org 
> .apache 
> .maven 
> .lifecycle 
> .DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java: 
> 558)
>      
> org 
> .apache 
> .maven 
> .lifecycle 
> .DefaultLifecycleExecutor 
> .executeGoalWithLifecycle(DefaultLifecycleExecutor.java:499)
>      
> org 
> .apache 
> .maven 
> .lifecycle 
> .DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java: 
> 478)
>      
> org 
> .apache 
> .maven 
> .lifecycle 
> .DefaultLifecycleExecutor 
> .executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330)
>      
> org 
> .apache 
> .maven 
> .lifecycle 
> .DefaultLifecycleExecutor 
> .executeTaskSegments(DefaultLifecycleExecutor.java:291)
>      
> org 
> .apache 
> .maven 
> .lifecycle 
> .DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142)
>     org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
>     org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
>     org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
>     sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>      
> sun 
> .reflect 
> .NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>      
> sun 
> .reflect 
> .DelegatingMethodAccessorImpl 
> .invoke(DelegatingMethodAccessorImpl.java:25)
>     java.lang.reflect.Method.invoke(Method.java:597)
>     org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java: 
> 315)
>     org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
>     org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java: 
> 430)
>     org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> [INFO] Installed plugins:
> [INFO]     org.apache.geronimo.plugingroups/web-jetty/2.2-SNAPSHOT/car
> [INFO] Installed dependencies:
> [INFO]  
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]  
> ------------------------------------------------------------------------
> [INFO] Could not download all dependencies
>
> Embedded error: Could not resolve artifact xpp3/xpp3//jar in repo / 
> home/rahul/.m2/repository
> [INFO]  
> ------------------------------------------------------------------------
> [INFO] Trace
> org.apache.maven.lifecycle.LifecycleExecutionException: Could not  
> download all dependencies
>     at  
> org 
> .apache 
> .maven 
> .lifecycle 
> .DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java: 
> 583)
>     at  
> org 
> .apache 
> .maven 
> .lifecycle 
> .DefaultLifecycleExecutor 
> .executeGoalWithLifecycle(DefaultLifecycleExecutor.java:499)
>     at  
> org 
> .apache 
> .maven 
> .lifecycle 
> .DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java: 
> 478)
>     at  
> org 
> .apache 
> .maven 
> .lifecycle 
> .DefaultLifecycleExecutor 
> .executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330)
>     at  
> org 
> .apache 
> .maven 
> .lifecycle 
> .DefaultLifecycleExecutor 
> .executeTaskSegments(DefaultLifecycleExecutor.java:291)
>     at  
> org 
> .apache 
> .maven 
> .lifecycle 
> .DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142)
>     at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
>     at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
>     at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
>     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.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
>     at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
>     at  
> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
>     at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> Caused by: org.apache.maven.plugin.MojoExecutionException: Could not  
> download all dependencies
>     at  
> org 
> .apache 
> .geronimo 
> .mavenplugins.car.InstallModulesMojo.execute(InstallModulesMojo.java: 
> 196)
>     at  
> org 
> .apache 
> .maven 
> .plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java: 
> 451)
>     at  
> org 
> .apache 
> .maven 
> .lifecycle 
> .DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java: 
> 558)
>     ... 16 more
> Caused by: java.io.IOException: Could not resolve artifact xpp3/ 
> xpp3//jar in repo /home/rahul/.m2/repository
>     at  
> org 
> .apache 
> .geronimo 
> .mavenplugins 
> .car.Maven2RepositoryAdapter.open(Maven2RepositoryAdapter.java:104)
>     at  
> org 
> .apache 
> .geronimo 
> .system 
> .plugin 
> .PluginInstallerGBean.downloadArtifact(PluginInstallerGBean.java:1178)
>     at  
> org 
> .apache 
> .geronimo 
> .system 
> .plugin 
> .PluginInstallerGBean.downloadArtifact(PluginInstallerGBean.java:1299)
>     at  
> org 
> .apache 
> .geronimo 
> .system 
> .plugin 
> .PluginInstallerGBean.downloadArtifact(PluginInstallerGBean.java:1299)
>     at  
> org 
> .apache 
> .geronimo 
> .system 
> .plugin.PluginInstallerGBean.install(PluginInstallerGBean.java:773)
>     at  
> org 
> .apache 
> .geronimo 
> .system 
> .plugin.PluginInstallerGBean.install(PluginInstallerGBean.java:718)
>     at  
> org 
> .apache 
> .geronimo 
> .mavenplugins.car.InstallModulesMojo.execute(InstallModulesMojo.java: 
> 175)
>     ... 18 more
> [INFO]  
> ------------------------------------------------------------------------
> [INFO] Total time: 4 minutes 19 seconds
> [INFO] Finished at: Thu Apr 09 01:11:57 CEST 2009
> [INFO] Final Memory: 71M/508M
> [INFO]  
> ------------------------------------------------------------------------
> [rahul@localhost assemblies]$
>
> -----
>
>
>
> And, I received the following error while building server/plugins/ 
> connector-1_6
>
> ----
>
> [INFO] Compiling 28 source files to /home/rahul/server/plugins/ 
> connector-1_6/geronimo-connector-1_6/target/classes
> [INFO]  
> ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO]  
> ------------------------------------------------------------------------
> [INFO] Compilation failure
>
> /home/rahul/server/plugins/connector-1_6/geronimo-connector-1_6/src/ 
> main/java/org/apache/geronimo/connector/work/ 
> GeronimoWorkManagerGBean.java:[41,91] cannot find symbol
> symbol  : class InflowContextHandler
> location: class  
> org.apache.geronimo.connector.work.GeronimoWorkManagerGBean
>
> /home/rahul/server/plugins/connector-1_6/geronimo-connector-1_6/src/ 
> main/java/org/apache/geronimo/connector/work/ 
> SecurityInflowContextHandler.java:[41,53] cannot find symbol
> symbol: class InflowContextHandler
> public class SecurityInflowContextHandler implements  
> InflowContextHandler<SecurityInflowContext> {
>
> /home/rahul/server/plugins/connector-1_6/geronimo-connector-1_6/src/ 
> main/java/org/apache/geronimo/connector/work/ 
> SecurityInflowContextHandler.java:[41,73] interface expected here
>
> /home/rahul/server/plugins/connector-1_6/geronimo-connector-1_6/src/ 
> main/java/org/apache/geronimo/connector/work/ 
> TransactionInflowContextHandlerGBean.java:[32,58] cannot find symbol
> symbol: class TransactionInflowContextHandler
> public class TransactionInflowContextHandlerGBean extends  
> TransactionInflowContextHandler{
>
>
> [INFO]  
> ------------------------------------------------------------------------
> [INFO] Trace
> org.apache.maven.BuildFailureException: Compilation failure
> at  
> org 
> .apache 
> .maven 
> .lifecycle 
> .DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java: 
> 579)
> at  
> org 
> .apache 
> .maven 
> .lifecycle 
> .DefaultLifecycleExecutor 
> .executeGoalWithLifecycle(DefaultLifecycleExecutor.java:499)
> at  
> org 
> .apache 
> .maven 
> .lifecycle 
> .DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java: 
> 478)
> at  
> org 
> .apache 
> .maven 
> .lifecycle 
> .DefaultLifecycleExecutor 
> .executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330)
> at  
> org 
> .apache 
> .maven 
> .lifecycle 
> .DefaultLifecycleExecutor 
> .executeTaskSegments(DefaultLifecycleExecutor.java:291)
> at  
> org 
> .apache 
> .maven 
> .lifecycle 
> .DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142)
> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
> at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
> 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.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
> at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
> at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java: 
> 430)
> at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> Caused by: org.apache.maven.plugin.CompilationFailureException:  
> Compilation failure
> at  
> org 
> .apache 
> .maven.plugin.AbstractCompilerMojo.execute(AbstractCompilerMojo.java: 
> 516)
> at org.apache.maven.plugin.CompilerMojo.execute(CompilerMojo.java:114)
> at  
> org 
> .apache 
> .maven 
> .plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java: 
> 451)
> at  
> org 
> .apache 
> .maven 
> .lifecycle 
> .DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java: 
> 558)
> ... 16 more
> [INFO]  
> ------------------------------------------------------------------------
> [INFO] Total time: 1 minute 28 seconds
> [INFO] Finished at: Thu Apr 09 00:58:27 CEST 2009
> [INFO] Final Memory: 36M/508M
> [INFO]  
> ------------------------------------------------------------------------
> [rahul@localhost connector-1_6]$
>
> -----
>
> Any idea why those error occured?
>
> Thank you.
>
> Best Regards,
> Rahul
>
>
> On Mon, Apr 6, 2009 at 10:07 PM, Kevan Miller  
> <kevan.miller@gmail.com> wrote:
> >
> > On Apr 6, 2009, at 3:25 AM, rahul.soa wrote:
> >
> >> Hello David,
> >>
> >> It did not work for independent build as well. I tried to build the
> >> plug-ins and got the same memory allocation error :( I ordered my  
> RAM
> >> already.
> >
> > Try building without tests:
> >
> > mvn -Dtest=false
> >
> > --kevan
> >
>


Mime
View raw message