Re: [Dev] Errors in the ESB Console which are related to ServerURL property of Carbon

2012-07-30 Thread Asela Pathberiya
On Tue, Jul 31, 2012 at 9:57 AM, Andun Gunawardena  wrote:

> Hi all,
>
> I have corrected the ESB mediator issue. Attached the patches to
> https://wso2.org/jira/browse/CARBON-13752
>

Thanks for providing a patch.  I did some modifications and applied.

Thanks,
Asela.


>
> Thanks
> AndunSLG
>
>
> On Tue, Jul 31, 2012 at 9:01 AM, Andun Gunawardena  wrote:
>
>> Hi All,
>>
>> I think I have found the problem here,the exception which is given below
>> is thrown by  org.wso2.carbon.core.services.authentication.
>> AuthenticationUtil class's public static void
>> validateRemoteAddress(String address) method.
>>
>> Authentication Failed : Invalid remote address passed -
>> https://10.200.3.118:${carbon.management.port}${carbon.context}/services/
>>
>> I have debugged the code and found that ESB is sending something like
>> this "https://${carbon.local.ip}:${carbon.management.port}${carbo
>> n.context}/services/" as the argument for this method. So
>> our first thought was this argument  should be corrected like this "
>> https://localhost:9444/service";. But even if I pass this as the argument
>> the method gives exceptions.
>> So I checked with Asela and this argument should be a IP address. Not
>> something like this. So have to correct the mediator in ESB. So I will look
>> in to that.
>>
>> Thanks
>> AndunSLG
>>
>> On Mon, Jul 30, 2012 at 10:29 PM, Dushan Abeyruwan wrote:
>>
>>> Hi
>>>I think security guys should answer this, because I see a significant
>>> changers in the entitlement mediator compare to 4.0.3
>>>
>>>403
>>>  configContext = cfgCtx;
>>>   *  serverUrl = getServerURL(serverUrl,
>>> msgContext.getConfigurationContext());*
>>> client = new EntitlementServiceClient(remoteServiceUrl,
>>> configContext,
>>> remoteServiceUserName, remoteServicePassword,
>>> serverUrl);
>>> decision = client.getDecision(userName, resourceName,
>>> action, env);
>>>
>>>   450
>>>*decision = client.getDecision(userName, resourceName, action,
>>> env);*
>>>
>>>  entitlementDecision = new
>>> EntitlementDecision();
>>>
>>> entitlementDecision.setCachedTime(Calendar.getInstance().getTimeInMillis());
>>> entitlementDecision.setResponse(decision);
>>> simpleDecisionCache.put(key,
>>> entitlementDecision);
>>>
>>>and  *getServerURL is depreciated method in 450*
>>>
>>>private static String getServerURL(String url, ConfigurationContext
>>> config) {
>>> if (url.indexOf("${carbon.https.port}") != -1) {
>>> String httpsPort = CarbonUtils.getTransportPort(config,
>>> "https") + "";
>>> url = url.replace("${carbon.https.port}", httpsPort);
>>> }
>>>
>>> if (url.indexOf("${carbon.management.port}") != -1) {
>>> String httpsPort = CarbonUtils.getTransportPort(config,
>>> "https") + "";
>>> url = url.replace("${carbon.management.port}", httpsPort);
>>> }
>>>
>>> if (url.indexOf("${carbon.context}") != -1) {
>>> // We need not to worry about context here - just need the
>>> server url for logging
>>> url = url.replace("${carbon.context}", "");
>>> }
>>> return url;
>>> }
>>>
>>>
>>>
>>> cheers
>>> Dushan
>>>
>>>
>>> On Mon, Jul 30, 2012 at 9:30 PM, Afkham Azeez  wrote:
>>>
 This means due to some reason the other two System properties are not
 set. Need to find out why those are not set.


 On Mon, Jul 30, 2012 at 6:20 PM, Andun Gunawardena wrote:

> Hi,
>
> I have debugged the org.wso2.carbon.core.util.Utils class's
> method public static String replaceSystemProperty(String text) and notice
> that the the argument is passed as 
> "https://${carbon.local.ip}:${carbon.management.port}${carbon.context}/services/";
> and comes out as 
> "https://10.200.3.177:${carbon.management.port}${carbon.context}/services/";.
> Is there a error ? Why the IP address is only replaced while others are
> remain same.
>
> Thanks
> AndunSLG
>
>
> On Mon, Jul 30, 2012 at 6:11 PM, Dushan Abeyruwan wrote:
>
>> Hi
>> IMO Seems like its a bug with at ServerConfiguration it gives
>> https://10.200.3.118:${carbon.management.port}${carbon.context}/services/
>> , If I remember correctly we did some fix to mediation-initializer
>> some time back,
>>
>>
>> [Carbon-dev] ESB stratup failure java.net.MalformedURLException: For
>> input string: "${carbon.management.port}${carbon.context}"
>>  carbon_dev
>> x
>> Rajika Kumarasiri 
>> via
>>  wso2.org
>>  Feb 23
>>to carbon-dev
>>  [2012-02-23 15:54:11,995] ERROR - ServiceBusInitializer Error while
>> parsing the server URL https://10.200.3.196:
>> ${carbon.management.port}${carbon

Re: [Dev] Compilation error in Kernel

2012-07-30 Thread Janaka Ranabahu
Fixed.

Thanks,
Janaka

On Tue, Jul 31, 2012 at 12:08 PM, Buddhika Chamith wrote:

> Getting following while building kernel. (r135869)
>
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile
> (default-compile) on project org.wso2.carbon.registry.core: Compilation
> failure
> [ERROR]
> /opt/build/trunk/carbon/kernel/branches/4.0.0/core/org.wso2.carbon.registry.core/4.0.0/src/main/java/org/wso2/carbon/registry/core/session/UserRegistry.java:[363,38]
> ';' expected
> [ERROR] -> [Help 1]
>
>
> Regards
> Buddhika
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Janaka Ranabahu
Software Engineer
WSO2 Inc.

Mobile +94 718370861
Email : jan...@wso2.com
Blog : janakaranabahu.blogspot.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Compilation error in Kernel

2012-07-30 Thread Buddhika Chamith
Getting following while building kernel. (r135869)

[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile
(default-compile) on project org.wso2.carbon.registry.core: Compilation
failure
[ERROR]
/opt/build/trunk/carbon/kernel/branches/4.0.0/core/org.wso2.carbon.registry.core/4.0.0/src/main/java/org/wso2/carbon/registry/core/session/UserRegistry.java:[363,38]
';' expected
[ERROR] -> [Help 1]


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


Re: [Dev] Errors in the ESB Console which are related to ServerURL property of Carbon

2012-07-30 Thread Andun Gunawardena
Hi all,

I have corrected the ESB mediator issue. Attached the patches to
https://wso2.org/jira/browse/CARBON-13752

Thanks
AndunSLG

On Tue, Jul 31, 2012 at 9:01 AM, Andun Gunawardena  wrote:

> Hi All,
>
> I think I have found the problem here,the exception which is given below
> is thrown by  org.wso2.carbon.core.services.authentication.
> AuthenticationUtil class's public static void
> validateRemoteAddress(String address) method.
>
> Authentication Failed : Invalid remote address passed -
> https://10.200.3.118:${carbon.management.port}${carbon.context}/services/
>
> I have debugged the code and found that ESB is sending something like this
> "https://${carbon.local.ip}:${carbon.management.port}${carbo
> n.context}/services/" as the argument for this method. So
> our first thought was this argument  should be corrected like this "
> https://localhost:9444/service";. But even if I pass this as the argument
> the method gives exceptions.
> So I checked with Asela and this argument should be a IP address. Not
> something like this. So have to correct the mediator in ESB. So I will look
> in to that.
>
> Thanks
> AndunSLG
>
> On Mon, Jul 30, 2012 at 10:29 PM, Dushan Abeyruwan wrote:
>
>> Hi
>>I think security guys should answer this, because I see a significant
>> changers in the entitlement mediator compare to 4.0.3
>>
>>403
>>  configContext = cfgCtx;
>>   *  serverUrl = getServerURL(serverUrl,
>> msgContext.getConfigurationContext());*
>> client = new EntitlementServiceClient(remoteServiceUrl,
>> configContext,
>> remoteServiceUserName, remoteServicePassword,
>> serverUrl);
>> decision = client.getDecision(userName, resourceName, action,
>> env);
>>
>>   450
>>*decision = client.getDecision(userName, resourceName, action,
>> env);*
>>
>>  entitlementDecision = new EntitlementDecision();
>>
>> entitlementDecision.setCachedTime(Calendar.getInstance().getTimeInMillis());
>> entitlementDecision.setResponse(decision);
>> simpleDecisionCache.put(key, entitlementDecision);
>>
>>and  *getServerURL is depreciated method in 450*
>>
>>private static String getServerURL(String url, ConfigurationContext
>> config) {
>> if (url.indexOf("${carbon.https.port}") != -1) {
>> String httpsPort = CarbonUtils.getTransportPort(config,
>> "https") + "";
>> url = url.replace("${carbon.https.port}", httpsPort);
>> }
>>
>> if (url.indexOf("${carbon.management.port}") != -1) {
>> String httpsPort = CarbonUtils.getTransportPort(config,
>> "https") + "";
>> url = url.replace("${carbon.management.port}", httpsPort);
>> }
>>
>> if (url.indexOf("${carbon.context}") != -1) {
>> // We need not to worry about context here - just need the
>> server url for logging
>> url = url.replace("${carbon.context}", "");
>> }
>> return url;
>> }
>>
>>
>>
>> cheers
>> Dushan
>>
>>
>> On Mon, Jul 30, 2012 at 9:30 PM, Afkham Azeez  wrote:
>>
>>> This means due to some reason the other two System properties are not
>>> set. Need to find out why those are not set.
>>>
>>>
>>> On Mon, Jul 30, 2012 at 6:20 PM, Andun Gunawardena wrote:
>>>
 Hi,

 I have debugged the org.wso2.carbon.core.util.Utils class's
 method public static String replaceSystemProperty(String text) and notice
 that the the argument is passed as 
 "https://${carbon.local.ip}:${carbon.management.port}${carbon.context}/services/";
 and comes out as 
 "https://10.200.3.177:${carbon.management.port}${carbon.context}/services/";.
 Is there a error ? Why the IP address is only replaced while others are
 remain same.

 Thanks
 AndunSLG


 On Mon, Jul 30, 2012 at 6:11 PM, Dushan Abeyruwan wrote:

> Hi
> IMO Seems like its a bug with at ServerConfiguration it gives
> https://10.200.3.118:${carbon.management.port}${carbon.context}/services/
> , If I remember correctly we did some fix to mediation-initializer
> some time back,
>
>
> [Carbon-dev] ESB stratup failure java.net.MalformedURLException: For
> input string: "${carbon.management.port}${carbon.context}"
>  carbon_dev
> x
> Rajika Kumarasiri 
> via
>  wso2.org
>  Feb 23
>to carbon-dev
>  [2012-02-23 15:54:11,995] ERROR - ServiceBusInitializer Error while
> parsing the server URL https://10.200.3.196:
> ${carbon.management.port}${carbon.context}/services/
> java.net.MalformedURLException: For input string:
> "${carbon.management.port}${carbon.context}"
>  at java.net.URL.(URL.java:601)
> at java.net.URL.(URL.java:464)
> at java.net.URL.(URL.java:413)
>  at org.wso2.carbon.mediation.initializer
> .Servic

Re: [Dev] Url mapper with DepSync and GD enabled for webapps

2012-07-30 Thread Reka Thirunavukkarasu
Hi

It is working fine with my local setup. So that i couldn't reproduce the
issue that you have faced. Can you elaborate the steps for me to reproduce
the issue?

I faced some issues with Ghost deployer when tenant's cleanup and tenant
lazy loading. I have fixed cleanup issues. Will commit it once verify.

Virtual host is not got loaded with tenant lazy loading. This is because
Ghost deployer deploys Ghost webapps instead of actual webapps when virtual
host request hits. This similar case happens for services as well.

Is it possible to make changes in Ghost deployer to deploy actual webapps
and actual services whenever a virtual host request hits the valve?

Thanks,
Reka


On Mon, Jul 30, 2012 at 1:00 PM, Reka Thirunavukkarasu wrote:

> Hi
>
> I'll look into this.
>
> Thanks,
> Reka
>
>
> On Mon, Jul 30, 2012 at 12:42 PM, Kishanthan Thangarajah <
> kishant...@wso2.com> wrote:
>
>> Hi,
>> Please test $subject for webapps. I encountered some issues while testing
>> some webapps on AS with both DepSync and GD enabled. Looks like some issues
>> with getting virtual host info from registry.
>>
>> [2012-07-30 11:26:46,572]  INFO
>> {org.wso2.carbon.webapp.mgt.utils.GhostWebappDeployerUtils} -  Removing
>> Ghost webapp and loading actual webapp : example.war
>> [2012-07-30 11:26:46,937]  INFO
>> {org.wso2.carbon.webapp.mgt.WebApplication} -  Unloaded webapp:
>> StandardEngine[Catalina].StandardHost[localhost].StandardContext[/example]
>> [2012-07-30 11:26:49,588] ERROR
>> {org.wso2.carbon.registry.core.jdbc.dao.JDBCResourceDAO} -  Failed to check
>> the existence of the resource /_system/governance/hostinfo. Timeout trying
>> to lock table "REG_RESOURCE"; SQL statement:
>> SELECT REG_VERSION FROM REG_RESOURCE WHERE REG_PATH_ID=? AND REG_NAME=?
>> AND REG_TENANT_ID=? [50200-140]
>> org.h2.jdbc.JdbcSQLException: Timeout trying to lock table
>> "REG_RESOURCE"; SQL statement:
>> SELECT REG_VERSION FROM REG_RESOURCE WHERE REG_PATH_ID=? AND REG_NAME=?
>> AND REG_TENANT_ID=? [50200-140]
>> at org.h2.message.DbException.getJdbcSQLException(DbException.java:327)
>>  at org.h2.message.DbException.get(DbException.java:167)
>> at org.h2.message.DbException.get(DbException.java:144)
>>  at org.h2.table.RegularTable.doLock(RegularTable.java:466)
>> at org.h2.table.RegularTable.lock(RegularTable.java:404)
>>  at org.h2.table.TableFilter.lock(TableFilter.java:139)
>> at org.h2.command.dml.Select.queryWithoutCache(Select.java:554)
>>  at org.h2.command.dml.Query.query(Query.java:241)
>> at org.h2.command.CommandContainer.query(CommandContainer.java:80)
>>  at org.h2.command.Command.executeQuery(Command.java:132)
>> at
>> org.h2.jdbc.JdbcPreparedStatement.executeQuery(JdbcPreparedStatement.java:96)
>>  at
>> org.wso2.carbon.registry.core.jdbc.dao.JDBCResourceDAO.getVersion(JDBCResourceDAO.java:197)
>> at
>> org.wso2.carbon.registry.core.jdbc.dao.JDBCResourceDAO.resourceExists(JDBCResourceDAO.java:147)
>>  at
>> org.wso2.carbon.registry.core.jdbc.dao.JDBCResourceDAO.resourceExists(JDBCResourceDAO.java:156)
>> at
>> org.wso2.carbon.registry.core.jdbc.Repository.resourceExists(Repository.java:159)
>>  at
>> org.wso2.carbon.registry.core.jdbc.EmbeddedRegistry.resourceExists(EmbeddedRegistry.java:644)
>> at
>> org.wso2.carbon.registry.core.caching.CacheBackedRegistry.resourceExists(CacheBackedRegistry.java:201)
>>  at
>> org.wso2.carbon.registry.core.session.UserRegistry.resourceExists(UserRegistry.java:624)
>> at
>> org.wso2.carbon.url.mapper.internal.registry.RegistryManager.getHostsFromRegistry(RegistryManager.java:278)
>>  at
>> org.wso2.carbon.url.mapper.internal.registry.RegistryManager.getAllMappingsFromRegistry(RegistryManager.java:246)
>> at
>> org.wso2.carbon.url.mapper.internal.util.HostUtil.getAllMappingsFromRegistry(HostUtil.java:172)
>>  at
>> org.wso2.carbon.url.mapper.internal.util.HostUtil.getMappingsPerWebApp(HostUtil.java:66)
>> at
>> org.wso2.carbon.url.mapper.internal.HotUpdateManager.getMappigsPerWebapp(HotUpdateManager.java:37)
>>  at
>> org.wso2.carbon.webapp.mgt.TomcatGenericWebappsDeployer.handleWebappDeployment(TomcatGenericWebappsDeployer.java:230)
>> at
>> org.wso2.carbon.webapp.mgt.TomcatGenericWebappsDeployer.handleWarWebappDeployment(TomcatGenericWebappsDeployer.java:181)
>>  at
>> org.wso2.carbon.webapp.mgt.TomcatGenericWebappsDeployer.handleHotDeployment(TomcatGenericWebappsDeployer.java:151)
>> at
>> org.wso2.carbon.webapp.mgt.TomcatGenericWebappsDeployer.deploy(TomcatGenericWebappsDeployer.java:115)
>>  at
>> org.wso2.carbon.webapp.mgt.utils.GhostWebappDeployerUtils.deployActualWebApp(GhostWebappDeployerUtils.java:146)
>> at
>> org.wso2.carbon.webapp.mgt.GhostWebappDeployerValve.handleWebapp(GhostWebappDeployerValve.java:139)
>>  at
>> org.wso2.carbon.webapp.mgt.GhostWebappDeployerValve.invoke(GhostWebappDeployerValve.java:89)
>> at
>> org.wso2.carbon.tomcat.ext.valves.TomcatValveContainer.invokeValves(TomcatValveContainer.java:47)
>>  at
>> org.wso2.carbon.tomcat.ext.valves.CompositeValve.invoke(C

Re: [Dev] Errors in the ESB Console which are related to ServerURL property of Carbon

2012-07-30 Thread Andun Gunawardena
Hi All,

I think I have found the problem here,the exception which is given below is
thrown by  org.wso2.carbon.core.services.authentication.AuthenticationUtil
 class's public static void validateRemoteAddress(String address) method.

Authentication Failed : Invalid remote address passed -
https://10.200.3.118:${carbon.management.port}${carbon.context}/services/

I have debugged the code and found that ESB is sending something like this
"https://${carbon.local.ip}:${carbon.management.port}${carbon.context}/services/";
as the argument for this method. So our first thought was this argument
 should be corrected like this "https://localhost:9444/service";. But even
if I pass this as the argument the method gives exceptions.
So I checked with Asela and this argument should be a IP address. Not
something like this. So have to correct the mediator in ESB. So I will look
in to that.

Thanks
AndunSLG

On Mon, Jul 30, 2012 at 10:29 PM, Dushan Abeyruwan  wrote:

> Hi
>I think security guys should answer this, because I see a significant
> changers in the entitlement mediator compare to 4.0.3
>
>403
>  configContext = cfgCtx;
>   *  serverUrl = getServerURL(serverUrl,
> msgContext.getConfigurationContext());*
> client = new EntitlementServiceClient(remoteServiceUrl,
> configContext,
> remoteServiceUserName, remoteServicePassword,
> serverUrl);
> decision = client.getDecision(userName, resourceName, action,
> env);
>
>   450
>*decision = client.getDecision(userName, resourceName, action,
> env);*
>
> entitlementDecision = new EntitlementDecision();
>
> entitlementDecision.setCachedTime(Calendar.getInstance().getTimeInMillis());
> entitlementDecision.setResponse(decision);
> simpleDecisionCache.put(key, entitlementDecision);
>
>and  *getServerURL is depreciated method in 450*
>
>private static String getServerURL(String url, ConfigurationContext
> config) {
> if (url.indexOf("${carbon.https.port}") != -1) {
> String httpsPort = CarbonUtils.getTransportPort(config,
> "https") + "";
> url = url.replace("${carbon.https.port}", httpsPort);
> }
>
> if (url.indexOf("${carbon.management.port}") != -1) {
> String httpsPort = CarbonUtils.getTransportPort(config,
> "https") + "";
> url = url.replace("${carbon.management.port}", httpsPort);
> }
>
> if (url.indexOf("${carbon.context}") != -1) {
> // We need not to worry about context here - just need the
> server url for logging
> url = url.replace("${carbon.context}", "");
> }
> return url;
> }
>
>
>
> cheers
> Dushan
>
>
> On Mon, Jul 30, 2012 at 9:30 PM, Afkham Azeez  wrote:
>
>> This means due to some reason the other two System properties are not
>> set. Need to find out why those are not set.
>>
>>
>> On Mon, Jul 30, 2012 at 6:20 PM, Andun Gunawardena wrote:
>>
>>> Hi,
>>>
>>> I have debugged the org.wso2.carbon.core.util.Utils class's
>>> method public static String replaceSystemProperty(String text) and notice
>>> that the the argument is passed as 
>>> "https://${carbon.local.ip}:${carbon.management.port}${carbon.context}/services/";
>>> and comes out as 
>>> "https://10.200.3.177:${carbon.management.port}${carbon.context}/services/";.
>>> Is there a error ? Why the IP address is only replaced while others are
>>> remain same.
>>>
>>> Thanks
>>> AndunSLG
>>>
>>>
>>> On Mon, Jul 30, 2012 at 6:11 PM, Dushan Abeyruwan wrote:
>>>
 Hi
 IMO Seems like its a bug with at ServerConfiguration it gives
 https://10.200.3.118:${carbon.management.port}${carbon.context}/services/
 , If I remember correctly we did some fix to mediation-initializer
 some time back,


 [Carbon-dev] ESB stratup failure java.net.MalformedURLException: For
 input string: "${carbon.management.port}${carbon.context}"
  carbon_dev
 x
 Rajika Kumarasiri 
 via
  wso2.org
  Feb 23
to carbon-dev
  [2012-02-23 15:54:11,995] ERROR - ServiceBusInitializer Error while
 parsing the server URL https://10.200.3.196:
 ${carbon.management.port}${carbon.context}/services/
 java.net.MalformedURLException: For input string:
 "${carbon.management.port}${carbon.context}"
  at java.net.URL.(URL.java:601)
 at java.net.URL.(URL.java:464)
 at java.net.URL.(URL.java:413)
  at org.wso2.carbon.mediation.initializer
 .ServiceBusInitializer.setHttpsProtForConsole(ServiceBusInitializer.java:323)
  at org.wso2.carbon.mediation.initializer.Servic

 Would this be related to the same ?


 cheers
 Dushan

  On Mon, Jul 30, 2012 at 6:02 PM, Andun Gunawardena wrote:

> Hi All,
>
> I am trying to do Test Automation for  t

Re: [Dev] [Bamboo-Build] WSO2 Carbon BRANCH > Platform_4.0.0 > #64 has FAILED. Change made by 12 authors.

2012-07-30 Thread Nirmal Fernando
Lb-endpoint failure is fixed. Missed a commit!

Sorry about that.

On Tue, Jul 31, 2012 at 7:54 AM, Bamboo  wrote:

>  [image: Failed]  WSO2 Carbon 
> BRANCH›
> Platform_4.0.0  › 
> #64
> failed
>
> This build occurred because it is a dependant of 
> WCB001-KER000-43
> .
>
> No failed tests found, a possible compilation error.
>Failing Jobs  Job
> Duration Tests[image: Failed]  Default 
> Job (Default
> Stage)  131 minutes  No tests found  
> Logs|
> Artifacts  
> Code
> Changes   View
> all 13 code changes
> nirmal 
> sub domain concept related changes  135816
> nandika
> bam publishing code updated
>  135808ruchira 
> Fixing 
> CARBON-13718
>  135807   10 more 
> changes… View
> Online  | Add 
> Comments
>
> This message was sent by Atlassian Bamboo .
>
> If you wish to stop receiving these emails edit your user 
> profileor notify
> your administrator .
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 

Thanks & regards,
Nirmal

Software Engineer- Platform Technologies Team, WSO2 Inc.
Mobile: +94715779733
Blog: http://nirmalfdo.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [Bamboo-Build] WSO2 Carbon BRANCH > Platform_4.0.0 > #64 has FAILED. Change made by 12 authors.

2012-07-30 Thread Bamboo

---
WSO2 Carbon BRANCH > Platform_4.0.0 > #64 failed.
---
This build occurred because it is a dependant of WCB001-KER000-43.
No failed tests found, a possible compilation error.

http://wso2.org/bamboo/browse/WCB001-PLA000-64/


--
Failing Jobs
--
  - Default Job (Default Stage): No tests found.



--
Code Changes
--
suho (135803):

>removing duplicates

dimuthul (135792):

>Fixing the appfactory.xml to be more consistent.
>
>

kasung (135789):

>Fix for WSAS-920



--
This message is automatically generated by Atlassian Bamboo___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Carbon 4.0.0/kernel/branch is frozen

2012-07-30 Thread Pradeep Fernando
Hi,

please note the subject. Only kernel L1 fixes are allowed.


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


Re: [Dev] Testing C-App deployment on AS with GD on/off

2012-07-30 Thread Isuru Suriarachchi
On Tue, Jul 31, 2012 at 1:25 AM, Kishanthan Thangarajah  wrote:

> Hi Isuru,
>
> On Fri, Jul 27, 2012 at 3:09 PM, Isuru Suriarachchi wrote:
>
>>
>>
>> On Fri, Jul 27, 2012 at 2:42 PM, Kishanthan Thangarajah <
>> kishant...@wso2.com> wrote:
>>
>>>
>>>
>>> On Fri, Jul 27, 2012 at 1:32 PM, Isuru Suriarachchi wrote:
>>>
 Kicha, I've fixed the MT C-App deployment bug which was reported by
 Charitha. Please test AS for following scenarios. Make sure you include a
 webapp in the C-App to test directory based webapp deployment.
>>>
>>>
>>> I'm a bit unclear here. You mean to include a war file or an exploded
>>> webapp directory in the CApp?
>>>
>>
>> Include a war file.. When it's extracted into the webapps directory,
>> there's an event coming into GD. That's what I wanted to be tested..
>>
>
> Did some testing on all possible scenarios came to my mind with GD ON and
> OFF including UI aspect aswell. Found one issue. Deleting the CApp from the
> UI unloads the included services only. But it does not unload the webapps
> from that CApp. Those webapps still remain. This does not occur with ST
> mode. but occurs only with a tenant.
>

We must fix this. May be the exploded webapp remains even though the war
file is deleted by the Capp webapp handler. Please check and fix.


>
> Also i want to mention about the even coming to GD when the webapp gets
> exploded. This is of no harm. Because, even though the event gets fired,
> the exploded webapp does not get deployed again. This is handled at
> WebappDeployer.
>

This is not an issue.

Thanks,
~Isuru


>
>>
>>>
 C-App ST - GD on/off
 C-App Tenants - GD on/off

 Test the UI as well in each and every scenario..

>>>
>>> Ok, Will check those scenarios.
>>>

 Thanks,
 ~Isuru

 --
 Isuru Suriarachchi
 Senior Technical Lead
 WSO2 Inc. http://wso2.com
 email : is...@wso2.com
 blog : http://isurues.wordpress.com/

 lean . enterprise . middleware


>>>
>>>
>>> --
>>> *Kishanthan Thangarajah*
>>> Software Engineer,
>>> Development Technologies Team,
>>> WSO2, Inc.
>>> lean.enterprise.middleware
>>>
>>> Mobile - +94773426635
>>> Blog - *http://kishanthan.wordpress.com*
>>> Twitter - *http://twitter.com/kishanthan*
>>>
>>>
>>
>>
>> --
>> Isuru Suriarachchi
>> Senior Technical Lead
>> WSO2 Inc. http://wso2.com
>> email : is...@wso2.com
>> blog : http://isurues.wordpress.com/
>>
>> lean . enterprise . middleware
>>
>>
>
>
> --
> *Kishanthan Thangarajah*
> Software Engineer,
> Development Technologies Team,
> WSO2, Inc.
> lean.enterprise.middleware
>
> Mobile - +94773426635
> Blog - *http://kishanthan.wordpress.com*
> Twitter - *http://twitter.com/kishanthan*
>
>


-- 
Isuru Suriarachchi
Senior Technical Lead
WSO2 Inc. http://wso2.com
email : is...@wso2.com
blog : http://isurues.wordpress.com/

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


Re: [Dev] What is the curl command for deleting an API in API-M?

2012-07-30 Thread Samisa Abeysinghe
On Mon, Jul 30, 2012 at 10:15 PM, Sumedha Rubasinghe wrote:

> curl -X POST  $SERVER/publisher/site/blocks/item-add/ajax/remove.jag -d
> 'action=removeAPI&name=MYAPI1&version=1.0.0&provider=PROVIDER1';
>

Thanks, will try.

>
>
> On Mon, Jul 30, 2012 at 9:33 PM, Samisa Abeysinghe wrote:
>
>> $subject?
>>
>> Thanks,
>> Samisa...
>>
>> Samisa Abeysinghe
>> VP Engineering
>> WSO2 Inc.
>> http://wso2.com
>> http://wso2.org
>>
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> /sumedha
> +94 773017743
>
Thanks,
Samisa...

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


[Dev] [Bamboo-Build] WSO2 Carbon BRANCH > P2-Repo > #6 has FAILED

2012-07-30 Thread Bamboo

---
WSO2 Carbon BRANCH > P2-Repo > #6 failed.
---
This build was manually triggered by BambooBuilder.
No failed tests found, a possible compilation error.

http://wso2.org/bamboo/browse/WCB001-P2R000-6/


--
Failing Jobs
--
  - Default Job (Default Stage): No tests found.




--
This message is automatically generated by Atlassian Bamboo___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [Bamboo-Build] WSO2 Carbon BRANCH > Platform_4.0.0 > #63 has FAILED. Change made by shammi.

2012-07-30 Thread Bamboo

---
WSO2 Carbon BRANCH > Platform_4.0.0 > #63 failed.
---
This build was manually triggered by BambooBuilder.
No failed tests found, a possible compilation error.

http://wso2.org/bamboo/browse/WCB001-PLA000-63/


--
Failing Jobs
--
  - Default Job (Default Stage): No tests found.



--
Code Changes
--
shammi (135786):

>Fixing bam2 component parent version and adding relative paths



--
This message is automatically generated by Atlassian Bamboo___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Testing C-App deployment on AS with GD on/off

2012-07-30 Thread Kishanthan Thangarajah
Hi Isuru,

On Fri, Jul 27, 2012 at 3:09 PM, Isuru Suriarachchi  wrote:

>
>
> On Fri, Jul 27, 2012 at 2:42 PM, Kishanthan Thangarajah <
> kishant...@wso2.com> wrote:
>
>>
>>
>> On Fri, Jul 27, 2012 at 1:32 PM, Isuru Suriarachchi wrote:
>>
>>> Kicha, I've fixed the MT C-App deployment bug which was reported by
>>> Charitha. Please test AS for following scenarios. Make sure you include a
>>> webapp in the C-App to test directory based webapp deployment.
>>
>>
>> I'm a bit unclear here. You mean to include a war file or an exploded
>> webapp directory in the CApp?
>>
>
> Include a war file.. When it's extracted into the webapps directory,
> there's an event coming into GD. That's what I wanted to be tested..
>

Did some testing on all possible scenarios came to my mind with GD ON and
OFF including UI aspect aswell. Found one issue. Deleting the CApp from the
UI unloads the included services only. But it does not unload the webapps
from that CApp. Those webapps still remain. This does not occur with ST
mode. but occurs only with a tenant.

Also i want to mention about the even coming to GD when the webapp gets
exploded. This is of no harm. Because, even though the event gets fired,
the exploded webapp does not get deployed again. This is handled at
WebappDeployer.

>
>
>>
>>> C-App ST - GD on/off
>>> C-App Tenants - GD on/off
>>>
>>> Test the UI as well in each and every scenario..
>>>
>>
>> Ok, Will check those scenarios.
>>
>>>
>>> Thanks,
>>> ~Isuru
>>>
>>> --
>>> Isuru Suriarachchi
>>> Senior Technical Lead
>>> WSO2 Inc. http://wso2.com
>>> email : is...@wso2.com
>>> blog : http://isurues.wordpress.com/
>>>
>>> lean . enterprise . middleware
>>>
>>>
>>
>>
>> --
>> *Kishanthan Thangarajah*
>> Software Engineer,
>> Development Technologies Team,
>> WSO2, Inc.
>> lean.enterprise.middleware
>>
>> Mobile - +94773426635
>> Blog - *http://kishanthan.wordpress.com*
>> Twitter - *http://twitter.com/kishanthan*
>>
>>
>
>
> --
> Isuru Suriarachchi
> Senior Technical Lead
> WSO2 Inc. http://wso2.com
> email : is...@wso2.com
> blog : http://isurues.wordpress.com/
>
> lean . enterprise . middleware
>
>


-- 
*Kishanthan Thangarajah*
Software Engineer,
Development Technologies Team,
WSO2, Inc.
lean.enterprise.middleware

Mobile - +94773426635
Blog - *http://kishanthan.wordpress.com*
Twitter - *http://twitter.com/kishanthan*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] ESB Proxy saving with NULL information due to the Session out Issue

2012-07-30 Thread Afkham Azeez
Dushan,
There is a fundamental problem in the way our UIs work. There is no browser
level caching unlike GMail etc. Forget about this session persistence
stuff. Even without session persistence, if the user had spent a long time
writing a proxy service, and then when he tries to save it, the session
expires, everything is lost. So, in any case this is broken. This is
something that needs to be fixed.

Azeez

On Mon, Jul 30, 2012 at 10:21 PM, Dushan Abeyruwan  wrote:

> Hi
>Yes Preedp has valid argument on this... but I would want to know up to
> which extend the session will get persists , which means if tomcat support
> session persistence, IMO it should store whole session information (wht
> ever in session), if so we may be able to revoke the same session status,
> but I think we may be restricting this (i guess) , anyway if we need to
> validate UI event, even at that stage we may required all the proxy
> information and  should be able to persists them otherwise anyway we
> gonna loose these information..
>
> other thoughts ?
>
> cheers
> Dushan
>
> On Mon, Jul 30, 2012 at 6:35 PM, Pradeep Fernando wrote:
>
>> Hi,
>>
>> Is it possible to delete the 'NULL' proxy and create a new one. What
>> happens if the session times out when im editing a already created proxy
>> service. ?
>>
>> will the existing values get overriden by the null values ?
>>
>> --Pradeep
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Dushan Abeyruwan
> *Senior Software Engineer*
> *Integration Technologies Team*
> *WSO2 Inc. http://wso2.com/*
> *Mobile:(+94)714408632*
>
>


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


Re: [Dev] Need to modify wso2server.sh/bat to fix BAM-538

2012-07-30 Thread Kasun Weranga
On Mon, Jul 30, 2012 at 2:43 PM, Afkham Azeez  wrote:

> Have separate files for BAM, or append this during the BAM build.
>

Thanks Azeez, I am planing to use separate files at bam2 product level
since I couldn't find a proper way to append the required change during the
build time.
Also when fixing this we need to change the current jamm orbit bundle,
because existing bundle doesn't have Premain-Class manifest attribute. I'll
upgrade the version of current orbit bundle and upload it to maven repo.
Hope this is the procedure I need to follow when changing the exiting orbit
bundles in branch.


Thanks,
KasunW.


> On Mon, Jul 30, 2012 at 1:58 PM, Kasun Weranga  wrote:
>
>> Hi all,
>>
>>
>> When using Cassandra with some average load it prints following warning
>> in bam console.
>>
>> "MemoryMeter uninitialized (jamm not specified as java agent); assuming
>> liveRatio of 10.0. Usually this means cassandra-env.sh disabled jamm
>> because you are using a buggy JRE; upgrade to the Sun JRE instead"
>>
>> In order to fix this, We need to add -javaagent:/jamm.jar to
>> the wso2server.sh/bat and also org.github.jamm package to the
>> launch.ini, But this is only specific to products that uses Cassandra. So
>> adding above will affect to whole platform.
>> so is there any way to solve this problem?
>>
>>  Thanks,
>> KasunW.
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> *Afkham Azeez*
> Director of Architecture; WSO2, Inc.; http://wso2.com
> Member; Apache Software Foundation; http://www.apache.org/
> * **
> email: **az...@wso2.com* * cell: +94 77 3320919
> blog: **http://blog.afkham.org* *
> twitter: **http://twitter.com/afkham_azeez*
> *
> linked-in: **http://lk.linkedin.com/in/afkhamazeez*
> *
> *
> *Lean . Enterprise . Middleware*
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Mgt & worker node separation patches

2012-07-30 Thread Nirmal Fernando
Hi Azeez,

On Mon, Jul 30, 2012 at 10:27 PM, Afkham Azeez  wrote:

> Folks,
> The 3 attached patches provide the functionality for the mgt & worker node
> separation. Unfortunately, I don't have the branch checked out & am unable
> to do so at this point due to the time it would take to build everything.
> I'd appreciate it if somebody can pick this up & commit to the branch.
>

I'll commit these!

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


-- 

Thanks & regards,
Nirmal

Software Engineer- Platform Technologies Team, WSO2 Inc.
Mobile: +94715779733
Blog: http://nirmalfdo.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Errors in the ESB Console which are related to ServerURL property of Carbon

2012-07-30 Thread Dushan Abeyruwan
Hi
   I think security guys should answer this, because I see a significant
changers in the entitlement mediator compare to 4.0.3

   403
 configContext = cfgCtx;
  *  serverUrl = getServerURL(serverUrl,
msgContext.getConfigurationContext());*
client = new EntitlementServiceClient(remoteServiceUrl,
configContext,
remoteServiceUserName, remoteServicePassword,
serverUrl);
decision = client.getDecision(userName, resourceName, action,
env);

  450
   *decision = client.getDecision(userName, resourceName, action, env);*

entitlementDecision = new EntitlementDecision();

entitlementDecision.setCachedTime(Calendar.getInstance().getTimeInMillis());
entitlementDecision.setResponse(decision);
simpleDecisionCache.put(key, entitlementDecision);

   and  *getServerURL is depreciated method in 450*

   private static String getServerURL(String url, ConfigurationContext
config) {
if (url.indexOf("${carbon.https.port}") != -1) {
String httpsPort = CarbonUtils.getTransportPort(config,
"https") + "";
url = url.replace("${carbon.https.port}", httpsPort);
}

if (url.indexOf("${carbon.management.port}") != -1) {
String httpsPort = CarbonUtils.getTransportPort(config,
"https") + "";
url = url.replace("${carbon.management.port}", httpsPort);
}

if (url.indexOf("${carbon.context}") != -1) {
// We need not to worry about context here - just need the
server url for logging
url = url.replace("${carbon.context}", "");
}
return url;
}



cheers
Dushan


On Mon, Jul 30, 2012 at 9:30 PM, Afkham Azeez  wrote:

> This means due to some reason the other two System properties are not set.
> Need to find out why those are not set.
>
>
> On Mon, Jul 30, 2012 at 6:20 PM, Andun Gunawardena  wrote:
>
>> Hi,
>>
>> I have debugged the org.wso2.carbon.core.util.Utils class's method public
>> static String replaceSystemProperty(String text) and notice that the
>> the argument is passed as 
>> "https://${carbon.local.ip}:${carbon.management.port}${carbon.context}/services/";
>> and comes out as 
>> "https://10.200.3.177:${carbon.management.port}${carbon.context}/services/";.
>> Is there a error ? Why the IP address is only replaced while others are
>> remain same.
>>
>> Thanks
>> AndunSLG
>>
>>
>> On Mon, Jul 30, 2012 at 6:11 PM, Dushan Abeyruwan wrote:
>>
>>> Hi
>>> IMO Seems like its a bug with at ServerConfiguration it gives
>>> https://10.200.3.118:${carbon.management.port}${carbon.context}/services/
>>> , If I remember correctly we did some fix to mediation-initializer some
>>> time back,
>>>
>>>
>>> [Carbon-dev] ESB stratup failure java.net.MalformedURLException: For
>>> input string: "${carbon.management.port}${carbon.context}"
>>>  carbon_dev
>>> x
>>> Rajika Kumarasiri 
>>> via
>>>  wso2.org
>>>  Feb 23
>>>to carbon-dev
>>>  [2012-02-23 15:54:11,995] ERROR - ServiceBusInitializer Error while
>>> parsing the server URL https://10.200.3.196:
>>> ${carbon.management.port}${carbon.context}/services/
>>> java.net.MalformedURLException: For input string:
>>> "${carbon.management.port}${carbon.context}"
>>>  at java.net.URL.(URL.java:601)
>>> at java.net.URL.(URL.java:464)
>>> at java.net.URL.(URL.java:413)
>>>  at org.wso2.carbon.mediation.initializer
>>> .ServiceBusInitializer.setHttpsProtForConsole(ServiceBusInitializer.java:323)
>>>  at org.wso2.carbon.mediation.initializer.Servic
>>>
>>> Would this be related to the same ?
>>>
>>>
>>> cheers
>>> Dushan
>>>
>>>  On Mon, Jul 30, 2012 at 6:02 PM, Andun Gunawardena wrote:
>>>
 Hi All,

 I am trying to do Test Automation for  the Entitlement Mediator. I
 have configured the ESB, IS as given in 
 [1].
 When the request is come to the created Entitlement Proxy At the ESB, there
 is unexpected error shown in the console of IS. It is given below. It
 related to the ServerURL system property of Carbon. What will be the
 solution ?

 Thanks
 AndunSLG

 [1] -
 http://wso2.org/library/articles/2010/10/using-xacml-fine-grained-authorization-wso2-platform

 Exception Sequence :

 [2012-07-30 17:51:06,187]  WARN
 {org.wso2.carbon.core.services.authentication.AuthenticationUtil} -  Could
 not find IP address for domain name : https://10.200.3.118:
 ${carbon.management.port}${carbon.context}/services/
 [2012-07-30 17:51:06,188] ERROR
 {org.wso2.carbon.core.services.authentication.AuthenticationAdmin} -  
 Authentication
 Failed : Invalid remote address passed - https://10.200.3.118:
 ${carbon.management.port}${carbon.context}/services/
 org.wso2.carbon.co

Re: [Dev] ESB Proxy saving with NULL information due to the Session out Issue

2012-07-30 Thread Dushan Abeyruwan
Hi
   Yes Preedp has valid argument on this... but I would want to know up to
which extend the session will get persists , which means if tomcat support
session persistence, IMO it should store whole session information (wht
ever in session), if so we may be able to revoke the same session status,
but I think we may be restricting this (i guess) , anyway if we need to
validate UI event, even at that stage we may required all the proxy
information and  should be able to persists them otherwise anyway we
gonna loose these information..

other thoughts ?

cheers
Dushan

On Mon, Jul 30, 2012 at 6:35 PM, Pradeep Fernando  wrote:

> Hi,
>
> Is it possible to delete the 'NULL' proxy and create a new one. What
> happens if the session times out when im editing a already created proxy
> service. ?
>
> will the existing values get overriden by the null values ?
>
> --Pradeep
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


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


Re: [Dev] What is the curl command for deleting an API in API-M?

2012-07-30 Thread Sumedha Rubasinghe
curl -X POST  $SERVER/publisher/site/blocks/item-add/ajax/remove.jag -d
'action=removeAPI&name=MYAPI1&version=1.0.0&provider=PROVIDER1';


On Mon, Jul 30, 2012 at 9:33 PM, Samisa Abeysinghe  wrote:

> $subject?
>
> Thanks,
> Samisa...
>
> Samisa Abeysinghe
> VP Engineering
> WSO2 Inc.
> http://wso2.com
> http://wso2.org
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


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


[Dev] What is the curl command for deleting an API in API-M?

2012-07-30 Thread Samisa Abeysinghe
$subject?

Thanks,
Samisa...

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


Re: [Dev] Errors in the ESB Console which are related to ServerURL property of Carbon

2012-07-30 Thread Afkham Azeez
This means due to some reason the other two System properties are not set.
Need to find out why those are not set.


On Mon, Jul 30, 2012 at 6:20 PM, Andun Gunawardena  wrote:

> Hi,
>
> I have debugged the org.wso2.carbon.core.util.Utils class's method public
> static String replaceSystemProperty(String text) and notice that the
> the argument is passed as 
> "https://${carbon.local.ip}:${carbon.management.port}${carbon.context}/services/";
> and comes out as 
> "https://10.200.3.177:${carbon.management.port}${carbon.context}/services/";.
> Is there a error ? Why the IP address is only replaced while others are
> remain same.
>
> Thanks
> AndunSLG
>
>
> On Mon, Jul 30, 2012 at 6:11 PM, Dushan Abeyruwan  wrote:
>
>> Hi
>> IMO Seems like its a bug with at ServerConfiguration it gives
>> https://10.200.3.118:${carbon.management.port}${carbon.context}/services/
>> , If I remember correctly we did some fix to mediation-initializer some
>> time back,
>>
>>
>> [Carbon-dev] ESB stratup failure java.net.MalformedURLException: For
>> input string: "${carbon.management.port}${carbon.context}"
>>  carbon_dev
>> x
>> Rajika Kumarasiri 
>> via
>>  wso2.org
>>  Feb 23
>>to carbon-dev
>>  [2012-02-23 15:54:11,995] ERROR - ServiceBusInitializer Error while
>> parsing the server URL https://10.200.3.196:
>> ${carbon.management.port}${carbon.context}/services/
>> java.net.MalformedURLException: For input string:
>> "${carbon.management.port}${carbon.context}"
>>  at java.net.URL.(URL.java:601)
>> at java.net.URL.(URL.java:464)
>> at java.net.URL.(URL.java:413)
>>  at org.wso2.carbon.mediation.initializer
>> .ServiceBusInitializer.setHttpsProtForConsole(ServiceBusInitializer.java:323)
>>  at org.wso2.carbon.mediation.initializer.Servic
>>
>> Would this be related to the same ?
>>
>>
>> cheers
>> Dushan
>>
>>  On Mon, Jul 30, 2012 at 6:02 PM, Andun Gunawardena wrote:
>>
>>> Hi All,
>>>
>>> I am trying to do Test Automation for  the Entitlement Mediator. I
>>> have configured the ESB, IS as given in 
>>> [1].
>>> When the request is come to the created Entitlement Proxy At the ESB, there
>>> is unexpected error shown in the console of IS. It is given below. It
>>> related to the ServerURL system property of Carbon. What will be the
>>> solution ?
>>>
>>> Thanks
>>> AndunSLG
>>>
>>> [1] -
>>> http://wso2.org/library/articles/2010/10/using-xacml-fine-grained-authorization-wso2-platform
>>>
>>> Exception Sequence :
>>>
>>> [2012-07-30 17:51:06,187]  WARN
>>> {org.wso2.carbon.core.services.authentication.AuthenticationUtil} -  Could
>>> not find IP address for domain name : https://10.200.3.118:
>>> ${carbon.management.port}${carbon.context}/services/
>>> [2012-07-30 17:51:06,188] ERROR
>>> {org.wso2.carbon.core.services.authentication.AuthenticationAdmin} -  
>>> Authentication
>>> Failed : Invalid remote address passed - https://10.200.3.118:
>>> ${carbon.management.port}${carbon.context}/services/
>>> org.wso2.carbon.core.common.AuthenticationException: Authentication
>>> Failed : Invalid remote address passed - https://10.200.3.118:
>>> ${carbon.management.port}${carbon.context}/services/
>>> at
>>> org.wso2.carbon.core.services.authentication.AuthenticationUtil.validateRemoteAddress(AuthenticationUtil.java:178)
>>>  at
>>> org.wso2.carbon.core.services.authentication.AuthenticationAdmin.login(AuthenticationAdmin.java:86)
>>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>  at
>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>> at
>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>>  at java.lang.reflect.Method.invoke(Method.java:597)
>>> at
>>> org.apache.axis2.rpc.receivers.RPCUtil.invokeServiceClass(RPCUtil.java:212)
>>>  at
>>> org.apache.axis2.rpc.receivers.RPCMessageReceiver.invokeBusinessLogic(RPCMessageReceiver.java:117)
>>> at
>>> org.apache.axis2.receivers.AbstractInOutMessageReceiver.invokeBusinessLogic(AbstractInOutMessageReceiver.java:40)
>>>  at
>>> org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:110)
>>> at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java: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)

Re: [Dev] Platform Build failure in branch

2012-07-30 Thread Shammi Jayasinghe
Fixed with revision 135786

Thanks
Shammi

On Mon, Jul 30, 2012 at 8:31 PM, Ranga Siriwardena  wrote:

> Hi,
>
> $Subject.
>
> [INFO] Scanning for projects...
> [ERROR] The build could not read 16 projects -> [Help 1]
> [ERROR]
> [ERROR]   The project
> org.wso2.carbon:org.wso2.carbon.bam2.analyzer:4.0.0-SNAPSHOT
> (/home/builder/carbon/platform/4.0.0/components/bam2/org.wso2.carbon.bam.analyzer/4.0.0/pom.xml)
> has 1 error
> [ERROR] Non-resolvable parent POM: Could not find artifact
> org.wso2.carbon:bam2:pom:4.0.0-SNAPSHOT and 'parent.relativePath' points at
> wrong local POM @ line 22, column 13 -> [Help 2]
> [ERROR]
> [ERROR]   The project
> org.wso2.carbon:org.wso2.carbon.bam2.service:4.0.0-SNAPSHOT
> (/home/builder/carbon/platform/4.0.0/components/bam2/org.wso2.carbon.bam.service/4.0.0/pom.xml)
> has 1 error
> [ERROR] Non-resolvable parent POM: Could not find artifact
> org.wso2.carbon:bam2:pom:4.0.0-SNAPSHOT and 'parent.relativePath' points at
> wrong local POM @ line 5, column 13 -> [Help 2]
> [ERROR]
> [ERROR]   The project
> org.wso2.carbon:org.wso2.carbon.bam2.analyzer.ui:4.0.0-SNAPSHOT
> (/home/builder/carbon/platform/4.0.0/components/bam2/org.wso2.carbon.bam.analyzer.ui/4.0.0/pom.xml)
> has 1 error
> [ERROR] Non-resolvable parent POM: Could not find artifact
> org.wso2.carbon:bam2:pom:4.0.0-SNAPSHOT and 'parent.relativePath' points at
> wrong local POM @ line 19, column 13 -> [Help 2]
> [ERROR]
> [ERROR]   The project
> org.wso2.carbon:org.wso2.carbon.bam2.receiver:4.0.0-SNAPSHOT
> (/home/builder/carbon/platform/4.0.0/components/bam2/org.wso2.carbon.bam.receiver/4.0.0/pom.xml)
> has 1 error
> [ERROR] Non-resolvable parent POM: Could not find artifact
> org.wso2.carbon:bam2:pom:4.0.0-SNAPSHOT and 'parent.relativePath' points at
> wrong local POM @ line 22, column 13 -> [Help 2]
> [ERROR]
> [ERROR]   The project
> org.wso2.carbon:org.wso2.carbon.bam2.utils:4.0.0-SNAPSHOT
> (/home/builder/carbon/platform/4.0.0/components/bam2/org.wso2.carbon.bam.utils/4.0.0/pom.xml)
> has 1 error
> [ERROR] Non-resolvable parent POM: Could not find artifact
> org.wso2.carbon:bam2:pom:4.0.0-SNAPSHOT and 'parent.relativePath' points at
> wrong local POM @ line 5, column 13 -> [Help 2]
> [ERROR]
> [ERROR]   The project
> org.wso2.carbon:org.wso2.carbon.bam2.presentation:4.0.0-SNAPSHOT
> (/home/builder/carbon/platform/4.0.0/components/bam2/org.wso2.carbon.bam.presentation/4.0.0/pom.xml)
> has 1 error
> [ERROR] Non-resolvable parent POM: Failure to find
> org.wso2.carbon:bam2:pom:4.0.0-SNAPSHOT in
> http://maven.wso2.org/nexus/content/groups/wso2-public/ was cached in the
> local repository, resolution will not be reattempted until the update
> interval of wso2-nexus has elapsed or updates are forced and
> 'parent.relativePath' points at wrong local POM @ line 5, column 13 ->
> [Help 2]
> [ERROR]
> [ERROR]   The project
> org.wso2.carbon:org.wso2.carbon.bam2.core:4.0.0-SNAPSHOT
> (/home/builder/carbon/platform/4.0.0/components/bam2/org.wso2.carbon.bam.core/4.0.0/pom.xml)
> has 1 error
> [ERROR] Non-resolvable parent POM: Could not find artifact
> org.wso2.carbon:bam2:pom:4.0.0-SNAPSHOT and 'parent.relativePath' points at
> wrong local POM @ line 5, column 13 -> [Help 2]
> [ERROR]
> [ERROR]   The project
> org.wso2.carbon:org.wso2.carbon.bam2.core.ui:4.0.0-SNAPSHOT
> (/home/builder/carbon/platform/4.0.0/components/bam2/org.wso2.carbon.bam.core.ui/4.0.0/pom.xml)
> has 1 error
> [ERROR] Non-resolvable parent POM: Could not find artifact
> org.wso2.carbon:bam2:pom:4.0.0-SNAPSHOT and 'parent.relativePath' points at
> wrong local POM @ line 5, column 13 -> [Help 2]
> [ERROR]
> [ERROR]   The project
> org.wso2.carbon:org.wso2.carbon.bam2.clustermonitor.ui:4.0.0-SNAPSHOT
> (/home/builder/carbon/platform/4.0.0/components/bam2/org.wso2.carbon.bam.clustermonitor.ui/4.0.0/pom.xml)
> has 1 error
> [ERROR] Non-resolvable parent POM: Could not find artifact
> org.wso2.carbon:bam2:pom:4.0.0-SNAPSHOT and 'parent.relativePath' points at
> wrong local POM @ line 19, column 13 -> [Help 2]
> [ERROR]
> [ERROR]   The project
> org.wso2.carbon:org.wso2.carbon.bam.gadgetgenwizard:4.0.0-SNAPSHOT
> (/home/builder/carbon/platform/4.0.0/components/bam2/org.wso2.carbon.bam.gadgetgenwizard/4.0.0/pom.xml)
> has 1 error
> [ERROR] Non-resolvable parent POM: Could not find artifact
> org.wso2.carbon:bam2:pom:4.0.0-SNAPSHOT and 'parent.relativePath' points at
> wrong local POM @ line 5, column 13 -> [Help 2]
> [ERROR]
> [ERROR]   The project
> org.wso2.carbon:org.wso2.carbon.bam.gadgetgenwizard.ui:4.0.0-SNAPSHOT
> (/home/builder/carbon/platform/4.0.0/components/bam2/org.wso2.carbon.bam.gadgetgenwizard.ui/4.0.0/pom.xml)
> has 1 error
> [ERROR] Non-resolvable parent POM: Could not find artifact
> org.wso2.carbon:bam2:pom:4.0.0-SNAPSHOT and 'parent.relativePath' points at
> wrong local POM @ line 19, column 13 -> [Help 2]
> [ERROR]
> [ERROR]   The project
> org.wso2.carbon:org.wso2.carbon.bam.toolbox.deployer:4.0.

Re: [Dev] Carbon 4 Orbit/Kernel/Platform Branching

2012-07-30 Thread Shammi Jayasinghe
Added DSS and BAM2 to bamboo build.

Thanks
Shammi

On Mon, Jul 30, 2012 at 8:14 PM, Kasun Weranga  wrote:

>
>
> On Fri, Jul 27, 2012 at 4:56 PM, Shammi Jayasinghe wrote:
>
>> Hi,
>>
>>  Still Following products have not followed the branching folder
>> structure.
>>
>> BAM2
>>
>
> Done.
>
>
>> BRS
>> DSS
>> GS
>> LB
>>
>> Release Managers , Please follow the branching folder structure as soon
>> as possible, since there can be problems when changing these at the last
>> moment. We will add these products to bamboo once they moved to the correct
>> structure.
>>
>> Thanks
>> Shammi
>>
>> On Wed, Jul 25, 2012 at 2:36 PM, Amila Maha Arachchi wrote:
>>
>>> Hi RMs,
>>>
>>> You need to branch your products with respective version numbers as we
>>> did in 3.2.0 branch. Please note this and do the needful. Otherwise there
>>> will be problems when you want are doing minor releases on this branch.
>>>
>>> Regards,
>>> AmilaM.
>>>
>>>
>>> On Wed, Jul 25, 2012 at 2:06 PM, Amila Maha Arachchi wrote:
>>>
 Hi Pradeep,

 When branching the products, folder structure should be
 product-name/version/. , right? But I dont see this in
 some/any products who are already building packs from the branch. For
 example ESB, G-Reg..

 Regards,
 AmilaM.

 On Fri, Jul 20, 2012 at 3:57 PM, Pradeep Fernando wrote:

>
> Hi,
>
> we are done with (i wont say done done. :) ) branching carbon for C4
> release.
>
> 1. Obit branch  -
> https://svn.wso2.org/repos/wso2/carbon/orbit/branches/4.0.0/
>  All the obit jars been uploaded to dist.wso2.org/maven2. Ideally
> you dont have to build orbit. Recently uploaded jars may take some time to
> get cached. (one day).
>
> 2. Kernel branch -
> https://svn.wso2.org/repos/wso2/carbon/kernel/branches/4.0.0
>
> during the kernel branching we had the following changes in the
> dependencies/orbit versions. (we had to increase versions of some project,
> since some of them were released with carbon 3.2.0 release)
>
>  h2-database  1.2.140-wso2v2 1.2.140-wso2v3
> jsrCache 1.1-wso2v1   1.1.0-wso2v2
> neethi   2.0.4-wso2v2 2.0.4-wso2v4
> securevault  1.0.01.0.0-wso2v2
> ciphertool  1.0.01.0.0-wso2v2
> wsdl4j  1.6.2-wso2v3  1.6.2-wso2v4
> xmlschema   1.4.7-wso2v1  1.4.7-wso2v2
>
>
> orbit
> ---
> axis2-jaxbri  1.6.1.wso2v1  1.6.1.wso2v5
> axis2-jibx1.6.1.wso2v1  1.6.1.wso2v5
> h2-database-engine  1.2.140.wso2v2  1.2.140.wso2v3
> jsr107cache1.1.wso2v1   1.1.0.wso2v2
> neethi 2.0.4.wso2v3   2.0.4.wso2v4
> wsdl4j 1.6.2.wso2v3   1.6.2.wso2v4
> XmlSchema  1.4.7.wso2v1   1.4.7.wso2v2
>
>
>
> 3. platform branch -
> https://svn.wso2.org/repos/wso2/carbon/platform/branches/4.0.0/
>
>we had the following changes in the versions during the platform
> branch.
>
> amber  0.22.1358727-wso2v1 same
> andes   0.13-wso2v1  0.13.0-wso2v1
> cassandra 1.1.0-wso2v1 1.1.0-wso2v2
> closure-js-plugin1.0-SNAPSHOT  1.0 (released)
> datanucleus  3.0.1
> 3.0.1-wso2v1
> hadoop 0.20.203.1-wso2v1  0.20.203.1-wso2v1
> hector  0.7.0-23-wso2v1
> 0.7.0.23-wso2v1
> hive 0.8.1-wso2v2  0.8.1-wso2v3
> rampart1.6.1-wso2v4  same
> snappy1.0.4.1-wso2v1   same
> svn-client-adaptor 1.6.18.wso2v1  1.6.18.wso2v2
> synapse  2.1.0-wso2v6same
> thrift0.5
> 0.5.0-wso2v2
> scm1.7.wso2v1  1.7.0-wso2v1
>
>
> externals:
>
> commons-vfs2.0-wso2v32.0-wso2v4
> shindig  removed
> sandesha   1.6.1-wso2v1 1.6.1-wso2v2
> qpid   0.12-wso2v1 same
> httpcore-nio4.1.3-wso2v2 same
> siddhi 1.0.0-SNAPSHOT 1.0.0-wso2v1
> balana   1.0.0-SNAPSHOT  1.0.0-wso2v1
> xferremoved
> xkms  removed
> ciphertoolremoved
> pwprovider  removed
> oauth removed
> charon   1.0.0-SNAPSHOT 1.0.0-wso2v1
> throttle2 removed
> caching  removed
> eventing removed
> wsdlvalidator   1.2.0-SNAPSHOT 1.2.0-wso2v1
> throttle3.3.0 3.3.0-wso2v1
> o

[Dev] Platform Build failure in branch

2012-07-30 Thread Ranga Siriwardena
Hi,

$Subject.

[INFO] Scanning for projects...
[ERROR] The build could not read 16 projects -> [Help 1]
[ERROR]
[ERROR]   The project
org.wso2.carbon:org.wso2.carbon.bam2.analyzer:4.0.0-SNAPSHOT
(/home/builder/carbon/platform/4.0.0/components/bam2/org.wso2.carbon.bam.analyzer/4.0.0/pom.xml)
has 1 error
[ERROR] Non-resolvable parent POM: Could not find artifact
org.wso2.carbon:bam2:pom:4.0.0-SNAPSHOT and 'parent.relativePath' points at
wrong local POM @ line 22, column 13 -> [Help 2]
[ERROR]
[ERROR]   The project
org.wso2.carbon:org.wso2.carbon.bam2.service:4.0.0-SNAPSHOT
(/home/builder/carbon/platform/4.0.0/components/bam2/org.wso2.carbon.bam.service/4.0.0/pom.xml)
has 1 error
[ERROR] Non-resolvable parent POM: Could not find artifact
org.wso2.carbon:bam2:pom:4.0.0-SNAPSHOT and 'parent.relativePath' points at
wrong local POM @ line 5, column 13 -> [Help 2]
[ERROR]
[ERROR]   The project
org.wso2.carbon:org.wso2.carbon.bam2.analyzer.ui:4.0.0-SNAPSHOT
(/home/builder/carbon/platform/4.0.0/components/bam2/org.wso2.carbon.bam.analyzer.ui/4.0.0/pom.xml)
has 1 error
[ERROR] Non-resolvable parent POM: Could not find artifact
org.wso2.carbon:bam2:pom:4.0.0-SNAPSHOT and 'parent.relativePath' points at
wrong local POM @ line 19, column 13 -> [Help 2]
[ERROR]
[ERROR]   The project
org.wso2.carbon:org.wso2.carbon.bam2.receiver:4.0.0-SNAPSHOT
(/home/builder/carbon/platform/4.0.0/components/bam2/org.wso2.carbon.bam.receiver/4.0.0/pom.xml)
has 1 error
[ERROR] Non-resolvable parent POM: Could not find artifact
org.wso2.carbon:bam2:pom:4.0.0-SNAPSHOT and 'parent.relativePath' points at
wrong local POM @ line 22, column 13 -> [Help 2]
[ERROR]
[ERROR]   The project
org.wso2.carbon:org.wso2.carbon.bam2.utils:4.0.0-SNAPSHOT
(/home/builder/carbon/platform/4.0.0/components/bam2/org.wso2.carbon.bam.utils/4.0.0/pom.xml)
has 1 error
[ERROR] Non-resolvable parent POM: Could not find artifact
org.wso2.carbon:bam2:pom:4.0.0-SNAPSHOT and 'parent.relativePath' points at
wrong local POM @ line 5, column 13 -> [Help 2]
[ERROR]
[ERROR]   The project
org.wso2.carbon:org.wso2.carbon.bam2.presentation:4.0.0-SNAPSHOT
(/home/builder/carbon/platform/4.0.0/components/bam2/org.wso2.carbon.bam.presentation/4.0.0/pom.xml)
has 1 error
[ERROR] Non-resolvable parent POM: Failure to find
org.wso2.carbon:bam2:pom:4.0.0-SNAPSHOT in
http://maven.wso2.org/nexus/content/groups/wso2-public/ was cached in the
local repository, resolution will not be reattempted until the update
interval of wso2-nexus has elapsed or updates are forced and
'parent.relativePath' points at wrong local POM @ line 5, column 13 ->
[Help 2]
[ERROR]
[ERROR]   The project
org.wso2.carbon:org.wso2.carbon.bam2.core:4.0.0-SNAPSHOT
(/home/builder/carbon/platform/4.0.0/components/bam2/org.wso2.carbon.bam.core/4.0.0/pom.xml)
has 1 error
[ERROR] Non-resolvable parent POM: Could not find artifact
org.wso2.carbon:bam2:pom:4.0.0-SNAPSHOT and 'parent.relativePath' points at
wrong local POM @ line 5, column 13 -> [Help 2]
[ERROR]
[ERROR]   The project
org.wso2.carbon:org.wso2.carbon.bam2.core.ui:4.0.0-SNAPSHOT
(/home/builder/carbon/platform/4.0.0/components/bam2/org.wso2.carbon.bam.core.ui/4.0.0/pom.xml)
has 1 error
[ERROR] Non-resolvable parent POM: Could not find artifact
org.wso2.carbon:bam2:pom:4.0.0-SNAPSHOT and 'parent.relativePath' points at
wrong local POM @ line 5, column 13 -> [Help 2]
[ERROR]
[ERROR]   The project
org.wso2.carbon:org.wso2.carbon.bam2.clustermonitor.ui:4.0.0-SNAPSHOT
(/home/builder/carbon/platform/4.0.0/components/bam2/org.wso2.carbon.bam.clustermonitor.ui/4.0.0/pom.xml)
has 1 error
[ERROR] Non-resolvable parent POM: Could not find artifact
org.wso2.carbon:bam2:pom:4.0.0-SNAPSHOT and 'parent.relativePath' points at
wrong local POM @ line 19, column 13 -> [Help 2]
[ERROR]
[ERROR]   The project
org.wso2.carbon:org.wso2.carbon.bam.gadgetgenwizard:4.0.0-SNAPSHOT
(/home/builder/carbon/platform/4.0.0/components/bam2/org.wso2.carbon.bam.gadgetgenwizard/4.0.0/pom.xml)
has 1 error
[ERROR] Non-resolvable parent POM: Could not find artifact
org.wso2.carbon:bam2:pom:4.0.0-SNAPSHOT and 'parent.relativePath' points at
wrong local POM @ line 5, column 13 -> [Help 2]
[ERROR]
[ERROR]   The project
org.wso2.carbon:org.wso2.carbon.bam.gadgetgenwizard.ui:4.0.0-SNAPSHOT
(/home/builder/carbon/platform/4.0.0/components/bam2/org.wso2.carbon.bam.gadgetgenwizard.ui/4.0.0/pom.xml)
has 1 error
[ERROR] Non-resolvable parent POM: Could not find artifact
org.wso2.carbon:bam2:pom:4.0.0-SNAPSHOT and 'parent.relativePath' points at
wrong local POM @ line 19, column 13 -> [Help 2]
[ERROR]
[ERROR]   The project
org.wso2.carbon:org.wso2.carbon.bam.toolbox.deployer:4.0.0-SNAPSHOT
(/home/builder/carbon/platform/4.0.0/components/bam2/org.wso2.carbon.bam.toolbox.deployer/4.0.0/pom.xml)
has 1 error
[ERROR] Non-resolvable parent POM: Could not find artifact
org.wso2.carbon:bam2:pom:4.0.0-SNAPSHOT and 'parent.relativePath' points at
wrong local POM @ line 5, column 13 

[Dev] Can we use BamServerURL in carbon.xml to publish data to BAM?

2012-07-30 Thread Amila Maha Arachchi
Hi,

We are in the process of moving usage data of stratos to BAM2. During this
process, we had to change our existing usage agent code to publish data.
According to the new BAM implementation we are publishing data via Thrift
calls. So, we have to provide the URL for this. URL looks like
"tcp://localhost:7611".

At the moment we have a  element in the carbon.xml. Is it ok
to use this property to set the BAM thrift URL?

Or else, is this being used at any other places for other purposes? If so,
we can define a new property in stratos.xml something like .

BTW, how this is done in data-agents? I saw them trying to read from an
agent.xml file. But I couldn't find such a file and that config didn't seem
to have this kind of a URL setting.

Regards,
AmilaM.



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


[Dev] [Bamboo-Build] WSO2 Carbon BRANCH > Platform_4.0.0 > #61 has FAILED. Change made by 23 authors.

2012-07-30 Thread Bamboo

---
WSO2 Carbon BRANCH > Platform_4.0.0 > #61 failed.
---
This build was manually triggered by BambooBuilder.
No failed tests found, a possible compilation error.

http://wso2.org/bamboo/browse/WCB001-PLA000-61/


--
Failing Jobs
--
  - Default Job (Default Stage): No tests found.



--
Code Changes
--
supunm (135578):

>s/README.txt/README

hiranya (135605):

>Removing registry.xml

krishantha (135607):

>sync test artifacts with trunk



--
This message is automatically generated by Atlassian Bamboo___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Carbon 4 Orbit/Kernel/Platform Branching

2012-07-30 Thread Kasun Weranga
On Fri, Jul 27, 2012 at 4:56 PM, Shammi Jayasinghe  wrote:

> Hi,
>
>  Still Following products have not followed the branching folder
> structure.
>
> BAM2
>

Done.


> BRS
> DSS
> GS
> LB
>
> Release Managers , Please follow the branching folder structure as soon as
> possible, since there can be problems when changing these at the last
> moment. We will add these products to bamboo once they moved to the correct
> structure.
>
> Thanks
> Shammi
>
> On Wed, Jul 25, 2012 at 2:36 PM, Amila Maha Arachchi wrote:
>
>> Hi RMs,
>>
>> You need to branch your products with respective version numbers as we
>> did in 3.2.0 branch. Please note this and do the needful. Otherwise there
>> will be problems when you want are doing minor releases on this branch.
>>
>> Regards,
>> AmilaM.
>>
>>
>> On Wed, Jul 25, 2012 at 2:06 PM, Amila Maha Arachchi wrote:
>>
>>> Hi Pradeep,
>>>
>>> When branching the products, folder structure should be
>>> product-name/version/. , right? But I dont see this in
>>> some/any products who are already building packs from the branch. For
>>> example ESB, G-Reg..
>>>
>>> Regards,
>>> AmilaM.
>>>
>>> On Fri, Jul 20, 2012 at 3:57 PM, Pradeep Fernando wrote:
>>>

 Hi,

 we are done with (i wont say done done. :) ) branching carbon for C4
 release.

 1. Obit branch  -
 https://svn.wso2.org/repos/wso2/carbon/orbit/branches/4.0.0/
  All the obit jars been uploaded to dist.wso2.org/maven2. Ideally
 you dont have to build orbit. Recently uploaded jars may take some time to
 get cached. (one day).

 2. Kernel branch -
 https://svn.wso2.org/repos/wso2/carbon/kernel/branches/4.0.0

 during the kernel branching we had the following changes in the
 dependencies/orbit versions. (we had to increase versions of some project,
 since some of them were released with carbon 3.2.0 release)

  h2-database  1.2.140-wso2v2 1.2.140-wso2v3
 jsrCache 1.1-wso2v1   1.1.0-wso2v2
 neethi   2.0.4-wso2v2 2.0.4-wso2v4
 securevault  1.0.01.0.0-wso2v2
 ciphertool  1.0.01.0.0-wso2v2
 wsdl4j  1.6.2-wso2v3  1.6.2-wso2v4
 xmlschema   1.4.7-wso2v1  1.4.7-wso2v2


 orbit
 ---
 axis2-jaxbri  1.6.1.wso2v1  1.6.1.wso2v5
 axis2-jibx1.6.1.wso2v1  1.6.1.wso2v5
 h2-database-engine  1.2.140.wso2v2  1.2.140.wso2v3
 jsr107cache1.1.wso2v1   1.1.0.wso2v2
 neethi 2.0.4.wso2v3   2.0.4.wso2v4
 wsdl4j 1.6.2.wso2v3   1.6.2.wso2v4
 XmlSchema  1.4.7.wso2v1   1.4.7.wso2v2



 3. platform branch -
 https://svn.wso2.org/repos/wso2/carbon/platform/branches/4.0.0/

we had the following changes in the versions during the platform
 branch.

 amber  0.22.1358727-wso2v1 same
 andes   0.13-wso2v1  0.13.0-wso2v1
 cassandra 1.1.0-wso2v1 1.1.0-wso2v2
 closure-js-plugin1.0-SNAPSHOT  1.0 (released)
 datanucleus  3.0.1  3.0.1-wso2v1
 hadoop 0.20.203.1-wso2v1  0.20.203.1-wso2v1
 hector  0.7.0-23-wso2v1  0.7.0.23-wso2v1
 hive 0.8.1-wso2v2  0.8.1-wso2v3
 rampart1.6.1-wso2v4  same
 snappy1.0.4.1-wso2v1   same
 svn-client-adaptor 1.6.18.wso2v1  1.6.18.wso2v2
 synapse  2.1.0-wso2v6same
 thrift0.5
 0.5.0-wso2v2
 scm1.7.wso2v1  1.7.0-wso2v1


 externals:

 commons-vfs2.0-wso2v32.0-wso2v4
 shindig  removed
 sandesha   1.6.1-wso2v1 1.6.1-wso2v2
 qpid   0.12-wso2v1 same
 httpcore-nio4.1.3-wso2v2 same
 siddhi 1.0.0-SNAPSHOT 1.0.0-wso2v1
 balana   1.0.0-SNAPSHOT  1.0.0-wso2v1
 xferremoved
 xkms  removed
 ciphertoolremoved
 pwprovider  removed
 oauth removed
 charon   1.0.0-SNAPSHOT 1.0.0-wso2v1
 throttle2 removed
 caching  removed
 eventing removed
 wsdlvalidator   1.2.0-SNAPSHOT 1.2.0-wso2v1
 throttle3.3.0 3.3.0-wso2v1
 ode 1.3.5-SNAPSHOT 1.3.5-wso2v5
 e4ximpl   2.0.1.SNAPSHOT 2.0.1.wso2v1
 webharvest 2.0.wso2v1   2.0-wso2v2






>>>

Re: [Dev] Patch for depsync premature update issue

2012-07-30 Thread Nuwan Dias
Tested with ESB M4 release and the patch solves the issue. Committed the
change to both trunk and C4 branch.

Thanks,
NuwanD.

On Mon, Jul 30, 2012 at 4:53 PM, Nuwan Dias  wrote:

> Sure.. Will do.
>
> Thanks,
> NuwanD.
>
>
> On Mon, Jul 30, 2012 at 3:41 PM, Afkham Azeez  wrote:
>
>> NuwanD please check the following:
>>
>> azeez@azmac:~/projects/wso2/org/carbon/kernel/trunk/core/org.wso2.carbon.core$
>> svn diff
>> src/main/java/org/wso2/carbon/core/deployment/SynchronizeRepositoryRequest.java
>> src/main/java/org/wso2/carbon/core/deployment/CarbonDeploymentSchedulerTask.java
>>
>>
>> -
>>
>> Index:
>> src/main/java/org/wso2/carbon/core/deployment/SynchronizeRepositoryRequest.java
>> ===
>> ---
>> src/main/java/org/wso2/carbon/core/deployment/SynchronizeRepositoryRequest.java
>>  (revision
>> 133403)
>> +++
>> src/main/java/org/wso2/carbon/core/deployment/SynchronizeRepositoryRequest.java
>>  (working
>> copy)
>> @@ -30,6 +30,7 @@
>>  import org.wso2.carbon.core.CarbonAxisConfigurator;
>>  import org.wso2.carbon.core.internal.CarbonCoreDataHolder;
>>  import org.wso2.carbon.core.multitenancy.TenantAxisConfigurator;
>> +import org.wso2.carbon.core.multitenancy.utils.TenantAxisUtils;
>>
>>  /**
>>   * ClusterMessage for sending a deployment repository synchronization
>> request
>> @@ -37,14 +38,16 @@
>>  public class SynchronizeRepositoryRequest extends ClusteringMessage {
>>
>>  private int tenantId;
>> +private String  tenantDomain;
>>  private transient static final Log log =
>> LogFactory.getLog(SynchronizeRepositoryRequest.class);
>>
>>
>>  public SynchronizeRepositoryRequest() {
>>  }
>>
>> -public SynchronizeRepositoryRequest(int tenantId) {
>> +public SynchronizeRepositoryRequest(int tenantId, String
>> tenantDomain) {
>>  this.tenantId = tenantId;
>> +this.tenantDomain = tenantDomain;
>>  }
>>
>>  public void setTenantId(int tenantId) {
>> @@ -52,8 +55,11 @@
>>  }
>>
>>  public void execute(ConfigurationContext configContext) throws
>> ClusteringFault{
>> -updateDeploymentRepository(configContext);
>> -doDeployment(configContext);
>> +// Run only if the tenant is loaded
>> +if
>> (TenantAxisUtils.getTenantConfigurationContexts(configContext).get(tenantDomain)
>> != null) {
>> +updateDeploymentRepository(configContext);
>> +doDeployment(configContext);
>> +}
>>  }
>>
>>  private void doDeployment(ConfigurationContext configContext) {
>> Index:
>> src/main/java/org/wso2/carbon/core/deployment/CarbonDeploymentSchedulerTask.java
>> ===
>> ---
>> src/main/java/org/wso2/carbon/core/deployment/CarbonDeploymentSchedulerTask.java
>>  (revision
>> 133403)
>> +++
>> src/main/java/org/wso2/carbon/core/deployment/CarbonDeploymentSchedulerTask.java
>>  (working
>> copy)
>> @@ -155,7 +155,8 @@
>>  int numberOfRetries = 0;
>>  while (numberOfRetries < 60) {
>>  try {
>> -clusteringAgent.sendMessage(new
>> SynchronizeRepositoryRequest(tenantId), true);
>> +clusteringAgent.sendMessage(new
>> SynchronizeRepositoryRequest(tenantId, tenantDomain),
>> +true);
>>  break;
>>  } catch (ClusteringFault e) {
>>  numberOfRetries++;
>>
>
>
>
> --
> Nuwan Dias
>
> Software Engineer - WSO2, Inc.
> Integration Technologies Team
> email : nuw...@wso2.com
> Phone : +94 777 775 729
>
>


-- 
Nuwan Dias

Software Engineer - WSO2, Inc.
Integration Technologies Team
email : nuw...@wso2.com
Phone : +94 777 775 729
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] ESB Proxy saving with NULL information due to the Session out Issue

2012-07-30 Thread Pradeep Fernando
Hi,

Is it possible to delete the 'NULL' proxy and create a new one. What
happens if the session times out when im editing a already created proxy
service. ?

will the existing values get overriden by the null values ?

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


Re: [Dev] Errors in the ESB Console which are related to ServerURL property of Carbon

2012-07-30 Thread Andun Gunawardena
Hi,

I have debugged the org.wso2.carbon.core.util.Utils class's method public
static String replaceSystemProperty(String text) and notice that the
the argument is passed as
"https://${carbon.local.ip}:${carbon.management.port}${carbon.context}/services/";
and comes out as
"https://10.200.3.177:${carbon.management.port}${carbon.context}/services/";.
Is there a error ? Why the IP address is only replaced while others are
remain same.

Thanks
AndunSLG

On Mon, Jul 30, 2012 at 6:11 PM, Dushan Abeyruwan  wrote:

> Hi
> IMO Seems like its a bug with at ServerConfiguration it gives
> https://10.200.3.118:${carbon.management.port}${carbon.context}/services/
> , If I remember correctly we did some fix to mediation-initializer some
> time back,
>
>
> [Carbon-dev] ESB stratup failure java.net.MalformedURLException: For input
> string: "${carbon.management.port}${carbon.context}"
>  carbon_dev
> x
> Rajika Kumarasiri 
> via
>  wso2.org
>  Feb 23
>to carbon-dev
>  [2012-02-23 15:54:11,995] ERROR - ServiceBusInitializer Error while
> parsing the server URL https://10.200.3.196:
> ${carbon.management.port}${carbon.context}/services/
> java.net.MalformedURLException: For input string:
> "${carbon.management.port}${carbon.context}"
>  at java.net.URL.(URL.java:601)
> at java.net.URL.(URL.java:464)
> at java.net.URL.(URL.java:413)
>  at org.wso2.carbon.mediation.initializer
> .ServiceBusInitializer.setHttpsProtForConsole(ServiceBusInitializer.java:323)
>  at org.wso2.carbon.mediation.initializer.Servic
>
> Would this be related to the same ?
>
>
> cheers
> Dushan
>
> On Mon, Jul 30, 2012 at 6:02 PM, Andun Gunawardena  wrote:
>
>> Hi All,
>>
>> I am trying to do Test Automation for  the Entitlement Mediator. I
>> have configured the ESB, IS as given in 
>> [1].
>> When the request is come to the created Entitlement Proxy At the ESB, there
>> is unexpected error shown in the console of IS. It is given below. It
>> related to the ServerURL system property of Carbon. What will be the
>> solution ?
>>
>> Thanks
>> AndunSLG
>>
>> [1] -
>> http://wso2.org/library/articles/2010/10/using-xacml-fine-grained-authorization-wso2-platform
>>
>> Exception Sequence :
>>
>> [2012-07-30 17:51:06,187]  WARN
>> {org.wso2.carbon.core.services.authentication.AuthenticationUtil} -  Could
>> not find IP address for domain name : https://10.200.3.118:
>> ${carbon.management.port}${carbon.context}/services/
>> [2012-07-30 17:51:06,188] ERROR
>> {org.wso2.carbon.core.services.authentication.AuthenticationAdmin} -  
>> Authentication
>> Failed : Invalid remote address passed - https://10.200.3.118:
>> ${carbon.management.port}${carbon.context}/services/
>> org.wso2.carbon.core.common.AuthenticationException: Authentication
>> Failed : Invalid remote address passed - https://10.200.3.118:
>> ${carbon.management.port}${carbon.context}/services/
>> at
>> org.wso2.carbon.core.services.authentication.AuthenticationUtil.validateRemoteAddress(AuthenticationUtil.java:178)
>>  at
>> org.wso2.carbon.core.services.authentication.AuthenticationAdmin.login(AuthenticationAdmin.java:86)
>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>  at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>> at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>  at java.lang.reflect.Method.invoke(Method.java:597)
>> at
>> org.apache.axis2.rpc.receivers.RPCUtil.invokeServiceClass(RPCUtil.java:212)
>>  at
>> org.apache.axis2.rpc.receivers.RPCMessageReceiver.invokeBusinessLogic(RPCMessageReceiver.java:117)
>> at
>> org.apache.axis2.receivers.AbstractInOutMessageReceiver.invokeBusinessLogic(AbstractInOutMessageReceiver.java:40)
>>  at
>> org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:110)
>> at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java: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:58)
>>  at
>> org.apache.catalina.core.Application

Re: [Dev] ESB Proxy saving with NULL information due to the Session out Issue

2012-07-30 Thread Afkham Azeez
This is not the solution. We can't lose significant Tomcat features because
our Carbon UI implementation sucks. The proper way to handle this in our
UIs would be to somehow save it in the browser, and later resubmit it. Have
you seen the GMail "Send Error" link? When a Send Error occurs, it saves
the message in the browser so that nothing is lost. We need to implement
this for our UIs.

On Wed, Jul 25, 2012 at 3:38 PM, Senaka Fernando  wrote:

> Hi all,
>
> In what ways is the Tomcat session persistence useful to us? If it is not
> useful, can we get rid of that functionality? Then we can resolve issues
> like this.
>
> Thanks,
> Senaka.
>
> On Wed, Jul 25, 2012 at 5:05 AM, Dushan Abeyruwan  wrote:
>
>> Hi Folks,
>>   We have a scenario, which may have unstable ESB proxy service creation {
>> https://wso2.org/jira/browse/ESBJAVA-1341"}
>> How I observed this as follows, create a proxy wait for the session
>> timeout and then clicked "save proxy" and more interestingly the proxy
>> saved with NULL values, this was not observed with ESB 4.0.3 because if
>> session time out the direction happens to the cabon login UI thus
>> everything okay with that, but now due to the recent changers in the carbon
>> core as I heard tomcat session now is persistence thus even though the
>> session expired we can save BUT. the session does not include with the
>> proxy information
>>
>>any idea why this .. any workaround for this
>>
>> 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
>>
>>
>
>
> --
> *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
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


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


Re: [Dev] Errors in the ESB Console which are related to ServerURL property of Carbon

2012-07-30 Thread Dushan Abeyruwan
Hi
IMO Seems like its a bug with at ServerConfiguration it gives
https://10.200.3.118:${carbon.management.port}${carbon.context}/services/ , If
I remember correctly we did some fix to mediation-initializer some time
back,


[Carbon-dev] ESB stratup failure java.net.MalformedURLException: For input
string: "${carbon.management.port}${carbon.context}"
 carbon_dev
x
Rajika Kumarasiri
via
 wso2.org
 Feb 23
   to carbon-dev
 [2012-02-23 15:54:11,995] ERROR - ServiceBusInitializer Error while
parsing the server URL https://10.200.3.196:
${carbon.management.port}${carbon.context}/services/
java.net.MalformedURLException: For input string:
"${carbon.management.port}${carbon.context}"
 at java.net.URL.(URL.java:601)
at java.net.URL.(URL.java:464)
at java.net.URL.(URL.java:413)
 at org.wso2.carbon.mediation.initializer
.ServiceBusInitializer.setHttpsProtForConsole(ServiceBusInitializer.java:323)
 at org.wso2.carbon.mediation.initializer.Servic

Would this be related to the same ?


cheers
Dushan

On Mon, Jul 30, 2012 at 6:02 PM, Andun Gunawardena  wrote:

> Hi All,
>
> I am trying to do Test Automation for  the Entitlement Mediator. I
> have configured the ESB, IS as given in 
> [1].
> When the request is come to the created Entitlement Proxy At the ESB, there
> is unexpected error shown in the console of IS. It is given below. It
> related to the ServerURL system property of Carbon. What will be the
> solution ?
>
> Thanks
> AndunSLG
>
> [1] -
> http://wso2.org/library/articles/2010/10/using-xacml-fine-grained-authorization-wso2-platform
>
> Exception Sequence :
>
> [2012-07-30 17:51:06,187]  WARN
> {org.wso2.carbon.core.services.authentication.AuthenticationUtil} -  Could
> not find IP address for domain name : https://10.200.3.118:
> ${carbon.management.port}${carbon.context}/services/
> [2012-07-30 17:51:06,188] ERROR
> {org.wso2.carbon.core.services.authentication.AuthenticationAdmin} -  
> Authentication
> Failed : Invalid remote address passed - https://10.200.3.118:
> ${carbon.management.port}${carbon.context}/services/
> org.wso2.carbon.core.common.AuthenticationException: Authentication Failed
> : Invalid remote address passed - https://10.200.3.118:
> ${carbon.management.port}${carbon.context}/services/
> at
> org.wso2.carbon.core.services.authentication.AuthenticationUtil.validateRemoteAddress(AuthenticationUtil.java:178)
>  at
> org.wso2.carbon.core.services.authentication.AuthenticationAdmin.login(AuthenticationAdmin.java:86)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>  at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>  at java.lang.reflect.Method.invoke(Method.java:597)
> at
> org.apache.axis2.rpc.receivers.RPCUtil.invokeServiceClass(RPCUtil.java:212)
>  at
> org.apache.axis2.rpc.receivers.RPCMessageReceiver.invokeBusinessLogic(RPCMessageReceiver.java:117)
> at
> org.apache.axis2.receivers.AbstractInOutMessageReceiver.invokeBusinessLogic(AbstractInOutMessageReceiver.java:40)
>  at
> org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:110)
> at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java: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:58)
>  at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
>  at
> org.wso2.carbon.tomcat.ext.filter.CharacterSetFilter.doFilter(CharacterSetFilter.java:61)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
>  at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:225)
>  at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
> at
> 

Re: [Dev] NoClassDefFoundError: org/apache/axiom/om/OMNode Error

2012-07-30 Thread Pradeep Fernando
add axiom orbit dependency
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Errors in the ESB Console which are related to ServerURL property of Carbon

2012-07-30 Thread Andun Gunawardena
Hi All,

I am trying to do Test Automation for  the Entitlement Mediator. I
have configured the ESB, IS as given in
[1].
When the request is come to the created Entitlement Proxy At the ESB, there
is unexpected error shown in the console of IS. It is given below. It
related to the ServerURL system property of Carbon. What will be the
solution ?

Thanks
AndunSLG

[1] -
http://wso2.org/library/articles/2010/10/using-xacml-fine-grained-authorization-wso2-platform

Exception Sequence :

[2012-07-30 17:51:06,187]  WARN
{org.wso2.carbon.core.services.authentication.AuthenticationUtil} -  Could
not find IP address for domain name : https://10.200.3.118:
${carbon.management.port}${carbon.context}/services/
[2012-07-30 17:51:06,188] ERROR
{org.wso2.carbon.core.services.authentication.AuthenticationAdmin} -
Authentication
Failed : Invalid remote address passed - https://10.200.3.118:
${carbon.management.port}${carbon.context}/services/
org.wso2.carbon.core.common.AuthenticationException: Authentication Failed
: Invalid remote address passed - https://10.200.3.118:
${carbon.management.port}${carbon.context}/services/
at
org.wso2.carbon.core.services.authentication.AuthenticationUtil.validateRemoteAddress(AuthenticationUtil.java:178)
at
org.wso2.carbon.core.services.authentication.AuthenticationAdmin.login(AuthenticationAdmin.java:86)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.apache.axis2.rpc.receivers.RPCUtil.invokeServiceClass(RPCUtil.java:212)
at
org.apache.axis2.rpc.receivers.RPCMessageReceiver.invokeBusinessLogic(RPCMessageReceiver.java:117)
at
org.apache.axis2.receivers.AbstractInOutMessageReceiver.invokeBusinessLogic(AbstractInOutMessageReceiver.java:40)
at
org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:110)
at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java: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:58)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at
org.wso2.carbon.tomcat.ext.filter.CharacterSetFilter.doFilter(CharacterSetFilter.java:61)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:225)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
at
org.wso2.carbon.tomcat.ext.valves.CompositeValve.invoke(CompositeValve.java:133)
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:49)
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:1001)
at
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:579)
at
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1653)
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)
__

Re: [Dev] [Architecture] BAM 2.0.0 Beta Released!

2012-07-30 Thread Samisa Abeysinghe
On Mon, Jul 30, 2012 at 5:25 PM, Tharindu Mathew  wrote:

>
>
> On Mon, Jul 30, 2012 at 4:56 PM, Samisa Abeysinghe wrote:
>
>>
>>
>> On Mon, Jul 30, 2012 at 4:10 PM, Tharindu Mathew wrote:
>>
>>>
>>>
>>> On Fri, Jul 27, 2012 at 8:28 PM, Charitha Kankanamge 
>>> wrote:
>>>
 On Fri, Jul 27, 2012 at 8:16 PM, Samisa Abeysinghe wrote:

> I did my share of testing on BAM today. The Jira will tell the story.
>
> Before we pass the packs on to QA, I would like the team to look at
> the issues I have reported and fix them all and all those around the types
> I have reported.
>
> I would like the QA team to focus more serious testing on the packs,
> such as volume testing, reliability/consistency of data testing etc. So
> please fix these basic issues before the QA team takes over.
>
 For this kind of testing, the pack is ready. UI issues, doc issues and
>>> context help issues can be fixed for a later pack. Is this a blocker for QA
>>> testing? We are running out of time to recognized Production level
>>> complicated issues and we can't fix these last moment.
>>>
>>
>>
>> They are not blockers for QA testing. But right now, QA is only focusing
>> on API-M aspects of BAM.
>>
>> The release need to focus on total quality if we are to release, and the
>> lack of UI quality is a major issue.
>>
>> Also, note that, docs are required for testing as well, as tests need to
>> be based on docs, to verify integrity.
>>
>> Finally, if we leave these kinds of quality issues behind in the UI and
>> claim the UI is not done yet right, why are we not doing the UI in one go
>> right and work only on the backed components?
>> On the other hand, if we have this many quality issues on the UI, is
>> it realistic to release on the said deadlines?
>>
>> The bottom line is that, it is time to fix these, until the QA team has
>> more time to test the BE - the product is NOT only about BE & it is time
>> that we finalize FE.
>>
> I agree that we have to fix these. Quality of both Docs, UI and BE is
> paramount for a release. But this is still a pack at Beta release, and
> these kind of issues can be present in the beta pack, but not L1s that has
> broken basic functionality.
>
> So, now the plan is we will fix all issues reported, and get the RC out
> with 0 L1s and 0 L2s. We will hand this pack to QA asap.
>

> Does this plan sound good?
>

+1

Thanks,
Samisa...

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


Re: [Dev] ESB Proxy saving with NULL information due to the Session out Issue

2012-07-30 Thread Pradeep Fernando
Hi

please ACK. This is a carbon-core L1. Can we fix this ? or do we have to
disable tomcat session persistence.

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


Re: [Dev] [Architecture] BAM 2.0.0 Beta Released!

2012-07-30 Thread Tharindu Mathew
On Mon, Jul 30, 2012 at 4:56 PM, Samisa Abeysinghe  wrote:

>
>
> On Mon, Jul 30, 2012 at 4:10 PM, Tharindu Mathew wrote:
>
>>
>>
>> On Fri, Jul 27, 2012 at 8:28 PM, Charitha Kankanamge 
>> wrote:
>>
>>> On Fri, Jul 27, 2012 at 8:16 PM, Samisa Abeysinghe wrote:
>>>
 I did my share of testing on BAM today. The Jira will tell the story.

 Before we pass the packs on to QA, I would like the team to look at the
 issues I have reported and fix them all and all those around the types I
 have reported.

 I would like the QA team to focus more serious testing on the packs,
 such as volume testing, reliability/consistency of data testing etc. So
 please fix these basic issues before the QA team takes over.

>>> For this kind of testing, the pack is ready. UI issues, doc issues and
>> context help issues can be fixed for a later pack. Is this a blocker for QA
>> testing? We are running out of time to recognized Production level
>> complicated issues and we can't fix these last moment.
>>
>
>
> They are not blockers for QA testing. But right now, QA is only focusing
> on API-M aspects of BAM.
>
> The release need to focus on total quality if we are to release, and the
> lack of UI quality is a major issue.
>
> Also, note that, docs are required for testing as well, as tests need to
> be based on docs, to verify integrity.
>
> Finally, if we leave these kinds of quality issues behind in the UI and
> claim the UI is not done yet right, why are we not doing the UI in one go
> right and work only on the backed components?
> On the other hand, if we have this many quality issues on the UI, is
> it realistic to release on the said deadlines?
>
> The bottom line is that, it is time to fix these, until the QA team has
> more time to test the BE - the product is NOT only about BE & it is time
> that we finalize FE.
>
I agree that we have to fix these. Quality of both Docs, UI and BE is
paramount for a release. But this is still a pack at Beta release, and
these kind of issues can be present in the beta pack, but not L1s that has
broken basic functionality.

So, now the plan is we will fix all issues reported, and get the RC out
with 0 L1s and 0 L2s. We will hand this pack to QA asap.

Does this plan sound good?

>
>
>> We even have users, like Radoslaw giving fixes for some of the issues
>> raised at [1].
>>
>> [1] - https://wso2.org/jira/browse/BAM-652
>>
>>>
>>> Noted.
>>>
>>>


 On Thu, Jul 26, 2012 at 9:08 PM, Tharindu Mathew wrote:

> Hi Fernando,
>
> We will be starting on a doc update soon. It is not available yet.
>
>
> On Thu, Jul 26, 2012 at 5:45 PM, Fernando Troya <
> fernando.tr...@fluxit.com.ar> wrote:
>
>> Does this BETA come with a documentation update? i.e. a
>> wso2bam-2.0.0-BETA-docs.zip distribution?
>>
>> Cheers!
>>
>> 2012/7/26 Samisa Abeysinghe 
>>
>>>
>>>
>>> On Thu, Jul 26, 2012 at 1:05 PM, Tharindu Mathew 
>>> wrote:
>>>
 ETA for downloads for me is 2 hrs. Probably an issue with the
 hosted location. Should we host only on dist?
>>>
>>>
>>> +1
>>>
>>>


 On Thu, Jul 26, 2012 at 9:14 AM, Samisa Abeysinghe >>> > wrote:

>
>
> On Thu, Jul 26, 2012 at 9:13 AM, Samisa Abeysinghe <
> sam...@wso2.com> wrote:
>
>> The size of the pack seems 230+ MB. Do we have any plans to cut
>> that down? (May be we discussed this earlier as well)
>>
>
> Ans looks like it is going to take more than 30mins to download :(
>
> Thanks,
> Samisa...
>
> Samisa Abeysinghe
> VP Engineering
> WSO2 Inc.
> http://wso2.com
> http://wso2.org
>
>


 --
 Regards,

 Tharindu

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

  Thanks,
>>> Samisa...
>>>
>>> Samisa Abeysinghe
>>> VP Engineering
>>> WSO2 Inc.
>>> http://wso2.com
>>> http://wso2.org
>>>
>>>
>>>
>>> ___
>>> Architecture mailing list
>>> architect...@wso2.org
>>> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>>>
>>>
>>
>>
>> --
>>  *Fernando Troya*
>> fernando.tr...@fluxit.com.ar
>> www.fluxit.com.ar
>>  9 n° 865 (planta alta) / La Plata / Buenos Aires / Argentina
>> (+54)-221-5532980 - Interno 315
>>
>>
>
>
> --
> Regards,
>
> Tharindu
>
> blog: http://mackiemathew.com/
> M: +9459908
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
> Thanks,
 Samisa...

 Samisa Abeysinghe
 VP Engineering
>>>

[Dev] WSO2 ESB 4.5.0 - Milestone 4 released

2012-07-30 Thread Miyuru Wanninayaka
HI all,Please find packs at [1]

[1] http://wso2.org/bamboo/browse/WCB001-PRO000-34/artifact/JOB1/ESB
Release Notes - WSO2 ESB - Version 4.5.0 M4

Bug

   - [ESBJAVA-922 ] - Callout
   mediator does not close connection on Fault
   - [ESBJAVA-1008 ] - [url
   rewrite mediator] Port value is replaced when action = Apend
   - [ESBJAVA-1088 ] - [Fault
   mediator] When soap version is 1.2, "Reason" and "Role" become "Fault
   String" and "Fault Actor" respectively once the configuration is saved
   - [ESBJAVA-1102 ] - [Payload
   Factory mediator] Required fields (Payload Format) should be marked or at
   least give an indication(Error message) when trying to update/save config
   without specifying those fields.
   - [ESBJAVA-1109 ] - [Cache
   mediator] - Doesn't preserve minus values for Cache Timeout (seconds),
   Maximum Message Size, Maximum Size
   - [ESBJAVA-1113 ] - [Payload
   Factory mediator] DEBUG logs are not available for Payload Factory mediator.
   - [ESBJAVA-1168 ] - ESB -
   When removing security of a proxy service, service parameter 'disableREST'
   doesn't get removed from the proxy configuration.
   - [ESBJAVA-1171 ] - ESB -
   Users are expected to login to use tools in Sign-in page (Java2WSDL,
   WSDL2Java, TryIt)
   - [ESBJAVA-1190 ] - ESB :
   When a request is cloned and sent to two end points and then the response
   is aggregated, an error is given in the client console.
   - [ESBJAVA-1198 ] - ESB
   Endpoint stat gives wrong values when we use EPs with clone mediator
   - [ESBJAVA-1227 ] - [ESB] - A
   blank page appears when the sequence contains a complex xpath expression
   - [ESBJAVA-1274 ] - UI
   Convention Violation in ESB - "Add xxx"
   - [ESBJAVA-1299 ] - ESB: 6
   consecutive logs printed when depleting a proxy via UI
   - [ESBJAVA-1305 ] - ESB:
   [Priority Executors] Provide failover support for priority executors
   - [ESBJAVA-1307 ] - Source
   view issues when changing the security policy
   - [ESBJAVA-1308 ] - Endpoint
   "Save As Registry Entry" form is not properly styled
   - [ESBJAVA-1309 ] -
   [Endpoints] 'Select Error codes' window displays scroll bar even after it
   has been resized (screenshot attached).
   - [ESBJAVA-1313 ] - Smooks
   mediator - If transformation fails, original file is not moved to
   "transport.vfs.MoveAfterFailure" location
   - [ESBJAVA-1316 ] - Proxy is
   still inactive even after changing the property "Do Not load service on
   startup"
   - [ESBJAVA-1321 ] -
   [Endpoints] Retry count gets set to 0 when you save the endpoint
   configuration if Retry Delay is not specified.
   - [ESBJAVA-1325 ] - Sample
   axis2server http port and https prot does not change in windows
   - [ESBJAVA-1327 ] -
   [Endpoints] Dead page returned when trying to edit an endpoint (Load
   balance/Failover/Recipient list) that has a Load balance endpoint as a
   child.
   - [ESBJAVA-1334 ] -
   [Endpoints] Child endpoints get removed from the configuration when saving
   endpoints(Load Balance/Failover/Recipient List) in the registry.
   - [ESBJAVA-1337 ] -
   [Endpoints] When adding a template endpoint, if the template is not
   specified an error is thrown but the endpoint gets created.
   - [ESBJAVA-1340 ] - Support
   Escape for special characters in Payload factory Mediator
   - [ESBJAVA-1343 ] - Sample
   268 (Proxy services with the Local transport) fails
   - [ESBJAVA-1346 ] -
   [Templates] Doesn't allow to enter $ prefixed parameter names(eg: $uri) in
   Address field of Address Endpoint Templates.
   - [ESBJAVA-1349 ] - [VFS
   Transport] - Incorrect error handling when specified file name pattern does
   not match with the extention of the file that is being processed
   - [E

Re: [Dev] Does CSG component creates roles in user store ?

2012-07-30 Thread Ramith Jayasinghe
HI Suresh,
 I will own this issue.
Regards
Ramith Jaysinghe.

On Mon, Jul 30, 2012 at 5:10 PM, Suresh Attanayaka  wrote:

> Hi,
>
> On Mon, Jul 30, 2012 at 4:54 PM, Rajika Kumarasiri wrote:
>
>> Yeah, CSG (which is known as CG now) Agent creates the below roles at
>> start up. I will fix the issue for CG Agent component
>>
>> BTW, by default only ESB distributes CG Agent so AS should not affect
>> with this.
>>
>
> Yes, this issue is not there with the AS.
>
>
>>
>> Rajika
>>
>> On Mon, Jul 30, 2012 at 4:09 PM, Suresh Attanayaka wrote:
>>
>>> Hi All,
>>>
>>> It seem the CSG component is trying to create some empty roles in the
>>> user store. This would work fine with JDBC user store but definitely will
>>> fail with most of the LDAP user stores due to groups schema violations. CSG
>>> folks please look in to this issue
>>> https://wso2.org/jira/browse/CARBON-13734 . You have to create at least
>>> one member for a group you are trying to create.
>>>
>>> Thanks,
>>> -Suresh
>>>
>>> On Sat, Jul 28, 2012 at 5:21 PM, Suresh Attanayaka wrote:
>>>
 Hi,
 Are these roles in the user store created by the CSG component ?

- csg_unpublisher
- csg_publisher

 OT-Issue : https://wso2.org/jira/browse/CARBON-13737

 Thanks,
 -Suresh

 --
 Suresh Attanayake
 Software Engineer; WSO2 Inc. http://wso2.com/
 Blog : http://sureshatt.blogspot.com/
 Twitter : https://twitter.com/sureshatt
 LinkedIn : http://lk.linkedin.com/in/sureshatt
 Mobile : +94755012060,+94770419136,+94710467976


>>>
>>>
>>> --
>>> Suresh Attanayake
>>> Software Engineer; WSO2 Inc. http://wso2.com/
>>> Blog : http://sureshatt.blogspot.com/
>>> Twitter : https://twitter.com/sureshatt
>>> LinkedIn : http://lk.linkedin.com/in/sureshatt
>>> Mobile : +94755012060,+94770419136,+94710467976
>>>
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>
>
> --
> Suresh Attanayake
> Software Engineer; WSO2 Inc. http://wso2.com/
> Blog : http://sureshatt.blogspot.com/
> Twitter : https://twitter.com/sureshatt
> LinkedIn : http://lk.linkedin.com/in/sureshatt
> Mobile : +94755012060,+94770419136,+94710467976
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


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


Re: [Dev] Does CSG component creates roles in user store ?

2012-07-30 Thread Suresh Attanayaka
Hi,

On Mon, Jul 30, 2012 at 4:54 PM, Rajika Kumarasiri  wrote:

> Yeah, CSG (which is known as CG now) Agent creates the below roles at
> start up. I will fix the issue for CG Agent component
>
> BTW, by default only ESB distributes CG Agent so AS should not affect with
> this.
>

Yes, this issue is not there with the AS.


>
> Rajika
>
> On Mon, Jul 30, 2012 at 4:09 PM, Suresh Attanayaka wrote:
>
>> Hi All,
>>
>> It seem the CSG component is trying to create some empty roles in the
>> user store. This would work fine with JDBC user store but definitely will
>> fail with most of the LDAP user stores due to groups schema violations. CSG
>> folks please look in to this issue
>> https://wso2.org/jira/browse/CARBON-13734 . You have to create at least
>> one member for a group you are trying to create.
>>
>> Thanks,
>> -Suresh
>>
>> On Sat, Jul 28, 2012 at 5:21 PM, Suresh Attanayaka wrote:
>>
>>> Hi,
>>> Are these roles in the user store created by the CSG component ?
>>>
>>>- csg_unpublisher
>>>- csg_publisher
>>>
>>> OT-Issue : https://wso2.org/jira/browse/CARBON-13737
>>>
>>> Thanks,
>>> -Suresh
>>>
>>> --
>>> Suresh Attanayake
>>> Software Engineer; WSO2 Inc. http://wso2.com/
>>> Blog : http://sureshatt.blogspot.com/
>>> Twitter : https://twitter.com/sureshatt
>>> LinkedIn : http://lk.linkedin.com/in/sureshatt
>>> Mobile : +94755012060,+94770419136,+94710467976
>>>
>>>
>>
>>
>> --
>> Suresh Attanayake
>> Software Engineer; WSO2 Inc. http://wso2.com/
>> Blog : http://sureshatt.blogspot.com/
>> Twitter : https://twitter.com/sureshatt
>> LinkedIn : http://lk.linkedin.com/in/sureshatt
>> Mobile : +94755012060,+94770419136,+94710467976
>>
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>


-- 
Suresh Attanayake
Software Engineer; WSO2 Inc. http://wso2.com/
Blog : http://sureshatt.blogspot.com/
Twitter : https://twitter.com/sureshatt
LinkedIn : http://lk.linkedin.com/in/sureshatt
Mobile : +94755012060,+94770419136,+94710467976
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Does CSG component creates roles in user store ?

2012-07-30 Thread Ramith Jayasinghe
Hi,
we removed the CSG agent from ESB p2-profile in the branch until we fix
this bug ( as a part of our renaming effort).
Regards
Ramith.


On Mon, Jul 30, 2012 at 4:54 PM, Rajika Kumarasiri  wrote:

> Yeah, CSG (which is known as CG now) Agent creates the below roles at
> start up. I will fix the issue for CG Agent component
>
> BTW, by default only ESB distributes CG Agent so AS should not affect with
> this.
>
> Rajika
>
> On Mon, Jul 30, 2012 at 4:09 PM, Suresh Attanayaka wrote:
>
>> Hi All,
>>
>> It seem the CSG component is trying to create some empty roles in the
>> user store. This would work fine with JDBC user store but definitely will
>> fail with most of the LDAP user stores due to groups schema violations. CSG
>> folks please look in to this issue
>> https://wso2.org/jira/browse/CARBON-13734 . You have to create at least
>> one member for a group you are trying to create.
>>
>> Thanks,
>> -Suresh
>>
>> On Sat, Jul 28, 2012 at 5:21 PM, Suresh Attanayaka wrote:
>>
>>> Hi,
>>> Are these roles in the user store created by the CSG component ?
>>>
>>>- csg_unpublisher
>>>- csg_publisher
>>>
>>> OT-Issue : https://wso2.org/jira/browse/CARBON-13737
>>>
>>> Thanks,
>>> -Suresh
>>>
>>> --
>>> Suresh Attanayake
>>> Software Engineer; WSO2 Inc. http://wso2.com/
>>> Blog : http://sureshatt.blogspot.com/
>>> Twitter : https://twitter.com/sureshatt
>>> LinkedIn : http://lk.linkedin.com/in/sureshatt
>>> Mobile : +94755012060,+94770419136,+94710467976
>>>
>>>
>>
>>
>> --
>> Suresh Attanayake
>> Software Engineer; WSO2 Inc. http://wso2.com/
>> Blog : http://sureshatt.blogspot.com/
>> Twitter : https://twitter.com/sureshatt
>> LinkedIn : http://lk.linkedin.com/in/sureshatt
>> Mobile : +94755012060,+94770419136,+94710467976
>>
>>
>> ___
>> 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
>
>


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


Re: [Dev] [Architecture] BAM 2.0.0 Beta Released!

2012-07-30 Thread Samisa Abeysinghe
On Mon, Jul 30, 2012 at 4:10 PM, Tharindu Mathew  wrote:

>
>
> On Fri, Jul 27, 2012 at 8:28 PM, Charitha Kankanamge wrote:
>
>> On Fri, Jul 27, 2012 at 8:16 PM, Samisa Abeysinghe wrote:
>>
>>> I did my share of testing on BAM today. The Jira will tell the story.
>>>
>>> Before we pass the packs on to QA, I would like the team to look at the
>>> issues I have reported and fix them all and all those around the types I
>>> have reported.
>>>
>>> I would like the QA team to focus more serious testing on the packs,
>>> such as volume testing, reliability/consistency of data testing etc. So
>>> please fix these basic issues before the QA team takes over.
>>>
>> For this kind of testing, the pack is ready. UI issues, doc issues and
> context help issues can be fixed for a later pack. Is this a blocker for QA
> testing? We are running out of time to recognized Production level
> complicated issues and we can't fix these last moment.
>


They are not blockers for QA testing. But right now, QA is only focusing on
API-M aspects of BAM.

The release need to focus on total quality if we are to release, and the
lack of UI quality is a major issue.

Also, note that, docs are required for testing as well, as tests need to be
based on docs, to verify integrity.

Finally, if we leave these kinds of quality issues behind in the UI and
claim the UI is not done yet right, why are we not doing the UI in one go
right and work only on the backed components?
On the other hand, if we have this many quality issues on the UI, is
it realistic to release on the said deadlines?

The bottom line is that, it is time to fix these, until the QA team has
more time to test the BE - the product is NOT only about BE & it is time
that we finalize FE.


> We even have users, like Radoslaw giving fixes for some of the issues
> raised at [1].
>
> [1] - https://wso2.org/jira/browse/BAM-652
>
>>
>> Noted.
>>
>>
>>>
>>>
>>> On Thu, Jul 26, 2012 at 9:08 PM, Tharindu Mathew wrote:
>>>
 Hi Fernando,

 We will be starting on a doc update soon. It is not available yet.


 On Thu, Jul 26, 2012 at 5:45 PM, Fernando Troya <
 fernando.tr...@fluxit.com.ar> wrote:

> Does this BETA come with a documentation update? i.e. a
> wso2bam-2.0.0-BETA-docs.zip distribution?
>
> Cheers!
>
> 2012/7/26 Samisa Abeysinghe 
>
>>
>>
>> On Thu, Jul 26, 2012 at 1:05 PM, Tharindu Mathew 
>> wrote:
>>
>>> ETA for downloads for me is 2 hrs. Probably an issue with the hosted
>>> location. Should we host only on dist?
>>
>>
>> +1
>>
>>
>>>
>>>
>>> On Thu, Jul 26, 2012 at 9:14 AM, Samisa Abeysinghe 
>>> wrote:
>>>


 On Thu, Jul 26, 2012 at 9:13 AM, Samisa Abeysinghe >>> > wrote:

> The size of the pack seems 230+ MB. Do we have any plans to cut
> that down? (May be we discussed this earlier as well)
>

 Ans looks like it is going to take more than 30mins to download :(

 Thanks,
 Samisa...

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


>>>
>>>
>>> --
>>> Regards,
>>>
>>> Tharindu
>>>
>>> blog: http://mackiemathew.com/
>>> M: +9459908
>>>
>>>  Thanks,
>> Samisa...
>>
>> Samisa Abeysinghe
>> VP Engineering
>> WSO2 Inc.
>> http://wso2.com
>> http://wso2.org
>>
>>
>>
>> ___
>> Architecture mailing list
>> architect...@wso2.org
>> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>>
>>
>
>
> --
>  *Fernando Troya*
> fernando.tr...@fluxit.com.ar
> www.fluxit.com.ar
>  9 n° 865 (planta alta) / La Plata / Buenos Aires / Argentina
> (+54)-221-5532980 - Interno 315
>
>


 --
 Regards,

 Tharindu

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


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

 Thanks,
>>> Samisa...
>>>
>>> Samisa Abeysinghe
>>> VP Engineering
>>> WSO2 Inc.
>>> http://wso2.com
>>> http://wso2.org
>>>
>>>
>>>
>>> ___
>>> Architecture mailing list
>>> architect...@wso2.org
>>> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>>>
>>>
>>
>
>
> --
> Regards,
>
> Tharindu
>
> blog: http://mackiemathew.com/
> M: +9459908
>
>
> ___
> Architecture mailing list
> architect...@wso2.org
> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>
> Thanks,
Samisa...

Samisa Abeysinghe
VP Engineering
WSO2 Inc.
http://wso2.com
http://wso2.org
___
Dev mailing list
Dev@wso2.or

Re: [Dev] Does CSG component creates roles in user store ?

2012-07-30 Thread Rajika Kumarasiri
Yeah, CSG (which is known as CG now) Agent creates the below roles at start
up. I will fix the issue for CG Agent component

BTW, by default only ESB distributes CG Agent so AS should not affect with
this.

Rajika

On Mon, Jul 30, 2012 at 4:09 PM, Suresh Attanayaka  wrote:

> Hi All,
>
> It seem the CSG component is trying to create some empty roles in the user
> store. This would work fine with JDBC user store but definitely will fail
> with most of the LDAP user stores due to groups schema violations. CSG
> folks please look in to this issue
> https://wso2.org/jira/browse/CARBON-13734 . You have to create at least
> one member for a group you are trying to create.
>
> Thanks,
> -Suresh
>
> On Sat, Jul 28, 2012 at 5:21 PM, Suresh Attanayaka wrote:
>
>> Hi,
>> Are these roles in the user store created by the CSG component ?
>>
>>- csg_unpublisher
>>- csg_publisher
>>
>> OT-Issue : https://wso2.org/jira/browse/CARBON-13737
>>
>> Thanks,
>> -Suresh
>>
>> --
>> Suresh Attanayake
>> Software Engineer; WSO2 Inc. http://wso2.com/
>> Blog : http://sureshatt.blogspot.com/
>> Twitter : https://twitter.com/sureshatt
>> LinkedIn : http://lk.linkedin.com/in/sureshatt
>> Mobile : +94755012060,+94770419136,+94710467976
>>
>>
>
>
> --
> Suresh Attanayake
> Software Engineer; WSO2 Inc. http://wso2.com/
> Blog : http://sureshatt.blogspot.com/
> Twitter : https://twitter.com/sureshatt
> LinkedIn : http://lk.linkedin.com/in/sureshatt
> Mobile : +94755012060,+94770419136,+94710467976
>
>
> ___
> 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


Re: [Dev] Patch for depsync premature update issue

2012-07-30 Thread Nuwan Dias
Sure.. Will do.

Thanks,
NuwanD.

On Mon, Jul 30, 2012 at 3:41 PM, Afkham Azeez  wrote:

> NuwanD please check the following:
>
> azeez@azmac:~/projects/wso2/org/carbon/kernel/trunk/core/org.wso2.carbon.core$
> svn diff
> src/main/java/org/wso2/carbon/core/deployment/SynchronizeRepositoryRequest.java
> src/main/java/org/wso2/carbon/core/deployment/CarbonDeploymentSchedulerTask.java
>
>
> -
>
> Index:
> src/main/java/org/wso2/carbon/core/deployment/SynchronizeRepositoryRequest.java
> ===
> ---
> src/main/java/org/wso2/carbon/core/deployment/SynchronizeRepositoryRequest.java
>  (revision
> 133403)
> +++
> src/main/java/org/wso2/carbon/core/deployment/SynchronizeRepositoryRequest.java
>  (working
> copy)
> @@ -30,6 +30,7 @@
>  import org.wso2.carbon.core.CarbonAxisConfigurator;
>  import org.wso2.carbon.core.internal.CarbonCoreDataHolder;
>  import org.wso2.carbon.core.multitenancy.TenantAxisConfigurator;
> +import org.wso2.carbon.core.multitenancy.utils.TenantAxisUtils;
>
>  /**
>   * ClusterMessage for sending a deployment repository synchronization
> request
> @@ -37,14 +38,16 @@
>  public class SynchronizeRepositoryRequest extends ClusteringMessage {
>
>  private int tenantId;
> +private String  tenantDomain;
>  private transient static final Log log =
> LogFactory.getLog(SynchronizeRepositoryRequest.class);
>
>
>  public SynchronizeRepositoryRequest() {
>  }
>
> -public SynchronizeRepositoryRequest(int tenantId) {
> +public SynchronizeRepositoryRequest(int tenantId, String
> tenantDomain) {
>  this.tenantId = tenantId;
> +this.tenantDomain = tenantDomain;
>  }
>
>  public void setTenantId(int tenantId) {
> @@ -52,8 +55,11 @@
>  }
>
>  public void execute(ConfigurationContext configContext) throws
> ClusteringFault{
> -updateDeploymentRepository(configContext);
> -doDeployment(configContext);
> +// Run only if the tenant is loaded
> +if
> (TenantAxisUtils.getTenantConfigurationContexts(configContext).get(tenantDomain)
> != null) {
> +updateDeploymentRepository(configContext);
> +doDeployment(configContext);
> +}
>  }
>
>  private void doDeployment(ConfigurationContext configContext) {
> Index:
> src/main/java/org/wso2/carbon/core/deployment/CarbonDeploymentSchedulerTask.java
> ===
> ---
> src/main/java/org/wso2/carbon/core/deployment/CarbonDeploymentSchedulerTask.java
>  (revision
> 133403)
> +++
> src/main/java/org/wso2/carbon/core/deployment/CarbonDeploymentSchedulerTask.java
>  (working
> copy)
> @@ -155,7 +155,8 @@
>  int numberOfRetries = 0;
>  while (numberOfRetries < 60) {
>  try {
> -clusteringAgent.sendMessage(new
> SynchronizeRepositoryRequest(tenantId), true);
> +clusteringAgent.sendMessage(new
> SynchronizeRepositoryRequest(tenantId, tenantDomain),
> +true);
>  break;
>  } catch (ClusteringFault e) {
>  numberOfRetries++;
>



-- 
Nuwan Dias

Software Engineer - WSO2, Inc.
Integration Technologies Team
email : nuw...@wso2.com
Phone : +94 777 775 729
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [Architecture] BAM 2.0.0 Beta Released!

2012-07-30 Thread Tharindu Mathew
On Fri, Jul 27, 2012 at 8:28 PM, Charitha Kankanamge wrote:

> On Fri, Jul 27, 2012 at 8:16 PM, Samisa Abeysinghe wrote:
>
>> I did my share of testing on BAM today. The Jira will tell the story.
>>
>> Before we pass the packs on to QA, I would like the team to look at the
>> issues I have reported and fix them all and all those around the types I
>> have reported.
>>
>> I would like the QA team to focus more serious testing on the packs, such
>> as volume testing, reliability/consistency of data testing etc. So please
>> fix these basic issues before the QA team takes over.
>>
> For this kind of testing, the pack is ready. UI issues, doc issues and
context help issues can be fixed for a later pack. Is this a blocker for QA
testing? We are running out of time to recognized Production level
complicated issues and we can't fix these last moment.

We even have users, like Radoslaw giving fixes for some of the issues
raised at [1].

[1] - https://wso2.org/jira/browse/BAM-652

>
> Noted.
>
>
>>
>>
>> On Thu, Jul 26, 2012 at 9:08 PM, Tharindu Mathew wrote:
>>
>>> Hi Fernando,
>>>
>>> We will be starting on a doc update soon. It is not available yet.
>>>
>>>
>>> On Thu, Jul 26, 2012 at 5:45 PM, Fernando Troya <
>>> fernando.tr...@fluxit.com.ar> wrote:
>>>
 Does this BETA come with a documentation update? i.e. a
 wso2bam-2.0.0-BETA-docs.zip distribution?

 Cheers!

 2012/7/26 Samisa Abeysinghe 

>
>
> On Thu, Jul 26, 2012 at 1:05 PM, Tharindu Mathew wrote:
>
>> ETA for downloads for me is 2 hrs. Probably an issue with the hosted
>> location. Should we host only on dist?
>
>
> +1
>
>
>>
>>
>> On Thu, Jul 26, 2012 at 9:14 AM, Samisa Abeysinghe 
>> wrote:
>>
>>>
>>>
>>> On Thu, Jul 26, 2012 at 9:13 AM, Samisa Abeysinghe 
>>> wrote:
>>>
 The size of the pack seems 230+ MB. Do we have any plans to cut
 that down? (May be we discussed this earlier as well)

>>>
>>> Ans looks like it is going to take more than 30mins to download :(
>>>
>>> Thanks,
>>> Samisa...
>>>
>>> Samisa Abeysinghe
>>> VP Engineering
>>> WSO2 Inc.
>>> http://wso2.com
>>> http://wso2.org
>>>
>>>
>>
>>
>> --
>> Regards,
>>
>> Tharindu
>>
>> blog: http://mackiemathew.com/
>> M: +9459908
>>
>>  Thanks,
> Samisa...
>
> Samisa Abeysinghe
> VP Engineering
> WSO2 Inc.
> http://wso2.com
> http://wso2.org
>
>
>
> ___
> Architecture mailing list
> architect...@wso2.org
> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>
>


 --
  *Fernando Troya*
 fernando.tr...@fluxit.com.ar
 www.fluxit.com.ar
  9 n° 865 (planta alta) / La Plata / Buenos Aires / Argentina
 (+54)-221-5532980 - Interno 315


>>>
>>>
>>> --
>>> Regards,
>>>
>>> Tharindu
>>>
>>> blog: http://mackiemathew.com/
>>> M: +9459908
>>>
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>> Thanks,
>> Samisa...
>>
>> Samisa Abeysinghe
>> VP Engineering
>> WSO2 Inc.
>> http://wso2.com
>> http://wso2.org
>>
>>
>>
>> ___
>> Architecture mailing list
>> architect...@wso2.org
>> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>>
>>
>


-- 
Regards,

Tharindu

blog: http://mackiemathew.com/
M: +9459908
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Does CSG component creates roles in user store ?

2012-07-30 Thread Suresh Attanayaka
Hi All,

It seem the CSG component is trying to create some empty roles in the user
store. This would work fine with JDBC user store but definitely will fail
with most of the LDAP user stores due to groups schema violations. CSG
folks please look in to this issue https://wso2.org/jira/browse/CARBON-13734 .
You have to create at least one member for a group you are trying to
create.

Thanks,
-Suresh

On Sat, Jul 28, 2012 at 5:21 PM, Suresh Attanayaka  wrote:

> Hi,
> Are these roles in the user store created by the CSG component ?
>
>- csg_unpublisher
>- csg_publisher
>
> OT-Issue : https://wso2.org/jira/browse/CARBON-13737
>
> Thanks,
> -Suresh
>
> --
> Suresh Attanayake
> Software Engineer; WSO2 Inc. http://wso2.com/
> Blog : http://sureshatt.blogspot.com/
> Twitter : https://twitter.com/sureshatt
> LinkedIn : http://lk.linkedin.com/in/sureshatt
> Mobile : +94755012060,+94770419136,+94710467976
>
>


-- 
Suresh Attanayake
Software Engineer; WSO2 Inc. http://wso2.com/
Blog : http://sureshatt.blogspot.com/
Twitter : https://twitter.com/sureshatt
LinkedIn : http://lk.linkedin.com/in/sureshatt
Mobile : +94755012060,+94770419136,+94710467976
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] NoClassDefFoundError: org/apache/axiom/om/OMNode Error

2012-07-30 Thread Ishara Karunarathna
Hi,

I'm getting this error while building the BRS samples.

 [java] Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/axiom/om/OMNode
 [java] at
org.apache.axis2.description.WSDLToAxisServiceBuilder.(WSDLToAxisServiceBuilder.java:103)
 [java] at
org.apache.axis2.description.WSDL11ToAxisServiceBuilder.(WSDL11ToAxisServiceBuilder.java:217)
 [java] at
org.apache.axis2.description.WSDL11ToAllAxisServicesBuilder.(WSDL11ToAllAxisServicesBuilder.java:63)
 [java] at
org.apache.axis2.wsdl.codegen.CodeGenerationEngine.(CodeGenerationEngine.java:166)
 [java] at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:35)
 [java] at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:24)
 [java] Caused by: java.lang.ClassNotFoundException:
org.apache.axiom.om.OMNode
 [java] at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
 [java] at java.security.AccessController.doPrivileged(Native Method)
 [java] at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
 [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
 [java] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
 [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:247)


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


Re: [Dev] Failure while building Features : WSO2 Carbon - Logging Management Core Feature (ERROR: Failure to find org.apache.cassandra.wso2:apache-cassandra:jar:1.1.0.wso2v2)

2012-07-30 Thread Deependra Ariyadewa
On Mon, Jul 30, 2012 at 3:43 PM, Ranga Siriwardena  wrote:

> Hi Sanjaya,
>
> On Mon, Jul 30, 2012 at 3:36 PM, Sanjaya Vithanagama wrote:
>
>> I tried building Cassandra locally but getting the same issue.
>>
>
> If you build "platform/4.0.0/dependencies/cassandra/1.1.0-wso2v2" and
>  "platform/4.0.0/dependencies/orbit/cassandra/1.1.0.wso2v2" it will get
> resolve.
>

Now external nexus is synced.

http://maven.wso2.org/nexus/content/groups/wso2-public/org/apache/cassandra/wso2/apache-cassandra/1.1.0.wso2v2/

Try to use google DNS and do a online build.

Thanks,

Deependra.

>
>
>> On Mon, Jul 30, 2012 at 2:37 PM, Deependra Ariyadewa wrote:
>>
>>> It looks Nexus is not synced. I am working with Yasith.  You can try to
>>> locally build the Cassandra and continue build.
>>>
>>> Thanks,
>>>
>>> Deependra.
>>>
>>> On Mon, Jul 30, 2012 at 2:31 PM, Buddhima Wijeweera 
>>> wrote:
>>>
 Hi ,
 I'm getting a failure while building platform/branch/features
 It fails to build WSO2 Carbon - Logging Management Core Feature

 I get svn up for kernel/branches , platform/branches/components and
 platform/branches/features
 Kernel and Component built successfully. But while building Features
 I'm getting the following error about cassandra

 [ERROR] Failed to execute goal org.wso2.maven:carbon-p2-
 plugin:1.5:p2-feature-gen (4-p2-feature-generation) on project
 org.wso2.carbon.logging.mgt.server.feature: ERROR: Failure to find
 org.apache.cassandra.wso2:apache-cassandra:jar:1.1.0.wso2v2 in
 http://maven.wso2.org/nexus/content/groups/wso2-public/ was cached in
 the local repository, resolution will not be reattempted until the update
 interval of wso2-nexus has elapsed or updates are forced
 [ERROR]
 [ERROR] Try downloading the file manually from the project website.
 [ERROR]
 [ERROR] Then, install it using the command:
 [ERROR] mvn install:install-file -DgroupId=org.apache.cassandra.wso2
 -DartifactId=apache-cassandra -Dversion=1.1.0.wso2v2 -Dpackaging=jar
 -Dfile=/path/to/file
 [ERROR]
 [ERROR] Alternatively, if you host your own repository you can deploy
 the file there:
 [ERROR] mvn deploy:deploy-file -DgroupId=org.apache.cassandra.wso2
 -DartifactId=apache-cassandra -Dversion=1.1.0.wso2v2 -Dpackaging=jar
 -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
 [ERROR]
 [ERROR]
 [ERROR] org.apache.cassandra.wso2:apache-cassandra:jar:1.1.0.wso2v2
 [ERROR]
 [ERROR] from the specified remote repositories:
 [ERROR] wso2-nexus (
 http://maven.wso2.org/nexus/content/groups/wso2-public/,
 releases=true, snapshots=true),
 [ERROR] central (http://repo.maven.apache.org/maven2, releases=true,
 snapshots=false)
 [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/MojoExecutionException
 [ERROR]
 [ERROR] After correcting the problems, you can resume the build with
 the command
 [ERROR]   mvn  -rf :org.wso2.carbon.logging.mgt.server.feature

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


>>>
>>>
>>> --
>>> Deependra Ariyadewa
>>> WSO2, Inc. http://wso2.com/ http://wso2.org
>>>
>>> email d...@wso2.com; cell +94 71 403 5996 ;
>>> Blog http://risenfall.wordpress.com/
>>> PGP info: KeyID: 'DC627E6F'
>>>
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Sanjaya Vithanagama
>> WSO2, Inc.; http://wso2.com
>> lean.enterprise.middleware
>>
>> cell: +94 71 342 2881
>>
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
> Thank You.
> Ranga.
>
> --
> Ranga Siriwardena
> Software Engineer
> WSO2 Inc.
>
>


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

email d...@wso2.com; cell +94 71 403 5996 ;
Blog http://risenfall.wordpress.com/
PGP info: KeyID: 'DC627E6F'
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Failure while building Features : WSO2 Carbon - Logging Management Core Feature (ERROR: Failure to find org.apache.cassandra.wso2:apache-cassandra:jar:1.1.0.wso2v2)

2012-07-30 Thread Ranga Siriwardena
Hi Sanjaya,

On Mon, Jul 30, 2012 at 3:36 PM, Sanjaya Vithanagama wrote:

> I tried building Cassandra locally but getting the same issue.
>

If you build "platform/4.0.0/dependencies/cassandra/1.1.0-wso2v2" and
 "platform/4.0.0/dependencies/orbit/cassandra/1.1.0.wso2v2" it will get
resolve.


> On Mon, Jul 30, 2012 at 2:37 PM, Deependra Ariyadewa wrote:
>
>> It looks Nexus is not synced. I am working with Yasith.  You can try to
>> locally build the Cassandra and continue build.
>>
>> Thanks,
>>
>> Deependra.
>>
>> On Mon, Jul 30, 2012 at 2:31 PM, Buddhima Wijeweera wrote:
>>
>>> Hi ,
>>> I'm getting a failure while building platform/branch/features
>>> It fails to build WSO2 Carbon - Logging Management Core Feature
>>>
>>> I get svn up for kernel/branches , platform/branches/components and
>>> platform/branches/features
>>> Kernel and Component built successfully. But while building Features I'm
>>> getting the following error about cassandra
>>>
>>> [ERROR] Failed to execute goal org.wso2.maven:carbon-p2-
>>> plugin:1.5:p2-feature-gen (4-p2-feature-generation) on project
>>> org.wso2.carbon.logging.mgt.server.feature: ERROR: Failure to find
>>> org.apache.cassandra.wso2:apache-cassandra:jar:1.1.0.wso2v2 in
>>> http://maven.wso2.org/nexus/content/groups/wso2-public/ was cached in
>>> the local repository, resolution will not be reattempted until the update
>>> interval of wso2-nexus has elapsed or updates are forced
>>> [ERROR]
>>> [ERROR] Try downloading the file manually from the project website.
>>> [ERROR]
>>> [ERROR] Then, install it using the command:
>>> [ERROR] mvn install:install-file -DgroupId=org.apache.cassandra.wso2
>>> -DartifactId=apache-cassandra -Dversion=1.1.0.wso2v2 -Dpackaging=jar
>>> -Dfile=/path/to/file
>>> [ERROR]
>>> [ERROR] Alternatively, if you host your own repository you can deploy
>>> the file there:
>>> [ERROR] mvn deploy:deploy-file -DgroupId=org.apache.cassandra.wso2
>>> -DartifactId=apache-cassandra -Dversion=1.1.0.wso2v2 -Dpackaging=jar
>>> -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
>>> [ERROR]
>>> [ERROR]
>>> [ERROR] org.apache.cassandra.wso2:apache-cassandra:jar:1.1.0.wso2v2
>>> [ERROR]
>>> [ERROR] from the specified remote repositories:
>>> [ERROR] wso2-nexus (
>>> http://maven.wso2.org/nexus/content/groups/wso2-public/, releases=true,
>>> snapshots=true),
>>> [ERROR] central (http://repo.maven.apache.org/maven2, releases=true,
>>> snapshots=false)
>>> [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/MojoExecutionException
>>> [ERROR]
>>> [ERROR] After correcting the problems, you can resume the build with the
>>> command
>>> [ERROR]   mvn  -rf :org.wso2.carbon.logging.mgt.server.feature
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Deependra Ariyadewa
>> WSO2, Inc. http://wso2.com/ http://wso2.org
>>
>> email d...@wso2.com; cell +94 71 403 5996 ;
>> Blog http://risenfall.wordpress.com/
>> PGP info: KeyID: 'DC627E6F'
>>
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Sanjaya Vithanagama
> WSO2, Inc.; http://wso2.com
> lean.enterprise.middleware
>
> cell: +94 71 342 2881
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>
Thank You.
Ranga.

-- 
Ranga Siriwardena
Software Engineer
WSO2 Inc.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Patch for depsync premature update issue

2012-07-30 Thread Afkham Azeez
NuwanD please check the following:

azeez@azmac:~/projects/wso2/org/carbon/kernel/trunk/core/org.wso2.carbon.core$
svn diff
src/main/java/org/wso2/carbon/core/deployment/SynchronizeRepositoryRequest.java
src/main/java/org/wso2/carbon/core/deployment/CarbonDeploymentSchedulerTask.java

-

Index:
src/main/java/org/wso2/carbon/core/deployment/SynchronizeRepositoryRequest.java
===
---
src/main/java/org/wso2/carbon/core/deployment/SynchronizeRepositoryRequest.java
(revision
133403)
+++
src/main/java/org/wso2/carbon/core/deployment/SynchronizeRepositoryRequest.java
(working
copy)
@@ -30,6 +30,7 @@
 import org.wso2.carbon.core.CarbonAxisConfigurator;
 import org.wso2.carbon.core.internal.CarbonCoreDataHolder;
 import org.wso2.carbon.core.multitenancy.TenantAxisConfigurator;
+import org.wso2.carbon.core.multitenancy.utils.TenantAxisUtils;

 /**
  * ClusterMessage for sending a deployment repository synchronization
request
@@ -37,14 +38,16 @@
 public class SynchronizeRepositoryRequest extends ClusteringMessage {

 private int tenantId;
+private String  tenantDomain;
 private transient static final Log log =
LogFactory.getLog(SynchronizeRepositoryRequest.class);


 public SynchronizeRepositoryRequest() {
 }

-public SynchronizeRepositoryRequest(int tenantId) {
+public SynchronizeRepositoryRequest(int tenantId, String tenantDomain)
{
 this.tenantId = tenantId;
+this.tenantDomain = tenantDomain;
 }

 public void setTenantId(int tenantId) {
@@ -52,8 +55,11 @@
 }

 public void execute(ConfigurationContext configContext) throws
ClusteringFault{
-updateDeploymentRepository(configContext);
-doDeployment(configContext);
+// Run only if the tenant is loaded
+if
(TenantAxisUtils.getTenantConfigurationContexts(configContext).get(tenantDomain)
!= null) {
+updateDeploymentRepository(configContext);
+doDeployment(configContext);
+}
 }

 private void doDeployment(ConfigurationContext configContext) {
Index:
src/main/java/org/wso2/carbon/core/deployment/CarbonDeploymentSchedulerTask.java
===
---
src/main/java/org/wso2/carbon/core/deployment/CarbonDeploymentSchedulerTask.java
(revision
133403)
+++
src/main/java/org/wso2/carbon/core/deployment/CarbonDeploymentSchedulerTask.java
(working
copy)
@@ -155,7 +155,8 @@
 int numberOfRetries = 0;
 while (numberOfRetries < 60) {
 try {
-clusteringAgent.sendMessage(new
SynchronizeRepositoryRequest(tenantId), true);
+clusteringAgent.sendMessage(new
SynchronizeRepositoryRequest(tenantId, tenantDomain),
+true);
 break;
 } catch (ClusteringFault e) {
 numberOfRetries++;
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [Bamboo-Build] WSO2 Carbon BRANCH > Platform_4.0.0 > #60 has FAILED. Change made by vijitha and supunm.

2012-07-30 Thread Shammi Jayasinghe
Build was failed due to unavailability of
org.apache.cassandra.wso2:apache-cassandra:jar:1.1.0.wso2v2 in nexus repo.
Yasith has synched the repo and now it is available there.
http://maven.wso2.org/nexus/content/groups/wso2-public/org/apache/cassandra/wso2/apache-cassandra/1.1.0.wso2v2/

This will be reflected in the next build.

Thanks
Shammi

On Mon, Jul 30, 2012 at 2:41 PM, Bamboo  wrote:

>  [image: Failed]  WSO2 Carbon 
> BRANCH›
> Platform_4.0.0  › 
> #60
> failed
>
> Code has been updated by 
> vijitha,
> supunm .
>
> No failed tests found, a possible compilation error.
>   Failing Jobs Job
> Duration Tests[image: Failed]  Default 
> Job (Default
> Stage)  150 minutes  No tests found  
> Logs|
> Artifacts  
> Code
> Changes   View
> full change details
> supunm 
> patch for 
> CARBON-13563
> 135572vijitha 
> Fix for the 
> REGISTRY-1151
> 135571 View Online  | Add
> Comments 
>
> This message was sent by Atlassian Bamboo .
>
> If you wish to stop receiving these emails edit your user 
> profileor notify
> your administrator .
>
> ___
> 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


Re: [Dev] Failure while building Features : WSO2 Carbon - Logging Management Core Feature (ERROR: Failure to find org.apache.cassandra.wso2:apache-cassandra:jar:1.1.0.wso2v2)

2012-07-30 Thread Sanjaya Vithanagama
I tried building Cassandra locally but getting the same issue.

On Mon, Jul 30, 2012 at 2:37 PM, Deependra Ariyadewa  wrote:

> It looks Nexus is not synced. I am working with Yasith.  You can try to
> locally build the Cassandra and continue build.
>
> Thanks,
>
> Deependra.
>
> On Mon, Jul 30, 2012 at 2:31 PM, Buddhima Wijeweera wrote:
>
>> Hi ,
>> I'm getting a failure while building platform/branch/features
>> It fails to build WSO2 Carbon - Logging Management Core Feature
>>
>> I get svn up for kernel/branches , platform/branches/components and
>> platform/branches/features
>> Kernel and Component built successfully. But while building Features I'm
>> getting the following error about cassandra
>>
>> [ERROR] Failed to execute goal org.wso2.maven:carbon-p2-
>> plugin:1.5:p2-feature-gen (4-p2-feature-generation) on project
>> org.wso2.carbon.logging.mgt.server.feature: ERROR: Failure to find
>> org.apache.cassandra.wso2:apache-cassandra:jar:1.1.0.wso2v2 in
>> http://maven.wso2.org/nexus/content/groups/wso2-public/ was cached in
>> the local repository, resolution will not be reattempted until the update
>> interval of wso2-nexus has elapsed or updates are forced
>> [ERROR]
>> [ERROR] Try downloading the file manually from the project website.
>> [ERROR]
>> [ERROR] Then, install it using the command:
>> [ERROR] mvn install:install-file -DgroupId=org.apache.cassandra.wso2
>> -DartifactId=apache-cassandra -Dversion=1.1.0.wso2v2 -Dpackaging=jar
>> -Dfile=/path/to/file
>> [ERROR]
>> [ERROR] Alternatively, if you host your own repository you can deploy the
>> file there:
>> [ERROR] mvn deploy:deploy-file -DgroupId=org.apache.cassandra.wso2
>> -DartifactId=apache-cassandra -Dversion=1.1.0.wso2v2 -Dpackaging=jar
>> -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
>> [ERROR]
>> [ERROR]
>> [ERROR] org.apache.cassandra.wso2:apache-cassandra:jar:1.1.0.wso2v2
>> [ERROR]
>> [ERROR] from the specified remote repositories:
>> [ERROR] wso2-nexus (
>> http://maven.wso2.org/nexus/content/groups/wso2-public/, releases=true,
>> snapshots=true),
>> [ERROR] central (http://repo.maven.apache.org/maven2, releases=true,
>> snapshots=false)
>> [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/MojoExecutionException
>> [ERROR]
>> [ERROR] After correcting the problems, you can resume the build with the
>> command
>> [ERROR]   mvn  -rf :org.wso2.carbon.logging.mgt.server.feature
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Deependra Ariyadewa
> WSO2, Inc. http://wso2.com/ http://wso2.org
>
> email d...@wso2.com; cell +94 71 403 5996 ;
> Blog http://risenfall.wordpress.com/
> PGP info: KeyID: 'DC627E6F'
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Sanjaya Vithanagama
WSO2, Inc.; http://wso2.com
lean.enterprise.middleware

cell: +94 71 342 2881
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Apimgt product build failure in branch

2012-07-30 Thread Ranga Siriwardena
Hi,

$Subject.


Installing org.wso2.carbon.um.ws.service.server.feature.group 4.0.0.
Installation failed.
Cannot complete the install because one or more required items could not be
found.
 Software being installed: WSO2 Carbon - Synapse Config Admin Feature 4.0.0
(org.wso2.carbon.mediation.configadmin.feature.group 4.0.0)
 Missing requirement: org.wso2.carbon.mediation.configadmin 4.0.0
(org.wso2.carbon.mediation.configadmin 4.0.0) requires 'package
org.wso2.carbon.proxyadmin.service [4.0.0,5.0.0)' but it could not be found
 Cannot satisfy dependency:
  From: WSO2 Carbon - Synapse Config Admin Feature 4.0.0
(org.wso2.carbon.mediation.configadmin.feature.group 4.0.0)
  To: org.wso2.carbon.mediation.configadmin.server.feature.group [4.0.0]
 Cannot satisfy dependency:
  From: WSO2 Carbon - Synapse Config Admin Core Feature 4.0.0
(org.wso2.carbon.mediation.configadmin.server.feature.group 4.0.0)
  To: org.wso2.carbon.mediation.configadmin [4.0.0]
Application failed, log file location:
/home/builder/.m2/repository/org/eclipse/tycho/tycho-p2-runtime/0.13.0/eclipse/configuration/1343670949686.log

[INFO]

[INFO] Reactor Summary:
[INFO]
[INFO] WSO2 API Manager - Aggregator Module .. SUCCESS [0.187s]
[INFO] WSO2 API Manager - Styles Parent .. SUCCESS [0.006s]
[INFO] WSO2 API Manager - Styles . SUCCESS [0.712s]
[INFO] WSO2 API Manager - Features Parent  SUCCESS [0.004s]
[INFO] WSO2 API Manager - Features Aggregator Module . SUCCESS [0.005s]
[INFO] WSO2 API Manager - Styles Features  SUCCESS [0.321s]
[INFO] WSO2 API Manager - P2 Profile Generation Parent ... SUCCESS [0.005s]
[INFO] WSO2 API Manager - P2 Profile Generation .. FAILURE [14.519s]
[INFO] WSO2 API Manager - Distribution Parent  SKIPPED
[INFO] WSO2 API Manager - Distribution ... SKIPPED
[INFO]

[INFO] BUILD FAILURE
[INFO]

[INFO] Total time: 16.345s
[INFO] Finished at: Mon Jul 30 23:25:54 IST 2012
[INFO] Final Memory: 17M/981M
[INFO]

[ERROR] Failed to execute goal
org.wso2.maven:carbon-p2-plugin:1.5:p2-profile-gen
(3-p2-profile-generation) on project am-p2-profile: 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.
[ERROR]
[ERROR] For more information about the errors and possible solutions,
please read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the
command
[ERROR]   mvn  -rf :am-p2-profile



Thank You.
Ranga.
-- 
Ranga Siriwardena
Software Engineer
WSO2 Inc.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [Bamboo-Build] WSO2 Carbon BRANCH > Platform_4.0.0 > #60 has FAILED. Change made by vijitha and supunm.

2012-07-30 Thread Bamboo

---
WSO2 Carbon BRANCH > Platform_4.0.0 > #60 failed.
---
Code has been updated by vijitha, supunm.
No failed tests found, a possible compilation error.

http://wso2.org/bamboo/browse/WCB001-PLA000-60/


--
Failing Jobs
--
  - Default Job (Default Stage): No tests found.



--
Code Changes
--
supunm (135572):

>patch for CARBON-13563

vijitha (135571):

>Fix for the REGISTRY-1151



--
This message is automatically generated by Atlassian Bamboo___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Automation testing for ESB Data Agents

2012-07-30 Thread Maninda Edirisooriya
We only need to verify our code in the local environment automatically to
save time. So distributed deployment is not required.
Thanks.

Regards,
Maninda.

On Mon, Jul 30, 2012 at 2:41 PM, Krishantha Samaraweera  wrote:

> Your scenario would be possible to implement using Clarity framework.
> Since BAM needs lot of resource, is it possible to deploy the this setup on
> single machine.  If you are going for distributed deployment, then
> automatically starting ESB server would not possible. But still you can
> achieve this by using perl based deployment framework [1] . However I
> haven't tested Clarity core for platform scenario implementation after
> framework unification effort. I will check simple platform scenario and let
> you know whether the framework is ready for platform scenario automation.
>
> Thanks,
> Krishantha.
>
> [1]
> https://svn.wso2.org/repos/wso2/carbon/platform/branches/4.0.0/platform-integration/deployment-framework
>
>
> On Mon, Jul 30, 2012 at 12:48 PM, Maninda Edirisooriya 
> wrote:
>
>> For testing BAM data agents in ESB, we have to,
>>
>>1. Extract the ESB from the pack
>>2. Set a port offset in ESB and up the ESB
>>3. Install BAM Mediator feature in ESB
>>4. Build Simple Stock Quote Service in ESB samples
>>5. Up the sample Axis2 server
>>6. Extract the BAM from pack
>>7. Up the BAM server
>>8. Create a WSDL Proxy Service in ESB
>>9. Create a BAM Server Profile and a stream in ESB
>>10. Add the BAM mediator to created WSDL proxy service
>>11. Ant build the Axis2 client in ESB to send data to WSDL Proxy
>>Service
>>12. Check the Cassandra database in BAM for sent data
>>
>> Other than doing all the above stuff manually can we do some automation
>> to do them all automatically? If so we can save a lot of time.
>>
>>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Need to modify wso2server.sh/bat to fix BAM-538

2012-07-30 Thread Afkham Azeez
Have separate files for BAM, or append this during the BAM build.

On Mon, Jul 30, 2012 at 1:58 PM, Kasun Weranga  wrote:

> Hi all,
>
>
> When using Cassandra with some average load it prints following warning in
> bam console.
>
> "MemoryMeter uninitialized (jamm not specified as java agent); assuming
> liveRatio of 10.0. Usually this means cassandra-env.sh disabled jamm
> because you are using a buggy JRE; upgrade to the Sun JRE instead"
>
> In order to fix this, We need to add -javaagent:/jamm.jar to the
> wso2server.sh/bat and also org.github.jamm package to the launch.ini, But
> this is only specific to products that uses Cassandra. So adding above will
> affect to whole platform.
> so is there any way to solve this problem?
>
>  Thanks,
> KasunW.
>
>
>
>
>
>
>
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


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


Re: [Dev] Automation testing for ESB Data Agents

2012-07-30 Thread Krishantha Samaraweera
Your scenario would be possible to implement using Clarity framework. Since
BAM needs lot of resource, is it possible to deploy the this setup on
single machine.  If you are going for distributed deployment, then
automatically starting ESB server would not possible. But still you can
achieve this by using perl based deployment framework [1] . However I
haven't tested Clarity core for platform scenario implementation after
framework unification effort. I will check simple platform scenario and let
you know whether the framework is ready for platform scenario automation.

Thanks,
Krishantha.

[1]
https://svn.wso2.org/repos/wso2/carbon/platform/branches/4.0.0/platform-integration/deployment-framework

On Mon, Jul 30, 2012 at 12:48 PM, Maninda Edirisooriya wrote:

> For testing BAM data agents in ESB, we have to,
>
>1. Extract the ESB from the pack
>2. Set a port offset in ESB and up the ESB
>3. Install BAM Mediator feature in ESB
>4. Build Simple Stock Quote Service in ESB samples
>5. Up the sample Axis2 server
>6. Extract the BAM from pack
>7. Up the BAM server
>8. Create a WSDL Proxy Service in ESB
>9. Create a BAM Server Profile and a stream in ESB
>10. Add the BAM mediator to created WSDL proxy service
>11. Ant build the Axis2 client in ESB to send data to WSDL Proxy
>Service
>12. Check the Cassandra database in BAM for sent data
>
> Other than doing all the above stuff manually can we do some automation to
> do them all automatically? If so we can save a lot of time.
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Failure while building Features : WSO2 Carbon - Logging Management Core Feature (ERROR: Failure to find org.apache.cassandra.wso2:apache-cassandra:jar:1.1.0.wso2v2)

2012-07-30 Thread Deependra Ariyadewa
It looks Nexus is not synced. I am working with Yasith.  You can try to
locally build the Cassandra and continue build.

Thanks,

Deependra.

On Mon, Jul 30, 2012 at 2:31 PM, Buddhima Wijeweera wrote:

> Hi ,
> I'm getting a failure while building platform/branch/features
> It fails to build WSO2 Carbon - Logging Management Core Feature
>
> I get svn up for kernel/branches , platform/branches/components and
> platform/branches/features
> Kernel and Component built successfully. But while building Features I'm
> getting the following error about cassandra
>
> [ERROR] Failed to execute goal org.wso2.maven:carbon-p2-
> plugin:1.5:p2-feature-gen (4-p2-feature-generation) on project
> org.wso2.carbon.logging.mgt.server.feature: ERROR: Failure to find
> org.apache.cassandra.wso2:apache-cassandra:jar:1.1.0.wso2v2 in
> http://maven.wso2.org/nexus/content/groups/wso2-public/ was cached in the
> local repository, resolution will not be reattempted until the update
> interval of wso2-nexus has elapsed or updates are forced
> [ERROR]
> [ERROR] Try downloading the file manually from the project website.
> [ERROR]
> [ERROR] Then, install it using the command:
> [ERROR] mvn install:install-file -DgroupId=org.apache.cassandra.wso2
> -DartifactId=apache-cassandra -Dversion=1.1.0.wso2v2 -Dpackaging=jar
> -Dfile=/path/to/file
> [ERROR]
> [ERROR] Alternatively, if you host your own repository you can deploy the
> file there:
> [ERROR] mvn deploy:deploy-file -DgroupId=org.apache.cassandra.wso2
> -DartifactId=apache-cassandra -Dversion=1.1.0.wso2v2 -Dpackaging=jar
> -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
> [ERROR]
> [ERROR]
> [ERROR] org.apache.cassandra.wso2:apache-cassandra:jar:1.1.0.wso2v2
> [ERROR]
> [ERROR] from the specified remote repositories:
> [ERROR] wso2-nexus (
> http://maven.wso2.org/nexus/content/groups/wso2-public/, releases=true,
> snapshots=true),
> [ERROR] central (http://repo.maven.apache.org/maven2, releases=true,
> snapshots=false)
> [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/MojoExecutionException
> [ERROR]
> [ERROR] After correcting the problems, you can resume the build with the
> command
> [ERROR]   mvn  -rf :org.wso2.carbon.logging.mgt.server.feature
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


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

email d...@wso2.com; cell +94 71 403 5996 ;
Blog http://risenfall.wordpress.com/
PGP info: KeyID: 'DC627E6F'
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Failure while building Features : WSO2 Carbon - Logging Management Core Feature (ERROR: Failure to find org.apache.cassandra.wso2:apache-cassandra:jar:1.1.0.wso2v2)

2012-07-30 Thread Buddhima Wijeweera
Hi ,
I'm getting a failure while building platform/branch/features
It fails to build WSO2 Carbon - Logging Management Core Feature

I get svn up for kernel/branches , platform/branches/components and
platform/branches/features
Kernel and Component built successfully. But while building Features I'm
getting the following error about cassandra

[ERROR] Failed to execute goal org.wso2.maven:carbon-p2-
plugin:1.5:p2-feature-gen (4-p2-feature-generation) on project
org.wso2.carbon.logging.mgt.server.feature: ERROR: Failure to find
org.apache.cassandra.wso2:apache-cassandra:jar:1.1.0.wso2v2 in
http://maven.wso2.org/nexus/content/groups/wso2-public/ was cached in the
local repository, resolution will not be reattempted until the update
interval of wso2-nexus has elapsed or updates are forced
[ERROR]
[ERROR] Try downloading the file manually from the project website.
[ERROR]
[ERROR] Then, install it using the command:
[ERROR] mvn install:install-file -DgroupId=org.apache.cassandra.wso2
-DartifactId=apache-cassandra -Dversion=1.1.0.wso2v2 -Dpackaging=jar
-Dfile=/path/to/file
[ERROR]
[ERROR] Alternatively, if you host your own repository you can deploy the
file there:
[ERROR] mvn deploy:deploy-file -DgroupId=org.apache.cassandra.wso2
-DartifactId=apache-cassandra -Dversion=1.1.0.wso2v2 -Dpackaging=jar
-Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
[ERROR]
[ERROR]
[ERROR] org.apache.cassandra.wso2:apache-cassandra:jar:1.1.0.wso2v2
[ERROR]
[ERROR] from the specified remote repositories:
[ERROR] wso2-nexus (http://maven.wso2.org/nexus/content/groups/wso2-public/,
releases=true, snapshots=true),
[ERROR] central (http://repo.maven.apache.org/maven2, releases=true,
snapshots=false)
[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/MojoExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the
command
[ERROR]   mvn  -rf :org.wso2.carbon.logging.mgt.server.feature
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Cluster sub-domain concept

2012-07-30 Thread Afkham Azeez
We have managed to implement this, and preliminary testing has been
successful.

I needed to add an entry called MgtHostName to the carbon.xml file of the
management node because otherwise, if the HTTP->HTTPS redirection for
management console URLs don't work. For example, *http*://
appserver.stratoslive.wso2.com will redirect you to *https*://
appserver.stratoslive.wso2.com. To do this, the carbon.xml HostName entry
was used. However, when the management nodes & worker nodes are separated,
we have to specify the HostName in the management node to be the host name
of the worker node cluster's LB, and not the management node cluster'd LB.
Hence we need this distinction between MgtHostName & HostName.

During the course of testing this, we also figured out that proxyPorts are
not properly getting picked up, and this is a blocker for the kernel
release.

Azeez

On Mon, Jul 23, 2012 at 5:35 PM, Afkham Azeez  wrote:

> While working on the management node & worker node separation problem, I
> came up with this concept of partitions within clusters, which I would like
> to call sub-domains. All members of a domain can communicate with each
> other. However, the management nodes & worker nodes clearly have different
> roles, hence belong to different sub-domains. The load balancer should be
> aware of these sub-domains & direct management requests to nodes within the
> management sub-domain according to the specified load balancing algorithm,
> and regular requests to applications & services should be directed to nodes
> within the worker sub-domain.
>
> The members can advertise sub-domains as member properties. The load
> balancer code has to be changed to be sub-domain aware. A sample
> loadbalancer.conf segment is shown below.
>
> appserver-worker {
> # multiple hosts should be separated by a comma.
> hosts   appserver.cloud-test.wso2.com,
> as.cloud-test.wso2.com;
> domains   {
> *wso2.as.domain* {
> *sub_domain  worker;*
> tenant_range*;
> }
> }
> }
>
> appserver-mgt {
> # multiple hosts should be separated by a comma.
> hosts   mgt.appserver.cloud-test.wso2.com,
> mgt.as.cloud-test.wso2.com;
> domains   {
>
> *wso2.as.domain* {
> *sub_domain  mgt;*
> tenant_range*;
> }
> }
> }
>
> Nirmal & I are working on this. Without this change, we will not be able
> to achieve proper management & worker node separation.
>
> Thoughts welcome.
>
> --
> *Afkham Azeez*
> Director of Architecture; WSO2, Inc.; http://wso2.com
> Member; Apache Software Foundation; http://www.apache.org/
> * **
> email: **az...@wso2.com* * cell: +94 77 3320919
> blog: **http://blog.afkham.org* *
> twitter: **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/
* **
email: **az...@wso2.com* * cell: +94 77 3320919
blog: **http://blog.afkham.org* *
twitter: **http://twitter.com/afkham_azeez*
*
linked-in: **http://lk.linkedin.com/in/afkhamazeez*
*
*
*Lean . Enterprise . Middleware*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [Bamboo-Build] WSO2 Carbon BRANCH > Platform_4.0.0 > #59 has FAILED. Change made by 6 authors.

2012-07-30 Thread Yasith Tharindu
On Mon, Jul 30, 2012 at 2:07 PM, Deependra Ariyadewa  wrote:

>
>
> On Mon, Jul 30, 2012 at 11:26 AM, Deependra Ariyadewa wrote:
>
>>
>>
>> On Mon, Jul 30, 2012 at 10:01 AM, Deependra Ariyadewa wrote:
>>
>>>
>>>
>>> On Mon, Jul 30, 2012 at 9:57 AM, Shammi Jayasinghe wrote:
>>>
 Hi Deep,
  Could you please look in to this.

>>>
>>> Ideally we should be able to use WSO2 released Cassandra version even
>>> with the branch. I will discuss with Pradeep and upload Cassandra jars to
>>> Nexus.
>>>
>>
>> Cassandra  1.1.0.wso2v2 jars are now available in WSO2 maven reop.
>>
>>
>> http://dist.wso2.org/maven2/org/apache/cassandra/wso2/apache-cassandra/1.1.0.wso2v2/
>>
>>
>
> @Yasith please sync the Nexus with dist maven.
>
>
The nexus is synced.




> Thanks,
>
> Deependra.
>
>>
>> Thanks,
>>
>> Deependra.
>>
>>>
>>> Thanks,
>>>
>>> Deependra.
>>>

 Thanks
 Shammi


 On Mon, Jul 30, 2012 at 9:24 AM, Amila Maha Arachchi 
 wrote:

> Ok.. These were removed from the build because they were taking a lot
> of time to build and then the jars were uploaded to nexus. But it seems
> after branching (version has changed to wso2v2) new jars has not been
> uploaded to nexus.
>
>
> http://maven.wso2.org/nexus/content/groups/wso2-public/org/apache/cassandra/wso2/apache-cassandra/
>
> On Mon, Jul 30, 2012 at 9:13 AM, Amila Maha Arachchi 
> wrote:
>
>> dependencies/cassandra and dep/orbit/cassandra is commented out in
>> the dep/pom.xml.
>>
> --
~Thanks
Yasith Tharindu,WSO2 Inc,
Blog : http://www.yasith.info
Twitter : http://twitter.com/yasithnd
LinkedIn : http://www.linkedin.com/in/yasithnd
GPG Key ID : *57CEE66E*

"' lean "' enterprise '" middleware '" http://wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [Bamboo-Build] WSO2 Carbon BRANCH > Platform_4.0.0 > #59 has FAILED. Change made by 6 authors.

2012-07-30 Thread Deependra Ariyadewa
On Mon, Jul 30, 2012 at 11:26 AM, Deependra Ariyadewa  wrote:

>
>
> On Mon, Jul 30, 2012 at 10:01 AM, Deependra Ariyadewa wrote:
>
>>
>>
>> On Mon, Jul 30, 2012 at 9:57 AM, Shammi Jayasinghe wrote:
>>
>>> Hi Deep,
>>>  Could you please look in to this.
>>>
>>
>> Ideally we should be able to use WSO2 released Cassandra version even
>> with the branch. I will discuss with Pradeep and upload Cassandra jars to
>> Nexus.
>>
>
> Cassandra  1.1.0.wso2v2 jars are now available in WSO2 maven reop.
>
>
> http://dist.wso2.org/maven2/org/apache/cassandra/wso2/apache-cassandra/1.1.0.wso2v2/
>
>

@Yasith please sync the Nexus with dist maven.

Thanks,

Deependra.

>
> Thanks,
>
> Deependra.
>
>>
>> Thanks,
>>
>> Deependra.
>>
>>>
>>> Thanks
>>> Shammi
>>>
>>>
>>> On Mon, Jul 30, 2012 at 9:24 AM, Amila Maha Arachchi wrote:
>>>
 Ok.. These were removed from the build because they were taking a lot
 of time to build and then the jars were uploaded to nexus. But it seems
 after branching (version has changed to wso2v2) new jars has not been
 uploaded to nexus.


 http://maven.wso2.org/nexus/content/groups/wso2-public/org/apache/cassandra/wso2/apache-cassandra/

 On Mon, Jul 30, 2012 at 9:13 AM, Amila Maha Arachchi 
 wrote:

> dependencies/cassandra and dep/orbit/cassandra is commented out in the
> dep/pom.xml.
>
> What is the reason for this? This build failure is due to cassandra
> orbit bundle not available in the build.
>
>  On Mon, Jul 30, 2012 at 7:46 AM, Bamboo  wrote:
>
>>   [image: Failed]  WSO2 Carbon 
>> BRANCH›
>> Platform_4.0.0  › 
>> #59
>> failed
>>
>> Code has been updated by 
>> krishantha,
>> hasini , 
>> amani,
>> nuwanw , 
>> pradeep,
>> Isuru Udana Loku 
>> Narangoda
>> .
>>
>> No failed tests found, a possible compilation error.
>>Failing Jobs Job
>> Duration Tests[image: Failed]  Default 
>> Job (Default
>> Stage)  133 minutes  No tests found  
>> Logs|
>> Artifacts  
>>Code
>> Changes   View
>> all 8 code 
>> changes
>> krishantha 
>> Modifiying tests due to contructor change in
>> ActivityAdminServiceClient  135569
>> krishantha
>> Merging framework changes from trunk to branch  135566
>> hasini
>> Fixing xsd issue when starting product offline  135565   5 more
>> changes…  View
>> Online  | Add
>> Comments
>>
>> This message was sent by Atlassian Bamboo .
>>
>> If you wish to stop receiving these emails edit your user 
>> profileor notify
>> your administrator 
>> .
>>
>> ___
>> 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
>
>
>


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


>>>
>>>
>>> --
>>> Best Regards,*
>>>
>>> Shammi Jayasinghe*
>>> Senior Software Engineer; WSO2, Inc.; http://wso2.com,
>>> mobile: +94 71 4493085
>>>
>>>
>>>
>>
>>
>> --
>> Deependra Ariyadewa
>> WSO2, Inc. http://wso2.com/ http://wso2.org
>>
>> email d...@wso2.com; cell +94 71 403 599

[Dev] Need to modify wso2server.sh/bat to fix BAM-538

2012-07-30 Thread Kasun Weranga
Hi all,


When using Cassandra with some average load it prints following warning in
bam console.

"MemoryMeter uninitialized (jamm not specified as java agent); assuming
liveRatio of 10.0. Usually this means cassandra-env.sh disabled jamm
because you are using a buggy JRE; upgrade to the Sun JRE instead"

In order to fix this, We need to add -javaagent:/jamm.jar to the
wso2server.sh/bat and also org.github.jamm package to the launch.ini, But
this is only specific to products that uses Cassandra. So adding above will
affect to whole platform.
so is there any way to solve this problem?

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


Re: [Dev] Deployment Synchroniser(SVN based) fail to sync new tenants applications

2012-07-30 Thread Sagara Gunathunga
On Thu, Jul 26, 2012 at 5:11 PM, Nuwan Dias  wrote:

> Hi,
>
> Had a chat with Azeez regarding this. This is how the behavior of the
> scenario should be.
>
> When a tenant creates an artifact on the Master node, a cluster message is
> sent asking the slaves to update themselves. However, if the tenant is not
> loaded on the slave node, it should ignore that message since it does not
> make sense to load the repo of a tenant which still hasn't been loaded.
> When a request comes to the slave, it should at that point do a checkout of
> the artifacts.
>
> The problem now is, the slave node does not ignore the cluster message
> sent from the Master. Therefore, it attempts to engage the deployment
> synchronizer on a non existent directory. So AFAIU, the fix for this issue
> should be to ensure the slave node ignores tenant specific cluster messages
> if the particular tenant is not loaded.
>
> Is this something that we can fix before the current AS release?
>

In product's POV this is a blocker for current AS release. Since we market
Multitenancy, GD and DepSync as some of the significant features of AS new
release we need to stabilize them before the release. It would be great If
we can fix this before the AS release.


Thanks !


> Thanks,
> NuwanD.
>
> On Thu, Jul 26, 2012 at 11:39 AM, Sagara Gunathunga wrote:
>
>> Hi Nuwan/Kasun,
>>
>> This seems a critical issue for current AS release too ? Any possibility
>> to fix this issue ?
>>
>> Thanks !
>>
>> On Mon, Jul 23, 2012 at 5:27 PM, Lahiru Sandaruwan wrote:
>>
>>>
>>>
>>> On Mon, Jul 23, 2012 at 3:37 PM, Afkham Azeez  wrote:
>>>


 On Mon, Jul 23, 2012 at 3:35 PM, Lahiru Sandaruwan wrote:

>
>
> On Mon, Jul 23, 2012 at 2:55 PM, Nuwan Dias  wrote:
>
>> Hi,
>>
>> Need some help on proceeding with this issue. This is the problem we
>> are facing.
>>
>> In a clustered environment, when we create a tenant on the master
>> node, the same tenant does not get created on the slaves nodes
>> automatically. Therefore, the relevant tenant artifact directories (ex:
>> repository/tenants/1) do not get created on the slave nodes. When a 
>> tenant
>> creates an artifact on the Master node, the deployment synchronizer
>> attempts to sync it on the Slave nodes. This results in an error since 
>> the
>> relevant directories have not been created on the slave nodes.
>>
>> One possible solution to this is to create the directories (if they
>> are missing) on the slave nodes at deployment synchronization. But I 
>> doubt
>> that this is the proper solution since this will create deployment
>> directories for a non-existent tenant.
>>
>> The other solution I see is to find a way to synchronize tenant
>> accounts across the cluster. This will ensure that deployment directories
>> will be created on all instances at the time of tenant creation.
>>
> In Stratos, if tenant created in one node of cluster and next time
> tenant is directed to another node by load balancer, how that is handled?
>
>
 When a tenant is loaded on any node, the full depsync (update) is done
 before the tenant becomes active.

>>> So, was this tested before and broke later? Or do we have to have
>>> complete Stratos setup to get this done?
>>>


> IMO if we can find a solution for that, which a must requirement we
> can have a solution for this as well.
>
>>
>> Is there any other better way to solve this?
>>
>> Thanks,
>> NuwanD.
>>
>> On Fri, Jul 20, 2012 at 5:37 PM, Nuwan Dias  wrote:
>>
>>> Hi,
>>>
>>> The deployment synchronizer should be engaged to the relevant
>>> directory path. Therefore, it will not work by creating the directory by
>>> hand. If the same tenant (3) is created on the slave node, then the
>>> directory structure will be created and engaged to the deployment
>>> synchronizer as well.
>>>
>>> Will discuss on this further to decide on the proper solution.
>>>
>>> Thanks,
>>> NuwanD.
>>>
>>> On Fri, Jul 20, 2012 at 4:15 PM, Lahiru Sandaruwan >> > wrote:
>>>


 On Fri, Jul 20, 2012 at 3:30 PM, Muhammed Shariq 
 wrote:

> I had a look with Lahiru regarding this issue and it seems the
> tenant directory (eg - repository/tenants/3/ ) is not getting created 
> in
> the slave node. Slave node is configured with auto commit false which 
> is
> correct. So I guess this is a deployment synchronizer issue ?!
>
  Yes, it does not sync apps even after i created the directory
 "repository/tenants/3/".


>
> On Thu, Jul 19, 2012 at 3:32 PM, Lahiru Sandaruwan <
> lahi...@wso2.com> wrote:
>
>>  Hi,
>>
>> I have a App server cluster of 2 servers (Beta 

Re: [Dev] [Bamboo-Build] WSO2 Carbon BRANCH > Kernel_4.0.0 > #32 has FAILED. Change made by supunm.

2012-07-30 Thread Supun Malinga
Hi,

Sorry. missed the mail. Will fix in trunk.

thanks,

On Sun, Jul 29, 2012 at 9:36 PM, Pradeep Fernando  wrote:

> Hi,
>
> I fixed the branch.
>
> @supunM : please fix the trunk. you may find this useful,
>
> find . -iname pom.xml | xargs grep -rl ""
> | xargs sed "s// id=\"wsdl2java.classpath\">\n\t\t\t  location=\"\${settings.localRepository}\/org\/apache\/ws\/commons\/axiom\/wso2\/axiom\/\${orbit.version.axiom}\/axiom-\${orbit.version.axiom}.jar\"\/>/"
> -i
>
> thanks,
> --Pradeep
>



-- 
Supun Malinga,

Software Engineer,
WSO2 Inc.
http://wso2.com
http://wso2.org
email - sup...@wso2.com 
mobile - 071 56 91 321
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Moving AS to new BAM data publisher

2012-07-30 Thread Amila Maha Arachchi
On Tue, Jul 24, 2012 at 7:36 PM, Supun Malinga  wrote:

> Hi,
>
> On Sat, Jul 21, 2012 at 8:35 PM, Supun Malinga  wrote:
>
>> Hi devs,
>>
>> This is regarding the issue [1].
>> As per the offline chat I had with buddika got to know that the new
>> implementation is org.wso2.carbon.bam.service.agent.feature. Hence we may
>> need to move to that.
>>
>> But I'm not sure if stratos parts still need the old version. I'm going
>> to build AS with new changes and run and see.
>>
>
> I'm getting p2 level issue requiring more dependent features for
>  org.wso2.carbon.bam.service.agent.feature. There are few. So I need to
> include them as well?
> Buddika  can you specify what features I need to include in p2-gen without
> getting too much unwanted stuff?.
>
> Also please acknowledge if there are any concerns.
>>
> Stratos folks  please let me know if there are any dependency
> for org.wso2.carbon.bam.data.publisher.servicestats.feature from stratos
> components.
>

No.


>
> thanks,
>
>>
>> [1] https://wso2.org/jira/browse/WSAS-884
>>
>> thanks,
>> --
>> Supun Malinga,
>>
>> Software Engineer,
>> WSO2 Inc.
>> http://wso2.com
>> http://wso2.org
>> email - sup...@wso2.com 
>> mobile - 071 56 91 321
>>
>>
>
>
> --
> Supun Malinga,
>
> Software Engineer,
> WSO2 Inc.
> http://wso2.com
> http://wso2.org
> email - sup...@wso2.com 
> mobile - 071 56 91 321
>
>
> ___
> 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


Re: [Dev] Url mapper with DepSync and GD enabled for webapps

2012-07-30 Thread Reka Thirunavukkarasu
Hi

I'll look into this.

Thanks,
Reka

On Mon, Jul 30, 2012 at 12:42 PM, Kishanthan Thangarajah <
kishant...@wso2.com> wrote:

> Hi,
> Please test $subject for webapps. I encountered some issues while testing
> some webapps on AS with both DepSync and GD enabled. Looks like some issues
> with getting virtual host info from registry.
>
> [2012-07-30 11:26:46,572]  INFO
> {org.wso2.carbon.webapp.mgt.utils.GhostWebappDeployerUtils} -  Removing
> Ghost webapp and loading actual webapp : example.war
> [2012-07-30 11:26:46,937]  INFO
> {org.wso2.carbon.webapp.mgt.WebApplication} -  Unloaded webapp:
> StandardEngine[Catalina].StandardHost[localhost].StandardContext[/example]
> [2012-07-30 11:26:49,588] ERROR
> {org.wso2.carbon.registry.core.jdbc.dao.JDBCResourceDAO} -  Failed to check
> the existence of the resource /_system/governance/hostinfo. Timeout trying
> to lock table "REG_RESOURCE"; SQL statement:
> SELECT REG_VERSION FROM REG_RESOURCE WHERE REG_PATH_ID=? AND REG_NAME=?
> AND REG_TENANT_ID=? [50200-140]
> org.h2.jdbc.JdbcSQLException: Timeout trying to lock table "REG_RESOURCE";
> SQL statement:
> SELECT REG_VERSION FROM REG_RESOURCE WHERE REG_PATH_ID=? AND REG_NAME=?
> AND REG_TENANT_ID=? [50200-140]
> at org.h2.message.DbException.getJdbcSQLException(DbException.java:327)
>  at org.h2.message.DbException.get(DbException.java:167)
> at org.h2.message.DbException.get(DbException.java:144)
>  at org.h2.table.RegularTable.doLock(RegularTable.java:466)
> at org.h2.table.RegularTable.lock(RegularTable.java:404)
>  at org.h2.table.TableFilter.lock(TableFilter.java:139)
> at org.h2.command.dml.Select.queryWithoutCache(Select.java:554)
>  at org.h2.command.dml.Query.query(Query.java:241)
> at org.h2.command.CommandContainer.query(CommandContainer.java:80)
>  at org.h2.command.Command.executeQuery(Command.java:132)
> at
> org.h2.jdbc.JdbcPreparedStatement.executeQuery(JdbcPreparedStatement.java:96)
>  at
> org.wso2.carbon.registry.core.jdbc.dao.JDBCResourceDAO.getVersion(JDBCResourceDAO.java:197)
> at
> org.wso2.carbon.registry.core.jdbc.dao.JDBCResourceDAO.resourceExists(JDBCResourceDAO.java:147)
>  at
> org.wso2.carbon.registry.core.jdbc.dao.JDBCResourceDAO.resourceExists(JDBCResourceDAO.java:156)
> at
> org.wso2.carbon.registry.core.jdbc.Repository.resourceExists(Repository.java:159)
>  at
> org.wso2.carbon.registry.core.jdbc.EmbeddedRegistry.resourceExists(EmbeddedRegistry.java:644)
> at
> org.wso2.carbon.registry.core.caching.CacheBackedRegistry.resourceExists(CacheBackedRegistry.java:201)
>  at
> org.wso2.carbon.registry.core.session.UserRegistry.resourceExists(UserRegistry.java:624)
> at
> org.wso2.carbon.url.mapper.internal.registry.RegistryManager.getHostsFromRegistry(RegistryManager.java:278)
>  at
> org.wso2.carbon.url.mapper.internal.registry.RegistryManager.getAllMappingsFromRegistry(RegistryManager.java:246)
> at
> org.wso2.carbon.url.mapper.internal.util.HostUtil.getAllMappingsFromRegistry(HostUtil.java:172)
>  at
> org.wso2.carbon.url.mapper.internal.util.HostUtil.getMappingsPerWebApp(HostUtil.java:66)
> at
> org.wso2.carbon.url.mapper.internal.HotUpdateManager.getMappigsPerWebapp(HotUpdateManager.java:37)
>  at
> org.wso2.carbon.webapp.mgt.TomcatGenericWebappsDeployer.handleWebappDeployment(TomcatGenericWebappsDeployer.java:230)
> at
> org.wso2.carbon.webapp.mgt.TomcatGenericWebappsDeployer.handleWarWebappDeployment(TomcatGenericWebappsDeployer.java:181)
>  at
> org.wso2.carbon.webapp.mgt.TomcatGenericWebappsDeployer.handleHotDeployment(TomcatGenericWebappsDeployer.java:151)
> at
> org.wso2.carbon.webapp.mgt.TomcatGenericWebappsDeployer.deploy(TomcatGenericWebappsDeployer.java:115)
>  at
> org.wso2.carbon.webapp.mgt.utils.GhostWebappDeployerUtils.deployActualWebApp(GhostWebappDeployerUtils.java:146)
> at
> org.wso2.carbon.webapp.mgt.GhostWebappDeployerValve.handleWebapp(GhostWebappDeployerValve.java:139)
>  at
> org.wso2.carbon.webapp.mgt.GhostWebappDeployerValve.invoke(GhostWebappDeployerValve.java:89)
> at
> org.wso2.carbon.tomcat.ext.valves.TomcatValveContainer.invokeValves(TomcatValveContainer.java:47)
>  at
> org.wso2.carbon.tomcat.ext.valves.CompositeValve.invoke(CompositeValve.java:129)
> 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:49)
>  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:1001)
> at
> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:579)
>  at
> org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1653)
> at
> java.util.concurrent.ThreadPoo

[Dev] Automation testing for ESB Data Agents

2012-07-30 Thread Maninda Edirisooriya
For testing BAM data agents in ESB, we have to,

   1. Extract the ESB from the pack
   2. Set a port offset in ESB and up the ESB
   3. Install BAM Mediator feature in ESB
   4. Build Simple Stock Quote Service in ESB samples
   5. Up the sample Axis2 server
   6. Extract the BAM from pack
   7. Up the BAM server
   8. Create a WSDL Proxy Service in ESB
   9. Create a BAM Server Profile and a stream in ESB
   10. Add the BAM mediator to created WSDL proxy service
   11. Ant build the Axis2 client in ESB to send data to WSDL Proxy Service
   12. Check the Cassandra database in BAM for sent data

Other than doing all the above stuff manually can we do some automation to
do them all automatically? If so we can save a lot of time.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Url mapper with DepSync and GD enabled for webapps

2012-07-30 Thread Kishanthan Thangarajah
Hi,
Please test $subject for webapps. I encountered some issues while testing
some webapps on AS with both DepSync and GD enabled. Looks like some issues
with getting virtual host info from registry.

[2012-07-30 11:26:46,572]  INFO
{org.wso2.carbon.webapp.mgt.utils.GhostWebappDeployerUtils} -  Removing
Ghost webapp and loading actual webapp : example.war
[2012-07-30 11:26:46,937]  INFO {org.wso2.carbon.webapp.mgt.WebApplication}
-  Unloaded webapp:
StandardEngine[Catalina].StandardHost[localhost].StandardContext[/example]
[2012-07-30 11:26:49,588] ERROR
{org.wso2.carbon.registry.core.jdbc.dao.JDBCResourceDAO} -  Failed to check
the existence of the resource /_system/governance/hostinfo. Timeout trying
to lock table "REG_RESOURCE"; SQL statement:
SELECT REG_VERSION FROM REG_RESOURCE WHERE REG_PATH_ID=? AND REG_NAME=? AND
REG_TENANT_ID=? [50200-140]
org.h2.jdbc.JdbcSQLException: Timeout trying to lock table "REG_RESOURCE";
SQL statement:
SELECT REG_VERSION FROM REG_RESOURCE WHERE REG_PATH_ID=? AND REG_NAME=? AND
REG_TENANT_ID=? [50200-140]
at org.h2.message.DbException.getJdbcSQLException(DbException.java:327)
 at org.h2.message.DbException.get(DbException.java:167)
at org.h2.message.DbException.get(DbException.java:144)
 at org.h2.table.RegularTable.doLock(RegularTable.java:466)
at org.h2.table.RegularTable.lock(RegularTable.java:404)
 at org.h2.table.TableFilter.lock(TableFilter.java:139)
at org.h2.command.dml.Select.queryWithoutCache(Select.java:554)
 at org.h2.command.dml.Query.query(Query.java:241)
at org.h2.command.CommandContainer.query(CommandContainer.java:80)
 at org.h2.command.Command.executeQuery(Command.java:132)
at
org.h2.jdbc.JdbcPreparedStatement.executeQuery(JdbcPreparedStatement.java:96)
 at
org.wso2.carbon.registry.core.jdbc.dao.JDBCResourceDAO.getVersion(JDBCResourceDAO.java:197)
at
org.wso2.carbon.registry.core.jdbc.dao.JDBCResourceDAO.resourceExists(JDBCResourceDAO.java:147)
 at
org.wso2.carbon.registry.core.jdbc.dao.JDBCResourceDAO.resourceExists(JDBCResourceDAO.java:156)
at
org.wso2.carbon.registry.core.jdbc.Repository.resourceExists(Repository.java:159)
 at
org.wso2.carbon.registry.core.jdbc.EmbeddedRegistry.resourceExists(EmbeddedRegistry.java:644)
at
org.wso2.carbon.registry.core.caching.CacheBackedRegistry.resourceExists(CacheBackedRegistry.java:201)
 at
org.wso2.carbon.registry.core.session.UserRegistry.resourceExists(UserRegistry.java:624)
at
org.wso2.carbon.url.mapper.internal.registry.RegistryManager.getHostsFromRegistry(RegistryManager.java:278)
 at
org.wso2.carbon.url.mapper.internal.registry.RegistryManager.getAllMappingsFromRegistry(RegistryManager.java:246)
at
org.wso2.carbon.url.mapper.internal.util.HostUtil.getAllMappingsFromRegistry(HostUtil.java:172)
 at
org.wso2.carbon.url.mapper.internal.util.HostUtil.getMappingsPerWebApp(HostUtil.java:66)
at
org.wso2.carbon.url.mapper.internal.HotUpdateManager.getMappigsPerWebapp(HotUpdateManager.java:37)
 at
org.wso2.carbon.webapp.mgt.TomcatGenericWebappsDeployer.handleWebappDeployment(TomcatGenericWebappsDeployer.java:230)
at
org.wso2.carbon.webapp.mgt.TomcatGenericWebappsDeployer.handleWarWebappDeployment(TomcatGenericWebappsDeployer.java:181)
 at
org.wso2.carbon.webapp.mgt.TomcatGenericWebappsDeployer.handleHotDeployment(TomcatGenericWebappsDeployer.java:151)
at
org.wso2.carbon.webapp.mgt.TomcatGenericWebappsDeployer.deploy(TomcatGenericWebappsDeployer.java:115)
 at
org.wso2.carbon.webapp.mgt.utils.GhostWebappDeployerUtils.deployActualWebApp(GhostWebappDeployerUtils.java:146)
at
org.wso2.carbon.webapp.mgt.GhostWebappDeployerValve.handleWebapp(GhostWebappDeployerValve.java:139)
 at
org.wso2.carbon.webapp.mgt.GhostWebappDeployerValve.invoke(GhostWebappDeployerValve.java:89)
at
org.wso2.carbon.tomcat.ext.valves.TomcatValveContainer.invokeValves(TomcatValveContainer.java:47)
 at
org.wso2.carbon.tomcat.ext.valves.CompositeValve.invoke(CompositeValve.java:129)
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:49)
 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:1001)
at
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:579)
 at
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1653)
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)
[2012-07-30 11:26:49,594] ERROR
{org.wso2.carbon.url.mapper.internal.util.HostUtil} -  Failed to get all
hosts
org.wso2.carbon.registr

Re: [Dev] Check your product distros for duplicated jars

2012-07-30 Thread Amila Maha Arachchi
Most obviously these are due to different features having these component
versions hard-coded in them. So we need to figure out from where these jars
gets packed in and then fix those places to use the latest version.

json case has to be checked whether there will be implications because
those are json 1.0.0 and 2.0.0.

On Mon, Jul 30, 2012 at 12:15 PM, Kasun Gajasinghe  wrote:

>
> For AppServer, I'm seeing following duplicate jars. I'm not sure whether
> both the duplicated jars are used or we can drop one, especially,
> commons-fileupload, and commons-pool.
>
> commons-fileupload_1.2.0.wso2v1.jar
> commons-fileupload_1.2.2.wso2v1.jar
>
> commons-pool_1.5.0.wso2v1.jar
> commons-pool_1.5.6.wso2v1.jar
>
> json_1.0.0.wso2v1.jar
> json_2.0.0.wso2v1.jar
>
> Thanks,
> --KasunG
>
>
> On Mon, Jul 30, 2012 at 11:00 AM, Amila Maha Arachchi wrote:
>
>> Hi RMs,
>>
>> $Subject. I have seen some duplicated jars (same jar - different
>> versions) already. For example antlr, antlr-runtime, json. Please check.
>>
>> Regards,
>> AmilaM.
>>
>>
>> --
>> *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
>>
>>
>
>
> --
> *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://blog.kasunbg.org* *
> twitter: **http://twitter.com/kasunbg* *
> *
>
>


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