• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Knute Snortum
  • Bear Bibeault
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Frits Walraven
  • Carey Brown
  • Tim Holloway

Reset Password For Websphere portal server

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
Iam trying to reset the pwd for websphere portal server. I executed the following steps.
Navigate via command prompt to <wp_profile_root>/bin
Issue the following and press Enter: wsadmin -conntype NONE
Issue the following and press Enter: $AdminTask changeFileRegistryAccountPassword {-userId <wpsadmin_ID> -password <wpsadmin_new_password>}
Issue the following and press Enter: $AdminConfig save

Navigate via command prompt to <wp_profile_root>/ConfigEngine Issue the following command: ConfigEngine wp-change-portal-admin-user -DnewAdminId=<wasadmin_DN> -DnewAdminPw=<wasadmin_new_password>-DnewAdminGroupId=<wpsadmins_DN> -Dskip.ldap.validation=true

After executing tha above command I got the below exeception

BUILD FAILED
D:\IBM\WebSphere\wp_profile\ConfigEngine\config\actions\wp_security_pub.xml:2228
: property newAdminGroupId must be a DN current value is

Total time: 9 seconds
isIseries currently set to: null
uploading registry
Created admin client: com.ibm.ws.management.AdminClientImpl@41444144
Created config Service Proxy: com.ibm.websphere.management.configservice.ConfigS
erviceProxy@20b220b2
CELL: Mka00
CELL: Mka00
com.ibm.websphere.management.exception.ConfigServiceException: javax.management.
JMRuntimeException: ADMN0022E: Access is denied for the resolve operation on Con
figService MBean because of insufficient or empty credentials.
at com.ibm.websphere.management.configservice.ConfigServiceProxy.resolve
(ConfigServiceProxy.java:473)
at com.ibm.wkplc.was.registry.AdminConfigRegistry.createNewRegistry(Admi
nConfigRegistry.java:226)
at com.ibm.wkplc.models.compregistry.ResourceWidget.saveResourceToAdminC
onfig(ResourceWidget.java:362)
at com.ibm.wkplc.models.compregistry.GenerateNodeRegistryXML.syncCacheTo
Registry(GenerateNodeRegistryXML.java:419)
at com.ibm.wkplc.models.compregistry.RegistryHelper.uploadRegistryToWAS(
RegistryHelper.java:83)
at com.ibm.wps.config.tasks.UploadRegistryTask.execute(UploadRegistryTas
k.java:52)
at com.ibm.wps.config.ConfigEngineListener.buildFinished(ConfigEngineLis
tener.java:278)
at org.apache.tools.ant.Project.fireBuildFinished(Project.java:1848)
at org.apache.tools.ant.Main.runBuild(Main.java:688)
at org.apache.tools.ant.Main.startAnt(Main.java:187)
at org.apache.tools.ant.Main.start(Main.java:150)
at com.ibm.wps.config.ConfigEngine.process(ConfigEngine.java:828)
at com.ibm.wps.config.ConfigEngine.main(ConfigEngine.java:236)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:79)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
at com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:263)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:79)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
at com.ibm.wps.config.launch.WpsConfigLauncher.process(WpsConfigLauncher
.java:243)
at com.ibm.wps.config.launch.WpsConfigLauncher.main(WpsConfigLauncher.ja
va:459)
Caused by: javax.management.JMRuntimeException: ADMN0022E: Access is denied for
the resolve operation on ConfigService MBean because of insufficient or empty cr
edentials.
at com.ibm.ws.management.connector.soap.SOAPConnectorClient.handleAdminF
ault(SOAPConnectorClient.java:808)
at com.ibm.ws.management.connector.soap.SOAPConnectorClient.invokeTempla
te(SOAPConnectorClient.java:776)
at com.ibm.ws.management.connector.soap.SOAPConnectorClient.invoke(SOAPC
onnectorClient.java:573)
at com.ibm.ws.management.connector.soap.SOAPConnectorClient.invoke(SOAPC
onnectorClient.java:400)
at $Proxy0.invoke(Unknown Source)
at com.ibm.ws.management.AdminClientImpl.invoke(AdminClientImpl.java:205
)
at com.ibm.websphere.management.configservice.ConfigServiceProxy.resolve
(ConfigServiceProxy.java:448)
... 23 more
Return Value: 1


Please help me to reset the pwd for websphere portal server

Thanks & Regards,
Aruna.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!