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 2010/04/30 06:17:40 UTC
DO NOT REPLY [Bug 49234] New: JMX Descriptor Modifications
https://issues.apache.org/bugzilla/show_bug.cgi?id=49234
Summary: JMX Descriptor Modifications
Product: Tomcat 7
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Catalina
AssignedTo: dev@tomcat.apache.org
ReportedBy: chamibuddhika@gmail.com
Created an attachment (id=25378)
--> (https://issues.apache.org/bugzilla/attachment.cgi?id=25378)
Descriptor Modification
Package: org.apache.catalina
I have slightly modified mbeans-descriptor.xml in above package as below.
1. Removed username and password attributes from the User mbean object since
it exposes username and the password of the users.
2. Modified some attributes as non writeable according to the context.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 49234] JMX Descriptor Modifications
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49234
--- Comment #35 from chamith buddhika <ch...@gmail.com> 2010-06-22 00:00:20 EDT ---
(In reply to comment #34)
> Ping. No update/progress in over a week. I'm starting to get concerned.
Sorry I was extremely busy last 1 and half weeks with my university work.
(Finalization of the final year project). So couldn't attend much to Tomcat
related work. It will be over in another couple of days and I hope to speed-up
my work after that. Sorry for the inconvenience.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 49234] JMX Descriptor Modifications
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49234
--- Comment #17 from chamith buddhika <ch...@gmail.com> 2010-05-23 01:23:22 EDT ---
Package : o.a.Catalina.ha.authenticator
This package descriptor references to a non existant class
org.apache.catalina.cluster.authenticator.ClusterSingleSignOn.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 49234] JMX Descriptor Modifications
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49234
chamith buddhika <ch...@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #25796|0 |1
is obsolete| |
--- Comment #69 from chamith buddhika <ch...@gmail.com> 2010-08-04 00:45:33 EDT ---
Created an attachment (id=25837)
--> (https://issues.apache.org/bugzilla/attachment.cgi?id=25837)
o.a.Catalina.Core Operations Second Patch
This patch address the first three concerns raised by Mark for the initial
patch. Add/RemoveChild methods have also been incorporated to the
ContainerMbean class though they may require some more work.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 49234] JMX Descriptor Modifications
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49234
--- Comment #67 from chamith buddhika <ch...@gmail.com> 2010-07-31 10:46:30 EDT ---
(In reply to comment #66)
> Created an attachment (id=25796)
--> (https://issues.apache.org/bugzilla/attachment.cgi?id=25796) [details]
> o.a.Catalina.Core Operations Patch
>
> This deals with operations add/remove valve/lifecycleListener in the
> StandardContext mbean. Seperate MBean called ContainerMBean has been created
> with the operations. The operations are available at container level (not just
> StandardContext level) hence the name ContainerMBean. But this still doesn't
> account for addChild methods present in the descriptor. For valves and
> lifecycleListeners new instances have been created using the provided
> classnames. I am still exploring the possibility of using that approach to
> addChild methods as well.
Any comments on this? However I am not sure this approach can be applied to
addChild methods since different child types (Host, Context e.g.) require
different parameters for their initialization.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 49234] JMX Descriptor Modifications
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49234
--- Comment #94 from chamith buddhika <ch...@gmail.com> 2010-09-14 20:36:41 EDT ---
(In reply to comment #93)
> I got to the bottom of the problem. The correct parent class loader was not
> being passed down the object hierarchy. I fixed that and applied your patch. I
> can now get to the point where I can create a context with static content and
> JSPs via JMX from a server.xml that just contains a Server object. Woot!
>
> With this patch the basic functionality is in place. The MBeans exposed are a
> lot better than they were but there is still work to do. For example a quick
> review of the StandardContext found a bunch if typos, a missing attribute and
> other attributes that are not visible in JConsole. See r996235 for details.
>
> I recommend that the next step is to work through the MBeans in JConsole and
> resolving the following issues:
> - attributes that show up as Unavailable (in red text)
> - methods that can not be called (you'll see an error message when you click on
> "Operations" in the navigation tree)
>
> Some will be easier than others. I'd go for the quick win typos (like those in
> r966235) first.
I will look in to these issues in next couple of days.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 49234] JMX Descriptor Modifications
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49234
--- Comment #30 from chamith buddhika <ch...@gmail.com> 2010-06-09 06:12:03 EDT ---
(In reply to comment #29)
> Created an attachment (id=25563)
--> (https://issues.apache.org/bugzilla/attachment.cgi?id=25563) [details]
> o.a.Catalina.Startup Patch
>
> Adds missing attributes.
In here also there is a operation having POJO parameters which can be
overloaded. Will supply this in a future patch if this is acceptable.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 49234] JMX Descriptor Modifications
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49234
--- Comment #6 from chamith buddhika <ch...@gmail.com> 2010-05-06 04:25:25 EDT ---
Created an attachment (id=25405)
--> (https://issues.apache.org/bugzilla/attachment.cgi?id=25405)
o.a.Catalina.Core Descriptor Attributes
Package: org.apache.Catalina.Core
This patch deals with attributes of above package descriptor. Changes are
mainly
1. Addition of missing attributes
2. Ordering of attributes according to their alphabetical order
Required changes (if any) to descriptor operations will be attached in a
separate patch.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 49234] JMX Descriptor Modifications
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49234
--- Comment #82 from chamith buddhika <ch...@gmail.com> 2010-08-15 11:28:51 EDT ---
Created an attachment (id=25888)
--> (https://issues.apache.org/bugzilla/attachment.cgi?id=25888)
o.a.Catalina.Core Operations Fifth Patch
Adds ContextMBean to support find methods of Context implementations.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 49234] JMX Descriptor Modifications
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49234
--- Comment #31 from chamith buddhika <ch...@gmail.com> 2010-06-09 06:20:02 EDT ---
o.a.Catalina.tribes package descriptor has got mbeans which are present in
other several packages as well. They are
SimpleTcpCluster
Present in following package descriptors
- o.a.Catalina.ha.tcp
- o.a.Catalina.ha
- o.a.Catalina.tribes
- o.a.Catalina.tribes.transport
ReplicationValve
Present in above 4 packages as SimpleTcpCluster
SimpleTcpReplicationManager
Present in following package descriptors
- o.a.Catalina.ha.session
- o.a.Catalina.tribes
These mbeans are present in packages with some differences in attributes and
operations. The other difference is being that they are in different groups.
Any suggestions for proceeding with this scenario? I am guessing this
replication may have been intended? Anyway they can be made consistent across
packages with respect to their attributes and methods.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 49234] JMX Descriptor Modifications
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49234
--- Comment #16 from chamith buddhika <ch...@gmail.com> 2010-05-23 01:21:31 EDT ---
Created an attachment (id=25473)
--> (https://issues.apache.org/bugzilla/attachment.cgi?id=25473)
o.a.Catalina.ha Patch
This patch adds to o.a.Catalina.ha descriptor. In this descriptor I found that
it references to a class org.apache.catalina.ha.tcp.SimpleTcpReplicationManager
which I cannot seem to find in the code base. Probably the class has been
removed. In a future patch this reference can be removed if necessary.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 49234] JMX Descriptor Modifications
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49234
--- Comment #20 from chamith buddhika <ch...@gmail.com> 2010-06-03 08:49:21 EDT ---
Created an attachment (id=25516)
--> (https://issues.apache.org/bugzilla/attachment.cgi?id=25516)
o.a.Catalina.ha.session Patch
Adds missing attributes and reorders the existing attributes.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 49234] JMX Descriptor Modifications
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49234
--- Comment #61 from Mark Thomas <ma...@apache.org> 2010-07-15 16:52:12 EDT ---
Ping. No update/progress in over a week. Again.
Overall I am beginning to have serious concerns about the rate of progress of
this project.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 49234] JMX Descriptor Modifications
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49234
chamith buddhika <ch...@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #25638|0 |1
is obsolete| |
--- Comment #54 from chamith buddhika <ch...@gmail.com> 2010-07-06 12:51:09 EDT ---
Created an attachment (id=25716)
--> (https://issues.apache.org/bugzilla/attachment.cgi?id=25716)
o.a.Catalina.ha.session Modified Patch
Includes SimpleTCPReplicationManager to this package descriptor. Earlier was in
o.a.catalina.tribes descriptor. Adds missing attributes and methods to it.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 49234] JMX Descriptor Modifications
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49234
--- Comment #50 from chamith buddhika <ch...@gmail.com> 2010-06-26 02:21:59 EDT ---
Where can I find the class JDBCUserDatabase? It is not in the package
org.apache.catalina.users as mentioned in org.apache.catalina.users descriptor.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 49234] JMX Descriptor Modifications
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49234
--- Comment #34 from Mark Thomas <ma...@apache.org> 2010-06-21 19:12:50 EDT ---
Ping. No update/progress in over a week. I'm starting to get concerned.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 49234] JMX Descriptor Modifications
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49234
--- Comment #40 from chamith buddhika <ch...@gmail.com> 2010-06-25 07:09:20 EDT ---
(In reply to comment #25)
> (In reply to comment #24)
> > (In reply to comment #23)
> >
> > > At least some of them were part of Tomcat 5.5 ´cluster and have been dropped
> > > when the new Tomcat 6 cluster was written.
> >
> > So their corresponding descriptors can be safely removed?
>
> Yes, but first check
>
> - that those classes exist in the old tc 5.5 cluster (under
> tc5.5.x/trunk/container/modules the directories are cluster, ha, groupcom) . If
> they are not there, we missed something.
>
> - and that they are no longer present in any cluster related package in TC 7
> (which is easy, because since Tomcat 6 all Java classes are in the same
> directory tree).
>
> Regards,
>
> Rainer
I couldn't find the mentioned classes in Tomcat 5.5 and nor they are present in
the trunk.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 49234] JMX Descriptor Modifications
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49234
--- Comment #91 from Mark Thomas <ma...@apache.org> 2010-09-11 13:18:01 EDT ---
Please enable validation in your build process and ensure in future that patch
you provide build with validation enabled. This one had a number of tabs that
needs to be replaced with spaces.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
Re: DO NOT REPLY [Bug 49234] JMX Descriptor Modifications
Posted by Rainer Jung <ra...@kippdata.de>.
On 12.09.2010 03:45, bugzilla@apache.org wrote:
> https://issues.apache.org/bugzilla/show_bug.cgi?id=49234
>
> --- Comment #93 from Mark Thomas<ma...@apache.org> 2010-09-11 21:44:59 EDT ---
> I got to the bottom of the problem. The correct parent class loader was not
> being passed down the object hierarchy. I fixed that and applied your patch. I
> can now get to the point where I can create a context with static content and
> JSPs via JMX from a server.xml that just contains a Server object. Woot!
Nice!
Rainer
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 49234] JMX Descriptor Modifications
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49234
--- Comment #93 from Mark Thomas <ma...@apache.org> 2010-09-11 21:44:59 EDT ---
I got to the bottom of the problem. The correct parent class loader was not
being passed down the object hierarchy. I fixed that and applied your patch. I
can now get to the point where I can create a context with static content and
JSPs via JMX from a server.xml that just contains a Server object. Woot!
With this patch the basic functionality is in place. The MBeans exposed are a
lot better than they were but there is still work to do. For example a quick
review of the StandardContext found a bunch if typos, a missing attribute and
other attributes that are not visible in JConsole. See r996235 for details.
I recommend that the next step is to work through the MBeans in JConsole and
resolving the following issues:
- attributes that show up as Unavailable (in red text)
- methods that can not be called (you'll see an error message when you click on
"Operations" in the navigation tree)
Some will be easier than others. I'd go for the quick win typos (like those in
r966235) first.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 49234] JMX Descriptor Modifications
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49234
--- Comment #25 from Rainer Jung <ra...@kippdata.de> 2010-06-09 03:44:29 EDT ---
(In reply to comment #24)
> (In reply to comment #23)
>
> > At least some of them were part of Tomcat 5.5 ´cluster and have been dropped
> > when the new Tomcat 6 cluster was written.
>
> So their corresponding descriptors can be safely removed?
Yes, but first check
- that those classes exist in the old tc 5.5 cluster (under
tc5.5.x/trunk/container/modules the directories are cluster, ha, groupcom) . If
they are not there, we missed something.
- and that they are no longer present in any cluster related package in TC 7
(which is easy, because since Tomcat 6 all Java classes are in the same
directory tree).
Regards,
Rainer
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 49234] JMX Descriptor Modifications
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49234
--- Comment #14 from Mark Thomas <ma...@apache.org> 2010-05-19 12:41:06 EDT ---
(In reply to comment #12)
> - EJB
> - LocalEJB
> - MessageDestinationRef
> - PropertyChangeListener
> - ResourceEnvRef
> - Service
I wouldn't worry about these for now although exposing getContainer() could be
useful.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 49234] JMX Descriptor Modifications
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49234
chamith buddhika <ch...@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #25639|0 |1
is obsolete| |
--- Comment #55 from chamith buddhika <ch...@gmail.com> 2010-07-06 12:58:25 EDT ---
Created an attachment (id=25717)
--> (https://issues.apache.org/bugzilla/attachment.cgi?id=25717)
o.a.Catalina.ha.tcp Modified Patch
Moves SimpleTcpCluster and ReplicationValve from o.a.Catalina.tribes descriptor
to this descriptor.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 49234] JMX Descriptor Modifications
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49234
--- Comment #22 from chamith buddhika <ch...@gmail.com> 2010-06-03 08:54:14 EDT ---
Created an attachment (id=25518)
--> (https://issues.apache.org/bugzilla/attachment.cgi?id=25518)
o.a.Catalina.loader Patch
Adds missing attributes/operations and reorders existing attributes.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 49234] JMX Descriptor Modifications
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49234
--- Comment #42 from chamith buddhika <ch...@gmail.com> 2010-06-25 07:22:19 EDT ---
(In reply to comment #41)
> (In reply to comment #40)
> > (In reply to comment #25)
> > > (In reply to comment #24)
> > > > (In reply to comment #23)
> > > >
> > > > > At least some of them were part of Tomcat 5.5 ´cluster and have been dropped
> > > > > when the new Tomcat 6 cluster was written.
> > > >
> > > > So their corresponding descriptors can be safely removed?
> > >
> > > Yes, but first check
> > >
> > > - that those classes exist in the old tc 5.5 cluster (under
> > > tc5.5.x/trunk/container/modules the directories are cluster, ha, groupcom) . If
> > > they are not there, we missed something.
> > >
> > > - and that they are no longer present in any cluster related package in TC 7
> > > (which is easy, because since Tomcat 6 all Java classes are in the same
> > > directory tree).
> > >
> > > Regards,
> > >
> > > Rainer
> >
> > I couldn't find the mentioned classes in Tomcat 5.5 and nor they are present in
> > the trunk.
>
> I found some of the classes in TC5.0. Namely
> > - PooledSocketSender
> > - SocketSender
> > - AsyncSocketSender
> > - ReplicationTransmitter
>
> Some of the other classes are missing in TC5.0 as well.
> > - ClusterReceiverBase
> > - SocketReplicatonListener
> > - FastAsyncSocketSender
So I will be removing the descriptors of these classes in respective packages.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 49234] JMX Descriptor Modifications
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49234
--- Comment #44 from chamith buddhika <ch...@gmail.com> 2010-06-25 08:10:29 EDT ---
(In reply to comment #43)
> (In reply to comment #40)
> > (In reply to comment #25)
> > > (In reply to comment #24)
> > > > (In reply to comment #23)
> > > >
> > > > > At least some of them were part of Tomcat 5.5 ´cluster and have been dropped
> > > > > when the new Tomcat 6 cluster was written.
> > > >
> > > > So their corresponding descriptors can be safely removed?
> > >
> > > Yes, but first check
> > >
> > > - that those classes exist in the old tc 5.5 cluster (under
> > > tc5.5.x/trunk/container/modules the directories are cluster, ha, groupcom) . If
> > > they are not there, we missed something.
> > >
> > > - and that they are no longer present in any cluster related package in TC 7
> > > (which is easy, because since Tomcat 6 all Java classes are in the same
> > > directory tree).
> > >
> > > Regards,
> > >
> > > Rainer
> >
> > I couldn't find the mentioned classes in Tomcat 5.5 and nor they are present in
> > the trunk.
>
> Menioned classes were.
>
> - ClusterReceiverBase
> - SocketReplicatonListener
> - AsyncSocketSender
> - FastAsyncSocketSender
> - PooledSocketSender
> - SocketSender
>
> In
> tc5.5.x/trunk/container/modules/cluster/src/share/org/apache/catalina/cluster/tcp
> you will find all of them. Curious how you missed them.
Seems I somehow overlooked this package. Sorry for false alarm. Anyway since
these are not present in the trunk I will be removing them.
Regards,
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 49234] JMX Descriptor Modifications
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49234
--- Comment #63 from chamith buddhika <ch...@gmail.com> 2010-07-16 06:58:14 EDT ---
(In reply to comment #10)
> It seems that o.a.Catalina.Core descriptor has got operations containing POJO
> objects instead of primitive types which make them inaccessible via JConsole.
> Was this intended or does any one have suggestions for handling POJO object
> parameters in mbean descriptors in general?
For this I was considering to use a separate MBean whose methods would take an
oname of the respective component as a string. But it seems currently there is
no facility (in the Registry) to obtain the associated resource object given
the oname of a component. Alternatively it is possible to create a component
from a scratch within the mbean method in add methods. But remove methods still
requires obtaining the resource from the corresponding oname. Am I missing some
thing here?
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 49234] JMX Descriptor Modifications
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49234
--- Comment #95 from Mark Thomas <ma...@apache.org> 2010-09-15 11:33:48 EDT ---
Now might be a good time to resolve this issue as FIXED and move to using
separate issues for any future improvements. That would keep this issue as an
archive of your GSOC work.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 49234] JMX Descriptor Modifications
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49234
--- Comment #60 from Mark Thomas <ma...@apache.org> 2010-07-08 17:56:28 EDT ---
All patches applied. Many thanks.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 49234] JMX Descriptor Modifications
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49234
--- Comment #48 from chamith buddhika <ch...@gmail.com> 2010-06-25 08:18:55 EDT ---
Created an attachment (id=25640)
--> (https://issues.apache.org/bugzilla/attachment.cgi?id=25640)
o.a.Catalina.tribes Patch
Now descriptors for classes SimpleTcpCluster, ReplicationValve and
SimpleTcpReplicationManager have been localized to this package descriptor.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 49234] JMX Descriptor Modifications
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49234
chamith buddhika <ch...@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #25862|0 |1
is obsolete| |
--- Comment #81 from chamith buddhika <ch...@gmail.com> 2010-08-14 21:31:34 EDT ---
Created an attachment (id=25885)
--> (https://issues.apache.org/bugzilla/attachment.cgi?id=25885)
o.a.Catalina.Core Operations Fourth Patch
Modifies startChildren handling even with an exception thrown.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 49234] JMX Descriptor Modifications
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49234
--- Comment #80 from Pid <pi...@apache.org> 2010-08-13 03:26:46 EDT ---
(In reply to comment #79)
> (In reply to comment #78)
> > (In reply to comment #77)
> > > Just as a reminder remember one of the goals of this work was to be able to
> > > start with a 'blank' server object and completely configure a Tomcat instance
> > > via JMX. i.e. add a servic, engine, host and contexts. Add one or more
> > > connectors and be able to serve content from the contexts.
> >
> > I guess above (add a servic, engine, host and contexts. Add one or more
> > connectors and be able to serve content from the contexts) can be done using a
> > combination of addChild and/or MBeanFactory create methods as of now.
>
> Any comment on this?
Mark is away, please be patient.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 49234] JMX Descriptor Modifications
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49234
--- Comment #83 from Mark Thomas <ma...@apache.org> 2010-08-17 11:23:43 EDT ---
(In reply to comment #79)
> (In reply to comment #78)
> > (In reply to comment #77)
> > > Just as a reminder remember one of the goals of this work was to be able to
> > > start with a 'blank' server object and completely configure a Tomcat instance
> > > via JMX. i.e. add a servic, engine, host and contexts. Add one or more
> > > connectors and be able to serve content from the contexts.
> >
> > I guess above (add a servic, engine, host and contexts. Add one or more
> > connectors and be able to serve content from the contexts) can be done using a
> > combination of addChild and/or MBeanFactory create methods as of now.
>
> Any comment on this?
Rather than 'guessing' and copy and pasting my own comments, what you should
have been doing is trying this for yourself.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 49234] JMX Descriptor Modifications
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49234
--- Comment #78 from chamith buddhika <ch...@gmail.com> 2010-08-11 23:09:16 EDT ---
(In reply to comment #77)
> Just as a reminder remember one of the goals of this work was to be able to
> start with a 'blank' server object and completely configure a Tomcat instance
> via JMX. i.e. add a servic, engine, host and contexts. Add one or more
> connectors and be able to serve content from the contexts.
I guess above (add a servic, engine, host and contexts. Add one or more
connectors and be able to serve content from the contexts) can be done using a
combination of addChild and/or MBeanFactory create methods as of now.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 49234] JMX Descriptor Modifications
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49234
--- Comment #8 from Mark Thomas <ma...@apache.org> 2010-05-06 08:14:47 EDT ---
(In reply to comment #6)
> Created an attachment (id=25405)
--> (https://issues.apache.org/bugzilla/attachment.cgi?id=25405) [details]
> o.a.Catalina.Core Descriptor Attributes
Patch applied. Many thanks.
For future reference:
- The description needs to be on a single line. Line breaks look odd in
JConsole.
- Try and keep the alignment consistent throughout the file
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 49234] JMX Descriptor Modifications
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49234
chamith buddhika <ch...@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #25564|0 |1
is obsolete| |
--- Comment #37 from chamith buddhika <ch...@gmail.com> 2010-06-23 22:32:46 EDT ---
Created an attachment (id=25635)
--> (https://issues.apache.org/bugzilla/attachment.cgi?id=25635)
o.a.Catalina.tribes.membership Modified Patch
Adds correct handling of nulls missing in the previous patch.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 49234] JMX Descriptor Modifications
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49234
--- Comment #58 from chamith buddhika <ch...@gmail.com> 2010-07-08 07:05:50 EDT ---
Created an attachment (id=25733)
--> (https://issues.apache.org/bugzilla/attachment.cgi?id=25733)
o.a.Catalina.users Patch
Removes non existent class descriptors.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 49234] JMX Descriptor Modifications
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49234
chamith buddhika <ch...@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #25473|0 |1
is obsolete| |
Attachment #25634|0 |1
is obsolete| |
--- Comment #45 from chamith buddhika <ch...@gmail.com> 2010-06-25 08:11:37 EDT ---
Created an attachment (id=25637)
--> (https://issues.apache.org/bugzilla/attachment.cgi?id=25637)
o.a.Catalina.ha Modified Patch
Removes references to old TC cluster classes which are non existent in the
trunk. Now the descriptor is empty. Can possibly be removed.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 49234] JMX Descriptor Modifications
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49234
--- Comment #1 from Mark Thomas <ma...@apache.org> 2010-05-01 11:16:58 EDT ---
username and password are meant to be read/write, otherwise looks good. Please
update your patch and I'll apply it.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 49234] JMX Descriptor Modifications
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49234
chamith buddhika <ch...@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #25908|0 |1
is obsolete| |
--- Comment #89 from chamith buddhika <ch...@gmail.com> 2010-08-25 10:42:02 EDT ---
Created an attachment (id=25937)
--> (https://issues.apache.org/bugzilla/attachment.cgi?id=25937)
o.a.Catalina.core Operations Patch 6
This iteration of the patch adds a ServiceMBean to enhance Service related
functionalities. AddConnector and related methods are now properly available in
Service MBean. Includes several other modifications for the earlier patch like
removal of startChild method in ContainerMBean and initializing the children
during addChild.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 49234] JMX Descriptor Modifications
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49234
--- Comment #28 from chamith buddhika <ch...@gmail.com> 2010-06-09 06:08:17 EDT ---
Created an attachment (id=25562)
--> (https://issues.apache.org/bugzilla/attachment.cgi?id=25562)
o.a.Catalina.session Patch
Adds missing attributes/methods and reorders them.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 49234] JMX Descriptor Modifications
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49234
--- Comment #74 from chamith buddhika <ch...@gmail.com> 2010-08-10 00:22:51 EDT ---
(In reply to comment #73)
> Created an attachment (id=25862)
--> (https://issues.apache.org/bugzilla/attachment.cgi?id=25862) [details]
> o.a.Catalina.Core Operations Third Patch
>
> This patch adds to addChild method in ContainerMBean and does some adding and
> redorderings to the o.a.c.Core descriptor.
>
> - Start Tomcat
> - Via JMX, select the host
>
> - Create a new context ----> addChild
>
> - Configure it to serve content (e.g. from an external directory) ---> Other
> descriptor methods in StandardContext
>
> - Start it --> start/ startChild methods
>
> - Check the content is accessible --> Currently not sure how this can be done
Any comment on this?
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 49234] JMX Descriptor Modifications
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49234
chamith buddhika <ch...@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #25885|0 |1
is obsolete| |
Attachment #25888|0 |1
is obsolete| |
--- Comment #84 from chamith buddhika <ch...@gmail.com> 2010-08-18 12:28:25 EDT ---
Created an attachment (id=25908)
--> (https://issues.apache.org/bugzilla/attachment.cgi?id=25908)
o.a.Catalina.Core Operations Patch- Fix
A bug fix patch for earlier patches. Now it is possible to start from a Server
and add a service, engine, host, context and connectors to come up with a
configured server.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 49234] JMX Descriptor Modifications
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49234
--- Comment #11 from chamith buddhika <ch...@gmail.com> 2010-05-15 23:28:41 EDT ---
Created an attachment (id=25444)
--> (https://issues.apache.org/bugzilla/attachment.cgi?id=25444)
o.a.Catalina.Deploy Patch
Patch for o.a.Catalina.Deploy package. Adds getter and setter support for the
properties of ContextResourceLink additionally.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 49234] JMX Descriptor Modifications
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49234
--- Comment #72 from Mark Thomas <ma...@apache.org> 2010-08-06 02:46:42 EDT ---
(In reply to comment #71)
> (In reply to comment #70)
> > (In reply to comment #69)
>
> I am little bit confused here.
> > - Start Tomcat
>
> I was under the impression Tomcat should have been already started for MBean
> Server to be up and running and to do any work with JMX.
Those steps are a series of actions the user should be able to perform.
> These can be done in one method or using a series of JMX method invocations.
Neither. These are user actions. But, the JMX methods need to be there to
support them once Tomcat has been started.
> But I guess we can provide the flexibility for both ways.
Not necessary.
> WDYT?
I think you missed the point. addChild() needs to make sure that the child is
visible in JMX so it can be configured (again via JMX) before it is started.
Note my previous comment about using startChildren attribute of the parent to
ensure the child isn't started until it has been configured.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 49234] JMX Descriptor Modifications
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49234
--- Comment #23 from Rainer Jung <ra...@kippdata.de> 2010-06-03 09:52:52 EDT ---
(In reply to comment #21)
> I found references to some classes I cannot seem to find in the code base? Am I
> missing some thing here? Classes are
>
> - ClusterReceiverBase
> - SocketReplicatonListener
> - AsyncSocketSender
> - FastAsyncSocketSender
> - PooledSocketSender
> - SocketSender
At least some of them were part of Tomcat 5.5 ´cluster and have been dropped
when the new Tomcat 6 cluster was written.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 49234] JMX Descriptor Modifications
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49234
--- Comment #53 from Mark Thomas <ma...@apache.org> 2010-07-02 14:28:42 EDT ---
comment #36 - Patch applied
comment #37 - Patch applied
comment #45 - Patch applied
comment #46 - Patch NOT applied
comment #47 - Patch NOT applied
comment #48 - Patch NOT applied
comment #49 - Patch NOT applied
None of the last four patches were applied since they appear to define MBeans
in different packages to where class. The simple rule is that the descriptor
for a package should include descriptions for classes in that package and that
package only.
Maintenance will be a nightmare if the descriptor is in a different package.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 49234] JMX Descriptor Modifications
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49234
--- Comment #51 from chamith buddhika <ch...@gmail.com> 2010-06-27 07:38:53 EDT ---
I cannot seem to find classes FastCommonAccessLogValve, RequestDamperValve and
RequestListenerValve described in o.a.Catalina.Valves. Have they been removed
from the code base? Will it be possible to remove their descriptors?
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 49234] JMX Descriptor Modifications
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49234
--- Comment #29 from chamith buddhika <ch...@gmail.com> 2010-06-09 06:10:02 EDT ---
Created an attachment (id=25563)
--> (https://issues.apache.org/bugzilla/attachment.cgi?id=25563)
o.a.Catalina.Startup Patch
Adds missing attributes.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 49234] JMX Descriptor Modifications
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49234
--- Comment #39 from chamith buddhika <ch...@gmail.com> 2010-06-25 06:55:48 EDT ---
(In reply to comment #38)
> (In reply to comment #31)
> > o.a.Catalina.tribes package descriptor has got mbeans which are present in
> > other several packages as well. They are
> >
> > SimpleTcpCluster
> > Present in following package descriptors
> > - o.a.Catalina.ha.tcp
> > - o.a.Catalina.ha
> > - o.a.Catalina.tribes
> > - o.a.Catalina.tribes.transport
> >
> > ReplicationValve
> > Present in above 4 packages as SimpleTcpCluster
> >
> > SimpleTcpReplicationManager
> > Present in following package descriptors
> > - o.a.Catalina.ha.session
> > - o.a.Catalina.tribes
> >
> > These mbeans are present in packages with some differences in attributes and
> > operations. The other difference is being that they are in different groups.
> > Any suggestions for proceeding with this scenario? I am guessing this
> > replication may have been intended? Anyway they can be made consistent across
> > packages with respect to their attributes and methods.
>
> Any suggestions for the localization of these descriptors? I am planning to
> localize all of these class descriptors to o.a.Catalina.tribes mbeans
> descriptor.
I have localized them in to the o.a.Catalina.tribes package descriptor. Will be
committing the changes soon.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 49234] JMX Descriptor Modifications
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49234
--- Comment #10 from chamith buddhika <ch...@gmail.com> 2010-05-15 23:21:44 EDT ---
It seems that o.a.Catalina.Core descriptor has got operations containing POJO
objects instead of primitive types which make them inaccessible via JConsole.
Was this intended or does any one have suggestions for handling POJO object
parameters in mbean descriptors in general?
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 49234] JMX Descriptor Modifications
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49234
--- Comment #64 from chamith buddhika <ch...@gmail.com> 2010-07-19 10:25:49 EDT ---
(In reply to comment #63)
> (In reply to comment #10)
> > It seems that o.a.Catalina.Core descriptor has got operations containing POJO
> > objects instead of primitive types which make them inaccessible via JConsole.
> > Was this intended or does any one have suggestions for handling POJO object
> > parameters in mbean descriptors in general?
>
> For this I was considering to use a separate MBean whose methods would take an
> oname of the respective component as a string. But it seems currently there is
> no facility (in the Registry) to obtain the associated resource object given
> the oname of a component. Alternatively it is possible to create a component
> from a scratch within the mbean method in add methods. But remove methods still
> requires obtaining the resource from the corresponding oname. Am I missing some
> thing here?
Hi All,
Currently I am bit stuck on above. Any ideas on this?
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 49234] JMX Descriptor Modifications
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49234
--- Comment #18 from chamith buddhika <ch...@gmail.com> 2010-05-23 01:38:44 EDT ---
Created an attachment (id=25474)
--> (https://issues.apache.org/bugzilla/attachment.cgi?id=25474)
o.a.Catalina.ha.deploy Patch
Adds missing attributes to FarmWarDeployer.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 49234] JMX Descriptor Modifications
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49234
chamith buddhika <ch...@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #25837|0 |1
is obsolete| |
--- Comment #73 from chamith buddhika <ch...@gmail.com> 2010-08-07 22:04:13 EDT ---
Created an attachment (id=25862)
--> (https://issues.apache.org/bugzilla/attachment.cgi?id=25862)
o.a.Catalina.Core Operations Third Patch
This patch adds to addChild method in ContainerMBean and does some adding and
redorderings to the o.a.c.Core descriptor.
- Start Tomcat
- Via JMX, select the host
- Create a new context ----> addChild
- Configure it to serve content (e.g. from an external directory) ---> Other
descriptor methods in StandardContext
- Start it --> start/ startChild methods
- Check the content is accessible --> Currently not sure how this can be done
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 49234] JMX Descriptor Modifications
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49234
--- Comment #76 from Mark Thomas <ma...@apache.org> 2010-08-11 12:59:22 EDT ---
Thanks for the updated patch.
I wasn't thinking of explicitly setting startChildren in the addChild() method
but it is a good idea and I like it. However, you need to rework your patch to
ensure startChildren is always reset, even if an Exception occurs.
Also, there is no need to manipulate startChildren in startChild() - at least I
can't see one.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 49234] JMX Descriptor Modifications
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49234
--- Comment #79 from chamith buddhika <ch...@gmail.com> 2010-08-13 00:47:56 EDT ---
(In reply to comment #78)
> (In reply to comment #77)
> > Just as a reminder remember one of the goals of this work was to be able to
> > start with a 'blank' server object and completely configure a Tomcat instance
> > via JMX. i.e. add a servic, engine, host and contexts. Add one or more
> > connectors and be able to serve content from the contexts.
>
> I guess above (add a servic, engine, host and contexts. Add one or more
> connectors and be able to serve content from the contexts) can be done using a
> combination of addChild and/or MBeanFactory create methods as of now.
Any comment on this?
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 49234] JMX Descriptor Modifications
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49234
--- Comment #86 from chamith buddhika <ch...@gmail.com> 2010-08-23 09:41:38 EDT ---
(In reply to comment #85)
> When adding child containers, the children need to be initialized. This will
> register them with the MBeanServer so they can be configured before they are
> started. That should also make the startChild() method unnecessary.
>
I am little bit confused here. MBean registration for the component happens
within init(). But it is called as a part of the start() procedure. If I am
not mistaken init() consist of only part of this start procedure. So still we
may have to call the start method of the child to get the other stuff properly
executed (e.g: startInternal())? Calling start on already inited component
doesn't have any other side effects as I understood looking at the state
diagram on the Lifecycle class.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 49234] JMX Descriptor Modifications
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49234
--- Comment #77 from Mark Thomas <ma...@apache.org> 2010-08-11 13:07:03 EDT ---
Just as a reminder remember one of the goals of this work was to be able to
start with a 'blank' server object and completely configure a Tomcat instance
via JMX. i.e. add a servic, engine, host and contexts. Add one or more
connectors and be able to serve content from the contexts.
I'll be happy to apply this patch when it can be used to add children to
containers via X.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 49234] JMX Descriptor Modifications
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49234
--- Comment #41 from chamith buddhika <ch...@gmail.com> 2010-06-25 07:16:23 EDT ---
(In reply to comment #40)
> (In reply to comment #25)
> > (In reply to comment #24)
> > > (In reply to comment #23)
> > >
> > > > At least some of them were part of Tomcat 5.5 ´cluster and have been dropped
> > > > when the new Tomcat 6 cluster was written.
> > >
> > > So their corresponding descriptors can be safely removed?
> >
> > Yes, but first check
> >
> > - that those classes exist in the old tc 5.5 cluster (under
> > tc5.5.x/trunk/container/modules the directories are cluster, ha, groupcom) . If
> > they are not there, we missed something.
> >
> > - and that they are no longer present in any cluster related package in TC 7
> > (which is easy, because since Tomcat 6 all Java classes are in the same
> > directory tree).
> >
> > Regards,
> >
> > Rainer
>
> I couldn't find the mentioned classes in Tomcat 5.5 and nor they are present in
> the trunk.
I found some of the classes in TC5.0. Namely
> - PooledSocketSender
> - SocketSender
> - AsyncSocketSender
> - ReplicationTransmitter
Some of the other classes are missing in TC5.0 as well.
> - ClusterReceiverBase
> - SocketReplicatonListener
> - FastAsyncSocketSender
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 49234] JMX Descriptor Modifications
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49234
--- Comment #75 from Mark Thomas <ma...@apache.org> 2010-08-10 09:46:59 EDT ---
> > Created an attachment (id=25862)
--> (https://issues.apache.org/bugzilla/attachment.cgi?id=25862) [details]
[details]
>
> Any comment on this?
I only have intermittent internet access at the moment. I have just downloaded
this for review.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 49234] JMX Descriptor Modifications
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49234
--- Comment #19 from Mark Thomas <ma...@apache.org> 2010-05-25 19:45:16 EDT ---
comment #15 - Patch applied
- Doesn't add much since container is unavailable
- More fuel for the separate MBean vs adding methods that return
the
oname debate
comment #16 - Patch applied
- SimpleTcpReplicationManager is in o.a.c.ha.session package
- Looks like a duplicate. I'm fine with removal.
comment #17 - Huh? That class in in that package. Please re-check.
comment #18 - Applied
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 49234] JMX Descriptor Modifications
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49234
chamith buddhika <ch...@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #25378|0 |1
is obsolete| |
--- Comment #2 from chamith buddhika <ch...@gmail.com> 2010-05-02 22:09:56 EDT ---
Created an attachment (id=25389)
--> (https://issues.apache.org/bugzilla/attachment.cgi?id=25389)
Modified patch
Username and password descriptors are included.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 49234] JMX Descriptor Modifications
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49234
--- Comment #12 from chamith buddhika <ch...@gmail.com> 2010-05-15 23:45:37 EDT ---
In o.a.Catalina.Deploy descriptor for NamingResources the associated MBean
(NamingResourceMBean) only exposes add/remove methods for following properties.
- Environment
- Resource
- ResourceLink
In the NamingResource object following additional properties are present which
have corresponding add/remove methods.
- EJB
- LocalEJB
- MessageDestinationRef
- PropertyChangeListener
- ResourceEnvRef
- Service
I am not sure about the applicability of these additional properties in the
context of remote administrative purposes. Any idea on this matter is
appreciated.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 49234] JMX Descriptor Modifications
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49234
chamith buddhika <ch...@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #25640|0 |1
is obsolete| |
--- Comment #56 from chamith buddhika <ch...@gmail.com> 2010-07-06 13:05:22 EDT ---
Created an attachment (id=25719)
--> (https://issues.apache.org/bugzilla/attachment.cgi?id=25719)
o.a.Catalina.tribes Modified Patch
Removes SimpleTcpReplicationManager, SimpleTcpCluster and ReplicationValve from
this package descriptor since the classes themselves are not belonging to this
package. Now the descriptor is empty. Possible to be removed.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 49234] JMX Descriptor Modifications
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49234
--- Comment #24 from chamith buddhika <ch...@gmail.com> 2010-06-09 00:10:04 EDT ---
(In reply to comment #23)
> At least some of them were part of Tomcat 5.5 ´cluster and have been dropped
> when the new Tomcat 6 cluster was written.
So their corresponding descriptors can be safely removed?
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 49234] JMX Descriptor Modifications
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49234
--- Comment #88 from chamith buddhika <ch...@gmail.com> 2010-08-23 10:16:02 EDT ---
(In reply to comment #86)
> I am little bit confused here. MBean registration for the component happens
> within init(). But it is called as a part of the start() procedure. If I am
> not mistaken init() consist of only part of this start procedure. So still we
> may have to call the start method of the child to get the other stuff properly
> executed (e.g: startInternal())? Calling start on already inited component
> doesn't have any other side effects as I understood looking at the state
> diagram on the Lifecycle class.
Actually now I realize that once the child is visible via JMX we can directly
call child's start method to start it once we are finished configuring it. So
the startChild method of the parent is not strictly necessary. So I guess I
will be removing that.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 49234] JMX Descriptor Modifications
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49234
--- Comment #26 from chamith buddhika <ch...@gmail.com> 2010-06-09 05:02:32 EDT ---
Created an attachment (id=25555)
--> (https://issues.apache.org/bugzilla/attachment.cgi?id=25555)
o.a.Catalina.Mbeans Patch
Adds missing methods.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 49234] JMX Descriptor Modifications
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49234
--- Comment #38 from chamith buddhika <ch...@gmail.com> 2010-06-25 06:36:26 EDT ---
(In reply to comment #31)
> o.a.Catalina.tribes package descriptor has got mbeans which are present in
> other several packages as well. They are
>
> SimpleTcpCluster
> Present in following package descriptors
> - o.a.Catalina.ha.tcp
> - o.a.Catalina.ha
> - o.a.Catalina.tribes
> - o.a.Catalina.tribes.transport
>
> ReplicationValve
> Present in above 4 packages as SimpleTcpCluster
>
> SimpleTcpReplicationManager
> Present in following package descriptors
> - o.a.Catalina.ha.session
> - o.a.Catalina.tribes
>
> These mbeans are present in packages with some differences in attributes and
> operations. The other difference is being that they are in different groups.
> Any suggestions for proceeding with this scenario? I am guessing this
> replication may have been intended? Anyway they can be made consistent across
> packages with respect to their attributes and methods.
Any suggestions for the localization of these descriptors? I am planning to
localize all of these class descriptors to o.a.Catalina.tribes mbeans
descriptor.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 49234] JMX Descriptor Modifications
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49234
--- Comment #71 from chamith buddhika <ch...@gmail.com> 2010-08-06 01:50:32 EDT ---
(In reply to comment #70)
> (In reply to comment #69)
I am little bit confused here.
> - Start Tomcat
I was under the impression Tomcat should have been already started for MBean
Server to be up and running and to do any work with JMX.
> - Via JMX, select the host
> - Create a new context
> - Configure it to serve content (e.g. from an external directory)
> - Start it
These can be done in one method or using a series of JMX method invocations.
But I guess we can provide the flexibility for both ways. The issue I am having
in order to incorporate these into addChild() is the fact that this method is
common to Engine, Host and Context. But the above steps seem to be specified
towards adding a child (a Context) to a given host. To accommodate that within
addChild we may have to conditionally check for each type of the child (whether
it is a Host or a Context etc.) and take suitable actions (if new Context above
steps or if new Host something else) according to that. It is possible but one
issue that may crop up is different types of children needing different types
of configuration parameters. (e.g: for Context workDir, for Host appBase). May
be we can provide this using a extended MBean classes for different types of
children which overload addChild method with different parameters. WDYT?
> - Check the content is accessible
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 49234] JMX Descriptor Modifications
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49234
chamith buddhika <ch...@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #25641|0 |1
is obsolete| |
--- Comment #57 from chamith buddhika <ch...@gmail.com> 2010-07-06 13:11:26 EDT ---
Created an attachment (id=25720)
--> (https://issues.apache.org/bugzilla/attachment.cgi?id=25720)
o.a.Catalina.tribes.transport Modified Patch
Now the descriptor is empty. Possible to be removed.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 49234] JMX Descriptor Modifications
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49234
--- Comment #70 from Mark Thomas <ma...@apache.org> 2010-08-05 17:52:54 EDT ---
(In reply to comment #69)
"May require some work"?
It sure does. The following needs to be supported:
- Start Tomcat
- Via JMX, select the host
- Create a new context
- Configure it to serve content (e.g. from an external directory)
- Start it
- Check the content is accessible
Hint: It will be a lot easier if you modify your addChild() method to also
specify the name of the child.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 49234] JMX Descriptor Modifications
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49234
--- Comment #92 from Mark Thomas <ma...@apache.org> 2010-09-11 13:51:37 EDT ---
The patch is heading in the right direction and I am tempted to commit it.
However, I see a bunch of stack traces in the logs when I try to start a
Context so I think there is still some more work required but definitely making
progress.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 49234] JMX Descriptor Modifications
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49234
--- Comment #9 from chamith buddhika <ch...@gmail.com> 2010-05-15 22:33:46 EDT ---
Created an attachment (id=25443)
--> (https://issues.apache.org/bugzilla/attachment.cgi?id=25443)
o.a.Catalina.Connector Second Patch
This new patch on connector descriptor extracts out common attributes of
related ProtocolHandler instances. Common attributes are marked with inline
comments.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 49234] JMX Descriptor Modifications
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49234
--- Comment #47 from chamith buddhika <ch...@gmail.com> 2010-06-25 08:16:27 EDT ---
Created an attachment (id=25639)
--> (https://issues.apache.org/bugzilla/attachment.cgi?id=25639)
o.a.Catalina.ha.tcp Patch
Removes old TC5.5 cluster classes. Now the descriptor is empty. Can possibly be
removed.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 49234] JMX Descriptor Modifications
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49234
--- Comment #4 from Mark Thomas <ma...@apache.org> 2010-05-05 05:06:20 EDT ---
Thanks for the updated patches.
The o.a.catalina patch still needs a little work. It makes more changes than it
needs to. The net effect of the patch is to make Role.rolename and User.groups
read-only. Only those changes should be present in the patch file. The changes
that change the order of the attributes need to be removed (attributes are
currently in alphabetical order and should stay that way).
For the o.a.c.connector patch, the initialized attribute was removed in
r940008. As far as possible, patches should be aligned with the code at the
point of submission. It is easy to drop a section of a patch so I have applied
this patch less that one new attribute.
In terms of approach for handling the ProtocolHandlers, that is worth a
discussion on the dev list. I suggest you write an e-mail that outlines the
different options. If you think one option is better than the rest then include
that in the e-mail along with why you think it is better.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 49234] JMX Descriptor Modifications
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49234
--- Comment #59 from chamith buddhika <ch...@gmail.com> 2010-07-08 07:09:03 EDT ---
Created an attachment (id=25734)
--> (https://issues.apache.org/bugzilla/attachment.cgi?id=25734)
o.a.Catalina.valves Patch
Removes non existent class descriptors and adds missing attributes.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 49234] JMX Descriptor Modifications
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49234
--- Comment #87 from Mark Thomas <ma...@apache.org> 2010-08-23 09:53:20 EDT ---
(In reply to comment #86)
> I am little bit confused here. MBean registration for the component happens
> within init(). But it is called as a part of the start() procedure.
It can be called as part of start() but it doesn't have to be.
> If I am
> not mistaken init() consist of only part of this start procedure. So still we
> may have to call the start method of the child to get the other stuff properly
> executed (e.g: startInternal())? Calling start on already inited component
> doesn't have any other side effects as I understood looking at the state
> diagram on the Lifecycle class.
Take a look at the LifecycleBase class.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 49234] JMX Descriptor Modifications
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49234
--- Comment #32 from chamith buddhika <ch...@gmail.com> 2010-06-09 06:25:46 EDT ---
Created an attachment (id=25564)
--> (https://issues.apache.org/bugzilla/attachment.cgi?id=25564)
o.a.Catalina.tribes.membership Patch
Remove mbean descriptor methods using deprecated methods and adds new ones.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 49234] JMX Descriptor Modifications
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49234
--- Comment #27 from chamith buddhika <ch...@gmail.com> 2010-06-09 05:45:12 EDT ---
Created an attachment (id=25556)
--> (https://issues.apache.org/bugzilla/attachment.cgi?id=25556)
o.a.Catalina.Realm Patch
UserDatabaseRealm and LockoutRealm contains a method with POJO parameters.
addRealm(org.apache.catalina.Realm)
I think an overload having a String would do the trick since there is only one
method to be taken care of. So a seperate MBean resource is not necessary.
The patch adds missing attributes and methods and does some reordering of
attributes as well.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 49234] JMX Descriptor Modifications
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49234
--- Comment #15 from chamith buddhika <ch...@gmail.com> 2010-05-23 00:20:48 EDT ---
Created an attachment (id=25471)
--> (https://issues.apache.org/bugzilla/attachment.cgi?id=25471)
o.a.Catalina.Deploy Second Patch
Adds getContainer() method
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 49234] JMX Descriptor Modifications
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49234
--- Comment #66 from chamith buddhika <ch...@gmail.com> 2010-07-23 03:58:36 EDT ---
Created an attachment (id=25796)
--> (https://issues.apache.org/bugzilla/attachment.cgi?id=25796)
o.a.Catalina.Core Operations Patch
This deals with operations add/remove valve/lifecycleListener in the
StandardContext mbean. Seperate MBean called ContainerMBean has been created
with the operations. The operations are available at container level (not just
StandardContext level) hence the name ContainerMBean. But this still doesn't
account for addChild methods present in the descriptor. For valves and
lifecycleListeners new instances have been created using the provided
classnames. I am still exploring the possibility of using that approach to
addChild methods as well.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 49234] JMX Descriptor Modifications
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49234
--- Comment #7 from Mark Thomas <ma...@apache.org> 2010-05-06 07:58:47 EDT ---
(In reply to comment #5)
> Created an attachment (id=25404)
--> (https://issues.apache.org/bugzilla/attachment.cgi?id=25404) [details]
> o.a.Catalina-Final-patch
There are still a lot of unnecessary white-space changes in that patch. I have
applied the patch, less the whitespace changes.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 49234] JMX Descriptor Modifications
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49234
--- Comment #90 from chamith buddhika <ch...@gmail.com> 2010-09-09 11:01:50 EDT ---
(In reply to comment #89)
> Created an attachment (id=25937)
--> (https://issues.apache.org/bugzilla/attachment.cgi?id=25937) [details]
> o.a.Catalina.core Operations Patch 6
>
> This iteration of the patch adds a ServiceMBean to enhance Service related
> functionalities. AddConnector and related methods are now properly available in
> Service MBean. Includes several other modifications for the earlier patch like
> removal of startChild method in ContainerMBean and initializing the children
> during addChild.
With this patch I am able to do following successfully.
1. Create a Service and Engine
2. Create and add a connector to the service
3. Initialize the service, engine and connectors
3. Create a Host and Context and initialize them
It is not clear what sequence of next steps to be taken to add and serve a
resource after this. Any ideas on how to proceed?
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 49234] JMX Descriptor Modifications
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49234
chamith buddhika <ch...@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #25389|0 |1
is obsolete| |
--- Comment #5 from chamith buddhika <ch...@gmail.com> 2010-05-05 22:15:36 EDT ---
Created an attachment (id=25404)
--> (https://issues.apache.org/bugzilla/attachment.cgi?id=25404)
o.a.Catalina-Final-patch
Attribute swap reverted.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 49234] JMX Descriptor Modifications
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49234
--- Comment #33 from Mark Thomas <ma...@apache.org> 2010-06-13 17:28:29 EDT ---
comment #20 - Patch applied
comment #21 - Patch *NOT* applied
resetStatistics() operation has been removed yet it exists. Why?
comment #26 - Patch applied
comment #27 - Patch applied - I'm fine with an overloaded method
comment #28 - Patch applied
comment #29 - Patch applied - I'm fine with an overloaded method
comment #31 - Probably duplicates that need to be cleaned up
comment #32 - Patch *NOT* applied
Patch does not handle nulls correctly
The applied patches will be in Tomcat 7.0.1 onwards.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 49234] JMX Descriptor Modifications
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49234
--- Comment #43 from Rainer Jung <ra...@kippdata.de> 2010-06-25 07:29:52 EDT ---
(In reply to comment #40)
> (In reply to comment #25)
> > (In reply to comment #24)
> > > (In reply to comment #23)
> > >
> > > > At least some of them were part of Tomcat 5.5 ´cluster and have been dropped
> > > > when the new Tomcat 6 cluster was written.
> > >
> > > So their corresponding descriptors can be safely removed?
> >
> > Yes, but first check
> >
> > - that those classes exist in the old tc 5.5 cluster (under
> > tc5.5.x/trunk/container/modules the directories are cluster, ha, groupcom) . If
> > they are not there, we missed something.
> >
> > - and that they are no longer present in any cluster related package in TC 7
> > (which is easy, because since Tomcat 6 all Java classes are in the same
> > directory tree).
> >
> > Regards,
> >
> > Rainer
>
> I couldn't find the mentioned classes in Tomcat 5.5 and nor they are present in
> the trunk.
Menioned classes were.
- ClusterReceiverBase
- SocketReplicatonListener
- AsyncSocketSender
- FastAsyncSocketSender
- PooledSocketSender
- SocketSender
In
tc5.5.x/trunk/container/modules/cluster/src/share/org/apache/catalina/cluster/tcp
you will find all of them. Curious how you missed them.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 49234] JMX Descriptor Modifications
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49234
--- Comment #62 from chamith buddhika <ch...@gmail.com> 2010-07-15 21:45:46 EDT ---
(In reply to comment #61)
> Ping. No update/progress in over a week. Again.
>
> Overall I am beginning to have serious concerns about the rate of progress of
> this project.
Sorry. It seems the I have gone through all the mbean-descriptors in the tomcat
packages as of now in the first round. Now I am evaluating what I have missed
in the first round. There are some work left in several packages which I have
been working on lately. Will provide a patch soon. e.g.: o.a.Catalina.Core POJO
operations.Apart from those I guess descriptor related work should be pretty
much done. Are there any specific other JMX related improvements that you have
in mind?
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 49234] JMX Descriptor Modifications
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49234
chamith buddhika <ch...@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #25516|0 |1
is obsolete| |
--- Comment #46 from chamith buddhika <ch...@gmail.com> 2010-06-25 08:14:50 EDT ---
Created an attachment (id=25638)
--> (https://issues.apache.org/bugzilla/attachment.cgi?id=25638)
o.a.Catalina.ha.session Modified Patch
Removes SimpleTcpReplicationManager which has been moved to o.a.Catalina.tribes
package descriptor.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 49234] JMX Descriptor Modifications
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49234
--- Comment #65 from Mark Thomas <ma...@apache.org> 2010-07-21 12:19:16 EDT ---
(In reply to comment #64)
> Currently I am bit stuck on above. Any ideas on this?
I'd start by looking at the MBeans for the components that currently have
separate MBeans.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 49234] JMX Descriptor Modifications
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49234
chamith buddhika <ch...@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #96 from chamith buddhika <ch...@gmail.com> 2010-09-16 03:04:51 EDT ---
As per Mark's suggestion I am marking this issue as resolved and continue any
further work as new issues.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 49234] JMX Descriptor Modifications
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49234
--- Comment #85 from Mark Thomas <ma...@apache.org> 2010-08-20 11:31:41 EDT ---
The patch is getting there but there is still quite a lot of work to do.
Starting from just a Server object the patch is insufficient. See my commits
earlier today for StandardServer and MBeanFactory. Further work is also
required. See below for details.
The patch contained a number of tabs. I'd suggest enabling validation as it
will pick this up as part of the build process.
The two new files are missing the mandatory AL2 license header.
When adding child containers, the children need to be initialized. This will
register them with the MBeanServer so they can be configured before they are
started. That should also make the startChild() method unnecessary.
I fixed most of the above and then tested with a server.xml that just had a
Server object defined. I could add everything I needed to and some bits worked
(others didn't) but I still saw a lot of errors. Overall I think you need to do
more testing and generally make things more robust.
On a related point, I noticed that the addConnector method on Service isn't
available via JMX. I suspect that this isn't an isolated issue and that other
methods exposed via MBeans will have similar issues that need to be fixed.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 49234] JMX Descriptor Modifications
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49234
--- Comment #21 from chamith buddhika <ch...@gmail.com> 2010-06-03 08:52:31 EDT ---
Created an attachment (id=25517)
--> (https://issues.apache.org/bugzilla/attachment.cgi?id=25517)
o.a.Catalina.ha.tcp Patch
I found references to some classes I cannot seem to find in the code base? Am I
missing some thing here? Classes are
- ClusterReceiverBase
- SocketReplicatonListener
- AsyncSocketSender
- FastAsyncSocketSender
- PooledSocketSender
- SocketSender
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 49234] JMX Descriptor Modifications
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49234
--- Comment #68 from Mark Thomas <ma...@apache.org> 2010-08-01 16:06:35 EDT ---
(In reply to comment #67)
> Any comments on this? However I am not sure this approach can be applied to
> addChild methods since different child types (Host, Context e.g.) require
> different parameters for their initialization.
Please ping sooner if you don't getting a reply in 48 hours. I missed your
23/07 post.
1. Please use 4 spaces not tabs
2. All public methods should have Javadoc comments
3. Why only modify the descriptor for StandardContext? What about Host, Engine
etc
4. re addChild. All children *must* implement Container and they all should
have a no-arg constructor. It should be simple to write a addChild method that
takes a class name. The startChldren attribute on the parent can be used to
prevent the added child from being started until it has been initialised. You
may need to change the visibility of the LifecycleMBeanBase.register() method
Overall, this looks to be heading in the right direction but I'd like to see it
get to the point where all containers can be added and removed via JMX before
it is committed.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 49234] JMX Descriptor Modifications
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49234
--- Comment #52 from Rainer Jung <ra...@kippdata.de> 2010-06-27 13:15:50 EDT ---
(In reply to comment #51)
> I cannot seem to find classes FastCommonAccessLogValve, RequestDamperValve and
> RequestListenerValve described in o.a.Catalina.Valves. Have they been removed
> from the code base? Will it be possible to remove their descriptors?
See:
http://svn.apache.org/viewvc?view=revision&revision=769347
http://svn.apache.org/viewvc?view=revision&revision=805375
http://svn.apache.org/viewvc?view=revision&revision=302036
Regards,
Rainer
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 49234] JMX Descriptor Modifications
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49234
--- Comment #49 from chamith buddhika <ch...@gmail.com> 2010-06-25 08:20:48 EDT ---
Created an attachment (id=25641)
--> (https://issues.apache.org/bugzilla/attachment.cgi?id=25641)
o.a.Catalina.tribes.transport Patch
Removes duplicated descriptors from this package. (Moved to o.a.Catalina.tribes
descriptor). Now the descriptor is empty. Can possibly be removed.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 49234] JMX Descriptor Modifications
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49234
chamith buddhika <ch...@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #25517|0 |1
is obsolete| |
--- Comment #36 from chamith buddhika <ch...@gmail.com> 2010-06-23 22:06:33 EDT ---
Created an attachment (id=25634)
--> (https://issues.apache.org/bugzilla/attachment.cgi?id=25634)
o.a.Catalina.ha Modified Patch
Adds missed incorrectly out resetStatistics() function in earlier patch.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 49234] JMX Descriptor Modifications
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49234
--- Comment #3 from chamith buddhika <ch...@gmail.com> 2010-05-03 02:26:58 EDT ---
Created an attachment (id=25390)
--> (https://issues.apache.org/bugzilla/attachment.cgi?id=25390)
catalina.connector-descriptor
Package: org.apache.catalina.connector
This patch adds some attributes missing in mbeans descriptor for
CoyoteConnector mbean which are present in the underlying Connector object.
Issues related to the this package
So far I have identified following issue with regards to the mbean usage in
this package.
Currently mbean method invocation delegation happens as follows.
ConnectorMBean --> Connector
Now if the connector object is not having the asked property it delegates to
the corresponding ProtocolHandler implementation in order to find whether the
property is present in that class. (via get/setProperty methods in Connector).
Currently there are two ProtocolHandler implementations as I noticed
(Http11Protocol & AjpProtocol). Both these implementations are having different
sets of properties. Currently CoyoteConnector mbean tries to describe both
scenarios with same set of attributes. So some attributes in the descriptor
doesn't make sense in one implementation or the other.
The solution for this issue, as far as I understood is to use separate mbeans
for these two implementations. Any suggestions in this regards are highly
appreciated.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 49234] JMX Descriptor Modifications
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49234
--- Comment #13 from Mark Thomas <ma...@apache.org> 2010-05-19 12:25:07 EDT ---
(In reply to comment #10)
> It seems that o.a.Catalina.Core descriptor has got operations containing POJO
> objects instead of primitive types which make them inaccessible via JConsole.
> Was this intended or does any one have suggestions for handling POJO object
> parameters in mbean descriptors in general?
I don't think there is a one size fits all solution to this. Options include:
- provide a reference to the associated MBean
- add MBean support to the object and then add a reference
- remove them from the descriptor
- provide methods that use primitives to achieve the same ends
- something else
You may want to ask for feedback on the dev list before you start making too
many changes for this.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org