[Carbon-dev] WSO2 Carbon Continuous Build has FAILED

2011-05-11 Thread WSO2 Carbon-Builder
ERROR - GeronimoLog.error(104) | Error while processing job, retrying in 5s
ERROR - GeronimoLog.error(108) | Error while processing a persisted job, no 
retry: Job hqejbhcnphr69n4xgh0h8e time: 2011-05-11 12:15:47 IST transacted: 
true persisted: true details: JobDetails( instanceId: null mexId: null 
processId: null type: null channel: null correlatorId: null correlationKeySet: 
null retryCount: 1 inMem: false detailsExt: {foo=123})
java.lang.NullPointerException
at 
org.apache.ode.scheduler.simple.SimpleScheduler.execTransaction(SimpleScheduler.java:308)
at 
org.apache.ode.scheduler.simple.SimpleScheduler.execTransaction(SimpleScheduler.java:239)
at 
org.apache.ode.scheduler.simple.SimpleScheduler$RunJob.call(SimpleScheduler.java:529)
at 
org.apache.ode.scheduler.simple.SimpleScheduler$RunJob.call(SimpleScheduler.java:513)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 12.095 sec

Results :

Failed tests: 
  testStartStop(org.apache.ode.scheduler.simple.SimpleSchedulerTest)

Tests run: 20, Failures: 1, Errors: 0, Skipped: 0

[INFO] 
[ERROR] BUILD FAILURE
[INFO] 
[INFO] There are test failures.

Please refer to 
/home/carbon/carbon/dependencies/ode/scheduler-simple/target/surefire-reports 
for the individual test results.
[INFO] 
[INFO] Trace
org.apache.maven.BuildFailureException: There are test failures.

Please refer to 
/home/carbon/carbon/dependencies/ode/scheduler-simple/target/surefire-reports 
for the individual test results.
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:715)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
at 
org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.plugin.MojoFailureException: There are test 
failures.

Please refer to 
/home/carbon/carbon/dependencies/ode/scheduler-simple/target/surefire-reports 
for the individual test results.
at 
org.apache.maven.plugin.surefire.SurefirePlugin.execute(SurefirePlugin.java:575)
at 
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
... 17 more
[INFO] 
[INFO] Total time: 119 minutes 45 seconds
[INFO] Finished at: Wed May 11 12:15:52 IST 2011
[INFO] Final Memory: 1081M/1836M
[INFO] 
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


[Carbon-dev] WSO2 Carbon Continuous Build was SUCCESSFUL

2011-05-11 Thread WSO2 EC2 Carbon Builder
[INFO] Extracting feature org.wso2.carbon:org.wso2.carbon.sts.feature
[INFO] Extracting feature org.wso2.carbon:org.wso2.carbon.servicehosting.feature
[INFO] Extracting feature org.wso2.carbon:org.wso2.carbon.dataservices.feature
[INFO] Extracting feature org.wso2.carbon:org.wso2.carbon.transport.mgt.feature
[INFO] Extracting feature org.wso2.carbon:org.wso2.carbon.transport.jms.feature
[INFO] Extracting feature org.wso2.carbon:org.wso2.carbon.transport.mail.feature
[INFO] Extracting feature 
org.wso2.carbon:org.wso2.carbon.statistics.transport.feature
[INFO] Extracting feature 
org.wso2.carbon:org.wso2.carbon.discovery.client.feature
[INFO] Extracting feature org.wso2.carbon:org.wso2.carbon.discovery.core.feature
[INFO] Extracting feature 
org.wso2.carbon:org.wso2.carbon.discovery.mediation.ext.feature
[INFO] Extracting feature 
org.wso2.carbon:org.wso2.carbon.discovery.proxy.feature
[INFO] Extracting feature org.wso2.carbon:org.wso2.carbon.discovery.ui.feature
[INFO] Extracting feature org.wso2.carbon:org.wso2.carbon.wsdl.tools.feature
[INFO] Extracting feature 
org.wso2.carbon:org.wso2.carbon.wsdl.tools.server.feature
[INFO] Extracting feature org.wso2.carbon:org.wso2.carbon.wsdl.tools.ui.feature
[INFO] Extracting feature org.wso2.carbon:org.wso2.carbon.xkms.mgt.feature
[INFO] Extracting feature 
org.wso2.carbon:org.wso2.carbon.multiple.instance.feature
[INFO] Extracting feature org.wso2.esb:org.wso2.esb.styles.feature
[INFO] Extracting feature org.wso2.governance:org.wso2.governance.styles.feature
[INFO] Extracting feature org.wso2.gs:org.wso2.gs.styles.feature
[INFO] Extracting feature org.wso2.gs:org.wso2.gs.menu.feature
[INFO] Extracting feature org.wso2.identity:org.wso2.identity.styles.feature
[INFO] Extracting feature org.wso2.identity:org.wso2.identity.utils.feature
[INFO] Extracting feature org.wso2.ms:org.wso2.ms.styles.feature
[INFO] Extracting feature org.wso2.appserver:org.wso2.appserver.styles.feature
[INFO] Extracting feature org.wso2.appserver:org.wso2.appserver.utils.feature
[INFO] Extracting feature 
org.wso2.carbon:org.wso2.carbon.cloud.csg.agent.feature
[INFO] Extracting feature org.wso2.carbon:org.wso2.carbon.cloud.csg.feature
[INFO] Extracting feature 
org.wso2.carbon:org.wso2.carbon.application.mgt.webapp.feature
[INFO] Extracting feature 
org.wso2.carbon:org.wso2.carbon.application.deployer.webapp.feature
[INFO] Extracting feature 
org.wso2.carbon:org.wso2.carbon.unifiedendpoint.server.feature
[INFO] Extracting feature org.wso2.carbon:org.wso2.carbon.event.feature
[INFO] Extracting feature org.wso2.carbon:org.wso2.carbon.messagebox.feature
[INFO] Copying resources
[INFO] Running Equinox P2 Publisher Application for Repository Generation
[INFO] Generating metadata for ..
[INFO] Generation completed with success [53 seconds].
[INFO] Running Equinox P2 Category Publisher Application for the Generated 
Repository
[INFO] [install:install {execution: default-install}]
[INFO] Installing /home/carbon/carbon/features/repository/pom.xml to 
/home/carbon/.m2/repository/org/wso2/carbon/wso2carbon-feature-repository/3.2.0-SNAPSHOT/wso2carbon-feature-repository-3.2.0-SNAPSHOT.pom
[INFO] 
[INFO] BUILD SUCCESSFUL
[INFO] 
[INFO] Total time: 2 minutes 40 seconds
[INFO] Finished at: Wed May 11 08:31:37 UTC 2011
[INFO] Final Memory: 25M/981M
[INFO] 
2011-05-11_08-16-52
Carbon  packs are available at : 
http://builder.wso2.org/~carbon/releases/carbon/3.2.0/latest/
tail -n50 $CARBON_SRC_HOME/build.log
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] WSO2 Carbon Continuous Build was SUCCESSFUL

2011-05-11 Thread Samisa Abeysinghe
On Wed, May 11, 2011 at 2:04 PM, Afkham Azeez az...@wso2.com wrote:

 Can the RMs please verify these packs, and give another set to QA  to be
 deployed on private cloud?


Note that this EC2 build run without tests.

The local build that run with tests is failing



 On Wed, May 11, 2011 at 2:01 PM, WSO2 EC2 Carbon Builder 
 cbuil...@wso2.org wrote:

 [INFO] Extracting feature org.wso2.carbon:org.wso2.carbon.sts.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.servicehosting.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.dataservices.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.transport.mgt.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.transport.jms.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.transport.mail.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.statistics.transport.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.discovery.client.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.discovery.core.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.discovery.mediation.ext.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.discovery.proxy.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.discovery.ui.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.wsdl.tools.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.wsdl.tools.server.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.wsdl.tools.ui.feature
 [INFO] Extracting feature org.wso2.carbon:org.wso2.carbon.xkms.mgt.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.multiple.instance.feature
 [INFO] Extracting feature org.wso2.esb:org.wso2.esb.styles.feature
 [INFO] Extracting feature
 org.wso2.governance:org.wso2.governance.styles.feature
 [INFO] Extracting feature org.wso2.gs:org.wso2.gs.styles.feature
 [INFO] Extracting feature org.wso2.gs:org.wso2.gs.menu.feature
 [INFO] Extracting feature
 org.wso2.identity:org.wso2.identity.styles.feature
 [INFO] Extracting feature
 org.wso2.identity:org.wso2.identity.utils.feature
 [INFO] Extracting feature org.wso2.ms:org.wso2.ms.styles.feature
 [INFO] Extracting feature
 org.wso2.appserver:org.wso2.appserver.styles.feature
 [INFO] Extracting feature
 org.wso2.appserver:org.wso2.appserver.utils.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.cloud.csg.agent.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.cloud.csg.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.application.mgt.webapp.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.application.deployer.webapp.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.unifiedendpoint.server.feature
 [INFO] Extracting feature org.wso2.carbon:org.wso2.carbon.event.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.messagebox.feature
 [INFO] Copying resources
 [INFO] Running Equinox P2 Publisher Application for Repository Generation
 [INFO] Generating metadata for ..
 [INFO] Generation completed with success [53 seconds].
 [INFO] Running Equinox P2 Category Publisher Application for the Generated
 Repository
 [INFO] [install:install {execution: default-install}]
 [INFO] Installing /home/carbon/carbon/features/repository/pom.xml to
 /home/carbon/.m2/repository/org/wso2/carbon/wso2carbon-feature-repository/3.2.0-SNAPSHOT/wso2carbon-feature-repository-3.2.0-SNAPSHOT.pom
 [INFO]
 
 [INFO] BUILD SUCCESSFUL
 [INFO]
 
 [INFO] Total time: 2 minutes 40 seconds
 [INFO] Finished at: Wed May 11 08:31:37 UTC 2011
 [INFO] Final Memory: 25M/981M
 [INFO]
 
 2011-05-11_08-16-52
 Carbon  packs are available at :
 http://builder.wso2.org/~carbon/releases/carbon/3.2.0/latest/
 tail -n50 $CARBON_SRC_HOME/build.log
 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




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


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

 Thanks,
Samisa...

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

[Carbon-dev] Found another critical issue in Qpid

2011-05-11 Thread Danushka Menikkumbura
Qpid client hangs while trying to close JMS session when its operation
(publish/subscribe) is unauthorised on server side. The issue is that it
does not receive connection close commands (AMQP frames) in this case and
hence goes into a wait state.

It was found while fixing [1].

I am looking into the issue and will keep updated.

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

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


Re: [Carbon-dev] WSO2 Carbon Continuous Build was SUCCESSFUL

2011-05-11 Thread Dinithi Nallaperuma
Hi

Smoke tests on the GS pack have been completed.

-- 
Regards,
Dinithi Nallaperuma

On Wed, May 11, 2011 at 2:33 PM, Samisa Abeysinghe sam...@wso2.com wrote:



 On Wed, May 11, 2011 at 2:04 PM, Afkham Azeez az...@wso2.com wrote:

 Can the RMs please verify these packs, and give another set to QA  to be
 deployed on private cloud?


 Note that this EC2 build run without tests.

 The local build that run with tests is failing



 On Wed, May 11, 2011 at 2:01 PM, WSO2 EC2 Carbon Builder 
 cbuil...@wso2.org wrote:

 [INFO] Extracting feature org.wso2.carbon:org.wso2.carbon.sts.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.servicehosting.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.dataservices.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.transport.mgt.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.transport.jms.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.transport.mail.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.statistics.transport.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.discovery.client.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.discovery.core.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.discovery.mediation.ext.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.discovery.proxy.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.discovery.ui.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.wsdl.tools.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.wsdl.tools.server.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.wsdl.tools.ui.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.xkms.mgt.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.multiple.instance.feature
 [INFO] Extracting feature org.wso2.esb:org.wso2.esb.styles.feature
 [INFO] Extracting feature
 org.wso2.governance:org.wso2.governance.styles.feature
 [INFO] Extracting feature org.wso2.gs:org.wso2.gs.styles.feature
 [INFO] Extracting feature org.wso2.gs:org.wso2.gs.menu.feature
 [INFO] Extracting feature
 org.wso2.identity:org.wso2.identity.styles.feature
 [INFO] Extracting feature
 org.wso2.identity:org.wso2.identity.utils.feature
 [INFO] Extracting feature org.wso2.ms:org.wso2.ms.styles.feature
 [INFO] Extracting feature
 org.wso2.appserver:org.wso2.appserver.styles.feature
 [INFO] Extracting feature
 org.wso2.appserver:org.wso2.appserver.utils.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.cloud.csg.agent.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.cloud.csg.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.application.mgt.webapp.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.application.deployer.webapp.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.unifiedendpoint.server.feature
 [INFO] Extracting feature org.wso2.carbon:org.wso2.carbon.event.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.messagebox.feature
 [INFO] Copying resources
 [INFO] Running Equinox P2 Publisher Application for Repository Generation
 [INFO] Generating metadata for ..
 [INFO] Generation completed with success [53 seconds].
 [INFO] Running Equinox P2 Category Publisher Application for the
 Generated Repository
 [INFO] [install:install {execution: default-install}]
 [INFO] Installing /home/carbon/carbon/features/repository/pom.xml to
 /home/carbon/.m2/repository/org/wso2/carbon/wso2carbon-feature-repository/3.2.0-SNAPSHOT/wso2carbon-feature-repository-3.2.0-SNAPSHOT.pom
 [INFO]
 
 [INFO] BUILD SUCCESSFUL
 [INFO]
 
 [INFO] Total time: 2 minutes 40 seconds
 [INFO] Finished at: Wed May 11 08:31:37 UTC 2011
 [INFO] Final Memory: 25M/981M
 [INFO]
 
 2011-05-11_08-16-52
 Carbon  packs are available at :
 http://builder.wso2.org/~carbon/releases/carbon/3.2.0/latest/
 tail -n50 $CARBON_SRC_HOME/build.log
 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




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


 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 

Re: [Carbon-dev] WSO2 Carbon Continuous Build was SUCCESSFUL

2011-05-11 Thread Manjula Rathnayake
Hi,

Smoke test done for MB pack.

Thank you.

On Wed, May 11, 2011 at 5:04 PM, Dinithi Nallaperuma dini...@wso2.comwrote:

 Hi

 Smoke tests on the GS pack have been completed.

 --
 Regards,
 Dinithi Nallaperuma


 On Wed, May 11, 2011 at 2:33 PM, Samisa Abeysinghe sam...@wso2.comwrote:



 On Wed, May 11, 2011 at 2:04 PM, Afkham Azeez az...@wso2.com wrote:

 Can the RMs please verify these packs, and give another set to QA  to be
 deployed on private cloud?


 Note that this EC2 build run without tests.

 The local build that run with tests is failing



 On Wed, May 11, 2011 at 2:01 PM, WSO2 EC2 Carbon Builder 
 cbuil...@wso2.org wrote:

 [INFO] Extracting feature org.wso2.carbon:org.wso2.carbon.sts.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.servicehosting.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.dataservices.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.transport.mgt.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.transport.jms.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.transport.mail.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.statistics.transport.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.discovery.client.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.discovery.core.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.discovery.mediation.ext.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.discovery.proxy.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.discovery.ui.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.wsdl.tools.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.wsdl.tools.server.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.wsdl.tools.ui.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.xkms.mgt.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.multiple.instance.feature
 [INFO] Extracting feature org.wso2.esb:org.wso2.esb.styles.feature
 [INFO] Extracting feature
 org.wso2.governance:org.wso2.governance.styles.feature
 [INFO] Extracting feature org.wso2.gs:org.wso2.gs.styles.feature
 [INFO] Extracting feature org.wso2.gs:org.wso2.gs.menu.feature
 [INFO] Extracting feature
 org.wso2.identity:org.wso2.identity.styles.feature
 [INFO] Extracting feature
 org.wso2.identity:org.wso2.identity.utils.feature
 [INFO] Extracting feature org.wso2.ms:org.wso2.ms.styles.feature
 [INFO] Extracting feature
 org.wso2.appserver:org.wso2.appserver.styles.feature
 [INFO] Extracting feature
 org.wso2.appserver:org.wso2.appserver.utils.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.cloud.csg.agent.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.cloud.csg.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.application.mgt.webapp.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.application.deployer.webapp.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.unifiedendpoint.server.feature
 [INFO] Extracting feature org.wso2.carbon:org.wso2.carbon.event.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.messagebox.feature
 [INFO] Copying resources
 [INFO] Running Equinox P2 Publisher Application for Repository
 Generation
 [INFO] Generating metadata for ..
 [INFO] Generation completed with success [53 seconds].
 [INFO] Running Equinox P2 Category Publisher Application for the
 Generated Repository
 [INFO] [install:install {execution: default-install}]
 [INFO] Installing /home/carbon/carbon/features/repository/pom.xml to
 /home/carbon/.m2/repository/org/wso2/carbon/wso2carbon-feature-repository/3.2.0-SNAPSHOT/wso2carbon-feature-repository-3.2.0-SNAPSHOT.pom
 [INFO]
 
 [INFO] BUILD SUCCESSFUL
 [INFO]
 
 [INFO] Total time: 2 minutes 40 seconds
 [INFO] Finished at: Wed May 11 08:31:37 UTC 2011
 [INFO] Final Memory: 25M/981M
 [INFO]
 
 2011-05-11_08-16-52
 Carbon  packs are available at :
 http://builder.wso2.org/~carbon/releases/carbon/3.2.0/latest/
 tail -n50 $CARBON_SRC_HOME/build.log
 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




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

Re: [Carbon-dev] WSO2 Carbon Continuous Build was SUCCESSFUL

2011-05-11 Thread Lalaji Sureshika
Hi,

Smoke tests are done for MS pack.

Thanks,

Best Regards,

On Wed, May 11, 2011 at 4:42 PM, Manjula Rathnayake manju...@wso2.comwrote:

 Hi,

 Smoke test done for MB pack.

 Thank you.


 On Wed, May 11, 2011 at 5:04 PM, Dinithi Nallaperuma dini...@wso2.comwrote:

 Hi

 Smoke tests on the GS pack have been completed.

 --
 Regards,
 Dinithi Nallaperuma


 On Wed, May 11, 2011 at 2:33 PM, Samisa Abeysinghe sam...@wso2.comwrote:



 On Wed, May 11, 2011 at 2:04 PM, Afkham Azeez az...@wso2.com wrote:

 Can the RMs please verify these packs, and give another set to QA  to
 be deployed on private cloud?


 Note that this EC2 build run without tests.

 The local build that run with tests is failing



 On Wed, May 11, 2011 at 2:01 PM, WSO2 EC2 Carbon Builder 
 cbuil...@wso2.org wrote:

 [INFO] Extracting feature org.wso2.carbon:org.wso2.carbon.sts.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.servicehosting.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.dataservices.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.transport.mgt.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.transport.jms.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.transport.mail.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.statistics.transport.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.discovery.client.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.discovery.core.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.discovery.mediation.ext.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.discovery.proxy.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.discovery.ui.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.wsdl.tools.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.wsdl.tools.server.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.wsdl.tools.ui.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.xkms.mgt.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.multiple.instance.feature
 [INFO] Extracting feature org.wso2.esb:org.wso2.esb.styles.feature
 [INFO] Extracting feature
 org.wso2.governance:org.wso2.governance.styles.feature
 [INFO] Extracting feature org.wso2.gs:org.wso2.gs.styles.feature
 [INFO] Extracting feature org.wso2.gs:org.wso2.gs.menu.feature
 [INFO] Extracting feature
 org.wso2.identity:org.wso2.identity.styles.feature
 [INFO] Extracting feature
 org.wso2.identity:org.wso2.identity.utils.feature
 [INFO] Extracting feature org.wso2.ms:org.wso2.ms.styles.feature
 [INFO] Extracting feature
 org.wso2.appserver:org.wso2.appserver.styles.feature
 [INFO] Extracting feature
 org.wso2.appserver:org.wso2.appserver.utils.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.cloud.csg.agent.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.cloud.csg.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.application.mgt.webapp.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.application.deployer.webapp.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.unifiedendpoint.server.feature
 [INFO] Extracting feature org.wso2.carbon:org.wso2.carbon.event.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.messagebox.feature
 [INFO] Copying resources
 [INFO] Running Equinox P2 Publisher Application for Repository
 Generation
 [INFO] Generating metadata for ..
 [INFO] Generation completed with success [53 seconds].
 [INFO] Running Equinox P2 Category Publisher Application for the
 Generated Repository
 [INFO] [install:install {execution: default-install}]
 [INFO] Installing /home/carbon/carbon/features/repository/pom.xml to
 /home/carbon/.m2/repository/org/wso2/carbon/wso2carbon-feature-repository/3.2.0-SNAPSHOT/wso2carbon-feature-repository-3.2.0-SNAPSHOT.pom
 [INFO]
 
 [INFO] BUILD SUCCESSFUL
 [INFO]
 
 [INFO] Total time: 2 minutes 40 seconds
 [INFO] Finished at: Wed May 11 08:31:37 UTC 2011
 [INFO] Final Memory: 25M/981M
 [INFO]
 
 2011-05-11_08-16-52
 Carbon  packs are available at :
 http://builder.wso2.org/~carbon/releases/carbon/3.2.0/latest/
 tail -n50 $CARBON_SRC_HOME/build.log
 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




 --
 *Afkham Azeez*
 Director of Architecture; WSO2, Inc.; http://wso2.com
 Member; Apache Software Foundation; http://www.apache.org/
 * http://www.apache.org/**
 email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919
 blog: **http://blog.afkham.org* http://blog.afkham.org*
 

Re: [Carbon-dev] Issues when ESB is deployed behind an HTTP/HTTPS proxy

2011-05-11 Thread Thilina Buddhika
Created two Jiras.

- https://wso2.org/jira/browse/CARBON-9838
- https://wso2.org/jira/browse/CARBON-9837

Thanks,
Thilina

On Wed, May 11, 2011 at 8:40 AM, Samisa Abeysinghe sam...@wso2.com wrote:

 Do we have Jiras for these?

 On Wed, May 11, 2011 at 8:36 AM, Thilina Buddhika thili...@wso2.comwrote:

 Hi Folks,

 Currently when an ESB is deployed behind an HTTP/HTTPS proxy, it causes
 some issues.

 - It is not possible to define a set of allowed hosts, so that traffic to
 these hosts will not go through the HTTP proxy. So all the traffic is routed
 through the HTTP proxy, which does not work  for local endpoints as well as
 endpoints within the same internal network.

 - WSDL is not automatically fetched when creating a WSDL based proxy. It
 has to be defined as an in-line WSDL always.

 - HTTPS tunneling does not work

 - Test URI does not work for validating the WSDL URI when creating a WSDL
 based proxy.(This is a minor issue, compared to the other cases.)

 These issues need to be addressed in an upcoming release.

 Thanks,
 Thilina

 --
 Thilina Buddhika
 Senior Software Engineer
 WSO2 Inc. ; http://wso2.com
 lean . enterprise . middleware

 phone : +94 77 44 88 727
 blog : http://blog.thilinamb.com

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

 Thanks,
 Samisa...

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




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




-- 
Thilina Buddhika
Senior Software Engineer
WSO2 Inc. ; http://wso2.com
lean . enterprise . middleware

phone : +94 77 44 88 727
blog : http://blog.thilinamb.com
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Issues when ESB is deployed behind an HTTP/HTTPS proxy

2011-05-11 Thread Thilina Buddhika
On Wed, May 11, 2011 at 10:33 AM, Danushka Menikkumbura
danus...@wso2.comwrote:

 - HTTPS tunneling does not work


 If I am not mistaken this was raised as a support issue and was fixed. It
 was Rajika IIRC.


This is not supported at the moment. There is a discussion already going on
for adding this support.

Thanks,
Thilina



 Thanks,
 Danushka

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




-- 
Thilina Buddhika
Senior Software Engineer
WSO2 Inc. ; http://wso2.com
lean . enterprise . middleware

phone : +94 77 44 88 727
blog : http://blog.thilinamb.com
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


[Carbon-dev] Why is the ESB log wso2-esb.log and not wso2carbon.log ?

2011-05-11 Thread Afkham Azeez
People familiar with our platform know that wso2carbon.log is where the logs
can be found for any of our products. Why does the ESB product violate
this?

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


Re: [Carbon-dev] Why is the ESB log wso2-esb.log and not wso2carbon.log ?

2011-05-11 Thread Afkham Azeez
Also, there is a wso2-esb-service.log which is 0kb

On Wed, May 11, 2011 at 7:03 PM, Afkham Azeez az...@wso2.com wrote:

 People familiar with our platform know that wso2carbon.log is where the
 logs can be found for any of our products. Why does the ESB product violate
 this?

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




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


Re: [Carbon-dev] WSO2 Carbon Continuous Build has FAILED

2011-05-11 Thread Denis Weerasiri
I'll fix it.
Created a JIRA issue https://wso2.org/jira/browse/CARBON-9836 to monitor it.

On Wed, May 11, 2011 at 12:15 PM, WSO2 Carbon-Builder cbuil...@wso2.orgwrote:

 ERROR - GeronimoLog.error(104) | Error while processing job, retrying in 5s
 ERROR - GeronimoLog.error(108) | Error while processing a persisted job, no
 retry: Job hqejbhcnphr69n4xgh0h8e time: 2011-05-11 12:15:47 IST transacted:
 true persisted: true details: JobDetails( instanceId: null mexId: null
 processId: null type: null channel: null correlatorId: null
 correlationKeySet: null retryCount: 1 inMem: false detailsExt: {foo=123})
 java.lang.NullPointerException
at
 org.apache.ode.scheduler.simple.SimpleScheduler.execTransaction(SimpleScheduler.java:308)
at
 org.apache.ode.scheduler.simple.SimpleScheduler.execTransaction(SimpleScheduler.java:239)
at
 org.apache.ode.scheduler.simple.SimpleScheduler$RunJob.call(SimpleScheduler.java:529)
at
 org.apache.ode.scheduler.simple.SimpleScheduler$RunJob.call(SimpleScheduler.java:513)
at
 java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at
 java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
 Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 12.095 sec

 Results :

 Failed tests:
  testStartStop(org.apache.ode.scheduler.simple.SimpleSchedulerTest)

 Tests run: 20, Failures: 1, Errors: 0, Skipped: 0

 [INFO]
 
 [ERROR] BUILD FAILURE
 [INFO]
 
 [INFO] There are test failures.

 Please refer to
 /home/carbon/carbon/dependencies/ode/scheduler-simple/target/surefire-reports
 for the individual test results.
 [INFO]
 
 [INFO] Trace
 org.apache.maven.BuildFailureException: There are test failures.

 Please refer to
 /home/carbon/carbon/dependencies/ode/scheduler-simple/target/surefire-reports
 for the individual test results.
at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:715)
at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556)
at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535)
at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348)
at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
at
 org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
 org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at
 org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
 Caused by: org.apache.maven.plugin.MojoFailureException: There are test
 failures.

 Please refer to
 /home/carbon/carbon/dependencies/ode/scheduler-simple/target/surefire-reports
 for the individual test results.
at
 org.apache.maven.plugin.surefire.SurefirePlugin.execute(SurefirePlugin.java:575)
at
 org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)
at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
... 17 more
 [INFO]
 
 [INFO] Total time: 119 minutes 45 seconds
 [INFO] Finished at: Wed May 11 12:15:52 IST 2011
 [INFO] Final Memory: 1081M/1836M
 [INFO]
 
 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




-- 
Thanks,
Denis
--
*Denis Weerasiri*

Re: [Carbon-dev] [Stratos-dev] None of the management consoles of the Stratos services are getting properly rendered!

2011-05-11 Thread Thilina Buddhika
Seems like the Stratos Activation handler has caused the issue. Following
warning is printed in a few places.

2011-05-11 12:04:38,356 [-] [http-nio-9452-exec-45]  WARN
ActivationHandler Failed attempt to access WSO2 Stratos Enterprise Service
Bus by tenant 1

So seems like an issue with the ESB service activation. I will set this up
locally and try to reproduce.

Ideally we should handle these sort of issues more gracefully. For example,
redirecting them to an static error page which shows the possible reasons
for this failure. We have a similar page in Stratos. So we need to link it
with the Activation Handler.

Thanks,
Thilina

On Wed, May 11, 2011 at 7:05 PM, Afkham Azeez az...@wso2.com wrote:

 Attached the log file


 On Wed, May 11, 2011 at 6:41 PM, Thilina Buddhika thili...@wso2.comwrote:

 Do you see any errors in the ESB console ? Wondering why we are getting
 the loginStatus as false.

 Thanks,
 Thilina

 On Wed, May 11, 2011 at 11:58 AM, Afkham Azeez az...@wso2.com wrote:

 After I logged in from the Manager, I clicked on the ESB service (I have
 activated that service),  I was redirected to the following URL

 https://cloud-test.wso2.com:9452/t/afkham.org/carbon/admin/index.jsp?*
 loginStatus=false*
 *
 *
 loginStatus=false must be causing an issue.


 On Wed, May 11, 2011 at 11:53 AM, Afkham Azeez az...@wso2.com wrote:

 Folks,
 Did anyone notice this before? I am using this with SSO.

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




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


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




 --
 Thilina Buddhika
 Senior Software Engineer
 WSO2 Inc. ; http://wso2.com
 lean . enterprise . middleware

 phone : +94 77 44 88 727
 blog : http://blog.thilinamb.com




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




-- 
Thilina Buddhika
Senior Software Engineer
WSO2 Inc. ; http://wso2.com
lean . enterprise . middleware

phone : +94 77 44 88 727
blog : http://blog.thilinamb.com
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


[Carbon-dev] WSO2 Carbon Continuous Build has FAILED /home/carbon/carbon/products/is

2011-05-11 Thread WSO2 Carbon-Builder
[INFO] Installing org.wso2.carbon.registry.profiles.feature.group 
3.2.0.SNAPSHOT.
[INFO] Installing org.wso2.carbon.identity.core.feature.group 3.2.0.SNAPSHOT.
[INFO] Installing org.wso2.carbon.identity.provider.feature.group 
3.2.0.SNAPSHOT.
[INFO] Installing org.wso2.carbon.identity.user.profile.feature.group 
3.2.0.SNAPSHOT.
[INFO] Installing org.wso2.carbon.identity.xacml.feature.group 3.2.0.SNAPSHOT.
[INFO] Installing org.wso2.carbon.identity.sso.saml.feature.group 
3.2.0.SNAPSHOT.
[INFO] Installing org.wso2.carbon.identity.relying.party.feature.group 
3.2.0.SNAPSHOT.
[INFO] Installing org.wso2.carbon.claim.mgt.feature.group 3.2.0.SNAPSHOT.
[INFO] Installing org.wso2.carbon.claim.mgt.feature.group 3.2.0.SNAPSHOT.
[INFO] Installing org.wso2.carbon.identity.authenticator.token.feature.group 
3.2.0.SNAPSHOT.
[INFO] Installing org.wso2.carbon.um.ws.service.server.feature.group 
3.2.0.SNAPSHOT.
[INFO] Installing org.wso2.stratos.identity.styles.feature.group 1.1.0.SNAPSHOT.
[INFO] Installing org.wso2.stratos.identity.utils.feature.group 1.1.0.SNAPSHOT.
[INFO] Installing org.wso2.carbon.common.feature.group 1.1.0.SNAPSHOT.
[INFO] Installing org.wso2.stratos.identity.ui.feature.group 1.1.0.SNAPSHOT.
[INFO] Installing org.wso2.stratos.identity.saml2.sso.mgt.feature.group 
1.1.0.SNAPSHOT.
[INFO] Installing org.wso2.carbon.identity.provider.openid.admin.feature.group 
3.2.0.SNAPSHOT.
[INFO] Installing org.wso2.carbon.tenant.mgt.core.feature.group 1.1.0.SNAPSHOT.
[INFO] Installing org.wso2.carbon.identity.relying.party.server.feature.group 
3.2.0.SNAPSHOT.
[INFO] Installing org.wso2.carbon.identity.relying.party.ui.feature.group 
3.2.0.SNAPSHOT.
[INFO] Installing org.wso2.carbon.load.balance.agent.server.feature.group 
1.1.0.SNAPSHOT.
[INFO] Installing org.wso2.carbon.load.balance.agent.ui.feature.group 
1.1.0.SNAPSHOT.
[ERROR] Cannot complete the install because one or more required items could 
not be found.
[ERROR]  Software being installed: Identity XACML Feature 3.2.0.SNAPSHOT 
(org.wso2.carbon.identity.xacml.feature.group 3.2.0.SNAPSHOT)
[ERROR]  Missing requirement: Identity XACML UI Feature 3.2.0.SNAPSHOT 
(org.wso2.carbon.identity.xacml.ui.feature.group 3.2.0.SNAPSHOT) requires 
'org.wso2.carbon.discovery.ui.feature.group [3.2.0.SNAPSHOT,3.3.0)' but it 
could not be found
[ERROR]  Cannot satisfy dependency:
[ERROR]   From: Identity XACML Feature 3.2.0.SNAPSHOT 
(org.wso2.carbon.identity.xacml.feature.group 3.2.0.SNAPSHOT)
[ERROR]   To: org.wso2.carbon.identity.xacml.ui.feature.group [3.2.0.SNAPSHOT]
[ERROR] Application failed, log file location: 
/home/carbon/carbon/products/is/modules/p2-profile-gen/service/target/p2-agent/configuration/1305123735559.log
[INFO] 
[ERROR] BUILD ERROR
[INFO] 
[INFO] 

[INFO] 
[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: 
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:719)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
at 
org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.plugin.MojoExecutionException: 
at org.wso2.maven.p2.ProfileGenMojo.execute(ProfileGenMojo.java:170)
at 
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)
at 

Re: [Carbon-dev] WSO2 Carbon Continuous Build has FAILED /home/carbon/carbon/products/is

2011-05-11 Thread Asela Pathberiya
Will looking into this.

Thanks,
Asela.

On Wed, May 11, 2011 at 7:52 PM, WSO2 Carbon-Builder cbuil...@wso2.orgwrote:

 [INFO] Installing org.wso2.carbon.registry.profiles.feature.group
 3.2.0.SNAPSHOT.
 [INFO] Installing org.wso2.carbon.identity.core.feature.group
 3.2.0.SNAPSHOT.
 [INFO] Installing org.wso2.carbon.identity.provider.feature.group
 3.2.0.SNAPSHOT.
 [INFO] Installing org.wso2.carbon.identity.user.profile.feature.group
 3.2.0.SNAPSHOT.
 [INFO] Installing org.wso2.carbon.identity.xacml.feature.group
 3.2.0.SNAPSHOT.
 [INFO] Installing org.wso2.carbon.identity.sso.saml.feature.group
 3.2.0.SNAPSHOT.
 [INFO] Installing org.wso2.carbon.identity.relying.party.feature.group
 3.2.0.SNAPSHOT.
 [INFO] Installing org.wso2.carbon.claim.mgt.feature.group 3.2.0.SNAPSHOT.
 [INFO] Installing org.wso2.carbon.claim.mgt.feature.group 3.2.0.SNAPSHOT.
 [INFO] Installing
 org.wso2.carbon.identity.authenticator.token.feature.group 3.2.0.SNAPSHOT.
 [INFO] Installing org.wso2.carbon.um.ws.service.server.feature.group
 3.2.0.SNAPSHOT.
 [INFO] Installing org.wso2.stratos.identity.styles.feature.group
 1.1.0.SNAPSHOT.
 [INFO] Installing org.wso2.stratos.identity.utils.feature.group
 1.1.0.SNAPSHOT.
 [INFO] Installing org.wso2.carbon.common.feature.group 1.1.0.SNAPSHOT.
 [INFO] Installing org.wso2.stratos.identity.ui.feature.group
 1.1.0.SNAPSHOT.
 [INFO] Installing org.wso2.stratos.identity.saml2.sso.mgt.feature.group
 1.1.0.SNAPSHOT.
 [INFO] Installing
 org.wso2.carbon.identity.provider.openid.admin.feature.group 3.2.0.SNAPSHOT.
 [INFO] Installing org.wso2.carbon.tenant.mgt.core.feature.group
 1.1.0.SNAPSHOT.
 [INFO] Installing
 org.wso2.carbon.identity.relying.party.server.feature.group 3.2.0.SNAPSHOT.
 [INFO] Installing org.wso2.carbon.identity.relying.party.ui.feature.group
 3.2.0.SNAPSHOT.
 [INFO] Installing org.wso2.carbon.load.balance.agent.server.feature.group
 1.1.0.SNAPSHOT.
 [INFO] Installing org.wso2.carbon.load.balance.agent.ui.feature.group
 1.1.0.SNAPSHOT.
 [ERROR] Cannot complete the install because one or more required items
 could not be found.
 [ERROR]  Software being installed: Identity XACML Feature 3.2.0.SNAPSHOT
 (org.wso2.carbon.identity.xacml.feature.group 3.2.0.SNAPSHOT)
 [ERROR]  Missing requirement: Identity XACML UI Feature 3.2.0.SNAPSHOT
 (org.wso2.carbon.identity.xacml.ui.feature.group 3.2.0.SNAPSHOT) requires
 'org.wso2.carbon.discovery.ui.feature.group [3.2.0.SNAPSHOT,3.3.0)' but it
 could not be found
 [ERROR]  Cannot satisfy dependency:
 [ERROR]   From: Identity XACML Feature 3.2.0.SNAPSHOT
 (org.wso2.carbon.identity.xacml.feature.group 3.2.0.SNAPSHOT)
 [ERROR]   To: org.wso2.carbon.identity.xacml.ui.feature.group
 [3.2.0.SNAPSHOT]
 [ERROR] Application failed, log file location:
 /home/carbon/carbon/products/is/modules/p2-profile-gen/service/target/p2-agent/configuration/1305123735559.log
 [INFO]
 
 [ERROR] BUILD ERROR
 [INFO]
 
 [INFO]

 [INFO]
 
 [INFO] Trace
 org.apache.maven.lifecycle.LifecycleExecutionException:
at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:719)
at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556)
at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535)
at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348)
at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
at
 org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
 org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at
 org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
 Caused by: org.apache.maven.plugin.MojoExecutionException:
at org.wso2.maven.p2.ProfileGenMojo.execute(ProfileGenMojo.java:170)
at
 

Re: [Carbon-dev] WSO2 Carbon Continuous Build has FAILED /home/carbon/carbon/products/is

2011-05-11 Thread Asela Pathberiya
Fixed.


On Wed, May 11, 2011 at 8:01 PM, Asela Pathberiya as...@wso2.com wrote:

 Will looking into this.

 Thanks,
 Asela.

 On Wed, May 11, 2011 at 7:52 PM, WSO2 Carbon-Builder cbuil...@wso2.orgwrote:

 [INFO] Installing org.wso2.carbon.registry.profiles.feature.group
 3.2.0.SNAPSHOT.
 [INFO] Installing org.wso2.carbon.identity.core.feature.group
 3.2.0.SNAPSHOT.
 [INFO] Installing org.wso2.carbon.identity.provider.feature.group
 3.2.0.SNAPSHOT.
 [INFO] Installing org.wso2.carbon.identity.user.profile.feature.group
 3.2.0.SNAPSHOT.
 [INFO] Installing org.wso2.carbon.identity.xacml.feature.group
 3.2.0.SNAPSHOT.
 [INFO] Installing org.wso2.carbon.identity.sso.saml.feature.group
 3.2.0.SNAPSHOT.
 [INFO] Installing org.wso2.carbon.identity.relying.party.feature.group
 3.2.0.SNAPSHOT.
 [INFO] Installing org.wso2.carbon.claim.mgt.feature.group 3.2.0.SNAPSHOT.
 [INFO] Installing org.wso2.carbon.claim.mgt.feature.group 3.2.0.SNAPSHOT.
 [INFO] Installing
 org.wso2.carbon.identity.authenticator.token.feature.group 3.2.0.SNAPSHOT.
 [INFO] Installing org.wso2.carbon.um.ws.service.server.feature.group
 3.2.0.SNAPSHOT.
 [INFO] Installing org.wso2.stratos.identity.styles.feature.group
 1.1.0.SNAPSHOT.
 [INFO] Installing org.wso2.stratos.identity.utils.feature.group
 1.1.0.SNAPSHOT.
 [INFO] Installing org.wso2.carbon.common.feature.group 1.1.0.SNAPSHOT.
 [INFO] Installing org.wso2.stratos.identity.ui.feature.group
 1.1.0.SNAPSHOT.
 [INFO] Installing org.wso2.stratos.identity.saml2.sso.mgt.feature.group
 1.1.0.SNAPSHOT.
 [INFO] Installing
 org.wso2.carbon.identity.provider.openid.admin.feature.group 3.2.0.SNAPSHOT.
 [INFO] Installing org.wso2.carbon.tenant.mgt.core.feature.group
 1.1.0.SNAPSHOT.
 [INFO] Installing
 org.wso2.carbon.identity.relying.party.server.feature.group 3.2.0.SNAPSHOT.
 [INFO] Installing org.wso2.carbon.identity.relying.party.ui.feature.group
 3.2.0.SNAPSHOT.
 [INFO] Installing org.wso2.carbon.load.balance.agent.server.feature.group
 1.1.0.SNAPSHOT.
 [INFO] Installing org.wso2.carbon.load.balance.agent.ui.feature.group
 1.1.0.SNAPSHOT.
 [ERROR] Cannot complete the install because one or more required items
 could not be found.
 [ERROR]  Software being installed: Identity XACML Feature 3.2.0.SNAPSHOT
 (org.wso2.carbon.identity.xacml.feature.group 3.2.0.SNAPSHOT)
 [ERROR]  Missing requirement: Identity XACML UI Feature 3.2.0.SNAPSHOT
 (org.wso2.carbon.identity.xacml.ui.feature.group 3.2.0.SNAPSHOT) requires
 'org.wso2.carbon.discovery.ui.feature.group [3.2.0.SNAPSHOT,3.3.0)' but it
 could not be found
 [ERROR]  Cannot satisfy dependency:
 [ERROR]   From: Identity XACML Feature 3.2.0.SNAPSHOT
 (org.wso2.carbon.identity.xacml.feature.group 3.2.0.SNAPSHOT)
 [ERROR]   To: org.wso2.carbon.identity.xacml.ui.feature.group
 [3.2.0.SNAPSHOT]
 [ERROR] Application failed, log file location:
 /home/carbon/carbon/products/is/modules/p2-profile-gen/service/target/p2-agent/configuration/1305123735559.log
 [INFO]
 
 [ERROR] BUILD ERROR
 [INFO]
 
 [INFO]

 [INFO]
 
 [INFO] Trace
 org.apache.maven.lifecycle.LifecycleExecutionException:
at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:719)
at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556)
at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535)
at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348)
at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
at
 org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
 org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at
 org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
 Caused by: org.apache.maven.plugin.MojoExecutionException:
at
 

[Carbon-dev] All new config file additions changes to existing config files should be reviewed

2011-05-11 Thread Afkham Azeez
Folks,
I have stated this before, and am restating it. Please don't introduce new
config files or changes to config files before getting it reviewed on this
list. These files have to be intuitive to the users, and we have to have
proper comments, spelling  structure in these files.

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


[Carbon-dev] WSO2 Carbon Continuous Build has FAILED

2011-05-11 Thread WSO2 EC2 Carbon Builder
[INFO] Installing org.wso2.carbon.registry.profiles.feature.group 
3.2.0.SNAPSHOT.
[INFO] Installing org.wso2.carbon.identity.core.feature.group 3.2.0.SNAPSHOT.
[INFO] Installing org.wso2.carbon.identity.provider.feature.group 
3.2.0.SNAPSHOT.
[INFO] Installing org.wso2.carbon.identity.user.profile.feature.group 
3.2.0.SNAPSHOT.
[INFO] Installing org.wso2.carbon.identity.xacml.feature.group 3.2.0.SNAPSHOT.
[INFO] Installing org.wso2.carbon.identity.sso.saml.feature.group 
3.2.0.SNAPSHOT.
[INFO] Installing org.wso2.carbon.identity.relying.party.feature.group 
3.2.0.SNAPSHOT.
[INFO] Installing org.wso2.carbon.claim.mgt.feature.group 3.2.0.SNAPSHOT.
[INFO] Installing org.wso2.carbon.claim.mgt.feature.group 3.2.0.SNAPSHOT.
[INFO] Installing org.wso2.carbon.identity.authenticator.token.feature.group 
3.2.0.SNAPSHOT.
[INFO] Installing org.wso2.carbon.um.ws.service.server.feature.group 
3.2.0.SNAPSHOT.
[INFO] Installing org.wso2.stratos.identity.styles.feature.group 1.1.0.SNAPSHOT.
[INFO] Installing org.wso2.stratos.identity.utils.feature.group 1.1.0.SNAPSHOT.
[INFO] Installing org.wso2.carbon.common.feature.group 1.1.0.SNAPSHOT.
[INFO] Installing org.wso2.stratos.identity.ui.feature.group 1.1.0.SNAPSHOT.
[INFO] Installing org.wso2.stratos.identity.saml2.sso.mgt.feature.group 
1.1.0.SNAPSHOT.
[INFO] Installing org.wso2.carbon.identity.provider.openid.admin.feature.group 
3.2.0.SNAPSHOT.
[INFO] Installing org.wso2.carbon.tenant.mgt.core.feature.group 1.1.0.SNAPSHOT.
[INFO] Installing org.wso2.carbon.identity.relying.party.server.feature.group 
3.2.0.SNAPSHOT.
[INFO] Installing org.wso2.carbon.identity.relying.party.ui.feature.group 
3.2.0.SNAPSHOT.
[INFO] Installing org.wso2.carbon.load.balance.agent.server.feature.group 
1.1.0.SNAPSHOT.
[INFO] Installing org.wso2.carbon.load.balance.agent.ui.feature.group 
1.1.0.SNAPSHOT.
[ERROR] Cannot complete the install because one or more required items could 
not be found.
[ERROR]  Software being installed: Identity XACML Feature 3.2.0.SNAPSHOT 
(org.wso2.carbon.identity.xacml.feature.group 3.2.0.SNAPSHOT)
[ERROR]  Missing requirement: Identity XACML UI Feature 3.2.0.SNAPSHOT 
(org.wso2.carbon.identity.xacml.ui.feature.group 3.2.0.SNAPSHOT) requires 
'org.wso2.carbon.discovery.ui.feature.group [3.2.0.SNAPSHOT,3.3.0)' but it 
could not be found
[ERROR]  Cannot satisfy dependency:
[ERROR]   From: Identity XACML Feature 3.2.0.SNAPSHOT 
(org.wso2.carbon.identity.xacml.feature.group 3.2.0.SNAPSHOT)
[ERROR]   To: org.wso2.carbon.identity.xacml.ui.feature.group [3.2.0.SNAPSHOT]
[ERROR] Application failed, log file location: 
/home/carbon/carbon/products/is/modules/p2-profile-gen/service/target/p2-agent/configuration/1305127054187.log
[INFO] 
[ERROR] BUILD ERROR
[INFO] 
[INFO] 

[INFO] 
[INFO] For more information, run Maven with the -e switch
[INFO] 
[INFO] Total time: 372 minutes 31 seconds
[INFO] Finished at: Wed May 11 15:17:49 UTC 2011
[INFO] Final Memory: 1356M/1726M
[INFO] 
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


[Carbon-dev] String.replace() vs. String.replaceAll()

2011-05-11 Thread Amila Maha Arachchi
Hi,

Theres this code segment in org.wso2.carbon.email.sender component.

public static String replacePlaceHolders(String text, MapString, String
userParameters) {
if (userParameters != null) {
for (Map.EntryString, String entry :
userParameters.entrySet()) {
String key = entry.getKey();
*text = text.replaceAll(\\{ + key + \\},
entry.getValue());*
}
}
return text;
}


Above String.replaceAll() method throws exceptions when there are special
characters in the string which is being replaced with. i.e. In the above
sample it is entry.getValue(). An example is the $ sign. This can be avoided
by using \\$. But it is a headache.

Instead, String.replace() can be used and* it too replaces all the
occurrences* of the string being replaced. i.e. We can use

*text = text.replace({ + key + }, entry.getValue());

*Therefore, is it ok that I change the above method with the latter
mentioned one.

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


Re: [Carbon-dev] String.replace() vs. String.replaceAll()

2011-05-11 Thread Afkham Azeez
replaceAll takes a regex as the first parameter. The second parameter is
just a normal String. So, unless the key contains special characters, this
cannot fail. Also, the replace method takes two characters as parameters, or
2 CharSequences. So, replace  replaceAll have different behaviors.

On Wed, May 11, 2011 at 9:19 PM, Amila Maha Arachchi ami...@wso2.comwrote:

 Hi,

 Theres this code segment in org.wso2.carbon.email.sender component.

 public static String replacePlaceHolders(String text, MapString, String
 userParameters) {
 if (userParameters != null) {
 for (Map.EntryString, String entry :
 userParameters.entrySet()) {
 String key = entry.getKey();
 *text = text.replaceAll(\\{ + key + \\},
 entry.getValue());*
 }
 }
 return text;
 }


 Above String.replaceAll() method throws exceptions when there are special
 characters in the string which is being replaced with. i.e. In the above
 sample it is entry.getValue(). An example is the $ sign. This can be avoided
 by using \\$. But it is a headache.


Can you give us an example for key and entryValue, and if possible the
exception stacktrace?



 Instead, String.replace() can be used and* it too replaces all the
 occurrences* of the string being replaced. i.e. We can use

 *text = text.replace({ + key + }, entry.getValue());

 *Therefore, is it ok that I change the above method with the latter
 mentioned one.

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




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


Re: [Carbon-dev] Why is the ESB log wso2-esb.log and not wso2carbon.log ?

2011-05-11 Thread Hiranya Jayathilaka
On Wed, May 11, 2011 at 7:03 PM, Afkham Azeez az...@wso2.com wrote:

 People familiar with our platform know that wso2carbon.log is where the
 logs can be found for any of our products. Why does the ESB product violate
 this?


Well our log file has always been named wso2-esb.log and most people are
actually familiar with that. Don't know the reason behind this different
naming though. Perhaps something carried forward from ESB 1.7 days?

wso2-esb-service.log gets filled up when the proxy services with log
mediators start receiving messages. It's for service level logging. We also
have a dedicated error log named wso2-esb-errors.log. Both these were added
upon customer/user requests.

Thanks,
Hiranya



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


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




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


Re: [Carbon-dev] [Stratos-dev] String.replace() vs. String.replaceAll()

2011-05-11 Thread Amila Maha Arachchi
On Wed, May 11, 2011 at 9:31 PM, Afkham Azeez az...@wso2.com wrote:

 replaceAll takes a regex as the first parameter. The second parameter is
 just a normal String. So, unless the key contains special characters, this
 cannot fail. Also, the replace method takes two characters as parameters, or
 2 CharSequences. So, replace  replaceAll have different behaviors.


This failed when the second string has special characters.



 On Wed, May 11, 2011 at 9:19 PM, Amila Maha Arachchi ami...@wso2.comwrote:

 Hi,

 Theres this code segment in org.wso2.carbon.email.sender component.

 public static String replacePlaceHolders(String text, MapString, String
 userParameters) {
 if (userParameters != null) {
 for (Map.EntryString, String entry :
 userParameters.entrySet()) {
 String key = entry.getKey();
 *text = text.replaceAll(\\{ + key + \\},
 entry.getValue());*
 }
 }
 return text;
 }


 Above String.replaceAll() method throws exceptions when there are special
 characters in the string which is being replaced with. i.e. In the above
 sample it is entry.getValue(). An example is the $ sign. This can be avoided
 by using \\$. But it is a headache.


 Can you give us an example for key and entryValue, and if possible the
 exception stacktrace?


key: subscription-charges
entryValues: Multitenancy Medium $50

Here is the stacktrace.

[2011-05-11 19:56:42,999] ERROR
{org.wso2.carbon.billing.core.handlers.EmailSendingHandler} -  Error in
sending the bill for the customer. customer: d.com, invoice id:19
java.lang.IndexOutOfBoundsException: No group 5   *== Here, it breaks at
$50. Thats why the 5 is there.If the values was $10, it would say No group
1.*
at java.util.regex.Matcher.group(Matcher.java:470)
at java.util.regex.Matcher.appendReplacement(Matcher.java:737)
at java.util.regex.Matcher.replaceAll(Matcher.java:813)
at java.lang.String.replaceAll(String.java:2189)
at
org.wso2.carbon.email.sender.util.Util.replacePlaceHolders(Util.java:97)
at
org.wso2.carbon.email.sender.api.EmailSender.getMessageBody(EmailSender.java:106)
at
org.wso2.carbon.email.sender.api.EmailSender.sendEmail(EmailSender.java:55)
at
org.wso2.carbon.billing.core.handlers.EmailSendingHandler.execute(EmailSendingHandler.java:82)
at
org.wso2.carbon.billing.core.BillingEngine.generateBill(BillingEngine.java:77)
at
org.wso2.carbon.billing.core.BillingEngine.generateBill(BillingEngine.java:59)
at
org.wso2.carbon.billing.core.scheduler.BillingJob.execute(BillingJob.java:42)
at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
at
org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:529)





 Instead, String.replace() can be used and* it too replaces all the
 occurrences* of the string being replaced. i.e. We can use

 *text = text.replace({ + key + }, entry.getValue());

 *Therefore, is it ok that I change the above method with the latter
 mentioned one.

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




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


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


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


Re: [Carbon-dev] [Stratos-dev] String.replace() vs. String.replaceAll()

2011-05-11 Thread Amila Maha Arachchi
Found this in the internet.

http://www.velocityreviews.com/forums/t295371-string-replaceall-and-regex-question.html

On Wed, May 11, 2011 at 9:39 PM, Amila Maha Arachchi ami...@wso2.comwrote:



 On Wed, May 11, 2011 at 9:31 PM, Afkham Azeez az...@wso2.com wrote:

 replaceAll takes a regex as the first parameter. The second parameter is
 just a normal String. So, unless the key contains special characters, this
 cannot fail. Also, the replace method takes two characters as parameters, or
 2 CharSequences. So, replace  replaceAll have different behaviors.


 This failed when the second string has special characters.



 On Wed, May 11, 2011 at 9:19 PM, Amila Maha Arachchi ami...@wso2.comwrote:

 Hi,

 Theres this code segment in org.wso2.carbon.email.sender component.

 public static String replacePlaceHolders(String text, MapString, String
 userParameters) {
 if (userParameters != null) {
 for (Map.EntryString, String entry :
 userParameters.entrySet()) {
 String key = entry.getKey();
 *text = text.replaceAll(\\{ + key + \\},
 entry.getValue());*
 }
 }
 return text;
 }


 Above String.replaceAll() method throws exceptions when there are special
 characters in the string which is being replaced with. i.e. In the above
 sample it is entry.getValue(). An example is the $ sign. This can be avoided
 by using \\$. But it is a headache.


 Can you give us an example for key and entryValue, and if possible the
 exception stacktrace?


 key: subscription-charges
 entryValues: Multitenancy Medium $50

 Here is the stacktrace.

 [2011-05-11 19:56:42,999] ERROR
 {org.wso2.carbon.billing.core.handlers.EmailSendingHandler} -  Error in
 sending the bill for the customer. customer: d.com, invoice id:19
 java.lang.IndexOutOfBoundsException: No group 5   *== Here, it breaks at
 $50. Thats why the 5 is there.If the values was $10, it would say No group
 1.*
 at java.util.regex.Matcher.group(Matcher.java:470)
 at java.util.regex.Matcher.appendReplacement(Matcher.java:737)
 at java.util.regex.Matcher.replaceAll(Matcher.java:813)
 at java.lang.String.replaceAll(String.java:2189)
 at
 org.wso2.carbon.email.sender.util.Util.replacePlaceHolders(Util.java:97)
 at
 org.wso2.carbon.email.sender.api.EmailSender.getMessageBody(EmailSender.java:106)
 at
 org.wso2.carbon.email.sender.api.EmailSender.sendEmail(EmailSender.java:55)
 at
 org.wso2.carbon.billing.core.handlers.EmailSendingHandler.execute(EmailSendingHandler.java:82)
 at
 org.wso2.carbon.billing.core.BillingEngine.generateBill(BillingEngine.java:77)
 at
 org.wso2.carbon.billing.core.BillingEngine.generateBill(BillingEngine.java:59)
 at
 org.wso2.carbon.billing.core.scheduler.BillingJob.execute(BillingJob.java:42)
 at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
 at
 org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:529)





 Instead, String.replace() can be used and* it too replaces all the
 occurrences* of the string being replaced. i.e. We can use

 *text = text.replace({ + key + }, entry.getValue());

 *Therefore, is it ok that I change the above method with the latter
 mentioned one.

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




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


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



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


Re: [Carbon-dev] [Stratos-dev] String.replace() vs. String.replaceAll()

2011-05-11 Thread Sadeep Jayasumana
Hi,

Quoting from [1] - *Note that backslashes (\) and dollar signs ($) in the
replacement string may cause the results to be different than if it were
being treated as a literal replacement string; see Matcher.replaceAll. Use
Matcher.quoteReplacement(java.lang.String) to suppress the special meaning
of these characters, if desired.*

[1] 
http://download.oracle.com/javase/6/docs/api/java/lang/String.html#replaceAll(java.lang.String,
java.lang.String)

http://download.oracle.com/javase/6/docs/api/java/lang/String.html#replaceAll(java.lang.String,
java.lang.String)Thanks,
Sadeep

On Wed, May 11, 2011 at 9:40 PM, Amila Maha Arachchi ami...@wso2.comwrote:

 Found this in the internet.


 http://www.velocityreviews.com/forums/t295371-string-replaceall-and-regex-question.html


 On Wed, May 11, 2011 at 9:39 PM, Amila Maha Arachchi ami...@wso2.comwrote:



 On Wed, May 11, 2011 at 9:31 PM, Afkham Azeez az...@wso2.com wrote:

 replaceAll takes a regex as the first parameter. The second parameter is
 just a normal String. So, unless the key contains special characters, this
 cannot fail. Also, the replace method takes two characters as parameters, or
 2 CharSequences. So, replace  replaceAll have different behaviors.


 This failed when the second string has special characters.



 On Wed, May 11, 2011 at 9:19 PM, Amila Maha Arachchi ami...@wso2.comwrote:

 Hi,

 Theres this code segment in org.wso2.carbon.email.sender component.

 public static String replacePlaceHolders(String text, MapString,
 String userParameters) {
 if (userParameters != null) {
 for (Map.EntryString, String entry :
 userParameters.entrySet()) {
 String key = entry.getKey();
 *text = text.replaceAll(\\{ + key + \\},
 entry.getValue());*
 }
 }
 return text;
 }


 Above String.replaceAll() method throws exceptions when there are
 special characters in the string which is being replaced with. i.e. In the
 above sample it is entry.getValue(). An example is the $ sign. This can be
 avoided by using \\$. But it is a headache.


 Can you give us an example for key and entryValue, and if possible the
 exception stacktrace?


 key: subscription-charges
 entryValues: Multitenancy Medium $50

 Here is the stacktrace.

 [2011-05-11 19:56:42,999] ERROR
 {org.wso2.carbon.billing.core.handlers.EmailSendingHandler} -  Error in
 sending the bill for the customer. customer: d.com, invoice id:19
 java.lang.IndexOutOfBoundsException: No group 5   *== Here, it breaks at
 $50. Thats why the 5 is there.If the values was $10, it would say No group
 1.*
 at java.util.regex.Matcher.group(Matcher.java:470)
 at java.util.regex.Matcher.appendReplacement(Matcher.java:737)
 at java.util.regex.Matcher.replaceAll(Matcher.java:813)
 at java.lang.String.replaceAll(String.java:2189)
 at
 org.wso2.carbon.email.sender.util.Util.replacePlaceHolders(Util.java:97)
 at
 org.wso2.carbon.email.sender.api.EmailSender.getMessageBody(EmailSender.java:106)
 at
 org.wso2.carbon.email.sender.api.EmailSender.sendEmail(EmailSender.java:55)
 at
 org.wso2.carbon.billing.core.handlers.EmailSendingHandler.execute(EmailSendingHandler.java:82)
 at
 org.wso2.carbon.billing.core.BillingEngine.generateBill(BillingEngine.java:77)
 at
 org.wso2.carbon.billing.core.BillingEngine.generateBill(BillingEngine.java:59)
 at
 org.wso2.carbon.billing.core.scheduler.BillingJob.execute(BillingJob.java:42)
 at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
 at
 org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:529)





 Instead, String.replace() can be used and* it too replaces all the
 occurrences* of the string being replaced. i.e. We can use

 *text = text.replace({ + key + }, entry.getValue());

 *Therefore, is it ok that I change the above method with the latter
 mentioned one.

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




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


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




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




-- 
Sadeep Jayasumana

Software Engineer
WSO2 Inc.
Email - sad...@wso2.com
Mobile - +94 77 22 66 507

Re: [Carbon-dev] Why is the ESB log wso2-esb.log and not wso2carbon.log ?

2011-05-11 Thread Afkham Azeez
On Wed, May 11, 2011 at 9:38 PM, Hiranya Jayathilaka hira...@wso2.comwrote:



 On Wed, May 11, 2011 at 7:03 PM, Afkham Azeez az...@wso2.com wrote:

 People familiar with our platform know that wso2carbon.log is where the
 logs can be found for any of our products. Why does the ESB product violate
 this?


 Well our log file has always been named wso2-esb.log and most people are
 actually familiar with that. Don't know the reason behind this different
 naming though. Perhaps something carried forward from ESB 1.7 days?

 wso2-esb-service.log gets filled up when the proxy services with log
 mediators start receiving messages. It's for service level logging. We also
 have a dedicated error log named wso2-esb-errors.log. Both these were added
 upon customer/user requests.


So the syslog based logging for Stratos will not work for ESB.



 Thanks,
 Hiranya



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


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




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

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




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


Re: [Carbon-dev] Why is the ESB log wso2-esb.log and not wso2carbon.log ?

2011-05-11 Thread Hiranya Jayathilaka
On Wed, May 11, 2011 at 9:48 PM, Afkham Azeez az...@wso2.com wrote:



 On Wed, May 11, 2011 at 9:38 PM, Hiranya Jayathilaka hira...@wso2.comwrote:



 On Wed, May 11, 2011 at 7:03 PM, Afkham Azeez az...@wso2.com wrote:

 People familiar with our platform know that wso2carbon.log is where the
 logs can be found for any of our products. Why does the ESB product violate
 this?


 Well our log file has always been named wso2-esb.log and most people are
 actually familiar with that. Don't know the reason behind this different
 naming though. Perhaps something carried forward from ESB 1.7 days?

 wso2-esb-service.log gets filled up when the proxy services with log
 mediators start receiving messages. It's for service level logging. We also
 have a dedicated error log named wso2-esb-errors.log. Both these were added
 upon customer/user requests.


 So the syslog based logging for Stratos will not work for ESB.


Why? Does that implementation make any assumptions regarding the log4j
settings used by individual products?

Thanks,
Hiranya





 Thanks,
 Hiranya



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


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




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

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




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


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




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


Re: [Carbon-dev] [Stratos-dev] String.replace() vs. String.replaceAll()

2011-05-11 Thread Afkham Azeez
Cool. That should work with replaceAll.

On Wed, May 11, 2011 at 9:44 PM, Sadeep Jayasumana sad...@wso2.com wrote:

 Hi,

 Quoting from [1] - *Note that backslashes (\) and dollar signs ($) in the
 replacement string may cause the results to be different than if it were
 being treated as a literal replacement string; see Matcher.replaceAll. Use
 Matcher.quoteReplacement(java.lang.String) to suppress the special meaning
 of these characters, if desired.*

 [1] 
 http://download.oracle.com/javase/6/docs/api/java/lang/String.html#replaceAll(java.lang.String,
 java.lang.String)


 http://download.oracle.com/javase/6/docs/api/java/lang/String.html#replaceAll(java.lang.String,+java.lang.String)
 Thanks,
 Sadeep


 On Wed, May 11, 2011 at 9:40 PM, Amila Maha Arachchi ami...@wso2.comwrote:

 Found this in the internet.


 http://www.velocityreviews.com/forums/t295371-string-replaceall-and-regex-question.html


 On Wed, May 11, 2011 at 9:39 PM, Amila Maha Arachchi ami...@wso2.comwrote:



 On Wed, May 11, 2011 at 9:31 PM, Afkham Azeez az...@wso2.com wrote:

 replaceAll takes a regex as the first parameter. The second parameter is
 just a normal String. So, unless the key contains special characters, this
 cannot fail. Also, the replace method takes two characters as parameters, 
 or
 2 CharSequences. So, replace  replaceAll have different behaviors.


 This failed when the second string has special characters.



 On Wed, May 11, 2011 at 9:19 PM, Amila Maha Arachchi 
 ami...@wso2.comwrote:

 Hi,

 Theres this code segment in org.wso2.carbon.email.sender component.

 public static String replacePlaceHolders(String text, MapString,
 String userParameters) {
 if (userParameters != null) {
 for (Map.EntryString, String entry :
 userParameters.entrySet()) {
 String key = entry.getKey();
 *text = text.replaceAll(\\{ + key + \\},
 entry.getValue());*
 }
 }
 return text;
 }


 Above String.replaceAll() method throws exceptions when there are
 special characters in the string which is being replaced with. i.e. In the
 above sample it is entry.getValue(). An example is the $ sign. This can be
 avoided by using \\$. But it is a headache.


 Can you give us an example for key and entryValue, and if possible the
 exception stacktrace?


 key: subscription-charges
 entryValues: Multitenancy Medium $50

 Here is the stacktrace.

 [2011-05-11 19:56:42,999] ERROR
 {org.wso2.carbon.billing.core.handlers.EmailSendingHandler} -  Error in
 sending the bill for the customer. customer: d.com, invoice id:19
 java.lang.IndexOutOfBoundsException: No group 5   *== Here, it breaks
 at $50. Thats why the 5 is there.If the values was $10, it would say No
 group 1.*
 at java.util.regex.Matcher.group(Matcher.java:470)
 at java.util.regex.Matcher.appendReplacement(Matcher.java:737)
 at java.util.regex.Matcher.replaceAll(Matcher.java:813)
 at java.lang.String.replaceAll(String.java:2189)
 at
 org.wso2.carbon.email.sender.util.Util.replacePlaceHolders(Util.java:97)
 at
 org.wso2.carbon.email.sender.api.EmailSender.getMessageBody(EmailSender.java:106)
 at
 org.wso2.carbon.email.sender.api.EmailSender.sendEmail(EmailSender.java:55)
 at
 org.wso2.carbon.billing.core.handlers.EmailSendingHandler.execute(EmailSendingHandler.java:82)
 at
 org.wso2.carbon.billing.core.BillingEngine.generateBill(BillingEngine.java:77)
 at
 org.wso2.carbon.billing.core.BillingEngine.generateBill(BillingEngine.java:59)
 at
 org.wso2.carbon.billing.core.scheduler.BillingJob.execute(BillingJob.java:42)
 at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
 at
 org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:529)





 Instead, String.replace() can be used and* it too replaces all the
 occurrences* of the string being replaced. i.e. We can use

 *text = text.replace({ + key + }, entry.getValue());

 *Therefore, is it ok that I change the above method with the latter
 mentioned one.

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




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


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




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




Re: [Carbon-dev] [Stratos-dev] String.replace() vs. String.replaceAll()

2011-05-11 Thread Amila Maha Arachchi
On Wed, May 11, 2011 at 9:51 PM, Afkham Azeez az...@wso2.com wrote:

 Cool. That should work with replaceAll.


I am a little confused. Does this mean ok to go with *String.replace* ?



 On Wed, May 11, 2011 at 9:44 PM, Sadeep Jayasumana sad...@wso2.comwrote:

 Hi,

 Quoting from [1] - *Note that backslashes (\) and dollar signs ($) in the
 replacement string may cause the results to be different than if it were
 being treated as a literal replacement string; see Matcher.replaceAll. Use
 Matcher.quoteReplacement(java.lang.String) to suppress the special meaning
 of these characters, if desired.*

 [1] 
 http://download.oracle.com/javase/6/docs/api/java/lang/String.html#replaceAll(java.lang.String,
 java.lang.String)


 http://download.oracle.com/javase/6/docs/api/java/lang/String.html#replaceAll%28java.lang.String,+java.lang.String%29
 Thanks,
 Sadeep


 On Wed, May 11, 2011 at 9:40 PM, Amila Maha Arachchi ami...@wso2.comwrote:

 Found this in the internet.


 http://www.velocityreviews.com/forums/t295371-string-replaceall-and-regex-question.html


 On Wed, May 11, 2011 at 9:39 PM, Amila Maha Arachchi ami...@wso2.comwrote:



 On Wed, May 11, 2011 at 9:31 PM, Afkham Azeez az...@wso2.com wrote:

 replaceAll takes a regex as the first parameter. The second parameter
 is just a normal String. So, unless the key contains special characters,
 this cannot fail. Also, the replace method takes two characters as
 parameters, or 2 CharSequences. So, replace  replaceAll have different
 behaviors.


 This failed when the second string has special characters.



 On Wed, May 11, 2011 at 9:19 PM, Amila Maha Arachchi 
 ami...@wso2.comwrote:

 Hi,

 Theres this code segment in org.wso2.carbon.email.sender component.

 public static String replacePlaceHolders(String text, MapString,
 String userParameters) {
 if (userParameters != null) {
 for (Map.EntryString, String entry :
 userParameters.entrySet()) {
 String key = entry.getKey();
 *text = text.replaceAll(\\{ + key + \\},
 entry.getValue());*
 }
 }
 return text;
 }


 Above String.replaceAll() method throws exceptions when there are
 special characters in the string which is being replaced with. i.e. In 
 the
 above sample it is entry.getValue(). An example is the $ sign. This can 
 be
 avoided by using \\$. But it is a headache.


 Can you give us an example for key and entryValue, and if possible the
 exception stacktrace?


 key: subscription-charges
 entryValues: Multitenancy Medium $50

 Here is the stacktrace.

 [2011-05-11 19:56:42,999] ERROR
 {org.wso2.carbon.billing.core.handlers.EmailSendingHandler} -  Error in
 sending the bill for the customer. customer: d.com, invoice id:19
 java.lang.IndexOutOfBoundsException: No group 5   *== Here, it breaks
 at $50. Thats why the 5 is there.If the values was $10, it would say No
 group 1.*
 at java.util.regex.Matcher.group(Matcher.java:470)
 at java.util.regex.Matcher.appendReplacement(Matcher.java:737)
 at java.util.regex.Matcher.replaceAll(Matcher.java:813)
 at java.lang.String.replaceAll(String.java:2189)
 at
 org.wso2.carbon.email.sender.util.Util.replacePlaceHolders(Util.java:97)
 at
 org.wso2.carbon.email.sender.api.EmailSender.getMessageBody(EmailSender.java:106)
 at
 org.wso2.carbon.email.sender.api.EmailSender.sendEmail(EmailSender.java:55)
 at
 org.wso2.carbon.billing.core.handlers.EmailSendingHandler.execute(EmailSendingHandler.java:82)
 at
 org.wso2.carbon.billing.core.BillingEngine.generateBill(BillingEngine.java:77)
 at
 org.wso2.carbon.billing.core.BillingEngine.generateBill(BillingEngine.java:59)
 at
 org.wso2.carbon.billing.core.scheduler.BillingJob.execute(BillingJob.java:42)
 at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
 at
 org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:529)





 Instead, String.replace() can be used and* it too replaces all the
 occurrences* of the string being replaced. i.e. We can use

 *text = text.replace({ + key + }, entry.getValue());

 *Therefore, is it ok that I change the above method with the latter
 mentioned one.

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




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


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




 

Re: [Carbon-dev] [Stratos-dev] String.replace() vs. String.replaceAll()

2011-05-11 Thread Afkham Azeez
no'

try, *text = text.replaceAll(\\{ + key + \\}, *
Matcher.quoteReplacement(http://download.oracle.com/javase/6/docs/api/java/util/regex/Matcher.html#quoteReplacement(java.lang.String)
*entry.getValue()));*

On Wed, May 11, 2011 at 10:09 PM, Amila Maha Arachchi ami...@wso2.comwrote:



 On Wed, May 11, 2011 at 9:51 PM, Afkham Azeez az...@wso2.com wrote:

 Cool. That should work with replaceAll.


 I am a little confused. Does this mean ok to go with *String.replace* ?



 On Wed, May 11, 2011 at 9:44 PM, Sadeep Jayasumana sad...@wso2.comwrote:

 Hi,

 Quoting from [1] - *Note that backslashes (\) and dollar signs ($) in
 the replacement string may cause the results to be different than if it were
 being treated as a literal replacement string; see Matcher.replaceAll. Use
 Matcher.quoteReplacement(java.lang.String) to suppress the special meaning
 of these characters, if desired.*

 [1] 
 http://download.oracle.com/javase/6/docs/api/java/lang/String.html#replaceAll(java.lang.String,
 java.lang.String)


 http://download.oracle.com/javase/6/docs/api/java/lang/String.html#replaceAll%28java.lang.String,+java.lang.String%29
 Thanks,
 Sadeep


 On Wed, May 11, 2011 at 9:40 PM, Amila Maha Arachchi ami...@wso2.comwrote:

 Found this in the internet.


 http://www.velocityreviews.com/forums/t295371-string-replaceall-and-regex-question.html


 On Wed, May 11, 2011 at 9:39 PM, Amila Maha Arachchi 
 ami...@wso2.comwrote:



 On Wed, May 11, 2011 at 9:31 PM, Afkham Azeez az...@wso2.com wrote:

 replaceAll takes a regex as the first parameter. The second parameter
 is just a normal String. So, unless the key contains special characters,
 this cannot fail. Also, the replace method takes two characters as
 parameters, or 2 CharSequences. So, replace  replaceAll have different
 behaviors.


 This failed when the second string has special characters.



 On Wed, May 11, 2011 at 9:19 PM, Amila Maha Arachchi ami...@wso2.com
  wrote:

 Hi,

 Theres this code segment in org.wso2.carbon.email.sender component.

 public static String replacePlaceHolders(String text, MapString,
 String userParameters) {
 if (userParameters != null) {
 for (Map.EntryString, String entry :
 userParameters.entrySet()) {
 String key = entry.getKey();
 *text = text.replaceAll(\\{ + key + \\},
 entry.getValue());*
 }
 }
 return text;
 }


 Above String.replaceAll() method throws exceptions when there are
 special characters in the string which is being replaced with. i.e. In 
 the
 above sample it is entry.getValue(). An example is the $ sign. This can 
 be
 avoided by using \\$. But it is a headache.


 Can you give us an example for key and entryValue, and if possible the
 exception stacktrace?


 key: subscription-charges
 entryValues: Multitenancy Medium $50

 Here is the stacktrace.

 [2011-05-11 19:56:42,999] ERROR
 {org.wso2.carbon.billing.core.handlers.EmailSendingHandler} -  Error in
 sending the bill for the customer. customer: d.com, invoice id:19
 java.lang.IndexOutOfBoundsException: No group 5   *== Here, it breaks
 at $50. Thats why the 5 is there.If the values was $10, it would say No
 group 1.*
 at java.util.regex.Matcher.group(Matcher.java:470)
 at java.util.regex.Matcher.appendReplacement(Matcher.java:737)
 at java.util.regex.Matcher.replaceAll(Matcher.java:813)
 at java.lang.String.replaceAll(String.java:2189)
 at
 org.wso2.carbon.email.sender.util.Util.replacePlaceHolders(Util.java:97)
 at
 org.wso2.carbon.email.sender.api.EmailSender.getMessageBody(EmailSender.java:106)
 at
 org.wso2.carbon.email.sender.api.EmailSender.sendEmail(EmailSender.java:55)
 at
 org.wso2.carbon.billing.core.handlers.EmailSendingHandler.execute(EmailSendingHandler.java:82)
 at
 org.wso2.carbon.billing.core.BillingEngine.generateBill(BillingEngine.java:77)
 at
 org.wso2.carbon.billing.core.BillingEngine.generateBill(BillingEngine.java:59)
 at
 org.wso2.carbon.billing.core.scheduler.BillingJob.execute(BillingJob.java:42)
 at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
 at
 org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:529)





 Instead, String.replace() can be used and* it too replaces all the
 occurrences* of the string being replaced. i.e. We can use

 *text = text.replace({ + key + }, entry.getValue());

 *Therefore, is it ok that I change the above method with the latter
 mentioned one.

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




 --
 *Afkham Azeez*
 Director of Architecture; WSO2, Inc.; http://wso2.com
 Member; Apache Software Foundation; http://www.apache.org/
 * http://www.apache.org/**
 email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919
 blog: **http://blog.afkham.org* http://blog.afkham.org*
 twitter: 
 

Re: [Carbon-dev] [Stratos-dev] String.replace() vs. String.replaceAll()

2011-05-11 Thread Sadeep Jayasumana
Hi,

On Wed, May 11, 2011 at 10:09 PM, Amila Maha Arachchi ami...@wso2.comwrote:



 On Wed, May 11, 2011 at 9:51 PM, Afkham Azeez az...@wso2.com wrote:

 Cool. That should work with replaceAll.


 I am a little confused. Does this mean ok to go with *String.replace* ?


I guess so. Java API documentation says that replaceAll() will not give what
we expect if the second argument contains backslashes or dollar signs.

Thanks,
Sadeep





 On Wed, May 11, 2011 at 9:44 PM, Sadeep Jayasumana sad...@wso2.comwrote:

 Hi,

 Quoting from [1] - *Note that backslashes (\) and dollar signs ($) in
 the replacement string may cause the results to be different than if it were
 being treated as a literal replacement string; see Matcher.replaceAll. Use
 Matcher.quoteReplacement(java.lang.String) to suppress the special meaning
 of these characters, if desired.*

 [1] 
 http://download.oracle.com/javase/6/docs/api/java/lang/String.html#replaceAll(java.lang.String,
 java.lang.String)


 http://download.oracle.com/javase/6/docs/api/java/lang/String.html#replaceAll%28java.lang.String,+java.lang.String%29
 Thanks,
 Sadeep


 On Wed, May 11, 2011 at 9:40 PM, Amila Maha Arachchi ami...@wso2.comwrote:

 Found this in the internet.


 http://www.velocityreviews.com/forums/t295371-string-replaceall-and-regex-question.html


 On Wed, May 11, 2011 at 9:39 PM, Amila Maha Arachchi 
 ami...@wso2.comwrote:



 On Wed, May 11, 2011 at 9:31 PM, Afkham Azeez az...@wso2.com wrote:

 replaceAll takes a regex as the first parameter. The second parameter
 is just a normal String. So, unless the key contains special characters,
 this cannot fail. Also, the replace method takes two characters as
 parameters, or 2 CharSequences. So, replace  replaceAll have different
 behaviors.


 This failed when the second string has special characters.



 On Wed, May 11, 2011 at 9:19 PM, Amila Maha Arachchi ami...@wso2.com
  wrote:

 Hi,

 Theres this code segment in org.wso2.carbon.email.sender component.

 public static String replacePlaceHolders(String text, MapString,
 String userParameters) {
 if (userParameters != null) {
 for (Map.EntryString, String entry :
 userParameters.entrySet()) {
 String key = entry.getKey();
 *text = text.replaceAll(\\{ + key + \\},
 entry.getValue());*
 }
 }
 return text;
 }


 Above String.replaceAll() method throws exceptions when there are
 special characters in the string which is being replaced with. i.e. In 
 the
 above sample it is entry.getValue(). An example is the $ sign. This can 
 be
 avoided by using \\$. But it is a headache.


 Can you give us an example for key and entryValue, and if possible the
 exception stacktrace?


 key: subscription-charges
 entryValues: Multitenancy Medium $50

 Here is the stacktrace.

 [2011-05-11 19:56:42,999] ERROR
 {org.wso2.carbon.billing.core.handlers.EmailSendingHandler} -  Error in
 sending the bill for the customer. customer: d.com, invoice id:19
 java.lang.IndexOutOfBoundsException: No group 5   *== Here, it breaks
 at $50. Thats why the 5 is there.If the values was $10, it would say No
 group 1.*
 at java.util.regex.Matcher.group(Matcher.java:470)
 at java.util.regex.Matcher.appendReplacement(Matcher.java:737)
 at java.util.regex.Matcher.replaceAll(Matcher.java:813)
 at java.lang.String.replaceAll(String.java:2189)
 at
 org.wso2.carbon.email.sender.util.Util.replacePlaceHolders(Util.java:97)
 at
 org.wso2.carbon.email.sender.api.EmailSender.getMessageBody(EmailSender.java:106)
 at
 org.wso2.carbon.email.sender.api.EmailSender.sendEmail(EmailSender.java:55)
 at
 org.wso2.carbon.billing.core.handlers.EmailSendingHandler.execute(EmailSendingHandler.java:82)
 at
 org.wso2.carbon.billing.core.BillingEngine.generateBill(BillingEngine.java:77)
 at
 org.wso2.carbon.billing.core.BillingEngine.generateBill(BillingEngine.java:59)
 at
 org.wso2.carbon.billing.core.scheduler.BillingJob.execute(BillingJob.java:42)
 at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
 at
 org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:529)





 Instead, String.replace() can be used and* it too replaces all the
 occurrences* of the string being replaced. i.e. We can use

 *text = text.replace({ + key + }, entry.getValue());

 *Therefore, is it ok that I change the above method with the latter
 mentioned one.

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




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

Re: [Carbon-dev] [Stratos-dev] String.replace() vs. String.replaceAll()

2011-05-11 Thread Amila Maha Arachchi
On Wed, May 11, 2011 at 10:14 PM, Afkham Azeez az...@wso2.com wrote:

 no'

 try, *text = text.replaceAll(\\{ + key + \\}, *
 Matcher.quoteReplacement(http://download.oracle.com/javase/6/docs/api/java/util/regex/Matcher.html#quoteReplacement%28java.lang.String%29
 *entry.getValue()));*


It works. Sorry for not understanding it. Thanks.


 On Wed, May 11, 2011 at 10:09 PM, Amila Maha Arachchi ami...@wso2.comwrote:



 On Wed, May 11, 2011 at 9:51 PM, Afkham Azeez az...@wso2.com wrote:

 Cool. That should work with replaceAll.


 I am a little confused. Does this mean ok to go with *String.replace* ?



 On Wed, May 11, 2011 at 9:44 PM, Sadeep Jayasumana sad...@wso2.comwrote:

 Hi,

 Quoting from [1] - *Note that backslashes (\) and dollar signs ($) in
 the replacement string may cause the results to be different than if it 
 were
 being treated as a literal replacement string; see Matcher.replaceAll. Use
 Matcher.quoteReplacement(java.lang.String) to suppress the special meaning
 of these characters, if desired.*

 [1] 
 http://download.oracle.com/javase/6/docs/api/java/lang/String.html#replaceAll(java.lang.String,
 java.lang.String)


 http://download.oracle.com/javase/6/docs/api/java/lang/String.html#replaceAll%28java.lang.String,+java.lang.String%29
 Thanks,
 Sadeep


 On Wed, May 11, 2011 at 9:40 PM, Amila Maha Arachchi 
 ami...@wso2.comwrote:

 Found this in the internet.


 http://www.velocityreviews.com/forums/t295371-string-replaceall-and-regex-question.html


 On Wed, May 11, 2011 at 9:39 PM, Amila Maha Arachchi 
 ami...@wso2.comwrote:



 On Wed, May 11, 2011 at 9:31 PM, Afkham Azeez az...@wso2.com wrote:

 replaceAll takes a regex as the first parameter. The second parameter
 is just a normal String. So, unless the key contains special characters,
 this cannot fail. Also, the replace method takes two characters as
 parameters, or 2 CharSequences. So, replace  replaceAll have different
 behaviors.


 This failed when the second string has special characters.



 On Wed, May 11, 2011 at 9:19 PM, Amila Maha Arachchi 
 ami...@wso2.com wrote:

 Hi,

 Theres this code segment in org.wso2.carbon.email.sender component.

 public static String replacePlaceHolders(String text, MapString,
 String userParameters) {
 if (userParameters != null) {
 for (Map.EntryString, String entry :
 userParameters.entrySet()) {
 String key = entry.getKey();
 *text = text.replaceAll(\\{ + key + \\},
 entry.getValue());*
 }
 }
 return text;
 }


 Above String.replaceAll() method throws exceptions when there are
 special characters in the string which is being replaced with. i.e. In 
 the
 above sample it is entry.getValue(). An example is the $ sign. This 
 can be
 avoided by using \\$. But it is a headache.


 Can you give us an example for key and entryValue, and if possible
 the exception stacktrace?


 key: subscription-charges
 entryValues: Multitenancy Medium $50

 Here is the stacktrace.

 [2011-05-11 19:56:42,999] ERROR
 {org.wso2.carbon.billing.core.handlers.EmailSendingHandler} -  Error in
 sending the bill for the customer. customer: d.com, invoice id:19
 java.lang.IndexOutOfBoundsException: No group 5   *== Here, it
 breaks at $50. Thats why the 5 is there.If the values was $10, it would 
 say
 No group 1.*
 at java.util.regex.Matcher.group(Matcher.java:470)
 at java.util.regex.Matcher.appendReplacement(Matcher.java:737)
 at java.util.regex.Matcher.replaceAll(Matcher.java:813)
 at java.lang.String.replaceAll(String.java:2189)
 at
 org.wso2.carbon.email.sender.util.Util.replacePlaceHolders(Util.java:97)
 at
 org.wso2.carbon.email.sender.api.EmailSender.getMessageBody(EmailSender.java:106)
 at
 org.wso2.carbon.email.sender.api.EmailSender.sendEmail(EmailSender.java:55)
 at
 org.wso2.carbon.billing.core.handlers.EmailSendingHandler.execute(EmailSendingHandler.java:82)
 at
 org.wso2.carbon.billing.core.BillingEngine.generateBill(BillingEngine.java:77)
 at
 org.wso2.carbon.billing.core.BillingEngine.generateBill(BillingEngine.java:59)
 at
 org.wso2.carbon.billing.core.scheduler.BillingJob.execute(BillingJob.java:42)
 at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
 at
 org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:529)





 Instead, String.replace() can be used and* it too replaces all the
 occurrences* of the string being replaced. i.e. We can use

 *text = text.replace({ + key + }, entry.getValue());

 *Therefore, is it ok that I change the above method with the latter
 mentioned one.

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




 --
 *Afkham Azeez*
 Director of Architecture; WSO2, Inc.; http://wso2.com
 Member; Apache Software Foundation; http://www.apache.org/
 * http://www.apache.org/**
 email: 

Re: [Carbon-dev] [Carbon Studio] Graphical editor for ESB Configuration

2011-05-11 Thread Amila Silva
On Tue, May 10, 2011 at 8:52 PM, Samisa Abeysinghe sam...@wso2.com wrote:

 So between this new design and the old...

I assume, by old design, you mean the existing ESB editor in CS.


 What is the plan to migrate/re-use the existing code?

Since both designs use the EMF model of the ESB, we can re-use most of the
components from the existing ecore model.
However we can't really migrate the code because code of the graphical
representation obtained from GMF is different than that of EMF.


 When do we plan to switch from old to new design?

Since the new design is still in an early stage we cannot exactly say when
it'll be ready to switch to.
Need some feedback on the new design and have to make some decisions.


 I am trying to figure out how we go about making usability improvements in
 ESB space.


 On Tue, May 10, 2011 at 6:44 PM, Amila Silva ami...@wso2.com wrote:

 Hi,

 Uploaded the packs to [1]

 Either use the eclipse distro with the feature installed. Or install the
 feature to a new eclipse.
 Currently, the editor supports service mediation with few mediators.  Also
 added drag and drop support for tools.

 Installing the feature  (will take about 15min)
  
 1. Goto Help-Install New Software.
 2. Point to the location of the zip file.
 3. Untick group items by category and select EsbGraphicalEditor to
 install.
 4. Tick Contact all update sites during install
 5. Click Next and install as usual (while installing it'll download EMF,
 GMF and other required runtime libs)
 6.Restart eclipse


 Trying out
 
 1. Create a new project (for now any type of project, eg: java): Goto
 File-New-Project.
 2. Create a new ESB Diagram: Goto File-New-Other . Select ESB diagram
 from the category Examples
 3. Create a new Server:
a. Select the tool EsbServer and draw. or
b. Drag and drop the tool EsbServer
 4. Proxy services can be added of left side and endpoints can be added to
 right side of the server figure.
Eg: To add a proxy service, select the relevant tool and click on the
 left border (just inside the server).
 5. Proxy services, mediators and enpoints should be connected using the
 tool Esb Link
Eg: To connect a proxy service to a log mediator, select the Esb Link
 tool, point the mouse on output connector of the proxy service (the
 arrowhead pointing outwards) and drag to the input connector of the log
 mediator)
 7. Right click on the diagram and select Export to create the Synapse
 configuration XML.


 [1] -
 http://builder.wso2.org/~carbon/carbon-studio/poc/EsbGraphicalEditor/


 On Tue, May 10, 2011 at 12:03 AM, Amila Silva ami...@wso2.com wrote:



 On Mon, May 9, 2011 at 11:48 PM, Samisa Abeysinghe sam...@wso2.comwrote:



 On Mon, May 9, 2011 at 11:17 PM, Amila Silva ami...@wso2.com wrote:



 On Mon, May 9, 2011 at 10:21 PM, Samisa Abeysinghe sam...@wso2.comwrote:

 I want to run it myself, not a demo

 We can export and provide you the bundles of those projects tomorrow.
 (As it's not included in the builds right now.)
 If you want to try it now, I can provide the instructions on importing
 the necessary projects and running them.


 I cannot build on windows. Can you provide a snapshot pack?

 Sure. We'll provide tomorrow.



 On Mon, May 9, 2011 at 10:18 PM, Saminda Wijeratne samin...@wso2.com
  wrote:

 Amila/Melan,

 Lets have a small demo on what we currently have. Create a rough
 milestone plan for the tasks ahead.

 Saminda


 On Mon, May 9, 2011 at 10:15 PM, Samisa Abeysinghe 
 sam...@wso2.comwrote:

 How can I try what we have as of now?


 On Mon, May 9, 2011 at 10:14 PM, Amila Silva ami...@wso2.comwrote:

 Hi,

 Yes, we started working on this.

 Contacted the previous developer (Asiri) and got some clarification
 on the existing ecore model. We decided to extend that model. Now we 
 are
 adding mediator sequence support. And doing some UI improvements 
 (with gmf
 graphical definition model).
 In the following days, we hope to add support for more mediators to
 the graph and work on the persistence part simultaneously.

 On Mon, May 9, 2011 at 9:49 PM, Samisa Abeysinghe sam...@wso2.com
  wrote:

 Are you guys working on this?

 On Wed, Apr 27, 2011 at 3:29 PM, Amila Silva ami...@wso2.comwrote:

 Hi,

 Me and Melan are going to resume developing $subject after we
 complete bug-fixing on CS branch.
 This editor, once finished, will enable users to create ESB
 configurations with a UI similar to an architectural diagram of 
 mediation
 engine.
 [image: synapse-flow.png]

 ESB domain model (ecore) will be used as the starting point. and
 the editor uses Graphical Modeling Framework (GMF) for code 
 generation.
 This editor has been started some time ago. Currently it is a
 basic diagram editor with graphical representation of Server, Proxy
 Services, Endpoints and two types of mediators. We hope to extend 
 on this
 existing code.
 Past few weeks we've been studying GMF and working on getting a
 working prototype
 The basic 

Re: [Carbon-dev] Why print Carbon home and Java home at server start up?

2011-05-11 Thread Charitha Kankanamge
+1. Yes this is very useful. We have seen similar logs with most of the
application servers such as WL, WS as well.

/Charitha


On Wed, May 11, 2011 at 6:41 AM, Hiranya Jayathilaka hira...@wso2.comwrote:



 Sent from my iPhone

 On May 11, 2011, at 6:23 AM, Danushka Menikkumbura danus...@wso2.com
 wrote:

 I think we should have a start up option to display them rather than
 showing them all the time.


 What's wrong with logging it at startup? It's a useful thing IMO.


 Danushka

 On Tue, May 10, 2011 at 5:38 PM, Afkham Azeez  az...@wso2.com
 az...@wso2.com wrote:

 Why not?

 This has been added because people have been coming to me from time to
 time showing various weird errors, which resulted in many wasted hours. The
 root cause was CARBON_HOME has been set to something else in their
 bash_profile files.


 On Tue, May 10, 2011 at 5:08 PM, Danushka Menikkumbura danus...@wso2.com
 danus...@wso2.com wrote:



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




 --
 *Afkham Azeez*
 Director of Architecture; WSO2, Inc.; http://wso2.com
 Member; Apache Software Foundation; http://www.apache.org/
 http://www.apache.org/
 * 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
 http://lk.linkedin.com/in/afkhamazeez*
 *
 *
 *Lean . Enterprise . Middleware*


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


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


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


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


[Carbon-dev] WSO2 Carbon Continuous Build was SUCCESSFUL

2011-05-11 Thread WSO2 Carbon-Builder
[INFO] Extracting feature org.wso2.carbon:org.wso2.carbon.sts.feature
[INFO] Extracting feature org.wso2.carbon:org.wso2.carbon.servicehosting.feature
[INFO] Extracting feature org.wso2.carbon:org.wso2.carbon.dataservices.feature
[INFO] Extracting feature org.wso2.carbon:org.wso2.carbon.transport.mgt.feature
[INFO] Extracting feature org.wso2.carbon:org.wso2.carbon.transport.jms.feature
[INFO] Extracting feature org.wso2.carbon:org.wso2.carbon.transport.mail.feature
[INFO] Extracting feature 
org.wso2.carbon:org.wso2.carbon.statistics.transport.feature
[INFO] Extracting feature 
org.wso2.carbon:org.wso2.carbon.discovery.client.feature
[INFO] Extracting feature org.wso2.carbon:org.wso2.carbon.discovery.core.feature
[INFO] Extracting feature 
org.wso2.carbon:org.wso2.carbon.discovery.mediation.ext.feature
[INFO] Extracting feature 
org.wso2.carbon:org.wso2.carbon.discovery.proxy.feature
[INFO] Extracting feature org.wso2.carbon:org.wso2.carbon.discovery.ui.feature
[INFO] Extracting feature org.wso2.carbon:org.wso2.carbon.wsdl.tools.feature
[INFO] Extracting feature 
org.wso2.carbon:org.wso2.carbon.wsdl.tools.server.feature
[INFO] Extracting feature org.wso2.carbon:org.wso2.carbon.wsdl.tools.ui.feature
[INFO] Extracting feature org.wso2.carbon:org.wso2.carbon.xkms.mgt.feature
[INFO] Extracting feature 
org.wso2.carbon:org.wso2.carbon.multiple.instance.feature
[INFO] Extracting feature org.wso2.esb:org.wso2.esb.styles.feature
[INFO] Extracting feature org.wso2.governance:org.wso2.governance.styles.feature
[INFO] Extracting feature org.wso2.gs:org.wso2.gs.styles.feature
[INFO] Extracting feature org.wso2.gs:org.wso2.gs.menu.feature
[INFO] Extracting feature org.wso2.identity:org.wso2.identity.styles.feature
[INFO] Extracting feature org.wso2.identity:org.wso2.identity.utils.feature
[INFO] Extracting feature org.wso2.ms:org.wso2.ms.styles.feature
[INFO] Extracting feature org.wso2.appserver:org.wso2.appserver.styles.feature
[INFO] Extracting feature org.wso2.appserver:org.wso2.appserver.utils.feature
[INFO] Extracting feature 
org.wso2.carbon:org.wso2.carbon.cloud.csg.agent.feature
[INFO] Extracting feature org.wso2.carbon:org.wso2.carbon.cloud.csg.feature
[INFO] Extracting feature 
org.wso2.carbon:org.wso2.carbon.application.mgt.webapp.feature
[INFO] Extracting feature 
org.wso2.carbon:org.wso2.carbon.application.deployer.webapp.feature
[INFO] Extracting feature 
org.wso2.carbon:org.wso2.carbon.unifiedendpoint.server.feature
[INFO] Extracting feature org.wso2.carbon:org.wso2.carbon.event.feature
[INFO] Extracting feature org.wso2.carbon:org.wso2.carbon.messagebox.feature
[INFO] Copying resources
[INFO] Running Equinox P2 Publisher Application for Repository Generation
[INFO] Generating metadata for ..
[INFO] Generation completed with success [44 seconds].
[INFO] Running Equinox P2 Category Publisher Application for the Generated 
Repository
[INFO] [install:install {execution: default-install}]
[INFO] Installing /home/carbon/carbon/features/repository/pom.xml to 
/home/carbon/.m2/repository/org/wso2/carbon/wso2carbon-feature-repository/3.2.0-SNAPSHOT/wso2carbon-feature-repository-3.2.0-SNAPSHOT.pom
[INFO] 
[INFO] BUILD SUCCESSFUL
[INFO] 
[INFO] Total time: 1 minute 53 seconds
[INFO] Finished at: Wed May 11 23:15:25 IST 2011
[INFO] Final Memory: 32M/1962M
[INFO] 
2011-05-11_23-08-51
Carbon  packs are available at : 
http://10.100.1.43/~carbon/releases/carbon/3.2.0/latest/
tail -n50 $CARBON_SRC_HOME/build.log
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Why print Carbon home and Java home at server start up?

2011-05-11 Thread Senaka Fernando
On Wed, May 11, 2011 at 11:13 PM, Charitha Kankanamge chari...@wso2.comwrote:

 +1. Yes this is very useful. We have seen similar logs with most of the
 application servers such as WL, WS as well.


+1. Even I have seen this in many Application Servers and Standalone Java
Products. And, besides that, both of these are very useful information
(especially CARBON_HOME, as it may be auto-computed by the start-up script).

Thanks,
Senaka.


 /Charitha



 On Wed, May 11, 2011 at 6:41 AM, Hiranya Jayathilaka hira...@wso2.comwrote:



 Sent from my iPhone

 On May 11, 2011, at 6:23 AM, Danushka Menikkumbura danus...@wso2.com
 wrote:

 I think we should have a start up option to display them rather than
 showing them all the time.


 What's wrong with logging it at startup? It's a useful thing IMO.


 Danushka

 On Tue, May 10, 2011 at 5:38 PM, Afkham Azeez  az...@wso2.com
 az...@wso2.com wrote:

 Why not?

 This has been added because people have been coming to me from time to
 time showing various weird errors, which resulted in many wasted hours. The
 root cause was CARBON_HOME has been set to something else in their
 bash_profile files.


 On Tue, May 10, 2011 at 5:08 PM, Danushka Menikkumbura danus...@wso2.com
 danus...@wso2.com wrote:



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




 --
 *Afkham Azeez*
 Director of Architecture; WSO2, Inc.; http://wso2.com
 Member; Apache Software Foundation; http://www.apache.org/
 http://www.apache.org/
 * 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
 http://lk.linkedin.com/in/afkhamazeez*
 *
 *
 *Lean . Enterprise . Middleware*


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


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


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



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




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

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

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


[Carbon-dev] WSO2 Carbon Continuous Build has FAILED

2011-05-11 Thread WSO2 Carbon-Builder
May 12, 2011 1:14:08 AM wssec.TestWSSecuritySignatureParts 
testSOAPHeaderSTRTransform
INFO: After SAMLSignedKeyHolder
May 12, 2011 1:14:08 AM org.apache.ws.security.saml.SAMLIssuerFactory loadClass
INFO: Using Crypto Engine [org.apache.ws.security.saml.SAMLIssuerImpl]
May 12, 2011 1:14:08 AM org.apache.ws.security.saml.SAMLIssuerFactory loadClass
INFO: Using Crypto Engine [org.apache.ws.security.saml.SAMLIssuerImpl]
May 12, 2011 1:14:08 AM wssec.TestWSSecurityWSS199 verify
INFO: Before verifying UsernameToken
May 12, 2011 1:14:08 AM wssec.TestWSSecurityWSS199 verify
INFO: Before verifying UsernameToken
May 12, 2011 1:14:08 AM wssec.TestWSSecurityWSS199 verify
INFO: After verifying UsernameToken
May 12, 2011 1:14:08 AM wssec.TestWSSecurityWSS234 testSignature
INFO: Before Signing
Tests run: 160, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 21.247 sec 
 FAILURE!
testDerivedKeyChangedSignature(wssec.TestWSSecurityUTDK)  Time elapsed: 0.01 
sec   ERROR!
java.lang.Exception: Failure expected on a bad derived signature
at 
wssec.TestWSSecurityUTDK.testDerivedKeyChangedSignature(TestWSSecurityUTDK.java:519)

Running components.PackageTests
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.03 sec

Results :

Tests in error: 
  testDerivedKeyChangedSignature(wssec.TestWSSecurityUTDK)

Tests run: 167, Failures: 0, Errors: 1, Skipped: 0

[INFO] 
[ERROR] BUILD FAILURE
[INFO] 
[INFO] There are test failures.

Please refer to /home/carbon/carbon/dependencies/wss4j/target/surefire-reports 
for the individual test results.
[INFO] 
[INFO] Trace
org.apache.maven.BuildFailureException: There are test failures.

Please refer to /home/carbon/carbon/dependencies/wss4j/target/surefire-reports 
for the individual test results.
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:715)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
at 
org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.plugin.MojoFailureException: There are test 
failures.

Please refer to /home/carbon/carbon/dependencies/wss4j/target/surefire-reports 
for the individual test results.
at 
org.apache.maven.plugin.surefire.SurefireHelper.reportExecution(SurefireHelper.java:55)
at 
org.apache.maven.plugin.surefire.SurefirePlugin.execute(SurefirePlugin.java:592)
at 
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
... 17 more
[INFO] 
[INFO] Total time: 73 minutes 5 seconds
[INFO] Finished at: Thu May 12 01:14:09 IST 2011
[INFO] Final Memory: 1192M/1891M
[INFO] 
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] WSO2 Carbon Continuous Build has FAILED

2011-05-11 Thread Thilina Buddhika
This seems to be another random test failure we observe in the builder
machine. I was able to build WSS4J with tests in the builder machine without
any issues and in the local build as well.

So let's wait until the next round.

Thanks,
Thilina

On Thu, May 12, 2011 at 1:14 AM, WSO2 Carbon-Builder cbuil...@wso2.orgwrote:

 May 12, 2011 1:14:08 AM wssec.TestWSSecuritySignatureParts
 testSOAPHeaderSTRTransform
 INFO: After SAMLSignedKeyHolder
 May 12, 2011 1:14:08 AM org.apache.ws.security.saml.SAMLIssuerFactory
 loadClass
 INFO: Using Crypto Engine [org.apache.ws.security.saml.SAMLIssuerImpl]
 May 12, 2011 1:14:08 AM org.apache.ws.security.saml.SAMLIssuerFactory
 loadClass
 INFO: Using Crypto Engine [org.apache.ws.security.saml.SAMLIssuerImpl]
 May 12, 2011 1:14:08 AM wssec.TestWSSecurityWSS199 verify
 INFO: Before verifying UsernameToken
 May 12, 2011 1:14:08 AM wssec.TestWSSecurityWSS199 verify
 INFO: Before verifying UsernameToken
 May 12, 2011 1:14:08 AM wssec.TestWSSecurityWSS199 verify
 INFO: After verifying UsernameToken
 May 12, 2011 1:14:08 AM wssec.TestWSSecurityWSS234 testSignature
 INFO: Before Signing
 Tests run: 160, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 21.247
 sec  FAILURE!
 testDerivedKeyChangedSignature(wssec.TestWSSecurityUTDK)  Time elapsed:
 0.01 sec   ERROR!
 java.lang.Exception: Failure expected on a bad derived signature
at
 wssec.TestWSSecurityUTDK.testDerivedKeyChangedSignature(TestWSSecurityUTDK.java:519)

 Running components.PackageTests
 Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.03 sec

 Results :

 Tests in error:
  testDerivedKeyChangedSignature(wssec.TestWSSecurityUTDK)

 Tests run: 167, Failures: 0, Errors: 1, Skipped: 0

 [INFO]
 
 [ERROR] BUILD FAILURE
 [INFO]
 
 [INFO] There are test failures.

 Please refer to
 /home/carbon/carbon/dependencies/wss4j/target/surefire-reports for the
 individual test results.
 [INFO]
 
 [INFO] Trace
 org.apache.maven.BuildFailureException: There are test failures.

 Please refer to
 /home/carbon/carbon/dependencies/wss4j/target/surefire-reports for the
 individual test results.
at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:715)
at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556)
at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535)
at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348)
at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
at
 org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
 org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at
 org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
 Caused by: org.apache.maven.plugin.MojoFailureException: There are test
 failures.

 Please refer to
 /home/carbon/carbon/dependencies/wss4j/target/surefire-reports for the
 individual test results.
at
 org.apache.maven.plugin.surefire.SurefireHelper.reportExecution(SurefireHelper.java:55)
at
 org.apache.maven.plugin.surefire.SurefirePlugin.execute(SurefirePlugin.java:592)
at
 org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)
at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
... 17 more
 [INFO]
 
 [INFO] Total time: 73 minutes 5 seconds
 [INFO] Finished at: Thu May 12 01:14:09 IST 2011
 [INFO] Final Memory: 1192M/1891M
 [INFO]
 
 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 

[Carbon-dev] Moving Synapse Secure Vault Code to WSO2-Commons

2011-05-11 Thread Asela Pathberiya
Hi All,

We are going to move the synapse secure vault code in to the Wso2-commons
for this release,  AFAIK, there was a discussion on moving synapse secure
vault to the WS-Commons, But it seems to be delay. Patch which is in jira
[1] must be applied to the Carbon  3.2.0 axis2  branch. If patch is applied
without moving the secure vault, this would create a synapse dependency for
axis2.
New package name would be org.wso2.securevault instead of
org.apache.synapse.securevault

Please let us know if there are any objections.

[1] https://issues.apache.org/jira/browse/AXIS2-4725

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


Re: [Carbon-dev] WSO2 Carbon Continuous Build was SUCCESSFUL

2011-05-11 Thread Hasini Gunasinghe
Hi,

Smoke tests were done on the IS pack: 11-May-2011 08:20, hosted at [1].

[1] http://builder.wso2.org/~carbon/releases/carbon/3.2.0/latest/
Thanks,
Hasini.

On Wed, May 11, 2011 at 6:44 PM, Lalaji Sureshika lal...@wso2.com wrote:

 Hi,

 Smoke tests are done for MS pack.

 Thanks,

 Best Regards,


 On Wed, May 11, 2011 at 4:42 PM, Manjula Rathnayake manju...@wso2.comwrote:

 Hi,

 Smoke test done for MB pack.

 Thank you.


 On Wed, May 11, 2011 at 5:04 PM, Dinithi Nallaperuma dini...@wso2.comwrote:

 Hi

 Smoke tests on the GS pack have been completed.

 --
 Regards,
 Dinithi Nallaperuma


 On Wed, May 11, 2011 at 2:33 PM, Samisa Abeysinghe sam...@wso2.comwrote:



 On Wed, May 11, 2011 at 2:04 PM, Afkham Azeez az...@wso2.com wrote:

 Can the RMs please verify these packs, and give another set to QA  to
 be deployed on private cloud?


 Note that this EC2 build run without tests.

 The local build that run with tests is failing



 On Wed, May 11, 2011 at 2:01 PM, WSO2 EC2 Carbon Builder 
 cbuil...@wso2.org wrote:

 [INFO] Extracting feature org.wso2.carbon:org.wso2.carbon.sts.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.servicehosting.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.dataservices.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.transport.mgt.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.transport.jms.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.transport.mail.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.statistics.transport.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.discovery.client.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.discovery.core.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.discovery.mediation.ext.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.discovery.proxy.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.discovery.ui.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.wsdl.tools.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.wsdl.tools.server.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.wsdl.tools.ui.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.xkms.mgt.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.multiple.instance.feature
 [INFO] Extracting feature org.wso2.esb:org.wso2.esb.styles.feature
 [INFO] Extracting feature
 org.wso2.governance:org.wso2.governance.styles.feature
 [INFO] Extracting feature org.wso2.gs:org.wso2.gs.styles.feature
 [INFO] Extracting feature org.wso2.gs:org.wso2.gs.menu.feature
 [INFO] Extracting feature
 org.wso2.identity:org.wso2.identity.styles.feature
 [INFO] Extracting feature
 org.wso2.identity:org.wso2.identity.utils.feature
 [INFO] Extracting feature org.wso2.ms:org.wso2.ms.styles.feature
 [INFO] Extracting feature
 org.wso2.appserver:org.wso2.appserver.styles.feature
 [INFO] Extracting feature
 org.wso2.appserver:org.wso2.appserver.utils.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.cloud.csg.agent.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.cloud.csg.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.application.mgt.webapp.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.application.deployer.webapp.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.unifiedendpoint.server.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.event.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.messagebox.feature
 [INFO] Copying resources
 [INFO] Running Equinox P2 Publisher Application for Repository
 Generation
 [INFO] Generating metadata for ..
 [INFO] Generation completed with success [53 seconds].
 [INFO] Running Equinox P2 Category Publisher Application for the
 Generated Repository
 [INFO] [install:install {execution: default-install}]
 [INFO] Installing /home/carbon/carbon/features/repository/pom.xml to
 /home/carbon/.m2/repository/org/wso2/carbon/wso2carbon-feature-repository/3.2.0-SNAPSHOT/wso2carbon-feature-repository-3.2.0-SNAPSHOT.pom
 [INFO]
 
 [INFO] BUILD SUCCESSFUL
 [INFO]
 
 [INFO] Total time: 2 minutes 40 seconds
 [INFO] Finished at: Wed May 11 08:31:37 UTC 2011
 [INFO] Final Memory: 25M/981M
 [INFO]
 
 2011-05-11_08-16-52
 Carbon  packs are available at :
 http://builder.wso2.org/~carbon/releases/carbon/3.2.0/latest/
 tail -n50 $CARBON_SRC_HOME/build.log
 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




 --
 *Afkham Azeez*
 Director of Architecture; 

Re: [Carbon-dev] WSO2 Carbon Continuous Build was SUCCESSFUL

2011-05-11 Thread Kasun Indrasiri
ESB build is stable but some of the important blocker fixes are not included
in this ESB build. We are working on giving a new ESB with in next hour or
so.

On Thu, May 12, 2011 at 10:03 AM, Hasini Gunasinghe has...@wso2.com wrote:

 Hi,

 Smoke tests were done on the IS pack: 11-May-2011 08:20, hosted at [1].

 [1] http://builder.wso2.org/~carbon/releases/carbon/3.2.0/latest/
 Thanks,
 Hasini.


 On Wed, May 11, 2011 at 6:44 PM, Lalaji Sureshika lal...@wso2.com wrote:

 Hi,

 Smoke tests are done for MS pack.

 Thanks,

 Best Regards,


 On Wed, May 11, 2011 at 4:42 PM, Manjula Rathnayake manju...@wso2.comwrote:

 Hi,

 Smoke test done for MB pack.

 Thank you.


 On Wed, May 11, 2011 at 5:04 PM, Dinithi Nallaperuma 
 dini...@wso2.comwrote:

 Hi

 Smoke tests on the GS pack have been completed.

 --
 Regards,
 Dinithi Nallaperuma


 On Wed, May 11, 2011 at 2:33 PM, Samisa Abeysinghe sam...@wso2.comwrote:



 On Wed, May 11, 2011 at 2:04 PM, Afkham Azeez az...@wso2.com wrote:

 Can the RMs please verify these packs, and give another set to QA  to
 be deployed on private cloud?


 Note that this EC2 build run without tests.

 The local build that run with tests is failing



 On Wed, May 11, 2011 at 2:01 PM, WSO2 EC2 Carbon Builder 
 cbuil...@wso2.org wrote:

 [INFO] Extracting feature org.wso2.carbon:org.wso2.carbon.sts.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.servicehosting.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.dataservices.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.transport.mgt.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.transport.jms.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.transport.mail.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.statistics.transport.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.discovery.client.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.discovery.core.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.discovery.mediation.ext.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.discovery.proxy.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.discovery.ui.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.wsdl.tools.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.wsdl.tools.server.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.wsdl.tools.ui.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.xkms.mgt.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.multiple.instance.feature
 [INFO] Extracting feature org.wso2.esb:org.wso2.esb.styles.feature
 [INFO] Extracting feature
 org.wso2.governance:org.wso2.governance.styles.feature
 [INFO] Extracting feature org.wso2.gs:org.wso2.gs.styles.feature
 [INFO] Extracting feature org.wso2.gs:org.wso2.gs.menu.feature
 [INFO] Extracting feature
 org.wso2.identity:org.wso2.identity.styles.feature
 [INFO] Extracting feature
 org.wso2.identity:org.wso2.identity.utils.feature
 [INFO] Extracting feature org.wso2.ms:org.wso2.ms.styles.feature
 [INFO] Extracting feature
 org.wso2.appserver:org.wso2.appserver.styles.feature
 [INFO] Extracting feature
 org.wso2.appserver:org.wso2.appserver.utils.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.cloud.csg.agent.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.cloud.csg.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.application.mgt.webapp.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.application.deployer.webapp.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.unifiedendpoint.server.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.event.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.messagebox.feature
 [INFO] Copying resources
 [INFO] Running Equinox P2 Publisher Application for Repository
 Generation
 [INFO] Generating metadata for ..
 [INFO] Generation completed with success [53 seconds].
 [INFO] Running Equinox P2 Category Publisher Application for the
 Generated Repository
 [INFO] [install:install {execution: default-install}]
 [INFO] Installing /home/carbon/carbon/features/repository/pom.xml to
 /home/carbon/.m2/repository/org/wso2/carbon/wso2carbon-feature-repository/3.2.0-SNAPSHOT/wso2carbon-feature-repository-3.2.0-SNAPSHOT.pom
 [INFO]
 
 [INFO] BUILD SUCCESSFUL
 [INFO]
 
 [INFO] Total time: 2 minutes 40 seconds
 [INFO] Finished at: Wed May 11 08:31:37 UTC 2011
 [INFO] Final Memory: 25M/981M
 [INFO]
 
 2011-05-11_08-16-52
 Carbon  packs are available at :
 http://builder.wso2.org/~carbon/releases/carbon/3.2.0/latest/

Re: [Carbon-dev] WSO2 Carbon Continuous Build was SUCCESSFUL

2011-05-11 Thread Supun Malinga
Hi,

smoke testing for AppServer is done for pack on,1-May-2011 08:24.
thanks,
SupunM

On Thu, May 12, 2011 at 10:45 AM, Kasun Indrasiri ka...@wso2.com wrote:

 ESB build is stable but some of the important blocker fixes are not
 included in this ESB build. We are working on giving a new ESB with in next
 hour or so.


 On Thu, May 12, 2011 at 10:03 AM, Hasini Gunasinghe has...@wso2.comwrote:

 Hi,

 Smoke tests were done on the IS pack: 11-May-2011 08:20, hosted at [1].

 [1] http://builder.wso2.org/~carbon/releases/carbon/3.2.0/latest/
 Thanks,
 Hasini.


 On Wed, May 11, 2011 at 6:44 PM, Lalaji Sureshika lal...@wso2.comwrote:

 Hi,

 Smoke tests are done for MS pack.

 Thanks,

 Best Regards,


 On Wed, May 11, 2011 at 4:42 PM, Manjula Rathnayake 
 manju...@wso2.comwrote:

 Hi,

 Smoke test done for MB pack.

 Thank you.


 On Wed, May 11, 2011 at 5:04 PM, Dinithi Nallaperuma 
 dini...@wso2.comwrote:

 Hi

 Smoke tests on the GS pack have been completed.

 --
 Regards,
 Dinithi Nallaperuma


 On Wed, May 11, 2011 at 2:33 PM, Samisa Abeysinghe sam...@wso2.comwrote:



 On Wed, May 11, 2011 at 2:04 PM, Afkham Azeez az...@wso2.com wrote:

 Can the RMs please verify these packs, and give another set to QA 
 to be deployed on private cloud?


 Note that this EC2 build run without tests.

 The local build that run with tests is failing



 On Wed, May 11, 2011 at 2:01 PM, WSO2 EC2 Carbon Builder 
 cbuil...@wso2.org wrote:

 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.sts.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.servicehosting.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.dataservices.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.transport.mgt.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.transport.jms.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.transport.mail.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.statistics.transport.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.discovery.client.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.discovery.core.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.discovery.mediation.ext.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.discovery.proxy.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.discovery.ui.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.wsdl.tools.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.wsdl.tools.server.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.wsdl.tools.ui.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.xkms.mgt.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.multiple.instance.feature
 [INFO] Extracting feature org.wso2.esb:org.wso2.esb.styles.feature
 [INFO] Extracting feature
 org.wso2.governance:org.wso2.governance.styles.feature
 [INFO] Extracting feature org.wso2.gs:org.wso2.gs.styles.feature
 [INFO] Extracting feature org.wso2.gs:org.wso2.gs.menu.feature
 [INFO] Extracting feature
 org.wso2.identity:org.wso2.identity.styles.feature
 [INFO] Extracting feature
 org.wso2.identity:org.wso2.identity.utils.feature
 [INFO] Extracting feature org.wso2.ms:org.wso2.ms.styles.feature
 [INFO] Extracting feature
 org.wso2.appserver:org.wso2.appserver.styles.feature
 [INFO] Extracting feature
 org.wso2.appserver:org.wso2.appserver.utils.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.cloud.csg.agent.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.cloud.csg.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.application.mgt.webapp.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.application.deployer.webapp.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.unifiedendpoint.server.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.event.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.messagebox.feature
 [INFO] Copying resources
 [INFO] Running Equinox P2 Publisher Application for Repository
 Generation
 [INFO] Generating metadata for ..
 [INFO] Generation completed with success [53 seconds].
 [INFO] Running Equinox P2 Category Publisher Application for the
 Generated Repository
 [INFO] [install:install {execution: default-install}]
 [INFO] Installing /home/carbon/carbon/features/repository/pom.xml to
 /home/carbon/.m2/repository/org/wso2/carbon/wso2carbon-feature-repository/3.2.0-SNAPSHOT/wso2carbon-feature-repository-3.2.0-SNAPSHOT.pom
 [INFO]
 
 [INFO] BUILD SUCCESSFUL
 [INFO]
 
 [INFO] Total time: 2 minutes 40 seconds
 [INFO] Finished at: Wed May 11 08:31:37 UTC 2011
 [INFO] Final Memory: 25M/981M
 [INFO]
 

[Carbon-dev] Notes from the Registry UI evaluation held on 10/05/201

2011-05-11 Thread Fazlan Sabar
Hi Everyone,

Following are the meeting notes from the discussion we had on 10/05/2011
with regards to Registry UI evaluation.

*From Services' menu UI*
- Documentation links needs to be more useful.
- Documentation links needs to be renamed into something more
understandable.
- Replace the variable number of fields with 'Add' button.
   Have 'Add' button when adding aspects. Have one entry as default.

*Level of information should be decoupled/divided*
- High level business information from technical information must be
separated.
- We need some strong use-cases to drive the scenarios.
- Simplify the Service UI for business, have a separate UI for technical if
needed.
- Need to get rid of namespace being mandatory.
- Have the documentation links associated with other mandatory fields.
- What are 'Environment'(drop-down) values in Services menu? Make them more
understandable.

*Concept of Location*
- We need a concept of Location, but neither location nor namespace should
be mandatory.

*Service Life-cycle*
- Need to have a differentiation between business/technical information.
   Suggestions popped out:
  Have options like 'Advance', to separate the two models. e.g: Service
interface vs business service.

*Lacks in consistency with regards to the UI platform*
- Advance Search of Services UI (e.g: listing the results).
- Filtering, should be renamed to something like 'Advance Search'.
- Message displayed when deleting a service needs to show the service name
as well.

*Browser View of Services*
- Currently, services with the same namepsace and service name are not
accommodated.
- The way we represent information needs to be systematic.
- May need to have read only pages when viewing.
- View and edit are the same, need to have a separate view page.
- Display the text content where appropriate by default, this will reduce
the number of clicks for the user.

*Need a separate read and edit view, as in ESB*
- Standard view should be appearing on top.
- Have source and design view when viewing WSDL.
- Have text displayed when standard view is clicked.

*When adding WSDLs*
- URL should be appearing in CAPS in drop-down menu.
- Message box should appear as in Service Management, need a convention as
in Service Management UI.

*Resource UI*
- Separate UI needed for WSDLs, not via the registry browser.
- Resource Browser UI needs to be faced out.
- 'Tree view' and 'Details view' needs to be changed for registry browsing.
- SLA policies needs to be separated for technical information(WSDL
policies).
- We also need to create a link between service management and service
definition. Right now, these two UIs are totally disconnected.

*Dashboard needs to be removed*

*From release POV*
 - This release:
   - Focus on functionality, filtering and basic changes.

- Next release:
   - Focus on usability issues, current UI is overly cluttered.

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