WebSphere Portal Server - Unable to create User Group in WPS6 with cloudscape using

This is Interesting: Free IT Magazines  
Home > Archive > WebSphere Portal Server > February 2007 > Unable to create User Group in WPS6 with cloudscape using





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Unable to create User Group in WPS6 with cloudscape using
bnaha

2007-02-26, 1:19 pm

We are trying to create group in wps6 on cloudscape using PumaController.

The following code is being used
String grpShortName = new String("Tech Sales");
String parentDN = new String("cn=groups,dc=yourco,dc=com");
Map group_attribs = new HashMap();
try
{
Map groupAttribs = new HashMap();
PumaController pc = getPumaHome().getController(request);
Group group = pc.createGroup("Tech Sales", "cn=groups,dc=admin", groupAttribs);
}
catch( PumaMissingAccessRightsException pmare){
System.out.println("It is PumaMissingAccessRightsException"+pmare.getMessage());
pmare.printStackTrace();
}catch(PumaSystemException pse){
System.out.println("It is PumaSystemException"+pse.getMessage());
pse.printStackTrace();
}catch( PumaAttributeException pae){

System.out.println("It is PumaAttributeException"+pae.getMessage());
pae.printStackTrace();
} }


However we are unable to create group and we are getting the following exception
[2/26/07 12:13:43:609 EST] 0000007a WSMM Message E com.ibm.ws.wmm.db.DatabaseRepository ExternalMemberIdentifiercreateMember The following SQL Exception occured during processing: "SQL Exception: INSERT on table 'WMMMBRREL' caused a violation of foreign
key constraint 'WMMF_35' for key (0). The statement has been rolled back.".
[2/26/07 12:13:43:641 EST] 0000007a SystemOut O It is PumaSystemExceptioncom.ibm.wps.util.DataBackendException: EJPSG0015E: Data Backend Problem com.ibm.websphere.wmm.exception.WMMSystemException: The following SQL Exception occured during processing:
"SQL Exception: INSERT on table 'WMMMBRREL' caused a violation of foreign key constraint 'WMMF_35' for key (0). The statement has been rolled back.".
[2/26/07 12:13:43:656 EST] 0000007a SystemOut O About to call jsp
[2/26/07 12:13:43:641 EST] 0000007a SystemErr R com.ibm.wps.um.exceptions.impl.PumaSystemExceptionImpl: com.ibm.wps.util.DataBackendException: EJPSG0015E: Data Backend Problem com.ibm.websphere.wmm.exception.WMMSystemException: The following SQL Excep
tion occured during processing: "SQL Exception: INSERT on table 'WMMMBRREL' caused a violation of foreign key constraint 'WMMF_35' for key (0). The statement has been rolled back.".
at com.ibm.wps.services.puma.PumaServiceWrapper.createGroup(PumaServiceWrapper.java:460)

Any help would be appreciated
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2009 webservertalk.com