Hi Jacek,
As suggested by you, my build also failed on Windows XP while running the
test cases I guess, because I could see a message suggesting
*INFO - OpenEJB ready.
OpenEJB ready.*

Later running the test cases there was failures running the test cases. The
stacktrace for the error is as follows:

javax.naming.NamingException: Cannot lookup
'/client/tests/entity/bmp/BasicBmpHo
me'. [Root exception is java.rmi.RemoteException: Cannot read the response
from
the server (OEJP/2.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.BmpEjbHomeTests.setUp
(BmpEjbHomeTe
sts.java:36)
        at org.apache.openejb.test.NumberedTestCase.run(
NumberedTestCase.java:93
)
        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.executeTes
tSet(AbstractDirectoryTestSuite.java:140)
        at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(Ab
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:79)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAcces
sorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:618)
        at
org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(Su
refireBooter.java:285)
        at org.apache.maven.surefire.booter.SurefireBooter.main(
SurefireBooter.j
ava:976)
Caused by: java.rmi.RemoteException: Cannot read the response from the
server (O
EJP/2.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
(ObjectInputSt
ream.java:2690)
        at java.io.ObjectInputStream.readByte(ObjectInputStream.java:890)
        at org.apache.openejb.client.EJBMetaDataImpl.readExternal
(EJBMetaDataImp
l.java:172)
        at org.apache.openejb.client.JNDIResponse.readExternal(
JNDIResponse.java
:86)
        at org.apache.openejb.client.Client.processRequest(Client.java:167)
        ... 19 more
Tests run: 752, Failures: 5, Errors: 1, Skipped: 0, Time elapsed: 19.578 sec
<<<
 FAILURE!

Results :

Failed tests:
  Stateless.RMI_IIOP.returnEJBHomeArray(
org.apache.openejb.test.NumberedTestCase
$NamedTest)
  Stateless.EJBObject.isIdentical_stateless(
org.apache.openejb.test.NumberedTest
Case$NamedTest)
  Entity.BMP.HomeIntfc.findEmptyEnumeration(
org.apache.openejb.test.NumberedTest
Case$NamedTest)
  Entity.BMP.JNDI_ENC.lookupStatelessBusinessLocal(
org.apache.openejb.test.Numbe
redTestCase$NamedTest)
  Entity.BMP.RMI_IIOP.returnEJBMetaData(
org.apache.openejb.test.NumberedTestCase
$NamedTest)

Tests in error:
  Entity.BMP.EJBHome..setUp()(
org.apache.openejb.test.NumberedTestCase$TestSetup
)

Tests run: 1499, Failures: 12, Errors: 4, Skipped: 0

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

Please refer to C:\OpenEjb\server\openejb-ejbd\target\surefire-reports for
the i
ndividual test results.
[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 83 minutes 39 seconds
[INFO] Finished at: Wed Mar 19 18:55:28 IST 2008
[INFO] Final Memory: 36M/99M
[INFO]
------------------------------------------------------------------------

How do I resolve this error?

Thanks
Ashish

On Wed, Mar 19, 2008 at 3:47 PM, Ashish Jain <[EMAIL PROTECTED]> wrote:

> I use Windows XP.
> Thanks
> Ashish
>
>
> On Wed, Mar 19, 2008 at 2:37 PM, Jacek Laskowski <[EMAIL PROTECTED]>
> wrote:
>
> > On Wed, Mar 19, 2008 at 9:18 AM, Ashish Jain <[EMAIL PROTECTED]> wrote:
> > > Hi Jacek,
> > > Thanks for your reply. I will start with building the openejb
> > container and
> > > later with the execution of samples.
> >
> > What OS do you use? I keep having troubles with building openejb on
> > WinXP and can't figure out what's wrong.
> >
> > Jacek
> >
> > --
> > Jacek Laskowski
> > http://www.JacekLaskowski.pl
> >
>
>

Reply via email to