[ http://issues.apache.org/jira/browse/GERONIMO-2526?page=all ]
Anita Kulshreshtha updated GERONIMO-2526:
-----------------------------------------
Attachment: tomcat.patch
This patch sets the value of J2EEApplication and J2EEServer for tomcat
WebModule MBeans. The servlet MBeans now have their J2EEApplication set
correctly.
The WebModule setting in
....:.....,J2EEType=WebModule,name=/host/context and
....:.....................WebModule=/host/context,J2EEType=Servlet,name=.....
can not be changed, because it is constructed by StandardContext. AFAICT this
is not something tomcat folks would want to change for us. Currently JSR77
query will find only one MBean/GBean because the Domain for Mbeans is set to
Geronimo. I am tempted to set the domain to 'geronimo'. This will merge tomcat
MBeans and GBeans and make them indistinguishable. The disadvantage is that the
two WebModules will get listed next to each other. I have run into problems in
changing the domain to 'geronimo'
http://www.nabble.com/Re%3A-Geronimo-jmx-question-p7074904.html. I am leaving
it until I find a way to do this right. The advantage of setting this is that
the servlets can be accessed by
geronimo:...........J2EEType=Servlet,................................
I am also looking at wrapping StandardWrapper ..
Suggestions? If there are no comments, I will comit this after 24 hours.
> Set J2EEApplication and J2EEServer for tomcat MBeans
> ----------------------------------------------------
>
> Key: GERONIMO-2526
> URL: http://issues.apache.org/jira/browse/GERONIMO-2526
> Project: Geronimo
> Issue Type: Bug
> Security Level: public(Regular issues)
> Components: Tomcat
> Affects Versions: 1.2
> Environment: All
> Reporter: Anita Kulshreshtha
> Assigned To: Anita Kulshreshtha
> Priority: Minor
> Attachments: tomcat.patch
>
>
> From a discussion on the list
> http://www.nabble.com/Fairly-big-problem-with-tomcat-integration-tf1574249.html#a4274316:
> Set J2EEApplication and J2EEServer for WebModule and hence the servlets.
> The servlet Mbeans have names like:
> Geronimo:j2eeType=Servlet,name=ServerManager,WebModule=//0.0.0.0/console-standard,
> J2EEApplication=org.apache.geronimo.configs/webconsole-tomcat/1.2-SNAPSHOT/car,J2EEServer=geronimo
> TODO - Find a way to set WebModule
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira