Re: [Carbon-dev] [Stratos-dev] Product teams : Please set the default server roles in filter.properties file

2010-11-10 Thread shammi jayasinghe
Fixed in BRS Stratos and Product. Updated on both branch and the trunk.

On Tue, Nov 9, 2010 at 9:21 AM, Senaka Fernando sen...@wso2.com wrote:

 Fixed in Stratos Governance. Folks, please commit changes to both branch
 and trunk.

 Thanks,
 Senaka.

 On Mon, Nov 8, 2010 at 10:55 PM, Isuru Suriarachchi is...@wso2.comwrote:

 Hi all,

 I've added a property into the carbon.xml to set the default server role
 as follows.

 ServerRoles
 Role${default.server.role}/Role
 /ServerRoles

 So in each and every product build, we have to fiter this property and set
 the default server role for the product. List of default server roles are as
 follows.

 ApplicationServer
 DataServicesServer
 EnterpriseServiceBus
 BusinessRulesServer
 BusinessProcessServer
 GovernanceRegistry
 IdentityServer
 BusinessActivityMonitor
 GadgetServer
 MashupServer

 So please update the filter.properties file of your product and set the
 appropriate default server role. This should be done on both stratos service
 build and normal product build (trunk and branch).

 Ex : In ESB filter.properties file..

 default.server.role=EnterpriseServiceBus

 Thanks,
 ~Isuru

 --
 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


 ___
 Stratos-dev mailing list
 stratos-...@wso2.org
 https://wso2.org/cgi-bin/mailman/listinfo/stratos-dev




 --
 *Senaka Fernando*
 Associate Technical Lead  Product Manager - WSO2 G-Reg;
 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://www.linkedin.com/in/senakafernando

 *Lean . Enterprise . Middleware


 ___
 Stratos-dev mailing list
 stratos-...@wso2.org
 https://wso2.org/cgi-bin/mailman/listinfo/stratos-dev




-- 
Best Regards,*

Shammi Jayasinghe*
Senior Software Engineer; WSO2, Inc.; http://wso2.com,
mobile: +94 71 4493085
___
Carbon-dev mailing list
Carbon-dev@wso2.org
https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev


[Carbon-dev] wso2greg 3.5.0 webapps folder is empty

2010-11-10 Thread Roberto Mier Escandón

Hi everybody

I'm trying to deploy wso2greg 3.5.0 in a jboss application server, but i 
see webapps/ROOT/WEB-INF subfolders are almost empty. classes, 
patches and plugins are completly empty and lib has a few jar 
libraries.

This way i cannot deploy the governance registry, because it isn't there.
I've also tried to compile from sources but I'm not able to fill WEB-INF 
subfolders with distribution plugins


I'm lost. I need a way to fill webapps/ROOT/WEB-INF/plugins with the 
distribution plugins by a maven command or any other valid way. Does 
anybody know how to do it?


Thank you.

--

Roberto Mier Escandón.


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


[Carbon-dev] Cyclic dependency in component pom caused by BPEL

2010-11-10 Thread Samisa Abeysinghe
[INFO] Scanning for projects...
[INFO]

[ERROR] BUILD FAILURE
[INFO]

[INFO] The projects in the reactor contain a cyclic reference: Edge between
'Vertex{label='org.wso2.carbon:org.wso2.carbon.bpel'}' and
'Vertex{label='org.wso2.carbon:org.wso2.carbon.application.deployer.bpel'}'
introduces to cycle in the graph
org.wso2.carbon:org.wso2.carbon.application.deployer.bpel --
org.wso2.carbon:org.wso2.carbon.bpel --
org.wso2.carbon:org.wso2.carbon.application.deployer.bpel
[INFO]

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

[INFO] Total time: 23 seconds
[INFO] Finished at: Thu Nov 11 04:11:05 UTC 2010
[INFO] Final Memory: 59M/1237M
[INFO]


Thanks,
Samisa...

Samisa Abeysinghe
VP Engineering
WSO2 Inc.
http://wso2.com
http://wso2.org
___
Carbon-dev mailing list
Carbon-dev@wso2.org
https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Cyclic dependency in component pom caused by BPEL

2010-11-10 Thread Ruwan Linton

On 11/11/10 9:43 AM, Samisa Abeysinghe wrote:
the reactor contain a cyclic reference: Edge between 
'Vertex{label='org.wso2.carbon:org.wso2.carbon.bpel'}' and 
'Vertex{label='org.wso2.carbon:org.wso2.carbon.application.deployer.bpel'}
Why do we need a app.deployer.bpel dependency for bpel bundle? It should 
only be the other way. Please remove the dependency on bpel pom to the 
bpel app deployer and try.


Thanks,
Ruwan

--
Ruwan Linton
Software Architect  Product Manager, WSO2 ESB; http://wso2.org/esb
WSO2 Inc.; http://wso2.com

Lean . Enterprise . Middleware

phone: +1 408 754 7388 ext 51789
email: ru...@wso2.com; cell: +94 77 341 3097
blog: http://blog.ruwan.org
linkedin: http://www.linkedin.com/in/ruwanlinton
tweet: http://twitter.com/ruwanlinton


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


Re: [Carbon-dev] Cyclic dependency in component pom caused by BPEL

2010-11-10 Thread Samisa Abeysinghe
It is caused by  use of

public static final String BPEL_TYPE = bpel/workflow;

inside deplorer in the component

On Thu, Nov 11, 2010 at 10:16 AM, Ruwan Linton ru...@wso2.com wrote:

 On 11/11/10 9:43 AM, Samisa Abeysinghe wrote:

 the reactor contain a cyclic reference: Edge between
 'Vertex{label='org.wso2.carbon:org.wso2.carbon.bpel'}' and
 'Vertex{label='org.wso2.carbon:org.wso2.carbon.application.deployer.bpel'}

 Why do we need a app.deployer.bpel dependency for bpel bundle? It should
 only be the other way. Please remove the dependency on bpel pom to the bpel
 app deployer and try.

 Thanks,
 Ruwan

 --
 Ruwan Linton
 Software Architect  Product Manager, WSO2 ESB; http://wso2.org/esb

 WSO2 Inc.; http://wso2.com

 Lean . Enterprise . Middleware

 phone: +1 408 754 7388 ext 51789
 email: ru...@wso2.com; cell: +94 77 341 3097
 blog: http://blog.ruwan.org
 linkedin: http://www.linkedin.com/in/ruwanlinton
 tweet: http://twitter.com/ruwanlinton

 Thanks,
Samisa...

Samisa Abeysinghe
VP Engineering
WSO2 Inc.
http://wso2.com
http://wso2.org
___
Carbon-dev mailing list
Carbon-dev@wso2.org
https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Cyclic dependency in component pom caused by BPEL

2010-11-10 Thread Ruwan Linton

On 11/11/10 10:17 AM, Samisa Abeysinghe wrote:

It is caused by  use of

public static final String BPEL_TYPE = bpel/workflow;

inside deplorer in the component
Ideally the component should declare the constant and the deployer 
should be just using it.


Thanks,
Ruwan


On Thu, Nov 11, 2010 at 10:16 AM, Ruwan Linton ru...@wso2.com 
mailto:ru...@wso2.com wrote:


On 11/11/10 9:43 AM, Samisa Abeysinghe wrote:

the reactor contain a cyclic reference: Edge between
'Vertex{label='org.wso2.carbon:org.wso2.carbon.bpel'}' and

'Vertex{label='org.wso2.carbon:org.wso2.carbon.application.deployer.bpel'}

Why do we need a app.deployer.bpel dependency for bpel bundle? It
should only be the other way. Please remove the dependency on bpel
pom to the bpel app deployer and try.

Thanks,
Ruwan

-- 
Ruwan Linton

Software Architect  Product Manager, WSO2 ESB; http://wso2.org/esb

WSO2 Inc.; http://wso2.com

Lean . Enterprise . Middleware

phone: +1 408 754 7388 ext 51789
email: ru...@wso2.com mailto:ru...@wso2.com; cell: +94 77 341 3097
blog: http://blog.ruwan.org
linkedin: http://www.linkedin.com/in/ruwanlinton
tweet: http://twitter.com/ruwanlinton

Thanks,
Samisa...

Samisa Abeysinghe
VP Engineering
WSO2 Inc.
http://wso2.com
http://wso2.org





--
Ruwan Linton
Software Architect  Product Manager, WSO2 ESB; http://wso2.org/esb
WSO2 Inc.; http://wso2.com

Lean . Enterprise . Middleware

phone: +1 408 754 7388 ext 51789
email: ru...@wso2.com; cell: +94 77 341 3097
blog: http://blog.ruwan.org
linkedin: http://www.linkedin.com/in/ruwanlinton
tweet: http://twitter.com/ruwanlinton

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


Re: [Carbon-dev] Cyclic dependency in component pom caused by BPEL

2010-11-10 Thread Samisa Abeysinghe
I am fixing this.

On Thu, Nov 11, 2010 at 10:24 AM, Ruwan Linton ru...@wso2.com wrote:

  On 11/11/10 10:17 AM, Samisa Abeysinghe wrote:

 It is caused by  use of

  public static final String BPEL_TYPE = bpel/workflow;

  inside deplorer in the component

 Ideally the component should declare the constant and the deployer should
 be just using it.

 Thanks,
 Ruwan


 On Thu, Nov 11, 2010 at 10:16 AM, Ruwan Linton ru...@wso2.com wrote:

 On 11/11/10 9:43 AM, Samisa Abeysinghe wrote:

 the reactor contain a cyclic reference: Edge between
 'Vertex{label='org.wso2.carbon:org.wso2.carbon.bpel'}' and
 'Vertex{label='org.wso2.carbon:org.wso2.carbon.application.deployer.bpel'}

  Why do we need a app.deployer.bpel dependency for bpel bundle? It should
 only be the other way. Please remove the dependency on bpel pom to the bpel
 app deployer and try.

 Thanks,
 Ruwan

 --
 Ruwan Linton
 Software Architect  Product Manager, WSO2 ESB; http://wso2.org/esb

 WSO2 Inc.; http://wso2.com

  Lean . Enterprise . Middleware

 phone: +1 408 754 7388 ext 51789
 email: ru...@wso2.com; cell: +94 77 341 3097
 blog: http://blog.ruwan.org
 linkedin: http://www.linkedin.com/in/ruwanlinton
 tweet: http://twitter.com/ruwanlinton

   Thanks,
 Samisa...

 Samisa Abeysinghe
 VP Engineering
 WSO2 Inc.
 http://wso2.com
 http://wso2.org





 --
 Ruwan Linton
 Software Architect  Product Manager, WSO2 ESB; http://wso2.org/esb
 WSO2 Inc.; http://wso2.com

 Lean . Enterprise . Middleware

 phone: +1 408 754 7388 ext 51789
 email: ru...@wso2.com; cell: +94 77 341 3097
 blog: http://blog.ruwan.org
 linkedin: http://www.linkedin.com/in/ruwanlinton
 tweet: http://twitter.com/ruwanlinton

  Thanks,
Samisa...

Samisa Abeysinghe
VP Engineering
WSO2 Inc.
http://wso2.com
http://wso2.org
___
Carbon-dev mailing list
Carbon-dev@wso2.org
https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Cyclic dependency in component pom caused by BPEL

2010-11-10 Thread Milinda Pathirage
This has happened due to a recent change I did to BPEL app deployer.
Previously BPEL App deployer used to delete BPEL archives in the repository
when undeploying CApps. Due to a complexity in Axis2 hot update, I had to
disable BPEL undeploying capability by deleting archive in the file system.
So I added the BPEL component as a dependency to BPEL app deployer. This has
cause the cyclic dependency. Moving the constant to BPEL component and
removing app deployer dependency will fix the issue.

Thanks
Milinda


On Thu, Nov 11, 2010 at 10:32 AM, Samisa Abeysinghe sam...@wso2.com wrote:

 I am fixing this.


 On Thu, Nov 11, 2010 at 10:24 AM, Ruwan Linton ru...@wso2.com wrote:

  On 11/11/10 10:17 AM, Samisa Abeysinghe wrote:

 It is caused by  use of

  public static final String BPEL_TYPE = bpel/workflow;

  inside deplorer in the component

 Ideally the component should declare the constant and the deployer should
 be just using it.

 Thanks,
 Ruwan


 On Thu, Nov 11, 2010 at 10:16 AM, Ruwan Linton ru...@wso2.com wrote:

 On 11/11/10 9:43 AM, Samisa Abeysinghe wrote:

 the reactor contain a cyclic reference: Edge between
 'Vertex{label='org.wso2.carbon:org.wso2.carbon.bpel'}' and
 'Vertex{label='org.wso2.carbon:org.wso2.carbon.application.deployer.bpel'}

  Why do we need a app.deployer.bpel dependency for bpel bundle? It should
 only be the other way. Please remove the dependency on bpel pom to the bpel
 app deployer and try.

 Thanks,
 Ruwan

 --
 Ruwan Linton
 Software Architect  Product Manager, WSO2 ESB; http://wso2.org/esb

 WSO2 Inc.; http://wso2.com

  Lean . Enterprise . Middleware

 phone: +1 408 754 7388 ext 51789
 email: ru...@wso2.com; cell: +94 77 341 3097
 blog: http://blog.ruwan.org
 linkedin: http://www.linkedin.com/in/ruwanlinton
 tweet: http://twitter.com/ruwanlinton

   Thanks,
 Samisa...

 Samisa Abeysinghe
 VP Engineering
 WSO2 Inc.
 http://wso2.com
 http://wso2.org





 --
 Ruwan Linton
 Software Architect  Product Manager, WSO2 ESB; http://wso2.org/esb
 WSO2 Inc.; http://wso2.com

 Lean . Enterprise . Middleware

 phone: +1 408 754 7388 ext 51789
 email: ru...@wso2.com; cell: +94 77 341 3097
 blog: http://blog.ruwan.org
 linkedin: http://www.linkedin.com/in/ruwanlinton
 tweet: http://twitter.com/ruwanlinton

  Thanks,
 Samisa...

 Samisa Abeysinghe
 VP Engineering
 WSO2 Inc.
 http://wso2.com
 http://wso2.org




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




-- 
Milinda Pathirage
Technical Lead and Product Manager, Business Process Server - WSO2 Inc;
http://wso2.com
Blog: http://blog.mpathirage.com

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


Re: [Carbon-dev] [Stratos-dev] What is the status of the WS-Discovery implementation?

2010-11-10 Thread Charitha Kankanamge
Hi Folks,

Is WS-D support in a testable state in Stratos-1.0?

Regards
Charitha


On Wed, Sep 22, 2010 at 2:20 PM, Afkham Azeez az...@wso2.com wrote:





 On Wed, Sep 22, 2010 at 2:02 PM, Hiranya Jayathilaka hira...@wso2.comwrote:



 On Wed, Sep 22, 2010 at 1:30 PM, Afkham Azeez az...@wso2.com wrote:

 Where can I find some sample code on how to use this?


 The DiscoveryMgtUtils class [1] uses the WS-D client API to discover
 endpoints and services. Take a look at the method probeDiscoveryProxy or
 resolveService.

 Thanks,
 Hiranya

 [1] -
 http://svn.wso2.org/repos/wso2/trunk/carbon/components/ws-discovery/org.wso2.carbon.discovery.core/src/main/java/org/wso2/carbon/discovery/util/DiscoveryMgtUtils.java



 BTW, nice looking code. Its always a pleasure to look at well written 
 well commented code :)


 Azeez




 On Wed, Sep 22, 2010 at 1:24 PM, Afkham Azeez az...@wso2.com wrote:

 Where is the client library? We can make it part of the axis2-client
 component which we include in webapps.

 Azeez




 On Wed, Sep 22, 2010 at 1:18 PM, Hiranya Jayathilaka 
 hira...@wso2.comwrote:



 On Wed, Sep 22, 2010 at 12:44 PM, Afkham Azeez az...@wso2.com wrote:

 Yes we can do that. So the endpoints have to be published into the
 tenants' Governace registry space. Adding parameters to tenants' 
 AxisConfig
 can be done by providing an implementation of
 the org.wso2.carbon.utils.PreAxisConfigurationPopulationObserver and 
 adding
 the parameter in the createdAxisConfiguration method.

 So, going back to our sample,

 1. How does the portal webapp find the service endpoints of the
 Product  Purchasing proxy services?


 The webapp should use the WS-D client API to discover the necessary
 endpoints


 2. How does the ESB task find out the endpoint of the BPEL service?


 Task implementation should also use the WS-D client API. Since tasks
 are custom developed Java code, we cannot make WS-D support tasks. 
 Instead,
 tasks should be written in a WS-D aware manner.


 3. How does the ESB find out the endpoint of the FinanceConnector
 service?


 ESB UI provides the necessary means to discover endpoints and create
 proxy services on them


 4. How do the Gadgets find out the endpoints of the ShoppingCart data
 service?


 We don't support WS-D in gadgets yet. This is something I discussed
 with Jonathan a few weeks back. We should be able to discover gadgets 
 using
 WS-D and gadgets should be able to discover other endpoints and gadgets
 using WS-D. We'll probably have to write some JavaScript library wrapping
 the WS-D client API. Anyway this is for the future. I need to talk this
 through with the GS team.


 5. How does the BPEL process find out the endpoints of
 the ShoppingCart data service?


 We don't support BPEL yet either. And to be honest I'm not very
 familiar with BPEL to think about a way to support WS-D in BPS. May be
 Waruna can help me out here. Does BPS use any Axis2 client stuff to talk 
 to
 the service endpoints? If so we may be able to use the Axis2 client module
 for WS-D (or the client API depending on how it's done).


 I think there should be a way to have logical references to endpoints.
 Does your implementation provide this?


 This is provided by the WS-D specs. An endpoint is identified by a
 platform-wide unique identifier. Each endpoint is also associated with a 
 set
 of user defined scopes and types that can be used to index and search
 endpoints.

 Thanks,
 Hiranya



 Azeez



 On Wed, Sep 22, 2010 at 12:14 PM, Hiranya Jayathilaka 
 hira...@wso2.com wrote:

 Hi Azeez,

 On Wed, Sep 22, 2010 at 12:00 PM, Afkham Azeez az...@wso2.comwrote:

 It would be great if you could show us how to use WS-Discovery in
 our sample.


 Can we set parameters on the tenant AxisConfiguration? In a
 standalone Carbon we could edit the axis2.xml to do that. Is there some 
 way
 to do the equivalent in Stratos?

 If we can get that done, then it's just a matter of enabling
 WS-Discovery in Stratos app server. It will start publishing service
 endpoints to GReg. Then the ESB can probe the registry to discover the
 endpoints.

 Thanks,
 Hiranya


 Azeez




 On Wed, Sep 22, 2010 at 11:38 AM, Afkham Azeez az...@wso2.comwrote:

 I'm more concerned about getting this to work on Stratos. UDP will
 not work in that case. So, managed mode should be sufficient for us. 
 Can you
 advice us on how to set this up on Stratos?

 Azeez




 On Wed, Sep 22, 2010 at 11:36 AM, Hiranya Jayathilaka 
 hira...@wso2.com wrote:



 On Wed, Sep 22, 2010 at 11:04 AM, Afkham Azeez az...@wso2.comwrote:

 Hi folks,
 $subject

 Can we use this to run our sample Acme shopping cart application
 on Stratos? Please note that we need to have this running before 
 the Stratos
 1.0 release.


 In WSAS and DS this should be enabled by setting an
 AxisConfiguration parameter. Does Stratos allow that? If not we need 
 to
 develop some sort of a UI to enable the user to do that. In GReg and 
 ESB
 it's pretty much enabled out of the box.

 

[Carbon-dev] Build Failure!

2010-11-10 Thread Prabath Abeysekera
Hi,

got the following compilation error while building components of carbon.

[INFO]

[ERROR] BUILD FAILURE
[INFO]

[INFO] Compilation failure
/home/disk1/CarbonNew/carbon/components/synapse-registries/org.wso2.carbon.mediation.registry/src/main/java/org/wso2/carbon/mediation/registry/WSO2Registry.java:[443,35]
getResourceProperties(java.lang.String) in
org.wso2.carbon.mediation.registry.WSO2Registry cannot implement
getResourceProperties(java.lang.String) in
org.apache.synapse.registry.Registry; attempting to use incompatible return
type
found   : java.util.Mapjava.lang.String,java.util.Properties
required: java.util.Properties




Regards,
-- 
Prabath Abeysekara
Software Engineer
WSO2 Inc.
Email: praba...@wso2.com harsha...@wso2.com
Mobile: +94718124514

http://harshana05.blogspot.com/
___
Carbon-dev mailing list
Carbon-dev@wso2.org
https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev