Re: [Dev] Trying to run a jmeter script through a testng Test and fails

2017-11-08 Thread Chamara Ariyarathne
:55)
at
com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:125)
at
com.thoughtworks.xstream.mapper.PackageAliasingMapper.realClass(PackageAliasingMapper.java:88)
at
com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:125)
at
com.thoughtworks.xstream.mapper.ClassAliasingMapper.realClass(ClassAliasingMapper.java:79)
at
com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:125)
at
com.thoughtworks.xstream.mapper.ArrayMapper.realClass(ArrayMapper.java:74)
at
com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:125)
at
com.thoughtworks.xstream.mapper.SecurityMapper.realClass(SecurityMapper.java:71)
at
com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:125)
at
org.apache.jmeter.save.SaveService$XStreamWrapper$1.realClass(SaveService.java:97)
at
com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:125)
at
com.thoughtworks.xstream.mapper.CachingMapper.realClass(CachingMapper.java:47)
at
com.thoughtworks.xstream.core.util.HierarchicalStreams.readClassType(HierarchicalStreams.java:29)
at
com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.readItem(AbstractCollectionConverter.java:72)
at
org.apache.jmeter.save.converters.HashTreeConverter.unmarshal(HashTreeConverter.java:67)
at
com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
... 35 more


On Wed, Nov 8, 2017 at 7:56 AM, Chamara Ariyarathne <chama...@wso2.com>
wrote:

> I'm trying to run a jmeter script with the following Test method in testng
> and my maven build fails like following. Any help in resolving this matter
> will be appreciated.
>
> *Method: *
>
> @Test
> public void runJmeter() throws Exception {
> StandardJMeterEngine jmeter = new StandardJMeterEngine();
>
> JMeterUtils.setJMeterHome("/home/chamara/Programs/apache-jmeter-3.2
> ");
> JMeterUtils.loadJMeterProperties("/home/
> chamara/stress-test-framework/src/test/resources/CUSTOM/user.properties");
> JMeterUtils.initLogging();
> JMeterUtils.initLocale();
>
> SaveService.loadProperties();
>
> FileInputStream in = new FileInputStream("/home/
> chamara/stress-test-framework/src/test/jmeter/CUSTOM/
> Concurrency_Thread_Group.jmx");
> HashTree testPlanTree = SaveService.loadTree(in);
> in.close();
>
> jmeter.configure(testPlanTree);
> jmeter.run();
>
>
> }
>
> *Failure: *
>
> ---
>  T E S T S
> ---
> Running org.wso2.stress.StressTest
> Configuring TestNG with: org.apache.maven.surefire.testng.conf.
> TestNG652Configurator@2db0f6b2
> INFO2017-11-07 18:35:18.029 [jmeter.e] (): Listeners will be started
> after enabling running version
> INFO2017-11-07 18:35:18.041 [jmeter.e] (): To revert to the earlier
> behaviour, define jmeterengine.startlistenerslater=false
> Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.389 sec
> <<< FAILURE!
> runJmeter(org.wso2.stress.StressTest)  Time elapsed: 0.199 sec  <<<
> FAILURE!
> java.lang.NullPointerException
> at org.apache.jmeter.engine.StandardJMeterEngine.configure(
> StandardJMeterEngine.java:164)
> at org.wso2.stress.StressTest.runJmeter(StressTest.java:31)
>
> --
> *Chamara Ariyarathne*
> WSO2 Inc; http://www.wso2.com/
> Mobile; *+94772786766 <077%20278%206766>*
>



-- 
*Chamara Ariyarathne*
WSO2 Inc; http://www.wso2.com/
Mobile; *+94772786766*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Trying to run a jmeter script through a testng Test and fails

2017-11-07 Thread Chamara Ariyarathne
I'm trying to run a jmeter script with the following Test method in testng
and my maven build fails like following. Any help in resolving this matter
will be appreciated.

*Method: *

@Test
public void runJmeter() throws Exception {
StandardJMeterEngine jmeter = new StandardJMeterEngine();

JMeterUtils.setJMeterHome("/home/chamara/Programs/apache-jmeter-3.2
");

JMeterUtils.loadJMeterProperties("/home/chamara/stress-test-framework/src/test/resources/CUSTOM/user.properties");
JMeterUtils.initLogging();
JMeterUtils.initLocale();

SaveService.loadProperties();

FileInputStream in = new
FileInputStream("/home/chamara/stress-test-framework/src/test/jmeter/CUSTOM/Concurrency_Thread_Group.jmx");
HashTree testPlanTree = SaveService.loadTree(in);
in.close();

jmeter.configure(testPlanTree);
jmeter.run();


}

*Failure: *

---
 T E S T S
---
Running org.wso2.stress.StressTest
Configuring TestNG with:
org.apache.maven.surefire.testng.conf.TestNG652Configurator@2db0f6b2
INFO2017-11-07 18:35:18.029 [jmeter.e] (): Listeners will be started
after enabling running version
INFO2017-11-07 18:35:18.041 [jmeter.e] (): To revert to the earlier
behaviour, define jmeterengine.startlistenerslater=false
Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.389 sec
<<< FAILURE!
runJmeter(org.wso2.stress.StressTest)  Time elapsed: 0.199 sec  <<< FAILURE!
java.lang.NullPointerException
at
org.apache.jmeter.engine.StandardJMeterEngine.configure(StandardJMeterEngine.java:164)
at org.wso2.stress.StressTest.runJmeter(StressTest.java:31)

-- 
*Chamara Ariyarathne*
WSO2 Inc; http://www.wso2.com/
Mobile; *+94772786766*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Running jmeter bzm - Concurrency Thread Group though maven

2017-11-06 Thread Chamara Ariyarathne
I am trying to run a jmeter project which contains "bzm - Concurrency
Thread Group" through a maven project. The pom file is attached here.

There's an error I'm getting which blocks the  running of the  jmeter
project with maven as following;

[INFO] Executing test: Concurrency_Thread_Group.jmx
[INFO] Starting process with:[java, -Xms512M, -Xmx512M, -jar,
ApacheJMeter-3.2.jar, -d,
/home/chamara/stress-test-framework/target/jmeter, -j,
/home/chamara/stress-test-framework/target/jmeter/logs/Concurrency_Thread_Group.jmx.log,
-l,
/home/chamara/stress-test-framework/target/jmeter/results/20171106-CUSTOM_Concurrency_Thread_Group.csv,
-n, -t,
/home/chamara/stress-test-framework/target/jmeter/testFiles/CUSTOM/Concurrency_Thread_Group.jmx]
[INFO] Error in NonGUIDriver java.lang.IllegalArgumentException: Problem
loading XML
from:'/home/chamara/stress-test-framework/target/jmeter/testFiles/CUSTOM/Concurrency_Thread_Group.jmx',
missing class com.thoughtworks.xstream.converters.ConversionException:
[INFO]  Debugging information 
[INFO] cause-exception :
com.thoughtworks.xstream.converters.ConversionException
[INFO] cause-message   :
[INFO] first-jmeter-class  :
org.apache.jmeter.save.converters.HashTreeConverter.unmarshal(HashTreeConverter.java:67)
[INFO] class   : org.apache.jmeter.save.ScriptWrapper
[INFO] required-type   : org.apache.jorphan.collections.ListedHashTree
[INFO] converter-type  : org.apache.jmeter.save.ScriptWrapperConverter
[INFO] path:
/jmeterTestPlan/hashTree/hashTree/com.blazemeter.jmeter.threads.concurrency.ConcurrencyThreadGroup
[INFO] line number : 94
[INFO] version : 3.2 r1790748
[INFO] ---


I have tried the solution as mentioned in here;
https://github.com/jmeter-maven-plugin/jmeter-maven-plugin/wiki/Adding%20Additional%20Libraries%20To%20The%20Classpath


yet it is not successful.

Did anyone encounter this before?

-- 
*Chamara Ariyarathne*
WSO2 Inc; http://www.wso2.com/
Mobile; *+94772786766*

http://maven.apache.org/POM/4.0.0;
 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance;
 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd;>

4.0.0

org.wso2.stresstestframework
stress-test-framework
1.0-SNAPSHOT



exec-maven-plugin
org.codehaus.mojo


Version Calculation
generate-sources

exec


${basedir}/stress-framework/make_stress.sh





com.lazerycode.jmeter
jmeter-maven-plugin
2.4.0


jmeter-tests

jmeter




3.2

kg.apc:jmeter-plugins:pom:1.1.3




CUSTOM/Concurrency_Thread_Group.jmx


DEBUG

CUSTOM/
csv








com.lazerycode.jmeter
jmeter-maven-plugin
2.0.3


kg.apc
jmeter-plugins-standard
1.1.3



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


Re: [Dev] Enable Response signing cannot be done through admin service when creating SAML2 Web SSO Configuraton for a Service Provider

2017-10-23 Thread Chamara Ariyarathne
Updated the ticket!

On Mon, Oct 23, 2017 at 3:38 PM, Thanuja Jayasinghe <than...@wso2.com>
wrote:

> Hi Chamara,
>
> SAML service provider UI uses the same admin service to add sp
> configurations. So theoretically this should work.
>
> So can you please attach the SOAP request used to create the SAML2 service
> provider?
>
> Thanks,
> Thanuja
>
> On Sun, Oct 22, 2017 at 10:19 PM, Chamara Ariyarathne <chama...@wso2.com>
> wrote:
>
>> Of course, the test was done with a WUM updated pack
>>
>> On Sun, Oct 22, 2017 at 10:17 PM, Hasintha Indrajee <hasin...@wso2.com>
>> wrote:
>>
>>> Did you observe this in a WUM updated pack ? If not can you please try
>>> with a WUM updated pack as well ?
>>>
>>> On Sat, Oct 21, 2017 at 8:18 PM, Chamara Ariyarathne <chama...@wso2.com>
>>> wrote:
>>>
>>>>
>>>>
>>>> On Sat, Oct 21, 2017 at 7:03 PM, Farasath Ahamed <farasa...@wso2.com>
>>>> wrote:
>>>>
>>>>> I suspect a caching issue here.
>>>>> Was this a single node setup or a multi node cluster?
>>>>>
>>>>
>>>> Reproduced in Single node.
>>>>
>>>>>
>>>>> Also when you try out next time. Can you simply view the SP config and
>>>>> click the update button (without ticking and unticking) and see it it 
>>>>> works?
>>>>>
>>>>
>>>> Sure.
>>>>
>>>>>
>>>>>
>>>>> On Friday, October 20, 2017, Chamara Ariyarathne <chama...@wso2.com>
>>>>> wrote:
>>>>>
>>>>>> Hi all,
>>>>>>
>>>>>> I'm using the IdentitySAMLSSOConfigService admin service to do the
>>>>>> SAML2 Web SSO Configuration and later using 
>>>>>> IdentityApplicationManagementService
>>>>>> admin service to add it to a service provider configuration.
>>>>>>
>>>>>> I am using this tag to Enable Response Signing.
>>>>>> true
>>>>>>
>>>>>> However when later checked with the travelocity webapp and the log
>>>>>> in fails. When I checked the SP configuration, I can see the checkbox is
>>>>>> ticked for Enable Response Signing in the UI.
>>>>>>
>>>>>> If I untick and tick again the checkbox and update the SP, then the
>>>>>> scenario passes. What that means is, the admin service cannot be used to
>>>>>> make the Enable Response Signing.
>>>>>>
>>>>>> This needs a fix.
>>>>>>
>>>>>> https://wso2.org/jira/browse/IDENTITY-6796
>>>>>>
>>>>>> --
>>>>>> *Chamara Ariyarathne*
>>>>>> WSO2 Inc; http://www.wso2.com/
>>>>>> Mobile; *+94772786766 <077%20278%206766>*
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Farasath Ahamed
>>>>> Software Engineer, WSO2 Inc.; http://wso2.com
>>>>> Mobile: +94777603866
>>>>> Blog: blog.farazath.com
>>>>> Twitter: @farazath619 <https://twitter.com/farazath619>
>>>>> <http://wso2.com/signature>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> *Chamara Ariyarathne*
>>>> WSO2 Inc; http://www.wso2.com/
>>>> Mobile; *+94772786766 <077%20278%206766>*
>>>>
>>>> ___
>>>> Dev mailing list
>>>> Dev@wso2.org
>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>
>>>>
>>>
>>>
>>> --
>>> Hasintha Indrajee
>>> WSO2, Inc.
>>> Mobile:+94 771892453 <077%20189%202453>
>>>
>>>
>>
>>
>> --
>> *Chamara Ariyarathne*
>> WSO2 Inc; http://www.wso2.com/
>> Mobile; *+94772786766 <+94%2077%20278%206766>*
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> *Thanuja Lakmal*
> Associate Technical Lead
> WSO2 Inc. http://wso2.com/
> *lean.enterprise.middleware*
> Mobile: +94715979891
>



-- 
*Chamara Ariyarathne*
WSO2 Inc; http://www.wso2.com/
Mobile; *+94772786766*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Enable Response signing cannot be done through admin service when creating SAML2 Web SSO Configuraton for a Service Provider

2017-10-22 Thread Chamara Ariyarathne
Of course, the test was done with a WUM updated pack

On Sun, Oct 22, 2017 at 10:17 PM, Hasintha Indrajee <hasin...@wso2.com>
wrote:

> Did you observe this in a WUM updated pack ? If not can you please try
> with a WUM updated pack as well ?
>
> On Sat, Oct 21, 2017 at 8:18 PM, Chamara Ariyarathne <chama...@wso2.com>
> wrote:
>
>>
>>
>> On Sat, Oct 21, 2017 at 7:03 PM, Farasath Ahamed <farasa...@wso2.com>
>> wrote:
>>
>>> I suspect a caching issue here.
>>> Was this a single node setup or a multi node cluster?
>>>
>>
>> Reproduced in Single node.
>>
>>>
>>> Also when you try out next time. Can you simply view the SP config and
>>> click the update button (without ticking and unticking) and see it it works?
>>>
>>
>> Sure.
>>
>>>
>>>
>>> On Friday, October 20, 2017, Chamara Ariyarathne <chama...@wso2.com>
>>> wrote:
>>>
>>>> Hi all,
>>>>
>>>> I'm using the IdentitySAMLSSOConfigService admin service to do the
>>>> SAML2 Web SSO Configuration and later using 
>>>> IdentityApplicationManagementService
>>>> admin service to add it to a service provider configuration.
>>>>
>>>> I am using this tag to Enable Response Signing.
>>>> true
>>>>
>>>> However when later checked with the travelocity webapp and the log
>>>> in fails. When I checked the SP configuration, I can see the checkbox is
>>>> ticked for Enable Response Signing in the UI.
>>>>
>>>> If I untick and tick again the checkbox and update the SP, then the
>>>> scenario passes. What that means is, the admin service cannot be used to
>>>> make the Enable Response Signing.
>>>>
>>>> This needs a fix.
>>>>
>>>> https://wso2.org/jira/browse/IDENTITY-6796
>>>>
>>>> --
>>>> *Chamara Ariyarathne*
>>>> WSO2 Inc; http://www.wso2.com/
>>>> Mobile; *+94772786766 <077%20278%206766>*
>>>>
>>>
>>>
>>> --
>>> Farasath Ahamed
>>> Software Engineer, WSO2 Inc.; http://wso2.com
>>> Mobile: +94777603866
>>> Blog: blog.farazath.com
>>> Twitter: @farazath619 <https://twitter.com/farazath619>
>>> <http://wso2.com/signature>
>>>
>>>
>>>
>>>
>>
>>
>> --
>> *Chamara Ariyarathne*
>> WSO2 Inc; http://www.wso2.com/
>> Mobile; *+94772786766 <077%20278%206766>*
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Hasintha Indrajee
> WSO2, Inc.
> Mobile:+94 771892453 <077%20189%202453>
>
>


-- 
*Chamara Ariyarathne*
WSO2 Inc; http://www.wso2.com/
Mobile; *+94772786766*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Enable Response signing cannot be done through admin service when creating SAML2 Web SSO Configuraton for a Service Provider

2017-10-21 Thread Chamara Ariyarathne
On Sat, Oct 21, 2017 at 7:03 PM, Farasath Ahamed <farasa...@wso2.com> wrote:

> I suspect a caching issue here.
> Was this a single node setup or a multi node cluster?
>

Reproduced in Single node.

>
> Also when you try out next time. Can you simply view the SP config and
> click the update button (without ticking and unticking) and see it it works?
>

Sure.

>
>
> On Friday, October 20, 2017, Chamara Ariyarathne <chama...@wso2.com>
> wrote:
>
>> Hi all,
>>
>> I'm using the IdentitySAMLSSOConfigService admin service to do the SAML2
>> Web SSO Configuration and later using IdentityApplicationManagementService
>> admin service to add it to a service provider configuration.
>>
>> I am using this tag to Enable Response Signing.
>> true
>>
>> However when later checked with the travelocity webapp and the log
>> in fails. When I checked the SP configuration, I can see the checkbox is
>> ticked for Enable Response Signing in the UI.
>>
>> If I untick and tick again the checkbox and update the SP, then the
>> scenario passes. What that means is, the admin service cannot be used to
>> make the Enable Response Signing.
>>
>> This needs a fix.
>>
>> https://wso2.org/jira/browse/IDENTITY-6796
>>
>> --
>> *Chamara Ariyarathne*
>> WSO2 Inc; http://www.wso2.com/
>> Mobile; *+94772786766 <077%20278%206766>*
>>
>
>
> --
> Farasath Ahamed
> Software Engineer, WSO2 Inc.; http://wso2.com
> Mobile: +94777603866
> Blog: blog.farazath.com
> Twitter: @farazath619 <https://twitter.com/farazath619>
> <http://wso2.com/signature>
>
>
>
>


-- 
*Chamara Ariyarathne*
WSO2 Inc; http://www.wso2.com/
Mobile; *+94772786766*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Enable Response signing cannot be done through admin service when creating SAML2 Web SSO Configuraton for a Service Provider

2017-10-19 Thread Chamara Ariyarathne
Hi all,

I'm using the IdentitySAMLSSOConfigService admin service to do the SAML2
Web SSO Configuration and later using IdentityApplicationManagementService
admin service to add it to a service provider configuration.

I am using this tag to Enable Response Signing.
true

However when later checked with the travelocity webapp and the log
in fails. When I checked the SP configuration, I can see the checkbox is
ticked for Enable Response Signing in the UI.

If I untick and tick again the checkbox and update the SP, then the
scenario passes. What that means is, the admin service cannot be used to
make the Enable Response Signing.

This needs a fix.

https://wso2.org/jira/browse/IDENTITY-6796

-- 
*Chamara Ariyarathne*
WSO2 Inc; http://www.wso2.com/
Mobile; *+94772786766*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] How do you enable Audience Restriction and Recipient Validation using the IdentitySAMLSSOConfigService ?

2017-10-18 Thread Chamara Ariyarathne
Correct. It  worked.

On Wed, Oct 18, 2017 at 4:48 PM, Darshana Gunawardana <darsh...@wso2.com>
wrote:

> Hi Chamara,
>
> Those ticks are only for better UX.. Use needed audience and
> recipient values in the relevant elements you mentioned above and the UI
> will be populated with check boxes ticked..
>
> Thanks,
>
> On Wed, Oct 18, 2017 at 4:29 PM, Chamara Ariyarathne <chama...@wso2.com>
> wrote:
>
>> Hi all,
>>
>> I am using the addRPServiceProvider method of
>> IdentitySAMLSSOConfigServiceservice to add a SAML2 Web SSO
>> Configuration. While using that if I want to enable Audience Restriction
>> and Recipient Validation.
>>
>> Which parameters in the request should I use and how?
>>
>> All I can see in the template request is the two tags as;
>>
>> ?
>> ?
>>
>> --
>> *Chamara Ariyarathne*
>> WSO2 Inc; http://www.wso2.com/
>> Mobile; *+94772786766 <+94%2077%20278%206766>*
>>
>
>
>
> --
> Regards,
>
>
> *Darshana Gunawardana*Technical Lead
> WSO2 Inc.; http://wso2.com
>
> *E-mail: darsh...@wso2.com <darsh...@wso2.com>*
> *Mobile: +94718566859 <071%20856%206859>*Lean . Enterprise . Middleware
>



-- 
*Chamara Ariyarathne*
WSO2 Inc; http://www.wso2.com/
Mobile; *+94772786766*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] How do you enable Audience Restriction and Recipient Validation using the IdentitySAMLSSOConfigService ?

2017-10-18 Thread Chamara Ariyarathne
Hi all,

I am using the addRPServiceProvider method of
IdentitySAMLSSOConfigServiceservice
to add a SAML2 Web SSO Configuration. While using that if I want to
enable Audience
Restriction and Recipient Validation.

Which parameters in the request should I use and how?

All I can see in the template request is the two tags as;

?
?

-- 
*Chamara Ariyarathne*
WSO2 Inc; http://www.wso2.com/
Mobile; *+94772786766*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Running a WSO2 server via ssh issue

2017-04-18 Thread Chamara Ariyarathne
I am afraid if this is the correct explanation. What I meant to say above
is;
Consider it is machine1 and machine2 and I'm trying to ssh from 2 to 1.

PATH in machine1:
$ echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/home/ubuntu/java/jdk1.8.0_121/bin

PATH in machine2:  (I didn't set java there)
$ echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin

and If I read the PATH variable of machine1 from machine2 via ssh:
$ ssh -i chamaraa.pem ubuntu@192.168.48.168 'echo $PATH'
$PATH:$JAVA_HOME/bin

So that's the difference with ssh I'm seeing.

On Tue, Apr 18, 2017 at 4:51 PM, Bhathiya Jayasekara <bhath...@wso2.com>
wrote:

> Yes, that's the problem. When java was installed, $PATH variable has been
> replaced.
>
> In remote machine set it correctly.
>
> *export
> PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:$JAVA_HOME/bin*
>
> Thanks,
> Bhathiya
>
>
>
>
>
> On Tue, Apr 18, 2017 at 4:46 PM, Chamara Ariyarathne <chama...@wso2.com>
> wrote:
>
>> Well, it's like this. In the same machine:
>>
>> $ echo $PATH
>> /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
>> :/usr/games:/usr/local/games:/home/ubuntu/java/jdk1.8.0_121/bin
>>
>> In the remote machine:
>>
>> $ ssh -i chamaraa.pem ubuntu@192.168.48.168 'echo $PATH'
>> $PATH:$JAVA_HOME/bin
>>
>> On Tue, Apr 18, 2017 at 3:47 PM, Bhathiya Jayasekara <bhath...@wso2.com>
>> wrote:
>>
>>> Maybe the $PATH variable is not set properly.
>>>
>>> @Chamara: What's the output of echo $PATH?
>>>
>>> Thanks,
>>> Bhathiya
>>>
>>> On Tue, Apr 18, 2017 at 2:49 PM, Thusitha Thilina Dayaratne <
>>> thusit...@wso2.com> wrote:
>>>
>>>> Hi Chamara,
>>>>
>>>> ubuntu@esbperf-prototype-2:~$ ssh -i chamaraa.pem ubuntu@192.168.48.168
>>>>>  './esb/wso2esb-5.0.0/bin/wso2server.sh'
>>>>>
>>>>>
>>>>> *./esb/wso2esb-5.0.0/bin/wso2server.sh: 1:
>>>>> ./esb/wso2esb-5.0.0/bin/wso2server.sh: uname: not
>>>>> found./esb/wso2esb-5.0.0/bin/wso2server.sh: 1:
>>>>> ./esb/wso2esb-5.0.0/bin/wso2server.sh: dirname: not
>>>>> found./esb/wso2esb-5.0.0/bin/wso2server.sh: 1:
>>>>> ./esb/wso2esb-5.0.0/bin/wso2server.sh: grep: not found*
>>>>>  Starting WSO2 Carbon (in unsupported JDK)
>>>>>  [ERROR] CARBON is supported only on JDK 1.7 and 1.8
>>>>> JAVA_HOME environment variable is set to /home/ubuntu/java/jdk1.8.0_121
>>>>> *CARBON_HOME environment variable is set to /*
>>>>>
>>>>> *./esb/wso2esb-5.0.0/bin/wso2server.sh: 264:
>>>>> ./esb/wso2esb-5.0.0/bin/wso2server.sh: rm: not
>>>>> found./esb/wso2esb-5.0.0/bin/wso2server.sh: 271:
>>>>> ./esb/wso2esb-5.0.0/bin/wso2server.sh: awk: not found*
>>>>> Using Java memory options: -Xms256m -Xmx1024m -XX:MaxPermSize=256m
>>>>> Java HotSpot(TM) 64-Bit Server VM warning: ignoring option
>>>>> MaxPermSize=256m; support was removed in 8.0
>>>>> Could not load Logmanager "org.apache.juli.ClassLoaderLogManager"
>>>>> java.lang.ClassNotFoundException: org.apache.juli.ClassLoaderLog
>>>>> Manager
>>>>> at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
>>>>> at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
>>>>> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
>>>>> at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
>>>>> at java.util.logging.LogManager$1.run(LogManager.java:195)
>>>>> at java.util.logging.LogManager$1.run(LogManager.java:181)
>>>>> at java.security.AccessController.doPrivileged(Native Method)
>>>>> at java.util.logging.LogManager.(LogManager.java:181)
>>>>> at java.util.logging.Logger.demandLogger(Logger.java:448)
>>>>> at java.util.logging.Logger.getLogger(Logger.java:502)
>>>>> at com.sun.jmx.remote.util.ClassLogger.(ClassLogger.java:55)
>>>>> at sun.management.jmxremote.ConnectorBootstrap.(Connect
>>>>> orBootstrap.java:846)
>>>>> at sun.management.Agent.startLocalManagementAgent(Agent.java:138)
>>>>> at sun.management.Agent.startAgent(Agent.java:260)
>>>>> at sun.management.Agent.startAgent(Agent.java:447)
>>>>> Error: Could not find or load main class org.wso2.carbon.bootstrap.

Re: [Dev] Running a WSO2 server via ssh issue

2017-04-18 Thread Chamara Ariyarathne
Well, it's like this. In the same machine:

$ echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/home/ubuntu/java/jdk1.8.0_121/bin

In the remote machine:

$ ssh -i chamaraa.pem ubuntu@192.168.48.168 'echo $PATH'
$PATH:$JAVA_HOME/bin

On Tue, Apr 18, 2017 at 3:47 PM, Bhathiya Jayasekara <bhath...@wso2.com>
wrote:

> Maybe the $PATH variable is not set properly.
>
> @Chamara: What's the output of echo $PATH?
>
> Thanks,
> Bhathiya
>
> On Tue, Apr 18, 2017 at 2:49 PM, Thusitha Thilina Dayaratne <
> thusit...@wso2.com> wrote:
>
>> Hi Chamara,
>>
>> ubuntu@esbperf-prototype-2:~$ ssh -i chamaraa.pem ubuntu@192.168.48.168
>>>  './esb/wso2esb-5.0.0/bin/wso2server.sh'
>>>
>>>
>>> *./esb/wso2esb-5.0.0/bin/wso2server.sh: 1:
>>> ./esb/wso2esb-5.0.0/bin/wso2server.sh: uname: not
>>> found./esb/wso2esb-5.0.0/bin/wso2server.sh: 1:
>>> ./esb/wso2esb-5.0.0/bin/wso2server.sh: dirname: not
>>> found./esb/wso2esb-5.0.0/bin/wso2server.sh: 1:
>>> ./esb/wso2esb-5.0.0/bin/wso2server.sh: grep: not found*
>>>  Starting WSO2 Carbon (in unsupported JDK)
>>>  [ERROR] CARBON is supported only on JDK 1.7 and 1.8
>>> JAVA_HOME environment variable is set to /home/ubuntu/java/jdk1.8.0_121
>>> *CARBON_HOME environment variable is set to /*
>>>
>>> *./esb/wso2esb-5.0.0/bin/wso2server.sh: 264:
>>> ./esb/wso2esb-5.0.0/bin/wso2server.sh: rm: not
>>> found./esb/wso2esb-5.0.0/bin/wso2server.sh: 271:
>>> ./esb/wso2esb-5.0.0/bin/wso2server.sh: awk: not found*
>>> Using Java memory options: -Xms256m -Xmx1024m -XX:MaxPermSize=256m
>>> Java HotSpot(TM) 64-Bit Server VM warning: ignoring option
>>> MaxPermSize=256m; support was removed in 8.0
>>> Could not load Logmanager "org.apache.juli.ClassLoaderLogManager"
>>> java.lang.ClassNotFoundException: org.apache.juli.ClassLoaderLogManager
>>> at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
>>> at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
>>> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
>>> at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
>>> at java.util.logging.LogManager$1.run(LogManager.java:195)
>>> at java.util.logging.LogManager$1.run(LogManager.java:181)
>>> at java.security.AccessController.doPrivileged(Native Method)
>>> at java.util.logging.LogManager.(LogManager.java:181)
>>> at java.util.logging.Logger.demandLogger(Logger.java:448)
>>> at java.util.logging.Logger.getLogger(Logger.java:502)
>>> at com.sun.jmx.remote.util.ClassLogger.(ClassLogger.java:55)
>>> at sun.management.jmxremote.ConnectorBootstrap.(Connect
>>> orBootstrap.java:846)
>>> at sun.management.Agent.startLocalManagementAgent(Agent.java:138)
>>> at sun.management.Agent.startAgent(Agent.java:260)
>>> at sun.management.Agent.startAgent(Agent.java:447)
>>> Error: Could not find or load main class org.wso2.carbon.bootstrap.Boot
>>> strap
>>
>> According to the trace, it seems some of the Linux commands are not
>> available on the host. Therefore IMHO this is cause due to the CLASS_PATH
>> is not properly getting set.
>>
>> Thanks
>> Thusitha
>>
>> On Tue, Apr 18, 2017 at 2:43 PM, Chamara Ariyarathne <chama...@wso2.com>
>> wrote:
>>
>>> I'm trying to run ESB via an ssh session. The issue is like following.
>>> Any idea how to make it work?
>>>
>>> ubuntu@esbperf-prototype-2:~$ ssh -i chamaraa.pem ubuntu@192.168.48.168
>>> './esb/wso2esb-5.0.0/bin/wso2server.sh'
>>> ./esb/wso2esb-5.0.0/bin/wso2server.sh: 1: 
>>> ./esb/wso2esb-5.0.0/bin/wso2server.sh:
>>> uname: not found
>>> ./esb/wso2esb-5.0.0/bin/wso2server.sh: 1: 
>>> ./esb/wso2esb-5.0.0/bin/wso2server.sh:
>>> dirname: not found
>>> ./esb/wso2esb-5.0.0/bin/wso2server.sh: 1: 
>>> ./esb/wso2esb-5.0.0/bin/wso2server.sh:
>>> grep: not found
>>>  Starting WSO2 Carbon (in unsupported JDK)
>>>  [ERROR] CARBON is supported only on JDK 1.7 and 1.8
>>> JAVA_HOME environment variable is set to /home/ubuntu/java/jdk1.8.0_121
>>> CARBON_HOME environment variable is set to /
>>> ./esb/wso2esb-5.0.0/bin/wso2server.sh: 264:
>>> ./esb/wso2esb-5.0.0/bin/wso2server.sh: rm: not found
>>> ./esb/wso2esb-5.0.0/bin/wso2server.sh: 271:
>>> ./esb/wso2esb-5.0.0/bin/wso2server.sh: awk: not found
>>> Using Java memory options: -Xms256m -Xmx1024m -XX:MaxPermSize=256m
>>> Java HotSpo

[Dev] Running a WSO2 server via ssh issue

2017-04-18 Thread Chamara Ariyarathne
I'm trying to run ESB via an ssh session. The issue is like following. Any
idea how to make it work?

ubuntu@esbperf-prototype-2:~$ ssh -i chamaraa.pem ubuntu@192.168.48.168
'./esb/wso2esb-5.0.0/bin/wso2server.sh'
./esb/wso2esb-5.0.0/bin/wso2server.sh: 1:
./esb/wso2esb-5.0.0/bin/wso2server.sh:
uname: not found
./esb/wso2esb-5.0.0/bin/wso2server.sh: 1:
./esb/wso2esb-5.0.0/bin/wso2server.sh:
dirname: not found
./esb/wso2esb-5.0.0/bin/wso2server.sh: 1:
./esb/wso2esb-5.0.0/bin/wso2server.sh:
grep: not found
 Starting WSO2 Carbon (in unsupported JDK)
 [ERROR] CARBON is supported only on JDK 1.7 and 1.8
JAVA_HOME environment variable is set to /home/ubuntu/java/jdk1.8.0_121
CARBON_HOME environment variable is set to /
./esb/wso2esb-5.0.0/bin/wso2server.sh: 264:
./esb/wso2esb-5.0.0/bin/wso2server.sh:
rm: not found
./esb/wso2esb-5.0.0/bin/wso2server.sh: 271:
./esb/wso2esb-5.0.0/bin/wso2server.sh:
awk: not found
Using Java memory options: -Xms256m -Xmx1024m -XX:MaxPermSize=256m
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option
MaxPermSize=256m; support was removed in 8.0
Could not load Logmanager "org.apache.juli.ClassLoaderLogManager"
java.lang.ClassNotFoundException: org.apache.juli.ClassLoaderLogManager
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at java.util.logging.LogManager$1.run(LogManager.java:195)
at java.util.logging.LogManager$1.run(LogManager.java:181)
at java.security.AccessController.doPrivileged(Native Method)
at java.util.logging.LogManager.(LogManager.java:181)
at java.util.logging.Logger.demandLogger(Logger.java:448)
at java.util.logging.Logger.getLogger(Logger.java:502)
at com.sun.jmx.remote.util.ClassLogger.(ClassLogger.java:55)
at sun.management.jmxremote.ConnectorBootstrap.(
ConnectorBootstrap.java:846)
at sun.management.Agent.startLocalManagementAgent(Agent.java:138)
at sun.management.Agent.startAgent(Agent.java:260)
at sun.management.Agent.startAgent(Agent.java:447)
Error: Could not find or load main class org.wso2.carbon.bootstrap.Bootstrap


-- 
*Chamara Ariyarathne*
WSO2 Inc; http://www.wso2.com/
Mobile; *+94772786766 <077%20278%206766>*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] EMM 2.2.0 - Windows Phone : Device Location and Application List are now removed.

2016-10-06 Thread Chamara Ariyarathne
https://wso2.org/jira/browse/EMM-1702

Due to this, most of the issues reported for Windows Device will be marked
as Invalid.

-- 
*Chamara Ariyarathne*
WSO2 Inc; http://www.wso2.com/
Mobile; *+94772786766*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] EMM - Alpha compatibility with MySQL 5.7

2016-09-12 Thread Chamara Ariyarathne
There was an issue in the API Manager dbscripts for MySQL 5.7 like "DEFAULT
0" parameter is not allowed for "TIMESTAMP" columns. The fix was to add a
separate set of scripts with this parameter removed. The fixes can be found
in the jira;

https://wso2.org/jira/browse/CARBON-15913

We will have to incorporate these scripts in EMM pack.

-- 
*Chamara Ariyarathne*
WSO2 Inc; http://www.wso2.com/
Mobile; *+94772786766*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] EMM 2.1.0 DAS integration and Device Monitoring

2016-07-21 Thread Chamara Ariyarathne
On Thu, Jul 21, 2016 at 6:05 PM, Hasunie Adikari <hasu...@wso2.com> wrote:

> Hi Chamara,
>
> Publishing events[1] and Device Monitoring [2] are not related each other.
> Since Android agent is capable of sending out critical events to WSO2 DAS
> server,
>

What is the usage of this in  a real world scenario?



> There are some configurations to enable in EMM server to publish events in
> DAS Server. Here [1] Managing Event publishing
> provides those configurations.
> [1]
> https://docs.wso2.com/display/EMM210/Managing+Event+Publishing+with+WSO2+Data+Analytics+Server
> [2]
> https://docs.wso2.com/display/EMM210/Monitoring+Devices+via+the+Dashboard
>
>
>
> On Thu, Jul 21, 2016 at 5:25 PM, Chamara Ariyarathne <chama...@wso2.com>
> wrote:
>
>> Hi all,
>>
>> How does the EMM DAS Integration [1] and Device Monitoring [2] relate to
>> each other?
>>
>> Are we using the Stream definitions defined in DAS in [2] in the EMM
>> dashboard in [1]. If so I cannot see the exact mapping of what goes into
>> DAS and what is available in EMM Dashboard side.
>>
>> [1]
>> https://docs.wso2.com/display/EMM210/Managing+Event+Publishing+with+WSO2+Data+Analytics+Server
>> [2]
>> https://docs.wso2.com/display/EMM210/Monitoring+Devices+via+the+Dashboard
>>
>> --
>> *Chamara Ariyarathne*
>> Associate Technical Lead - QA
>> WSO2 Inc; http://www.wso2.com/
>> Mobile; *+94772786766 <%2B94772786766>*
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> *Hasunie Adikari*
> Software Engineer
> WSO2 Inc.; http://wso2.com
> lean.enterprise.middleware
> blog http://hasuniea.blogspot.com
> Mobile:+94713350904
>



-- 
*Chamara Ariyarathne*
Associate Technical Lead - QA
WSO2 Inc; http://www.wso2.com/
Mobile; *+94772786766*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] EMM 2.1.0 DAS integration and Device Monitoring

2016-07-21 Thread Chamara Ariyarathne
Hi all,

How does the EMM DAS Integration [1] and Device Monitoring [2] relate to
each other?

Are we using the Stream definitions defined in DAS in [2] in the EMM
dashboard in [1]. If so I cannot see the exact mapping of what goes into
DAS and what is available in EMM Dashboard side.

[1]
https://docs.wso2.com/display/EMM210/Managing+Event+Publishing+with+WSO2+Data+Analytics+Server
[2]
https://docs.wso2.com/display/EMM210/Monitoring+Devices+via+the+Dashboard

-- 
*Chamara Ariyarathne*
Associate Technical Lead - QA
WSO2 Inc; http://www.wso2.com/
Mobile; *+94772786766*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [API Store] Switching through Side Panes and them moving around while switching does not look cool

2016-06-30 Thread Chamara Ariyarathne
Totally agree. and I'm not suggesting something like a T pattern or
something.

My concern is the Menu Items in the F moving around in a weird way.
If those heat graphs in that article are true then I'm pretty sure the
reader will get totally distracted by that action.

On Fri, Jul 1, 2016 at 4:36 AM, Dakshika Jayathilaka <daksh...@wso2.com>
wrote:

> Hi all,
>
> IMO this is the expected behavior for this type of menu. If the user view
> this page first time, they can see related menu options which are available
> and corresponding actions to each menu item will display within the action
> bar(next to the menu in same level).
>
> Intentionally we don't maintain the order in this menu, cause user can
> select appropriate action, depending on his or her desire. We consider
> F-pattern[1] on this and user will drive accordingly.
>
> [1] https://www.nngroup.com/articles/f-shaped-pattern-reading-web-content/
>
>
> Regards,
>
> *Dakshika Jayathilaka*
> PMC Member & Committer of Apache Stratos
> Associate Technical Lead
> WSO2, Inc.
> lean.enterprise.middleware
> 0771100911
>
> On Tue, Jun 28, 2016 at 3:11 PM, Roshan Wijesena <ros...@wso2.com> wrote:
>
>> [+ adding Joe/Thusitha]
>>
>> On Tue, Jun 28, 2016 at 3:08 PM, Chamara Ariyarathne <chama...@wso2.com>
>> wrote:
>>
>>> Created a jira for this.
>>> https://wso2.org/jira/browse/APIMANAGER-5131
>>>
>>> Please share your ideas on this.
>>>
>>> --
>>> *Chamara Ariyarathne*
>>> Associate Technical Lead - QA
>>> WSO2 Inc; http://www.wso2.com/
>>> Mobile; *+94772786766 <%2B94772786766>*
>>>
>>
>>
>>
>> --
>> Roshan Wijesena.
>> Senior Software Engineer-WSO2 Inc.
>> Mobile: *+94719154640 <%2B94719154640>*
>> Email: ros...@wso2.com
>> *WSO2, Inc. :** wso2.com <http://wso2.com/>*
>> lean.enterprise.middleware.
>>
>
>


-- 
*Chamara Ariyarathne*
Associate Technical Lead - QA
WSO2 Inc; http://www.wso2.com/
Mobile; *+94772786766*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [API Store] Switching through Side Panes and them moving around while switching does not look cool

2016-06-28 Thread Chamara Ariyarathne
Created a jira for this.
https://wso2.org/jira/browse/APIMANAGER-5131

Please share your ideas on this.

-- 
*Chamara Ariyarathne*
Associate Technical Lead - QA
WSO2 Inc; http://www.wso2.com/
Mobile; *+94772786766*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] API-M Analytics pack 14/06/16

2016-06-14 Thread Chamara Ariyarathne
If the new build is given with bug fixes and if even the stream definition
is changed in the new pack, why should we use an old pack for testing
anymore?
IMO, both clusters needs to be updated with this new change.

On Wed, Jun 15, 2016 at 11:02 AM, Rukshan Premathunga <ruks...@wso2.com>
wrote:

> Hi Chalitha,
>
> APIM beta is not compatible with Analytics 14/06/16 pack. Can you please
> use older version of analytics APIM pack(before 14/06/16).
>
> Thanks.
>
> On Wed, Jun 15, 2016 at 10:59 AM, Chalitha Waldeniyage <chali...@wso2.com>
> wrote:
>
>> Hi Rukshan,
>>
>> We are trying to integrate analytics  with APIM Beta pack. We are kind of
>> blocked in integrating analytics cluster with APIM cluster to do a long
>> running test, due to the above mentioned compatibility issue.
>>
>>
>> On Wed, Jun 15, 2016 at 10:39 AM, Ushani Balasooriya <ush...@wso2.com>
>> wrote:
>>
>>> + Dev and Bhathiya
>>>
>>> On Wed, Jun 15, 2016 at 10:36 AM, Rukshan Premathunga <ruks...@wso2.com>
>>> wrote:
>>>
>>>> Hi maneesha,
>>>>
>>>> can i know which APIM u are using. because yesterday we change response
>>>> event stream definition on both analytics-apim and APIM packs. So if you
>>>> use yesterday build analytics pack you should use latest APIM pack as well.
>>>>
>>>> On Wed, Jun 15, 2016 at 10:16 AM, Fazlan Nazeem <fazl...@wso2.com>
>>>> wrote:
>>>>
>>>>> looping Rukshan
>>>>>
>>>>> On Wed, Jun 15, 2016 at 9:57 AM, Maneesha Wijesekara <
>>>>> manee...@wso2.com> wrote:
>>>>>
>>>>>> Hi Fazlan,
>>>>>>
>>>>>> Following exception thrown in analytics terminal when invoking an API
>>>>>> with latest Analytics pack. No Statistics in dashboards since the 
>>>>>> responses
>>>>>> were not recorded in Analytics server side.
>>>>>>
>>>>>> [2016-06-15 09:47:32,308] ERROR
>>>>>> {org.wso2.carbon.databridge.core.internal.queue.QueueWorker} -  Dropping
>>>>>> wrongly formatted event sent for -1234
>>>>>> org.wso2.carbon.databridge.core.exception.EventConversionException:
>>>>>> Error when converting org.wso2.apimgt.statistics.response:1.1.0 of event
>>>>>> bundle with events 1
>>>>>> at
>>>>>> org.wso2.carbon.databridge.receiver.thrift.converter.ThriftEventConverter.createEventList(ThriftEventConverter.java:181)
>>>>>> at
>>>>>> org.wso2.carbon.databridge.receiver.thrift.converter.ThriftEventConverter.toEventList(ThriftEventConverter.java:90)
>>>>>> at
>>>>>> org.wso2.carbon.databridge.core.internal.queue.QueueWorker.run(QueueWorker.java:73)
>>>>>> at
>>>>>> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
>>>>>> at java.util.concurrent.FutureTask.run(FutureTask.java:266)
>>>>>> at
>>>>>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
>>>>>> at
>>>>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
>>>>>> at java.lang.Thread.run(Thread.java:745)
>>>>>> Caused by: java.lang.IndexOutOfBoundsException: Index: 17, Size: 17
>>>>>> at java.util.ArrayList.rangeCheck(ArrayList.java:653)
>>>>>> at java.util.ArrayList.get(ArrayList.java:429)
>>>>>> at
>>>>>> org.wso2.carbon.databridge.receiver.thrift.converter.ThriftEventConverter.toObjectArray(ThriftEventConverter.java:59)
>>>>>> at
>>>>>> org.wso2.carbon.databridge.receiver.thrift.converter.ThriftEventConverter.createEventList(ThriftEventConverter.java:171)
>>>>>> ... 7 more
>>>>>>
>>>>>>
>>>>>> Regards
>>>>>> Maneesha
>>>>>>
>>>>>>
>>>>>>
>>>>>> On Tue, Jun 14, 2016 at 8:40 PM, Fazlan Nazeem <fazl...@wso2.com>
>>>>>> wrote:
>>>>>>
>>>>>>> hi Shavantha,
>>>>>>>
>>>>>>> Please find the latest apim-analytics pack in [1]
>>>>>>>
>>>>>>> [1]
>>>>>>> https://wso2.org/jenkins/job/analytics-apim/165/org.wso2.analytics.apim$wso2analytics-apim/a

Re: [Dev] Unexpected error occured when generating SAML2 bearer token using API manager- IS integrated setup.

2016-06-01 Thread Chamara Ariyarathne
;>>> tenant.
>>>>>>>
>>>>>>> Are there any specific configurations which should be done, in order
>>>>>>> to get the tenant scenario working ?
>>>>>>>
>>>>>>> I have also reported a Jira [2] on this explaining full scenario.
>>>>>>>
>>>>>>> [2]. https://wso2.org/jira/browse/APIMANAGER-4929
>>>>>>> [1].
>>>>>>> https://docs.wso2.com/display/AM1100/Exchanging+SAML2+Bearer+Tokens+with+OAuth2+-+SAML+Extension+Grant+Type
>>>>>>>
>>>>>>> Kind Regards,
>>>>>>> Sewmini.
>>>>>>>
>>>>>>> Sewmini Jayaweera
>>>>>>> *Software Engineer - QA Team*
>>>>>>> Mobile: +94 (0) 773 381 250
>>>>>>> sewm...@wso2.com
>>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Pushpalanka.
>>>>> --
>>>>> Pushpalanka Jayawardhana, B.Sc.Eng.(Hons).
>>>>> Senior Software Engineer, WSO2 Lanka (pvt) Ltd;  wso2.com/
>>>>> Mobile: +94779716248
>>>>> Blog: pushpalankajaya.blogspot.com/ | LinkedIn:
>>>>> lk.linkedin.com/in/pushpalanka/ | Twitter: @pushpalanka
>>>>>
>>>>>
>>>>
>>>
>>>
>>> --
>>> Tania Mahanama
>>> Senior Technical Writer
>>>
>>> Contact:
>>> Mob: +94 077 5129270
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "WSO2 Documentation Group" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to documentation+unsubscr...@wso2.com.
>>> For more options, visit https://groups.google.com/a/wso2.com/d/optout.
>>>
>>
>>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
*Chamara Ariyarathne*
Associate Technical Lead - QA
WSO2 Inc; http://www.wso2.com/
Mobile; *+94772786766*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Unable to download wso2 agent for android device

2015-12-14 Thread Chamara Ariyarathne
Hi Shavindri,

It's only applicable for the emm-web-agent app.

Thanks.

On Tue, Dec 15, 2015 at 7:06 AM, Shavindri Dissanayake <shavin...@wso2.com>
wrote:

> Hi Team,
>
> Thank you! I have updated [1] according to the mail thread and [2]. Can
> you please confirm the content?
> Further, does the same apply for step 4 in [1] too (config json file that
> is in the /repository/deployment/server/jaggeryapps/emm/config
> directory)?
>
> [1]
> https://docs.wso2.com/display/EMM200/General+Server+Configurations#GeneralServerConfigurations-WSO2EMMAgentconfigurationstoenrollandmanagedevices
> [2] https://wso2.org/jira/browse/DOCUMENTATION-2835
>
> Thanks & Regards
> Shavindri Dissanayake
> Technical Writer
>
> WSO2 Inc.
> lean.enterprise.middleware
>
> On Mon, Dec 14, 2015 at 4:10 PM, Chamara Ariyarathne <chama...@wso2.com>
> wrote:
>
>> It is due to not mentioning the mandatory requirement of having http url
>> in the confing.json in emm-web-agent app.
>>
>> Discussed about this with the team and created the jira.
>> https://wso2.org/jira/browse/DOCUMENTATION-2835
>>
>> On Mon, Dec 14, 2015 at 10:22 AM, Sashika Wijesinghe <sash...@wso2.com>
>> wrote:
>>
>>> Hi Kasun,
>>>
>>> When I changed the host entry to HTTP, download link redirects to 'No
>>> data received' error page. Is there any other configuration change required
>>> to get the enrollment successful?
>>>
>>> Thanks & Regards,
>>>
>>> On Sun, Dec 13, 2015 at 1:12 PM, Kasun Dananjaya Delgolla <
>>> kas...@wso2.com> wrote:
>>>
>>>> Hi Shashika,
>>>>
>>>> This is because you have given https your for generalConfig->host entry
>>>> in config.json in emm-web-agent. It should be HTTP. Android doesn't allow
>>>> HTTPS unless server has a trusted CA installed. Please change the config to
>>>> HTTP and re-check.
>>>>
>>>> @Shavindri - This needs to be changed in the documentation as well.
>>>> (Also mention in prod mode, change this to HTTPS)
>>>>
>>>> Thanks
>>>>
>>>> On Sat, Dec 12, 2015 at 5:12 PM, Sashika Wijesinghe <sash...@wso2.com>
>>>> wrote:
>>>>
>>>>> Hi,
>>>>>
>>>>> I was unable to download wso2 agent for android device due to agent
>>>>> download failure. In the download link it appears as 'unknown' (image
>>>>> attached).
>>>>>
>>>>> Before starting the server I have configured below files with domain
>>>>> ip address. (Configuration files attached )
>>>>> May I know whether I missed any mandatory configurations?
>>>>>
>>>>>- cdm-config.xml
>>>>>- carbon.xml
>>>>>- config.json file at
>>>>>'/repository/deployment/server/jaggeryapps/emm/config' 
>>>>> location
>>>>>- config.json file at
>>>>>
>>>>> '/repository/deployment/server/jaggeryapps/emm-web-agent/config'
>>>>>location
>>>>>
>>>>> Any help is highly appreciated.
>>>>>
>>>>> Thanks & Regards,
>>>>> --
>>>>>
>>>>> *Sashika WijesingheSoftware Engineer - QA Team*
>>>>> Mobile : +94 (0) 774537487
>>>>> sash...@wso2.com
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Kasun Dananjaya Delgolla
>>>>
>>>> Software Engineer
>>>> WSO2 Inc.; http://wso2.com
>>>> lean.enterprise.middleware
>>>> Tel:  +94 11 214 5345
>>>> Fax: +94 11 2145300
>>>> Mob: + 94 771 771 015
>>>> Blog: http://kddcodingparadise.blogspot.com
>>>> Linkedin: *http://lk.linkedin.com/in/kasundananjaya
>>>> <http://lk.linkedin.com/in/kasundananjaya>*
>>>>
>>>
>>>
>>>
>>> --
>>>
>>> *Sashika WijesingheSoftware Engineer - QA Team*
>>> Mobile : +94 (0) 774537487
>>> sash...@wso2.com
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> *Chamara Ariyarathne*
>> Associate Technical Lead - QA
>> WSO2 Inc; http://www.wso2.com/
>> Mobile; *+94772786766 <%2B94772786766>*
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>


-- 
*Chamara Ariyarathne*
Associate Technical Lead - QA
WSO2 Inc; http://www.wso2.com/
Mobile; *+94772786766*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Unable to download wso2 agent for android device

2015-12-14 Thread Chamara Ariyarathne
It is due to not mentioning the mandatory requirement of having http url in
the confing.json in emm-web-agent app.

Discussed about this with the team and created the jira.
https://wso2.org/jira/browse/DOCUMENTATION-2835

On Mon, Dec 14, 2015 at 10:22 AM, Sashika Wijesinghe <sash...@wso2.com>
wrote:

> Hi Kasun,
>
> When I changed the host entry to HTTP, download link redirects to 'No data
> received' error page. Is there any other configuration change required to
> get the enrollment successful?
>
> Thanks & Regards,
>
> On Sun, Dec 13, 2015 at 1:12 PM, Kasun Dananjaya Delgolla <kas...@wso2.com
> > wrote:
>
>> Hi Shashika,
>>
>> This is because you have given https your for generalConfig->host entry
>> in config.json in emm-web-agent. It should be HTTP. Android doesn't allow
>> HTTPS unless server has a trusted CA installed. Please change the config to
>> HTTP and re-check.
>>
>> @Shavindri - This needs to be changed in the documentation as well. (Also
>> mention in prod mode, change this to HTTPS)
>>
>> Thanks
>>
>> On Sat, Dec 12, 2015 at 5:12 PM, Sashika Wijesinghe <sash...@wso2.com>
>> wrote:
>>
>>> Hi,
>>>
>>> I was unable to download wso2 agent for android device due to agent
>>> download failure. In the download link it appears as 'unknown' (image
>>> attached).
>>>
>>> Before starting the server I have configured below files with domain ip
>>> address. (Configuration files attached )
>>> May I know whether I missed any mandatory configurations?
>>>
>>>- cdm-config.xml
>>>- carbon.xml
>>>- config.json file at
>>>'/repository/deployment/server/jaggeryapps/emm/config' location
>>>- config.json file at
>>>
>>> '/repository/deployment/server/jaggeryapps/emm-web-agent/config'
>>>location
>>>
>>> Any help is highly appreciated.
>>>
>>> Thanks & Regards,
>>> --
>>>
>>> *Sashika WijesingheSoftware Engineer - QA Team*
>>> Mobile : +94 (0) 774537487
>>> sash...@wso2.com
>>>
>>
>>
>>
>> --
>> Kasun Dananjaya Delgolla
>>
>> Software Engineer
>> WSO2 Inc.; http://wso2.com
>> lean.enterprise.middleware
>> Tel:  +94 11 214 5345
>> Fax: +94 11 2145300
>> Mob: + 94 771 771 015
>> Blog: http://kddcodingparadise.blogspot.com
>> Linkedin: *http://lk.linkedin.com/in/kasundananjaya
>> <http://lk.linkedin.com/in/kasundananjaya>*
>>
>
>
>
> --
>
> *Sashika WijesingheSoftware Engineer - QA Team*
> Mobile : +94 (0) 774537487
> sash...@wso2.com
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
*Chamara Ariyarathne*
Associate Technical Lead - QA
WSO2 Inc; http://www.wso2.com/
Mobile; *+94772786766*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [EMM200] Is there a way to monitor the traffic goes to APNS from EMM?

2015-12-04 Thread Chamara Ariyarathne
Is $subject possible?


-- 
*Chamara Ariyarathne*
Associate Technical Lead - QA
WSO2 Inc; http://www.wso2.com/
Mobile; *+94772786766*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [EMM] Exception when installing ios p2-repository in EMM

2015-12-04 Thread Chamara Ariyarathne
;> org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:290)
>>>>>>> at
>>>>>>> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:192)
>>>>>>> at
>>>>>>> org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:322)
>>>>>>> ... 52 more
>>>>>>> Caused by: java.lang.NoClassDefFoundError:
>>>>>>> org/wso2/carbon/device/mgt/ios/api/utils/beans/LocationBean
>>>>>>> at java.lang.Class.getDeclaredMethods0(Native Method)
>>>>>>> at java.lang.Class.privateGetDeclaredMethods(Class.java:2570)
>>>>>>> at java.lang.Class.getDeclaredMethods(Class.java:1855)
>>>>>>> at
>>>>>>> org.apache.cxf.common.util.ReflectionUtil$6.run(ReflectionUtil.java:127)
>>>>>>> at
>>>>>>> org.apache.cxf.common.util.ReflectionUtil$6.run(ReflectionUtil.java:125)
>>>>>>> at java.security.AccessController.doPrivileged(Native Method)
>>>>>>> at
>>>>>>> org.apache.cxf.common.util.ReflectionUtil.getDeclaredMethods(ReflectionUtil.java:125)
>>>>>>> at
>>>>>>> org.apache.cxf.common.annotation.AnnotationProcessor.processMethods(AnnotationProcessor.java:85)
>>>>>>> at
>>>>>>> org.apache.cxf.common.annotation.AnnotationProcessor.accept(AnnotationProcessor.java:72)
>>>>>>> at
>>>>>>> org.apache.cxf.common.injection.ResourceInjector.inject(ResourceInjector.java:118)
>>>>>>> at
>>>>>>> org.apache.cxf.common.injection.ResourceInjector.inject(ResourceInjector.java:112)
>>>>>>> at
>>>>>>> org.apache.cxf.bus.spring.Jsr250BeanPostProcessor.postProcessBeforeInitialization(Jsr250BeanPostProcessor.java:136)
>>>>>>> at
>>>>>>> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:393)
>>>>>>> at
>>>>>>> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1415)
>>>>>>> at
>>>

[Dev] [EMM200] Why a new configuration file was introduced for configuring iOS specific keystore, rather than using the carbon.xml element?

2015-12-02 Thread Chamara Ariyarathne
While going through the doc,
https://docs.wso2.com/display/EMM200/General+iOS+Server+Configurations

I see that, a new configuration file was introduced as
"certificate-config.xml" to configure the keystore and certificate
information which are specific to iOS.

What was the reason to introduce a new config file, without using
the  element in the carbon.xml to put those configurations?

-- 
*Chamara Ariyarathne*
Associate Technical Lead - QA
WSO2 Inc; http://www.wso2.com/
Mobile; *+94772786766*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [EMM] Doubt on Server Url to be taken from carbon.xml HostName value or some other configuration.

2015-12-01 Thread Chamara Ariyarathne
I disagree with that. Using the carbon.xml HostName value is not just for
constructing a url in a mail. It was only one requirement.

There are further issues encountered due to not using carbon.xml HostName
value in the product.
https://wso2.org/jira/browse/EMM-1017

On Tue, Dec 1, 2015 at 9:09 PM, Dulitha Wijewantha <duli...@wso2.com> wrote:

>
>
> On Thu, Nov 26, 2015 at 8:33 AM, Afkham Azeez <az...@wso2.com> wrote:
>
>> I think your requirement is to to send a URL to the client in an email.
>> The best option is the define the entire URL as some config element and use
>> that without complicating stuff so much.
>>
>
> ​+1 for this.
> ​
>
>
>>
>>
>
>> On Thu, Nov 26, 2015 at 6:53 PM, Geeth Munasinghe <ge...@wso2.com> wrote:
>>
>>>
>>>
>>> On Thu, Nov 26, 2015 at 11:56 AM, Sameera Jayasoma <same...@wso2.com>
>>> wrote:
>>>
>>>> At the moment carbon.xml contains proxy host, proxy context path of the
>>>> worker cluster. But proxy port of the worker cluster is missing. Therefore
>>>> we need to add this to carbon.xml.
>>>>
>>>> Suggestion is to put following properties under the "Ports" element.
>>>>
>>>> 80
>>>> 443
>>>>
>>>> WDYT?
>>>>
>>>
>>> +1
>>>
>>> If the both worker and manager nodes are exposed globally, we are able
>>> to get the host name from carbon.xml and proxy port from
>>> catalina-server.xml.
>>>
>>> But there is a deployment scenario where proxy port cannot be taken from
>>> catalin-server.xml.
>>>
>>> Our use case is EMM administrator add users and sends emails with the
>>> instructions to enroll the mobile device. We use the manager node to add
>>> user and send the email. But devices will be enrolled to the worker node.
>>> So email sent by the manager node contains the url of the worker nodes.
>>> That means it has the proxy hostname and the proxy port of the worker. So
>>> in a setup where manager node is not exposed to the outside world, only
>>> worker nodes are exposed globally through the LB, then proxy port is not
>>> configured in the manager node. Manager node can be accessed only from
>>> internal network which is valid use case for many companies where security
>>> is much concerned. In this case we are not able to get the proxy port of
>>> the worker nodes from manager nodes.
>>>
>>> I think above parameters would fix our problem. I have created a jira
>>> [1] for this.
>>>
>>> [1] https://wso2.org/jira/browse/CARBON-15659
>>>
>>> Thanks
>>> Geeth
>>>
>>>
>>>> Thanks,
>>>> Sameera.
>>>>
>>>> On Tue, Nov 24, 2015 at 10:34 AM, Sameera Jayasoma <same...@wso2.com>
>>>> wrote:
>>>>
>>>>> +1. We should use carbon.xml at all cost otherwise we are adding
>>>>> unnecessary overhead in configuring the products. You can see how we
>>>>> generate other URLs. We do have few util methods.  Please reuse the util
>>>>> methods.
>>>>>
>>>>> When you calculate the URL, you need to consider following parameters.
>>>>>
>>>>> hostname
>>>>> proxy port or port
>>>>> proxy path etc
>>>>>
>>>>> Thanks,
>>>>> Sameera.
>>>>>
>>>>> On Tue, Nov 24, 2015 at 8:17 AM, Selvaratnam Uthaiyashankar <
>>>>> shan...@wso2.com> wrote:
>>>>>
>>>>>> I agree with Chamara. We have a way to configure public hostname
>>>>>> (HostName, MgtHostName in carbon.xml) and port (proxy port in
>>>>>> tomcat/catalina-server.xml). This is what used in generating service
>>>>>> endpoints, WSDL URLs etc. when a server is fronted with LB. I don't see 
>>>>>> any
>>>>>> necessary for EMM to have a new configuration.
>>>>>>
>>>>>> On Tue, Nov 24, 2015 at 12:41 AM, Geeth Munasinghe <ge...@wso2.com>
>>>>>> wrote:
>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> On Tue, Nov 24, 2015 at 12:12 AM, Chamara Ariyarathne <
>>>>>>> chama...@wso2.com> wrote:
>>>>>>>
>>>>>>>> Hi Milan. Thanks for the information. We will try this tomorrow.
>>>>&

Re: [Dev] [EMM] Doubt on Server Url to be taken from carbon.xml HostName value or some other configuration.

2015-11-24 Thread Chamara Ariyarathne
Hi Milan,

Your information is also incorrect. I tried changing the  tag in
carbon.xml and tried the same scenario and the QR code is still generated
with the host machine's Ethernet ip-address.

Thanks.

On Tue, Nov 24, 2015 at 12:38 PM, Afkham Azeez <az...@wso2.com> wrote:

> Yes. You have to use the value in the carbon. Xml
> On Nov 24, 2015 8:17 AM, "Selvaratnam Uthaiyashankar" <shan...@wso2.com>
> wrote:
>
>> I agree with Chamara. We have a way to configure public hostname
>> (HostName, MgtHostName in carbon.xml) and port (proxy port in
>> tomcat/catalina-server.xml). This is what used in generating service
>> endpoints, WSDL URLs etc. when a server is fronted with LB. I don't see any
>> necessary for EMM to have a new configuration.
>>
>> On Tue, Nov 24, 2015 at 12:41 AM, Geeth Munasinghe <ge...@wso2.com>
>> wrote:
>>
>>>
>>>
>>> On Tue, Nov 24, 2015 at 12:12 AM, Chamara Ariyarathne <chama...@wso2.com
>>> > wrote:
>>>
>>>> Hi Milan. Thanks for the information. We will try this tomorrow. But
>>>> our purpose is to replace this whole url with a configured host name.
>>>>
>>>> However Geeth, I think the EMM team having to introduce a new config to
>>>> put the globally exposed server url deviates from the purpose of having
>>>> HostName and MgtHostname properties in the carbon.xml..
>>>>
>>>
>>> Chamara,
>>> I think I disagree with on that point. I dont think carbon hostname or
>>> mgt host name cannot be used for globally exposing the server url.  AFAIK
>>> there is no place to put the port number in carbon.xml. There is no point
>>> of having just a host name without the port number. The carbon.xml host
>>> name will be the server ip address or the host name of the server which the
>>> product is running as clearly mentioned in the document [1].
>>>
>>> As another reference, AFAIK in ESB, we use WSDLPrefix [2] in order to
>>> change the address endpoint of generated wsdls to LB's address when ESB is
>>> fronted by a LB.
>>>
>>> So I think introducing a new config to put the LB host name and port is
>>> valid.
>>>
>>> [1] https://docs.wso2.com/display/Carbon440/Configuring+carbon.xml
>>> [2] https://docs.wso2.com/display/ESB490/Setting+Up+Host+Names+and+Ports
>>>
>>> Thanks
>>> Geeth
>>>
>>>>
>>>> On Mon, Nov 23, 2015 at 9:58 PM, Milan Perera <mi...@wso2.com> wrote:
>>>>
>>>>> Hi
>>>>> ​Chamara​
>>>>> ,
>>>>>
>>>>> Today we found out that even when the Host Names are configured in the
>>>>>> carbonl.xml to be server's identified domain name, the QR code which is
>>>>>> generated while device registration, uses the host ip address which is
>>>>>> picked up from nowhere.
>>>>>>
>>>>> ​
>>>>> Actually this IP is taking from the PAN. In my machine, if I dont set
>>>>> it manually from the carbon.xml to my wlan IP, it pics the pan1
>>>>> (10.7.200.1) and it breaks all the download links that are generated by 
>>>>> the
>>>>> jaggery in most of the time.
>>>>>
>>>>> pan1  Link encap:Ethernet  HWaddr c2:1e:fe:3b:6a:6e
>>>>>   inet addr:10.7.200.1  Bcast:10.7.200.255  Mask:255.255.255.0
>>>>>   inet6 addr: fe80::c01e:feff:fe3b:6a6e/64 Scope:Link
>>>>>   UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>>>>>   RX packets:0 errors:0 dropped:0 overruns:0 frame:0
>>>>>   TX packets:156 errors:0 dropped:0 overruns:0 carrier:0
>>>>>   collisions:0 txqueuelen:0
>>>>>   RX bytes:0 (0.0 B)  TX bytes:28795 (28.7 KB)
>>>>>
>>>>> wlan0 Link encap:Ethernet  HWaddr 84:3a:4b:9b:cf:66
>>>>>   inet addr:192.168.1.10  Bcast:192.168.1.255
>>>>> Mask:255.255.255.0
>>>>>   inet6 addr: fe80::863a:4bff:fe9b:cf66/64
>>>>> Scope:Link
>>>>>   UP BROADCAST RUNNING MULTICAST  MTU:1500
>>>>> Metric:1
>>>>>   RX packets:207466 errors:0 dropped:0 overruns:0
>>>>> frame:0
>>>>>   TX packets:41603 errors:0 dropped:0 overruns:0
>>>>> carrier:0
>>>>>   collisions:0
>>>>> txqueuelen:1000
>>>

Re: [Dev] [EMM] Doubt on Server Url to be taken from carbon.xml HostName value or some other configuration.

2015-11-23 Thread Chamara Ariyarathne
Hi Milan. Thanks for the information. We will try this tomorrow. But our
purpose is to replace this whole url with a configured host name.

However Geeth, I think the EMM team having to introduce a new config to put
the globally exposed server url deviates from the purpose of having
HostName and MgtHostname properties in the carbon.xml..

On Mon, Nov 23, 2015 at 9:58 PM, Milan Perera <mi...@wso2.com> wrote:

> Hi
> ​Chamara​
> ,
>
> Today we found out that even when the Host Names are configured in the
>> carbonl.xml to be server's identified domain name, the QR code which is
>> generated while device registration, uses the host ip address which is
>> picked up from nowhere.
>>
> ​
> Actually this IP is taking from the PAN. In my machine, if I dont set it
> manually from the carbon.xml to my wlan IP, it pics the pan1 (10.7.200.1)
> and it breaks all the download links that are generated by the jaggery in
> most of the time.
>
> pan1  Link encap:Ethernet  HWaddr c2:1e:fe:3b:6a:6e
>   inet addr:10.7.200.1  Bcast:10.7.200.255  Mask:255.255.255.0
>   inet6 addr: fe80::c01e:feff:fe3b:6a6e/64 Scope:Link
>   UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>   RX packets:0 errors:0 dropped:0 overruns:0 frame:0
>   TX packets:156 errors:0 dropped:0 overruns:0 carrier:0
>   collisions:0 txqueuelen:0
>   RX bytes:0 (0.0 B)  TX bytes:28795 (28.7 KB)
>
> wlan0 Link encap:Ethernet  HWaddr 84:3a:4b:9b:cf:66
>   inet addr:192.168.1.10  Bcast:192.168.1.255
> Mask:255.255.255.0
>   inet6 addr: fe80::863a:4bff:fe9b:cf66/64
> Scope:Link
>   UP BROADCAST RUNNING MULTICAST  MTU:1500
> Metric:1
>   RX packets:207466 errors:0 dropped:0 overruns:0
> frame:0
>   TX packets:41603 errors:0 dropped:0 overruns:0
> carrier:0
>   collisions:0
> txqueuelen:1000
>
>   RX bytes:209272568 (209.2 MB)  TX bytes:7936480 (7.9 MB) ​
>
> ​To overcome t​his, what I do is uncomment the  tag from the
> carbon.xml and set it to my wlan ip.
> https://192.168.1.10:
> ${carbon.management.port}${carbon.context}/services/
>
> ​Regards,​
>
> --
> *Milan Perera *| Software Engineer
> WSO2, Inc | lean. enterprise. middleware.
> #20, Palm Grove, Colombo 03, Sri Lanka
> Mobile: +94 77 309 7088 | Work: +94 11 214 5345
> Email: mi...@wso2.com <ar...@wso2.com> | Web: www.wso2.com
> <http://lk.linkedin.com/in/milanharinduperera>
>



-- 
*Chamara Ariyarathne*
Associate Technical Lead - QA
WSO2 Inc; http://www.wso2.com/
Mobile; *+94772786766*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [EMM] Doubt on Server Url to be taken from carbon.xml HostName value or some other configuration.

2015-11-23 Thread Chamara Ariyarathne
We have a major design culprit with this situation now with the hostname
not getting picked up from carbon.xml. First reported jira is this
https://wso2.org/jira/browse/EMM-900

Today we found out that even when the Host Names are configured in the
carbonl.xml to be server's identified domain name, the QR code which is
generated while device registration, uses the host ip address which is
picked up from nowhere.
https://wso2.org/jira/browse/EMM-987

This issue will break the clustering scenarios where we need to define host
names in carbon.xml but EMM not picking them up properly.

On Tue, Nov 17, 2015 at 3:18 PM, Chamara Ariyarathne <chama...@wso2.com>
wrote:

> Hi Azeez,
>
> Agree with that. However the precedence should be to use the HostName
> value in the carbon.xml which is ultimately the deployment's exposed host
> name, hence the constructed url in the email would be the correct access
> url from outside.
>
> My argument is, this url shouldn't be kept in some other configuration
> file repeatedly.
>
> Thanks.
>
> On Wed, Nov 11, 2015 at 7:04 PM, Afkham Azeez <az...@wso2.com> wrote:
>
>> This is for information purposes only. The mail says the URL we send to
>> the users in the email contains local host. May be you can get the IP
>> address/host from the incoming request and use that.
>>
>> On Wed, Nov 11, 2015 at 3:59 AM, Geeth Munasinghe <ge...@wso2.com> wrote:
>>
>>> Hi Azeez,
>>>
>>> In case of URL rewrite by LB, can we handle that by the proxy settings
>>> on catalina-server.xml ?
>>>
>>> Thanks
>>> Geeth
>>>
>>>
>>>
>>>
>>>
>>>
>>> *G. K. S. Munasinghe*
>>> *Senior Software Engineer,*
>>> *WSO2, Inc. http://wso2.com <http://wso2.com/> *
>>> *lean.enterprise.middleware.*
>>>
>>> email: ge...@wso2.com
>>> phone:(+94) 777911226
>>>
>>> On Wed, Nov 11, 2015 at 2:10 PM, Afkham Azeez <az...@wso2.com> wrote:
>>>
>>>> proxy host name
>>>>
>>>> On Wed, Nov 11, 2015 at 12:28 AM, Chamara Ariyarathne <
>>>> chama...@wso2.com> wrote:
>>>>
>>>>> Hi All,
>>>>>
>>>>> When a new user is added to EMM, the user will be notified with an
>>>>> email to subscribe a device to MDM domain. The email contains the server
>>>>> url to be accessed from the device.
>>>>>
>>>>> https://localhost:9443/mdm/enrollment
>>>>>
>>>>> In a usual deployment when a EMM cluster is fronted by a LB, this url
>>>>> should be changed to the particular gateway host of the deployment. Now a
>>>>> doubt arose whether to create this url by taking the value in HostName
>>>>> element in carbon.xml or somewhere else.
>>>>>
>>>>> So the real doubt here is what is the correct way to configure the
>>>>> HostName attribute in the carbon.xml in a carbon server. Is it going to be
>>>>> the LB host's url which the deployment is exposed with or is it some local
>>>>> host name internal to the deployment?
>>>>>
>>>>> --
>>>>> *Chamara Ariyarathne*
>>>>> Associate Technical Lead - QA
>>>>> WSO2 Inc; http://www.wso2.com/
>>>>> Mobile; *+94772786766 <%2B94772786766>*
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> *Afkham Azeez*
>>>> Director of Architecture; WSO2, Inc.; http://wso2.com
>>>> Member; Apache Software Foundation; http://www.apache.org/
>>>> * <http://www.apache.org/>*
>>>> *email: **az...@wso2.com* <az...@wso2.com>
>>>> * cell: +94 77 3320919 <%2B94%2077%203320919>blog: *
>>>> *http://blog.afkham.org* <http://blog.afkham.org>
>>>> *twitter: **http://twitter.com/afkham_azeez*
>>>> <http://twitter.com/afkham_azeez>
>>>> *linked-in: **http://lk.linkedin.com/in/afkhamazeez
>>>> <http://lk.linkedin.com/in/afkhamazeez>*
>>>>
>>>> *Lean . Enterprise . Middleware*
>>>>
>>>
>>>
>>
>>
>> --
>> *Afkham Azeez*
>> Director of Architecture; WSO2, Inc.; http://wso2.com
>> Member; Apache Software Foundation; http://www.apache.org/
>> * <http://www.apache.org/>*
>> *email: **az...@wso2.com* <az...@wso2.com>
>> * cell: +94 77 3320919 <%2B94%2077%203320919>blog: *
>> *http://blog.afkham.org* <http://blog.afkham.org>
>> *twitter: **http://twitter.com/afkham_azeez*
>> <http://twitter.com/afkham_azeez>
>> *linked-in: **http://lk.linkedin.com/in/afkhamazeez
>> <http://lk.linkedin.com/in/afkhamazeez>*
>>
>> *Lean . Enterprise . Middleware*
>>
>
>
>
> --
> *Chamara Ariyarathne*
> Associate Technical Lead - QA
> WSO2 Inc; http://www.wso2.com/
> Mobile; *+94772786766 <%2B94772786766>*
>



-- 
*Chamara Ariyarathne*
Associate Technical Lead - QA
WSO2 Inc; http://www.wso2.com/
Mobile; *+94772786766*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [EMM] Doubt on Server Url to be taken from carbon.xml HostName value or some other configuration.

2015-11-23 Thread Chamara Ariyarathne
So Geeth, my argument is even if there is a url re-write in the load
balancer, the carbon.xml HostName and MgtHostName value should be the
domain name which is exposed to outside world,

hence in your example: emm.wso2.com.

Do you have a counter argument for this?

On Mon, Nov 23, 2015 at 8:03 PM, Geeth Munasinghe <ge...@wso2.com> wrote:

> Hi Chamara
>
> For the first issue, as you and me had many offline discussions about it,
> let me explain the reason again, why we moved the LB host name and LB port
> to be taken from a different file (cdm-config.xml). This was required when
> we send email to users to get their devices enrolled, we need to get the LB
> host and port.
>
> When we configure the EMM servers, they will be in private network IPs.
> And those EMM servers will be exposed to the out side through a load
> balancer which will be on public IP. Normally load balancer will run on
> default http and https ports which are either 80 or 443. But EMM servers
> could run on any port (default 9443 and 9763). So when a load balancer
> receives a request to either 80 or 443 ports, it will redirect them to EMM
> server 9443 / 9763 ports.
>
> Another thing is load balancer could rewrite the urls, for example if the
> load balancer host name and port is https://emm.wso2.com:443, then in LB
> it can rewrite the urls to https://worker.mdm.com:9443.
>
> So AFAIK there is no configuration in carbon.xml where we can get the LB
> host name and port.
>
> And for the second issue, It is a bug which we will fix in next alpha
> release. But to fix this, I think the same rule applies. It cannot be taken
> from carbon.xml because mgt host name does give any impression about the
> load balancer url. So it should be taken from cdm-config.xml.
>
> Thanks
> Geeth
>
>
> *G. K. S. Munasinghe*
> *Senior Software Engineer,*
> *WSO2, Inc. http://wso2.com <http://wso2.com/> *
> *lean.enterprise.middleware.*
>
> email: ge...@wso2.com
> phone:(+94) 777911226
>
> On Mon, Nov 23, 2015 at 6:51 PM, Chamara Ariyarathne <chama...@wso2.com>
> wrote:
>
>> We have a major design culprit with this situation now with the hostname
>> not getting picked up from carbon.xml. First reported jira is this
>> https://wso2.org/jira/browse/EMM-900
>>
>> Today we found out that even when the Host Names are configured in the
>> carbonl.xml to be server's identified domain name, the QR code which is
>> generated while device registration, uses the host ip address which is
>> picked up from nowhere.
>> https://wso2.org/jira/browse/EMM-987
>>
>> This issue will break the clustering scenarios where we need to define
>> host names in carbon.xml but EMM not picking them up properly.
>>
>> On Tue, Nov 17, 2015 at 3:18 PM, Chamara Ariyarathne <chama...@wso2.com>
>> wrote:
>>
>>> Hi Azeez,
>>>
>>> Agree with that. However the precedence should be to use the HostName
>>> value in the carbon.xml which is ultimately the deployment's exposed host
>>> name, hence the constructed url in the email would be the correct access
>>> url from outside.
>>>
>>> My argument is, this url shouldn't be kept in some other configuration
>>> file repeatedly.
>>>
>>> Thanks.
>>>
>>> On Wed, Nov 11, 2015 at 7:04 PM, Afkham Azeez <az...@wso2.com> wrote:
>>>
>>>> This is for information purposes only. The mail says the URL we send to
>>>> the users in the email contains local host. May be you can get the IP
>>>> address/host from the incoming request and use that.
>>>>
>>>> On Wed, Nov 11, 2015 at 3:59 AM, Geeth Munasinghe <ge...@wso2.com>
>>>> wrote:
>>>>
>>>>> Hi Azeez,
>>>>>
>>>>> In case of URL rewrite by LB, can we handle that by the proxy settings
>>>>> on catalina-server.xml ?
>>>>>
>>>>> Thanks
>>>>> Geeth
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> *G. K. S. Munasinghe*
>>>>> *Senior Software Engineer,*
>>>>> *WSO2, Inc. http://wso2.com <http://wso2.com/> *
>>>>> *lean.enterprise.middleware.*
>>>>>
>>>>> email: ge...@wso2.com
>>>>> phone:(+94) 777911226
>>>>>
>>>>> On Wed, Nov 11, 2015 at 2:10 PM, Afkham Azeez <az...@wso2.com> wrote:
>>>>>
>>>>>> proxy host name
>>>>>>
>>>>>> On Wed, Nov 11, 2015 at 12:28

Re: [Dev] [EMM] Doubt on Server Url to be taken from carbon.xml HostName value or some other configuration.

2015-11-17 Thread Chamara Ariyarathne
Hi Azeez,

Agree with that. However the precedence should be to use the HostName value
in the carbon.xml which is ultimately the deployment's exposed host name,
hence the constructed url in the email would be the correct access url from
outside.

My argument is, this url shouldn't be kept in some other configuration file
repeatedly.

Thanks.

On Wed, Nov 11, 2015 at 7:04 PM, Afkham Azeez <az...@wso2.com> wrote:

> This is for information purposes only. The mail says the URL we send to
> the users in the email contains local host. May be you can get the IP
> address/host from the incoming request and use that.
>
> On Wed, Nov 11, 2015 at 3:59 AM, Geeth Munasinghe <ge...@wso2.com> wrote:
>
>> Hi Azeez,
>>
>> In case of URL rewrite by LB, can we handle that by the proxy settings on
>> catalina-server.xml ?
>>
>> Thanks
>> Geeth
>>
>>
>>
>>
>>
>>
>> *G. K. S. Munasinghe*
>> *Senior Software Engineer,*
>> *WSO2, Inc. http://wso2.com <http://wso2.com/> *
>> *lean.enterprise.middleware.*
>>
>> email: ge...@wso2.com
>> phone:(+94) 777911226
>>
>> On Wed, Nov 11, 2015 at 2:10 PM, Afkham Azeez <az...@wso2.com> wrote:
>>
>>> proxy host name
>>>
>>> On Wed, Nov 11, 2015 at 12:28 AM, Chamara Ariyarathne <chama...@wso2.com
>>> > wrote:
>>>
>>>> Hi All,
>>>>
>>>> When a new user is added to EMM, the user will be notified with an
>>>> email to subscribe a device to MDM domain. The email contains the server
>>>> url to be accessed from the device.
>>>>
>>>> https://localhost:9443/mdm/enrollment
>>>>
>>>> In a usual deployment when a EMM cluster is fronted by a LB, this url
>>>> should be changed to the particular gateway host of the deployment. Now a
>>>> doubt arose whether to create this url by taking the value in HostName
>>>> element in carbon.xml or somewhere else.
>>>>
>>>> So the real doubt here is what is the correct way to configure the
>>>> HostName attribute in the carbon.xml in a carbon server. Is it going to be
>>>> the LB host's url which the deployment is exposed with or is it some local
>>>> host name internal to the deployment?
>>>>
>>>> --
>>>> *Chamara Ariyarathne*
>>>> Associate Technical Lead - QA
>>>> WSO2 Inc; http://www.wso2.com/
>>>> Mobile; *+94772786766 <%2B94772786766>*
>>>>
>>>
>>>
>>>
>>> --
>>> *Afkham Azeez*
>>> Director of Architecture; WSO2, Inc.; http://wso2.com
>>> Member; Apache Software Foundation; http://www.apache.org/
>>> * <http://www.apache.org/>*
>>> *email: **az...@wso2.com* <az...@wso2.com>
>>> * cell: +94 77 3320919 <%2B94%2077%203320919>blog: *
>>> *http://blog.afkham.org* <http://blog.afkham.org>
>>> *twitter: **http://twitter.com/afkham_azeez*
>>> <http://twitter.com/afkham_azeez>
>>> *linked-in: **http://lk.linkedin.com/in/afkhamazeez
>>> <http://lk.linkedin.com/in/afkhamazeez>*
>>>
>>> *Lean . Enterprise . Middleware*
>>>
>>
>>
>
>
> --
> *Afkham Azeez*
> Director of Architecture; WSO2, Inc.; http://wso2.com
> Member; Apache Software Foundation; http://www.apache.org/
> * <http://www.apache.org/>*
> *email: **az...@wso2.com* <az...@wso2.com>
> * cell: +94 77 3320919 <%2B94%2077%203320919>blog: *
> *http://blog.afkham.org* <http://blog.afkham.org>
> *twitter: **http://twitter.com/afkham_azeez*
> <http://twitter.com/afkham_azeez>
> *linked-in: **http://lk.linkedin.com/in/afkhamazeez
> <http://lk.linkedin.com/in/afkhamazeez>*
>
> *Lean . Enterprise . Middleware*
>



-- 
*Chamara Ariyarathne*
Associate Technical Lead - QA
WSO2 Inc; http://www.wso2.com/
Mobile; *+94772786766*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] "400 text : Bad Request" When trying to provision a previously deleted user from Sales force

2015-11-17 Thread Chamara Ariyarathne
On Wed, Nov 18, 2015 at 11:40 AM, Gayan Gunawardana <ga...@wso2.com> wrote:

> $subject regarding reported jira [a]
>
> Use Case : Configure Sales force as Outbound provisioning connector. In
> resident Identity Provider select Sales force configured IDP for Outbound
> Provisioning Configuration. When users are added through management console
> or SCIM users will be provisioned to Sales force while adding to Identity
> Server.
>
> Special Case : With above configuration add a user to identity server
> (from management console). User will be added to Identity Server as well as
> Sales force.
> Delete the user from management console now user will be deleted from
> Identity Server and in Sales force user will be marked as Inactive. Up to
> now this is expected behavior.
> Once we try to add, deleted user again user will be added to Identity
> Server but Sales force provisioning will be failed. Sales force
> provisioning connector receive "400 Bad request" response from sales force
> side. Basically if we try to provision a user with same name as previously
> provisioned inactive user sales force send "400 Bad request" back to client
> without activating inactive user or without creating new user.
>
> Possible Resolution:
>
> 1. Provisioning create user should be modified to check if user previously
> provisioned do user active operation and if not do a user create operation.
> There is a negative impact of by doing so because different users may have
> same username.
>

This sounds more like a good approach. What is the possibility of different
user having same username? Is it happening as in different domains?

>
> 2. Restrict adding previously deleted users when Outbound Provisioning is
> configured.
>

This may turn out to be a limitation in Identity Server.

>
> Also do we need to abort user adding process when Outbound Provisioning is
> failed ?
>
> WDYT ?
>
> [a] https://wso2.org/jira/browse/IDENTITY-4074
> --
> Gayan Gunawardana
> Software Engineer; WSO2 Inc.; http://wso2.com/
> Email: ga...@wso2.com
> Mobile: +94 (71) 8020933
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
*Chamara Ariyarathne*
Associate Technical Lead - QA
WSO2 Inc; http://www.wso2.com/
Mobile; *+94772786766*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [EMM] Doubt on Server Url to be taken from carbon.xml HostName value or some other configuration.

2015-11-11 Thread Chamara Ariyarathne
Hi All,

When a new user is added to EMM, the user will be notified with an email to
subscribe a device to MDM domain. The email contains the server url to be
accessed from the device.

https://localhost:9443/mdm/enrollment

In a usual deployment when a EMM cluster is fronted by a LB, this url
should be changed to the particular gateway host of the deployment. Now a
doubt arose whether to create this url by taking the value in HostName
element in carbon.xml or somewhere else.

So the real doubt here is what is the correct way to configure the HostName
attribute in the carbon.xml in a carbon server. Is it going to be the LB
host's url which the deployment is exposed with or is it some local host
name internal to the deployment?

-- 
*Chamara Ariyarathne*
Associate Technical Lead - QA
WSO2 Inc; http://www.wso2.com/
Mobile; *+94772786766*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2EMM 2.0.0 Milestone 8 Released

2015-10-29 Thread Chamara Ariyarathne
Hi all,

Can we get a new pack to continue testing?

Thanks.

On Mon, Oct 26, 2015 at 6:51 PM, Prabath Abeysekera <praba...@wso2.com>
wrote:

> Thanks for the update. EMM team will have an urgent look at all reported
> bugs and revert with a resolution.
>
> Cheers,
> Prabath
>
> On Mon, Oct 26, 2015 at 6:41 PM, Chathurika De Silva <chathuri...@wso2.com
> > wrote:
>
>> Hi
>>
>> As of today EOD we have total number of 13 blockers [1] raised and these
>> have affected the following scenarios
>>
>> 1. Unable to use MSSQL, Oracle, Mysql or PostgresSQL
>> 2. Unable to change default username and role
>> 3. Unable to self enrol device
>> 4. Unable to apply policies for QR enrolled devices since all requests
>> are in pending state
>> 5. Unable to unregister the device and re-register.
>>
>> Considering the above factors effective testing of the EMM cannot be
>> done. A solution is highly appreciated.
>>
>> [1] https://wso2.org/jira/browse/EMM-880?filter=12478
>>
>> Thank You
>> Erandi
>>
>> On Mon, Oct 26, 2015 at 6:36 PM, Chathurika De Silva <
>> chathuri...@wso2.com> wrote:
>>
>>> Hi
>>>
>>> As of today EOD we have total number of 13 blockers [1] raised and these
>>> have affected the following scenarios
>>>
>>> 1. Unable to use MSSQL, Oracle, Mysql or PostgresSQL
>>> 2. Unable to change default username and role
>>> 3. Unable to self enrol device
>>> 4. Unable to apply policies for QR enrolled devices since all requests
>>> are in pending state
>>> 5. Unable to unregister the device and re-register.
>>>
>>> Considering the above factors effective testing of the EMM cannot be
>>> done. A solution is highly appreciated.
>>>
>>> [1] https://wso2.org/jira/browse/EMM-880?filter=12478
>>>
>>> Thank You
>>> Erandi
>>>
>>>
>>>
>>>
>>> On Mon, Oct 26, 2015 at 2:12 PM, Geeth Munasinghe <ge...@wso2.com>
>>> wrote:
>>>
>>>> Hi all,
>>>>
>>>> We are pleased to announce that WSO2EMM 2.0.0 Milestone 8 is released.
>>>>
>>>> This release includes the following features and improvements.
>>>>
>>>>1. Adding users and sending email invitations.  (admin ui)
>>>>2. Adding roles (admin ui)
>>>>3. View device details (Admin ui)
>>>>4. Android device management
>>>>   1. Device Enrollment
>>>>   2. Executing device operations (Admin ui & Android Agent)
>>>>5. Windows
>>>>   1. Device Enrollment
>>>>   2. Executing device operations (Admin ui & Windows native agent)
>>>>6. Operations
>>>>   1. Add operations to device  (Admin ui)
>>>>7. Policy
>>>>   1. Add policy (Admin ui)
>>>>   2. Edit policy (Admin ui)
>>>>   3. Change priorities (Admin ui)
>>>>   4. Change management (When a policy changed, related devices
>>>>   should be notified to apply new changes)
>>>>   5. Monitoring the device to check whether applied policy is
>>>>   violated or not.
>>>>
>>>>
>>>> References
>>>>
>>>> Product  can be downloaded from [1].
>>>> [1] https://svn.wso2.org/repos/wso2/people/prabatha/MDM/2.0.0-M8/
>>>>
>>>> Thanks
>>>> Geeth
>>>>
>>>>
>>>>
>>>>
>>>> *G. K. S. Munasinghe*
>>>> *Senior Software Engineer,*
>>>> *WSO2, Inc. http://wso2.com <http://wso2.com/> *
>>>> *lean.enterprise.middleware.*
>>>>
>>>> email: ge...@wso2.com
>>>> phone:(+94) 777911226
>>>>
>>>
>>>
>>>
>>> --
>>> *Chathurika Erandi*
>>> Software Engineer,
>>> WSO2 Inc.
>>>
>>> *E-mail:* chathuri...@wso2.com
>>> *Mobile: *+94714 328 612
>>> *Blog*: chathurikaerandi.blogspot.com
>>>
>>
>>
>>
>> --
>> *Chathurika Erandi*
>> Software Engineer,
>> WSO2 Inc.
>>
>> *E-mail:* chathuri...@wso2.com
>> *Mobile: *+94714 328 612
>> *Blog*: chathurikaerandi.blogspot.com
>>
>
>
>
> --
> Prabath Abeysekara
> Technical Lead
> WSO2 Inc.
> Email: praba...@wso2.com
> Mobile: +94774171471
>



-- 
*Chamara Ariyarathne*
Associate Technical Lead - QA
WSO2 Inc; http://www.wso2.com/
Mobile; *+94772786766*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2EMM 2.0.0 Milestone 7 Released

2015-10-25 Thread Chamara Ariyarathne
Hi Prabath et al,

Any news on a new build that we can continue testing with?

Thanks.

On Fri, Oct 23, 2015 at 11:46 AM, Prabath Abeysekera <praba...@wso2.com>
wrote:

> Hi Chathurika,
>
> Yeah, the team is currently working on it. There was a few other issues
> too that have been uncovered in the M7 shared above. So, planning to host a
> new pack as M7 replacing what's already there, shortly. The initial plan
> was to be done with it yesterday itself, but couldn't get a proper build
> out of Jenkins due to some build issue that we ran into. Will keep you guys
> informed once this is all done.
>
> Cheers,
> Prabath
>
> On Fri, Oct 23, 2015 at 11:28 AM, Chathurika De Silva <
> chathuri...@wso2.com> wrote:
>
>> Hi
>>
>> As per our understanding the starting point of EMM which is device
>> enrolment happens in two ways
>>
>> 1. User addition
>> 2. Through QA code
>>
>> But both seem to be not working in the M7 pack. Please find the reported
>> jiras below. Is there a chance to get a new pack?
>>
>> [1] https://wso2.org/jira/browse/EMM-846
>> <https://www.google.com/url?q=https%3A%2F%2Fwso2.org%2Fjira%2Fbrowse%2FEMM-846=D=1=AFQjCNHuD7BYLRlWvVdEvAS-eydbKIusvw>
>> [2] https://wso2.org/jira/browse/EMM-845
>>
>> Thanks
>> Erandi
>>
>> On Wed, Oct 21, 2015 at 11:04 AM, Prabath Abeysekera <praba...@wso2.com>
>> wrote:
>>
>>> Guys,
>>>
>>> Please do report doc JIRAs (blockers) upon any missing pieces in the
>>> product documentation. That will help us keep track of things properly and
>>> fix them ASAP.
>>>
>>> Cheers,
>>> Prabath
>>>
>>> On Wed, Oct 21, 2015 at 10:41 AM, Shavindri Dissanayake <
>>> shavin...@wso2.com> wrote:
>>>
>>>> Hi Chamara and Sashika,
>>>>
>>>> We do have a guide to set up the database [1]. It has details on
>>>> setting up H2 [2] and MySQL [3]. Please do let me know if any areas in this
>>>> doc needs to updated accordingly.
>>>>
>>>> Thank you for the heads up!
>>>>
>>>> [1] https://docs.wso2.com/display/EMM200/Working+with+Databases
>>>> [2] https://docs.wso2.com/display/EMM200/Setting+up+H2
>>>> [3] https://docs.wso2.com/display/EMM200/Setting+up+MySQL
>>>>
>>>> Thanks & Regards
>>>> Shavindri Dissanayake
>>>> Technical Writer
>>>>
>>>> WSO2 Inc.
>>>> lean.enterprise.middleware
>>>>
>>>> On Wed, Oct 21, 2015 at 10:18 AM, Chamara Ariyarathne <
>>>> chama...@wso2.com> wrote:
>>>>
>>>>> Since there are several datasources to be configured, we need to have
>>>>> a guide on setting up databases for the product documentation.
>>>>>
>>>>> On Wed, Oct 21, 2015 at 10:09 AM, Sashika Wijesinghe <sash...@wso2.com
>>>>> > wrote:
>>>>>
>>>>>> Hi All,
>>>>>>
>>>>>> I observed FileNotFoundException when starting a fresh pack with
>>>>>> mysql database [1] . Further there is a naming issue in WSO2AM_DS
>>>>>> datasource, same jndi config name is used for WSO2AM_DB and WSO2AM_DS 
>>>>>> [2].
>>>>>>
>>>>>> I have reported JIRA for above issues.
>>>>>>
>>>>>> [1] https://wso2.org/jira/browse/EMM-822
>>>>>> [2] https://wso2.org/jira/browse/EMM-823
>>>>>>
>>>>>> Regards,
>>>>>> --
>>>>>>
>>>>>> *Sashika WijesingheSoftware Engineer - QA Team*
>>>>>> Mobile : +94 (0) 774537487
>>>>>> sash...@wso2.com
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> *Chamara Ariyarathne*
>>>>> Associate Technical Lead - QA
>>>>> WSO2 Inc; http://www.wso2.com/
>>>>> Mobile; *+94772786766 <%2B94772786766>*
>>>>>
>>>>
>>>>
>>>
>>>
>>> --
>>> Prabath Abeysekara
>>> Technical Lead
>>> WSO2 Inc.
>>> Email: praba...@wso2.com
>>> Mobile: +94774171471
>>>
>>
>>
>>
>> --
>> *Chathurika Erandi*
>> Software Engineer,
>> WSO2 Inc.
>>
>> *E-mail:* chathuri...@wso2.com
>> *Mobile: *+94714 328 612
>> *Blog*: chathurikaerandi.blogspot.com
>>
>
>
>
> --
> Prabath Abeysekara
> Technical Lead
> WSO2 Inc.
> Email: praba...@wso2.com
> Mobile: +94774171471
>



-- 
*Chamara Ariyarathne*
Associate Technical Lead - QA
WSO2 Inc; http://www.wso2.com/
Mobile; *+94772786766*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2EMM 2.0.0 Milestone 7 Released

2015-10-20 Thread Chamara Ariyarathne
Since there are several datasources to be configured, we need to have a
guide on setting up databases for the product documentation.

On Wed, Oct 21, 2015 at 10:09 AM, Sashika Wijesinghe <sash...@wso2.com>
wrote:

> Hi All,
>
> I observed FileNotFoundException when starting a fresh pack with mysql
> database [1] . Further there is a naming issue in WSO2AM_DS datasource,
> same jndi config name is used for WSO2AM_DB and WSO2AM_DS [2].
>
> I have reported JIRA for above issues.
>
> [1] https://wso2.org/jira/browse/EMM-822
> [2] https://wso2.org/jira/browse/EMM-823
>
> Regards,
> --
>
> *Sashika WijesingheSoftware Engineer - QA Team*
> Mobile : +94 (0) 774537487
> sash...@wso2.com
>



-- 
*Chamara Ariyarathne*
Associate Technical Lead - QA
WSO2 Inc; http://www.wso2.com/
Mobile; *+94772786766 <%2B94772786766>*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [Carbon] Mysql error- Specified key was too long; max key length is 767 bytes

2015-06-25 Thread Chamara Ariyarathne
I got this same error for apimanager table creation in following
environment.
mysql  Ver 14.14 Distrib 5.1.73, for redhat-linux-gnu (x86_64) using
readline 5.1

ERROR 1071 (42000): Specified key was too long; max key length is 767 bytes
ERROR 1146 (42S02): Table 'apimanager.IDN_OAUTH2_ACCESS_TOKEN' doesn't exist

What difference does it make when using character set latin1 ?

On Fri, Apr 17, 2015 at 10:32 AM, Vinod Kavinda vi...@wso2.com wrote:

 Hi Godwin,
 It worked. thanks a lot.

 Regards,
 Vinod

 On Fri, Apr 17, 2015 at 2:47 PM, Godwin Amila Shrimal god...@wso2.com
 wrote:

 Hi,

 Use latin1 character set.


 Thanks
 Godwin


 On Fri, Apr 17, 2015 at 2:40 PM, Vinod Kavinda vi...@wso2.com wrote:

 Hi,
 I'm getting the following error while trying to setup a mysql datastore,
 when running the dbscript located at
 'PRODUCT_HOME/dbscripts/mysql.sql'.
 Error - *ERROR 1071 (42000) at line 31: Specified key was too long; max
 key length is 767 bytes*

 I tried reducing the REG_PATH_VALUE length to 100(mysql.sql attached),
 with no luck.
 There is a similar issue[1] that has already resolved.

 mysql version - mysql  Ver 14.14 Distrib 5.6.22, for osx10.9 (x86_64)
 mysql command used - mysql -u root -p BAR  mysql.sql

 Any help is appreciated.

 [1] - https://wso2.org/jira/browse/CARBON-5917

 Regards,
 Vinod Kavinda

 --
 Vinod Kavinda
 Software Engineer, *WSO2, Inc http://www.wso2.com.*
 Mobile : +94 (0) 712 415544
 vi...@wso2.com

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




 --
 *Godwin Amila Shrimal*
 Senior Software Engineer
 WSO2 Inc.; http://wso2.com
 lean.enterprise.middleware

 mobile: *+94772264165*
 linkedin: *http://lnkd.in/KUum6D http://lnkd.in/KUum6D*
 twitter: https://twitter.com/godwinamila




 --
 Vinod Kavinda
 Software Engineer, *WSO2, Inc http://www.wso2.com.*
 Mobile : +94 (0) 712 415544
 vi...@wso2.com

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




-- 
*Chamara Ariyarathne*
Associate Technical Lead - Quality Assurance
WSO2 Inc; http://www.wso2.com/
Mobile; *+94772786766*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [Carbon] Mysql error- Specified key was too long; max key length is 767 bytes

2015-06-25 Thread Chamara Ariyarathne
For the script api-manager 1.9.0 apimgt/mysql.sql.

On Thu, Jun 25, 2015 at 1:02 PM, Chamara Ariyarathne chama...@wso2.com
wrote:

 I got this same error for apimanager table creation in following
 environment.
 mysql  Ver 14.14 Distrib 5.1.73, for redhat-linux-gnu (x86_64) using
 readline 5.1

 ERROR 1071 (42000): Specified key was too long; max key length is 767 bytes
 ERROR 1146 (42S02): Table 'apimanager.IDN_OAUTH2_ACCESS_TOKEN' doesn't
 exist

 What difference does it make when using character set latin1 ?

 On Fri, Apr 17, 2015 at 10:32 AM, Vinod Kavinda vi...@wso2.com wrote:

 Hi Godwin,
 It worked. thanks a lot.

 Regards,
 Vinod

 On Fri, Apr 17, 2015 at 2:47 PM, Godwin Amila Shrimal god...@wso2.com
 wrote:

 Hi,

 Use latin1 character set.


 Thanks
 Godwin


 On Fri, Apr 17, 2015 at 2:40 PM, Vinod Kavinda vi...@wso2.com wrote:

 Hi,
 I'm getting the following error while trying to setup a mysql
 datastore, when running the dbscript located at
 'PRODUCT_HOME/dbscripts/mysql.sql'.
 Error - *ERROR 1071 (42000) at line 31: Specified key was too long;
 max key length is 767 bytes*

 I tried reducing the REG_PATH_VALUE length to 100(mysql.sql attached),
 with no luck.
 There is a similar issue[1] that has already resolved.

 mysql version - mysql  Ver 14.14 Distrib 5.6.22, for osx10.9 (x86_64)
 mysql command used - mysql -u root -p BAR  mysql.sql

 Any help is appreciated.

 [1] - https://wso2.org/jira/browse/CARBON-5917

 Regards,
 Vinod Kavinda

 --
 Vinod Kavinda
 Software Engineer, *WSO2, Inc http://www.wso2.com.*
 Mobile : +94 (0) 712 415544
 vi...@wso2.com

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




 --
 *Godwin Amila Shrimal*
 Senior Software Engineer
 WSO2 Inc.; http://wso2.com
 lean.enterprise.middleware

 mobile: *+94772264165*
 linkedin: *http://lnkd.in/KUum6D http://lnkd.in/KUum6D*
 twitter: https://twitter.com/godwinamila




 --
 Vinod Kavinda
 Software Engineer, *WSO2, Inc http://www.wso2.com.*
 Mobile : +94 (0) 712 415544
 vi...@wso2.com

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




 --
 *Chamara Ariyarathne*
 Associate Technical Lead - Quality Assurance
 WSO2 Inc; http://www.wso2.com/
 Mobile; *+94772786766 %2B94772786766*




-- 
*Chamara Ariyarathne*
Associate Technical Lead - Quality Assurance
WSO2 Inc; http://www.wso2.com/
Mobile; *+94772786766*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [Carbon] Mysql error- Specified key was too long; max key length is 767 bytes

2015-06-25 Thread Chamara Ariyarathne
Fix is as following;

The reason for the above error is, there is some Latin1 incompatible
character in the following line, which is the *line 1008 of
APIM_HOME/repository/conf/claim-config.xml*

DescriptionEnd-User's birthday, represented as an ISO 8601:2004
*[ISO8601‑2004]* -MM-DD format. The year MAY be , indicating that
it is omitted. To represent only the year,  format is
allowed./Description

The character which seems like a hyphen in the *[ISO8601‑2004] *part is not
the normal hyphen (-) character.

When I replaced that char with the normal hyphen, I could start the server,
create an API, subscribe to the API and invoke it.

On Thu, Jun 25, 2015 at 3:29 PM, Chamara Ariyarathne chama...@wso2.com
wrote:

 This instrcution seems wrong. I cannot startup Identity server with a
 database created like this. I get the following exception trace;

 TID: [0] [IS] [2015-06-25 14:27:28,207] ERROR
 {org.wso2.carbon.user.core.util.DatabaseUtil} -  Database Error - Incorrect
 string value: '\xE2\x80\x91200...' for column 'UM_DESCRIPTION' at row 1
 {org.wso2.carbon.user.core.util.DatabaseUtil}
 java.sql.SQLException: Incorrect string value: '\xE2\x80\x91200...' for
 column 'UM_DESCRIPTION' at row 1
 at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1094)
 at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4226)
 at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4158)
 at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2615)
 at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2776)
 at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2840)
 at
 com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2082)
 at
 com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2334)
 at
 com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2262)
 at
 com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2246)
 at
 org.wso2.carbon.user.core.claim.dao.ClaimDAO.addClaimMapping(ClaimDAO.java:227)
 at
 org.wso2.carbon.user.core.claim.dao.ClaimDAO.addCliamMappings(ClaimDAO.java:140)
 at
 org.wso2.carbon.user.core.common.DefaultRealm.populateProfileAndClaimMaps(DefaultRealm.java:420)
 at
 org.wso2.carbon.user.core.common.DefaultRealm.init(DefaultRealm.java:101)
 at
 org.wso2.carbon.user.core.common.DefaultRealmService.initializeRealm(DefaultRealmService.java:223)
 at
 org.wso2.carbon.user.core.common.DefaultRealmService.init(DefaultRealmService.java:101)
 at
 org.wso2.carbon.user.core.common.DefaultRealmService.init(DefaultRealmService.java:114)
 at
 org.wso2.carbon.user.core.internal.Activator.startDeploy(Activator.java:69)
 at
 org.wso2.carbon.user.core.internal.BundleCheckActivator.start(BundleCheckActivator.java:61)
 at
 org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:711)
 at java.security.AccessController.doPrivileged(Native Method)
 at
 org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:702)
 at
 org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:683)
 at
 org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:381)
 at
 org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:390)
 at
 org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1176)
 at
 org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:559)
 at
 org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:544)
 at
 org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:457)
 at
 org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:243)
 at
 org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:438)
 at
 org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:1)
 at
 org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
 at
 org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)
 TID: [0] [IS] [2015-06-25 14:27:28,284] ERROR
 {org.wso2.carbon.user.core.common.DefaultRealmService} -  Cannot initialize
 the realm. {org.wso2.carbon.user.core.common.DefaultRealmService}
 org.wso2.carbon.user.core.UserStoreException: Database Error - Incorrect
 string value: '\xE2\x80\x91200...' for column 'UM_DESCRIPTION' at row 1
 at
 org.wso2.carbon.user.core.claim.dao.ClaimDAO.addClaimMapping(ClaimDAO.java:261)
 at
 org.wso2.carbon.user.core.claim.dao.ClaimDAO.addCliamMappings(ClaimDAO.java:140)
 at
 org.wso2.carbon.user.core.common.DefaultRealm.populateProfileAndClaimMaps(DefaultRealm.java:420)
 at
 org.wso2.carbon.user.core.common.DefaultRealm.init(DefaultRealm.java:101)
 at
 org.wso2.carbon.user.core.common.DefaultRealmService.initializeRealm(DefaultRealmService.java:223

Re: [Dev] [Carbon] Mysql error- Specified key was too long; max key length is 767 bytes

2015-06-25 Thread Chamara Ariyarathne
)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2776)
at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2840)
at
com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2082)
at
com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2334)
at
com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2262)
at
com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2246)
at
org.wso2.carbon.user.core.claim.dao.ClaimDAO.addClaimMapping(ClaimDAO.java:227)
... 23 more


On Thu, Jun 25, 2015 at 1:05 PM, Chamara Ariyarathne chama...@wso2.com
wrote:

 For the script api-manager 1.9.0 apimgt/mysql.sql.

 On Thu, Jun 25, 2015 at 1:02 PM, Chamara Ariyarathne chama...@wso2.com
 wrote:

 I got this same error for apimanager table creation in following
 environment.
 mysql  Ver 14.14 Distrib 5.1.73, for redhat-linux-gnu (x86_64) using
 readline 5.1

 ERROR 1071 (42000): Specified key was too long; max key length is 767
 bytes
 ERROR 1146 (42S02): Table 'apimanager.IDN_OAUTH2_ACCESS_TOKEN' doesn't
 exist

 What difference does it make when using character set latin1 ?

 On Fri, Apr 17, 2015 at 10:32 AM, Vinod Kavinda vi...@wso2.com wrote:

 Hi Godwin,
 It worked. thanks a lot.

 Regards,
 Vinod

 On Fri, Apr 17, 2015 at 2:47 PM, Godwin Amila Shrimal god...@wso2.com
 wrote:

 Hi,

 Use latin1 character set.


 Thanks
 Godwin


 On Fri, Apr 17, 2015 at 2:40 PM, Vinod Kavinda vi...@wso2.com wrote:

 Hi,
 I'm getting the following error while trying to setup a mysql
 datastore, when running the dbscript located at
 'PRODUCT_HOME/dbscripts/mysql.sql'.
 Error - *ERROR 1071 (42000) at line 31: Specified key was too long;
 max key length is 767 bytes*

 I tried reducing the REG_PATH_VALUE length to 100(mysql.sql attached),
 with no luck.
 There is a similar issue[1] that has already resolved.

 mysql version - mysql  Ver 14.14 Distrib 5.6.22, for osx10.9 (x86_64)
 mysql command used - mysql -u root -p BAR  mysql.sql

 Any help is appreciated.

 [1] - https://wso2.org/jira/browse/CARBON-5917

 Regards,
 Vinod Kavinda

 --
 Vinod Kavinda
 Software Engineer, *WSO2, Inc http://www.wso2.com.*
 Mobile : +94 (0) 712 415544
 vi...@wso2.com

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




 --
 *Godwin Amila Shrimal*
 Senior Software Engineer
 WSO2 Inc.; http://wso2.com
 lean.enterprise.middleware

 mobile: *+94772264165*
 linkedin: *http://lnkd.in/KUum6D http://lnkd.in/KUum6D*
 twitter: https://twitter.com/godwinamila




 --
 Vinod Kavinda
 Software Engineer, *WSO2, Inc http://www.wso2.com.*
 Mobile : +94 (0) 712 415544
 vi...@wso2.com

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




 --
 *Chamara Ariyarathne*
 Associate Technical Lead - Quality Assurance
 WSO2 Inc; http://www.wso2.com/
 Mobile; *+94772786766 %2B94772786766*




 --
 *Chamara Ariyarathne*
 Associate Technical Lead - Quality Assurance
 WSO2 Inc; http://www.wso2.com/
 Mobile; *+94772786766 %2B94772786766*




-- 
*Chamara Ariyarathne*
Associate Technical Lead - Quality Assurance
WSO2 Inc; http://www.wso2.com/
Mobile; *+94772786766*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] ERROR {org.wso2.carbon.caching.impl.CacheCleanupTask} in API-M Gateway Manager

2015-03-20 Thread Chamara Ariyarathne
Adding sewmini.

On Fri, Feb 14, 2014 at 1:04 PM, Chamara Ariyarathne chama...@wso2.com
wrote:

 This is a hazelcast issue. This get's fixed when hazelcast 3.1.2 is used.


 On Tue, Sep 17, 2013 at 10:29 AM, Nuwan Dias nuw...@wso2.com wrote:

 When does this occur?




 On Tue, Sep 17, 2013 at 10:27 AM, Chamara Ariyarathne chama...@wso2.com
 wrote:

 TID: [0] [AM] [2013-09-17 10:23:26,078] ERROR
 {org.wso2.carbon.caching.impl.CacheCleanupTask} -  Error occurred while
 running CacheCleanupTask {org.wso2.carbon.caching.impl.CacheCleanupTask}
 com.hazelcast.spi.exception.TargetNotMemberException: Not Member!
 target:Address[192.168.18.17]:4100, partitionId: 0, operation:
 com.hazelcast.map.operation.MapEntrySetOperation, service:
 hz:impl:mapService
  at
 com.hazelcast.spi.impl.InvocationImpl.doInvoke(InvocationImpl.java:141)
 at
 com.hazelcast.spi.impl.InvocationImpl.access$800(InvocationImpl.java:39)
  at
 com.hazelcast.spi.impl.InvocationImpl$InvocationFuture.waitForResponse(InvocationImpl.java:352)
 at
 com.hazelcast.spi.impl.InvocationImpl$InvocationFuture.get(InvocationImpl.java:291)
  at
 com.hazelcast.spi.impl.InvocationImpl$InvocationFuture.get(InvocationImpl.java:283)
 at
 com.hazelcast.spi.impl.OperationServiceImpl.invokeOnPartitions(OperationServiceImpl.java:495)
  at
 com.hazelcast.spi.impl.OperationServiceImpl.invokeOnAllPartitions(OperationServiceImpl.java:424)
 at
 com.hazelcast.map.proxy.MapProxySupport.entrySetInternal(MapProxySupport.java:564)
  at com.hazelcast.map.proxy.MapProxyImpl.entrySet(MapProxyImpl.java:410)
 at
 org.wso2.carbon.core.clustering.hazelcast.HazelcastDistributedMapProvider$DistMap.entrySet(HazelcastDistributedMapProvider.java:167)
  at
 org.wso2.carbon.caching.impl.CacheImpl.syncCaches(CacheImpl.java:230)
 at
 org.wso2.carbon.caching.impl.CacheCleanupTask.run(CacheCleanupTask.java:61)
  at
 java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
 at
 java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:351)
  at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:178)
 at
 java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178)
  at
 java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
 at
 java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
  at
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
 at java.lang.Thread.run(Thread.java:722)


 --
 *Chamara Ariyarathne*
 Senior Software Engineer - QA;
 WSO2 Inc; http://www.wso2.com/.
 Mobile; *+94772786766 %2B94772786766*

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




 --
 Nuwan Dias

 Senior Software Engineer - WSO2, Inc. http://wso2.com
 email : nuw...@wso2.com
 Phone : +94 777 775 729




 --
 *Chamara Ariyarathne*
 Senior Software Engineer - QA;
 WSO2 Inc; http://www.wso2.com/.
 Mobile; *+94772786766 %2B94772786766*




-- 
*Chamara Ariyarathne*
Senior Software Engineer
WSO2 Inc; http://www.wso2.com/.
Mobile; *+94772786766*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] ESB 4.8.0 Worker/ Manager setup - Observed ERROR {org.wso2.carbon.caching.impl.CacheCleanupTask} - Error occurred while running CacheCleanupTask {org.wso2.carbon.caching.impl.CacheCleanupTa

2015-03-20 Thread Chamara Ariyarathne
,
  partitionId=0, replicaIndex=0, tryCount=250, tryPauseMillis=500,
  invokeCount=1, callTimeout=6, target=Address[10.10.10.234]:4300},
  done=false}
  at
 com.hazelcast.spi.impl.InvocationImpl$InvocationFuture.waitForResponse(InvocationImpl.java:376)
  at
 com.hazelcast.spi.impl.InvocationImpl$InvocationFuture.get(InvocationImpl.java:291)
  at
 com.hazelcast.spi.impl.InvocationImpl$InvocationFuture.get(InvocationImpl.java:283)
  at
 com.hazelcast.spi.impl.OperationServiceImpl.invokeOnPartitions(OperationServiceImpl.java:495)
  at
 com.hazelcast.spi.impl.OperationServiceImpl.invokeOnAllPartitions(OperationServiceImpl.java:424)
  at
 com.hazelcast.map.proxy.MapProxySupport.entrySetInternal(MapProxySupport.java:564)
  at com.hazelcast.map.proxy.MapProxyImpl.entrySet(MapProxyImpl.java:410)
  at
 org.wso2.carbon.core.clustering.hazelcast.HazelcastDistributedMapProvider$DistMap.entrySet(HazelcastDistributedMapProvider.java:167)
  at org.wso2.carbon.caching.impl.CacheImpl.syncCaches(CacheImpl.java:236)
  at
 org.wso2.carbon.caching.impl.CacheCleanupTask.run(CacheCleanupTask.java:61)
  at
 java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
  at
 java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:351)
  at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:178)
  at
 java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178)
  at
 java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
  at
 java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
  at
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
  at java.lang.Thread.run(Thread.java:722)
  at -- End remote and begin local stack-trace --.(Unknown Source)
  at
 com.hazelcast.spi.impl.InvocationImpl$InvocationFuture.resolveResponse(InvocationImpl.java:405)
  at
 com.hazelcast.spi.impl.InvocationImpl$InvocationFuture.get(InvocationImpl.java:291)
  at
 com.hazelcast.spi.impl.InvocationImpl$InvocationFuture.get(InvocationImpl.java:283)
  at
 com.hazelcast.spi.impl.OperationServiceImpl.invokeOnPartitions(OperationServiceImpl.java:495)
  at
 com.hazelcast.spi.impl.OperationServiceImpl.invokeOnAllPartitions(OperationServiceImpl.java:424)
  at
 com.hazelcast.map.proxy.MapProxySupport.entrySetInternal(MapProxySupport.java:564)
  at com.hazelcast.map.proxy.MapProxyImpl.entrySet(MapProxyImpl.java:410)
  at
 org.wso2.carbon.core.clustering.hazelcast.HazelcastDistributedMapProvider$DistMap.entrySet(HazelcastDistributedMapProvider.java:167)
  at org.wso2.carbon.caching.impl.CacheImpl.syncCaches(CacheImpl.java:236)
  at
 org.wso2.carbon.caching.impl.CacheCleanupTask.run(CacheCleanupTask.java:61)
  at
 java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
  at
 java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:351)
  at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:178)
  at
 java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178)
  at
 java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
  at
 java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
  at
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
  at java.lang.Thread.run(Thread.java:722)
  TID: [0] [ESB] [2013-11-20 16:40:13,129]  INFO
  {org.wso2.carbon.core.clustering.hazelcast.wka.WKABasedMembershipScheme}
  -  Member left [85a591eb-ab2d-48eb-9c41-8c3f8563ea26]:
  /10.10.10.234:4300
  {org.wso2.carbon.core.clustering.hazelcast.wka.WKABasedMembershipScheme}
 
  Thanks,
  Shashika
 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




-- 
*Chamara Ariyarathne*
Senior Software Engineer
WSO2 Inc; http://www.wso2.com/.
Mobile; *+94772786766*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] API Manager 1.8.0 pack 20-10-2014

2014-10-22 Thread Chamara Ariyarathne
So are we recommending the users to use mysql only above 5.6.5 ?

On Wed, Oct 22, 2014 at 9:50 AM, Uvindra Dias Jayasinha uvin...@wso2.com
wrote:

 The change to the script was introduced via the resolution of this ticket,

 https://wso2.org/jira/browse/APIMANAGER-2536

 This issue is MySQL version dependent and does not occur on version 5.6.5
 and above. Most probably this was tested on a newer version of MySQL during
 development and therefore did not cause any issues.

 On 22 October 2014 09:41, Uvindra Dias Jayasinha uvin...@wso2.com wrote:

 I am looking into this, the script has been changed recently

 On 22 October 2014 07:53, Yasassri Ratnayake yasas...@wso2.com wrote:

 Hi All,

 There seems to be an Syntax error in the mysql DB scripts(apim scripts),
 and due to this some of the tables do not get created. I have reported this
 at [1]. Since this is a blocking issue pls provide a fix ASAP.

 When the server is started with -Dsetup parameter the server doesn't
 even throw an error indicating that the DB scripts haven't executed
 properly.  Isn't this another concern?

 [1] - https://wso2.org/jira/browse/APIMANAGER-2981
 --
 Yasassri Ratnayake
 Software Engineer - QA
 WSO2 Inc ; http://wso2.com
 lean.enterprise.middleware
 *Mobile : +94715933168 %2B94715933168*
 *Blog : http://yasassriratnayake.blogspot.com/
 http://yasassriratnayake.blogspot.com/*




 --
 Regards,
 Uvindra

 Mobile: 33962




 --
 Regards,
 Uvindra

 Mobile: 33962




-- 
*Chamara Ariyarathne*
Senior Software Engineer
WSO2 Inc; http://www.wso2.com/.
Mobile; *+94772786766*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [ESB][Nexus] Build fail - synapse-core-tests:jar:2.1.2-wso2v4 not found in nexus repo ?

2014-08-07 Thread Chamara Ariyarathne
This is the method I'm using.

public static org.apache.synapse.MessageContext
getTestContext(java.lang.String bodyText, java.util.Map props) throws
java.lang.Exception;


On Thu, Aug 7, 2014 at 11:32 PM, Ishara Premadasa ish...@wso2.com wrote:

 Hi Shameera,

 I tried with the synapse-core dependency only at first. However there is
 this TestUtils class which is required to Junit test class for custom
 mediator that is not coming from synapse-core.

 @Chamara,
 Can you please clarify here on this TestUtils class?

 Thanks!
 Ishara


 On Thu, Aug 7, 2014 at 1:44 PM, Shameera Rathnayaka shame...@wso2.com
 wrote:

 Even though jar name is synapse-core-test its artifactId is synapse-core
 , try with

 dependency
 groupIdorg.apache.synapse/groupId
 artifactIdsynapse-core/artifactId
 version2.1.2-wso2v4/version
  /dependency

 ~Shameera.


 On Thu, Aug 7, 2014 at 9:58 PM, Ishara Premadasa ish...@wso2.com wrote:

 Hi all,

 I get the following build error when trying to check out remote ESB
 mediator project and trying to build it online. Since there are test cases
 created for the class mediators, it is required to add synapse-core-tests
 dependency into the pom.xml and use that in the test cases. Below is the
 dependency and my maven repository entry.

 dependency
 groupIdorg.apache.synapse/groupId
 artifactIdsynapse-core-tests/artifactId
 version2.1.2-wso2v4/version
  /dependency
 repository
 releases
 enabledtrue/enabled
 updatePolicydaily/updatePolicy
 checksumPolicyignore/checksumPolicy
 /releases
 idwso2-nexus/id
 urlhttp://maven.wso2.org/nexus/content/groups/wso2-public/
 /url
 /repository

 Caused by: org.eclipse.aether.transfer.ArtifactNotFoundException:
 Failure to find org.apache.synapse:synapse-core-tests:jar:2.1.2-wso2v4 in
 http://maven.wso2.org/nexus/content/groups/ws
 o2-public/ was cached in the local repository, resolution will not be
 reattempted until the update interval of wso2-nexus has elapsed or updates
 are forced
 at
 org.eclipse.aether.internal.impl.DefaultUpdateCheckManager.newException(DefaultUpdateCheckManager.java:232)
 at
 org.eclipse.aether.internal.impl.DefaultUpdateCheckManager.checkArtifact(DefaultUpdateCheckManager.java:206)
 at
 org.eclipse.aether.internal.impl.DefaultArtifactResolver.gatherDownloads(DefaultArtifactResolver.java:599)
 at
 org.eclipse.aether.internal.impl.DefaultArtifactResolver.performDownloads(DefaultArtifactResolver.java:518)
 at
 org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:436)
 ... 26 more
 [ERROR]
 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
 [ERROR]

 This says unable to find
 org.apache.synapse:synapse-core-tests:jar:2.1.2-wso2v4 jar but if you
 traverse this can be located in neus-repo [1].
 Any help is appreciated.

 [1]
 http://maven.wso2.org/nexus/content/groups/wso2-public/org/apache/synapse/synapse-core/2.1.2-wso2v4/

 Thanks!
 Ishara
 --
 Ishara Premasada
 Software Engineer,
 WSO2 Inc. http://wso2.com/


 *Blog   :  http://isharapremadasa.blogspot.com/
 http://isharapremadasa.blogspot.com/Twitter   :
 https://twitter.com/ishadil https://twitter.com/ishadil Mobile   :
 +94 714445832 %2B94%20714445832*





 --
 *Software Engineer - WSO2 Inc.*
 *email: shameera AT wso2.com shame...@wso2.com , shameera AT apache.org
 shame...@apache.org*
 *phone:  +9471 922 1454 %2B9471%20922%201454*

 *Linked in : *http://lk.linkedin.com/pub/shameera-rathnayaka/1a/661/561
 *Twitter : *https://twitter.com/Shameera_R




 --
 Ishara Premasada
 Software Engineer,
 WSO2 Inc. http://wso2.com/


 *Blog   :  http://isharapremadasa.blogspot.com/
 http://isharapremadasa.blogspot.com/Twitter   :
 https://twitter.com/ishadil https://twitter.com/ishadil Mobile   :
 +94 714445832 %2B94%20714445832*





-- 
*Chamara Ariyarathne*
Senior Software Engineer - QA;
WSO2 Inc; http://www.wso2.com/.
Mobile; *+94772786766*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Platform Trunk build failure

2014-06-23 Thread Chamara Ariyarathne
:1012)
at
org.eclipse.aether.connector.wagon.WagonRepositoryConnector$6.wrap(WagonRepositoryConnector.java:1004)
at
org.eclipse.aether.connector.wagon.WagonRepositoryConnector$GetTask.run(WagonRepositoryConnector.java:725)
at
org.eclipse.aether.util.concurrency.RunnableErrorForwarder$1.run(RunnableErrorForwarder.java:67)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
at java.lang.Thread.run(Thread.java:662)
[ERROR]
[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
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the
command
[ERROR]   mvn goals -rf :andes


-- 
*Chamara Ariyarathne*
Senior Software Engineer - QA;
WSO2 Inc; http://www.wso2.com/.
Mobile; *+94772786766*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Carbon-dev] Appserver starbucks sample pom doesn't work

2014-06-13 Thread Chamara Ariyarathne
Why do we have build.xml and pom.xml both here?

mvn clean install doesn't work here.

chamara@chamaradell:~/as/5.2.1/wso2as-5.2.1/samples/Jaxws-Jaxrs/jaxrs_starbucks_service$
ant
Buildfile:
/home/chamara/as/5.2.1/wso2as-5.2.1/samples/Jaxws-Jaxrs/jaxrs_starbucks_service/build.xml

clean:
   [delete] Deleting directory
/home/chamara/as/5.2.1/wso2as-5.2.1/samples/Jaxws-Jaxrs/jaxrs_starbucks_service/build

init:
[mkdir] Created dir:
/home/chamara/as/5.2.1/wso2as-5.2.1/samples/Jaxws-Jaxrs/jaxrs_starbucks_service/build
[mkdir] Created dir:
/home/chamara/as/5.2.1/wso2as-5.2.1/samples/Jaxws-Jaxrs/jaxrs_starbucks_service/build/classes
[mkdir] Created dir:
/home/chamara/as/5.2.1/wso2as-5.2.1/samples/Jaxws-Jaxrs/jaxrs_starbucks_service/build/webapps
[mkdir] Created dir:
/home/chamara/as/5.2.1/wso2as-5.2.1/samples/Jaxws-Jaxrs/jaxrs_starbucks_service/build/lib
 [copy] Copying 39 files to
/home/chamara/as/5.2.1/wso2as-5.2.1/samples/Jaxws-Jaxrs/jaxrs_starbucks_service/build/lib

compile:
[javac]
/home/chamara/as/5.2.1/wso2as-5.2.1/samples/Jaxws-Jaxrs/jaxrs_starbucks_service/build.xml:51:
warning: 'includeantruntime' was not set, defaulting to
build.sysclasspath=last; set to false for repeatable builds
[javac] Compiling 8 source files to
/home/chamara/as/5.2.1/wso2as-5.2.1/samples/Jaxws-Jaxrs/jaxrs_starbucks_service/build/classes

war:
 [echo] Creating webapp jaxrs_starbucks_service.war.
 [copy] Copying 1 file to
/home/chamara/as/5.2.1/wso2as-5.2.1/samples/Jaxws-Jaxrs/jaxrs_starbucks_service/build/classes/demo/jaxrs/client
 [copy] Copying 1 file to
/home/chamara/as/5.2.1/wso2as-5.2.1/samples/Jaxws-Jaxrs/jaxrs_starbucks_service/build/classes/demo/jaxrs/client
 [copy] Copying 1 file to
/home/chamara/as/5.2.1/wso2as-5.2.1/samples/Jaxws-Jaxrs/jaxrs_starbucks_service/build/classes/demo/jaxrs/client
  [war] Building war:
/home/chamara/as/5.2.1/wso2as-5.2.1/samples/Jaxws-Jaxrs/jaxrs_starbucks_service/build/webapps/jaxrs_starbucks_service.war

build-all:
 [echo] Copying the created war file in to the deployment directory
 [copy] Copying 1 file to
/home/chamara/as/5.2.1/wso2as-5.2.1/repository/deployment/server/webapps

BUILD SUCCESSFUL
Total time: 0 seconds
chamara@chamaradell:~/as/5.2.1/wso2as-5.2.1/samples/Jaxws-Jaxrs/jaxrs_starbucks_service$
mvn clean install
[INFO] Scanning for projects...
Downloading:
http://repo.maven.apache.org/maven2/org/wso2/appserver/wso2appserver-samples-parent/5.2.1/wso2appserver-samples-parent-5.2.1.pom
[ERROR] The build could not read 1 project - [Help 1]
[ERROR]
[ERROR]   The project org.wso2.appserver:jaxrs_starbucks_service:5.2.1
(/home/chamara/as/5.2.1/wso2as-5.2.1/samples/Jaxws-Jaxrs/jaxrs_starbucks_service/pom.xml)
has 1 error
[ERROR] Non-resolvable parent POM for
org.wso2.appserver:wso2appserver-samples:5.2.1: Could not find artifact
org.wso2.appserver:wso2appserver-samples-parent:pom:5.2.1 in central (
http://repo.maven.apache.org/maven2) and 'parent.relativePath' points at
wrong local POM @ org.wso2.appserver:wso2appserver-samples:5.2.1,
/home/chamara/as/5.2.1/wso2as-5.2.1/samples/pom.xml, line 21, column 13 -
[Help 2]
[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/ProjectBuildingException
[ERROR] [Help 2]
http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException
chamara@chamaradell
:~/as/5.2.1/wso2as-5.2.1/samples/Jaxws-Jaxrs/jaxrs_starbucks_service$


-- 
*Chamara Ariyarathne*
Senior Software Engineer - QA;
WSO2 Inc; http://www.wso2.com/.
Mobile; *+94772786766*
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


[Dev] Fwd: Appserver starbucks sample pom doesn't work

2014-06-13 Thread Chamara Ariyarathne
-- Forwarded message --
From: Chamara Ariyarathne chama...@wso2.com
Date: Fri, Jun 13, 2014 at 11:28 AM
Subject: Appserver starbucks sample pom doesn't work
To: carbon-dev carbon-...@wso2.org


Why do we have build.xml and pom.xml both here?

mvn clean install doesn't work here.

chamara@chamaradell:~/as/5.2.1/wso2as-5.2.1/samples/Jaxws-Jaxrs/jaxrs_starbucks_service$
ant
Buildfile:
/home/chamara/as/5.2.1/wso2as-5.2.1/samples/Jaxws-Jaxrs/jaxrs_starbucks_service/build.xml

clean:
   [delete] Deleting directory
/home/chamara/as/5.2.1/wso2as-5.2.1/samples/Jaxws-Jaxrs/jaxrs_starbucks_service/build

init:
[mkdir] Created dir:
/home/chamara/as/5.2.1/wso2as-5.2.1/samples/Jaxws-Jaxrs/jaxrs_starbucks_service/build
[mkdir] Created dir:
/home/chamara/as/5.2.1/wso2as-5.2.1/samples/Jaxws-Jaxrs/jaxrs_starbucks_service/build/classes
[mkdir] Created dir:
/home/chamara/as/5.2.1/wso2as-5.2.1/samples/Jaxws-Jaxrs/jaxrs_starbucks_service/build/webapps
[mkdir] Created dir:
/home/chamara/as/5.2.1/wso2as-5.2.1/samples/Jaxws-Jaxrs/jaxrs_starbucks_service/build/lib
 [copy] Copying 39 files to
/home/chamara/as/5.2.1/wso2as-5.2.1/samples/Jaxws-Jaxrs/jaxrs_starbucks_service/build/lib

compile:
[javac]
/home/chamara/as/5.2.1/wso2as-5.2.1/samples/Jaxws-Jaxrs/jaxrs_starbucks_service/build.xml:51:
warning: 'includeantruntime' was not set, defaulting to
build.sysclasspath=last; set to false for repeatable builds
[javac] Compiling 8 source files to
/home/chamara/as/5.2.1/wso2as-5.2.1/samples/Jaxws-Jaxrs/jaxrs_starbucks_service/build/classes

war:
 [echo] Creating webapp jaxrs_starbucks_service.war.
 [copy] Copying 1 file to
/home/chamara/as/5.2.1/wso2as-5.2.1/samples/Jaxws-Jaxrs/jaxrs_starbucks_service/build/classes/demo/jaxrs/client
 [copy] Copying 1 file to
/home/chamara/as/5.2.1/wso2as-5.2.1/samples/Jaxws-Jaxrs/jaxrs_starbucks_service/build/classes/demo/jaxrs/client
 [copy] Copying 1 file to
/home/chamara/as/5.2.1/wso2as-5.2.1/samples/Jaxws-Jaxrs/jaxrs_starbucks_service/build/classes/demo/jaxrs/client
  [war] Building war:
/home/chamara/as/5.2.1/wso2as-5.2.1/samples/Jaxws-Jaxrs/jaxrs_starbucks_service/build/webapps/jaxrs_starbucks_service.war

build-all:
 [echo] Copying the created war file in to the deployment directory
 [copy] Copying 1 file to
/home/chamara/as/5.2.1/wso2as-5.2.1/repository/deployment/server/webapps

BUILD SUCCESSFUL
Total time: 0 seconds
chamara@chamaradell:~/as/5.2.1/wso2as-5.2.1/samples/Jaxws-Jaxrs/jaxrs_starbucks_service$
mvn clean install
[INFO] Scanning for projects...
Downloading:
http://repo.maven.apache.org/maven2/org/wso2/appserver/wso2appserver-samples-parent/5.2.1/wso2appserver-samples-parent-5.2.1.pom
[ERROR] The build could not read 1 project - [Help 1]
[ERROR]
[ERROR]   The project org.wso2.appserver:jaxrs_starbucks_service:5.2.1
(/home/chamara/as/5.2.1/wso2as-5.2.1/samples/Jaxws-Jaxrs/jaxrs_starbucks_service/pom.xml)
has 1 error
[ERROR] Non-resolvable parent POM for
org.wso2.appserver:wso2appserver-samples:5.2.1: Could not find artifact
org.wso2.appserver:wso2appserver-samples-parent:pom:5.2.1 in central (
http://repo.maven.apache.org/maven2) and 'parent.relativePath' points at
wrong local POM @ org.wso2.appserver:wso2appserver-samples:5.2.1,
/home/chamara/as/5.2.1/wso2as-5.2.1/samples/pom.xml, line 21, column 13 -
[Help 2]
[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/ProjectBuildingException
[ERROR] [Help 2]
http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException
chamara@chamaradell
:~/as/5.2.1/wso2as-5.2.1/samples/Jaxws-Jaxrs/jaxrs_starbucks_service$


-- 
*Chamara Ariyarathne*
Senior Software Engineer - QA;
WSO2 Inc; http://www.wso2.com/.
Mobile; *+94772786766 %2B94772786766*



-- 
*Chamara Ariyarathne*
Senior Software Engineer - QA;
WSO2 Inc; http://www.wso2.com/.
Mobile; *+94772786766*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] PostgreSQL Connection error when starting up API Manager 1.6.0

2014-05-22 Thread Chamara Ariyarathne



 Thanks,
 Bhathiya




 On Tue, May 20, 2014 at 7:50 AM, Chamara Ariyarathne 
 chama...@wso2.comwrote:

 Has anyone seen this error before with a WSO2 product? I'm getting this
 connection error when API Manager is configured to use a postgresql
 database.

 [2014-05-20 17:14:36,796] FATAL - DatabaseCreator Failed to create
 database tables for registry resource store. FATAL: no pg_hba.conf entry
 for host 10.100.1.90, user chamara, database am160carbon, SSL off
 org.postgresql.util.PSQLException: FATAL: no pg_hba.conf entry for host
 10.100.1.90, user chamara, database am160carbon, SSL off
 at
 org.postgresql.core.v3.ConnectionFactoryImpl.doAuthentication(ConnectionFactoryImpl.java:289)
  at
 org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:106)
 at
 org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:64)
  at
 org.postgresql.jdbc2.AbstractJdbc2Connection.init(AbstractJdbc2Connection.java:123)
 at
 org.postgresql.jdbc3.AbstractJdbc3Connection.init(AbstractJdbc3Connection.java:28)
  at
 org.postgresql.jdbc3g.AbstractJdbc3gConnection.init(AbstractJdbc3gConnection.java:19)
 at
 org.postgresql.jdbc4.AbstractJdbc4Connection.init(AbstractJdbc4Connection.java:28)
  at org.postgresql.jdbc4.Jdbc4Connection.init(Jdbc4Connection.java:22)
 at org.postgresql.Driver.makeConnection(Driver.java:391)
  at org.postgresql.Driver.connect(Driver.java:265)
 at
 org.apache.tomcat.jdbc.pool.PooledConnection.connectUsingDriver(PooledConnection.java:278)
  at
 org.apache.tomcat.jdbc.pool.PooledConnection.connect(PooledConnection.java:182)
 at
 org.apache.tomcat.jdbc.pool.ConnectionPool.createConnection(ConnectionPool.java:701)
  at
 org.apache.tomcat.jdbc.pool.ConnectionPool.borrowConnection(ConnectionPool.java:635)
 at
 org.apache.tomcat.jdbc.pool.ConnectionPool.getConnection(ConnectionPool.java:188)
  at
 org.apache.tomcat.jdbc.pool.DataSourceProxy.getConnection(DataSourceProxy.java:128)
 at
 org.wso2.carbon.utils.dbcreator.DatabaseCreator.createRegistryDatabase(DatabaseCreator.java:58)
  at
 org.wso2.carbon.user.core.common.DefaultRealmService.initializeDatabase(DefaultRealmService.java:278)
 at
 org.wso2.carbon.user.core.common.DefaultRealmService.init(DefaultRealmService.java:90)
  at
 org.wso2.carbon.user.core.common.DefaultRealmService.init(DefaultRealmService.java:114)
 at
 org.wso2.carbon.user.core.internal.Activator.startDeploy(Activator.java:69)
  at
 org.wso2.carbon.user.core.internal.BundleCheckActivator.start(BundleCheckActivator.java:61)
 at
 org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:711)
  at java.security.AccessController.doPrivileged(Native Method)
 at
 org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:702)
  at
 org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:683)
 at
 org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:381)
  at
 org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:390)
 at
 org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1176)
  at
 org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:559)
 at
 org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:544)
  at
 org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:457)
 at
 org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:243)
  at
 org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:438)
 at
 org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:1)
  at
 org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
 at
 org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)
 [2014-05-20 17:14:36,797] ERROR - Activator Cannot start User Manager
 Core bundle
 java.lang.Exception: Error in creating the database
 at
 org.wso2.carbon.user.core.common.DefaultRealmService.initializeDatabase(DefaultRealmService.java:285)
  at
 org.wso2.carbon.user.core.common.DefaultRealmService.init(DefaultRealmService.java:90)
 at
 org.wso2.carbon.user.core.common.DefaultRealmService.init(DefaultRealmService.java:114)
  at
 org.wso2.carbon.user.core.internal.Activator.startDeploy(Activator.java:69)
 at
 org.wso2.carbon.user.core.internal.BundleCheckActivator.start(BundleCheckActivator.java:61)
  at
 org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:711)
 at java.security.AccessController.doPrivileged(Native Method)
  at
 org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:702)
 at
 org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:683

Re: [Dev] Getting an Exception when Start ELB in Autoscale Mode Enabled

2014-05-22 Thread Chamara Ariyarathne
What I heard from IsuruU is that this ELB 2.1.1 version is a bug fix
version, which includes, some fixed patches. So my argument is, the
previously worked configurations should work absolutely well in the new
setup too. Then why is there an exception asking a new element?

Has there been any change after the autoscaling patch fixes?


On Thu, May 22, 2014 at 5:00 PM, Isuru Haththotuwa isu...@wso2.com wrote:

 I too had a look at the configs. As Chaminda has stated in the mail, the
 className element is already there in the cloud-controller.xml. But, still
 the ELB logs that its not specified, when the cartridge definition file is
 getting deployed. This is strange.


 On Thu, May 22, 2014 at 4:48 PM, Chaminda Jayawardena 
 chami...@wso2.comwrote:

 I am going to set up *single ELB(2.1.1) and two AS(5.2.1) EC2 instances *for
 testing autoscaling on ELB; it's getting and error when it starts the ELB
 in *autoscale is enabled mode*. Please see the exception below.

 2014-05-22 11:06:21,319] ERROR - AxiomXpathParser Essential 'className'
 element has not specified in
 /home/ubuntu/software/temp/wso2elb-2.1.1/repository/deployment/server/cartridges/appserver_wso2.xml
 [2014-05-22 11:06:21,320] ERROR - CartridgeDeployer Invalid deployment
 artefact at
 /home/ubuntu/software/temp/wso2elb-2.1.1/repository/deployment/server/cartridges/appserver_wso2.xml
 org.wso2.carbon.stratos.cloud.controller.exception.MalformedConfigurationFileException:
 Essential 'className' element has not specified in
 /home/ubuntu/software/temp/wso2elb-2.1.1/repository/deployment/server/cartridges/appserver_wso2.xml
  at
 org.wso2.carbon.stratos.cloud.controller.axiom.AxiomXpathParser.handleException(AxiomXpathParser.java:660)
 at
 org.wso2.carbon.stratos.cloud.controller.axiom.AxiomXpathParser.loadClassName(AxiomXpathParser.java:689)
  at
 org.wso2.carbon.stratos.cloud.controller.axiom.AxiomXpathParser.getIaasProvider(AxiomXpathParser.java:409)
 ...
 ..
 ..
 ..
 The *ClassName* attribute has already been specified under *iaasProvider
 in the cloud-controller.xml*(  ../repository/conf/cloud-controller.xml)

 iaasProvider type=ec2 name=ec2 specific details

 classNameorg.wso2.carbon.stratos.cloud.controller.iaases.AWSEC2Iaas/className

 *All the configurations have been made according to previously worked
 environment(for ELB 2.1.0) provided by Chamara...*

 Please help on this.

 --
 Thanks  Regards

 *Chaminda Jayawardena*
 Senior Software Engineer - QA
 WSO2 Inc. - http://wso2.com
 +94-77-7725234




 --
 Thanks and Regards,

 Isuru H.
 +94 716 358 048* http://wso2.com/*





-- 
*Chamara Ariyarathne*
Senior Software Engineer - QA;
WSO2 Inc; http://www.wso2.com/.
Mobile; *+94772786766*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] API Manager - 2.0.0 nightly build packs 28-02-2014

2014-03-05 Thread Chamara Ariyarathne
Can we start the testing for the release with this pack? Or is there a new
build? Please let us know.


On Fri, Feb 28, 2014 at 9:23 PM, Lakmali Baminiwatta lakm...@wso2.comwrote:

 Hi,

 Please find $Subject in [1]

 [1]http://builder1.us1.wso2.org/~apim/28-02-2014/wso2am-2.0.0.zip

 Thanks,
 Lakmali
 --
 Lakmali Baminiwatta
  Software Engineer
 WSO2, Inc.: http://wso2.com
 lean.enterprise.middleware
 mobile:  +94 71 2335936
 blog : lakmali.com


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




-- 
*Chamara Ariyarathne*
Senior Software Engineer - QA;
WSO2 Inc; http://www.wso2.com/.
Mobile; *+94772786766*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] API-Manager - Clarification on OAuth new application feature

2014-02-24 Thread Chamara Ariyarathne
You have to follow this documentation written on the OAuth feature in
Identity Server product.
That way you'll be able to derive more scenarios.

http://docs.wso2.org/display/IS460/OAuth+2.0+Playground+with+WSO2+Identity+Server




On Mon, Feb 24, 2014 at 1:57 PM, Asanthi Kulasinghe asan...@wso2.comwrote:

 Hi,

 Can I know the scenarios supported by 'Main - Manage - OAuth - Register
 new application' feature (screen shot attached) of API-Manager?
 What is the difference between these applications and the applications
 created using the store?

 Regards
 Asanthi

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




-- 
*Chamara Ariyarathne*
Senior Software Engineer - QA;
WSO2 Inc; http://www.wso2.com/.
Mobile; *+94772786766*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] QA Test Plan for BAM v2.4.1

2014-02-20 Thread Chamara Ariyarathne
Hi Anjana,

As we discussed in the meeting, the Toolbox synchronization feature
requirement was not so clear. I have added a comment to that feature.
Please check and update what really need to happen with that feature.

Thanks.


On Thu, Feb 20, 2014 at 4:51 PM, Thayalan thaya...@wso2.com wrote:

 Hi All,

 Please refer the BAM v2.4.1 test plan[1] which is reviewed with BAM
 Development team. If any additional area/functionalities to be considered
 as part of testing please do let us know.

 Initially focus will be given to the new functionalities considered for
 this release.

 1. 
 BAM-2.4.1-TestPlanhttps://docs.google.com/a/wso2.com/spreadsheet/ccc?key=0AoNp5NttUhORdHhSTVB6cXFhc3RmeHpRNEtWUF9DakEusp=drive_web#gid=0

 --
  Regards,
 Thayalan Sivapaleswararajah
 Associate Technical Lead - QA
 Mob: +94(0)777872485
 Tel : +94(0)(11)2145345
 Fax : +94(0)(11)2145300
 Email: thaya...@wso2.com


 *Disclaimer*: *This communication may contain privileged or other
 confidential information and is intended exclusively for the addressee/s.
 If you are not the intended recipient/s, or believe that you may have
 received this communication in error, please reply to the sender indicating
 that fact and delete the copy you received and in addition, you should not
 print, copy, retransmit, disseminate, or otherwise use the information
 contained in this communication. Internet communications cannot be
 guaranteed to be timely, secure, error or virus-free. The sender does not
 accept liability for any errors or omissions.*




-- 
*Chamara Ariyarathne*
Senior Software Engineer - QA;
WSO2 Inc; http://www.wso2.com/.
Mobile; *+94772786766*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Build fails for turing chunk-05

2014-02-19 Thread Chamara Ariyarathne
 was 13
at org.wso2.maven.p2.ProfileGenMojo.installFeatures(ProfileGenMojo.java:222)
 at org.wso2.maven.p2.ProfileGenMojo.execute(ProfileGenMojo.java:170)
... 21 more
[ERROR]
[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/MojoExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the
command
[ERROR]   mvn goals -rf :wso2-bps-profile-gen


-- 
*Chamara Ariyarathne*
Senior Software Engineer - QA;
WSO2 Inc; http://www.wso2.com/.
Mobile; *+94772786766*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Why can't I build the turing chunk-01 now?

2014-02-18 Thread Chamara Ariyarathne
 not be resolved:
org.wso2.carbon:org.wso2.carbon.identity.application.authenticator.oidc:jar:4.2.0,
org.wso2.carbon:org.wso2.carbon.identity.application.authentication.framework:jar:4.2.2,
org.apache.amber.wso2:amber:jar:0.22.1358727.wso2v4: Failure to find
org.wso2.carbon:org.wso2.carbon.identity.application.authenticator.oidc:jar:4.2.0
in http://maven.wso2.org/nexus/content/groups/wso2-public/ was cached in
the local repository, resolution will not be reattempted until the update
interval of wso2-nexus has elapsed or updates are forced
 at
org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:538)
at
org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:216)
 at
org.sonatype.aether.impl.internal.DefaultRepositorySystem.resolveDependencies(DefaultRepositorySystem.java:358)
... 24 more
Caused by: org.sonatype.aether.transfer.ArtifactNotFoundException: Failure
to find
org.wso2.carbon:org.wso2.carbon.identity.application.authenticator.oidc:jar:4.2.0
in http://maven.wso2.org/nexus/content/groups/wso2-public/ was cached in
the local repository, resolution will not be reattempted until the update
interval of wso2-nexus has elapsed or updates are forced
 at
org.sonatype.aether.impl.internal.DefaultUpdateCheckManager.newException(DefaultUpdateCheckManager.java:230)
at
org.sonatype.aether.impl.internal.DefaultUpdateCheckManager.checkArtifact(DefaultUpdateCheckManager.java:204)
 at
org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:427)
... 26 more
[ERROR]
[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
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the
command
[ERROR]   mvn goals -rf
:org.wso2.carbon.identity.application.authenticator.oidc.server.feature


-- 
*Chamara Ariyarathne*
Senior Software Engineer - QA;
WSO2 Inc; http://www.wso2.com/.
Mobile; *+94772786766*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] ERROR {org.wso2.carbon.caching.impl.CacheCleanupTask} in API-M Gateway Manager

2014-02-13 Thread Chamara Ariyarathne
This is a hazelcast issue. This get's fixed when hazelcast 3.1.2 is used.


On Tue, Sep 17, 2013 at 10:29 AM, Nuwan Dias nuw...@wso2.com wrote:

 When does this occur?




 On Tue, Sep 17, 2013 at 10:27 AM, Chamara Ariyarathne 
 chama...@wso2.comwrote:

 TID: [0] [AM] [2013-09-17 10:23:26,078] ERROR
 {org.wso2.carbon.caching.impl.CacheCleanupTask} -  Error occurred while
 running CacheCleanupTask {org.wso2.carbon.caching.impl.CacheCleanupTask}
 com.hazelcast.spi.exception.TargetNotMemberException: Not Member!
 target:Address[192.168.18.17]:4100, partitionId: 0, operation:
 com.hazelcast.map.operation.MapEntrySetOperation, service:
 hz:impl:mapService
  at
 com.hazelcast.spi.impl.InvocationImpl.doInvoke(InvocationImpl.java:141)
 at
 com.hazelcast.spi.impl.InvocationImpl.access$800(InvocationImpl.java:39)
  at
 com.hazelcast.spi.impl.InvocationImpl$InvocationFuture.waitForResponse(InvocationImpl.java:352)
 at
 com.hazelcast.spi.impl.InvocationImpl$InvocationFuture.get(InvocationImpl.java:291)
  at
 com.hazelcast.spi.impl.InvocationImpl$InvocationFuture.get(InvocationImpl.java:283)
 at
 com.hazelcast.spi.impl.OperationServiceImpl.invokeOnPartitions(OperationServiceImpl.java:495)
  at
 com.hazelcast.spi.impl.OperationServiceImpl.invokeOnAllPartitions(OperationServiceImpl.java:424)
 at
 com.hazelcast.map.proxy.MapProxySupport.entrySetInternal(MapProxySupport.java:564)
  at com.hazelcast.map.proxy.MapProxyImpl.entrySet(MapProxyImpl.java:410)
 at
 org.wso2.carbon.core.clustering.hazelcast.HazelcastDistributedMapProvider$DistMap.entrySet(HazelcastDistributedMapProvider.java:167)
  at org.wso2.carbon.caching.impl.CacheImpl.syncCaches(CacheImpl.java:230)
 at
 org.wso2.carbon.caching.impl.CacheCleanupTask.run(CacheCleanupTask.java:61)
  at
 java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
 at
 java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:351)
  at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:178)
 at
 java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178)
  at
 java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
 at
 java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
  at
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
 at java.lang.Thread.run(Thread.java:722)


 --
 *Chamara Ariyarathne*
 Senior Software Engineer - QA;
 WSO2 Inc; http://www.wso2.com/.
 Mobile; *+94772786766 %2B94772786766*

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




 --
 Nuwan Dias

 Senior Software Engineer - WSO2, Inc. http://wso2.com
 email : nuw...@wso2.com
 Phone : +94 777 775 729




-- 
*Chamara Ariyarathne*
Senior Software Engineer - QA;
WSO2 Inc; http://www.wso2.com/.
Mobile; *+94772786766*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] SAML2 IdP with SimpleSAMLphp Service Provider probably doesn't work

2014-01-16 Thread Chamara Ariyarathne
Finally found out what's going on.. When accessing the url
http://localhost/simplesaml

Apache2 access.log:
127.0.0.1 - - [16/Jan/2014:16:55:06 +0530] GET
/simplesaml/module.php/core/frontpage_welcome.php HTTP/1.1 500 342 -
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko)
Chrome/32.0.1700.77 Safari/537.36

Apache2 error.log:
[Thu Jan 16 16:55:07.015299 2014] [:error] [pid 12261] [client
127.0.0.1:46482] PHP Fatal error:  Call to undefined function json_decode()
in /var/simplesamlphp/simplesamlphp/lib/SimpleSAML/XHTML/Template.php on
line 499


On Thu, Jan 16, 2014 at 3:09 PM, Chamara Ariyarathne chama...@wso2.comwrote:

 Also note that

 # apache2 -version
 Server version: Apache/2.4.6 (Ubuntu)
 Server built:   Dec  5 2013 18:32:22

 # php5 --version
 PHP 5.5.3-1ubuntu2.1 (cli) (built: Dec 12 2013 04:24:35)
 Copyright (c) 1997-2013 The PHP Group
 Zend Engine v2.5.0, Copyright (c) 1998-2013 Zend Technologies
 with Zend OPcache v7.0.3-dev, Copyright (c) 1999-2013, by Zend
 Technologies

 Ubuntu 13.10


 On Thu, Jan 16, 2014 at 2:38 PM, Chamara Ariyarathne chama...@wso2.comwrote:

 This now gives me another issue. the
 file /var/simplesamlphp/simplesamlphp/modules/core/www/frontpage_welcome.php
 exists and attached here.
 It gives a blank screen, as in the attached screenshot.

 Also tried with the app rc1 hosted here
 https://code.google.com/p/simplesamlphp/downloads/list
 and that too gave the same.

 (refering the blog post
 http://blog.facilelogin.com/2013/06/wso2-identity-server-saml2-idp-with.html
 )


 On Tue, Jan 14, 2014 at 9:42 AM, Dulanja Liyanage dula...@wso2.comwrote:

 Hi Chamara,

 I have tested this using simplesamlphp-1.11.0. There should be
 configuration or some other issue in your setup.

 Could you please confirm whether this php file exists:
 /var/simplesamlphp/simplesamlphp/modules/core/www/frontpage_welcome.php

 Thanks
 Dulanja


 On Mon, Jan 13, 2014 at 5:00 PM, Chamara Ariyarathne 
 chama...@wso2.comwrote:

 I have tried doing the $subject referring the doc link

 http://docs.wso2.org/display/IS460/SAML2+IdP+with+SimpleSAMLphp+Service+Provider

 It seems the php app does not contain any pages.
 As described, I have tried accessing the url
 http://localhost/simplesaml

 and it redirected me to
 http://localhost/simplesaml/module.php/core/frontpage_welcome.php
 which is nothing but a blank page.

 Pleasse have a look.

 --
 *Chamara Ariyarathne*
 Senior Software Engineer - QA;
 WSO2 Inc; http://www.wso2.com/.
 Mobile; *+94772786766 %2B94772786766*

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




 --
 Dulanja Liyanage
 Senior Software Engineer - WSO2 Inc.
 M: +94776764717




 --
 *Chamara Ariyarathne*
 Senior Software Engineer - QA;
 WSO2 Inc; http://www.wso2.com/.
 Mobile; *+94772786766 %2B94772786766*




 --
 *Chamara Ariyarathne*
 Senior Software Engineer - QA;
 WSO2 Inc; http://www.wso2.com/.
 Mobile; *+94772786766 %2B94772786766*




-- 
*Chamara Ariyarathne*
Senior Software Engineer - QA;
WSO2 Inc; http://www.wso2.com/.
Mobile; *+94772786766*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] SAML2 IdP with SimpleSAMLphp Service Provider probably doesn't work

2014-01-16 Thread Chamara Ariyarathne
Thanks, That solves it..

I guess the docs need to be updated here as well.

http://docs.wso2.org/display/IS460/SAML2+IdP+with+SimpleSAMLphp+Service+Provider


On Thu, Jan 16, 2014 at 8:28 PM, Dulanja Liyanage dula...@wso2.com wrote:

 Please try installing php5-json [1]:

 sudo apt-get install php5-json

 [1]
 http://stackoverflow.com/questions/18239405/php-fatal-error-call-to-undefined-function-json-decode


 On Thu, Jan 16, 2014 at 4:57 PM, Chamara Ariyarathne chama...@wso2.comwrote:

 Finally found out what's going on.. When accessing the url
 http://localhost/simplesaml

 Apache2 access.log:
 127.0.0.1 - - [16/Jan/2014:16:55:06 +0530] GET
 /simplesaml/module.php/core/frontpage_welcome.php HTTP/1.1 500 342 -
 Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko)
 Chrome/32.0.1700.77 Safari/537.36

 Apache2 error.log:
 [Thu Jan 16 16:55:07.015299 2014] [:error] [pid 12261] [client
 127.0.0.1:46482] PHP Fatal error:  Call to undefined function
 json_decode() in
 /var/simplesamlphp/simplesamlphp/lib/SimpleSAML/XHTML/Template.php on line
 499


 On Thu, Jan 16, 2014 at 3:09 PM, Chamara Ariyarathne 
 chama...@wso2.comwrote:

 Also note that

 # apache2 -version
 Server version: Apache/2.4.6 (Ubuntu)
 Server built:   Dec  5 2013 18:32:22

 # php5 --version
 PHP 5.5.3-1ubuntu2.1 (cli) (built: Dec 12 2013 04:24:35)
 Copyright (c) 1997-2013 The PHP Group
 Zend Engine v2.5.0, Copyright (c) 1998-2013 Zend Technologies
 with Zend OPcache v7.0.3-dev, Copyright (c) 1999-2013, by Zend
 Technologies

 Ubuntu 13.10


 On Thu, Jan 16, 2014 at 2:38 PM, Chamara Ariyarathne 
 chama...@wso2.comwrote:

 This now gives me another issue. the
 file 
 /var/simplesamlphp/simplesamlphp/modules/core/www/frontpage_welcome.php
 exists and attached here.
 It gives a blank screen, as in the attached screenshot.

 Also tried with the app rc1 hosted here
 https://code.google.com/p/simplesamlphp/downloads/list
 and that too gave the same.

 (refering the blog post
 http://blog.facilelogin.com/2013/06/wso2-identity-server-saml2-idp-with.html
 )


 On Tue, Jan 14, 2014 at 9:42 AM, Dulanja Liyanage dula...@wso2.comwrote:

 Hi Chamara,

 I have tested this using simplesamlphp-1.11.0. There should be
 configuration or some other issue in your setup.

 Could you please confirm whether this php file exists:
 /var/simplesamlphp/simplesamlphp/modules/core/www/frontpage_welcome.php

 Thanks
 Dulanja


 On Mon, Jan 13, 2014 at 5:00 PM, Chamara Ariyarathne 
 chama...@wso2.com wrote:

 I have tried doing the $subject referring the doc link

 http://docs.wso2.org/display/IS460/SAML2+IdP+with+SimpleSAMLphp+Service+Provider

 It seems the php app does not contain any pages.
 As described, I have tried accessing the url
 http://localhost/simplesaml

 and it redirected me to
 http://localhost/simplesaml/module.php/core/frontpage_welcome.php
 which is nothing but a blank page.

 Pleasse have a look.

 --
 *Chamara Ariyarathne*
 Senior Software Engineer - QA;
 WSO2 Inc; http://www.wso2.com/.
 Mobile; *+94772786766 %2B94772786766*

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




 --
 Dulanja Liyanage
 Senior Software Engineer - WSO2 Inc.
 M: +94776764717




 --
 *Chamara Ariyarathne*
 Senior Software Engineer - QA;
 WSO2 Inc; http://www.wso2.com/.
 Mobile; *+94772786766 %2B94772786766*




 --
 *Chamara Ariyarathne*
 Senior Software Engineer - QA;
 WSO2 Inc; http://www.wso2.com/.
 Mobile; *+94772786766 %2B94772786766*




 --
 *Chamara Ariyarathne*
 Senior Software Engineer - QA;
 WSO2 Inc; http://www.wso2.com/.
 Mobile; *+94772786766 %2B94772786766*




 --
 Dulanja Liyanage
 Senior Software Engineer - WSO2 Inc.
 M: +94776764717




-- 
*Chamara Ariyarathne*
Senior Software Engineer - QA;
WSO2 Inc; http://www.wso2.com/.
Mobile; *+94772786766*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] SAML2 IdP with SimpleSAMLphp Service Provider probably doesn't work

2014-01-13 Thread Chamara Ariyarathne
I have tried doing the $subject referring the doc link
http://docs.wso2.org/display/IS460/SAML2+IdP+with+SimpleSAMLphp+Service+Provider

It seems the php app does not contain any pages.
As described, I have tried accessing the url http://localhost/simplesaml

and it redirected me to
http://localhost/simplesaml/module.php/core/frontpage_welcome.php
which is nothing but a blank page.

Pleasse have a look.

-- 
*Chamara Ariyarathne*
Senior Software Engineer - QA;
WSO2 Inc; http://www.wso2.com/.
Mobile; *+94772786766*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Callout mediator with REST backend

2014-01-08 Thread Chamara Ariyarathne
Hi all,

Today I tried to use the callout mediator with a REST Backend.

The proxy is;

?xml version=1.0 encoding=UTF-8?
proxy xmlns=http://ws.apache.org/ns/synapse;
   name=jaxrsProxy
   transports=https,http
   statistics=disable
   trace=disable
   startOnLoad=true
   target
  inSequence
 log level=full
property name=MSG value=PROXY IN/
 /log
 callout serviceURL=
http://10.100.1.90:9764/jaxrs_basic/services/customers/customerservice/customers

source type=envelope/
 /callout
 log level=full
property name=MSG value=RESPONSE/
 /log
 property name=RESPONSE value=true/
 header name=To action=remove/
 send/
 drop/
  /inSequence
   /target
   description/
/proxy

The request to the proxy is:

curl -v -X POST -H Content-Type: text/xml -d @customer.xml
http://chamaradell:8280/services/jaxrsProxy

with customer.xml as:

Customer
   nameJack/name
/Customer

And the result in the client side is:

* Adding handle: conn: 0x1860f20
* Adding handle: send: 0
* Adding handle: recv: 0
* Curl_addHandleToPipeline: length: 1
* - Conn 0 (0x1860f20) send_pipe: 1, recv_pipe: 0
* About to connect() to chamaradell port 8280 (#0)
*   Trying 127.0.1.1...
* Connected to chamaradell (127.0.1.1) port 8280 (#0)
 POST /services/jaxrsProxy HTTP/1.1
 User-Agent: curl/7.32.0
 Host: chamaradell:8280
 Accept: */*
 Content-Type: text/xml
 Content-Length: 41

* upload completely sent off: 41 out of 41 bytes
 HTTP/1.1 200 OK
 Host: chamaradell:8280
 Content-Type: text/xml
 Accept: */*
 Date: Wed, 08 Jan 2014 12:58:49 GMT
* Server WSO2-PassThrough-HTTP is not blacklisted
 Server: WSO2-PassThrough-HTTP
 Transfer-Encoding: chunked

* Connection #0 to host chamaradell left intact
text xmlns=http://ws.apache.org/commons/ns/payload;JAXBException
occurred : unexpected element (uri:
http://schemas.xmlsoap.org/soap/envelope/;, local:Envelope). Expected
elements are lt;{}Customergt;. unexpected element (uri:
http://schemas.xmlsoap.org/soap/envelope/;, local:Envelope). Expected
elements are lt;{}Customergt;. /text

with the wire log in ESB as:

[2014-01-08 18:28:49,074] DEBUG - wire  POST /services/jaxrsProxy
HTTP/1.1[\r][\n]
[2014-01-08 18:28:49,074] DEBUG - wire  User-Agent: curl/7.32.0[\r][\n]
[2014-01-08 18:28:49,074] DEBUG - wire  Host: chamaradell:8280[\r][\n]
[2014-01-08 18:28:49,074] DEBUG - wire  Accept: */*[\r][\n]
[2014-01-08 18:28:49,074] DEBUG - wire  Content-Type: text/xml[\r][\n]
[2014-01-08 18:28:49,074] DEBUG - wire  Content-Length: 41[\r][\n]
[2014-01-08 18:28:49,074] DEBUG - wire  [\r][\n]
[2014-01-08 18:28:49,074] DEBUG - wire  Customer
nameJack/name/Customer
[2014-01-08 18:28:49,076]  INFO - LogMediator To: /services/jaxrsProxy,
MessageID: urn:uuid:79ad4f4e-0de4-45b9-8a0a-e2c00aed785c, Direction:
request, MSG = PROXY IN, Envelope: ?xml version=1.0
encoding=utf-8?soapenv:Envelope xmlns:soapenv=
http://schemas.xmlsoap.org/soap/envelope/;soapenv:BodyCustomer
nameJack/name/Customer/soapenv:Body/soapenv:Envelope
[2014-01-08 18:28:49,081]  INFO - LogMediator To: /services/jaxrsProxy,
MessageID: urn:uuid:79ad4f4e-0de4-45b9-8a0a-e2c00aed785c, Direction:
request, MSG = RESPONSE, Envelope: ?xml version=1.0
encoding=utf-8?soapenv:Envelope xmlns:soapenv=
http://schemas.xmlsoap.org/soap/envelope/;soapenv:Bodytext xmlns=
http://ws.apache.org/commons/ns/payload;JAXBException occurred :
unexpected element (uri:http://schemas.xmlsoap.org/soap/envelope/;,
local:Envelope). Expected elements are lt;{}Customergt;. unexpected
element (uri:http://schemas.xmlsoap.org/soap/envelope/;,
local:Envelope). Expected elements are lt;{}Customergt;.
/text/soapenv:Body/soapenv:Envelope
[2014-01-08 18:28:49,082] DEBUG - wire  HTTP/1.1 200 OK[\r][\n]
[2014-01-08 18:28:49,082] DEBUG - wire  Host: chamaradell:8280[\r][\n]
[2014-01-08 18:28:49,082] DEBUG - wire  Content-Type: text/xml[\r][\n]
[2014-01-08 18:28:49,082] DEBUG - wire  Accept: */*[\r][\n]
[2014-01-08 18:28:49,082] DEBUG - wire  Date: Wed, 08 Jan 2014 12:58:49
GMT[\r][\n]
[2014-01-08 18:28:49,082] DEBUG - wire  Server:
WSO2-PassThrough-HTTP[\r][\n]
[2014-01-08 18:28:49,083] DEBUG - wire  Transfer-Encoding:
chunked[\r][\n]
[2014-01-08 18:28:49,083] DEBUG - wire  [\r][\n]
[2014-01-08 18:28:49,083] DEBUG - wire  15a[\r][\n]
[2014-01-08 18:28:49,083] DEBUG - wire  text xmlns=
http://ws.apache.org/commons/ns/payload;JAXBException occurred :
unexpected element (uri:http://schemas.xmlsoap.org/soap/envelope/;,
local:Envelope). Expected elements are lt;{}Customergt;. unexpected
element (uri:http://schemas.xmlsoap.org/soap/envelope/;,
local:Envelope). Expected elements are lt;{}Customergt;.
/text[\r][\n]
[2014-01-08 18:28:49,083] DEBUG - wire  0[\r][\n]
[2014-01-08 18:28:49,083] DEBUG - wire  [\r][\n]


Does anyone know how to use callout mediator with a REST backend, and how
to overcome this failure situation?

-- 
*Chamara Ariyarathne*
Senior Software Engineer - QA;
WSO2 Inc

[Dev] Docs related to CQL interface for Storage Server Management Conosle; are not enough

2013-12-11 Thread Chamara Ariyarathne
Associated jira is; https://wso2.org/jira/browse/SS-70

Docs are at
http://docs.wso2.org/display/SS110/Column+Store+Service+CLI+Commands

The description given in this doc is not enough for someone to successfully
connect to the cassandra cluster with Database Explorer tool, and perform
cql operations.

-- 
*Chamara Ariyarathne*
Senior Software Engineer - QA;
WSO2 Inc; http://www.wso2.com/.
Mobile; *+94772786766*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] NPE while hazelcast initializing, in the 10th December Storage Server build

2013-12-10 Thread Chamara Ariyarathne
https://wso2.org/jira/browse/CARBON-14580

This is a blocker at the moment. I'm not using any new configuration here.
This exact configuration worked with the 3rd december build.

Please look asap.

-- 
*Chamara Ariyarathne*
Senior Software Engineer - QA;
WSO2 Inc; http://www.wso2.com/.
Mobile; *+94772786766*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] NPE while hazelcast initializing, in the 10th December Storage Server build

2013-12-10 Thread Chamara Ariyarathne
But I'm only seeing this in the latest SS build. With the same
configuration I've been used.

Have we changed the hazelcast version for this build. 10-12-2013


On Tue, Dec 10, 2013 at 6:35 PM, Afkham Azeez az...@wso2.com wrote:

 If you can remember, this is the issue Peter mentioned that has been in
 Hazelcast 3.0.3 onwards


 On Tue, Dec 10, 2013 at 6:30 PM, Chamara Ariyarathne chama...@wso2.comwrote:

 https://wso2.org/jira/browse/CARBON-14580

 This is a blocker at the moment. I'm not using any new configuration
 here. This exact configuration worked with the 3rd december build.

 Please look asap.

 --
 *Chamara Ariyarathne*
 Senior Software Engineer - QA;
 WSO2 Inc; http://www.wso2.com/.
 Mobile; *+94772786766 %2B94772786766*




 --
 *Afkham Azeez*
 Director of Architecture; WSO2, Inc.; http://wso2.com
 Member; Apache Software Foundation; http://www.apache.org/
 * http://www.apache.org/*
 *email: **az...@wso2.com* az...@wso2.com
 * cell: +94 77 3320919 %2B94%2077%203320919 blog: *
 *http://blog.afkham.org* http://blog.afkham.org
 *twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez
 * linked-in: **http://lk.linkedin.com/in/afkhamazeez
 http://lk.linkedin.com/in/afkhamazeez*

 *Lean . Enterprise . Middleware*




-- 
*Chamara Ariyarathne*
Senior Software Engineer - QA;
WSO2 Inc; http://www.wso2.com/.
Mobile; *+94772786766*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] SS-1.1.0 pack for QA

2013-11-27 Thread Chamara Ariyarathne
Acknowledged.

These will be added to our test plans.


On Wed, Nov 27, 2013 at 5:14 PM, Bhathiya Jayasekara bhath...@wso2.comwrote:

 Hi Chamara/Thayalan,

 These are the services that need to be tested.

 RSS :

 RSSAdmin


 Cassandra:

 CassandraKeyspaceAdmin


 HDFS:

 HDFSAdmin
 HDFSFileOperationAdmin


 Thanks,
 Bhathiya


 On Wed, Nov 27, 2013 at 11:40 AM, Bhathiya Jayasekara 
 bhath...@wso2.comwrote:

 Hi all,

 Please find the latest SS pack here.


 https://svn.wso2.org/repos/wso2/scratch/ss-dev/SS-1.1.0-QA/7/wso2ss-1.1.0.zip

 Thanks,
 Bhathiya


 On Mon, Nov 25, 2013 at 3:36 PM, Bhathiya Jayasekara 
 bhath...@wso2.comwrote:

 Hi Chamara/Thyalan,

 Use this config inside rss-config.xml

 ManagementRepository
 DataSourceConfiguration
  JndiLookupDefinition
 Namejava:/DefaultDS/Name
  /JndiLookupDefinition
 /DataSourceConfiguration
 /ManagementRepository

 Thanks,
 Bhathiya


 On Fri, Nov 22, 2013 at 6:08 PM, Bhathiya Jayasekara 
 bhath...@wso2.comwrote:

 Hi all,

 Please find the latest pack here.


 https://svn.wso2.org/repos/wso2/scratch/ss-dev/SS-1.1.0-QA/6/wso2ss-1.1.0.zip

 RSS can be tested now for MySQL.

 @Chamara:

 You will have to add a datasource for master-datasource.xml with the
 JNDI name given in persistence.xml. (java:/DefaultDS)

 Ex.

 datasource nameDefaultDS/name jndiConfig
 namejava:/DefaultDS/name !--environment property
 name=java.naming.factory.initial/property property
 name=java.naming.provider.url/property /environment-- /jndiConfig
 definition type=RDBMS configuration
 dataSourceClassNamecom.mysql.jdbc.jdbc2.optional.MysqlXADataSource/dataSourceClassName
 dataSourceProps property
 name=URLjdbc:mysql://localhost:3306/rss_rm/property property
 name=userroot/property property name=passwordroot/property
 /dataSourceProps /configuration /definition /datasource


 Thanks,
 Bhathiya




 On Mon, Nov 18, 2013 at 12:10 PM, Bhathiya Jayasekara 
 bhath...@wso2.com wrote:

 Hi all,

 Please find the latest pack here.


 https://svn.wso2.org/repos/wso2/scratch/ss-dev/SS-1.1.0-QA/4/wso2ss-1.1.0.zip

 Reported Cassandra and HDFS bugs are fixed in this pack.

 Thanks,
 Bhathiya


 On Wed, Nov 13, 2013 at 5:14 PM, Bhathiya Jayasekara 
 bhath...@wso2.com wrote:

 Hi all,

 Please find the pack URL below.


 https://svn.wso2.org/repos/wso2/scratch/ss-dev/SS-1.1.0-QA/2/wso2ss-1.1.0.zip

 Thanks,
 Bhathiya

 --
 *Bhathiya Jayasekara*
 *Software Engineer,*
 *WSO2 inc., http://wso2.com http://wso2.com*

 *Phone: +94715478185 %2B94715478185*
 *LinkedIn: http://www.linkedin.com/in/bhathiyaj
 http://www.linkedin.com/in/bhathiyaj*
 *Twitter: https://twitter.com/bhathiyax
 https://twitter.com/bhathiyax*




 --
 *Bhathiya Jayasekara*
 *Software Engineer,*
 *WSO2 inc., http://wso2.com http://wso2.com*

 *Phone: +94715478185 %2B94715478185*
 *LinkedIn: http://www.linkedin.com/in/bhathiyaj
 http://www.linkedin.com/in/bhathiyaj*
 *Twitter: https://twitter.com/bhathiyax
 https://twitter.com/bhathiyax*




 --
 *Bhathiya Jayasekara*
 *Software Engineer,*
 *WSO2 inc., http://wso2.com http://wso2.com*

 *Phone: +94715478185 %2B94715478185*
 *LinkedIn: http://www.linkedin.com/in/bhathiyaj
 http://www.linkedin.com/in/bhathiyaj*
 *Twitter: https://twitter.com/bhathiyax https://twitter.com/bhathiyax*




 --
 *Bhathiya Jayasekara*
 *Software Engineer,*
 *WSO2 inc., http://wso2.com http://wso2.com*

 *Phone: +94715478185 %2B94715478185*
 *LinkedIn: http://www.linkedin.com/in/bhathiyaj
 http://www.linkedin.com/in/bhathiyaj*
 *Twitter: https://twitter.com/bhathiyax https://twitter.com/bhathiyax*




 --
 *Bhathiya Jayasekara*
 *Software Engineer,*
 *WSO2 inc., http://wso2.com http://wso2.com*

 *Phone: +94715478185 %2B94715478185*
 *LinkedIn: http://www.linkedin.com/in/bhathiyaj
 http://www.linkedin.com/in/bhathiyaj*
 *Twitter: https://twitter.com/bhathiyax https://twitter.com/bhathiyax*




 --
 *Bhathiya Jayasekara*
 *Software Engineer,*
 *WSO2 inc., http://wso2.com http://wso2.com*

 *Phone: +94715478185 %2B94715478185*
 *LinkedIn: http://www.linkedin.com/in/bhathiyaj
 http://www.linkedin.com/in/bhathiyaj*
 *Twitter: https://twitter.com/bhathiyax https://twitter.com/bhathiyax*




-- 
*Chamara Ariyarathne*
Senior Software Engineer - QA;
WSO2 Inc; http://www.wso2.com/.
Mobile; *+94772786766*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Docs under BAM Deployment cannot be found in 2.4.0 docs

2013-11-27 Thread Chamara Ariyarathne
Available as http://docs.wso2.org/display/BAM230/BAM+Deployment
but not under 2.4.0.

I remember we need needed to update them according to the new configuration
guidelines.

-- 
*Chamara Ariyarathne*
Senior Software Engineer - QA;
WSO2 Inc; http://www.wso2.com/.
Mobile; *+94772786766*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] NPE from com.hazelcast.cluster.MergeClustersOperation in Storage Server packs with clustering enabled

2013-11-27 Thread Chamara Ariyarathne
I'm getting this issue in the storage server cluster I setup. It seems the
issue does not occur in ESB latest packs. Is anyone working on this?

https://wso2.org/jira/browse/SS-232

issue originally reported as
https://wso2.org/jira/browse/CARBON-14453

-- 
*Chamara Ariyarathne*
Senior Software Engineer - QA;
WSO2 Inc; http://www.wso2.com/.
Mobile; *+94772786766*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] cassandra.yaml default cluster name and cassandra-component.xml default cluster name does not match

2013-11-13 Thread Chamara Ariyarathne
Is it the same way the hector client work in BAM also ?


On Wed, Nov 13, 2013 at 2:02 PM, Deependra Ariyadewa d...@wso2.com wrote:

 There is not requirement to match the Cluster name we refer in the Hector
 to the Cluster name in Cassandra but it is good to have same name to make
 less confusions.

 Thanks,

 Deependra.


 On Wed, Nov 13, 2013 at 12:54 PM, Chamara Ariyarathne 
 chama...@wso2.comwrote:

 https://wso2.org/jira/browse/SS-197

 --
 *Chamara Ariyarathne*
 Senior Software Engineer - QA;
 WSO2 Inc; http://www.wso2.com/.
 Mobile; *+94772786766 %2B94772786766*




 --
 Deependra Ariyadewa
 WSO2, Inc. http://wso2.com/ http://wso2.org

 email d...@wso2.com; cell +94 71 403 5996 ;
 Blog http://risenfall.wordpress.com/
 PGP info: KeyID: 'DC627E6F'

 *WSO2 - Lean . Enterprise . Middleware*




-- 
*Chamara Ariyarathne*
Senior Software Engineer - QA;
WSO2 Inc; http://www.wso2.com/.
Mobile; *+94772786766*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] cassandra.yaml default cluster name and cassandra-component.xml default cluster name does not match

2013-11-13 Thread Chamara Ariyarathne
On Wed, Nov 13, 2013 at 2:21 PM, Chamara Ariyarathne chama...@wso2.comwrote:

 Is it the same way the hector client work in BAM also ?



 On Wed, Nov 13, 2013 at 2:02 PM, Deependra Ariyadewa d...@wso2.comwrote:

 There is not requirement to match the Cluster name we refer in the Hector
 to the Cluster name in Cassandra but it is good to have same name to make
 less confusions.


If so the docs also need to be modifed.
http://docs.wso2.org/display/SS110/Changing+the+Default+Cassandra+Configuration

Here it is said that the Hector reference name is mandatory.


 Thanks,

 Deependra.


 On Wed, Nov 13, 2013 at 12:54 PM, Chamara Ariyarathne 
 chama...@wso2.comwrote:

 https://wso2.org/jira/browse/SS-197

 --
 *Chamara Ariyarathne*
 Senior Software Engineer - QA;
 WSO2 Inc; http://www.wso2.com/.
 Mobile; *+94772786766 %2B94772786766*




 --
 Deependra Ariyadewa
 WSO2, Inc. http://wso2.com/ http://wso2.org

 email d...@wso2.com; cell +94 71 403 5996 ;
 Blog http://risenfall.wordpress.com/
 PGP info: KeyID: 'DC627E6F'

 *WSO2 - Lean . Enterprise . Middleware*




 --
 *Chamara Ariyarathne*
 Senior Software Engineer - QA;
 WSO2 Inc; http://www.wso2.com/.
 Mobile; *+94772786766 %2B94772786766*




-- 
*Chamara Ariyarathne*
Senior Software Engineer - QA;
WSO2 Inc; http://www.wso2.com/.
Mobile; *+94772786766*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] cassandra.yaml default cluster name and cassandra-component.xml default cluster name does not match

2013-11-12 Thread Chamara Ariyarathne
https://wso2.org/jira/browse/SS-197

-- 
*Chamara Ariyarathne*
Senior Software Engineer - QA;
WSO2 Inc; http://www.wso2.com/.
Mobile; *+94772786766*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] JAVA_HOME problem while running integration tests

2013-11-07 Thread Chamara Ariyarathne
. Also cold be something do with your environment. I cannot
 exactly say what is the reason here without debugging.

 Please follow the workaround provided by us for the time being and
 continue your work. Thanks for create a JIRA to track the problem.

 Thanks,
 Krishantha.



 On Wed, Nov 6, 2013 at 11:20 AM, Chamara Ariyarathne 
 chama...@wso2.comwrote:

 I have set JAVA_HOME in my machine as following in the ~/.bashrc

 export JAVA_HOME=/home/chamara/Programs/Java1.6/jdk1.6.0_45
 export PATH=$PATH:$JAVA_HOME/bin

 And variables set in the machine are;

 $ echo $JAVA_HOME
 /home/chamara/Programs/Java1.6/jdk1.6.0_45

 $ echo $PATH

 /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/home/chamara/Programs/Java1.6/jdk1.6.0_45/bin

 In the ESB_HOME/bin/wso2server.sh when the following configuration is
 present

 echo $JAVA_HOME
 if [ -z $JAVACMD ] ; then
   if [ -n $JAVA_HOME  ] ; then
 if [ -x $JAVA_HOME/jre/sh/java ] ; then
   # IBM's JDK on AIX uses strange locations for the executables
   JAVACMD=$JAVA_HOME/jre/sh/java
 else
   JAVACMD=$JAVA_HOME/bin/java; LINE 117
 fi
   else
 JAVACMD=java
   fi
 fi

 if [ ! -x $JAVACMD ] ; then
   echo Error: JAVA_HOME is not defined correctly.
   echo  CARBON cannot execute $JAVACMD
   exit 1
 fi

 I can start the esb server without any error. But when I try to run
 integration tests the following error comes

 [2013-11-06 05:40:44,488]  INFO
 {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
  /home/chamara/Programs/Java1.6/jdk1.6.0_45/bin/java
 [2013-11-06 05:40:44,490]  INFO
 {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
  Error: JAVA_HOME is not defined correctly.
 [2013-11-06 05:40:44,490]  INFO
 {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
 CARBON cannot execute
 /home/chamara/Programs/Java1.6/jdk1.6.0_45/bin/java/bin/java

 But if I modify the wso2server.sh as following; in the line 117;

   JAVACMD=$JAVA_HOME

 Then I can run the integration tests.

 What is the problem here? Is it due to some wrong java related
 configuration in my machine?

 --
 *Chamara Ariyarathne*
 Senior Software Engineer - QA;
 WSO2 Inc; http://www.wso2.com/.
 Mobile; *+94772786766 %2B94772786766*




 --
 Krishantha Samaraweera
 Senior Technical Lead - Test Automation
 Mobile: +94 77 7759918
 WSO2, Inc.; http://wso2.com/
 lean . enterprise . middlewear.




 --
 Krishantha Samaraweera
 Senior Technical Lead - Test Automation
 Mobile: +94 77 7759918
 WSO2, Inc.; http://wso2.com/
 lean . enterprise . middlewear.




 --
 Krishantha Samaraweera
 Senior Technical Lead - Test Automation
 Mobile: +94 77 7759918
 WSO2, Inc.; http://wso2.com/
 lean . enterprise . middlewear.




-- 
*Chamara Ariyarathne*
Senior Software Engineer - QA;
WSO2 Inc; http://www.wso2.com/.
Mobile; *+94772786766*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] W/M MSMP, ESB preveting startup

2013-11-07 Thread Chamara Ariyarathne
)
  at
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  at java.lang.reflect.Method.invoke(Method.java:597)
 at
 org.eclipse.equinox.internal.ds.model.ServiceComponent.activate(ServiceComponent.java:260)
  at
 org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activate(ServiceComponentProp.java:146)
 at
 org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:347)
  at
 org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:620)
 at
 org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:197)
  at
 org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:343)
 at
 org.eclipse.equinox.internal.ds.SCRManager.serviceChanged(SCRManager.java:222)
  at
 org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:107)
 at
 org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:861)
  at
 org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
 at
 org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
  at
 org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:819)
 at
 org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:771)
  at
 org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:130)
 at
 org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:214)
  at
 org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:433)
 at
 org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:451)
  at
 org.wso2.carbon.event.core.internal.builder.EventBrokerHandler.startEventBroker(EventBrokerHandler.java:58)
 at
 org.wso2.carbon.event.core.internal.builder.EventBrokerBuilderDS.activate(EventBrokerBuilderDS.java:72)
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:597)
  at
 org.eclipse.equinox.internal.ds.model.ServiceComponent.activate(ServiceComponent.java:260)
 at
 org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activate(ServiceComponentProp.java:146)
  at
 org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:347)
 at
 org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:620)
  at
 org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:197)
 at org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:343)
  at
 org.eclipse.equinox.internal.ds.SCRManager.serviceChanged(SCRManager.java:222)
 at
 org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:107)
  at
 org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:861)
 at
 org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
  at
 org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)

 Cheers,
 Dushan Abeyruwan
 Associate Tech Lead
 *Integration Technologies Team*
 *WSO2 Inc. http://wso2.com/ http://wso2.com/*
 *Mobile:(+94)714408632 %28%2B94%29714408632*

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




-- 
*Chamara Ariyarathne*
Senior Software Engineer - QA;
WSO2 Inc; http://www.wso2.com/.
Mobile; *+94772786766*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] JAVA_HOME problem while running integration tests

2013-11-05 Thread Chamara Ariyarathne
https://wso2.org/jira/browse/TA-748


On Wed, Nov 6, 2013 at 11:20 AM, Chamara Ariyarathne chama...@wso2.comwrote:

 I have set JAVA_HOME in my machine as following in the ~/.bashrc

 export JAVA_HOME=/home/chamara/Programs/Java1.6/jdk1.6.0_45
 export PATH=$PATH:$JAVA_HOME/bin

 And variables set in the machine are;

 $ echo $JAVA_HOME
 /home/chamara/Programs/Java1.6/jdk1.6.0_45

 $ echo $PATH

 /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/home/chamara/Programs/Java1.6/jdk1.6.0_45/bin

 In the ESB_HOME/bin/wso2server.sh when the following configuration is
 present

 echo $JAVA_HOME
 if [ -z $JAVACMD ] ; then
   if [ -n $JAVA_HOME  ] ; then
 if [ -x $JAVA_HOME/jre/sh/java ] ; then
   # IBM's JDK on AIX uses strange locations for the executables
   JAVACMD=$JAVA_HOME/jre/sh/java
 else
   JAVACMD=$JAVA_HOME/bin/java; LINE 117
 fi
   else
 JAVACMD=java
   fi
 fi

 if [ ! -x $JAVACMD ] ; then
   echo Error: JAVA_HOME is not defined correctly.
   echo  CARBON cannot execute $JAVACMD
   exit 1
 fi

 I can start the esb server without any error. But when I try to run
 integration tests the following error comes

 [2013-11-06 05:40:44,488]  INFO
 {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
  /home/chamara/Programs/Java1.6/jdk1.6.0_45/bin/java
 [2013-11-06 05:40:44,490]  INFO
 {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
  Error: JAVA_HOME is not defined correctly.
 [2013-11-06 05:40:44,490]  INFO
 {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
 CARBON cannot execute
 /home/chamara/Programs/Java1.6/jdk1.6.0_45/bin/java/bin/java

 But if I modify the wso2server.sh as following; in the line 117;

   JAVACMD=$JAVA_HOME

 Then I can run the integration tests.

 What is the problem here? Is it due to some wrong java related
 configuration in my machine?

 --
 *Chamara Ariyarathne*
 Senior Software Engineer - QA;
 WSO2 Inc; http://www.wso2.com/.
 Mobile; *+94772786766 %2B94772786766*




-- 
*Chamara Ariyarathne*
Senior Software Engineer - QA;
WSO2 Inc; http://www.wso2.com/.
Mobile; *+94772786766*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Partial Distributed Setup Doc does not tell where to run Hadoop?

2013-11-04 Thread Chamara Ariyarathne
According to my knowledge, Partially distributed setup does not need an
external hadoop cluster. It uses the BAM's in built hadoop mapreduce
functionality.

However in this doc, the zookeeper related configurations and information
should be removed, and add the new Hazelcast clustering information.


On Tue, Nov 5, 2013 at 9:37 AM, Srinath Perera srin...@wso2.com wrote:

 Please fix


 http://docs.wso2.org/display/BAM240/Partially-Distributed%2C+Highly-Available+BAM+Setup

 --
 
 Srinath Perera, Ph.D.
http://people.apache.org/~hemapani/
http://srinathsview.blogspot.com/

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




-- 
*Chamara Ariyarathne*
Senior Software Engineer - QA;
WSO2 Inc; http://www.wso2.com/.
Mobile; *+94772786766*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Partial Distributed Setup Doc does not tell where to run Hadoop?

2013-11-04 Thread Chamara Ariyarathne
Please change the diagram under

   - Configuring the Cassandra
clusterhttp://docs.wso2.org/display/BAM240/Partially-Distributed%2C+Highly-Available+BAM+Setup#Partially-DistributedHighly-AvailableBAMSetup-ConfiguringtheCassandracluster

Also this line;

   1.

   Edit  BAM_HOME/repository/conf/axis2/axis2.xml and set
   //clustering#enable to true.

is not enough to give a proper idea about clustering of bam nodes. There
are several other things;
such as,
parameter name=membershipSchememulticast/parameter
 parameter name=domainwso2.carbon.domain/parameter
parameter name=mcastBindAddress127.0.0.1/parameter

needs to be explained while explaining hazelcast clustering.


On Tue, Nov 5, 2013 at 12:13 PM, Ayashkantha Ramasinghe 
ayashkan...@wso2.com wrote:

 Fixed it

 Thanks and Regards,
 -Ayash


 On Tue, Nov 5, 2013 at 10:22 AM, Chamara Ariyarathne chama...@wso2.comwrote:

 According to my knowledge, Partially distributed setup does not need an
 external hadoop cluster. It uses the BAM's in built hadoop mapreduce
 functionality.

 However in this doc, the zookeeper related configurations and information
 should be removed, and add the new Hazelcast clustering information.


 On Tue, Nov 5, 2013 at 9:37 AM, Srinath Perera srin...@wso2.com wrote:

 Please fix


 http://docs.wso2.org/display/BAM240/Partially-Distributed%2C+Highly-Available+BAM+Setup

 --
 
 Srinath Perera, Ph.D.
http://people.apache.org/~hemapani/
http://srinathsview.blogspot.com/

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




 --
 *Chamara Ariyarathne*
 Senior Software Engineer - QA;
 WSO2 Inc; http://www.wso2.com/.
 Mobile; *+94772786766 %2B94772786766*





-- 
*Chamara Ariyarathne*
Senior Software Engineer - QA;
WSO2 Inc; http://www.wso2.com/.
Mobile; *+94772786766*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Partial Distributed Setup Doc does not tell where to run Hadoop?

2013-11-04 Thread Chamara Ariyarathne
Fully-Distributed, High-Availability BAM
Setuphttp://docs.wso2.org/display/BAM240/Fully-Distributed%2C+High-Availability+BAM+Setup

This also needs to be updated with diagrams.


On Tue, Nov 5, 2013 at 12:35 PM, Chamara Ariyarathne chama...@wso2.comwrote:

 Please change the diagram under

- Configuring the Cassandra 
 clusterhttp://docs.wso2.org/display/BAM240/Partially-Distributed%2C+Highly-Available+BAM+Setup#Partially-DistributedHighly-AvailableBAMSetup-ConfiguringtheCassandracluster

 Also this line;

1.

Edit  BAM_HOME/repository/conf/axis2/axis2.xml and set
//clustering#enable to true.

 is not enough to give a proper idea about clustering of bam nodes. There
 are several other things;
 such as,
 parameter name=membershipSchememulticast/parameter
  parameter name=domainwso2.carbon.domain/parameter
 parameter name=mcastBindAddress127.0.0.1/parameter

 needs to be explained while explaining hazelcast clustering.


 On Tue, Nov 5, 2013 at 12:13 PM, Ayashkantha Ramasinghe 
 ayashkan...@wso2.com wrote:

 Fixed it

 Thanks and Regards,
 -Ayash


 On Tue, Nov 5, 2013 at 10:22 AM, Chamara Ariyarathne 
 chama...@wso2.comwrote:

 According to my knowledge, Partially distributed setup does not need an
 external hadoop cluster. It uses the BAM's in built hadoop mapreduce
 functionality.

 However in this doc, the zookeeper related configurations and
 information should be removed, and add the new Hazelcast clustering
 information.


 On Tue, Nov 5, 2013 at 9:37 AM, Srinath Perera srin...@wso2.com wrote:

 Please fix


 http://docs.wso2.org/display/BAM240/Partially-Distributed%2C+Highly-Available+BAM+Setup

 --
 
 Srinath Perera, Ph.D.
http://people.apache.org/~hemapani/
http://srinathsview.blogspot.com/

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




 --
 *Chamara Ariyarathne*
 Senior Software Engineer - QA;
 WSO2 Inc; http://www.wso2.com/.
 Mobile; *+94772786766 %2B94772786766*





 --
 *Chamara Ariyarathne*
 Senior Software Engineer - QA;
 WSO2 Inc; http://www.wso2.com/.
 Mobile; *+94772786766 %2B94772786766*




-- 
*Chamara Ariyarathne*
Senior Software Engineer - QA;
WSO2 Inc; http://www.wso2.com/.
Mobile; *+94772786766*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Startup script error

2013-10-21 Thread Chamara Ariyarathne
ubuntu@bam240:~/analyzer1/wso2bam-2.4.0$ sh bin/wso2server.sh stop
bin/wso2server.sh: 185: kill: Usage: kill [-s sigspec | -signum | -sigspec]
[pid | job]... or
kill -l [exitstatus]

Why am I getting this? Is the wso2server.sh file corrupted?

-- 
*Chamara Ariyarathne*
Senior Software Engineer - QA;
WSO2 Inc; http://www.wso2.com/.
Mobile; *+94772786766*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Startup script error

2013-10-21 Thread Chamara Ariyarathne
And then

ubuntu@bam240:~/analyzer1/wso2bam-2.4.0$ ./bin/wso2server.sh start
ERROR: List of process IDs must follow -p.
* simple selection *  * selection by list *
-A all processes  -C by command name
-N negate selection   -G by real group ID (supports names)
-a all w/ tty except session leaders  -U by real user ID (supports names)
-d all except session leaders -g by session OR by effective group
name
-e all processes  -p by process ID
T  all processes on this terminal -s processes in the sessions given
a  all w/ tty, including other users  -t by tty
g  OBSOLETE -- DO NOT USE -u by effective user ID (supports
names)
r  only running processes U  processes for specified users
x  processes w/o controlling ttys t  by tty
*** output format **  *** long options ***
-o,o user-defined  -f full--Group --User --pid --cols --ppid
-j,j job control   s  signal  --group --user --sid --rows --info
-O,O preloaded -o  v  virtual memory  --cumulative --format --deselect
-l,l long  u  user-oriented   --sort --tty --forest --version
-F   extra fullX  registers   --heading --no-heading --context
* misc options *
-V,V  show version  L  list format codes  f  ASCII art forest
-m,m,-L,-T,H  threads   S  children in sum-y change -l format
-M,Z  security data c  true command name  -c scheduling class
-w,w  wide output   n  numeric WCHAN,UID  -H process hierarchy


This was working fine earlier..


On Mon, Oct 21, 2013 at 7:21 PM, Chamara Ariyarathne chama...@wso2.comwrote:

 ubuntu@bam240:~/analyzer1/wso2bam-2.4.0$ sh bin/wso2server.sh stop
 bin/wso2server.sh: 185: kill: Usage: kill [-s sigspec | -signum |
 -sigspec] [pid | job]... or
 kill -l [exitstatus]

 Why am I getting this? Is the wso2server.sh file corrupted?

 --
 *Chamara Ariyarathne*
 Senior Software Engineer - QA;
 WSO2 Inc; http://www.wso2.com/.
 Mobile; *+94772786766*




-- 
*Chamara Ariyarathne*
Senior Software Engineer - QA;
WSO2 Inc; http://www.wso2.com/.
Mobile; *+94772786766*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] (no subject)

2013-10-21 Thread Chamara Ariyarathne
This issue is not seem to be fixed.
https://wso2.org/jira/browse/CARBON-14488

Occurred in BAM.
https://wso2.org/jira/browse/BAM-1352

-- 
*Chamara Ariyarathne*
Senior Software Engineer - QA;
WSO2 Inc; http://www.wso2.com/.
Mobile; *+94772786766*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [DEV] ERROR NullPointerException Error occurred while running CacheCleanupTask in GREG

2013-10-09 Thread Chamara Ariyarathne
Ok.. So this one seem to specific to API Manager pack.


On Wed, Oct 9, 2013 at 2:46 PM, Nuwan Silva nuw...@wso2.com wrote:

 Hi Chamara,

 No, got only the following when trying to login.


 [2013-10-09 09:58:05,024] ERROR {org.wso2.carbon.
 authenticator.proxy.AuthenticationAdminClient} -  Error occurred while
 logging in
 org.apache.axis2.AxisFault: Exception occurred while trying to invoke
 service method login
 at
 org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.java:531)
 at
 org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:367)
 at
 org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:413)
 at
 org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:224)
 at
 org.apache.axis2.client.OperationClient.execute(OperationClient.java:149)
 at
 org.wso2.carbon.authenticator.stub.AuthenticationAdminStub.login(AuthenticationAdminStub.java:659)
 at
 org.wso2.carbon.authenticator.proxy.AuthenticationAdminClient.login(AuthenticationAdminClient.java:64)
 at
 org.wso2.carbon.ui.DefaultCarbonAuthenticator.doAuthentication(DefaultCarbonAuthenticator.java:119)
 at
 org.wso2.carbon.ui.AbstractCarbonUIAuthenticator.handleSecurity(AbstractCarbonUIAuthenticator.java:218)
 at
 org.wso2.carbon.ui.BasicAuthUIAuthenticator.authenticate(BasicAuthUIAuthenticator.java:77)
 at
 org.wso2.carbon.ui.CarbonUILoginUtil.handleLogin(CarbonUILoginUtil.java:358)
 at
 org.wso2.carbon.ui.CarbonSecuredHttpContext.handleSecurity(CarbonSecuredHttpContext.java:246)
 at
 org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:60)
 at
 org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:128)
 at
 org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:68)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
 at
 org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.service(DelegationServlet.java:68)
 at
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
 at
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
 at
 org.wso2.carbon.tomcat.ext.filter.CharacterSetFilter.doFilter(CharacterSetFilter.java:61)
 at
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
 at
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
 at
 org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
 at
 org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
 at
 org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
 at
 org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
 at
 org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
 at
 org.wso2.carbon.tomcat.ext.valves.CompositeValve.continueInvocation(CompositeValve.java:178)
 at
 org.wso2.carbon.tomcat.ext.valves.CarbonTomcatValve$1.invoke(CarbonTomcatValve.java:47)
 at
 org.wso2.carbon.webapp.mgt.TenantLazyLoaderValve.invoke(TenantLazyLoaderValve.java:56)
  at
 org.wso2.carbon.apimgt.interceptor.valve.APIManagerInterceptorValve.invoke(APIManagerInterceptorValve.java:101)

 at
 org.wso2.carbon.tomcat.ext.valves.TomcatValveContainer.invokeValves(TomcatValveContainer.java:47)
 at
 org.wso2.carbon.tomcat.ext.valves.CompositeValve.invoke(CompositeValve.java:141)
 at
 org.wso2.carbon.tomcat.ext.valves.CarbonStuckThreadDetectionValve.invoke(CarbonStuckThreadDetectionValve.java:156)
 at
 org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:936)
 at
 org.wso2.carbon.tomcat.ext.valves.CarbonContextCreatorValve.invoke(CarbonContextCreatorValve.java:52)
 at
 org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
 at
 org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
 at
 org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1004)
 at
 org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
 at
 org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1653)
 at
 java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
 at
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
 at java.lang.Thread.run(Thread.java:722)



 On Wed, Oct 9, 2013 at 2:44 PM, Afkham Azeez az...@wso2.com wrote:


 On Wed, Oct 9, 2013 at 2:41 PM, Chamara Ariyarathne chama...@wso2.comwrote:

 getCurrentCarbonContextHolder


 getCurrentCarbonContextHolder calls has ended up in a never ending call
 stack!!! Something to do with the recent CC

[Dev] Blockers for API Manager fully distributed setup

2013-10-09 Thread Chamara Ariyarathne
Following issues blocks the testing atm.

https://wso2.org/jira/browse/APIMANAGER-1725
https://wso2.org/jira/browse/APIMANAGER-1754


-- 
*Chamara Ariyarathne*
Senior Software Engineer - QA;
WSO2 Inc; http://www.wso2.com/.
Mobile; *+94772786766*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [APIM 1.5.0 ] APIs are not visible on the store and registry for 15 minutes. Only shown in the recently added and when you click on the tags

2013-10-09 Thread Chamara Ariyarathne
Here is the store's registry.xml


On Wed, Oct 9, 2013 at 10:35 PM, Amila De Silva ami...@wso2.com wrote:

 Hi Ushani,
 Among which nodes did you try syncing up the tiers.xml? I tried the same
 between Publisher and Store nodes, and a change made by one node gets
 immediately reflected on the other when registry caching is disabled. Can
 you please attach the registry.xml?

 AmilaD


 On Wed, Oct 9, 2013 at 8:50 PM, Ushani Balasooriya ush...@wso2.comwrote:

 15 minutes latency to populate changes is discovered when editing
 tiers.xml as well. As a solution changed the registry caching to disabled
 in registry.xml. But still the same issue is discovered. Is this 15 minutes
 configurable? If so where?


 On Wed, Oct 9, 2013 at 6:38 PM, Nuwan Silva nuw...@wso2.com wrote:

 Same behaviour noticed in Greg testing as well.


 On Wed, Oct 9, 2013 at 5:57 PM, Ushani Balasooriya ush...@wso2.comwrote:


 Following behavior can be seen in the store in set up done by the 8th
 Oct Pack:

 For  Super tenant mode :

 1. Created few APIs and published them. After like 15 minutes APIs were
 visible on the store at once with tags and also in the recently added
 section.
 2. But suddenly APIs went missing from the store, but available only in
 the recently added section and the tags of it. Intermittently it starts
 showing one API.
 3. It takes time to update the registry as well.
 4. Once the APIs started listing down in the registry only they will be
 available in the store recently added section, tags and in search results.
 but still it will not be available in the store main listing as given in
 the attachment.


 Issue which was reported [1] against a previous old pack is reopened.
 Pls have a look.

 [1] https://wso2.org/jira/browse/APIMANAGER-1725

 Regards,
 --
 *Ushani Balasooriya*
 Software Engineer - QA;
 WSO2 Inc; http://www.wso2.com/.
 Mobile; +94772636796


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




 --
 *
 *
 *Nuwan Silva
 *
 *Senior Software Engineer - QA*
 Mobile: +94779804543

 WSO2 Inc.
 lean . enterprise . middlewear.
 http://www.wso2.com




 --
 *Ushani Balasooriya*
 Software Engineer - QA;
 WSO2 Inc; http://www.wso2.com/.
 Mobile; +94772636796


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




 --
 *Amila De Silva*
 *
 *
 *Software Engineer*
  WSO2 Inc.*
 *
 mobile :(+94) 775119302


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




-- 
*Chamara Ariyarathne*
Senior Software Engineer - QA;
WSO2 Inc; http://www.wso2.com/.
Mobile; *+94772786766*
?xml version=1.0 encoding=utf-8?
wso2registry

!-- These are used to define the DB configuration and the basic parameters to be used for the registry --

currentDBConfigwso2registry/currentDBConfig
readOnlyfalse/readOnly
enableCachetrue/enableCache
registryRoot//registryRoot

!-- This defines the default database and its configuration of the registry --

dbConfig name=wso2registry
dataSourcejdbc/WSO2CarbonDB/dataSource
/dbConfig

dbConfig name=mountregistry
dataSourcejdbc/WSO2MountRegistryDB/dataSource
/dbConfig

   remoteInstance url=https://localhost:9443/registry;
idmountInstance/id
dbConfigmountregistry/dbConfig
	cacheIdroot@jdbc:mysql://192.168.18.17:3306/mountreg/cacheId
readOnlyfalse/readOnly
enableCachefalse/enableCache
registryRoot//registryRoot
/remoteInstance

mount path=/_system/config overwrite=true
instanceIdmountInstance/instanceId
targetPath/_system/config/targetPath
/mount

mount path=/_system/governance overwrite=true
instanceIdmountInstance/instanceId
targetPath/_system/governance/targetPath
   /mount


!-- This handler provides the feature to add a simlink to a given resource --

handler class=org.wso2.carbon.registry.extensions.handlers.ExtensionsSymLinkHandler
filter class=org.wso2.carbon.registry.core.jdbc.handlers.filters.URLMatcher
property name=pattern.*/property
/filter
/handler

!-- This handler provides resource retention locking for the resources --

handler class=org.wso2.carbon.registry.extensions.handlers.RetentionHandler 
methods=PUT,DELETE,MOVE,RENAME,IMPORT,COPY,ADD_ASSOCIATION,REMOVE_ASSOCIATION,RESTORE,RESTORE_VERSION
filter class=org.wso2.carbon.registry.core.jdbc.handlers.filters.URLMatcher
property name=pattern.*/property
/filter
/handler

!-- This handler process the uploaded  WSDL files --

handler class=org.wso2.carbon.registry.extensions.handlers.WSDLMediaTypeHandler
!--property name=createServicefalse/property
property name=disableWSDLValidationtrue/property--
property name=disableSymlinkCreationtrue

[Dev] Clearing JSESSIONID on demand in a jmeter script

2013-10-04 Thread Chamara Ariyarathne
While writing a jmeter script, I wanted to clear the JSESSIONID (Cookie)
while in one thread iteration and on demand.

But it seems impossible and there's a stackoverflow question regarding that
too. Does anyone know of doing such a thing? A workaround may be!

http://stackoverflow.com/questions/12707635/how-to-clear-jsessionid-of-each-threaduser-in-jmeter-on-demand

-- 
*Chamara Ariyarathne*
Senior Software Engineer - QA;
WSO2 Inc; http://www.wso2.com/.
Mobile; *+94772786766*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [Blocker] Cannot Publish APIs to External Gateway cluster when fronted with ELB

2013-09-17 Thread Chamara Ariyarathne
When a Keymanager instance is setup as a standalone api-m instance this
error does not come.


On Tue, Sep 17, 2013 at 2:38 PM, Chamara Ariyarathne chama...@wso2.comwrote:

 Latest update is this issue has been fixed with fixing ELB transport issue
 yesterday.
 refer mail thread 
 API M setup fails with laetst ELB (12th build)
 

 Now in the lab setup publisher, gateway cluster, store is configured with
 gateway's port mappings as well.

 However now we encountered a issue while Store user generating keys, and
 when that request goes through ELB, through Gateway Worker to Keymanager.

 TID: [0] [AM] [2013-09-17 14:10:11,943] ERROR
 {org.apache.axis2.rpc.receivers.RPCMessageReceiver} -  wrong number of
 arguments {org.apache.axis2.rpc.receivers.RPCMessageReceiver}
 java.lang.IllegalArgumentException: wrong number of arguments
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
  at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 at java.lang.reflect.Method.invoke(Method.java:601)
  at
 org.apache.axis2.rpc.receivers.RPCUtil.invokeServiceClass(RPCUtil.java:178)
 at
 org.apache.axis2.rpc.receivers.RPCMessageReceiver.invokeBusinessLogic(RPCMessageReceiver.java:117)
  at
 org.apache.axis2.receivers.AbstractInOutMessageReceiver.invokeBusinessLogic(AbstractInOutMessageReceiver.java:40)
 at
 org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:110)
  at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:180)
 at
 org.apache.synapse.transport.passthru.ServerWorker.processEntityEnclosingRequest(ServerWorker.java:404)
  at
 org.apache.synapse.transport.passthru.ServerWorker.run(ServerWorker.java:184)
 at
 org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:172)
  at
 java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
 at
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
  at java.lang.Thread.run(Thread.java:722)
 TID: [0] [AM] [2013-09-17 14:10:11,946] ERROR
 {org.apache.synapse.transport.passthru.ServerWorker} -  Error processing
 POST request for : /services/AuthenticationAdmin
 {org.apache.synapse.transport.passthru.ServerWorker}
  org.apache.axis2.AxisFault: wrong number of arguments
 at org.apache.axis2.AxisFault.makeFault(AxisFault.java:430)
 at
 org.apache.axis2.rpc.receivers.RPCMessageReceiver.invokeBusinessLogic(RPCMessageReceiver.java:211)
  at
 org.apache.axis2.receivers.AbstractInOutMessageReceiver.invokeBusinessLogic(AbstractInOutMessageReceiver.java:40)
 at
 org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:110)
  at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:180)
 at
 org.apache.synapse.transport.passthru.ServerWorker.processEntityEnclosingRequest(ServerWorker.java:404)
  at
 org.apache.synapse.transport.passthru.ServerWorker.run(ServerWorker.java:184)
 at
 org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:172)
  at
 java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
 at
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
  at java.lang.Thread.run(Thread.java:722)
 Caused by: java.lang.IllegalArgumentException: wrong number of arguments
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  at
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
 at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  at java.lang.reflect.Method.invoke(Method.java:601)
 at
 org.apache.axis2.rpc.receivers.RPCUtil.invokeServiceClass(RPCUtil.java:178)
  at
 org.apache.axis2.rpc.receivers.RPCMessageReceiver.invokeBusinessLogic(RPCMessageReceiver.java:117)
 ... 9 more



 On Fri, Sep 13, 2013 at 3:50 PM, Isuru Perera isu...@wso2.com wrote:

 Hi,

 Geeth has already committed related changes. Please see:


 https://svn.wso2.org/repos/wso2/carbon/platform/branches/4.2.0/dependencies/synapse/2.1.1-wso2v9/modules/transports/core/nhttp/src/main/java/org/apache/synapse/transport/nhttp/util/RESTUtil.java

 https://svn.wso2.org/repos/wso2/carbon/platform/branches/4.2.0/components/transport-mgt/org.wso2.carbon.transport.nhttp/4.2.0/src/main/java/org/wso2/carbon/transport/nhttp/api/NHttpGetProcessor.java


 On Fri, Sep 13, 2013 at 3:09 PM, Nirmal Fernando nir...@wso2.com wrote:

 Geeth,

 Did you commit your fixes to trunk which fix this AuthenticationAdmin
 requests getting dispatched to ELB issue?


 On Fri, Sep 13, 2013 at 3:07 PM, Nuwan Dias nuw...@wso2.com wrote:

 What is the ELB version being used?


 On Fri, Sep 13, 2013 at 3:05 PM, Nirodha Pramod niro...@wso2.comwrote:

 Hi,

 Please note the $subject. This is a blocker for using a Gateway
 cluster fronted by ELB. Seems like the message body get distorted inside
 the ELB which sent

[Dev] BAM Statstics Publishing in API Manager 1.5.0

2013-09-17 Thread Chamara Ariyarathne
Is it implemented the way ESB and AS does it?

As Load Balancing and Failover both ways.

-- 
*Chamara Ariyarathne*
Senior Software Engineer - QA;
WSO2 Inc; http://www.wso2.com/.
Mobile; *+94772786766*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] ERROR {org.wso2.carbon.caching.impl.CacheCleanupTask} in API-M Gateway Manager

2013-09-16 Thread Chamara Ariyarathne
TID: [0] [AM] [2013-09-17 10:23:26,078] ERROR
{org.wso2.carbon.caching.impl.CacheCleanupTask} -  Error occurred while
running CacheCleanupTask {org.wso2.carbon.caching.impl.CacheCleanupTask}
com.hazelcast.spi.exception.TargetNotMemberException: Not Member!
target:Address[192.168.18.17]:4100, partitionId: 0, operation:
com.hazelcast.map.operation.MapEntrySetOperation, service:
hz:impl:mapService
 at com.hazelcast.spi.impl.InvocationImpl.doInvoke(InvocationImpl.java:141)
at com.hazelcast.spi.impl.InvocationImpl.access$800(InvocationImpl.java:39)
 at
com.hazelcast.spi.impl.InvocationImpl$InvocationFuture.waitForResponse(InvocationImpl.java:352)
at
com.hazelcast.spi.impl.InvocationImpl$InvocationFuture.get(InvocationImpl.java:291)
 at
com.hazelcast.spi.impl.InvocationImpl$InvocationFuture.get(InvocationImpl.java:283)
at
com.hazelcast.spi.impl.OperationServiceImpl.invokeOnPartitions(OperationServiceImpl.java:495)
 at
com.hazelcast.spi.impl.OperationServiceImpl.invokeOnAllPartitions(OperationServiceImpl.java:424)
at
com.hazelcast.map.proxy.MapProxySupport.entrySetInternal(MapProxySupport.java:564)
 at com.hazelcast.map.proxy.MapProxyImpl.entrySet(MapProxyImpl.java:410)
at
org.wso2.carbon.core.clustering.hazelcast.HazelcastDistributedMapProvider$DistMap.entrySet(HazelcastDistributedMapProvider.java:167)
 at org.wso2.carbon.caching.impl.CacheImpl.syncCaches(CacheImpl.java:230)
at
org.wso2.carbon.caching.impl.CacheCleanupTask.run(CacheCleanupTask.java:61)
 at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at
java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:351)
 at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:178)
at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178)
 at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
 at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:722)


-- 
*Chamara Ariyarathne*
Senior Software Engineer - QA;
WSO2 Inc; http://www.wso2.com/.
Mobile; *+94772786766*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] ERROR {org.wso2.carbon.core.persistence.AbstractPersistenceManager} - Unable to handle service initialization error when started with API-M profile gateway-worker

2013-09-16 Thread Chamara Ariyarathne
https://wso2.org/jira/browse/APIMANAGER-1673
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] What is the best place to give Publish to External Store Option ?

2013-09-16 Thread Chamara Ariyarathne
Ping..!


On Mon, Sep 16, 2013 at 10:29 AM, Chamara Ariyarathne chama...@wso2.comwrote:

 Three possibilities are while;

 1. Creating the API
 2. Editing the API
 3. Publishing the API

 (See attached screenshots)

 1. If the option is given at the place of Creating the API, the API need
 to be created in the external store as well in Unpublished state.

 2. If the option is given at only Editing the API, it is not
 straightforward.

 3. If the option is given at Publishing the API / Lifecycle changing
 place, everytime the api is changed, it will have to be published.

 The feature seems buggy at the moment. But to create useful bugs, the
 scenario need to be clearly defined.

 Also the scenarios need to be planned the way it support publishing to
 external non-wso2 apistores as well.

 --
 *Chama**ra Ariyarathne*
 Senior Software Engineer - QA;
 WSO2 Inc; http://www.wso2.com/.
 Mobile; *+94772786766*




-- 
*Chamara Ariyarathne*
Senior Software Engineer - QA;
WSO2 Inc; http://www.wso2.com/.
Mobile; *+94772786766*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] HTTP port -1 HTTPS port -1 ?

2013-09-13 Thread Chamara Ariyarathne
ELB 2.1.0 10/09/2013 build
http://10.100.1.185/packs/sep-10

APIM RC2 12/09/2013
http://builder3.us1.wso2.org/builds/chunk-02/N_12-09-13/AM/


On Fri, Sep 13, 2013 at 11:46 AM, Amila Maha Arachchi ami...@wso2.comwrote:




 On Thu, Sep 12, 2013 at 11:03 PM, Chamara Ariyarathne 
 chama...@wso2.comwrote:

 Why this comes when API M joins ELB. (ELB local member port 4000)

 [2013-09-12 17:31:35,189]  INFO - MemberUtils Added member:
 Host:127.0.0.1, Remote Host:null, Port: 4000, HTTP:-1, HTTPS:-1, Domain:
 null, Sub-domain:null, Active:true

 Is this harmless? What needs to be configured for this to work the
 correct way?


 With which products do you get this? 4.2.0 based products or pre-4.2.0
 products.


 --
 *Chamara Ariyarathne*
 Senior Software Engineer - QA;
 WSO2 Inc; http://www.wso2.com/.
 Mobile; *+94772786766*

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




 --
 *Amila Maharachchi*
 Senior Technical Lead
 WSO2, Inc.; http://wso2.com

 Blog: http://maharachchi.blogspot.com
 Mobile: +94719371446




-- 
*Chamara Ariyarathne*
Senior Software Engineer - QA;
WSO2 Inc; http://www.wso2.com/.
Mobile; *+94772786766*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] HTTP port -1 HTTPS port -1 ?

2013-09-13 Thread Chamara Ariyarathne
Saw this in the APIM big deployment too.

TID: [0] [AM] [2013-09-13 11:43:14,390]  INFO
{org.apache.synapse.transport.passthru.PassThroughHttpListener} -
 Pass-through HTTP Listener started on 0:0:0:0:0:0:0:0:10280
{org.apache.synapse.transport.passthru.PassThroughHttpListener}
TID: [0] [AM] [2013-09-13 11:43:14,401]  INFO
{org.wso2.carbon.core.clustering.hazelcast.HazelcastClusteringAgent} -
 Cluster domain: gw.am.150.domain
{org.wso2.carbon.core.clustering.hazelcast.HazelcastClusteringAgent}
TID: [0] [AM] [2013-09-13 11:43:14,401]  INFO
{org.wso2.carbon.core.clustering.hazelcast.HazelcastClusteringAgent} -
 Using wka based membership management scheme
{org.wso2.carbon.core.clustering.hazelcast.HazelcastClusteringAgent}
TID: [0] [AM] [2013-09-13 11:43:14,403]  INFO
{org.wso2.carbon.core.clustering.hazelcast.util.MemberUtils} -  Added
member: Host:192.168.18.17, Remote Host:null, Port: 5050, HTTP:-1,
HTTPS:-1, Domain: null, Sub-domain:null, Active:true
{org.wso2.carbon.core.clustering.hazelcast.util.MemberUtils}
TID: [0] [AM] [2013-09-13 11:43:22,819]  INFO
{org.wso2.carbon.core.clustering.hazelcast.HazelcastClusteringAgent} -
 Hazelcast initialized in 8412ms
{org.wso2.carbon.core.clustering.hazelcast.HazelcastClusteringAgent}
TID: [0] [AM] [2013-09-13 11:43:22,902]  INFO
{org.wso2.carbon.core.clustering.hazelcast.HazelcastClusteringAgent} -
 Local member: [0c8d3a5d-751d-4822-a106-9316a14b1934] - Host:192.168.18.17,
Remote Host:null, Port: 4200, HTTP:10280, HTTPS:10243, Domain:
gw.am.150.domain, Sub-domain:mgt, Active:true
{org.wso2.carbon.core.clustering.hazelcast.HazelcastClusteringAgent}
TID: [0] [AM] [2013-09-13 11:43:22,925]  INFO
{org.wso2.carbon.core.clustering.hazelcast.util.MemberUtils} -  Added
member: Host:192.168.18.17, Remote Host:null, Port: 4200, HTTP:10280,
HTTPS:10243, Domain: gw.am.150.domain, Sub-domain:mgt, Active:true
{org.wso2.carbon.core.clustering.hazelcast.util.MemberUtils}
TID: [0] [AM] [2013-09-13 11:43:24,123]  INFO
{org.wso2.carbon.core.clustering.hazelcast.HazelcastClusteringAgent} -
 Cluster initialization completed
{org.wso2.carbon.core.clustering.hazelcast.HazelcastClusteringAgent}



On Fri, Sep 13, 2013 at 12:26 PM, Chamara Ariyarathne chama...@wso2.comwrote:

 Note that this is not a full deplyoment. Only one APIM is fronted by ELB.

 But two passthrough transports for each http and https are opened in elb
 and Ports are mapped.

 axis2.xmls are attached.


 On Fri, Sep 13, 2013 at 12:22 PM, Chamara Ariyarathne 
 chama...@wso2.comwrote:

 ELB 2.1.0 10/09/2013 build
 http://10.100.1.185/packs/sep-10

 APIM RC2 12/09/2013
 http://builder3.us1.wso2.org/builds/chunk-02/N_12-09-13/AM/


 On Fri, Sep 13, 2013 at 11:46 AM, Amila Maha Arachchi ami...@wso2.comwrote:




 On Thu, Sep 12, 2013 at 11:03 PM, Chamara Ariyarathne chama...@wso2.com
  wrote:

 Why this comes when API M joins ELB. (ELB local member port 4000)

 [2013-09-12 17:31:35,189]  INFO - MemberUtils Added member:
 Host:127.0.0.1, Remote Host:null, Port: 4000, HTTP:-1, HTTPS:-1, Domain:
 null, Sub-domain:null, Active:true

 Is this harmless? What needs to be configured for this to work the
 correct way?


 With which products do you get this? 4.2.0 based products or pre-4.2.0
 products.


 --
 *Chamara Ariyarathne*
 Senior Software Engineer - QA;
 WSO2 Inc; http://www.wso2.com/.
 Mobile; *+94772786766*

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




 --
 *Amila Maharachchi*
 Senior Technical Lead
 WSO2, Inc.; http://wso2.com

 Blog: http://maharachchi.blogspot.com
 Mobile: +94719371446




 --
 *Chamara Ariyarathne*
 Senior Software Engineer - QA;
 WSO2 Inc; http://www.wso2.com/.
 Mobile; *+94772786766*




 --
 *Chamara Ariyarathne*
 Senior Software Engineer - QA;
 WSO2 Inc; http://www.wso2.com/.
 Mobile; *+94772786766*




-- 
*Chamara Ariyarathne*
Senior Software Engineer - QA;
WSO2 Inc; http://www.wso2.com/.
Mobile; *+94772786766*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] HTTP port -1 HTTPS port -1 ?

2013-09-12 Thread Chamara Ariyarathne
Okay..

But this information belongs to ELB right ?


On Thu, Sep 12, 2013 at 11:07 PM, Afkham Azeez az...@wso2.com wrote:

 No, this won't work. There are configuration problems. Depends on how you
 are setting up API-M. If you are setting up the store, gateway, publisher 
 key manager separately as different clusters, then you need to set the
 proper ports, and in the case of the gateway, you will need to set the
 port.mapping (
 http://nirmalfdo.blogspot.com/2013/09/why-i-need-portmapping-property-when.html)
 values as well.


 On Thu, Sep 12, 2013 at 11:03 PM, Chamara Ariyarathne 
 chama...@wso2.comwrote:

 Why this comes when API M joins ELB. (ELB local member port 4000)

 [2013-09-12 17:31:35,189]  INFO - MemberUtils Added member:
 Host:127.0.0.1, Remote Host:null, Port: 4000, HTTP:-1, HTTPS:-1, Domain:
 null, Sub-domain:null, Active:true

 Is this harmless? What needs to be configured for this to work the
 correct way?

 --
 *Chamara Ariyarathne*
 Senior Software Engineer - QA;
 WSO2 Inc; http://www.wso2.com/.
 Mobile; *+94772786766*




 --
 *Afkham Azeez*
 Director of Architecture; WSO2, Inc.; http://wso2.com
 Member; Apache Software Foundation; http://www.apache.org/
 * http://www.apache.org/**
 email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919
 blog: **http://blog.afkham.org* http://blog.afkham.org*
 twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez
 *
 linked-in: **http://lk.linkedin.com/in/afkhamazeez*
 *
 *
 *Lean . Enterprise . Middleware*




-- 
*Chamara Ariyarathne*
Senior Software Engineer - QA;
WSO2 Inc; http://www.wso2.com/.
Mobile; *+94772786766*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] HTTP port -1 HTTPS port -1 ?

2013-09-12 Thread Chamara Ariyarathne
Why this comes when API M joins ELB. (ELB local member port 4000)

[2013-09-12 17:31:35,189]  INFO - MemberUtils Added member: Host:127.0.0.1,
Remote Host:null, Port: 4000, HTTP:-1, HTTPS:-1, Domain: null,
Sub-domain:null, Active:true

Is this harmless? What needs to be configured for this to work the correct
way?

-- 
*Chamara Ariyarathne*
Senior Software Engineer - QA;
WSO2 Inc; http://www.wso2.com/.
Mobile; *+94772786766*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] IS configuration need to be done for SSO to work in API Manager

2013-09-10 Thread Chamara Ariyarathne
This configuration need to be done in API Manager side too to work some
scenarios. Created a doc jira.

https://wso2.org/jira/browse/APIMANAGER-1623


On Fri, Sep 6, 2013 at 10:13 PM, Nirdesha Munasinghe nirde...@wso2.comwrote:

 Thanks Sumedha.


 On Fri, Sep 6, 2013 at 8:16 PM, Sumedha Rubasinghe sume...@wso2.comwrote:

 Created a doc issue (https://wso2.org/jira/browse/DOCUMENTATION-285) to
 track.


 On Fri, Sep 6, 2013 at 3:12 PM, Chamara Ariyarathne chama...@wso2.comwrote:

 security/authenticators.xml:
 Parameter name=IdentityProviderSSOServiceURL
 https://localhost:9443/samlsso/Parameter

 as well.
 https://wso2.org/jira/browse/IDENTITY-1801


 On Fri, Sep 6, 2013 at 2:59 PM, Chamara Ariyarathne 
 chama...@wso2.comwrote:

 https://wso2.org/jira/browse/IDENTITY-1803 is a improvement suggested
 for IS.

 The configuration in the
 repository/conf/security/application-authenticators.xml

 Authenticators
 Authenticator name=BasicAuthenticator disabled=false
 factor=1
 Status value=10 loginPage=
 https://localhost:9443/authenticationendpoint/login.do; /
 /Authenticator
 /Authenticators

 need to be updated if IS is running on a different port. So this needs
 to go into the APIM docs here.

 http://docs.wso2.org/display/AM150/Single+Sign-on+with+SAML+2.0

 --
 *Chamara Ariyarathne*
 Senior Software Engineer - QA;
 WSO2 Inc; http://www.wso2.com/.
 Mobile; *+94772786766*




 --
 *Chamara Ariyarathne*
 Senior Software Engineer - QA;
 WSO2 Inc; http://www.wso2.com/.
 Mobile; *+94772786766*




 --
 /sumedha
 b :  bit.ly/sumedha




 --

 Thanks,

 Nirdesha Munasinghe,
 WSO2 Inc.
 Web:http://wso2.com

 Mobile: +94 776321920




-- 
*Chamara Ariyarathne*
Senior Software Engineer - QA;
WSO2 Inc; http://www.wso2.com/.
Mobile; *+94772786766*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Same configuration and description for Thrift Key Validation server host name is mentioned twice in api-manager.xml

2013-09-09 Thread Chamara Ariyarathne
https://wso2.org/jira/browse/APIMANAGER-1603

!--
Configurations related to enable thrift support for key-management
related communication.
If you want to switch back to Web Service Client, change the value
of KeyValidatorClientType to WSClient.
In a distributed environment;
-If you are at the Gateway node, you need to point
ThriftClientPort value to the ThriftServerPort value given at
KeyManager node.
-If you need to start two API Manager instances in the same
machine, you need to give different ports to ThriftServerPort value in
two nodes.
-ThriftServerHost - Allows to configure a hostname for the thrift
server. It uses the carbon hostname by default.
--

KeyValidatorClientTypeThriftClient/KeyValidatorClientType
ThriftClientPort10398/ThriftClientPort
ThriftClientConnectionTimeOut1/ThriftClientConnectionTimeOut
ThriftServerPort10398/ThriftServerPort
!--ThriftServerHostlocalhost/ThriftServerHost--
EnableThriftServertrue/EnableThriftServer
!--
   This parameter is used to specify Thrift server host name. In a
distributed deployment we must set this parameter
   if keymanager running on separate machine. Gateway use this
parameter to connect key validation thrift service
--
!--ThriftServerHost127.0.0.1/ThriftServerHost--


-- 
*Chamara Ariyarathne*
Senior Software Engineer - QA;
WSO2 Inc; http://www.wso2.com/.
Mobile; *+94772786766*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] IS configuration need to be done for SSO to work in API Manager

2013-09-06 Thread Chamara Ariyarathne
https://wso2.org/jira/browse/IDENTITY-1803 is a improvement suggested for
IS.

The configuration in the
repository/conf/security/application-authenticators.xml

Authenticators
Authenticator name=BasicAuthenticator disabled=false
factor=1
Status value=10 loginPage=
https://localhost:9443/authenticationendpoint/login.do; /
/Authenticator
/Authenticators

need to be updated if IS is running on a different port. So this needs to
go into the APIM docs here.

http://docs.wso2.org/display/AM150/Single+Sign-on+with+SAML+2.0

-- 
*Chamara Ariyarathne*
Senior Software Engineer - QA;
WSO2 Inc; http://www.wso2.com/.
Mobile; *+94772786766*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] IS configuration need to be done for SSO to work in API Manager

2013-09-06 Thread Chamara Ariyarathne
security/authenticators.xml:
Parameter name=IdentityProviderSSOServiceURL
https://localhost:9443/samlsso/Parameter

as well.
https://wso2.org/jira/browse/IDENTITY-1801


On Fri, Sep 6, 2013 at 2:59 PM, Chamara Ariyarathne chama...@wso2.comwrote:

 https://wso2.org/jira/browse/IDENTITY-1803 is a improvement suggested for
 IS.

 The configuration in the
 repository/conf/security/application-authenticators.xml

 Authenticators
 Authenticator name=BasicAuthenticator disabled=false
 factor=1
 Status value=10 loginPage=
 https://localhost:9443/authenticationendpoint/login.do; /
 /Authenticator
 /Authenticators

 need to be updated if IS is running on a different port. So this needs to
 go into the APIM docs here.

 http://docs.wso2.org/display/AM150/Single+Sign-on+with+SAML+2.0

 --
 *Chamara Ariyarathne*
 Senior Software Engineer - QA;
 WSO2 Inc; http://www.wso2.com/.
 Mobile; *+94772786766*




-- 
*Chamara Ariyarathne*
Senior Software Engineer - QA;
WSO2 Inc; http://www.wso2.com/.
Mobile; *+94772786766*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] For which port this WARN log comes when I start ELB in default ports 80/443

2013-08-29 Thread Chamara Ariyarathne
[2013-08-29 09:45:13,373]  INFO - PassThroughHttpSSLListener Starting
Pass-through HTTPS Listener...
[2013-08-29 09:45:13,386]  INFO - PassThroughHttpSSLListener Pass-through
HTTPS Listener started on 0:0:0:0:0:0:0:0:443
[2013-08-29 09:45:13,387]  INFO - PassThroughHttpListener Starting
Pass-through HTTP Listener...
[2013-08-29 09:45:13,391]  INFO - PassThroughHttpListener Pass-through HTTP
Listener started on 0.0.0.0:80
[2013-08-29 09:45:13,394]  WARN - PassThroughHttpListener System may be
unstable: HTTP ListeningIOReactor encountered a checked exception : Address
already in use
java.net.BindException: Address already in use
 at sun.nio.ch.Net.bind0(Native Method)
at sun.nio.ch.Net.bind(Net.java:444)
at sun.nio.ch.Net.bind(Net.java:436)
 at
sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:214)
at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74)
 at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:67)
at
org.apache.http.impl.nio.reactor.DefaultListeningIOReactor.processSessionRequests(DefaultListeningIOReactor.java:237)
 at
org.apache.http.impl.nio.reactor.DefaultListeningIOReactor.processEvents(DefaultListeningIOReactor.java:146)
at
org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor.execute(AbstractMultiworkerIOReactor.java:348)
 at
org.apache.synapse.transport.passthru.PassThroughHttpListener$4.run(PassThroughHttpListener.java:251)
at java.lang.Thread.run(Thread.java:724)


-- 
*Chamara Ariyarathne*
Senior Software Engineer - QA;
WSO2 Inc; http://www.wso2.com/.
Mobile; *+94772786766*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Question about WebContextRoot

2013-08-23 Thread Chamara Ariyarathne
Are we still encouraging users to use this?

carbon.xml:
!--
Webapp context root of WSO2 Carbon.
--
WebContextRoot/example/WebContextRoot


How about changing this in a load balanced worker manager cluster?
Have we thought about this in design and implementation stages?

I'm asking this since we need to know the significance of testing this in
such a deployment.


-- 
*Chamara Ariyarathne*
Senior Software Engineer - QA;
WSO2 Inc; http://www.wso2.com/.
Mobile; *+94772786766*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Question about WebContextRoot

2013-08-23 Thread Chamara Ariyarathne
Ping !


On Fri, Aug 23, 2013 at 5:26 PM, Chamara Ariyarathne chama...@wso2.comwrote:

 Are we still encouraging users to use this?

 carbon.xml:
 !--
 Webapp context root of WSO2 Carbon.
 --
 WebContextRoot/example/WebContextRoot


 How about changing this in a load balanced worker manager cluster?
 Have we thought about this in design and implementation stages?

 I'm asking this since we need to know the significance of testing this in
 such a deployment.


 --
 *Chamara Ariyarathne*
 Senior Software Engineer - QA;
 WSO2 Inc; http://www.wso2.com/.
 Mobile; *+94772786766*




-- 
*Chamara Ariyarathne*
Senior Software Engineer - QA;
WSO2 Inc; http://www.wso2.com/.
Mobile; *+94772786766*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] SAML2 Bearer Assertion Profile for OAuth 2.0 gives a Http 404 with the latest pack

2013-08-18 Thread Chamara Ariyarathne
%0Ac2FtbDpBdXRoblN0YXRlbWVudD48c2FtbDpBdHRyaWJ1dGVTdGF0ZW1lbnQ%2BPHNhbWw6QXR0cmli%0AdXRlPjxzYW1sOkF0dHJpYnV0ZVZhbHVlIHhtbG5zOnhzPSJodHRwOi8vd3d3LnczLm9yZy8yMDAx%0AL1hNTFNjaGVtYSIgeG1sbnM6eHNpPSJodHRwOi8vd3d3LnczLm9yZy8yMDAxL1hNTFNjaGVtYS1p%0AbnN0YW5jZSIgeHNpOnR5cGU9InhzOnN0cmluZyI%2BLzwvc2FtbDpBdHRyaWJ1dGVWYWx1ZT48L3Nh%0AbWw6QXR0cmlidXRlPjwvc2FtbDpBdHRyaWJ1dGVTdGF0ZW1lbnQ%2BPC9zYW1sOkFzc2VydGlvbj4%3D

[no cookies]

Request Headers:
Content-Length: 4611
Connection: keep-alive
Content-Type: application/x-www-form-urlencoded


-- 
*Chamara Ariyarathne*
Senior Software Engineer - QA;
WSO2 Inc; http://www.wso2.com/.
Mobile; *+94772786766*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] SAML2 based SSO example for Google Apps

2013-08-16 Thread Chamara Ariyarathne
Blog raised here;
http://blog.thilinamb.com/2010/04/saml-20-based-single-sign-on-with-wso2.html

Can I use this blogpost to tryout the SSO scenario with current Google Apps
design ?

-- 
*Chamara Ariyarathne*
Senior Software Engineer - QA;
WSO2 Inc; http://www.wso2.com/.
Mobile; *+94772786766*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Blocking issues with IS 9th august build

2013-08-09 Thread Chamara Ariyarathne
These are the blocking issues with IS user-core related scenarios right now.

Oracle UM
https://wso2.org/jira/browse/IDENTITY-1566

MSSQL UM and secondary user store
https://wso2.org/jira/browse/IDENTITY-1554
https://wso2.org/jira/browse/IDENTITY-1562
https://wso2.org/jira/browse/IDENTITY-1552

Informix
https://wso2.org/jira/browse/IDENTITY-1555




-- 
*Chamara Ariyarathne*
Senior Software Engineer - QA;
WSO2 Inc; http://www.wso2.com/.
Mobile; *+94772786766*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


  1   2   >