tuscany-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Luciano Resende <luckbr1...@gmail.com>
Subject Re: Node Implementation Problem
Date Wed, 20 Nov 2013 20:40:01 GMT
Your question is a bit vague, but two things that comes to mind :

Any changes/upgrades on SDK/SSL certificates (maybe expired) which might be
causing SSL issues ?
Another option is if this can be related to your folder having spaces on
the name ? If you move to a regular folder without spaces, does it work ok ?


On Wed, Nov 20, 2013 at 12:03 AM, Owen Hernandez <owen092481@gmail.com>wrote:

> Hi,
>
> My project was working fine until i get this error:
>
> Starting ...
> nov 20, 2013 12:57:27 AM org.apache.tuscany.sca.node.impl.NodeImpl start
> Información: Starting node:
> http://tuscany.apache.org/sca/1.1/nodes/default0 domain: default
> nov 20, 2013 12:57:29 AM org.apache.tuscany.sca.node.impl.NodeFactoryImpl
> loadContributions
> Información: Loading contribution:
> file:/C:/Users/user/Documents/My%20Box%20Files/Java/PaymentIntegration/bin/
> Exception in thread "main" java.lang.IllegalStateException:
> java.lang.IllegalStateException: java.lang.reflect.InvocationTargetException
>  at org.apache.tuscany.sca.node.impl.NodeImpl.start(NodeImpl.java:178)
> at launch.Launch.main(Launch.java:34)
> Caused by: java.lang.IllegalStateException:
> java.lang.reflect.InvocationTargetException
> at
> org.apache.tuscany.sca.provider.DefaultProviderFactoryExtensionPoint$LazyBindingProviderFactory.getFactory(DefaultProviderFactoryExtensionPoint.java:243)
>  at
> org.apache.tuscany.sca.provider.DefaultProviderFactoryExtensionPoint$LazyBindingProviderFactory.createReferenceBindingProvider(DefaultProviderFactoryExtensionPoint.java:251)
>  at
> org.apache.tuscany.sca.core.assembly.impl.RuntimeEndpointReferenceImpl.getBindingProvider(RuntimeEndpointReferenceImpl.java:572)
> at
> org.apache.tuscany.sca.core.assembly.impl.RuntimeEndpointReferenceImpl.getBindingInterfaceContract(RuntimeEndpointReferenceImpl.java:616)
>  at
> org.apache.tuscany.sca.core.assembly.impl.RuntimeEndpointReferenceImpl.validateReferenceInterfaceCompatibility(RuntimeEndpointReferenceImpl.java:389)
> at
> org.apache.tuscany.sca.core.runtime.impl.EndpointReferenceBinderImpl.bind(EndpointReferenceBinderImpl.java:351)
>  at
> org.apache.tuscany.sca.core.runtime.impl.EndpointReferenceBinderImpl.bindBuildTime(EndpointReferenceBinderImpl.java:126)
> at
> org.apache.tuscany.sca.deployment.impl.DeployerImpl.matchEndpointReferences(DeployerImpl.java:836)
>  at
> org.apache.tuscany.sca.deployment.impl.DeployerImpl.buildTimeReferenceBind(DeployerImpl.java:801)
> at
> org.apache.tuscany.sca.deployment.impl.DeployerImpl.build(DeployerImpl.java:607)
>  at
> org.apache.tuscany.sca.deployment.impl.DeployerImpl.build(DeployerImpl.java:500)
> at
> org.apache.tuscany.sca.node.impl.NodeFactoryImpl.configureNode(NodeFactoryImpl.java:314)
>  at org.apache.tuscany.sca.node.impl.NodeImpl.load(NodeImpl.java:202)
> at org.apache.tuscany.sca.node.impl.NodeImpl.start(NodeImpl.java:118)
>  ... 1 more
> Caused by: java.lang.reflect.InvocationTargetException
> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
>  at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
> at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown
> Source)
>  at java.lang.reflect.Constructor.newInstance(Unknown Source)
> at
> org.apache.tuscany.sca.provider.DefaultProviderFactoryExtensionPoint$LazyBindingProviderFactory.getFactory(DefaultProviderFactoryExtensionPoint.java:241)
>  ... 14 more
> Caused by: java.lang.IllegalArgumentException:
> java.lang.IllegalStateException: Failure initializing default SSL context
> at
> org.apache.tuscany.sca.core.DefaultUtilityExtensionPoint.getUtility(DefaultUtilityExtensionPoint.java:189)
>  at
> org.apache.tuscany.sca.core.DefaultUtilityExtensionPoint.getUtility(DefaultUtilityExtensionPoint.java:94)
> at
> org.apache.tuscany.sca.host.http.client.HttpClientFactory.getInstance(HttpClientFactory.java:52)
>  at
> org.apache.tuscany.sca.binding.jsonrpc.provider.JSONRPCBindingProviderFactory.<init>(JSONRPCBindingProviderFactory.java:50)
> ... 19 more
> Caused by: java.lang.IllegalStateException: Failure initializing default
> SSL context
> at
> org.apache.http.conn.ssl.SSLSocketFactory.createDefaultSSLContext(SSLSocketFactory.java:211)
>  at
> org.apache.http.conn.ssl.SSLSocketFactory.<init>(SSLSocketFactory.java:333)
> at
> org.apache.http.conn.ssl.SSLSocketFactory.getSocketFactory(SSLSocketFactory.java:165)
>  at
> org.apache.tuscany.sca.host.http.client.HttpClientFactory.createHttpClient(HttpClientFactory.java:69)
> at
> org.apache.tuscany.sca.host.http.client.HttpClientFactory.start(HttpClientFactory.java:80)
>  at
> org.apache.tuscany.sca.core.DefaultUtilityExtensionPoint.addUtility(DefaultUtilityExtensionPoint.java:68)
> at
> org.apache.tuscany.sca.core.DefaultUtilityExtensionPoint.addUtility(DefaultUtilityExtensionPoint.java:59)
>  at
> org.apache.tuscany.sca.core.DefaultUtilityExtensionPoint.getUtility(DefaultUtilityExtensionPoint.java:183)
> ... 22 more
> Caused by: java.security.KeyStoreException: problem accessing trust
> storejava.io.EOFException
> at sun.security.ssl.TrustManagerFactoryImpl.engineInit(Unknown Source)
>  at javax.net.ssl.TrustManagerFactory.init(Unknown Source)
> at
> org.apache.http.conn.ssl.SSLSocketFactory.createSSLContext(SSLSocketFactory.java:190)
>  at
> org.apache.http.conn.ssl.SSLSocketFactory.createDefaultSSLContext(SSLSocketFactory.java:209)
> ... 29 more
>
> I don´t know what hapenned, Does anybody know what is my problem?
>



-- 
Luciano Resende
http://people.apache.org/~lresende
http://twitter.com/lresende1975
http://lresende.blogspot.com/

Mime
View raw message