
#com.sun.portal.admin.cli

# Help
#
psadmin.help.portlet=\
\t<--Portlet subcommands-->\n\
\tdeploy-portlet\n\
\t\tDeploys portlet war and inserts the provider into display \n\
\t\tprofile.\n\
\tundeploy-portlet\n\
\t\tundeploys portlet application and removes the providers \n\
\t\tassociated with portlets from Display Profile.\n\
\tregister-portlet\n\
\t\tRegisters a portlet ear by inserting provider definition into \n\
\t\tthe display profile.\n\
\tunregister-portlet\n\
\t\tUnregisters a portlet ear by removing the provider definition \n\
\t\tassociated with portlets from the Display Profile.\n\
\n\
#
#deploy-portlet
#

psadmin.help.deploy-portlet=\
NAME\n\
\tdeploy-portlet\n\
\n\
SYNOPSIS\n\
\tdeploy-portlet --adminuser|-u admin_user \n\
\t--passwordfile|-f password_file  [--dn|-d dn] \n\
\t--portal|-p portal-id  [--locale|-l locale] \n\
\t[--global|-g]   [--rolesfile rolesfile] \n\
\t[--userinfofile userinfofile] portletwarfile. \n\
\n\
REQUIRED OPTIONS\n\
-u userName, --adminuser userName\n\
\tA user name used to authenticate to Portal Server. The user name can be\n\
\teither the full dn or the admin uid. \n\
\n\
-f passwordFile, --passwordfile passwordFile\n\
\tA passwordFile used to fetch and present password to authenticate\n\
\tto Portal Server.\n\
\n\
-p portalId, --portal portalId\n\
\tSpecifies the identity number of the Portal where the portlet needs\n\
\tto be deployed.\n\
\n\
OPTIONAL OPTIONS\n\
-d baseDN, --dn baseDN\n\
\tDn of the target node.This is mutually exclusive to -g option.\n\
\tAt least one of two options -g or -d is mandatory.\n\
\n\
--rolesfile rolesfile\n\
\tSpecifies the file containing the Sun Java System Identity Server \n\
\tsoftware and portlet application role mapping information.\n\
\n\
--userinfofile userinfofile \n\
\tSpecifies the file containing the user information mapping information. \n\
\n\
-g, --global \n\
\tTo add portlet to global display profile. (false) \n\
\tThis is mutually exclusive to -d option.At least one of two options -\n\
\t-g or -d is mandatory.\n\
\n\
OPERANDS \n\
\tSepcifies the portlet war file.\n\
\n\

#
#undeploy-portlet
#

psadmin.help.undeploy-portlet=\
NAME\n\
\tudeploy-portlet\n\
\n\
SYNOPSIS\n\
\tundeploy-portlet --adminuser|-u admin_user \n\
\t--passwordfile|-f password_file  [--dn|-d dn] \n\
\t--portal|-p portal-id  [--locale|-l locale] \n\
\t[--global|-g]  [--instance|-i portalinstance] \n\
\tportletapplication. \n\
\n\
REQUIRED OPTIONS\n\
-u userName, --adminuser userName\n\
\tA user name used to authenticate to Portal Server. The user name can be\n\
\teither the full dn or the admin uid. \n\
\n\
-f passwordFile, --passwordfile passwordFile\n\
\tA passwordFile used to fetch and present password to authenticate\n\
\tto Portal Server.\n\
\n\
-d baseDN, --dn baseDN\n\
\tDn of the target node.This is mutually exclusive to -g option.\n\
\tAt least one of two options -g or -d is mandatory.\n\
\n\
--portal | -p portal-id\n\
\tSpecifies the identity number of the Portal from where the \n\
\tportlet application needs to be undeployed.\n\
\n\
OPTIONAL OPTIONS\n\
-g, --global \n\
\tTo remove portlet from global display profile. (false) \n\
\tThis is mutually exclusive to -d option.\n\
\tAt least one of two options -g or -d is mandatory.\n\
\n\
-i portalinstance, --instance portalinstance \n\
\tSpecifies the portal instance from where portlet application needs\n\
\t to be undeployed.If not specified the portlet application gets \n\
\tundeployed from all the instances of this portal.\n\
\n\
OPERANDS \n\
Specifies the name of the portlet application .\n\
\n\

#
#register-portlet
#
psadmin.help.register-portlet=\
NAME\n\
\tregister-portlet\n\
\n\
SYNOPSIS\n\
\tregister-portlet --adminuser|-u admin_user \n\
\t--passwordfile|-f password_file  [--dn|-d dn] \n\
\t--portal|-p portal-id [--global|-g]\n\
\t[--rolesfile rolesfile] [--userinfofile userinfofile]\n\
\tportletEarFile. \n\
\n\
REQUIRED OPTIONS\n\
-u userName, --adminuser userName\n\
\tA user name used to authenticate to Portal Server. The user name can be\n\
\teither the full dn or the admin uid. \n\
\n\
-f passwordFile, --passwordfile passwordFile\n\
\tA passwordFile used to fetch and present password to authenticate\n\
\tto Portal Server.\n\
\n\
-p portalId, --portal portalId\n\
\tSpecifies the identity number of the Portal where the portlet needs\n\
\tto be deployed.\n\
\n\
OPTIONAL OPTIONS\n\
-d baseDN, --dn baseDN\n\
\tDn of the target node.This is mutually exclusive to -g option.\n\
\tAt least one of two options -g or -d is mandatory.\n\
\n\
--rolesfile rolesfile\n\
\tSpecifies the file containing the Sun Java System Identity Server \n\
\tsoftware and portlet application role mapping information.\n\
\n\
--userinfofile userinfofile \n\
\tSpecifies the file containing the user information mapping information. \n\
\n\
-g, --global \n\
\tTo add portlet to global display profile. (false) \n\
\tThis is mutually exclusive to -d option.At least one of two options -\n\
\t-g or -d is mandatory.\n\
\n\
OPERANDS \n\
\tSpecifies the portlet ear file.\n\
\n\

#
#unregister-portlet
#

psadmin.help.unregister-portlet=\
NAME\n\
\tunregister-portlet\n\
\n\
SYNOPSIS\n\
\tunregister-portlet --adminuser|-u admin_user \n\
\t--passwordfile|-f password_file  [--dn|-d dn] \n\
\t--portal|-p portal-id [--global|-g]\n\
\tportletEarName.\n\
\n\
REQUIRED OPTIONS\n\
-u userName, --adminuser userName\n\
\tA user name used to authenticate to Portal Server. The user name can be\n\
\teither the full dn or the admin uid. \n\
\n\
-f passwordFile, --passwordfile passwordFile\n\
\tA passwordFile used to fetch and present password to authenticate\n\
\tto Portal Server.\n\
\n\
-d baseDN, --dn baseDN\n\
\tDn of the target node.This is mutually exclusive to -g option.\n\
\tAt least one of two options -g or -d is mandatory.\n\
\n\
--portal | -p portal-id\n\
\tSpecifies the identity number of the Portal from where the \n\
\tportlet application needs to be undeployed.\n\
\n\
OPTIONAL OPTIONS\n\
-g, --global \n\
\tTo remove portlet from global display profile. (false) \n\
\tThis is mutually exclusive to -d option.\n\
\tAt least one of two options -g or -d is mandatory.\n\
\n\
OPERANDS \n\
Specifies the name of the portlet ear application.\n\
\n\
#
# Errors
#

#
# Resources for the portlet related commands
#

error.psadmin.deploy-portlet.operand.not.found=Error: Operand - war  file not found.\n\

error.psadmin.deploy-portlet.neither.dn.nor.global=Error: Please specify at least one : dn or global.\n\

error.psadmin.deploy-portlet.either.dn.or.global=Error: Must specify either DN or global. Cannot use both.\n\

error.psadmin.deploy-portlet.war.ext.not.right=Error: File should have .war extension. \n\


#
# Error messages
#

portlet.errorProperties=Failed to read desktop properties for Access Manager Authentication.
portlet.errorConfigFile=Error getting Config File for pdeploy: {0}
portlet.errorUpdatingWebApp=Error Updating the Portlet Application: {0}
portlet.errorGettingRoles=Error getting roles from web.xml
portlet.errorGettingExtension=Error getting the Deployment Descriptor Extension.
portlet.errorFileRead=Cannot open {0}.
portlet.errorCopyingFile=Cannot copy portletappengine.jar: {0}
portlet.errorStreamRead=Error reading  {0} file .
portlet.errorStreamReadWhileUndeploy=Error reading  {0} file.Possible reason could be that {1} is not deployed currently.
portlet.errorInvalidWebAppName=Invalid portlet web app name: {0}
portlet.emptyWebXML=Error.web.xml file is empty.
portlet.errorDocumentBuild=Error building a document from web.xml: {0}
portlet.errorIllegalAdd=Error adding/removing the listener/servlet elements to web.xml: {0}
portlet.errorEmptyFile=Empty File.  Request ignored.
portlet.errorInterrupt=Interrupted.
portlet.errorNotFound=Requested object not found.
portlet.errorStreamClose=Error closing the input stream.
portlet.errorJarUpdate=Error updating war file: {0}
portlet.errorGettingJarFile=Error getting jar file from war: {0}
portlet.invalidWar=Invalid Portlet war file. Possible reason can be error reading {0} from portlet war file,\n\
please check the cli debug logs or MBean debug logs for more details.
portlet.errorGettingVersionValue=version attribute for <web-app> does not have a correct value.


# PDProviderEntryGenerator
portlet.errorReadingPortletDD=Cannot validate Portlet Deployment Descriptor.
portlet.errorDocumentBuilder=Cannot create document builder.
portlet.errorNewDocument=Error updating DP :Cannot create New Document.
portlet.errorCreatePropertiesElement=Error updating DP :Cannot create Properties for Provider: {0}
portlet.errorCreateProviderElement=Error updating DP :Cannot create provider element.
portlet.errorCreatePreferenceElement=Error updating DP :Cannot create Preference Element.
portlet.errorCreatecontentTypeElement=Error updating DP :Cannot create ContentType Collection.
portlet.errorRoleValidation=Error updating DP : Cannot Validate Roles, no Role matching {0} in web.xml
portlet.errorRoleMapping=Error updating DP : No Mapping provided for role {0}
portlet.errorCreateRoleMapElement=Error updating DP :Cannot create Role Map element.
portlet.errorReverseRoleMapping=could not lookup physical role name from portlet role name {0}.
portlet.errorCreateRoleDescElement=Error updating DP :Cannot create Role Description element: {0}
portlet.errorCreateUIMapElement=Error updating DP :Cannot create UI Map element.
portlet.errorCreateUIDescElement=Error updating DP :Cannot create UI Descriptions element.

# PDDPUpdater
portlet.errorSetDirty=Error updating DP :Cannot set the attribute dirty in Display Profile
portlet.errorRetrieveDP=Failed to retrieve DP: DN="{0}".
portlet.errorCreateDPRoot=Error updating DP :Failed to create DP Root: dn="{0}".
portlet.errorCannotAdd=Cannot add {0}.  Use modify command instead.
portlet.errorDupDP=DP already exists: dn={0}.  Use remove command to remove existing DP before adding.
portlet.errorCheckDupName=Failed to check for duplicate names.
portlet.errorDupName=Duplicate name found.  Use a different name.
portlet.errorAddProvider=Error updating DP :Failed to add provider: provider={0}.
portlet.errorFindProvider=Error updating DP :Failed to Find Provider: provider={0}.
portlet.errorFindProviderAndPortlet=Error updating DP :Failed to Find Provider: provider={0}.\n\
{1} might not have been deployed at dn:{2}
portlet.errorRemoveProvider=Error updating DP :Failed to remove provider: provider={0}.
portlet.errorLookupProvider=Error updating DP :Failed to look for provider: provider={0}.
portlet.errorCreateDPProvider=Error updating DP :Failed to create DPProvider.
portlet.errorInvalidXML=Invalid XML input.
portlet.errorInvalidXMLText=Invalid XML input: {0}
portlet.errorStoreDP=Error updating DP :Failed to store display profile.

#Deploy
portlet.errorDeploy=Error in deploying portlet war {0} to host {1}
portlet.errorUnDeploy=Error in undeploying portlet application {0} from host {1}
portlet.errorIncorrectInstance=Portal Instance {0} is not a valid instance.
portlet.errorIncorrectMBeanObjectName=Error getting mbean object
portlet.errorDesktopData=Error getting dp admin context
portlet.errorGettingPortalInstances=Error in getting portal instances for portal {0}
portlet.errorConnectingToHost=Error connecting to  host {0}
portlet.errorUploadingToHost=Error uploading file {0} to  host {1}
portlet.errorDeployOnInstance=Error deploying file {0} to instance {1} on  host {2}
portlet.errorUnDeployFromInstance=Error undeploying file {0} from instance {1} on  host {2}

# Register
error.psadmin.deploy-portlet.ear.ext.not.right = Error: File should have .ear extension.
portlet.errorReadingProperties=Unable to read the file {0}.
portlet.verbose.LoadingRolesFile=Loading the roles file
portlet.verbose.LoadingUserInfoFile=Loading the userinfo file
portlet.verbose.ObtainServerConnection=Obtaining mbean server connection
portlet.verbose.InvokingMbeanMethod=Invoking mbean method
portlet.verbose.MbeanMethodInvoked=Mbean method successfully invoked
portlet.errorRegisterPortlet=Error registering Portlet
portlet.errorUNRegisterPortlet=Error unregistring Portlet
portlet.noRegisteredPortlets=No portlets registered for this ear application