geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jacek Laskowski <jlaskow...@apache.org>
Subject Build error - Caused by: java.io.NotSerializableException: org.hsqldb.jdbcDriver
Date Wed, 17 Nov 2004 12:56:03 GMT
Hi,

Is it only me who experiences the build error? (It's built on JDK 1.5 + 
WinXP + Cygwin)

Jacek

$ more 
modules/security/target/test-reports/TEST-org.apache.geronimo.security.jaas.LoginSQLTest.txt
Testsuite: org.apache.geronimo.security.jaas.LoginSQLTest
Tests run: 2, Failures: 0, Errors: 1, Time elapsed: 9,213 sec

------------- Standard Output ---------------
Created MBeanServer with ID: 7c4c51:100468a0d1a:-8000:JLASKOWSKI:1
Created MBeanServer with ID: 7c4c51:100468a0d1a:-7fff:JLASKOWSKI:2
------------- ---------------- ---------------
------------- Standard Error -----------------
Refresh Driver: org.hsqldb.jdbcDriver
Refresh Driver: org.hsqldb.jdbcDriver
Refresh Driver: org.hsqldb.jdbcDriver
Refresh Driver: org.hsqldb.jdbcDriver
Refresh Driver: org.hsqldb.jdbcDriver
------------- ---------------- ---------------
Testcase: testLogin(org.apache.geronimo.security.jaas.LoginSQLTest): 
Caused an ERROR
java.lang.reflect.UndeclaredThrowableException
         at $Proxy0.getLoginConfiguration(Unknown Source)
         at 
org.apache.geronimo.security.jaas.JaasLoginCoordinator.login(JaasLoginCoordinator.java:77)
         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:324)
         at 
javax.security.auth.login.LoginContext.invoke(LoginContext.java:675)
         at 
javax.security.auth.login.LoginContext.access$000(LoginContext.java:129)
         at 
javax.security.auth.login.LoginContext$4.run(LoginContext.java:610)
         at java.security.AccessController.doPrivileged(Native Method)
         at 
javax.security.auth.login.LoginContext.invokeModule(LoginContext.java:607)
         at 
javax.security.auth.login.LoginContext.login(LoginContext.java:534)
         at 
org.apache.geronimo.security.jaas.LoginSQLTest.testLogin(LoginSQLTest.java:118)
         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:324)
         at junit.framework.TestCase.runTest(TestCase.java:154)
         at junit.framework.TestCase.runBare(TestCase.java:127)
         at junit.framework.TestResult$1.protect(TestResult.java:106)
         at junit.framework.TestResult.runProtected(TestResult.java:124)
         at junit.framework.TestResult.run(TestResult.java:109)
         at junit.framework.TestCase.run(TestCase.java:118)
         at junit.framework.TestSuite.runTest(TestSuite.java:208)
         at junit.framework.TestSuite.run(TestSuite.java:203)
         at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:325)
         at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:536)
Caused by: java.io.NotSerializableException: org.hsqldb.jdbcDriver
         at 
java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1054)
         at 
java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:278)
         at java.util.HashMap.writeObject(HashMap.java:978)
         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:324)
         at 
java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:809)
         at 
java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1296)
         at 
java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1247)
         at 
java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1052)
         at 
java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1332)
         at 
java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1304)
         at 
java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1247)
         at 
java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1052)
         at 
java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1332)
         at 
java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1304)
         at 
java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1247)
         at 
java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1052)
         at 
java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1224)
         at 
java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1050)
         at 
java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1332)
         at 
java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1304)
         at 
java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1247)
         at 
java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1052)
         at 
java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:278)
         at 
org.apache.geronimo.remoting.transport.BytesMarshalledObject.set(BytesMarshalledObject.java:136)
         at 
org.apache.geronimo.remoting.DeMarshalingInterceptor.invoke(DeMarshalingInterceptor.java:83)
         at 
org.apache.geronimo.remoting.router.AbstractInterceptorRouter.sendRequest(AbstractInterceptorRouter.java:70)
         at 
org.apache.geronimo.remoting.router.AbstractRouterRouter.sendRequest(AbstractRouterRouter.java:61)
         at 
org.apache.geronimo.remoting.router.AbstractRouterRouter$$FastClassByCGLIB$$3699c08e.invoke(<generated>)
         at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:87)
         at 
org.apache.geronimo.gbean.jmx.FastMethodInvoker.invoke(FastMethodInvoker.java:38)
         at 
org.apache.geronimo.gbean.jmx.GBeanMBeanOperation.invoke(GBeanMBeanOperation.java:151)
         at 
org.apache.geronimo.gbean.jmx.GBeanMBean.invoke(GBeanMBean.java:889)
         at 
org.apache.geronimo.gbean.jmx.RawInvoker.invoke(RawInvoker.java:89)
         at 
org.apache.geronimo.gbean.jmx.RawOperationInvoker.invoke(RawOperationInvoker.java:34)
         at 
org.apache.geronimo.gbean.jmx.CGLibMethodInterceptor.intercept(CGLibMethodInterceptor.java:112)
         at 
org.apache.geronimo.remoting.router.Router$$EnhancerByCGLIB$$e6bbb581.sendRequest(<generated>)
         at 
org.apache.geronimo.remoting.transport.async.ChannelPool$2.run(ChannelPool.java:370)
         at 
EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(Unknown Source)
         at java.lang.Thread.run(Thread.java:534)

javax.security.auth.login.LoginException: 
java.lang.reflect.UndeclaredThrowableException
         at $Proxy0.getLoginConfiguration(Unknown Source)
         at 
org.apache.geronimo.security.jaas.JaasLoginCoordinator.login(JaasLoginCoordinator.java:77)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at 
javax.security.auth.login.LoginContext.invoke(LoginContext.java:675)
         at 
javax.security.auth.login.LoginContext.access$000(LoginContext.java:129)
         at 
javax.security.auth.login.LoginContext$4.run(LoginContext.java:610)
         at java.security.AccessController.doPrivileged(Native Method)
         at 
javax.security.auth.login.LoginContext.invokeModule(LoginContext.java:607)
         at 
javax.security.auth.login.LoginContext.login(LoginContext.java:534)
         at 
org.apache.geronimo.security.jaas.LoginSQLTest.testLogin(LoginSQLTest.java:118)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
Caused by: java.io.NotSerializableException: org.hsqldb.jdbcDriver
         at 
java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1054)
         at 
java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:278)
         at java.util.HashMap.writeObject(HashMap.java:978)
         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.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:809)
         at 
java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1296)
         at 
java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1247)
         at 
java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1052)
         at 
java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1332)
         at 
java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1304)
         at 
java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1247)
         at 
java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1052)
         at 
java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1332)
         at 
java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1304)
         at 
java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1247)
         at 
java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1052)
         at 
java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1224)
         at 
java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1050)
         at 
java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1332)
         at 
java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1304)
         at 
java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1247)
         at 
java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1052)
         at 
java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:278)
         at 
org.apache.geronimo.remoting.transport.BytesMarshalledObject.set(BytesMarshalledObject.java:136)
         at 
org.apache.geronimo.remoting.DeMarshalingInterceptor.invoke(DeMarshalingInterceptor.java:83)
         at 
org.apache.geronimo.remoting.router.AbstractInterceptorRouter.sendRequest(AbstractInterceptorRouter.java:70)
         at 
org.apache.geronimo.remoting.router.AbstractRouterRouter.sendRequest(AbstractRouterRouter.java:61)
         at 
org.apache.geronimo.remoting.router.AbstractRouterRouter$$FastClassByCGLIB$$3699c08e.invoke(<generated>)
         at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:87)
         at 
org.apache.geronimo.gbean.jmx.FastMethodInvoker.invoke(FastMethodInvoker.java:38)
         at 
org.apache.geronimo.gbean.jmx.GBeanMBeanOperation.invoke(GBeanMBeanOperation.java:151)
         at 
org.apache.geronimo.gbean.jmx.GBeanMBean.invoke(GBeanMBean.java:889)
         at 
org.apache.geronimo.gbean.jmx.RawInvoker.invoke(RawInvoker.java:89)
         at 
org.apache.geronimo.gbean.jmx.RawOperationInvoker.invoke(RawOperationInvoker.java:34)
         at 
org.apache.geronimo.gbean.jmx.CGLibMethodInterceptor.intercept(CGLibMethodInterceptor.java:112)
         at 
org.apache.geronimo.remoting.router.Router$$EnhancerByCGLIB$$e6bbb581.sendRequest(<generated>)
         at 
org.apache.geronimo.remoting.transport.async.ChannelPool$2.run(ChannelPool.java:370)
         at 
EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(Unknown Source)
         at java.lang.Thread.run(Thread.java:534)

         at 
javax.security.auth.login.LoginContext.invoke(LoginContext.java:730)
         at 
javax.security.auth.login.LoginContext.access$000(LoginContext.java:129)
         at 
javax.security.auth.login.LoginContext$4.run(LoginContext.java:610)
         at java.security.AccessController.doPrivileged(Native Method)
         at 
javax.security.auth.login.LoginContext.invokeModule(LoginContext.java:607)
         at 
javax.security.auth.login.LoginContext.login(LoginContext.java:534)
         at 
org.apache.geronimo.security.jaas.LoginSQLTest.testLogin(LoginSQLTest.java:118)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)


Mime
View raw message