This sounds familiar, but I'm pretty certain that Alex and I did
something about this to make sure the credential manager pop-up also
would work when loading a workflow.. I'll look into the code.

I assume the taverna caGrid sourcecode is in the usual place?

On Tue, Jan 26, 2010 at 20:44, Wei Tan <[email protected]> wrote:
> I checked the same routine in T2.1 beta2, where you do not have to
> initiate the GUI first. Instead, the GUI pops up asking for master password.
> However, in T2.1 you will get an error:
> WARN  2010-01-25 16:40:53,127 (net.sf.taverna.raven.spi.SpiRegistry:85)
> - Could not find class net.s
> f.taverna.t2.security.credentialmanager.UIMasterPasswordProvider using
> loader{net.sf.taverna.t2.tave
> rna-workbench.plugins:components-plugin:2.1.0} from 2003979
> java.lang.ClassNotFoundException:
> net.sf.taverna.t2.security.credentialmanager.UIMasterPasswordProvi
> der
>
> Any idea?
>
> Wei
>
> Wei Tan wrote:
>> To be more specific, the first time when I load a secure workflow or
>> cagrid service, the credential manager needs to be initiated in the
>> GUI first, in the same Taverna workbench session.
>> Thanks,
>> Wei
>>
>> Wei Tan wrote:
>>> Hi,
>>>
>>>   When I do a fresh installation of T2.1, install the cagrid-activity
>>> plug-in, and 1) open a workflow that contains a secure service or 2)
>>> add a cagrid service,
>>> CredentialManager.getInstance() is invoked and an error occurs (see
>>> the end of this email).
>>> A workaround here, is to visit the credential manager in the GUI and
>>> provide a master password.
>>> It is required or, can the users at this time provide an initial
>>> master password instead of failure?
>>>
>>>  Best regards,
>>>
>>> Wei
>>>
>>> ----------------------------------------------------------------------------------------------------------------------
>>>
>>> WARN  2010-01-25 16:40:53,127
>>> (net.sf.taverna.raven.spi.SpiRegistry:85) - Could not find class net.s
>>> f.taverna.t2.security.credentialmanager.UIMasterPasswordProvider
>>> using loader{net.sf.taverna.t2.tave
>>> rna-workbench.plugins:components-plugin:2.1.0} from 2003979
>>> java.lang.ClassNotFoundException:
>>> net.sf.taverna.t2.security.credentialmanager.UIMasterPasswordProvi
>>> der
>>>        at
>>> net.sf.taverna.raven.repository.impl.LocalArtifactClassLoader.findClass(LocalArtifactClas
>>>
>>> sLoader.java:343)
>>>        at
>>> net.sf.taverna.raven.repository.impl.LocalArtifactClassLoader.findClass(LocalArtifactClas
>>>
>>> sLoader.java:276)
>>>        at java.lang.ClassLoader.loadClass(Unknown Source)
>>>        at java.lang.ClassLoader.loadClass(Unknown Source)
>>>        at
>>> net.sf.taverna.raven.spi.SpiRegistry.updateRegistry(SpiRegistry.java:274)
>>>
>>>        at
>>> net.sf.taverna.raven.spi.SpiRegistry.getClasses(SpiRegistry.java:154)
>>>        at
>>> net.sf.taverna.raven.spi.InstanceRegistry.getInstances(InstanceRegistry.java:129)
>>>
>>>        at
>>> net.sf.taverna.t2.spi.SPIRegistry.getInstances(SPIRegistry.java:117)
>>>        at
>>> net.sf.taverna.t2.security.credentialmanager.CredentialManager.<init>(CredentialManager.j
>>>
>>> ava:185)
>>>        at
>>> net.sf.taverna.t2.security.credentialmanager.CredentialManager.getInstance(CredentialMana
>>>
>>> ger.java:141)
>>>        at
>>> net.sf.taverna.cagrid.activity.CaGridActivity.loadCaGridCAsCertificates(CaGridActivity.ja
>>>
>>> va:778)
>>>        at
>>> net.sf.taverna.cagrid.activity.CaGridActivity.initializeSecurity(CaGridActivity.java:737)
>>>
>>>
>>>        at
>>> net.sf.taverna.cagrid.activity.CaGridActivity.<clinit>(CaGridActivity.java:126)
>>>
>>>
>>
>
> --
> Wei Tan, Ph.D.
> Computation Institute
> the University of Chicago|Argonne National Laboratory
> http://www.mcs.anl.gov/~wtan
>
>
> ------------------------------------------------------------------------------
> The Planet: dedicated and managed hosting, cloud storage, colocation
> Stay online with enterprise data centers and the best network in the business
> Choose flexible plans and management services without long-term contracts
> Personal 24x7 support from experience hosting pros just a phone call away.
> http://p.sf.net/sfu/theplanet-com
> _______________________________________________
> taverna-hackers mailing list
> [email protected]
> Web site: http://www.taverna.org.uk
> Mailing lists: http://www.taverna.org.uk/taverna-mailing-lists/
> Developers Guide: http://www.mygrid.org.uk/tools/developer-information
>



-- 
Stian Soiland-Reyes, myGrid team
School of Computer Science
The University of Manchester

------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
taverna-hackers mailing list
[email protected]
Web site: http://www.taverna.org.uk
Mailing lists: http://www.taverna.org.uk/taverna-mailing-lists/
Developers Guide: http://www.mygrid.org.uk/tools/developer-information

Reply via email to