Community
Participate
Working Groups
The logging in weblogic.WebLogicRuntimeServices.java needs to be refactored and internationalized. Current code: public void printAvailableConnectionPools() { getSession().getSessionLog().info("Pool Name = " + poolNames.next()); --> [EL Info]: 2008.10.23 13:43:49.517--Thread(Thread[RMI TCP Connection(10)-10.156.52.98,5,RMI Runtime])--Pool Name = default (There is no English translation for this message.) Refactored code: The form optional--> AbstractSessionLog.getLog().log(SessionLog.INFO, "jmx_mbean_runtime_services_pool_name", poolNames.next()); preferred--> ((AbstractSession)session).log(SessionLog.INFO, SessionLog.TRANSACTION, "jmx_mbean_runtime_services_pool_name",poolNames.next()); List of candidates getSession().getSessionLog().info("Identity Map [" + className + "] does not exist"); getSession().getSessionLog().info("Identity Map [" + className + "] is empty"); getSession().getSessionLog().info("Key [" + cacheKey.getKey().toString() + "] => Value [" + cacheKey.getObject().toString()); getSession().getSessionLog().info("There are no Identity Maps in this session"); getSession().getSessionLog().info("Identity Map [" + registeredClassName + "] class = " + map.getClass()); getSession().getSessionLog().info("There are no Identity Maps in this session"); getSession().getSessionLog().info("There are no Identity Maps in this session"); getSession().getSessionLog().info("Identity Map [" + className + "] is initialized"); getSession().getSessionLog().info("There are no Identity Maps in this session"); getSession().getSessionLog().info("Identity Map [" + registeredClassName + "] is invalidated"); getSession().getSessionLog().info("Identity Map [" + className + "] is invalidated");
((AbstractSession)session).log(SessionLog.INFO, SessionLog.TRANSACTION, "jmx_mbean_runtime_services_pool_name",poolNames.next()); is preferable as it prints out the application session that the bean belongs to. [EL Info]: 2008.10.23 14:49:21.900--ServerSession(18578566)--Thread(Thread[RMI TCP Connection(1)-10.156.52.98,5,RMI Runtime])--Pool Name = default
Created attachment 115981 [details] Logging changes for WebLogicRuntimeServices
Created attachment 116517 [details] Logging changes for WebLogicRuntimeServices
Created attachment 116659 [details] eclipselink core patch (phase 1 - post code-review) Reviewed as part of bug# 248748 by David Minsky. In rev 2700 http://fisheye2.atlassian.com/changelog/eclipselink/?cs=2700
Regression Testing: OK (0,0) JPA: [junit] Tests run: 1004, Failures: 0, Errors: 0, Time elapsed: 862.954 sec CORE: [junit] Tests run: 6614, Failures: 0, Errors: 0, Time elapsed: 1,306.008 sec
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink