Re: [Dev] [VOTE] Release WSO2 BPS 3.5.0 RC2

2015-10-01 Thread Shiva Balachandran
HI All,

Tested the BPMN functionalites as well as the bpmn explorer. Looks amazing!

​
​
[+] Stable - go ahead and release

On Fri, Oct 2, 2015 at 1:10 AM, Hasitha Aravinda  wrote:

> Hi
>
> I have tested and Reviewed followings and found no issues.
>
>- INSTALL.txt
>- LICENSE.txt
>- README.txt
>- Tested Server start with MySQL -Dsetup.
>
> BPEL
>
>- Tested Correlation Scenario.
>- Tested Correlation Violation scenario.
>
> HumanTask
>
>- HumanTask creation and basic task commands : Claim, Suspend, Resume,
>Start, Complete, Skip, Fail, Delegate.
>- HumanTask coordination - Process termination and Task Skip scenario.
>
>- HumanTask Notification creation.
>
> BPMN
>
>- Tested Service Tasks, User Tasks, Parallel Gateway,  Exclusive
>Gateway processes.
>
>
> ​
> ​
> [+] Stable - go ahead and release
>
> ​Thanks,
> Hasitha.
>
>
> On Wed, Sep 30, 2015 at 11:03 AM, Firzhan Naqash  wrote:
>
>>
>> Hi Devs,
>>
>> *WSO2 BPS 3.5.0 RC2 Release Vote*
>>
>> This release fixes the following issues:
>> https://wso2.org/jira/browse/BPS-604?filter=12415
>>
>> Please download BPS 3.5.0 RC2 and test the functionality and vote. Vote
>> will be open for 72 hours or as needed.
>>
>> Binary distribution at:
>> http://svn.wso2.org/repos/wso2/people/firzhan/packs/bps/3.5.0/RC2/
>>
>> Maven staging repository:
>> http://maven.wso2.org/nexus/content/repositories/orgwso2bps-158/
>>
>> The tag to be voted upon :
>> https://github.com/wso2/product-bps/releases/tag/v3.5.0-RC2
>>
>>
>> [-] Broken - do not release (explain why)
>> ​​
>> [+] Stable - go ahead and release
>>
>> Thanks and Regards,
>> WSO2 BPS Team
>>
>>
>>
>> Regards,
>> Firzhan
>>
>>
>> --
>> *Firzhan Naqash*
>> Senior Software Engineer - Integration Platform Team
>> WSO2 Inc. http://wso2.com
>>
>> email: firz...@wso2.com 
>> mobile: (+94) 77 9785674 <%28%2B94%29%2071%205247551>*|
>> blog: http://firzhanblogger.blogspot.com/
>> <http://firzhanblogger.blogspot.com/>  <http://suhothayan.blogspot.com/>*
>> *twitter: https://twitter.com/firzhan007
>> <https://twitter.com/firzhan007> | linked-in: 
>> **https://www.linkedin.com/in/firzhan
>> <https://www.linkedin.com/in/firzhan>*
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> --
> Hasitha Aravinda,
> Senior Software Engineer,
> WSO2 Inc.
> Email: hasi...@wso2.com
> Mobile : +94 718 210 200
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Shiva Balachandran
Software Engineer
WSO2 Inc.

Mobile - +94 774445788
Blog - https://shivabalachandran.wordpress.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Accessing original file name from Smooks ESB Mediator

2015-08-25 Thread Shiva Balachandran
Hi Rudy,

AFAIK, we cannot use that property inside smooks, cause we only pass the
stream to the smooks mediator.

Thank you.

Regards,
Shiva Balachandran

On Tue, Aug 25, 2015 at 8:38 PM, Rudy Hilado 
wrote:

> Shiva,
>
> Yes, I can access the file name and put it into the property
> “Processing_File_Name”, but how can I access that property from within the
> Smooks mediator configuration (), particularly from
> within the  element?
>
>
>
> Thanks,
>
> - Rudy
>
>
>
>
>
> *From:* Shiva Balachandran [mailto:sh...@wso2.com]
> *Sent:* Tuesday, August 25, 2015 10:37 AM
> *To:* Rudy Hilado
> *Cc:* WSO2 Developers' List
> *Subject:* Re: [Dev] Accessing original file name from Smooks ESB Mediator
>
>
>
> Have you tried setting a property to capture the file name that's being
> processed?
>
>   expression=”get-property(‘transport’,’FILE_NAME’)”  type=”STRING”/>
>
>
>
> Check this link
> <https://shivabalachandran.wordpress.com/2015/08/06/quick-note-5-wso2-findout-access-lookup-identify-the-name-of-the-current-file-being-processed-by-the-vfs-listener/>
> .
>
>
>
>
>
> On Mon, Aug 24, 2015 at 11:21 PM, Rudy Hilado <
> rudy.hil...@centrihealth.com> wrote:
>
> Hello (I thought I’d post this again to see if anyone has some insight)
>
>
>
> In the WSO2 ESB, we are trying to process very large files and I’ve
> reviewed the online examples that explain the Smooks mediator should be
> used to split the larger file into smaller files. Using the smooks
> configuration , the output file name is defined in the
> . All the examples show the file name pattern derived
> using data from the record being processed.
>
>
>
> Is it possible to access the source file name?
>
>
>
> I need the split files to have a name that includes the original file name.
>
>
>
> (I’m beginning to suspect that, oddly, it’s not possible to access the
> original file name within Smooks)
>
>
>
> Thanks for any help,
>
> - Rudy
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>
>
>
>
> --
>
> Shiva Balachandran
>
> Software Engineer
>
> WSO2 Inc.
>
>
> Mobile - +94 774445788
>
> Blog - https://shivabalachandran.wordpress.com/
>



-- 
Shiva Balachandran
Software Engineer
WSO2 Inc.

Mobile - +94 774445788
Blog - https://shivabalachandran.wordpress.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Accessing original file name from Smooks ESB Mediator

2015-08-25 Thread Shiva Balachandran
Have you tried setting a property to capture the file name that's being
processed?

 

Check this link
<https://shivabalachandran.wordpress.com/2015/08/06/quick-note-5-wso2-findout-access-lookup-identify-the-name-of-the-current-file-being-processed-by-the-vfs-listener/>
.


On Mon, Aug 24, 2015 at 11:21 PM, Rudy Hilado 
wrote:

> Hello (I thought I’d post this again to see if anyone has some insight)
>
>
>
> In the WSO2 ESB, we are trying to process very large files and I’ve
> reviewed the online examples that explain the Smooks mediator should be
> used to split the larger file into smaller files. Using the smooks
> configuration , the output file name is defined in the
> . All the examples show the file name pattern derived
> using data from the record being processed.
>
>
>
> Is it possible to access the source file name?
>
>
>
> I need the split files to have a name that includes the original file name.
>
>
>
> (I’m beginning to suspect that, oddly, it’s not possible to access the
> original file name within Smooks)
>
>
>
> Thanks for any help,
>
> - Rudy
>
> _______
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Shiva Balachandran
Software Engineer
WSO2 Inc.

Mobile - +94 774445788
Blog - https://shivabalachandran.wordpress.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Setting JAVA_HOME in Solaris 11

2015-07-02 Thread Shiva Balachandran
Hi All,

The blog shared by Vinod worked. Looks like we have to set it in .profile
file.

Thank you for the help.

Regards,

Shiva Balachandran

On Thu, Jul 2, 2015 at 7:45 PM, Milan Perera  wrote:

> Hi Shiva,
>
> First try *java -version* command and see you still get the version as
> the 1.7. If it is yes, that means you may have some
> simlinks in your /usr/bin for java, javac that are still linked to jdk 1.7.
>
> So remove these links first and then try to setup $JAVA_HOME environment
> variable and add $JAVA_HOME/bin to $PATH variable.
>
> Regards,
>
> On Thu, Jul 2, 2015 at 5:33 PM, Viraj Senevirathne 
> wrote:
>
>> Hi,
>>
>> check out this link [1] which have relevant information on the topic.It
>> says that when you install JDK-6 and JDK-7 is already installed, the
>> /usr/java links will continue to point to the JDK with the higher major
>> version. So if you want to set jdk 1.6 follow this link [2].
>>
>> [1] https://blogs.oracle.com/taylor22/entry/java_home_on_solaris_11
>>
>> [2] https://docs.oracle.com/cd/E36784_01/html/E36802/gnztu.html
>>
>> Thanks,
>>
>> On Thu, Jul 2, 2015 at 5:14 PM, Shiva Balachandran 
>> wrote:
>>
>>> Hi All,
>>>
>>> Im trying to setup and run WSO2 APIM on Solaris, I am unable to
>>> configure JAVA HOME. The OS comes with JRE 1.7.0. Therefore i tried
>>> launching the server without specifying the JAVA_HOME in .bashrc, but i get
>>> the error, JAVA_HOME Not defined.
>>>
>>> Then, downloaded JDK 1.6.45 and extracted the pack and set the
>>> $JAVA_HOME in .bashrc, and still i get the same error after sourcing and
>>> restarting the VM.
>>>
>>> Anyone configured and run WSO2 products on Solris 11? Need to know the
>>> right way to set the JAVA_HOME.
>>>
>>> Thank you.
>>>
>>> Regards,
>>> --
>>> Shiva Balachandran
>>> Software Engineer
>>> WSO2 Inc.
>>>
>>> Mobile - +94 774445788
>>> Blog - https://shivabalachandran.wordpress.com/
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Viraj Senevirathne
>> Software Engineer; WSO2, Inc.
>>
>> Mobile : +94 71 818 4742 <%2B94%20%280%29%20773%20451194>
>> Email : vir...@wso2.com 
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Milan Harindu Perera
> Software Engineer
> *WSO2, Inc*
> (+94) 77 309 7088
> lean . enterprise . middleware
> <http://lk.linkedin.com/in/milanharinduperera>
>



-- 
Shiva Balachandran
Software Engineer
WSO2 Inc.

Mobile - +94 774445788
Blog - https://shivabalachandran.wordpress.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Setting JAVA_HOME in Solaris 11

2015-07-02 Thread Shiva Balachandran
Hi All,

Im trying to setup and run WSO2 APIM on Solaris, I am unable to configure
JAVA HOME. The OS comes with JRE 1.7.0. Therefore i tried launching the
server without specifying the JAVA_HOME in .bashrc, but i get the error,
JAVA_HOME Not defined.

Then, downloaded JDK 1.6.45 and extracted the pack and set the $JAVA_HOME
in .bashrc, and still i get the same error after sourcing and restarting
the VM.

Anyone configured and run WSO2 products on Solris 11? Need to know the
right way to set the JAVA_HOME.

Thank you.

Regards,
-- 
Shiva Balachandran
Software Engineer
WSO2 Inc.

Mobile - +94 774445788
Blog - https://shivabalachandran.wordpress.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Damith Wickramasinghe

2015-06-14 Thread Shiva Balachandran
Congrats Damith! :)

On Mon, Jun 15, 2015 at 10:45 AM, Dilan Udara Ariyaratne 
wrote:

> Congratulations, Damith !!!
>
>
> *Dilan U. Ariyaratne*
> Software Engineer
> WSO2 Inc. <http://wso2.com/>
> Mobile: +94775149066
> lean . enterprise . middleware
>
> On Mon, Jun 15, 2015 at 10:23 AM, Harsha Kumara  wrote:
>
>> Congratulations Damith!
>>
>> On Mon, Jun 15, 2015 at 9:05 AM, Thilini Cooray 
>> wrote:
>>
>>> Congratulations, Damith!
>>>
>>> On Mon, Jun 15, 2015 at 8:45 AM, Vinuri Perera  wrote:
>>>
>>>> Congrats Damith !
>>>>
>>>> On Mon, Jun 15, 2015 at 8:29 AM, Ramindu De Silva 
>>>> wrote:
>>>>
>>>>> Congratulations damith :)
>>>>>
>>>>> On Sun, Jun 14, 2015 at 4:56 PM, Kasun Bandara 
>>>>> wrote:
>>>>>
>>>>>> Congratulations Damith !
>>>>>>
>>>>>> On Sun, Jun 14, 2015 at 4:32 PM, Sriskandarajah Suhothayan <
>>>>>> s...@wso2.com> wrote:
>>>>>>
>>>>>>> Hi all,
>>>>>>>
>>>>>>> Its my pleasure to welcome Damith Wickramasinghe as a
>>>>>>> WSO2 Committer. Damith is a member of WSO2 CEP team and he has done a 
>>>>>>> great
>>>>>>> contribution to WSO2 CEP and has shown great enthusiasm in his work 
>>>>>>> both in
>>>>>>> development and Geo related CEP effort. In recognition of his 
>>>>>>> contribution,
>>>>>>> he has been voted as a WSO2 Committer a month back.
>>>>>>>
>>>>>>> Damith, welcome aboard and keep up the good work, and sorry for
>>>>>>> delaying this mail.
>>>>>>>
>>>>>>> Regards,
>>>>>>> Suho.
>>>>>>>
>>>>>>> --
>>>>>>>
>>>>>>> *S. Suhothayan*
>>>>>>> Technical Lead & Team Lead of WSO2 Complex Event Processor
>>>>>>>  *WSO2 Inc. *http://wso2.com
>>>>>>> * <http://wso2.com/>*
>>>>>>> lean . enterprise . middleware
>>>>>>>
>>>>>>>
>>>>>>> *cell: (+94) 779 756 757 <%28%2B94%29%20779%20756%20757> | blog:
>>>>>>> http://suhothayan.blogspot.com/ 
>>>>>>> <http://suhothayan.blogspot.com/>twitter:
>>>>>>> http://twitter.com/suhothayan <http://twitter.com/suhothayan> | 
>>>>>>> linked-in:
>>>>>>> http://lk.linkedin.com/in/suhothayan 
>>>>>>> <http://lk.linkedin.com/in/suhothayan>*
>>>>>>>
>>>>>>> ___
>>>>>>> Dev mailing list
>>>>>>> Dev@wso2.org
>>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Kasun Bandara
>>>>>> *Software Engineer*
>>>>>> Mobile : +94 (0) 718 338 360
>>>>>> <%2B94%20%280%29%20773%20451194>
>>>>>> kas...@wso2.com 
>>>>>>
>>>>>> ___
>>>>>> Dev mailing list
>>>>>> Dev@wso2.org
>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> *Ramindu De Silva*
>>>>> Software Engineer
>>>>> WSO2 Inc.: http://wso2.com
>>>>> lean.enterprise.middleware
>>>>>
>>>>> email: ramin...@wso2.com 
>>>>> mob: +94 772339350
>>>>> mob: +94 782731766
>>>>>
>>>>> ___
>>>>> Dev mailing list
>>>>> Dev@wso2.org
>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Vinuri Perera
>>>> Software Engineer | WSO2 Inc
>>>>
>>>> M : 0711518805
>>>>
>>>>
>>>> ___
>>>> Dev mailing list
>>>> Dev@wso2.org
>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>
>>>>
>>>
>>>
>>> --
>>> Best Regards,
>>>
>>> *Thilini Cooray*
>>> Software Engineer
>>> Mobile : +94 (0) 774 570 112 <%2B94%20%280%29%20773%20451194>
>>> E-mail : thili...@wso2.com
>>>
>>> WSO2 Inc. www.wso2.com
>>> lean.enterprise.middleware
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Harsha Kumara
>> Software Engineer, WSO2 Inc.
>> Mobile: +94775505618
>> Blog:harshcreationz.blogspot.com
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Shiva Balachandran
Software Engineer
WSO2 Inc.

Mobile - +94 774445788
Blog - https://shivabalachandran.wordpress.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Sam Sivayogam

2015-06-14 Thread Shiva Balachandran
gt;>>>>>>>>
>>>>>>>>>
>>>>>>>>> ___
>>>>>>>>> Dev mailing list
>>>>>>>>> Dev@wso2.org
>>>>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>>
>>>>>>>> Vimalanathan Rajeevan
>>>>>>>> Software Engineer
>>>>>>>> WSO2 Inc.:http://wso2.com
>>>>>>>> lean.enterprise.middleware
>>>>>>>>
>>>>>>>>
>>>>>>>> Mobile : +94 773090875
>>>>>>>>
>>>>>>>> ___
>>>>>>>> Dev mailing list
>>>>>>>> Dev@wso2.org
>>>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> Best Regards,
>>>>>>>
>>>>>>> *Thilini Cooray*
>>>>>>> Software Engineer
>>>>>>> Mobile : +94 (0) 774 570 112 <%2B94%20%280%29%20773%20451194>
>>>>>>> E-mail : thili...@wso2.com
>>>>>>>
>>>>>>> WSO2 Inc. www.wso2.com
>>>>>>> lean.enterprise.middleware
>>>>>>>
>>>>>>> ___
>>>>>>> Dev mailing list
>>>>>>> Dev@wso2.org
>>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> *Senduran *
>>>>>> Software Engineer,
>>>>>> WSO2, Inc.;  http://wso2.com/ <http://wso2.com/>
>>>>>> Mobile: +94 77 952 6548
>>>>>>
>>>>>> ___
>>>>>> Dev mailing list
>>>>>> Dev@wso2.org
>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>
>>>>>>
>>>>>
>>>>> ___
>>>>> Dev mailing list
>>>>> Dev@wso2.org
>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> *S.Elilmatha*
>>>> Associate  Software Engineer,
>>>>
>>>> WSO2 Inc.; http://wso2.com
>>>> lean.enterprise.middleware
>>>>
>>>> Mobile 0779842221.
>>>>
>>>>
>>>> ___
>>>> Dev mailing list
>>>> Dev@wso2.org
>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>
>>>>
>>>
>>>
>>> --
>>> Thanks & Regards,
>>>
>>> *Chamalee De Silva*
>>> Software Engineer
>>> *WS**O2* Inc. .:http://wso2.com
>>> lean *.* enterprise *.* middleware
>>>
>>> Office   :- *+94 11 2145345 <%2B94%2011%202145345>*
>>> mobile  :- *+94 7 <%2B94%2077%202782039>1 4315942*
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Harsha Kumara
>> Software Engineer, WSO2 Inc.
>> Mobile: +94775505618
>> Blog:harshcreationz.blogspot.com
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Shiva Balachandran
Software Engineer
WSO2 Inc.

Mobile - +94 774445788
Blog - https://shivabalachandran.wordpress.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Review and Merge PR

2015-05-27 Thread Shiva Balachandran
Hi,

Please review and merge PR[1] for JIRA[2].

[1] - https://github.com/wso2/carbon-business-process/pull/58
[2] - https://wso2.org/jira/browse/BPS-656


Thank you.

Regards,
-- 
Shiva Balachandran
Software Engineer
WSO2 Inc.

Mobile - +94 774445788
Blog - https://shivabalachandran.wordpress.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Review and Merge PR

2015-05-27 Thread Shiva Balachandran
On Wed, May 27, 2015 at 5:10 PM, Shiva Balachandran  wrote:

> Hi,
>
> Please review and merge PR[1] for JIRA[2].
>
> [1] - https://github.com/wso2/carbon-business-process/pull/58
> [2] - https://wso2.org/jira/browse/BPS-656
>
>
> Thank you.
>
> Regards,
> --
> Shiva Balachandran
> Software Engineer
> WSO2 Inc.
>
> Mobile - +94 774445788
> Blog - https://shivabalachandran.wordpress.com/
>



-- 
Shiva Balachandran
Software Engineer
WSO2 Inc.

Mobile - +94 774445788
Blog - https://shivabalachandran.wordpress.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Himasha Guruge

2015-05-26 Thread Shiva Balachandran
Congrats and Good Luck Himasha! :)

On Wed, May 27, 2015 at 11:41 AM, Maheeka Jayasuriya 
wrote:

> Congratulations Himasha !!!
>
> Maheeka Jayasuriya
> Software Engineer
> Mobile : +9450661
>
> On Wed, May 27, 2015 at 11:40 AM, Madhuranga Bandara 
> wrote:
>
>> Congratulations !!!
>>
>>
>> *Madhuranga Sampath Bandara*
>> Software Engineer
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
> _______
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Shiva Balachandran
Software Engineer
WSO2 Inc.

Mobile - +94 774445788
Blog - https://shivabalachandran.wordpress.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Displaying claimable user tasks in BPMN explorer

2015-05-19 Thread Shiva Balachandran
Hi All,

I have completed the UI, the issue at hand is that we are unable to
retrieve the tasks that are assigned with candidateUser. We are currently
retrieving the tasks for candidateGroups. As per our offline discussion
Amal, i changed the activiti version to 5.17 and built the product, still
the issue persists.

I tried debugging with the Activiti source code but the debug points are
not hit>

Thank you.

Regards,
Shiva Balachandran


On Fri, May 15, 2015 at 11:51 AM, Shiva Balachandran  wrote:

> Hi Chathura, Amal,
>
> I have created the Claimable Task View. Should we create another view for
> the task similar to inbox task view where the user can view the task
> information before claiming, or shall we just add another button to the
> claimable task view to claim the task. Currently i'm displaying the task id
> and the task name in the claimable task view. I have attached a screenshot
> of the view.
>
> Thank you.
> Regards,
> Shiva Balachandran
>
> On Thu, May 14, 2015 at 5:04 PM, Shiva Balachandran 
> wrote:
>
>> Hi All,
>>
>> I got the candidateGroups working. The url query parameter
>> "candidateUser" throws the following error[1].
>>
>> [1] - {"errorMessage":"The server encountered an unexpected condition
>> which prevented it from fulfilling the request","statusCode":500}
>>
>> Thank you.
>>
>> Regards,
>> Shiva Balachandran
>>
>>
>> On Thu, May 14, 2015 at 3:44 PM, Shiva Balachandran 
>> wrote:
>>
>>> Hi Amal,
>>>
>>> I tried out the above. The issue with the above is that the url
>>> parameter is wrong. it should be candidateUser, when we use candidateUsers,
>>> this returns all tasks, hence the json reponse we got. When i use the
>>> correct urlParameter i get the following error[1].
>>>
>>> Also, I tried with candidateGroup and candidateGroups, this too didnt
>>> work, no response was populated. I tried invoking through soapUI as well.
>>>
>>> i have attached herewith the model class for the claimable task.
>>>
>>> I have finished with the UI, just need to populate the claimable task, i
>>> was thinking of re-using the re-assign button in the inbox view to claim
>>> the task as the functionality is the same. Let me know if that is okay or
>>> should we re write a specific block for to claim a task.
>>>
>>> [1] - {"errorMessage":"The server encountered an unexpected condition
>>> which prevented it from fulfilling the request","statusCode":500}
>>>
>>> Thank you.
>>>
>>> Regards, Shiva Balachandran
>>>
>>> On Tue, May 12, 2015 at 7:32 PM, Amal Gunatilake  wrote:
>>>
>>>> Hi Shiva,
>>>>
>>>> Send the request with the parameter candidateUsers:
>>>> https://locaohst:9443/bpmn/runtime/tasks?candidateUsers=kermit
>>>>
>>>> More info regarding the parameters are mentioned in the Activiti user
>>>> guide under "*Table 111. List of tasks - URL query parameters*"
>>>> http://www.activiti.org/userguide/#_tasks_2
>>>>
>>>> Regards,
>>>> Amal
>>>>
>>>> On Tue, May 12, 2015 at 6:36 PM, Shiva Balachandran 
>>>> wrote:
>>>>
>>>>> Hi All,
>>>>>
>>>>> I deployed a process containing user tasks with candidate users and
>>>>> cadidate groups. Once i deployed these processes in the server, i created
>>>>> instances of the task. I used the rest API to check if the task are 
>>>>> created
>>>>> and i noticed that the json returned doesn't have the candidate properties
>>>>> specified in the process. Without these properties we cannot differentiate
>>>>> or address these task to a user, these will be hidden. I have attached the
>>>>> .bar file and the json response from the server for the request[1]. This
>>>>> would be the reason for JIRA[2].
>>>>>
>>>>> We need to identify as to why these properties are not listed or
>>>>> ignored.
>>>>>
>>>>> [1] - http://localhost:9763/bpmn/runtime/tasks
>>>>> [2] - https://wso2.org/jira/browse/BPS-656
>>>>>
>>>>> Thank you.
>>>>>
>>>>> Regards,
>>>>> Shiva Balachandran
>>>>>
>>>>> On Tue, May 12, 2015 at 11:32 AM, Amal Gunatilake 
>>>>> wrote:
>

[Dev] Please Review and Merge

2015-05-19 Thread Shiva Balachandran
Hi,

The fix for the JIRA[1] is in the latest commit in PR[2]. Please review and
merge.

[1] - https://wso2.org/jira/browse/BPS-659
[2] - https://github.com/wso2/product-bps/pull/31

Thank you.

Regards,
-- 
Shiva Balachandran
Software Engineer
WSO2 Inc.

Mobile - +94 774445788
Blog - https://shivabalachandran.wordpress.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Vishanth Balasubramaniam

2015-05-17 Thread Shiva Balachandran
ubramaniam as a
>>>>>>>>>>>>>> WSO2 Committer.
>>>>>>>>>>>>>> > Vishanth, welcome aboard and keep up the good work!
>>>>>>>>>>>>>> >
>>>>>>>>>>>>>> > Thanks
>>>>>>>>>>>>>> >
>>>>>>>>>>>>>> > --
>>>>>>>>>>>>>> > Imesh Gunaratne
>>>>>>>>>>>>>> > Senior Technical Lead
>>>>>>>>>>>>>> > WSO2 Inc: http://wso2.com
>>>>>>>>>>>>>> > T: +94 11 214 5345 M: +94 77 374 2057
>>>>>>>>>>>>>> > W: http://imesh.gunaratne.org
>>>>>>>>>>>>>> > Lean . Enterprise . Middleware
>>>>>>>>>>>>>> >
>>>>>>>>>>>>>> >
>>>>>>>>>>>>>> > ___
>>>>>>>>>>>>>> > Dev mailing list
>>>>>>>>>>>>>> > Dev@wso2.org
>>>>>>>>>>>>>> > http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>>>>>>>>> >
>>>>>>>>>>>>>> ___
>>>>>>>>>>>>>> Dev mailing list
>>>>>>>>>>>>>> Dev@wso2.org
>>>>>>>>>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> --
>>>>>>>>>>>>> Thusitha Dayaratne
>>>>>>>>>>>>> Software Engineer
>>>>>>>>>>>>> WSO2 Inc. - lean . enterprise . middleware |  wso2.com
>>>>>>>>>>>>>
>>>>>>>>>>>>> Mobile  +94712756809
>>>>>>>>>>>>> Blog  alokayasoya.blogspot.com
>>>>>>>>>>>>> Abouthttp://about.me/thusithathilina
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> ___
>>>>>>>>>>>>> Dev mailing list
>>>>>>>>>>>>> Dev@wso2.org
>>>>>>>>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> --
>>>>>>>>>>>> Harsha Kumara
>>>>>>>>>>>> Software Engineer, WSO2 Inc.
>>>>>>>>>>>> Mobile: +94775505618
>>>>>>>>>>>> Blog:harshcreationz.blogspot.com
>>>>>>>>>>>>
>>>>>>>>>>>> ___
>>>>>>>>>>>> Dev mailing list
>>>>>>>>>>>> Dev@wso2.org
>>>>>>>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> --
>>>>>>>>>>> Software Engineer
>>>>>>>>>>> WSO2 Inc.; http://wso2.com
>>>>>>>>>>> <http://www.google.com/url?q=http%3A%2F%2Fwso2.com&sa=D&sntz=1&usg=AFQjCNEZvyc0uMD1HhBaEGCBxs6e9fBObg>
>>>>>>>>>>> lean.enterprise.middleware
>>>>>>>>>>>
>>>>>>>>>>> mobile: *+94728671315 <%2B94728671315>*
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> ___
>>>>>>>>>>> Dev mailing list
>>>>>>>>>>> Dev@wso2.org
>>>>>>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> --
>>>>>>>>>> Prasanna Dangalla
>>>>>>>>>> Software Engineer, WSO2, Inc.; http://wso2.com/
>>>>>>>>>> lean.enterprise.middleware
>>>>>>>>>>
>>>>>>>>>> cell: +94 777 55 80 30 | +94 718 11 27 51
>>>>>>>>>> twitter: @prasa77
>>>>>>>>>>
>>>>>>>>>> ___
>>>>>>>>>> Dev mailing list
>>>>>>>>>> Dev@wso2.org
>>>>>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>> ___
>>>>>>>>> Dev mailing list
>>>>>>>>> Dev@wso2.org
>>>>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> Viraj Senevirathne
>>>>>>>> Software Engineer; WSO2, Inc.
>>>>>>>>
>>>>>>>> Mobile : +94 71 818 4742 <%2B94%20%280%29%20773%20451194>
>>>>>>>> Email : vir...@wso2.com 
>>>>>>>>
>>>>>>>> ___
>>>>>>>> Dev mailing list
>>>>>>>> Dev@wso2.org
>>>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> Thanks & Regards,
>>>>>>>
>>>>>>> *Chamalee De Silva*
>>>>>>> Software Engineer
>>>>>>> *WS**O2* Inc. .:http://wso2.com
>>>>>>> lean *.* enterprise *.* middleware
>>>>>>>
>>>>>>> Office   :- *+94 11 2145345 <%2B94%2011%202145345>*
>>>>>>> mobile  :- *+94 7 <%2B94%2077%202782039>1 1540738*
>>>>>>>
>>>>>>> ___
>>>>>>> Dev mailing list
>>>>>>> Dev@wso2.org
>>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Malith Munasinghe | Software Engineer
>>>>>> M: +94 (071) 9401122
>>>>>> E: mali...@wso2.com
>>>>>> W: http://wso2.com
>>>>>>
>>>>>> ___
>>>>>> Dev mailing list
>>>>>> Dev@wso2.org
>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Best Regards,
>>>>>
>>>>> *Thilini Cooray*
>>>>> Software Engineer
>>>>> Mobile : +94 (0) 774 570 112 <%2B94%20%280%29%20773%20451194>
>>>>> E-mail : thili...@wso2.com
>>>>>
>>>>> WSO2 Inc. www.wso2.com
>>>>> lean.enterprise.middleware
>>>>>
>>>>> ___
>>>>> Dev mailing list
>>>>> Dev@wso2.org
>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> *Jerad Rutnam*
>>>> *Software Engineer*
>>>>
>>>> WSO2 Inc.
>>>> lean | enterprise | middleware
>>>> M : +94 77 959 1609 | E : je...@wso2.com | W : www.wso2.com
>>>>
>>>> ___
>>>> Dev mailing list
>>>> Dev@wso2.org
>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>
>>>>
>>>
>>>
>>> --
>>> Vijitha Ekanayake
>>> Software Engineer*, *WSO2, Inc.; http://wso2.com/
>>> Mobile : +94 777 24 73 39 | +94 718 74 44 08
>>> lean.enterprise.middleware
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Kasun Bandara
>> *Software Engineer*
>> Mobile : +94 (0) 718 338 360
>> <%2B94%20%280%29%20773%20451194>
>> kas...@wso2.com 
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Shiva Balachandran
Software Engineer
WSO2 Inc.

Mobile - +94 774445788
Blog - https://shivabalachandran.wordpress.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Displaying claimable user tasks in BPMN explorer

2015-05-14 Thread Shiva Balachandran
Hi All,

I got the candidateGroups working. The url query parameter "candidateUser"
throws the following error[1].

[1] - {"errorMessage":"The server encountered an unexpected condition which
prevented it from fulfilling the request","statusCode":500}

Thank you.

Regards,
Shiva Balachandran


On Thu, May 14, 2015 at 3:44 PM, Shiva Balachandran  wrote:

> Hi Amal,
>
> I tried out the above. The issue with the above is that the url parameter
> is wrong. it should be candidateUser, when we use candidateUsers, this
> returns all tasks, hence the json reponse we got. When i use the correct
> urlParameter i get the following error[1].
>
> Also, I tried with candidateGroup and candidateGroups, this too didnt
> work, no response was populated. I tried invoking through soapUI as well.
>
> i have attached herewith the model class for the claimable task.
>
> I have finished with the UI, just need to populate the claimable task, i
> was thinking of re-using the re-assign button in the inbox view to claim
> the task as the functionality is the same. Let me know if that is okay or
> should we re write a specific block for to claim a task.
>
> [1] - {"errorMessage":"The server encountered an unexpected condition
> which prevented it from fulfilling the request","statusCode":500}
>
> Thank you.
>
> Regards, Shiva Balachandran
>
> On Tue, May 12, 2015 at 7:32 PM, Amal Gunatilake  wrote:
>
>> Hi Shiva,
>>
>> Send the request with the parameter candidateUsers:
>> https://locaohst:9443/bpmn/runtime/tasks?candidateUsers=kermit
>>
>> More info regarding the parameters are mentioned in the Activiti user
>> guide under "*Table 111. List of tasks - URL query parameters*"
>> http://www.activiti.org/userguide/#_tasks_2
>>
>> Regards,
>> Amal
>>
>> On Tue, May 12, 2015 at 6:36 PM, Shiva Balachandran 
>> wrote:
>>
>>> Hi All,
>>>
>>> I deployed a process containing user tasks with candidate users and
>>> cadidate groups. Once i deployed these processes in the server, i created
>>> instances of the task. I used the rest API to check if the task are created
>>> and i noticed that the json returned doesn't have the candidate properties
>>> specified in the process. Without these properties we cannot differentiate
>>> or address these task to a user, these will be hidden. I have attached the
>>> .bar file and the json response from the server for the request[1]. This
>>> would be the reason for JIRA[2].
>>>
>>> We need to identify as to why these properties are not listed or ignored.
>>>
>>> [1] - http://localhost:9763/bpmn/runtime/tasks
>>> [2] - https://wso2.org/jira/browse/BPS-656
>>>
>>> Thank you.
>>>
>>> Regards,
>>> Shiva Balachandran
>>>
>>> On Tue, May 12, 2015 at 11:32 AM, Amal Gunatilake 
>>> wrote:
>>>
>>>> Hi Shiva,
>>>>
>>>> I have created a sample icon that matches with the existing icons which
>>>> can be used for the new "Claimable tasks" tab.
>>>>
>>>> Best regards,
>>>> Amal.
>>>>
>>>> On Tue, May 12, 2015 at 11:29 AM, Shiva Balachandran 
>>>> wrote:
>>>>
>>>>> Hi Firzhan,
>>>>>
>>>>> The tab we currently have is My Tasks view only, we will be
>>>>> introducing the claimable tasks tab for the above mentioned requirement.
>>>>> The queued and involved tabs are what is present in the acitviti explorer
>>>>> from activiti.
>>>>>
>>>>> Thank you.
>>>>>
>>>>> Regards,
>>>>> Shiva Balachandran
>>>>>
>>>>> On Tue, May 12, 2015 at 11:22 AM, Firzhan Naqash 
>>>>> wrote:
>>>>>
>>>>>> Hi All,
>>>>>>
>>>>>> Just for clarification, if we are going to move the claimable tasks
>>>>>> to a separate tab, then we will be utilising the both involved and
>>>>>> claimable tabs.
>>>>>>
>>>>>> Can I know the necessity of using queued tab in this scenario.
>>>>>>
>>>>>>
>>>>>> Regards,
>>>>>> Firzhan
>>>>>>
>>>>>> On Tue, May 12, 2015 at 12:40 AM, Shiva Balachandran 
>>>>>> wrote:
>>>>>>
>>>>>>> Hi Amal,
>>>>>>>
&

Re: [Dev] Displaying claimable user tasks in BPMN explorer

2015-05-14 Thread Shiva Balachandran
Hi Amal,

I tried out the above. The issue with the above is that the url parameter
is wrong. it should be candidateUser, when we use candidateUsers, this
returns all tasks, hence the json reponse we got. When i use the correct
urlParameter i get the following error[1].

Also, I tried with candidateGroup and candidateGroups, this too didnt work,
no response was populated. I tried invoking through soapUI as well.

i have attached herewith the model class for the claimable task.

I have finished with the UI, just need to populate the claimable task, i
was thinking of re-using the re-assign button in the inbox view to claim
the task as the functionality is the same. Let me know if that is okay or
should we re write a specific block for to claim a task.

[1] - {"errorMessage":"The server encountered an unexpected condition which
prevented it from fulfilling the request","statusCode":500}

Thank you.

Regards, Shiva Balachandran

On Tue, May 12, 2015 at 7:32 PM, Amal Gunatilake  wrote:

> Hi Shiva,
>
> Send the request with the parameter candidateUsers:
> https://locaohst:9443/bpmn/runtime/tasks?candidateUsers=kermit
>
> More info regarding the parameters are mentioned in the Activiti user
> guide under "*Table 111. List of tasks - URL query parameters*"
> http://www.activiti.org/userguide/#_tasks_2
>
> Regards,
> Amal
>
> On Tue, May 12, 2015 at 6:36 PM, Shiva Balachandran 
> wrote:
>
>> Hi All,
>>
>> I deployed a process containing user tasks with candidate users and
>> cadidate groups. Once i deployed these processes in the server, i created
>> instances of the task. I used the rest API to check if the task are created
>> and i noticed that the json returned doesn't have the candidate properties
>> specified in the process. Without these properties we cannot differentiate
>> or address these task to a user, these will be hidden. I have attached the
>> .bar file and the json response from the server for the request[1]. This
>> would be the reason for JIRA[2].
>>
>> We need to identify as to why these properties are not listed or ignored.
>>
>> [1] - http://localhost:9763/bpmn/runtime/tasks
>> [2] - https://wso2.org/jira/browse/BPS-656
>>
>> Thank you.
>>
>> Regards,
>> Shiva Balachandran
>>
>> On Tue, May 12, 2015 at 11:32 AM, Amal Gunatilake  wrote:
>>
>>> Hi Shiva,
>>>
>>> I have created a sample icon that matches with the existing icons which
>>> can be used for the new "Claimable tasks" tab.
>>>
>>> Best regards,
>>> Amal.
>>>
>>> On Tue, May 12, 2015 at 11:29 AM, Shiva Balachandran 
>>> wrote:
>>>
>>>> Hi Firzhan,
>>>>
>>>> The tab we currently have is My Tasks view only, we will be introducing
>>>> the claimable tasks tab for the above mentioned requirement. The queued and
>>>> involved tabs are what is present in the acitviti explorer from activiti.
>>>>
>>>> Thank you.
>>>>
>>>> Regards,
>>>> Shiva Balachandran
>>>>
>>>> On Tue, May 12, 2015 at 11:22 AM, Firzhan Naqash 
>>>> wrote:
>>>>
>>>>> Hi All,
>>>>>
>>>>> Just for clarification, if we are going to move the claimable tasks to
>>>>> a separate tab, then we will be utilising the both involved and claimable
>>>>> tabs.
>>>>>
>>>>> Can I know the necessity of using queued tab in this scenario.
>>>>>
>>>>>
>>>>> Regards,
>>>>> Firzhan
>>>>>
>>>>> On Tue, May 12, 2015 at 12:40 AM, Shiva Balachandran 
>>>>> wrote:
>>>>>
>>>>>> Hi Amal,
>>>>>>
>>>>>> Also, to add to that, i just deployed a process with tasks containing
>>>>>> candidate users and a candidate group. The users cannot see these tasks
>>>>>> listed anywhere in the BPMN Explorer. I checked the backend the explorer
>>>>>> has the necessary jag code to populate these in the My Tasks view, will
>>>>>> debug further. JIRA[1] has been created previously to track this.
>>>>>>
>>>>>> [1] - https://wso2.org/jira/browse/BPS-656
>>>>>>
>>>>>> I will work on this.
>>>>>>
>>>>>> Thank you.
>>>>>>
>>>>>> Regards,
>>>>>> Shiva Balachandran
>>>>>>
>>

Re: [Dev] Displaying claimable user tasks in BPMN explorer

2015-05-12 Thread Shiva Balachandran
Hi All,

I deployed a process containing user tasks with candidate users and
cadidate groups. Once i deployed these processes in the server, i created
instances of the task. I used the rest API to check if the task are created
and i noticed that the json returned doesn't have the candidate properties
specified in the process. Without these properties we cannot differentiate
or address these task to a user, these will be hidden. I have attached the
.bar file and the json response from the server for the request[1]. This
would be the reason for JIRA[2].

We need to identify as to why these properties are not listed or ignored.

[1] - http://localhost:9763/bpmn/runtime/tasks
[2] - https://wso2.org/jira/browse/BPS-656

Thank you.

Regards,
Shiva Balachandran

On Tue, May 12, 2015 at 11:32 AM, Amal Gunatilake  wrote:

> Hi Shiva,
>
> I have created a sample icon that matches with the existing icons which
> can be used for the new "Claimable tasks" tab.
>
> Best regards,
> Amal.
>
> On Tue, May 12, 2015 at 11:29 AM, Shiva Balachandran 
> wrote:
>
>> Hi Firzhan,
>>
>> The tab we currently have is My Tasks view only, we will be introducing
>> the claimable tasks tab for the above mentioned requirement. The queued and
>> involved tabs are what is present in the acitviti explorer from activiti.
>>
>> Thank you.
>>
>> Regards,
>> Shiva Balachandran
>>
>> On Tue, May 12, 2015 at 11:22 AM, Firzhan Naqash 
>> wrote:
>>
>>> Hi All,
>>>
>>> Just for clarification, if we are going to move the claimable tasks to a
>>> separate tab, then we will be utilising the both involved and claimable
>>> tabs.
>>>
>>> Can I know the necessity of using queued tab in this scenario.
>>>
>>>
>>> Regards,
>>> Firzhan
>>>
>>> On Tue, May 12, 2015 at 12:40 AM, Shiva Balachandran 
>>> wrote:
>>>
>>>> Hi Amal,
>>>>
>>>> Also, to add to that, i just deployed a process with tasks containing
>>>> candidate users and a candidate group. The users cannot see these tasks
>>>> listed anywhere in the BPMN Explorer. I checked the backend the explorer
>>>> has the necessary jag code to populate these in the My Tasks view, will
>>>> debug further. JIRA[1] has been created previously to track this.
>>>>
>>>> [1] - https://wso2.org/jira/browse/BPS-656
>>>>
>>>> I will work on this.
>>>>
>>>> Thank you.
>>>>
>>>> Regards,
>>>> Shiva Balachandran
>>>>
>>>>
>>>>
>>>> On Tue, May 12, 2015 at 11:00 AM, Amal Gunatilake 
>>>> wrote:
>>>>
>>>>> Hi Chathura,
>>>>>
>>>>> Yes, I too think having a separate tab for claimable tasks is a better
>>>>> approach. Shall we call it the "Claimable tasks" tab?
>>>>> To keep in track I created a jira ticket for this :
>>>>> https://wso2.org/jira/browse/BPS-660
>>>>>
>>>>> Best regards,
>>>>> Amal.
>>>>>
>>>>> On Tue, May 12, 2015 at 10:41 AM, Chathura Ekanayake <
>>>>> chath...@wso2.com> wrote:
>>>>>
>>>>>> Hi Amal,
>>>>>>
>>>>>> Currently the BPMN explorer displays only the tasks "assigned" to the
>>>>>> logged in user. But it does not display tasks if the current user is a
>>>>>> candidate user or in a candidate group. Did we plan to implement this in
>>>>>> the explorer?
>>>>>>
>>>>>> I think we should have a separate tab for claimable tasks, which
>>>>>> shows tasks assigned to both candidate user and candidate group. WDYT?
>>>>>>
>>>>>> Regards,
>>>>>> Chathura
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> *Amal Gunatilake*
>>>>>  Software Engineer
>>>>> WSO2 Inc.; http://wso2.com
>>>>> lean.enterprise.middleware
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Shiva Balachandran
>>>> Software Engineer
>>>> WSO2 Inc.
>>>>
>>>> Mobile - +94 774445788
>>>> Blog - https://shivabalachandran.wordpress.com/
>>>>
>>>> ___
>>>> Dev mailing list
>>

Re: [Dev] Displaying claimable user tasks in BPMN explorer

2015-05-11 Thread Shiva Balachandran
Hi Firzhan,

The tab we currently have is My Tasks view only, we will be introducing the
claimable tasks tab for the above mentioned requirement. The queued and
involved tabs are what is present in the acitviti explorer from activiti.

Thank you.

Regards,
Shiva Balachandran

On Tue, May 12, 2015 at 11:22 AM, Firzhan Naqash  wrote:

> Hi All,
>
> Just for clarification, if we are going to move the claimable tasks to a
> separate tab, then we will be utilising the both involved and claimable
> tabs.
>
> Can I know the necessity of using queued tab in this scenario.
>
>
> Regards,
> Firzhan
>
> On Tue, May 12, 2015 at 12:40 AM, Shiva Balachandran 
> wrote:
>
>> Hi Amal,
>>
>> Also, to add to that, i just deployed a process with tasks containing
>> candidate users and a candidate group. The users cannot see these tasks
>> listed anywhere in the BPMN Explorer. I checked the backend the explorer
>> has the necessary jag code to populate these in the My Tasks view, will
>> debug further. JIRA[1] has been created previously to track this.
>>
>> [1] - https://wso2.org/jira/browse/BPS-656
>>
>> I will work on this.
>>
>> Thank you.
>>
>> Regards,
>> Shiva Balachandran
>>
>>
>>
>> On Tue, May 12, 2015 at 11:00 AM, Amal Gunatilake  wrote:
>>
>>> Hi Chathura,
>>>
>>> Yes, I too think having a separate tab for claimable tasks is a better
>>> approach. Shall we call it the "Claimable tasks" tab?
>>> To keep in track I created a jira ticket for this :
>>> https://wso2.org/jira/browse/BPS-660
>>>
>>> Best regards,
>>> Amal.
>>>
>>> On Tue, May 12, 2015 at 10:41 AM, Chathura Ekanayake 
>>> wrote:
>>>
>>>> Hi Amal,
>>>>
>>>> Currently the BPMN explorer displays only the tasks "assigned" to the
>>>> logged in user. But it does not display tasks if the current user is a
>>>> candidate user or in a candidate group. Did we plan to implement this in
>>>> the explorer?
>>>>
>>>> I think we should have a separate tab for claimable tasks, which shows
>>>> tasks assigned to both candidate user and candidate group. WDYT?
>>>>
>>>> Regards,
>>>> Chathura
>>>>
>>>
>>>
>>>
>>> --
>>> *Amal Gunatilake*
>>>  Software Engineer
>>> WSO2 Inc.; http://wso2.com
>>> lean.enterprise.middleware
>>>
>>
>>
>>
>> --
>> Shiva Balachandran
>> Software Engineer
>> WSO2 Inc.
>>
>> Mobile - +94 774445788
>> Blog - https://shivabalachandran.wordpress.com/
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>


-- 
Shiva Balachandran
Software Engineer
WSO2 Inc.

Mobile - +94 774445788
Blog - https://shivabalachandran.wordpress.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Displaying claimable user tasks in BPMN explorer

2015-05-11 Thread Shiva Balachandran
Hi Amal,

Also, to add to that, i just deployed a process with tasks containing
candidate users and a candidate group. The users cannot see these tasks
listed anywhere in the BPMN Explorer. I checked the backend the explorer
has the necessary jag code to populate these in the My Tasks view, will
debug further. JIRA[1] has been created previously to track this.

[1] - https://wso2.org/jira/browse/BPS-656

I will work on this.

Thank you.

Regards,
Shiva Balachandran



On Tue, May 12, 2015 at 11:00 AM, Amal Gunatilake  wrote:

> Hi Chathura,
>
> Yes, I too think having a separate tab for claimable tasks is a better
> approach. Shall we call it the "Claimable tasks" tab?
> To keep in track I created a jira ticket for this :
> https://wso2.org/jira/browse/BPS-660
>
> Best regards,
> Amal.
>
> On Tue, May 12, 2015 at 10:41 AM, Chathura Ekanayake 
> wrote:
>
>> Hi Amal,
>>
>> Currently the BPMN explorer displays only the tasks "assigned" to the
>> logged in user. But it does not display tasks if the current user is a
>> candidate user or in a candidate group. Did we plan to implement this in
>> the explorer?
>>
>> I think we should have a separate tab for claimable tasks, which shows
>> tasks assigned to both candidate user and candidate group. WDYT?
>>
>> Regards,
>> Chathura
>>
>
>
>
> --
> *Amal Gunatilake*
>  Software Engineer
> WSO2 Inc.; http://wso2.com
> lean.enterprise.middleware
>



-- 
Shiva Balachandran
Software Engineer
WSO2 Inc.

Mobile - +94 774445788
Blog - https://shivabalachandran.wordpress.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Displaying claimable user tasks in BPMN explorer

2015-05-11 Thread Shiva Balachandran
Hi All,

Currently the Activiti Explorer, has the tabs, Inbox, My Task, Queued,
Involved and Archived. The task which are assigned to the user is displayed
in the My Tasks and those in which he has been set as a candidate user or
if he is a part of the group with has been set as the candidate group, it
is displayed under involved, which he can claim and complete.

+1, to implement a separate claimable task tab in the BPMN Explorer to
display tasks assigned to both candidate user and candidate group.

Thank you.

Regards,
Shiva Balachandran

On Tue, May 12, 2015 at 10:41 AM, Chathura Ekanayake 
wrote:

> Hi Amal,
>
> Currently the BPMN explorer displays only the tasks "assigned" to the
> logged in user. But it does not display tasks if the current user is a
> candidate user or in a candidate group. Did we plan to implement this in
> the explorer?
>
> I think we should have a separate tab for claimable tasks, which shows
> tasks assigned to both candidate user and candidate group. WDYT?
>
> Regards,
> Chathura
>



-- 
Shiva Balachandran
Software Engineer
WSO2 Inc.

Mobile - +94 774445788
Blog - https://shivabalachandran.wordpress.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [BPS] Please review and merge the PR

2015-05-11 Thread Shiva Balachandran
Hi,

Please review and merge the PR[1] for JIRA [2]. Find the respective
documentation amendments in JIRA[3].

[1] - https://github.com/wso2/carbon-business-process/pull/43
[2] - https://wso2.org/jira/browse/BPS-473
[3] - https://wso2.org/jira/browse/DOCUMENTATION-1704


-- 
Shiva Balachandran
Software Engineer
WSO2 Inc.

Mobile - +94 774445788
Blog - https://shivabalachandran.wordpress.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Integration test Error

2015-05-06 Thread Shiva Balachandran
Hi Vanil,

The error message states of invalid transports. Please check this mail
thread[1]. Also, please check if your configuration if you made any on the
axis2 files is correct.

[1] - http://mail.wso2.org/mailarchive/dev/2012-March/001991.html

Thank you.

Regards,
Shiva Balachandran

On Wed, May 6, 2015 at 4:09 PM, Vanii Thiyagarajah  wrote:

> When I am running the integration test of billiving connector I got
> following error I have attached the error log . Can you please give any
> suggestions on this ?
>
> [2015-05-06 15:35:34,603] ERROR {org.apache.sandesha2.SandeshaModule} -
>  Could not load module policies. Using default values.
> [2015-05-06 15:35:34,603] ERROR {org.apache.sandesha2.SandeshaModule} -
>  Could not load module policies. Using default values.
> [2015-05-06 15:35:34,900]  INFO
> {org.apache.synapse.transport.nhttp.HttpCoreNIOSender} -  HTTP Sender
> starting
> [2015-05-06 15:35:34,900]  INFO
> {org.apache.synapse.transport.nhttp.HttpCoreNIOSender} -  HTTP Sender
> starting
> [2015-05-06 15:35:34,924]  INFO
> {org.wso2.carbon.automation.core.utils.axis2serverutils.SampleAxis2Server}
> -  Starting sample Axis2 server
> [2015-05-06 15:35:34,967]  INFO
> {org.apache.synapse.transport.nhttp.HttpCoreNIOListener} -  HTTP Listener
> started on 0:0:0:0:0:0:0:0:9000
> [2015-05-06 15:35:34,967]  INFO
> {org.apache.synapse.transport.nhttp.HttpCoreNIOListener} -  HTTP Listener
> started on 0:0:0:0:0:0:0:0:9000
> [2015-05-06 15:35:36,967]  INFO
> {org.wso2.carbon.automation.core.PlatformExecutionManager} -  Deploying
> services..
> [2015-05-06 15:35:36,984]  WARN
> {org.apache.axis2.deployment.ServiceBuilder} -  Service [ DataSourceAdmin]
> is trying to expose in a transport : https and which is not available in
> Axis2
> [2015-05-06 15:35:36,984]  WARN
> {org.apache.axis2.deployment.ServiceBuilder} -  Service [ DataSourceAdmin]
> is trying to expose in a transport : https and which is not available in
> Axis2
> [2015-05-06 15:35:36,999] ERROR
> {org.wso2.carbon.automation.core.PlatformExecutionManager} -  Unable to
> start servers
> org.apache.axis2.deployment.DeploymentException: Service [DataSourceAdmin]
> is trying expose in tranpsorts: 
> https
>  and which is/are not available in Axis2
> at
> org.apache.axis2.deployment.DeploymentEngine.loadServiceGroup(DeploymentEngine.java:1324)
> at
> org.wso2.carbon.automation.core.utils.axis2serverutils.SampleAxis2Server.deployService(SampleAxis2Server.java:132)
> at
> org.wso2.carbon.automation.core.PlatformExecutionManager.startSimpleAxis2Server(PlatformExecutionManager.java:230)
> at
> org.wso2.carbon.automation.core.PlatformExecutionManager.startSevers(PlatformExecutionManager.java:190)
> at
> org.wso2.carbon.automation.core.PlatformExecutionManager.onExecutionStart(PlatformExecutionManager.java:76)
> at org.testng.TestNG.runExecutionListeners(TestNG.java:1032)
> at org.testng.TestNG.run(TestNG.java:983)
> at
> org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:178)
> at
> org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:92)
> at
> org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:96)
> 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:606)
> at
> org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
> at
> org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
> at
> org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
> at
> org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
> at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)
> Caused by: org.apache.axis2.deployment.DeploymentException: Service
> [DataSourceAdmin] is trying expose in tranpsorts: 
> https
>  and which is/are not available in Axis2
> at
> org.apache.axis2.deployment.ServiceGroupBuilder.populateServiceGroup(ServiceGroupBuilder.java:106)
> at
> org.apache.axis2.deployment.repository.util.ArchiveReader.buildServiceGroup(ArchiveReader.java:109)
> at
> org.apache.axis2.deployment.DeploymentEngine.loadServiceGroup(DeploymentEngine.java:1317)
> ... 18 more
> Caused by: org.apache.axis2.deployment.DeploymentException: Service
> [DataSourceAdmin] is trying expose in tranpsorts: 
> https
>  and which is/are not available in Axis2
> at
> org.apache.axis2.de

Re: [Dev] API Manager 1.9.0: Publisher profile throws a "java.lang.ClassNotFoundException" exception.

2015-05-06 Thread Shiva Balachandran
Hi Sewmini,

What are you fronting this cluster with? WSO2 ELB? Also, what was the order
of the start up?

Thank you.

Regards,
Shiva Balachandran

On Wed, May 6, 2015 at 3:23 PM, Sewmini Jayaweera  wrote:

> Hi All,
>
> While setting up a distributed setup [1],
> "java.lang.ClassNotFoundException" was observed when starting the publisher
> node given "-Dprofile=api-publisher". Please refer to the [2] issue
> reported.
>
> [1]. https://docs.wso2.com/display/CLUSTER420/Clustering+API+Manager
> [2]. https://wso2.org/jira/browse/APIMANAGER-3518
>
>
> Thanks & Regards,
> Sewmini
>
> Sewmini Jayaweera
> *Software Engineer - QA Team*
> Mobile: +94 (0) 773 381 250
> sewm...@wso2.com
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Shiva Balachandran
Software Engineer
WSO2 Inc.

Mobile - +94 774445788
Blog - https://shivabalachandran.wordpress.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Prasanna Dangalla

2015-04-16 Thread Shiva Balachandran
ws.apache.org/
>>>>>>>>>>>>>>>>>>>>> Linkedin; http://www.linkedin.com/in/ssagara
>>>>>>>>>>>>>>>>>>>>> Blog ;  http://ssagara.blogspot.com
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> ___
>>>>>>>>>>>>>>>>>>>>> Dev mailing list
>>>>>>>>>>>>>>>>>>>>> Dev@wso2.org
>>>>>>>>>>>>>>>>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> ___
>>>>>>>>>>>>>>>>>>>> Dev mailing list
>>>>>>>>>>>>>>>>>>>> Dev@wso2.org
>>>>>>>>>>>>>>>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>> *Rajith Siriwardana*
>>>>>>>>>>>>>>>>>>> Software Engineer | WSO2 Cloud
>>>>>>>>>>>>>>>>>>> WSO2 Inc. | http://wso2.com
>>>>>>>>>>>>>>>>>>> *lean. enterprise. middleware*
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> ---
>>>>>>>>>>>>>>>>>>> *http://people.apache.org/~siriwardana
>>>>>>>>>>>>>>>>>>> <http://people.apache.org/~siriwardana>*
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> 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, re-transmit, 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.
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> ___
>>>>>>>>>>>>>>>>>>> Dev mailing list
>>>>>>>>>>>>>>>>>>> Dev@wso2.org
>>>>>>>>>>>>>>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>> Harsha Kumara
>>>>>>>>>>>>>>>>>> Software Engineer, WSO2 Inc.
>>>>>>>>>>>>>>>>>> Mobile: +94775505618
>>>>>>>>>>>>>>>>>> Blog:harshcreationz.blogspot.com
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> ___
>>>>>>>>>>>>>>>>>> Dev mailing list
>>>>>>>>>>>>>>>>>> Dev@wso2.org
>>>>>>>>>>>>>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>> *CD Athuraliya*
>>>>>>>>>>>>>>>>> Software Engineer
>>>>>>>>>>>>>>>>> WSO2, Inc.
>>>>>>>>>>>>>>>>> lean . enterprise . middleware
>>>>>>>>>>>>>>>>> Mobile: +94 716288847 <94716288847>
>>>>>>>>>>>>>>>>> LinkedIn <http://lk.linkedin.com/in/cdathuraliya> |
>>>>>>>>>>>>>>>>> Twitter <https://twitter.com/cdathuraliya> | Blog
>>>>>>>>>>>>>>>>> <http://cdathuraliya.tumblr.com/>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> ___
>>>>>>>>>>>>>>>>> Dev mailing list
>>>>>>>>>>>>>>>>> Dev@wso2.org
>>>>>>>>>>>>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>> Lasitha Wattaladeniya
>>>>>>>>>>>>>>>> Software Engineer
>>>>>>>>>>>>>>>> WSO2, Inc. | http://wso2.com
>>>>>>>>>>>>>>>> lean. enterprise. middleware
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Mobile : +94719397528
>>>>>>>>>>>>>>>> Blog : techreadme.blogspot.com
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> ___
>>>>>>>>>>>>>>>> Dev mailing list
>>>>>>>>>>>>>>>> Dev@wso2.org
>>>>>>>>>>>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>> Pulasthi Supun
>>>>>>>>>>>>>>> Software Engineer; WSO2 Inc.; http://wso2.com,
>>>>>>>>>>>>>>> Email: pulas...@wso2.com
>>>>>>>>>>>>>>> Mobile: +94 (71) 9258281
>>>>>>>>>>>>>>> Blog : http://pulasthisupun.blogspot.com/
>>>>>>>>>>>>>>> Git hub profile: https://github.com/pulasthi
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> ___
>>>>>>>>>>>>>>> Dev mailing list
>>>>>>>>>>>>>>> Dev@wso2.org
>>>>>>>>>>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> --
>>>>>>>>>>>>>> Thanks and Regards
>>>>>>>>>>>>>> *,Shani Ranasinghe*
>>>>>>>>>>>>>> Software Engineer
>>>>>>>>>>>>>> WSO2 Inc.; http://wso2.com
>>>>>>>>>>>>>> lean.enterprise.middleware
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> mobile: +94 77 2273555
>>>>>>>>>>>>>> linked in: lk.linkedin.com/pub/shani-ranasinghe/34/111/ab
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> ___
>>>>>>>>>>>>>> Dev mailing list
>>>>>>>>>>>>>> Dev@wso2.org
>>>>>>>>>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> --
>>>>>>>>>>>>> *Sam Sivayogam*
>>>>>>>>>>>>>
>>>>>>>>>>>>> Software Engineer
>>>>>>>>>>>>> Mobile  : +94 772 906 439
>>>>>>>>>>>>> Office   : +94 112 145 345
>>>>>>>>>>>>> *WSO2, Inc. :** wso2.com <http://wso2.com/>*
>>>>>>>>>>>>> lean.enterprise.middleware.
>>>>>>>>>>>>>
>>>>>>>>>>>>> ___
>>>>>>>>>>>>> Dev mailing list
>>>>>>>>>>>>> Dev@wso2.org
>>>>>>>>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> --
>>>>>>>>>>>> Regards,
>>>>>>>>>>>>
>>>>>>>>>>>> Waruna Lakshitha Jayaweera
>>>>>>>>>>>> Software Engineer
>>>>>>>>>>>> WSO2 Inc; http://wso2.com
>>>>>>>>>>>> phone: +94713255198
>>>>>>>>>>>>
>>>>>>>>>>>> ___
>>>>>>>>>>>> Dev mailing list
>>>>>>>>>>>> Dev@wso2.org
>>>>>>>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> ___
>>>>>>>>>>> Dev mailing list
>>>>>>>>>>> Dev@wso2.org
>>>>>>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> --
>>>>>>>>>> Chamin Dias
>>>>>>>>>> *Software Engineer*
>>>>>>>>>> Mobile : +94 (0) 716 097455 <%2B94%20%280%29%20773%20451194>
>>>>>>>>>> cham...@wso2.com
>>>>>>>>>>
>>>>>>>>>> ___
>>>>>>>>>> Dev mailing list
>>>>>>>>>> Dev@wso2.org
>>>>>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>> ___
>>>>>>>>> Dev mailing list
>>>>>>>>> Dev@wso2.org
>>>>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>> ___
>>>>>>>> Dev mailing list
>>>>>>>> Dev@wso2.org
>>>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> Denuwanthi De Silva
>>>>>>> Software Engineer;
>>>>>>> WSO2 Inc.; http://wso2.com,
>>>>>>> Email: denuwan...@wso2.com
>>>>>>> Blog: https://denuwanthi.wordpress.com/
>>>>>>>
>>>>>>> ___
>>>>>>> Dev mailing list
>>>>>>> Dev@wso2.org
>>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>>
>>>>>> Chamalee De Silva
>>>>>>
>>>>>> Software Engineer | WSO2
>>>>>>
>>>>>> E:chama...@wso2.com
>>>>>> M :0711540738| http://wso2.com <http://wso2.com/>
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Prasanna Dangalla
>>>>> Software Engineer, WSO2, Inc.; http://wso2.com/
>>>>> lean.enterprise.middleware
>>>>>
>>>>> cell: +94 777 55 80 30 | +94 718 11 27 51
>>>>> twitter: @prasa77
>>>>>
>>>>> ___
>>>>> Dev mailing list
>>>>> Dev@wso2.org
>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Cheers,
>>>>
>>>> Hasitha Amal De Silva
>>>>  Software Engineer
>>>> Mobile : 0772037426
>>>> Blog: http://devnutshell.tumblr.com/
>>>> WSO2 Inc.: http://wso2.com ( lean.enterprise.middleware. )
>>>>
>>>> ___
>>>> Dev mailing list
>>>> Dev@wso2.org
>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>
>>>>
>>>
>>>
>>> --
>>> With Regards,
>>>
>>> *Rasika Perera*
>>> Software Engineer
>>> M: +94 71 680 9060 E: rasi...@wso2.com
>>> LinkedIn: http://lk.linkedin.com/in/rasika90
>>>
>>> WSO2 Inc. www.wso2.com
>>> lean.enterprise.middleware
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Hasintha Indrajee
>> Software Engineer
>> WSO2, Inc.
>> Mobile:+94 771892453
>>
>>
>
> --
> Isura Dilhara Karunaratne
> Software Engineer
>
> Mob +94 772 254 810
>
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Shiva Balachandran
Software Engineer
WSO2 Inc.

Mobile - +94 774445788
Blog - https://shivabalachandran.wordpress.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Dilan Ariyaratne

2015-04-16 Thread Shiva Balachandran
Congrats Dilan :)

On Fri, Apr 10, 2015 at 3:44 PM, Prabath Abeysekera 
wrote:

> Hi Everyone,
>
> It's my pleasure to welcome Dilan Ariyaratne as a WSO2 Committer. Dilan
> has been part of some key development efforts of MDM as well as EMM over
> the last couple of months. In recognition of all his contributions, he's
> been voted as a WSO2 comitter.
>
> Dilan, Welcome aboard and keep up the good work!
>
>
> Cheers,
> Prabath
>
>
> --
> Prabath Abeysekara
> Associate Technical Lead, Data TG.
> WSO2 Inc.
> Email: praba...@wso2.com
> Mobile: +94774171471
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Shiva Balachandran
Software Engineer
WSO2 Inc.

Mobile - +94 774445788
Blog - https://shivabalachandran.wordpress.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Hemika Kodikara

2015-03-22 Thread Shiva Balachandran
Congrats Bro! :)



On Mon, Mar 23, 2015 at 10:34 AM, Indunil Upeksha Rathnayake
 wrote:
> Congratz Hemika!!! :)
>
> Regards
> --
> Indunil Upeksha Rathnayake
> Software Engineer | WSO2 Inc
> Emailindu...@wso2.com
> Mobile  +94713695179
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>



-- 
Shiva Balachandran
Software Engineer
WSO2 Inc.

Mobile - +94 774445788
Blog - https://shivabalachandran.wordpress.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Smooks Configuration : ObjectSerializer argument 'object' is null.

2015-03-10 Thread Shiva Balachandran
Hi Malith,

I have pointed the input and output as specified but new version does not
have CApp, its ESB config file. Plus, i still get that error.

Thanks,
Shiva

On Thu, Mar 5, 2015 at 11:28 PM, Malith Dhanushka  wrote:

> Hi Shiva,
>
> In Developer Studio you should point the input and output schema xmls in
> the editor wizard accordingly as mentioned in the article. Then when you
> use that smooks configuration in ESB, point the input and output schema
> xmls through smooks mediator[1].
>
> [1] https://docs.wso2.com/display/ESB480/Smooks+Mediator
>
> Thanks,
> Malith
>
> On Thu, Mar 5, 2015 at 9:07 AM, Shiva Balachandran  wrote:
>
>> Looping in Lakmali.
>>
>> On Thu, Mar 5, 2015 at 11:20 AM, Shiva Balachandran 
>> wrote:
>>
>>> Hi Malith,
>>>
>>> I come across this issue [1] when i used the smooks configuration. Can
>>> you explain to me where should i place the input.xml and the output.xml and
>>> related files?
>>>
>>>
>>>
>>> [1] - 2015-03-04 16:03:59,244] ERROR - SmooksMediator Failed to filter
>>> source.
>>> org.milyn.SmooksException: Failed to filter source.
>>> at
>>> org.milyn.delivery.sax.SmooksSAXFilter.doFilter(SmooksSAXFilter.java:
>>> 86)
>>> at
>>> org.milyn.delivery.sax.SmooksSAXFilter.doFilter(SmooksSAXFilter.java:
>>> 61)
>>> at org.milyn.Smooks._filter(Smooks.java:516)
>>> at org.milyn.Smooks.filterSource(Smooks.java:475)
>>> at
>>> org.wso2.carbon.mediator.transform.SmooksMediator.mediate(SmooksMedia
>>> tor.java:123)
>>> at
>>> org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractLis
>>> tMediator.java:77)
>>> at
>>> org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractLis
>>> tMediator.java:47)
>>> at
>>> org.apache.synapse.mediators.base.SequenceMediator.mediate(SequenceMe
>>> diator.java:131)
>>> at
>>> org.apache.synapse.core.axis2.ProxyServiceMessageReceiver.receive(Pro
>>> xyServiceMessageReceiver.java:166)
>>> at
>>> org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:180)
>>> at
>>> org.apache.synapse.transport.passthru.ServerWorker.processEntityEnclo
>>> singRequest(ServerWorker.java:411)
>>> at
>>> org.apache.synapse.transport.passthru.ServerWorker.run(ServerWorker.j
>>> ava:183)
>>> at
>>> org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(Native
>>> WorkerPool.java:172)
>>> at
>>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.
>>> java:1145)
>>> at
>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
>>> .java:615)
>>> at java.lang.Thread.run(Thread.java:745)
>>> Caused by: java.lang.IllegalArgumentException: prefix cannot be "null"
>>> when crea
>>> ting a QName
>>> at javax.xml.namespace.QName.(QName.java:251)
>>> at
>>> com.sun.xml.internal.stream.events.XMLEventAllocatorImpl.getQName(XML
>>> EventAllocatorImpl.java:254)
>>> at
>>> com.sun.xml.internal.stream.events.XMLEventAllocatorImpl.getXMLEvent(
>>> XMLEventAllocatorImpl.java:76)
>>> at
>>> com.sun.xml.internal.stream.events.XMLEventAllocatorImpl.allocate(XML
>>> EventAllocatorImpl.java:53)
>>> at
>>> com.sun.xml.internal.stream.XMLEventReaderImpl.nextEvent(XMLEventRead
>>> erImpl.java:84)
>>> at
>>> com.sun.xml.internal.stream.XMLEventReaderImpl.next(XMLEventReaderImp
>>> l.java:248)
>>> at
>>> org.wso2.carbon.mediator.transform.stream.IOElementPipe.populateEvent
>>> s(IOElementPipe.java:90)
>>> at
>>> org.wso2.carbon.mediator.transform.stream.IOElementPipe.getData(IOEle
>>> mentPipe.java:68)
>>> at
>>> org.wso2.carbon.mediator.transform.stream.ElementInputStream.read(Ele
>>> mentInputStream.java:61)
>>> at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:283)
>>> at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:325)
>>> at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:177)
>>> at java.io.InputStreamReader.read(InputStreamReader.java:184)
>>> at org.apache.xerces.impl.XMLEntityScanner.load(Unknown Source)
>>> at org.apache.

Re: [Dev] [Announce] WSO2 Committers += Dulitha Wijewantha

2015-03-09 Thread Shiva Balachandran
>>>> Hi all,
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> It is with great pleasure that WSO2 welcomes Dulitha
>>>>>>>>>>>>>>> Wijewantha as a WSO2 committer!
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Congratulations!
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>> ​​
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> *Sameera Perera*
>>>>>>>>>>>>>>> Director of Engineering
>>>>>>>>>>>>>>> gtalk: samee...@wso2.com
>>>>>>>>>>>>>>> Tel : 94 11 214 5345
>>>>>>>>>>>>>>> Fax :94 11 2145300
>>>>>>>>>>>>>>> *WSO2, Inc.* <http://wso2.com/>
>>>>>>>>>>>>>>> lean.enterprise.middleware
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> ___
>>>>>>>>>>>>>>> Dev mailing list
>>>>>>>>>>>>>>> Dev@wso2.org
>>>>>>>>>>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> ___
>>>>>>>>>>>>>> Dev mailing list
>>>>>>>>>>>>>> Dev@wso2.org
>>>>>>>>>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> ___
>>>>>>>>>>>>> Dev mailing list
>>>>>>>>>>>>> Dev@wso2.org
>>>>>>>>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> --
>>>>>>>>>>>> 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
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> --
>>>>>>>>>>> Harsha Kumara
>>>>>>>>>>> Software Engineer, WSO2 Inc.
>>>>>>>>>>> Mobile: +94775505618
>>>>>>>>>>> Blog:harshcreationz.blogspot.com
>>>>>>>>>>>
>>>>>>>>>>> ___
>>>>>>>>>>> Dev mailing list
>>>>>>>>>>> Dev@wso2.org
>>>>>>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> --
>>>>>>>>>> Inosh Perera
>>>>>>>>>> Software Engineer, WSO2 Inc.
>>>>>>>>>> Tel: 0785293686
>>>>>>>>>>
>>>>>>>>>> ___
>>>>>>>>>> Dev mailing list
>>>>>>>>>> Dev@wso2.org
>>>>>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>> ___
>>>>>>>>> Dev mailing list
>>>>>>>>> Dev@wso2.org
>>>>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> Software Engineer
>>>>>>>> WSO2 Inc.; http://wso2.com
>>>>>>>> <http://www.google.com/url?q=http%3A%2F%2Fwso2.com&sa=D&sntz=1&usg=AFQjCNEZvyc0uMD1HhBaEGCBxs6e9fBObg>
>>>>>>>> lean.enterprise.middleware
>>>>>>>>
>>>>>>>> mobile: *+94728671315 <%2B94728671315>*
>>>>>>>>
>>>>>>>>
>>>>>>>> ___
>>>>>>>> Dev mailing list
>>>>>>>> Dev@wso2.org
>>>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> 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>*
>>>>>>>
>>>>>>> ___
>>>>>>> Dev mailing list
>>>>>>> Dev@wso2.org
>>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Best Regards,
>>>>>>
>>>>>> Kalpa Welivitigoda
>>>>>> Software Engineer, WSO2 Inc. http://wso2.com
>>>>>> Email: kal...@wso2.com
>>>>>> Mobile: +94776509215
>>>>>>
>>>>>> ___
>>>>>> Dev mailing list
>>>>>> Dev@wso2.org
>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Isuruwan Herath
>>>>> Technical Lead
>>>>>
>>>>> Contact: +94 776 273 296
>>>>>
>>>>> ___
>>>>> Dev mailing list
>>>>> Dev@wso2.org
>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>>
>>>> *Tharik Kanaka* | Associate Software Engineer
>>>>
>>>> WSO2, Inc |#20, Palm Grove, Colombo 03, Sri Lanka
>>>>
>>>> Email: tha...@wso2.com | Web: www.wso2.com
>>>>
>>>> ___
>>>> Dev mailing list
>>>> Dev@wso2.org
>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>
>>>>
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> With Regards,
>
> *Rasika Perera*
> Software Engineer
> M: +94 71 680 9060 E: rasi...@wso2.com
> LinkedIn: http://lk.linkedin.com/in/rasika90
>
> WSO2 Inc. www.wso2.com
> lean.enterprise.middleware
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Shiva Balachandran
Software Engineer
WSO2 Inc.

Mobile - +94 774445788
Blog - https://shivabalachandran.wordpress.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Ashan Manathunga

2015-03-06 Thread Shiva Balachandran
Congrats Ashan! :)

On Fri, Mar 6, 2015 at 5:48 PM, Yumani Ranaweera  wrote:

> Congrats Ashan !!
>
> On Fri, Mar 6, 2015 at 5:36 PM, Aiyadurai Rajeevan 
> wrote:
>
>> Congrats Ashan... :)
>>
>> Thanks & Regards,
>> S.A.Rajeevan
>> Software Engineer WSO2 Inc
>> E-Mail: rajeev...@wso2.com | Mobile : +94776411636
>>
>> On Fri, Mar 6, 2015 at 5:29 PM, Supun Malinga  wrote:
>>
>>> Congrats Ashan.. :)
>>>
>>> On Fri, Mar 6, 2015 at 5:27 PM, Manoj Kumara  wrote:
>>>
>>>> Congratulations Ashan !!
>>>>
>>>>
>>>> *Manoj Kumara*
>>>> Software Engineer
>>>> WSO2 Inc. http://wso2.com/
>>>> *lean.enterprise.middleware*
>>>> Mobile: +94713448188
>>>>
>>>> On Fri, Mar 6, 2015 at 4:55 PM, Harsha Kumara  wrote:
>>>>
>>>>> Congratulations Ashan!
>>>>>
>>>>> On Fri, Mar 6, 2015 at 4:53 PM, Srisunmugaraja Paraparan <
>>>>> parapa...@wso2.com> wrote:
>>>>>
>>>>>> Congratz Ashan.
>>>>>>
>>>>>> On Fri, Mar 6, 2015 at 4:45 PM, Samisa Abeysinghe 
>>>>>> wrote:
>>>>>>
>>>>>>> Hi All
>>>>>>> It's my pleasure to welcome Ashan as a WSO2 Committer.
>>>>>>>
>>>>>>> Ashan, welcome aboard and keep up the good work!
>>>>>>>
>>>>>>> Thanks,
>>>>>>> Samisa...
>>>>>>>
>>>>>>>
>>>>>>> Samisa Abeysinghe
>>>>>>>
>>>>>>> Vice President Delivery
>>>>>>>
>>>>>>> WSO2 Inc.
>>>>>>> http://wso2.com
>>>>>>>
>>>>>>>
>>>>>>> ___
>>>>>>> Dev mailing list
>>>>>>> Dev@wso2.org
>>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Thanks & Regards
>>>>>> --
>>>>>> Srisunmugaraja Paraparan
>>>>>> Software Engineer,
>>>>>> WSO2 Inc. - lean . enterprise . middleware |  wso2.com
>>>>>>
>>>>>> email : parapa...@wso2.com, mobile : +94 77 0362151
>>>>>>
>>>>>> ___
>>>>>> Dev mailing list
>>>>>> Dev@wso2.org
>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Harsha Kumara
>>>>> Software Engineer, WSO2 Inc.
>>>>> Mobile: +94775505618
>>>>> Blog:harshcreationz.blogspot.com
>>>>>
>>>>> ___
>>>>> Dev mailing list
>>>>> Dev@wso2.org
>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>
>>>>>
>>>>
>>>> ___
>>>> Dev mailing list
>>>> Dev@wso2.org
>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>
>>>>
>>>
>>>
>>> --
>>> Supun Malinga,
>>>
>>> Senior Software Engineer,
>>> WSO2 Inc.
>>> http://wso2.com
>>> email: sup...@wso2.com 
>>> mobile: +94 (0)71 56 91 321
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
>
>
> *Yumani Ranaweera*
>
>
> WSO2 Inc. - lean . enterprise . middleware |  http://wso2.com
> Mob: + 94 95242
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Shiva Balachandran
Software Engineer
WSO2 Inc.

Mobile - +94 774445788
Blog - https://shivabalachandran.wordpress.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Smooks Configuration : ObjectSerializer argument 'object' is null.

2015-03-05 Thread Shiva Balachandran
Looping in Lakmali.

On Thu, Mar 5, 2015 at 11:20 AM, Shiva Balachandran  wrote:

> Hi Malith,
>
> I come across this issue [1] when i used the smooks configuration. Can you
> explain to me where should i place the input.xml and the output.xml and
> related files?
>
>
>
> [1] - 2015-03-04 16:03:59,244] ERROR - SmooksMediator Failed to filter
> source.
> org.milyn.SmooksException: Failed to filter source.
> at
> org.milyn.delivery.sax.SmooksSAXFilter.doFilter(SmooksSAXFilter.java:
> 86)
> at
> org.milyn.delivery.sax.SmooksSAXFilter.doFilter(SmooksSAXFilter.java:
> 61)
> at org.milyn.Smooks._filter(Smooks.java:516)
> at org.milyn.Smooks.filterSource(Smooks.java:475)
> at
> org.wso2.carbon.mediator.transform.SmooksMediator.mediate(SmooksMedia
> tor.java:123)
> at
> org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractLis
> tMediator.java:77)
> at
> org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractLis
> tMediator.java:47)
> at
> org.apache.synapse.mediators.base.SequenceMediator.mediate(SequenceMe
> diator.java:131)
> at
> org.apache.synapse.core.axis2.ProxyServiceMessageReceiver.receive(Pro
> xyServiceMessageReceiver.java:166)
> at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:180)
> at
> org.apache.synapse.transport.passthru.ServerWorker.processEntityEnclo
> singRequest(ServerWorker.java:411)
> at
> org.apache.synapse.transport.passthru.ServerWorker.run(ServerWorker.j
> ava:183)
> at
> org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(Native
> WorkerPool.java:172)
> at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.
> java:1145)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
> .java:615)
> at java.lang.Thread.run(Thread.java:745)
> Caused by: java.lang.IllegalArgumentException: prefix cannot be "null"
> when crea
> ting a QName
> at javax.xml.namespace.QName.(QName.java:251)
> at
> com.sun.xml.internal.stream.events.XMLEventAllocatorImpl.getQName(XML
> EventAllocatorImpl.java:254)
> at
> com.sun.xml.internal.stream.events.XMLEventAllocatorImpl.getXMLEvent(
> XMLEventAllocatorImpl.java:76)
> at
> com.sun.xml.internal.stream.events.XMLEventAllocatorImpl.allocate(XML
> EventAllocatorImpl.java:53)
> at
> com.sun.xml.internal.stream.XMLEventReaderImpl.nextEvent(XMLEventRead
> erImpl.java:84)
> at
> com.sun.xml.internal.stream.XMLEventReaderImpl.next(XMLEventReaderImp
> l.java:248)
> at
> org.wso2.carbon.mediator.transform.stream.IOElementPipe.populateEvent
> s(IOElementPipe.java:90)
> at
> org.wso2.carbon.mediator.transform.stream.IOElementPipe.getData(IOEle
> mentPipe.java:68)
> at
> org.wso2.carbon.mediator.transform.stream.ElementInputStream.read(Ele
> mentInputStream.java:61)
> at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:283)
> at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:325)
> at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:177)
> at java.io.InputStreamReader.read(InputStreamReader.java:184)
> at org.apache.xerces.impl.XMLEntityScanner.load(Unknown Source)
> at org.apache.xerces.impl.XMLEntityScanner.skipString(Unknown
> Source)
> at
> org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(Unknown
>  Source)
> at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
> Source)
> at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
> Source)
> at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
> at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown
> Source)
> at org.milyn.delivery.sax.SAXParser.parse(SAXParser.java:70)
> at
> org.milyn.delivery.sax.SmooksSAXFilter.doFilter(SmooksSAXFilter.java:
> 75)
> ... 15 more
> [2015-03-04 16:03:59,259] ERROR - NativeWorkerPool Uncaught exception
> org.wso2.carbon.mediator.service.MediatorException: Failed to filter
> source. Cau
> sed by Failed to filter source.
> at
> org.wso2.carbon.mediator.transform.SmooksMediator.handleException(Smo
> oksMediator.java:242)
> at
> org.wso2.carbon.mediator.transform.SmooksMediator.mediate(SmooksMedia
> tor.java:137)
> at
> org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractLis
> tMediator.java:77)
> at
> org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractLis
> tMediator.java:47)
> at
> org.apache.synapse.mediators.base.Seq

Re: [Dev] [BPS] C-App with BPMN artifacts not getting deployed

2015-03-05 Thread Shiva Balachandran
+ Looping Thilini

I think the directory structure is wrong, Also i cross checked the
artifacts.xml, it should be something like below,



Thank you,

Regards.
Shiva Balachandran

On Thu, Mar 5, 2015 at 7:58 AM, Himasha Guruge  wrote:

>  Error occurred while deploying Carbon Application
>
> org.wso2.carbon.CarbonException: artifacts.xml is invalid. No Artifact
> found with the type - carbon/application
>
> at
> org.wso2.carbon.application.deployer.config.ApplicationConfiguration.buildConfiguration(ApplicationConfiguration.java:150)
>
> at
> org.wso2.carbon.application.deployer.config.ApplicationConfiguration.(ApplicationConfiguration.java:69)
>
> at
> org.wso2.carbon.application.deployer.internal.ApplicationManager.deployCarbonApp(ApplicationManager.java:213)
>
> at
> org.wso2.carbon.application.deployer.CappAxis2Deployer.deploy(CappAxis2Deployer.java:72)
>
> at
> org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(DeploymentFileData.java:136)
>
> at
> org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:807)
>
> at
> org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoList.java:144)
>
> at
> org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener.java:377)
>
> at
> org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:254)
>
> at
> org.apache.axis2.deployment.DeploymentEngine.loadServices(DeploymentEngine.java:135)
>
> at
> org.wso2.carbon.core.CarbonAxisConfigurator.deployServices(CarbonAxisConfigurator.java:559)
>
> at
> org.wso2.carbon.core.internal.DeploymentServerStartupObserver.completingServerStartup(DeploymentServerStartupObserver.java:51)
>
> at
> org.wso2.carbon.core.internal.CarbonCoreServiceComponent.notifyBefore(CarbonCoreServiceComponent.java:232)
>
> at
> org.wso2.carbon.core.internal.StartupFinalizerServiceComponent.completeInitialization(StartupFinalizerServiceComponent.java:182)
>
> at
> org.wso2.carbon.core.internal.StartupFinalizerServiceComponent.serviceChanged(StartupFinalizerServiceComponent.java:285)
>
> 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.throttling.agent.internal.ThrottlingAgentServiceComponent.registerThrottlingAgent(ThrottlingAgentServiceComponent.java:123)
>
> at
> org.wso2.carbon.throttling.agent.internal.ThrottlingAgentServiceComponent.activate(ThrottlingAgentServiceComponent.java:100)
>
> 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.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.c

Re: [Dev] [ES] Adding Custom attributes on RXT based form generation ES

2015-03-04 Thread Shiva Balachandran
Hi Dakshika,

I came across this issue while doing development for BPS work, what i did
to overcome this was to add all the attributes that i needed to the RXT and
then let it generate the form, if you understand the extension model that
ES is on, you can override the default files using your own files. So, what
you can do is let it generate the form and then, copy the div containing
the form attributes and recreate your own hbs file and override the
generated one. This way you will be able to manipulate and do all your
client side generic data validation logic. Here is an article[1] i wrote on
what i learnt from the ES Extension Model. Hope it is clear.

[1] -
https://shivabalachandran.wordpress.com/2015/01/08/wso2-enterprise-store-extension-model/

Thank you.

Regards,
Shiva Balachandran

On Thu, Mar 5, 2015 at 7:57 AM, Dakshika Jayathilaka 
wrote:

> Hi,
>
> I need to add placeholder text to each input fields that generated based
> on RXT[1].
> Seems there is no window to add any custom attributes or data
> attributes[2]. Also I need to implement client side generic data validation
> logic. In order to implement that type of logic we need to add some custom
> data attributes to each field as wel.
>
> Is there any way way of achieving this?
>
> [1]
> https://docs.wso2.com/display/ES100/Adding+a+New+Asset+Type#AddingaNewAssetType-Step1-CreatinganRXTdefinitionforyourassettype
>
> [2] http://www.w3.org/TR/2011/WD-html5-20110525/elements.html
>
> Thank you,
>
> Regards,
>
> *Dakshika Jayathilaka*
> Software Engineer
> WSO2, Inc.
> lean.enterprise.middleware
> 0771100911
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Shiva Balachandran
Software Engineer
WSO2 Inc.

Mobile - +94 774445788
Blog - https://shivabalachandran.wordpress.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Smooks Configuration : ObjectSerializer argument 'object' is null.

2015-03-04 Thread Shiva Balachandran
Hi Malith,

I come across this issue [1] when i used the smooks configuration. Can you
explain to me where should i place the input.xml and the output.xml and
related files?



[1] - 2015-03-04 16:03:59,244] ERROR - SmooksMediator Failed to filter
source.
org.milyn.SmooksException: Failed to filter source.
at
org.milyn.delivery.sax.SmooksSAXFilter.doFilter(SmooksSAXFilter.java:
86)
at
org.milyn.delivery.sax.SmooksSAXFilter.doFilter(SmooksSAXFilter.java:
61)
at org.milyn.Smooks._filter(Smooks.java:516)
at org.milyn.Smooks.filterSource(Smooks.java:475)
at
org.wso2.carbon.mediator.transform.SmooksMediator.mediate(SmooksMedia
tor.java:123)
at
org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractLis
tMediator.java:77)
at
org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractLis
tMediator.java:47)
at
org.apache.synapse.mediators.base.SequenceMediator.mediate(SequenceMe
diator.java:131)
at
org.apache.synapse.core.axis2.ProxyServiceMessageReceiver.receive(Pro
xyServiceMessageReceiver.java:166)
at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:180)
at
org.apache.synapse.transport.passthru.ServerWorker.processEntityEnclo
singRequest(ServerWorker.java:411)
at
org.apache.synapse.transport.passthru.ServerWorker.run(ServerWorker.j
ava:183)
at
org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(Native
WorkerPool.java:172)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.
java:1145)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
.java:615)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.IllegalArgumentException: prefix cannot be "null" when
crea
ting a QName
at javax.xml.namespace.QName.(QName.java:251)
at
com.sun.xml.internal.stream.events.XMLEventAllocatorImpl.getQName(XML
EventAllocatorImpl.java:254)
at
com.sun.xml.internal.stream.events.XMLEventAllocatorImpl.getXMLEvent(
XMLEventAllocatorImpl.java:76)
at
com.sun.xml.internal.stream.events.XMLEventAllocatorImpl.allocate(XML
EventAllocatorImpl.java:53)
at
com.sun.xml.internal.stream.XMLEventReaderImpl.nextEvent(XMLEventRead
erImpl.java:84)
at
com.sun.xml.internal.stream.XMLEventReaderImpl.next(XMLEventReaderImp
l.java:248)
at
org.wso2.carbon.mediator.transform.stream.IOElementPipe.populateEvent
s(IOElementPipe.java:90)
at
org.wso2.carbon.mediator.transform.stream.IOElementPipe.getData(IOEle
mentPipe.java:68)
at
org.wso2.carbon.mediator.transform.stream.ElementInputStream.read(Ele
mentInputStream.java:61)
at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:283)
at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:325)
at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:177)
at java.io.InputStreamReader.read(InputStreamReader.java:184)
at org.apache.xerces.impl.XMLEntityScanner.load(Unknown Source)
at org.apache.xerces.impl.XMLEntityScanner.skipString(Unknown
Source)
at
org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(Unknown
 Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown
Source)
at org.milyn.delivery.sax.SAXParser.parse(SAXParser.java:70)
at
org.milyn.delivery.sax.SmooksSAXFilter.doFilter(SmooksSAXFilter.java:
75)
... 15 more
[2015-03-04 16:03:59,259] ERROR - NativeWorkerPool Uncaught exception
org.wso2.carbon.mediator.service.MediatorException: Failed to filter
source. Cau
sed by Failed to filter source.
at
org.wso2.carbon.mediator.transform.SmooksMediator.handleException(Smo
oksMediator.java:242)
at
org.wso2.carbon.mediator.transform.SmooksMediator.mediate(SmooksMedia
tor.java:137)
at
org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractLis
tMediator.java:77)
at
org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractLis
tMediator.java:47)
at
org.apache.synapse.mediators.base.SequenceMediator.mediate(SequenceMe
diator.java:131)
at
org.apache.synapse.core.axis2.ProxyServiceMessageReceiver.receive(Pro
xyServiceMessageReceiver.java:166)
at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:180)
at
org.apache.synapse.transport.passthru.ServerWorker.processEntityEnclo
singRequest(ServerWorker.java:411)
at
org.apache.synapse.transport.passthru.ServerWorker.run(ServerWorker.j
ava:183)
at
org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(Native
WorkerPool.java:172)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.
java:1145)
at
java.util.concurrent.ThreadPoolExe

Re: [Dev] WSO2 Committers += Chamila de Alwis

2015-03-04 Thread Shiva Balachandran
Congrats Chamila. :)

Good job! ^_^

On Thu, Mar 5, 2015 at 10:14 AM, Kasun De Silva  wrote:

> Congratz Chamila !!!
>
> *Kasun de Silva*
> Software Engineer | *WSO2 Inc.*; http://wso2.com
> lean.enterprise.middleware
>
> email   : kas...@wso2.com
> mobile : +94 77 794 4260
>
>
> On Thu, Mar 5, 2015 at 10:08 AM, Prasanna Dangalla 
> wrote:
>
>> Congratulations Chamilad
>>
>> On Thu, Mar 5, 2015 at 10:01 AM, Imesh Gunaratne  wrote:
>>
>>> Hi Devs,
>>>
>>> It's my pleasure to welcome Chamila de Alwis as a WSO2 Committer.
>>> Chamila, welcome aboard and keep up the good work!
>>>
>>> Thanks
>>>
>>> --
>>> *Imesh Gunaratne*
>>> Technical Lead
>>> WSO2 Inc: http://wso2.com
>>> T: +94 11 214 5345 M: +94 77 374 2057
>>> W: http://imesh.gunaratne.org
>>> Lean . Enterprise . Middleware
>>>
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Prasanna Dangalla
>> Software Engineer, WSO2, Inc.; http://wso2.com/
>> lean.enterprise.middleware
>>
>> cell: +94 777 55 80 30 | +94 718 11 27 51
>> twitter: @prasa77
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Shiva Balachandran
Software Engineer
WSO2 Inc.

Mobile - +94 774445788
Blog - https://shivabalachandran.wordpress.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Smooks Configuration : ObjectSerializer argument 'object' is null.

2015-03-03 Thread Shiva Balachandran
Hi All,

i am trying to do a XML to XML using Smooks. I am following the tutorial at
[1]. When i run the smooks configuration in Eclipse i get the following
error.

Exception in thread "main" java.lang.IllegalArgumentException:
ObjectSerializer argument 'object' is null.
at
org.jboss.tools.smooks.launch.serialize.ObjectSerializer.assertNotNull(ObjectSerializer.java:278)
at
org.jboss.tools.smooks.launch.serialize.ObjectSerializer.(ObjectSerializer.java:56)
at
org.jboss.tools.smooks.launch.serialize.ObjectSerializer.serialize(ObjectSerializer.java:79)
at org.jboss.tools.smooks.launch.SmooksLauncher.main(SmooksLauncher.java:91)


Does any have any insights on why this is produced?

[1] -
http://wso2.com/library/tutorials/2011/06/perform-data-mapping-smooks-editor-wso2-carbon-studio/#xml

Thank you.

Regards,
-- 
Shiva Balachandran
Software Engineer
WSO2 Inc.

Mobile - +94 774445788
Blog - https://shivabalachandran.wordpress.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [IS] getAllowedUIResourcesForUser

2015-02-17 Thread Shiva Balachandran
Hi All,

I am currently on the process of creating a patch for the above given admin
service. the above state admin service does not produce the necessary
result. I created a SOAP project in SOAPUI and sent in request as shown
below,

http://www.w3.org/2003/05/soap-envelope
<http://www.google.com/url?q=http%3A%2F%2Fwww.w3.org%2F2003%2F05%2Fsoap-envelope&sa=D&sntz=1&usg=AFQjCNGfMX1ZVGPTZcRDvsElhc17DotqKg>"
xmlns:ser="http://service.ws.um.carbon.wso2.org
<http://www.google.com/url?q=http%3A%2F%2Fservice.ws.um.carbon.wso2.org&sa=D&sntz=1&usg=AFQjCNH557mdjhLWFzbjtRIX1rQuI2d6Yg>
">
  
  
 

admin

/permission/admin/
 
  


But the only response i get is "Invalid permission root path", can someone
please tell me is my configuration correct?

I would like to know the usages of the above given admin service. Is there
another method which we can use to acquire the required data which can be
used as a workaround?

Thank you.

Regards,
-- 
Shiva Balachandran
Software Engineer
WSO2 Inc.

Mobile - +94 774445788
Blog - https://shivabalachandran.wordpress.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Please Review and Merge Pull Request

2015-02-17 Thread Shiva Balachandran
Hi Aiya,

Proposed reviews have been reflected and amended. Please check the pull
request for the new commit.

Thank you.

Regards
Shiva Balachandran

On Tue, Feb 10, 2015 at 4:03 PM, Shiva Balachandran  wrote:

> Hi,
>
> Please review and merge the pull request [1] for the issue in [2]
>
> [1] - https://github.com/wso2/product-bps/pull/16
> [2] - https://wso2.org/jira/browse/BPS-612
>
> Thank you.
>
> Regards,
> --
> Shiva Balachandran
> Software Engineer
> WSO2 Inc.
>
> Mobile - +94 774445788
> Blog - https://shivabalachandran.wordpress.com/
>



-- 
Shiva Balachandran
Software Engineer
WSO2 Inc.

Mobile - +94 774445788
Blog - https://shivabalachandran.wordpress.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] get Hostname and Port of the current server

2015-02-16 Thread Shiva Balachandran
Hi All,

Thank you for the response, i am writing integration tests for BPS, I can
acquire the backend URL, i need to get the hostname and port for a rest
service innvocation. I will try the automation xml method.

Thank you.

Regards,
Shiva Balachandran

On Mon, Feb 16, 2015 at 4:10 PM, Irham Iqbal  wrote:

> Hi Siva,
>
> In which product you are writing your test cases. Most of the products
> base test case has initialized  AutomationContext. If not you can initialize
> the  AutomationContext as Malintha mentioned to you. Then use the
> following codes to get port and host
>
> String httpsPort = automationContext.getInstance().getPorts().get("https")
>
> String defaultHost =  automationContext
> .getInstance().getHosts().get("default")
>
> Thanks,
> Iqbal
>
> On Mon, Feb 16, 2015 at 3:59 PM, Malintha Adikari 
> wrote:
>
>> Hi,
>>
>> Test Automation Framework  (from 4.3.0 version) provides single location
>> to store all test related configuration details (Host name ,port address,
>> tenant/user info...etc). If you are writing your test case inside existing
>> test module you can find that file (automation.xml [1]) in
>> *{your_module}/src/test/resources* location. You have to store your
>> server related configurations under ** section of that file.
>>
>> ex:
>>
>> 
>>  > nonBlockingTransportEnabled="true">   esb.wso2con.com 
>> mgt.esb.wso2con.com> >82438280> >
>> 
>>
>> ..
>>
>>
>> Then you can retrieve those info inside your test case by creating
>> AutomationContext object.
>>
>> ex:
>>
>> automationContext = new AutomationContext("ESB",
>> TestUserMode.SUPER_TENANT_ADMIN);
>>
>> Through this approach Framework facilitate you to prepare your test
>> environment. Please refer Automation Framework docs for information on how
>> to use/create this AutomationContext object[2], and blogs [3]
>>
>>
>> [1] https://docs.wso2.com/display/TA430/Automation.xml+File
>> [2]
>> http://wso2.com/library/articles/2014/06/how-to-write-connector-integration-tests-using-wso2-test-automation-framework/
>> [3]
>> http://malinthas.blogspot.com/2014/02/how-to-write-test-case-using-wso2-test.html
>>
>> Regards,
>> Malintha
>>
>> On Mon, Feb 16, 2015 at 10:14 AM, Malintha Adikari 
>> wrote:
>>
>>> Hi Shiva,
>>>
>>> What is the Automation Test Framework version you are going to use?
>>>
>>> Regards,
>>> Malintha
>>>
>>> On Mon, Feb 16, 2015 at 10:07 AM, Shiva Balachandran 
>>> wrote:
>>>
>>>> Hi All,
>>>>
>>>> I am writing some testcases and it is necessary for me to acquire the
>>>> hostname(eg:-localhost) and the port (eg - 9443) of the current server,
>>>> separately. Is there a method to get these data?
>>>>
>>>> Thank you.
>>>>
>>>> Regards
>>>> --
>>>> Shiva Balachandran
>>>> Software Engineer
>>>> WSO2 Inc.
>>>>
>>>> Mobile - +94 774445788
>>>> Blog - https://shivabalachandran.wordpress.com/
>>>>
>>>> ___
>>>> Dev mailing list
>>>> Dev@wso2.org
>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>
>>>>
>>>
>>>
>>> --
>>> *Malintha Adikari*
>>>  Software Engineer
>>> WSO2 Inc.; http://wso2.com
>>> lean.enterprise.middleware
>>>
>>> Mobile: +94 71 2312958
>>> Blog:http://malinthas.blogspot.com
>>> Page:   http://about.me/malintha
>>>
>>
>>
>>
>> --
>> *Malintha Adikari*
>>  Software Engineer
>> WSO2 Inc.; http://wso2.com
>> lean.enterprise.middleware
>>
>> Mobile: +94 71 2312958
>> Blog:http://malinthas.blogspot.com
>> Page:   http://about.me/malintha
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Irham Iqbal
> Software Engineer - Test Automation
>  WSO2, Inc.: http://wso2.com
> lean. enterprise. middleware
> phone: +94 777888452
>



-- 
Shiva Balachandran
Software Engineer
WSO2 Inc.

Mobile - +94 774445788
Blog - https://shivabalachandran.wordpress.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] get Hostname and Port of the current server

2015-02-16 Thread Shiva Balachandran
Hi All,

I am writing some testcases and it is necessary for me to acquire the
hostname(eg:-localhost) and the port (eg - 9443) of the current server,
separately. Is there a method to get these data?

Thank you.

Regards
-- 
Shiva Balachandran
Software Engineer
WSO2 Inc.

Mobile - +94 774445788
Blog - https://shivabalachandran.wordpress.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] How to add resources to carbon kernel

2015-02-14 Thread Shiva Balachandran
Hi Irham,

Your text case should be extending the master test case, create a registry
instance. Next create a resource file and set the resource name, context
and media type (text/plain). Then use the registry.put() function to add
the resource to the server.


Thank you,

Shiva Balachandran


On Fri, Feb 13, 2015 at 11:28 AM, Irham Iqbal  wrote:

> Hi ,
>
>  I need to write a test case on kernel to test --cleanRegistry(clean all
> registry space) server start up argument
>
> To achieve the task am trying to do the following
>
>1. Add a text file to wso2carbon-core registry
>2. Run --cleanRegistry server start up argument.
>3. Finally check text file is deleted or not from kernel registry.
>
> To achieve the first task i need to add a text file as a resource to
> kernel registry.Any suggestions and ideas are welcome!
>
> Thanks,
>
> Iqbal
>
> On Thu, Feb 12, 2015 at 11:16 AM, Shiva Balachandran 
> wrote:
>
>> Hi Irham,
>>
>> What is the resource you have to add? If it is a config file for some
>> third party jars( refer to [1]) or if can you elaborate on the resource.
>>
>> [1] -
>> https://docs.wso2.com/display/Carbon430/Config+Files+for+Third+Party+JARs
>>
>> Thank you,
>>
>> Regards
>>
>> On Thu, Feb 12, 2015 at 11:08 AM, Irham Iqbal  wrote:
>>
>>> Hi,
>>>
>>> I am writing test case for --cleanRegistry server start up argument on
>>> kernel level. In order to that i have to add a resource to wso2carbon-core
>>> pack what is the best way to do that. your suggestions would be highly
>>> appreciated
>>>
>>> Thanks,
>>> Iqbal
>>>
>>> --
>>> Irham Iqbal
>>> Software Engineer - Test Automation
>>>  WSO2, Inc.: http://wso2.com
>>> lean. enterprise. middleware
>>> phone: +94 777888452
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Shiva Balachandran
>> Software Engineer
>> WSO2 Inc.
>>
>> Mobile - +94 774445788
>> Blog - https://shivabalachandran.wordpress.com/
>>
>
>
>
> --
> Irham Iqbal
> Software Engineer - Test Automation
>  WSO2, Inc.: http://wso2.com
> lean. enterprise. middleware
> phone: +94 777888452
>



-- 
Shiva Balachandran
Software Engineer
WSO2 Inc.

Mobile - +94 774445788
Blog - https://shivabalachandran.wordpress.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] How to add resources to carbon kernel

2015-02-11 Thread Shiva Balachandran
Hi Irham,

What is the resource you have to add? If it is a config file for some third
party jars( refer to [1]) or if can you elaborate on the resource.

[1] -
https://docs.wso2.com/display/Carbon430/Config+Files+for+Third+Party+JARs

Thank you,

Regards

On Thu, Feb 12, 2015 at 11:08 AM, Irham Iqbal  wrote:

> Hi,
>
> I am writing test case for --cleanRegistry server start up argument on
> kernel level. In order to that i have to add a resource to wso2carbon-core
> pack what is the best way to do that. your suggestions would be highly
> appreciated
>
> Thanks,
> Iqbal
>
> --
> Irham Iqbal
> Software Engineer - Test Automation
>  WSO2, Inc.: http://wso2.com
> lean. enterprise. middleware
> phone: +94 777888452
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Shiva Balachandran
Software Engineer
WSO2 Inc.

Mobile - +94 774445788
Blog - https://shivabalachandran.wordpress.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [ESB] [IS] Securing an endpoint using WSO2 ESB and IS

2015-02-11 Thread Shiva Balachandran
Hi Madushanka,

Please check if the user credentials are present by logging in directly to
the IS Admin Panel. Also try recreating another set of credentials with
admin privileges and testing. Check document [1] for more information on
how to securing the rest service using the ESB OAuth Mediator.

[1] -
https://docs.wso2.com/display/IS500/2-legged+OAuth+for+Securing+a+RESTful+Service

Thank you.

Regards,

On Wed, Feb 11, 2015 at 3:08 PM, Madusanka Premaratne 
wrote:

> Hi Shiva,
> Thanks for the response.
> When I debug the code, it points me that I use wrong credentials, but I
> provided the credentials given by IS.
> I am still confused why this goes wrong.
>
> Thanks,
>
> On Wed, Feb 11, 2015 at 2:00 PM, Shiva Balachandran 
> wrote:
>
>> Hi,
>>
>> Please check the credentials again, might be an errornous credentials.
>>
>> Thank you.
>>
>> Regards,
>>
>> On Tue, Feb 10, 2015 at 2:39 PM, Madusanka Premaratne <
>> madusan...@wso2.com> wrote:
>>
>>> Hi all,
>>> I am trying to secure a rest service using ESB OAuth Mediator[1] with
>>> the help of WSO2 Identity Server. I created a service provider in WSO2 IS
>>> and used the OAuth credentials as username and password in ESB's OAuth
>>> mediator. When I call the proxy service it gives me an error saying
>>> "Connection Refused"
>>>
>>> Can somebody tell me What I am missing here?
>>>
>>>  My proxy service looks like below,
>>> 
>>> http://ws.apache.org/ns/synapse";
>>>name="App"
>>>transports="https,http"
>>>statistics="disable"
>>>trace="disable"
>>>startOnLoad="true">
>>>
>>>   
>>>  https://10.100.5.179:9444/services/";
>>>username="erbO9h_cBgwQQ45fGmQ88RqpbMAa"
>>>password="JU_G6DayJpYMBn8vVU7JGNab0Fga"/>
>>>   
>>>   
>>>  
>>>   
>>>   
>>>  http://10.100.5.179:9763/services/Version/getVersion"/>
>>>   
>>>
>>>
>>> 
>>>
>>> ​[1] - https://docs.wso2.com/display/ESB480/OAuth+Mediator​
>>>
>>> ​Thank You,​
>>>
>>> --
>>> *Madusanka Premaratne* | Associate Software Engineer
>>> WSO2, Inc | lean. enterprise. middleware.
>>> #20, Palm Grove, Colombo 03, Sri Lanka
>>> Mobile: +94 71 835 70 73| Work: +94 112 145 345
>>> Email: madusan...@wso2.com | Web: www.wso2.com
>>>
>>> [image: Facebook] <https://www.facebook.com/rmmpremaratne> [image:
>>> Twitter] <https://twitter.com/rmmpremaratne> [image: Google Plus]
>>> <https://plus.google.com/u/0/+MadusankaPremaratnemaduz/about/p/pub> [image:
>>> Linkedin] <http://lk.linkedin.com/in/madusanka/> [image: Instagram]
>>> <http://instagram.com/madusankapremaratne> [image: Skype]
>>> <http://@rmmpremaratne>
>>>
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Shiva Balachandran
>> Software Engineer
>> WSO2 Inc.
>>
>> Mobile - +94 774445788
>> Blog - https://shivabalachandran.wordpress.com/
>>
>
>
>
> --
> *Madusanka Premaratne* | Associate Software Engineer
> WSO2, Inc | lean. enterprise. middleware.
> #20, Palm Grove, Colombo 03, Sri Lanka
> Mobile: +94 71 835 70 73| Work: +94 112 145 345
> Email: madusan...@wso2.com | Web: www.wso2.com
>
> [image: Facebook] <https://www.facebook.com/rmmpremaratne> [image:
> Twitter] <https://twitter.com/rmmpremaratne> [image: Google Plus]
> <https://plus.google.com/u/0/+MadusankaPremaratnemaduz/about/p/pub> [image:
> Linkedin] <http://lk.linkedin.com/in/madusanka/> [image: Instagram]
> <http://instagram.com/madusankapremaratne> [image: Skype]
> <http://@rmmpremaratne>
>
>


-- 
Shiva Balachandran
Software Engineer
WSO2 Inc.

Mobile - +94 774445788
Blog - https://shivabalachandran.wordpress.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [ESB] [IS] Securing an endpoint using WSO2 ESB and IS

2015-02-11 Thread Shiva Balachandran
Hi,

Please check the credentials again, might be an errornous credentials.

Thank you.

Regards,

On Tue, Feb 10, 2015 at 2:39 PM, Madusanka Premaratne 
wrote:

> Hi all,
> I am trying to secure a rest service using ESB OAuth Mediator[1] with the
> help of WSO2 Identity Server. I created a service provider in WSO2 IS and
> used the OAuth credentials as username and password in ESB's OAuth
> mediator. When I call the proxy service it gives me an error saying
> "Connection Refused"
>
> Can somebody tell me What I am missing here?
>
>  My proxy service looks like below,
> 
> http://ws.apache.org/ns/synapse";
>name="App"
>transports="https,http"
>statistics="disable"
>trace="disable"
>startOnLoad="true">
>
>   
>  https://10.100.5.179:9444/services/";
>username="erbO9h_cBgwQQ45fGmQ88RqpbMAa"
>password="JU_G6DayJpYMBn8vVU7JGNab0Fga"/>
>   
>   
>  
>   
>   
>  http://10.100.5.179:9763/services/Version/getVersion"/>
>   
>
>
> 
>
> ​[1] - https://docs.wso2.com/display/ESB480/OAuth+Mediator​
>
> ​Thank You,​
>
> --
> *Madusanka Premaratne* | Associate Software Engineer
> WSO2, Inc | lean. enterprise. middleware.
> #20, Palm Grove, Colombo 03, Sri Lanka
> Mobile: +94 71 835 70 73| Work: +94 112 145 345
> Email: madusan...@wso2.com | Web: www.wso2.com
>
> [image: Facebook] <https://www.facebook.com/rmmpremaratne> [image:
> Twitter] <https://twitter.com/rmmpremaratne> [image: Google Plus]
> <https://plus.google.com/u/0/+MadusankaPremaratnemaduz/about/p/pub> [image:
> Linkedin] <http://lk.linkedin.com/in/madusanka/> [image: Instagram]
> <http://instagram.com/madusankapremaratne> [image: Skype]
> <http://@rmmpremaratne>
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Shiva Balachandran
Software Engineer
WSO2 Inc.

Mobile - +94 774445788
Blog - https://shivabalachandran.wordpress.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Please Review and Merge Pull Request

2015-02-10 Thread Shiva Balachandran
Hi,

Please review and merge the pull request [1] for the issue in [2]

[1] - https://github.com/wso2/product-bps/pull/16
[2] - https://wso2.org/jira/browse/BPS-612

Thank you.

Regards,
-- 
Shiva Balachandran
Software Engineer
WSO2 Inc.

Mobile - +94 774445788
Blog - https://shivabalachandran.wordpress.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] JavaServiceTask : Samples

2015-02-09 Thread Shiva Balachandran
Hi All,

Got it figured out. The External Class to be invoked should be built and
the .jar should be added to the repository/components/libs folder before
running or creating a instance of the Java Service Task or before creating
a process instance of the deployment. Since it was a tough cookie in my
perspective to crack, i blogged on it for future reference. You can find it
at [1].

[1] -
https://shivabalachandran.wordpress.com/2015/02/09/java-service-task-acitviti-java-implementation/

Thank you.

Regards
Shiva Balachandran

On Mon, Feb 9, 2015 at 5:47 PM, Shiva Balachandran  wrote:

> Hi Firzhan,
>
> Thank you for those reference articles. It was able to create the BPMN,
> Java class file and the test file. When i run the BPMN File, as in once i
> deploy it and try to start the process instance, i get an error.
> {"errorMessage":"couldn't instantiate class
> artifacts.bpmn.SampleServiceTask","statusCode":500}.
>
> I believe i have packaged the files incorrectly. Is there any article to
> elaborate on how to create the bar file/ package the java class file along
> with the bar file? I've researched on google and some of the articles don't
> address this. Some have mentioned on placing the Java Class.jar file in the
> WEB-INF/lib folder but this is when you are using tomcat and
> acitiviti-explorer.
>
> Any insights on how to deploy this package with the Java class would be
> helpful.
>
> Thank you.
>
> Regards
> Shiva Balachandran
>
> On Mon, Feb 9, 2015 at 12:21 PM, Firzhan Naqash  wrote:
>
>>  Hi Shiva,
>>
>> I referred the following articles to learn about JavaServiceTasks [1] [2].
>>
>> For further reference you can go through the chapter 4 of the book
>> "Activiti in Action".
>>
>> [1]
>> http://www.jorambarrez.be/blog/2012/10/25/call-a-service-in-a-service-tas/
>> [2] http://www.javabeat.net/developing-the-business-logic-in-activiti/
>>
>> Regards,
>> Firzhan
>>
>> On Mon, Feb 9, 2015 at 12:05 PM, Shiva Balachandran 
>> wrote:
>>
>>> Hi,
>>>
>>> I have been assigned to write some specific tests in order to test the
>>> functionality of the BPMN module in BPS. im at a roadblock, trying to
>>> implement a JavaServiceTask.
>>>
>>> I have looked for online tutorials and samples, but unable to find any
>>> help. Does anyone have any resources or blogs which may be able to help me
>>> to implement a sample, to test the java service task in Acitiviti through
>>> java code.
>>>
>>> Thank you.
>>>
>>> Regards,
>>> --
>>> Shiva Balachandran
>>> Software Engineer
>>> WSO2 Inc.
>>>
>>> Mobile - +94 774445788
>>> Blog - https://shivabalachandran.wordpress.com/
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>
>
> --
> Shiva Balachandran
> Software Engineer
> WSO2 Inc.
>
> Mobile - +94 774445788
> Blog - https://shivabalachandran.wordpress.com/
>



-- 
Shiva Balachandran
Software Engineer
WSO2 Inc.

Mobile - +94 774445788
Blog - https://shivabalachandran.wordpress.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] JavaServiceTask : Samples

2015-02-09 Thread Shiva Balachandran
Hi Firzhan,

Thank you for those reference articles. It was able to create the BPMN,
Java class file and the test file. When i run the BPMN File, as in once i
deploy it and try to start the process instance, i get an error.
{"errorMessage":"couldn't instantiate class
artifacts.bpmn.SampleServiceTask","statusCode":500}.

I believe i have packaged the files incorrectly. Is there any article to
elaborate on how to create the bar file/ package the java class file along
with the bar file? I've researched on google and some of the articles don't
address this. Some have mentioned on placing the Java Class.jar file in the
WEB-INF/lib folder but this is when you are using tomcat and
acitiviti-explorer.

Any insights on how to deploy this package with the Java class would be
helpful.

Thank you.

Regards
Shiva Balachandran

On Mon, Feb 9, 2015 at 12:21 PM, Firzhan Naqash  wrote:

>  Hi Shiva,
>
> I referred the following articles to learn about JavaServiceTasks [1] [2].
>
> For further reference you can go through the chapter 4 of the book
> "Activiti in Action".
>
> [1]
> http://www.jorambarrez.be/blog/2012/10/25/call-a-service-in-a-service-tas/
> [2] http://www.javabeat.net/developing-the-business-logic-in-activiti/
>
> Regards,
> Firzhan
>
> On Mon, Feb 9, 2015 at 12:05 PM, Shiva Balachandran 
> wrote:
>
>> Hi,
>>
>> I have been assigned to write some specific tests in order to test the
>> functionality of the BPMN module in BPS. im at a roadblock, trying to
>> implement a JavaServiceTask.
>>
>> I have looked for online tutorials and samples, but unable to find any
>> help. Does anyone have any resources or blogs which may be able to help me
>> to implement a sample, to test the java service task in Acitiviti through
>> java code.
>>
>> Thank you.
>>
>> Regards,
>> --
>> Shiva Balachandran
>> Software Engineer
>> WSO2 Inc.
>>
>> Mobile - +94 774445788
>> Blog - https://shivabalachandran.wordpress.com/
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>


-- 
Shiva Balachandran
Software Engineer
WSO2 Inc.

Mobile - +94 774445788
Blog - https://shivabalachandran.wordpress.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] JavaServiceTask : Samples

2015-02-08 Thread Shiva Balachandran
Hi,

I have been assigned to write some specific tests in order to test the
functionality of the BPMN module in BPS. im at a roadblock, trying to
implement a JavaServiceTask.

I have looked for online tutorials and samples, but unable to find any
help. Does anyone have any resources or blogs which may be able to help me
to implement a sample, to test the java service task in Acitiviti through
java code.

Thank you.

Regards,
-- 
Shiva Balachandran
Software Engineer
WSO2 Inc.

Mobile - +94 774445788
Blog - https://shivabalachandran.wordpress.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [MB]Error when trying to run the Durable subscriber sample

2015-02-08 Thread Shiva Balachandran
Hi All,

I think the issue must have popped up after the new fixes.

Looping Pamod in.

Thank you.

Regards,

Shiva Balachandran

On Mon, Feb 9, 2015 at 10:11 AM, Pranavan Theivendram 
wrote:

> Hi Megala,
>
> Please use 2.5 version snapshot. For me it is working.
>
> On Sat, Feb 7, 2015 at 5:43 PM, Megala Uthayakumar 
> wrote:
>
>> Hi,
>>
>> Thanks for the info. But I am using the MB 3.0.
>>
>> On Fri, Feb 6, 2015 at 6:12 PM, Shiva Balachandran 
>> wrote:
>>
>>> Hi Megala,
>>>
>>> What is the version of MB you are currently using? This was issue was
>>> experienced in 2.0.1 and was fixed in the later version, refer to [1].
>>>
>>> [1] -
>>> http://stackoverflow.com/questions/16107685/wso2-messagebrokerthrowing-org-wso2-andes-amqtimeoutexception-error-when-creati
>>>
>>> Thank you.
>>>
>>> Regards,
>>> Shiva Balachandran
>>>
>>> On Fri, Feb 6, 2015 at 3:28 PM, Megala Uthayakumar 
>>> wrote:
>>>
>>>>
>>>> Hi all,
>>>>
>>>> When I try to run the Durable subscriber sample in the MB I got the
>>>> following error.
>>>>
>>>> [
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> *java] javax.jms.JMSException: Error registering consumer:
>>>> org.wso2.andes.AMQSecurityException: Cannot subscribe to queue
>>>> carbon:mySub1234567 as it already has an existing exclusive consumer [error
>>>> code 403: access refused] [java] at
>>>> org.wso2.andes.client.AMQSession$5.execute(AMQSession.java:2089) [java]
>>>> at org.wso2.andes.client.AMQSession$5.execute(AMQSession.java:2032)
>>>> [java] at
>>>> org.wso2.andes.client.AMQConnectionDelegate_8_0.executeRetrySupport(AMQConnectionDelegate_8_0.java:315)
>>>> [java] at
>>>> org.wso2.andes.client.AMQConnection.executeRetrySupport(AMQConnection.java:620)
>>>> [java] at
>>>> org.wso2.andes.client.failover.FailoverRetrySupport.execute(FailoverRetrySupport.java:102)
>>>> [java] at
>>>> org.wso2.andes.client.AMQSession.createConsumerImpl(AMQSession.java:2030)
>>>> [java] at
>>>> org.wso2.andes.client.AMQSession.createConsumer(AMQSession.java:1028)
>>>> [java] at
>>>> org.wso2.andes.client.AMQSession.createDurableSubscriber(AMQSession.java:1182)
>>>> [java] at
>>>> org.wso2.andes.client.AMQSession.createDurableSubscriber(AMQSession.java:1077)
>>>> [java] at
>>>> org.wso2.andes.client.AMQTopicSessionAdaptor.createDurableSubscriber(AMQTopicSessionAdaptor.java:73)
>>>> [java] at org.sample.jms.DurableTopicSubscriber.subscribe(Unknown
>>>> Source) [java] at org.sample.jms.Main.main(Unknown Source)*
>>>>
>>>> Same exception is thrown  when trying to run the integration test for
>>>> the durable subscribers. What may be the possible reason for this?
>>>>
>>>> Thanks
>>>>
>>>> Megala Uthayakumar
>>>> *Software Engineering Intern *| *WSO2 Lanka*
>>>> Mobile : +94 779 967 122
>>>> Tel  : +94 112 733 667
>>>> E-mail :  meg...@wso2.com
>>>>
>>>> ___
>>>> Dev mailing list
>>>> Dev@wso2.org
>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>
>>>>
>>>
>>>
>>> --
>>> Shiva Balachandran
>>> Software Engineer
>>> WSO2 Inc.
>>>
>>> Mobile - +94 774445788
>>> Blog - https://shivabalachandran.wordpress.com/
>>>
>>
>>
>>
>> --
>> Megala Uthayakumar
>> *Software Engineering Intern *| *WSO2 Lanka*
>> Mobile : +94 779 967 122
>> Tel  : +94 112 733 667
>> E-mail :  meg...@wso2.com
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
>
> *Regards,*
>
> *T.Pranavan*
>
> *Software Engineering intern, WSO2*
> *Mobile - +94775136836 <%2B94775136836>*
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Shiva Balachandran
Software Engineer
WSO2 Inc.

Mobile - +94 774445788
Blog - https://shivabalachandran.wordpress.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [MB]Error when trying to run the Durable subscriber sample

2015-02-06 Thread Shiva Balachandran
Hi Megala,

What is the version of MB you are currently using? This was issue was
experienced in 2.0.1 and was fixed in the later version, refer to [1].

[1] -
http://stackoverflow.com/questions/16107685/wso2-messagebrokerthrowing-org-wso2-andes-amqtimeoutexception-error-when-creati

Thank you.

Regards,
Shiva Balachandran

On Fri, Feb 6, 2015 at 3:28 PM, Megala Uthayakumar  wrote:

>
> Hi all,
>
> When I try to run the Durable subscriber sample in the MB I got the
> following error.
>
> [
>
>
>
>
>
>
>
>
>
>
>
> *java] javax.jms.JMSException: Error registering consumer:
> org.wso2.andes.AMQSecurityException: Cannot subscribe to queue
> carbon:mySub1234567 as it already has an existing exclusive consumer [error
> code 403: access refused] [java] at
> org.wso2.andes.client.AMQSession$5.execute(AMQSession.java:2089) [java]
> at org.wso2.andes.client.AMQSession$5.execute(AMQSession.java:2032)
> [java] at
> org.wso2.andes.client.AMQConnectionDelegate_8_0.executeRetrySupport(AMQConnectionDelegate_8_0.java:315)
> [java] at
> org.wso2.andes.client.AMQConnection.executeRetrySupport(AMQConnection.java:620)
> [java] at
> org.wso2.andes.client.failover.FailoverRetrySupport.execute(FailoverRetrySupport.java:102)
> [java] at
> org.wso2.andes.client.AMQSession.createConsumerImpl(AMQSession.java:2030)
> [java] at
> org.wso2.andes.client.AMQSession.createConsumer(AMQSession.java:1028)
> [java] at
> org.wso2.andes.client.AMQSession.createDurableSubscriber(AMQSession.java:1182)
> [java] at
> org.wso2.andes.client.AMQSession.createDurableSubscriber(AMQSession.java:1077)
> [java] at
> org.wso2.andes.client.AMQTopicSessionAdaptor.createDurableSubscriber(AMQTopicSessionAdaptor.java:73)
> [java] at org.sample.jms.DurableTopicSubscriber.subscribe(Unknown
> Source) [java] at org.sample.jms.Main.main(Unknown Source)*
>
> Same exception is thrown  when trying to run the integration test for the
> durable subscribers. What may be the possible reason for this?
>
> Thanks
>
> Megala Uthayakumar
> *Software Engineering Intern *| *WSO2 Lanka*
> Mobile : +94 779 967 122
> Tel  : +94 112 733 667
> E-mail :  meg...@wso2.com
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Shiva Balachandran
Software Engineer
WSO2 Inc.

Mobile - +94 774445788
Blog - https://shivabalachandran.wordpress.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Tharindu Edirisinghe

2015-02-06 Thread Shiva Balachandran
;>>>>>>>>>>>>>>>>>>>>> lean.enterprise.middleware
>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>> Mobile - *+9476950*
>>>>>>>>>>>>>>>>>>>>>>>>>>>> Blog - *http://nallaa.wordpress.com
>>>>>>>>>>>>>>>>>>>>>>>>>>>> <http://nallaa.wordpress.com>*
>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>> ___
>>>>>>>>>>>>>>>>>>>>>>>>>>>> Dev mailing list
>>>>>>>>>>>>>>>>>>>>>>>>>>>> Dev@wso2.org
>>>>>>>>>>>>>>>>>>>>>>>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>> ___
>>>>>>>>>>>>>>>>>>>>>>>>>>> Dev mailing list
>>>>>>>>>>>>>>>>>>>>>>>>>>> Dev@wso2.org
>>>>>>>>>>>>>>>>>>>>>>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>> ___
>>>>>>>>>>>>>>>>>>>>>>>>>> Dev mailing list
>>>>>>>>>>>>>>>>>>>>>>>>>> Dev@wso2.org
>>>>>>>>>>>>>>>>>>>>>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>>>>>>> Buddhima Wijeweera
>>>>>>>>>>>>>>>>>>>>>>>>> Software Engineer; WSO2 Inc.; http://wso2.com ,
>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>> Mobile: +94 71 427 9966
>>>>>>>>>>>>>>>>>>>>>>>>> Email: buddh...@wso2.com
>>>>>>>>>>>>>>>>>>>>>>>>> Blog:   https://buddhimawijeweera.wordpress.com
>>>>>>>>>>>>>>>>>>>>>>>>> GitHub Profile: https://github.com/Buddhima
>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>> ___
>>>>>>>>>>>>>>>>>>>>>>>>> Dev mailing list
>>>>>>>>>>>>>>>>>>>>>>>>> Dev@wso2.org
>>>>>>>>>>>>>>>>>>>>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>>>>>> Vijitha Ekanayake
>>>>>>>>>>>>>>>>>>>>>>>> Software Engineer*, *WSO2, Inc.; http://wso2.com/
>>>>>>>>>>>>>>>>>>>>>>>> Mobile : +94 777 24 73 39 | +94 718 74 44 08
>>>>>>>>>>>>>>>>>>>>>>>> lean.enterprise.middleware
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>> ___
>>>>>>>>>>>>>>>>>>>>>>>> Dev mailing list
>>>>>>>>>>>>>>>>>>>>>>>> Dev@wso2.org
>>>>>>>>>>>>>>>>>>>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>>>>> *Chamin Nalinda*
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>> Intern - Engineering
>>>>>>>>>>>>>>>>>>>>>>> WSO2 Inc. http://www.wso2.com
>>>>>>>>>>>>>>>>>>>>>>> lean.enterprise.middleware
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>> Mobile: (+94) 77 241 66 04
>>>>>>>>>>>>>>>>>>>>>>> Linkedin: https://www.linkedin.com/in/chaminnalinda
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>> Web: http://www.ckreativity.com
>>>>>>>>>>>>>>>>>>>>>>> Blog: http://techspiro.blogspot.com/
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>> ___
>>>>>>>>>>>>>>>>>>>>>>> Dev mailing list
>>>>>>>>>>>>>>>>>>>>>>> Dev@wso2.org
>>>>>>>>>>>>>>>>>>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> ___
>>>>>>>>>>>>>>>>>>>>>> Dev mailing list
>>>>>>>>>>>>>>>>>>>>>> Dev@wso2.org
>>>>>>>>>>>>>>>>>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>>> Pumudu Ruhunage
>>>>>>>>>>>>>>>>>>>>> Associate Software Engineer | WSO2 Inc
>>>>>>>>>>>>>>>>>>>>> M: +94 779 664493  | http://wso2.com
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> ___
>>>>>>>>>>>>>>>>>>>>> Dev mailing list
>>>>>>>>>>>>>>>>>>>>> Dev@wso2.org
>>>>>>>>>>>>>>>>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>> Thanks & Regards
>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>> Srisunmugaraja Paraparan
>>>>>>>>>>>>>>>>>>>> Software Engineer,
>>>>>>>>>>>>>>>>>>>> WSO2 Inc. - lean . enterprise . middleware |  wso2.com
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> email : parapa...@wso2.com, mobile : +94 77 0362151
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> ___
>>>>>>>>>>>>>>>>>>>> Dev mailing list
>>>>>>>>>>>>>>>>>>>> Dev@wso2.org
>>>>>>>>>>>>>>>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>> Sithumini Senevirathne
>>>>>>>>>>>>>>>>>>> Software Engineer
>>>>>>>>>>>>>>>>>>> WSO2 Inc. - lean . enterprise . middleware |  wso2.com
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> email: sithumi...@wso2.com,   mobile: +94 756977999
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> ___
>>>>>>>>>>>>>>>>>>> Dev mailing list
>>>>>>>>>>>>>>>>>>> Dev@wso2.org
>>>>>>>>>>>>>>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>> Milinda Perera
>>>>>>>>>>>>>>>>>> Software Engineer;
>>>>>>>>>>>>>>>>>> WSO2 Inc. http://wso2.com ,
>>>>>>>>>>>>>>>>>> Mobile: (+94) 714 115 032
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> ___
>>>>>>>>>>>>>>>>>> Dev mailing list
>>>>>>>>>>>>>>>>>> Dev@wso2.org
>>>>>>>>>>>>>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>> 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
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>> Ravindra Ranwala
>>>>>>>>>>>>>>>> Software Engineer
>>>>>>>>>>>>>>>> WSO2, Inc: http://wso2.com
>>>>>>>>>>>>>>>> <http://www.google.com/url?q=http%3A%2F%2Fwso2.com&sa=D&sntz=1&usg=AFQjCNEZvyc0uMD1HhBaEGCBxs6e9fBObg>
>>>>>>>>>>>>>>>> Mobile: +94714198770
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> ___
>>>>>>>>>>>>>>>> Dev mailing list
>>>>>>>>>>>>>>>> Dev@wso2.org
>>>>>>>>>>>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>> *Thanks and Regards,*
>>>>>>>>>>>>>>> Anuruddha Lanka Liyanarachchi
>>>>>>>>>>>>>>> Software Engineer - WSO2
>>>>>>>>>>>>>>> Mobile : +94 (0) 712762611
>>>>>>>>>>>>>>> Tel  : +94 112 145 345
>>>>>>>>>>>>>>> a nurudd...@wso2.com
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> ___
>>>>>>>>>>>>>>> Dev mailing list
>>>>>>>>>>>>>>> Dev@wso2.org
>>>>>>>>>>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> --
>>>>>>>>>>>>>> *Sam Sivayogam*
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Software Engineer
>>>>>>>>>>>>>> Mobile  : +94 772 906 439
>>>>>>>>>>>>>> Office   : +94 112 145 345
>>>>>>>>>>>>>> *WSO2, Inc. :** wso2.com <http://wso2.com/>*
>>>>>>>>>>>>>> lean.enterprise.middleware.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> ___
>>>>>>>>>>>>>> Dev mailing list
>>>>>>>>>>>>>> Dev@wso2.org
>>>>>>>>>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> --
>>>>>>>>>>>>> Best Regards,
>>>>>>>>>>>>>
>>>>>>>>>>>>> Kalpa Welivitigoda
>>>>>>>>>>>>> Software Engineer, WSO2 Inc. http://wso2.com
>>>>>>>>>>>>> Email: kal...@wso2.com
>>>>>>>>>>>>> Mobile: +94776509215
>>>>>>>>>>>>>
>>>>>>>>>>>>> ___
>>>>>>>>>>>>> Dev mailing list
>>>>>>>>>>>>> Dev@wso2.org
>>>>>>>>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> ___
>>>>>>>>>>>> Dev mailing list
>>>>>>>>>>>> Dev@wso2.org
>>>>>>>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> ___
>>>>>>>>>>> Dev mailing list
>>>>>>>>>>> Dev@wso2.org
>>>>>>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> --
>>>>>>>>>> Chanuka Dissanayake
>>>>>>>>>> *Software Engineer | **WSO2 Inc.*; http://wso2.com
>>>>>>>>>>
>>>>>>>>>> Mobile: +94 71 33 63 596
>>>>>>>>>> Email: chan...@wso2.com
>>>>>>>>>>
>>>>>>>>>> ___
>>>>>>>>>> Dev mailing list
>>>>>>>>>> Dev@wso2.org
>>>>>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> Kathees
>>>>>>>>> Software Engineer,
>>>>>>>>> email: kath...@wso2.com
>>>>>>>>> mobile: +94772596173
>>>>>>>>>
>>>>>>>>> ___
>>>>>>>>> Dev mailing list
>>>>>>>>> Dev@wso2.org
>>>>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> Harsha Kumara
>>>>>>>> Software Engineer, WSO2 Inc.
>>>>>>>> Mobile: +94775505618
>>>>>>>> Blog:harshcreationz.blogspot.com
>>>>>>>>
>>>>>>>> ___
>>>>>>>> Dev mailing list
>>>>>>>> Dev@wso2.org
>>>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> *Niranda Perera*
>>>>>>> Software Engineer, WSO2 Inc.
>>>>>>> Mobile: +94-71-554-8430
>>>>>>> Twitter: @n1r44 <https://twitter.com/N1R44>
>>>>>>>
>>>>>>> ___
>>>>>>> Dev mailing list
>>>>>>> Dev@wso2.org
>>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Prasanna Dangalla
>>>>>> Software Engineer, WSO2, Inc.; http://wso2.com/
>>>>>> lean.enterprise.middleware
>>>>>>
>>>>>> cell: +94 777 55 80 30 | +94 718 11 27 51
>>>>>> twitter: @prasa77
>>>>>>
>>>>>> ___
>>>>>> Dev mailing list
>>>>>> Dev@wso2.org
>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>
>>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>>
>>>> Tharindu Edirisinghe
>>>> Software Engineer | WSO2 Inc
>>>> Identity Server Team
>>>> mobile : +94 775 181586
>>>>
>>>> ___
>>>> Dev mailing list
>>>> Dev@wso2.org
>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>
>>>>
>>>
>>>
>>> --
>>> *Jerad Rutnam*
>>> *Software Engineer*
>>>
>>> WSO2 Inc.
>>> lean | enterprise | middleware
>>> M : +94 77 959 1609 | E : je...@wso2.com | W : www.wso2.com
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> *Senduran *
>> Software Engineer,
>> WSO2, Inc.;  http://wso2.com/ <http://wso2.com/>
>> Mobile: +94 77 952 6548
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> *Pulasthi Mahawithana*
> Software Engineer
> WSO2 Inc., http://wso2.com/
> Mobile: +94-71-5179022
> Blog: http://blog.pulasthi.org
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Shiva Balachandran
Software Engineer
WSO2 Inc.

Mobile - +94 774445788
Blog - https://shivabalachandran.wordpress.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 AS failed to join cluster which is configured to a remote registry

2015-02-05 Thread Shiva Balachandran
Hi Inshaf,

Please check your registry.xml configuration. Have you added the DBConfig
for the datasource, as well as the remoteInstance in the registry.xml file?

Also, how many AS nodes are you running? If its a single node what is the
necessity of a shared Config and Governance Partitions to a Remote Registry?

Please remove the axis2.xml configuration if its a single node, this might
fix your issue.

Thank you,

Regards
Shiva Balachandran

On Thu, Feb 5, 2015 at 4:36 PM, Inshaf Mahath  wrote:

> Hi,
>
> I am trying to share Config and Governance Partitions to a Remote
> Registry. I have followed [1] and configured WSO2 GREG as remote registry
> instance and AS as carbon server node. I was able to run GREG instance
> successfully  but failed to run AS as it's producing the following error.
>
>
> [2015-02-05 06:37:13,106]  INFO {org.wso2.carbon.core.
> clustering.hazelcast.HazelcastClusteringAgent} -  Using multicast based
> membership management scheme
> [2015-02-05 06:42:33,424] ERROR {com.hazelcast.instance.Node} -
> [127.0.0.1]:4001 [wso2.carbon.domain] Could not join cluster, shutting down!
> java.lang.IllegalStateException:
> ==
> Couldn't connect to discovered master! tryCount: 50
> address: Address[127.0.0.1]:4001
> masterAddress: Address[127.0.0.1]:0
> multicast: true
> connection: null
> ==
>
> at com.hazelcast.cluster.AbstractJoiner.failedJoiningToMaster(
> AbstractJoiner.java:139)
> at com.hazelcast.cluster.MulticastJoiner.doJoin(
> MulticastJoiner.java:69)
> at com.hazelcast.cluster.AbstractJoiner.join(AbstractJoiner.java:61)
> at com.hazelcast.instance.Node.join(Node.java:526)
> at com.hazelcast.instance.Node.rejoin(Node.java:515)
> at com.hazelcast.instance.Node.join(Node.java:531)
> at com.hazelcast.instance.Node.rejoin(Node.java:515)
> at com.hazelcast.instance.Node.join(Node.java:531)
> at com.hazelcast.instance.Node.rejoin(Node.java:515)
> at com.hazelcast.instance.Node.join(Node.java:531)
> at com.hazelcast.instance.Node.rejoin(Node.java:515)
> at com.hazelcast.instance.Node.join(Node.java:531)
> at com.hazelcast.instance.Node.rejoin(Node.java:515)
> at com.hazelcast.instance.Node.join(Node.java:531)
> at com.hazelcast.instance.Node.rejoin(Node.java:515)
> at com.hazelcast.instance.Node.join(Node.java:531)
> at com.hazelcast.instance.Node.rejoin(Node.java:515)
> at com.hazelcast.instance.Node.join(Node.java:531)
> at com.hazelcast.instance.Node.rejoin(Node.java:515)
> at com.hazelcast.instance.Node.join(Node.java:531)
> at com.hazelcast.instance.Node.rejoin(Node.java:515)
> at com.hazelcast.instance.Node.join(Node.java:531)
> at com.hazelcast.instance.Node.rejoin(Node.java:515)
> at com.hazelcast.instance.Node.join(Node.java:531)
> at com.hazelcast.instance.Node.rejoin(Node.java:515)
> at com.hazelcast.instance.Node.join(Node.java:531)
> at com.hazelcast.instance.Node.rejoin(Node.java:515)
> at com.hazelcast.instance.Node.join(Node.java:531)
> at com.hazelcast.instance.Node.start(Node.java:316)
> at com.hazelcast.instance.HazelcastInstanceImpl.(
> HazelcastInstanceImpl.java:94)
> at com.hazelcast.instance.HazelcastInstanceFactory.
> newHazelcastInstance(HazelcastInstanceFactory.java:87)
> at com.hazelcast.instance.HazelcastInstanceFactory.
> newHazelcastInstance(HazelcastInstanceFactory.java:72)
> at com.hazelcast.core.Hazelcast.newHazelcastInstance(
> Hazelcast.java:58)
> at org.wso2.carbon.core.clustering.hazelcast.
> HazelcastClusteringAgent.init(HazelcastClusteringAgent.java:178)
> at org.wso2.carbon.core.util.ClusteringUtil.enableClustering(
> ClusteringUtil.java:38)
> at org.wso2.carbon.core.internal.StartupFinalizerServiceCompone
> nt.completeInitialization(StartupFinalizerServiceComponent.java:177)
> at org.wso2.carbon.core.internal.StartupFinalizerServiceCompone
> nt.serviceChanged(StartupFinalizerServiceComponent.java:284)
> 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(Serv

Re: [Dev] Applying new design to ES publisher app

2015-01-29 Thread Shiva Balachandran
Its actually a brilliant mixture! :) Looks very sleek and trendy, Just an
opinion, what about integrating a bit of wso2 colors or ES colors into the
theme?



On Fri, Jan 30, 2015 at 12:05 PM, Dhanuka De Silva 
wrote:

> Hi Shiva
>
> Thanks for your feedback..
>
> Well its a combination of both Windows 8 (formerly Metro) and MS
> Sharepoint 2013 adding slight variations into their guidelines improvising
> more on flat design (over skeuomorphic design)
>
> Cheers
>
> On Fri, Jan 30, 2015 at 11:57 AM, Shiva Balachandran 
> wrote:
>
>> Hi Dhanuka,
>>
>> The New Design/Html looks good, Chanaka, out of curiosity, Are we going
>> to be using HTML5/CSS3?
>>
>> Also, the UI/UX reminds me  of Windows Metro or of Sharepoint 2013. Is
>> there a specific design/theme we are adhering to? Any guidelines.
>>
>> Thank you
>>
>> Regards,
>> Shiva Balachandran
>>
>> On Fri, Jan 30, 2015 at 11:27 AM, Chanaka Jayasena 
>> wrote:
>>
>>> Thanks Dhanuka for the designs, Will apply them.
>>>
>>> Cheers,
>>> Chanaka
>>>
>>> On Fri, Jan 30, 2015 at 11:21 AM, Dhanuka De Silva 
>>> wrote:
>>>
>>>> Hi Chanaka
>>>>
>>>> Apologies for the delay!..
>>>>
>>>> Here are the remaining set of designs to be integrated (Add/Edit and
>>>> Overview of Assets).
>>>>
>>>> Feel free to talk to me if you need any help clarifying any of these.
>>>>
>>>> Cheers
>>>>
>>>> On Mon, Jan 26, 2015 at 12:02 PM, Chanaka Jayasena 
>>>> wrote:
>>>>
>>>>> Hi all,
>>>>>
>>>>> I have started working on applying the new design/html [1] provided by
>>>>> Dhanuka to Enterprise Store 2.0 replacing the current design [2]. This is
>>>>> to track the progress of it.
>>>>>
>>>>> thanks,
>>>>> Chanaka
>>>>>
>>>>> --
>>>>> Chanaka Jayasena
>>>>> Senior Software Engineer; WSO2, Inc.;  http://wso2.com/
>>>>> email: chan...@wso2.com; cell: +94 77 785 5565
>>>>> blog: http://chanaka3d.blogspot.com
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Dhanuka De Silva
>>>> m: +94 773 887816
>>>> e: dhanu...@wso2.com
>>>> w: http://www.wso2.com
>>>>
>>>
>>>
>>>
>>> --
>>> Chanaka Jayasena
>>> Senior Software Engineer; WSO2, Inc.;  http://wso2.com/
>>> email: chan...@wso2.com; cell: +94 77 785 5565
>>> blog: http://chanaka3d.blogspot.com
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Shiva Balachandran
>> Software Engineer
>> WSO2 Inc.
>>
>> Mobile - +94 774445788
>> Blog - https://shivabalachandran.wordpress.com/
>>
>
>
>
> --
> Dhanuka De Silva
> m: +94 773 887816
> e: dhanu...@wso2.com
> w: http://www.wso2.com
>



-- 
Shiva Balachandran
Software Engineer
WSO2 Inc.

Mobile - +94 774445788
Blog - https://shivabalachandran.wordpress.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Error, build the connector external pom

2015-01-29 Thread Shiva Balachandran
Hi Sabashan,

This might be due to your java version being 1.7, try building with 1.6
version.

Thank you.

Regards
Shiva Balachandran

On Thu, Jan 29, 2015 at 5:15 PM, Sabashan Baladevan 
wrote:

> Hi all,
>
> My environment is .
>
> Apache Maven *3.2.3* (33f8c3e1027c3ddde99d3cdebad2656a31e8fdf4;
> 2014-08-12T02:28:10+05:30)
> Maven home: /home/sabashan/apache-maven-3.2.3
> Java version: *1.7*.0_76, vendor: *Oracle Corporation*
> Java home: /usr/lib/jvm/java-7-oracle/jre
> Default locale: en_US, platform encoding: UTF-8
> OS name: "linux", version: "3.13.0-44-generic", arch: "amd64", family:
> "unix"
>
> -
>
> I got the following error while I build the *cloud connectors' external
> pom *
> but, I have built *integration-base* pom *successfully*
>
>
> Error logs:
> org.apache.maven.project.ProjectBuildingException:* Some problems* were
> encountered while processing the POMs:
>
> at
> org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:416)
> at org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:663)
> at
> org.apache.maven.DefaultMaven.getProjectsForMavenReactor(DefaultMaven.java:654)
> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:243)
> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:154)
> at org.apache.maven.cli.MavenCli.execute(MavenCli.java:582)
> at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:214)
> at org.apache.maven.cli.MavenCli.main(MavenCli.java:158)
> 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:606)
> at
> org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
> at
> org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
> at
> org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
> at
> org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
>
>
> Thanks & Regards,
> Sabashan
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Shiva Balachandran
Software Engineer
WSO2 Inc.

Mobile - +94 774445788
Blog - https://shivabalachandran.wordpress.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Applying new design to ES publisher app

2015-01-29 Thread Shiva Balachandran
Hi Dhanuka,

The New Design/Html looks good, Chanaka, out of curiosity, Are we going to
be using HTML5/CSS3?

Also, the UI/UX reminds me  of Windows Metro or of Sharepoint 2013. Is
there a specific design/theme we are adhering to? Any guidelines.

Thank you

Regards,
Shiva Balachandran

On Fri, Jan 30, 2015 at 11:27 AM, Chanaka Jayasena  wrote:

> Thanks Dhanuka for the designs, Will apply them.
>
> Cheers,
> Chanaka
>
> On Fri, Jan 30, 2015 at 11:21 AM, Dhanuka De Silva 
> wrote:
>
>> Hi Chanaka
>>
>> Apologies for the delay!..
>>
>> Here are the remaining set of designs to be integrated (Add/Edit and
>> Overview of Assets).
>>
>> Feel free to talk to me if you need any help clarifying any of these.
>>
>> Cheers
>>
>> On Mon, Jan 26, 2015 at 12:02 PM, Chanaka Jayasena 
>> wrote:
>>
>>> Hi all,
>>>
>>> I have started working on applying the new design/html [1] provided by
>>> Dhanuka to Enterprise Store 2.0 replacing the current design [2]. This is
>>> to track the progress of it.
>>>
>>> thanks,
>>> Chanaka
>>>
>>> --
>>> Chanaka Jayasena
>>> Senior Software Engineer; WSO2, Inc.;  http://wso2.com/
>>> email: chan...@wso2.com; cell: +94 77 785 5565
>>> blog: http://chanaka3d.blogspot.com
>>>
>>
>>
>>
>> --
>> Dhanuka De Silva
>> m: +94 773 887816
>> e: dhanu...@wso2.com
>> w: http://www.wso2.com
>>
>
>
>
> --
> Chanaka Jayasena
> Senior Software Engineer; WSO2, Inc.;  http://wso2.com/
> email: chan...@wso2.com; cell: +94 77 785 5565
> blog: http://chanaka3d.blogspot.com
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Shiva Balachandran
Software Engineer
WSO2 Inc.

Mobile - +94 774445788
Blog - https://shivabalachandran.wordpress.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Search Customization in ES

2015-01-28 Thread Shiva Balachandran
Hi Kathees,

Do you want to add your own filters for the search or customize the search
functionality itself to limit it to certain fields?

Thank you,

Regards,

Shiva Balachandran

p.s. - Looping in SameeraM

On Thu, Jan 29, 2015 at 12:22 PM, Kathees Rajendram 
wrote:

> Hi,
>
> Now we are getting all RXT Attributes for search functionality. I want to
> customize the search in Enterprise store. How can I do in the enterprise
> store?
>
>
>
> Thanks,
> Kathees
>
> --
> Kathees
> Software Engineer,
> email: kath...@wso2.com
> mobile: +94772596173
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Shiva Balachandran
Software Engineer
WSO2 Inc.

Mobile - +94 774445788
Blog - https://shivabalachandran.wordpress.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Contributing to Data Services

2015-01-28 Thread Shiva Balachandran
Hi Pradeep,

Basically all the dependencies of the product are listed in the pom file
and downloaded to the local m2 repo from nexus. Looks like there is a build
break in the DSS source. This should be fixed soon. We recently released a
new version of platform, therefore please bear with us until the fixes are
performed in the product source to accommodate the changes.

Thank you.

Regards
Shiva Balachandran

On Wed, Jan 28, 2015 at 4:39 PM, Pradeep Murugesan <
pradeepmuruge...@outlook.com> wrote:

> Hi Shiva,
>
>  Thanks for the prompt reply. I cloned the repo from github and I
> tried to build it using mvn install.
>
> I got the following error. the error says artifact
> org.wso2.carbon:org.wso2.carbon.dataservices.core:jar:4.3.0-SNAPSHOT.
>
> when I tried to search the same in wso2 nexus . I could see the the pom
> definition is as follows.
>
> http://maven.wso2.org/nexus/index.html#nexus-search;quick~org.wso2.carbon.dataservices.core
>
> 
>   org.wso2.carbon
>   org.wso2.carbon.dataservices.core
>   4.3.0-SNAPSHOT
>   pom
> 
>
> Can you please tell me what I am missing. Sorry If I sound too naive.
>
>
> [INFO]
> 
> [INFO] Building WSO2 Data Services Server Distribution 3.3.0-SNAPSHOT
> [INFO]
> 
> [INFO]
> 
> [INFO] Reactor Summary:
> [INFO]
> [INFO] WSO2 DataServices Parent ... SUCCESS [
>  0.090 s]
> [INFO] WSO2 DataServices Styles Parent  SUCCESS [
>  0.005 s]
> [INFO] DataServices UI styles . SUCCESS [
>  2.269 s]
> [INFO] WSO2 Stratos DSS - UI styles ... SUCCESS [
>  0.513 s]
> [INFO] WSO2 DataServices Samples Parent ... SUCCESS [
>  0.010 s]
> [INFO] DataServices Clients ... SUCCESS [
> 19.678 s]
> [INFO] WSO2 DataServices Features Parent .. SUCCESS [
>  0.005 s]
> [INFO] WSO2 DataServices - Style Features . SUCCESS [
>  0.625 s]
> [INFO] WSO2 Stratos DSS - Style Features .. SUCCESS [
>  0.155 s]
> [INFO] WSO2 Stratos DSS - Login User Interface  SUCCESS [
>  0.425 s]
> [INFO] WSO2 Stratos DSS - Deployment Features . SUCCESS [
>  0.250 s]
> [INFO] WSO2 Stratos Data Services Server - Dashboard UI ... SUCCESS [
>  0.460 s]
> [INFO] WSO2 Stratos DSS - Dashboard UI Features ... SUCCESS [
>  0.315 s]
> [INFO] WSO2 Stratos DSS - Features Aggregator Module .. SUCCESS [
>  0.005 s]
> [INFO] WSO2 DataServices - DataServices Profile Generation  SUCCESS [
> 30.851 s]
> [INFO] WSO2 Data Services Server Distribution . FAILURE [
>  0.150 s]
> [INFO] WSO2 DSS - Integration Tests ... SKIPPED
> [INFO] admin-clents ... SKIPPED
> [INFO] integration-test-utils . SKIPPED
> [INFO] integration-test-ui-pages .. SKIPPED
> [INFO] WSO2 DataServices Intetration Test Common .. SKIPPED
> [INFO] org.wso2.dss.integration.test .. SKIPPED
> [INFO] WSO2 DataServices Intetration Test . SKIPPED
> [INFO] DataService Integration test UI module . SKIPPED
> [INFO]
> 
> [INFO] BUILD FAILURE
> [INFO]
> 
> [INFO] Total time: 57.022 s
> [INFO] Finished at: 2015-01-28T16:21:50+05:30
> [INFO] Final Memory: 53M/689M
> [INFO]
> 
> [ERROR] Failed to execute goal on project wso2dss: Could not resolve
> dependencie
> s for project org.wso2.dss:wso2dss:jar:3.3.0-SNAPSHOT: Failed to collect
> depende
> ncies at
> org.wso2.carbon:org.wso2.carbon.dataservices.core:jar:4.3.0-SNAPSHOT: F
> ailed to read artifact descriptor for
> org.wso2.carbon:org.wso2.carbon.dataservic
> es.core:jar:4.3.0-SNAPSHOT: Failure to find
> org.wso2.carbon:data-services:pom:${
> dataservices.version} in
> http://maven.wso2.org/nexus/content/groups/wso2-public/
>  was cached in the local repository, resolution will not be reattempted
> until th
> e update interval of wso2-nexus has elapsed or updates are forced -> [Help
> 1]
>
>
>
> Pradeep.
> --
> Date: Wed, 28 Jan 2015 13:38:04 +0530
> Subject: Re: [Dev] Contributing to Data Services
> From: sh...@wso2.com
> To: pradeepmuruge...@outlook.com
> CC: dev@

Re: [Dev] Contributing to Data Services

2015-01-28 Thread Shiva Balachandran
Hi Pradeep,

To be specific to your request, check the getting started guide[1]. The
getting started document contains all the necessary information on
downloading the source and building it. Also, Instead of using the svn
location, checkout from the git hub location of the product, git hub
location can be found at [2].

[1] - https://docs.wso2.com/display/DSS322/Getting+Started
[2] - https://github.com/wso2/product-dss



Thank you.

Regards
Shiva Balachandran

On Wed, Jan 28, 2015 at 1:21 PM, Jerad Rutnam  wrote:

> Hi Pradeep,
>
> You can find the documentation for WSO2 Data Services Server here:
> https://docs.wso2.com/display/DSS322/WSO2+Data+Services+Server+Documentation
>
> Regards,
> Jerad
>
> On Wed, Jan 28, 2015 at 1:07 PM, Pradeep Murugesan <
> pradeepmuruge...@outlook.com> wrote:
>
>> Hi ,
>>
>>  We are trying to integrate Data Services Server in our product. In the
>> mean time we also want contribute back to the source.
>>
>> I am trying to set up the dev env for Data Services. But I am not able to
>> find any documentation related to this.
>>
>> I have the following source link in the web page for data services
>>
>> https://svn.wso2.org/repos/wso2/carbon/platform/tags/turing-chunk13/
>>
>> But this contains all the products.
>>
>> If someone could help me in guiding to the right manual for setting up
>> the dev env for Data Services that would be really helpful.
>>
>> Pradeep.
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> *Jerad Rutnam*
> *Software Engineer - UI*
>
> WSO2 Inc.
> lean | enterprise | middleware
> M : +94 77 959 1609 | E : je...@wso2.com | W : www.wso2.com
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Shiva Balachandran
Software Engineer
WSO2 Inc.

Mobile - +94 774445788
Blog - https://shivabalachandran.wordpress.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] ERROR - TenantAwareLoadBalanceEndpoint No application members available

2015-01-27 Thread Shiva Balachandran
Hi Bob,

Please check the wso2 site on how to unsubscribe from out mailing lists.

Thank you,
Shiva Balachandran

On Tuesday, January 27, 2015, Bob Carson  wrote:

> Please remove me from your mailing list.
>
> Robert R. Carson
>
>
>
>
> On Jan 26, 2015, at 20:49, Shiva Balachandran  > wrote:
>
> Hi Anuruddha,
>
> I believe you are encountering this error, as you have not configured the
> ELB properly. Some of the configurations are missing in the blog you are
> following. It is best to use the documentation provided with the products.
> Check [1] to find out on how to configure the ELB. Document [2] provides an
> examples of clustering WSO2 products with ELB.
>
> There are several configurations that are missed out in that blog that
> needs to be done in the ELB side. Please check the links.
>
> [1] -
> https://docs.wso2.com/display/CLUSTER420/Configuring+the+Load+Balancer
> [2] - https://docs.wso2.com/display/CLUSTER420/Clustering+WSO2+Products
>
> On Tue, Jan 27, 2015 at 9:53 AM, Anuruddha Liyanarachchi <
> anurudd...@wso2.com >
> wrote:
>
>> Hi Team,
>>
>> I am following the tutorial [1]. I was able to successfully start all the
>> ELB, worker and management instances. When I am trying to login to mgt node
>> I am getting following error in the ELB console.
>>
>> *ERROR - TenantAwareLoadBalanceEndpoint No application members available*
>>
>>
>> After searching in the google I found the mail threads [2],[3] with same
>> error but none of them contains the solution.
>>
>> [1]
>> http://charithaka.blogspot.com/2012/09/setting-up-minimum-deployment-of-wso2.html
>> [2]
>> http://wso2-oxygen-tank.10903.n7.nabble.com/Dev-LB-Stabilization-for-Kernel-4-2-0-release-td84217.html
>> [3] http://mail.wso2.org/mailarchive/dev/2013-August/020745.html
>>
>> --
>> *Thanks and Regards,*
>> Anuruddha Lanka Liyanarachchi
>> Software Engineer - WSO2
>> Mobile : +94 (0) 712762611
>> Tel  : +94 112 145 345
>> a nurudd...@wso2.com
>> 
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org 
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Shiva Balachandran
> Software Engineer
> WSO2 Inc.
>
> Mobile - +94 774445788
> Blog - https://shivabalachandran.wordpress.com/
>
> ___
> Dev mailing list
> Dev@wso2.org 
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>

-- 
Shiva Balachandran
Software Engineer
WSO2 Inc.

Mobile - +94 774445788
Blog - https://shivabalachandran.wordpress.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] ERROR - TenantAwareLoadBalanceEndpoint No application members available

2015-01-26 Thread Shiva Balachandran
Hi Anuruddha,

I believe you are encountering this error, as you have not configured the
ELB properly. Some of the configurations are missing in the blog you are
following. It is best to use the documentation provided with the products.
Check [1] to find out on how to configure the ELB. Document [2] provides an
examples of clustering WSO2 products with ELB.

There are several configurations that are missed out in that blog that
needs to be done in the ELB side. Please check the links.

[1] - https://docs.wso2.com/display/CLUSTER420/Configuring+the+Load+Balancer
[2] - https://docs.wso2.com/display/CLUSTER420/Clustering+WSO2+Products

On Tue, Jan 27, 2015 at 9:53 AM, Anuruddha Liyanarachchi <
anurudd...@wso2.com> wrote:

> Hi Team,
>
> I am following the tutorial [1]. I was able to successfully start all the
> ELB, worker and management instances. When I am trying to login to mgt node
> I am getting following error in the ELB console.
>
> *ERROR - TenantAwareLoadBalanceEndpoint No application members available*
>
>
> After searching in the google I found the mail threads [2],[3] with same
> error but none of them contains the solution.
>
> [1]
> http://charithaka.blogspot.com/2012/09/setting-up-minimum-deployment-of-wso2.html
> [2]
> http://wso2-oxygen-tank.10903.n7.nabble.com/Dev-LB-Stabilization-for-Kernel-4-2-0-release-td84217.html
> [3] http://mail.wso2.org/mailarchive/dev/2013-August/020745.html
>
> --
> *Thanks and Regards,*
> Anuruddha Lanka Liyanarachchi
> Software Engineer - WSO2
> Mobile : +94 (0) 712762611
> Tel  : +94 112 145 345
> a nurudd...@wso2.com
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Shiva Balachandran
Software Engineer
WSO2 Inc.

Mobile - +94 774445788
Blog - https://shivabalachandran.wordpress.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Comparing two json objects

2015-01-26 Thread Shiva Balachandran
Hi Shashika,

You can try JsonUnit <https://github.com/lukas-krecan/JsonUnit>. It can
compare two JSON objects and report differences. It's built on top of
Jackson.

E.g-
assertJsonEquals("{\"test\":1}", "{\n\"test\": 2\n}");

Results -
java.lang.AssertionError: JSON documents are different:
Different value found in node "test". Expected 1, got 2.

or You can try JsonAssert [1].

[1] - http://jsonassert.skyscreamer.org/quickstart.html



Thank you,
Shiva Balachandran


On Mon, Jan 26, 2015 at 5:13 PM, Shashika Karunatilaka 
wrote:

> Hi,
>
> Currently i need to do the $subject for a test case, found this blog [1].
> what is the best way of doing $subject
>
> [1]
> http://madhukaudantha.blogspot.com/2014/03/comparing-json-java-testing.html
>
>
> Thank you.
>
> --
> Shashika Prabath Karunatilaka,
> Software Engineer,
> WSO2, Inc: http://wso2.com/
> mobile : +94 77 7487792
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Shiva Balachandran
Software Engineer
WSO2 Inc.

Mobile - +94 774445788
Blog - https://shivabalachandran.wordpress.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] BasicSchema Class - java.lang.NoSuchMethodError: org.apache.commons.codec.binary.Base64

2015-01-26 Thread Shiva Balachandran
Hi All,

I wrote some tests to utilize the rest service urls provided by the BPS
server.

When i build the test i wrote get this error,

deployUnDeployPackage(org.wso2.bps.integration.tests.bpmn.DeployUnDeployBPMNPackageTestCase)
 Time elapsed: 0.253 sec  <<< FAILURE!
java.lang.NoSuchMethodError:
org.apache.commons.codec.binary.Base64.(I)V
at org.apache.http.impl.auth.BasicScheme.(BasicScheme.java:65)
at org.apache.http.impl.auth.BasicScheme.(BasicScheme.java:84)
at
org.wso2.bps.integration.common.clients.bpmn.ActivitiRestClient.deployBPMNPackage(ActivitiRestClient.java:51)
at
org.wso2.bps.integration.tests.bpmn.DeployUnDeployBPMNPackageTestCase.deployUnDeployPackage(DeployUnDeployBPMNPackageTestCase.java:17)

*The code that uses this method is as follows,*

AuthCache authCache = new BasicAuthCache();
// Generate BASIC scheme object and add it to the local
// auth cache
BasicScheme basicAuth = new BasicScheme();
authCache.put(target, basicAuth);

// Add AuthCache to the execution context
HttpClientContext localContext = HttpClientContext.create();
localContext.setAuthCache(authCache);

I researched on the error and came across some results that mentioned that
the apache common codec version should be above 1.4 to use the method. So i
updated my pom.xml with the dependency as show below :-


commons-codec
commons-codec
1.10


When i compile this code in the IDE, it works. But when i execute "mvn
clean install" the build fails and i get the above mentioned error. Can
someone please guide me how to overcome this issue?

Is the common codec already used in the package?

Thank you
Shiva Balachandran


-- 
Shiva Balachandran
Software Engineer
WSO2 Inc.

Mobile - +94 774445788
Blog - https://shivabalachandran.wordpress.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] How to query Through A JSON Array in a Json Object?

2015-01-22 Thread Shiva Balachandran
Hi,

Im really confused on what would be the method to query a JSON Object
inside a JSON Object. I have the following JSON String, what i did was use
the JSONObject Class present in org.json package.

The JSON structure to be queried is as follows,

{
  "data": [
{

  "deploymentId": "233",
  "deploymentUrl":
"http:\/\/localhost:8080\/activiti-rest\/service\/repository\/deployments\/2220"
},
{

  "deploymentId": "123",
  "deploymentUrl":
"http:\/\/localhost:8080\/activiti-rest\/service\/repository\/deployments\/2110"
},
{

  "deploymentId": "202,
  "deploymentUrl":
"http:\/\/localhost:8080\/activiti-rest\/service\/repository\/deployments\/2440",

}
  ],
  "total": 8,
  "start": 0,
  "sort": "name",
  "order": "asc",
  "size": 8
}


So i wrote this code to query this JSON string,

JSONObject jsonResponseObject = new JSONObject(responseData);
JSONArray data = new JSONArray(jsonResponseObject.get("data"));

int responseObjectSize =
Integer.parseInt(jsonResponseObject.getString("total"));

for(int j=0; j < responseObjectSize; j++){
if (data.getJSONObject(j).getString("deploymentId").equals(deploymentID)){
  System.out.println("Success");
  definitionId = data.getJSONObject(j).getString("id");
}
}

This code is not working, am i not accessing the data part correctly?

-- 
Shiva Balachandran
Software Engineer
WSO2 Inc.

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


Re: [Dev] [ESB] Catch Runtime exceptions which are being occured in inner sequences of a Proxy Service

2015-01-19 Thread Shiva Balachandran
Hi Mahesh,

The following document [1] will be helpful. The Error handling section
should answer your query.

[1] -
http://wso2.com/library/articles/2012/10/wso2-esb-examples-best-practises-error-handling-wso2-esb/

Thank you.

Regards
Shiva Balachandran

On Tue, Jan 20, 2015 at 12:17 PM, Mahesh Chinthaka  wrote:

> Hi all,
> Any idea on how to do $subject ?
>
> --
> *Mahesh Chinthaka Vidanagama* | Software Engineer
> WSO2, Inc | lean. enterprise. middleware.
> #20, Palm Grove, Colombo 03, Sri Lanka
> Mobile: +94 71 63 63 083 | Work: +94 112 145 345
> Email: mahe...@wso2.com | Web: www.wso2.com
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Shiva Balachandran
Software Engineer
WSO2 Inc.

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


Re: [Dev] (no subject)

2015-01-19 Thread Shiva Balachandran
Hi Chanaka,

Can you please provide the complete error? Also, the archived mail [1],
talks about a similar issue. Have a look at it too.

[1]] - https://www.mail-archive.com/dev%40wso2.org/msg38252.html

Thank you,
Shiva Balachandran

On Tue, Jan 20, 2015 at 10:33 AM, Chanaka Cooray  wrote:

> I forgot to attach the error.
>
>
> org.wso2.carbon.inbound.stub.InboundAdminStub.getAllInboundEndpointNames()[Lorg/wso2/carbon/inbound/stub/types/carbon/InboundEndpointDTO;
>
> On Tue, Jan 20, 2015 at 10:31 AM, Chanaka Cooray 
> wrote:
>
>>
>> I am trying to build the inbound endpoint ui in carbon-mediation. I used
>> "mvn clean install" in this
>> directory "components/mediation-ui/org.wso2.carbon.inbound.ui"  to
>> build the jar and copied it to the
>> /wso2esb-4.9.0-SNAPSHOT/repository/components/plugins directory.
>>
>> Even though the build was successful, the inbound endpoint tab doesn't
>> appear in the ESB management console. It shows the following error.
>>
>>
>>
>> Is there any step that I have missed in the process of building the jar
>> file?
>>
>> Thank you!
>> --
>> *Chanaka Sampath Cooray*
>> Software Engineering Intern,
>> WSO2 Lanka (pvt) Ltd.
>> Mobile:+94713614884
>>
>
>
>
> --
> *Chanaka Sampath Cooray*
> Software Engineering Intern,
> WSO2 Lanka (pvt) Ltd.
> Mobile:+94713614884
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Shiva Balachandran
Software Engineer
WSO2 Inc.

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


Re: [Dev] Empty Response from Server when using Payload Factory Mediator

2015-01-05 Thread Shiva Balachandran
Hi Maz,

Are you sure the value of the expression in

 

  
 

is correct? I think it should be " expression="$.ipAddress" ". Also try
initially using "ipAddress" instead of "IP Address" in the above given
context.

Thank you.

Regards
Shiva Balachandran

On Tue, Jan 6, 2015 at 7:09 AM, Maz Lakadia  wrote:

> I'm modifying a response sent by a server. To do this I've set up a test
> API that is meant to just send back the IP, in a format like this:
>
> {
>   "origin": "202.37.75.130"
> }
>
> My unmodified code gives me back what I want.
>
> What I wish to do as a test is to change the name of "origin" to "IP
> Address", hopefully getting a response like this:
>
> {
>   "IP Address": "202.37.75.130"
> }
>
> To do this I've modified my outSequence section of the code, to be this
> (all I've added is the PayloadFactoryMediator section, the filter was there
> before):
>
>
> 
>   
> {
>   "IP Address" : {
>   "$1"
>   }
>   }
> 
> 
>   
> 
>   
>   
> 
>expression="get-property('CORS_ORIGIN')" scope="transport"/>
>value="Assertion,X-Jwt-Assertion,X-User-Name,X-User-Domain" 
> scope="transport"/>
> 
>   
>   
> 
>
> However, when I curl to the API as before I get a response:
>
> curl: (52) Empty reply from server
>
> Can anybody tell me what I may have done wrong?
>
>
> Thanks,
> Maz
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Shiva Balachandran
Software Engineer
WSO2 Inc.

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


Re: [Dev] Meaning of XML Tags

2015-01-05 Thread Shiva Balachandran
Hi Maz,

I believe the following resources will be of great help for you.

[1] - http://wso2.com/library/2898/
[2] - http://wso2.com/library/2936/


Also, if you can list down the tags/code that you need clarification on it
would be easier to help you.

Thank you.

Regards
Shiva Balachandran

On Tue, Jan 6, 2015 at 7:08 AM, Harsha Thirimanna  wrote:

> Hi Maz,
>
> Can you elaborate more about your requirement ?
>
> thanks
>
>
> *Harsha Thirimanna*
> Senior Software Engineer; WSO2, Inc.; http://wso2.com
> * <http://www.apache.org/>*
> *email: **hars...@wso2.com* * cell: +94 71 5186770  ,
> +94 *
> *774617784twitter: **http://twitter.com/
> <http://twitter.com/afkham_azeez>*
> *harshathirimannlinked-in: **http:
> <http://lk.linkedin.com/in/afkhamazeez>**//www.linkedin.com/pub/harsha-thirimanna/10/ab8/122
> <http://www.linkedin.com/pub/harsha-thirimanna/10/ab8/122>*
>
> *Lean . Enterprise . Middleware*
>
>
> On Tue, Jan 6, 2015 at 5:43 AM, Maz Lakadia  wrote:
>
>> Hi, I'm trying to modify some given source code to try and add in a
>> Mediator of my own. I'm trying to understand the code, and am having a hard
>> time with some tags. Is there documentation specifically for the tags
>> available?
>>
>> Thanks,
>> Maz
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Shiva Balachandran
Software Engineer
WSO2 Inc.

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


[Dev] [ES] : Unable to update asset

2015-01-04 Thread Shiva Balachandran
Hi All,

I created a new asset type. I am able to create and view the assets. When i
try to edit the asset and update, a prompt is displayed showing "unable to
 update asset".

The following is logged in the console

[2015-01-05 12:49:39,957] ERROR {rxt.core} -  Unable to locate
assetResources for tenant: -1234 and type:
[2015-01-05 12:49:39,957] ERROR {assets_api_router} -  Unable to locate
assetResources for tenant: -1234 and type:

Is this shown because i do not have the adequate privileges to edit the
asset? In that case, i did try creating a new asset as an admin and tried
to edit, update the asset and i encountered the same error message. This is
encountered when changing any of the asset values or attaching a different
thumbnail.

Why is this error prompted? I am using ES 2.0 snapshot.

Thank you.

Regards,
-- 
Shiva Balachandran
Software Engineer
WSO2 Inc.

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


Re: [Dev] [ES] input type 'file' not retrieved

2014-12-30 Thread Shiva Balachandran
Hi Sameera and Denuwanthi,

I have a custom asset, i have overridden the files and added the input file
tags and the file upload works. But when i want to edit the asset, i need
to set the name of the previously uploaded file and preserve the local
location of where the file is so when the user clicks on edit he should be
able to view the previously added file name listed and when he clicks on
the choose file button it should open the location of the file in local
directory in the finder. I am able to retrieve the values but when i set it
to the input file tag field it does not work. I noticed that this happens
with the thumbnails and banners too.

What will happen when if a new thumbnail or banner is uploaded in the edit
mode? and is there a way to achieve the above mentioned requirement?


Thank you.

Regards,
Shiva Balachandran

On Thu, Dec 18, 2014 at 11:57 AM, Sameera Medagammaddegedara <
samee...@wso2.com> wrote:

> Hi Denuwanthi,
>
> The ES will first scan for any file fields and put them in the ES
> storage.After which the options object is augmented with the name of the
> field and a storage UUID before being passed to the asset create method.if
> the file field is not found in the RXT definition it is ignored.In this
> case the wsdl_zip field is not defined in the RXT definition and is a file
> field.
>
> In order to by pass this behaviour you will need to implement a custom API
> endpoint and invoke your asset create logic.
>
> Thank You,
> Sameera
>
>
> On Tue, Dec 16, 2014 at 11:55 PM, Denuwanthi De Silva  > wrote:
>>
>> Hi,
>>
>> In the custom asset extension I'm working on, I have a requirement to
>> support file upload.
>>
>> Thus, in my overridden partial (create_form.hbs) I use
>> 
>> to get the html view of the file uploader.
>>
>> Then, in my extension's asset.js inside 'create' method, I try to access
>> the value taken by that html element by using,
>>
>> *options.wsdl_zip*
>>
>> But, when I actually browse file and log the above value, it prints
>> 'null' and the 'options' json object does not even contain 'wsdl_zip'
>> attribute.
>>
>> If I use a text field instead of using type 'file',
>>
>> 
>>
>>
>> options.wsdl_zip returns the value I entered in the text field.
>>
>> So, what could be the reason for not retrieving 'file' type inputs ?
>> Any other configurations need to be done?
>>
>> Thanks,
>> --
>> Denuwanthi De Silva
>> Software Engineer;
>> WSO2 Inc.; http://wso2.com,
>> Email: denuwan...@wso2.com
>>
>>
>>
>
> --
> Sameera Medagammaddegedara
> Software Engineer
>
> Contact:
> Email: samee...@wso2.com
> Mobile: + 94 077 255 3005
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Shiva Balachandran
Software Engineer
WSO2 Inc.

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


[Dev] [ES] Uploading Zip Files with Assets

2014-12-17 Thread Shiva Balachandran
Hi All,

I have a requirement to add zip file (size could vary from 2 mb- 10 mb)
along with an asset. Basically our asset will have its properties filled
and the user will have to attached a zip file. This zip file should not be
stored in the registry due to the large size of the zip file

Does ES support this type of functionality? How can we achieve this?

It would be great if you could clarify how the thumbnails and banners are
currently stored in the ES model?

If we are able to store the zip file in a local location, not in the
registry, how are we to access the file in a clustered environment?

Thank you.

Regards
-- 
Shiva Balachandran
Software Engineer
WSO2 Inc.

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


Re: [Dev] [ES] Cannot Load Publisher

2014-12-15 Thread Shiva Balachandran
Hi Sameera,

What is the ES version you are using? Is it 2.0.0-M4 ?
Yes.

Did you do the changes to rxt via Management Console?
Yes.

Thank you.

Regards,

On Tue, Dec 16, 2014 at 11:53 AM, Sameera Jayaratna 
wrote:
>
> Hi Shiva,
>
> What is the ES version you are using? Is it 2.0.0-M4 ?
>
> Did you do the changes to rxt via Management Console?
>
> Thank you,
> Sameera
>
> On Tue, Dec 16, 2014 at 11:44 AM, Shiva Balachandran 
> wrote:
>
>> Hi All,
>>
>> I created a new asset, and added the configuration in the publisher.json
>> and store.json, initially configuration worked and the publisher and store
>> were accessible. I made a few changes to the rxt and restarted the server.
>> I have not been able to access the publisher and store, i reverted all the
>> changes and im still not able to access publisher or store.
>>
>> The following error is visible in the console.,
>>
>> Caused by: org.mozilla.javascript.EcmaError: TypeError: Cannot read
>> property "shortName" from null
>> (/publisher/modules/deployment/deployment.manager.js#78)
>> at
>> org.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3687)
>> at
>> org.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3665)
>> at org.mozilla.javascript.ScriptRuntime.typeError(ScriptRuntime.java:3693)
>> at
>> org.mozilla.javascript.ScriptRuntime.typeError2(ScriptRuntime.java:3712)
>> at
>> org.mozilla.javascript.ScriptRuntime.undefReadError(ScriptRuntime.java:3725)
>> at
>> org.mozilla.javascript.ScriptRuntime.getObjectProp(ScriptRuntime.java:1483)
>> at
>> org.jaggeryjs.rhino.publisher.modules.deployment.c0._c_anonymous_5(/publisher/modules/deployment/deployment.manager.js:78)
>> at
>> org.jaggeryjs.rhino.publisher.modules.deployment.c0.call(/publisher/modules/deployment/deployment.manager.js)
>> at
>> org.mozilla.javascript.optimizer.OptRuntime.callProp0(OptRuntime.java:85)
>> at
>> org.jaggeryjs.rhino.publisher.modules.deployment.c0._c_anonymous_3(/publisher/modules/deployment/deployment.manager.js:55)
>> at
>> org.jaggeryjs.rhino.publisher.modules.deployment.c0.call(/publisher/modules/deployment/deployment.manager.js)
>> at
>> org.mozilla.javascript.optimizer.OptRuntime.callProp0(OptRuntime.java:85)
>> at
>> org.jaggeryjs.rhino.publisher.modules.deployment.c0._c_DeploymentManager_2(/publisher/modules/deployment/deployment.manager.js:24)
>> at
>> org.jaggeryjs.rhino.publisher.modules.deployment.c0.call(/publisher/modules/deployment/deployment.manager.js)
>> at org.mozilla.javascript.BaseFunction.construct(BaseFunction.java:338)
>> at org.mozilla.javascript.ScriptRuntime.newObject(ScriptRuntime.java:2349)
>> at
>> org.jaggeryjs.rhino.publisher.modules.deployment.c0._c_cached_11(/publisher/modules/deployment/deployment.manager.js:181)
>> at
>> org.jaggeryjs.rhino.publisher.modules.deployment.c0.call(/publisher/modules/deployment/deployment.manager.js)
>> at
>> org.mozilla.javascript.optimizer.OptRuntime.callProp0(OptRuntime.java:85)
>> at
>> org.jaggeryjs.rhino.publisher.themes.default.helpers.c0._c_script_0(/publisher/themes/default/helpers/left-nav.js:21)
>> at
>> org.jaggeryjs.rhino.publisher.themes.default.helpers.c0.call(/publisher/themes/default/helpers/left-nav.js)
>> at
>> org.jaggeryjs.rhino.publisher.themes.default.helpers.c0.exec(/publisher/themes/default/helpers/left-nav.js)
>> at
>> org.jaggeryjs.scriptengine.engine.RhinoEngine.execScript(RhinoEngine.java:567)
>>
>>
>> Any clue as to why this error is produced.
>>
>> Thank you.
>>
>> Regards
>> --
>> Shiva Balachandran
>> Software Engineer
>> WSO2 Inc.
>>
>> Mobile - +94 774445788
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
> --
>
>
>
> *Thanks & Regards,Sameera Jayaratna Software Engineer; **WSO2 Inc. *
>
> *lean . enterprise . middleware |  http://wso2.com <http://wso2.com> *
>


-- 
Shiva Balachandran
Software Engineer
WSO2 Inc.

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


[Dev] [ES] Cannot Load Publisher

2014-12-15 Thread Shiva Balachandran
Hi All,

I created a new asset, and added the configuration in the publisher.json
and store.json, initially configuration worked and the publisher and store
were accessible. I made a few changes to the rxt and restarted the server.
I have not been able to access the publisher and store, i reverted all the
changes and im still not able to access publisher or store.

The following error is visible in the console.,

Caused by: org.mozilla.javascript.EcmaError: TypeError: Cannot read
property "shortName" from null
(/publisher/modules/deployment/deployment.manager.js#78)
at
org.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3687)
at
org.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3665)
at org.mozilla.javascript.ScriptRuntime.typeError(ScriptRuntime.java:3693)
at org.mozilla.javascript.ScriptRuntime.typeError2(ScriptRuntime.java:3712)
at
org.mozilla.javascript.ScriptRuntime.undefReadError(ScriptRuntime.java:3725)
at
org.mozilla.javascript.ScriptRuntime.getObjectProp(ScriptRuntime.java:1483)
at
org.jaggeryjs.rhino.publisher.modules.deployment.c0._c_anonymous_5(/publisher/modules/deployment/deployment.manager.js:78)
at
org.jaggeryjs.rhino.publisher.modules.deployment.c0.call(/publisher/modules/deployment/deployment.manager.js)
at org.mozilla.javascript.optimizer.OptRuntime.callProp0(OptRuntime.java:85)
at
org.jaggeryjs.rhino.publisher.modules.deployment.c0._c_anonymous_3(/publisher/modules/deployment/deployment.manager.js:55)
at
org.jaggeryjs.rhino.publisher.modules.deployment.c0.call(/publisher/modules/deployment/deployment.manager.js)
at org.mozilla.javascript.optimizer.OptRuntime.callProp0(OptRuntime.java:85)
at
org.jaggeryjs.rhino.publisher.modules.deployment.c0._c_DeploymentManager_2(/publisher/modules/deployment/deployment.manager.js:24)
at
org.jaggeryjs.rhino.publisher.modules.deployment.c0.call(/publisher/modules/deployment/deployment.manager.js)
at org.mozilla.javascript.BaseFunction.construct(BaseFunction.java:338)
at org.mozilla.javascript.ScriptRuntime.newObject(ScriptRuntime.java:2349)
at
org.jaggeryjs.rhino.publisher.modules.deployment.c0._c_cached_11(/publisher/modules/deployment/deployment.manager.js:181)
at
org.jaggeryjs.rhino.publisher.modules.deployment.c0.call(/publisher/modules/deployment/deployment.manager.js)
at org.mozilla.javascript.optimizer.OptRuntime.callProp0(OptRuntime.java:85)
at
org.jaggeryjs.rhino.publisher.themes.default.helpers.c0._c_script_0(/publisher/themes/default/helpers/left-nav.js:21)
at
org.jaggeryjs.rhino.publisher.themes.default.helpers.c0.call(/publisher/themes/default/helpers/left-nav.js)
at
org.jaggeryjs.rhino.publisher.themes.default.helpers.c0.exec(/publisher/themes/default/helpers/left-nav.js)
at
org.jaggeryjs.scriptengine.engine.RhinoEngine.execScript(RhinoEngine.java:567)


Any clue as to why this error is produced.

Thank you.

Regards
-- 
Shiva Balachandran
Software Engineer
WSO2 Inc.

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


Re: [Dev] [ES] Cannot create an Asset Type

2014-12-15 Thread Shiva Balachandran
Hi Isuruwan,

The additional  tag has caused the issue.

Thank you.

Regards
Shiva Balachandran

On Mon, Dec 15, 2014 at 6:35 PM, Isuruwan Herath  wrote:
>
> Short name type should match pattern "([a-zA-Z0-9])+" if you haven't
> modified the default shortNameType in rxt.xsd . Also it seems you have an
> additional  tag below Createdtime. Try correcting them and check.
>
>
> On Mon, Dec 15, 2014 at 5:14 PM, Shiva Balachandran 
> wrote:
>>
>> Hi Himasha,
>>
>> Nope, does not fix the issue.
>>
>> Thank you.
>>
>> Regards,
>>
>>
>> On Mon, Dec 15, 2014 at 5:11 PM, Himasha Guruge 
>> wrote:
>>>
>>> Hi Shiva,
>>>
>>> I'm not sure if dashes are supported ( shortName="E-Process" ) , try
>>> without it and see.
>>>
>>> Thanks & Regards,
>>> Himasha
>>>
>>> On Mon, Dec 15, 2014 at 5:07 PM, Shiva Balachandran 
>>> wrote:
>>>
>>>> Hi All,
>>>>
>>>> I am using ES 2.0.0, trying to create a new asset type and i encounter
>>>> this error.
>>>>
>>>> ManageGenericArtifactServiceRegistryExceptionException
>>>>
>>>> You can find my RXT below, what could be causing this error,
>>>>
>>>> 
>>>> >>> shortName="E-Process" singularLabel="Executable Process"
>>>> pluralLabel="Executable Processes"
>>>>   hasNamespace="false" iconSet="10">
>>>>
>>>> /eprocess/@{overview_provider}/@{overview_name}/@{overview_version}
>>>> overview_name
>>>> 
>>>> 
>>>> 
>>>> >>> href="@{storagePath}"/>
>>>> 
>>>> 
>>>> >>> href="@{storagePath}"/>
>>>> 
>>>> 
>>>> >>> href="@{storagePath}"/>
>>>> 
>>>> 
>>>> 
>>>> 
>>>> 
>>>> 
>>>> Provider
>>>> 
>>>> 
>>>> Name
>>>> 
>>>> 
>>>> Version
>>>> 
>>>> 
>>>> Createdtime
>>>> 
>>>>  
>>>> 
>>>> Description
>>>> 
>>>> 
>>>>     
>>>> 
>>>> Owner
>>>> 
>>>> 
>>>> Deployment URL
>>>> 
>>>> 
>>>> Webapp URL
>>>> 
>>>> 
>>>> IT Support
>>>>     
>>>> 
>>>> Developers
>>>> 
>>>> 
>>>> Predecessors
>>>> 
>>>> 
>>>> Sucessors
>>>> 
>>>> 
>>>> Generalizations
>>>> 
>>>> 
>>>> Specializations
>>>> 
>>>> 
>>>> 
>>>> 
>>>> Thumbnail
>>>> 
>>>> 
>>>> Banner
>>>> 
>>>> 
>>>> Process Archive
>>>> 
>>>>
>>>> 
>>>> 
>>>>
>>>> 
>>>>
>>>> Thank you.
>>>>
>>>> Regards,
>>>>
>>>> --
>>>> Shiva Balachandran
>>>> Software Engineer
>>>> WSO2 Inc.
>>>>
>>>> Mobile - +94 774445788
>>>>
>>>> ___
>>>> Dev mailing list
>>>> Dev@wso2.org
>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>
>>>>
>>>
>>> --
>>> Himasha Guruge
>>> *Software Engineer*
>>> WS*O2* *Inc.*
>>> Mobile: +94 777459299
>>> himas...@wso2.com
>>>
>>
>>
>> --
>> Shiva Balachandran
>> Software Engineer
>> WSO2 Inc.
>>
>> Mobile - +94 774445788
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
> --
> Isuruwan Herath
> Technical Lead
>
> Contact: +94 776 273 296
>


-- 
Shiva Balachandran
Software Engineer
WSO2 Inc.

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


Re: [Dev] [ES] Cannot create an Asset Type

2014-12-15 Thread Shiva Balachandran
Hi Himasha,

Nope, does not fix the issue.

Thank you.

Regards,


On Mon, Dec 15, 2014 at 5:11 PM, Himasha Guruge  wrote:
>
> Hi Shiva,
>
> I'm not sure if dashes are supported ( shortName="E-Process" ) , try
> without it and see.
>
> Thanks & Regards,
> Himasha
>
> On Mon, Dec 15, 2014 at 5:07 PM, Shiva Balachandran 
> wrote:
>
>> Hi All,
>>
>> I am using ES 2.0.0, trying to create a new asset type and i encounter
>> this error.
>>
>> ManageGenericArtifactServiceRegistryExceptionException
>>
>> You can find my RXT below, what could be causing this error,
>>
>> 
>> > shortName="E-Process" singularLabel="Executable Process"
>> pluralLabel="Executable Processes"
>>   hasNamespace="false" iconSet="10">
>>
>> /eprocess/@{overview_provider}/@{overview_name}/@{overview_version}
>> overview_name
>> 
>> 
>> 
>> > href="@{storagePath}"/>
>> 
>> 
>> > href="@{storagePath}"/>
>> 
>> 
>> > href="@{storagePath}"/>
>> 
>> 
>> 
>> 
>> 
>> 
>> Provider
>> 
>> 
>> Name
>> 
>> 
>> Version
>> 
>> 
>> Createdtime
>> 
>>  
>> 
>> Description
>> 
>> 
>> 
>> 
>> Owner
>> 
>> 
>> Deployment URL
>> 
>> 
>> Webapp URL
>> 
>> 
>> IT Support
>> 
>> 
>> Developers
>> 
>>     
>> Predecessors
>> 
>> 
>> Sucessors
>> 
>> 
>> Generalizations
>> 
>> 
>> Specializations
>> 
>>     
>> 
>> 
>> Thumbnail
>> 
>> 
>> Banner
>> 
>> 
>> Process Archive
>> 
>>
>> 
>> 
>>
>> 
>>
>> Thank you.
>>
>> Regards,
>>
>> --
>> Shiva Balachandran
>> Software Engineer
>> WSO2 Inc.
>>
>> Mobile - +94 774445788
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
> --
> Himasha Guruge
> *Software Engineer*
> WS*O2* *Inc.*
> Mobile: +94 777459299
> himas...@wso2.com
>


-- 
Shiva Balachandran
Software Engineer
WSO2 Inc.

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


[Dev] [ES] Cannot create an Asset Type

2014-12-15 Thread Shiva Balachandran
Hi All,

I am using ES 2.0.0, trying to create a new asset type and i encounter this
error.

ManageGenericArtifactServiceRegistryExceptionException

You can find my RXT below, what could be causing this error,




/eprocess/@{overview_provider}/@{overview_name}/@{overview_version}
overview_name
















Provider


Name


Version


Createdtime

 

Description




Owner


Deployment URL


Webapp URL


IT Support


Developers


Predecessors


Sucessors


Generalizations


Specializations




Thumbnail


Banner


Process Archive







Thank you.

Regards,

-- 
Shiva Balachandran
Software Engineer
WSO2 Inc.

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


[Dev] ES 2.0.0. Snapshot : Fresh Pack : Errors shown in log

2014-12-03 Thread Shiva Balachandran
 user.Cannot retrieve the subscription space
[2014-12-03 17:14:26,527] ERROR {rxt.asset} -  Unable to retrieve
subscriptions to type: site as the  subscription path could not be obtained
[2014-12-03 17:14:26,527]  WARN {rxt.asset} -  Unable to obtain user space
as there is no logged in user.Cannot retrieve the subscription space
[2014-12-03 17:14:26,527] ERROR {rxt.asset} -  Unable to retrieve
subscriptions to type: site as the  subscription path could not be obtained
[2014-12-03 17:14:26,528]  WARN {rxt.asset} -  Unable to obtain user space
as there is no logged in user.Cannot retrieve the subscription space
[2014-12-03 17:14:26,528] ERROR {rxt.asset} -  Unable to retrieve
subscriptions to type: site as the  subscription path could not be obtained
[2014-12-03 17:14:26,528]  WARN {rxt.asset} -  Unable to obtain user space
as there is no logged in user.Cannot retrieve the subscription space
[2014-12-03 17:14:26,528] ERROR {rxt.asset} -  Unable to retrieve
subscriptions to type: site as the  subscription path could not be obtained
[2014-12-03 17:14:26,528]  WARN {rxt.asset} -  Unable to obtain user space
as there is no logged in user.Cannot retrieve the subscription space
[2014-12-03 17:14:26,528] ERROR {rxt.asset} -  Unable to retrieve
subscriptions to type: site as the  subscription path could not be obtained
[2014-12-03 17:14:26,528]  WARN {rxt.asset} -  Unable to obtain user space
as there is no logged in user.Cannot retrieve the subscription space
[2014-12-03 17:14:26,528] ERROR {rxt.asset} -  Unable to retrieve
subscriptions to type: site as the  subscription path could not be obtained
[2014-12-03 17:14:26,528]  WARN {rxt.asset} -  Unable to obtain user space
as there is no logged in user.Cannot retrieve the subscription space
[2014-12-03 17:14:26,528] ERROR {rxt.asset} -  Unable to retrieve
subscriptions to type: site as the  subscription path could not be obtained
[2014-12-03 17:14:26,528]  WARN {rxt.asset} -  Unable to obtain user space
as there is no logged in user.Cannot retrieve the subscription space
[2014-12-03 17:14:26,528] ERROR {rxt.asset} -  Unable to retrieve
subscriptions to type: site as the  subscription path could not be obtained
[2014-12-03 17:14:26,540]  WARN {rxt.core} -  Unable to locate values for
field overview_category as the field was not located in the rxt definition
[2014-12-03 17:14:26,549]  WARN {rxt.core} -  Unable to locate timestamp
attribute for type: site.Check if a timestamp property is defined in the
rxt configuration.
[2014-12-03 17:14:26,549]  WARN {rxt.asset} -  There is no time stamp field
defined for type: site.A default time stamp field : overview_createdtime
will be used.Add a timestampField property to the configuration to change
this.
[2014-12-03 17:14:26,709]  WARN {rxt.asset} -  Unable to obtain user space
as there is no logged in user.Cannot retrieve the subscription space
[2014-12-03 17:14:26,709] ERROR {rxt.asset} -  Unable to retrieve
subscriptions to type: site as the  subscription path could not be obtained


What could be the possible issue? These were generated when i was browsing
through the Store site.

Thank you

Regards
-- 
Shiva Balachandran
Software Engineer
WSO2 Inc.

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


Re: [Dev] ELB Comparisons

2014-11-30 Thread Shiva Balachandran
Thank you, Apart from this doc there aren't any other blogs that contain
information on clustering other ELB with our products?

Also, if any one has any comparison documents for WSO2 ELB, NGIX and AWS
ELB, please let me know :)

Regards
Shiva Balachandran

On Mon, Dec 1, 2014 at 11:23 AM, Amalka Subasinghe  wrote:

>
> https://docs.wso2.com/display/CLUSTER420/Clustering+WSO2+Products+without+WSO2+ELB
>
> On Mon, Dec 1, 2014 at 11:18 AM, Shiva Balachandran 
> wrote:
>
>> Hi Amalka,
>>
>> Could you please share documents too.
>>
>> Thank you
>>
>> Regards
>> Shiva Balachandran
>>
>> On Mon, Dec 1, 2014 at 10:45 AM, Amalka Subasinghe 
>> wrote:
>>
>>> Hi,
>>>
>>> I didn't do any load balancer comparison.
>>> What I did finding how to configure different load balancers with our
>>> product clusters.
>>>
>>> Thanks
>>> Amalka
>>>
>>> On Mon, Dec 1, 2014 at 10:37 AM, Aruna Karunarathna 
>>> wrote:
>>>
>>>> AFAIR Amalka did something similar. :)
>>>>
>>>>
>>>> Regards,
>>>> Aruna
>>>>
>>>> On Mon, Dec 1, 2014 at 10:29 AM, Shiva Balachandran 
>>>> wrote:
>>>>
>>>>> Hi All,
>>>>>
>>>>> Is there a document making comparisons of ELBs? Like a chart comparing
>>>>> the ELBs available? I'm looking for a comparison between WSO2 ELB  and
>>>>> NGIX, AWS ELB.
>>>>>
>>>>> I found a document on WSO2 ELB and other open source products [1].
>>>>>
>>>>> [1] -
>>>>> http://wso2.com/library/articles/2014/03/wso2-elb-vs-other-open-source-load-balancers/
>>>>>
>>>>> Regards
>>>>>
>>>>> --
>>>>> Shiva Balachandran
>>>>> Software Engineer
>>>>> WSO2 Inc.
>>>>>
>>>>> Mobile - +94 774445788
>>>>>
>>>>> ___
>>>>> Dev mailing list
>>>>> Dev@wso2.org
>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>>
>>>> *Aruna Sujith Karunarathna* | Software Engineer
>>>> WSO2, Inc | lean. enterprise. middleware.
>>>> #20, Palm Grove, Colombo 03, Sri Lanka
>>>> Mobile: +94 71 9040362 | Work: +94 112145345
>>>> Email: ar...@wso2.com | Web: www.wso2.com
>>>>
>>>>
>>>
>>>
>>>
>>> --
>>>
>>> Amalka Subasinghe
>>>
>>> WSO2 Inc.
>>> Mobile: +94 77 9401267
>>>
>>
>>
>>
>> --
>> Shiva Balachandran
>> Software Engineer
>> WSO2 Inc.
>>
>> Mobile - +94 774445788
>>
>
>
>
> --
>
> Amalka Subasinghe
>
> WSO2 Inc.
> Mobile: +94 77 9401267
>



-- 
Shiva Balachandran
Software Engineer
WSO2 Inc.

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


Re: [Dev] ELB Comparisons

2014-11-30 Thread Shiva Balachandran
Hi Amalka,

Could you please share documents too.

Thank you

Regards
Shiva Balachandran

On Mon, Dec 1, 2014 at 10:45 AM, Amalka Subasinghe  wrote:

> Hi,
>
> I didn't do any load balancer comparison.
> What I did finding how to configure different load balancers with our
> product clusters.
>
> Thanks
> Amalka
>
> On Mon, Dec 1, 2014 at 10:37 AM, Aruna Karunarathna 
> wrote:
>
>> AFAIR Amalka did something similar. :)
>>
>>
>> Regards,
>> Aruna
>>
>> On Mon, Dec 1, 2014 at 10:29 AM, Shiva Balachandran 
>> wrote:
>>
>>> Hi All,
>>>
>>> Is there a document making comparisons of ELBs? Like a chart comparing
>>> the ELBs available? I'm looking for a comparison between WSO2 ELB  and
>>> NGIX, AWS ELB.
>>>
>>> I found a document on WSO2 ELB and other open source products [1].
>>>
>>> [1] -
>>> http://wso2.com/library/articles/2014/03/wso2-elb-vs-other-open-source-load-balancers/
>>>
>>> Regards
>>>
>>> --
>>> Shiva Balachandran
>>> Software Engineer
>>> WSO2 Inc.
>>>
>>> Mobile - +94 774445788
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>>
>> *Aruna Sujith Karunarathna* | Software Engineer
>> WSO2, Inc | lean. enterprise. middleware.
>> #20, Palm Grove, Colombo 03, Sri Lanka
>> Mobile: +94 71 9040362 | Work: +94 112145345
>> Email: ar...@wso2.com | Web: www.wso2.com
>>
>>
>
>
>
> --
>
> Amalka Subasinghe
>
> WSO2 Inc.
> Mobile: +94 77 9401267
>



-- 
Shiva Balachandran
Software Engineer
WSO2 Inc.

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


[Dev] ELB Comparisons

2014-11-30 Thread Shiva Balachandran
Hi All,

Is there a document making comparisons of ELBs? Like a chart comparing the
ELBs available? I'm looking for a comparison between WSO2 ELB  and NGIX,
AWS ELB.

I found a document on WSO2 ELB and other open source products [1].

[1] -
http://wso2.com/library/articles/2014/03/wso2-elb-vs-other-open-source-load-balancers/

Regards

-- 
Shiva Balachandran
Software Engineer
WSO2 Inc.

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


[Dev] Please Commit Fix To Patch0009 [IDENTITY-2730]

2014-11-28 Thread Shiva Balachandran
Hi Kernel Team,

Please commit patch for [1]. The modification is done in the carbon.core.

[1] - https://wso2.org/jira/browse/IDENTITY-2730

Thank you.

-- 
Shiva Balachandran
Software Engineer
WSO2 Inc.

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


[Dev] Fwd: Node 2 in an IS cluster hangs on "Activating org.wso2.jaggery.scxml with RealmService enabled"

2014-11-21 Thread Shiva Balachandran
Hi All,

I followed the document [1] to create a cluster of two IS manager nodes and
fronting it with ELB. I started IS on Node 1 and once it was completely
loaded i started the IS pack on Node 2 but for some reason it hangs after
connecting to the user store.

"Activating org.wso2.jaggery.scxml with RealmService enabled"

This is the last info on the console and thereafter the server hangs.

Any insights on why does this happen?



[1] - https://docs.wso2.com/display/CLUSTER420/Clustering+Identity+Server
-- 
Shiva Balachandran
Software Engineer
WSO2 Inc.

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


Re: [Dev] [IS] String sessionDataKeyFromConsent

2014-11-01 Thread Shiva Balachandran
Hi Godwin,

Thankyou for the clarification, this sessionDataConsent, it should be
temporarily store the consent selected by the user right? And when you
click on the home button in the page after passing the consent page, this
context should still have the consent provided by the user right?

Thank you.

On Saturday, November 1, 2014, Godwin Amila Shrimal  wrote:

> Hi Shiva,
>
> When you run the Playground application and Authorize, It redirect to the
> login screen of Identity Server and after successful authentication it
> redirect to the Approve page with sessionDataConsent, Once user Approve, it
> submit the data to authorize endpoint which you have mentioned above.
>
> Hope this will help.
>
>
> Thanks
> Godwin
>
>
>
>
>
>
>
>
>
> On Sat, Nov 1, 2014 at 12:30 PM, Shiva Balachandran  > wrote:
>
>> Hi All,
>>
>> I was going through the code for the OAuth2 Auth Endpoint and i came
>> across this code block
>>
>> String sessionDataKeyFromConsent =
>> EndpointUtil.getSafeText(request.getParameter(
>> OAuthConstants.SESSION_DATA_KEY_CONSENT));
>>
>> Can i know where are we retrieving this from and in what context? Also,
>> how to view what are the other parameters available.
>>
>> Thank you.
>>
>> --
>> Shiva Balachandran
>> Software Engineer
>> WSO2 Inc.
>>
>> Mobile - +94 774445788
>>
>> ___
>> 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
>


-- 
Shiva Balachandran
Software Engineer
WSO2 Inc.

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


[Dev] [IS] String sessionDataKeyFromConsent

2014-11-01 Thread Shiva Balachandran
Hi All,

I was going through the code for the OAuth2 Auth Endpoint and i came across
this code block

String sessionDataKeyFromConsent =
EndpointUtil.getSafeText(request.getParameter(
OAuthConstants.SESSION_DATA_KEY_CONSENT));

Can i know where are we retrieving this from and in what context? Also, how
to view what are the other parameters available.

Thank you.

-- 
Shiva Balachandran
Software Engineer
WSO2 Inc.

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


Re: [Dev] [ES] Wrappedexception when creating asset type

2014-10-28 Thread Shiva Balachandran
Hi Himasha,

Here is the link to the latest version of ES [1].

1 - http://dist.wso2.org/milestone/es/2.0.0-M4/wso2es-2.0.0-SNAPSHOT.zip
<http://www.google.com/url?q=http%3A%2F%2Fdist.wso2.org%2Fmilestone%2Fes%2F2.0.0-M4%2Fwso2es-2.0.0-SNAPSHOT.zip&sa=D&sntz=1&usg=AFQjCNH2raQk8mVuschCmhg9gg6lYNIxYw>

Thank you,
Shiva Balachandran



On Tue, Oct 28, 2014 at 6:44 PM, Sameera Medagammaddegedara <
samee...@wso2.com> wrote:

> Hi Himash,
>
> Which version of ES are you using?
>
> Thank You,
> Sameera
>
> On Tue, Oct 28, 2014 at 3:28 PM, Sameera Jayaratna 
> wrote:
>
>> Hi Himasha,
>>
>> Yes, removing the Created time causes the issue as it is mandatory. The
>> given rxt should work without any issues.
>>
>> Thank you,
>> Sameera
>>
>> On Tue, Oct 28, 2014 at 3:09 PM, Himasha Guruge 
>> wrote:
>>
>>> Hi Sameera,
>>>
>>> Thanks for the response, earlier I had removed create time which must've
>>> caused the issue. Once I added it back the error was resolved. This is the
>>> RXT definition I used.
>>>
>>> 
>>> >> shortName="chevron" singularLabel="Chevron"
>>>   pluralLabel="Chevrons"
>>>   hasNamespace="false" iconSet="10">
>>>
>>> /chevrons/@{overview_provider}/@{overview_name}/@{overview_version}
>>> overview_name
>>> 
>>> 
>>> 
>>> >> href="@{storagePath}"/>
>>> 
>>> 
>>> >> href="@{storagePath}"/>
>>> 
>>> 
>>> >> href="@{storagePath}"/>
>>> 
>>> 
>>> >> href="@{storagePath}"/>
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> Provider
>>> 
>>> 
>>> Name
>>> 
>>> 
>>> Version
>>> 
>>> 
>>> Owner
>>> 
>>> 
>>> Predecessors
>>> 
>>> 
>>> Successors
>>> 
>>> 
>>> Associated Product Process
>>> 
>>> 
>>> Createdtime
>>> 
>>> 
>>> Description
>>> 
>>> 
>>> 
>>> 
>>> Icon
>>> 
>>> 
>>> Thumbnail
>>> 
>>> 
>>> Banner
>>> 
>>> 
>>> 
>>>
>>> 
>>>
>>> Thanks ,
>>>
>>> Himasha
>>>
>>> On Tue, Oct 28, 2014 at 2:56 PM, Sameera Jayaratna 
>>> wrote:
>>>
>>>> Hi Himasha,
>>>>
>>>> Can you share the RXT definition you tried that gives the error?
>>>> What is the ES version you are working with?
>>>>
>>>> AFAIK provider, name, version and created time are mandatory in an RXT
>>>> definition as they are required for basic processing of an asset in ES.
>>>>
>>>> Thank you,
>>>> Sameera
>>>>
>>>> On Tue, Oct 28, 2014 at 2:13 PM, Himasha Guruge 
>>>> wrote:
>>>>
>>>>> Hi all,
>>>>>
>>>>> I was trying out on creating new asset types in Enterprise Store, and
>>>>> was able to add a new asset type as mentioned in the documentation. But
>>>>> when I try to customize by altering the fields (add/remove) of the rxt 
>>>>> file
>>>>> , I get the following error while accessing publisher url.
>>>>>
>>>>> *org.mozilla.javascript.WrappedException: Wrapped
>>>>> org.jaggeryjs.scriptengine.exceptions.ScriptException:
>>>>> org.mozilla.javascript.EcmaError: TypeError: Cannot read property "name"
>>>>> from null (/publisher/modules/ext/core/extension.parser.js#97)
>>>>> (/publisher/controllers/asse

Re: [Dev] WSO2 Committers += Milinda Perera

2014-10-28 Thread Shiva Balachandran
rasinghe <
>>>>>>>>>>>>>>> gayas...@wso2.com> wrote:
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Congratulations Milinda!!! :)
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> On Tue, Oct 28, 2014 at 2:53 PM, Nandika Jayawardana <
>>>>>>>>>>>>>>>> nand...@wso2.com> wrote:
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Hi all,
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> It's my pleasure to announce Milinda Perera as a WSO2
>>>>>>>>>>>>>>>>> Committer. Milinda has been a valuable contributor to WSO2 
>>>>>>>>>>>>>>>>> BPS product and
>>>>>>>>>>>>>>>>> in recognition of his contribution he has been voted as a 
>>>>>>>>>>>>>>>>> WSO2 Committer.
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Milinda, welcome aboard and keep up the good work!.
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Regards
>>>>>>>>>>>>>>>>> Nandika
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>> Nandika Jayawardana
>>>>>>>>>>>>>>>>> Senior Technical Lead
>>>>>>>>>>>>>>>>> WSO2 Inc ; http://wso2.com
>>>>>>>>>>>>>>>>> lean.enterprise.middleware
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> ___
>>>>>>>>>>>>>>>>> Dev mailing list
>>>>>>>>>>>>>>>>> Dev@wso2.org
>>>>>>>>>>>>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>> *Gayashan Amarasinghe*
>>>>>>>>>>>>>>>> Software Engineer | Platform TG
>>>>>>>>>>>>>>>> WSO2, Inc. | http://wso2.com
>>>>>>>>>>>>>>>> lean. enterprise. middleware
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Mobile : +94718314517
>>>>>>>>>>>>>>>> Blog : gayashan-a.blogspot.com
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> ___
>>>>>>>>>>>>>>>> Dev mailing list
>>>>>>>>>>>>>>>> Dev@wso2.org
>>>>>>>>>>>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>> Best Regards,
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Kalpa Welivitigoda
>>>>>>>>>>>>>>> Software Engineer, WSO2 Inc. http://wso2.com
>>>>>>>>>>>>>>> Email: kal...@wso2.com
>>>>>>>>>>>>>>> Mobile: +94776509215
>>>>>>>>>>>>>>>
>>>>>>>

Re: [Dev] Error:java.lang.reflect.InvocationTargetException

2014-10-26 Thread Shiva Balachandran
Hi Faathima,

>From what i can comprehend from the error message and what your trying do,
is that you are trying to update a database table with a new attribute, the
reason the error is popping up is because the database table to which you
are trying to add the attribute does not exist or not accessed properly
through the code, therefore the server is trying to create a new db by
calling the addDatabase function. Please check if your reference to the db
is correct in places where ever you are using the db reference.


*ERROR {org.wso2.carbon.rssmanager.ui.RSSManagerClient} -  Failed to create
database 'db10' : Exception occurred while trying to invoke service method
addDatabaseorg.apache.axis2.AxisFault: Exception occurred while trying to
invoke service method addDatabase*

Thank you,
Shiva Balachandran

On Sun, Oct 26, 2014 at 10:26 AM, Bhathiya Jayasekara 
wrote:

> It's a Null Pointer Exception.
>
> Caused by: java.lang.NullPointerException
>> at org.wso2.carbon.rssmanager.core.workflow.
>> WorkflowExecutor.complete(WorkflowExecutor.java:87)
>
>
> Check what happens at line 87.
>
> Thanks,
> Bhathiya
>
> On Sun, Oct 26, 2014 at 7:36 AM, Faathima Fayaza 
> wrote:
>
>> Hi,
>>
>> I have introduce new attribute "status" [store the workflow process
>> status ] to RM_DATABASE table. To update the "satus" I introduce the method
>> updateDatabase() method inside the DatabaseDAOImpl.I have to use the
>> updateDatabase() method inside WorkflowExecutor.java class. When I try to
>> use it I'm getting following error message:
>>
>> java.lang.reflect.InvocationTargetException
>> 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.apache.axis2.rpc.receivers.RPCUtil.invokeServiceClass(RPCUtil.java:212)
>> 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.axis2.transport.local.LocalTransportReceiver.processMessage(LocalTransportReceiver.java:169)
>> at
>> org.apache.axis2.transport.local.LocalTransportReceiver.processMessage(LocalTransportReceiver.java:82)
>> at
>> org.wso2.carbon.core.transports.local.CarbonLocalTransportSender.finalizeSendWithToAddress(CarbonLocalTransportSender.java:45)
>> at
>> org.apache.axis2.transport.local.LocalTransportSender.invoke(LocalTransportSender.java:77)
>> at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:442)
>> at
>> org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:430)
>> at
>> org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:225)
>> at
>> org.apache.axis2.client.OperationClient.execute(OperationClient.java:149)
>> at
>> org.wso2.carbon.rssmanager.ui.stub.RSSAdminStub.addDatabase(RSSAdminStub.java:3192)
>> at
>> org.wso2.carbon.rssmanager.ui.RSSManagerClient.createDatabase(RSSManagerClient.java:117)
>> at
>> org.apache.jsp.rssmanager.databaseOps_005fajaxprocessor_jsp._jspService(databaseOps_005fajaxprocessor_jsp.java:139)
>> at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
>> at
>> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
>> at
>> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
>> at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
>> at org.wso2.carbon.ui.JspServlet.service(JspServlet.java:155)
>> at org.wso2.carbon.ui.TilesJspServlet.service(TilesJspServlet.java:80)
>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
>> at
>> org.eclipse.equinox.http.helper.ContextPathServletAdaptor.service(ContextPathServletAdaptor.java:37)
>> at
>> org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61)
>> at
>> org.

Re: [Dev] [DEV] Error when trying to retrieve Service Providers in IS

2014-10-25 Thread Shiva Balachandran
Hi Johann,

I logged in as the Admin in the server and then executed the code block
given below and the error is still popping up.

I would also like to know if it is possible to use the
ApplicationManagementService instance inside another package apart from the
management package if the dependencies are present?

Thank you,
Shiva Balachandran

On Friday, October 24, 2014, Johann Nallathamby  wrote:

> Looks like the CarbonContext doesn't have a username. It shouldn't be the
> case if you have logged in to the server.
>
> Thanks,
> Johann.
>
> On Fri, Oct 24, 2014 at 5:38 PM, Shiva Balachandran  > wrote:
>
>> Hi All,
>>
>> I am doing some development work on IS, I used the following code to
>> retrieve all the service providers
>>
>> ApplicationManagementService aptMgtService =
>> ApplicationManagementService.getInstance();
>> try{
>> log.info(aptMgtService);
>> ApplicationBasicInfo[] applicationBasicInfo =
>> aptMgtService.getAllApplicationBasicInfo();
>> for (ApplicationBasicInfo appData :applicationBasicInfo)
>> {
>> log.info(aptMgtService.getApplication(appData.getApplicationName()));
>> log.info
>> (aptMgtService.getApplication(appData.getApplicationName()).getInboundAuthenticationConfig());
>>
>> }
>> }
>> catch(IdentityApplicationManagementException ex) {
>> if (log.isDebugEnabled()) {
>> log.debug(ex.getMessage());
>>
>> }
>> }
>>
>> There is a null point exeception being fired when the line
>> aptMgtService.getAllApplicationBasicInfo(); is executed,
>>
>> Here is the error -
>>
>> 2014-10-24 17:31:41,501] ERROR
>> {org.wso2.carbon.identity.application.mgt.ApplicationManagementService} -
>>  Error occurred while retrieving the all applications
>> java.lang.NullPointerException
>> at
>> org.wso2.carbon.utils.multitenancy.MultitenantUtils.getTenantAwareUsername(MultitenantUtils.java:50)
>> at
>> org.wso2.carbon.identity.application.mgt.ApplicationMgtUtil.isUserAuthorized(ApplicationMgtUtil.java:90)
>> at
>> org.wso2.carbon.identity.application.mgt.dao.impl.ApplicationDAOImpl.getAllApplicationBasicInfo(ApplicationDAOImpl.java:1978)
>> at
>> org.wso2.carbon.identity.application.mgt.ApplicationManagementService.getAllApplicationBasicInfo(ApplicationManagementService.java:164)
>> at
>> org.wso2.carbon.identity.tools.saml.validator.SAMLValidatorService.getIssuersOfSAMLServiceProviders(SAMLValidatorService.java:218)
>>
>> I want to know if i have created/used the Application Manangement Service
>> class right? I am using this code in another service class.
>>
>> Thank you,
>> Shiva Balachandran
>> Software Engineer
>> WSO2 Inc.
>>
>> Mobile - +94 774445788
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org 
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Thanks & Regards,
>
> *Johann Dilantha Nallathamby*
> Associate Technical Lead & Product Lead of WSO2 Identity Server
> Integration Technologies Team
> WSO2, Inc.
> lean.enterprise.middleware
>
> Mobile - *+9476950*
> Blog - *http://nallaa.wordpress.com <http://nallaa.wordpress.com>*
>


-- 
Shiva Balachandran
Software Engineer
WSO2 Inc.

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


[Dev] [DEV] Error when trying to retrieve Service Providers in IS

2014-10-24 Thread Shiva Balachandran
Hi All,

I am doing some development work on IS, I used the following code to
retrieve all the service providers

ApplicationManagementService aptMgtService =
ApplicationManagementService.getInstance();
try{
log.info(aptMgtService);
ApplicationBasicInfo[] applicationBasicInfo =
aptMgtService.getAllApplicationBasicInfo();
for (ApplicationBasicInfo appData :applicationBasicInfo)
{
log.info(aptMgtService.getApplication(appData.getApplicationName()));
log.info
(aptMgtService.getApplication(appData.getApplicationName()).getInboundAuthenticationConfig());

}
}
catch(IdentityApplicationManagementException ex) {
if (log.isDebugEnabled()) {
log.debug(ex.getMessage());

}
}

There is a null point exeception being fired when the line
aptMgtService.getAllApplicationBasicInfo(); is executed,

Here is the error -

2014-10-24 17:31:41,501] ERROR
{org.wso2.carbon.identity.application.mgt.ApplicationManagementService} -
 Error occurred while retrieving the all applications
java.lang.NullPointerException
at
org.wso2.carbon.utils.multitenancy.MultitenantUtils.getTenantAwareUsername(MultitenantUtils.java:50)
at
org.wso2.carbon.identity.application.mgt.ApplicationMgtUtil.isUserAuthorized(ApplicationMgtUtil.java:90)
at
org.wso2.carbon.identity.application.mgt.dao.impl.ApplicationDAOImpl.getAllApplicationBasicInfo(ApplicationDAOImpl.java:1978)
at
org.wso2.carbon.identity.application.mgt.ApplicationManagementService.getAllApplicationBasicInfo(ApplicationManagementService.java:164)
at
org.wso2.carbon.identity.tools.saml.validator.SAMLValidatorService.getIssuersOfSAMLServiceProviders(SAMLValidatorService.java:218)

I want to know if i have created/used the Application Manangement Service
class right? I am using this code in another service class.

Thank you,
Shiva Balachandran
Software Engineer
WSO2 Inc.

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


Re: [Dev] SAMLSSOServiceProvider

2014-10-24 Thread Shiva Balachandran
Sorry, what i meant by the current implementation was what i was trying
out. :)

On Fri, Oct 24, 2014 at 2:21 PM, Isura Karunaratne  wrote:

> Hi Shiva,
>
>If you want to get the Service Provider names, in current
> implementation you have to
> use org.wso2.carbon.identity.application.mgt.ApplicationManagementService.
>
> Thanks
> Isura
>
> On Fri, Oct 24, 2014 at 1:02 PM, Shiva Balachandran 
> wrote:
>
>> Hi Prasad,
>>
>> Yes the current implementation uses the getServiceProviders() method in
>> org.wso2.carbon.identity.sso.saml.SAMLSSOConfigService where all the
>> SAML SSO Issuers are returned but these objects do not have their
>> respective service provider names mapped. What i need is the service
>> provider names of the respective issuers. Is there a method or a class
>> which can return or contains both the service provider and the issuer name?
>>
>> I need to get all the names of the SAML SSO Service Providers along with
>> their issuer names.
>>
>> Thank you.
>>
>> On Thu, Oct 23, 2014 at 11:38 PM, Prasad Tissera 
>> wrote:
>>
>>> Hi Shiva,
>>>
>>> If you want to fetch all the SAMLSSO Issuers registered you can use
>>> getServiceProviders() method in
>>> org.wso2.carbon.identity.sso.saml.SAMLSSOConfigService. It contains all the
>>> avilable information of the issuer. In IS 5.0.0 SAMLSSO in only one type of
>>> service providers. But in earlier IS version SAMLSSO was the only service
>>> provider available.
>>>
>>> If you can explain the issue you are working on more specifically we may
>>> able to help you more on this. Thanks.
>>>
>>> Regards,
>>> Prasad.
>>>
>>>
>>> On Thu, Oct 23, 2014 at 5:55 PM, Shiva Balachandran 
>>> wrote:
>>>
>>>> Hi,
>>>>
>>>> I been working on a Issues related to IS, the issue regarding
>>>> populating a dropdown with all the SAMLSSO Service providers. The class
>>>> listed in the subject holds the Service Providers but does not contain the
>>>> name of the service provider. Is there any way for me to acquire the
>>>> service provider and the issuer?
>>>>
>>>> Thank you,
>>>>
>>>> --
>>>> Shiva Balachandran
>>>> Software Engineer
>>>> WSO2 Inc.
>>>>
>>>> Mobile - +94 774445788
>>>>
>>>> ___
>>>> Dev mailing list
>>>> Dev@wso2.org
>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>
>>>>
>>>
>>>
>>> --
>>> Prasad Tissera
>>> Software Engineer.
>>> Mobile : +94777223444
>>>
>>
>>
>>
>> --
>> Shiva Balachandran
>> Software Engineer
>> WSO2 Inc.
>>
>> Mobile - +94 774445788
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Isura Dilhara Karunaratne
> Software Engineer
>
> Mob +94 772 254 810
>
>


-- 
Shiva Balachandran
Software Engineer
WSO2 Inc.

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


Re: [Dev] SAMLSSOServiceProvider

2014-10-24 Thread Shiva Balachandran
Hi Prasad,

Yes the current implementation uses the getServiceProviders() method in
org.wso2.carbon.identity.sso.saml.SAMLSSOConfigService where all the SAML
SSO Issuers are returned but these objects do not have their respective
service provider names mapped. What i need is the service provider names of
the respective issuers. Is there a method or a class which can return or
contains both the service provider and the issuer name?

I need to get all the names of the SAML SSO Service Providers along with
their issuer names.

Thank you.

On Thu, Oct 23, 2014 at 11:38 PM, Prasad Tissera  wrote:

> Hi Shiva,
>
> If you want to fetch all the SAMLSSO Issuers registered you can use
> getServiceProviders() method in
> org.wso2.carbon.identity.sso.saml.SAMLSSOConfigService. It contains all the
> avilable information of the issuer. In IS 5.0.0 SAMLSSO in only one type of
> service providers. But in earlier IS version SAMLSSO was the only service
> provider available.
>
> If you can explain the issue you are working on more specifically we may
> able to help you more on this. Thanks.
>
> Regards,
> Prasad.
>
>
> On Thu, Oct 23, 2014 at 5:55 PM, Shiva Balachandran 
> wrote:
>
>> Hi,
>>
>> I been working on a Issues related to IS, the issue regarding populating
>> a dropdown with all the SAMLSSO Service providers. The class listed in the
>> subject holds the Service Providers but does not contain the name of the
>> service provider. Is there any way for me to acquire the service provider
>> and the issuer?
>>
>> Thank you,
>>
>> --
>> Shiva Balachandran
>> Software Engineer
>> WSO2 Inc.
>>
>> Mobile - +94 774445788
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Prasad Tissera
> Software Engineer.
> Mobile : +94777223444
>



-- 
Shiva Balachandran
Software Engineer
WSO2 Inc.

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


[Dev] SAMLSSOServiceProvider

2014-10-23 Thread Shiva Balachandran
Hi,

I been working on a Issues related to IS, the issue regarding populating a
dropdown with all the SAMLSSO Service providers. The class listed in the
subject holds the Service Providers but does not contain the name of the
service provider. Is there any way for me to acquire the service provider
and the issuer?

Thank you,

-- 
Shiva Balachandran
Software Engineer
WSO2 Inc.

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


Re: [Dev] Front-end framework to use

2014-10-20 Thread Shiva Balachandran
Hi CD,

I believe before any implementation is commenced, it would be great if you
could sketch up what and how your are going to present the web based GUI
and the functionality, having mock-ups will guide you and make it easier
for you to develop front end GUIs. Also, best get the mock up reviewed by a
non technical user to understand if the UI is understandable and easy to
use. This will reduce redundant work.

Thank you.

On Tue, Oct 21, 2014 at 11:06 AM, CD Athuraliya  wrote:

> Hi all,
>
> Thanks a lot for the feedback. The GUI will be used to display real time
> road traffic information extracted from a Twitter feed to the user.
> Information includes geolocations and textual information on traffic level
> which are more convenient to display in a single page. I will continue my
> work with Bootstrap with jQuery for the GUI following your feedback.
>
> Thanks and best regards.
>
> On Tue, Oct 21, 2014 at 10:43 AM, Shiva Balachandran 
> wrote:
>
>> Hi CD,
>>
>> If functionality of the UI can be achieved using Bootstrap with jQuery it
>> would be a good way to proceed, as it would be light and fast. Look into
>> the links below to see if you can find a better suited framework from your
>> development.
>>
>> 1 - http://www.sitepoint.com/top-10-front-end-development-frameworks/
>> 2 - http://handlebarsjs.com/
>>
>>
>> Thank you.
>>
>> On Tue, Oct 21, 2014 at 12:46 AM, CD Athuraliya 
>> wrote:
>>
>>> Hi Shiva,
>>>
>>> The GUI will be mainly used for user interaction and geo map
>>> integration. I am currently using Bootstrap with jQuery for this
>>> purpose. Kindly point out if there is a better choice.
>>>
>>> Thanks.
>>>
>>> On Mon, Oct 20, 2014 at 5:42 PM, Shiva Balachandran 
>>> wrote:
>>>
>>>> Hi CD,
>>>>
>>>> Can you please be more specific about what goes in the web based GUI.
>>>> There are many frameworks/modules, used for such purposes but
>>>> depending on your necessities, you can narrow down a suitable one.
>>>> Any mock-ups or designs?
>>>>
>>>> Thank you,
>>>>
>>>> Shiva Balachandran
>>>>
>>>> On Fri, Oct 17, 2014 at 11:09 AM, CD Athuraliya 
>>>> wrote:
>>>>
>>>>> Hi Chamila,
>>>>>
>>>>> Thanks for the tip on license compatibility. I will look into this.
>>>>>
>>>>> Best regards.
>>>>>
>>>>> On Fri, Oct 17, 2014 at 11:05 AM, Chamila De Alwis 
>>>>> wrote:
>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> I haven't done any serious front end work, but as an additional
>>>>>> concern when selecting frameworks and modules, have a look at the license
>>>>>> they are using. They should be licensed under Apache License v2.0 or 
>>>>>> under
>>>>>> a compatible license. It might help going briefly through the
>>>>>> articles[1][2][3] on Apache about license compatibility before selecting 
>>>>>> a
>>>>>> particular module.
>>>>>>
>>>>>> Perhaps Dakshika can add ideas on the specific frameworks to use
>>>>>>
>>>>>> [1] - http://www.apache.org/licenses/GPL-compatibility.html
>>>>>> [2] - http://www.apache.org/legal/3party.html
>>>>>> [3] - http://www.apache.org/legal/resolved.html
>>>>>>
>>>>>>
>>>>>> Regards,
>>>>>> Chamila de Alwis
>>>>>> Software Engineer | WSO2 | +94772207163
>>>>>> Blog: code.chamiladealwis.com
>>>>>>
>>>>>>
>>>>>>
>>>>>> On Fri, Oct 17, 2014 at 10:40 AM, CD Athuraliya 
>>>>>> wrote:
>>>>>>
>>>>>>> Hi all,
>>>>>>>
>>>>>>> I am developing a web based GUI as a part of this project [1]. Are
>>>>>>> there any de facto frameworks/modules, used for such purposes? Any help
>>>>>>> would be much appreciated.
>>>>>>>
>>>>>>> [1] https://redmine.wso2.com/issues/3327
>>>>>>>
>>>>>>> Thanks.
>>>>>>>
>>>>>>> --
>>>>>>> *CD Athuraliya*
>>>>>>> Software Engineering Intern
>>>>>>> WSO2

Re: [Dev] Front-end framework to use

2014-10-20 Thread Shiva Balachandran
Hi CD,

If functionality of the UI can be achieved using Bootstrap with jQuery it
would be a good way to proceed, as it would be light and fast. Look into
the links below to see if you can find a better suited framework from your
development.

1 - http://www.sitepoint.com/top-10-front-end-development-frameworks/
2 - http://handlebarsjs.com/


Thank you.

On Tue, Oct 21, 2014 at 12:46 AM, CD Athuraliya  wrote:

> Hi Shiva,
>
> The GUI will be mainly used for user interaction and geo map integration.
> I am currently using Bootstrap with jQuery for this purpose. Kindly point
> out if there is a better choice.
>
> Thanks.
>
> On Mon, Oct 20, 2014 at 5:42 PM, Shiva Balachandran 
> wrote:
>
>> Hi CD,
>>
>> Can you please be more specific about what goes in the web based GUI.
>> There are many frameworks/modules, used for such purposes but depending
>> on your necessities, you can narrow down a suitable one.
>> Any mock-ups or designs?
>>
>> Thank you,
>>
>> Shiva Balachandran
>>
>> On Fri, Oct 17, 2014 at 11:09 AM, CD Athuraliya 
>> wrote:
>>
>>> Hi Chamila,
>>>
>>> Thanks for the tip on license compatibility. I will look into this.
>>>
>>> Best regards.
>>>
>>> On Fri, Oct 17, 2014 at 11:05 AM, Chamila De Alwis 
>>> wrote:
>>>
>>>> Hi,
>>>>
>>>> I haven't done any serious front end work, but as an additional concern
>>>> when selecting frameworks and modules, have a look at the license they are
>>>> using. They should be licensed under Apache License v2.0 or under a
>>>> compatible license. It might help going briefly through the
>>>> articles[1][2][3] on Apache about license compatibility before selecting a
>>>> particular module.
>>>>
>>>> Perhaps Dakshika can add ideas on the specific frameworks to use
>>>>
>>>> [1] - http://www.apache.org/licenses/GPL-compatibility.html
>>>> [2] - http://www.apache.org/legal/3party.html
>>>> [3] - http://www.apache.org/legal/resolved.html
>>>>
>>>>
>>>> Regards,
>>>> Chamila de Alwis
>>>> Software Engineer | WSO2 | +94772207163
>>>> Blog: code.chamiladealwis.com
>>>>
>>>>
>>>>
>>>> On Fri, Oct 17, 2014 at 10:40 AM, CD Athuraliya 
>>>> wrote:
>>>>
>>>>> Hi all,
>>>>>
>>>>> I am developing a web based GUI as a part of this project [1]. Are
>>>>> there any de facto frameworks/modules, used for such purposes? Any help
>>>>> would be much appreciated.
>>>>>
>>>>> [1] https://redmine.wso2.com/issues/3327
>>>>>
>>>>> Thanks.
>>>>>
>>>>> --
>>>>> *CD Athuraliya*
>>>>> Software Engineering Intern
>>>>> WSO2, Inc.
>>>>> lean . enterprise . middleware
>>>>> Mobile: +94 716288847
>>>>> LinkedIn <http://lk.linkedin.com/in/cdathuraliya> | Twitter
>>>>> <https://twitter.com/cdathuraliya> | Blog
>>>>> <http://cdathuraliya.tumblr.com/>
>>>>>
>>>>> ___
>>>>> Dev mailing list
>>>>> Dev@wso2.org
>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>
>>>>>
>>>>
>>>
>>>
>>> --
>>> *CD Athuraliya*
>>> Software Engineering Intern
>>> WSO2, Inc.
>>> lean . enterprise . middleware
>>> Mobile: +94 716288847
>>> LinkedIn <http://lk.linkedin.com/in/cdathuraliya> | Twitter
>>> <https://twitter.com/cdathuraliya> | Blog
>>> <http://cdathuraliya.tumblr.com/>
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Shiva Balachandran
>> Software Engineer
>> WSO2 Inc.
>>
>> Mobile - +94 774445788
>>
>
>
>
> --
> *CD Athuraliya*
> Software Engineering Intern
> WSO2, Inc.
> lean . enterprise . middleware
> Mobile: +94 716288847
> LinkedIn <http://lk.linkedin.com/in/cdathuraliya> | Twitter
> <https://twitter.com/cdathuraliya> | Blog
> <http://cdathuraliya.tumblr.com/>
>



-- 
Shiva Balachandran
Software Engineer
WSO2 Inc.

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


Re: [Dev] Getting an RemoteException When calling getAllInboundEndpointNames() from InboundAdminStub

2014-10-20 Thread Shiva Balachandran
Hi,

it looks like you are accessing the endpoints incorrectly, or the
InboundAdmin client is null or doesn't contain any data. Before clearing,
check if the endpoints are present and see if you are accessing them
correctly.

Thank you
Shiva Balachandran

On Mon, Oct 20, 2014 at 2:18 PM, Iqbal Irham  wrote:

> Hi,
>
> In ESB integration test, after running the test cases(inside @AfterClass
> method) on cleaning out stage to delete inbound end points we are calling
> getAllInboundEndpointNames() method from InboundAdminStub service stub to
> get all the inbound end point names
>
>String endPoint = backEndUrl + serviceName;
> InboundAdminStub endpointAdminStub = new
> InboundAdminStub(endPoint);
> AuthenticateStub.authenticateStub(userName, password,
> endpointAdminStub);
> endpointAdminStub.getAllInboundEndpointNames();
>
> It's throwing RemoteException.
>
> java.lang.Exception: java.rmi.RemoteException: Error when get endpoint
> names in InboundAdmin Client; nested exception is:
> org.apache.axis2.AxisFault: The input stream for an incoming message
> is null.
> at
> org.wso2.esb.integration.common.utils.ESBIntegrationTest.deleteInboundEndpoints(ESBIntegrationTest.java:269)
> at
> org.wso2.esb.integration.common.utils.ESBIntegrationTest.cleanup(ESBIntegrationTest.java:137)
> at
> org.wso2.carbon.esb.samples.test.proxy.Sample151TestCase.destroy(Sample151TestCase.java:59)
> 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.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:80)
> at
> org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:525)
> at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:202)
> at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:130)
> at
> org.testng.internal.TestMethodWorker.invokeAfterClassMethods(TestMethodWorker.java:222)
> at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:112)
> at org.testng.TestRunner.runWorkers(TestRunner.java:1178)
> at org.testng.TestRunner.privateRun(TestRunner.java:757)
> at org.testng.TestRunner.run(TestRunner.java:608)
> at org.testng.SuiteRunner.runTest(SuiteRunner.java:334)
> at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:329)
> at org.testng.SuiteRunner.privateRun(SuiteRunner.java:291)
> at org.testng.SuiteRunner.run(SuiteRunner.java:240)
> at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
> at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
> at org.testng.TestNG.runSuitesSequentially(TestNG.java:1158)
> at org.testng.TestNG.runSuitesLocally(TestNG.java:1083)
> at org.testng.TestNG.run(TestNG.java:999)
> at
> org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:178)
> at
> org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:92)
> at
> org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:96)
> 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.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
> at
> org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
> at
> org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
> at
> org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
> at
> org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)
> Caused by: java.rmi.RemoteException: Error when get endpoint names in
> InboundAdmin Client; nested exception is:
> org.apache.axis2.AxisFault: The input stream for an incoming message
> is null.
> at
> org.wso2.esb.integration.common.clients.inbound.endpoint.InboundAdminClient.getAllInboundEndpointNames(InboundAdminClient.java:71)
> at
> org.wso2.esb.integration.common.utils.ESBTestCaseUtils.getAllInboundEndpoints(ESBTestCaseUtils.java:397)
> at
> org.wso2.esb.integration.common.utils.ESBIntegrationTest.deleteInboundEndpoints(ESBIntegrationTest.java:260)
> ... 36 more
> Caused by: org.apa

Re: [Dev] Front-end framework to use

2014-10-20 Thread Shiva Balachandran
Hi CD,

Can you please be more specific about what goes in the web based GUI. There
are many frameworks/modules, used for such purposes but depending on your
necessities, you can narrow down a suitable one.
Any mock-ups or designs?

Thank you,

Shiva Balachandran

On Fri, Oct 17, 2014 at 11:09 AM, CD Athuraliya  wrote:

> Hi Chamila,
>
> Thanks for the tip on license compatibility. I will look into this.
>
> Best regards.
>
> On Fri, Oct 17, 2014 at 11:05 AM, Chamila De Alwis 
> wrote:
>
>> Hi,
>>
>> I haven't done any serious front end work, but as an additional concern
>> when selecting frameworks and modules, have a look at the license they are
>> using. They should be licensed under Apache License v2.0 or under a
>> compatible license. It might help going briefly through the
>> articles[1][2][3] on Apache about license compatibility before selecting a
>> particular module.
>>
>> Perhaps Dakshika can add ideas on the specific frameworks to use
>>
>> [1] - http://www.apache.org/licenses/GPL-compatibility.html
>> [2] - http://www.apache.org/legal/3party.html
>> [3] - http://www.apache.org/legal/resolved.html
>>
>>
>> Regards,
>> Chamila de Alwis
>> Software Engineer | WSO2 | +94772207163
>> Blog: code.chamiladealwis.com
>>
>>
>>
>> On Fri, Oct 17, 2014 at 10:40 AM, CD Athuraliya 
>> wrote:
>>
>>> Hi all,
>>>
>>> I am developing a web based GUI as a part of this project [1]. Are there
>>> any de facto frameworks/modules, used for such purposes? Any help would be
>>> much appreciated.
>>>
>>> [1] https://redmine.wso2.com/issues/3327
>>>
>>> Thanks.
>>>
>>> --
>>> *CD Athuraliya*
>>> Software Engineering Intern
>>> WSO2, Inc.
>>> lean . enterprise . middleware
>>> Mobile: +94 716288847
>>> LinkedIn <http://lk.linkedin.com/in/cdathuraliya> | Twitter
>>> <https://twitter.com/cdathuraliya> | Blog
>>> <http://cdathuraliya.tumblr.com/>
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>
>
> --
> *CD Athuraliya*
> Software Engineering Intern
> WSO2, Inc.
> lean . enterprise . middleware
> Mobile: +94 716288847
> LinkedIn <http://lk.linkedin.com/in/cdathuraliya> | Twitter
> <https://twitter.com/cdathuraliya> | Blog
> <http://cdathuraliya.tumblr.com/>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Shiva Balachandran
Software Engineer
WSO2 Inc.

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


Re: [Dev] Governance Registry: Web service executor sample

2014-10-10 Thread Shiva Balachandran
Hi Himasha,

I downloaded a fresh pack and followed the tutorial, added the
configuration file given in this mail, it works fine, the lifecycle was
added.

Thank you.

On Thu, Oct 9, 2014 at 12:21 PM, Himasha Guruge  wrote:

> Hi Shiva,
>
> This is the xml configuration of the lifecycle source in governance
> registry.
>
>  class="org.wso2.carbon.governance.registry.extensions.aspects.DefaultLifeCycle">
> 
> 
> http://www.w3.org/2005/07/scxml";
>version="1.0"
>initialstate="Development">
> 
> 
>
>  class="org.wso2.carbon.governance.registry.extensions.executors.WSExecutor">
> 
> 
> 
> 
> http://ws.apache.org/axis2"/>
>  value="ns"/>
> http://localhost:8080/axis2/services/AdderService.AdderServiceHttpSoap11Endpoint/
> "/>
> 
> http://schemas.xmlsoap.org/soap/envelope/"; xmlns:axis="
> http://ws.apache.org/axis2";>
> 
> 
> 
> 5
> 6
> 
> 
> 
> 
>   
> 
> 
> 
>
> 
> 
> 
> 
>  forEvent="">
> 
> 
> 
> 
> 
>     
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
>
>
> Thanks & Regards,
>
> On Thu, Oct 9, 2014 at 12:10 PM, Shiva Balachandran 
> wrote:
>
>> Hi Himasha,
>>
>> Please share the complete XML file.
>>
>> Thank you
>>
>> On Thu, Oct 9, 2014 at 9:28 AM, Himasha Guruge  wrote:
>>
>>> Hi All,
>>>
>>> In Governance Registry web service executor sample[1] , when trying to
>>> create a new lifecycle, I'm unable to save it since it says unable to
>>> validate the configuration.
>>>
>>> In the console, following error is shown where line number 23 points to
>>> " 5" of the payload parameter.
>>>
>>>  "ERROR {org.wso2.carbon.governance.lcm.util.CommonUtil} -  Unable to
>>> parse the XML configuration. Please validate the XML
>>> configurationorg.xml.sax.SAXParseException; lineNumber: 23; columnNumber:
>>> 33; cvc-complex-type.2.3: Element 'parameter' cannot have character
>>> [children], because the type's content type is element-only."
>>>
>>> I have added the exact segment mentioned in the sample, under data model
>>> tag of Development state. What could be the issue in the xml configuration?
>>>
>>> [1]
>>>  https://docs.wso2.com/display/Governance460/Web+Service+Executor+Sample
>>> <https://docs.wso2.com/display/Governance460/Web+Service+Executor+Sample>
>>> Thanks & Regards,
>>>
>>> --
>>> Himasha Guruge
>>> *Software Engineer*
>>> WS*O2* *Inc.*
>>> Mobile: +94 777459299
>>> himas...@wso2.com
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Shiva Balachandran
>> Software Engineer
>> WSO2 Inc.
>>
>> Mobile - +94 774445788
>>
>
>
>
> --
> Himasha Guruge
> *Software Engineer*
> WS*O2* *Inc.*
> Mobile: +94 777459299
> himas...@wso2.com
>



-- 
Shiva Balachandran
Software Engineer
WSO2 Inc.

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


Re: [Dev] ESB build error

2014-10-08 Thread Shiva Balachandran
Hi Chamin,

Please check if that directory contains the respective pom file. Also,
where are you building it from,using a IDE or using the terminal?

Thank you,



On Thu, Oct 9, 2014 at 11:45 AM, Chamin Nalinda  wrote:

> Error message says fails to collect dependencies for jars
>
> -- start -
>
> [INFO]
> 
> [INFO] Reactor Summary:
> [INFO]
> [INFO] WSO2 ESB - Aggregator Module .. SUCCESS [0.317s]
> [INFO] WSO2 ESB - Styles Parent .. SUCCESS [0.012s]
> [INFO] WSO2 ESB - Styles . SUCCESS [4.901s]
> [INFO] WSO2 Stratos ESB - Styles . SUCCESS [0.210s]
> [INFO] WSO2 ESB - Samples Parent . SUCCESS [0.011s]
> [INFO] WSO2 ESB - Samples  FAILURE [4.441s]
> [INFO] WSO2 Stratos ESB - Samples  SKIPPED
> [INFO] WSO2 ESB - Features Parent  SKIPPED
> [INFO] WSO2 ESB - Features Aggregator Module . SKIPPED
> [INFO] WSO2 ESB - Styles Features  SKIPPED
> [INFO] WSO2 ESB - Samples Features ... SKIPPED
> [INFO] WSO2 Stratos ESB - Login User Interface ... SKIPPED
> [INFO] WSO2 Stratos ESB - Features Aggregator Module . SKIPPED
> [INFO] WSO2 Stratos ESB - Login UI Feature ... SKIPPED
> [INFO] WSO2 Stratos ESB - Styles Features  SKIPPED
> [INFO] WSO2 Stratos ESB - Samples Features ... SKIPPED
> [INFO] WSO2 ESB - P2 Profile Generation .. SKIPPED
> [INFO] WSO2 ESB - Distribution ... SKIPPED
> [INFO] WSO2 ESB - Integration Parent . SKIPPED
> [INFO] ESB Test Service Module ... SKIPPED
> [INFO] Integration Commons Module - ESB test Module .. SKIPPED
> [INFO] WSO2 ESB Integration Test Core  SKIPPED
> [INFO] ESB Mediators Test Module - 1 . SKIPPED
> [INFO] ESB Mediators Test Module - 2 . SKIPPED
> [INFO] ESB test Module - Sample .. SKIPPED
> [INFO] ESB test Module-Transport . SKIPPED
> [INFO] ESB test Module-Other . SKIPPED
> [INFO] ESB test Module-Service ... SKIPPED
> [INFO] ESB UI Test Module  SKIPPED
> [INFO] Integration Test Reporting  SKIPPED
> [INFO] WSO2 Carbon - Releases - products - Aggregator Module  SKIPPED
> [INFO]
> 
> [INFO] BUILD FAILURE
> [INFO]
> 
> [INFO] Total time: 11.365s
> [INFO] Finished at: Thu Oct 09 11:24:57 IST 2014
> [INFO] Final Memory: 20M/736M
> [INFO]
> 
> [ERROR] Failed to execute goal on project org.wso2.esb.samples: Could not
> resolve dependencies for project
> org.wso2.esb:org.wso2.esb.samples:bundle:4.8.1: Failed to collect
> dependencies for [org.apache.synapse:synapse-core:jar:2.1.2-wso2v1
> (compile), org.apache.synapse:synapse-commons:jar:2.1.2-wso2v1 (compile),
> org.apache.ws.security.wso2:wss4j:jar:1.5.11.wso2v3 (compile),
> org.apache.rampart.wso2:rampart-core:jar:1.6.1.wso2v10 (compile),
> org.apache.geronimo.specs.wso2:geronimo-jms_1.1_spec:jar:1.1.0.wso2v1
> (compile)]: Failed to read artifact descriptor for
> org.apache.ws.security.wso2:wss4j:jar:1.5.11.wso2v3: Could not find
> artifact org.wso2.carbon:carbon-parent:pom:4.0.0-SNAPSHOT in wso2-nexus (
> http://maven.wso2.org/nexus/content/groups/wso2-public/) -> [Help 1]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the
> -e switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions,
> please read the following articles:
> [ERROR] [Help 1]
> http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
> [ERROR]
> [ERROR] After correcting the problems, you can resume the build with the
> command
> [ERROR]   mvn  -rf :org.wso2.esb.samples
>
>
> -- end --
>
>
> --
> *Chamin Nalinda*
>
> Intern - Engineering
> WSO2 Inc. http://www.wso2.com
> lean.enterprise.middleware
>
> Mobile: (+94) 77 241 66 04
> Linkedin: https://www.linkedin.com/in/chaminnalinda
> Web: http://www.ckreativity.com
> Blog: http://techspiro.blogspot.com/
>
>
> _

Re: [Dev] Build WSO2 Carbon

2014-10-07 Thread Shiva Balachandran
Hi,

Like what everyone has mentioned above the POM file is missing in the
directory(/home/coolck/Carbon/CarbonBuild/orbit) your trying to use the
build command. make sure you navigate to the directory and check if the pom
is available. Else, please checkout
https://svn.wso2.org/repos/wso2/carbon/orbit/branches/4.2.0 and build the
orbit.

On Tue, Oct 7, 2014 at 2:00 PM, Vijitha Ekanayake  wrote:

> Hi chamin,
>
> This happens due to there is no pom in the directory. use mvn clean
> install command within the correct directory.
> in your case, use command inside version directory inside the orbit
> directory.
>
> thanks
>
>
>
> On Tue, Oct 7, 2014 at 1:53 PM, Tharindu Edirisinghe 
> wrote:
>
>> Hi Chamin,
>>
>> Can you verify that there is a pom.xml file in the directory where you
>> executed the mvn clean install command.
>>
>> On Tue, Oct 7, 2014 at 1:50 PM, Chamin Nalinda  wrote:
>>
>>> Hi All,
>>>
>>> I followed the  steps in [1] in building the Carbon.
>>>
>>> When I run the following command I get build failure.
>>>
>>> command: mvn clean install -Dmaven.test.skip=true
>>>
>>>  start ---
>>>
>>> [INFO] Scanning for projects...
>>> [INFO]
>>> 
>>> [INFO] BUILD FAILURE
>>> [INFO]
>>> 
>>> [INFO] Total time: 0.134s
>>> [INFO] Finished at: Tue Oct 07 13:47:18 IST 2014
>>> [INFO] Final Memory: 5M/490M
>>> [INFO]
>>> 
>>> [ERROR] The goal you specified requires a project to execute but there
>>> is no POM in this directory (/home/coolck/Carbon/CarbonBuild/orbit). Please
>>> verify you invoked Maven from the correct directory. -> [Help 1]
>>> [ERROR]
>>> [ERROR] To see the full stack trace of the errors, re-run Maven with the
>>> -e switch.
>>> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
>>> [ERROR]
>>> [ERROR] For more information about the errors and possible solutions,
>>> please read the following articles:
>>> [ERROR] [Help 1]
>>> http://cwiki.apache.org/confluence/display/MAVEN/MissingProjectException
>>>
>>>
>>> - end ---
>>>
>>> Appreciate your help.
>>>
>>> --
>>> *Chamin Nalinda*
>>>
>>> Intern - Engineering
>>> WSO2 Inc. http://www.wso2.com
>>> lean.enterprise.middleware
>>>
>>> Mobile: (+94) 77 241 66 04
>>> Linkedin: https://www.linkedin.com/in/chaminnalinda
>>> Web: http://www.ckreativity.com
>>> Blog: http://techspiro.blogspot.com/
>>>
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>>
>> Tharindu Edirisinghe
>> Software Engineer | WSO2 Inc
>> Identity Server Team
>> mobile : +94 775 181586
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Vijitha Ekanayake
> Software Engineer*, *WSO2, Inc.; http://wso2.com/
> Mobile : +94 777 24 73 39 | +94 718 74 44 08
> lean.enterprise.middleware
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Shiva Balachandran
Software Engineer
WSO2 Inc.

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


[Dev] identity Server : SAMLSSOServiceProviderDO

2014-10-03 Thread Shiva Balachandran
HI,

I am doing some development in IS. I came across a code block where a
 method named .getServiceProviders(), which returns an object of the class
mention in the subject. but when i went through the class and its
attributes i noticed the name of the service provider was not a part of the
attributes.

Further to add to that i tried to use this method
"persistenceManager.getServiceProvider(registry, issuer);"  to get the
service provider and this to returns an object of the class mentions in the
subject.

Only the issuer is available in both approaches. Can the issuer and the
service provider differ? and  Is there a specific reason to as to why the
name of the service provider is not a part of the attributes of the class?
-- 
Shiva Balachandran
Software Engineer
WSO2 Inc.

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


Re: [Dev] [DEV] WSDL error when writing the carbon component

2014-10-03 Thread Shiva Balachandran
So this is resolved right? I'm guessing those attributes are hidden in the
browser view, and are re-factored and added to the document when it is
saved.

On Fri, Oct 3, 2014 at 1:31 PM, Nishali Wijesinghe 
wrote:

> Hi Shiva,
>
> This what I got when I copied the wsdl file directly from the web browser.
>
> http://mgt.order.carbon.wso2.org
> ">OrderProcessor
> 
> http://data.mgt.order.carbon.wso2.org/xsd";
> attributeFormDefault="qualified" elementFormDefault="qualified"
> targetNamespace="http://mgt.order.carbon.wso2.org";>
> http://data.mgt.order.carbon.wso2.org/xsd"/>
> 
> 
> 
> 
> 
> 
> 
> 
>  name="return" nillable="true" type="ax298:Order"/>
> 
> 
> 
> 
>  elementFormDefault="qualified" targetNamespace="
> http://data.mgt.order.carbon.wso2.org/xsd";>
> 
> 
> 
>  type="xs:double"/>
>  type="xs:int"/>
>  type="xs:string"/>
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
>  wsaw:Action="urn:getOrder"/>
>  wsaw:Action="urn:getOrderResponse"/>
> 
> 
>  type="ns:OrderProcessorPortType">
> http://schemas.xmlsoap.org/soap/http";
> style="document"/>
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
>  type="ns:OrderProcessorPortType">
> http://schemas.xmlsoap.org/soap/http";
> style="document"/>
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
>  type="ns:OrderProcessorPortType">
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
>  binding="ns:OrderProcessorSoap11Binding">
> https://10.100.4.38:9443/services/OrderProcessor.OrderProcessorHttpsSoap11Endpoint/
> "/>
> 
>  binding="ns:OrderProcessorSoap12Binding">
> https://10.100.4.38:9443/services/OrderProcessor.OrderProcessorHttpsSoap12Endpoint/
> "/>
> 
>  binding="ns:OrderProcessorHttpBinding">
> https://10.100.4.38:9443/services/OrderProcessor.OrderProcessorHttpsEndpoint/
> "/>
> 
> 
> 
>
>
>
>
> This didn't work. But then I saved the web page as a separate wsdl file in
> the desktop (as mentioned by Supun above). The definition tag of that file
> is as follows.
>
> http://schemas.xmlsoap.org/wsdl/";
> xmlns:ns1="http://org.apache.axis2/xsd"; xmlns:ns="
> http://mgt.order.carbon.wso2.org"; xmlns:wsaw="
> http://www.w3.org/2006/05/addressing/wsdl"; xmlns:http="
> http://schemas.xmlsoap.org/wsdl/http/"; xmlns:ax298="
> http://data.mgt.order.carbon.wso2.org/xsd"; xmlns:xs="
> http://www.w3.org/2001/XMLSchema"; xmlns:soap="
> http://schemas.xmlsoap.org/wsdl/soap/"; xmlns:mime="
> http://schemas.xmlsoap.org/wsdl/mime/"; xmlns:soap12="
> http://schemas.xmlsoap.org/wsdl/soap12/"; targetNamespace="
> http://mgt.order.carbon.wso2.org";>
>
> Rest of the code is same as above.
> When I use this file to do a maven build, it works fine without any errors.
>
> Thanks,
> Regards,
> Nishali
>
>
>
> On Fri, Oct 3, 2014 at 12:15 PM, Shiva Balachandran 
> wrote:
>
>> Hi Nishali,
>>
>>
>> Please share your wsdl file with us. One of your tags in the file is not
>> bound.
>>
>> Thanks
>>
>> On Fri, Oct 3, 2014 at 11:24 AM, Supun Muthutantrige 
>> wrote:
>>
>>> Hii Nishali,
>>>
>>> Just check your wsdl again. It seems there is a problem in saving it.
>>> Try to save it from the browser as a wsdl file instead of copying and then
>>> saving in a different file.
>>>
>>> Regards
>>>
>>>
>>> *Supun Rasitha Muthutantrige*
>>>
>>>
>>>
>>>
>>> *supunrWSO2 Inc: http://wso2.com <http://wso2.com>
>>> lean.enterprise.middleware*
>>> *Mobile: 0758374608*
>>>
>>>
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Shiva Balachandran
>> Software Engineer
>> WSO2 Inc.
>>
>> Mobile - +94 774445788
>>
>
>
>
> --
> Nishali Wijesinghe
> Intern - Engineering
> WSO2, Inc.
> lean.enterprise.middleware.
> Tel: +94716913495
>



-- 
Shiva Balachandran
Software Engineer
WSO2 Inc.

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


Re: [Dev] [DEV] WSDL error when writing the carbon component

2014-10-02 Thread Shiva Balachandran
Hi Nishali,


Please share your wsdl file with us. One of your tags in the file is not
bound.

Thanks

On Fri, Oct 3, 2014 at 11:24 AM, Supun Muthutantrige 
wrote:

> Hii Nishali,
>
> Just check your wsdl again. It seems there is a problem in saving it. Try
> to save it from the browser as a wsdl file instead of copying and then
> saving in a different file.
>
> Regards
>
>
> *Supun Rasitha Muthutantrige*
>
>
>
>
> *supunrWSO2 Inc: http://wso2.com <http://wso2.com>
> lean.enterprise.middleware*
> *Mobile: 0758374608*
>
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Shiva Balachandran
Software Engineer
WSO2 Inc.

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


Re: [Dev] WSO2 ESB:POX to SOAP conversion sample error

2014-09-29 Thread Shiva Balachandran
Hi Himasha,

This is not a error but a debug log. The content that is retrieved does not
match the "to" property which is used as a filter. Debug logs are there
understand the code block that was executed and to inspect the result of
that execution, Which Version of ​ESB are you using?

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


  1   2   >