[Dev] WSO2 Developer Studio 2.0.1 Released!

2012-07-26 Thread Jasintha Dasanayake
HI All

We have WSO2 Developer Studio 2.0.1 ready to be downloaded at[1]

Bug

   - [TOOLS-1121 https://wso2.org/jira/browse/TOOLS-1121] - When creating
   project using dashboard with selected maven multi module project created
   project did not include in to the maven multi module project.
   - [TOOLS-1122 https://wso2.org/jira/browse/TOOLS-1122] - Cannot Export
   DSS Artifact via C-App on Windows
   - [TOOLS-1124 https://wso2.org/jira/browse/TOOLS-1124] - DSS editor
   does not save the content in drop downs if there is only one option and the
   drop down also diabled
   - [TOOLS-1127 https://wso2.org/jira/browse/TOOLS-1127] - Don't allow
   users to open multiple dashboards
   - [TOOLS-1128 https://wso2.org/jira/browse/TOOLS-1128] - Enabling
   complex element support in output mapping for data service editor.
   - [TOOLS-1129 https://wso2.org/jira/browse/TOOLS-1129] - Renaming and
   Deleting of ESB artifacts on Windows corrupts the artifact.xml metadata file
   - [TOOLS-1131 https://wso2.org/jira/browse/TOOLS-1131] - creating
   similarly named registry resources creates identical artifact Ids
   - [TOOLS-1132 https://wso2.org/jira/browse/TOOLS-1132] - CApp exporter
   not functioning properly for registry collections created using 'Copy
   content' option
   - [TOOLS-1133 https://wso2.org/jira/browse/TOOLS-1133] - Developer
   Studio ESB Editor does not check validity of Xpath expressions when adding
   via NamespacedPropertyEditor.
   - [TOOLS-1136 https://wso2.org/jira/browse/TOOLS-1136] - Show proper
   understandable error message when car/artifact export error occurred.
   - [TOOLS-1137 https://wso2.org/jira/browse/TOOLS-1137] - Developer
   Studio adds attribute id= to aggregate mediator always.
   - [TOOLS-1138 https://wso2.org/jira/browse/TOOLS-1138] - ESB Editor :
   Property view sometimes get focus when editoring in the source view
   - [TOOLS-1146 https://wso2.org/jira/browse/TOOLS-1146] - Refactoring
   of Registry Resources is broken with TOOLS-1131 improvement
   - [TOOLS-1157 https://wso2.org/jira/browse/TOOLS-1157] - ESB Editor :
   Items get deleted when press delete key from ESB property page / property
   editor
   - [TOOLS-1159 https://wso2.org/jira/browse/TOOLS-1159] - Cannot build
   library artifacts from workspace project using maven
   - [TOOLS-1160 https://wso2.org/jira/browse/TOOLS-1160] - Registry
   Aspect class containing Project does not have a pom
   - [TOOLS-1163 https://wso2.org/jira/browse/TOOLS-1163] - Bundle
   MANIFEST contain the class name instead of the package name in the export
   packages section in Registry Handler project
   - [TOOLS-1164 https://wso2.org/jira/browse/TOOLS-1164] - ESB Editor
   giving NPE when selecting parameter type as expression in call template
   mediator


 *Installation*

Offline installation is possible.You can find the installation guide
at 
[2http://builder1.us1.wso2.org/~developerstudio/developer-studio/2.0.0/RC2/documentation/install_guide.html
]


Your feedback is most welcome !!!

Please report all the jiras at [3 https://wso2.org/jira/browse/TOOLS] and
specify the version as 2.0.1

[1] http://wso2.com/products/developer-studio

[2] http://wso2.org/project/developer-studio/docs/install_guide.html

[3] https://wso2.org/jira/browse/TOOLS


Thanks and Regards
WSO2 Developer Studio Team

-- 
*Jasintha Dasanayake
**Software Engineer
WSO2 Inc. | http://wso2.com
lean . enterprise . middleware*
*
*
*mobile :- 077 291 6596*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Identity Server Start up Error

2012-07-26 Thread Tharindu Dassanayake
Hi,

I got this error when I try to start the Identity Server. How can I fix
this?

Class not found: java.net.CarbonInet6AddressImpl:
check impl.prefix property in your properties file.

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


[Dev] Greg product SVN issue in Bamboo

2012-07-26 Thread Kasun Gajasinghe
Hi Greg team,

I'm seeing the following issue Bamboo. Because of this, the build fails to
take a checkout, and the whole build fails. Please fix this. Ignore this
mail if it's already fixed! :-)


25-Jul-2012 19:01:09 Caused by:
com.atlassian.bamboo.repository.svn.ExternalsLockException: svn: URL '
https://svn.wso2.org/repos/wso2/carbon/platform/branches/4.0.0/products/greg/modules/distribution/src/main/resources/carbon-home/resources/lifecycles'
at revision 134963 doesn't exist 25-Jul-2012 19:01:09 at
com.atlassian.bamboo.repository.svn.UpdateEventHandler.handleEvent(UpdateEventHandler.java:87)25-Jul-2012
19:01:09at
org.tmatesoft.svn.core.wc.SVNBasicClient.dispatchEvent(SVNBasicClient.java:368)
25-Jul-2012
19:01:09 at
org.tmatesoft.svn.core.wc.SVNBasicClient.dispatchEvent(SVNBasicClient.java:361)25-Jul-2012
19:01:09at
org.tmatesoft.svn.core.wc.SVNUpdateClient.handleExternalItemChange(SVNUpdateClient.java:1732)
25-Jul-2012
19:01:09 at
org.tmatesoft.svn.core.wc.SVNUpdateClient.handleExternals(SVNUpdateClient.java:1695)25-Jul-2012
19:01:09at
org.tmatesoft.svn.core.wc.SVNUpdateClient.update(SVNUpdateClient.java:575)
25-Jul-2012
19:01:09 at
org.tmatesoft.svn.core.wc.SVNUpdateClient.doCheckout(SVNUpdateClient.java:942)25-Jul-2012
19:01:09at
com.atlassian.bamboo.repository.svn.SvnRepository.checkout(SvnRepository.java:1066)
25-Jul-2012
19:01:09 ... 42 more25-Jul-2012 19:01:09 Failed to prepare the
build 'WCB001-PLA000-JOB1-27'

Thanks,
--KasunG

-- 
*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* http://blog.kasunbg.org*
twitter: **http://twitter.com/kasunbg* http://twitter.com/kasunbg*
*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Greg 450 error while start up

2012-07-26 Thread Dushan Abeyruwan
Hi
 I am getting following error while starting up Greg instance download
https://svn.wso2.org/repos/wso2/people/ajith/greg-4.5.0/2012-07-24
reg/carbon/

mount registry to connect Mysql

  currentDBConfigmysql-reg/currentDBConfig
   readOnlytrue/readOnly
   enableCachetrue/enableCache
   registryRoot//registryRoot

   dbConfig name=mysql-reg
  urljdbc:mysql://localhost:3306/greg-esb-450/url
  userNameroot/userName
  passwordroot/password
  driverNamecom.mysql.jdbc.Driver/driverName
  maxActive5/maxActive
  maxWait6/maxWait
  minIdle50/minIdle
  validationQuerySELECT 1/validationQuery/dbConfig


then

Modified Carbon.xml

 !--
   Webapp context root of WSO2 Carbon.
--
  *  WebContextRoot/greg/WebContextRoot*

!-- In-order to  get the registry http Port from the back-end when the
default http transport is not the same--
!--RegistryHttpPort9763/RegistryHttpPort--

!--
Number of items to be displayed on a management console page. This is
used at the
backend server for pagination of various items.
--
ItemsPerPage15/ItemsPerPage

!-- The endpoint URL of the cloud instance management Web service --
!--InstanceMgtWSEndpointhttps://ec2.amazonaws.com/
/InstanceMgtWSEndpoint--

!-- The location of the http_access log --

HttpAccessLogLocation${carbon.home}/repository/logs//HttpAccessLogLocation

!--
   Ports used by this server
--
Ports

!-- Ports offset. This entry will set the value of the ports
defined below to
 the define value + Offset.
 e.g. Offset=2 and HTTPS port=9443 will set the effective HTTPS
port to 9445
 --
*Offset1/Offset

*
*
*
*error i am seen*
*
*
[2012-07-26 12:33:27,941] ERROR
{org.wso2.carbon.tomcat.ext.valves.CarbonContextCreatorValve} -  Could not
handle request: /greg
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at java.lang.String.substring(String.java:1937)
at org.wso2.carbon.tomcat.ext.internal.Utils.getWebappName(Utils.java:113)
at
org.wso2.carbon.tomcat.ext.internal.Utils.getAppNameFromRequest(Utils.java:93)
at
org.wso2.carbon.tomcat.ext.valves.CarbonContextCreatorValve.initCarbonContext(CarbonContextCreatorValve.java:68)
at
org.wso2.carbon.tomcat.ext.valves.CarbonContextCreatorValve.invoke(CarbonContextCreatorValve.java:48)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
at
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java: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-26 12:34:00,961]  INFO
{org.wso2.carbon.core.services.util.CarbonAuthenticationUtil} -
 'admin@carbon.super [-1234]' logged in at [2012-07-26 12:34:00,961+0530]
from IP address 10.200.3.42
[2012-07-26 12:34:00,968]  WARN
{org.wso2.carbon.registry.core.session.UserRegistry} -  Cannot continue the
operation restore dump, the coreRegistry is read-only
[2012-07-26 12:34:00,968]  INFO
{org.wso2.carbon.dashboard.dashboardpopulator.GadgetPopulator} -
 Successfully populated the default Dashboard XML for tenant :-1234
[2012-07-26 12:34:01,053] ERROR
{org.wso2.carbon.governance.lcm.listener.LifecycleLoader} -  Error in
adding the default lifecycles
org.wso2.carbon.registry.core.exceptions.RegistryException: Unable to
initiate aspect.
at
org.wso2.carbon.governance.lcm.util.CommonUtil.addLifecycle(CommonUtil.java:289)
at
org.wso2.carbon.governance.lcm.util.CommonUtil.addDefaultLifecyclesIfNotAvailable(CommonUtil.java:460)
at
org.wso2.carbon.governance.lcm.listener.LifecycleLoader.onLogin(LifecycleLoader.java:47)
at
org.wso2.carbon.core.services.callback.LoginSubscriptionManagerServiceImpl.triggerEvent(LoginSubscriptionManagerServiceImpl.java:41)
at
org.wso2.carbon.core.services.util.CarbonAuthenticationUtil.onSuccessAdminLogin(CarbonAuthenticationUtil.java:96)
at
org.wso2.carbon.core.services.authentication.AbstractAuthenticator.onSuccessLogin(AbstractAuthenticator.java:239)
at
org.wso2.carbon.core.services.authentication.AbstractAuthenticator.authenticate(AbstractAuthenticator.java:179)
at
org.wso2.carbon.server.admin.module.handler.AuthenticationHandler.isAuthenticated(AuthenticationHandler.java:161)
at
org.wso2.carbon.server.admin.module.handler.AuthenticationHandler.authenticate(AuthenticationHandler.java:86)
at
org.wso2.carbon.server.admin.module.handler.AuthenticationHandler.invoke(AuthenticationHandler.java:58)
at org.apache.axis2.engine.Phase.invokeHandler(Phase.java:340)
at org.apache.axis2.engine.Phase.invoke(Phase.java:313)
at 

Re: [Dev] Greg product SVN issue in Bamboo

2012-07-26 Thread Subash Chaturanga
On Thu, Jul 26, 2012 at 12:20 PM, Kasun Gajasinghe kas...@wso2.com wrote:

 Hi Greg team,

 I'm seeing the following issue Bamboo. Because of this, the build fails to
 take a checkout, and the whole build fails. Please fix this. Ignore this
 mail if it's already fixed! :-)


Hi Kasun
Please refer this thread.There is already a discussion at  [Dev]
[Bamboo-Build] WSO2 Carbon BRANCH  Platform_4.0.0  #27

Thanks


 25-Jul-2012 19:01:09 Caused by:
 com.atlassian.bamboo.repository.svn.ExternalsLockException: svn: URL '
 https://svn.wso2.org/repos/wso2/carbon/platform/branches/4.0.0/products/greg/modules/distribution/src/main/resources/carbon-home/resources/lifecycles'
 at revision 134963 doesn't exist 25-Jul-2012 19:01:09 at
 com.atlassian.bamboo.repository.svn.UpdateEventHandler.handleEvent(UpdateEventHandler.java:87)25-Jul-2012
  19:01:09at
 org.tmatesoft.svn.core.wc.SVNBasicClient.dispatchEvent(SVNBasicClient.java:368)
  25-Jul-2012
 19:01:09 at
 org.tmatesoft.svn.core.wc.SVNBasicClient.dispatchEvent(SVNBasicClient.java:361)25-Jul-2012
  19:01:09at
 org.tmatesoft.svn.core.wc.SVNUpdateClient.handleExternalItemChange(SVNUpdateClient.java:1732)
  25-Jul-2012
 19:01:09 at
 org.tmatesoft.svn.core.wc.SVNUpdateClient.handleExternals(SVNUpdateClient.java:1695)25-Jul-2012
  19:01:09at
 org.tmatesoft.svn.core.wc.SVNUpdateClient.update(SVNUpdateClient.java:575) 
 25-Jul-2012
 19:01:09 at
 org.tmatesoft.svn.core.wc.SVNUpdateClient.doCheckout(SVNUpdateClient.java:942)25-Jul-2012
  19:01:09at
 com.atlassian.bamboo.repository.svn.SvnRepository.checkout(SvnRepository.java:1066)
  25-Jul-2012
 19:01:09 ... 42 more25-Jul-2012 19:01:09 Failed to prepare the
 build 'WCB001-PLA000-JOB1-27'

 Thanks,
 --KasunG

 --
 *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* http://blog.kasunbg.org*
 twitter: **http://twitter.com/kasunbg* http://twitter.com/kasunbg*
 *


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




-- 

Subash Chaturanga
Software Engineer
WSO2 Inc. http://wso2.com

email - sub...@wso2.com
phone - 077 2225922
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Greg product SVN issue in Bamboo

2012-07-26 Thread Kasun Gajasinghe
On Thu, Jul 26, 2012 at 12:37 PM, Subash Chaturanga sub...@wso2.com wrote:



 On Thu, Jul 26, 2012 at 12:20 PM, Kasun Gajasinghe kas...@wso2.comwrote:

 Hi Greg team,

 I'm seeing the following issue Bamboo. Because of this, the build fails
 to take a checkout, and the whole build fails. Please fix this. Ignore this
 mail if it's already fixed! :-)


 Hi Kasun
 Please refer this thread.There is already a discussion at  [Dev]
 [Bamboo-Build] WSO2 Carbon BRANCH  Platform_4.0.0  #27


Ah yes, thanks.


 Thanks


 25-Jul-2012 19:01:09 Caused by:
 com.atlassian.bamboo.repository.svn.ExternalsLockException: svn: URL '
 https://svn.wso2.org/repos/wso2/carbon/platform/branches/4.0.0/products/greg/modules/distribution/src/main/resources/carbon-home/resources/lifecycles'
 at revision 134963 doesn't exist 25-Jul-2012 19:01:09 at
 com.atlassian.bamboo.repository.svn.UpdateEventHandler.handleEvent(UpdateEventHandler.java:87)25-Jul-2012
  19:01:09at
 org.tmatesoft.svn.core.wc.SVNBasicClient.dispatchEvent(SVNBasicClient.java:368)
  25-Jul-2012
 19:01:09 at
 org.tmatesoft.svn.core.wc.SVNBasicClient.dispatchEvent(SVNBasicClient.java:361)25-Jul-2012
  19:01:09at
 org.tmatesoft.svn.core.wc.SVNUpdateClient.handleExternalItemChange(SVNUpdateClient.java:1732)
  25-Jul-2012
 19:01:09 at
 org.tmatesoft.svn.core.wc.SVNUpdateClient.handleExternals(SVNUpdateClient.java:1695)25-Jul-2012
  19:01:09at
 org.tmatesoft.svn.core.wc.SVNUpdateClient.update(SVNUpdateClient.java:575) 
 25-Jul-2012
 19:01:09 at
 org.tmatesoft.svn.core.wc.SVNUpdateClient.doCheckout(SVNUpdateClient.java:942)25-Jul-2012
  19:01:09at
 com.atlassian.bamboo.repository.svn.SvnRepository.checkout(SvnRepository.java:1066)
  25-Jul-2012
 19:01:09 ... 42 more25-Jul-2012 19:01:09 Failed to prepare the
 build 'WCB001-PLA000-JOB1-27'

 Thanks,
 --KasunG

 --
 *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* http://blog.kasunbg.org*
 twitter: **http://twitter.com/kasunbg* http://twitter.com/kasunbg*
 *


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




 --

 Subash Chaturanga
 Software Engineer
 WSO2 Inc. http://wso2.com

 email - sub...@wso2.com
 phone - 077 2225922




-- 
*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* http://blog.kasunbg.org*
twitter: **http://twitter.com/kasunbg* http://twitter.com/kasunbg*
*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Error in Service Governance UI

2012-07-26 Thread Ajith Vitharana
Hi Hiranya,

Add the following configuration files from G-Reg 4.5.0 to AM.
(add svn externals and change the bin.xml).

wso2am-1.0.0-SNAPSHOT/repository/resources
===

lifecycle-config.xsd
lifecycle-local.xsd
lifecycles/configurations.xml
rxt.xsd
services-config.xml
services-config.xsd
service-ui-config.xsd

Thanks
Ajith

On Wed, Jul 25, 2012 at 2:18 PM, Ajith Vitharana aji...@wso2.com wrote:



 On Wed, Jul 25, 2012 at 2:03 PM, Hiranya Jayathilaka hira...@wso2.comwrote:

 Hi GReg Team,

 We need some help to get this issue resolved:

 https://wso2.org/jira/browse/APISTORE-525

 Basically Service  Add gives a dead page and throws up an exception on
 the console. However WSDL  Add and other related governance UIs are
 working.


 Hi Hiranya,

 We have built the AM product out of G-Reg profile. After that we have
 changed the config files and locations according to new structure that
 introduced in C4 release. Therefore, please update the config files and
 locations according to the latest G-Reg  build.

 Thanks
 Ajith


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

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




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





-- 
Ajith Vitharana.
WSO2 Inc. - http://wso2.org
Email  :  aji...@wso2.com
Mobile : +94714631794
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] BAM 2.0.0 Beta Released!

2012-07-26 Thread Tharindu Mathew
ETA for downloads for me is 2 hrs. Probably an issue with the hosted
location. Should we host only on dist?

On Thu, Jul 26, 2012 at 9:14 AM, Samisa Abeysinghe sam...@wso2.com wrote:



 On Thu, Jul 26, 2012 at 9:13 AM, Samisa Abeysinghe sam...@wso2.comwrote:

 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
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Greg 450 error while start up

2012-07-26 Thread Dushan Abeyruwan
Hi
 Again though these error were seen, I was able to login via UI

cheers
Dushan

On Thu, Jul 26, 2012 at 12:37 PM, Dushan Abeyruwan dus...@wso2.com wrote:

 Hi
  I am getting following error while starting up Greg instance download
 https://svn.wso2.org/repos/wso2/people/ajith/greg-4.5.0/2012-07-24
 reg/carbon/

 mount registry to connect Mysql

   currentDBConfigmysql-reg/currentDBConfig
readOnlytrue/readOnly
enableCachetrue/enableCache
registryRoot//registryRoot

dbConfig name=mysql-reg
   urljdbc:mysql://localhost:3306/greg-esb-450/url
   userNameroot/userName
   passwordroot/password
   driverNamecom.mysql.jdbc.Driver/driverName
   maxActive5/maxActive
   maxWait6/maxWait
   minIdle50/minIdle
   validationQuerySELECT 1/validationQuery/dbConfig


 then

 Modified Carbon.xml

  !--
Webapp context root of WSO2 Carbon.
 --
   *  WebContextRoot/greg/WebContextRoot*

 !-- In-order to  get the registry http Port from the back-end when
 the default http transport is not the same--
 !--RegistryHttpPort9763/RegistryHttpPort--

 !--
 Number of items to be displayed on a management console page. This is
 used at the
 backend server for pagination of various items.
 --
 ItemsPerPage15/ItemsPerPage

 !-- The endpoint URL of the cloud instance management Web service --
 !--InstanceMgtWSEndpointhttps://ec2.amazonaws.com/
 /InstanceMgtWSEndpoint--

 !-- The location of the http_access log --

 HttpAccessLogLocation${carbon.home}/repository/logs//HttpAccessLogLocation

 !--
Ports used by this server
 --
 Ports

 !-- Ports offset. This entry will set the value of the ports
 defined below to
  the define value + Offset.
  e.g. Offset=2 and HTTPS port=9443 will set the effective HTTPS
 port to 9445
  --
 *Offset1/Offset

 *
 *
 *
 *error i am seen*
 *
 *
 [2012-07-26 12:33:27,941] ERROR
 {org.wso2.carbon.tomcat.ext.valves.CarbonContextCreatorValve} -  Could not
 handle request: /greg
 java.lang.StringIndexOutOfBoundsException: String index out of range: -1
  at java.lang.String.substring(String.java:1937)
 at org.wso2.carbon.tomcat.ext.internal.Utils.getWebappName(Utils.java:113)
  at
 org.wso2.carbon.tomcat.ext.internal.Utils.getAppNameFromRequest(Utils.java:93)
 at
 org.wso2.carbon.tomcat.ext.valves.CarbonContextCreatorValve.initCarbonContext(CarbonContextCreatorValve.java:68)
  at
 org.wso2.carbon.tomcat.ext.valves.CarbonContextCreatorValve.invoke(CarbonContextCreatorValve.java:48)
 at
 org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
  at
 org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
 at
 org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java: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-26 12:34:00,961]  INFO
 {org.wso2.carbon.core.services.util.CarbonAuthenticationUtil} -
  'admin@carbon.super [-1234]' logged in at [2012-07-26 12:34:00,961+0530]
 from IP address 10.200.3.42
 [2012-07-26 12:34:00,968]  WARN
 {org.wso2.carbon.registry.core.session.UserRegistry} -  Cannot continue the
 operation restore dump, the coreRegistry is read-only
 [2012-07-26 12:34:00,968]  INFO
 {org.wso2.carbon.dashboard.dashboardpopulator.GadgetPopulator} -
  Successfully populated the default Dashboard XML for tenant :-1234
 [2012-07-26 12:34:01,053] ERROR
 {org.wso2.carbon.governance.lcm.listener.LifecycleLoader} -  Error in
 adding the default lifecycles
 org.wso2.carbon.registry.core.exceptions.RegistryException: Unable to
 initiate aspect.
  at
 org.wso2.carbon.governance.lcm.util.CommonUtil.addLifecycle(CommonUtil.java:289)
 at
 org.wso2.carbon.governance.lcm.util.CommonUtil.addDefaultLifecyclesIfNotAvailable(CommonUtil.java:460)
  at
 org.wso2.carbon.governance.lcm.listener.LifecycleLoader.onLogin(LifecycleLoader.java:47)
 at
 org.wso2.carbon.core.services.callback.LoginSubscriptionManagerServiceImpl.triggerEvent(LoginSubscriptionManagerServiceImpl.java:41)
  at
 org.wso2.carbon.core.services.util.CarbonAuthenticationUtil.onSuccessAdminLogin(CarbonAuthenticationUtil.java:96)
 at
 org.wso2.carbon.core.services.authentication.AbstractAuthenticator.onSuccessLogin(AbstractAuthenticator.java:239)
  at
 org.wso2.carbon.core.services.authentication.AbstractAuthenticator.authenticate(AbstractAuthenticator.java:179)
 at
 org.wso2.carbon.server.admin.module.handler.AuthenticationHandler.isAuthenticated(AuthenticationHandler.java:161)
  at
 

[Dev] Issue in the AppFactory component in branch

2012-07-26 Thread Kasun Gajasinghe
Hi,
Seems the maven project structure for
appfactory's org.wso2.carbon.appfactory.events.notification module. There
isn't a appfactory/org.wso2.carbon.appfactory.events.notification/1.0.0
directory there. You'll face issues when building with a clean repo. Please
fix.


kasun@kasunbg-laptop:~/wso2/C4-dist-branch/platform/components/appfactory$
mvnc4 install -Dmaven.test.skip=true
[INFO] Scanning for projects...
[ERROR] The build could not read 1 project - [Help 1]
[ERROR]
[ERROR]   The project org.wso2.carbon:appfactory:1.0.0
(/home/kasun/wso2/C4-dist-branch/platform/components/appfactory/pom.xml)
has 1 error
[ERROR] Child module
/home/kasun/wso2/C4-dist-branch/platform/components/appfactory/org.wso2.carbon.appfactory.events.notification/1.0.0
of /home/kasun/wso2/C4-dist-branch/platform/components/appfactory/pom.xml
does not exist
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions,
please read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException


Thanks,
--KasunG

-- 
*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* http://blog.kasunbg.org*
twitter: **http://twitter.com/kasunbg* http://twitter.com/kasunbg*
*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Issue in the AppFactory component in branch

2012-07-26 Thread Kasun Gajasinghe
As I've seen,

1. Changing org.wso2.carbon.appfactory.events.notification/1.0.0
to org.wso2.carbon.appfactory.events.notification in appfactory/pom.xml
2. Changing the version of pom.xml
of appfactory/org.wso2.carbon.appfactory.events.notification/pom.xml from
1.0.0-SNAPSHOT to 1.0.0
3. Correcting the version of the dependency
org.wso2.carbon.appfactory.application.mgt to 1.0.0

makes it work. I'm not sure whether this is the right approach though.

Thanks,
--KasunG

On Thu, Jul 26, 2012 at 1:11 PM, Kasun Gajasinghe kas...@wso2.com wrote:

 Hi,
 Seems the maven project structure for
 appfactory's org.wso2.carbon.appfactory.events.notification module. There
 isn't a appfactory/org.wso2.carbon.appfactory.events.notification/1.0.0
 directory there. You'll face issues when building with a clean repo. Please
 fix.


 kasun@kasunbg-laptop:~/wso2/C4-dist-branch/platform/components/appfactory$
 mvnc4 install -Dmaven.test.skip=true
 [INFO] Scanning for projects...
 [ERROR] The build could not read 1 project - [Help 1]
 [ERROR]
 [ERROR]   The project org.wso2.carbon:appfactory:1.0.0
 (/home/kasun/wso2/C4-dist-branch/platform/components/appfactory/pom.xml)
 has 1 error
 [ERROR] Child module
 /home/kasun/wso2/C4-dist-branch/platform/components/appfactory/org.wso2.carbon.appfactory.events.notification/1.0.0
 of /home/kasun/wso2/C4-dist-branch/platform/components/appfactory/pom.xml
 does not exist
 [ERROR]
 [ERROR] To see the full stack trace of the errors, re-run Maven with the
 -e switch.
 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
 [ERROR]
 [ERROR] For more information about the errors and possible solutions,
 please read the following articles:
 [ERROR] [Help 1]
 http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException


 Thanks,
 --KasunG

 --
 *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* http://blog.kasunbg.org*
 twitter: **http://twitter.com/kasunbg* http://twitter.com/kasunbg*
 *




-- 
*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* http://blog.kasunbg.org*
twitter: **http://twitter.com/kasunbg* http://twitter.com/kasunbg*
*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Error in Service Governance UI

2012-07-26 Thread Hiranya Jayathilaka
This solved the problem. Thanks Ajith for all the help.

Thanks,
Hiranya

On Thu, Jul 26, 2012 at 12:55 PM, Ajith Vitharana aji...@wso2.com wrote:

 Hi Hiranya,

 Add the following configuration files from G-Reg 4.5.0 to AM.
 (add svn externals and change the bin.xml).

 wso2am-1.0.0-SNAPSHOT/repository/resources
 ===

 lifecycle-config.xsd
 lifecycle-local.xsd
 lifecycles/configurations.xml
 rxt.xsd
 services-config.xml
 services-config.xsd
 service-ui-config.xsd

 Thanks
 Ajith

 On Wed, Jul 25, 2012 at 2:18 PM, Ajith Vitharana aji...@wso2.com wrote:



 On Wed, Jul 25, 2012 at 2:03 PM, Hiranya Jayathilaka hira...@wso2.comwrote:

 Hi GReg Team,

 We need some help to get this issue resolved:

 https://wso2.org/jira/browse/APISTORE-525

 Basically Service  Add gives a dead page and throws up an exception on
 the console. However WSDL  Add and other related governance UIs are
 working.


 Hi Hiranya,

 We have built the AM product out of G-Reg profile. After that we have
 changed the config files and locations according to new structure that
 introduced in C4 release. Therefore, please update the config files and
 locations according to the latest G-Reg  build.

 Thanks
 Ajith


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

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




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





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





-- 
Hiranya Jayathilaka
Senior Technical Lead;
WSO2 Inc.;  http://wso2.org
E-mail: hira...@wso2.com;  Mobile: +94 77 633 3491
Blog: http://techfeast-hiranya.blogspot.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Issue in the AppFactory component in branch

2012-07-26 Thread Dimuthu Leelarathne
On Thu, Jul 26, 2012 at 1:22 PM, Kasun Gajasinghe kas...@wso2.com wrote:


 As I've seen,

 1. Changing org.wso2.carbon.appfactory.events.notification/1.0.0
 to org.wso2.carbon.appfactory.events.notification in appfactory/pom.xml
 2. Changing the version of pom.xml
 of appfactory/org.wso2.carbon.appfactory.events.notification/pom.xml from
 1.0.0-SNAPSHOT to 1.0.0
 3. Correcting the version of the dependency
 org.wso2.carbon.appfactory.application.mgt to 1.0.0

 makes it work. I'm not sure whether this is the right approach though.


+1

thanks,
dimuthu



 Thanks,
 --KasunG


 On Thu, Jul 26, 2012 at 1:11 PM, Kasun Gajasinghe kas...@wso2.com wrote:

 Hi,
 Seems the maven project structure for
 appfactory's org.wso2.carbon.appfactory.events.notification module. There
 isn't a appfactory/org.wso2.carbon.appfactory.events.notification/1.0.0
 directory there. You'll face issues when building with a clean repo. Please
 fix.


 kasun@kasunbg-laptop:~/wso2/C4-dist-branch/platform/components/appfactory$
 mvnc4 install -Dmaven.test.skip=true
 [INFO] Scanning for projects...
 [ERROR] The build could not read 1 project - [Help 1]
 [ERROR]
 [ERROR]   The project org.wso2.carbon:appfactory:1.0.0
 (/home/kasun/wso2/C4-dist-branch/platform/components/appfactory/pom.xml)
 has 1 error
 [ERROR] Child module
 /home/kasun/wso2/C4-dist-branch/platform/components/appfactory/org.wso2.carbon.appfactory.events.notification/1.0.0
 of /home/kasun/wso2/C4-dist-branch/platform/components/appfactory/pom.xml
 does not exist
 [ERROR]
 [ERROR] To see the full stack trace of the errors, re-run Maven with the
 -e switch.
 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
 [ERROR]
 [ERROR] For more information about the errors and possible solutions,
 please read the following articles:
 [ERROR] [Help 1]
 http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException


 Thanks,
 --KasunG

 --
 *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* http://blog.kasunbg.org*
 twitter: **http://twitter.com/kasunbg* http://twitter.com/kasunbg*
 *




 --
 *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* http://blog.kasunbg.org*
 twitter: **http://twitter.com/kasunbg* http://twitter.com/kasunbg*
 *


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


Re: [Dev] Issue in the AppFactory component in branch

2012-07-26 Thread Amila Maha Arachchi
On Thu, Jul 26, 2012 at 2:45 PM, Dimuthu Leelarathne dimut...@wso2.comwrote:



 On Thu, Jul 26, 2012 at 1:22 PM, Kasun Gajasinghe kas...@wso2.com wrote:


 As I've seen,

 1. Changing org.wso2.carbon.appfactory.events.notification/1.0.0
 to org.wso2.carbon.appfactory.events.notification in appfactory/pom.xml
 2. Changing the version of pom.xml
 of appfactory/org.wso2.carbon.appfactory.events.notification/pom.xml from
 1.0.0-SNAPSHOT to 1.0.0
 3. Correcting the version of the dependency
 org.wso2.carbon.appfactory.application.mgt to 1.0.0

 makes it work. I'm not sure whether this is the right approach though.


 +1


I dont think this is correct. Every stub/component/feature/product should
have a versioned folder inside them. Otherwise how are you going to do a
patch/minor release for the above. For example after releasing AF 1.0.0,
you decide to release AF 1.0.1. You need to branch the AF
components/features/stubs for this (if there are changes in them). Then you
cannot do it with this folder structure.


 thanks,
 dimuthu



 Thanks,
 --KasunG


 On Thu, Jul 26, 2012 at 1:11 PM, Kasun Gajasinghe kas...@wso2.comwrote:

 Hi,
 Seems the maven project structure for
 appfactory's org.wso2.carbon.appfactory.events.notification module. There
 isn't a appfactory/org.wso2.carbon.appfactory.events.notification/1.0.0
 directory there. You'll face issues when building with a clean repo. Please
 fix.


 kasun@kasunbg-laptop:~/wso2/C4-dist-branch/platform/components/appfactory$
 mvnc4 install -Dmaven.test.skip=true
 [INFO] Scanning for projects...
 [ERROR] The build could not read 1 project - [Help 1]
 [ERROR]
 [ERROR]   The project org.wso2.carbon:appfactory:1.0.0
 (/home/kasun/wso2/C4-dist-branch/platform/components/appfactory/pom.xml)
 has 1 error
 [ERROR] Child module
 /home/kasun/wso2/C4-dist-branch/platform/components/appfactory/org.wso2.carbon.appfactory.events.notification/1.0.0
 of /home/kasun/wso2/C4-dist-branch/platform/components/appfactory/pom.xml
 does not exist
 [ERROR]
 [ERROR] To see the full stack trace of the errors, re-run Maven with the
 -e switch.
 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
 [ERROR]
 [ERROR] For more information about the errors and possible solutions,
 please read the following articles:
 [ERROR] [Help 1]
 http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException


 Thanks,
 --KasunG

 --
 *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* http://blog.kasunbg.org*
 twitter: **http://twitter.com/kasunbg* http://twitter.com/kasunbg*
 *




 --
 *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* http://blog.kasunbg.org*
 twitter: **http://twitter.com/kasunbg* http://twitter.com/kasunbg*
 *



 ___
 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] Issue in the AppFactory component in branch

2012-07-26 Thread Kasun Gajasinghe
Committed the fix in 135081.

Thanks,
--KasunG

On Thu, Jul 26, 2012 at 2:45 PM, Dimuthu Leelarathne dimut...@wso2.comwrote:



 On Thu, Jul 26, 2012 at 1:22 PM, Kasun Gajasinghe kas...@wso2.com wrote:


 As I've seen,

 1. Changing org.wso2.carbon.appfactory.events.notification/1.0.0
 to org.wso2.carbon.appfactory.events.notification in appfactory/pom.xml
 2. Changing the version of pom.xml
 of appfactory/org.wso2.carbon.appfactory.events.notification/pom.xml from
 1.0.0-SNAPSHOT to 1.0.0
 3. Correcting the version of the dependency
 org.wso2.carbon.appfactory.application.mgt to 1.0.0

 makes it work. I'm not sure whether this is the right approach though.


 +1

 thanks,
 dimuthu



 Thanks,
 --KasunG


 On Thu, Jul 26, 2012 at 1:11 PM, Kasun Gajasinghe kas...@wso2.comwrote:

 Hi,
 Seems the maven project structure for
 appfactory's org.wso2.carbon.appfactory.events.notification module. There
 isn't a appfactory/org.wso2.carbon.appfactory.events.notification/1.0.0
 directory there. You'll face issues when building with a clean repo. Please
 fix.


 kasun@kasunbg-laptop:~/wso2/C4-dist-branch/platform/components/appfactory$
 mvnc4 install -Dmaven.test.skip=true
 [INFO] Scanning for projects...
 [ERROR] The build could not read 1 project - [Help 1]
 [ERROR]
 [ERROR]   The project org.wso2.carbon:appfactory:1.0.0
 (/home/kasun/wso2/C4-dist-branch/platform/components/appfactory/pom.xml)
 has 1 error
 [ERROR] Child module
 /home/kasun/wso2/C4-dist-branch/platform/components/appfactory/org.wso2.carbon.appfactory.events.notification/1.0.0
 of /home/kasun/wso2/C4-dist-branch/platform/components/appfactory/pom.xml
 does not exist
 [ERROR]
 [ERROR] To see the full stack trace of the errors, re-run Maven with the
 -e switch.
 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
 [ERROR]
 [ERROR] For more information about the errors and possible solutions,
 please read the following articles:
 [ERROR] [Help 1]
 http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException


 Thanks,
 --KasunG

 --
 *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* http://blog.kasunbg.org*
 twitter: **http://twitter.com/kasunbg* http://twitter.com/kasunbg*
 *




 --
 *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* http://blog.kasunbg.org*
 twitter: **http://twitter.com/kasunbg* http://twitter.com/kasunbg*
 *





-- 
*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* http://blog.kasunbg.org*
twitter: **http://twitter.com/kasunbg* http://twitter.com/kasunbg*
*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] C-App synchronization in a Carbon cluster

2012-07-26 Thread Afkham Azeez
On Thu, Jul 26, 2012 at 12:17 AM, Isuru Suriarachchi is...@wso2.com wrote:

 Oh.. I was planning to create different directories for different tenants
 inside repository/carbonapps. But looks like I've missed that. I'll fix it
 and let you know..


Tenants have their own temp directory right? If so, why can't we use those
directories to store these?



 Thanks,
 ~Isuru


 On Wed, Jul 25, 2012 at 10:31 PM, Charitha Kankanamge 
 chari...@wso2.comwrote:

 Hi,

 It seems we have not thought about MT aspects of this model. Now, the
 carbonapps directory is taken out from repository/deployment/server and the
 all CApps will be stored in common carbonapps directory regardless of the
 tenant who deployed CApp. Because of this, any tenant can see others CApps
 :( I came across this [1] issue in latest AS probably because of this
 change.


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


 On Fri, Jul 6, 2012 at 6:05 PM, Isuru Suriarachchi is...@wso2.comwrote:

  Hi all,

 I'm trying to fix [1]. Here's the root cause for this issue..

 Imagine a Carbon cluster with 2 nodes where the svn based deployment
 synchronizer (DS) is configured. When a C-App is deployed to node1, it is
 extracted and individual artifacts are copied into respective hot
 directories. When the DS runs for the first time, it copies the C-App into
 node2 and it will be deployed there. When the DS runs again in node1, it
 will try to copy the individual artifacts to node2. But node2 already has
 those artifacts as the C-App id already deployed in node2. Therefore an svn
 conflict occurs.

 To resolve this issue, there are two possible options..

 1. Keeping all artifacts coming from C-Apps out of the repository
 (repository/deployment/server)
 2. Keeping the original C-App out of the repository

 Initially I tried option 1 above and programetically called the relevant
 deployers for individual artifacts. But this creates lot of problems with
 some artifacts (Ex: ESB stuff). Therefore, I'm trying to solve the initial
 problem using option 2 above.

 I've taken the carbonapps directory out of repository/deployment/server
 directory and kept it as repository/carbonapps (we can change this if
 needed). Still the carbonapps directory has hot deployment capabilities.
 But it won't be synchronized by the DS. So when a C-App is deployed into
 node 1, it will be extracted and only the individual artifacts will be
 copied into the repository. When the DS runs, all needed artifacts will be
 synced to node 2. Therefore, functionality wise, there won't be any issues
 on node 2.

 But if someone logs into the management console of node 2 and go to the
 C-App list, nothing will be listed. Is this something we have to fix?
 Because anyway in a RW/RO cluster, user can't use the management console of
 the slave node.

 WDYT??

 Thanks,
 ~Isuru

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

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





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




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


Re: [Dev] Issue in the AppFactory component in branch

2012-07-26 Thread Kasun Gajasinghe
On Thu, Jul 26, 2012 at 2:54 PM, Amila Maha Arachchi ami...@wso2.comwrote:



 On Thu, Jul 26, 2012 at 2:45 PM, Dimuthu Leelarathne dimut...@wso2.comwrote:



 On Thu, Jul 26, 2012 at 1:22 PM, Kasun Gajasinghe kas...@wso2.comwrote:


 As I've seen,

 1. Changing org.wso2.carbon.appfactory.events.notification/1.0.0
 to org.wso2.carbon.appfactory.events.notification in appfactory/pom.xml
 2. Changing the version of pom.xml
 of appfactory/org.wso2.carbon.appfactory.events.notification/pom.xml from
 1.0.0-SNAPSHOT to 1.0.0
 3. Correcting the version of the dependency
 org.wso2.carbon.appfactory.application.mgt to 1.0.0

 makes it work. I'm not sure whether this is the right approach though.


 +1


 I dont think this is correct. Every stub/component/feature/product should
 have a versioned folder inside them. Otherwise how are you going to do a
 patch/minor release for the above. For example after releasing AF 1.0.0,
 you decide to release AF 1.0.1. You need to branch the AF
 components/features/stubs for this (if there are changes in them). Then you
 cannot do it with this folder structure.


We can easily do this via a svn move.



 thanks,
 dimuthu



 Thanks,
 --KasunG


 On Thu, Jul 26, 2012 at 1:11 PM, Kasun Gajasinghe kas...@wso2.comwrote:

 Hi,
 Seems the maven project structure for
 appfactory's org.wso2.carbon.appfactory.events.notification module. There
 isn't a appfactory/org.wso2.carbon.appfactory.events.notification/1.0.0
 directory there. You'll face issues when building with a clean repo. Please
 fix.


 kasun@kasunbg-laptop:~/wso2/C4-dist-branch/platform/components/appfactory$
 mvnc4 install -Dmaven.test.skip=true
 [INFO] Scanning for projects...
 [ERROR] The build could not read 1 project - [Help 1]
 [ERROR]
 [ERROR]   The project org.wso2.carbon:appfactory:1.0.0
 (/home/kasun/wso2/C4-dist-branch/platform/components/appfactory/pom.xml)
 has 1 error
 [ERROR] Child module
 /home/kasun/wso2/C4-dist-branch/platform/components/appfactory/org.wso2.carbon.appfactory.events.notification/1.0.0
 of /home/kasun/wso2/C4-dist-branch/platform/components/appfactory/pom.xml
 does not exist
 [ERROR]
 [ERROR] To see the full stack trace of the errors, re-run Maven with
 the -e switch.
 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
 [ERROR]
 [ERROR] For more information about the errors and possible solutions,
 please read the following articles:
 [ERROR] [Help 1]
 http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException


 Thanks,
 --KasunG

 --
 *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* http://blog.kasunbg.org*
 twitter: **http://twitter.com/kasunbg* http://twitter.com/kasunbg*
 *




 --
 *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* http://blog.kasunbg.org*
 twitter: **http://twitter.com/kasunbg* http://twitter.com/kasunbg*
 *



 ___
 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





-- 
*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* http://blog.kasunbg.org*
twitter: **http://twitter.com/kasunbg* http://twitter.com/kasunbg*
*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [Bamboo-Build] WSO2 Carbon BRANCH Platform_4.0.0 #30 has FAILED. Change made by 4 authors.

2012-07-26 Thread Bamboo

---
WSO2 Carbon BRANCH  Platform_4.0.0  #30 failed.
---
Code has been updated by rajika, amani, amilam, lalaji.
No failed tests found, a possible compilation error.

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


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



--
Code Changes
--
amilam (134981):

Fixing a path after branching

lalaji (134976):

Apply fix for APISTORE-470

lalaji (134974):

Removed import for javax wsdlreader/factory



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


Re: [Dev] Issue in the AppFactory component in branch

2012-07-26 Thread Dimuthu Leelarathne
Hi Amila,

On Thu, Jul 26, 2012 at 2:54 PM, Amila Maha Arachchi ami...@wso2.comwrote:



 On Thu, Jul 26, 2012 at 2:45 PM, Dimuthu Leelarathne dimut...@wso2.comwrote:



 On Thu, Jul 26, 2012 at 1:22 PM, Kasun Gajasinghe kas...@wso2.comwrote:


 As I've seen,

 1. Changing org.wso2.carbon.appfactory.events.notification/1.0.0
 to org.wso2.carbon.appfactory.events.notification in appfactory/pom.xml
 2. Changing the version of pom.xml
 of appfactory/org.wso2.carbon.appfactory.events.notification/pom.xml from
 1.0.0-SNAPSHOT to 1.0.0
 3. Correcting the version of the dependency
 org.wso2.carbon.appfactory.application.mgt to 1.0.0

 makes it work. I'm not sure whether this is the right approach though.


 +1


 I dont think this is correct. Every stub/component/feature/product should
 have a versioned folder inside them. Otherwise how are you going to do a
 patch/minor release for the above. For example after releasing AF 1.0.0,
 you decide to release AF 1.0.1. You need to branch the AF
 components/features/stubs for this (if there are changes in them). Then you
 cannot do it with this folder structure.


Just checked. You are correct our events bundle doesn't have a versioned
folder (other appfactory components do have such a version  numbered
folder) and I think it is a miss on our side. For now lets have KasunG's
commit to enable the rest of the team to continue. We'll fix this ASAP.

thanks,
dimuthu





 thanks,
 dimuthu



 Thanks,
 --KasunG


 On Thu, Jul 26, 2012 at 1:11 PM, Kasun Gajasinghe kas...@wso2.comwrote:

 Hi,
 Seems the maven project structure for
 appfactory's org.wso2.carbon.appfactory.events.notification module. There
 isn't a appfactory/org.wso2.carbon.appfactory.events.notification/1.0.0
 directory there. You'll face issues when building with a clean repo. Please
 fix.


 kasun@kasunbg-laptop:~/wso2/C4-dist-branch/platform/components/appfactory$
 mvnc4 install -Dmaven.test.skip=true
 [INFO] Scanning for projects...
 [ERROR] The build could not read 1 project - [Help 1]
 [ERROR]
 [ERROR]   The project org.wso2.carbon:appfactory:1.0.0
 (/home/kasun/wso2/C4-dist-branch/platform/components/appfactory/pom.xml)
 has 1 error
 [ERROR] Child module
 /home/kasun/wso2/C4-dist-branch/platform/components/appfactory/org.wso2.carbon.appfactory.events.notification/1.0.0
 of /home/kasun/wso2/C4-dist-branch/platform/components/appfactory/pom.xml
 does not exist
 [ERROR]
 [ERROR] To see the full stack trace of the errors, re-run Maven with
 the -e switch.
 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
 [ERROR]
 [ERROR] For more information about the errors and possible solutions,
 please read the following articles:
 [ERROR] [Help 1]
 http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException


 Thanks,
 --KasunG

 --
 *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* http://blog.kasunbg.org*
 twitter: **http://twitter.com/kasunbg* http://twitter.com/kasunbg*
 *




 --
 *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* http://blog.kasunbg.org*
 twitter: **http://twitter.com/kasunbg* http://twitter.com/kasunbg*
 *



 ___
 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] Issue in the AppFactory component in branch

2012-07-26 Thread Ranga Siriwardena
Hi,

On Thu, Jul 26, 2012 at 3:06 PM, Dimuthu Leelarathne dimut...@wso2.comwrote:

 Hi Amila,

 On Thu, Jul 26, 2012 at 2:54 PM, Amila Maha Arachchi ami...@wso2.comwrote:



 On Thu, Jul 26, 2012 at 2:45 PM, Dimuthu Leelarathne 
 dimut...@wso2.comwrote:



 On Thu, Jul 26, 2012 at 1:22 PM, Kasun Gajasinghe kas...@wso2.comwrote:


 As I've seen,

 1. Changing org.wso2.carbon.appfactory.events.notification/1.0.0
 to org.wso2.carbon.appfactory.events.notification in appfactory/pom.xml
 2. Changing the version of pom.xml
 of appfactory/org.wso2.carbon.appfactory.events.notification/pom.xml from
 1.0.0-SNAPSHOT to 1.0.0
 3. Correcting the version of the dependency
 org.wso2.carbon.appfactory.application.mgt to 1.0.0

 makes it work. I'm not sure whether this is the right approach though.


 +1


 I dont think this is correct. Every stub/component/feature/product should
 have a versioned folder inside them. Otherwise how are you going to do a
 patch/minor release for the above. For example after releasing AF 1.0.0,
 you decide to release AF 1.0.1. You need to branch the AF
 components/features/stubs for this (if there are changes in them). Then you
 cannot do it with this folder structure.


 Just checked. You are correct our events bundle doesn't have a versioned
 folder (other appfactory components do have such a version  numbered
 folder) and I think it is a miss on our side. For now lets have KasunG's
 commit to enable the rest of the team to continue. We'll fix this ASAP.


When merging with trunk I missed to add this version properly. Sorry for
the inconvenience and I will fix this.  But I have removed appfactory
related stuff from main build until I verify the build status. I wonder how
the build fails because it is not yet in the build.



 thanks,
 dimuthu





 thanks,
 dimuthu



 Thanks,
 --KasunG


 On Thu, Jul 26, 2012 at 1:11 PM, Kasun Gajasinghe kas...@wso2.comwrote:

 Hi,
 Seems the maven project structure for
 appfactory's org.wso2.carbon.appfactory.events.notification module. There
 isn't a appfactory/org.wso2.carbon.appfactory.events.notification/1.0.0
 directory there. You'll face issues when building with a clean repo. 
 Please
 fix.


 kasun@kasunbg-laptop:~/wso2/C4-dist-branch/platform/components/appfactory$
 mvnc4 install -Dmaven.test.skip=true
 [INFO] Scanning for projects...
 [ERROR] The build could not read 1 project - [Help 1]
 [ERROR]
 [ERROR]   The project org.wso2.carbon:appfactory:1.0.0
 (/home/kasun/wso2/C4-dist-branch/platform/components/appfactory/pom.xml)
 has 1 error
 [ERROR] Child module
 /home/kasun/wso2/C4-dist-branch/platform/components/appfactory/org.wso2.carbon.appfactory.events.notification/1.0.0
 of /home/kasun/wso2/C4-dist-branch/platform/components/appfactory/pom.xml
 does not exist
 [ERROR]
 [ERROR] To see the full stack trace of the errors, re-run Maven with
 the -e switch.
 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
 [ERROR]
 [ERROR] For more information about the errors and possible solutions,
 please read the following articles:
 [ERROR] [Help 1]
 http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException


 Thanks,
 --KasunG

 --
 *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* http://blog.kasunbg.org*
 twitter: **http://twitter.com/kasunbg* http://twitter.com/kasunbg*
 *




 --
 *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* http://blog.kasunbg.org*
 twitter: **http://twitter.com/kasunbg* http://twitter.com/kasunbg*
 *



 ___
 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



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


Re: [Dev] BAM 2.0.0 Beta Released!

2012-07-26 Thread Samisa Abeysinghe
On Thu, Jul 26, 2012 at 1:05 PM, Tharindu Mathew thari...@wso2.com 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 sam...@wso2.comwrote:



 On Thu, Jul 26, 2012 at 9:13 AM, Samisa Abeysinghe sam...@wso2.comwrote:

 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
___
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 #30 has FAILED. Change made by 4 authors.

2012-07-26 Thread Isuru Udana
Hi,

Bamboo has failed in checking out source code.

error 26-Jul-2012 02:11:21 Caused by:
com.atlassian.bamboo.repository.svn.ExternalsLockException: svn: URL '
https://svn.wso2.org/repos/wso2/carbon/platform/branches/4.0.0/products/apimgt/modules/distribution/resources/sql'
at revision 135084 doesn't exist
error 26-Jul-2012 02:11:21 at
com.atlassian.bamboo.repository.svn.UpdateEventHandler.handleEvent(UpdateEventHandler.java:87)

Please have a look.

On Thu, Jul 26, 2012 at 2:41 PM, Bamboo cbuil...@wso2.org wrote:

  [image: Failed]  WSO2 Carbon 
 BRANCHhttp://wso2.org/bamboo/browse/WCB001/›
 Platform_4.0.0 http://wso2.org/bamboo/browse/WCB001-PLA000/ › 
 #30http://wso2.org/bamboo/browse/WCB001-PLA000-30/
 failed

 Code has been updated by rajikahttp://wso2.org/bamboo/browse/author/rajika,
 amani http://wso2.org/bamboo/browse/author/amani, 
 amilamhttp://wso2.org/bamboo/browse/author/amilam,
 lalaji http://wso2.org/bamboo/browse/author/lalaji.

 No failed tests found, a possible compilation error.
Failing Jobs http://wso2.org/bamboo/browse/WCB001-PLA000-30/ Job
 Duration Tests[image: Failed]  Default 
 Jobhttp://wso2.org/bamboo/browse/WCB001-PLA000-JOB1-30/ (Default
 Stage)  Unknown  No tests found  
 Logshttp://wso2.org/bamboo/browse/WCB001-PLA000-JOB1-30/log|
 Artifacts http://wso2.org/bamboo/browse/WCB001-PLA000-JOB1-30/artifact 
 Code
 Changes http://wso2.org/bamboo/browse/WCB001-PLA000-30/commit/  View
 all 5 code changeshttp://wso2.org/bamboo/browse/WCB001-PLA000-30/commit/
 amilam http://wso2.org/bamboo/browse/author/amilam
 Fixing a path after branching  134981
 rajikahttp://wso2.org/bamboo/browse/author/rajika
 Fixed the version.  134980
 amanihttp://wso2.org/bamboo/browse/author/amani
 Fixing UI issue related to URL mapper http port linking  134978   2 more
 changes… http://wso2.org/bamboo/browse/WCB001-PLA000-30/commit View
 Online http://wso2.org/bamboo/browse/WCB001-PLA000-30 | Add 
 Commentshttp://wso2.org/bamboo/browse/WCB001-PLA000-30?commentMode=true

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

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

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




-- 
*Isuru Udana*
*
 *
*
Software Engineer
*
Integration Technologies Team, WSO2 Inc.; http://wso2.com
email: isu...@wso2.com cell: +94 77 3791887
blog: http://mytecheye.blogspot.com/
twitter: http://twitter.com/isudana
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Latest G-Reg pack .

2012-07-26 Thread Ajith Vitharana
Hi All,

Please find the latest G-Reg 4.5.0 pack at [1].

[1]https://svn.wso2.org/repos/wso2/people/ajith/greg-4.5.0/2012-07-26/

-- 
Ajith Vitharana.
WSO2 Inc. - http://wso2.org
Email  :  aji...@wso2.com
Mobile : +94714631794
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Error: user core

2012-07-26 Thread Pradeep Fernando
Hi,

Im in the process of adding web-app mode support to carbon. Right now im
facing the below error. Appreciate any help.





Listening on port 0.0.0.0/0.0.0.0:19444 ...
[2012-07-26 16:35:59,927]  INFO
{org.wso2.carbon.coordination.core.services.impl.ZKCoordinationService} -
Coordination service disabled.
[2012-07-26 16:36:00,241]  INFO
{org.wso2.carbon.core.internal.CarbonCoreActivator} -  Starting WSO2
Carbon...
[2012-07-26 16:36:00,242]  INFO
{org.wso2.carbon.core.internal.CarbonCoreActivator} -  Operating System :
Linux 3.2.0-23-generic, amd64
[2012-07-26 16:36:00,242]  INFO
{org.wso2.carbon.core.internal.CarbonCoreActivator} -  Java Home:
/home/pradeep/installations/jdk1.6.0_33/jre
[2012-07-26 16:36:00,243]  INFO
{org.wso2.carbon.core.internal.CarbonCoreActivator} -  Java Version :
1.6.0_33
[2012-07-26 16:36:00,243]  INFO
{org.wso2.carbon.core.internal.CarbonCoreActivator} -  Java VM  :
Java HotSpot(TM) 64-Bit Server VM 20.8-b03,Sun Microsystems Inc.
[2012-07-26 16:36:00,243]  INFO
{org.wso2.carbon.core.internal.CarbonCoreActivator} -  Carbon Home  :
/home/pradeep/carbon-repo
[2012-07-26 16:36:00,243]  INFO
{org.wso2.carbon.core.internal.CarbonCoreActivator} -  Java Temp Dir:
/home/pradeep/installations/apache-tomcat-7.0.28/temp
[2012-07-26 16:36:00,243]  INFO
{org.wso2.carbon.core.internal.CarbonCoreActivator} -  User :
pradeep, en-US, Asia/Colombo
[2012-07-26 16:36:00,581]  INFO
{org.wso2.carbon.server.admin.internal.PrivilegedActionExtensionComponent}
-  Privileged Actions Extension bundle activated successfuly.
[2012-07-26 16:36:01,618] ERROR
{org.wso2.carbon.user.core.util.DatabaseUtil} -  Database Error - Table
UM_DIALECT not found; SQL statement:
SELECT COUNT(UM_ID) FROM UM_DIALECT WHERE UM_TENANT_ID=? [42102-140]
org.h2.jdbc.JdbcSQLException: Table UM_DIALECT not found; SQL statement:
SELECT COUNT(UM_ID) FROM UM_DIALECT WHERE UM_TENANT_ID=? [42102-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.command.Parser.readTableOrView(Parser.java:4498)
at org.h2.command.Parser.readTableFilter(Parser.java:1011)
at org.h2.command.Parser.parseSelectSimpleFromPart(Parser.java:1577)
at org.h2.command.Parser.parseSelectSimple(Parser.java:1682)
at org.h2.command.Parser.parseSelectSub(Parser.java:1571)
at org.h2.command.Parser.parseSelectUnion(Parser.java:1416)
at org.h2.command.Parser.parseSelect(Parser.java:1404)
at org.h2.command.Parser.parsePrepared(Parser.java:392)
at org.h2.command.Parser.parse(Parser.java:275)
at org.h2.command.Parser.parse(Parser.java:247)
at org.h2.command.Parser.prepare(Parser.java:201)
at org.h2.command.Parser.prepareCommand(Parser.java:214)
at org.h2.engine.Session.prepareLocal(Session.java:434)
at org.h2.engine.Session.prepareCommand(Session.java:384)
at org.h2.jdbc.JdbcConnection.prepareCommand(JdbcConnection.java:1071)
at
org.h2.jdbc.JdbcPreparedStatement.init(JdbcPreparedStatement.java:71)
at org.h2.jdbc.JdbcConnection.prepareStatement(JdbcConnection.java:234)
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.tomcat.jdbc.pool.ProxyConnection.invoke(ProxyConnection.java:126)
at
org.apache.tomcat.jdbc.pool.JdbcInterceptor.invoke(JdbcInterceptor.java:99)
at
org.wso2.carbon.ndatasource.rdbms.ConnectionRollbackOnReturnInterceptor.invoke(ConnectionRollbackOnReturnInterceptor.java:51)
at
org.apache.tomcat.jdbc.pool.JdbcInterceptor.invoke(JdbcInterceptor.java:99)
at
org.apache.tomcat.jdbc.pool.interceptor.AbstractCreateStatementInterceptor.invoke(AbstractCreateStatementInterceptor.java:67)
at
org.apache.tomcat.jdbc.pool.JdbcInterceptor.invoke(JdbcInterceptor.java:99)
at
org.apache.tomcat.jdbc.pool.interceptor.ConnectionState.invoke(ConnectionState.java:153)
at
org.apache.tomcat.jdbc.pool.JdbcInterceptor.invoke(JdbcInterceptor.java:99)
at
org.apache.tomcat.jdbc.pool.TrapException.invoke(TrapException.java:41)
at
org.apache.tomcat.jdbc.pool.JdbcInterceptor.invoke(JdbcInterceptor.java:99)
at
org.apache.tomcat.jdbc.pool.DisposableConnectionFacade.invoke(DisposableConnectionFacade.java:63)
at $Proxy14.prepareStatement(Unknown Source)
at
org.wso2.carbon.user.core.claim.dao.ClaimDAO.getDialectCount(ClaimDAO.java:161)
at
org.wso2.carbon.user.core.common.DefaultRealm.populateProfileAndClaimMaps(DefaultRealm.java:278)
at
org.wso2.carbon.user.core.common.DefaultRealm.init(DefaultRealm.java:109)
at
org.wso2.carbon.user.core.common.DefaultRealmService.initializeRealm(DefaultRealmService.java:233)
at

Re: [Dev] Freezing MS, Jaggery and DS components for AS release

2012-07-26 Thread Samisa Abeysinghe
Are we ready with AS RCs?

On Mon, Jul 23, 2012 at 7:05 PM, Anjana Fernando anj...@wso2.com wrote:

 Hi Isuru,

 On Mon, Jul 23, 2012 at 2:34 PM, Isuru Suriarachchi is...@wso2.comwrote:

 Hi Nuwan/Anjana,

 As you know, we are trying to ship AS with Carbon core at least by the
 end of next week and we are targeting an RC from the new branch by
 Wednesday. So we'll have to fix all L1's and L2's related to MS, Jaggery
 and DS components by Wednesday and freez the code. Is that possible? Please
 let us know if there are any concerns..


 For DSS, we have around 15 L1 + L2 issues, so I'm afraid Wednesday may not
 be enough to resolve all of them and code freeze. So how about if we code
 freeze by Friday and do an RC next Monday? ..

 Cheers,
 Anjana.



 Thanks,
 ~Isuru

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

 lean . enterprise . middleware




 --
 *Anjana Fernando*
 Associate Technical Lead
 WSO2 Inc. | http://wso2.com
 lean . enterprise . middleware

  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] Error: user core

2012-07-26 Thread Hasini Gunasinghe
Did you run the database scripts at server startup?
This happens when the relevant tables are not found in the UM database.

Thanks,
Hasini.

On Thu, Jul 26, 2012 at 4:46 PM, Pradeep Fernando prad...@wso2.com wrote:

 Hi,

 Im in the process of adding web-app mode support to carbon. Right now im
 facing the below error. Appreciate any help.





 Listening on port 0.0.0.0/0.0.0.0:19444 ...
 [2012-07-26 16:35:59,927]  INFO
 {org.wso2.carbon.coordination.core.services.impl.ZKCoordinationService} -
 Coordination service disabled.
 [2012-07-26 16:36:00,241]  INFO
 {org.wso2.carbon.core.internal.CarbonCoreActivator} -  Starting WSO2
 Carbon...
 [2012-07-26 16:36:00,242]  INFO
 {org.wso2.carbon.core.internal.CarbonCoreActivator} -  Operating System :
 Linux 3.2.0-23-generic, amd64
 [2012-07-26 16:36:00,242]  INFO
 {org.wso2.carbon.core.internal.CarbonCoreActivator} -  Java Home:
 /home/pradeep/installations/jdk1.6.0_33/jre
 [2012-07-26 16:36:00,243]  INFO
 {org.wso2.carbon.core.internal.CarbonCoreActivator} -  Java Version :
 1.6.0_33
 [2012-07-26 16:36:00,243]  INFO
 {org.wso2.carbon.core.internal.CarbonCoreActivator} -  Java VM  :
 Java HotSpot(TM) 64-Bit Server VM 20.8-b03,Sun Microsystems Inc.
 [2012-07-26 16:36:00,243]  INFO
 {org.wso2.carbon.core.internal.CarbonCoreActivator} -  Carbon Home  :
 /home/pradeep/carbon-repo
 [2012-07-26 16:36:00,243]  INFO
 {org.wso2.carbon.core.internal.CarbonCoreActivator} -  Java Temp Dir:
 /home/pradeep/installations/apache-tomcat-7.0.28/temp
 [2012-07-26 16:36:00,243]  INFO
 {org.wso2.carbon.core.internal.CarbonCoreActivator} -  User :
 pradeep, en-US, Asia/Colombo
 [2012-07-26 16:36:00,581]  INFO
 {org.wso2.carbon.server.admin.internal.PrivilegedActionExtensionComponent}
 -  Privileged Actions Extension bundle activated successfuly.
 [2012-07-26 16:36:01,618] ERROR
 {org.wso2.carbon.user.core.util.DatabaseUtil} -  Database Error - Table
 UM_DIALECT not found; SQL statement:
 SELECT COUNT(UM_ID) FROM UM_DIALECT WHERE UM_TENANT_ID=? [42102-140]
 org.h2.jdbc.JdbcSQLException: Table UM_DIALECT not found; SQL statement:
 SELECT COUNT(UM_ID) FROM UM_DIALECT WHERE UM_TENANT_ID=? [42102-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.command.Parser.readTableOrView(Parser.java:4498)
 at org.h2.command.Parser.readTableFilter(Parser.java:1011)
 at org.h2.command.Parser.parseSelectSimpleFromPart(Parser.java:1577)
 at org.h2.command.Parser.parseSelectSimple(Parser.java:1682)
 at org.h2.command.Parser.parseSelectSub(Parser.java:1571)
 at org.h2.command.Parser.parseSelectUnion(Parser.java:1416)
 at org.h2.command.Parser.parseSelect(Parser.java:1404)
 at org.h2.command.Parser.parsePrepared(Parser.java:392)
 at org.h2.command.Parser.parse(Parser.java:275)
 at org.h2.command.Parser.parse(Parser.java:247)
 at org.h2.command.Parser.prepare(Parser.java:201)
 at org.h2.command.Parser.prepareCommand(Parser.java:214)
 at org.h2.engine.Session.prepareLocal(Session.java:434)
 at org.h2.engine.Session.prepareCommand(Session.java:384)
 at org.h2.jdbc.JdbcConnection.prepareCommand(JdbcConnection.java:1071)
 at
 org.h2.jdbc.JdbcPreparedStatement.init(JdbcPreparedStatement.java:71)
 at org.h2.jdbc.JdbcConnection.prepareStatement(JdbcConnection.java:234)
 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.tomcat.jdbc.pool.ProxyConnection.invoke(ProxyConnection.java:126)
 at
 org.apache.tomcat.jdbc.pool.JdbcInterceptor.invoke(JdbcInterceptor.java:99)
 at
 org.wso2.carbon.ndatasource.rdbms.ConnectionRollbackOnReturnInterceptor.invoke(ConnectionRollbackOnReturnInterceptor.java:51)
 at
 org.apache.tomcat.jdbc.pool.JdbcInterceptor.invoke(JdbcInterceptor.java:99)
 at
 org.apache.tomcat.jdbc.pool.interceptor.AbstractCreateStatementInterceptor.invoke(AbstractCreateStatementInterceptor.java:67)
 at
 org.apache.tomcat.jdbc.pool.JdbcInterceptor.invoke(JdbcInterceptor.java:99)
 at
 org.apache.tomcat.jdbc.pool.interceptor.ConnectionState.invoke(ConnectionState.java:153)
 at
 org.apache.tomcat.jdbc.pool.JdbcInterceptor.invoke(JdbcInterceptor.java:99)
 at
 org.apache.tomcat.jdbc.pool.TrapException.invoke(TrapException.java:41)
 at
 org.apache.tomcat.jdbc.pool.JdbcInterceptor.invoke(JdbcInterceptor.java:99)
 at
 org.apache.tomcat.jdbc.pool.DisposableConnectionFacade.invoke(DisposableConnectionFacade.java:63)
 at $Proxy14.prepareStatement(Unknown Source)
 at
 

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

2012-07-26 Thread Nuwan Dias
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?

Thanks,
NuwanD.

On Thu, Jul 26, 2012 at 11:39 AM, Sagara Gunathunga sag...@wso2.com 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 lahi...@wso2.comwrote:



 On Mon, Jul 23, 2012 at 3:37 PM, Afkham Azeez az...@wso2.com wrote:



 On Mon, Jul 23, 2012 at 3:35 PM, Lahiru Sandaruwan lahi...@wso2.comwrote:



 On Mon, Jul 23, 2012 at 2:55 PM, Nuwan Dias nuw...@wso2.com 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 nuw...@wso2.com 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 
 lahi...@wso2.comwrote:



 On Fri, Jul 20, 2012 at 3:30 PM, Muhammed Shariq sha...@wso2.comwrote:

 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 2 packs) clustered
 using 'wka' method.

 For master node,

 AutoCommittrue/AutoCommit
 AutoCheckouttrue/AutoCheckout

 and slave node,

 AutoCommitfalse/AutoCommit
 AutoCheckouttrue/AutoCheckout

 When i create a new tenant in master node, it commits  all the
 apps to svn but slave gives following error,

 [2012-07-19 15:05:50,181] ERROR
 {org.wso2.carbon.core.deployment.SynchronizeRepositoryRequest} -
  Repository update failed for tenant 2
 java.lang.RuntimeException:
 org.wso2.carbon.deployment.synchronizer.DeploymentSynchronizerException:
  A
 repository synchronizer has not been engaged for the file path:
 /home/lahiru/work/phpHosting/php/test/wso2as-5.0.0-SNAPSHOT/repository/tenants/2
  at
 org.wso2.carbon.deployment.synchronizer.internal.DeploymentSynchronizerServiceImpl.update(DeploymentSynchronizerServiceImpl.java:78)
 at
 

Re: [Dev] web-app mode deployment of carbon in Apache Tomcat

2012-07-26 Thread Supun Malinga
On Thu, Jul 26, 2012 at 5:57 PM, Pradeep Fernando prad...@wso2.com wrote:

 Hi,

 Now carbon supports web-app mode deployment (tested in apache tomcat). To
 support the above functionality we have to add three new modules (not new,
 they used to exist in carbon 3.x)

 org.wso2.carbon.bridge
 org.wso2.carbon.http.bridge
 org.wso2.carbon.servletbridge


cool..



 during the web-app mode deployment we have to get rid of all the,

 tomcat releated  jars in plugins
 javax.servlet jars in plugins




 Now the web-app war file looks like, (pretty neat :)  )

 └── WEB-INF
 ├── classes
 │   └── log4j.properties
 ├── eclipse
 │   └── launch.ini
 ├── lib
 │   └── org.wso2.carbon.bridge-4.0.0.jar
 └── web.xml


 I have a locally configured working pack. But have to come up with a
 script to generate all these. Should we go for a seperate distribution (?).
 since some modifications happens at the plugins level (some bundles get
 added/some get removed) we have to update the bundles.info as well. I
 would love to see the carbon-home inside the war file as well, instead of
 residing in some other location. thoughts are welcome


+1 for a separate distribution. But do we need to have separate war
distribution for all the products?. May be we can have a seperate maven
goal for this and not include in mainstream build by default.

thanks,


 we can ship this with C4 major or point release.


 related jira - https://wso2.org/jira/browse/CARBON-13167

 thanks,
 --Pradeep



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




-- 
Supun Malinga,

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


[Dev] WSO2 App Factory 1.0.0 Milestone 3 Released!

2012-07-26 Thread Thilini Ishaka
*

WSO2 App Factory v1.0.0 M3 Released*
26th July, 2012


The WSO2 App Factory team is pleased to announce the release of 1.0.0
Milestone 3 version of WSO2 App Factory.
The pre-configured virtual machine could be downloaded from
herehttp://builder1.us1.wso2.org/~appfactory/releases/wso2appfactory-1.0.0-M3.zip
.

*
*
*How to Run*

   - Download the virtual machine. The servers start automatically when the
   VM boot up.


*Key Features*

   - Lifecycle management of an application (i.e CAR application)
   - SVN repository provision.
   - Automated build and deployment.
   - Application versioning.
   - Notification handling.
   - Role based views.


*New Features and Improvements*

   - Seamless integration with WSO2 Greg Lifecycle management for promotion.
   - Versioning of applications - includes SVN branching, and version
   management in WSO2 Greg.
   - Notification Framework.
   - Dynamic dashboards.
   - Using WSO2 Greg rxts to store application information.
   - Improved samples.


*Issues Fixed*

   - Make a asynchronous call to staging process
APPFAC-10https://wso2.org/jira/browse/APPFAC-10



*Known Issues*

   - Repeatedly be able to run build on the same applicaiton
APPFAC-18https://wso2.org/jira/browse/APPFAC-18
   - https://wso2.org/jira/browse/APPFAC-18Dynamically refresh the event
   notification board APPFAC-19 https://wso2.org/jira/browse/APPFAC-19
   - Events are now displayed in a table make it look like a event
   notification pane APPFAC-20 https://wso2.org/jira/browse/APPFAC-20
   - Implement a thread pool which is to bypass stuck thread exception for
   building APPFAC-28 https://wso2.org/jira/browse/APPFAC-28


*Report Problems*

   - Issues can be reported using the public JIRA available at
   https://wso2.org/jira/browse/APPFAC

*

Contact us*

WSO2 App Factory developers can be contacted via the mailing lists:
For Users: u...@wso2.org
For Developers: dev@wso2.org
For details on subscriptions see http://wso2.org/mail


*-The WSO2 App Factory Team*


--
*Thilini Ishaka
WSO2 Inc. http://wso2.com*
*bolg: thiliniishaka.blogspot.com*
*linkedin: http://lk.linkedin.com/in/thiliniishaka*
*twitter: https://twitter.com/#!/ThiliniIsh*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] web-app mode deployment of carbon in Apache Tomcat

2012-07-26 Thread Anjana Fernando
Hi Pradeep,

On Thu, Jul 26, 2012 at 6:23 PM, Pradeep Fernando prad...@wso2.com wrote:

 Hi Anjana,

 I'm getting this lnfo level log while server startup.

 [2012-07-26 17:28:05,431]  INFO
 {org.wso2.carbon.coordination.core.services.impl.ZKCoordinationService} -
 Coordination service disabled.


Yes, this was there before as well, it basically means, the coordination
functionality is disabled by default, and has to be enabled by editing the
/repository/conf/etc/coordination-client-config.xml.

Cheers,
Anjana.



 any idea ?

 --Pradeep




-- 
*Anjana Fernando*
Associate Technical Lead
WSO2 Inc. | http://wso2.com
lean . enterprise . middleware
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] NPE when stopping LB

2012-07-26 Thread Afkham Azeez
[2012-07-26 17:45:52,738]  INFO - PassThroughHttpSSLListener Stopping
Pass-through HTTPS Listener..
[2012-07-26 17:45:52,757] ERROR - CarbonServerManager Cannot put transports
into maintenance mode
java.lang.NullPointerException
at
org.wso2.carbon.transport.passthru.PassThroughHttpListener.stop(PassThroughHttpListener.java:261)
at
org.wso2.carbon.core.ServerManagement.startMaintenance(ServerManagement.java:78)
 at
org.wso2.carbon.core.ServerManagement.startMaintenanceForShutDown(ServerManagement.java:92)
at
org.wso2.carbon.core.init.CarbonServerManager.shutdownGracefully(CarbonServerManager.java:856)
 at
org.wso2.carbon.core.init.CarbonServerManager$4.run(CarbonServerManager.java:871)

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


Re: [Dev] Freezing MS, Jaggery and DS components for AS release

2012-07-26 Thread Samisa Abeysinghe
On Thu, Jul 26, 2012 at 5:07 PM, Sagara Gunathunga sag...@wso2.com wrote:

 We got indication from DS team that they will resolve all L1 within today.
 Still we have few deployment synchronization issues specially CARBON-13662.
 As per my chat with  NuwanD still no proper solution for CARBON-13662.

 We still trying to have RC1 today, from this morning KasunG trying to fix
 Bambo build issues before the release. The idea is release RC1 today and
 identify possible new issues before the weekend so that we can reach to 3rd
 of August deadline safely.


Sounds good. We will get the QA team to help with final verification once
they finish APIM pack verification.




 Thanks !

 On Thu, Jul 26, 2012 at 4:51 PM, Samisa Abeysinghe sam...@wso2.comwrote:

 Are we ready with AS RCs?


 On Mon, Jul 23, 2012 at 7:05 PM, Anjana Fernando anj...@wso2.com wrote:

 Hi Isuru,

 On Mon, Jul 23, 2012 at 2:34 PM, Isuru Suriarachchi is...@wso2.comwrote:

 Hi Nuwan/Anjana,

 As you know, we are trying to ship AS with Carbon core at least by the
 end of next week and we are targeting an RC from the new branch by
 Wednesday. So we'll have to fix all L1's and L2's related to MS, Jaggery
 and DS components by Wednesday and freez the code. Is that possible? Please
 let us know if there are any concerns..


 For DSS, we have around 15 L1 + L2 issues, so I'm afraid Wednesday may
 not be enough to resolve all of them and code freeze. So how about if we
 code freeze by Friday and do an RC next Monday? ..

 Cheers,
 Anjana.



 Thanks,
 ~Isuru

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

 lean . enterprise . middleware




 --
 *Anjana Fernando*
 Associate Technical Lead
 WSO2 Inc. | http://wso2.com
 lean . enterprise . middleware

  Thanks,
 Samisa...

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





 --
 Sagara Gunathunga

 Technical Lead; WSO2, Inc.;  http://wso2.com
 V.P Apache Web Services ;  http://ws.apache.org/
 Blog ;  http://ssagara.blogspot.com

  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] Freezing MS, Jaggery and DS components for AS release

2012-07-26 Thread Kasun Gajasinghe
Update:
Still Bamboo fails because of svn issues. When this happens Bamboo
can't take a fresh checkout, so the whole build fails. I have sent few
about those.

I'm building AppServer branch locally. I was able to come up to
platform. Still building the appserver. Got one integration test
failures. Trying to figure whether it's local to my build.

Thanks,
--KasunG

On Thu, Jul 26, 2012 at 5:07 PM, Sagara Gunathunga sag...@wso2.com wrote:
 We got indication from DS team that they will resolve all L1 within today.
 Still we have few deployment synchronization issues specially CARBON-13662.
 As per my chat with  NuwanD still no proper solution for CARBON-13662.

 We still trying to have RC1 today, from this morning KasunG trying to fix
 Bambo build issues before the release. The idea is release RC1 today and
 identify possible new issues before the weekend so that we can reach to 3rd
 of August deadline safely.

 Thanks !

 On Thu, Jul 26, 2012 at 4:51 PM, Samisa Abeysinghe sam...@wso2.com wrote:

 Are we ready with AS RCs?


 On Mon, Jul 23, 2012 at 7:05 PM, Anjana Fernando anj...@wso2.com wrote:

 Hi Isuru,

 On Mon, Jul 23, 2012 at 2:34 PM, Isuru Suriarachchi is...@wso2.com
 wrote:

 Hi Nuwan/Anjana,

 As you know, we are trying to ship AS with Carbon core at least by the
 end of next week and we are targeting an RC from the new branch by
 Wednesday. So we'll have to fix all L1's and L2's related to MS, Jaggery 
 and
 DS components by Wednesday and freez the code. Is that possible? Please let
 us know if there are any concerns..


 For DSS, we have around 15 L1 + L2 issues, so I'm afraid Wednesday may
 not be enough to resolve all of them and code freeze. So how about if we
 code freeze by Friday and do an RC next Monday? ..

 Cheers,
 Anjana.



 Thanks,
 ~Isuru

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

 lean . enterprise . middleware




 --
 Anjana Fernando
 Associate Technical Lead
 WSO2 Inc. | http://wso2.com
 lean . enterprise . middleware

 Thanks,
 Samisa...

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





 --
 Sagara Gunathunga

 Technical Lead; WSO2, Inc.;  http://wso2.com
 V.P Apache Web Services ;  http://ws.apache.org/
 Blog ;  http://ssagara.blogspot.com




-- 
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
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] NPE in AppServer Integration tests for TenantLazyLoaderValve

2012-07-26 Thread Kasun Gajasinghe
Hi,

I'm getting the following NPE when running the integration tests of
AppServer latest pack in branch. Confirmed the issue with Madhuka.
This is a blocker for the AppServer RC1 release.
Was there any recent changes to the TenantLazyLoaderValve? I have the
appserver pack with me if anyone want.

Appreciate a quick response.


[2012-07-26 19:59:05,864]  INFO
{org.wso2.carbon.integration.framework.utils.InputStreamHandler} -
[2012-07-26 19:59:05,863] ERROR
{org.wso2.carbon.tomcat.ext.valves.CompositeValve} -  Could not handle
request: /services/AuthenticationAdmin
[2012-07-26 19:59:05,864]  INFO
{org.wso2.carbon.integration.framework.utils.InputStreamHandler} -
java.lang.NullPointerException
[2012-07-26 19:59:05,864]  INFO
{org.wso2.carbon.integration.framework.utils.InputStreamHandler} -
at 
org.wso2.carbon.utils.multitenancy.MultitenantUtils.getTenantDomainFromRequestURL(MultitenantUtils.java:80)
[2012-07-26 19:59:05,865]  INFO
{org.wso2.carbon.integration.framework.utils.InputStreamHandler} -
at 
org.wso2.carbon.webapp.mgt.TenantLazyLoaderValve.invoke(TenantLazyLoaderValve.java:55)
[2012-07-26 19:59:05,865]  INFO
{org.wso2.carbon.integration.framework.utils.InputStreamHandler} -
at 
org.wso2.carbon.tomcat.ext.valves.TomcatValveContainer.invokeValves(TomcatValveContainer.java:47)
[2012-07-26 19:59:05,865]  INFO
{org.wso2.carbon.integration.framework.utils.InputStreamHandler} -
at 
org.wso2.carbon.tomcat.ext.valves.CompositeValve.invoke(CompositeValve.java:129)
[2012-07-26 19:59:05,865]  INFO
{org.wso2.carbon.integration.framework.utils.InputStreamHandler} -
at 
org.wso2.carbon.tomcat.ext.valves.CarbonStuckThreadDetectionValve.invoke(CarbonStuckThreadDetectionValve.java:156)
[2012-07-26 19:59:05,865]  INFO
{org.wso2.carbon.integration.framework.utils.InputStreamHandler} -
at 
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
[2012-07-26 19:59:05,865]  INFO
{org.wso2.carbon.integration.framework.utils.InputStreamHandler} -
at 
org.wso2.carbon.tomcat.ext.valves.CarbonContextCreatorValve.invoke(CarbonContextCreatorValve.java:49)
[2012-07-26 19:59:05,865]  INFO
{org.wso2.carbon.integration.framework.utils.InputStreamHandler} -
at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
[2012-07-26 19:59:05,865]  INFO
{org.wso2.carbon.integration.framework.utils.InputStreamHandler} -
at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
[2012-07-26 19:59:05,865]  INFO
{org.wso2.carbon.integration.framework.utils.InputStreamHandler} -
at 
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1001)
[2012-07-26 19:59:05,865]  INFO
{org.wso2.carbon.integration.framework.utils.InputStreamHandler} -
at 
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:579)
[2012-07-26 19:59:05,865]  INFO
{org.wso2.carbon.integration.framework.utils.InputStreamHandler} -
at 
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1653)
[2012-07-26 19:59:05,865]  INFO
{org.wso2.carbon.integration.framework.utils.InputStreamHandler} -
at 
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
[2012-07-26 19:59:05,865]  INFO
{org.wso2.carbon.integration.framework.utils.InputStreamHandler} -
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
[2012-07-26 19:59:05,865]  INFO
{org.wso2.carbon.integration.framework.utils.InputStreamHandler} -
at java.lang.Thread.run(Thread.java:662)
[2012-07-26 19:59:05,898]  INFO {org.apache.axis2.builder.BuilderUtil}
-  OMException in getSOAPBuilder
org.apache.axiom.om.OMException: com.ctc.wstx.exc.WstxEOFException:
Unexpected EOF in prolog
 at [row,col {unknown-source}]: [1,0]
at 
org.apache.axiom.om.impl.builder.StAXOMBuilder.next(StAXOMBuilder.java:296)
at 
org.apache.axiom.soap.impl.builder.StAXSOAPModelBuilder.getSOAPEnvelope(StAXSOAPModelBuilder.java:204)
at 
org.apache.axiom.soap.impl.builder.StAXSOAPModelBuilder.init(StAXSOAPModelBuilder.java:154)
at 
org.apache.axiom.soap.impl.builder.StAXSOAPModelBuilder.init(StAXSOAPModelBuilder.java:140)
at 
org.apache.axis2.builder.BuilderUtil.getSOAPBuilder(BuilderUtil.java:688)
at 
org.apache.axis2.transport.TransportUtils.createDocumentElement(TransportUtils.java:197)
at 
org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUtils.java:145)
at 
org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUtils.java:108)
at 
org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUtils.java:67)
at 
org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:354)
at 
org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:421)
  

[Dev] [Bamboo-Build] Carbon Snapshot Kernel #411 was SUCCESSFUL (with 3917 tests). Change made by amilam.

2012-07-26 Thread Bamboo

---
Carbon Snapshot  Kernel  #411 was successful.
---
This build was manually triggered by BambooBuilder.
3917 tests in total.

http://wso2.org/bamboo/browse/WSO2CARBON-CARBONCOREKERNELBUILD-411/


--
Code Changes
--
amilam (134824):

Improved the log out log entry by adding the tenant id as similar to log in 
log entry

amilam (134844):

Fixing CARBON-13676



--
This message is automatically generated by Atlassian Bamboo___
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-26 Thread Tharindu Mathew
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 sam...@wso2.com



 On Thu, Jul 26, 2012 at 1:05 PM, Tharindu Mathew thari...@wso2.comwrote:

 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 sam...@wso2.comwrote:



 On Thu, Jul 26, 2012 at 9:13 AM, Samisa Abeysinghe sam...@wso2.comwrote:

 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


Re: [Dev] NPE in AppServer Integration tests for TenantLazyLoaderValve

2012-07-26 Thread Reka Thirunavukkarasu
Hi

I'm looking into this.

Thanks,
Reka

On Thu, Jul 26, 2012 at 8:05 PM, Kasun Gajasinghe kas...@wso2.com wrote:

 Hi,

 I'm getting the following NPE when running the integration tests of
 AppServer latest pack in branch. Confirmed the issue with Madhuka.
 This is a blocker for the AppServer RC1 release.
 Was there any recent changes to the TenantLazyLoaderValve? I have the
 appserver pack with me if anyone want.

 Appreciate a quick response.


 [2012-07-26 19:59:05,864]  INFO
 {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -
 [2012-07-26 19:59:05,863] ERROR
 {org.wso2.carbon.tomcat.ext.valves.CompositeValve} -  Could not handle
 request: /services/AuthenticationAdmin
 [2012-07-26 19:59:05,864]  INFO
 {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -
 java.lang.NullPointerException
 [2012-07-26 19:59:05,864]  INFO
 {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -
 at
 org.wso2.carbon.utils.multitenancy.MultitenantUtils.getTenantDomainFromRequestURL(MultitenantUtils.java:80)
 [2012-07-26 19:59:05,865]  INFO
 {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -
 at
 org.wso2.carbon.webapp.mgt.TenantLazyLoaderValve.invoke(TenantLazyLoaderValve.java:55)
 [2012-07-26 19:59:05,865]  INFO
 {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -
 at
 org.wso2.carbon.tomcat.ext.valves.TomcatValveContainer.invokeValves(TomcatValveContainer.java:47)
 [2012-07-26 19:59:05,865]  INFO
 {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -
 at
 org.wso2.carbon.tomcat.ext.valves.CompositeValve.invoke(CompositeValve.java:129)
 [2012-07-26 19:59:05,865]  INFO
 {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -
 at
 org.wso2.carbon.tomcat.ext.valves.CarbonStuckThreadDetectionValve.invoke(CarbonStuckThreadDetectionValve.java:156)
 [2012-07-26 19:59:05,865]  INFO
 {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -
 at
 org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
 [2012-07-26 19:59:05,865]  INFO
 {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -
 at
 org.wso2.carbon.tomcat.ext.valves.CarbonContextCreatorValve.invoke(CarbonContextCreatorValve.java:49)
 [2012-07-26 19:59:05,865]  INFO
 {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -
 at
 org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
 [2012-07-26 19:59:05,865]  INFO
 {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -
 at
 org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
 [2012-07-26 19:59:05,865]  INFO
 {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -
 at
 org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1001)
 [2012-07-26 19:59:05,865]  INFO
 {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -
 at
 org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:579)
 [2012-07-26 19:59:05,865]  INFO
 {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -
 at
 org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1653)
 [2012-07-26 19:59:05,865]  INFO
 {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -
 at
 java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
 [2012-07-26 19:59:05,865]  INFO
 {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -
 at
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
 [2012-07-26 19:59:05,865]  INFO
 {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -
 at java.lang.Thread.run(Thread.java:662)
 [2012-07-26 19:59:05,898]  INFO {org.apache.axis2.builder.BuilderUtil}
 -  OMException in getSOAPBuilder
 org.apache.axiom.om.OMException: com.ctc.wstx.exc.WstxEOFException:
 Unexpected EOF in prolog
  at [row,col {unknown-source}]: [1,0]
 at
 org.apache.axiom.om.impl.builder.StAXOMBuilder.next(StAXOMBuilder.java:296)
 at
 org.apache.axiom.soap.impl.builder.StAXSOAPModelBuilder.getSOAPEnvelope(StAXSOAPModelBuilder.java:204)
 at
 org.apache.axiom.soap.impl.builder.StAXSOAPModelBuilder.init(StAXSOAPModelBuilder.java:154)
 at
 org.apache.axiom.soap.impl.builder.StAXSOAPModelBuilder.init(StAXSOAPModelBuilder.java:140)
 at
 org.apache.axis2.builder.BuilderUtil.getSOAPBuilder(BuilderUtil.java:688)
 at
 org.apache.axis2.transport.TransportUtils.createDocumentElement(TransportUtils.java:197)
 at
 org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUtils.java:145)
 at
 org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUtils.java:108)
 at
 org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUtils.java:67)
 at
 

[Dev] [Bamboo-Build] WSO2 Carbon BRANCH Platform_4.0.0 #31 has FAILED. Change made by 22 authors.

2012-07-26 Thread Bamboo

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

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


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



--
Code Changes
--
madhuka (135027):

jaggery branching into 0.9.0-ALPHA

ajithn (135073):

Fixed test failures

Isuru Udana Loku Narangoda (134999):

fixing ESBJAVA-1334



--
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 Kernel_4.0.0 #25 has FAILED. Change made by pradeep.

2012-07-26 Thread Bamboo

---
WSO2 Carbon BRANCH  Kernel_4.0.0  #25 failed.
---
Code has been updated by pradeep.
No failed tests found, a possible compilation error.

http://wso2.org/bamboo/browse/WCB001-KER000-25/


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



--
Code Changes
--
pradeep (135085):

setting proxy port as a system property

pradeep (135086):

setting proxy port as a system property



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


Re: [Dev] Error building org.wso2.carbon.mashup.utils in the branch ...

2012-07-26 Thread Supun Malinga
HI,

Now I'm getting

[INFO] Building WSO2 Carbon - Mashup Utils 4.0.0
[INFO]

[WARNING] The POM for
org.eclipse.osgi:org.eclipse.osgi.services:jar:3.2.0.v20090520-1800 is
invalid, transitive dependencies (if any) will not be available, enable
debug logging for more details
[WARNING] The POM for woodstox:wstx-asl:jar:3.1.0 is invalid, transitive
dependencies (if any) will not be available, enable debug logging for more
details
Downloading:
http://maven.wso2.org/nexus/content/groups/wso2-public/org/jaggeryjs/org.jaggeryjs.scriptengine/0.9.0-ALPHA1/org.jaggeryjs.scriptengine-0.9.0-ALPHA1.jar
Downloading:
http://repo1.maven.org/maven2/org/jaggeryjs/org.jaggeryjs.scriptengine/0.9.0-ALPHA1/org.jaggeryjs.scriptengine-0.9.0-ALPHA1.jar

thanks,

On Thu, Jul 26, 2012 at 5:58 PM, Muhammed Shariq sha...@wso2.com wrote:

 Hi Madhuka,

 svn up seems to have fixed that issue, thanks!


 On Thu, Jul 26, 2012 at 5:50 PM, Madhuka Udantha madh...@wso2.com wrote:

 Hi, Shariq

 please get svn up 'branches\4.0.0\components\mashup'
 this will fixed

 In branch jaggery version is updated to 0.9.0-ALPHA1 today.
 Some times you will need to get  svn up in  
 'branches\4.0.0\components\jaggery'
 too.

 [ plus  branches\4.0.0\ features\jaggery ]

 Thanks

 On Thu, Jul 26, 2012 at 5:20 PM, Muhammed Shariq sha...@wso2.com wrote:

 [INFO]
 
 [INFO] BUILD FAILURE
 [INFO]
 
 [INFO] Total time: 11.162s
 [INFO] Finished at: Thu Jul 26 17:17:52 IST 2012
 [INFO] Final Memory: 204M/935M
 [INFO]
 
 [ERROR] Failed to execute goal on project org.wso2.carbon.mashup.utils:
 Could not resolve dependencies for project
 org.wso2.carbon:org.wso2.carbon.mashup.utils:bundle:4.0.0: Failure to find
 org.jaggeryjs:org.jaggeryjs.scriptengine:jar:0.9.0 in
 http://maven.wso2.org/nexus/content/groups/wso2-public/ was cached in
 the local repository, resolution will not be reattempted until the update
 interval of wso2-nexus has elapsed or updates are forced - [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]


 --
 Thanks,
 Shariq.
 Phone: +94 777 202 225


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




 --
 *Madhuka* Udantha
 http://madhukaudantha.blogspot.com/




 --
 Thanks,
 Shariq.
 Phone: +94 777 202 225


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




-- 
Supun Malinga,

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


[Dev] [Bamboo-Build] WSO2 Carbon BRANCH Products_4.0.0 #14 has FAILED. Change made by 16 authors.

2012-07-26 Thread Bamboo

---
WSO2 Carbon BRANCH  Products_4.0.0  #14 failed.
---
Code has been updated by hasini, hiranya, rajika, nandika, kasung, nuwanw, 
shelan, suho, madhuka, amani, sumedha, nuwand, ajithn, dinusha, lakmali, 
chanaka.
No failed tests found, a possible compilation error.

http://wso2.org/bamboo/browse/WCB001-PRO000-14/


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



--
Code Changes
--
madhuka (135027):

jaggery branching into 0.9.0-ALPHA

suho (135103):

updating  cep code 

ajithn (135073):

Fixed test failures



--
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 #32 has FAILED. Change made by 18 authors.

2012-07-26 Thread Bamboo

---
WSO2 Carbon BRANCH  Platform_4.0.0  #32 failed.
---
Code has been updated by hiranya, rajika, nandika, nuwanw, subash, ranga, 
shelan, lalaji, suho, madhuka, amani, prabatha, sumedha, ajithn, dinusha, 
lakmali, Isuru Udana Loku Narangoda, chanaka.
No failed tests found, a possible compilation error.

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


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



--
Code Changes
--
suho (135103):

updating  cep code 

ranga (135200):

Adding 1.0.0 branch and move the content in to branch

lalaji (135151):

Updated wsdl validation



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


Re: [Dev] Issue in the AppFactory component in branch

2012-07-26 Thread Ranga Siriwardena
Hi,

On Thu, Jul 26, 2012 at 3:45 PM, Ranga Siriwardena ra...@wso2.com wrote:

 Hi,

 On Thu, Jul 26, 2012 at 3:06 PM, Dimuthu Leelarathne dimut...@wso2.comwrote:

 Hi Amila,

 On Thu, Jul 26, 2012 at 2:54 PM, Amila Maha Arachchi ami...@wso2.comwrote:



 On Thu, Jul 26, 2012 at 2:45 PM, Dimuthu Leelarathne 
 dimut...@wso2.comwrote:



 On Thu, Jul 26, 2012 at 1:22 PM, Kasun Gajasinghe kas...@wso2.comwrote:


 As I've seen,

 1. Changing org.wso2.carbon.appfactory.events.notification/1.0.0
 to org.wso2.carbon.appfactory.events.notification in appfactory/pom.xml
 2. Changing the version of pom.xml
 of appfactory/org.wso2.carbon.appfactory.events.notification/pom.xml from
 1.0.0-SNAPSHOT to 1.0.0
 3. Correcting the version of the dependency
 org.wso2.carbon.appfactory.application.mgt to 1.0.0

 makes it work. I'm not sure whether this is the right approach though.


 +1


 I dont think this is correct. Every stub/component/feature/product
 should have a versioned folder inside them. Otherwise how are you going to
 do a patch/minor release for the above. For example after releasing AF
 1.0.0, you decide to release AF 1.0.1. You need to branch the AF
 components/features/stubs for this (if there are changes in them). Then you
 cannot do it with this folder structure.


 Just checked. You are correct our events bundle doesn't have a versioned
 folder (other appfactory components do have such a version  numbered
 folder) and I think it is a miss on our side. For now lets have KasunG's
 commit to enable the rest of the team to continue. We'll fix this ASAP.


 When merging with trunk I missed to add this version properly. Sorry for
 the inconvenience and I will fix this.  But I have removed appfactory
 related stuff from main build until I verify the build status. I wonder how
 the build fails because it is not yet in the build.


This issue is fixed now..






 thanks,
 dimuthu





 thanks,
 dimuthu



 Thanks,
 --KasunG


 On Thu, Jul 26, 2012 at 1:11 PM, Kasun Gajasinghe kas...@wso2.comwrote:

 Hi,
 Seems the maven project structure for
 appfactory's org.wso2.carbon.appfactory.events.notification module. There
 isn't a appfactory/org.wso2.carbon.appfactory.events.notification/1.0.0
 directory there. You'll face issues when building with a clean repo. 
 Please
 fix.


 kasun@kasunbg-laptop:~/wso2/C4-dist-branch/platform/components/appfactory$
 mvnc4 install -Dmaven.test.skip=true
 [INFO] Scanning for projects...
 [ERROR] The build could not read 1 project - [Help 1]
 [ERROR]
 [ERROR]   The project org.wso2.carbon:appfactory:1.0.0
 (/home/kasun/wso2/C4-dist-branch/platform/components/appfactory/pom.xml)
 has 1 error
 [ERROR] Child module
 /home/kasun/wso2/C4-dist-branch/platform/components/appfactory/org.wso2.carbon.appfactory.events.notification/1.0.0
 of /home/kasun/wso2/C4-dist-branch/platform/components/appfactory/pom.xml
 does not exist
 [ERROR]
 [ERROR] To see the full stack trace of the errors, re-run Maven with
 the -e switch.
 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
 [ERROR]
 [ERROR] For more information about the errors and possible solutions,
 please read the following articles:
 [ERROR] [Help 1]
 http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException


 Thanks,
 --KasunG

 --
 *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* http://blog.kasunbg.org*
 twitter: **http://twitter.com/kasunbg* http://twitter.com/kasunbg*
 *




 --
 *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* http://blog.kasunbg.org*
 twitter: **http://twitter.com/kasunbg* http://twitter.com/kasunbg*
 *



 ___
 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



 Thank You.
 Ranga.
 --
 Ranga Siriwardena
 Software Engineer
 WSO2 Inc.



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] Carbon Snapshot Platform #490 has FAILED (6 tests failed, 1 failures were new). Change made by 33 authors.

2012-07-26 Thread Bamboo

---
Carbon Snapshot  Platform  #490 failed.
---
This build was manually triggered by BambooBuilder.
6/2141 tests failed, 1 failure was new.

http://wso2.org/bamboo/browse/WSO2CARBON-PLATFORM-490/


--
Failing Jobs
--
  - Default Job (Default Stage): 6 of 2141 tests failed.



--
Code Changes
--
amani (134977):

Fixing UI issue related to URL mapper http port linking

thilini (134979):

APPFAC-21

suho (134962):

fixing bugs



--
Tests
--
New Test Failures (1)
   - BasicActivities20Test: Wait for
Existing Test Failures (5)
   - PolicyTest: Add policy
   - SchemaTest: Add schema from content
   - SchemaTest: Add schema
   - SchemaTest: Add schema from content no name
   - WSDLTest: Add w s d l

--
This message is automatically generated by Atlassian Bamboo___
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 #32 has FAILED. Change made by 18 authors.

2012-07-26 Thread Amila Maha Arachchi
Hi Isuru,

I just took a checkout of branch/greg to my machine and it was successfully
checked out. When I did

svn propget -R .

in the modules/distribution dir, I see only the followings.

src/main/resources -
https://svn.wso2.org/repos/wso2/carbon/platform/trunk/products/bps/modules/distribution/sql/hthumantask/sql
https://svn.wso2.org/repos/wso2/carbon/platform/trunk/products/bps/modules/distribution/confhumantask/conf
https://svn.wso2.org/repos/wso2/carbon/platform/trunk/products/bps/modules/distribution/sql/attachment-mgtattachment-mgt/sql

It seems there had been a svn:external to the url mentioned in the build
error log and now it has been removed and those resources are directly
added to svn. But due to some reason, svn has locked that in Bamboo.

If we delete the existing checkout and take a new checkout every time, how
the check out fails?

Can you try doing a svn cleanup from branch/platform level or restarting
the svn client of the bamboo machine?

Regards,
AmilaM.

On Fri, Jul 27, 2012 at 6:39 AM, Isuru Udana isu...@wso2.com wrote:

 Hi,

 Bamboo platform build has failed again for the same reason reported for
 the failure in platform_4.0.0 #27[1].
 Please have a look.

 at
 com.atlassian.bamboo.plugins.vcs.task.VcsCheckoutTask$1.call(VcsCheckoutTask.java:102)
 error 26-Jul-2012 17:15:28 at
 com.atlassian.bamboo.executor.RetryingTaskExecutor.rerun(RetryingTaskExecutor.java:100)
 error 26-Jul-2012 17:15:28 ... 33 more
 error 26-Jul-2012 17:15:28 Caused by:
 com.atlassian.bamboo.repository.svn.ExternalsLockException: svn: URL '
 https://svn.wso2.org/repos/wso2/carbon/platform/branches/4.0.0/products/greg/modules/distribution/src/main/resources/carbon-home/resources/lifecycles'
 at revision 135261 doesn't exist
 error 26-Jul-2012 17:15:28 at
 com.atlassian.bamboo.repository.svn.UpdateEventHandler.handleEvent(UpdateEventHandler.java:87)
 error 26-Jul-2012 17:15:28 at
 org.tmatesoft.svn.core.wc.SVNBasicClient.dispatchEvent(SVNBasicClient.java:368)
 error 26-Jul-2012 17:15:28 at
 org.tmatesoft.svn.core.wc.SVNBasicClient.dispatchEvent(SVNBasicClient.java:361)

 Full build log is available at[2].


 [1]
 http://wso2.org/bamboo/download/WCB001-PLA000-JOB1/build_logs/WCB001-PLA000-JOB1-27.log
 [2]
 http://wso2.org/bamboo/download/WCB001-PLA000-JOB1/build_logs/WCB001-PLA000-JOB1-32.log

 On Fri, Jul 27, 2012 at 5:45 AM, Bamboo cbuil...@wso2.org wrote:

   [image: Failed]  WSO2 Carbon 
 BRANCHhttp://wso2.org/bamboo/browse/WCB001/›
 Platform_4.0.0 http://wso2.org/bamboo/browse/WCB001-PLA000/ › 
 #32http://wso2.org/bamboo/browse/WCB001-PLA000-32/
 failed

 Code has been updated by 
 hiranyahttp://wso2.org/bamboo/browse/author/hiranya,
 rajika http://wso2.org/bamboo/browse/author/rajika, 
 nandikahttp://wso2.org/bamboo/browse/author/nandika,
 nuwanw http://wso2.org/bamboo/browse/author/nuwanw, 
 subashhttp://wso2.org/bamboo/browse/author/subash,
 ranga http://wso2.org/bamboo/browse/author/ranga, 
 shelanhttp://wso2.org/bamboo/browse/author/shelan,
 lalaji http://wso2.org/bamboo/browse/author/lalaji, 
 suhohttp://wso2.org/bamboo/browse/author/suho,
 madhuka http://wso2.org/bamboo/browse/author/madhuka, 
 amanihttp://wso2.org/bamboo/browse/author/amani,
 prabatha http://wso2.org/bamboo/browse/author/prabatha, 
 sumedhahttp://wso2.org/bamboo/browse/author/sumedha,
 ajithn http://wso2.org/bamboo/browse/author/ajithn, 
 dinushahttp://wso2.org/bamboo/browse/author/dinusha,
 lakmali http://wso2.org/bamboo/browse/author/lakmali, Isuru Udana Loku
 Narangoda http://wso2.org/bamboo/browse/user/isu...@wso2.com, 
 chanakahttp://wso2.org/bamboo/browse/author/chanaka
 .

 No failed tests found, a possible compilation error.
Failing Jobs http://wso2.org/bamboo/browse/WCB001-PLA000-32/ Job
 Duration Tests[image: Failed]  Default 
 Jobhttp://wso2.org/bamboo/browse/WCB001-PLA000-JOB1-32/ (Default
 Stage)  Unknown  No tests found  
 Logshttp://wso2.org/bamboo/browse/WCB001-PLA000-JOB1-32/log|
 Artifacts http://wso2.org/bamboo/browse/WCB001-PLA000-JOB1-32/artifact 
 Code
 Changes http://wso2.org/bamboo/browse/WCB001-PLA000-32/commit/  View
 all 71 code changeshttp://wso2.org/bamboo/browse/WCB001-PLA000-32/commit/
 ranga http://wso2.org/bamboo/browse/author/ranga
 Adding relative path to pom  135203
 rangahttp://wso2.org/bamboo/browse/author/ranga
 Adding 1.0.0 branch and move the content in to branch  135200
 chanakahttp://wso2.org/bamboo/browse/author/chanaka
 Adding an animation to URI validation while validating  ..  135199   68
 more changes… http://wso2.org/bamboo/browse/WCB001-PLA000-32/commit 
 View
 Online http://wso2.org/bamboo/browse/WCB001-PLA000-32 | Add 
 Commentshttp://wso2.org/bamboo/browse/WCB001-PLA000-32?commentMode=true

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

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

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

2012-07-26 Thread Amila Maha Arachchi
If the checkout fails, how was the next build triggered?

On Fri, Jul 27, 2012 at 8:57 AM, Amila Maha Arachchi ami...@wso2.comwrote:

 Hi Isuru,

 I just took a checkout of branch/greg to my machine and it was
 successfully checked out. When I did

 svn propget -R .

 in the modules/distribution dir, I see only the followings.

 src/main/resources -
 https://svn.wso2.org/repos/wso2/carbon/platform/trunk/products/bps/modules/distribution/sql/hthumantask/sql

 https://svn.wso2.org/repos/wso2/carbon/platform/trunk/products/bps/modules/distribution/confhumantask/conf

 https://svn.wso2.org/repos/wso2/carbon/platform/trunk/products/bps/modules/distribution/sql/attachment-mgtattachment-mgt/sql

 It seems there had been a svn:external to the url mentioned in the build
 error log and now it has been removed and those resources are directly
 added to svn. But due to some reason, svn has locked that in Bamboo.

 If we delete the existing checkout and take a new checkout every time, how
 the check out fails?

 Can you try doing a svn cleanup from branch/platform level or restarting
 the svn client of the bamboo machine?

 Regards,
 AmilaM.


 On Fri, Jul 27, 2012 at 6:39 AM, Isuru Udana isu...@wso2.com wrote:

 Hi,

 Bamboo platform build has failed again for the same reason reported for
 the failure in platform_4.0.0 #27[1].
 Please have a look.

 at
 com.atlassian.bamboo.plugins.vcs.task.VcsCheckoutTask$1.call(VcsCheckoutTask.java:102)
 error 26-Jul-2012 17:15:28 at
 com.atlassian.bamboo.executor.RetryingTaskExecutor.rerun(RetryingTaskExecutor.java:100)
 error 26-Jul-2012 17:15:28 ... 33 more
 error 26-Jul-2012 17:15:28 Caused by:
 com.atlassian.bamboo.repository.svn.ExternalsLockException: svn: URL '
 https://svn.wso2.org/repos/wso2/carbon/platform/branches/4.0.0/products/greg/modules/distribution/src/main/resources/carbon-home/resources/lifecycles'
 at revision 135261 doesn't exist
 error 26-Jul-2012 17:15:28 at
 com.atlassian.bamboo.repository.svn.UpdateEventHandler.handleEvent(UpdateEventHandler.java:87)
 error 26-Jul-2012 17:15:28 at
 org.tmatesoft.svn.core.wc.SVNBasicClient.dispatchEvent(SVNBasicClient.java:368)
 error 26-Jul-2012 17:15:28 at
 org.tmatesoft.svn.core.wc.SVNBasicClient.dispatchEvent(SVNBasicClient.java:361)

 Full build log is available at[2].


 [1]
 http://wso2.org/bamboo/download/WCB001-PLA000-JOB1/build_logs/WCB001-PLA000-JOB1-27.log
 [2]
 http://wso2.org/bamboo/download/WCB001-PLA000-JOB1/build_logs/WCB001-PLA000-JOB1-32.log

 On Fri, Jul 27, 2012 at 5:45 AM, Bamboo cbuil...@wso2.org wrote:

   [image: Failed]  WSO2 Carbon 
 BRANCHhttp://wso2.org/bamboo/browse/WCB001/›
 Platform_4.0.0 http://wso2.org/bamboo/browse/WCB001-PLA000/ › 
 #32http://wso2.org/bamboo/browse/WCB001-PLA000-32/
 failed

 Code has been updated by 
 hiranyahttp://wso2.org/bamboo/browse/author/hiranya,
 rajika http://wso2.org/bamboo/browse/author/rajika, 
 nandikahttp://wso2.org/bamboo/browse/author/nandika,
 nuwanw http://wso2.org/bamboo/browse/author/nuwanw, 
 subashhttp://wso2.org/bamboo/browse/author/subash,
 ranga http://wso2.org/bamboo/browse/author/ranga, 
 shelanhttp://wso2.org/bamboo/browse/author/shelan,
 lalaji http://wso2.org/bamboo/browse/author/lalaji, 
 suhohttp://wso2.org/bamboo/browse/author/suho,
 madhuka http://wso2.org/bamboo/browse/author/madhuka, 
 amanihttp://wso2.org/bamboo/browse/author/amani,
 prabatha http://wso2.org/bamboo/browse/author/prabatha, 
 sumedhahttp://wso2.org/bamboo/browse/author/sumedha,
 ajithn http://wso2.org/bamboo/browse/author/ajithn, 
 dinushahttp://wso2.org/bamboo/browse/author/dinusha,
 lakmali http://wso2.org/bamboo/browse/author/lakmali, Isuru Udana
 Loku Narangoda http://wso2.org/bamboo/browse/user/isu...@wso2.com,
 chanaka http://wso2.org/bamboo/browse/author/chanaka.

 No failed tests found, a possible compilation error.
Failing Jobs http://wso2.org/bamboo/browse/WCB001-PLA000-32/Job
 Duration Tests[image: Failed]  Default 
 Jobhttp://wso2.org/bamboo/browse/WCB001-PLA000-JOB1-32/ (Default
 Stage)  Unknown  No tests found  
 Logshttp://wso2.org/bamboo/browse/WCB001-PLA000-JOB1-32/log|
 Artifacts http://wso2.org/bamboo/browse/WCB001-PLA000-JOB1-32/artifact
  Code
 Changes http://wso2.org/bamboo/browse/WCB001-PLA000-32/commit/  View
 all 71 code changeshttp://wso2.org/bamboo/browse/WCB001-PLA000-32/commit/
 ranga http://wso2.org/bamboo/browse/author/ranga
 Adding relative path to pom  135203
 rangahttp://wso2.org/bamboo/browse/author/ranga
 Adding 1.0.0 branch and move the content in to branch  135200
 chanakahttp://wso2.org/bamboo/browse/author/chanaka
 Adding an animation to URI validation while validating  ..  135199   68
 more changes… http://wso2.org/bamboo/browse/WCB001-PLA000-32/commit 
 View
 Online http://wso2.org/bamboo/browse/WCB001-PLA000-32 | Add 
 Commentshttp://wso2.org/bamboo/browse/WCB001-PLA000-32?commentMode=true

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

 If you wish to stop receiving these 

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

2012-07-26 Thread Isuru Udana
On Fri, Jul 27, 2012 at 8:58 AM, Amila Maha Arachchi ami...@wso2.comwrote:

 If the checkout fails, how was the next build triggered?


Now its working


 On Fri, Jul 27, 2012 at 8:57 AM, Amila Maha Arachchi ami...@wso2.comwrote:

 Hi Isuru,

 I just took a checkout of branch/greg to my machine and it was
 successfully checked out. When I did

 svn propget -R .

 in the modules/distribution dir, I see only the followings.

 src/main/resources -
 https://svn.wso2.org/repos/wso2/carbon/platform/trunk/products/bps/modules/distribution/sql/hthumantask/sql

 https://svn.wso2.org/repos/wso2/carbon/platform/trunk/products/bps/modules/distribution/confhumantask/conf

 https://svn.wso2.org/repos/wso2/carbon/platform/trunk/products/bps/modules/distribution/sql/attachment-mgtattachment-mgt/sql

 It seems there had been a svn:external to the url mentioned in the build
 error log and now it has been removed and those resources are directly
 added to svn. But due to some reason, svn has locked that in Bamboo.

 If we delete the existing checkout and take a new checkout every time,
 how the check out fails?

 Can you try doing a svn cleanup from branch/platform level or restarting
 the svn client of the bamboo machine?

 Regards,
 AmilaM.


 On Fri, Jul 27, 2012 at 6:39 AM, Isuru Udana isu...@wso2.com wrote:

 Hi,

 Bamboo platform build has failed again for the same reason reported for
 the failure in platform_4.0.0 #27[1].
 Please have a look.

 at
 com.atlassian.bamboo.plugins.vcs.task.VcsCheckoutTask$1.call(VcsCheckoutTask.java:102)
 error 26-Jul-2012 17:15:28 at
 com.atlassian.bamboo.executor.RetryingTaskExecutor.rerun(RetryingTaskExecutor.java:100)
 error 26-Jul-2012 17:15:28 ... 33 more
 error 26-Jul-2012 17:15:28 Caused by:
 com.atlassian.bamboo.repository.svn.ExternalsLockException: svn: URL '
 https://svn.wso2.org/repos/wso2/carbon/platform/branches/4.0.0/products/greg/modules/distribution/src/main/resources/carbon-home/resources/lifecycles'
 at revision 135261 doesn't exist
 error 26-Jul-2012 17:15:28 at
 com.atlassian.bamboo.repository.svn.UpdateEventHandler.handleEvent(UpdateEventHandler.java:87)
 error 26-Jul-2012 17:15:28 at
 org.tmatesoft.svn.core.wc.SVNBasicClient.dispatchEvent(SVNBasicClient.java:368)
 error 26-Jul-2012 17:15:28 at
 org.tmatesoft.svn.core.wc.SVNBasicClient.dispatchEvent(SVNBasicClient.java:361)

 Full build log is available at[2].


 [1]
 http://wso2.org/bamboo/download/WCB001-PLA000-JOB1/build_logs/WCB001-PLA000-JOB1-27.log
 [2]
 http://wso2.org/bamboo/download/WCB001-PLA000-JOB1/build_logs/WCB001-PLA000-JOB1-32.log

 On Fri, Jul 27, 2012 at 5:45 AM, Bamboo cbuil...@wso2.org wrote:

   [image: Failed]  WSO2 Carbon 
 BRANCHhttp://wso2.org/bamboo/browse/WCB001/›
 Platform_4.0.0 http://wso2.org/bamboo/browse/WCB001-PLA000/ › 
 #32http://wso2.org/bamboo/browse/WCB001-PLA000-32/
 failed

 Code has been updated by 
 hiranyahttp://wso2.org/bamboo/browse/author/hiranya,
 rajika http://wso2.org/bamboo/browse/author/rajika, 
 nandikahttp://wso2.org/bamboo/browse/author/nandika,
 nuwanw http://wso2.org/bamboo/browse/author/nuwanw, 
 subashhttp://wso2.org/bamboo/browse/author/subash,
 ranga http://wso2.org/bamboo/browse/author/ranga, 
 shelanhttp://wso2.org/bamboo/browse/author/shelan,
 lalaji http://wso2.org/bamboo/browse/author/lalaji, 
 suhohttp://wso2.org/bamboo/browse/author/suho,
 madhuka http://wso2.org/bamboo/browse/author/madhuka, 
 amanihttp://wso2.org/bamboo/browse/author/amani,
 prabatha http://wso2.org/bamboo/browse/author/prabatha, 
 sumedhahttp://wso2.org/bamboo/browse/author/sumedha,
 ajithn http://wso2.org/bamboo/browse/author/ajithn, 
 dinushahttp://wso2.org/bamboo/browse/author/dinusha,
 lakmali http://wso2.org/bamboo/browse/author/lakmali, Isuru Udana
 Loku Narangoda http://wso2.org/bamboo/browse/user/isu...@wso2.com,
 chanaka http://wso2.org/bamboo/browse/author/chanaka.

 No failed tests found, a possible compilation error.
Failing Jobs http://wso2.org/bamboo/browse/WCB001-PLA000-32/Job
 Duration Tests[image: Failed]  Default 
 Jobhttp://wso2.org/bamboo/browse/WCB001-PLA000-JOB1-32/ (Default
 Stage)  Unknown  No tests found  
 Logshttp://wso2.org/bamboo/browse/WCB001-PLA000-JOB1-32/log|
 Artifactshttp://wso2.org/bamboo/browse/WCB001-PLA000-JOB1-32/artifact
  Code
 Changes http://wso2.org/bamboo/browse/WCB001-PLA000-32/commit/  View
 all 71 code changeshttp://wso2.org/bamboo/browse/WCB001-PLA000-32/commit/
 ranga http://wso2.org/bamboo/browse/author/ranga
 Adding relative path to pom  135203
 rangahttp://wso2.org/bamboo/browse/author/ranga
 Adding 1.0.0 branch and move the content in to branch  135200
 chanaka http://wso2.org/bamboo/browse/author/chanaka
 Adding an animation to URI validation while validating  ..  135199   68
 more changes… http://wso2.org/bamboo/browse/WCB001-PLA000-32/commit 
 View
 Online http://wso2.org/bamboo/browse/WCB001-PLA000-32 | Add 
 Commentshttp://wso2.org/bamboo/browse/WCB001-PLA000-32?commentMode=true

 This message 

Re: [Dev] Error building org.wso2.carbon.mashup.utils in the branch ...

2012-07-26 Thread Ranga Siriwardena
Hi Supun,

I think update and build jaggery component will solve this issue.

Thanks.
Ranga.
On Jul 26, 2012 11:59 PM, Supun Malinga sup...@wso2.com wrote:

 HI,

 Now I'm getting

 [INFO] Building WSO2 Carbon - Mashup Utils 4.0.0
 [INFO]
 
 [WARNING] The POM for
 org.eclipse.osgi:org.eclipse.osgi.services:jar:3.2.0.v20090520-1800 is
 invalid, transitive dependencies (if any) will not be available, enable
 debug logging for more details
 [WARNING] The POM for woodstox:wstx-asl:jar:3.1.0 is invalid, transitive
 dependencies (if any) will not be available, enable debug logging for more
 details
 Downloading:
 http://maven.wso2.org/nexus/content/groups/wso2-public/org/jaggeryjs/org.jaggeryjs.scriptengine/0.9.0-ALPHA1/org.jaggeryjs.scriptengine-0.9.0-ALPHA1.jar
 Downloading:
 http://repo1.maven.org/maven2/org/jaggeryjs/org.jaggeryjs.scriptengine/0.9.0-ALPHA1/org.jaggeryjs.scriptengine-0.9.0-ALPHA1.jar

 thanks,

 On Thu, Jul 26, 2012 at 5:58 PM, Muhammed Shariq sha...@wso2.com wrote:

 Hi Madhuka,

 svn up seems to have fixed that issue, thanks!


 On Thu, Jul 26, 2012 at 5:50 PM, Madhuka Udantha madh...@wso2.comwrote:

 Hi, Shariq

 please get svn up 'branches\4.0.0\components\mashup'
 this will fixed

 In branch jaggery version is updated to 0.9.0-ALPHA1 today.
 Some times you will need to get  svn up in  
 'branches\4.0.0\components\jaggery'
 too.

 [ plus  branches\4.0.0\ features\jaggery ]

 Thanks

 On Thu, Jul 26, 2012 at 5:20 PM, Muhammed Shariq sha...@wso2.comwrote:

 [INFO]
 
 [INFO] BUILD FAILURE
 [INFO]
 
 [INFO] Total time: 11.162s
 [INFO] Finished at: Thu Jul 26 17:17:52 IST 2012
 [INFO] Final Memory: 204M/935M
 [INFO]
 
 [ERROR] Failed to execute goal on project org.wso2.carbon.mashup.utils:
 Could not resolve dependencies for project
 org.wso2.carbon:org.wso2.carbon.mashup.utils:bundle:4.0.0: Failure to find
 org.jaggeryjs:org.jaggeryjs.scriptengine:jar:0.9.0 in
 http://maven.wso2.org/nexus/content/groups/wso2-public/ was cached in
 the local repository, resolution will not be reattempted until the update
 interval of wso2-nexus has elapsed or updates are forced - [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]


 --
 Thanks,
 Shariq.
 Phone: +94 777 202 225


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




 --
 *Madhuka* Udantha
 http://madhukaudantha.blogspot.com/




 --
 Thanks,
 Shariq.
 Phone: +94 777 202 225


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




 --
 Supun Malinga,

 Software Engineer,
 WSO2 Inc.
 http://wso2.com
 http://wso2.org
 email - sup...@wso2.com sup...@wso2.com
 mobile - 071 56 91 321


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


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


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

2012-07-26 Thread Thilini Ishaka
On Tue, Jul 24, 2012 at 12:48 PM, Pradeep Fernando prad...@wso2.com wrote:

 Hi All,

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


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

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



 CARBON-10230 Inconsistency of product clusters  -Thilini Ishaka

Resolved the issue as we do not have UIs for worker nodes from C4 onwards.



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


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

 thanks,
 --Pradeep






-- 
*Thilini Ishaka
WSO2 Inc. http://wso2.com*
*bolg: thiliniishaka.blogspot.com*
*linkedin: http://lk.linkedin.com/in/thiliniishaka*
*twitter: https://twitter.com/#!/ThiliniIsh*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Error building org.wso2.carbon.mashup.utils in the branch ...

2012-07-26 Thread Madhuka Udantha
Hi, Supun

get a up in jagger, this will solve it.



On Fri, Jul 27, 2012 at 9:23 AM, Ranga Siriwardena ra...@wso2.com wrote:

 Hi Supun,

 I think update and build jaggery component will solve this issue.

 Thanks.
 Ranga.
 On Jul 26, 2012 11:59 PM, Supun Malinga sup...@wso2.com wrote:

 HI,

 Now I'm getting

 [INFO] Building WSO2 Carbon - Mashup Utils 4.0.0
 [INFO]
 
 [WARNING] The POM for
 org.eclipse.osgi:org.eclipse.osgi.services:jar:3.2.0.v20090520-1800 is
 invalid, transitive dependencies (if any) will not be available, enable
 debug logging for more details
 [WARNING] The POM for woodstox:wstx-asl:jar:3.1.0 is invalid, transitive
 dependencies (if any) will not be available, enable debug logging for more
 details
 Downloading:
 http://maven.wso2.org/nexus/content/groups/wso2-public/org/jaggeryjs/org.jaggeryjs.scriptengine/0.9.0-ALPHA1/org.jaggeryjs.scriptengine-0.9.0-ALPHA1.jar
 Downloading:
 http://repo1.maven.org/maven2/org/jaggeryjs/org.jaggeryjs.scriptengine/0.9.0-ALPHA1/org.jaggeryjs.scriptengine-0.9.0-ALPHA1.jar

 thanks,

 On Thu, Jul 26, 2012 at 5:58 PM, Muhammed Shariq sha...@wso2.com wrote:

 Hi Madhuka,

 svn up seems to have fixed that issue, thanks!


 On Thu, Jul 26, 2012 at 5:50 PM, Madhuka Udantha madh...@wso2.comwrote:

 Hi, Shariq

 please get svn up 'branches\4.0.0\components\mashup'
 this will fixed

 In branch jaggery version is updated to 0.9.0-ALPHA1 today.
 Some times you will need to get  svn up in  
 'branches\4.0.0\components\jaggery'
 too.

 [ plus  branches\4.0.0\ features\jaggery ]

 Thanks

 On Thu, Jul 26, 2012 at 5:20 PM, Muhammed Shariq sha...@wso2.comwrote:

 [INFO]
 
 [INFO] BUILD FAILURE
 [INFO]
 
 [INFO] Total time: 11.162s
 [INFO] Finished at: Thu Jul 26 17:17:52 IST 2012
 [INFO] Final Memory: 204M/935M
 [INFO]
 
 [ERROR] Failed to execute goal on project
 org.wso2.carbon.mashup.utils: Could not resolve dependencies for project
 org.wso2.carbon:org.wso2.carbon.mashup.utils:bundle:4.0.0: Failure to find
 org.jaggeryjs:org.jaggeryjs.scriptengine:jar:0.9.0 in
 http://maven.wso2.org/nexus/content/groups/wso2-public/ was cached in
 the local repository, resolution will not be reattempted until the update
 interval of wso2-nexus has elapsed or updates are forced - [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]


 --
 Thanks,
 Shariq.
 Phone: +94 777 202 225


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




 --
 *Madhuka* Udantha
 http://madhukaudantha.blogspot.com/




 --
 Thanks,
 Shariq.
 Phone: +94 777 202 225


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




 --
 Supun Malinga,

 Software Engineer,
 WSO2 Inc.
 http://wso2.com
 http://wso2.org
 email - sup...@wso2.com sup...@wso2.com
 mobile - 071 56 91 321


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


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




-- 
*Madhuka* Udantha
http://madhukaudantha.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


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

2012-07-26 Thread Charitha Kankanamge
On Fri, Jul 27, 2012 at 9:37 AM, Thilini Ishaka thil...@wso2.com wrote:



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

 Hi All,

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


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

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



 CARBON-10230 Inconsistency of product clusters  -Thilini Ishaka

 Resolved the issue as we do not have UIs for worker nodes from C4 onwards.


Which pack has this change? This will resolve most of the clustering
issues.







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


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

 thanks,
 --Pradeep






 --
 *Thilini Ishaka
 WSO2 Inc. http://wso2.com*
 *bolg: thiliniishaka.blogspot.com*
 *linkedin: http://lk.linkedin.com/in/thiliniishaka*
 *twitter: https://twitter.com/#!/ThiliniIsh*


 ___
 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] SVN issue in Apimgt product

2012-07-26 Thread Dimuthu Leelarathne
NACK

On Thu, Jul 26, 2012 at 6:27 PM, Kasun Gajasinghe kas...@wso2.com wrote:

 Hi,

 branches/4.0.0/products/apimgt has svn issues which makes the Bamboo
 to fail. Please fix this ASAP.


 Caused by: com.atlassian.bamboo.repository.RepositoryException: Failed
 to checkout source code to revision '134984' for
 https://svn.wso2.org/repos/wso2/carbon/platform/branches/4.0.0
 26-Jul-2012 02:11:21at

 com.atlassian.bamboo.repository.svn.SvnRepository.checkout(SvnRepository.java:1070)
 26-Jul-2012 02:11:21at

 com.atlassian.bamboo.repository.svn.SvnRepository.checkout(SvnRepository.java:1092)
 26-Jul-2012 02:11:21at

 com.atlassian.bamboo.repository.svn.SvnRepository.retrieveSourceCodeWithException(SvnRepository.java:625)
 26-Jul-2012 02:11:21at

 com.atlassian.bamboo.repository.svn.SvnRepository.retrieveSourceCodeWithCleanup(SvnRepository.java:559)
 26-Jul-2012 02:11:21at

 com.atlassian.bamboo.repository.svn.SvnRepository.retrieveSourceCode(SvnRepository.java:501)
 26-Jul-2012 02:11:21at

 com.atlassian.bamboo.plugins.vcs.task.VcsCheckoutTask.fillWorkingDirFromVcs(VcsCheckoutTask.java:172)
 26-Jul-2012 02:11:21at

 com.atlassian.bamboo.plugins.vcs.task.VcsCheckoutTask.access$100(VcsCheckoutTask.java:45)
 26-Jul-2012 02:11:21at

 com.atlassian.bamboo.plugins.vcs.task.VcsCheckoutTask$1.call(VcsCheckoutTask.java:106)
 26-Jul-2012 02:11:21at

 com.atlassian.bamboo.plugins.vcs.task.VcsCheckoutTask$1.call(VcsCheckoutTask.java:102)
 26-Jul-2012 02:11:21at

 com.atlassian.bamboo.executor.RetryingTaskExecutor.rerun(RetryingTaskExecutor.java:100)
 26-Jul-2012 02:11:21... 33 more
 26-Jul-2012 02:11:21Caused by:
 com.atlassian.bamboo.repository.svn.ExternalsLockException: svn: URL
 '
 https://svn.wso2.org/repos/wso2/carbon/platform/branches/4.0.0/products/apimgt/modules/distribution/resources/sql
 '
 at revision 135084 doesn't exist
 26-Jul-2012 02:11:21at

 com.atlassian.bamboo.repository.svn.UpdateEventHandler.handleEvent(UpdateEventHandler.java:87)
 26-Jul-2012 02:11:21at

 org.tmatesoft.svn.core.wc.SVNBasicClient.dispatchEvent(SVNBasicClient.java:368)
 26-Jul-2012 02:11:21at

 org.tmatesoft.svn.core.wc.SVNBasicClient.dispatchEvent(SVNBasicClient.java:361)
 26-Jul-2012 02:11:21at

 org.tmatesoft.svn.core.wc.SVNUpdateClient.handleExternalItemChange(SVNUpdateClient.java:1732)
 26-Jul-2012 02:11:21at

 org.tmatesoft.svn.core.wc.SVNUpdateClient.handleExternals(SVNUpdateClient.java:1695)
 26-Jul-2012 02:11:21at
 org.tmatesoft.svn.core.wc.SVNUpdateClient.update(SVNUpdateClient.java:575)
 26-Jul-2012 02:11:21at

 org.tmatesoft.svn.core.wc.SVNUpdateClient.doCheckout(SVNUpdateClient.java:942)
 26-Jul-2012 02:11:21at

 com.atlassian.bamboo.repository.svn.SvnRepository.checkout(SvnRepository.java:1066)
 26-Jul-2012 02:11:21... 42 more
 26-Jul-2012 02:11:21Failed to prepare the build 'WCB001-PLA000-JOB1-30'


 Thanks,
 --KasunG

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

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


Re: [Dev] SVN issue in Apimgt product

2012-07-26 Thread Amila Maha Arachchi
Hi Kasun,

Check out this to a local location and check for the mentioned external and
see whether there is an issue for real. I did this for g-reg and found out
nothing was wrong, but something wrong in bamboo side (or the svn client in
that machine).

Regards,
AmilaM.

On Thu, Jul 26, 2012 at 6:27 PM, Kasun Gajasinghe kas...@wso2.com wrote:

 Hi,

 branches/4.0.0/products/apimgt has svn issues which makes the Bamboo
 to fail. Please fix this ASAP.


 Caused by: com.atlassian.bamboo.repository.RepositoryException: Failed
 to checkout source code to revision '134984' for
 https://svn.wso2.org/repos/wso2/carbon/platform/branches/4.0.0
 26-Jul-2012 02:11:21at

 com.atlassian.bamboo.repository.svn.SvnRepository.checkout(SvnRepository.java:1070)
 26-Jul-2012 02:11:21at

 com.atlassian.bamboo.repository.svn.SvnRepository.checkout(SvnRepository.java:1092)
 26-Jul-2012 02:11:21at

 com.atlassian.bamboo.repository.svn.SvnRepository.retrieveSourceCodeWithException(SvnRepository.java:625)
 26-Jul-2012 02:11:21at

 com.atlassian.bamboo.repository.svn.SvnRepository.retrieveSourceCodeWithCleanup(SvnRepository.java:559)
 26-Jul-2012 02:11:21at

 com.atlassian.bamboo.repository.svn.SvnRepository.retrieveSourceCode(SvnRepository.java:501)
 26-Jul-2012 02:11:21at

 com.atlassian.bamboo.plugins.vcs.task.VcsCheckoutTask.fillWorkingDirFromVcs(VcsCheckoutTask.java:172)
 26-Jul-2012 02:11:21at

 com.atlassian.bamboo.plugins.vcs.task.VcsCheckoutTask.access$100(VcsCheckoutTask.java:45)
 26-Jul-2012 02:11:21at

 com.atlassian.bamboo.plugins.vcs.task.VcsCheckoutTask$1.call(VcsCheckoutTask.java:106)
 26-Jul-2012 02:11:21at

 com.atlassian.bamboo.plugins.vcs.task.VcsCheckoutTask$1.call(VcsCheckoutTask.java:102)
 26-Jul-2012 02:11:21at

 com.atlassian.bamboo.executor.RetryingTaskExecutor.rerun(RetryingTaskExecutor.java:100)
 26-Jul-2012 02:11:21... 33 more
 26-Jul-2012 02:11:21Caused by:
 com.atlassian.bamboo.repository.svn.ExternalsLockException: svn: URL
 '
 https://svn.wso2.org/repos/wso2/carbon/platform/branches/4.0.0/products/apimgt/modules/distribution/resources/sql
 '
 at revision 135084 doesn't exist
 26-Jul-2012 02:11:21at

 com.atlassian.bamboo.repository.svn.UpdateEventHandler.handleEvent(UpdateEventHandler.java:87)
 26-Jul-2012 02:11:21at

 org.tmatesoft.svn.core.wc.SVNBasicClient.dispatchEvent(SVNBasicClient.java:368)
 26-Jul-2012 02:11:21at

 org.tmatesoft.svn.core.wc.SVNBasicClient.dispatchEvent(SVNBasicClient.java:361)
 26-Jul-2012 02:11:21at

 org.tmatesoft.svn.core.wc.SVNUpdateClient.handleExternalItemChange(SVNUpdateClient.java:1732)
 26-Jul-2012 02:11:21at

 org.tmatesoft.svn.core.wc.SVNUpdateClient.handleExternals(SVNUpdateClient.java:1695)
 26-Jul-2012 02:11:21at
 org.tmatesoft.svn.core.wc.SVNUpdateClient.update(SVNUpdateClient.java:575)
 26-Jul-2012 02:11:21at

 org.tmatesoft.svn.core.wc.SVNUpdateClient.doCheckout(SVNUpdateClient.java:942)
 26-Jul-2012 02:11:21at

 com.atlassian.bamboo.repository.svn.SvnRepository.checkout(SvnRepository.java:1066)
 26-Jul-2012 02:11:21... 42 more
 26-Jul-2012 02:11:21Failed to prepare the build 'WCB001-PLA000-JOB1-30'


 Thanks,
 --KasunG

 --
 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
 ___
 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] [Important]C4 release: open L1 and L2 s

2012-07-26 Thread Thilini Ishaka
On Fri, Jul 27, 2012 at 10:16 AM, Charitha Kankanamge chari...@wso2.comwrote:


 On Fri, Jul 27, 2012 at 9:37 AM, Thilini Ishaka thil...@wso2.com wrote:



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

 Hi All,

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


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

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



 CARBON-10230 Inconsistency of product clusters  -Thilini Ishaka

 Resolved the issue as we do not have UIs for worker nodes from C4 onwards.


 Which pack has this change? This will resolve most of the clustering
 issues.

This can be achieved via FE/BE separation, then the BE becomes the worker
node.








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


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

 thanks,
 --Pradeep






 --
 *Thilini Ishaka
 WSO2 Inc. http://wso2.com*
 *bolg: thiliniishaka.blogspot.com*
 *linkedin: http://lk.linkedin.com/in/thiliniishaka*
 *twitter: https://twitter.com/#!/ThiliniIsh*


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





-- 
*Thilini Ishaka
WSO2 Inc. http://wso2.com*
*bolg: thiliniishaka.blogspot.com*
*linkedin: http://lk.linkedin.com/in/thiliniishaka*
*twitter: https://twitter.com/#!/ThiliniIsh*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Getting Sample Build Failure in As

2012-07-26 Thread Reka Thirunavukkarasu
Hi

I'm getting following Build failure when building AS in trunk. Could you
please advice on this whether it is local to me or something i have to
configure?

Results :

Failed tests:
securityScenariosTestCase(org.wso2.appserver.integration.tests.HelloWorldSampleTestCase):
Error in encryption

reliableMessagingTestCase(org.wso2.appserver.integration.tests.HelloWorldSampleTestCase):
The onComplete in HelloServiceCallbackHandler didn't get invoked within 60
seconds

Tests run: 114, Failures: 2, Errors: 0, Skipped: 0

[INFO]

[INFO] Reactor Summary:
[INFO]
[INFO] WSO2 AppServer - Parent ... SUCCESS [0.267s]
[INFO] WSO2 AppServer - Styles Parent  SUCCESS [0.013s]
[INFO] WSO2 AppServer - UI styles  SUCCESS [2.690s]
[INFO] WSO2 Stratos  AppServer - UI styles ... SUCCESS [0.679s]
[INFO] WSO2 AppServer - Samples Parent ... SUCCESS [0.006s]
[INFO] Samples ... SUCCESS [0.051s]
[INFO] Sample/Chad ... SUCCESS [1.455s]
[INFO] Sample/CommodityQuote . SUCCESS [6.164s]
[INFO] Sample/TinyURL  SUCCESS [0.996s]
[INFO] Sample/Trader . SUCCESS [6.754s]
[INFO] Sample/FlickrClient ... SUCCESS [9.308s]
[INFO] Sample/MEX  SUCCESS [0.613s]
[INFO] Sample/MTOM ... SUCCESS [2.749s]
[INFO] Sample/xfer ... SUCCESS [0.575s]
[INFO] Sample/STS  SUCCESS [0.848s]
[INFO] Samples/JAXWS-JAXRS ... SUCCESS [0.041s]
[INFO] Java First demo using JAX-WS APIs . SUCCESS [1.427s]
[INFO] JAX-RS Basic Demo . SUCCESS [0.785s]
[INFO] JAX-RS Demo - Sample 02 ... SUCCESS [0.798s]
[INFO] JAX-RS Content Negotiation Sample . FAILURE [0.549s]
[INFO] WSDL First Sample . SUCCESS [3.792s]
[INFO] Asynchronous JAX-WS Sample  SUCCESS [2.455s]
[INFO] JAX-WS Handler Sample . SUCCESS [1.774s]
[INFO] JAX-WS MTOM Sample  SUCCESS [1.291s]
[INFO] Samples/JAXWS-JAXRS Security .. SUCCESS [0.003s]
[INFO] Username Token JAX-WS Sample .. SUCCESS [1.678s]
[INFO] Sign and Encrypt JAX-WS Security Sample ... SUCCESS [2.009s]
[INFO] Sample/JSON ... SUCCESS [0.604s]
[INFO] Sample/JIBX ... SUCCESS [2.448s]
[INFO] Sample/HelloWorld . SUCCESS [0.727s]
[INFO] Sample/Client API . SUCCESS [0.970s]
[INFO] Sample/Mail Transport . SUCCESS [0.547s]
[INFO] Sample/HelloWorldWebapp ... SUCCESS [0.600s]
[INFO] Sample/VirtualDirectoryListing  SUCCESS [0.729s]
[INFO] Sample/EJBLibrary . SUCCESS [0.005s]
[INFO] Library EJB module  SUCCESS [0.788s]
[INFO] Library EAR Archive ... SUCCESS [0.263s]
[INFO] Sample/GenericJavaBean  SUCCESS [0.469s]
[INFO] Sample/JDBCDataSource . SUCCESS [0.525s]
[INFO] Samples/LogModule . SUCCESS [1.081s]
[INFO] WSO2 Stratos  AppServer - Samples . SUCCESS [0.005s]
[INFO] WSO2 AS - Sample SimpleStockQuoteService .. SUCCESS [0.695s]
[INFO] WSO2 Stratos AppServer - Sample Installer . SUCCESS [1.278s]
[INFO] WSO2 AS - Example webapp .. SUCCESS [1.988s]
[INFO] WSO2 AppServer - Features Parent .. SUCCESS [0.004s]
[INFO] WSO2 AppServer - Features Aggregator Module ... SUCCESS [0.005s]
[INFO] WSO2 AppServer - Style Features ... SUCCESS [0.267s]
[INFO] WSO2 AppServer - Utils Features ... SUCCESS [0.458s]
[INFO] WSO2 Stratos  AppServer - Features Aggregator Module  SUCCESS
[0.011s]
[INFO] WSO2 Stratos  AppServer - Style Features .. SUCCESS [0.119s]
[INFO] WSO2 Stratos  AppServer - Utils Features .. SUCCESS [0.500s]
[INFO] WSO2 Stratos  AppServer - Dashboard UI  SUCCESS [0.529s]
[INFO] WSO2 Stratos  AppServer - Dashboard UI Features ... SUCCESS [0.117s]
[INFO] WSO2 Stratos  AppServer - Dashboard UI Features ... SUCCESS [0.049s]
[INFO] WSO2 AS - Login User Interface  SUCCESS [0.511s]
[INFO] WSO2 Stratos  AppServer - Deployment Features . SUCCESS [0.060s]
[INFO] WSO2 AppServer - AppServer Profile Generation . SUCCESS
[20:50.867s]
[INFO] WSO2 AppServer - 

Re: [Dev] C-App synchronization in a Carbon cluster

2012-07-26 Thread Isuru Suriarachchi
On Thu, Jul 26, 2012 at 2:55 PM, Afkham Azeez az...@wso2.com wrote:



 On Thu, Jul 26, 2012 at 12:17 AM, Isuru Suriarachchi is...@wso2.comwrote:

 Oh.. I was planning to create different directories for different tenants
 inside repository/carbonapps. But looks like I've missed that. I'll fix it
 and let you know..


 Tenants have their own temp directory right? If so, why can't we use those
 directories to store these?


Yes, that's better than having another set of tenant spaces under
repository/carbonapps. So I fixed it that way and tested with ST and
tenants. I'm going to commit it now.

Charitha, please test it with GD on/off as well on next pack.

Thanks,
~Isuru





 Thanks,
 ~Isuru


 On Wed, Jul 25, 2012 at 10:31 PM, Charitha Kankanamge 
 chari...@wso2.comwrote:

 Hi,

 It seems we have not thought about MT aspects of this model. Now, the
 carbonapps directory is taken out from repository/deployment/server and the
 all CApps will be stored in common carbonapps directory regardless of the
 tenant who deployed CApp. Because of this, any tenant can see others CApps
 :( I came across this [1] issue in latest AS probably because of this
 change.


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


 On Fri, Jul 6, 2012 at 6:05 PM, Isuru Suriarachchi is...@wso2.comwrote:

  Hi all,

 I'm trying to fix [1]. Here's the root cause for this issue..

 Imagine a Carbon cluster with 2 nodes where the svn based deployment
 synchronizer (DS) is configured. When a C-App is deployed to node1, it is
 extracted and individual artifacts are copied into respective hot
 directories. When the DS runs for the first time, it copies the C-App into
 node2 and it will be deployed there. When the DS runs again in node1, it
 will try to copy the individual artifacts to node2. But node2 already has
 those artifacts as the C-App id already deployed in node2. Therefore an svn
 conflict occurs.

 To resolve this issue, there are two possible options..

 1. Keeping all artifacts coming from C-Apps out of the repository
 (repository/deployment/server)
 2. Keeping the original C-App out of the repository

 Initially I tried option 1 above and programetically called the
 relevant deployers for individual artifacts. But this creates lot of
 problems with some artifacts (Ex: ESB stuff). Therefore, I'm trying to
 solve the initial problem using option 2 above.

 I've taken the carbonapps directory out of repository/deployment/server
 directory and kept it as repository/carbonapps (we can change this if
 needed). Still the carbonapps directory has hot deployment capabilities.
 But it won't be synchronized by the DS. So when a C-App is deployed into
 node 1, it will be extracted and only the individual artifacts will be
 copied into the repository. When the DS runs, all needed artifacts will be
 synced to node 2. Therefore, functionality wise, there won't be any issues
 on node 2.

 But if someone logs into the management console of node 2 and go to the
 C-App list, nothing will be listed. Is this something we have to fix?
 Because anyway in a RW/RO cluster, user can't use the management console of
 the slave node.

 WDYT??

 Thanks,
 ~Isuru

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

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





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




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




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