0 Replies Latest reply: Nov 8, 2005 11:26 PM by 807581 RSS

    Portlet deployment exception

    807581
      I'm getting an exception while deploying a portlet war under Java Enterprise System 2005Q4 on Windows XP:
      > pdeploy deploy -u ....
      errorStoreDP (sms-UNEXPECTED_EXCEPTION_OCCURED)
      Upon inspection of the AccessManager's pdeploy.debug log file, I find:

      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">

      [...the rest of the display profile, then...]

      SMSException Exception Code:5
      Message:sms-UNKNOWN_EXCEPTION_OCCURED
      -----------------------------------------------------
      The lower level exception message
      sms-SERVER_DOWN


           at com.sun.portal.desktop.context.DSAMEConnection.setGlobalAttribute(DSAMEConnection.java:841)

           at com.sun.portal.desktop.context.DSAMEAdminDPContext.storeGlobalDPDocument(DSAMEAdminDPContext.java:212)

           at com.sun.portal.portlet.cli.PDDPUpdater.storeDPDocument(PDDPUpdater.java:238)

           at com.sun.portal.portlet.cli.PDDPUpdater.addProviders(PDDPUpdater.java:98)

           at com.sun.portal.portlet.cli.PDDeploy.process(PDDeploy.java:229)

           at com.sun.portal.portlet.cli.PortletDeployerCommand.runCommand(PortletDeployerCommand.java:209)

           at com.sun.portal.portlet.cli.PortletDeployerMain.main(PortletDeployerMain.java:54)

      SMSException Exception Code:5
      Message:sms-UNKNOWN_EXCEPTION_OCCURED
      -----------------------------------------------------
      The lower level exception message
      sms-SERVER_DOWN


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

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

      which looks like a directory error. Sure enough, in the amSMS log, I find:

      ERROR: SMSLdapObject::save() Error in modifying entry: ou=1.0,ou=SunPortalDesktopService,ou=services,dc=synergy,dc=com,dc=au
      By Principal: uid=amadmin,ou=people,dc=synergy,dc=com,dc=au
      netscape.ldap.LDAPException: The connection is not available (80); Unknown error

           at netscape.ldap.LDAPConnection.sendRequest(LDAPConnection.java:1826)

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


      Huh? The LDAP server's up and I can browse the named principal.

      Can someone explain what's happening and how I can fix it?