APAR status |
Closed as program error.
| Error description
RECEIVE EXCEPTION :-
Create Application W Encountered an exception:
.
com.ibm.ejs.exception.DuplicateRelationInstanceException
.
WHEN IMPORTING A FULL XMLCONFIG EXPORT INTO A NEWLY CREATED
WEBSPHERE ADMIN DATABASE. THESE ERRORS CAN BE AVOIDED BY
DELETING THE ENTRY FOR THE ENTERPRISE APPLICATION
adminApplication PRIOR TO PERFORMING THE
IMPORT. Create Application W Encountered an exception:.com.ibm.ejs.exception.DuplicateRelationInstanceException.WHEN IMPORTING A FULL XMLCONFIG EXPORT INTO A NEWLY CREATEDWEBSPHERE ADMIN DATABASE. THESE ERRORS CAN BE AVOIDED BYDELETING THE ENTRY FOR THE ENTERPRISE APPLICATIONadminApplication PRIOR TO PERFORMING THEIMPORT. Local fixProblem summary
whenever trying to add a resource to an Enterprise Application
where the resource is already included under any Enterprise
Application. The problem is that this exception wasn't getting
caught. Problem conclusion
Introduced the following lines into CreateApplicationBean's
addRelation(EJBObject resource) method. This would catch the
exception:
//Begin PQ46768: Catch the DuplicateRelationshipException
catch(DuplicateRelationInstanceException re) {
//If the resource is already part of the application,
ignore and continue processing
if(tc.isDebugEnabled())
Tr.debug(tc, "Ignoring DuplicationRelationInstance
Exception", re);
}//End PQ46768
.
Source file changed: com.ibm.ejs.sm.tasks.CreateApplicationBean exception://Begin PQ46768: Catch the DuplicateRelationshipExceptioncatch(DuplicateRelationInstanceException re) {//If the resource is already part of the application,ignore and continue processingif(tc.isDebugEnabled())Tr.debug(tc, "Ignoring DuplicationRelationInstanceException", re);}//End PQ46768.Source file changed: com.ibm.ejs.sm.tasks.CreateApplicationBean Temporary fixComments
APAR information | APAR number | PQ46768 | Reported component name | WAS ADVANCED AI | Reported component ID | 5648C8400 | Reported release | 350 | Status | CLOSED PER | PE | NoPE | HIPER | NoHIPER | Submitted date | 2001-03-08 | Closed date | 2001-04-09 | Last modified date | 2001-04-09 |
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:APAR is sysrouted FROM one or more of the following:
Modules/Macros APAR is sysrouted TO one or more of the following:Modules/Macros
|
Fix information |
Fixed component name | WAS ADVANCED AI | Fixed component ID | 5648C8400 |
Applicable component levels | R350 PSY | UP |
|