Caldarale, Charles R wrote:
From: André Warnier [mailto:a...@ice-sa.com]
Subject: RHEL + Tomcat6, error in logfile
Oct 4, 2011 4:46:25 PM org.apache.catalina.mbeans.ServerLifecycleListener
lifecycleEvent
SEVERE: destroyMBeans: Throwable
javax.management.MalformedObjectNameException: Cannot create object name for
org.apache.catalina.connector.Connector@3fa6cd
Assuming you can find it in this non-standard environment, let's look at the
server.xml and see if there's something odd in there, especially the
<Connector> elements.
Yes ! I found it ! in /etc/tomcat6 of all places.
Anyway, with comments removed, here is what it contains.
Note that I have left in the commented-out HTTPS connector, because I find it strange that
two other connectors reference its port, but that it is itself commented out.
I don't know if it matters, but I imagine that removing the "redirectPort" attributes in
the HTTP and AJP Connectors would not hurt, would it ?
Anyway, I don't see anything strange here, do you ?
server.xml :
<?xml version='1.0' encoding='utf-8'?>
<Server port="8005" shutdown="SHUTDOWN">
<GlobalNamingResources>
<Resource name="UserDatabase" auth="Container"
type="org.apache.catalina.UserDatabase"
description="User database that can be updated and saved"
factory="org.apache.catalina.users.MemoryUserDatabaseFactory"
pathname="conf/tomcat-users.xml" />
</GlobalNamingResources>
<Service name="Catalina">
<Connector port="8080" protocol="HTTP/1.1"
connectionTimeout="20000"
redirectPort="8443" />
<!--
<Connector port="8443" protocol="HTTP/1.1" SSLEnabled="true"
maxThreads="150" scheme="https" secure="true"
clientAuth="false" sslProtocol="TLS" />
-->
<!-- Define an AJP 1.3 Connector on port 8009 -->
<Connector port="8009" protocol="AJP/1.3" redirectPort="8443" />
<Engine name="Catalina" defaultHost="localhost">
<Realm className="org.apache.catalina.realm.UserDatabaseRealm"
resourceName="UserDatabase"/>
<Host name="localhost" appBase="webapps"
unpackWARs="true" autoDeploy="true"
xmlValidation="false" xmlNamespaceAware="false">
</Host>
</Engine>
</Service>
</Server>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org