i added through esb dashboard already

On Fri, Jul 3, 2015 at 4:15 PM, Keerthika Mahendralingam <[email protected]
> wrote:

> Hi Rajjaz,
>
> You need to add the api certificate to ESB. You can do this by,
>
>
>    - Extract the certificate from browser by navigating to apiUrl
>    - Navigate to "/repository/resources/security/" using command prompt
>    and execute keytool -importcert -file CERT_FILE_NAME -keystore
>    client-truststore.jks -alias "CERT_NAME" in command line to import api
>    certificate in to keystore. Give "*wso2carbon*" as password.
>
> Thanks,
>
> On Fri, Jul 3, 2015 at 4:01 PM, Rajjaz Mohammed <[email protected]> wrote:
>
>> But when i try to test manually i'm getting this error
>>
>> [2015-07-03 15:56:37,273]  WARN - SequenceMediator onError handler :
>> faultHandlerSeq for sequence : null cannot be found
>> [2015-07-03 15:56:37,278]  INFO - LogMediator To:
>> /services/googlecalendar_createCalendarEntry, From: 10.100.7.64, Direction:
>> request, INIT = ##### Call to the Proxy #####, Envelope: <?xml
>> version="1.0" encoding="utf-8"?><soapenv:Envelope xmlns:soapenv="
>> http://schemas.xmlsoap.org/soap/envelope/
>> "><soapenv:Body></soapenv:Body></soapenv:Envelope>
>> [2015-07-03 15:56:37,297]  INFO - TimeoutHandler This engine will expire
>> all callbacks after : 120 seconds, irrespective of the timeout action,
>> after the specified or optional timeout
>> [2015-07-03 15:56:37,962] ERROR - TargetHandler I/O error: General
>> SSLEngine problem
>> javax.net.ssl.SSLHandshakeException: General SSLEngine problem
>>     at sun.security.ssl.Handshaker.checkThrown(Handshaker.java:1336)
>>     at
>> sun.security.ssl.SSLEngineImpl.checkTaskThrown(SSLEngineImpl.java:519)
>>     at
>> sun.security.ssl.SSLEngineImpl.writeAppRecord(SSLEngineImpl.java:1197)
>>     at sun.security.ssl.SSLEngineImpl.wrap(SSLEngineImpl.java:1169)
>>     at javax.net.ssl.SSLEngine.wrap(SSLEngine.java:469)
>>     at
>> org.apache.http.nio.reactor.ssl.SSLIOSession.doWrap(SSLIOSession.java:220)
>>     at
>> org.apache.http.nio.reactor.ssl.SSLIOSession.doHandshake(SSLIOSession.java:254)
>>     at
>> org.apache.http.nio.reactor.ssl.SSLIOSession.isAppInputReady(SSLIOSession.java:380)
>>     at
>> org.apache.http.impl.nio.reactor.AbstractIODispatch.inputReady(AbstractIODispatch.java:118)
>>     at
>> org.apache.http.impl.nio.reactor.BaseIOReactor.validate(BaseIOReactor.java:220)
>>     at
>> org.apache.http.impl.nio.reactor.AbstractIOReactor.execute(AbstractIOReactor.java:284)
>>     at
>> org.apache.http.impl.nio.reactor.BaseIOReactor.execute(BaseIOReactor.java:106)
>>     at
>> org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor$Worker.run(AbstractMultiworkerIOReactor.java:604)
>>     at java.lang.Thread.run(Thread.java:745)
>> Caused by: javax.net.ssl.SSLHandshakeException: General SSLEngine problem
>>     at sun.security.ssl.Alerts.getSSLException(Alerts.java:192)
>>     at sun.security.ssl.SSLEngineImpl.fatal(SSLEngineImpl.java:1703)
>>     at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:281)
>>     at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:273)
>>     at
>> sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1446)
>>     at
>> sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:209)
>>     at sun.security.ssl.Handshaker.processLoop(Handshaker.java:901)
>>     at sun.security.ssl.Handshaker$1.run(Handshaker.java:841)
>>     at sun.security.ssl.Handshaker$1.run(Handshaker.java:839)
>>     at java.security.AccessController.doPrivileged(Native Method)
>>     at sun.security.ssl.Handshaker$DelegatedTask.run(Handshaker.java:1273)
>>     at
>> org.apache.http.nio.reactor.ssl.SSLIOSession.doRunTask(SSLIOSession.java:238)
>>     at
>> org.apache.http.nio.reactor.ssl.SSLIOSession.doHandshake(SSLIOSession.java:270)
>>     ... 7 more
>> Caused by: sun.security.validator.ValidatorException: PKIX path building
>> failed: sun.security.provider.certpath.SunCertPathBuilderException: unable
>> to find valid certification path to requested target
>>     at
>> sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:385)
>>     at
>> sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:292)
>>     at sun.security.validator.Validator.validate(Validator.java:260)
>>     at
>> sun.security.ssl.X509TrustManagerImpl.validate(X509TrustManagerImpl.java:326)
>>     at
>> sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:283)
>>     at
>> sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:138)
>>     at
>> sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1433)
>>     ... 15 more
>> Caused by: sun.security.provider.certpath.SunCertPathBuilderException:
>> unable to find valid certification path to requested target
>>     at
>> sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:196)
>>     at java.security.cert.CertPathBuilder.build(CertPathBuilder.java:268)
>>     at
>> sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:380)
>>     ... 21 more
>> [2015-07-03 15:56:37,969]  WARN - EndpointContext Endpoint :
>> AnonymousEndpoint will be marked SUSPENDED as it failed
>> [2015-07-03 15:56:37,970]  WARN - EndpointContext Suspending endpoint :
>> AnonymousEndpoint - current suspend duration is : 30000ms - Next retry
>> after : Fri Jul 03 15:57:07 IST 2015
>>
>>
>> and my Config File is
>>
>> <?xml version="1.0" encoding="UTF-8"?>
>> <definitions xmlns="http://ws.apache.org/ns/synapse";>
>>    <import name="deputy" package="org.wso2.carbon.connector"
>> status="enabled"/>
>>    <import name="twitter"
>>            package="org.wso2.carbon.connectors"
>>            status="enabled"/>
>>    <proxy name="twitter"
>>           transports="https http"
>>           startOnLoad="true"
>>           trace="disable">
>>       <description/>
>>       <target>
>>          <inSequence onError="faultHandlerSeq">
>>             <log level="full">
>>                <property name="INIT" value="##### Call to the Proxy
>> #####"/>
>>             </log>
>>             <twitter.init>
>>                <consumerKey>xxxxxxxxxxxxxxxxxxx</consumerKey>
>>                <consumerSecret>xxxxxxxxxxxxxxxxxxx</consumerSecret>
>>                <accessToken>xxxxxxxxxxxxxxxxxxx</accessToken>
>>
>> <accessTokenSecret>xxxxxxxxxxxxxxxxxxxxxx</accessTokenSecret>
>>             </twitter.init>
>>             <twitter.search>
>>                <search>happy</search>
>>                <lang>en</lang>
>>                <count>12</count>
>>             </twitter.search>
>>          </inSequence>
>>          <outSequence>
>>             <send/>
>>          </outSequence>
>>       </target>
>>    </proxy>
>>    <sequence name="fault">
>>       <log level="full">
>>          <property name="MESSAGE" value="Executing default
>> &#34;fault&#34; sequence"/>
>>          <property name="ERROR_CODE"
>> expression="get-property('ERROR_CODE')"/>
>>          <property name="ERROR_MESSAGE"
>> expression="get-property('ERROR_MESSAGE')"/>
>>       </log>
>>       <drop/>
>>    </sequence>
>>    <sequence name="main">
>>       <in>
>>          <send>
>>             <endpoint>
>>                <address uri="
>> http://localhost:9000/services/SimpleStockQuoteService"/>
>>             </endpoint>
>>          </send>
>>       </in>
>>       <out>
>>          <send/>
>>       </out>
>>    </sequence>
>> </definitions>
>>
>> On Fri, Jul 3, 2015 at 12:14 PM, Keerthika Mahendralingam <
>> [email protected]> wrote:
>>
>>> For Twitter connector, there are no test cases available. You can check
>>> the connector manually.
>>>
>>> On Fri, Jul 3, 2015 at 12:12 PM, Rajjaz Mohammed <[email protected]>
>>> wrote:
>>>
>>>> my Earlier repo is working fine.  only i made the mistake in my pom
>>>> file as version as 1.0.0 when i build the integration base then i changed
>>>> to 1.0.1 then its work fine. but is there any test cases to check?
>>>>
>>>> On Fri, Jul 3, 2015 at 12:04 PM, Rajjaz Mohammed <[email protected]>
>>>> wrote:
>>>>
>>>>> tanks keerthika,
>>>>> Finally i found the error was in my integration base pom file.
>>>>> mistakenly version changes to 1.0.0 but Connector expecting 1.0.1. that 
>>>>> was
>>>>> the reason for error. now build Success
>>>>>
>>>>> On Fri, Jul 3, 2015 at 11:42 AM, Malaka Silva <[email protected]> wrote:
>>>>>
>>>>>> Merged
>>>>>>
>>>>>> On Fri, Jul 3, 2015 at 11:24 AM, Keerthika Mahendralingam <
>>>>>> [email protected]> wrote:
>>>>>>
>>>>>>> Hi Rajjaz,
>>>>>>> You need to build integration base before build any other connector.
>>>>>>> You can find the integration base at [1].
>>>>>>>
>>>>>>> @Malaka,
>>>>>>> Can we merge the pull request [1].
>>>>>>>
>>>>>>> [1]. https://github.com/wso2/esb-connectors/pull/109
>>>>>>>
>>>>>>> Thanks,
>>>>>>>
>>>>>>> On Fri, Jul 3, 2015 at 11:17 AM, Rajjaz Mohammed <[email protected]>
>>>>>>> wrote:
>>>>>>>
>>>>>>>> Hi All,
>>>>>>>> When i try to build a Twitter Connector I’m getting the following
>>>>>>>> error message with Build Failure. is there any Suggestions to Correct 
>>>>>>>> it?
>>>>>>>>
>>>>>>>> ........................................
>>>>>>>> ........................
>>>>>>>> [WARNING] The POM for
>>>>>>>> org.eclipse:org.sat4j.core:jar:2.1.0.v20090520 is invalid, transitive
>>>>>>>> dependencies (if any) will not be available, enable debug logging for 
>>>>>>>> more
>>>>>>>> details
>>>>>>>> [WARNING] The POM for org.eclipse:org.sat4j.pb:jar:2.1.0.v20090520
>>>>>>>> is invalid, transitive dependencies (if any) will not be available, 
>>>>>>>> enable
>>>>>>>> debug logging for more details
>>>>>>>> [WARNING] The POM for org.eclipse:com.ibm.icu:jar:4.0.1.v20090415
>>>>>>>> is invalid, transitive dependencies (if any) will not be available, 
>>>>>>>> enable
>>>>>>>> debug logging for more details
>>>>>>>> [WARNING] The POM for
>>>>>>>> org.wso2.esb.integration:integration-base:jar:1.0.1 is missing, no
>>>>>>>> dependency information available
>>>>>>>> [INFO]
>>>>>>>> ------------------------------------------------------------------------
>>>>>>>> [INFO] BUILD FAILURE
>>>>>>>> [INFO]
>>>>>>>> ------------------------------------------------------------------------
>>>>>>>> [INFO] Total time: 3.721s
>>>>>>>> [INFO] Finished at: Fri Jul 03 11:13:07 IST 2015
>>>>>>>> [INFO] Final Memory: 34M/574M
>>>>>>>> [INFO]
>>>>>>>> ------------------------------------------------------------------------
>>>>>>>> [ERROR] Failed to execute goal on project
>>>>>>>> org.wso2.carbon.connector.twitter: Could not resolve dependencies for
>>>>>>>> project
>>>>>>>> org.wso2.carbon.connector:org.wso2.carbon.connector.twitter:jar:1.0.0:
>>>>>>>> Failure to find org.wso2.esb.integration:integration-base:jar:1.0.1 in
>>>>>>>> http://twitter4j.org/maven2 was cached in the local repository,
>>>>>>>> resolution will not be reattempted until the update interval of
>>>>>>>> twitter4j.org has elapsed or updates are forced -> [Help 1]
>>>>>>>> [ERROR]
>>>>>>>> [ERROR] To see the full stack trace of the errors, re-run Maven
>>>>>>>> with the -e switch.
>>>>>>>> [ERROR] Re-run Maven using the -X switch to enable full debug
>>>>>>>> logging.
>>>>>>>> [ERROR]
>>>>>>>> [ERROR] For more information about the errors and possible
>>>>>>>> solutions, please read the following articles:
>>>>>>>> [ERROR] [Help 1]
>>>>>>>> http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> Thank you
>>>>>>>> Best Regards
>>>>>>>>
>>>>>>>> Rajjaz HM
>>>>>>>> Associate Software Engineer
>>>>>>>> WSO2 Inc. <http://wso2.com/>
>>>>>>>> lean.enterprise.middleware
>>>>>>>> Mobile : +94752833834
>>>>>>>> Email  :[email protected]
>>>>>>>>
>>>>>>>> LinkedIn <https://lk.linkedin.com/in/hmohammedrajjaz>
>>>>>>>> Blogger <http://wso2experience.blogspot.com/>
>>>>>>>> WSO2 Profile <http://wso2.com/about/team/mohammer_rajjaz/>
>>>>>>>>
>>>>>>>> _______________________________________________
>>>>>>>> Dev mailing list
>>>>>>>> [email protected]
>>>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> <[email protected]>
>>>>>>> Keerthika Mahendralingam
>>>>>>> Associate Software Engineer
>>>>>>> Mobile :+94 (0) 776 121144
>>>>>>> [email protected]
>>>>>>> WSO2, Inc.
>>>>>>> lean . enterprise . middleware
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>>
>>>>>> Best Regards,
>>>>>>
>>>>>> Malaka Silva
>>>>>> Senior Tech Lead
>>>>>> M: +94 777 219 791
>>>>>> Tel : 94 11 214 5345
>>>>>> Fax :94 11 2145300
>>>>>> Skype : malaka.sampath.silva
>>>>>> LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
>>>>>> Blog : http://mrmalakasilva.blogspot.com/
>>>>>>
>>>>>> WSO2, Inc.
>>>>>> lean . enterprise . middleware
>>>>>> http://www.wso2.com/
>>>>>> http://www.wso2.com/about/team/malaka-silva/
>>>>>> <http://wso2.com/about/team/malaka-silva/>
>>>>>>
>>>>>> Save a tree -Conserve nature & Save the world for your future. Print
>>>>>> this email only if it is absolutely necessary.
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Thank you
>>>>> Best Regards
>>>>>
>>>>> Rajjaz HM
>>>>> Associate Software Engineer
>>>>> WSO2 Inc. <http://wso2.com/>
>>>>> lean.enterprise.middleware
>>>>> Mobile : +94752833834
>>>>> Email  :[email protected]
>>>>>
>>>>> LinkedIn <https://lk.linkedin.com/in/hmohammedrajjaz>
>>>>> Blogger <http://wso2experience.blogspot.com/>
>>>>> WSO2 Profile <http://wso2.com/about/team/mohammer_rajjaz/>
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Thank you
>>>> Best Regards
>>>>
>>>> Rajjaz HM
>>>> Associate Software Engineer
>>>> WSO2 Inc. <http://wso2.com/>
>>>> lean.enterprise.middleware
>>>> Mobile : +94752833834
>>>> Email  :[email protected]
>>>>
>>>> LinkedIn <https://lk.linkedin.com/in/hmohammedrajjaz>
>>>> Blogger <http://wso2experience.blogspot.com/>
>>>> WSO2 Profile <http://wso2.com/about/team/mohammer_rajjaz/>
>>>>
>>>
>>>
>>>
>>> --
>>> <[email protected]>
>>> Keerthika Mahendralingam
>>> Associate Software Engineer
>>> Mobile :+94 (0) 776 121144
>>> [email protected]
>>> WSO2, Inc.
>>> lean . enterprise . middleware
>>>
>>
>>
>>
>> --
>> Thank you
>> Best Regards
>>
>> Rajjaz HM
>> Associate Software Engineer
>> WSO2 Inc. <http://wso2.com/>
>> lean.enterprise.middleware
>> Mobile : +94752833834
>> Email  :[email protected]
>>
>> LinkedIn <https://lk.linkedin.com/in/hmohammedrajjaz>
>> Blogger <http://wso2experience.blogspot.com/>
>> WSO2 Profile <http://wso2.com/about/team/mohammer_rajjaz/>
>>
>
>
>
> --
> <[email protected]>
> Keerthika Mahendralingam
> Associate Software Engineer
> Mobile :+94 (0) 776 121144
> [email protected]
> WSO2, Inc.
> lean . enterprise . middleware
>



-- 
Thank you
Best Regards

Rajjaz HM
Associate Software Engineer
WSO2 Inc. <http://wso2.com/>
lean.enterprise.middleware
Mobile : +94752833834
Email  :[email protected]

LinkedIn <https://lk.linkedin.com/in/hmohammedrajjaz>
Blogger <http://wso2experience.blogspot.com/>
WSO2 Profile <http://wso2.com/about/team/mohammer_rajjaz/>
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to