Hi,
I've bought the JBossCMP Docs and Samples an tried to deploy and test the crimeportal appilcation.
Deploying was successfull, the tables are generated, but with the ant targets setup, test, teardown I get following Error:
ant teardown
Buildfile: build.xml
prepare:
compile:
teardown:
[junit] .E
[junit] Time: 6,419
[junit] There was 1 error:
[junit] 1) testTearDown(org.jboss.docs.cmp2.crimeportal.CrimePortalTearDown)
[junit] javax.naming.CommunicationException: Receive timed out. Root exception is java.io.InterruptedIOException: Receive timed out
[junit] at java.net.PlainDatagramSocketImpl.receive(Native Method)
[junit] at java.net.DatagramSocket.receive(DatagramSocket.java:387)
[junit] at org.jnp.interfaces.NamingContext.discoverServer(NamingContext.java:953)
[junit] at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1040)
[junit] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:450)
[junit] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:443)
[junit] at javax.naming.InitialContext.lookup(InitialContext.java:345)
[junit] at net.sourceforge.junitejb.EJBTestCase.getEJBTestRunner(EJBTestCase.java:162)
[junit] at net.sourceforge.junitejb.EJBTestCase.runBare(EJBTestCase.java:109)
[junit] at net.sourceforge.junitejb.EJBTestCase.run(EJBTestCase.java:95)
[junit] FAILURES!!!
[junit] Tests run: 1, Failures: 0, Errors: 1
BUILD FAILED
Can somebody help me please?
Thanks
rainy