portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Roger Ruttimann <roger.ruttim...@earthlink.net>
Subject [j2] Registry test fail
Date Fri, 21 May 2004 14:38:21 GMT
During the build J2 the unit tests for the registry fail. I'm using MySQL as db.

   [junit] [ERROR] TEST org.apache.jetspeed.components.portletentity.TestPortletEntityAccessComponent
FAILED
   [junit] Running org.apache.jetspeed.components.portletregistry.TestRegistryDirect
   [junit] Tests run: 2, Failures: 0, Errors: 1, Time elapsed: 1.949 sec
   [junit] [ERROR] TEST org.apache.jetspeed.components.portletregistry.TestRegistryDirect
FAILED
   [junit] Running org.apache.jetspeed.components.portletregistry.TestRegistryDirectPart2
   [junit] Tests run: 2, Failures: 0, Errors: 1, Time elapsed: 1.949 sec
   [junit] [ERROR] TEST org.apache.jetspeed.components.portletregistry.TestRegistryDirectPart2
FAILED

Any ideas?

Roger 

Error logs:
[Fatal Error] repository.xml:18:6: The processing instruction target matching "[xX][mM][lL]"
is not allowed.
org.apache.ojb.broker.metadata.MetadataException: Can not read repository class descriptor
data, using repository: repository.xml
   at org.apache.ojb.broker.metadata.MetadataManager.init(MetadataManager.java:152)
   at org.apache.ojb.broker.metadata.MetadataManager.<init>(MetadataManager.java:138)
   at org.apache.ojb.broker.metadata.MetadataManager.<clinit>(MetadataManager.java:127)
   at org.apache.ojb.broker.util.BrokerHelper.crossCheckPBKey(BrokerHelper.java:123)
   at org.apache.ojb.broker.core.PersistenceBrokerFactoryDefaultImpl.createPersistenceBroker(PersistenceBrokerFactoryDefaultImpl.java:91)
   at org.apache.ojb.broker.PersistenceBrokerFactory.createPersistenceBroker(PersistenceBrokerFactory.java:86)
   at org.apache.jetspeed.components.persistence.store.ojb.pb.PBStore.<init>(PBStore.java:84)
   at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
   at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
   at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
   at java.lang.reflect.Constructor.newInstance(Constructor.java:274) 
....

------------- ---------------- ---------------
Testcase: test001(org.apache.jetspeed.components.portletregistry.TestRegistryDirectPart2):
   Caused an ERROR
null
java.lang.NullPointerException
   at org.apache.jetspeed.components.persistence.store.ojb.pb.PBStore.checkBroker(PBStore.java:188)
   at org.apache.jetspeed.components.persistence.store.ojb.pb.PBStore.getBroker(PBStore.java:202)
   at org.apache.jetspeed.components.persistence.store.ojb.pb.PBTransaction.begin(PBTransaction.java:46)
   at org.apache.jetspeed.components.portletregistry.TestRegistryDirectPart2.test001(TestRegistryDirectPart2.java:117)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at org.apache.jetspeed.components.ComponentAwareTestSuite.runTest(ComponentAwareTestSuite.java:141)
   at org.apache.jetspeed.components.ComponentAwareTestSuite.run(ComponentAwareTestSuite.java:108)


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org


Mime
View raw message