This Bugzilla instance is deprecated, and most Eclipse projects now use GitHub or Eclipse GitLab. Please see the deprecation plan for details.
Bug 248748 - JMX: Create and Add server specific attributes to WebLogic MBeans
Summary: JMX: Create and Add server specific attributes to WebLogic MBeans
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Eclipselink (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Michael OBrien CLA
QA Contact:
URL: http://wiki.eclipse.org/EclipseLink/D...
Whiteboard:
Keywords:
Depends on: 235168 248746 248747 261040 265369
Blocks: 238412 252786 253017 253019 253020 256943 256945 261038 263271 263274 263275 265540 266016 251283 251895 253018 253730 254463 254467 255903 256944 262583 263273 263512 270025 270199 270355 270533 272928 316513
  Show dependency tree
 
Reported: 2008-09-26 12:43 EDT by Michael OBrien CLA
Modified: 2022-06-09 10:04 EDT (History)
3 users (show)

See Also:
peter.krogh: documentation+


Attachments
First pass WebLogic specific MBean JConsole attribute screen (117.52 KB, image/pjpeg)
2008-10-08 16:24 EDT, Michael OBrien CLA
no flags Details
eclipselink core patch (phase 1 - new attributes) (177.71 KB, patch)
2008-10-23 11:48 EDT, Michael OBrien CLA
no flags Details | Diff
WebLogic specific JMX MBean JConsole attribute screen (phase 1) (136.04 KB, image/pjpeg)
2008-10-23 11:50 EDT, Michael OBrien CLA
no flags Details
eclipselink core patch (phase 1 - new attributes) - prep for code-review (186.33 KB, patch)
2008-10-30 10:31 EDT, Michael OBrien CLA
no flags Details | Diff
eclipselink core patch (phase 1 - post code-review) (188.12 KB, patch)
2008-10-31 17:23 EDT, Michael OBrien CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Michael OBrien CLA 2008-09-26 12:43:05 EDT
 
Comment 1 Michael OBrien CLA 2008-09-26 12:50:41 EDT
There are several functions/attributes available for WebLogic that are not exposed using the generic MBean implementations.

The design changes are TBD at this point in a 1.1 extension to the existing 1.0 design doc at....
http://wiki.eclipse.org/EclipseLink/DesignDocs/235168

See related bugs
https://bugs.eclipse.org/bugs/show_bug.cgi?id=248746
https://bugs.eclipse.org/bugs/show_bug.cgi?id=248747
Comment 2 Michael OBrien CLA 2008-09-26 17:00:30 EDT
See 1.0 design doc
http://wiki.eclipse.org/EclipseLink/DesignDocs/235168
See 1.1 design doc
http://wiki.eclipse.org/EclipseLink/DesignDocs/248748

Unreviewed/unedited interface addition candidates
    public String getsessionName() {
    public String getsessionType() {
    public Object[][] getClassSummaryDetailsUsingFilter(String filter){
    public Object[][] getClassSummaryDetails() {
    public Vector getMappedClassNamesUsingFilter(String filter) {
    public String getmoduleName() {
    public String getdeployedEclipseLinkLogLevel() {
    public String getDeployedEclipseLogLevel(String category) {
    public String getcurrentEclipseLogLevel() {
    public String getcurrentEclipseLogLevel(String category) {
    public synchronized void setcurrentEclipseLogLevel(String newLevel) {
    public synchronized String getprofilingType() {
    public synchronized void setprofilingType(String profileType) {
    public void setuseEclipseProfiling() {
    public void setuseDMSProfiling() {
    public Boolean getusesEclipseProfiling() {
    public Boolean getusesDMSProfiling() {
    public void setuseNoProfiling() {
    public synchronized void setshouldLogPerformanceProfiler(Boolean shouldLogPerformanceProfiler) {
    public Boolean getshouldLogPerformanceProfiler() {
    public Boolean getshouldBindAllParameters() {
    public Integer getstringBindingSize() {
    public Boolean getusesBatchWriting() {
    public Long gettimeConnectionEstablished() {
    public Boolean getusesJDBCBatchWriting() {
    public Boolean getusesByteArrayBinding() {
    public Boolean getusesNativeSQL() {
    public Boolean getusesStreamsForBinding() {
    public Boolean getshouldCacheAllStatements() {
    public Integer getstatementCacheSize() {
    public synchronized void clearStatementCache() {
    public Integer getsequencePreallocationSize() {
    public void printAvailableConnectionPools() {
    public Integer getMaxSizeForPool(String poolName) {
    public Integer getMinSizeForPool(String poolName) {
    public void printClassesInSession() {
    public void printObjectsInIdentityMap(String className) throws ClassNotFoundException {
    public void printAllIdentityMapTypes() {
    public void printObjectsInIdentityMaps() {
    public Integer getnumberOfObjectsInAllIdentityMaps() {
    public Integer getnumberOfPersistentClasses() {
    public void printIdentityMapLocks() {
    public void printIdentityMapLocks(String registeredClassName) {
    public void printProfileSummary() {
    public void printProfileSummaryByClass() {
    public void printProfileSummaryByQuery() {
    public String getlogType() {
    public String getdatabasePlatform() {
    public synchronized String getconnectionPoolType() {
    public synchronized String getdriver() {
    public String getlogFilename() {
    public synchronized String getdeployedProfileWeight() {
    public synchronized String getcurrentProfileWeight() {
    public synchronized void setcurrentProfileWeight(String weight) {
    public synchronized void initializeAllIdentityMaps() {
    public synchronized void initializeIdentityMaps(String[] classNames) throws ClassNotFoundException {
    public synchronized void initializeIdentityMap(String className) throws ClassNotFoundException {
    public synchronized void invalidateAllIdentityMaps() {
    public synchronized void invalidateIdentityMaps(String[] classNamesParam, Boolean recurse) throws ClassNotFoundException {
    public synchronized void invalidateIdentityMap(String className) throws ClassNotFoundException {
    public synchronized void invalidateIdentityMap(String className, Boolean recurse) throws ClassNotFoundException {
    public Boolean getcacheSynchEnabled() {
    public Boolean getcacheSynchAsynchronous() {
Comment 3 Michael OBrien CLA 2008-10-08 16:24:09 EDT
Created attachment 114599 [details]
First pass WebLogic specific MBean JConsole attribute screen
Comment 4 Michael OBrien CLA 2008-10-23 11:48:27 EDT
Created attachment 115950 [details]
eclipselink core patch (phase 1 - new attributes)
Comment 5 Michael OBrien CLA 2008-10-23 11:50:40 EDT
Created attachment 115951 [details]
WebLogic specific JMX MBean JConsole attribute screen (phase 1)
Comment 6 Michael OBrien CLA 2008-10-30 10:31:50 EDT
Created attachment 116518 [details]
eclipselink core patch (phase 1 - new attributes) - prep for code-review
Comment 7 Michael OBrien CLA 2008-10-31 16:05:16 EDT
Code-Review: David Minsky

Modifications:
1) - use standard MBean registration format "org.eclipse.persistence" instead of existing "EclipseLink_Domain"
- "Runtime_<session name>" changed to "Runtime-<session name>"

2) - 2 duplicated functions in sub-interface MBeanWebLogicRuntimeMBean that are already in MBeanRuntimeServicesMBean
    public Integer getNumberOfObjectsInIdentityMap(String className) throws ClassNotFoundException;
    public  void resetAllConnections();

3) - Modify null session name error message 
{ "session_key_for_mbean_name_is_null", "Session name used for the MBean registration cannot be null." },

4) Four refactoring requests were entered

JMX: Refactor: MBean impl/interface naming conventions change
https://bugs.eclipse.org/bugs/show_bug.cgi?id=253017

JMX: Refactor: Move generic functions out of platform into superclass
https://bugs.eclipse.org/bugs/show_bug.cgi?id=253018

JMX: Refactor: Additional Human readable time format for TimeConnectionEstablished
https://bugs.eclipse.org/bugs/show_bug.cgi?id=253019

JMX: Refactor: getCacheTypeFor() for NoIdentityMap should return "NoIdentity" instead "None"
https://bugs.eclipse.org/bugs/show_bug.cgi?id=253020


Comment 8 Michael OBrien CLA 2008-10-31 17:23:15 EDT
Created attachment 116658 [details]
eclipselink core patch (phase 1 - post code-review)
Comment 9 Michael OBrien CLA 2008-10-31 17:28:27 EDT
see rev 2700 - close bug when bug# 248746 and bug# 248747 are resolved
http://fisheye2.atlassian.com/changelog/eclipselink/?cs=2700
Comment 10 Eclipse Webmaster CLA 2022-06-09 10:04:58 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink