|
Home > Archive > WebSphere Portal Server > March 2005 > Defect in Credential Valut?
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Defect in Credential Valut?
|
|
| Bibhas Bhattacharya 2005-03-02, 6:16 pm |
| Platform: RAD 6, Portal Server v5.1
I created a basic portlet with support for credential vault (portlet private
credential vault). When i submit the form from the edit mode - nothing
happens. System redisplays the form.
I changed the try/catch block in the actionPerformed method in the portlet
class.
try {
VaultTestPortletSecretManager. setCredential(request,sessionBean,userID
,passw
ord);
}catch (Throwable e) { <-- Catch Throwable not Exception
e.printStackTrace(); <-- Do a stack trace
if( getPortletLog().isErrorEnabled() )
getPortletLog().error("Error on
VaultTestPortletSecretManager.setCredential(): "+e.getMessage());
}
This produces a stack trace as follows.
[3/2/05 17:20:26:985 EST] e549e62 SystemErr R java.lang.NoSuchMethodError:
com.ibm.wps.portletservice.credentialvault.CredentialVaultService: method
getDefaultUserVaultSegmentId()Lcom/ibm/wps/util/ObjectID; not found
[3/2/05 17:20:26:995 EST] e549e62 SystemErr R at
vaulttest.VaultTestPortletSecretManager.createNewSlot(VaultTestPortletSecret
Manager.java:170)
[3/2/05 17:20:26:995 EST] e549e62 SystemErr R at
vaulttest.VaultTestPortletSecretManager.getSlotId(VaultTestPortletSecretMana
ger.java:125)
[3/2/05 17:20:26:995 EST] e549e62 SystemErr R at
vaulttest.VaultTestPortletSecretManager.setCredential(VaultTestPortletSecret
Manager.java:97)
[3/2/05 17:20:26:995 EST] e549e62 SystemErr R at
vaulttest.VaultTestPortlet.actionPerformed(VaultTestPortlet.java:132)
Has anyone gotten the credential vault to work in RAD 6? Thanks.
--
Bibhas Bhattacharya
WebSphere, WebLogic Training and Consulting
www.webagesolutions.com
| |
| Bibhas Bhattacharya 2005-03-03, 5:59 pm |
| OK, the problem went away after I stopped and started the server.
--
Bibhas Bhattacharya
WebSphere, WebLogic Training and Consulting
www.webagesolutions.com
"Bibhas Bhattacharya" <bibhasNOSPAM@webagesolutions.com> wrote in message
news:d05ed3$i82$1@news.boulder.ibm.com...
> Platform: RAD 6, Portal Server v5.1
>
> I created a basic portlet with support for credential vault (portlet
private
> credential vault). When i submit the form from the edit mode - nothing
> happens. System redisplays the form.
>
> I changed the try/catch block in the actionPerformed method in the portlet
> class.
>
> try {
>
>
VaultTestPortletSecretManager. setCredential(request,sessionBean,userID
,passw
> ord);
> }catch (Throwable e) { <-- Catch Throwable not Exception
> e.printStackTrace(); <-- Do a stack trace
> if( getPortletLog().isErrorEnabled() )
> getPortletLog().error("Error on
> VaultTestPortletSecretManager.setCredential(): "+e.getMessage());
> }
>
> This produces a stack trace as follows.
>
> [3/2/05 17:20:26:985 EST] e549e62 SystemErr R java.lang.NoSuchMethodError:
> com.ibm.wps.portletservice.credentialvault.CredentialVaultService: method
> getDefaultUserVaultSegmentId()Lcom/ibm/wps/util/ObjectID; not found
>
> [3/2/05 17:20:26:995 EST] e549e62 SystemErr R at
>
vaulttest.VaultTestPortletSecretManager. createNewSlot(VaultTestPortletSecret[vbc
ol=seagreen]
> Manager.java:170)
>
> [3/2/05 17:20:26:995 EST] e549e62 SystemErr R at
>[/vbcol]
vaulttest.VaultTestPortletSecretManager. getSlotId(VaultTestPortletSecretMana[vbc
ol=seagreen]
> ger.java:125)
>
> [3/2/05 17:20:26:995 EST] e549e62 SystemErr R at
>[/vbcol]
vaulttest.VaultTestPortletSecretManager. setCredential(VaultTestPortletSecret[vbc
ol=seagreen]
> Manager.java:97)
>
> [3/2/05 17:20:26:995 EST] e549e62 SystemErr R at
> vaulttest.VaultTestPortlet.actionPerformed(VaultTestPortlet.java:132)
>
> Has anyone gotten the credential vault to work in RAD 6? Thanks.
>
> --
> Bibhas Bhattacharya
> WebSphere, WebLogic Training and Consulting
> www.webagesolutions.com
>
>
>[/vbcol]
|
|
|
|
|