[Dev] WSO2 Committers += Fathima Dilhasha

2017-05-15 Thread Isuru Wimalasundera
Hi All

It's my pleasure to welcome Fathima Dilhasha as a WSO2 Committer.

Dilhasha has been a valuable contributor to WSO2 cloud team.  In
recognition of her contribution, dedication and commitment she has been
voted as a WSO2 committer.

Dilhasha, welcome aboard and keep up the good work !!!

Thank You

-- 
*Isuru Wimalasundera*
Associate Technical Lead;
WSO2 Cloud; http://cloud.wso2.com
WSO2, Inc.; http://wso2.com,
mobile: +94 77 920 5641
Blog : http://isurupw.blogspot.com/
<http://isurupw.blogspot.com/>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [DEV] Response appends with Request in ISO Connector

2017-02-01 Thread Isuru Wimalasundera
Hi Mohan

I too think it is not necessary. AFAIR in ISO8583 the parameters you send
in 0200 requests does get return in 0210 response body.

IsuruW

On Wed, Feb 1, 2017 at 7:15 PM, Mohanadarshan Vivekanandalingam <
mo...@wso2.com> wrote:

> Hi Team,
>
> In ESB ISO connector, the response which is received from an ISO server
> (or device) is embedded with the request itself. Then, the client which
> invokes the message get both request and response.
>
> For example,
>
> *Request *
>
>  
>  
> 
> 
>  
>   
>
> *Response*
>
>   
>  
> 
> 
>  
>   
>   
>  
> 0210
> 0014
>  
>   
>
>
> I had an offline chat with Kanapriya and seems like it was implemented
> such manner as per [1]. What is the reason for such approach? I don't think
> it is a correct approach. Whether other connectors have the similar
> implementation?
>
>
> [1] https://github.com/wso2-extensions/esb-connector-iso8583
> /blob/master/src/main/java/org/wso2/carbon/connector/
> ISO8583/ISO8583MessageHandler.java#L115
>
> Thanks,
> Mohan
>
> --
> *V. Mohanadarshan*
> *Associate Tech Lead,*
> *Data Technologies Team,*
> *WSO2, Inc. http://wso2.com <http://wso2.com> *
> *lean.enterprise.middleware.*
>
> email: mo...@wso2.com
> phone:(+94) 771117673 <077%20111%207673>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
*Isuru Wimalasundera*
Associate Technical Lead;
WSO2 Cloud; http://cloud.wso2.com
WSO2, Inc.; http://wso2.com,
mobile: +94 77 920 5641
Blog : http://isurupw.blogspot.com/



<http://isurupw.blogspot.com/>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Himasha Guruge

2015-05-27 Thread Isuru Wimalasundera
Congratz !!!

On Wed, May 27, 2015 at 11:26 AM, Nandika Jayawardana nand...@wso2.com
wrote:

 Hi All,

 It's my pleasure to announce Himasha Guruge as a WSO2 committer. She has
 been a valuable contributor to Business Process Server product and Process
 Center Product and in recognition of her contributions, she has been voted
 as a WSO2 Committer.

 Himasha, congratulations and keep up the good work.

 Regards
 Nandika

 --
 Nandika Jayawardana
 WSO2 Inc ; http://wso2.com
 lean.enterprise.middleware

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




-- 
*Isuru Wimalasundera*
Senior Software Engineer;
WSO2, Inc.; http://wso2.com,
mobile: +94 77 920 5641
Blog : http://isurupw.blogspot.com/


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


Re: [Dev] [Architecture] WSO2 Test Automation Framework 4.3.0 is ready to be used.

2014-02-16 Thread Isuru Wimalasundera
 approach ensures that all support leverages our open development
 methodology and is provided by the very same engineers who build the
 technology.

 For more details and to take advantage of this unique opportunity 
 pleasevisit
 http://wso2.com/support/

 http://wso2.com/products/business-process-server/

 Thank you for your interest in WSO2 Test Automation Framework

 - The WSO2 Test Automation Framework Team -


 ___
 Architecture mailing list
 architect...@wso2.org
 https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture




 --


 *[image: http://wso2.com] http://wso2.com Senaka Fernando*
 Senior Technical Lead; WSO2 Inc.; http://wso2.com



 * Member; Apache Software Foundation; http://apache.org
 http://apache.orgE-mail: senaka AT wso2.com http://wso2.com**P: +1
 408 754 7388 %2B1%20408%20754%207388; ext: 51736*;


 *M: +94 77 322 1818 %2B94%2077%20322%201818 Linked-In:
 http://linkedin.com/in/senakafernando
 http://linkedin.com/in/senakafernando*Lean . Enterprise . Middleware

 ___
 Architecture mailing list
 architect...@wso2.org
 https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture




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

 ___
 Architecture mailing list
 architect...@wso2.org
 https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture




-- 
*Isuru Wimalasundera*
Senior Software Engineer;
WSO2, Inc.; http://wso2.com,
mobile: +94 77 920 5641
Blog : http://isurupw.blogspot.com/


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


Re: [Dev] Git push fails for cloudpreview

2014-01-22 Thread Isuru Wimalasundera
Hi IsuruP

According to [1] the reason for this error can be due to git/https buffer
settings, May be the the default file post size for Git has been exceeded
by your push request. Can you please try the given below command from
inside your cloned repo before executing your push request.

git config http.postBuffer 524288000

[1] -
http://stackoverflow.com/questions/15240815/git-fatal-the-remote-end-hung-up-unexpectedly

- IsuruW


On Wed, Jan 22, 2014 at 6:01 PM, Isuru Perera isu...@wso2.com wrote:

 Hi,

 I'm trying git push for my application in App Cloud and I cannot push
 changes.

 Following is the error:

 Username for 'https://git.cloudpreview.wso2.com': ad...@chrishantha.com
 Password for 'https://ad...@chrishantha.com@git.cloudpreview.wso2.com':
 Counting objects: 53, done.
 Delta compression using up to 4 threads.
 Compressing objects: 100% (36/36), done.
 error: RPC failed; result=22, HTTP code = 411
 fatal: The remote end hung up unexpectedly
 Writing objects: 100% (45/45), 9.79 MiB | 109.00 KiB/s, done.
 Total 45 (delta 3), reused 0 (delta 0)
 *fatal: The remote end hung up unexpectedly*
 Everything up-to-date

 What could be the reason?

 Thanks!

 Best Regards,

 --
 Isuru Perera
 Senior Software Engineer | WSO2, Inc. | http://wso2.com/
 Lean . Enterprise . Middleware

 about.me/chrishantha




-- 
*Isuru Wimalasundera*
Senior Software Engineer;
WSO2, Inc.; http://wso2.com,
mobile: +94 77 920 5641
Blog : http://isurupw.blogspot.com/


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


Re: [Dev] WSO2 Committers += SumedhaS

2014-01-03 Thread Isuru Wimalasundera
Congratulations Sumedha !!! keep up the good work.


On Fri, Jan 3, 2014 at 1:58 PM, Amila Maha Arachchi ami...@wso2.com wrote:


 Hi All,

 It's my pleasure to welcome Sumedha Kodithuwakku as a WSO2 Committer.
 SumedhaS has been a valuable contributor to the Cloud team during the last
 few months. He worked on the Cloud Preview deployment and also developed
 the HeartBeat tool for it. In addition to that he has worked on many other
 Cloud related development work. In recognition of his contributions,
 SumedhaS has been voted as a WSO2 committer.

 SumedhaS, Welcome aboard and keep up the good work!

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

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


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




-- 
*Isuru Wimalasundera*
Senior Software Engineer;
WSO2, Inc.; http://wso2.com,
mobile: +94 77 920 5641
Blog : http://isurupw.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Kernel commit required

2013-10-20 Thread Isuru Wimalasundera
Thank Manoj , I commited this to the trunk by revision r188774.

-IsuruW


On Sun, Oct 20, 2013 at 7:57 AM, Manoj Kumara ma...@wso2.com wrote:

 Hi,

 Applied to 4.2.0 patch0001 with revision 188771. Please apply the fix to
 trunk.

 Thanks,
 manoj

 Best Regards..


 Manoj Kumara
 Software Engineer
 WSO2, Inc.; http://wso2.com

 Twitter:  http://twitter.com/ManKuma
 Mobile: +94713448188


 On Thu, Oct 17, 2013 at 6:04 PM, Isuru Wimalasundera isu...@wso2.comwrote:

 Hi

 Please commit the fix made by Azeez for the issue
 https://wso2.org/jira/browse/CARBON-14526
 to the kernel. I could not attach the svn diff to the JIRA since there is
 an issue with our public JIRA at the moment, therefor I am attaching it
 here with this mail.

 Regards
 IsuruW

 --
 *Isuru Wimalasundera*
 Senior Software Engineer;
 WSO2, Inc.; http://wso2.com,
 mobile: +94 77 920 5641





-- 
*Isuru Wimalasundera*
Senior Software Engineer;
WSO2, Inc.; http://wso2.com,
mobile: +94 77 920 5641
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Kernel commit required

2013-10-17 Thread Isuru Wimalasundera
Hi

Please commit the fix made by Azeez for the issue
https://wso2.org/jira/browse/CARBON-14526
to the kernel. I could not attach the svn diff to the JIRA since there is
an issue with our public JIRA at the moment, therefor I am attaching it
here with this mail.

Regards
IsuruW

-- 
*Isuru Wimalasundera*
Senior Software Engineer;
WSO2, Inc.; http://wso2.com,
mobile: +94 77 920 5641


org.wso2.carbon.core_4.2.0.patch
Description: Binary data
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Patch for Kernel - CARBON-14495

2013-09-26 Thread Isuru Wimalasundera
Hi Sameera/Manoj

Please apply the attached patch diff (org.wso2.carbon.core.patch) in
https://wso2.org/jira/browse/CARBON-14495 to the kernel patch.

Regards
IsuruW

-- 
*Isuru Wimalasundera*
Senior Software Engineer;
WSO2, Inc.; http://wso2.com,
mobile: +94 77 920 5641
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Patch for Kernel - CARBON-14495

2013-09-26 Thread Isuru Wimalasundera
[adding Azeez]


On Thu, Sep 26, 2013 at 11:41 AM, Isuru Wimalasundera isu...@wso2.comwrote:

 Hi Sameera/Manoj

 Please apply the attached patch diff (org.wso2.carbon.core.patch) in
 https://wso2.org/jira/browse/CARBON-14495 to the kernel patch.

 Regards
 IsuruW

 --
 *Isuru Wimalasundera*
 Senior Software Engineer;
 WSO2, Inc.; http://wso2.com,
 mobile: +94 77 920 5641




-- 
*Isuru Wimalasundera*
Senior Software Engineer;
WSO2, Inc.; http://wso2.com,
mobile: +94 77 920 5641
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Chunk 02 Build Failure

2013-09-26 Thread Isuru Wimalasundera

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




 --
 Lalaji Sureshika
  WSO2, Inc.;  http://wso2.com/
 email: lal...@wso2.com; cell: +94 71 608 6811
 blog: http://lalajisureshika.blogspot.com





 --
 *Isuru Udana*
 *
  *
 Senior *
 Software Engineer
 *
 WSO2 Inc.; http://wso2.com
 email: isu...@wso2.com cell: +94 77 3791887
 blog: http://mytecheye.blogspot.com/
 twitter: http://twitter.com/isudana




 --
 Lalaji Sureshika
 WSO2, Inc.;  http://wso2.com/
 email: lal...@wso2.com; cell: +94 71 608 6811
 blog: http://lalajisureshika.blogspot.com





 --
 Ajith Vitharana.
 WSO2 Inc. - http://wso2.org
 Email  :  aji...@wso2.com
 Mobile : +94772217350


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




 --
 /sumedha
 m: +94 773017743
 b :  bit.ly/sumedha




 --
 Ajith Vitharana.
 WSO2 Inc. - http://wso2.org
 Email  :  aji...@wso2.com
 Mobile : +94772217350


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




 --
 Nuwan Dias

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

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




 --
 *Isuru Udana*
 *
  *
 Senior *
 Software Engineer
 *
 WSO2 Inc.; http://wso2.com
 email: isu...@wso2.com cell: +94 77 3791887
 blog: http://mytecheye.blogspot.com/
 twitter: http://twitter.com/isudana

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




-- 
*Isuru Wimalasundera*
Senior Software Engineer;
WSO2, Inc.; http://wso2.com,
mobile: +94 77 920 5641
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] group_mgt_port Not seen in the loadbalancer.conf of latest ELB 2.1.0 packs

2013-09-16 Thread Isuru Wimalasundera
Hi All

AFAIK with the new Hazelcast clustering we need to specify a group_mgt_port
in loadbalancer.conf for each sub domain. And the nodes of each sub domain
would now specify this new group_mgt_port as its well known member port
when adding ELB as a WKA member. So I guess the configuration should be
something like below.

gateway {
   domains {
   wso2.gateway.domain {
   mgt {
   hosts
gateway.apimanager.cloudpreview.wso2.com;
   tenant_range *;
   group_mgt_port 4030;
   }
   }
   }
   }

I could not see this port specified on the loadbalancer.conf by default on
the latest ELB builds, Please be kind to update the default
loadbalancer.conf with above info.

Regards
IsuruW

-- 
*Isuru Wimalasundera*
Senior Software Engineer;
WSO2, Inc.; http://wso2.com,
mobile: +94 77 920 5641
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Missing MD5 for org.eclipse.equinox.http.servlet-1.0.200.v20090520-1800

2013-09-09 Thread Isuru Wimalasundera
 (compile),
 org.apache.synapse:synapse-tasks:jar:2.1.1-wso2v8 (compile),
 org.apache.synapse:synapse-commons:jar:2.1.1-wso2v8 (compile),
 org.wso2.carbon:org.wso2.carbon.throttling.agent:jar:2.2.0 (compile),
 org.wso2.carbon:org.wso2.carbon.usage.agent:jar:2.2.0 (compile)]: Failed to
 read artifact descriptor for
 org.eclipse.equinox:org.eclipse.equinox.http.servlet:jar:1.0.200.v20090520-1800:
 *Could not transfer artifact
 org.eclipse.equinox:org.eclipse.equinox.http.servlet:pom:1.0.200.v20090520-1800
 from/to wso2-nexus (
 http://maven.wso2.org/nexus/content/groups/wso2-public/): Checksum
 validation failed, expected  but is
 62336f94161432092b380de7665aa6c0af3ac893 - [Help 1]*

 --
 /sumedha
 b :  bit.ly/sumedha

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




-- 
*Isuru Wimalasundera*
Senior Software Engineer;  WSO2, Inc.; http://wso2.com,
 mobile: +94 77 920 5641
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Ravi Undupitiya

2013-05-18 Thread Isuru Wimalasundera
Congratz Ravi :)


On Tue, May 14, 2013 at 11:48 AM, Miyuru Wanninayaka miy...@wso2.comwrote:

 Hi all,

 It's my pleasure to announce Ravi as a WSO2 committer. Ravi made a
 excellent contribution to WSO2 ESB.

 @Ravi, welcome abroad and keep up the good work!

 Cheers!
 --
 Miyuru Wanninayaka
 Senior Software Engineer
 Member, Management Committee - Integration Technologies
 WSO2 Inc. : http://wso2.com

 Mobile : +94 77 209 9788
 Blog : http://miyurudw.blogspot.com
 Flickr : http://www.flickr.com/photos/miyuru_daminda
 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




-- 
*Isuru Wimalasundera*
Software Engineer;  WSO2, Inc.; http://wso2.com,
 mobile: +94 77 920 5641
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Isuru Haththotuwa

2013-05-13 Thread Isuru Wimalasundera
Congratz IsuruH and all the best :)


On Thu, May 9, 2013 at 11:51 AM, Lakmal Warusawithana lak...@wso2.comwrote:

 Hi,

 Its my pleasure to welcome Isuru Haththotuwa as a WSO2 Commiter.

 IsuruH has done excellent contribution in the areas of
 Stratos2 specially git based depSync. Also his contribution to Stratos2
 alpha, beta1 and beta2 was tremendous.

 IsuruH, welcome aboard and keep up the good work.

 regards

 --
 Lakmal Warusawithana
 Software Architect; WSO2 Inc.
 Mobile : +94714289692


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




-- 
*Isuru Wimalasundera*
Software Engineer;  WSO2, Inc.; http://wso2.com,
 mobile: +94 77 920 5641
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Dependencies for org.wso2.carbon.endpoint.feature not in nexus

2013-05-06 Thread Isuru Wimalasundera
Hi

I think the endpoint.server.feature 4.1.1 should be added to Nexus, but has
missed it somehow. For the time being I guess you can get this build if you
build the endpoint.server.feature 4.1.1.


On Mon, May 6, 2013 at 2:52 PM, Amila Maha Arachchi ami...@wso2.com wrote:

 See my mail with subject 4.1.2 build failure - endpoint.server.feature
 4.1.1 not found. I raised the same issue, but no one replied. At the
 moment there is 4.1.0 and 4.1.1 versions of
 org.wso2.carbon.endpoint.server.feature. Either you should use 4.1.0 or svn
 move the 4.1.1 to 4.1.2 (if there are fixes in 4.1.1).


 On Mon, May 6, 2013 at 2:38 PM, Jeewantha Dharmaparakrama 
 jeewan...@wso2.com wrote:

 Hi all,

 The following dependencies for
 carbon/platform/4.1.0/features/endpoints/org.wso2.carbon.endpoint.feature/4.1.2are
  not there in nexus.

 dependencies
 dependency
 groupIdorg.wso2.carbon/groupId

 artifactIdorg.wso2.carbon.endpoint.server.feature/artifactId
 version4.1.1/version
 typezip/type
 /dependency
 dependency
 groupIdorg.wso2.carbon/groupId
 artifactIdorg.wso2.carbon.endpoint.ui.feature/artifactId
 version4.1.2/version
 typezip/type
 /dependency
 /dependencies


 http://maven.wso2.org/nexus/content/groups/wso2-public/org/wso2/carbon/org.wso2.carbon.endpoint.server.feature/

 http://maven.wso2.org/nexus/content/groups/wso2-public/org/wso2/carbon/org.wso2.carbon.endpoint.ui.feature/

 Would changing the versions to 4.1.0 solve the issue?

 Jeewantha.

 --
 Jeewantha Dharmaparakrama
 Software Engineer; WSO2, Inc.; http://wso2.com/
 Phone : (+94) 774726790
 Skype : prasad.jeewantha
 LinkedIn : http://www.linkedin.com/in/jeewanthad
 Twitter: https://twitter.com/jeewamp
 Blog: http://jeewanthad.blogspot.com/

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




 --
 *Amila Maharachchi*
 Technical Lead
 Member, Management Committee - Cloud  Platform TG
 WSO2, Inc.; http://wso2.com

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


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




-- 
*Isuru Wimalasundera*
Software Engineer;  WSO2, Inc.; http://wso2.com,
 mobile: +94 77 920 5641
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] WSO2 Stratos 2.0 Beta 2 Released - Release Note

2013-04-05 Thread Isuru Wimalasundera
 repository
   creation method needs to be improved
   - [SPI-103 https://wso2.org/jira/browse/SPI-103] - Remove info logs
   logged when a registrant is not accessible
   - [SPI-114 https://wso2.org/jira/browse/SPI-114] - [AS/PHP Catridge]
   README.txt files in git repository needs to contain some descriptive text
   - [SPI-118 https://wso2.org/jira/browse/SPI-118] - Add pagination for
   Manager GUI cartridge list
   - [SPI-127 https://wso2.org/jira/browse/SPI-127] - Enable domain
   mapping adding from GUI
   - [SPI-130 https://wso2.org/jira/browse/SPI-130] - User should be
   asked for a confirmation when he click unsubscribe from GUI, and
   unsubscribe command in Cli
   - [SPI-134 https://wso2.org/jira/browse/SPI-134] - Puppetize whole S2
   setup.
   - [SPI-140 https://wso2.org/jira/browse/SPI-140] - Create one final
   pack out of the prodcuts which used in Stratos2.
   - [SPI-144 https://wso2.org/jira/browse/SPI-144] - Autoscaler task
   should be able to concurrently serve different service clusters
   - [SPI-145 https://wso2.org/jira/browse/SPI-145] - Each IaaS should be
   able to specify a max count of instances that it can spawn
   - [SPI-152 https://wso2.org/jira/browse/SPI-152] - git auth modules
   axis2c library path is hard coded to /home/wso2/axis2c
   - [SPI-153 https://wso2.org/jira/browse/SPI-153] - In installer script
   JAVA_HOME should be taken from user environment
   - [SPI-154 https://wso2.org/jira/browse/SPI-154] - In installer script
   /home/wso2 folder and wso2 user is assumed
   - [SPI-155 https://wso2.org/jira/browse/SPI-155] - Remove git rep
   create related stuff from installer script
   - [SPI-177 https://wso2.org/jira/browse/SPI-177] - Use a property in
   Cartridge XML to define ssh port and use it for validating the cartridge
   instance is running or not.
   - [SPI-178 https://wso2.org/jira/browse/SPI-178] -
   CloudControllerStubClient's timeout value should be increased to avoid
   socket time outs
   - [SPI-190 https://wso2.org/jira/browse/SPI-190] - Enable domain
   mapping removing from GUI
   - [SPI-196 https://wso2.org/jira/browse/SPI-196] - Data cartridge
   status should be retrieved from the database instead of checking whether
   the data port is active

Task

   - [SPI-85 https://wso2.org/jira/browse/SPI-85] - Committing changes to
   Git Based Deployment Synchronizer to the Scratch Area
   - [SPI-126 https://wso2.org/jira/browse/SPI-126] - Remove git remo
   create/maintain functionality from Stratos2
   - [SPI-129 https://wso2.org/jira/browse/SPI-129] - Move ADC jars to
   Stratos Manager and test
   - [SPI-157 https://wso2.org/jira/browse/SPI-157] - Update the
   installer script to reflect packing only three jvm servers for S2
   - [SPI-158 https://wso2.org/jira/browse/SPI-158] - Adding Support to
   get Domains and Corresponding Sub Domains in TopologyManagementService
   - [SPI-161 https://wso2.org/jira/browse/SPI-161] - vCloud integration
   - [SPI-163 https://wso2.org/jira/browse/SPI-163] - update the
   Openstack test server in the lab with beta packs
   - [SPI-171 https://wso2.org/jira/browse/SPI-171] - Orbit Bundles for
   Git Based Deployment Synchronizer's Dependencies


Deliverables

[1] - OpenStack Deployment setup :
http://dist.wso2.org/downloads/stratos/2.0.0/beta2/wso2s2-openstack-1.0.0.zip

[2] - EC2 Deployment setup :
http://dist.wso2.org/downloads/stratos/2.0.0/beta2/wso2s2-ec2-1.0.0.zip

[3] - Public Amazon EC2 Stratos 2.0 setup : *s2demo.ami / ami-7a3b5f13*

[4] - CLI Tool :
http://dist.wso2.org/downloads/stratos/2.0.0/beta2/wso2s2cli-1.0.0.zip

[5] - Documentation :
http://dist.wso2.org/downloads/stratos/2.0.0/beta2/stratos2_docs.zip

[6] - Issue Tracker : https://wso2.org/jira/browse/SPI


*-- WSO2 Stratos2 Team --*


-- 
*Isuru Wimalasundera*
Software Engineer;  WSO2, Inc.; http://wso2.com,
 mobile: +94 77 920 5641
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Consider 4.1.1 branch as released

2013-04-05 Thread Isuru Wimalasundera
Hi All

Since we have released Stratos 2 beta 2 from 4.1.1 branch, we are planning
to consider 4.1.1 as released by publishing 4.1.1 features to nexus. This
will be done soon.

As I know the App Factory team is currently on 4.1.1 branch and it would be
better if the team can move to 4.1.3 prior to 4.1.1 branch release which
can be convenient for them in long term.

We will update this thread once the features of 4.1.1 are added to
repositories.

From here onwards avoid committing to 4.1.1 branch. And consider it as
released.

Thanks
Isuruw

-- 
*Isuru Wimalasundera*
Software Engineer;  WSO2, Inc.; http://wso2.com,
 mobile: +94 77 920 5641
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [4.1.1] - Build Error - BPEL Core Component

2013-04-02 Thread Isuru Wimalasundera
Hi BPS team

I am getting the following error when building on a fresh repo.

[INFO]

[INFO] BUILD FAILURE
[INFO]

[INFO] Total time: 26:26.929s
[INFO] Finished at: Tue Apr 02 13:24:49 IST 2013
[INFO] Final Memory: 312M/978M
[INFO]

[ERROR] Failed to execute goal on project org.wso2.carbon.bpel: Could not
resolve dependencies for project
org.wso2.carbon:org.wso2.carbon.bpel:bundle:4.1.1: Failed to collect
dependencies for
[org.wso2.carbon:org.wso2.carbon.bpel.cluster.notifier:jar:4.1.1 (compile),
org.wso2.carbon:org.wso2.carbon.bpel.common:jar:4.1.0 (compile),
org.wso2.carbon:org.wso2.carbon.attachment.mgt:jar:4.1.1 (compile),
org.apache.axis2.wso2:axis2:jar:1.6.1.wso2v9 (compile),
org.wso2.carbon:org.wso2.carbon.core:jar:4.1.0 (compile),
org.wso2.carbon:org.wso2.carbon.application.deployer:jar:4.1.0 (compile),
org.wso2.carbon:org.wso2.carbon.utils:jar:4.1.0 (compile),
org.wso2.carbon:org.wso2.carbon.datasource:jar:4.1.0 (compile),
org.apache.ode.wso2:ode:jar:1.3.5.wso2v7 (compile),
org.wso2.carbon:org.wso2.carbon.security.mgt:jar:4.1.0 (compile),
org.wso2.carbon:org.wso2.carbon.logging:jar:4.1.0 (compile),
org.wso2.carbon:org.wso2.carbon.application.deployer.bpel:jar:4.1.0
(compile), org.wso2.carbon:org.wso2.carbon.unifiedendpoint.core:jar:4.1.0
(compile), org.wso2.carbon:org.wso2.carbon.service.mgt:jar:4.1.0 (compile),
org.wso2.carbon:org.wso2.carbon.bpel.skeleton:jar:4.1.0 (compile),
hsqldb.wso2:hsqldb:jar:1.8.0.7wso2v1 (compile)]: Failed to read artifact
descriptor for org.apache.rampart.wso2:rampart-core:jar:1.6.1.wso2v9: Could
not find artifact org.wso2.carbon:carbon-dependents:pom:4.1.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

-- 
*Isuru Wimalasundera*
Software Engineer;  WSO2, Inc.; http://wso2.com,
 mobile: +94 77 920 5641
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] 4.1.1 Branch - Build Error - Invalid dependency version in rampart-core at Nexus

2013-04-02 Thread Isuru Wimalasundera
Hi All

In a previous mail [4.1.1] - Build Error - BPEL Core Component , I have
reported a build error due to given below reason.


Failed to read artifact descriptor for org.apache.rampart.wso2:
rampart-core:jar:1.6.1.wso2v9: Could not find artifact
org.wso2.carbon:carbon-dependents:pom:4.1.0-SNAPSHOT in wso2-nexus (
http://maven.wso2.org/nexus/content/groups/wso2-public/) - [Help 1]

Even though this version is correct in branch the dependency version is
wrong at
http://maven.wso2.org/nexus/content/groups/wso2-public/org/apache/rampart/wso2/rampart-core/1.6.1.wso2v9/rampart-core-1.6.1.wso2v9.pom,
therefor on a fresh repo with an online build we face this error.

Please be kind to correct this.

Thanks
Isuruw
-- 
*Isuru Wimalasundera*
Software Engineer;  WSO2, Inc.; http://wso2.com,
 mobile: +94 77 920 5641
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] 4.1.1 Branch - Build Error - Invalid dependency version in rampart-core at Nexus

2013-04-02 Thread Isuru Wimalasundera
Hi Kasun

Yes , as I said inside platform/dependencies/orbit the rampart core pom
does have the correct version, But on a fresh repo when building online
this refers to
http://maven.wso2.org/nexus/content/groups/wso2-public/org/apache/rampart/wso2/rampart-core/1.6.1.wso2v9/rampart-core-1.6.1.wso2v9.pomwhich
has a SNAPSHOT version. as given below.

project xsi:schemaLocation=http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd;
parent
groupIdorg.wso2.carbon/groupId
artifactIdcarbon-dependents/artifactId
version4.1.0-SNAPSHOT/version
relativePath../../pom.xml/relativePath
/parent


On Tue, Apr 2, 2013 at 3:46 PM, Kasun Gajasinghe kas...@wso2.com wrote:

 Hi IsuruW,

 As I see, the rampart-core point to correct carbon-dependents version
 which is 4.1.0 not 4.1.0-SNAPSHOTS. In the pom file you have pointed
 in your mail, I see the below parent pom definition. Can you open the
 same pom from your local repo and make sure that file contains the
 same parent definition or another?

 parent
 groupIdorg.wso2.carbon/groupId
 artifactIdcarbon-dependents/artifactId
 version4.1.0/version
 relativePath../../../pom.xml/relativePath
 /parent

 groupIdorg.apache.rampart.wso2/groupId
 artifactIdrampart-core/artifactId
 packagingbundle/packaging

 On Tue, Apr 2, 2013 at 3:37 PM, Isuru Wimalasundera isu...@wso2.com
 wrote:
  Hi All
 
  In a previous mail [4.1.1] - Build Error - BPEL Core Component , I have
  reported a build error due to given below reason.
 
 
  Failed to read artifact descriptor for org.apache.rampart.wso2:
  rampart-core:jar:1.6.1.wso2v9: Could not find artifact
  org.wso2.carbon:carbon-dependents:pom:4.1.0-SNAPSHOT in wso2-nexus
  (http://maven.wso2.org/nexus/content/groups/wso2-public/) - [Help 1]
 
  Even though this version is correct in branch the dependency version is
  wrong at
 
 http://maven.wso2.org/nexus/content/groups/wso2-public/org/apache/rampart/wso2/rampart-core/1.6.1.wso2v9/rampart-core-1.6.1.wso2v9.pom
  , therefor on a fresh repo with an online build we face this error.
 
  Please be kind to correct this.
 
  Thanks
  Isuruw
  --
  Isuru Wimalasundera
  Software Engineer;  WSO2, Inc.; http://wso2.com,
   mobile: +94 77 920 5641
 
 



 --
 Kasun Gajasinghe
 Software Engineer;
 Development Technologies Team, WSO2 Inc.; http://wso2.com

  ,
 email: kasung AT spamfree wso2.com

  cell: +94 (77) 678-0813
 linked-in: http://lk.linkedin.com/in/gajasinghe


 blog: http://kasunbg.org


 twitter: http://twitter.com/kasunbg




-- 
*Isuru Wimalasundera*
Software Engineer;  WSO2, Inc.; http://wso2.com,
 mobile: +94 77 920 5641
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Stratos 2 ELB : NoSuchMethodError: HttpProtocolParams.getMalformedInputAction

2013-03-28 Thread Isuru Wimalasundera
Hi All

In the latest ELB build from 4.1.1 branch, which is updated to httpcore
4.2.3wso2v1 recently, gives the given below error. Any idea on this?

[2013-03-28 20:09:24,150] ERROR - NIOServerCnxn Thread
Thread[HTTPS-Listener I/O dispatcher-1,5,HTTPS-Listener I/O dispatcher
thread group] died
java.lang.NoSuchMethodError:
org.apache.http.params.HttpProtocolParams.getMalformedInputAction(Lorg/apache/http/params/HttpParams;)Ljava/nio/charset/CodingErrorAction;
at
org.apache.http.impl.nio.reactor.SessionInputBufferImpl.init(SessionInputBufferImpl.java:78)
at
org.apache.http.impl.nio.NHttpConnectionBase.init(NHttpConnectionBase.java:146)
at
org.apache.http.impl.nio.DefaultNHttpServerConnection.init(DefaultNHttpServerConnection.java:93)
at
org.apache.synapse.transport.http.conn.LoggingNHttpServerConnection.init(LoggingNHttpServerConnection.java:62)
at
org.apache.synapse.transport.http.conn.LoggingUtils.createServerConnection(LoggingUtils.java:73)
at
org.apache.synapse.transport.http.conn.ServerConnFactory.createConnection(ServerConnFactory.java:90)
at
org.apache.synapse.transport.passthru.ServerIODispatch.createConnection(ServerIODispatch.java:58)
at
org.apache.synapse.transport.passthru.ServerIODispatch.createConnection(ServerIODispatch.java:39)
at
org.apache.http.impl.nio.reactor.AbstractIODispatch.connected(AbstractIODispatch.java:72)
at
org.apache.http.impl.nio.reactor.BaseIOReactor.sessionCreated(BaseIOReactor.java:242)
at
org.apache.http.impl.nio.reactor.AbstractIOReactor.processNewChannels(AbstractIOReactor.java:427)
at
org.apache.http.impl.nio.reactor.AbstractIOReactor.execute(AbstractIOReactor.java:291)
at
org.apache.http.impl.nio.reactor.BaseIOReactor.execute(BaseIOReactor.java:106)
at
org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor$Worker.run(AbstractMultiworkerIOReactor.java:604)
at java.lang.Thread.run(Thread.java:662)

Thanks
Isuruw

-- 
*Isuru Wimalasundera*
Software Engineer;  WSO2, Inc.; http://wso2.com,
 mobile: +94 77 920 5641
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Stratos 2 ELB : NoSuchMethodError: HttpProtocolParams.getMalformedInputAction

2013-03-28 Thread Isuru Wimalasundera
This occurs when I joined a App Server to ELB and when trying to open the
management console with host name.


On Thu, Mar 28, 2013 at 8:17 PM, Isuru Wimalasundera isu...@wso2.comwrote:

 Hi All

 In the latest ELB build from 4.1.1 branch, which is updated to httpcore
 4.2.3wso2v1 recently, gives the given below error. Any idea on this?

 [2013-03-28 20:09:24,150] ERROR - NIOServerCnxn Thread
 Thread[HTTPS-Listener I/O dispatcher-1,5,HTTPS-Listener I/O dispatcher
 thread group] died
 java.lang.NoSuchMethodError:
 org.apache.http.params.HttpProtocolParams.getMalformedInputAction(Lorg/apache/http/params/HttpParams;)Ljava/nio/charset/CodingErrorAction;
 at
 org.apache.http.impl.nio.reactor.SessionInputBufferImpl.init(SessionInputBufferImpl.java:78)
 at
 org.apache.http.impl.nio.NHttpConnectionBase.init(NHttpConnectionBase.java:146)
 at
 org.apache.http.impl.nio.DefaultNHttpServerConnection.init(DefaultNHttpServerConnection.java:93)
 at
 org.apache.synapse.transport.http.conn.LoggingNHttpServerConnection.init(LoggingNHttpServerConnection.java:62)
 at
 org.apache.synapse.transport.http.conn.LoggingUtils.createServerConnection(LoggingUtils.java:73)
 at
 org.apache.synapse.transport.http.conn.ServerConnFactory.createConnection(ServerConnFactory.java:90)
 at
 org.apache.synapse.transport.passthru.ServerIODispatch.createConnection(ServerIODispatch.java:58)
 at
 org.apache.synapse.transport.passthru.ServerIODispatch.createConnection(ServerIODispatch.java:39)
 at
 org.apache.http.impl.nio.reactor.AbstractIODispatch.connected(AbstractIODispatch.java:72)
 at
 org.apache.http.impl.nio.reactor.BaseIOReactor.sessionCreated(BaseIOReactor.java:242)
 at
 org.apache.http.impl.nio.reactor.AbstractIOReactor.processNewChannels(AbstractIOReactor.java:427)
 at
 org.apache.http.impl.nio.reactor.AbstractIOReactor.execute(AbstractIOReactor.java:291)
 at
 org.apache.http.impl.nio.reactor.BaseIOReactor.execute(BaseIOReactor.java:106)
 at
 org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor$Worker.run(AbstractMultiworkerIOReactor.java:604)
 at java.lang.Thread.run(Thread.java:662)

 Thanks
 Isuruw

 --
 *Isuru Wimalasundera*
 Software Engineer;  WSO2, Inc.; http://wso2.com,
  mobile: +94 77 920 5641





-- 
*Isuru Wimalasundera*
Software Engineer;  WSO2, Inc.; http://wso2.com,
 mobile: +94 77 920 5641
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Stratos 2 ELB : NoSuchMethodError: HttpProtocolParams.getMalformedInputAction

2013-03-28 Thread Isuru Wimalasundera
Hi Lalaji

Yes seems it was the case, we too had a duplicate older version of httpcore
inside plugins, in the process fixing it. Thanks for the note .


On Thu, Mar 28, 2013 at 8:49 PM, Lalaji Sureshika lal...@wso2.com wrote:

 Hi,

 Did you check the ELB built pack contains duplicate versions
 of httpcore/httpcore-nio/http-client jars in plugins folder. We got similar
 issue in APIManager pack built on 4.1.2.Duplicate version-ed jars issue got
 resolved when we update org.wso2.carbon.databridge.datapublisher.feature to
 4.1.1 in our product.

 Thanks;

 Thanks;

 On Thu, Mar 28, 2013 at 7:17 PM, Isuru Wimalasundera isu...@wso2.comwrote:

 Hi All

 In the latest ELB build from 4.1.1 branch, which is updated to httpcore
 4.2.3wso2v1 recently, gives the given below error. Any idea on this?

 [2013-03-28 20:09:24,150] ERROR - NIOServerCnxn Thread
 Thread[HTTPS-Listener I/O dispatcher-1,5,HTTPS-Listener I/O dispatcher
 thread group] died
 java.lang.NoSuchMethodError:
 org.apache.http.params.HttpProtocolParams.getMalformedInputAction(Lorg/apache/http/params/HttpParams;)Ljava/nio/charset/CodingErrorAction;
 at
 org.apache.http.impl.nio.reactor.SessionInputBufferImpl.init(SessionInputBufferImpl.java:78)
 at
 org.apache.http.impl.nio.NHttpConnectionBase.init(NHttpConnectionBase.java:146)
 at
 org.apache.http.impl.nio.DefaultNHttpServerConnection.init(DefaultNHttpServerConnection.java:93)
 at
 org.apache.synapse.transport.http.conn.LoggingNHttpServerConnection.init(LoggingNHttpServerConnection.java:62)
 at
 org.apache.synapse.transport.http.conn.LoggingUtils.createServerConnection(LoggingUtils.java:73)
 at
 org.apache.synapse.transport.http.conn.ServerConnFactory.createConnection(ServerConnFactory.java:90)
 at
 org.apache.synapse.transport.passthru.ServerIODispatch.createConnection(ServerIODispatch.java:58)
 at
 org.apache.synapse.transport.passthru.ServerIODispatch.createConnection(ServerIODispatch.java:39)
 at
 org.apache.http.impl.nio.reactor.AbstractIODispatch.connected(AbstractIODispatch.java:72)
 at
 org.apache.http.impl.nio.reactor.BaseIOReactor.sessionCreated(BaseIOReactor.java:242)
 at
 org.apache.http.impl.nio.reactor.AbstractIOReactor.processNewChannels(AbstractIOReactor.java:427)
 at
 org.apache.http.impl.nio.reactor.AbstractIOReactor.execute(AbstractIOReactor.java:291)
 at
 org.apache.http.impl.nio.reactor.BaseIOReactor.execute(BaseIOReactor.java:106)
 at
 org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor$Worker.run(AbstractMultiworkerIOReactor.java:604)
 at java.lang.Thread.run(Thread.java:662)

 Thanks
 Isuruw

 --
 *Isuru Wimalasundera*
 Software Engineer;  WSO2, Inc.; http://wso2.com,
  mobile: +94 77 920 5641



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




 --
 Lalaji Sureshika
 Software Engineer; Development Technologies Team;WSO2, Inc.;
 http://wso2.com/
 email: lal...@wso2.com; cell: +94 71 608 6811
 blog: http://lalajisureshika.blogspot.com





-- 
*Isuru Wimalasundera*
Software Engineer;  WSO2, Inc.; http://wso2.com,
 mobile: +94 77 920 5641
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Vcloud feature should carry the java-xmlbuilder dependency

2013-03-22 Thread Isuru Wimalasundera
Hi Nirmal

I have created the java-xmlbuilder orbit bundle at
https://svn.wso2.org/repos/wso2/carbon/platform/branches/4.1.0/dependencies/orbit/java-xmlbuilderand
added this as a dependency to
https://svn.wso2.org/repos/wso2/carbon/platform/branches/4.1.0/features/stratos/cloud-controller/org.wso2.carbon.stratos.cloud.controller.feature/2.1.1.

This would fix your problem.



On Fri, Mar 22, 2013 at 11:12 AM, Nirmal Fernando nir...@wso2.com wrote:

 It throws a CNF at runtime because of this.


 On Thu, Mar 21, 2013 at 10:36 PM, Isuru Wimalasundera isu...@wso2.comwrote:

 Hi Nirmal

 the dependency to java-xmlbuilder-0.4.jar is available in
 https://svn.wso2.org/repos/wso2/carbon/platform/branches/4.1.0/dependencies/jclouds/vcloud/1.6.0-wso2v1,
  But we made it not importing to the dependency package by using
 Import-Package!com.jamesmurty.utils.*/Import-Package due to a build
 issue of cloud controller.

 Do you need this as a dependency to stratos cloud-controller feature??


 On Fri, Mar 22, 2013 at 8:15 AM, Nirmal Fernando nir...@wso2.com wrote:

 Hi IsuruW,

 It seems that the vcloud feature needs to have a dependency to
 java-xmlbuilder-0.4.jar. Can you please change appropriately and also
 check there's no OSGi level issues at the server start up?

 --

 Thanks  regards,
 Nirmal

 Software Engineer- Platform Technologies Team, WSO2 Inc.
 Mobile: +94715779733
 Blog: http://nirmalfdo.blogspot.com/

 http://nirmalfdo.blogspot.com/




 --
 *Isuru Wimalasundera*
 Software Engineer;  WSO2, Inc.; http://wso2.com,
  mobile: +94 77 920 5641





 --

 Thanks  regards,
 Nirmal

 Software Engineer- Platform Technologies Team, WSO2 Inc.
 Mobile: +94715779733
 Blog: http://nirmalfdo.blogspot.com/

 http://nirmalfdo.blogspot.com/




-- 
*Isuru Wimalasundera*
Software Engineer;  WSO2, Inc.; http://wso2.com,
 mobile: +94 77 920 5641
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Please apply the patch attached at https://wso2.org/jira/browse/SPI-178

2013-03-22 Thread Isuru Wimalasundera
Done , revision 168946


On Fri, Mar 22, 2013 at 6:23 AM, Nirmal Fernando nir...@wso2.com wrote:


 $Subject please.

 --

 Thanks  regards,
 Nirmal

 Software Engineer- Platform Technologies Team, WSO2 Inc.
 Mobile: +94715779733
 Blog: http://nirmalfdo.blogspot.com/

 http://nirmalfdo.blogspot.com/




-- 
*Isuru Wimalasundera*
Software Engineer;  WSO2, Inc.; http://wso2.com,
 mobile: +94 77 920 5641
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] ClassNotFoundException: org.apache.http.nio.NHttpClientEventHandler when server startup with synapse/2.1.1-wso2v4

2013-03-21 Thread Isuru Wimalasundera
)
 at
 org.eclipse.equinox.http.servlet.internal.Activator.addProxyServlet(Activator.java:60)
 at
 org.eclipse.equinox.http.servlet.internal.ProxyServlet.init(ProxyServlet.java:40)
 at
 org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.init(DelegationServlet.java:38)
 at
 org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1267)
 at
 org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1186)
 at
 org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1081)
 at
 org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5027)
 at
 org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5314)
 at
 org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
 at
 org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
 at
 org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)
 at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
 at java.util.concurrent.FutureTask.run(FutureTask.java:138)
 at
 java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
 at
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
 at java.lang.Thread.run(Thread.java:619)
 Caused by: org.apache.axis2.deployment.DeploymentException:
 org/apache/http/nio/NHttpClientEventHandler
 at
 org.apache.axis2.deployment.AxisConfigBuilder.processTransportSenders(AxisConfigBuilder.java:704)
 at
 org.apache.axis2.deployment.AxisConfigBuilder.populateConfig(AxisConfigBuilder.java:124)
 at
 org.wso2.carbon.core.CarbonAxisConfigurator.populateAxisConfiguration(CarbonAxisConfigurator.java:308)
 at
 org.wso2.carbon.core.CarbonAxisConfigurator.getAxisConfiguration(CarbonAxisConfigurator.java:188)
 ... 42 more
 Caused by: java.lang.NoClassDefFoundError:
 org/apache/http/nio/NHttpClientEventHandler
 at java.lang.Class.getDeclaredConstructors0(Native Method)
 at java.lang.Class.privateGetDeclaredConstructors(Class.java:2389)
 at java.lang.Class.getConstructor0(Class.java:2699)
 at java.lang.Class.newInstance0(Class.java:326)
 at java.lang.Class.newInstance(Class.java:308)
 at
 org.apache.axis2.deployment.AxisConfigBuilder.processTransportSenders(AxisConfigBuilder.java:688)
 ... 45 more
 Caused by: java.lang.ClassNotFoundException:
 org.apache.http.nio.NHttpClientEventHandler
 at
 org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:455)
 at
 org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:421)
 at
 org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:412)
 at
 org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
 ... 51 more


 Regards,
 Dinusha.


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




 --
 Jeewantha Dharmaparakrama
 Software Engineer; WSO2, Inc.; http://wso2.com/
 Phone : (+94) 774726790
 Skype : prasad.jeewantha
 LinkedIn : http://www.linkedin.com/in/jeewanthad
 Twitter: https://twitter.com/jeewamp
 Blog: http://jeewanthad.blogspot.com/

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




-- 
*Isuru Wimalasundera*
Software Engineer;  WSO2, Inc.; http://wso2.com,
 mobile: +94 77 920 5641
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Vcloud feature should carry the java-xmlbuilder dependency

2013-03-21 Thread Isuru Wimalasundera
Hi Nirmal

the dependency to java-xmlbuilder-0.4.jar is available in
https://svn.wso2.org/repos/wso2/carbon/platform/branches/4.1.0/dependencies/jclouds/vcloud/1.6.0-wso2v1,
But we made it not importing to the dependency package by using
Import-Package!com.jamesmurty.utils.*/Import-Package due to a build
issue of cloud controller.

Do you need this as a dependency to stratos cloud-controller feature??


On Fri, Mar 22, 2013 at 8:15 AM, Nirmal Fernando nir...@wso2.com wrote:

 Hi IsuruW,

 It seems that the vcloud feature needs to have a dependency to
 java-xmlbuilder-0.4.jar. Can you please change appropriately and also
 check there's no OSGi level issues at the server start up?

 --

 Thanks  regards,
 Nirmal

 Software Engineer- Platform Technologies Team, WSO2 Inc.
 Mobile: +94715779733
 Blog: http://nirmalfdo.blogspot.com/

 http://nirmalfdo.blogspot.com/




-- 
*Isuru Wimalasundera*
Software Engineer;  WSO2, Inc.; http://wso2.com,
 mobile: +94 77 920 5641
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] build failure:carbon-trunk:jclouds

2013-03-20 Thread Isuru Wimalasundera
just noticed that you are referring to trunk here, my bad , this is fixed
now.

Thanks


On Tue, Mar 19, 2013 at 7:05 PM, Isuru Wimalasundera isu...@wso2.comwrote:

 Hi Pradeep

 The property jclouds.version1.5.0-beta.5/jclouds.version is already
 there in the 
 https://svn.wso2.org/repos/wso2/carbon/platform/branches/4.1.0/dependencies/pom.xml

 https://svn.wso2.org/repos/wso2/carbon/platform/branches/4.1.0/dependencies/pom.xmlhttps://svn.wso2.org/repos/wso2/carbon/platform/branches/4.1.0/dependencies/pom.xml,
 and I got this build.


 On Tue, Mar 19, 2013 at 11:35 AM, Pradeep Fernando prad...@wso2.comwrote:

 Hi,

 'dependencies.dependency.version' for
 org.jclouds.driver:jclouds-log4j:jar must be a valid version but is
 '${jclouds.version}'. @ line 77, column 16



 Can you please have a look. Missing commit in the parent pom file i guess.

 --Pradeep




 --
 *Isuru Wimalasundera*
 Software Engineer;  WSO2, Inc.; http://wso2.com,
  mobile: +94 77 920 5641





-- 
*Isuru Wimalasundera*
Software Engineer;  WSO2, Inc.; http://wso2.com,
 mobile: +94 77 920 5641
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] build failure:carbon-trunk:jclouds

2013-03-19 Thread Isuru Wimalasundera
Hi Pradeep

The property jclouds.version1.5.0-beta.5/jclouds.version is already
there in the 
https://svn.wso2.org/repos/wso2/carbon/platform/branches/4.1.0/dependencies/pom.xml
https://svn.wso2.org/repos/wso2/carbon/platform/branches/4.1.0/dependencies/pom.xmlhttps://svn.wso2.org/repos/wso2/carbon/platform/branches/4.1.0/dependencies/pom.xml,
and I got this build.


On Tue, Mar 19, 2013 at 11:35 AM, Pradeep Fernando prad...@wso2.com wrote:

 Hi,

 'dependencies.dependency.version' for org.jclouds.driver:jclouds-log4j:jar
 must be a valid version but is '${jclouds.version}'. @ line 77, column 16



 Can you please have a look. Missing commit in the parent pom file i guess.

 --Pradeep




-- 
*Isuru Wimalasundera*
Software Engineer;  WSO2, Inc.; http://wso2.com,
 mobile: +94 77 920 5641
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Where can I find the latest code of Stratos2 (in SVN) ?

2013-03-17 Thread Isuru Wimalasundera
Hi Nirmal

trunk contains the latest implementations.
https://svn.wso2.org/repos/wso2/carbon/platform/trunk/components/stratos .
We are still in the process of migrating stuff to 4.1.1 branch and will be
completing the making of new packs by EOD.


On Sun, Mar 17, 2013 at 11:57 PM, Nirmal Fernando nir...@wso2.com wrote:

 $subject please?

 --

 Thanks  regards,
 Nirmal

 Software Engineer- Platform Technologies Team, WSO2 Inc.
 Mobile: +94715779733
 Blog: http://nirmalfdo.blogspot.com/

 http://nirmalfdo.blogspot.com/




-- 
*Isuru Wimalasundera*
Software Engineer;  WSO2, Inc.; http://wso2.com,
 mobile: +94 77 920 5641
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Compilation Failure - org.wso2.carbon.dataservices.core/4.0.2

2012-10-15 Thread Isuru Wimalasundera
Hi All

I am receiving the following compilation error while
building org.wso2.carbon.dataservices.core/4.0.2.

[INFO]

[INFO] BUILD FAILURE
[INFO]

[INFO] Total time: 39:22.252s
[INFO] Finished at: Mon Oct 15 11:20:55 IST 2012
[INFO] Final Memory: 1390M/1872M
[INFO]

[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile
(default-compile) on project org.wso2.carbon.dataservices.core: Compilation
failure: Compilation failure:
[ERROR]
/home/isuruw/CARBON_PLATFORM/carbon/platform/branches/4.0.0/components/data-services/org.wso2.carbon.dataservices.core/4.0.2/src/main/java/org/wso2/carbon/dataservices/core/description/config/TabularDataBasedConfig.java:[125,35]
cannot find symbol
[ERROR] symbol  : variable DATA_SOURCE_TYPE
[ERROR] location: class
org.wso2.carbon.dataservices.sql.driver.parser.Constants
[ERROR]
/home/isuruw/CARBON_PLATFORM/carbon/platform/branches/4.0.0/components/data-services/org.wso2.carbon.dataservices.core/4.0.2/src/main/java/org/wso2/carbon/dataservices/core/description/config/TabularDataBasedConfig.java:[334,32]
cannot find symbol
[ERROR] symbol  : constructor
ColumnInfo(int,java.lang.String,java.lang.String,int)
[ERROR] location: class
org.wso2.carbon.dataservices.sql.driver.query.ColumnInfo
[ERROR] - [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/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the
command
[ERROR]   mvn goals -rf :org.wso2.carbon.dataservices.core

Please let know how to overcome this, or get this fixed asap.

Thanks
Isuruw

-- 
*Isuru Wimalasundera*
Software Engineer;  WSO2, Inc.; http://wso2.com,
 mobile: +94 77 920 5641
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Compilation failure : org.wso2.carbon.identity.provider

2012-08-08 Thread Isuru Wimalasundera
Hi

I am getting the following compilation error while building the
platform/branch/4.0.0.

[ERROR] COMPILATION ERROR :
[INFO] -
[ERROR]
/home/isuruw/builderTrunk/carbon/platform/branches/4.0.0/components/identity/org.wso2.carbon.identity.provider/4.0.0/src/main/java/org/wso2/carbon/identity/provider/openid/cache/AssociationCache.java:[91,46]
cannot find symbol
symbol  : constructor
Association(java.lang.String,java.lang.String,javax.crypto.SecretKey,java.util.Date)
location: class org.openid4java.association.Association
[INFO] 1 error
[INFO] -
[INFO]

[INFO] BUILD FAILURE
[INFO]

[INFO] Total time: 5.919s
[INFO] Finished at: Wed Aug 08 20:45:51 IST 2012
[INFO] Final Memory: 29M/981M
[INFO]

[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile
(default-compile) on project org.wso2.carbon.identity.provider: Compilation
failure
[ERROR]
/home/isuruw/builderTrunk/carbon/platform/branches/4.0.0/components/identity/org.wso2.carbon.identity.provider/4.0.0/src/main/java/org/wso2/carbon/identity/provider/openid/cache/AssociationCache.java:[91,46]
cannot find symbol
[ERROR] symbol  : constructor
Association(java.lang.String,java.lang.String,javax.crypto.SecretKey,java.util.Date)
[ERROR] location: class org.openid4java.association.Association
[ERROR] - [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.

Thanks
Isuruw

-- 
*Isuru Wimalasundera*
Software Engineer;  WSO2, Inc.; http://wso2.com,
 mobile: +94 77 920 5641
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Management Console URL appears after WSO2 Carbon started log in GREG 4.5.0 server startup

2012-08-02 Thread Isuru Wimalasundera
Hi All

The $Subject occurs as shown in the screen shot, due to the deployment of
the module org.wso2.carbon.dashboard.common.oauth.GSOAuthModule after the
server is started. I guess this need to be fixed, please provide
suggestions.

Thanks
Isuruw

-- 
*Isuru Wimalasundera*
Software Engineer;  WSO2, Inc.; http://wso2.com,
 mobile: +94 77 920 5641
attachment: serverStartUpEnd.png___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [Important]C4 release: open L1 and L2 s

2012-07-24 Thread Isuru Wimalasundera
Hi All

Please take this issue to consideration as well
https://wso2.org/jira/browse/CARBON-13677 related to JAXWS API services of
UDDI not working properly in latest GREG packs, AFAIU this need to be fixed
from the Kernel level as well, There is a separate thread regarding this
issue going on JAXWS Service APIs of UDDI (GREG) are Failing.

Thanks
Isuruw

On Tue, Jul 24, 2012 at 8:30 PM, Charitha Kankanamge chari...@wso2.comwrote:

 Hi Pradeep,
 We should review all L1/L2s reported through ESB and G-reg product jiras.
 There can be issues related to carbon core but reported via G-reg/ESB
 product jira during the test cycles (I agree it is not correct to use
 product specific jiras to report core bugs. However, we heavily used
 product specific jiras in recent test cycles and there may be some carbon
 core issues reported through product jira projects due to mistakes or when
 we could not figure out the root cause of the jiras)

 Thanks!
 Charitha



 On Tue, Jul 24, 2012 at 12:48 PM, Pradeep Fernando prad...@wso2.comwrote:

 Hi All,

 Here are the L1/L2 s that are in open state.


 **L1s**
  CARBON-13619 Clean up conf/README file and make catalina_server.xml
 as the default cofig file which can change the http/s ports statically.
 -Dileepa Jayakody
  CARBON-13534 CipherTool and Secure Vault are broken in trunk
 -Asela Pathberiya

 **L2s**
 CARBON-13635 NPE when running a load test with resource adding
 -Dimuthu Leelarathne
 CARBON-13608 Fix jgroups.bind_addr property -Dimuthu Leelarathne
 CARBON-13591 Login and logout user difference  -Amila Maharachchi
 CARBON-13588 Modify Security Manager to allow tenants to read Rhino
 code generated folder -Chethiya Abeysinghe
 CARBON-13502 Ant task doesn't work to create war file [createWAR]
 -Pradeep
 CARBON-13386 Intermittent issue: ERROR
 {org.infinispan.interceptors.InvocationContextInterceptor} - ISPN000136:
 Execution error java.lang.InterruptedException when shutting down G-reg
 -Dimuthu
 CARBON-13208 TenantMgt AdminService invocation with wrong credentials
 returns too much of information to the user, but the information is also
 wrong  -Kathiravelu Pradeeban
 CARBON-13167 supporting web-app mode deployment of carbon in Apache
 Tomcat -Pradeep Fernando
 CARBON-13140 wso2server.sh is not working with Solaris 10 in beta
 Packs-Reka Thirunavukkarasu
 CARBON-12895 Cannot enable JMS transport listener from UI -dushan
 abeyruwan
 CARBON-10230 Inconsistency of product clusters  -Thilini Ishaka


 Carbon core *code freeze on tomorrow*, tentative release *date on 27 th*.
 I need a *progress update of each of the issues before EOD today.*(working 
 on it/ not started/ not possible with this release/etc)


 regarding two issues assigned to me - will try to make them available in
 this release. Otherwise they will go out in a point release.

 thanks,
 --Pradeep




 ___
 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




-- 
*Isuru Wimalasundera*
Software Engineer;  WSO2, Inc.; http://wso2.com,
 mobile: +94 77 920 5641
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Build Fails platform/components/business-processes/humantask

2012-07-16 Thread Isuru Wimalasundera
Hi Dhanushka

I am receiving this error as well, can we check on this asap.

Thanks
Isuruw

On Mon, Jul 16, 2012 at 11:16 AM, Andun Gunawardena an...@wso2.com wrote:

 Hi All,

 Getting this error int the updated trunk,

 [ERROR] Failed to execute goal on project org.wso2.carbon.humantask: Could
  not resolve dependencies for project org.wso2.carbon:org.wso2.carbon.
 humantask:bundle:4.0.0-SNAPSHOT:Could not find artifact net.sf.saxon.wso2
 :saxon.he:jar:9.4.wso2v1-SNAPSHOT in wso2-nexus (http://maven.wso2.org
 /nexus/content/groups/wso2-public/) - [Help 1]


 Thanks
 AndunSLG

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




-- 
*Isuru Wimalasundera*
Software Engineer;  WSO2, Inc.; http://wso2.com,
 mobile: +94 77 920 5641
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Logging Component Docs Issue

2012-07-13 Thread Isuru Wimalasundera
Hi Hiranya

AFAIK this issue has been fixed by Amani by the commit r132858.

On Fri, Jul 13, 2012 at 6:34 PM, Hiranya Jayathilaka hira...@wso2.comwrote:

 Tag consistency is broken in the  userguide.html file of the logging
 component. Product builds are failing due to this. Please fix asap.

 Thanks
 --
 Hiranya Jayathilaka
 Senior Technical Lead;
 WSO2 Inc.;  http://wso2.org
 E-mail: hira...@wso2.com;  Mobile: +94 77 633 3491
 Blog: http://techfeast-hiranya.blogspot.com

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




-- 
*Isuru Wimalasundera*
Software Engineer;  WSO2, Inc.; http://wso2.com,
 mobile: +94 77 920 5641
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Compilation error while building components

2012-07-06 Thread Isuru Wimalasundera
The org.wso2.carbon.analytics.hive got build successfully after updating
the svn at dependencies/hive and dependencies/orbit/hive .
Thanks Tharindu and Kasunw

On Fri, Jul 6, 2012 at 12:55 PM, Kasun Weranga kas...@wso2.com wrote:

 I checked this, It seems like some issues with nexus. I'll have a look.

 Thanks,
 KasunW


 On Fri, Jul 6, 2012 at 12:48 PM, Kasun Weranga kas...@wso2.com wrote:



 On Fri, Jul 6, 2012 at 12:44 PM, Krishantha Samaraweera 
 krishan...@wso2.com wrote:



 On Fri, Jul 6, 2012 at 12:43 PM, Kasun Weranga kas...@wso2.com wrote:

 Hi Krishantha,

 Is it offline build?


 Yes


 Can you build online? It should fix.


 -Krishantha.


 On Fri, Jul 6, 2012 at 12:42 PM, Tharindu Mathew thari...@wso2.comwrote:

 Please build dependencies/hive and dependencies/orbit/hive.

 These are not in the build. This jar was uploaded to nexus but I
 believe there is something wrong. Kasun, please have a look.


 On Fri, Jul 6, 2012 at 12:27 PM, Isuru Wimalasundera 
 isu...@wso2.comwrote:

 I am getting the same compilation failure, and the dependencies are
 up to date and build.

 On Fri, Jul 6, 2012 at 12:16 PM, Krishantha Samaraweera 
 krishan...@wso2.com wrote:

 Hi,

 I'm getting following compilation error while building components.
 Platform dependencies were already build by taking svn update. Any 
 reason
 for this failure ?

 [INFO]
 
 [ERROR] Failed to execute goal
 org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile
 (default-compile) on project org.wso2.carbon.analytics.hive: Compilation
 failure: Compilation failure:
 [ERROR]
 /home/krishantha/svn/trunk/carbon/platform/trunk/components/analytics/org.wso2.carbon.analytics.hive/src/main/java/org/wso2/carbon/analytics/hive/impl/HiveExecutorServiceImpl.java:[23,37]
 cannot find symbol
 [ERROR] symbol  : class Utils
 [ERROR] location: package org.apache.hadoop.hive.service
 [ERROR]
 /home/krishantha/svn/trunk/carbon/platform/trunk/components/analytics/org.wso2.carbon.analytics.hive/src/main/java/org/wso2/carbon/analytics/hive/impl/HiveExecutorServiceImpl.java:[163,42]
 cannot find symbol
 [ERROR] symbol  : variable Utils
 [ERROR] location: class
 org.wso2.carbon.analytics.hive.impl.HiveExecutorServiceImpl
 [ERROR]
 /home/krishantha/svn/trunk/carbon/platform/trunk/components/analytics/org.wso2.carbon.analytics.hive/src/main/java/org/wso2/carbon/analytics/hive/impl/HiveExecutorServiceImpl.java:[163,47]
 operator + cannot be applied to Utils.TENANT_ID_SEPARATOR_CHAR_SEQ,int
 [ERROR] - [Help 1]

 Thanks,
 Krishantha.


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




 --
 *Isuru Wimalasundera*
 Software Engineer;  WSO2, Inc.; http://wso2.com,
  mobile: +94 77 920 5641


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




 --
 Regards,

 Tharindu

 blog: http://mackiemathew.com/
 M: +9459908




 --
 *Kasun Weranga*
 Software Engineer
 **
 *WSO2, Inc.
 *lean.enterprise.middleware.
 mobile : +94 772314602
 http://sanjeewamalalgoda.blogspot.com/blog 
 :http://sanjeewamalalgoda.blogspot.com/
 http://kasunweranga.blogspot.com/





 --
 *Kasun Weranga*
 Software Engineer
 **
 *WSO2, Inc.
 *lean.enterprise.middleware.
 mobile : +94 772314602
 http://sanjeewamalalgoda.blogspot.com/blog 
 :http://sanjeewamalalgoda.blogspot.com/
 http://kasunweranga.blogspot.com/







-- 
*Isuru Wimalasundera*
Software Engineer;  WSO2, Inc.; http://wso2.com,
 mobile: +94 77 920 5641
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [Bamboo-Build] WSO2 Carbon platform #393 has FAILED. Change made by 7 authors.

2012-06-22 Thread Isuru Wimalasundera
/›
 platform http://wso2.org/bamboo/browse/WSO2CARBON-PLATFORM/ › 
 #393http://wso2.org/bamboo/browse/WSO2CARBON-PLATFORM-393/
 failed

 Code has been updated by miyuruhttp://wso2.org/bamboo/browse/author/miyuru,
 hiranya http://wso2.org/bamboo/browse/author/hiranya, 
 denishttp://wso2.org/bamboo/browse/author/denis,
 madhuka http://wso2.org/bamboo/browse/author/madhuka, 
 isuruwhttp://wso2.org/bamboo/browse/author/isuruw,
 lalaji http://wso2.org/bamboo/browse/author/lalaji, 
 senakahttp://wso2.org/bamboo/browse/author/senaka
 .

 No failed tests found, a possible compilation error.
Failing Jobs http://wso2.org/bamboo/browse/WSO2CARBON-PLATFORM-393/
 Job
 Duration Tests[image: Failed]  Default 
 Jobhttp://wso2.org/bamboo/browse/WSO2CARBON-PLATFORM-JOB1-393/ (Default
 Stage)  Unknown  No tests found  
 Logshttp://wso2.org/bamboo/browse/WSO2CARBON-PLATFORM-JOB1-393/log|
 Artifactshttp://wso2.org/bamboo/browse/WSO2CARBON-PLATFORM-JOB1-393/artifact
  Code
 Changes http://wso2.org/bamboo/browse/WSO2CARBON-PLATFORM-393/commit/  View
 all 11 code 
 changeshttp://wso2.org/bamboo/browse/WSO2CARBON-PLATFORM-393/commit/
 senaka http://wso2.org/bamboo/browse/author/senaka
 Fixing typo.  130873lalajihttp://wso2.org/bamboo/browse/author/lalaji
 Fixed 
 APISTORE-378http://wso2.org/bamboo/project/jiraRedirect.action?jiraIssueKey=APISTORE-378bambooProjectKey=WSO2CARBON
 130872denis http://wso2.org/bamboo/browse/author/denis
 Fixed 
 CARBON-13488http://wso2.org/bamboo/project/jiraRedirect.action?jiraIssueKey=CARBON-13488bambooProjectKey=WSO2CARBON
 130871   8 more 
 changes…http://wso2.org/bamboo/browse/WSO2CARBON-PLATFORM-393/commit 
 View
 Online http://wso2.org/bamboo/browse/WSO2CARBON-PLATFORM-393 | Add
 Commentshttp://wso2.org/bamboo/browse/WSO2CARBON-PLATFORM-393?commentMode=true

 This message was sent by Atlassian Bamboo http://wso2.org/bamboo.

 If you wish to stop receiving these emails edit your user 
 profilehttp://wso2.org/bamboo/profile/userNotifications.actionor notify
 your administrator http://wso2.org/bamboo/viewAdministrators.action.

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




 --
 Best Regards,*

 Shammi Jayasinghe*
 Senior Software Engineer; WSO2, Inc.; http://wso2.com,
 mobile: +94 71 4493085



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




-- 
*Isuru Wimalasundera*
Software Engineer;  WSO2, Inc.; http://wso2.com,
 mobile: +94 77 920 5641
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [Commits] [Carbon-platform] svn commit r130293 - carbon/platform/trunk/components/governance/org.wso2.carbon.governance.registry.extensions/src/org/wso2/carbon/governance/registry/extensions

2012-06-17 Thread Isuru Wimalasundera
Hi Senaka

I have enhanced the fix at r130322,r130323,r130324. Please give your
suggestions.

Thanks
Isuruw

On Sun, Jun 17, 2012 at 11:32 PM, Senaka Fernando sen...@wso2.com wrote:

 Hi Isuru,

 Commit looks ugly, but I don't think we have a choice here right.
 According to how we've made it so abstract, the eventing handler has no
 particular way to decide whether it was a direct addition or a state
 transition, without a property, :-).

 But, we still can do some justice to how this is done. Can we make the
 property name into a constant? And can we document (I mean Java API docs
 not product docs) how that constant is used, and why would someone else
 need to set that if he/she wrote their own executor? Also, we probably need
 to fix the same in the CopyExecutor right?

 Thanks,
 Senaka.

 On Sun, Jun 17, 2012 at 9:18 PM, isu...@wso2.com wrote:

 Author: isuruw
 Date: Sun Jun 17 11:48:12 2012
 New Revision: 130293
 URL: http://wso2.org/svn/browse/wso2?view=revrevision=130293

 Log:
 fix to the issue REGISTRY-786

 Modified:

 carbon/platform/trunk/components/governance/org.wso2.carbon.governance.registry.extensions/src/org/wso2/carbon/governance/registry/extensions/executors/ServiceVersionExecutor.java

 Modified:
 carbon/platform/trunk/components/governance/org.wso2.carbon.governance.registry.extensions/src/org/wso2/carbon/governance/registry/extensions/executors/ServiceVersionExecutor.java
 URL:
 http://wso2.org/svn/browse/wso2/carbon/platform/trunk/components/governance/org.wso2.carbon.governance.registry.extensions/src/org/wso2/carbon/governance/registry/extensions/executors/ServiceVersionExecutor.java?rev=130293r1=130292r2=130293view=diff

 ==
 ---
 carbon/platform/trunk/components/governance/org.wso2.carbon.governance.registry.extensions/src/org/wso2/carbon/governance/registry/extensions/executors/ServiceVersionExecutor.java
 (original)
 +++
 carbon/platform/trunk/components/governance/org.wso2.carbon.governance.registry.extensions/src/org/wso2/carbon/governance/registry/extensions/executors/ServiceVersionExecutor.java
 Sun Jun 17 11:48:12 2012
 @@ -256,6 +256,8 @@
  //   We avoid copying dependencies here because they are added
 to the new resources
 copyAllAssociations(registry,
 newPathMappings.get(resourcePath), resourcePath);

 +addSubscriptionAvailableProperty(newResource , resourcePath);
 +
 requestContext.setResource(newResource);
 requestContext.setOldResource(resource);
 requestContext.setResourcePath(new
 ResourcePath(newPathMappings.get(resourcePath)));
 @@ -286,6 +288,11 @@
 return true;
 }

 +private void addSubscriptionAvailableProperty(Resource newResource,
 String path) throws RegistryException {
 +
  newResource.setProperty(registry.is.environment.change.property,true);
 +
 +}
 +
 private void copyAllAssociations(Registry registry, String newPath,
 String path) throws RegistryException {
 if (copyAllAssociations) {
 Utils.copyAssociations(registry, newPath, path);
 ___
 Commits mailing list
 comm...@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/commits




 --
 *Senaka Fernando*
 Member - Integration Technologies Management Committee;
 Technical Lead; WSO2 Inc.; http://wso2.com*
 Member; Apache Software Foundation; http://apache.org

 E-mail: senaka AT wso2.com
 **P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818
 Linked-In: http://linkedin.com/in/senakafernando

 *Lean . Enterprise . Middleware




-- 
*Isuru Wimalasundera*
Software Engineer;  WSO2, Inc.; http://wso2.com,
 mobile: +94 77 920 5641
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Edit media type of resources [ REGISTRY-849 ]

2012-06-13 Thread Isuru Wimalasundera
added to the spread sheet.

On Wed, Jun 13, 2012 at 8:40 PM, Ajith Vitharana aji...@wso2.com wrote:



 On Wed, Jun 13, 2012 at 3:14 PM, Senaka Fernando sen...@wso2.com wrote:

 Hi Ajith,

 Requirement is simple. You create a resource (ex:- policy), with a wrong
 media type and need to change it. Obviously this is not a mechanism for you
 to change the media type of WSDL into text/html or something. And, such
 cannot be validated, and is a user error. We should make it a point to
 document this too.


 Hi Senaka,

 This improvement fixed to trunk.
 @IsuruW, Please add this to the documentation update list of G-Reg 4.5.0.

 Thanks
 Ajith


 Thanks,
 Senaka.


 On Wed, Jun 13, 2012 at 2:46 PM, Ajith Vitharana aji...@wso2.com wrote:

 Hi All,

 What is the exact  requirement of this improvement [1] ?.
 We have predefined set of media types for some registry resources .
 (like WSDL, Policies, XSD, ...).
 Most of the handlers which are engaged with those resources has filtered
 by media type and  do the various operations.
 If we are  going to change the media type through the admin UI ,  how to
 handle those handler operations and etc.?.


 [1]https://wso2.org/jira/browse/REGISTRY-849

 Thanks
 Ajith

 --
 Ajith Vitharana.
 WSO2 Inc. - http://wso2.org
 Email  :  aji...@wso2.com
 Mobile : +94714631794





 --
 *Senaka Fernando*
 Member - Integration Technologies Management Committee;
 Technical Lead; WSO2 Inc.; http://wso2.com*
 Member; Apache Software Foundation; http://apache.org

 E-mail: senaka AT wso2.com
 **P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818
 Linked-In: http://linkedin.com/in/senakafernando

 *Lean . Enterprise . Middleware




 --
 Ajith Vitharana.
 WSO2 Inc. - http://wso2.org
 Email  :  aji...@wso2.com
 Mobile : +94714631794



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




-- 
*Isuru Wimalasundera*
Software Engineer;  WSO2, Inc.; http://wso2.com,
 mobile: +94 77 920 5641
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Null returned when invoked CarbonContext.getCurrentContext()

2012-05-18 Thread Isuru Wimalasundera
Hi

I am facing a similar kind of situation when restarting the Greg server.
After a restart I can not open the service list page because from the
ListMetaDataService it returns a NULL registry. When dig deep the reason
for returning a NULL registry is identified as the following code segment
of AbstractAdmin returns a NULL.

CarbonContext.getCurrentContext().getRegistry(RegistryType.USER_GOVERNANCE);

the CarbonContext.getCurrentContext() returns a NULL. How is it possible to
overcome this issue?

Thanks
Isuruw


On Fri, May 18, 2012 at 12:38 PM, Shammi Jayasinghe sha...@wso2.com wrote:

 Hi ,
 I am getting following NPE [1]when trying to subscribe to a topic.  It is
 due to the null value of CarbonContext.getCurrentContext() coming from
 the following method in event.core module. I built the complete platform
 yesterday. Is this a known issue ?

 Thanks
 Shammi

public static String getLoggedInUserName() {
 String userName = ;
 if (CarbonContext.getCurrentContext().getTenantId() != 0) {
 userName = CarbonContext.getCurrentContext().getUsername() +
 @
 + CarbonContext.getCurrentContext().getTenantDomain();
 } else {
 userName = CarbonContext.getCurrentContext().getUsername();
 }
 return userName.trim();
 }




 [1]java.lang.NullPointerException
 at
 org.wso2.carbon.event.ws.internal.receivers.CarbonEventingMessageReceiver.handleSubscribe(CarbonEventingMessageReceiver.java:175)
  at
 org.wso2.carbon.event.ws.internal.receivers.CarbonEventingMessageReceiver.processMessage(CarbonEventingMessageReceiver.java:386)
 at
 org.wso2.carbon.event.ws.internal.receivers.CarbonEventingMessageReceiver.invokeBusinessLogic(CarbonEventingMessageReceiver.java:81)
  at
 org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:110)
 at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:181)
  at
 org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:172)
 at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:146)
  at
 org.wso2.carbon.core.transports.CarbonServlet.doPost(CarbonServlet.java:205)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
 at
 org.eclipse.equinox.http.servlet.internal.ServletRegistration.handleRequest(ServletRegistration.java:90)
  at
 org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:111)
 at
 org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:67)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
 at
 org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.service(DelegationServlet.java:45)
  at
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
 at
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
  at
 org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:225)
 at
 org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
  at
 org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
 at
 org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
  at
 org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
 at
 org.wso2.carbon.tomcat.ext.valves.CompositeValve.invoke(CompositeValve.java:143)
  at
 org.wso2.carbon.tomcat.ext.valves.CarbonStuckThreadDetectionValve.invoke(CarbonStuckThreadDetectionValve.java:156)
 at
 org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
  at
 org.wso2.carbon.tomcat.ext.valves.CarbonContextCreatorValve.invoke(CarbonContextCreatorValve.java:48)
 at
 org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
  at
 org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
 at
 org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:999)
  at
 org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:565)
 at
 org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1620)
  at
 java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
 at
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
  at java.lang.Thread.run(Thread.java:662)
 --
 Best Regards,*

 Shammi Jayasinghe*
 Senior Software Engineer; WSO2, Inc.; http://wso2.com,
 mobile: +94 71 4493085



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




-- 
*Isuru Wimalasundera*
Software Engineer;  WSO2, Inc.; http://wso2.com,
 mobile: +94 77 920 5641
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Compilation Failure -Trunk Platform

2012-05-17 Thread Isuru Wimalasundera
-2012 13:34:37 [ERROR] symbol  : class
 ArtifactInfoBean16-May-2012 13:34:37 [ERROR] location: class
 org.wso2.carbon.governance.list.util.ListServiceUtil

 cheers,
 Dushan Abeyruwan
 *Senior Software Engineer*
 *Integration Technologies Team*
 *WSO2 Inc. http://wso2.com/*
 *Mobile:(+94)714408632*


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




-- 
*Isuru Wimalasundera*
Software Engineer;  WSO2, Inc.; http://wso2.com,
 mobile: +94 77 920 5641
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Compilation Failure -Trunk Platform

2012-05-17 Thread Isuru Wimalasundera
Fixed in the revision r127553

On Thu, May 17, 2012 at 2:18 PM, Isuru Wimalasundera isu...@wso2.comwrote:

 This has now been fixed, please take a svn up of service stubs, Governance
 and Registry components.

 Thanks
 Isuruw

 On Thu, May 17, 2012 at 2:00 PM, Dushan Abeyruwan dus...@wso2.com wrote:

 6-May-2012 13:34:37 [ERROR]
 /home/bamboo/Bamboo-3.4/source-repository/build-dir/WSO2CARBON-PLATFORM-JOB1/components/governance/org.wso2.carbon.governance.list/src/main/java/org/wso2/carbon/governance/list/util/ListServiceUtil.java:[29,49]
 package org.wso2.carbon.governance.list.util.beans does not exist 16-May-2012
 13:34:37 [ERROR]
 /home/bamboo/Bamboo-3.4/source-repository/build-dir/WSO2CARBON-PLATFORM-JOB1/components/governance/org.wso2.carbon.governance.list/src/main/java/org/wso2/carbon/governance/list/util/ListServiceUtil.java:[56,36]
 cannot find symbol 16-May-2012 13:34:37 [ERROR] symbol  : class
 ArtifactInfoBean16-May-2012 13:34:37 [ERROR] location: class
 org.wso2.carbon.governance.list.util.ListServiceUtil 16-May-2012 
 13:34:37[ERROR]
 /home/bamboo/Bamboo-3.4/source-repository/build-dir/WSO2CARBON-PLATFORM-JOB1/components/governance/org.wso2.carbon.governance.list/src/main/java/org/wso2/carbon/governance/list/util/ListServiceUtil.java:[59,30]
 cannot find symbol 16-May-2012 13:34:37 [ERROR] symbol  : class
 ArtifactInfoBean16-May-2012 13:34:37 [ERROR] location: class
 org.wso2.carbon.governance.list.util.ListServiceUtil 16-May-2012 
 13:34:37[ERROR]
 /home/bamboo/Bamboo-3.4/source-repository/build-dir/WSO2CARBON-PLATFORM-JOB1/components/governance/org.wso2.carbon.governance.list/src/main/java/org/wso2/carbon/governance/list/util/ListServiceUtil.java:[141,57]
 cannot find symbol 16-May-2012 13:34:37 [ERROR] symbol  : class
 ArtifactInfoBean16-May-2012 13:34:37 [ERROR] location: class
 org.wso2.carbon.governance.list.util.ListServiceUtil 16-May-2012 
 13:34:37[ERROR]
 /home/bamboo/Bamboo-3.4/source-repository/build-dir/WSO2CARBON-PLATFORM-JOB1/components/governance/org.wso2.carbon.governance.list/src/main/java/org/wso2/carbon/governance/list/util/ListServiceUtil.java:[57,60]
 cannot find symbol 16-May-2012 13:34:37 [ERROR] symbol  : class
 ArtifactInfoBean16-May-2012 13:34:37 [ERROR] location: class
 org.wso2.carbon.governance.list.util.ListServiceUtil 16-May-2012 
 13:34:37[ERROR]
 /home/bamboo/Bamboo-3.4/source-repository/build-dir/WSO2CARBON-PLATFORM-JOB1/components/governance/org.wso2.carbon.governance.list/src/main/java/org/wso2/carbon/governance/list/util/ListServiceUtil.java:[122,20]
 cannot find symbol 16-May-2012 13:34:37 [ERROR] symbol  : class
 PreFetcher16-May-2012 13:34:37 [ERROR] location: class
 org.wso2.carbon.governance.list.util.ListServiceUtil 16-May-2012 
 13:34:37[ERROR]
 /home/bamboo/Bamboo-3.4/source-repository/build-dir/WSO2CARBON-PLATFORM-JOB1/components/governance/org.wso2.carbon.governance.list/src/main/java/org/wso2/carbon/governance/list/util/ListServiceUtil.java:[122,45]
 cannot find symbol 16-May-2012 13:34:37 [ERROR] symbol  : class
 PreFetcher16-May-2012 13:34:37 [ERROR] location: class
 org.wso2.carbon.governance.list.util.ListServiceUtil 16-May-2012 
 13:34:37[ERROR]
 /home/bamboo/Bamboo-3.4/source-repository/build-dir/WSO2CARBON-PLATFORM-JOB1/components/governance/org.wso2.carbon.governance.list/src/main/java/org/wso2/carbon/governance/list/util/ListServiceUtil.java:[145,20]
 cannot find symbol 16-May-2012 13:34:37 [ERROR] symbol  : class
 ArtifactInfoBean16-May-2012 13:34:37 [ERROR] location: class
 org.wso2.carbon.governance.list.util.ListServiceUtil 16-May-2012 
 13:34:37[ERROR]
 /home/bamboo/Bamboo-3.4/source-repository/build-dir/WSO2CARBON-PLATFORM-JOB1/components/governance/org.wso2.carbon.governance.list/src/main/java/org/wso2/carbon/governance/list/util/ListServiceUtil.java:[145,48]
 cannot find symbol 16-May-2012 13:34:37 [ERROR] symbol  : class
 ArtifactInfoBean16-May-2012 13:34:37 [ERROR] location: class
 org.wso2.carbon.governance.list.util.ListServiceUtil 16-May-2012 
 13:34:37[ERROR]
 /home/bamboo/Bamboo-3.4/source-repository/build-dir/WSO2CARBON-PLATFORM-JOB1/components/governance/org.wso2.carbon.governance.list/src/main/java/org/wso2/carbon/governance/list/util/ListServiceUtil.java:[210,20]
 cannot find symbol 16-May-2012 13:34:37 [ERROR] symbol  : class
 ArtifactInfoBean16-May-2012 13:34:37 [ERROR] location: class
 org.wso2.carbon.governance.list.util.ListServiceUtil 16-May-2012 
 13:34:37[ERROR]
 /home/bamboo/Bamboo-3.4/source-repository/build-dir/WSO2CARBON-PLATFORM-JOB1/components/governance/org.wso2.carbon.governance.list/src/main/java/org/wso2/carbon/governance/list/util/ListServiceUtil.java:[229,12]
 cannot find symbol 16-May-2012 13:34:37 [ERROR] symbol  : class
 ArtifactInfoBean16-May-2012 13:34:37 [ERROR] location: class
 org.wso2.carbon.governance.list.util.ListServiceUtil 16-May-2012 
 13:34:37[ERROR]
 /home/bamboo/Bamboo-3.4/source-repository/build-dir/WSO2CARBON-PLATFORM-JOB1/components/governance/org.wso2.carbon.governance.list

Re: [Dev] Compilation error in org.wso2.carbon.registry.extensions.handlers.ServiceMediaTypeHandler

2012-05-16 Thread Isuru Wimalasundera
This has been fixed by Ajithn at revision r127527.

On Wed, May 16, 2012 at 8:38 PM, Afkham Azeez az...@wso2.com wrote:

 r127420 committed by IsuruW

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




-- 
*Isuru Wimalasundera*
Software Engineer;  WSO2, Inc.; http://wso2.com,
 mobile: +94 77 920 5641
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Jars in the CARBON_HOME/lib does not get added in to the CLASSPATH

2012-05-14 Thread Isuru Wimalasundera
Hi All

The $Subject occurs due to latest changes made in carbon. And after going
through the server script I have noticed that the classpath is pointed to
the CARBON_HOME/bin. What is the reason behind this change of behavior ? ,
this causes an issue with Greg UDDI API services since some of the services
looks for commons-lang jar in class path. commons-lang jar is currently
there inside the CARBON_HOME/lib and
CARBON_HOME/repository/components/plugins but does not get added to class
path. This works fine when the common-lang jar is moved inside the bin.

How is it possible to overcome this issue? probably by adding
CARBON_HOME/lib to classpath would make it work or else is there any other
way we can overcome this issue.

Thanks
Isuruw

-- 
*Isuru Wimalasundera*
Software Engineer;  WSO2, Inc.; http://wso2.com,
 mobile: +94 77 920 5641
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Jars in the CARBON_HOME/lib does not get added in to the CLASSPATH

2012-05-14 Thread Isuru Wimalasundera
Hi Pradeep

If your referring to the problem that I have explained, it is about a UDDI
API service (UDDIInquiryService) looking for the commons-lang in class
path, what you have explained may not be the scenario in my case.

On Tue, May 15, 2012 at 10:26 AM, Pradeep Fernando prad...@wso2.com wrote:

 Hi,

 In the above scenario, it looks like, a JDK shipped class trying to
 load the classes from the application classPath.

 thanks,
 --Pradeep




-- 
*Isuru Wimalasundera*
Software Engineer;  WSO2, Inc.; http://wso2.com,
 mobile: +94 77 920 5641
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Where should we have the juddiv3.properties file and commons-lang-2.6.0.wso2v1.jar

2012-05-13 Thread Isuru Wimalasundera
(URLClassLoader.java:197)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Class.java:2427)
at java.lang.Class.getMethod0(Class.java:2670)
at java.lang.Class.getMethod(Class.java:1603)
at
com.sun.xml.internal.ws.model.RuntimeModeler.processMethod(RuntimeModeler.java:543)
at
com.sun.xml.internal.ws.model.RuntimeModeler.processClass(RuntimeModeler.java:401)
at
com.sun.xml.internal.ws.model.RuntimeModeler.buildRuntimeModel(RuntimeModeler.java:240)
at
com.sun.tools.internal.ws.wscompile.WsgenTool.buildModel(WsgenTool.java:229)
at com.sun.tools.internal.ws.wscompile.WsgenTool.run(WsgenTool.java:112)
at
com.sun.tools.internal.ws.util.WSToolsObjectFactoryImpl.wsgen(WSToolsObjectFactoryImpl.java:50)
at
com.sun.tools.internal.ws.spi.WSToolsObjectFactory.wsgen(WSToolsObjectFactory.java:96)
... 39 more
Caused by: java.lang.ClassNotFoundException:
org.apache.commons.lang.exception.NestableException
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
... 61 more

as it is in the stack trace it is a class not found occurred as an result
of not getting the commons-lang-2.6.0.wso2v1.jar visible on the classpath.
On a previous build we got this issue fixed by copying the jar to
CARBON_HOME/lib and it worked. But with a recent build the error seems to
be reproducing. I see that commons-lang-2.6.0.wso2v1.jar is there inside
the CARBON_HOME/repository/components/plugins as well and why isn't it
getting add to the class path? and where should we have this jar in order
to get it in the class path?

we are working on this issue at the moment and your suggestions would be a
help.

[1]-
http://juddi.apache.org/docs/3.x/userguide/html/chap-jUDDI_Configuration.html#sect-config_Introduction

Thanks
Isuruw

-- 
*Isuru Wimalasundera*
Software Engineer;  WSO2, Inc.; http://wso2.com,
 mobile: +94 77 920 5641
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Class loading issue failing Greg UDDI - CARBON-12658

2012-05-08 Thread Isuru Wimalasundera
)
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.eclipse.equinox.http.servlet.internal.Activator.registerHttpService(Activator.java:78)
at
org.eclipse.equinox.http.servlet.internal.Activator.addProxyServlet(Activator.java:57)
at
org.eclipse.equinox.http.servlet.internal.ProxyServlet.init(ProxyServlet.java:39)
at
org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.init(DelegationServlet.java:27)
at
org.apache.catalina.startup.Tomcat$ExistingStandardWrapper.loadServlet(Tomcat.java:854)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1080)
at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5015)
at
org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5302)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at
org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1566)
at
org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1556)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)

I assume that this may be an issue at
org.apache.axis2.util.Loader.loadClass when trying to load JAX-WS service
classes. In Greg 4.1.1 this works fine, the implementation of
the JUDDIJAXWSDeployer.java has not been changed since the last release,
and the juddi version we use is the same. But in the latest Greg UDDI there
is also an issue with not supporting the current JPA version.

How is it possible to overcome this issue? please provide your suggestions
over this.

Thank You
Isuruw

-- 
*Isuru Wimalasundera*
Software Engineer;  WSO2, Inc.; http://wso2.com,
 mobile: +94 77 920 5641
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Missing requirement when installing logging-mgt feature

2012-05-07 Thread Isuru Wimalasundera
Hi

Getting the same error while building GREG p2 profile generation.
What is the status of this.

On Sun, May 6, 2012 at 11:43 PM, Denis Weerasiri de...@wso2.com wrote:

 Hi,
 Getting this error at BPS p2 profile generation in trunk.

 Installation failed.
 Cannot complete the install because one or more required items could not
 be found.
  Software being installed: WSO2 Carbon - Logging Management Feature
 4.0.0.SNAPSHOT (org.wso2.carbon.logging.mgt.feature.group 4.0.0.SNAPSHOT)
  Missing requirement: apache-cassandra 1.1.0.wso2v1 (apache-cassandra
 1.1.0.wso2v1) requires 'package org.antlr.runtime 3.2.0.wso2v1' but it
 could not be found
  Cannot satisfy dependency:
   From: WSO2 Carbon - Logging Management Feature 4.0.0.SNAPSHOT
 (org.wso2.carbon.logging.mgt.feature.group 4.0.0.SNAPSHOT)
   To: org.wso2.carbon.logging.mgt.server.feature.group [4.0.0.SNAPSHOT]
  Cannot satisfy dependency:
   From: WSO2 Carbon - Logging Management Core Feature 4.0.0.SNAPSHOT
 (org.wso2.carbon.logging.mgt.server.feature.group 4.0.0.SNAPSHOT)
   To: apache-cassandra [1.1.0.wso2v1]



 --
 Thanks,
 Denis
 --
 *Denis Weerasiri*
 Senior Software Engineer
 Integration Technologies Team, WSO2 Inc.; http://wso2.com,
 *email: denis http://goog_277208233/** [AT] wso2.com http://wso2.com/*
 *phone: +94117639629
 *
 *site: 
 **https://sites.google.com/site/ddweerasiri/*https://sites.google.com/site/ddweerasiri/
 *blog: **http://ddweerasiri.blogspot.com*http://ddweerasiri.blogspot.com/
 *
 twitter: **http://twitter.com/ddweerasiri*http://twitter.com/ddweerasiri
 *
 linked-in: 
 **http://lk.linkedin.com/in/ddweerasiri*http://lk.linkedin.com/in/ddweerasiri


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




-- 
*Isuru Wimalasundera*
Software Engineer;  WSO2, Inc.; http://wso2.com,
 mobile: +94 77 920 5641
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Missing requirement when installing logging-mgt feature

2012-05-07 Thread Isuru Wimalasundera
The issues seems to be fixed now. Sorry for the false alarm :)

On Tue, May 8, 2012 at 10:57 AM, Isuru Wimalasundera isu...@wso2.comwrote:

 Hi

 Getting the same error while building GREG p2 profile generation.
 What is the status of this.

 On Sun, May 6, 2012 at 11:43 PM, Denis Weerasiri de...@wso2.com wrote:

 Hi,
 Getting this error at BPS p2 profile generation in trunk.

 Installation failed.
 Cannot complete the install because one or more required items could not
 be found.
  Software being installed: WSO2 Carbon - Logging Management Feature
 4.0.0.SNAPSHOT (org.wso2.carbon.logging.mgt.feature.group 4.0.0.SNAPSHOT)
  Missing requirement: apache-cassandra 1.1.0.wso2v1 (apache-cassandra
 1.1.0.wso2v1) requires 'package org.antlr.runtime 3.2.0.wso2v1' but it
 could not be found
  Cannot satisfy dependency:
   From: WSO2 Carbon - Logging Management Feature 4.0.0.SNAPSHOT
 (org.wso2.carbon.logging.mgt.feature.group 4.0.0.SNAPSHOT)
   To: org.wso2.carbon.logging.mgt.server.feature.group [4.0.0.SNAPSHOT]
  Cannot satisfy dependency:
   From: WSO2 Carbon - Logging Management Core Feature 4.0.0.SNAPSHOT
 (org.wso2.carbon.logging.mgt.server.feature.group 4.0.0.SNAPSHOT)
   To: apache-cassandra [1.1.0.wso2v1]



 --
 Thanks,
 Denis
 --
 *Denis Weerasiri*
 Senior Software Engineer
 Integration Technologies Team, WSO2 Inc.; http://wso2.com,
 *email: denis http://goog_277208233/** [AT] wso2.com http://wso2.com/
 *
 *phone: +94117639629
 *
 *site: 
 **https://sites.google.com/site/ddweerasiri/*https://sites.google.com/site/ddweerasiri/
 *blog: **http://ddweerasiri.blogspot.com*http://ddweerasiri.blogspot.com/
 *
 twitter: **http://twitter.com/ddweerasiri*http://twitter.com/ddweerasiri
 *
 linked-in: 
 **http://lk.linkedin.com/in/ddweerasiri*http://lk.linkedin.com/in/ddweerasiri


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




 --
 *Isuru Wimalasundera*
 Software Engineer;  WSO2, Inc.; http://wso2.com,
  mobile: +94 77 920 5641




-- 
*Isuru Wimalasundera*
Software Engineer;  WSO2, Inc.; http://wso2.com,
 mobile: +94 77 920 5641
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] smoke testing - alpha packs

2012-04-02 Thread Isuru Wimalasundera
Hi Vijitha

Please raise a JIRA for the registry notifications/subscription issue as
Senaka suggested. I will look in to it.

Thanks
Isuruw

On Mon, Apr 2, 2012 at 7:05 PM, Lalaji Sureshika lal...@wso2.com wrote:

 Hi,

 Did a round of smoke tests to GS as well and except the issue[1],other
 functionalities are working fine.

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

 https://wso2.org/jira/browse/CARBON-12769Thanks;


 On Mon, Apr 2, 2012 at 2:11 PM, Lalaji Sureshika lal...@wso2.com wrote:

 Hi,

 Did a round of smoke tests to MS and following issues were found.

 1) While server startup time,when samples deployment
 happen PersistanceExceptions[1] are thrown.
  2) When a mashup saved/uploaded PersistanceExceptions[1] are thrown.
 3) Cannot apply security for listed mashup services.
 4) Cannot access Custom UIs for mashups and a null pointer thrown in
 backend.Created the jira  [2] to track it.

 Other than that external/internal try-it, javascript stub
 generator,scraping assistant,mashup query param accessing works properly.

 [1] [2012-04-02 14:50:01,925] ERROR -  Exception occurred while handling
 service update event. {super-tenant}
 org.wso2.carbon.core.persistence.PersistenceException: Unable to handle
 new service addition. Service: admin/RESTSample
 at
 org.wso2.carbon.core.persistence.AbstractPersistenceManager.handleExceptionWithRollback(AbstractPersistenceManager.java:564)
  at
 org.wso2.carbon.core.persistence.ServicePersistenceManager.handleNewServiceAddition(ServicePersistenceManager.java:299)
 at
 org.wso2.carbon.core.deployment.DeploymentInterceptor.serviceUpdate(DeploymentInterceptor.java:283)
  at
 org.apache.axis2.engine.AxisConfiguration.notifyObservers(AxisConfiguration.java:652)
 at
 org.apache.axis2.engine.AxisConfiguration.addServiceGroup(AxisConfiguration.java:406)
  at
 org.apache.axis2.deployment.DeploymentEngine.addServiceGroup(DeploymentEngine.java:606)
 at
 org.wso2.carbon.mashup.jsservices.deployer.JSDeployer.deploy(JSDeployer.java:191)
  at
 org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(DeploymentFileData.java:136)
 at
 org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:810)
  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:139)
  at
 org.wso2.carbon.core.CarbonAxisConfigurator.loadServices(CarbonAxisConfigurator.java:461)
 at
 org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:95)
  at
 org.wso2.carbon.core.CarbonConfigurationContextFactory.createNewConfigurationContext(CarbonConfigurationContextFactory.java:65)
 at
 org.wso2.carbon.core.init.CarbonServerManager.initializeCarbon(CarbonServerManager.java:367)
  at
 org.wso2.carbon.core.init.CarbonServerManager.removePendingItem(CarbonServerManager.java:262)
 at
 org.wso2.carbon.core.init.PreAxis2ConfigItemListener.bundleChanged(PreAxis2ConfigItemListener.java:117)
  at
 org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:847)
 at
 org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
  at
 org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)
 Caused by: java.lang.NullPointerException
 at
 org.wso2.carbon.core.persistence.ServicePersistenceManager.handleNewBindingAddition(ServicePersistenceManager.java:348)
  at
 org.wso2.carbon.core.persistence.ServicePersistenceManager.handleNewServiceAddition(ServicePersistenceManager.java:196


 [2] https://wso2.org/jira/browse/CARBON-12766


 On Mon, Apr 2, 2012 at 1:38 PM, Sameera Jayasoma same...@wso2.comwrote:

 Can we release these packs to QA? Or else do we have to wait for the
 next build cycle.

 Thanks,
 Sameera.

 On Mon, Apr 2, 2012 at 2:31 PM, Pradeep Fernando prad...@wso2.comwrote:

 Hi,

 we need updates for Greg and Manager builds.

 --Pradeep

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




 --
 Sameera Jayasoma
 Technical Lead and Product Manager, WSO2 Carbon

 WSO2, Inc. (http://wso2.com)
 email: same...@wso2.com
 blog: http://tech.jayasoma.org

 Lean . Enterprise . Middleware

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




 --
 Lalaji Sureshika

 Software Engineer
 WSO2 Inc.





 --
 Lalaji Sureshika

 Software Engineer
 WSO2 Inc.



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




-- 
*Isuru Wimalasundera*
Software Engineer;  WSO2, Inc.; http://wso2.com,
 mobile: +94 77 920 5641

Re: [Carbon-dev] List down the product builds which are compatible with maven3

2011-12-10 Thread Isuru Wimalasundera
Hi

Yes the Greg product also get build with Maven3 , we are currently having
some issues with samples but not related to Maven3.

Thanks
Isuruw

On Fri, Dec 9, 2011 at 5:25 PM, Pradeep Fernando prad...@wso2.com wrote:

 Hi IsuruW,

 what about greg ?

 thanks,
 --Pradeep

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




-- 
*Isuru Wimalasundera*
Software Engineer;  WSO2, Inc.; http://wso2.com,
 mobile: +94 77 920 5641
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Trunk build hangs for a long time at org.wso2.carbon.registry.admin.api

2011-12-09 Thread Isuru Wimalasundera
Hi

I will look in to this ASAP.

Thanks
Isuruw

On Fri, Dec 9, 2011 at 12:21 PM, Senaka Fernando sen...@wso2.com wrote:

 Hi Azeez,

 Thanks. I believe that the issue is in the configuration of the
 maven-project-info-reports-plugin AFAIU. Anyway, Isuru, please have a look
 into this and check whether this solves any issues.

 Thanks,
 Senaka.


 On Thu, Dec 8, 2011 at 7:43 PM, Afkham Azeez az...@wso2.com wrote:

 Take a look at http://www.wakaleo.com/blog/292-site-generation-in-maven-3

 Looks like some simple changes.

  On Thu, Dec 8, 2011 at 7:27 PM, Senaka Fernando sen...@wso2.com wrote:

 Hi Azeez,

 This hanging of the build is related to javadoc generation, and all
 registry APIs have javadoc generation. The corresponding plugin that is
 used for documentation generation in Maven3, does not work the same way as
 in Maven2, and we have not fixed those issues as a part of the Maven3
 migration which is why we are seeing such issues. IsuruW is looking into
 introducing a proper build profile that would ensure document generation
 does not happen unless in a release build. But this is not something easy
 enough to do and might take sometime for him to complete it.

 Thanks,
 Senaka.


 On Thu, Dec 8, 2011 at 7:16 PM, Afkham Azeez az...@wso2.com wrote:

 Any idea how we can explicitly exclude these repos? Can we put this
 plugin into WSO2 Maven repo and try?


 On Thu, Dec 8, 2011 at 7:10 PM, Afkham Azeez az...@wso2.com wrote:

 [WARNING] The repository url 'http://snapshots.repository.codehaus.org'
 is invalid - Repository 'codehaus-snapshots' will be blacklisted.
  [WARNING] The repository url 'http://repository.jboss.org/maven2/'
 is invalid - Repository 'jboss' will be blacklisted.
 [WARNING] The repository url 'http://repository.codehaus.org' is
 invalid - Repository 'codehaus' will be blacklisted.


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




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




 --
 *Senaka Fernando*
 Product Manager - WSO2 Governance Registry;
 Associate Technical Lead; WSO2 Inc.; http://wso2.com*
 Member; Apache Software Foundation; http://apache.org

 E-mail: senaka AT wso2.com
 **P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818
 Linked-In: http://linkedin.com/in/senakafernando

 *
 Lean . Enterprise . Middleware




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




 --
 *Senaka Fernando*
 Product Manager - WSO2 Governance Registry;
 Associate Technical Lead; WSO2 Inc.; http://wso2.com*
 Member; Apache Software Foundation; http://apache.org

 E-mail: senaka AT wso2.com
 **P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818
 Linked-In: http://linkedin.com/in/senakafernando

 *Lean . Enterprise . Middleware




-- 
*Isuru Wimalasundera*
Software Engineer;  WSO2, Inc.; http://wso2.com,
 mobile: +94 77 920 5641
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Registry core test failure in trunk

2011-12-01 Thread Isuru Wimalasundera
Hi

This is fixed now, Please take a svn up and build.

Thank You
Isuruw

On Thu, Dec 1, 2011 at 5:36 PM, Afkham Azeez az...@wso2.com wrote:


 ---
 Test set:
 org.wso2.carbon.registry.core.test.jdbc.StaticConfigurationFalseTest

 ---
 Tests run: 4, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 2.812 sec
  FAILURE!
 testVersioningProperties(org.wso2.carbon.registry.core.test.jdbc.StaticConfigurationFalseTest)
  Time elapsed: 2.409 sec   FAILURE!
 junit.framework.AssertionFailedError: expected:0 but was:2
 at junit.framework.Assert.fail(Assert.java:47)
 at junit.framework.Assert.failNotEquals(Assert.java:280)
  at junit.framework.Assert.assertEquals(Assert.java:64)
 at junit.framework.Assert.assertEquals(Assert.java:198)
  at junit.framework.Assert.assertEquals(Assert.java:204)
 at
 org.wso2.carbon.registry.core.test.jdbc.StaticConfigurationFalseTest.testVersioningProperties(StaticConfigurationFalseTest.java:80)


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


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




-- 
*Isuru Wimalasundera*
Software Engineer;  WSO2, Inc.; http://wso2.com,
 mobile: +94 77 920 5641
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] JSON undefined error in Impact Analysis gadget of Registry with IE8

2011-11-30 Thread Isuru Wimalasundera
Hi All

There was an issue with the correct location of the gadget.xml of impact
analysis gadget. By changing the location I got my issue fixed. But the
JSON issue is yet to be test and it is open for discussion. The update
suggested by Achala can be a solution for this since it seems IE8 has
issues in supporting JSON.

Thank You
Isuruw

On Wed, Nov 30, 2011 at 12:53 PM, Achala Aponso ach...@wso2.com wrote:

 Hi,

 According to [1] there is an update available for the native JSON feature
 in IE8. Further it says that the issues are caused by deviations between
 the native JSON feature in Internet Explorer 8 and the final specification.
 The update will address few issues including *JSON.parse (**)*. And also
 it follows ECMAScript, fifth edition standard specification.

 [1] http://support.microsoft.com/kb/976662

 Thanks,
 Achala


 On Wed, Nov 30, 2011 at 12:37 PM, Ruchira Wageesha ruch...@wso2.comwrote:

 This function comes form [1], and it is not a ECMAScript function. Please
 verify whether it is included in the JSP. Chrome and Firefox might have
 packed it.

 [1] http://www.json.org/js.html

 /Ruchira

 On Wed, Nov 30, 2011 at 11:00 AM, Isuru Wimalasundera isu...@wso2.comwrote:

 Hi All

 While working on the issue
 https://wso2.org/jira/browse/CARBON-11462?focusedCommentId=47196#action_47196
  a
 JS error occured saying that JSON is undefined with in the main.js of
 Impact Analysis Gadget. This only occurs with IE8, which is suppose to be a
 JSON supported browser. The Gadget works fine with Chrome and Firefox. This
 JS error avoid the gadget being populated with data as the error gets hit
 at given below code snippet of the gadget.

 var json = {};
 if (canJSON(data)) {
 json = data;
 } else {
 json = JSON.parse(data); = JSON undefined
 }

 Any ideas on this or suggestions to overcome this issue would be a great
 help.

 Thanks
 Isuruw

 --
 *Isuru Wimalasundera*
 Software Engineer;  WSO2, Inc.; http://wso2.com,
  mobile: +94 77 920 5641


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




 --
 Ruchira Wageesha
 Software Engineer - WSO2 Inc. www.wso2.com

 Email: ruch...@wso2.com Blog: ruchirawagee...@blogspot.com
 Mobile: +94775493444

 Lean . Enterprise . Middleware

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



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




-- 
*Isuru Wimalasundera*
Software Engineer;  WSO2, Inc.; http://wso2.com,
 mobile: +94 77 920 5641
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


[Carbon-dev] JSON undefined error in Impact Analysis gadget of Registry with IE8

2011-11-29 Thread Isuru Wimalasundera
Hi All

While working on the issue
https://wso2.org/jira/browse/CARBON-11462?focusedCommentId=47196#action_47196 a
JS error occured saying that JSON is undefined with in the main.js of
Impact Analysis Gadget. This only occurs with IE8, which is suppose to be a
JSON supported browser. The Gadget works fine with Chrome and Firefox. This
JS error avoid the gadget being populated with data as the error gets hit
at given below code snippet of the gadget.

var json = {};
if (canJSON(data)) {
json = data;
} else {
json = JSON.parse(data); = JSON undefined
}

Any ideas on this or suggestions to overcome this issue would be a great
help.

Thanks
Isuruw

-- 
*Isuru Wimalasundera*
Software Engineer;  WSO2, Inc.; http://wso2.com,
 mobile: +94 77 920 5641
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Trunk build error - G-Reg product does not build

2011-11-17 Thread Isuru Wimalasundera
Hi All

The build issues in trunk G-Reg product has now being fixed. Please take a
svn up on Registry and Governance components , Features, Products (greg)
and then build.

Isuruw

On Wed, Nov 16, 2011 at 12:32 PM, Isuru Wimalasundera isu...@wso2.comwrote:

 Hi

 I am looking in to this and will update when fixed.

 Thanks
 Isuruw


 On Wed, Nov 16, 2011 at 6:38 AM, Afkham Azeez az...@wso2.com wrote:

 Folks,
 Please treat this with the highest priority  get it fixed today please.


 On Tue, Nov 15, 2011 at 10:42 PM, Senaka Fernando sen...@wso2.comwrote:

 Guys,

 Can someone work on this and get this fixed asap. Azeez has mentioned
 this few days back and still we haven't got this to build properly.

 Thanks,
 Senaka.


 On Tue, Nov 15, 2011 at 9:22 PM, Afkham Azeez az...@wso2.com wrote:

 G-Reg team please note

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




 --
 *Senaka Fernando*
 Product Manager - WSO2 Governance Registry;
 Associate Technical Lead; WSO2 Inc.; http://wso2.com*
 Member; Apache Software Foundation; http://apache.org

 E-mail: senaka AT wso2.com
 **P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818
 Linked-In: http://linkedin.com/in/senakafernando

 *
 Lean . Enterprise . Middleware




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




 --
 *Isuru Wimalasundera*
 Software Engineer;  WSO2, Inc.; http://wso2.com,
  mobile: +94 77 920 5641




-- 
*Isuru Wimalasundera*
Software Engineer;  WSO2, Inc.; http://wso2.com,
 mobile: +94 77 920 5641
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


[Carbon-dev] Shindig versioning error while building Greg Product - Trunk

2011-11-16 Thread Isuru Wimalasundera
Hi Folks

I received this error while trying to build Greg product in trunk. The
issue seems to be a version mismatch in package
org.apache.commons.fileupload in shindig 3.0.0.wso2v1, and related
to Dashboard features. The error is as given below.

Installing org.wso2.carbon.application.mgt.feature.group 3.2.0.SNAPSHOT.
Installing org.wso2.carbon.jaxwsservices.server.feature.group
3.2.0.SNAPSHOT.
Installation failed.
Cannot complete the install because one or more required items could not be
found.
 Software being installed: WSO2 Carbon - Dashboard Composite Feature
3.2.0.SNAPSHOT (org.wso2.carbon.dashboard.feature.group 3.2.0.SNAPSHOT)
 Missing requirement: shindig 3.0.0.wso2v1 (shindig 3.0.0.wso2v1) requires
'package org.apache.commons.fileupload 1.2.2' but it could not be found
 Cannot satisfy dependency:
  From: WSO2 Carbon - Dashboard Composite Feature 3.2.0.SNAPSHOT
(org.wso2.carbon.dashboard.feature.group 3.2.0.SNAPSHOT)
  To: org.wso2.carbon.dashboard.ui.feature.group [3.2.0.SNAPSHOT]
 Cannot satisfy dependency:
  From: WSO2 Carbon - Dashboard UI Feature 3.2.0.SNAPSHOT
(org.wso2.carbon.dashboard.ui.feature.group 3.2.0.SNAPSHOT)
  To: shindig [3.0.0.wso2v1]
Application failed, log file location:
/home/isuruw/.m2/repository/org/eclipse/tycho/tycho-p2-runtime/0.12.0/eclipse/configuration/1321453250108.log

[INFO]

[INFO] Reactor Summary:
[INFO]
[INFO] WSO2 Governance Registry .. SUCCESS [0.246s]
[INFO] WSO2 Governance Registry Styles Parent  SUCCESS [0.010s]
[INFO] WSO2 Governance Registry - UI Styles .. SUCCESS [2.550s]
[INFO] WSO2 Stratos - Cloud Governance UI styles . SUCCESS [1.058s]
[INFO] WSO2 Governance Registry - Check-in Client  SUCCESS [2.687s]
[INFO] WSO2 Governance Registry Features Parent .. SUCCESS [0.006s]
[INFO] WSO2 Governance Registry - Features Aggregator Module  SUCCESS
[0.005s]
[INFO] WSO2 Governance Registry - Styles Feature . SUCCESS [0.395s]
[INFO] WSO2 Stratos - Cloud Governance Dashboard User Interface  SUCCESS
[0.765s]
[INFO] WSO2 Stratos - Cloud Governance Login User Interface  SUCCESS
[0.337s]
[INFO] WSO2 Stratos - Cloud Governance Features Aggregator Module  SUCCESS
[0.006s]
[INFO] WSO2 Carbon - Cloud Governance UI Feature . SUCCESS [0.278s]
[INFO] WSO2 Governance Registry P2 Profile Generation Parent  SUCCESS
[0.006s]
[INFO] WSO2 Governance Registry - P2 Profile Generation .. FAILURE [15.153s]
[INFO] WSO2 Stratos - Cloud Governance P2 Profile Generation  SKIPPED
[INFO] WSO2 Governance Registry Distribution Parent .. SKIPPED
[INFO] WSO2 Governance Registry - Distribution ... SKIPPED
[INFO] WSO2 Stratos - Cloud Governance Distribution .. SKIPPED
[INFO]

[INFO] BUILD FAILURE
[INFO]

[INFO] Total time: 24.325s
[INFO] Finished at: Wed Nov 16 19:50:54 IST 2011
[INFO] Final Memory: 65M/1298M
[INFO]

[ERROR] Failed to execute goal
org.wso2.maven:carbon-p2-plugin:1.4-SNAPSHOT:p2-profile-gen
(3-p2-profile-generation) on project governace-profile-gen: P2 publisher
return code was 13 - [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.

The GS/Mashup folks please take a look and let know how to over come this
issue.

Thank You
Isuruw

-- 
*Isuru Wimalasundera*
Software Engineer;  WSO2, Inc.; http://wso2.com,
 mobile: +94 77 920 5641
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Trunk build error - G-Reg product does not build

2011-11-15 Thread Isuru Wimalasundera
Hi

I am looking in to this and will update when fixed.

Thanks
Isuruw

On Wed, Nov 16, 2011 at 6:38 AM, Afkham Azeez az...@wso2.com wrote:

 Folks,
 Please treat this with the highest priority  get it fixed today please.


 On Tue, Nov 15, 2011 at 10:42 PM, Senaka Fernando sen...@wso2.com wrote:

 Guys,

 Can someone work on this and get this fixed asap. Azeez has mentioned
 this few days back and still we haven't got this to build properly.

 Thanks,
 Senaka.


 On Tue, Nov 15, 2011 at 9:22 PM, Afkham Azeez az...@wso2.com wrote:

 G-Reg team please note

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




 --
 *Senaka Fernando*
 Product Manager - WSO2 Governance Registry;
 Associate Technical Lead; WSO2 Inc.; http://wso2.com*
 Member; Apache Software Foundation; http://apache.org

 E-mail: senaka AT wso2.com
 **P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818
 Linked-In: http://linkedin.com/in/senakafernando

 *
 Lean . Enterprise . Middleware




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




-- 
*Isuru Wimalasundera*
Software Engineer;  WSO2, Inc.; http://wso2.com,
 mobile: +94 77 920 5641
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


[Carbon-dev] Please update your products with the latest version of registry features

2011-10-17 Thread Isuru Wimalasundera
Hi All / RM s

This is to request you all to do the $Subject . And given below are the
registry features which contains latest 3.2.2 , so please update to 3.2.2 if
these features are being used in the products or services.

./registry-core/org.wso2.carbon.registry.core.common.feature/3.2.2
./registry-core/org.wso2.carbon.registry.core.ui.feature/3.2.2
./registry-core/org.wso2.carbon.registry.core.feature/3.2.2
./registry-core/org.wso2.carbon.registry.core.server.feature/3.2.2

./associations-dependencies/org.wso2.carbon.registry.associations.dependencies.ui.feature/3.2.2
./associations-dependencies/org.wso2.carbon.registry.associations.dependencies.feature/3.2.2
./associations-dependencies/org.wso2.carbon.registry.associations.dependencies.server.feature/3.2.2

./lifecycle-management/org.wso2.carbon.governance.lifecycle.management.feature/3.2.2
./lifecycle-management/org.wso2.carbon.governance.lifecycle.management.ui.feature/3.2.2
./lifecycle-management/org.wso2.carbon.governance.lifecycle.management.server.feature/3.2.2

./handler-configuration/org.wso2.carbon.registry.handler.configuration.feature/3.2.2
./handler-configuration/org.wso2.carbon.registry.handler.configuration.server.feature/3.2.2
./handler-configuration/org.wso2.carbon.registry.handler.configuration.ui.feature/3.2.2

./content-search/org.wso2.carbon.registry.contentsearch.feature/3.2.2
./content-search/org.wso2.carbon.registry.contentsearch.server.feature/3.2.2
./content-search/org.wso2.carbon.registry.contentsearch.ui.feature/3.2.2

./activities/org.wso2.carbon.registry.activities.feature/3.2.2
./activities/org.wso2.carbon.registry.activities.ui.feature/3.2.2
./activities/org.wso2.carbon.registry.activities.server.feature/3.2.2

./notifications-configuration/org.wso2.carbon.governance.notifications.configuration.feature/3.2.2

./community-features/org.wso2.carbon.registry.community.features.ui.feature/3.2.2
./community-features/org.wso2.carbon.registry.community.features.server.feature/3.2.2
./community-features/org.wso2.carbon.registry.community.features.feature/3.2.2

./uddi/org.wso2.carbon.registry.uddi.feature/3.2.2

./registry-profiles/org.wso2.carbon.registry.profiles.ui.feature/3.2.2
./registry-profiles/org.wso2.carbon.registry.profiles.server.feature/3.2.2
./registry-profiles/org.wso2.carbon.registry.profiles.feature/3.2.2

./ws-api/org.wso2.carbon.registry.ws.feature/3.2.2

./meta-data/org.wso2.carbon.governance.metadata.server.feature/3.2.2
./meta-data/org.wso2.carbon.governance.metadata.ui.feature/3.2.2
./meta-data/org.wso2.carbon.governance.metadata.feature/3.2.2

./extensions/org.wso2.carbon.registry.extensions.ui.feature/3.2.2
./extensions/org.wso2.carbon.registry.extensions.server.feature/3.2.2
./extensions/org.wso2.carbon.registry.extensions.feature/3.2.2

./resource-properties/org.wso2.carbon.registry.resource.properties.server.feature/3.2.2
./resource-properties/org.wso2.carbon.registry.resource.properties.ui.feature/3.2.2
./resource-properties/org.wso2.carbon.registry.resource.properties.feature/3.2.2

./platform-extensions/org.wso2.carbon.governance.platform.extensions.server.feature/3.2.2
./platform-extensions/org.wso2.carbon.governance.platform.extensions.feature/3.2.2

./jcr/org.wso2.carbon.registry.jcr.feature/3.2.2

./governance-gadgets/org.wso2.carbon.governance.gadgets.resourceimpact.feature/3.2.2
./governance-gadgets/org.wso2.carbon.governance.gadgets.impactanalysis.feature/3.2.2
./governance-gadgets/org.wso2.carbon.governance.gadgets.lifecycle.feature/3.2.2
./governance-gadgets/org.wso2.carbon.governance.gadgets.ui.feature/3.2.2
./governance-gadgets/org.wso2.carbon.governance.gadgets.feature/3.2.2


Thank You
Isuruw


-- 
*Isuru Wimalasundera*
Software Engineer;  WSO2, Inc.; http://wso2.com,
 mobile: +94 77 920 5641
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Error while building carbon core in trunk

2011-10-14 Thread Isuru Wimalasundera
)
 at com.thoughtworks.qdox.model.Type.getJavaClass(Type.java:146)
  at
 com.thoughtworks.qdox.model.JavaClass.getSuperJavaClass(JavaClass.java:86)
 at
 org.apache.felix.scrplugin.tags.qdox.QDoxJavaClassDescription.getSuperClass(QDoxJavaClassDescription.java:62)
  at
 org.apache.felix.scrplugin.tags.JavaClassDescriptionInheritanceComparator.compare(JavaClassDescriptionInheritanceComparator.java:73)
 at java.util.Arrays.mergeSort(Arrays.java:1270)
  at java.util.Arrays.mergeSort(Arrays.java:1281)
 at java.util.Arrays.mergeSort(Arrays.java:1282)
  at java.util.Arrays.sort(Arrays.java:1210)
 at
 org.apache.felix.scrplugin.SCRDescriptorMojo.execute(SCRDescriptorMojo.java:111)
  at
 org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)
 at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
  at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556)
 at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535)
  at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
 at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348)
  at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
 at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
  at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
 at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
  at
 org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
 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.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
  at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
 at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
  at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
 Caused by: java.lang.ClassNotFoundException:
 org.eclipse.core.runtime.IRegistryChangeListener
  at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
 at java.security.AccessController.doPrivileged(Native Method)
  at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
  at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
 at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
  ... 45 more
 [INFO]
 



 --
 Isuru Suriarachchi
 Technical Lead  Product Manager, WSO2 Application Server
 WSO2 Inc. http://wso2.com
 email : is...@wso2.com
 blog : http://isurues.wordpress.com/

 lean . enterprise . middleware


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




-- 
*Isuru Wimalasundera*
Software Engineer;  WSO2, Inc.; http://wso2.com,
 mobile: +94 77 920 5641
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] A InvalidProjectModelException Build Error in Trunk - Registry Core

2011-09-06 Thread Isuru Wimalasundera
Hi all

yes , I ve used Maven 3 and it got build fine.

Thank You

On Mon, Sep 5, 2011 at 5:59 PM, Sameera Jayasoma same...@wso2.com wrote:



 On Mon, Sep 5, 2011 at 9:20 AM, Isuru Wimalasundera isu...@wso2.comwrote:

 Hi Pradeep

 I am using Apache Maven 2.2.1 , and yes it is a clean repo , if there are
 no failures in trunk build please let me know a way to overcome this issue.


 You need to use maven 3 to build Carbon trunk..

 Thanks,
 Sameera


 Thank You
 Isuruw


 On Sun, Sep 4, 2011 at 9:04 PM, Pradeep Fernando prad...@wso2.comwrote:

 Hi IsuruW,

 AFAIK, trunk build is working fine up to features level[1] (hudson
 build is working).

 Could you please provide me some more details about your build
 environment ? maven version, is it a clean repo ?

 [1] http://hudson.wso2.org/hudson

 thanks,
 --Pradeep




 --
 *Isuru Wimalasundera*
 Software Engineer;  WSO2, Inc.; http://wso2.com,
  mobile: +94 77 920 5641


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




 --
 Sameera Jayasoma
 Technical Lead and Product Manager, WSO2 Carbon

 WSO2, Inc. (http://wso2.com)
 email: same...@wso2.com
 blog: http://tech.jayasoma.org

 Lean . Enterprise . Middleware

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




-- 
*Isuru Wimalasundera*
Software Engineer;  WSO2, Inc.; http://wso2.com,
 mobile: +94 77 920 5641
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


[Carbon-dev] A InvalidProjectModelException Build Error in Trunk - Registry Core

2011-09-04 Thread Isuru Wimalasundera
Hi

I am recieving the following build error while building the registry core in
trunk. please look in to this or suggest a way to overcome the issue.

[WARNING] POM for
'org.eclipse.osgi:org.eclipse.osgi.services:pom:3.2.0.v20090520-1800:compile'
is invalid.

Its dependencies (if any) will NOT be available to the current build.
[ERROR] ProjectBuildingException error :
org.apache.maven.project.InvalidProjectModelException: Not a v4.0.0 POM. for
project org.eclipse.osgi:org.eclipse.osgi.services at
/home/isuru/.m2/repository/org/eclipse/osgi/org.eclipse.osgi.services/3.2.0.v20090520-1800/org.eclipse.osgi.services-3.2.0.v20090520-1800.pom
at
org.apache.maven.project.DefaultMavenProjectBuilder.readModel(DefaultMavenProjectBuilder.java:1599)
at
org.apache.maven.project.DefaultMavenProjectBuilder.readModel(DefaultMavenProjectBuilder.java:1571)
at
org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:562)

[INFO] [assembly:attached {execution: dist}]
[INFO] Reading assembly descriptor: src/main/assembly/docs.xml
[INFO]

[ERROR] BUILD ERROR
[INFO]

[INFO] Failed to create assembly: Error creating assembly archive docs: You
must set at least one file.



Thanks
Isuruw

-- 
*Isuru Wimalasundera*
Software Engineer;  WSO2, Inc.; http://wso2.com,
 mobile: +94 77 920 5641
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] A InvalidProjectModelException Build Error in Trunk - Registry Core

2011-09-04 Thread Isuru Wimalasundera
On Sun, Sep 4, 2011 at 2:21 PM, Harshana Martin harsh...@wso2.com wrote:

 Hi,

 On Sun, Sep 4, 2011 at 2:00 PM, Harshana Martin harsh...@wso2.com wrote:

 Hi Isuru,

 On Sun, Sep 4, 2011 at 1:07 PM, Isuru Wimalasundera isu...@wso2.comwrote:

 Hi

 I am recieving the following build error while building the registry core
 in trunk. please look in to this or suggest a way to overcome the issue.

 [WARNING] POM for
 'org.eclipse.osgi:org.eclipse.osgi.services:pom:3.2.0.v20090520-1800:compile'
 is invalid.

 Its dependencies (if any) will NOT be available to the current build.
 [ERROR] ProjectBuildingException error :
 org.apache.maven.project.InvalidProjectModelException: Not a v4.0.0 POM.
 for project org.eclipse.osgi:org.eclipse.osgi.services at
 /home/isuru/.m2/repository/org/eclipse/osgi/org.eclipse.osgi.services/3.2.0.v20090520-1800/org.eclipse.osgi.services-3.2.0.v20090520-1800.pom


 Seems to be a corruption in your local .m2 repo to me rather an issue in
 one of our poms.

 It is complaining about a pom in the local .m2 repo not a pom in the
 carbon trunk. I'm trying to build the registry core now.

 Can you delete the 3.2.0.v20090520-1800 folder at
 /home/isuru/.m2/repository/org/eclipse/osgi/org.eclipse.osgi.services and
 try an online build in the meantime?


I tried this , but its still not working.


 I checked this artifact in our Nexus repo and it seems to be corrupted in
 our Nexus as well. When I checked the source of the pom, it seems to be
 coming java.net maven repository.

 I vaguely remember a mail thread in maven-dev@ list saying that java.netis 
 down and later that day, my local carbon build failed due to invalid/bad
 checksums for java.net based artifacts (for woodstock IIRC).

 Hence this might be a result of a corrupted java.net maven repository.

 I think we should delete the corrupted artifact from our Nexus first and
 try building carbon again. Keeping corrupted artifacts in Nexus won't do any
 good in any case.


yes I too suspect this might be the issue


 Thanks and Regards,
 Harshana


 Thanks and Regards,
 Harshana

 at
 org.apache.maven.project.DefaultMavenProjectBuilder.readModel(DefaultMavenProjectBuilder.java:1599)
 at
 org.apache.maven.project.DefaultMavenProjectBuilder.readModel(DefaultMavenProjectBuilder.java:1571)
 at
 org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:562)

 [INFO] [assembly:attached {execution: dist}]
 [INFO] Reading assembly descriptor: src/main/assembly/docs.xml
 [INFO]
 
 [ERROR] BUILD ERROR
 [INFO]
 
 [INFO] Failed to create assembly: Error creating assembly archive docs:
 You must set at least one file.



 Thanks
 Isuruw

 --
 *Isuru Wimalasundera*
 Software Engineer;  WSO2, Inc.; http://wso2.com,
  mobile: +94 77 920 5641


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




 --
 Harshana Martin
 Software Engineer
 WSO2 Inc.
 Web:http://wso2.com
   http://wso2.org

 Mobile: +94 716062650
 Blog: http://harshana05.blogspot.com
 Profile: https://www.google.com/profiles/harshana05
 Twitter: http://twitter.com/harshana05




 --
 Harshana Martin
 Software Engineer
 WSO2 Inc.
 Web:http://wso2.com
   http://wso2.org

 Mobile: +94 716062650
 Blog: http://harshana05.blogspot.com
 Profile: https://www.google.com/profiles/harshana05
 Twitter: http://twitter.com/harshana05




-- 
*Isuru Wimalasundera*
Software Engineer;  WSO2, Inc.; http://wso2.com,
 mobile: +94 77 920 5641
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] A InvalidProjectModelException Build Error in Trunk - Registry Core

2011-09-04 Thread Isuru Wimalasundera
Hi Pradeep

I am using Apache Maven 2.2.1 , and yes it is a clean repo , if there are no
failures in trunk build please let me know a way to overcome this issue.

Thank You
Isuruw

On Sun, Sep 4, 2011 at 9:04 PM, Pradeep Fernando prad...@wso2.com wrote:

 Hi IsuruW,

 AFAIK, trunk build is working fine up to features level[1] (hudson
 build is working).

 Could you please provide me some more details about your build
 environment ? maven version, is it a clean repo ?

 [1] http://hudson.wso2.org/hudson

 thanks,
 --Pradeep




-- 
*Isuru Wimalasundera*
Software Engineer;  WSO2, Inc.; http://wso2.com,
 mobile: +94 77 920 5641
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


[Carbon-dev] How to import a schema in wsdl 2.0

2011-08-20 Thread Isuru Wimalasundera
Hi devs

I deployed a service which contains a wsdl written in accordance with wsdl
2.0 specification. In this wsdl an external schema file (.xsd ) is being
imported. But I am bit puzzled about the correct importing methodology to be
used here since I am getting some errors in the deployment of the service
on as. But the same service with wsdl 1.1 works perfectly.

Normally according to the wsdl 1.1 the correct way to import a schema is as
given below, when the wsdl and schema is there inside the META-INF.

wsdl:types
wsdl:documentationThis is the schema definition/wsdl:documentation
   xsd:schema targetNamespace=http://xxx.org;
 xsd:import namespace=http://xxx.org/;
schemaLocation=calculator.xsd/
  /xsd:schema
/wsdl:types

but according to the
http://www.w3.org/TR/2007/REC-wsdl20-primer-20070626/#more-types-schema-import
the same schema import methodology would not work for wsdl 2.0,
Because it says that if we used the XML Schema's native xs:import element in
an inlined schema, the schema components defined in the namespace will not
available to the WSDL 2.0 definition. And when I deployed a service with
wsdl 2.0 which has a schema import like given below, I got the following
warning.

wsdl2:types
  xsd:schema targetNamespace=http://xxx.org;
xsd:import namespace=http://xxx.org/; schemaLocation=calculator.xsd
/
  /xsd:schema
/wsdl2:types
---
The Warning :

Woden[Warning],0:0,WSDL521,Could not parse an inline schema in the WSDL at
URL
jar:file://file:/home/isuru/webinar/wso2as-4.1.0/repository/deployment/server/axis2services/calculatorImportSchema.aar!/META-INF/calculator_import_schema.wsdl.,org.apache.ws.commons.schema.XmlSchemaException:Could
not evaluate Schema Definition. This Schema contains Schema Imports that
were not resolved

Then as suggested in the wsdl 2.0 Primer I changed the wsdl import as given
below. It is said that imports should not be include inside schema tags in
wsdl 2.0.

wsdl2:types
   xsd:import namespace=http://xxx.org/; schemaLocation=calculator.xsd
/
/wsdl2:types
-
The Warning :

Woden[Warning],0:0,WSDL504,Could not locate the schema document at URL
jar:file://file:/home/isuru/webinar/wso2as-4.1.0/repository/deployment/server/axis2services/calculatorImportSchema.aar!/META-INF/calculator.xsd,java.io.FileNotFoundException:JAR
entry
jar:file://file:/home/isuru/webinar/wso2as-4.1.0/repository/deployment/server/axis2services/calculatorImportSchema.aar!/META-INF/calculator.xsd
not found in
/home/isuru/webinar/wso2as-4.1.0/repository/deployment/server/axis2services/calculatorImportSchema.aar

even though this deployment warning occurred when I do wsdl2java for this
wsdl2.0 the stubs get created successfully.

would like to get some thoughts on this matter.

note : I have attached the service that I have been using to test schema
imports (a service got from the QA team)


Thank You
Isuruw


-- 
*Isuru Wimalasundera*
Software Engineer;  WSO2, Inc.; http://wso2.com,
 mobile: +94 77 920 5641


calculatorImportSchema.aar
Description: Binary data
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Migrating registry components from trunk to 3.2.2

2011-08-04 Thread Isuru Wimalasundera
yes sure, thanks

On Thu, Aug 4, 2011 at 9:40 PM, Afkham Azeez az...@wso2.com wrote:

 Please create JIRAs and attach your patches. That is the process we have
 been following. It makes it easy to keep track of patches.

 On Thu, Aug 4, 2011 at 9:30 PM, Isuru Wimalasundera isu...@wso2.comwrote:

 Hi

 The following components from registry are attached with this mail as
 patch fixes for the migration.

 registry
 org.wso2.carbon.registry.search.ui
 org.wso2.carbon.registry.search
 org.wso2.carbon.registry.indexing.ui
 org.wso2.carbon.registry.indexing
 org.wso2.carbon.registry.activities.ui
 org.wso2.carbon.registry.activities
 org.wso2.carbon.registry.ws.client
 org.wso2.carbon.registry.ws.api

 thank you
 isuruw
 --
 *Isuru Wimalasundera*
 Software Engineer;  WSO2, Inc.; http://wso2.com,
  mobile: +94 77 920 5641


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




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


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




-- 
*Isuru Wimalasundera*
Software Engineer;  WSO2, Inc.; http://wso2.com,
 mobile: +94 77 920 5641
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


[Carbon-dev] Build Failure at Carbon Trunk authenticator.proxy

2011-08-02 Thread Isuru Wimalasundera
Hi All

Got this compilation error while building the trunk  carbon core 
org.wso2.carbon.authenticator.proxy.
request any suggestions to overcome this build failure.

INFO] [compiler:compile {execution: default-compile}]
[INFO] Compiling 1 source file to
/home/isuru/wso2trunk/carbon/core/org.wso2.carbon.authenticator.proxy/target/classes
[INFO] -
[ERROR] COMPILATION ERROR :
[INFO] -
[ERROR]
/home/isuru/wso2trunk/carbon/core/org.wso2.carbon.authenticator.proxy/src/main/java/org/wso2/carbon/authenticator/proxy/AuthenticationAdminClient.java:[31,41]
package org.wso2.carbon.authenticator.stub does not exist

[ERROR]
/home/isuru/wso2trunk/carbon/core/org.wso2.carbon.authenticator.proxy/src/main/java/org/wso2/carbon/authenticator/proxy/AuthenticationAdminClient.java:[32,41]
package org.wso2.carbon.authenticator.stub does not exist

[ERROR]
/home/isuru/wso2trunk/carbon/core/org.wso2.carbon.authenticator.proxy/src/main/java/org/wso2/carbon/authenticator/proxy/AuthenticationAdminClient.java:[43,12]
cannot find symbol
symbol  : class AuthenticationAdminStub
location: class
org.wso2.carbon.authenticator.proxy.AuthenticationAdminClient

[ERROR]
/home/isuru/wso2trunk/carbon/core/org.wso2.carbon.authenticator.proxy/src/main/java/org/wso2/carbon/authenticator/proxy/AuthenticationAdminClient.java:[74,11]
cannot find symbol
symbol  : class RememberMeData
location: class
org.wso2.carbon.authenticator.proxy.AuthenticationAdminClient

[ERROR]
/home/isuru/wso2trunk/carbon/core/org.wso2.carbon.authenticator.proxy/src/main/java/org/wso2/carbon/authenticator/proxy/AuthenticationAdminClient.java:[52,19]
cannot find symbol
symbol  : class AuthenticationAdminStub
location: class
org.wso2.carbon.authenticator.proxy.AuthenticationAdminClient

[ERROR]
/home/isuru/wso2trunk/carbon/core/org.wso2.carbon.authenticator.proxy/src/main/java/org/wso2/carbon/authenticator/proxy/AuthenticationAdminClient.java:[77,12]
cannot find symbol
symbol  : class RememberMeData
location: class
org.wso2.carbon.authenticator.proxy.AuthenticationAdminClient

[INFO] 6 errors
[INFO] -
[INFO]

[ERROR] BUILD FAILURE
[INFO]

[INFO] Compilation failure

/home/isuru/wso2trunk/carbon/core/org.wso2.carbon.authenticator.proxy/src/main/java/org/wso2/carbon/authenticator/proxy/AuthenticationAdminClient.java:[31,41]
package org.wso2.carbon.authenticator.stub does not exist

/home/isuru/wso2trunk/carbon/core/org.wso2.carbon.authenticator.proxy/src/main/java/org/wso2/carbon/authenticator/proxy/AuthenticationAdminClient.java:[32,41]
package org.wso2.carbon.authenticator.stub does not exist

/home/isuru/wso2trunk/carbon/core/org.wso2.carbon.authenticator.proxy/src/main/java/org/wso2/carbon/authenticator/proxy/AuthenticationAdminClient.java:[43,12]
cannot find symbol
symbol  : class AuthenticationAdminStub
location: class
org.wso2.carbon.authenticator.proxy.AuthenticationAdminClient

/home/isuru/wso2trunk/carbon/core/org.wso2.carbon.authenticator.proxy/src/main/java/org/wso2/carbon/authenticator/proxy/AuthenticationAdminClient.java:[74,11]
cannot find symbol
symbol  : class RememberMeData
location: class
org.wso2.carbon.authenticator.proxy.AuthenticationAdminClient

/home/isuru/wso2trunk/carbon/core/org.wso2.carbon.authenticator.proxy/src/main/java/org/wso2/carbon/authenticator/proxy/AuthenticationAdminClient.java:[52,19]
cannot find symbol
symbol  : class AuthenticationAdminStub
location: class
org.wso2.carbon.authenticator.proxy.AuthenticationAdminClient

/home/isuru/wso2trunk/carbon/core/org.wso2.carbon.authenticator.proxy/src/main/java/org/wso2/carbon/authenticator/proxy/AuthenticationAdminClient.java:[77,12]
cannot find symbol
symbol  : class RememberMeData
location: class
org.wso2.carbon.authenticator.proxy.AuthenticationAdminClient


[INFO]

[INFO] For more information, run Maven with the -e switch
[INFO]

[INFO] Total time: 5 seconds
[INFO] Finished at: Tue Aug 02 15:04:59 IST 2011
[INFO] Final Memory: 38M/1939M
[INFO]


Thank You
Isuruw
-- 
*Isuru Wimalasundera*
Software Engineer;  WSO2, Inc.; http://wso2.com,
 mobile: +94 77 920 5641
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Build Failure at Carbon Trunk authenticator.proxy

2011-08-02 Thread Isuru Wimalasundera
Hi

yes, got it build
thnx

On Tue, Aug 2, 2011 at 7:50 PM, Prabath Abeysekera praba...@wso2.comwrote:


 On Tue, Aug 2, 2011 at 3:22 PM, Isuru Wimalasundera isu...@wso2.comwrote:

 Hi All

 Got this compilation error while building the trunk  carbon core 
 org.wso2.carbon.authenticator.proxy.
 request any suggestions to overcome this build failure.


 Did you try building the necessary stubs?



 INFO] [compiler:compile {execution: default-compile}]
 [INFO] Compiling 1 source file to
 /home/isuru/wso2trunk/carbon/core/org.wso2.carbon.authenticator.proxy/target/classes
 [INFO] -
 [ERROR] COMPILATION ERROR :
 [INFO] -
 [ERROR]
 /home/isuru/wso2trunk/carbon/core/org.wso2.carbon.authenticator.proxy/src/main/java/org/wso2/carbon/authenticator/proxy/AuthenticationAdminClient.java:[31,41]
 package org.wso2.carbon.authenticator.stub does not exist

 [ERROR]
 /home/isuru/wso2trunk/carbon/core/org.wso2.carbon.authenticator.proxy/src/main/java/org/wso2/carbon/authenticator/proxy/AuthenticationAdminClient.java:[32,41]
 package org.wso2.carbon.authenticator.stub does not exist

 [ERROR]
 /home/isuru/wso2trunk/carbon/core/org.wso2.carbon.authenticator.proxy/src/main/java/org/wso2/carbon/authenticator/proxy/AuthenticationAdminClient.java:[43,12]
 cannot find symbol
 symbol  : class AuthenticationAdminStub
 location: class
 org.wso2.carbon.authenticator.proxy.AuthenticationAdminClient

 [ERROR]
 /home/isuru/wso2trunk/carbon/core/org.wso2.carbon.authenticator.proxy/src/main/java/org/wso2/carbon/authenticator/proxy/AuthenticationAdminClient.java:[74,11]
 cannot find symbol
 symbol  : class RememberMeData
 location: class
 org.wso2.carbon.authenticator.proxy.AuthenticationAdminClient

 [ERROR]
 /home/isuru/wso2trunk/carbon/core/org.wso2.carbon.authenticator.proxy/src/main/java/org/wso2/carbon/authenticator/proxy/AuthenticationAdminClient.java:[52,19]
 cannot find symbol
 symbol  : class AuthenticationAdminStub
 location: class
 org.wso2.carbon.authenticator.proxy.AuthenticationAdminClient

 [ERROR]
 /home/isuru/wso2trunk/carbon/core/org.wso2.carbon.authenticator.proxy/src/main/java/org/wso2/carbon/authenticator/proxy/AuthenticationAdminClient.java:[77,12]
 cannot find symbol
 symbol  : class RememberMeData
 location: class
 org.wso2.carbon.authenticator.proxy.AuthenticationAdminClient

 [INFO] 6 errors
 [INFO] -
 [INFO]
 
 [ERROR] BUILD FAILURE
 [INFO]
 
 [INFO] Compilation failure

 /home/isuru/wso2trunk/carbon/core/org.wso2.carbon.authenticator.proxy/src/main/java/org/wso2/carbon/authenticator/proxy/AuthenticationAdminClient.java:[31,41]
 package org.wso2.carbon.authenticator.stub does not exist

 /home/isuru/wso2trunk/carbon/core/org.wso2.carbon.authenticator.proxy/src/main/java/org/wso2/carbon/authenticator/proxy/AuthenticationAdminClient.java:[32,41]
 package org.wso2.carbon.authenticator.stub does not exist

 /home/isuru/wso2trunk/carbon/core/org.wso2.carbon.authenticator.proxy/src/main/java/org/wso2/carbon/authenticator/proxy/AuthenticationAdminClient.java:[43,12]
 cannot find symbol
 symbol  : class AuthenticationAdminStub
 location: class
 org.wso2.carbon.authenticator.proxy.AuthenticationAdminClient

 /home/isuru/wso2trunk/carbon/core/org.wso2.carbon.authenticator.proxy/src/main/java/org/wso2/carbon/authenticator/proxy/AuthenticationAdminClient.java:[74,11]
 cannot find symbol
 symbol  : class RememberMeData
 location: class
 org.wso2.carbon.authenticator.proxy.AuthenticationAdminClient

 /home/isuru/wso2trunk/carbon/core/org.wso2.carbon.authenticator.proxy/src/main/java/org/wso2/carbon/authenticator/proxy/AuthenticationAdminClient.java:[52,19]
 cannot find symbol
 symbol  : class AuthenticationAdminStub
 location: class
 org.wso2.carbon.authenticator.proxy.AuthenticationAdminClient

 /home/isuru/wso2trunk/carbon/core/org.wso2.carbon.authenticator.proxy/src/main/java/org/wso2/carbon/authenticator/proxy/AuthenticationAdminClient.java:[77,12]
 cannot find symbol
 symbol  : class RememberMeData
 location: class
 org.wso2.carbon.authenticator.proxy.AuthenticationAdminClient


 [INFO]
 
 [INFO] For more information, run Maven with the -e switch
 [INFO]
 
 [INFO] Total time: 5 seconds
 [INFO] Finished at: Tue Aug 02 15:04:59 IST 2011
 [INFO] Final Memory: 38M/1939M
 [INFO]
 

 Thank You
 Isuruw
 --
 *Isuru Wimalasundera*
 Software Engineer;  WSO2, Inc.; http://wso2.com,
  mobile: +94 77 920 5641


 ___
 Carbon-dev mailing list
 Carbon-dev@wso2

Re: [Carbon-dev] Build fail at carbon trunk : orbit/step2

2011-07-04 Thread Isuru Wimalasundera
I was building the trunk orbit and got the same Build Error.

the Orbit/ step2 requires*org.openid4java:openid4java-nodeps:jar:0.9.6-SNAPSHOT
*, but at dependencies what is being built is
*openid4java-nodeps-0.9.6-SNAPSHOT-wso2v1.jar *,

it is obvious that there is a mismatch in versions but could not locate
where the version difference is in the step2 pom.xml .

how is it possible to overcome this error ?



On Mon, Jul 4, 2011 at 10:18 AM, Melan Nimesh me...@wso2.com wrote:



 On Mon, Jul 4, 2011 at 9:22 AM, Samisa Abeysinghe sam...@wso2.com wrote:

 Are we running with the build script?


 Hi,

 yes, build script is running

 Thanks
 --Melan




 On Sun, Jul 3, 2011 at 7:56 AM, Melan Nimesh me...@wso2.com wrote:



 On Sat, Jul 2, 2011 at 10:09 PM, Denis Weerasiri de...@wso2.com wrote:



 On Sat, Jul 2, 2011 at 5:57 PM, Melan Nimesh me...@wso2.com wrote:

 Hi devs,

 getting error when building carbon trunk with Rev. 108843


 [INFO] Building Step2
 [INFO]task-segment: [clean, install]
 [INFO]
 
 [INFO] [clean:clean {execution: default-clean}]
 Downloading:
 http://step2.googlecode.com/svn/code/java/maven/org/openid4java/openid4java-nodeps/0.9.6-SNAPSHOT/openid4java-nodeps-0.9.6-SNAPSHOT.pom
 [INFO] Unable to find resource
 'org.openid4java:openid4java-nodeps:pom:0.9.6-SNAPSHOT' in repository 
 step2
 (http://step2.googlecode.com/svn/code/java/maven)
 Downloading:
 http://maven.wso2.org/nexus/content/groups/wso2-public//org/openid4java/openid4java-nodeps/0.9.6-SNAPSHOT/openid4java-nodeps-0.9.6-SNAPSHOT.pom
 [INFO] Unable to find resource
 'org.openid4java:openid4java-nodeps:pom:0.9.6-SNAPSHOT' in repository
 wso2-nexus (http://maven.wso2.org/nexus/content/groups/wso2-public/)
 Downloading:
 http://repo2.maven.org/maven2//org/openid4java/openid4java-nodeps/0.9.6-SNAPSHOT/openid4java-nodeps-0.9.6-SNAPSHOT.pom
 [INFO] Unable to find resource
 'org.openid4java:openid4java-nodeps:pom:0.9.6-SNAPSHOT' in repository
 maven.org (http://repo2.maven.org/maven2/)
 Downloading:
 http://oauth.googlecode.com/svn/code/maven/org/openid4java/openid4java-nodeps/0.9.6-SNAPSHOT/openid4java-nodeps-0.9.6-SNAPSHOT.pom
 [INFO] Unable to find resource
 'org.openid4java:openid4java-nodeps:pom:0.9.6-SNAPSHOT' in repository 
 oauth
 (http://oauth.googlecode.com/svn/code/maven)
 Downloading:
 http://oss.sonatype.org/content/repositories/openid4java/org/openid4java/openid4java-nodeps/0.9.6-SNAPSHOT/openid4java-nodeps-0.9.6-SNAPSHOT.pom
 [INFO] Unable to find resource
 'org.openid4java:openid4java-nodeps:pom:0.9.6-SNAPSHOT' in repository
 sonatype (http://oss.sonatype.org/content/repositories/openid4java)
 Downloading:
 http://download.java.net/maven/2/org/openid4java/openid4java-nodeps/0.9.6-SNAPSHOT/openid4java-nodeps-0.9.6-SNAPSHOT.pom
 [INFO] Unable to find resource
 'org.openid4java:openid4java-nodeps:pom:0.9.6-SNAPSHOT' in repository
 maven2-repository.dev.java.net (http://download.java.net/maven/2)
 Downloading:
 http://guice-maven.googlecode.com/svn/trunk/org/openid4java/openid4java-nodeps/0.9.6-SNAPSHOT/openid4java-nodeps-0.9.6-SNAPSHOT.pom
 [INFO] Unable to find resource
 'org.openid4java:openid4java-nodeps:pom:0.9.6-SNAPSHOT' in repository 
 guice
 (http://guice-maven.googlecode.com/svn/trunk)
 Downloading:
 http://step2.googlecode.com/svn/code/java/maven/org/openid4java/openid4java-nodeps/0.9.6-SNAPSHOT/openid4java-nodeps-0.9.6-SNAPSHOT.jar
 [INFO] Unable to find resource
 'org.openid4java:openid4java-nodeps:jar:0.9.6-SNAPSHOT' in repository 
 step2
 (http://step2.googlecode.com/svn/code/java/maven)
 Downloading:
 http://maven.wso2.org/nexus/content/groups/wso2-public//org/openid4java/openid4java-nodeps/0.9.6-SNAPSHOT/openid4java-nodeps-0.9.6-SNAPSHOT.jar
 [INFO] Unable to find resource
 'org.openid4java:openid4java-nodeps:jar:0.9.6-SNAPSHOT' in repository
 wso2-nexus (http://maven.wso2.org/nexus/content/groups/wso2-public/)
 Downloading:
 http://repo2.maven.org/maven2//org/openid4java/openid4java-nodeps/0.9.6-SNAPSHOT/openid4java-nodeps-0.9.6-SNAPSHOT.jar
 [INFO] Unable to find resource
 'org.openid4java:openid4java-nodeps:jar:0.9.6-SNAPSHOT' in repository
 maven.org (http://repo2.maven.org/maven2/)
 Downloading:
 http://oauth.googlecode.com/svn/code/maven/org/openid4java/openid4java-nodeps/0.9.6-SNAPSHOT/openid4java-nodeps-0.9.6-SNAPSHOT.jar
 [INFO] Unable to find resource
 'org.openid4java:openid4java-nodeps:jar:0.9.6-SNAPSHOT' in repository 
 oauth
 (http://oauth.googlecode.com/svn/code/maven)
 Downloading:
 http://oss.sonatype.org/content/repositories/openid4java/org/openid4java/openid4java-nodeps/0.9.6-SNAPSHOT/openid4java-nodeps-0.9.6-SNAPSHOT.jar
 [INFO] Unable to find resource
 'org.openid4java:openid4java-nodeps:jar:0.9.6-SNAPSHOT' in repository
 sonatype (http://oss.sonatype.org/content/repositories/openid4java)
 Downloading:
 

Re: [Carbon-dev] Events that can be analysed by the MessageExchangeInterceptor of a BPEL process

2010-06-24 Thread Isuru Wimalasundera
Hi All

The progress update of the project
Has been able to complete some major phases of the project.


   1. The new data publisher for bpel is completed. which is the
   BpelStatsPublisher
   2. Did necessary changes to add BPS server successfully to BAM to be able
   to monitor.
   3. Events generated at BPS is successfully being received to the BAM side
   and populated the database.
   4. Creating new data service to retrieve BPS related data from the data
   base.
   5. First gadget to represent BPEL stats is almost on completion.

The work to be done

   1. few modifications and issues to be solved on the data receiving part
   of BAM, will be completed on next week.
   2. design gadgets in the best way to analyse bpel event data.

Thank You
IsuruW
___
Carbon-dev mailing list
Carbon-dev@wso2.org
https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


[Carbon-dev] Compilation Failure - Carbon Trunk - bam-data-publishers

2010-06-09 Thread Isuru Wimalasundera
Hi all

While trying to build bam-data-publisher in Carbon trunk,components the
following compilation error occured.

[INFO] Compiling 12 source files to
/home/isuru/carbonTrunk/carbon/components/bam-data-publishers/org.wso2.carbon.bam.data.publishers.servicestats/target/classes
[INFO]

[ERROR] BUILD FAILURE
[INFO]

[INFO] Compilation failure

/home/isuru/carbonTrunk/carbon/components/bam-data-publishers/org.wso2.carbon.bam.data.publishers.servicestats/src/main/java/org/wso2/carbon/bam/data/publishers/servicestats/modules/ServiceStatisticsHandler.java:[62,34]
setConfigurationContext(org.apache.axis2.context.ConfigurationContext) has
protected access in org.wso2.carbon.core.AbstractAdmin

/home/isuru/carbonTrunk/carbon/components/bam-data-publishers/org.wso2.carbon.bam.data.publishers.servicestats/src/main/java/org/wso2/carbon/bam/data/publishers/servicestats/modules/OperationStatisticsHandler.java:[58,34]
setConfigurationContext(org.apache.axis2.context.ConfigurationContext) has
protected access in org.wso2.carbon.core.AbstractAdmin

request kind consideration on this issue.

Thank You
IsuruW
___
Carbon-dev mailing list
Carbon-dev@wso2.org
https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Events that can be analysed by the MessageExchangeInterceptor of a BPEL process

2010-06-01 Thread Isuru Wimalasundera
Hi all

I changed the xml message format of the message related to events. Just like
Dumindu and Ratha suggested here
I organized the message as Key/Value pairs of server level data. And here I
also used a unique Id to identify a one particular life cycle of events of a
process. The message looks as follows (but this message is still missing the
server information at the begining).

svrusrdata:Event xmlns:svrusrdata=
http://wso2.org/ns/2009/09/bps/server/user-defined/data;
 svrusrdata:BpelStatisticsData
svrusrdata:Data

svrusrdata:Keyeb7d2d8a-3842-4c35-a3b5-4cd62395cbd8_ProcessName/svrusrdata:Key
svrusrdata:Value{http://ode/bpel/unit-test}HelloWorld3-11
/svrusrdata:Value
/svrusrdata:Data
svrusrdata:Data

svrusrdata:Keyeb7d2d8a-3842-4c35-a3b5-4cd62395cbd8_TimeStamp/svrusrdata:Key
svrusrdata:ValueTue Jun 01 18:31:14 IST 2010/svrusrdata:Value
/svrusrdata:Data
svrusrdata:Data

svrusrdata:Keyeb7d2d8a-3842-4c35-a3b5-4cd62395cbd8_InstanceId/svrusrdata:Key
svrusrdata:Value0/svrusrdata:Value
/svrusrdata:Data
svrusrdata:Data

svrusrdata:Keyeb7d2d8a-3842-4c35-a3b5-4cd62395cbd8_Operation/svrusrdata:Key
svrusrdata:Value/svrusrdata:Value
/svrusrdata:Data
svrusrdata:Data

svrusrdata:Keyeb7d2d8a-3842-4c35-a3b5-4cd62395cbd8_MessageExchangeId/svrusrdata:Key
svrusrdata:Value/svrusrdata:Value
/svrusrdata:Data
svrusrdata:Data

svrusrdata:Keyeb7d2d8a-3842-4c35-a3b5-4cd62395cbd8_PartnerLinkModelId/svrusrdata:Key
svrusrdata:Value29/svrusrdata:Value
/svrusrdata:Data
svrusrdata:Data

svrusrdata:Keyeb7d2d8a-3842-4c35-a3b5-4cd62395cbd8_PartnerLinkName/svrusrdata:Key
svrusrdata:ValueMultiplierPartnerLink/svrusrdata:Value
/svrusrdata:Data
svrusrdata:Data

svrusrdata:Keyeb7d2d8a-3842-4c35-a3b5-4cd62395cbd8_InstanceCompleationStatus/svrusrdata:Key
svrusrdata:Value/svrusrdata:Value
/svrusrdata:Data
svrusrdata:Data

svrusrdata:Keyeb7d2d8a-3842-4c35-a3b5-4cd62395cbd8_FailureReason/svrusrdata:Key
svrusrdata:Value/svrusrdata:Value
/svrusrdata:Data
 /svrusrdata:BpelStatisticsData
/svrusrdata:Event

The project is now continuing towards Data receivers, persisting Event data
on database, writing appropriate gadgets for data representation.

Kindly request feedbacks and suggestions

Thank you
IsuruW



On Tue, May 25, 2010 at 5:49 PM, Vijayaratha Vijayasingam
rat...@wso2.comwrote:



 On 24 May 2010 17:56, Isuru Wimalasundera isu...@wso2.com wrote:

 Hi all

 Yes the Event contains a XML message , as I have implemented a statistics
 data publisher for this task
 the generating XML message looks like below.

 statdata:Event xmlns:statdata=
 http://wso2.org/ns/2009/09/bps/bpel/statistics/data;
 statdata:BpelStatisticsData
 
 statdata:ProcessName{http://ode/bpel/unit-test}HelloWorld3-10http://ode/bpel/unit-test%7DHelloWorld3-10
 /statdata:ProcessName
 statdata:TimeStampMon May 24 17:17:00 IST
 2010/statdata:TimeStamp
 statdata:InstanceId1/statdata:InstanceId
 statdata:Operation/statdata:Operation
 statdata:MessageExchangeId/statdata:MessageExchangeId
 statdata:PartnerLinkModelId29/statdata:PartnerLinkModelId

 statdata:PartnerLinkNameMultiplierPartnerLink/statdata:PartnerLinkName

 statdata:InstanceCompleationStatus/statdata:InstanceCompleationStatus
 statdata:FailureReason/statdata:FailureReason
 /statdata:BpelStatisticsData
 /statdata:Event

 A XML message in this format get created for all the events given in the
 event plan. This is a xml related to a partner service invocation of a bpel
 process.

 But I just need to clarify whether my use of a statistics data publisher
 for this task is ok, since Dumindu has told
 me that its better to get these events as server level user defined data
 with Key/Value pairs.


 yes it would be easy rather introducing new tables. Like Samisa told, you
 can use uniqueid/activityid to identify new instance and the related partner
 services of a process.
 Then the each key element would start with the uniqueid.
 eg;- uniqueid_bpelprocessname
  uniqueid_bpelprocessstarttime
 You can follow mediation publisher as an example for a such formatting of
 the event.

 Thanks.
 -Ratha.


 Request kind attention on this matter and please let some feedback on
 this.

 currently working on learning how the BAM Data Receivers work, and how to
 implement a one for this project with the help of Ratha.

 Thank You
 IsuruW



 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev



 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


___
Carbon-dev mailing list
Carbon-dev@wso2.org
https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Events that can be analysed by the MessageExchangeInterceptor of a BPEL process

2010-05-24 Thread Isuru Wimalasundera
Hi all

Yes the Event contains a XML message , as I have implemented a statistics
data publisher for this task
the generating XML message looks like below.

statdata:Event xmlns:statdata=
http://wso2.org/ns/2009/09/bps/bpel/statistics/data;
statdata:BpelStatisticsData
statdata:ProcessName{http://ode/bpel/unit-test}HelloWorld3-10
/statdata:ProcessName
statdata:TimeStampMon May 24 17:17:00 IST
2010/statdata:TimeStamp
statdata:InstanceId1/statdata:InstanceId
statdata:Operation/statdata:Operation
statdata:MessageExchangeId/statdata:MessageExchangeId
statdata:PartnerLinkModelId29/statdata:PartnerLinkModelId

statdata:PartnerLinkNameMultiplierPartnerLink/statdata:PartnerLinkName

statdata:InstanceCompleationStatus/statdata:InstanceCompleationStatus
statdata:FailureReason/statdata:FailureReason
/statdata:BpelStatisticsData
/statdata:Event

A XML message in this format get created for all the events given in the
event plan. This is a xml related to a partner service invocation of a bpel
process.

But I just need to clarify whether my use of a statistics data publisher for
this task is ok, since Dumindu has told
me that its better to get these events as server level user defined data
with Key/Value pairs. Request kind attention on this matter and please let
some feedback on this.

currently working on learning how the BAM Data Receivers work, and how to
implement a one for this project with the help of Ratha.

Thank You
IsuruW


On Thu, May 20, 2010 at 11:40 AM, Samisa Abeysinghe sam...@wso2.com wrote:

 Do you have an XML message with the real event?

 Samisa...





___
Carbon-dev mailing list
Carbon-dev@wso2.org
https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


[Carbon-dev] Compilation Failure - Registry - Eventing Implementation (Trunk)

2010-05-21 Thread Isuru Wimalasundera
Hi all

I was building trunk and found the following compilation failure in Registry
- Eventing Implementation.

[ERROR] BUILD FAILURE
[INFO]

[INFO] Compilation failure
/home/isuru/carbonTrunk/carbon/components/registry/org.wso2.carbon.registry.eventing/src/main/java/org/wso2/carbon/registry/eventing/RegistryEventDispatcher.java:[242,25]
sendNotification(org.apache.axiom.om.OMElement,org.apache.axiom.om.OMElement,java.lang.String,org.apache.axiom.om.OMElement[])
in org.wso2.carbon.event.broker.CarbonEventDispatcher cannot be applied to
(org.apache.axiom.om.OMElement,org.apache.axiom.om.OMElement,java.lang.String,boolean)

Thank You
IsuruW
___
Carbon-dev mailing list
Carbon-dev@wso2.org
https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Events that can be analysed by the MessageExchangeInterceptor of a BPEL process

2010-05-16 Thread Isuru Wimalasundera
Hi

*Current Event plan Proposed to monitor a BPEL Process (The Weekly Update)*

Last couple of weeks I was working on planing  what are the events needed to
be monitored by BAM and making
an event plan for the project. In this project we have already had two event
listener classes, one which implements the BpelEventListener interface and
the other which implements MessageExchangeInterceptor interface. At the
begining theplan was to use either one of them to track events, but as the
requirements were identified I decided to use both these implementationsas
they track different events of a BPEL process.

The Event plan is as follows;

Mainly the events are gathered from six activity phases of a BPEL process;

Process Invoked Event
   when a new BPEL process is invoked an event will be generated.
Under this event there will be
   attributes like Process Name and time stamp value to uniquely
identify the process invocation.

New instance creation of a process
  This event will get invoked when a new instance of the BPEL
process is being created. This event contains
attributes like the name of the process, the time stamp value to get the
created time, an instance id touniquely identify the created
instance and the current operation of the process .

Starting the newly created Instance
This event get invoked when a created instance get started. this event holds
attributes like process name,   time stamp value, the instance id to
identify the started instance.

Message Exchange of an Instance
This event get triggered when a process instance has received a message at
any level; like for the invocation of an instance, invocation of a scope and
an actvity. This event contains attributes like process name , time stamp,
instance id, the current operation of the process which receives the message
and an message exchange id which is a string to identify a message received.


Partner service invocation from a process
when the bpel process calls for an external web service this event will get
triggered. A bpel process is linked with an partner service through a
partner link,therefore this event contains information about this partner
link mostly. This event contains process name, time stamp, instance id,
partner link id and the name of the partner service invoked.

A Failure of an Activity
when any kind of failure occured at an Activity of a process this event will
get triggered. Either it is a system failure or a failure in the BPEL
process this event will get triggered. This event contains information like
process Id, time stamp, instance id, the activity id of the Activity which
got failed and the reason for the failure.

Successful completion of the process instance
This get invoked when a process instance completes its instance life cycle
and no failure occured. This event contains basic attributes like Process
Id, time stamp and Instance Id.

These generated events has been able to publish as WS-Events successfully
after writing an event publisher  class following the New BAM Data
publisher.This is the latest Event plan that I have come up with, request
any suggestions or modifications on this. From here onwards the project
needed to be continue towards using these published events on BAM, kindly
request suggestions for the next phases of the project.

Thank You
IsuruW
___
Carbon-dev mailing list
Carbon-dev@wso2.org
https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Events that can be analysed by the MessageExchangeInterceptor of a BPEL process

2010-05-02 Thread Isuru Wimalasundera
Hi

Currently I am working on this final event format which will contain the
data discussed above, hoping to have a discussion with Milinda aiyya on
Monday regarding what exact data needed to be contained in this format out
of the stuff that I have come up with and also about tracking data about new
instance creation of a bpel process.

Thank You
IsuruW


On Sun, May 2, 2010 at 9:30 AM, Samisa Abeysinghe sam...@wso2.com wrote:

 Have you designed the event format for this? If so please send it over so
 that we can have a look.

 If it is not defined, I suggest that you design that to capture the data
 discussed here.

 Thanks,
 Samisa...


 On Fri, Apr 30, 2010 at 4:05 PM, Isuru Wimalasundera isu...@wso2.comwrote:

 Hi

 yes that would be really useful because catching events on new instance
 creation can be really essential.

 Today had a discussion with Waruna and got information on some of the data
 that I tried to retrieve from events (as mentioned in my first message),and
 also discussed the necessity of some data according to the requirement of
 this project.

 After talking with Waruna and going through all the event data retrieved,
 I thought about some important events that would be really useful to be
 monitored by BAM. Mainly it is necessary to find whether it is possible to
 analyse events when the bpel process is being invoked by a request. As the
 method onProcessInvoked() is working it is possible to track when a process
 is invoked. It has to be notified whether the particular process invocation
 is successful or not. May be this can be done by reading the process state
 of the event, and it is still there to be tested. And there can be other
 data such as process Id and the process invoked time as additional info
 about the process invocation.

 Then it is necessary to catch events when a new instance of the bpel
 process is being created and invoked. I guess we have to check whether the
 new instance creation is successful  or failed. To catch these events, just
 like Milinda aiyya replied we have to make the onNewInstanceInvoked() method
 working.Then from the newly created process instance all the partner
 services will get invoked respectively and it is necessary to track events
 of these partner services. From within the onPartnerInvoked()  method we
 have to track important information like succesful partner service requests,
 fault requests and partner service ID s, partnet role names ,etc to
 recognize the external web services.

 Another important thing is to identify which partner service belongs to
 which process instance, Becasue at same time many request can come to the
 same process and create many instances and they all will trigger same web
 services. Once Samisa sir suggested to give an unique Actvity ID to the new
 instance and for all the related partner services to the process. It is
 essential to find a way to fulfill this requirement. Request suggestions.

 And finally it is necessary to identify whether the created new instance
 complete the process successfully or not. for that we have to identify
 whether the process successfully return a respond to a client. Now it is
 needed to clearly identify what are the properties that should be included
 in to these events that I mentioned above, and need to clarify these
 attributes against the need of BPS. Request suggestions on the Event plan.

 Thank You
 IsuruW




 On Fri, Apr 30, 2010 at 9:59 AM, Milinda Pathirage mili...@wso2.comwrote:

 Please find my comments inline.

 On Fri, Apr 30, 2010 at 8:57 AM, Waruna Ranasinghe war...@wso2.comwrote:



 On Thu, Apr 29, 2010 at 6:30 PM, Isuru Wimalasundera 
 isu...@wso2.comwrote:

 Hi ,

 As I am working in the project Monitoring* *a BPEL process on WSO2 BPS
 by using WSO2 BAM, I was on finalizing the set of Events that is needed to
 monitored by BAM. Mainly as identified it is necessary to identify when a
 BPEL process get invoked and the number of times it got invoked. And also 
 it
 is necessary to identify how the partner services get invoked, in which
 occasions does they get invoked and also maybe the number of times each
 service get invoked. And also just like Milinda mentioned to me it is also
 necessary to identify when the process get complete and whether it is
 successfully responded to the client call.

 ApacheODE provides and interface called MessageExchangeInteceptor which
 contains four main methoda called ;

1. onBpelServerInvoked()
2. onProcessInvoked()
3. onNewInstanceInvoked()
4. onPartnerInvoked()

 A test event observer class has been written extending the
 MessageExchangeInteceptor interface and was able to run and identify what
 are the events that get triggered against a bpel process which contains
 several partner services. It was evident to me that the onProcessInvoked()
 method and onPartnerInvoked() methods are responding well and caught 
 events
 whenever a bpel process got invoked and each time a partner service got
 invoked

[Carbon-dev] Events that can be analysed by the MessageExchangeInterceptor of a BPEL process

2010-04-29 Thread Isuru Wimalasundera
Hi ,

As I am working in the project Monitoring* *a BPEL process on WSO2 BPS by
using WSO2 BAM, I was on finalizing the set of Events that is needed to
monitored by BAM. Mainly as identified it is necessary to identify when a
BPEL process get invoked and the number of times it got invoked. And also it
is necessary to identify how the partner services get invoked, in which
occasions does they get invoked and also maybe the number of times each
service get invoked. And also just like Milinda mentioned to me it is also
necessary to identify when the process get complete and whether it is
successfully responded to the client call.

ApacheODE provides and interface called MessageExchangeInteceptor which
contains four main methoda called ;

   1. onBpelServerInvoked()
   2. onProcessInvoked()
   3. onNewInstanceInvoked()
   4. onPartnerInvoked()

A test event observer class has been written extending the
MessageExchangeInteceptor interface and was able to run and identify what
are the events that get triggered against a bpel process which contains
several partner services. It was evident to me that the onProcessInvoked()
method and onPartnerInvoked() methods are responding well and caught events
whenever a bpel process got invoked and each time a partner service got
invoked. But the onBpelServerInvoked() and onNewInstanceInvoked() methods
were not working and I have informed it to the BPS team. But still the
MessageExchangeInteceptor has been able to answer some of the event
requiremnets. Today I was trying to retrieve more useful data from the
events that get caught by the  onProcessInvoked() method and the
onPartnerInvoked() method, and found some very important data can be
retrieved . But there were some data that couldn't get retrieved as they
thrown Null pointer exceptions and couldn't continue running the bpel
process.

both the onProcessInvoked() and onPartnerInvoked() methods take
MessageExchangeInterceptor.InterceptorEvent object as a parameter
(InteceptorEvent is another static interface within the
MessageExchangeInteceptor) and can retrieve data from this object under four
main methods which are

   1. org.apache.ode.bpel.dao.BpelDAOConnection getConnection()
   2. org.apache.ode.bpel.dao.ProcessDAO getProcessDAO()
   3. org.apache.ode.bpel.iapi.ProcessConf getProcessConf()
   4. org.apache.ode.bpel.dao.MessageExchangeDAO()

under the onProcessInvoked() method I have successfully been able to
retrieve data for method calls such as...

System.out.println(onProcessInvoked:  +
ic.getProcessConf().getProcessId().toString());
(Time: +ic.getMessageExchangeDAO().getCreateTime().toString());
(Type: +ic.getProcessDAO().getType().toString());
(Version: +ic.getProcessDAO().getVersion());
(Process ID: +ic.getProcessDAO().getProcessId().toString());
(Num of Instances: +ic.getProcessDAO().getNumInstances());
(processState : +ic.getProcessConf().getState().toString());

and found throwing Null Pointer Exceptions to data retrival such as 
//System.out.println(Callee:
+ic.getMessageExchangeDAO().getCallee().toString());
(Channel: +ic.getMessageExchangeDAO().getChannel());
(EPR: +ic.getMessageExchangeDAO().getEPR().getBaseURI());
(PartnerLinkModelID: +ic.getMessageExchangeDAO().getPartnerLinkModelId());
(Request data:
+ic.getMessageExchangeDAO().getRequest().getData().getNodeValue());
(PartnerLink EPR:
+ic.getMessageExchangeDAO().getPartnerLink().getMyEPR().getBaseURI());

under the onPartnerInvoked() method it had been able to retrieve data from
method calls such as given below.
System.out.println(onPartnerInvoked:  +
ic.getProcessConf().getProcessId().toString());
(Time: +ic.getMessageExchangeDAO().getCreateTime().toString());
(PartnerLinkModelID: +ic.getMessageExchangeDAO().getPartnerLinkModelId());
(PartnerLink MySessionId:
+ic.getMessageExchangeDAO().getPartnerLink().getMySessionId());

and found throwing Null Pointer Exceptions to data retrival such as 
//System.out.println(Request data:
+ic.getMessageExchangeDAO().getRequest().getData().getNodeValue());
(PartnerLink EPR:
+ic.getMessageExchangeDAO().getPartnerLink().getMyEPR().getBaseURI());
(PartnerLink RoleName:
+ic.getMessageExchangeDAO().getPartnerLink().getMyRoleName());
(PartnerLink RoleServiceName:
+ic.getMessageExchangeDAO().getPartnerLink().getMyRoleServiceName().toString());
(PartnerLink PartnerRoleName:
+ic.getMessageExchangeDAO().getPartnerLink().getPartnerRoleName()

I found some of these failed data can be really useful when monitoring a
bpel process and I would like the bps team to take a look on this and find
if there is a way whether I can retrieve these data, and please give your
kind consideration on checking the necessity of these data for the projects.
And also I believe that there can be more important other data that may be
we can generate with in these methods to monitor a bpel process in an
interactive way. Request suggestions.

Thank You
IsuruW
___
Carbon-dev mailing list

[Carbon-dev] Update on project Monitoring a BPEL process on WSO2 BPS by using WSO2 BAM

2010-04-23 Thread Isuru Wimalasundera
I am currently working on this project of Monitoring* *a BPEL process on
WSO2 BPS by using WSO2 BAM. The base of BPS which is Apache ODE already
generate various types of events on every executed action of a running bpel
process. And it also contains event listener classes to get events. So out
of these many events it is necessary to identify what sort of events should
we mainly concerned about in order to monitor.

At the moment I am thinking of tracking events related to activities and
scopes of a BPEL process, which contains information like Ids for every
activitiy and scope and also the perticular time which they got triggered.
Currently working on retrieving and organizing these events. And I am also
working on publishing some tracked events of a bpel process as WS Events
with the help of dumindu; At the moment I am working on this and, hope to
complete the work by Monday. Shifted to work on trunk from this week and had
some issues while building it; anyway was able to overcome the issues. Need
to discuss with bps team and come up with a clear plan on what are the
events that is needed to be monitored by next week and will have a
discussion with dumindu over how to continue work after publishing the
triggered events as WS events and get some data on BAM.
___
Carbon-dev mailing list
Carbon-dev@wso2.org
https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev