Hi,

This normally happens if your Java does not have the strong cryptography policy installed in the correct place or Taverna is actually using a different Java installed on your machine. You'll need to install the Java strong crypto policy as explained at http://www.mygrid.org.uk/dev/wiki/display/taverna/Credential+Manager. It goes inside |/lib/security/ of your JRE installation (not JDK! but it won't harm if it is there as well)|.

Then, you should delete the "security" folder in your TAVERNA_HOME like you have been doing so far, restart Taverna and it will recreate its security files.

To check where you should install the Java policy, you can run this simple workflow in Taverna (see attached) that will tell you where the JRE home as used by Taverna is located on your machine.

Regards,
Alex




On 25/11/2011 19:45, judicael ribault wrote:
Oops, I just found a "log" file with more info.

INFO  2011-11-25 14:42:58,958
(net.sf.taverna.t2.workbench.helper.HelpCollator:193) - Attempting to
register Java Unlimited Strength Cryptography Policy Warning
INFO  2011-11-25 14:42:58,959
(net.sf.taverna.t2.workbench.helper.HelpCollator:206) - Refused to
register component as
java-unlimited-strength-cryptography-policy-warning - not in map
INFO  2011-11-25 14:43:00,289
(net.sf.taverna.t2.workbench.helper.HelpCollator:193) - Attempting to
register Set master password
INFO  2011-11-25 14:43:00,290
(net.sf.taverna.t2.workbench.helper.HelpCollator:206) - Refused to
register component as set-master-password - not in map
ERROR 2011-11-25 14:43:06,861
(net.sf.taverna.t2.workbench.ui.credentialmanager.CredentialManagerUI:211)
- Failed to generate a new empty Keystore.

But I already have installed the JCE in the correct folder ... If I
found something, I will post the solution here.

Thanks

On Fri, Nov 25, 2011 at 1:24 PM, judicael ribault<[email protected]>  wrote:
Here is a log from a clean install:
I start Taverna, and then go to "advanced>  Credential Manager", I
enter my password twice, and then got : "Failed to generate a new
empty Keystore"

user@ubuntu:~/taverna/taverna-workbench-2.3.0$ ./taverna.sh
WARN  2011-11-25 13:21:49,934
(net.sf.taverna.raven.repository.impl.ArtifactImpl:85) - Unable to
find a version for the dependency log4j:log4j - skipping
WARN  2011-11-25 13:21:49,956
(net.sf.taverna.raven.repository.impl.ArtifactImpl:85) - Unable to
find a version for the dependency
org.apache.geronimo.genesis.config:logging-config - skipping
WARN  2011-11-25 13:21:49,957
(net.sf.taverna.raven.repository.impl.ArtifactImpl:85) - Unable to
find a version for the dependency junit:junit - skipping
WARN  2011-11-25 13:21:49,959
(net.sf.taverna.raven.repository.impl.ArtifactImpl:85) - Unable to
find a version for the dependency junit:junit - skipping
ERROR 2011-11-25 13:22:24,271
(net.sf.taverna.t2.workbench.ui.credentialmanager.CredentialManagerUI:211)
- Failed to generate a new empty Keystore.

Hope it helps, Judicaƫl.


On Fri, Nov 25, 2011 at 1:18 PM, Alan R Williams<[email protected]>  wrote:
On 25/11/2011 17:47, judicael ribault wrote:
Hi,
Hello

I have problem to use the Credential Manager. I wonder if there is an
option to disable it ?!
I use Java 6 under linux and I installed JCE but the Credential
Manager tell me "Failed to generate a new empty Keystore".
Can you send us the log that is generated when this happens?

Thanks !
Alan

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure
contains a definitive record of customers, application performance,
security threats, fraudulent activity, and more. Splunk takes this
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
taverna-users mailing list
[email protected]
[email protected]
Web site: http://www.taverna.org.uk
Mailing lists: http://www.taverna.org.uk/about/contact-us/

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure
contains a definitive record of customers, application performance,
security threats, fraudulent activity, and more. Splunk takes this
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
taverna-users mailing list
[email protected]
[email protected]
Web site: http://www.taverna.org.uk
Mailing lists: http://www.taverna.org.uk/about/contact-us/

<workflow xmlns="http://taverna.sf.net/2008/xml/t2flow"; version="1" 
producedBy="taverna-2.3.0"><dataflow id="893aff72-3e8a-4e06-b853-517292485560" 
role="top"><name>Workflow1</name><inputPorts 
/><outputPorts><port><name>jre_home</name><annotations 
/></port></outputPorts><processors><processor><name>Beanshell</name><inputPorts 
/><outputPorts><port><name>jre_home</name><depth>0</depth><granularDepth>0</granularDepth></port></outputPorts><annotations
 
/><activities><activity><raven><group>net.sf.taverna.t2.activities</group><artifact>beanshell-activity</artifact><version>1.3</version></raven><class>net.sf.taverna.t2.activities.beanshell.BeanshellActivity</class><inputMap
 /><outputMap><map from="jre_home" to="jre_home" /></outputMap><configBean 
encoding="xstream"><net.sf.taverna.t2.activities.beanshell.BeanshellActivityConfigurationBean
 xmlns="">
  <inputs />
  <outputs>
    
<net.sf.taverna.t2.workflowmodel.processor.activity.config.ActivityOutputPortDefinitionBean>
      <name>jre_home</name>
      <depth>0</depth>
      <mimeTypes />
      <granularDepth>0</granularDepth>
    
</net.sf.taverna.t2.workflowmodel.processor.activity.config.ActivityOutputPortDefinitionBean>
  </outputs>
  <classLoaderSharing>workflow</classLoaderSharing>
  <localDependencies />
  <artifactDependencies />
  <script>jre_home = System.getProperty("java.home");</script>
  <dependencies />
</net.sf.taverna.t2.activities.beanshell.BeanshellActivityConfigurationBean></configBean><annotations
 
/></activity></activities><dispatchStack><dispatchLayer><raven><group>net.sf.taverna.t2.core</group><artifact>workflowmodel-impl</artifact><version>1.3</version></raven><class>net.sf.taverna.t2.workflowmodel.processor.dispatch.layers.Parallelize</class><configBean
 
encoding="xstream"><net.sf.taverna.t2.workflowmodel.processor.dispatch.layers.ParallelizeConfig
 xmlns="">
  <maxJobs>1</maxJobs>
</net.sf.taverna.t2.workflowmodel.processor.dispatch.layers.ParallelizeConfig></configBean></dispatchLayer><dispatchLayer><raven><group>net.sf.taverna.t2.core</group><artifact>workflowmodel-impl</artifact><version>1.3</version></raven><class>net.sf.taverna.t2.workflowmodel.processor.dispatch.layers.ErrorBounce</class><configBean
 encoding="xstream"><null xmlns="" 
/></configBean></dispatchLayer><dispatchLayer><raven><group>net.sf.taverna.t2.core</group><artifact>workflowmodel-impl</artifact><version>1.3</version></raven><class>net.sf.taverna.t2.workflowmodel.processor.dispatch.layers.Failover</class><configBean
 encoding="xstream"><null xmlns="" 
/></configBean></dispatchLayer><dispatchLayer><raven><group>net.sf.taverna.t2.core</group><artifact>workflowmodel-impl</artifact><version>1.3</version></raven><class>net.sf.taverna.t2.workflowmodel.processor.dispatch.layers.Retry</class><configBean
 
encoding="xstream"><net.sf.taverna.t2.workflowmodel.processor.dispatch.layers.RetryConfig
 xmlns="">
  <backoffFactor>1.0</backoffFactor>
  <initialDelay>1000</initialDelay>
  <maxDelay>5000</maxDelay>
  <maxRetries>0</maxRetries>
</net.sf.taverna.t2.workflowmodel.processor.dispatch.layers.RetryConfig></configBean></dispatchLayer><dispatchLayer><raven><group>net.sf.taverna.t2.core</group><artifact>workflowmodel-impl</artifact><version>1.3</version></raven><class>net.sf.taverna.t2.workflowmodel.processor.dispatch.layers.Invoke</class><configBean
 encoding="xstream"><null xmlns="" 
/></configBean></dispatchLayer></dispatchStack><iterationStrategyStack><iteration><strategy
 /></iteration></iterationStrategyStack></processor></processors><conditions 
/><datalinks><datalink><sink 
type="dataflow"><port>jre_home</port></sink><source 
type="processor"><processor>Beanshell</processor><port>jre_home</port></source></datalink></datalinks><annotations><annotation_chain_2_2
 encoding="xstream"><net.sf.taverna.t2.annotation.AnnotationChainImpl xmlns="">
  <annotationAssertions>
    <net.sf.taverna.t2.annotation.AnnotationAssertionImpl>
      <annotationBean 
class="net.sf.taverna.t2.annotation.annotationbeans.IdentificationAssertion">
        <identification>893aff72-3e8a-4e06-b853-517292485560</identification>
      </annotationBean>
      <date>2011-11-28 11:13:51.155 GMT</date>
      <creators />
      <curationEventList />
    </net.sf.taverna.t2.annotation.AnnotationAssertionImpl>
  </annotationAssertions>
</net.sf.taverna.t2.annotation.AnnotationChainImpl></annotation_chain_2_2></annotations></dataflow></workflow>
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
taverna-users mailing list
[email protected]
[email protected]
Web site: http://www.taverna.org.uk
Mailing lists: http://www.taverna.org.uk/about/contact-us/

Reply via email to