geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrig <andrig.t.mil...@gmail.com>
Subject Re: Building Apache Day Trader for JBoss
Date Tue, 05 May 2009 18:50:03 GMT



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 <repositories> 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?
> 
>          <repository>
>              <id>apache.nexus.snapshots</id>
>              <name>Apache Nexus Repository</name>
>             
> <url>https://repository.apache.org/content/repositories/snapshots 
> </url>
>              <layout>default</layout>
>              <snapshots>
>                  <enabled>true</enabled>
>                  <updatePolicy>daily</updatePolicy>
>                  <checksumPolicy>ignore</checksumPolicy>
>              </snapshots>
>              <releases>
>                  <enabled>false</enabled>
>              </releases>
>          </repository>
> 
> --kevan
> 
> 

Okay, this helped get passed that issue, and I ran into another one:

org.apache.geronimo.framework/j2ee-system/2.2-SNAPSHOT/car: LOADING
org.apache.geronimo.framework/j2ee-system/2.2-SNAPSHOT/car: SUCCEEDED
org.apache.geronimo.framework/xmlbeans/2.2-SNAPSHOT/car: LOADING
org.apache.geronimo.framework/xmlbeans/2.2-SNAPSHOT/car: SUCCEEDED
org.apache.geronimo.framework/jee-specs/2.2-SNAPSHOT/car: LOADING
org.apache.geronimo.framework/jee-specs/2.2-SNAPSHOT/car: FAILED: Error
starting configuration gbean
org.apache.geronimo.framework/jee-specs/2.2-SNAPSHOT/car
FINISHED

org.apache.geronimo.kernel.config.LifecycleException: load of
org.apache.geronimo.framework/geronimo-gbean-deployer/2.2-SNAPSHOT/car
failed
	at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.java:327)
	at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.java:280)
	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.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)
	at
org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:130)
	at
org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:815)
	at org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57)
	at
org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:35)
	at
org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96)
	at
org.apache.geronimo.gbean.GBeanLifecycle$$EnhancerByCGLIB$$3960751e.loadConfiguration(<generated>)
	at
org.apache.geronimo.mavenplugins.car.PackageMojo.buildPackage(PackageMojo.java:289)
	at
org.apache.geronimo.mavenplugins.car.PackageMojo.execute(PackageMojo.java:209)
	at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:453)
	at
org.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.


Mime
View raw message