[kaffe] Problem with Tomcat 4.0.3

Mathew Spencer matthew.spencer at adv.sonybpe.com
Fri Apr 19 02:00:25 PDT 2002


Hi All,
I am experimenting with using Kaffe on both an i386-linux and arm-linux
platform (downloaded tarball from kaffe.org cvs server 18/4/2002). 
Everything compiles fine (--disable-gcj on i386 and --disable-x
--disable-gcj on arm) and seems to be working correctlt.
I have a problem when trying to run the latest download of Tomcat, I get
the exception


At Line 103 /Server/Service/Engine/ name=Standalone
defaultHost=localhost debug=0 

Catalina.start: java.lang.IllegalArgumentException: Object type doesn't
match method's class
java.lang.IllegalArgumentException: Object type doesn't match method's
class
 at java.lang.reflect.Method.invoke(Method.java:native)
	at
org.apache.catalina.util.xml.SetProperties.setProperty(XmlMapper.java:675)
	at org.apache.catalina.util.xml.SetProperties.start(XmlMapper.java:650)
	at
org.apache.catalina.util.xml.XmlMapper.matchStart(XmlMapper.java:412)
	at
org.apache.catalina.util.xml.XmlMapper.startElement(XmlMapper.java:91)
	at
org.xml.sax.helpers.XMLReaderAdapter.startElement(XMLReaderAdapter.java:329)
	at
org.apache.xerces.parsers.SAXParser.startElement(SAXParser.java:1376)
	at
org.apache.xerces.validators.common.XMLValidator.callStartElement(XMLValidator.java:1284)
	at
org.apache.xerces.framework.XMLDocumentScanner.scanElement(XMLDocumentScanner.java:1806)
	at
org.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispatch(XMLDocumentScanner.java:1182)
	at
org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.java:381)
	at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1098)
	at
org.xml.sax.helpers.XMLReaderAdapter.parse(XMLReaderAdapter.java:223)
	at javax.xml.parsers.SAXParser.parse(SAXParser.java:362)
	at javax.xml.parsers.SAXParser.parse(SAXParser.java:301)
	at org.apache.catalina.util.xml.XmlMapper.readXml(XmlMapper.java:228)
	at org.apache.catalina.startup.Catalina.start(Catalina.java:725)
	at org.apache.catalina.startup.Catalina.execute(Catalina.java:681)
	at org.apache.catalina.startup.Catalina.process(Catalina.java:179)
	at java.lang.reflect.Method.invoke(Method.java:native)
	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243)

It seems to be a problem with reflection and I get the same error on
both i386 and arm targets.  Tomcat works fine with Suns java
implementation.
Does anyone have any ideas?

Regards,
Mat Spencer




*************************************************************************
The information contained in this message or any of its
attachments may be privileged and confidential and intended 
for the exclusive use of the addressee. If you are not the
addressee any disclosure, reproduction, distribution or other
dissemination or use of this communication is strictly prohibited
*************************************************************************




More information about the kaffe mailing list