This Bugzilla instance is deprecated, and most Eclipse projects now use GitHub or Eclipse GitLab. Please see the deprecation plan for details.
Bug 238412 - JMX: Add J2SE MBean JUnit client test suite
Summary: JMX: Add J2SE MBean JUnit client test suite
Status: NEW
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Eclipselink (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Nobody - feel free to take it CLA
QA Contact:
URL: http://wiki.eclipse.org/EclipseLink/D...
Whiteboard:
Keywords:
Depends on: 265540 235168 248748 316513
Blocks: 454799
  Show dependency tree
 
Reported: 2008-06-25 10:06 EDT by Michael OBrien CLA
Modified: 2022-06-09 10:28 EDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael OBrien CLA 2008-06-25 10:06:37 EDT
We require a full J2SE JMX test suite to exercise the MBeans on the server via testing browser and ant script.

see
org.eclipse.persistence.services.DevelopmentServices
org.eclipse.persistence.services.RuntimeServices
Comment 1 Michael OBrien CLA 2008-06-25 13:59:01 EDT
WebLogic 10.0 MBeans registered and working via JConsole

[EL Info]: 2008.06.25 13:51:11.209--ServerSession(14401377)--Thread(Thread[[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads])--EclipseLink, version: Eclipse Persistence Services - 1.0 (Build SNAPSHOT - 20080625)
[EL Info]: 2008.06.25 13:51:11.210--ServerSession(14401377)--Thread(Thread[[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads])--Server: WebLogic Server 10.0 MP1  Thu Oct 18 20:17:44 EDT 2007 1005184
[EL Finer]: 2008.06.25 13:51:11.612--UnitOfWork(1934804)--Thread(Thread[[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads])--release unit of work

<JConsole action>

[EL Finer]: 2008.06.25 13:51:48.422--ServerSession(14401377)--Thread(Thread[RMI TCP Connection(3)-10.156.52.98,5,RMI Runtime])--initialize identitymaps
Comment 2 Michael OBrien CLA 2008-06-26 08:57:49 EDT
We will start with JUnit tests running against the embedded JMX server in the 1.5 SE JRE and move to testing against a weblogic instance from there.
see
http://wiki.eclipse.org/EclipseLink/DesignDocs/235168#API
see
http://java.sun.com/j2se/1.5.0/docs/guide/management/mxbeans.html
Comment 3 Michael OBrien CLA 2008-06-27 17:05:01 EDT
Manual Test lifecycle:
- start wls server (check mbean enable properties)
- deploy EAR (if not already deployed by adding to autodeploy dir)
- exercise J2EE JPA application
  (invokes lazy registration of MBeans during session login)
- launch jconsole and attach to wls jvm
- do some operations against toplink via the runtime or dev mbean
- undeploy/logout application to unregister MBeans
  (remove the EAR from the autodeploy dir)
- close and restart jconsole (notice no EclipseLink MBeans anymore
Comment 4 Michael OBrien CLA 2008-07-15 14:29:36 EDT
I will be actively working on this after the finishing the two new TL ones in my queue
Comment 5 Michael OBrien CLA 2008-11-24 12:30:41 EST
Testing should include the 10.3.3.1 runtime reflective dependency on ExecuteThreadRuntime that was added in bug# 248748 and bug# 248746 without introducing any design time dependencies.
see
http://wiki.eclipse.org/EclipseLink/DesignDocs/248748
Comment 6 Peter Krogh CLA 2009-11-27 13:41:03 EST
This bug fix did not make the cut off for 2.0.0. We are deferring the bugs to Future where we can properly sort them all together based on community votes and severity. We will then assign them accordingly to future patch sets and releases.
Comment 7 Peter Krogh CLA 2009-11-30 11:36:13 EST
Changing the priority of the bugs that have been recently triaged to future.  Targetting them to P2 will differentiate them from the P3s that have been triaged into future earlier.
Comment 8 Michael OBrien CLA 2010-07-29 09:57:22 EDT
>an SE test suite is required after the changes intruducing JMX functionality to WebSphere, JBoss and Glassfish
as part of bug# 316513 and bug# 265540
>Note: no current reflective API is required outside of WebLogic (which is optional)
Comment 9 Michael OBrien CLA 2010-08-11 09:40:49 EDT
>in queue, required but not scheduled yet
Comment 10 Eclipse Webmaster CLA 2022-06-09 10:15:48 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink
Comment 11 Eclipse Webmaster CLA 2022-06-09 10:28:29 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink