Uploaded image for project: 'Apache Taverna'
  1. Apache Taverna
  2. TAVERNA-198

Can't access certain insecure HTTPs locations

    XMLWordPrintableJSON

Details

    Description

      In particular the WSDL at https://heater.cs.man.ac.uk:7443/axis/services/HelloService-PlaintextPassword?wsdl does not work.

      This is due to Java 7 who have tightened the security requirements, and the service not having a proper certificate.

      In 2.4 this works with Java 6, but not with Java 7.

      It is uncertain if it should work, or how this should fail in a better way.

      ARN  2013-10-14 10:59:07,681 (net.sf.taverna.t2.workbench.run.actions.RunWorkflowAction:174) - Could not run workflow Secure_Web_service_call_example
      uk.org.taverna.platform.execution.api.InvalidWorkflowException: uk.org.taverna.platform.capability.api.ActivityConfigurationException: net.sf.taverna.t2.workflowmodel.processor.activity.ActivityConfigurationException: Unable to parse the WSDL https://heater.cs.man.ac.uk:7443/axis/services/HelloService-PlaintextPassword?wsdl
      	at uk.org.taverna.platform.execution.impl.local.WorkflowToDataflowMapper.getDataflow(WorkflowToDataflowMapper.java:163)
      	at uk.org.taverna.platform.execution.impl.local.LocalExecution.<init>(LocalExecution.java:135)
      	at uk.org.taverna.platform.execution.impl.local.LocalExecutionService.createExecutionImpl(LocalExecutionService.java:81)
      	at uk.org.taverna.platform.execution.api.AbstractExecutionService.createExecution(AbstractExecutionService.java:75)
      	at uk.org.taverna.platform.run.impl.Run.<init>(Run.java:121)
      	at uk.org.taverna.platform.run.impl.RunServiceImpl.createRun(RunServiceImpl.java:92)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      	at java.lang.reflect.Method.invoke(Unknown Source)
      	at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309)
      	at org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:58)
      	at org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:62)
      	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
      	at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
      	at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
      	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
      	at org.springframework.osgi.service.util.internal.aop.ServiceTCCLInterceptor.invokeUnprivileged(ServiceTCCLInterceptor.java:71)
      	at org.springframework.osgi.service.util.internal.aop.ServiceTCCLInterceptor.invoke(ServiceTCCLInterceptor.java:54)
      	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
      	at org.springframework.osgi.service.importer.support.LocalBundleContextAdvice.invoke(LocalBundleContextAdvice.java:59)
      	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
      	at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
      	at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
      	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
      	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
      	at com.sun.proxy.$Proxy251.createRun(Unknown Source)
      	at net.sf.taverna.t2.workbench.run.actions.RunWorkflowAction.runWorkflow(RunWorkflowAction.java:166)
      	at net.sf.taverna.t2.workbench.run.actions.RunWorkflowAction.access$100(RunWorkflowAction.java:76)
      	at net.sf.taverna.t2.workbench.run.actions.RunWorkflowAction$2.run(RunWorkflowAction.java:141)
      	at java.awt.event.InvocationEvent.dispatch(Unknown Source)
      	at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
      	at java.awt.EventQueue.access$200(Unknown Source)
      	at java.awt.EventQueue$3.run(Unknown Source)
      	at java.awt.EventQueue$3.run(Unknown Source)
      	at java.security.AccessController.doPrivileged(Native Method)
      	at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
      	at java.awt.EventQueue.dispatchEvent(Unknown Source)
      	at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
      	at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
      	at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
      	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
      	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
      	at java.awt.EventDispatchThread.run(Unknown Source)
      Caused by: uk.org.taverna.platform.capability.api.ActivityConfigurationException: net.sf.taverna.t2.workflowmodel.processor.activity.ActivityConfigurationException: Unable to parse the WSDL https://heater.cs.man.ac.uk:7443/axis/services/HelloService-PlaintextPassword?wsdl
      	at uk.org.taverna.platform.capability.activity.impl.ActivityServiceImpl.createActivity(ActivityServiceImpl.java:79)
      	at sun.reflect.GeneratedMethodAccessor118.invoke(Unknown Source)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      	at java.lang.reflect.Method.invoke(Unknown Source)
      	at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309)
      	at org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:58)
      	at org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:62)
      	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
      	at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
      	at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
      	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
      	at org.springframework.osgi.service.util.internal.aop.ServiceTCCLInterceptor.invokeUnprivileged(ServiceTCCLInterceptor.java:71)
      	at org.springframework.osgi.service.util.internal.aop.ServiceTCCLInterceptor.invoke(ServiceTCCLInterceptor.java:54)
      	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
      	at org.springframework.osgi.service.importer.support.LocalBundleContextAdvice.invoke(LocalBundleContextAdvice.java:59)
      	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
      	at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
      	at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
      	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
      	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
      	at com.sun.proxy.$Proxy231.createActivity(Unknown Source)
      	at uk.org.taverna.platform.execution.impl.local.WorkflowToDataflowMapper.addActivity(WorkflowToDataflowMapper.java:361)
      	at uk.org.taverna.platform.execution.impl.local.WorkflowToDataflowMapper.addProcessors(WorkflowToDataflowMapper.java:257)
      	at uk.org.taverna.platform.execution.impl.local.WorkflowToDataflowMapper.createDataflow(WorkflowToDataflowMapper.java:208)
      	at uk.org.taverna.platform.execution.impl.local.WorkflowToDataflowMapper.getDataflow(WorkflowToDataflowMapper.java:155)
      	... 43 more
      Caused by: net.sf.taverna.t2.workflowmodel.processor.activity.ActivityConfigurationException: Unable to parse the WSDL https://heater.cs.man.ac.uk:7443/axis/services/HelloService-PlaintextPassword?wsdl
      	at net.sf.taverna.t2.activities.wsdl.WSDLActivity.configure(WSDLActivity.java:117)
      	at net.sf.taverna.t2.activities.wsdl.WSDLActivity.configure(WSDLActivity.java:70)
      	at uk.org.taverna.platform.capability.activity.impl.ActivityServiceImpl.createActivity(ActivityServiceImpl.java:77)
      	... 67 more
      Caused by: javax.net.ssl.SSLException: Received fatal alert: internal_error
      	at sun.security.ssl.Alerts.getSSLException(Unknown Source)
      	at sun.security.ssl.Alerts.getSSLException(Unknown Source)
      	at sun.security.ssl.SSLSocketImpl.recvAlert(Unknown Source)
      	at sun.security.ssl.SSLSocketImpl.readRecord(Unknown Source)
      	at sun.security.ssl.SSLSocketImpl.performInitialHandshake(Unknown Source)
      	at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)
      	at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)
      	at sun.net.www.protocol.https.HttpsClient.afterConnect(Unknown Source)
      	at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.setNewClient(Unknown Source)
      	at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.setNewClient(Unknown Source)
      	at sun.net.www.protocol.http.HttpURLConnection.writeRequests(Unknown Source)
      	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
      	at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(Unknown Source)
      	at net.sf.taverna.t2.activities.wsdl.WSDLActivity.parseWSDL(WSDLActivity.java:218)
      	at net.sf.taverna.t2.activities.wsdl.WSDLActivity.configure(WSDLActivity.java:114)
      	... 69 more
      
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            stain Stian Soiland-Reyes
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: