portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Le Strat <dlest...@yahoo.com>
Subject Re: Failure in JetspeedPortletDescriptor test ?
Date Mon, 07 Jun 2004 15:29:19 GMT
This should be fixed.  Sorry about that.

David.
--- Serge Huber <shuber2@jahia.com> wrote:
> 
> Hi all,
> 
> I'm getting a test failure, not sure if it's my
> environment or if the CVS 
> is broken... Here are the details :
> 
> Testsuite:
>
org.apache.jetspeed.tools.pamanager.TestJetspeedPortletDescriptor
> Tests run: 1, Failures: 1, Errors: 0, Time elapsed:
> 5.093 sec
> 
> ------------- Standard Output ---------------
>   INFO: JNDI successfully initiallized
>   INFO: Setting up data source pooling for
> org.hsqldb.jdbcDriver
>   INFO: Max active connnections set to: 20
>   INFO: Pool is set to "2" when all connections are
> exhausted.
>   INFO: Attempting to start
> DBCPCDatasourceComponent.
>   INFO: DBCPCDatasourceComponent successfuly
> started!
> DEBUG: Binding
> org.apache.commons.dbcp.PoolingDataSource@4e79f1 to
> name 
> comp/env/jdbc/jetspeed
>   INFO: Merging OJB respository: 
>
jar:file:/C:/Documents%20and%20Settings/Serge%20Huber/.maven/repository/jetspeed2/jars/jetspeed-prefs-2.0-a1-dev.jar!/META-INF/ojb_repository.xml
>   INFO: Merging OJB respository: 
>
jar:file:/C:/Documents%20and%20Settings/Serge%20Huber/.maven/repository/jetspeed2/jars/jetspeed-security-2.0-a1-dev.jar!/META-INF/ojb_repository.xml
>   INFO: Merging OJB respository: 
>
jar:file:/C:/Documents%20and%20Settings/Serge%20Huber/.maven/repository/jetspeed2/jars/jetspeed-registry-2.0-a1-dev.jar!/META-INF/ojb_repository.xml
>   INFO: Merging OJB respository: 
>
jar:file:/C:/Documents%20and%20Settings/Serge%20Huber/.maven/repository/jetspeed2/jars/jetspeed-capability-2.0-a1-dev.jar!/META-INF/ojb_repository.xml
>   INFO: Merging OJB respository: 
>
jar:file:/C:/Documents%20and%20Settings/Serge%20Huber/.maven/repository/jetspeed2/jars/jetspeed-page-manager-2.0-a1-dev.jar!/META-INF/ojb_repository.xml
> Testing loadPortletApplicationTree
>   INFO: Loading Jetspeed descriptor
> DEBUG: Found portlet name portlet-name
> DEBUG: Found portlet name portlet-name
> DEBUG: Found portlet name portlet-name
> DEBUG: Found portlet name portlet-name
> DEBUG: Found portlet name portlet-name
> ERROR: End event threw exception
> java.lang.NoSuchMethodException: No such accessible
> method: 
> addUserAttributeRef() on object: 
>
org.apache.jetspeed.om.portlet.impl.PortletDefinitionMetadataImpl
>          at 
>
org.apache.commons.beanutils.MethodUtils.invokeMethod(MethodUtils.java:250)
>          at
>
org.apache.commons.digester.SetNextRule.end(SetNextRule.java:256)
>          at
> org.apache.commons.digester.Rule.end(Rule.java:276)
>          at
>
org.apache.commons.digester.Digester.endElement(Digester.java:1058)
>          at
>
org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown
> 
> Source)
>          at 
>
org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown
> Source)
>          at 
>
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
> 
> Source)
>          at 
>
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
> 
> Source)
>          at
>
org.apache.xerces.parsers.DTDConfiguration.parse(Unknown
> Source)
>          at
>
org.apache.xerces.parsers.DTDConfiguration.parse(Unknown
> Source)
>          at
> org.apache.xerces.parsers.XMLParser.parse(Unknown
> Source)
>          at
>
org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown
> Source)
>          at
>
org.apache.commons.digester.Digester.parse(Digester.java:1586)
>          at 
>
org.apache.jetspeed.tools.pamanager.JetspeedDescriptorUtilities.loadPortletDescriptor(JetspeedDescriptorUtilities.java:67)
>          at 
>
org.apache.jetspeed.tools.pamanager.TestJetspeedPortletDescriptor.testLoadPortletApplicationTree(TestJetspeedPortletDescriptor.java:87)
>          at
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> Method)
>          at 
>
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>          at 
>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>          at
> java.lang.reflect.Method.invoke(Method.java:324)
>          at
> junit.framework.TestCase.runTest(TestCase.java:154)
>          at
> junit.framework.TestCase.runBare(TestCase.java:127)
>          at
>
junit.framework.TestResult$1.protect(TestResult.java:106)
>          at
>
junit.framework.TestResult.runProtected(TestResult.java:124)
>          at
> junit.framework.TestResult.run(TestResult.java:109)
>          at
> junit.framework.TestCase.run(TestCase.java:118)
>          at
>
junit.framework.TestSuite.runTest(TestSuite.java:208)
>          at
> junit.framework.TestSuite.run(TestSuite.java:203)
>          at 
>
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:325)
>          at 
>
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:536)
> ERROR: Could not unmarshal 
> "./test/testdata/deploy/jetspeed-portlet.xml". 
> java.lang.NoSuchMethodException: No such accessible
> method: 
> addUserAttributeRef() on object: 
>
org.apache.jetspeed.om.portlet.impl.PortletDefinitionMetadataImpl
> java.lang.NoSuchMethodException: No such accessible
> method: 
> addUserAttributeRef() on object: 
>
org.apache.jetspeed.om.portlet.impl.PortletDefinitionMetadataImpl
>          at 
>
org.apache.commons.digester.Digester.createSAXException(Digester.java:2540)
>          at 
>
org.apache.commons.digester.Digester.createSAXException(Digester.java:2566)
>          at
>
org.apache.commons.digester.Digester.endElement(Digester.java:1061)
>          at
>
org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown
> 
> Source)
>          at 
>
org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown
> Source)
>          at 
>
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
> 
> Source)
>          at 
>
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
> 
> Source)
>          at
>
org.apache.xerces.parsers.DTDConfiguration.parse(Unknown
> Source)
>          at
>
org.apache.xerces.parsers.DTDConfiguration.parse(Unknown
> Source)
>          at
> org.apache.xerces.parsers.XMLParser.parse(Unknown
> Source)
>          at
>
org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown
> Source)
>          at
>
org.apache.commons.digester.Digester.parse(Digester.java:1586)
>          at 
>
org.apache.jetspeed.tools.pamanager.JetspeedDescriptorUtilities.loadPortletDescriptor(JetspeedDescriptorUtilities.java:67)
>          at 
>
org.apache.jetspeed.tools.pamanager.TestJetspeedPortletDescriptor.testLoadPortletApplicationTree(TestJetspeedPortletDescriptor.java:87)
>          at
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> Method)
>          at 
>
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>          at 
>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>          at
> java.lang.reflect.Method.invoke(Method.java:324)
>          at
> junit.framework.TestCase.runTest(TestCase.java:154)
>          at
> junit.framework.TestCase.runBare(TestCase.java:127)
>          at
>
junit.framework.TestResult$1.protect(TestResult.java:106)
>          at
>
junit.framework.TestResult.runProtected(TestResult.java:124)
>          at
> junit.framework.TestResult.run(TestResult.java:109)
>          at
> junit.framework.TestCase.run(TestCase.java:118)
>          at
>
junit.framework.TestSuite.runTest(TestSuite.java:208)
>          at
> junit.framework.TestSuite.run(TestSuite.java:203)
>          at 
>
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:325)
>          at 
>
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:536)
> ------------- ---------------- ---------------
> Testcase: 
>
testLoadPortletApplicationTree(org.apache.jetspeed.tools.pamanager.TestJetspeedPortletDescriptor):
> 
> 
=== message truncated ===



	
		
__________________________________
Do you Yahoo!?
Friends.  Fun.  Try the all-new Yahoo! Messenger.
http://messenger.yahoo.com/ 

---------------------------------------------------------------------
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