Re: Building Apache Day Trader for JBoss
On May 12, 2009, at 9:51 AM, Andrig wrote: I just wanted to let you know that I did get things deploying cleanly and running without errors. Cool. Thanks for the update. --kevan
Re: Building Apache Day Trader for JBoss
I just wanted to let you know that I did get things deploying cleanly and running without errors. Thanks for the help. Andy dwoods wrote: > > Try using the following Daytrader branch and a 2.1 Server instead of trunk > - > https://svn.apache.org/repos/asf/geronimo/daytrader/branches/2.1.3/ > > > -Donald > > > Andrig wrote: >> >> >> kevan wrote: >>> >>> On May 4, 2009, at 9:31 PM, Andrig wrote: >>> >>>> I have another missing artifact. If you could point me in the right >>>> direction on where to get it, it would be appreciated: >>>> >>>> [INFO] >>>> >>>> [ERROR] BUILD ERROR >>>> [INFO] >>>> >>>> [INFO] Failed to resolve artifact. >>>> >>>> Missing: >>>> -- >>>> 1) org.apache.openejb:ejb31-api-experimental:jar:3.1.1-SNAPSHOT >>>> >>>> Try downloading the file manually from the project website. >>>> >>>> Then, install it using the command: >>>> mvn install:install-file -DgroupId=org.apache.openejb >>>> -DartifactId=ejb31-api-experimental -Dversion=3.1.1-SNAPSHOT - >>>> Dpackaging=jar >>>> -Dfile=/path/to/file >>>> >>>> Alternatively, if you host your own repository you can deploy the >>>> file >>>> there: >>>> mvn deploy:deploy-file -DgroupId=org.apache.openejb >>>> -DartifactId=ejb31-api-experimental -Dversion=3.1.1-SNAPSHOT - >>>> Dpackaging=jar >>>> -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] >>>> >>>> Path to dependency: >>>>1) >>>> org.apache.geronimo.daytrader:daytrader-derby-datasource:car:2.2- >>>> SNAPSHOT >>>>2) org.apache.geronimo.configs:system-database:car:2.2-SNAPSHOT >>>>3) org.apache.geronimo.configs:transaction:car:2.2-SNAPSHOT >>>>4) org.apache.geronimo.configs:j2ee-server:car:2.2-SNAPSHOT >>>>5) org.apache.geronimo.framework:rmi-naming:car:2.2-SNAPSHOT >>>>6) org.apache.geronimo.framework:jee-specs:car:2.2-SNAPSHOT >>>>7) org.apache.openejb:ejb31-api-experimental:jar:3.1.1-SNAPSHOT >>> OpenEJB has moved the location of their SNAPSHOT repository. Adding >>> the following to your pom.xml in the section should fix >>> our problem. However, I'm a bit confused by the version numbers that >>> your missing. What version of DayTrader are you trying to build? >>> >>> >>> apache.nexus.snapshots >>> Apache Nexus Repository >>> >>> https://repository.apache.org/content/repositories/snapshots >>> >>> default >>> >>> true >>> daily >>> ignore >>> >>> >>> false >>> >>> >>> >>> --kevan >>> >>> >> >> I will try this change, but I have checked out trunk, because that's the >> version that is based on EE 5, and that's what I needed. >> > > -- View this message in context: http://www.nabble.com/Building-Apache-Day-Trader-for-JBoss-tp23370818s134p23503023.html Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.
Re: Building Apache Day Trader for JBoss
Try using the following Daytrader branch and a 2.1 Server instead of trunk - https://svn.apache.org/repos/asf/geronimo/daytrader/branches/2.1.3/ -Donald Andrig wrote: kevan wrote: On May 4, 2009, at 9:31 PM, Andrig wrote: I have another missing artifact. If you could point me in the right direction on where to get it, it would be appreciated: [INFO] [ERROR] BUILD ERROR [INFO] [INFO] Failed to resolve artifact. Missing: -- 1) org.apache.openejb:ejb31-api-experimental:jar:3.1.1-SNAPSHOT Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=org.apache.openejb -DartifactId=ejb31-api-experimental -Dversion=3.1.1-SNAPSHOT - Dpackaging=jar -Dfile=/path/to/file Alternatively, if you host your own repository you can deploy the file there: mvn deploy:deploy-file -DgroupId=org.apache.openejb -DartifactId=ejb31-api-experimental -Dversion=3.1.1-SNAPSHOT - Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] Path to dependency: 1) org.apache.geronimo.daytrader:daytrader-derby-datasource:car:2.2- SNAPSHOT 2) org.apache.geronimo.configs:system-database:car:2.2-SNAPSHOT 3) org.apache.geronimo.configs:transaction:car:2.2-SNAPSHOT 4) org.apache.geronimo.configs:j2ee-server:car:2.2-SNAPSHOT 5) org.apache.geronimo.framework:rmi-naming:car:2.2-SNAPSHOT 6) org.apache.geronimo.framework:jee-specs:car:2.2-SNAPSHOT 7) org.apache.openejb:ejb31-api-experimental:jar:3.1.1-SNAPSHOT OpenEJB has moved the location of their SNAPSHOT repository. Adding the following to your pom.xml in the section should fix our problem. However, I'm a bit confused by the version numbers that your missing. What version of DayTrader are you trying to build? apache.nexus.snapshots Apache Nexus Repository https://repository.apache.org/content/repositories/snapshots default true daily ignore false --kevan I will try this change, but I have checked out trunk, because that's the version that is based on EE 5, and that's what I needed.
Re: Building Apache Day Trader for JBoss
g.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:559) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:500) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:479) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:331) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:292) 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:301) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) 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.geronimo.kernel.config.InvalidConfigException: Error starting configuration gbean org.apache.geronimo.framework/jee-specs/2.2-SNAPSHOT/car at org.apache.geronimo.kernel.config.KernelConfigurationManager.load(KernelConfigurationManager.java:183) at org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.java:312) ... 32 more Caused by: org.apache.geronimo.gbean.InvalidConfigurationException: Configuration gbean failed to start org.apache.geronimo.framework/jee-specs/2.2-SNAPSHOT/car reason: Missing dependency: org.apache.geronimo.specs/geronimo-jaspi_1.0_spec/1.0-20080804.213256-1/jar at org.apache.geronimo.kernel.config.KernelConfigurationManager.load(KernelConfigurationManager.java:166) It looks like I'm missing the jaspi specific release now. Do you know where I can get this? Thanks. -- View this message in context: http://www.nabble.com/Building-Apache-Day-Trader-for-JBoss-tp23370818s134p23393674.html Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.
Re: Building Apache Day Trader for JBoss
kevan wrote: > > > On May 4, 2009, at 9:31 PM, Andrig wrote: > >> >> I have another missing artifact. If you could point me in the right >> direction on where to get it, it would be appreciated: >> >> [INFO] >> >> [ERROR] BUILD ERROR >> [INFO] >> >> [INFO] Failed to resolve artifact. >> >> Missing: >> -- >> 1) org.apache.openejb:ejb31-api-experimental:jar:3.1.1-SNAPSHOT >> >> Try downloading the file manually from the project website. >> >> Then, install it using the command: >> mvn install:install-file -DgroupId=org.apache.openejb >> -DartifactId=ejb31-api-experimental -Dversion=3.1.1-SNAPSHOT - >> Dpackaging=jar >> -Dfile=/path/to/file >> >> Alternatively, if you host your own repository you can deploy the >> file >> there: >> mvn deploy:deploy-file -DgroupId=org.apache.openejb >> -DartifactId=ejb31-api-experimental -Dversion=3.1.1-SNAPSHOT - >> Dpackaging=jar >> -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] >> >> Path to dependency: >> 1) >> org.apache.geronimo.daytrader:daytrader-derby-datasource:car:2.2- >> SNAPSHOT >> 2) org.apache.geronimo.configs:system-database:car:2.2-SNAPSHOT >> 3) org.apache.geronimo.configs:transaction:car:2.2-SNAPSHOT >> 4) org.apache.geronimo.configs:j2ee-server:car:2.2-SNAPSHOT >> 5) org.apache.geronimo.framework:rmi-naming:car:2.2-SNAPSHOT >> 6) org.apache.geronimo.framework:jee-specs:car:2.2-SNAPSHOT >> 7) org.apache.openejb:ejb31-api-experimental:jar:3.1.1-SNAPSHOT > > OpenEJB has moved the location of their SNAPSHOT repository. Adding > the following to your pom.xml in the section should fix > our problem. However, I'm a bit confused by the version numbers that > your missing. What version of DayTrader are you trying to build? > > > apache.nexus.snapshots > Apache Nexus Repository > > https://repository.apache.org/content/repositories/snapshots > > default > > true > daily > ignore > > > false > > > > --kevan > > I will try this change, but I have checked out trunk, because that's the version that is based on EE 5, and that's what I needed. -- View this message in context: http://www.nabble.com/Building-Apache-Day-Trader-for-JBoss-tp23370818s134p23393103.html Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.
Re: Building Apache Day Trader for JBoss
On May 4, 2009, at 9:31 PM, Andrig wrote: I have another missing artifact. If you could point me in the right direction on where to get it, it would be appreciated: [INFO] [ERROR] BUILD ERROR [INFO] [INFO] Failed to resolve artifact. Missing: -- 1) org.apache.openejb:ejb31-api-experimental:jar:3.1.1-SNAPSHOT Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=org.apache.openejb -DartifactId=ejb31-api-experimental -Dversion=3.1.1-SNAPSHOT - Dpackaging=jar -Dfile=/path/to/file Alternatively, if you host your own repository you can deploy the file there: mvn deploy:deploy-file -DgroupId=org.apache.openejb -DartifactId=ejb31-api-experimental -Dversion=3.1.1-SNAPSHOT - Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] Path to dependency: 1) org.apache.geronimo.daytrader:daytrader-derby-datasource:car:2.2- SNAPSHOT 2) org.apache.geronimo.configs:system-database:car:2.2-SNAPSHOT 3) org.apache.geronimo.configs:transaction:car:2.2-SNAPSHOT 4) org.apache.geronimo.configs:j2ee-server:car:2.2-SNAPSHOT 5) org.apache.geronimo.framework:rmi-naming:car:2.2-SNAPSHOT 6) org.apache.geronimo.framework:jee-specs:car:2.2-SNAPSHOT 7) org.apache.openejb:ejb31-api-experimental:jar:3.1.1-SNAPSHOT OpenEJB has moved the location of their SNAPSHOT repository. Adding the following to your pom.xml in the section should fix our problem. However, I'm a bit confused by the version numbers that your missing. What version of DayTrader are you trying to build? apache.nexus.snapshots Apache Nexus Repository https://repository.apache.org/content/repositories/snapshots default true daily ignore false --kevan
Re: Building Apache Day Trader for JBoss
kevan wrote: > > > On May 4, 2009, at 11:31 AM, Andrig wrote: > >> >> I'm attempting to build the Apache Day Trader application, using the >> JBoss 5 >> instructions. I get the following when doing the mvn install clean: >> >> [ERROR] BUILD ERROR >> [INFO] >> >> [INFO] Failed to resolve artifact. >> >> Missing: >> -- >> 1) org.apache.activemq:activemq-core:jar:4.1.2-G647819 > >> >> Where is this artifact? > > That's a version of ActiveMQ that's been patched by Geronimo to fix > some bugs. Unfortunately, it's not available in maven repos. So, the > only way to get it is something like: > > svn co > https://svn.apache.org/repos/asf/geronimo/server/tags/2.1.3/repository > cd repository > mvn > > The above will copy the file into your local maven repo. You could > manually install, but this is easier, IMO. > > This is something we should fix in G 2.2... > > --kevan > > > I have another missing artifact. If you could point me in the right direction on where to get it, it would be appreciated: [INFO] [ERROR] BUILD ERROR [INFO] [INFO] Failed to resolve artifact. Missing: -- 1) org.apache.openejb:ejb31-api-experimental:jar:3.1.1-SNAPSHOT Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=org.apache.openejb -DartifactId=ejb31-api-experimental -Dversion=3.1.1-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file Alternatively, if you host your own repository you can deploy the file there: mvn deploy:deploy-file -DgroupId=org.apache.openejb -DartifactId=ejb31-api-experimental -Dversion=3.1.1-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] Path to dependency: 1) org.apache.geronimo.daytrader:daytrader-derby-datasource:car:2.2-SNAPSHOT 2) org.apache.geronimo.configs:system-database:car:2.2-SNAPSHOT 3) org.apache.geronimo.configs:transaction:car:2.2-SNAPSHOT 4) org.apache.geronimo.configs:j2ee-server:car:2.2-SNAPSHOT 5) org.apache.geronimo.framework:rmi-naming:car:2.2-SNAPSHOT 6) org.apache.geronimo.framework:jee-specs:car:2.2-SNAPSHOT 7) org.apache.openejb:ejb31-api-experimental:jar:3.1.1-SNAPSHOT -- 1 required artifact is missing. -- View this message in context: http://www.nabble.com/Building-Apache-Day-Trader-for-JBoss-tp23370818s134p23379586.html Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.
Re: Building Apache Day Trader for JBoss
kevan wrote: > > > On May 4, 2009, at 11:31 AM, Andrig wrote: > >> >> I'm attempting to build the Apache Day Trader application, using the >> JBoss 5 >> instructions. I get the following when doing the mvn install clean: >> >> [ERROR] BUILD ERROR >> [INFO] >> >> [INFO] Failed to resolve artifact. >> >> Missing: >> -- >> 1) org.apache.activemq:activemq-core:jar:4.1.2-G647819 > >> >> Where is this artifact? > > That's a version of ActiveMQ that's been patched by Geronimo to fix > some bugs. Unfortunately, it's not available in maven repos. So, the > only way to get it is something like: > > svn co > https://svn.apache.org/repos/asf/geronimo/server/tags/2.1.3/repository > cd repository > mvn > > The above will copy the file into your local maven repo. You could > manually install, but this is easier, IMO. > > This is something we should fix in G 2.2... > > --kevan > > > Thanks. This resolved the issue. I appreciate the help. -- View this message in context: http://www.nabble.com/Building-Apache-Day-Trader-for-JBoss-tp23370818s134p23379524.html Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.
Re: Building Apache Day Trader for JBoss
On May 4, 2009, at 11:31 AM, Andrig wrote: I'm attempting to build the Apache Day Trader application, using the JBoss 5 instructions. I get the following when doing the mvn install clean: [ERROR] BUILD ERROR [INFO] [INFO] Failed to resolve artifact. Missing: -- 1) org.apache.activemq:activemq-core:jar:4.1.2-G647819 Where is this artifact? That's a version of ActiveMQ that's been patched by Geronimo to fix some bugs. Unfortunately, it's not available in maven repos. So, the only way to get it is something like: svn co https://svn.apache.org/repos/asf/geronimo/server/tags/2.1.3/repository cd repository mvn The above will copy the file into your local maven repo. You could manually install, but this is easier, IMO. This is something we should fix in G 2.2... --kevan
Building Apache Day Trader for JBoss
I'm attempting to build the Apache Day Trader application, using the JBoss 5 instructions. I get the following when doing the mvn install clean: [ERROR] BUILD ERROR [INFO] [INFO] Failed to resolve artifact. Missing: -- 1) org.apache.activemq:activemq-core:jar:4.1.2-G647819 Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=org.apache.activemq -DartifactId=activemq-core -Dversion=4.1.2-G647819 -Dpackaging=jar -Dfile=/path/to/file Alternatively, if you host your own repository you can deploy the file there: mvn deploy:deploy-file -DgroupId=org.apache.activemq -DartifactId=activemq-core -Dversion=4.1.2-G647819 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] Path to dependency: 1) org.apache.geronimo.daytrader:repository:jar:2.2-SNAPSHOT 2) org.apache.activemq:activemq-core:jar:4.1.2-G647819 -- 1 required artifact is missing. for artifact: org.apache.geronimo.daytrader:repository:jar:2.2-SNAPSHOT Where is this artifact? Thanks. Andy -- View this message in context: http://www.nabble.com/Building-Apache-Day-Trader-for-JBoss-tp23370818s134p23370818.html Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.