You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2006/10/11 21:15:10 UTC
DO NOT REPLY [Bug 40728] New: - Catalina MBeans use non-serializable classes
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=40728>.
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=40728
Summary: Catalina MBeans use non-serializable classes
Product: Tomcat 5
Version: 5.0.28
Platform: All
OS/Version: Windows XP
Status: NEW
Severity: normal
Priority: P2
Component: Catalina
AssignedTo: tomcat-dev@jakarta.apache.org
ReportedBy: nc-heuelhe@netcologne.de
Some MBeans use non-serializable classes, the attributes cannot be accessed by
a JMX console like jconsole.
In particular this are:
Attribute managedResource of MBean Catalina:type=Engine is not available:
java.io.NotSerializableException: org.apache.catalina.util.LifecycleSupport
Attribute realm of MBean Catalina:type=Engine is not available:
java.io.NotSerializableException: org.apache.catalina.realm.UserDatabaseRealm
Attribute managedResource of MBean Catalina:type=Host,host=localhost is not
available:
java.io.NotSerializableException: org.apache.catalina.util.LifecycleSupport
Attribute saveProperties of MBean Catalina:type=JkMain is not available:
javax.management.AttributeNotFoundException: Cannot find attribute
saveProperties get method name
ttribute workerEnv of MBean Catalina:type=JkMain is not available:
java.io.NotSerializableException: org.apache.jk.core.WorkerEnv
Attribute globalProcessor of MBean Catalina:type=RequestProcessor,worker=http-
8080,name=HttpRequest0 is not available:
java.io.NotSerializableException: org.apache.coyote.RequestGroupInfo
Attribute managedResource of MBean Catalina:type=Server is not available:
java.io.NotSerializableException: org.apache.catalina.core.StandardServer
Attribute jkMain of MBean
Catalina:type=protocolHandler,className=org.apache.jk.server.JkCoyoteHandler is
not available:
java.io.NotSerializableException: org.apache.jk.server.JkMain
Attribute workerEnv of MBean
Catalina:type=protocolHandler,className=org.apache.jk.server.JkCoyoteHandler is
not available:
javax.management.AttributeNotFoundException: Cannot find attribute workerEnv
get method name
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 40728] - Catalina MBeans use non-serializable classes
Posted by bu...@apache.org.
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=40728>.
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=40728
yoavs@computer.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |NEEDINFO
------- Additional Comments From yoavs@computer.org 2006-12-26 16:34 -------
Mmm, it's tempting to just add "extends Serializable" to the Lifecycle and
LifecycleListener interfaces, and "implements Serializable" to the
LifecycleSupport class. However, that's a bit risky as we might have all sorts
of things that implement LifecycleListener and Lifecycle, and some of them may
be custom user classes, and some may not be Serializable.
OTOH, I wonder if that would really cause any damage.
What specific Tomcat version were you working with? I'd like to replace nightly
with an exact value.
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 40728] - Catalina MBeans use non-serializable classes
Posted by bu...@apache.org.
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=40728>.
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=40728
markt@apache.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |enhancement
OS/Version|Windows XP |All
Version|5.0.28 |Nightly Build
------- Additional Comments From markt@apache.org 2006-12-09 21:40 -------
Updating attributes and marking as an enhancement request.
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org