You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomee.apache.org by David Jencks <da...@yahoo.com> on 2008/01/02 20:06:57 UTC

Build problem??

I can't build trunk... I get 12 errors that look like this:

Entity.CMR.ManyToManyComplex..setUp() 
(org.apache.openejb.test.NumberedTestCase$TestSetup)  Time elapsed:  
0.024 sec  <<< ERROR!
javax.naming.NameNotFoundException: Name "java:openejb/Resource/ 
Default JDBC Database" not found.
         at org.apache.openejb.core.ivm.naming.IvmContext.federate 
(IvmContext.java:172)
         at org.apache.openejb.core.ivm.naming.IvmContext.lookup 
(IvmContext.java:129)
         at javax.naming.InitialContext.lookup(InitialContext.java:351)
         at org.apache.openejb.test.entity.cmr.AbstractCMRTest.setUp 
(AbstractCMRTest.java:78)
         at  
org.apache.openejb.test.entity.cmr.ManyToManyComplexPkTests.setUp 
(ManyToManyComplexPkTests.java:51)
         at org.apache.openejb.test.NumberedTestCase.run 
(NumberedTestCase.java:93)

I see there were some recent changes around a resource/connector tag,  
I wonder if those are completely working?

I ran into this last night at which time Matt could build OK but I  
don't see anything special about my build environment... no visible  
changes from svn.  I also updated and rebuild xbean locally.

thanks
david jencks


Re: Build problem??

Posted by David Blevins <da...@visi.com>.
Ahh, I didn't have Dain's stuff when I checked in.  All works fine  
without it.

Ball's in his court :)

 From the looks of it though, it seems like it's a simple matter of  
having something else started on port 4204.

-David

On Jan 5, 2008, at 8:11 AM, Jacek Laskowski wrote:

> On Jan 5, 2008 11:40 AM, David Blevins <da...@visi.com> wrote:
>
>> All fixed.
>
> Almost ;-) Thanks for the recent fixes as they're a great lecture for
> Saturday's night (CET). I think it *could* pertain to Dain's changes
> wrt Jetty as a web container.
>
> -------------------------------------------------------
> T E S T S
> -------------------------------------------------------
> Running org.superbiz.calculator.CalculatorTest
> Apache OpenEJB 3.0.0-SNAPSHOT    build: 20080105-04:53
> http://openejb.apache.org/
> INFO - openejb.home = C:\oss\openejb3\examples\simple-webservice
> INFO - openejb.base = C:\oss\openejb3\examples\simple-webservice
> WARN - Cannot find the configuration file [conf/openejb.xml].  Will
> attempt to create one for the beans deployed.
> INFO - Configuring Service(id=Default Security Service,
> type=SecurityService, provider-id=Default Security Service)
> INFO - Configuring Service(id=Default Transaction Manager,
> type=TransactionManager, provider-id=Default Transaction Manager)
> INFO - Configuring Service(id=Default JDK 1.3 ProxyFactory,
> type=ProxyFactory, provider-id=Default JDK 1.3 ProxyFactory)
> INFO - Found EjbModule in classpath:
> C:\oss\openejb3\examples\simple-webservice\target\classes
> INFO - Configuring app:
> C:\oss\openejb3\examples\simple-webservice\target\classes
> ERROR - Unable to read wsdl file null
> INFO - Configuring Service(id=Default Stateless Container,
> type=Container, provider-id=Default Stateless Container)
> INFO - Auto-creating a container for bean CalculatorImpl:
> Container(type=STATELESS, id=Default Stateless Container)
> INFO - Loaded Module: C:\oss\openejb3\examples\simple-webservice 
> \target\classes
> INFO - Creating ProxyFactory(id=Default JDK 1.3 ProxyFactory)
> INFO - Creating TransactionManager(id=Default Transaction Manager)
> INFO - Creating SecurityService(id=Default Security Service)
> INFO - Creating Container(id=Default Stateless Container)
> INFO - Assembling app: C:\oss\openejb3\examples\simple-webservice 
> \target\classes
> INFO - Created Ejb(deployment-id=CalculatorImpl,
> ejb-name=CalculatorImpl, container=Default Stateless Container)
> INFO - Deployed
> Application(path=C:\oss\openejb3\examples\simple-webservice\target 
> \classes)
> INFO - OpenEJB ready.
> OpenEJB ready.
> 2008-01-05 17:03:03 sun.reflect.NativeMethodAccessorImpl invoke0
> INFO: Logging to org.slf4j.impl.JDK14LoggerAdapter(org.mortbay.log)
> via org.mortbay.log.Slf4jLog
>  ** Starting Services **
>  NAME                 IP              PORT
> 2008-01-05 17:03:05 sun.reflect.NativeMethodAccessorImpl invoke0
> INFO: jetty-6.1.5
> 2008-01-05 17:03:05 sun.reflect.NativeMethodAccessorImpl invoke0
> WARNING: failed SelectChannelConnector@0.0.0.0:4204
> java.net.BindException: Address already in use: bind
>        at sun.nio.ch.Net.bind(Native Method)
>        at  
> sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java: 
> 119)
>        at  
> sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:59)
>        at  
> org 
> .mortbay 
> .jetty.nio.SelectChannelConnector.open(SelectChannelConnector.java: 
> 211)
>        at  
> org 
> .mortbay 
> .jetty 
> .nio.SelectChannelConnector.doStart(SelectChannelConnector.java:309)
>        at  
> org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java: 
> 40)
>        at org.mortbay.jetty.Server.doStart(Server.java:228)
>        at  
> org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java: 
> 40)
>        at  
> org 
> .apache 
> .openejb.server.httpd.JettyHttpServer.start(JettyHttpServer.java:115)
>        at  
> org 
> .apache.openejb.server.httpd.HttpEjbServer.start(HttpEjbServer.java: 
> 88)
>        at  
> org.apache.openejb.server.ServiceLogger.start(ServiceLogger.java:51)
>        at  
> org 
> .apache 
> .openejb 
> .server.ServiceAccessController.start(ServiceAccessController.java:45)
>        at  
> org.apache.openejb.server.ServiceDaemon.start(ServiceDaemon.java:84)
>        at  
> org.apache.openejb.server.ServiceManager.start(ServiceManager.java: 
> 261)
>        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 
> .openejb 
> .client 
> .LocalInitialContextFactory 
> .bootServerServices(LocalInitialContextFactory.java:85)
>        at  
> org 
> .apache 
> .openejb 
> .client 
> .LocalInitialContextFactory.init(LocalInitialContextFactory.java:64)
>        at  
> org 
> .apache 
> .openejb 
> .client 
> .LocalInitialContextFactory.init(LocalInitialContextFactory.java:51)
>        at  
> org 
> .apache 
> .openejb 
> .client 
> .LocalInitialContextFactory 
> .getInitialContext(LocalInitialContextFactory.java:40)
>        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.superbiz.calculator.CalculatorTest.setUp(CalculatorTest.java:37)
>        at junit.framework.TestCase.runBare(TestCase.java:128)
>        at junit.framework.TestResult$1.protect(TestResult.java:110)
>        at junit.framework.TestResult.runProtected(TestResult.java:128)
>        at junit.framework.TestResult.run(TestResult.java:113)
>        at junit.framework.TestCase.run(TestCase.java:120)
>        at junit.framework.TestSuite.runTest(TestSuite.java:228)
>        at junit.framework.TestSuite.run(TestSuite.java:223)
>        at  
> org 
> .junit 
> .internal.runners.OldTestClassRunner.run(OldTestClassRunner.java:35)
>        at  
> org 
> .apache 
> .maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
>        at  
> org 
> .apache 
> .maven 
> .surefire 
> .suite 
> .AbstractDirectoryTestSuite 
> .executeTestSet(AbstractDirectoryTestSuite.java:140)
>        at  
> org 
> .apache 
> .maven 
> .surefire 
> .suite 
> .AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java: 
> 127)
>        at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
>        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 
> .booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:334)
>        at  
> org 
> .apache 
> .maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:980)
> 2008-01-05 17:03:05 sun.reflect.NativeMethodAccessorImpl invoke0
> WARNING: failed Server@1302fc5
> java.net.BindException: Address already in use: bind
>        at sun.nio.ch.Net.bind(Native Method)
>        at  
> sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java: 
> 119)
>        at  
> sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:59)
>        at  
> org 
> .mortbay 
> .jetty.nio.SelectChannelConnector.open(SelectChannelConnector.java: 
> 211)
>        at  
> org 
> .mortbay 
> .jetty 
> .nio.SelectChannelConnector.doStart(SelectChannelConnector.java:309)
>        at  
> org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java: 
> 40)
>        at org.mortbay.jetty.Server.doStart(Server.java:228)
>        at  
> org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java: 
> 40)
>        at  
> org 
> .apache 
> .openejb.server.httpd.JettyHttpServer.start(JettyHttpServer.java:115)
>        at  
> org 
> .apache.openejb.server.httpd.HttpEjbServer.start(HttpEjbServer.java: 
> 88)
>        at  
> org.apache.openejb.server.ServiceLogger.start(ServiceLogger.java:51)
>        at  
> org 
> .apache 
> .openejb 
> .server.ServiceAccessController.start(ServiceAccessController.java:45)
>        at  
> org.apache.openejb.server.ServiceDaemon.start(ServiceDaemon.java:84)
>        at  
> org.apache.openejb.server.ServiceManager.start(ServiceManager.java: 
> 261)
>        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 
> .openejb 
> .client 
> .LocalInitialContextFactory 
> .bootServerServices(LocalInitialContextFactory.java:85)
>        at  
> org 
> .apache 
> .openejb 
> .client 
> .LocalInitialContextFactory.init(LocalInitialContextFactory.java:64)
>        at  
> org 
> .apache 
> .openejb 
> .client 
> .LocalInitialContextFactory.init(LocalInitialContextFactory.java:51)
>        at  
> org 
> .apache 
> .openejb 
> .client 
> .LocalInitialContextFactory 
> .getInitialContext(LocalInitialContextFactory.java:40)
>        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.superbiz.calculator.CalculatorTest.setUp(CalculatorTest.java:37)
>        at junit.framework.TestCase.runBare(TestCase.java:128)
>        at junit.framework.TestResult$1.protect(TestResult.java:110)
>        at junit.framework.TestResult.runProtected(TestResult.java:128)
>        at junit.framework.TestResult.run(TestResult.java:113)
>        at junit.framework.TestCase.run(TestCase.java:120)
>        at junit.framework.TestSuite.runTest(TestSuite.java:228)
>        at junit.framework.TestSuite.run(TestSuite.java:223)
>        at  
> org 
> .junit 
> .internal.runners.OldTestClassRunner.run(OldTestClassRunner.java:35)
>        at  
> org 
> .apache 
> .maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
>        at  
> org 
> .apache 
> .maven 
> .surefire 
> .suite 
> .AbstractDirectoryTestSuite 
> .executeTestSet(AbstractDirectoryTestSuite.java:140)
>        at  
> org 
> .apache 
> .maven 
> .surefire 
> .suite 
> .AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java: 
> 127)
>        at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
>        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 
> .booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:334)
>        at  
> org 
> .apache 
> .maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:980)
> FATAL - Service Start Failed: httpejbd 127.0.0.1 4204:
> java.net.BindException: Address already in use: bind: Address already
> in use: bind
>  httpejbd             ----            FAILED
>  ejbd                 127.0.0.1       4201
> 2008-01-05 17:03:05
> org.apache.cxf.service.factory.ReflectionServiceFactoryBean
> buildServiceFromClass
> INFO: Creating Service {http://superbiz.org/wsdl}CalculatorWsService
> from class org.superbiz.calculator.CalculatorWs
>  cxf                  n/a             -1
>  admin thread         127.0.0.1       4200
> -------
> Ready!
> ERROR - [failure] 4405 - localhost: null
> java.lang.UnsupportedOperationException
>        at  
> org 
> .apache 
> .openejb.server.httpd.JettyHttpServer.service(JettyHttpServer.java:60)
>        at  
> org 
> .apache 
> .openejb.server.httpd.HttpEjbServer.service(HttpEjbServer.java:80)
>        at  
> org.apache.openejb.server.ServiceLogger.service(ServiceLogger.java:73)
>        at  
> org 
> .apache 
> .openejb 
> .server.ServiceAccessController.service(ServiceAccessController.java: 
> 55)
>        at org.apache.openejb.server.ServiceDaemon 
> $1.run(ServiceDaemon.java:118)
>        at java.lang.Thread.run(Thread.java:595)
> ERROR - [failure] 4406 - localhost: null
> java.lang.UnsupportedOperationException
>        at  
> org 
> .apache 
> .openejb.server.httpd.JettyHttpServer.service(JettyHttpServer.java:60)
>        at  
> org 
> .apache 
> .openejb.server.httpd.HttpEjbServer.service(HttpEjbServer.java:80)
>        at  
> org.apache.openejb.server.ServiceLogger.service(ServiceLogger.java:73)
>        at  
> org 
> .apache 
> .openejb 
> .server.ServiceAccessController.service(ServiceAccessController.java: 
> 55)
>        at org.apache.openejb.server.ServiceDaemon 
> $1.run(ServiceDaemon.java:118)
>        at java.lang.Thread.run(Thread.java:595)
> ERROR - [failure] 4407 - localhost: null
> java.lang.UnsupportedOperationException
>        at  
> org 
> .apache 
> .openejb.server.httpd.JettyHttpServer.service(JettyHttpServer.java:60)
>        at  
> org 
> .apache 
> .openejb.server.httpd.HttpEjbServer.service(HttpEjbServer.java:80)
>        at  
> org.apache.openejb.server.ServiceLogger.service(ServiceLogger.java:73)
>        at  
> org 
> .apache 
> .openejb 
> .server.ServiceAccessController.service(ServiceAccessController.java: 
> 55)
>        at org.apache.openejb.server.ServiceDaemon 
> $1.run(ServiceDaemon.java:118)
>        at java.lang.Thread.run(Thread.java:595)
> ERROR - [failure] 4408 - localhost: null
> java.lang.UnsupportedOperationException
>        at  
> org 
> .apache 
> .openejb.server.httpd.JettyHttpServer.service(JettyHttpServer.java:60)
>        at  
> org 
> .apache 
> .openejb.server.httpd.HttpEjbServer.service(HttpEjbServer.java:80)
>        at  
> org.apache.openejb.server.ServiceLogger.service(ServiceLogger.java:73)
>        at  
> org 
> .apache 
> .openejb 
> .server.ServiceAccessController.service(ServiceAccessController.java: 
> 55)
>        at org.apache.openejb.server.ServiceDaemon 
> $1.run(ServiceDaemon.java:118)
>        at java.lang.Thread.run(Thread.java:595)
> ERROR - [failure] 4409 - localhost: null
> java.lang.UnsupportedOperationException
>        at  
> org 
> .apache 
> .openejb.server.httpd.JettyHttpServer.service(JettyHttpServer.java:60)
>        at  
> org 
> .apache 
> .openejb.server.httpd.HttpEjbServer.service(HttpEjbServer.java:80)
>        at  
> org.apache.openejb.server.ServiceLogger.service(ServiceLogger.java:73)
>        at  
> org 
> .apache 
> .openejb 
> .server.ServiceAccessController.service(ServiceAccessController.java: 
> 55)
>        at org.apache.openejb.server.ServiceDaemon 
> $1.run(ServiceDaemon.java:118)
>        at java.lang.Thread.run(Thread.java:595)
> ERROR - [failure] 4410 - localhost: null
> java.lang.UnsupportedOperationException
>        at  
> org 
> .apache 
> .openejb.server.httpd.JettyHttpServer.service(JettyHttpServer.java:60)
>        at  
> org 
> .apache 
> .openejb.server.httpd.HttpEjbServer.service(HttpEjbServer.java:80)
>        at  
> org.apache.openejb.server.ServiceLogger.service(ServiceLogger.java:73)
>        at  
> org 
> .apache 
> .openejb 
> .server.ServiceAccessController.service(ServiceAccessController.java: 
> 55)
>        at org.apache.openejb.server.ServiceDaemon 
> $1.run(ServiceDaemon.java:118)
>        at java.lang.Thread.run(Thread.java:595)
> ERROR - [failure] 4411 - localhost: null
> java.lang.UnsupportedOperationException
>        at  
> org 
> .apache 
> .openejb.server.httpd.JettyHttpServer.service(JettyHttpServer.java:60)
>        at  
> org 
> .apache 
> .openejb.server.httpd.HttpEjbServer.service(HttpEjbServer.java:80)
>        at  
> org.apache.openejb.server.ServiceLogger.service(ServiceLogger.java:73)
>        at  
> org 
> .apache 
> .openejb 
> .server.ServiceAccessController.service(ServiceAccessController.java: 
> 55)
>        at org.apache.openejb.server.ServiceDaemon 
> $1.run(ServiceDaemon.java:118)
>        at java.lang.Thread.run(Thread.java:595)
> ERROR - [failure] 4412 - localhost: null
> java.lang.UnsupportedOperationException
>        at  
> org 
> .apache 
> .openejb.server.httpd.JettyHttpServer.service(JettyHttpServer.java:60)
>        at  
> org 
> .apache 
> .openejb.server.httpd.HttpEjbServer.service(HttpEjbServer.java:80)
>        at  
> org.apache.openejb.server.ServiceLogger.service(ServiceLogger.java:73)
>        at  
> org 
> .apache 
> .openejb 
> .server.ServiceAccessController.service(ServiceAccessController.java: 
> 55)
>        at org.apache.openejb.server.ServiceDaemon 
> $1.run(ServiceDaemon.java:118)
>        at java.lang.Thread.run(Thread.java:595)
> ERROR - [failure] 4413 - localhost: null
> java.lang.UnsupportedOperationException
>        at  
> org 
> .apache 
> .openejb.server.httpd.JettyHttpServer.service(JettyHttpServer.java:60)
>        at  
> org 
> .apache 
> .openejb.server.httpd.HttpEjbServer.service(HttpEjbServer.java:80)
>        at  
> org.apache.openejb.server.ServiceLogger.service(ServiceLogger.java:73)
>        at  
> org 
> .apache 
> .openejb 
> .server.ServiceAccessController.service(ServiceAccessController.java: 
> 55)
>        at org.apache.openejb.server.ServiceDaemon 
> $1.run(ServiceDaemon.java:118)
>        at java.lang.Thread.run(Thread.java:595)
> ERROR - [failure] 4414 - localhost: null
> java.lang.UnsupportedOperationException
>        at  
> org 
> .apache 
> .openejb.server.httpd.JettyHttpServer.service(JettyHttpServer.java:60)
>        at  
> org 
> .apache 
> .openejb.server.httpd.HttpEjbServer.service(HttpEjbServer.java:80)
>        at  
> org.apache.openejb.server.ServiceLogger.service(ServiceLogger.java:73)
>        at  
> org 
> .apache 
> .openejb 
> .server.ServiceAccessController.service(ServiceAccessController.java: 
> 55)
>        at org.apache.openejb.server.ServiceDaemon 
> $1.run(ServiceDaemon.java:118)
>        at java.lang.Thread.run(Thread.java:595)
> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 4.875
> sec <<< FAILURE!
>
> Results :
>
> Tests in error:
>  testCalculatorViaWsInterface(org.superbiz.calculator.CalculatorTest)
>
> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0
>
> [INFO]  
> ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO]  
> ------------------------------------------------------------------------
> [INFO] There are test failures.
>
> Jacek
>
> -- 
> Jacek Laskowski
> http://www.JacekLaskowski.pl
>


Re: Build problem??

Posted by Jacek Laskowski <ja...@laskowski.net.pl>.
On Jan 5, 2008 11:40 AM, David Blevins <da...@visi.com> wrote:

> All fixed.

Almost ;-) Thanks for the recent fixes as they're a great lecture for
Saturday's night (CET). I think it *could* pertain to Dain's changes
wrt Jetty as a web container.

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.superbiz.calculator.CalculatorTest
Apache OpenEJB 3.0.0-SNAPSHOT    build: 20080105-04:53
http://openejb.apache.org/
INFO - openejb.home = C:\oss\openejb3\examples\simple-webservice
INFO - openejb.base = C:\oss\openejb3\examples\simple-webservice
WARN - Cannot find the configuration file [conf/openejb.xml].  Will
attempt to create one for the beans deployed.
INFO - Configuring Service(id=Default Security Service,
type=SecurityService, provider-id=Default Security Service)
INFO - Configuring Service(id=Default Transaction Manager,
type=TransactionManager, provider-id=Default Transaction Manager)
INFO - Configuring Service(id=Default JDK 1.3 ProxyFactory,
type=ProxyFactory, provider-id=Default JDK 1.3 ProxyFactory)
INFO - Found EjbModule in classpath:
C:\oss\openejb3\examples\simple-webservice\target\classes
INFO - Configuring app:
C:\oss\openejb3\examples\simple-webservice\target\classes
ERROR - Unable to read wsdl file null
INFO - Configuring Service(id=Default Stateless Container,
type=Container, provider-id=Default Stateless Container)
INFO - Auto-creating a container for bean CalculatorImpl:
Container(type=STATELESS, id=Default Stateless Container)
INFO - Loaded Module: C:\oss\openejb3\examples\simple-webservice\target\classes
INFO - Creating ProxyFactory(id=Default JDK 1.3 ProxyFactory)
INFO - Creating TransactionManager(id=Default Transaction Manager)
INFO - Creating SecurityService(id=Default Security Service)
INFO - Creating Container(id=Default Stateless Container)
INFO - Assembling app: C:\oss\openejb3\examples\simple-webservice\target\classes
INFO - Created Ejb(deployment-id=CalculatorImpl,
ejb-name=CalculatorImpl, container=Default Stateless Container)
INFO - Deployed
Application(path=C:\oss\openejb3\examples\simple-webservice\target\classes)
INFO - OpenEJB ready.
OpenEJB ready.
2008-01-05 17:03:03 sun.reflect.NativeMethodAccessorImpl invoke0
INFO: Logging to org.slf4j.impl.JDK14LoggerAdapter(org.mortbay.log)
via org.mortbay.log.Slf4jLog
  ** Starting Services **
  NAME                 IP              PORT
2008-01-05 17:03:05 sun.reflect.NativeMethodAccessorImpl invoke0
INFO: jetty-6.1.5
2008-01-05 17:03:05 sun.reflect.NativeMethodAccessorImpl invoke0
WARNING: failed SelectChannelConnector@0.0.0.0:4204
java.net.BindException: Address already in use: bind
        at sun.nio.ch.Net.bind(Native Method)
        at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:119)
        at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:59)
        at org.mortbay.jetty.nio.SelectChannelConnector.open(SelectChannelConnector.java:211)
        at org.mortbay.jetty.nio.SelectChannelConnector.doStart(SelectChannelConnector.java:309)
        at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
        at org.mortbay.jetty.Server.doStart(Server.java:228)
        at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
        at org.apache.openejb.server.httpd.JettyHttpServer.start(JettyHttpServer.java:115)
        at org.apache.openejb.server.httpd.HttpEjbServer.start(HttpEjbServer.java:88)
        at org.apache.openejb.server.ServiceLogger.start(ServiceLogger.java:51)
        at org.apache.openejb.server.ServiceAccessController.start(ServiceAccessController.java:45)
        at org.apache.openejb.server.ServiceDaemon.start(ServiceDaemon.java:84)
        at org.apache.openejb.server.ServiceManager.start(ServiceManager.java:261)
        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.openejb.client.LocalInitialContextFactory.bootServerServices(LocalInitialContextFactory.java:85)
        at org.apache.openejb.client.LocalInitialContextFactory.init(LocalInitialContextFactory.java:64)
        at org.apache.openejb.client.LocalInitialContextFactory.init(LocalInitialContextFactory.java:51)
        at org.apache.openejb.client.LocalInitialContextFactory.getInitialContext(LocalInitialContextFactory.java:40)
        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.superbiz.calculator.CalculatorTest.setUp(CalculatorTest.java:37)
        at junit.framework.TestCase.runBare(TestCase.java:128)
        at junit.framework.TestResult$1.protect(TestResult.java:110)
        at junit.framework.TestResult.runProtected(TestResult.java:128)
        at junit.framework.TestResult.run(TestResult.java:113)
        at junit.framework.TestCase.run(TestCase.java:120)
        at junit.framework.TestSuite.runTest(TestSuite.java:228)
        at junit.framework.TestSuite.run(TestSuite.java:223)
        at org.junit.internal.runners.OldTestClassRunner.run(OldTestClassRunner.java:35)
        at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
        at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
        at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
        at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
        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.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:334)
        at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:980)
2008-01-05 17:03:05 sun.reflect.NativeMethodAccessorImpl invoke0
WARNING: failed Server@1302fc5
java.net.BindException: Address already in use: bind
        at sun.nio.ch.Net.bind(Native Method)
        at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:119)
        at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:59)
        at org.mortbay.jetty.nio.SelectChannelConnector.open(SelectChannelConnector.java:211)
        at org.mortbay.jetty.nio.SelectChannelConnector.doStart(SelectChannelConnector.java:309)
        at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
        at org.mortbay.jetty.Server.doStart(Server.java:228)
        at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
        at org.apache.openejb.server.httpd.JettyHttpServer.start(JettyHttpServer.java:115)
        at org.apache.openejb.server.httpd.HttpEjbServer.start(HttpEjbServer.java:88)
        at org.apache.openejb.server.ServiceLogger.start(ServiceLogger.java:51)
        at org.apache.openejb.server.ServiceAccessController.start(ServiceAccessController.java:45)
        at org.apache.openejb.server.ServiceDaemon.start(ServiceDaemon.java:84)
        at org.apache.openejb.server.ServiceManager.start(ServiceManager.java:261)
        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.openejb.client.LocalInitialContextFactory.bootServerServices(LocalInitialContextFactory.java:85)
        at org.apache.openejb.client.LocalInitialContextFactory.init(LocalInitialContextFactory.java:64)
        at org.apache.openejb.client.LocalInitialContextFactory.init(LocalInitialContextFactory.java:51)
        at org.apache.openejb.client.LocalInitialContextFactory.getInitialContext(LocalInitialContextFactory.java:40)
        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.superbiz.calculator.CalculatorTest.setUp(CalculatorTest.java:37)
        at junit.framework.TestCase.runBare(TestCase.java:128)
        at junit.framework.TestResult$1.protect(TestResult.java:110)
        at junit.framework.TestResult.runProtected(TestResult.java:128)
        at junit.framework.TestResult.run(TestResult.java:113)
        at junit.framework.TestCase.run(TestCase.java:120)
        at junit.framework.TestSuite.runTest(TestSuite.java:228)
        at junit.framework.TestSuite.run(TestSuite.java:223)
        at org.junit.internal.runners.OldTestClassRunner.run(OldTestClassRunner.java:35)
        at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
        at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
        at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
        at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
        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.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:334)
        at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:980)
FATAL - Service Start Failed: httpejbd 127.0.0.1 4204:
java.net.BindException: Address already in use: bind: Address already
in use: bind
  httpejbd             ----            FAILED
  ejbd                 127.0.0.1       4201
2008-01-05 17:03:05
org.apache.cxf.service.factory.ReflectionServiceFactoryBean
buildServiceFromClass
INFO: Creating Service {http://superbiz.org/wsdl}CalculatorWsService
from class org.superbiz.calculator.CalculatorWs
  cxf                  n/a             -1
  admin thread         127.0.0.1       4200
-------
Ready!
ERROR - [failure] 4405 - localhost: null
java.lang.UnsupportedOperationException
        at org.apache.openejb.server.httpd.JettyHttpServer.service(JettyHttpServer.java:60)
        at org.apache.openejb.server.httpd.HttpEjbServer.service(HttpEjbServer.java:80)
        at org.apache.openejb.server.ServiceLogger.service(ServiceLogger.java:73)
        at org.apache.openejb.server.ServiceAccessController.service(ServiceAccessController.java:55)
        at org.apache.openejb.server.ServiceDaemon$1.run(ServiceDaemon.java:118)
        at java.lang.Thread.run(Thread.java:595)
ERROR - [failure] 4406 - localhost: null
java.lang.UnsupportedOperationException
        at org.apache.openejb.server.httpd.JettyHttpServer.service(JettyHttpServer.java:60)
        at org.apache.openejb.server.httpd.HttpEjbServer.service(HttpEjbServer.java:80)
        at org.apache.openejb.server.ServiceLogger.service(ServiceLogger.java:73)
        at org.apache.openejb.server.ServiceAccessController.service(ServiceAccessController.java:55)
        at org.apache.openejb.server.ServiceDaemon$1.run(ServiceDaemon.java:118)
        at java.lang.Thread.run(Thread.java:595)
ERROR - [failure] 4407 - localhost: null
java.lang.UnsupportedOperationException
        at org.apache.openejb.server.httpd.JettyHttpServer.service(JettyHttpServer.java:60)
        at org.apache.openejb.server.httpd.HttpEjbServer.service(HttpEjbServer.java:80)
        at org.apache.openejb.server.ServiceLogger.service(ServiceLogger.java:73)
        at org.apache.openejb.server.ServiceAccessController.service(ServiceAccessController.java:55)
        at org.apache.openejb.server.ServiceDaemon$1.run(ServiceDaemon.java:118)
        at java.lang.Thread.run(Thread.java:595)
ERROR - [failure] 4408 - localhost: null
java.lang.UnsupportedOperationException
        at org.apache.openejb.server.httpd.JettyHttpServer.service(JettyHttpServer.java:60)
        at org.apache.openejb.server.httpd.HttpEjbServer.service(HttpEjbServer.java:80)
        at org.apache.openejb.server.ServiceLogger.service(ServiceLogger.java:73)
        at org.apache.openejb.server.ServiceAccessController.service(ServiceAccessController.java:55)
        at org.apache.openejb.server.ServiceDaemon$1.run(ServiceDaemon.java:118)
        at java.lang.Thread.run(Thread.java:595)
ERROR - [failure] 4409 - localhost: null
java.lang.UnsupportedOperationException
        at org.apache.openejb.server.httpd.JettyHttpServer.service(JettyHttpServer.java:60)
        at org.apache.openejb.server.httpd.HttpEjbServer.service(HttpEjbServer.java:80)
        at org.apache.openejb.server.ServiceLogger.service(ServiceLogger.java:73)
        at org.apache.openejb.server.ServiceAccessController.service(ServiceAccessController.java:55)
        at org.apache.openejb.server.ServiceDaemon$1.run(ServiceDaemon.java:118)
        at java.lang.Thread.run(Thread.java:595)
ERROR - [failure] 4410 - localhost: null
java.lang.UnsupportedOperationException
        at org.apache.openejb.server.httpd.JettyHttpServer.service(JettyHttpServer.java:60)
        at org.apache.openejb.server.httpd.HttpEjbServer.service(HttpEjbServer.java:80)
        at org.apache.openejb.server.ServiceLogger.service(ServiceLogger.java:73)
        at org.apache.openejb.server.ServiceAccessController.service(ServiceAccessController.java:55)
        at org.apache.openejb.server.ServiceDaemon$1.run(ServiceDaemon.java:118)
        at java.lang.Thread.run(Thread.java:595)
ERROR - [failure] 4411 - localhost: null
java.lang.UnsupportedOperationException
        at org.apache.openejb.server.httpd.JettyHttpServer.service(JettyHttpServer.java:60)
        at org.apache.openejb.server.httpd.HttpEjbServer.service(HttpEjbServer.java:80)
        at org.apache.openejb.server.ServiceLogger.service(ServiceLogger.java:73)
        at org.apache.openejb.server.ServiceAccessController.service(ServiceAccessController.java:55)
        at org.apache.openejb.server.ServiceDaemon$1.run(ServiceDaemon.java:118)
        at java.lang.Thread.run(Thread.java:595)
ERROR - [failure] 4412 - localhost: null
java.lang.UnsupportedOperationException
        at org.apache.openejb.server.httpd.JettyHttpServer.service(JettyHttpServer.java:60)
        at org.apache.openejb.server.httpd.HttpEjbServer.service(HttpEjbServer.java:80)
        at org.apache.openejb.server.ServiceLogger.service(ServiceLogger.java:73)
        at org.apache.openejb.server.ServiceAccessController.service(ServiceAccessController.java:55)
        at org.apache.openejb.server.ServiceDaemon$1.run(ServiceDaemon.java:118)
        at java.lang.Thread.run(Thread.java:595)
ERROR - [failure] 4413 - localhost: null
java.lang.UnsupportedOperationException
        at org.apache.openejb.server.httpd.JettyHttpServer.service(JettyHttpServer.java:60)
        at org.apache.openejb.server.httpd.HttpEjbServer.service(HttpEjbServer.java:80)
        at org.apache.openejb.server.ServiceLogger.service(ServiceLogger.java:73)
        at org.apache.openejb.server.ServiceAccessController.service(ServiceAccessController.java:55)
        at org.apache.openejb.server.ServiceDaemon$1.run(ServiceDaemon.java:118)
        at java.lang.Thread.run(Thread.java:595)
ERROR - [failure] 4414 - localhost: null
java.lang.UnsupportedOperationException
        at org.apache.openejb.server.httpd.JettyHttpServer.service(JettyHttpServer.java:60)
        at org.apache.openejb.server.httpd.HttpEjbServer.service(HttpEjbServer.java:80)
        at org.apache.openejb.server.ServiceLogger.service(ServiceLogger.java:73)
        at org.apache.openejb.server.ServiceAccessController.service(ServiceAccessController.java:55)
        at org.apache.openejb.server.ServiceDaemon$1.run(ServiceDaemon.java:118)
        at java.lang.Thread.run(Thread.java:595)
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 4.875
sec <<< FAILURE!

Results :

Tests in error:
  testCalculatorViaWsInterface(org.superbiz.calculator.CalculatorTest)

Tests run: 1, Failures: 0, Errors: 1, Skipped: 0

[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] There are test failures.

Jacek

-- 
Jacek Laskowski
http://www.JacekLaskowski.pl

Re: Build problem??

Posted by David Blevins <da...@visi.com>.
On Jan 3, 2008, at 10:00 AM, Dain Sundstrom wrote:

> On Jan 3, 2008, at 9:10 AM, Jacek Laskowski wrote:
>
>> On Jan 3, 2008 3:48 PM, Joe Bohn <jo...@earthlink.net> wrote:
>>> I was just trying to build trunk this morning with a fresh checkout
>>> (rev. 608496) and I'm seeing test failures.
>>>
>>> The failures look like this:
>>>
>>> ERROR - The bean instances business method encountered a system
>>> exception: Auto-commit can not be set while enrolled in a  
>>> transaction
>>> <openjpa-1.0.1-r420667:592145 fatal general error>
>>> org.apache.openjpa.persistence.PersistenceException: Auto-commit  
>>> can not
>>> be set while enrolled in a transaction
>>>         at
>>> org 
>>> .apache 
>>> .openjpa 
>>> .jdbc 
>>> .schema 
>>> .DataSourceFactory.installDBDictionary(DataSourceFactory.java:234)
>>
>> I'm running into it too. Haven't looked into it yet. Is anyone  
>> working on it?
>
> David and I ran into this yesterday.  We think the problem is the  
> automatic JPA datasource assignment rules.  The logic doesn't select  
> an unmanaged datasource for the JPA unmanaged field which results in  
> the auto-commit exception above.  David is working on a fix.

All fixed.

-David


Re: Build problem??

Posted by Dain Sundstrom <da...@iq80.com>.
On Jan 3, 2008, at 9:10 AM, Jacek Laskowski wrote:

> On Jan 3, 2008 3:48 PM, Joe Bohn <jo...@earthlink.net> wrote:
>> I was just trying to build trunk this morning with a fresh checkout
>> (rev. 608496) and I'm seeing test failures.
>>
>> The failures look like this:
>>
>> ERROR - The bean instances business method encountered a system
>> exception: Auto-commit can not be set while enrolled in a transaction
>> <openjpa-1.0.1-r420667:592145 fatal general error>
>> org.apache.openjpa.persistence.PersistenceException: Auto-commit  
>> can not
>> be set while enrolled in a transaction
>>          at
>> org.apache.openjpa.jdbc.schema.DataSourceFactory.installDBDictionary( 
>> DataSourceFactory.java:234)
>
> I'm running into it too. Haven't looked into it yet. Is anyone  
> working on it?

David and I ran into this yesterday.  We think the problem is the  
automatic JPA datasource assignment rules.  The logic doesn't select  
an unmanaged datasource for the JPA unmanaged field which results in  
the auto-commit exception above.  David is working on a fix.

-dain

Re: Build problem??

Posted by Jacek Laskowski <ja...@laskowski.net.pl>.
On Jan 3, 2008 3:48 PM, Joe Bohn <jo...@earthlink.net> wrote:
> I was just trying to build trunk this morning with a fresh checkout
> (rev. 608496) and I'm seeing test failures.
>
> The failures look like this:
>
> ERROR - The bean instances business method encountered a system
> exception: Auto-commit can not be set while enrolled in a transaction
> <openjpa-1.0.1-r420667:592145 fatal general error>
> org.apache.openjpa.persistence.PersistenceException: Auto-commit can not
> be set while enrolled in a transaction
>          at
> org.apache.openjpa.jdbc.schema.DataSourceFactory.installDBDictionary(DataSourceFactory.java:234)

I'm running into it too. Haven't looked into it yet. Is anyone working on it?

Jacek

-- 
Jacek Laskowski
http://www.JacekLaskowski.pl

Re: Build problem??

Posted by Joe Bohn <jo...@earthlink.net>.
I was just trying to build trunk this morning with a fresh checkout 
(rev. 608496) and I'm seeing test failures.

The failures look like this:

ERROR - The bean instances business method encountered a system 
exception: Auto-commit can not be set while enrolled in a transaction
<openjpa-1.0.1-r420667:592145 fatal general error> 
org.apache.openjpa.persistence.PersistenceException: Auto-commit can not 
be set while enrolled in a transaction
         at 
org.apache.openjpa.jdbc.schema.DataSourceFactory.installDBDictionary(DataSourceFactory.java:234)
         at 
org.apache.openjpa.jdbc.conf.JDBCConfigurationImpl.getConnectionFactory2(JDBCConfigurationImpl.java:770)
         at 
org.apache.openjpa.jdbc.kernel.AbstractJDBCSeq.suspendInJTA(AbstractJDBCSeq.java:216)
         at 
org.apache.openjpa.jdbc.kernel.AbstractJDBCSeq.getConnection(AbstractJDBCSeq.java:154)
         at 
org.apache.openjpa.jdbc.kernel.TableJDBCSeq.allocateSequence(TableJDBCSeq.java:366)
         at 
org.apache.openjpa.jdbc.kernel.TableJDBCSeq.nextInternal(TableJDBCSeq.java:266)
         at 
org.apache.openjpa.jdbc.kernel.AbstractJDBCSeq.next(AbstractJDBCSeq.java:60)
         at 
org.apache.openjpa.util.ImplHelper.generateValue(ImplHelper.java:160)
         at 
org.apache.openjpa.util.ImplHelper.generateFieldValue(ImplHelper.java:144)
         at 
org.apache.openjpa.jdbc.kernel.JDBCStoreManager.assignField(JDBCStoreManager.java:557)
         at 
org.apache.openjpa.util.ApplicationIds.assign(ApplicationIds.java:450)
         at 
org.apache.openjpa.util.ApplicationIds.assign(ApplicationIds.java:426)
         at 
org.apache.openjpa.jdbc.kernel.JDBCStoreManager.assignObjectId(JDBCStoreManager.java:541)
         at 
org.apache.openjpa.kernel.DelegatingStoreManager.assignObjectId(DelegatingStoreManager.java:134)
         at 
org.apache.openjpa.kernel.StateManagerImpl.assignObjectId(StateManagerImpl.java:501)
         at 
org.apache.openjpa.kernel.StateManagerImpl.preFlush(StateManagerImpl.java:2770)
         at 
org.apache.openjpa.kernel.PNewState.beforeFlush(PNewState.java:39)
         at 
org.apache.openjpa.kernel.StateManagerImpl.beforeFlush(StateManagerImpl.java:940)
         at org.apache.openjpa.kernel.BrokerImpl.flush(BrokerImpl.java:1892)
         at 
org.apache.openjpa.kernel.BrokerImpl.flushSafe(BrokerImpl.java:1852)
         at org.apache.openjpa.kernel.BrokerImpl.flush(BrokerImpl.java:1623)
         at 
org.apache.openjpa.kernel.DelegatingBroker.flush(DelegatingBroker.java:973)
         at 
org.apache.openjpa.persistence.EntityManagerImpl.flush(EntityManagerImpl.java:488)
         at 
org.apache.openejb.persistence.JtaEntityManager.flush(JtaEntityManager.java:130)
         at 
org.apache.openejb.core.cmp.jpa.JpaCmpEngine.createBean(JpaCmpEngine.java:139)
         at 
org.apache.openejb.core.cmp.CmpContainer.createEJBObject(CmpContainer.java:599)
         at 
org.apache.openejb.core.cmp.CmpContainer.invoke(CmpContainer.java:253)
         at 
org.apache.openejb.server.ejbd.EjbRequestHandler.doEjbHome_CREATE(EjbRequestHandler.java:242)
         at 
org.apache.openejb.server.ejbd.EjbRequestHandler.processRequest(EjbRequestHandler.java:126)
         at 
org.apache.openejb.server.ejbd.EjbDaemon.processEjbRequest(EjbDaemon.java:164)
         at 
org.apache.openejb.server.ejbd.EjbDaemon.service(EjbDaemon.java:122)
         at 
org.apache.openejb.server.ejbd.EjbDaemon.service(EjbDaemon.java:84)
         at 
org.apache.openejb.server.ejbd.EjbServer.service(EjbServer.java:60)
         at 
org.apache.openejb.server.ServiceDaemon$1.run(ServiceDaemon.java:118)
         at java.lang.Thread.run(Thread.java:595)
Caused by: java.sql.SQLException: Auto-commit can not be set while 
enrolled in a transaction
         at 
org.apache.commons.dbcp.managed.ManagedConnection.setAutoCommit(ManagedConnection.java:202)
         at 
org.apache.openjpa.lib.jdbc.DelegatingConnection.setAutoCommit(DelegatingConnection.java:196)
         at 
org.apache.openjpa.lib.jdbc.DelegatingConnection.setAutoCommit(DelegatingConnection.java:196)
         at 
org.apache.openjpa.lib.jdbc.ConfiguringConnectionDecorator$ConfiguringConnection.setAutoCommit(ConfiguringConnectionDecorator.java:117)
         at 
org.apache.openjpa.lib.jdbc.ConfiguringConnectionDecorator$ConfiguringConnection.<init>(ConfiguringConnectionDecorator.java:111)
         at 
org.apache.openjpa.lib.jdbc.ConfiguringConnectionDecorator.decorate(ConfiguringConnectionDecorator.java:93)
         at 
org.apache.openjpa.lib.jdbc.DecoratingDataSource.decorate(DecoratingDataSource.java:100)
         at 
org.apache.openjpa.lib.jdbc.DecoratingDataSource.getConnection(DecoratingDataSource.java:94)
         at 
org.apache.openjpa.jdbc.schema.DataSourceFactory.installDBDictionary(DataSourceFactory.java:229)
         ... 34 more
WARN - Unexpected exception from beforeCompletion; transaction will roll 
back
<openjpa-1.0.1-r420667:592145 nonfatal general error> 
org.apache.openjpa.persistence.PersistenceException: Unable to register 
transaction context listener



Dain Sundstrom wrote:
> I'm getting it also.  I'll see if I can fix it.
> 
> -dain
> 
> On Jan 2, 2008, at 11:06 AM, David Jencks wrote:
> 
>> I can't build trunk... I get 12 errors that look like this:
>>
>> Entity.CMR.ManyToManyComplex..setUp()(org.apache.openejb.test.NumberedTestCase$TestSetup)  
>> Time elapsed: 0.024 sec  <<< ERROR!
>> javax.naming.NameNotFoundException: Name 
>> "java:openejb/Resource/Default JDBC Database" not found.
>>         at 
>> org.apache.openejb.core.ivm.naming.IvmContext.federate(IvmContext.java:172) 
>>
>>         at 
>> org.apache.openejb.core.ivm.naming.IvmContext.lookup(IvmContext.java:129)
>>         at javax.naming.InitialContext.lookup(InitialContext.java:351)
>>         at 
>> org.apache.openejb.test.entity.cmr.AbstractCMRTest.setUp(AbstractCMRTest.java:78) 
>>
>>         at 
>> org.apache.openejb.test.entity.cmr.ManyToManyComplexPkTests.setUp(ManyToManyComplexPkTests.java:51) 
>>
>>         at 
>> org.apache.openejb.test.NumberedTestCase.run(NumberedTestCase.java:93)
>>
>> I see there were some recent changes around a resource/connector tag, 
>> I wonder if those are completely working?
>>
>> I ran into this last night at which time Matt could build OK but I 
>> don't see anything special about my build environment... no visible 
>> changes from svn.  I also updated and rebuild xbean locally.
>>
>> thanks
>> david jencks
>>
> 
> 

Re: Build problem??

Posted by Dain Sundstrom <da...@iq80.com>.
I'm getting it also.  I'll see if I can fix it.

-dain

On Jan 2, 2008, at 11:06 AM, David Jencks wrote:

> I can't build trunk... I get 12 errors that look like this:
>
> Entity.CMR.ManyToManyComplex..setUp() 
> (org.apache.openejb.test.NumberedTestCase$TestSetup)  Time elapsed:  
> 0.024 sec  <<< ERROR!
> javax.naming.NameNotFoundException: Name "java:openejb/Resource/ 
> Default JDBC Database" not found.
>         at org.apache.openejb.core.ivm.naming.IvmContext.federate 
> (IvmContext.java:172)
>         at org.apache.openejb.core.ivm.naming.IvmContext.lookup 
> (IvmContext.java:129)
>         at javax.naming.InitialContext.lookup(InitialContext.java:351)
>         at org.apache.openejb.test.entity.cmr.AbstractCMRTest.setUp 
> (AbstractCMRTest.java:78)
>         at  
> org.apache.openejb.test.entity.cmr.ManyToManyComplexPkTests.setUp 
> (ManyToManyComplexPkTests.java:51)
>         at org.apache.openejb.test.NumberedTestCase.run 
> (NumberedTestCase.java:93)
>
> I see there were some recent changes around a resource/connector  
> tag, I wonder if those are completely working?
>
> I ran into this last night at which time Matt could build OK but I  
> don't see anything special about my build environment... no visible  
> changes from svn.  I also updated and rebuild xbean locally.
>
> thanks
> david jencks
>