Building openejb3

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Building openejb3

Andrus Adamchik
Trying to build openejb3 from SVN using Maven 2:

# cd openejb3
# mvn -e clean install

This results in error below. Any ideas where to get geronimo-
ejb_3.0_spec?

Andrus


[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
Downloading: http://cvs.apache.org/repository/ 
org.apache.geronimo.specs/poms/geronimo-ejb_3.0_spec-1.0-SNAPSHOT.pom
Downloading: http://cvs.apache.org/repository/ 
org.apache.geronimo.specs/jars/geronimo-ejb_3.0_spec-1.0-SNAPSHOT.jar
[INFO]  
------------------------------------------------------------------------
----
[ERROR] BUILD ERROR
[INFO]  
------------------------------------------------------------------------
----
[INFO] Failed to resolve artifact.

required artifacts missing:
   org.apache.geronimo.specs:geronimo-ejb_3.0_spec:jar:1.0-SNAPSHOT

for the artifact:
   org.openejb:openejb-itests:jar:3.0-SNAPSHOT

from the specified remote repositories:
   central (http://repo1.maven.org/maven2),
   maven-legacy-on-ibiblio (http://www.ibiblio.org/maven),
   codehaus (http://dist.codehaus.org),
   snapshots (http://snapshots.maven.codehaus.org/maven2),
   apache (http://cvs.apache.org/repository)


[INFO]  
------------------------------------------------------------------------
----
[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: required  
artifacts missing:
   org.apache.geronimo.specs:geronimo-ejb_3.0_spec:jar:1.0-SNAPSHOT

for the artifact:
   org.openejb:openejb-itests:jar:3.0-SNAPSHOT

from the specified remote repositories:
   central (http://repo1.maven.org/maven2),
   maven-legacy-on-ibiblio (http://www.ibiblio.org/maven),
   codehaus (http://dist.codehaus.org),
   snapshots (http://snapshots.maven.codehaus.org/maven2),
   apache (http://cvs.apache.org/repository)

         at  
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals
(DefaultLifecycleExecutor.java:548)
         at  
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifec
ycle(DefaultLifecycleExecutor.java:472)
         at  
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal
(DefaultLifecycleExecutor.java:451)
         at  
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandle
Failures(DefaultLifecycleExecutor.java:303)
         at  
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(
DefaultLifecycleExecutor.java:270)
         at  
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute
(DefaultLifecycleExecutor.java:139)
         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:
322)
         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
         at org.apache.maven.cli.MavenCli.main(MavenCli.java:249)
         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:585)
         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.artifact.resolver.ArtifactResolutionException:  
required artifacts missing:
   org.apache.geronimo.specs:geronimo-ejb_3.0_spec:jar:1.0-SNAPSHOT

for the artifact:
   org.openejb:openejb-itests:jar:3.0-SNAPSHOT

from the specified remote repositories:
   central (http://repo1.maven.org/maven2),
   maven-legacy-on-ibiblio (http://www.ibiblio.org/maven),
   codehaus (http://dist.codehaus.org),
   snapshots (http://snapshots.maven.codehaus.org/maven2),
   apache (http://cvs.apache.org/repository)

         at  
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransi
tively(DefaultArtifactResolver.java:251)
         at  
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransi
tively(DefaultArtifactResolver.java:211)
         at  
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransi
tively(DefaultArtifactResolver.java:182)
         at  
org.apache.maven.plugin.DefaultPluginManager.resolveTransitiveDependenci
es(DefaultPluginManager.java:1120)
         at org.apache.maven.plugin.DefaultPluginManager.executeMojo
(DefaultPluginManager.java:369)
         at  
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals
(DefaultLifecycleExecutor.java:531)
         ... 16 more

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Building openejb3

dblevins
Administrator

On Apr 12, 2006, at 1:20 AM, Andrus Adamchik wrote:

> Trying to build openejb3 from SVN using Maven 2:
>
> # cd openejb3
> # mvn -e clean install
>
> This results in error below. Any ideas where to get geronimo-
> ejb_3.0_spec?

Here they are:

svn co http://svn.apache.org/repos/asf/geronimo/specs/branches/jee5_exp

-David

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Building openejb3

Andrus Adamchik
Getting closer... Now the unit tests fail (building with Java  
1.5.0_05). I haven't seen org.apache.xerces.parsers.SAXParser errors  
since around JDK 1.3 :-) Where should that go?

Andrus



  T E S T S
-------------------------------------------------------
0 [main] WARN OpenEJB  - Unable use logging config as there are 3  
file references containing directories which have not been created.  
See the list below.
6 [main] WARN OpenEJB  - [0] /Volumes/hfs2/Users/andrus/work/cayenne/
openejb/openejb3/container/openejb-core/target/test-classes/conf/logs/
transaction.log
6 [main] WARN OpenEJB  - [1] /Volumes/hfs2/Users/andrus/work/cayenne/
openejb/openejb3/container/openejb-core/target/test-classes/conf/logs/
openejb.log
7 [main] WARN OpenEJB  - [2] /Volumes/hfs2/Users/andrus/work/cayenne/
openejb/openejb3/container/openejb-core/target/test-classes/conf/logs/
server.log
8 [main] WARN OpenEJB.startup  - No ApplicationServer was specified!  
The container system will only be accessible by same-vm clients via  
the IntraVm Server.
OpenEJB 3.0-SNAPSHOT    build: 20060412-1507
http://www.openejb.org
413 [main] FATAL OpenEJB.startup  - OpenEJB has encountered a fatal  
error and cannot be started: The Assembler encountered an unexpected  
error while attempting to initialize.
java.lang.RuntimeException: Could not instantiate parser  
org.apache.xerces.parsers.SAXParser:  
java.lang.ClassNotFoundException: org.apache.xerces.parsers.SAXParser
         at org.exolab.castor.util.LocalConfiguration.getParser
(LocalConfiguration.java:332)
         at org.exolab.castor.util.LocalConfiguration.getParser
(LocalConfiguration.java:263)
         at org.exolab.castor.xml.Unmarshaller.unmarshal
(Unmarshaller.java:678)
         at org.exolab.castor.xml.Unmarshaller.unmarshal
(Unmarshaller.java:563)
         at org.openejb.alt.config.Unmarshaller.unmarshalObject
(Unmarshaller.java:157)
         at org.openejb.alt.config.Unmarshaller.unmarshalFromDirectory
(Unmarshaller.java:114)
         at org.openejb.alt.config.Unmarshaller.unmarshal
(Unmarshaller.java:69)
         at org.openejb.alt.config.Unmarshaller.unmarshal
(Unmarshaller.java:63)
         at org.openejb.alt.config.ConfigUtils.readConfig
(ConfigUtils.java:35)
         at  
org.openejb.alt.config.ConfigurationFactory.getOpenEjbConfiguration
(ConfigurationFactory.java:118)
         at org.openejb.assembler.classic.Assembler.init
(Assembler.java:68)
         at org.openejb.OpenEJB$Instance.<init>(OpenEJB.java:115)
         at org.openejb.OpenEJB.init(OpenEJB.java:251)
         at org.openejb.OpenEJB.init(OpenEJB.java:235)
         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:585)
         at org.openejb.loader.OpenEJBInstance.init
(OpenEJBInstance.java:24)
         at org.openejb.client.LocalInitialContextFactory.init
(LocalInitialContextFactory.java:52)
         at  
org.openejb.client.LocalInitialContextFactory.getInitialContext
(LocalInitialContextFactory.java:38)
         at javax.naming.spi.NamingManager.getInitialContext
(NamingManager.java:667)
         at javax.naming.InitialContext.getDefaultInitCtx
(InitialContext.java:247)
         at javax.naming.InitialContext.init(InitialContext.java:223)
         at javax.naming.InitialContext.<init>(InitialContext.java:197)
         at org.openejb.test.InstantDbTestDatabase.start
(InstantDbTestDatabase.java:94)
         at org.openejb.test.TestManager.start(TestManager.java:55)
         at org.openejb.iTest.setUp(iTest.java:45)
         at org.openejb.test.TestSuite.run(TestSuite.java:24)
         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:585)
         at  
org.apache.maven.surefire.battery.JUnitBattery.executeJUnit
(JUnitBattery.java:242)
         at org.apache.maven.surefire.battery.JUnitBattery.execute
(JUnitBattery.java:216)
         at org.apache.maven.surefire.Surefire.executeBattery
(Surefire.java:215)
         at org.apache.maven.surefire.Surefire.run(Surefire.java:163)
         at org.apache.maven.surefire.Surefire.run(Surefire.java:87)
         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:585)
         at org.apache.maven.surefire.SurefireBooter.runTestsInProcess
(SurefireBooter.java:285)
         at org.apache.maven.surefire.SurefireBooter.run
(SurefireBooter.java:201)
         at org.apache.maven.test.SurefirePlugin.execute
(SurefirePlugin.java:366)
         at org.apache.maven.plugin.DefaultPluginManager.executeMojo
(DefaultPluginManager.java:415)
         at  
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals
(DefaultLifecycleExecutor.java:531)
         at  
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifec
ycle(DefaultLifecycleExecutor.java:472)
         at  
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal
(DefaultLifecycleExecutor.java:451)
         at  
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandle
Failures(DefaultLifecycleExecutor.java:303)
         at  
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(
DefaultLifecycleExecutor.java:270)
         at  
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute
(DefaultLifecycleExecutor.java:139)
         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:
322)
         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
         at org.apache.maven.cli.MavenCli.main(MavenCli.java:249)
         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:585)
         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)

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Building openejb3

Jacek Laskowski
On 4/12/06, Andrus Adamchik <[hidden email]> wrote:
> Getting closer... Now the unit tests fail (building with Java
> 1.5.0_05). I haven't seen org.apache.xerces.parsers.SAXParser errors
> since around JDK 1.3 :-) Where should that go?

That's exactly the error message I saw yesterday when I committed
other changes wrt the build. I'd be glad if it was resolved soon. I'm
not sure if I'm able to do anything with that tonight (possibly not,
but am yet very optimistic ;))

> Andrus

Jacek

---
Jacek Laskowski
http://www.laskowski.net.pl
Loading...