tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 29324] New: - Admin Application can't create new Host with server-minimal.xml
Date Tue, 01 Jun 2004 16:30:45 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=29324>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=29324

Admin Application can't create new Host with server-minimal.xml

           Summary: Admin Application can't create new Host with server-
                    minimal.xml
           Product: Tomcat 5
           Version: 5.0.25
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Webapps:Administration
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: pr@objektpark.de


Hups,

I used the server-minimal.xml as startup server.xml to configure a new server.
Also copy the admin.xml and manager.xml to conf/Catalina/localhost


Now I want to create a new host but:

=== exception start ===

2004-06-01 18:12:19 StandardContext[/admin]action: Entered
TreeControlTestAction:perform()
2004-06-01 18:12:19 StandardContext[/admin]action: Tree expand/contract on
Catalina:type=Service,serviceName=Catalina
2004-06-01 18:12:19 StandardContext[/admin]action: Found Node:
Catalina:type=Service,serviceName=Catalina
2004-06-01 18:12:21 StandardContext[/admin]action: Entered
TreeControlTestAction:perform()
2004-06-01 18:12:21 StandardContext[/admin]action: tree param is null
2004-06-01 18:12:21 StandardContext[/admin]action: Select event on
Catalina:type=Service,serviceName=Catalina
2004-06-01 18:13:02 StandardContext[/admin]action: Error invoking operation
createStandardHost
javax.management.InstanceNotFoundException: MBeanServer cannot find MBean with
ObjectName Catalina:type=MBeanFactory
	at mx4j.server.MBeanServerImpl.findMBeanMetaData(MBeanServerImpl.java:528)
	at mx4j.server.MBeanServerImpl.invoke(MBeanServerImpl.java:1351)
	at org.apache.webapp.admin.host.SaveHostAction.perform(SaveHostAction.java:175)

=== exception end ===

After I add the  SeverLifecycleLister to my server.xml all is working correct.

  <Listener className="org.apache.catalina.mbeans.ServerLifecycleListener" />

regards
peter

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


Mime
View raw message