Bug 688359 - [JBPAPP-6103] EWS 1.0.2-CR1 + JON 2.4.1: Tomcat virtual host config save fails - "InstanceNotFoundException: Catalina:type=StoreConfig"
Summary: [JBPAPP-6103] EWS 1.0.2-CR1 + JON 2.4.1: Tomcat virtual host config save fail...
Keywords:
Status: CLOSED DUPLICATE of bug 583996
Alias: None
Product: RHQ Project
Classification: Other
Component: Plugins
Version: 3.0.0
Hardware: Unspecified
OS: Unspecified
medium
unspecified
Target Milestone: ---
: ---
Assignee: Stefan Negrea
QA Contact: Mike Foley
URL:
Whiteboard:
Depends On:
Blocks: ews1.0.2
TreeView+ depends on / blocked
 
Reported: 2011-03-16 21:15 UTC by Ondřej Žižka
Modified: 2012-10-10 22:02 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2012-10-10 22:02:47 UTC
Embargoed:


Attachments (Terms of Use)

Description Ondřej Žižka 2011-03-16 21:15:53 UTC
1) Install EWS, JON, get Tomcat 6 monitored.
2) Go to "localhost" virtual host, CONFIGURATION tab
3) Change it's setting, e.g. unpack WAR's, save
4) Saving fails, with the following exception.

JMX was not secured and was working, e.g. JVM stats were displayed correctly.



---------------------------------------------------------------------
Mar 15, 2011 3:08:10 PM org.apache.tomcat.util.modeler.BaseModelMBean invoke
SEVERE: Exception invoking method storeConfig
javax.management.InstanceNotFoundException: Catalina:type=StoreConfig
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getMBean(DefaultMBeanServerInterceptor.java:1094)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:833)
at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
at org.apache.catalina.core.StandardServer.storeConfig(StandardServer.java:641)
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:597)
at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:297)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1427)
at javax.management.remote.rmi.RMIConnectionImpl.access$200(RMIConnectionImpl.java:72)
at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1265)
at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1360)
at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:788)
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:597)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:305)
at sun.rmi.transport.Transport$1.run(Transport.java:159)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:155)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)

Comment 1 Ondřej Žižka 2011-03-16 21:18:13 UTC
Note that unlike BZ#583996, this is for virtual host, not whole tomcat.
But it might write to the same file (server.xml), or even invoke the same action (flush whole config to server.xml).

Comment 2 Ondřej Žižka 2011-03-16 21:18:49 UTC
Bug 583996 ^^

Comment 5 Charles Crouch 2011-10-19 13:14:14 UTC
I think this is a dupe as discussed below

Comment 6 Charles Crouch 2012-10-10 22:02:47 UTC
Closing as a dupe of BZ-583996. That bug has the better description of the underlying issue.

*** This bug has been marked as a duplicate of bug 583996 ***


Note You need to log in before you can comment on or make changes to this bug.