[Dev] deploying webapps into CARBON-HOME/lib/tomcat/webapps is not working

2012-04-18 Thread Reka Thirunavukkarasu
Hi When i deployed a webapp into CARBON-HOME/lib/tomcat/webapps, the relevant context got created. But accessing the resource of that particular webapp through browser, is giving *The requested resource () is not available.* FYI: This webapp is working fine with

Re: [Dev] Invitation: Agent Component Code Review @ Thu Apr 19 10am - 11am (dev@wso2.org)

2012-04-18 Thread Tharindu Mathew
Wouldn't it be clearer to call this Data Agent as it was earlier called? Or Event Agent even... The term Agent is too broad a term... Or we can go back to Data Publisher? Thoughts? On Wed, Apr 18, 2012 at 11:22 AM, Amila Suriarachchi am...@wso2.com wrote: On Wed, Apr 18, 2012 at 11:12 AM,

Re: [Dev] deploying webapps into CARBON-HOME/lib/tomcat/webapps is not working

2012-04-18 Thread Nuwan Bandara
Hi On Wed, Apr 18, 2012 at 11:31 AM, Reka Thirunavukkarasu r...@wso2.comwrote: Hi When i deployed a webapp into CARBON-HOME/lib/tomcat/webapps, the relevant context got created. But accessing the resource of that particular webapp through browser, is giving *The requested resource () is

Re: [Dev] deploying webapps into CARBON-HOME/lib/tomcat/webapps is not working

2012-04-18 Thread Pradeep Fernando
Hi, why you deploy the web in carbon_home/lib/tomcat/webapps ? --Pradeep On Tue, Apr 17, 2012 at 11:01 PM, Reka Thirunavukkarasu r...@wso2.comwrote: Hi When i deployed a webapp into CARBON-HOME/lib/tomcat/webapps, the relevant context got created. But accessing the resource of that

Re: [Dev] deploying webapps into CARBON-HOME/lib/tomcat/webapps is not working

2012-04-18 Thread Supun Malinga
Hi Pradeep, Why do we have a lib/tomcat/webapps/ directory?. That is misleading for a new user. thanks, On Wed, Apr 18, 2012 at 11:41 AM, Pradeep Fernando prad...@wso2.com wrote: Hi, why you deploy the web in carbon_home/lib/tomcat/webapps ? --Pradeep On Tue, Apr 17, 2012 at 11:01 PM,

Re: [Dev] Invitation: Agent Component Code Review @ Thu Apr 19 10am - 11am (dev@wso2.org)

2012-04-18 Thread Srinath Perera
How about analytics agent ? data agent may be ok as well On Wed, Apr 18, 2012 at 11:39 AM, Afkham Azeez az...@wso2.com wrote: On Wed, Apr 18, 2012 at 11:37 AM, Tharindu Mathew thari...@wso2.comwrote: Wouldn't it be clearer to call this Data Agent as it was earlier called? Or Event Agent

Re: [Dev] Invitation: Agent Component Code Review @ Thu Apr 19 10am - 11am (dev@wso2.org)

2012-04-18 Thread Srinath Perera
ah will take it back .. analytics agent does not work for CEP On Wed, Apr 18, 2012 at 11:55 AM, Srinath Perera srin...@wso2.com wrote: How about analytics agent ? data agent may be ok as well On Wed, Apr 18, 2012 at 11:39 AM, Afkham Azeez az...@wso2.com wrote: On Wed, Apr 18, 2012 at

Re: [Dev] Registry mounting fails with latest G-Reg/ESB packs

2012-04-18 Thread Senaka Fernando
Hi Dimuthu, For SLive, we have a specific set of registry and DB configurations. Have you done the same in your local setup? And, also, please validate the same with a fresh build of Manager (just in case). Thanks, Senaka. On Wed, Apr 18, 2012 at 11:18 AM, Dimuthu Leelarathne

[Dev] Manager Start up Error Class not found: java.net.CarbonInet6AddressImpl

2012-04-18 Thread Ajanthan Balachandran
Hi, I got following error when i started the manager(trunk revision 125056). JAVA_HOME environment variable is set to /usr/lib/jvm/java-6-sun-1.6.0.26 CARBON_HOME environment variable is set to /home/aja/test/cloud/stratos/wso2stratos-is-1.1.0-SNAPSHOT Class not found:

Re: [Dev] Error when sending a mail

2012-04-18 Thread Nuwan Bandara
Hi, I am not sure how to fix this perticular problem, I tried adding an activation jar from orbit, but then I get CNF errors for javax.mail. I tried exporting mail also from activation, but then I get startup errors. Regards, /Nuwan On Wed, Apr 18, 2012 at 10:26 AM, Isuru Suriarachchi

Re: [Dev] Profiling the Build to Reduce the Build time

2012-04-18 Thread Ramith Jayasinghe
BTW, is it possible to make our test cases run in parallel (where it can be done) ? On Wed, Apr 18, 2012 at 11:12 AM, Ramith Jayasinghe ram...@wso2.com wrote: Hi, I asked feasibility of this in 'Maven user list' Thanks. - Ramith On Tue, Apr 17, 2012 at 3:38 PM, Amila Maha Arachchi

[Dev] Failure in ESB samples

2012-04-18 Thread Vijitha Kumara
FYI... Encountered this while running a verify against the platform... == Results : Failed tests: testOutgoingSecurity(org.wso2.esb.samples.security.Sample100Test): Read timed out

Re: [Dev] Failure in ESB samples

2012-04-18 Thread Hiranya Jayathilaka
You need to install the JCE policy files to run security samples. Thanks, Hiranya On Wed, Apr 18, 2012 at 1:29 PM, Vijitha Kumara viji...@wso2.com wrote: FYI... Encountered this while running a verify against the platform... ==

Re: [Dev] Failure in ESB samples

2012-04-18 Thread Charitha Kankanamge
http://charithaka.blogspot.com/2008/08/how-to-avoid-javasecurityinvalidkeyexce.html /Charitha On Wed, Apr 18, 2012 at 1:38 PM, Hiranya Jayathilaka hira...@wso2.comwrote: You need to install the JCE policy files to run security samples. Thanks, Hiranya On Wed, Apr 18, 2012 at 1:29 PM,

Re: [Dev] Manager Start up Error Class not found: java.net.CarbonInet6AddressImpl

2012-04-18 Thread Afkham Azeez
Remove the impl.prefix from wso2server.sh in Manager other Stratos service and commit those files. On Wed, Apr 18, 2012 at 12:59 PM, Ajanthan Balachandran ajant...@wso2.comwrote: Hi, I got following error when i started the manager(trunk revision 125056). JAVA_HOME environment variable is

Re: [Dev] Manager Start up Error Class not found: java.net.CarbonInet6AddressImpl

2012-04-18 Thread Ajanthan Balachandran
On Wed, Apr 18, 2012 at 2:22 PM, Afkham Azeez az...@wso2.com wrote: Remove the impl.prefix from wso2server.sh in Manager other Stratos service and commit those files. I will do. On Wed, Apr 18, 2012 at 12:59 PM, Ajanthan Balachandran ajant...@wso2.com wrote: Hi, I got following error

Re: [Dev] Manager Start up Error Class not found: java.net.CarbonInet6AddressImpl

2012-04-18 Thread Afkham Azeez
The org.wso2.carbon.xboot jar as been removed because it causes major issues on JDK 7. Stratos services have their own wso2server.sh files, hence I missed those when I got rid of that jar. On Wed, Apr 18, 2012 at 2:26 PM, Amila Maha Arachchi ami...@wso2.comwrote: Hi Azeez, Just for the

[Dev] [Bamboo-Build] WSO2 Carbon P2-Repo #41 has FAILED. Change made by 9 authors.

2012-04-18 Thread Bamboo
--- WSO2 Carbon P2-Repo #41 failed. --- Code has been updated by miyuru, suho, ruchira, charith, nuwanw, teague, nuwan, lalaji, buddhikac. No failed tests

Re: [Dev] Alpha 3 packs

2012-04-18 Thread Nirodha Pramod
Hi, Cannot add keystores in AppServer. Jira created at [1] [1] https://wso2.org/jira/browse/CARBON-12919 /Nirodha On Tue, Apr 17, 2012 at 5:38 PM, Achala Aponso ach...@wso2.com wrote: Hi, Did a round of smoke testing on MS. No issues in server start up. digit2image[1], exchangeRate[2]

[Dev] Errors while starting BAM2 pack

2012-04-18 Thread Prabath Abeysekera
Hi, The server start-up of the BAM2 pack uploaded to [1] fails with the following errors. [2012-04-17 17:55:45,307] INFO {org.apache.cassandra.config.DatabaseDescriptor} - Global memtable threshold is enabled at 151MB [2012-04-17 17:55:45,397] ERROR

Re: [Dev] Errors while starting BAM2 pack

2012-04-18 Thread Deependra Ariyadewa
On Wed, Apr 18, 2012 at 3:10 PM, Prabath Abeysekera praba...@wso2.com wrote: Hi, The server start-up of the BAM2 pack uploaded to [1] fails with the following errors. This error occurs due to multiple version of com.google.common.* classes. This classes set provided by both guava and

[Dev] NPE in registry utils.Transaction

2012-04-18 Thread Rajika Kumarasiri
Caused by: java.lang.AssertionError: Deploying proxy failed! at org.testng.Assert.fail(Assert.java:78) at org.wso2.csg.integration.tests.ProxyAdminServiceTestCase.testProxyOperations(ProxyAdminServiceTestCase.java:115) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at

Re: [Dev] Errors while starting BAM2 pack

2012-04-18 Thread Deependra Ariyadewa
On Wed, Apr 18, 2012 at 3:58 PM, Nuwan Bandara nu...@wso2.com wrote: Hi, You can try wiring, cassendra to specifically to the guava version Ok. I will try to wire to guava version. Google Collection is now included in to Guava and Collection project is frozen.

[Dev] No product artifacts in Bamboo for latest builds.

2012-04-18 Thread Kasun Gajasinghe
Hi, Can I know why isn't any product artifacts created though the builds were successful? As I see, latest build in Bamboo Products plan (55, 54, 53) were successful, but the artifacts are not there. [1] Is this intentional? [1]

Re: [Dev] Redundant Time logged in Authentication audit records

2012-04-18 Thread Vijitha Kumara
And it seems to log the statement at least twice (for example when logging it print the same twice). Is this the default behavior? I get six log statements on the console in just logged in and traverse to the search screen...

[Dev] Invitation: Code review - System test framework @ Thu Apr 19 2:30pm - 3:30pm (dev@wso2.org)

2012-04-18 Thread Krishantha Samaraweera
BEGIN:VCALENDAR PRODID:-//Google Inc//Google Calendar 70.9054//EN VERSION:2.0 CALSCALE:GREGORIAN METHOD:REQUEST BEGIN:VEVENT DTSTART:20120419T09Z DTEND:20120419T10Z DTSTAMP:20120418T112346Z ORGANIZER;CN=krishan...@wso2.com:mailto:krishan...@wso2.com

Re: [Dev] Invitation: [Integration TG] Code Review @ Wed Apr 18 10am - 11am (sur...@wso2.com)

2012-04-18 Thread Suresh Attanayaka
Hi All, Following are some of the points and suggestions brought up at the code review, please feel free to add up the missing points. - Rename the modules. The name Deployment doesn't give the correct meaning, suggestion was to rename it to SCIM Impl. - Remove the invalid annotations

Re: [Dev] Redundant Time logged in Authentication audit records

2012-04-18 Thread Afkham Azeez
If you carefully look, the log4j timestamps are different. For a single login, you should get only one login statement. On Wed, Apr 18, 2012 at 4:42 PM, Vijitha Kumara viji...@wso2.com wrote: 16,502 -- *Afkham Azeez* Director of Architecture; WSO2, Inc.; http://wso2.com Member; Apache

Re: [Dev] Redundant Time logged in Authentication audit records

2012-04-18 Thread Vijitha Kumara
This actually happens in my local build (up taken yesterday). Not happen in Alpha 3 packs. Perhaps a latest change has caused this? On Wed, Apr 18, 2012 at 4:53 PM, Afkham Azeez az...@wso2.com wrote: If you carefully look, the log4j timestamps are different. For a single login, you should get

Re: [Dev] Invitation: [Integration TG] Code Review @ Wed Apr 18 10am - 11am (sur...@wso2.com)

2012-04-18 Thread Hiranya Jayathilaka
We have a process to follow up these stuff - Creating JIRAs is part of that. Please refer the code review guidelines doc I shared yesterday. Thanks, Hiranya On Wed, Apr 18, 2012 at 5:09 PM, Afkham Azeez az...@wso2.com wrote: Have these notes been added to Crucible? Also, we need to create one

Re: [Dev] Redundant Time logged in Authentication audit records

2012-04-18 Thread Senaka Fernando
Hi Vijitha, Yes that is due to the use of the BasicAuth security headers in a particular client. The code related to generating this scenario is a governance component which is in WIP state, so please ignore these for the moment. Thanks, Senaka. On Wed, Apr 18, 2012 at 5:07 PM, Vijitha Kumara

Re: [Dev] Invitation: [Integration TG] Code Review @ Wed Apr 18 10am - 11am (sur...@wso2.com)

2012-04-18 Thread Hasini Gunasinghe
On Wed, Apr 18, 2012 at 5:09 PM, Afkham Azeez az...@wso2.com wrote: Have these notes been added to Crucible? Yes, comments were added to Crucible project by Hiranya. Also, we need to create one or more corresponding Jira issues to keep track of the improvements. In the past, we lost track of

Re: [Dev] Failure in ESB samples

2012-04-18 Thread Vijitha Kumara
Thanks Hiranya Charitha, it seems to fine now. On Wed, Apr 18, 2012 at 1:47 PM, Charitha Kankanamge chari...@wso2.comwrote: http://charithaka.blogspot.com/2008/08/how-to-avoid-javasecurityinvalidkeyexce.html /Charitha On Wed, Apr 18, 2012 at 1:38 PM, Hiranya Jayathilaka

Re: [Dev] JDK 1.7 Issues

2012-04-18 Thread Supun Kamburugamuva
I tried the latest ESB with JDK 1.7 and it didn't even start due to a error in the startup script. Supun. On Wed, Apr 18, 2012 at 9:43 AM, Afkham Azeez az...@wso2.com wrote: Please open up Jiras for all JDK 7 runtime issues On Wed, Apr 18, 2012 at 7:08 PM, Isuru Suriarachchi

Re: [Dev] JDK 1.7 Issues

2012-04-18 Thread Afkham Azeez
I suppose that was on Windows? I think those issues were fixed. On Wed, Apr 18, 2012 at 7:20 PM, Supun Kamburugamuva supu...@gmail.comwrote: I tried the latest ESB with JDK 1.7 and it didn't even start due to a error in the startup script. Supun. On Wed, Apr 18, 2012 at 9:43 AM, Afkham

Re: [Dev] JDK 1.7 Issues

2012-04-18 Thread Charitha Kankanamge
Hi Supun, Can you post the error please? Some folks are testing on jdk1.7 and was able to log in to ESB mgmt console and do operations. e.g:- https://wso2.org/jira/browse/CARBON-12794 (Tested version - JDK-1.7) Thanks! Charitha On Wed, Apr 18, 2012 at 7:20 PM, Supun Kamburugamuva

Re: [Dev] JDK 1.7 Issues

2012-04-18 Thread Supun Kamburugamuva
It was sometime back and was due to a JDK version check in the startup script. I'll try to see weather I can find it. Thanks, Supum.. On Wed, Apr 18, 2012 at 10:04 AM, Charitha Kankanamge chari...@wso2.comwrote: Hi Supun, Can you post the error please? Some folks are testing on jdk1.7 and was

Re: [Dev] JDK 1.7 Issues

2012-04-18 Thread Charitha Kankanamge
Thanks Supun, that issue has been fixed. /Charitha On Wed, Apr 18, 2012 at 7:41 PM, Supun Kamburugamuva supu...@gmail.comwrote: It was sometime back and was due to a JDK version check in the startup script. I'll try to see weather I can find it. Thanks, Supum.. On Wed, Apr 18, 2012 at

Re: [Dev] JDK 1.7 Issues

2012-04-18 Thread Isabelle Mauny
Team, Just to be sure : we are building on JDK 1.6 and run/test on JDK 1.7 i.e. we do not want to depend on any JDK 1.7 features as we want the products to run both on 1.6 and 1.7. Please confirm. Thanks. -- Isabelle Mauny Director, Product Management; WSO2, Inc.; http://wso2.com/ email:

Re: [Dev] Redundant Time logged in Authentication audit records

2012-04-18 Thread Senaka Fernando
Hi Azeez, The code is still WIP. And, the credentials are hard-coded. Once the code is completed these will be removed. Thanks, Senaka. On Wed, Apr 18, 2012 at 5:18 PM, Afkham Azeez az...@wso2.com wrote: On Wed, Apr 18, 2012 at 5:13 PM, Senaka Fernando sen...@wso2.com wrote: Hi Vijitha,

Re: [Dev] JDK 1.7 Issues

2012-04-18 Thread Hiranya Jayathilaka
On Wed, Apr 18, 2012 at 7:20 PM, Supun Kamburugamuva supu...@gmail.comwrote: I tried the latest ESB with JDK 1.7 and it didn't even start due to a error in the startup script. This is because the wso2server.sh in released ESB versions check for JDK 1.6. You can simply comment out this check

Re: [Dev] NPE in registry utils.Transaction

2012-04-18 Thread Senaka Fernando
Hi Rajika, Transaction.init needs to be called before you can do the required checks. This is also mentioned in the documentation. Generally the init will be called at server start-up (Within the server I mean). But, an integration test is a client (not a server), and this is not supposed to be

[Dev] When features are generated using p2-feature-gen goal in carbon-p2-plugin, why not use a id value equal to artifactId value

2012-04-18 Thread Chethiya Abeysinghe
Hi, Is there any specific reason to do $subject? The value inside the id/ is used to name the jar file of the particular feature. Besides, do we need to make id changeable to the user of the plugin? This is regarding the issue https://wso2.org/jira/browse/CARBON-12876. This issue has been caused

[Dev] [Bamboo-Build] WSO2 Carbon platform #101 has FAILED. Change made by 14 authors.

2012-04-18 Thread Bamboo
--- WSO2 Carbon platform #101 failed. --- This build occurred because it is a dependant of WSO2CARBON-CARBONCOREKERNELBUILD-190. No failed tests found, a

Re: [Dev] Code coverage though System test framework

2012-04-18 Thread Dharshana Warusavitharana
Hi All, For code coverage we are working on On-the- fly instrumentation using a java agent hook. JaCoCo seems to be a good option. By this we can instrument the jar while loading to JVM with out modifying the target jar. For distributed environment we are planned to plant a agent in server side

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

2012-04-18 Thread Supun Malinga
Hi, For ejb-services BE component log says, build 18-Apr-2012 10:14:01[INFO] Skipping WSO2 Carbon - EJB Services BE build 18-Apr-2012 10:14:01[INFO] This project has been banned from the build due to previous failures. Any idea to figure out these previous failures? On Wed, Apr 18,

Re: [Dev] [Blocker] JAX-WS Problems in AS 4.1.x

2012-04-18 Thread Senaka Fernando
Hi all, Please disregard. I used the wrong attribute. Sorry for the noise. For the benefit of all, the proper way is @WebService(serviceName = ShoppingService). The name attribute is actually for the Port. Thanks, Senaka. On Thu, Apr 19, 2012 at 1:32 AM, Senaka Fernando sen...@wso2.com wrote:

Re: [Dev] Redundant Time logged in Authentication audit records

2012-04-18 Thread Dimuthu Leelarathne
Hi Senaka, AFAIK it is not WIP code. Why do you say credentials are hard-coded? Can you point me to the place where you see hard-coded credentials? thanks, dimuthu On Wed, Apr 18, 2012 at 9:12 PM, Senaka Fernando sen...@wso2.com wrote: Hi Azeez, The code is still WIP. And, the credentials

[Dev] [Bamboo-Build] WSO2 Carbon platform #102 was SUCCESSFUL (with 1985 tests). Change made by suho, udayanga and nuwan.

2012-04-18 Thread Bamboo
--- WSO2 Carbon platform #102 was successful. --- This build was manually triggered by BambooBuilder. 1985 tests in total.

[Dev] [Bamboo-Build] WSO2 Carbon P2-Repo #42 has FAILED. Change made by 20 authors.

2012-04-18 Thread Bamboo
--- WSO2 Carbon P2-Repo #42 failed. --- Code has been updated by rajika, kasung, nuwanw, kishanthan, amilam, subash, udayanga, sanjayav, lalaji, senaka, suho,

[Dev] [Bamboo-Build] Developer-Studio Eclipse-Tools #62 has FAILED. Change made by harshana.

2012-04-18 Thread Bamboo
--- Developer-Studio Eclipse-Tools #62 failed. --- Code has been updated by harshana. No failed tests found, a possible compilation error.

Re: [Dev] [Blocker] JAX-WS Problems in AS 4.1.x

2012-04-18 Thread Isuru Suriarachchi
On Thu, Apr 19, 2012 at 1:37 AM, Senaka Fernando sen...@wso2.com wrote: Hi all, Please disregard. I used the wrong attribute. Sorry for the noise. For the benefit of all, the proper way is @WebService(serviceName = ShoppingService). The name attribute is actually for the Port. Anyway

Re: [Dev] NPE in registry utils.Transaction

2012-04-18 Thread Rajika Kumarasiri
I am trying to write a test which cover a admin service method which uses registry API and ended up with this. So I am not sure if client/server definition is valid here. In any case NPE should not be thrown. May be you need to throw a proper error. Rajika On Wed, Apr 18, 2012 at 10:00 PM,

Re: [Dev] [Bamboo-Build] WSO2 Carbon Products #58 Default Job has FAILED. Change made by 16 authors.

2012-04-18 Thread Dimuthu Leelarathne
Hi, Lots of products have failures. tx, dimuthu On Thu, Apr 19, 2012 at 5:31 AM, Bamboo cbuil...@wso2.org wrote: [image: Failed] WSO2 Carbonhttp://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBON/› Productshttp://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBON-PRODUCTS/›

Re: [Dev] Profiling the Build to Reduce the Build time

2012-04-18 Thread Supun Malinga
Hi, On Wed, Apr 18, 2012 at 1:27 PM, Ramith Jayasinghe ram...@wso2.com wrote: BTW, is it possible to make our test cases run in parallel (where it can be done) ? Most cases we can't since there could be port conflicts. May be if we use offsets wisely this could work. thanks, On Wed, Apr

Re: [Dev] Platform build error

2012-04-18 Thread Subash Chaturanga
On Mon, Apr 16, 2012 at 11:50 AM, Vijitha Kumara viji...@wso2.com wrote: Hi AmilaJ, It seems the patch is not committed to the trunk. Can we get this committed please or we might miss this :) Regards, On Tue, Apr 3, 2012 at 5:39 PM, Vijitha Kumara viji...@wso2.com wrote: Hi

[Dev] Bamboo Build 15 Failiure

2012-04-18 Thread Maheshika Goonetilleke
Hi All The following error has occurred while trying to build Carbon Reporting - Carbon Platform. Due to this the Bamboo Build 15 has failed. Build 15 has the following *1* errors:* 1 new failure(s)* occurred since the previous build. New Test Failures (1) - Expand All - Collapse All

Re: [Dev] Bamboo Fails On - Registry TestNG Test Module

2012-04-18 Thread Subash Chaturanga
On Thu, Apr 19, 2012 at 10:19 AM, Ishan Jayawardena is...@wso2.com wrote: Hi, please have a look at this error. Attached Log. Hi, already saw this on bamboo logs and working on it, this is not only due to a testng failure. But product-governance-services also fails. - governance stratos

[Dev] MB TestNG failure

2012-04-18 Thread Vijitha Kumara
Hi All, While running a verify for the products there's a failure in MB: == Running TestSuite Configuring TestNG with: org.apache.maven.surefire.testng.conf.TestNGMapConfigurator@2dcb25f1 SLF4J: Class path

Re: [Dev] Bamboo Build 15 Failiure

2012-04-18 Thread Afkham Azeez
Please check whether the ELASTIC_IP environment variable has been set in the Bamboo machine. That should not be set. On Thu, Apr 19, 2012 at 10:20 AM, Maheshika Goonetilleke mahesh...@wso2.com wrote: Hi All The following error has occurred while trying to build Carbon Reporting - Carbon