[Dev] ESB aggregate mediator

2018-01-22 Thread Reza Ameri
​Dear​ friends,

I have asked a question in StackOverflow, "https://stackoverflow.com/q/
48394714/1635051" about aggregate mediator and HTTP status of each
response. Is there anyone how can help me with it?

Thanks, Reza


PS: I usually try to ask my questions in StackOverflow and post it here to
both get the answer and document it on the web for the next one who needs
it.

*Reza Ameri*
Software Architect
https://www.linkedin.com/in/rezaameri/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] ESB reliable messaging

2017-12-30 Thread Reza Ameri
I have asked a question in StackOverflow, "
https://stackoverflow.com/q/48034072/1635051"; about reliable messaging. Is
there anyone how can help me with it?

Thanks.

*Reza Ameri*
Software Architect
https://www.linkedin.com/in/rezaameri/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] WSO2-DSS - AMQP Consumer

2016-08-17 Thread Reza Ameri
Hi all,

I am using RabbitMq as my message queue and I have to use AMQP protocol in
my application. I am publishing messages to my queues in RabbitMq and
consume the messages using nodejs client. As an enhancement I want to omit
the nodejs consumer client and replace it with WSO2 Data Service Server,
since currently the nodejs client calls the services hosted on wso2-dss,
after fetching them from queue.

I searched a lot and I didn't find proper way to do this without using
wso2-esb. I may be able to solve my problem with qpid client, but I really
need help.

It would be better if you answer my question on Stackoverflow[1]
 so others can reach it too.


[1]: http://stackoverflow.com/q/38958756/1635051
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] DAS 3.0.1 - Empty Dashboard for Smart Home Sample

2016-07-23 Thread Reza Ameri
Here is my problem,
I have done what [1] said and the problem did not happen again on DAS
dashboard *BUT *when I want to connect to DAS from API Manager I got some
error on "admin-dashboard" in the "Configure Analytics" menu. I couldn't
save the config and I got an error like this on AM:

Error occurred while deploying artifacts (Cause:org.apache.axis2.AxisFault:
Connection has been shutdown: javax.net.ssl.SSLHandshakeException:
sun.security.validator.ValidatorException: PKIX path building failed:
sun.security.provider.certpath.SunCertPathBuilderException: unable to find
valid certification path to requested target.

I have no error on DAS dashboard but I can not connect AM to DAS. Any Idea?

P.S.: I have asked this question on stackoverflow[2] too, feel free to
answer any where ;-)



[1].
http://udarakr.blogspot.com/2014/04/you-may-get-following-error-and-your.html
[2].
http://stackoverflow.com/questions/38540169/ssl-error-on-wso2-data-analytics-server

On Fri, May 13, 2016 at 10:28 AM, Gobinath Loganathan 
wrote:

> Hi all,
> Thank you for your support. Now it is working as expected after creating
> and importing a new certificate for my IP.
>
> Thanks a lot.
>
> On Fri, May 13, 2016 at 11:11 AM, Rukshani Weerasinha 
> wrote:
>
>> Hi all,
>>
>> I will update this thread as well as the Jira issue [1] once the DAS
>> Quick Start Guide is updated with the relevant information.
>>
>> [1] DOCUMENTATION-3344 
>>
>> Best Regards,
>> Rukshani.
>>
>> On Fri, May 13, 2016 at 10:59 AM, Nipuna Chandradasa 
>> wrote:
>>
>>> Hi All,
>>>
>>> Dashboard Server team have given few patches to solve gadget loading
>>> related issues happening in a real production environment where we don't
>>> use localhost. Those issues are mentioned in the mail thread i mentioned in
>>> the previous mail.
>>>
>>> Thank you,
>>>
>>> On Fri, May 13, 2016 at 10:54 AM, Iranga Muthuthanthri 
>>> wrote:
>>>
 Think we need to have a note on the above in the QSG

 On Fri, May 13, 2016 at 10:51 AM, Nipuna Chandradasa 
 wrote:

> Hi Gobinath,
>
> Here what you have to do is to create a new certificate for your IP
> and import it in to wso2carbon.jks and clienttruststore.jks.
> Refer to this blog[1] for more details.
>
> [1].
> http://udarakr.blogspot.com/2014/04/you-may-get-following-error-and-your.html
>
> Regards,
> Marcus
>
> On Fri, May 13, 2016 at 10:46 AM, Gobinath Loganathan <
> gobin...@wso2.com> wrote:
>
>> Hi Nipuna,
>> I got the same error. Thank you for your help, I will have a look.
>>
>> For reference, I have added my console error message here:
>> [2016-05-13 10:37:08,655] ERROR
>> {org.apache.shindig.gadgets.render.DefaultServiceFetcher} -  Services
>> methods from the https://10.100.7.87:9443/shindig/rpc endpoint could
>> not be fetched. The following error occurred: javax.net.ssl.SSLException:
>> hostname in certificate didn't match: <10.100.7.87> != .
>> [2016-05-13 10:37:09,026]  INFO
>> {org.apache.shindig.gadgets.http.BasicHttpFetcher} -  The following
>> exception occurred when fetching
>> https://10.100.7.87:9443/portal/store/carbon.super/gadget/Peak_Usage_Range_-_Seattle/index.xml:
>> 8 ms elapsed.
>> [2016-05-13 10:37:09,027]  INFO
>> {org.apache.shindig.gadgets.http.BasicHttpFetcher} -
>> javax.net.ssl.SSLException: hostname in certificate didn't match:
>> <10.100.7.87> != 
>> at
>> org.apache.http.conn.ssl.AbstractVerifier.verify(AbstractVerifier.java:238)
>> at
>> org.apache.http.conn.ssl.BrowserCompatHostnameVerifier.verify(BrowserCompatHostnameVerifier.java:54)
>> ...
>>
>>
>> Thanks.
>>
>> On Fri, May 13, 2016 at 10:34 AM, Nipuna Chandradasa <
>> nipu...@wso2.com> wrote:
>>
>>> Hi Gobinath,
>>>
>>> Is there any error on the console or the debug tool of the browser
>>> saying IP !=  ?
>>> This is not because of you don't have data. Here gadgets are not
>>> even rendered. This can be because of a SSLException (Your certificate
>>> doesn't match your host) or if you have a LB in front your DAS with 
>>> proxy
>>> port configured, shindig uses server port to render not the proxy 
>>> port...
>>> so 404 error..
>>>
>>> Please have a look at mail tread mention here which is in support.
>>>
>>>  [DAS] Hostname issue while adding gadgets to dashboard when
>>> fronted by an LB
>>>
>>>  Regards,
>>>
>>>
>>> On Fri, May 13, 2016 at 10:15 AM, Gobinath Loganathan <
>>> gobin...@wso2.com> wrote:
>>>
 Hi Thanuja,
 I also think so. Even I executed the 'smart_home_script' manually,
 but no luck.

 Thanks.

 On Fri, May 13, 2016 at 10:13 AM, Thanuja Uruththirakodeeswaran <
 thanu...@wso2.com> wrote:

> Hi Gob

[Dev] [DAS][ESB] Default ESB monitoring

2016-06-16 Thread Reza Ameri
Hi all,

I am using ESB 4.9.0 and DAS 3.0.1, previously I have setup ESB 4.6.0 and
BAM 2.5, that was work good. My setup had a data publisher and data
receiver, which can be visualized on BAM dashboard with pre-designed
dashboard in BAM.
Now in DAS I can not do that. I don't want to add "publishEvent" mediator
to every single proxy. And create a new dashboard for it. I remember that
we can easily do "ESB Service Statistics Monitoring" but now I can not do
that.

I will be happy if you help me.
Thanks
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Removing Service Endpoint Addresses Not Working

2013-06-02 Thread Reza Ameri
I was trying to remove a "Service Endpoint Address" from STS Configuration
in "wso2carbon-sts" service. I found out that the related java script does
not invoked! I manually replaced the function in 'onclick' event and it
worked, the script I used is this:

onclick="location.href = 'remove-trusted-service.jsp?endpointaddrs='+'[My
own Service Endpoint Address Name]';return false;"

Thanks.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev