Bug 648783 - JON241: jboss-as-5 plugin: JmxConnectionHelper.loadConnection() should set JAR_TEMP_DIR EMS control prop to PC temp dir even when PC is running in embedded mode (i.e. in the admin-console)
Summary: JON241: jboss-as-5 plugin: JmxConnectionHelper.loadConnection() should set JA...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: RHQ Project
Classification: Other
Component: Plugins
Version: 3.0.0
Hardware: All
OS: All
low
low
Target Milestone: ---
: ---
Assignee: Charles Crouch
QA Contact: Ondřej Žižka
URL:
Whiteboard:
Depends On:
Blocks: 725852 jon241-bugs
TreeView+ depends on / blocked
 
Reported: 2010-11-02 05:27 UTC by Charles Crouch
Modified: 2015-02-01 23:26 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of: 624817
Environment:
Last Closed: 2013-08-31 11:10:30 UTC
Embargoed:


Attachments (Terms of Use)

Description Charles Crouch 2010-11-02 05:27:04 UTC
+++ This bug was initially created as a clone of Bug #624817 +++

Otherwise, EMS defaults to using /tmp for its temporary per-classloader copy of the ems-impl-XXX.jar, which is bad, because it makes it hard to define an access control policy for that jar.

--- Additional comment from ian.springer on 2010-08-17 16:42:09 EDT ---

Fixed in master (ed986ce) and release-3.0.0 (c450bad).

Comment 1 Charles Crouch 2010-11-02 05:27:25 UTC
Test for JON2.4.1

Comment 2 Rajan Timaniya 2010-11-08 10:25:51 UTC
Hi Ian,

Can you please provide steps to test the bug and expected result?

Comment 3 Ian Springer 2010-11-08 13:30:21 UTC
Though this change was in the RHQ plugin container, it only changes behavior when the plugin container is deployed inside EmbJopr (i.e. the JBAS admin console); there is no change in behavior when deployed inside the RHQ Agent, so there's nothing to test on that end.

Comment 4 Charles Crouch 2010-11-10 00:39:36 UTC
Ondrej 
Can you test that this bug is fixed in the EAP5.1 release of the console?
Thanks

Comment 5 Ondřej Žižka 2010-11-11 12:02:25 UTC
Charles, I'll need test instructions for this, thx.

Comment 6 Corey Welton 2010-11-17 21:23:18 UTC
Ian, can you provide repro steps?

Comment 7 Ian Springer 2010-12-02 15:41:44 UTC
REPRO STEPS
-----------
1) Start up EAP 5.1.
2) Log into admin console.
3) Select the JBoss AS Server resource in the admin console.
4) Look in JBOSS_HOME/server/default/tmp/embjopr/ and confirm that there's an org-mc4j-ems-implXXXXXX.jar file in there, e.g.:

org-mc4j-ems-impl1256585583900479844.jar


If you see that jarfile under /tmp instead, then the issue has not been fixed.

Comment 8 Sunil Kondkar 2010-12-06 09:31:30 UTC
Verified on Jon241 build#35

Stated EAP5.1 and logged in to the admin console. After login observed that the directory JBOSS_HOME/server/default/tmp/embjopr gets created and it displays below file:
org-mc4j-ems-impl2348731868522119396.jar

The /tmp directory does not display above file.
Marking this as verified.


Note You need to log in before you can comment on or make changes to this bug.