errorStoreDP (sms-UNKNOWN_EXCEPTION_OCCURRED)

Hi,

I use sun java enterprise system (Sun Java System Portal Server 6 2005Q4) for windows.

I got error message "errorStoreDP (sms-UNKNOWN_EXCEPTION_OCCURRED)" by using the following pdeploy command.

pdeploy deploy -u amAdmin -w ampasswd -g -p ampasswd -v C:\Sun\PortalServer\tmp\portlet\portletsamples.war

errorStoreDP (sms-UNKNOWN_EXCEPTION_OCCURRED)

Detail message from pdeploy.debug =>

09/19/2006 08:54:44:203 PM PDT: Thread[main,5,main]

ERROR: Exception:

com.sun.portal.desktop.context.ContextError: DSAMEConnection.setGlobalAttribute(): SunPortalDesktopService.sunPortalDesktopDpDocument=<?xml version="1.0" encoding="utf-8" standalone="no"?>

<!DOCTYPE DisplayProfile SYSTEM "jar://resources/psdp.dtd">

<DisplayProfile advanced="false" lock="false" merge="fuse" name="_root" priority="0" version="1.0" xmlns:DisplayProfile="http://www.iplanet.com">

<Properties advanced="false" lock="false" merge="fuse" name="_properties" propagate="true">

<Collection advanced="true" lock="false" merge="fuse" name="_WrappedChannels" propagate="false">

</Collection>

</Properties>

<Channels>

.

.

SMSException Exception Code:5

Message:sms-UNKNOWN_EXCEPTION_OCCURRED

--

The lower level exception message

The user does not have permission to perform the operation.

The lower level exception:

SMSException Exception Code:8

Message:The user does not have permission to perform the operation.

--

The lower level exception message

error result

The lower level exception:

netscape.ldap.LDAPException: error result (50); Insufficient 'write' privilege to the 'sunserviceschema' attribute of entry 'ou=1.0,ou=sunportaldesktopservice,ou=services,dc=icheng,dc=com'.

; Insufficient access

at netscape.ldap.LDAPConnection.checkMsg(LDAPConnection.java:4888)

at netscape.ldap.LDAPConnection.modify(LDAPConnection.java:3158)

at netscape.ldap.LDAPConnection.modify(LDAPConnection.java:3097)

at netscape.ldap.LDAPConnection.modify(LDAPConnection.java:3106)

at netscape.ldap.LDAPConnection.modify(LDAPConnection.java:3072)

at com.sun.identity.sm.ldap.SMSLdapObject.modify(SMSLdapObject.java:375)

at com.sun.identity.sm.SMSEntry.save(SMSEntry.java:498)

at com.sun.identity.sm.CachedSMSEntry.writeXMLSchema(CachedSMSEntry.java:384)

at com.sun.identity.sm.ServiceSchemaManager.replaceSchema(ServiceSchemaManager.jav a:723)

at com.sun.identity.sm.AttributeSchema.updateXMLDocument(AttributeSchema.java:772)

at com.sun.identity.sm.AttributeSchema.updateDefaultValues(AttributeSchema.java:70 2)

at com.sun.identity.sm.AttributeSchema.updateDefaultValues(AttributeSchema.java:65 7)

at com.sun.identity.sm.AttributeSchema.setDefaultValues(AttributeSchema.java:264)

at com.sun.identity.sm.ServiceSchema.setAttributeDefaults(ServiceSchema.java:509)

.

.

Can someone help me ?

Thanks!

[3103 byte] By [ili1259cheng] at [2007-11-26 10:16:28]
# 1

fairly easy but took me quite long to reveal it :-)

open amadmin console - click service configuration -> services -> portal desktop -> edit xml directly

and remove last provider; if it does not help, repeat :-)

another option is to undeploy portlet and deploy it again - but this must be done each time you want to deploy some portlet since sms-UEO error happens :-)

jawolta at 2007-7-7 2:09:58 > top of Java-index,Web & Directory Servers,Portal Servers...
# 2

Hi,

pdeploy deploy -u amAdmin -w ampasswd -g -p ampasswd -v C:\Sun\PortalServer\tmp\portlet\portletsamples.war

instead of this try following

1. Get DN details from LDAP service like

dc=org_name,dc=com etc ...

2. Path for userInfoMapping.properties file can be as per your directory structure ....

Command:: ==>

pdeploy deploy -u uid=amadmin,ou=People,dc=?,dc=? -w ampasswd -p ampasswd -g -v -f C:\Sun\PortalServer\config\portlet\userInfoMapping.properties C:\Sun\PortalServer\tmp\portlet\portletsample.war

Jitu@Sun at 2007-7-7 2:09:58 > top of Java-index,Web & Directory Servers,Portal Servers...