[jboss-user] [JNDI/Naming/Network] - Re: java.naming.provider.url parsing problem?

csturtz do-not-reply at jboss.com
Tue Aug 29 17:51:05 EDT 2006


 I've run into another exception that doesn't provide much information.  Line 881 of the following code is causing the error.  Atleast i'm now getting past the lookup method!


  | 879  InitialContext initialContext = new InitialContext();
  | 880  javax.sql.DataSource ds = (javax.sql.DataSource) initialContext.lookup("OracleDS");
  | 881  Connection connection = ds.getConnection();

anonymous wrote : org.apache.maven.surefire.booter.SurefireExecutionException: com.gestalt.gccsa.fp.adhoc.db.objectmanager.ws.SqlQueryManagerTest; nested excepti
  | org.apache.maven.surefire.testset.TestSetFailedException: com.gestalt.gccsa.fp.adhoc.db.objectmanager.ws.SqlQueryManagerTest; nested exception
  | java.lang.ExceptionInInitializerError
  |         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
  |         at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
  |         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
  |         at java.lang.reflect.Constructor.newInstance(Unknown Source)
  |         at junit.framework.TestSuite.createTest(TestSuite.java:56)
  |         at junit.framework.TestSuite.addTestMethod(TestSuite.java:279)
  |         at junit.framework.TestSuite.(TestSuite.java:142)
  |         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
  |         at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
  |         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
  |         at java.lang.reflect.Constructor.newInstance(Unknown Source)
  |         at org.apache.maven.surefire.junit.JUnitTestSet.constructTestObject(JUnitTestSet.java:148)
  |         at org.apache.maven.surefire.junit.JUnitTestSet.getTestCount(JUnitTestSet.java:244)
  |         at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.locateTestSets(AbstractDirectoryTestSuite.java:101)
  |         at org.apache.maven.surefire.Surefire.createSuiteFromDefinition(Surefire.java:147)
  |         at org.apache.maven.surefire.Surefire.run(Surefire.java:108)
  |         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  |         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
  |         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  |         at java.lang.reflect.Method.invoke(Unknown Source)
  |         at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:225)
  |         at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:747)
  | Caused by: java.lang.reflect.UndeclaredThrowableException
  |         at $Proxy1.getConnection(Unknown Source)
  |         at com.gestalt.gccsa.fp.adhoc.db.objectmanager.ws.FunctGroupObjectManager.getConnection(FunctGroupObjectManager.java:881)
  |         at com.gestalt.gccsa.fp.adhoc.db.objectmanager.ws.FunctGroupObjectManager.saveFunctGroupVersionObject(FunctGroupObjectManager.java:308)
  |         at com.gestalt.gccsa.fp.adhoc.db.objectmanager.ws.SqlQueryManagerTest.(SqlQueryManagerTest.java:34)
  |         ... 22 more
  | Caused by: java.rmi.MarshalException: error marshalling arguments; nested exception is:
  |         java.net.SocketException: Software caused connection abort: socket write error
  |         at sun.rmi.server.UnicastRef.invoke(Unknown Source)
  |         at org.jboss.invocation.jrmp.server.JRMPInvoker_Stub.invoke(Unknown Source)
  |         at org.jboss.invocation.jrmp.interfaces.JRMPInvokerProxy.invoke(JRMPInvokerProxy.java:133)
  |         at org.jboss.invocation.InvokerInterceptor.invokeInvoker(InvokerInterceptor.java:331)
  |         at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:194)
  |         at org.jboss.proxy.ClientMethodInterceptor.invoke(ClientMethodInterceptor.java:74)
  |         at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:100)
  |         ... 26 more
  | Caused by: java.net.SocketException: Software caused connection abort: socket write error
  |         at java.net.SocketOutputStream.socketWrite0(Native Method)
  |         at java.net.SocketOutputStream.socketWrite(Unknown Source)
  |         at java.net.SocketOutputStream.write(Unknown Source)
  |         at java.io.BufferedOutputStream.flushBuffer(Unknown Source)
  |         at java.io.BufferedOutputStream.write(Unknown Source)
  |         at java.io.ObjectOutputStream$BlockDataOutputStream.drain(Unknown Source)
  |         at java.io.ObjectOutputStream$BlockDataOutputStream.writeByte(Unknown Source)
  |         at java.io.ObjectOutputStream.writeFatalException(Unknown Source)
  |         at java.io.ObjectOutputStream.writeObject(Unknown Source)
  |         at sun.rmi.server.UnicastRef.marshalValue(Unknown Source)

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3968238#3968238

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3968238



More information about the jboss-user mailing list