openejb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Blevins <david.blev...@visi.com>
Subject Re: error on running tests on windows
Date Thu, 10 Apr 2008 19:40:12 GMT
Is there anything in the openejb.log file relating to the failure?

-David

On Apr 10, 2008, at 12:20 PM, Manu George wrote:

> Hi,
>     I am getting an error while I run the tests on windows. The  
> stacktrace is
>
> javax.naming.NamingException: Cannot lookup '/client/tests/entity/ 
> bmp/EncBean'.
> [Root exception is java.rmi.RemoteException: Cannot read the  
> response from the
> erver (OEJP/3.0) : null; nested exception is:
>        java.io.EOFException]
>        at  
> org.apache.openejb.client.JNDIContext.lookup(JNDIContext.java:240)
>        at javax.naming.InitialContext.lookup(InitialContext.java:363)
>        at  
> org.apache.openejb.test.entity.bmp.BmpJndiEncTests.setUp(BmpJndiEncT
> sts.java:38)
>        at  
> org.apache.openejb.test.NumberedTestCase.run(NumberedTestCase.java:9
> )
>        at org.apache.openejb.test.TestSuite.run(TestSuite.java:49)
>        at org.apache.openejb.test.TestSuite.run(TestSuite.java:49)
>        at  
> org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner
> java:81)
>        at  
> org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet
> java:62)
>        at  
> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTe
> tSet(AbstractDirectoryTestSuite.java:140)
>        at  
> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(A
> stractDirectoryTestSuite.java:165)
>        at org.apache.maven.surefire.Surefire.run(Surefire.java:107)
>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>        at  
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl
> java:64)
>        at  
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcce
> sorImpl.java:43)
>        at java.lang.reflect.Method.invoke(Method.java:615)
>        at  
> org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(S
> refireBooter.java:285)
>        at  
> org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.
> ava:976)
> Caused by: java.rmi.RemoteException: Cannot read the response from  
> the server (
> EJP/3.0) : null; nested exception is:
>        java.io.EOFException
>        at  
> org.apache.openejb.client.Client.processRequest(Client.java:172)
>        at org.apache.openejb.client.Client.request(Client.java:42)
>        at  
> org.apache.openejb.client.JNDIContext.request(JNDIContext.java:87)
>        at  
> org.apache.openejb.client.JNDIContext.lookup(JNDIContext.java:234)
>        ... 16 more
> Caused by: java.io.EOFException
>        at java.io.ObjectInputStream 
> $BlockDataInputStream.readByte(ObjectInputS
> ream.java:2685)
>        at java.io.ObjectInputStream.readByte(ObjectInputStream.java: 
> 889)
>        at  
> org.apache.openejb.client.EJBMetaDataImpl.readExternal(EJBMetaDataIm
> l.java:172)
>        at  
> org.apache.openejb.client.JNDIResponse.readExternal(JNDIResponse.jav
> :86)
>        at  
> org.apache.openejb.client.Client.processRequest(Client.java:167)
>        ... 19 more
>
> The error ocuurs intermittently leading me to believe its a
> synchronisation issue. For the past few days I am unable to figure out
> the cause. Some advice/help will be appreciated.
> Looks like Ashish and Jacek are hitting the same issue as well.
>
>
> Regards
> Manu
>


Mime
View raw message