Issue Details (XML | Word | Printable)

Key: GLASSFISH-15957
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Jagadish
Reporter: Jagadish
Votes: 0
Watchers: 0
Operations

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

Need to return valid (existing) system rar names as per the distribution

Created: 10/Feb/11 08:23 PM   Updated: 02/Dec/11 07:25 PM   Resolved: 12/Feb/11 09:02 AM
Component/s: jca
Affects Version/s: 4.0
Fix Version/s: 3.1.1_b01

Time Tracking:
Not Specified

Tags: 3_1-exclude
Participants: Jagadish


 Description  « Hide

Currently, connector runtime does not determine the profile in which its running while listing the system resource-adapters via hidden CLI commands for GUI,
as well while validating the resources (jms/connector) in a particular profile (web/classic).

Fix will be to determine the profile (by some means, eg: presence of RAR) and provide the system rars list appropriately. This way, in web profile, user will not be able to create a connector-connection-pool for jmsra/jaxr-ra (both are not included in web-profile) and appropriate error message (invalid RA name) can be provided.




Jagadish added a comment - 12/Feb/11 09:02 AM

FIX INFORMATION :

svn log -v -r 45077

Modified Paths:
---------------
trunk/v3/connectors/admin/src/main/java/org/glassfish/connectors/admin/cli/ConnectorConnectionPoolManager.java
trunk/v3/connectors/connectors-internal-api/src/main/java/com/sun/appserv/connectors/internal/api/ConnectorsUtil.java
trunk/v3/connectors/connectors-runtime/src/main/java/com/sun/enterprise/connectors/ConnectorRuntime.java
trunk/v3/connectors/connectors-internal-api/src/main/java/com/sun/appserv/connectors/internal/api/ConnectorsClassLoaderUtil.java
trunk/v3/connectors/admin/src/main/java/org/glassfish/connectors/admin/cli/AdminObjectManager.java