JBoss4.0alpha, testsuite problem
rmaier12 May 10, 2003 11:51 AMHello,
after clean checkout of JBoss4.0 today (2003-05-10) and successful build with JDK1.4.1 on WIN2000 i get the following exception when starting the aop-testsuite. It seems to be a parsing problem: The string "--" is not permitted within comments). Anyway, i checked the file and it appears to be okay.
Since i am new to JBoss 4 i have no clue where to start searching for a solution.
Any help would be great.
Reinhard Maier
----------------------------------------------
[junit] Running org.jboss.test.aop.test.SimpleBeanUnitTestCase
[junit] 18:56:54,678 FATAL [DTXAResourceInterceptor] Could not set up mbean
server or mbeans in client
[junit] MBeanException: org.jboss.mx.modelmbean.XMBean constructor has throw
n an exception: org.jboss.mx.util.JBossNotCompliantMBeanException: Error parsing
the XML file, from XMLMetaData:
[junit] Cause: org.jboss.mx.util.JBossNotCompliantMBeanException: Error pars
ing the XML file, from XMLMetaData:
[junit] at org.jboss.mx.server.MBeanServerImpl.handleInstantiateExceptio
ns(MBeanServerImpl.java:955)
[junit] at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerIm
pl.java:913)
[junit] at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerIm
pl.java:269)
[junit] at org.jboss.mx.server.MBeanServerImpl.createMBean(MBeanServerIm
pl.java:310)
[junit] at org.jboss.system.client.Client.registerXMBean(Client.java:104
)
[junit] at org.jboss.tm.DTXAResourceInterceptor.internalSetup(DTXAResour
ceInterceptor.java:152)
[junit] at org.jboss.system.client.ClientServiceMBeanSupport.internalRea
dResolve(ClientServiceMBeanSupport.java:71)
[junit] at org.jboss.tm.DTXAResourceInterceptor.readResolve(DTXAResource
Interceptor.java:137)
[junit] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[junit] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcces
sorImpl.java:39)
[junit] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet
hodAccessorImpl.java:25)
[junit] at java.lang.reflect.Method.invoke(Method.java:324)
[junit] at java.io.ObjectStreamClass.invokeReadResolve(ObjectStreamClass
.java:911)
[junit] at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStrea
m.java:1655)
[junit] at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:
1274)
[junit] at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream
.java:1845)
[junit] at java.io.ObjectInputStream.readSerialData(ObjectInputStream.ja
va:1769)
[junit] at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStrea
m.java:1646)
[junit] at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:
1274)
[junit] at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream
.java:1845)
[junit] at java.io.ObjectInputStream.readSerialData(ObjectInputStream.ja
va:1769)
[junit] at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStrea
m.java:1646)
[junit] at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:
1274)
[junit] at java.io.ObjectInputStream.readObject(ObjectInputStream.java:3
24)
[junit] at java.util.HashMap.readObject(HashMap.java:986)
[junit] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[junit] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcces
sorImpl.java:39)
[junit] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet
hodAccessorImpl.java:25)
[junit] at java.lang.reflect.Method.invoke(Method.java:324)
[junit] at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.
java:824)
[junit] at java.io.ObjectInputStream.readSerialData(ObjectInputStream.ja
va:1746)
[junit] at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStrea
m.java:1646)
[junit] at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:
1274)
[junit] at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream
.java:1845)
[junit] at java.io.ObjectInputStream.readSerialData(ObjectInputStream.ja
va:1769)
[junit] at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStrea
m.java:1646)
[junit] at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:
1274)
[junit] at java.io.ObjectInputStream.readObject(ObjectInputStream.java:3
24)
[junit] at org.jboss.proxy.ClientContainer.readExternal(ClientContainer.
java:113)
[junit] at java.io.ObjectInputStream.readExternalData(ObjectInputStream.
java:1686)
[junit] at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStrea
m.java:1644)
[junit] at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:
1274)
[junit] at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream
.java:1845)
[junit] at java.io.ObjectInputStream.readSerialData(ObjectInputStream.ja
va:1769)
[junit] at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStrea
m.java:1646)
[junit] at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:
1274)
[junit] at java.io.ObjectInputStream.readObject(ObjectInputStream.java:3
24)
[junit] at java.rmi.MarshalledObject.get(MarshalledObject.java:135)
[junit] at org.jnp.interfaces.MarshalledValuePair.get(MarshalledValuePai
r.java:30)
[junit] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:52
2)
[junit] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:47
9)
[junit] at javax.naming.InitialContext.lookup(InitialContext.java:347)
[junit] at org.jboss.test.aop.test.SimpleBeanUnitTestCase.testEjbCall(Si
mpleBeanUnitTestCase.java:38)
...
[junit] Caused by: org.dom4j.DocumentException: Error on line 74 of document
jar:file:/H:/Java/jboss-all/transaction/output/lib/testsuite-support.jar!/org/j
boss/tm/DTXAResourceInterceptor.xml : The string "--" is not permitted within co
mments. Nested exception: The string "--" is not permitted within comments.
[junit] at org.dom4j.io.SAXReader.read(SAXReader.java:339)
[junit] at org.dom4j.io.SAXReader.read(SAXReader.java:218)
[junit] at org.jboss.mx.metadata.XMLMetaData.build(XMLMetaData.java:245)
[junit] ... 86 more