0 Replies Latest reply on Jul 25, 2002 3:07 PM by Paul Morgan

    running "tests-standard-unit" finds incomplete deployment

    Paul Morgan Newbie

      Perhaps this is a silly thing for a person who's new to JBoss (and J2EE app servers) to try, but ... rather than download the 3.0 binary I decided to download the source for 3.0.1RC1. Following the directions from the 3.0 QuickStart Guide (thank you Andreas et al) I successfully compiled JBoss. However, when I ran the test suite, "tests-standard-unit", quite a few (30) of the tests failed from what appears to be an incomplete deployment ... and the reason the deployment failed (from what I can tell) is an invalid encoding name (Cp1252).

      Does anyone have any thoughts on what I've done wrong (and how I might fix it)? Also, should I forego this cutting edge tendency of mine and use the 3.0 binaries?

      Any and all help is greatly appreciated, thanks!

      Paul

      p.s., I've included the error message from the log, and following that is a list of the tests that failed.

      p.p.s., setup: Windows XP w/Cygwin and JDK 1.4.0.01

      Incomplete Deployment listing:
      Packages waiting for a deployer:

      Incompletely deployed packages:
      [org.jboss.deployment.DeploymentInfo@c787047a { url=file:/C:/Bin/Web/Server/jboss-3.0.1RC1-src/testsuite/output/lib/jmxtest.jar }
      deployer: org.jboss.ejb.EJBDeployer@7736bd
      status: Deployment FAILED reason: Invalid encoding name "Cp1252".; - nested throwable: (org.xml.sax.SAXParseException: Invalid encoding name "Cp1252".)
      watch: file:/C:/Bin/Web/Server/jboss-3.0.1RC1-src/testsuite/output/lib/jmxtest.jar
      lastDeployed: 1027613834915
      lastModified: 1027613834865
      mbeans:
      , org.jboss.deployment.DeploymentInfo@9a7ab38a { url=file:/C:/Bin/Web/Server/jboss-3.0.1RC1-src/testsuite/output/lib/jarinsar.sar }
      deployer: org.jboss.deployment.SARDeployer@617189
      status: Deployment FAILED reason: Invalid encoding name "Cp1252".; - nested throwable: (org.xml.sax.SAXParseException: Invalid encoding name "Cp1252".)
      watch: file:/C:/Bin/Web/Server/jboss-3.0.1RC1-src/testsuite/output/lib/jarinsar.sar
      lastDeployed: 1027613848284
      lastModified: 1027613848244
      mbeans:
      ]MBeans waiting for classes:

      MBeans waiting for other MBeans:


      at org.jboss.deployment.MainDeployer.checkIncompleteDeployments(MainDeployer.java:1081)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:583)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:565)
      at sun.reflect.GeneratedMethodAccessor73.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:491)
      at org.jboss.jmx.adaptor.rmi.RMIAdaptorImpl.invoke(RMIAdaptorImpl.java:283)
      at sun.reflect.GeneratedMethodAccessor51.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:261)
      at sun.rmi.transport.Transport$1.run(Transport.java:148)
      at java.security.AccessController.doPrivileged(Native Method)
      at sun.rmi.transport.Transport.serviceCall(Transport.java:144)
      at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)
      at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701)
      at java.lang.Thread.run(Thread.java:536)


      Failed tests:

      [junit] TEST org.jboss.test.cmp2.commerce.CompleteUnitTestCase FAILED
      [junit] TEST org.jboss.test.cmp2.readonly.ReadonlyUnitTestCase FAILED
      [junit] TEST org.jboss.test.cmp2.relationship.RelationshipUnitTestCase FAILED
      [junit] TEST org.jboss.test.cmp2.simple.SimpleUnitTestCase FAILED
      [junit] TEST org.jboss.test.cts.test.StatefulSessionUnitTestCase FAILED
      [junit] TEST org.jboss.test.entityexc.test.EntityExcUnitTestCase FAILED
      [junit] TEST org.jboss.test.idgen.test.IdGenUnitTestCase FAILED
      [junit] TEST org.jboss.test.jca.test.BaseConnectionManagerUnitTestCase FAILED
      [junit] TEST org.jboss.test.jmsra.test.RaQueueUnitTestCase FAILED
      [junit] TEST org.jboss.test.jmsra.test.RaSyncRecUnitTestCase FAILED
      [junit] TEST org.jboss.test.jmsra.test.RaTopicUnitTestCase FAILED
      [junit] TEST org.jboss.test.jmx.test.DeployConnectionManagerUnitTestCase FAILED
      [junit] TEST org.jboss.test.jmx.test.DeployServiceUnitTestCase FAILED
      [junit] TEST org.jboss.test.jmx.test.EarDeploymentUnitTestCase FAILED
      [junit] TEST org.jboss.test.jmx.test.JarInSarJSR77UnitTestCase FAILED
      [junit] TEST org.jboss.test.jmx.test.MBeanDependsOnEJBUnitTestCase FAILED
      [junit] TEST org.jboss.test.jmx.test.ServiceRsrcsUnitTestCase FAILED
      [junit] TEST org.jboss.test.jmx.test.UndeployBrokenPackageUnitTestCase FAILED
      [junit] TEST org.jboss.test.jrmp.test.CustomSocketsUnitTestCase FAILED
      [junit] TEST org.jboss.test.lock.test.SpinUnitTestCase FAILED
      [junit] TEST org.jboss.test.mdb.test.MDBUnitTestCase FAILED
      [junit] TEST org.jboss.test.naming.test.EjbLinkUnitTestCase FAILED
      [junit] TEST org.jboss.test.naming.test.ENCUnitTestCase FAILED
      [junit] TEST org.jboss.test.naming.test.InternalNamingClassReplacementUnitTestCase FAILED
      [junit] TEST org.jboss.test.perf.test.PerfUnitTestCase FAILED
      [junit] TEST org.jboss.test.readahead.test.ReadAheadUnitTestCase FAILED
      [junit] TEST org.jboss.test.testbean.test.BeanUnitTestCase FAILED
      [junit] TEST org.jboss.test.testbeancluster.test.BeanUnitTestCase FAILED
      [junit] TEST org.jboss.test.util.test.SchedulerUnitTestCase FAILED
      [junit] TEST org.jboss.test.web.test.WebIntegrationUnitTestCase FAILED