[jboss-dev-forums] [Design of POJO Server] - Re: Classloader problem with NamingRestartUnitTestCase

dimitris@jboss.org do-not-reply at jboss.com
Fri Feb 8 07:44:04 EST 2008


I don't understand why setting downloadServerClasses to false?

If I'm not mistaken, it's going to break many remote access scenarios, like:
http://hudson.qa.jboss.com/hudson/view/TCK5/job/tck5-jaxws/58/console


  | ++ java -cp javatest.jar:jh.jar:/qa/services/hudson/hudson_workspace/workspace/tck5-jaxws/work/javaeetck/lib/tsharness.jar com.sun.javatest.cof.Main -o report.xml JTwork
  | ************************************************************
  | * props file set to "/tmp/hudson-cts-props.txt"
  | ************************************************************
  | 02-08-2008 06:04:17:  Harness - Use BinaryTestFinder...
  | ++ cd /qa/services/hudson/hudson_workspace/workspace/tck5-jaxws/work/jboss-5.0.0.Beta4/bin
  | ++ ./shutdown.sh -s jnp://localhost:1099 --shutdown
  | Exception in thread "main" javax.naming.CommunicationException: Could not obtain connection to any of these urls: localhost:1099 [Root exception is javax.naming.CommunicationException: Failed to retrieve stub from server localhost:1099 [Root exception is java.io.EOFException]]
  | 	at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1601)
  | 	at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:636)
  | 	at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:629)
  | 	at javax.naming.InitialContext.lookup(InitialContext.java:351)
  | 	at org.jboss.Shutdown.main(Shutdown.java:214)
  | Caused by: javax.naming.CommunicationException: Failed to retrieve stub from server localhost:1099 [Root exception is java.io.EOFException]
  | 	at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:270)
  | 	at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1572)
  | 	... 4 more
  | Caused by: java.io.EOFException
  | 	at java.io.ObjectInputStream$BlockDataInputStream.peekByte(ObjectInputStream.java:2498)
  | 	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1273)
  | 	at java.io.ObjectInputStream.readObject(ObjectInputStream.java:348)
  | 	at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:258)
  | 	... 5 more
  | 

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

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



More information about the jboss-dev-forums mailing list