file:///C:/IBM2/WebSphere/wp_profile/installableApps/HPHC.war
But when i made some changes in war then again try to deploy it then a error is coming which is below:-
com.ibm.wps.command.xml.XmlCommandException: EJPXA0043E: An error occurred while creating or updating the resource. web-app
com.ibm.wps.command.applications.AppAlreadyExistsException: EJPPF0181E: Error occurred. The id=com.bowstreet.portlet.WebAppRunner_HPHC already exists for stored standard portlet application com.bowstreet.portlet.WebAppRunner_HPHC in the XML element portlet-app HPHC.war.
WrappedException is: com.ibm.wps.pe.mgr.exceptions.DuplicateAppException: EJPPF0181E: Error occurred. The id=com.bowstreet.portlet.WebAppRunner_HPHC already exists for stored standard portlet application com.bowstreet.portlet.WebAppRunner_HPHC in the XML element portlet-app HPHC.war.
com.ibm.wps.pe.mgr.exceptions.DuplicateAppException: EJPPF0181E: Error occurred. The id=com.bowstreet.portlet.WebAppRunner_HPHC already exists for stored standard portlet application com.bowstreet.portlet.WebAppRunner_HPHC in the XML element portlet-app HPHC.war.
Also in samples xml there is UpdatePortlet.xml but the tags & attributes which r there, are same as above xml which i used for deploying a portlet
so pls let me know which xml shud i use to update a portlet if it is already exist in a portal server
Many Thanks!
Vikas
Also, on the subsequent updates do not set create-oids="true" in the xml
meanwhile i have one more query which is:-
When we deploy the portlet in portal server then it is creating a directory PA_WPF.ear in installedApps, so cant we give a portlet specific ear file name using xml script or something else..
in this way if we deployed 5 more portlets then it will create directories like PA_WPF_1.ear, PA_WPF_2.ear, and so on...
so if we can also give a name to the ear file, then it will be easy to find the logs of xyz portlet in development/production server.
this is one of the scenario which will help the support of a project...
tag in the deployment XML file, the "uid" attribute should match the "id" attribute given in the tag in portlet.xml
also it is good to give a unique name to the portlet
thx
Vikas