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)