You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Graham Leggett <mi...@sharp.fm> on 2001/12/10 05:57:01 UTC

Tomcat startup bug: java.lang.ArrayStoreException

Hi all,

I got no response from the user list, so I'm reposting this here.

After upgrading my system (but not my Blackdown JDK v1.3.0 nor my Tomcat
v4.0.1) Tomcat suddenly refuses to start. The following exception is
thrown on startup in catalina.out:

  ERROR reading /var/tomcat4/conf/server.xml
  At Line 58 /Server/Service/Connector/
className=org.apache.catalina.connector.http.HttpConnector port=8180
minProcessors=5 maxProcessors=75 enableLookups=true redirectPort=8543
acceptCount=10 debug=0 connectionTimeout=60000 

  Catalina.start: java.lang.ArrayStoreException
  java.lang.ArrayStoreException
          at java.lang.reflect.Method.copy(Method.java:280)
          at java.lang.reflect.Method.getParameterTypes(Method.java:90)
          at
org.apache.catalina.util.xml.SetProperties.setProperty(XmlMapper.java)
          at
org.apache.catalina.util.xml.SetProperties.start(XmlMapper.java)
  [snip]

This exact same config worked perfectly on the previous machine
(LinuxPPC YDL v1.2), but on the new machine (LinuxPPC YDL v2.1) there
are problems.

If I comment out the connector line, tomcat starts fine, but obviously
without the configuration I am looking for.

I am completely baffled, as this exception isn't telling me anything.
Can someone who understands the Tomcat code explain what is happening?

Regards,
Graham
--

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>