Issue Details (XML | Word | Printable)

Key: GLASSFISH-17289
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Jagadish
Reporter: shaline
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
glassfish

Application scoped resources are not shown when App is deployed with Preserve Application Scoped Resources checkbox checked.

Created: 12/Sep/11 10:45 PM   Updated: 20/Jan/12 01:57 AM   Resolved: 23/Oct/11 04:58 PM
Component/s: jca
Affects Version/s: 3.1.2_b01
Fix Version/s: 3.1.2_b06, 4.0

Time Tracking:
Not Specified

Environment:

OS: Solaris Sparc
Browser : firefox 3.6.17
GF 3.1.2 b02


Tags: 3_1_2-verified
Participants: Jagadish, shaline and sumasri


 Description  « Hide

Using GF 3.1.2 promoted b02, while deploying an application with scoped resources bundled in glassfish-resources.xml if check the checkbox "Preserve Application Scoped Resources" in the Deployment page of the Console, the application gets deployed, but the Resources tab displaying the application scoped resources does not show up, and hence one is not able to see the application scoped resources for this App.



sumasri added a comment - 13/Oct/11 08:11 AM

While deploying an app, "Preserve Application Scoped Resources" check box is not required. Hence, removing it from the GUI page.
Committed the changes from GUI to both trunk(Committed revision 50222) and branch 3.1.2(Committed revision 50223).

Anyways, this issue is from the back end..Typically, it should not effect the way it is described in the issue even though we pass the property "Preserve Application Scoped Resources". Hence, transferring it to back end team to look into this.


Jagadish added a comment - 23/Oct/11 04:58 PM

Provided a fix such that the preserveAppScopedResources flag is considered only for "redeploy" or "deploy --force" mode of deployment.

svn log -v -r 50412
branches/3.1.2/connectors/connectors-runtime/src/main/java/com/sun/enterprise/connectors/module/ResourcesDeployer.java

svn log -v -r 50413
trunk/main/appserver/connectors/connectors-runtime/src/main/java/com/sun/enterprise/connectors/module/ResourcesDeployer.java


shaline added a comment - 20/Jan/12 01:57 AM

Verified in GF 3.1.2 b18.