Re: [Dev] Massive amounts of Time spent on Building Dependencies with Ant-based Build Systems
Hi, The build still takes for ever printing [ivy:resolve] logs. Did we remove these dependencies from the build yet. At the moment I am trying to get past dependencies build excluding hive, hadoop, andes .. :( On Wed, May 16, 2012 at 7:24 PM, Afkham Azeez az...@wso2.com wrote: I'm going to remove; dependencies/hive dependencies/orbit/hive features/analytics for the moment to get the build working On Wed, May 16, 2012 at 7:19 PM, Tharindu Mathew thari...@wso2.comwrote: I believe, we need the source when we modify a dependency, so that it will work with Carbon. Will get the orbit jar added to the repo, so this can be taken out of the build... On Wed, May 16, 2012 at 6:45 PM, Afkham Azeez az...@wso2.com wrote: Buddhika, Seems like you have added hive. Please get rid of it. We put MASSIVE amounts of effort to make the platform build fast in the past few months, and all that has been undone by adding these dependencies that take many hours to build. Build those locally and add those to the SNAPSHOT repo. Anyway, why do we need to keep the source code and build it? Why are we modifying it? On Wed, May 16, 2012 at 6:41 PM, Afkham Azeez az...@wso2.com wrote: Folks Please get rid of these dependencies. We are trying to do a critical fix to the platform, yet have to wait for serveral hours just to get past this ivy:resolve.. Upload those artifacts to the snapshot repo! On Sat, May 12, 2012 at 12:28 PM, Senaka Fernando sen...@wso2.comwrote: Hi all, None of Maven's benefits are useful while building dependencies inside the platform having ant-based build systems. Can we exclude them from the build? Its a tremendous amount of time spent to do a build due to dependencies such as Cassandra, Andes and Hive. Thanks, Senaka. -- *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://linkedin.com/in/senakafernando *Lean . Enterprise . Middleware ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Afkham Azeez* Director of Architecture; WSO2, Inc.; http://wso2.com Member; Apache Software Foundation; http://www.apache.org/ * 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* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Regards, Tharindu blog: http://mackiemathew.com/ M: +9459908 -- *Afkham Azeez* Director of Architecture; WSO2, Inc.; http://wso2.com Member; Apache Software Foundation; http://www.apache.org/ * http://www.apache.org/** email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919 blog: **http://blog.afkham.org* http://blog.afkham.org* twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez * linked-in: **http://lk.linkedin.com/in/afkhamazeez* * * *Lean . Enterprise . Middleware* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Thanks, Shariq. Phone: +94 777 202 225 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Massive amounts of Time spent on Building Dependencies with Ant-based Build Systems
hive has been added to WSO2 Maven repo. Please add hadoop etc to WSO2 repo, and remove it from the POMs. On Mon, May 21, 2012 at 11:57 AM, Muhammed Shariq sha...@wso2.com wrote: Hi, The build still takes for ever printing [ivy:resolve] logs. Did we remove these dependencies from the build yet. At the moment I am trying to get past dependencies build excluding hive, hadoop, andes .. :( On Wed, May 16, 2012 at 7:24 PM, Afkham Azeez az...@wso2.com wrote: I'm going to remove; dependencies/hive dependencies/orbit/hive features/analytics for the moment to get the build working On Wed, May 16, 2012 at 7:19 PM, Tharindu Mathew thari...@wso2.comwrote: I believe, we need the source when we modify a dependency, so that it will work with Carbon. Will get the orbit jar added to the repo, so this can be taken out of the build... On Wed, May 16, 2012 at 6:45 PM, Afkham Azeez az...@wso2.com wrote: Buddhika, Seems like you have added hive. Please get rid of it. We put MASSIVE amounts of effort to make the platform build fast in the past few months, and all that has been undone by adding these dependencies that take many hours to build. Build those locally and add those to the SNAPSHOT repo. Anyway, why do we need to keep the source code and build it? Why are we modifying it? On Wed, May 16, 2012 at 6:41 PM, Afkham Azeez az...@wso2.com wrote: Folks Please get rid of these dependencies. We are trying to do a critical fix to the platform, yet have to wait for serveral hours just to get past this ivy:resolve.. Upload those artifacts to the snapshot repo! On Sat, May 12, 2012 at 12:28 PM, Senaka Fernando sen...@wso2.comwrote: Hi all, None of Maven's benefits are useful while building dependencies inside the platform having ant-based build systems. Can we exclude them from the build? Its a tremendous amount of time spent to do a build due to dependencies such as Cassandra, Andes and Hive. Thanks, Senaka. -- *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://linkedin.com/in/senakafernando *Lean . Enterprise . Middleware ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Afkham Azeez* Director of Architecture; WSO2, Inc.; http://wso2.com Member; Apache Software Foundation; http://www.apache.org/ * 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* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Regards, Tharindu blog: http://mackiemathew.com/ M: +9459908 -- *Afkham Azeez* Director of Architecture; WSO2, Inc.; http://wso2.com Member; Apache Software Foundation; http://www.apache.org/ * http://www.apache.org/** email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919 blog: **http://blog.afkham.org* http://blog.afkham.org* twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez * linked-in: **http://lk.linkedin.com/in/afkhamazeez* * * *Lean . Enterprise . Middleware* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Thanks, Shariq. Phone: +94 777 202 225 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Afkham Azeez* Director of Architecture; WSO2, Inc.; http://wso2.com Member; Apache Software Foundation; http://www.apache.org/ * http://www.apache.org/** email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919 blog: **http://blog.afkham.org* http://blog.afkham.org* twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez * linked-in: **http://lk.linkedin.com/in/afkhamazeez* * * *Lean . Enterprise . Middleware* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Platform Build failure
I am still getting this. [ERROR] The project org.apache.maven.scm:maven-scm-provider-svnexe:1.7.wso2v1 (/Volumes/Data/projects/c/platform/trunk/dependencies/maven-scm-provider-svnexe/pom.xml) has 1 error [ERROR] Non-resolvable parent POM: The repository system is offline but the artifact org.apache.maven.scm:maven-scm-providers-svn:pom:1.7 is not available in the local repository. and 'parent.relativePath' points at wrong local POM @ line 25, column 11 - [Help 2] On Thu, May 17, 2012 at 10:58 AM, Amila Maha Arachchi ami...@wso2.comwrote: Have you built platform/parent module. Seems like ${orbit.version.maven-scm}http://maven.wso2.org/nexus/content/groups/wso2-public/org/apache/maven/scm/wso2/maven-scm/$%7Borbit.version.maven-scm%7D/maven-scm-$%7Borbit.version.maven-scm%7D.pomproperty cannot be resolved. It is defined in the platform/parent/pom.xml Regards, AmilaM. On Thu, May 17, 2012 at 10:35 AM, Maheshika Goonetilleke mahesh...@wso2.com wrote: Hi All The below error occurs while trying to build platform; [ERROR] Failed to execute goal on project org.wso2.carbon.registry.ws.client: Could not resolve dependencies for project org.wso2.carbon:org.wso2.carbon.registry.ws.client:bundle:4.0.0-SNAPSHOT: Failed to collect dependencies for [org.apache.axis2.wso2:axis2:jar:1.6.1.wso2v5 (compile), org.apache.rampart.wso2:rampart-core:jar:1.6.1.wso2v4 (compile), org.apache.rampart.wso2:rampart-policy:jar:1.6.1.wso2v4 (compile), org.apache.rampart.wso2:rampart-trust:jar:1.6.1.wso2v4 (compile), org.wso2.carbon:org.wso2.carbon.authenticator.proxy:jar:4.0.0-SNAPSHOT (compile), org.wso2.carbon:org.wso2.carbon.registry.common.ui:jar:4.0.0-SNAPSHOT (compile), org.wso2.carbon:org.wso2.carbon.registry.core:jar:4.0.0-SNAPSHOT (compile), org.wso2.carbon:org.wso2.carbon.base:jar:4.0.0-SNAPSHOT (compile), org.wso2.carbon:org.wso2.carbon.registry.extensions:jar:4.0.0-SNAPSHOT (compile), org.wso2.carbon:org.wso2.carbon.logging:jar:4.0.0-SNAPSHOT (compile), commons-beanutils:commons-beanutils:jar:1.8.0 (compile), commons-collections:commons-collections:jar:3.2 (compile), commons-digester:commons-digester:jar:1.8 (compile), org.apache.ws.commons.axiom.wso2:axiom:jar:1.2.11.wso2v1 (compile), org.wso2.carbon:org.wso2.carbon.ui:jar:4.0.0-SNAPSHOT (compile), org.wso2.carbon:org.wso2.carbon.core:jar:4.0.0-SNAPSHOT (compile), org.wso2.carbon:org.wso2.carbon.registry.ws.stub:jar:4.0.0-SNAPSHOT (compile), org.apache.ws.security.wso2:wss4j:jar:1.5.11.wso2v1 (compile)]: Failed to read artifact descriptor for org.apache.maven.scm.wso2:maven-scm:jar:${orbit.version.maven-scm}: Could not transfer artifact org.apache.maven.scm.wso2:maven-scm:pom:${orbit.version.maven-scm} from/to wso2-nexus (http://maven.wso2.org/nexus/content/groups/wso2-public/):IllegalArgumentException: Illegal character in path at index 92: http://maven.wso2.org/nexus/content/groups/wso2-public/org/apache/maven/scm/wso2/maven-scm/${orbit.version.maven-scm}/maven-scm-${orbit.version.maven-scm}.pom- [Help 1] 16-May-2012 20:20:09 Appreciate your assistance. -- Thanks Best Regards, Maheshika Goonetilleke Engineering Process Coordinator WSO2 Inc www.wso2.com/ M : 0773 596707 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Amila Maharachchi* Senior Software Engineer; WSO2, Inc.; http://wso2.com Blog: http://maharachchi.blogspot.com Mobile: +94719371446 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- /sumedha +94 773017743 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] [Bamboo-Build] WSO2 Carbon platform #234 has FAILED. Change made by 8 authors.
--- WSO2 Carbon platform #234 failed. --- Code has been updated by miyuru, hiranya, madhuka, sinthuja, johann, ajanthan, ajithn, shariq. No failed tests found, a possible compilation error. http://wso2.org/bamboo/browse/WSO2CARBON-PLATFORM-234/ -- Failing Jobs -- - Default Job (Default Stage): 2084 tests passed. -- Code Changes -- shariq (127759): Adding Manager integration tests to the build. johann (127771): Fixing issue with retrieving HTTP_METHOD axis2 property ajanthan (127766): removing hard coded credentials -- This message is automatically generated by Atlassian Bamboo___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] Build error in building synapse core dependency in 3.2.3 support branch
Hi, I'm trying to build 3.2.3/trunk/dependencies/synapse/2.1.0-wso2v5/modules/corehttps://svn.wso2.com/wso2/custom/projects/projects/carbon/3.2.3/trunk/dependencies/synapse/2.1.0-wso2v5/modules/core, but the build failed due to missing synapese jars wso2v5. [ERROR] BUILD ERROR [INFO] [INFO] Failed to resolve artifact. Missing: -- 1) org.apache.synapse:synapse-nhttp-transport:jar:2.1.0-wso2v5 Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=org.apache.synapse -DartifactId=synapse-nhttp-transport -Dversion=2.1.0-wso2v5 -Dpackaging=jar -Dfile=/path/to/file Alternatively, if you host your own repository you can deploy the file there: mvn deploy:deploy-file -DgroupId=org.apache.synapse -DartifactId=synapse-nhttp-transport -Dversion=2.1.0-wso2v5 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] Path to dependency: 1) org.apache.synapse:synapse-core:bundle:2.1.0-wso2v5 2) org.apache.synapse:synapse-nhttp-transport:jar:2.1.0-wso2v5 2) org.apache.synapse:synapse-vfs-transport:jar:2.1.0-wso2v5 Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=org.apache.synapse -DartifactId=synapse-vfs-transport -Dversion=2.1.0-wso2v5 -Dpackaging=jar -Dfile=/path/to/file Alternatively, if you host your own repository you can deploy the file there: mvn deploy:deploy-file -DgroupId=org.apache.synapse -DartifactId=synapse-vfs-transport -Dversion=2.1.0-wso2v5 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] Path to dependency: 1) org.apache.synapse:synapse-core:bundle:2.1.0-wso2v5 2) org.apache.synapse:synapse-vfs-transport:jar:2.1.0-wso2v5 -- 2 required artifacts are missing. for artifact: org.apache.synapse:synapse-core:bundle:2.1.0-wso2v5 from the specified remote repositories: apache.snapshots (http://repository.apache.org/snapshots), central (http://repo1.maven.org/maven2), wso2-m2 (http://dist.wso2.org/maven2/), wso2-m2-snapshots (http://dist.wso2.org/snapshots/maven2/), apache-snapshots (http://people.apache.org/repo/m2-snapshot-repository/) Shouldn't the nexus repo have these jars? -- Thanks Regards, Ashansa Perera Software Engineer WSO2, Inc ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [Bamboo-Build] WSO2 Carbon platform #234 has FAILED. Change made by 8 authors.
I removed some old rule dependencies from the poms after moving to new rule impl. This is failure is due to that. I commented the relevant code until I move them to new rule impl. AmilaM. On Mon, May 21, 2012 at 1:19 PM, Bamboo cbuil...@wso2.org wrote: [image: Failed] WSO2 Carbonhttp://wso2.org/bamboo/browse/WSO2CARBON/› platform http://wso2.org/bamboo/browse/WSO2CARBON-PLATFORM/ › #234http://wso2.org/bamboo/browse/WSO2CARBON-PLATFORM-234/ failed Code has been updated by miyuruhttp://wso2.org/bamboo/browse/author/miyuru, hiranya http://wso2.org/bamboo/browse/author/hiranya, madhukahttp://wso2.org/bamboo/browse/author/madhuka, sinthuja http://wso2.org/bamboo/browse/author/sinthuja, johannhttp://wso2.org/bamboo/browse/author/johann, ajanthan http://wso2.org/bamboo/browse/author/ajanthan, ajithnhttp://wso2.org/bamboo/browse/author/ajithn, shariq http://wso2.org/bamboo/browse/author/shariq. No failed tests found, a possible compilation error. Failing Jobs http://wso2.org/bamboo/browse/WSO2CARBON-PLATFORM-234/ Job Duration Tests[image: Failed] Default Jobhttp://wso2.org/bamboo/browse/WSO2CARBON-PLATFORM-JOB1-234/ (Default Stage) 141 minutes 2084 passed Logshttp://wso2.org/bamboo/browse/WSO2CARBON-PLATFORM-JOB1-234/log| Artifactshttp://wso2.org/bamboo/browse/WSO2CARBON-PLATFORM-JOB1-234/artifact Code Changes http://wso2.org/bamboo/browse/WSO2CARBON-PLATFORM-234/commit/ View all 10 code changeshttp://wso2.org/bamboo/browse/WSO2CARBON-PLATFORM-234/commit/ ajithn http://wso2.org/bamboo/browse/author/ajithn adding merged greg product 127772 johannhttp://wso2.org/bamboo/browse/author/johann Fixing issue with retrieving HTTP_METHOD axis2 property 127771 madhukahttp://wso2.org/bamboo/browse/author/madhuka jaggery API Navigation Update 127770 7 more changes…http://wso2.org/bamboo/browse/WSO2CARBON-PLATFORM-234/commit View Online http://wso2.org/bamboo/browse/WSO2CARBON-PLATFORM-234 | Add Commentshttp://wso2.org/bamboo/browse/WSO2CARBON-PLATFORM-234?commentMode=true This message was sent by Atlassian Bamboo http://wso2.org/bamboo. If you wish to stop receiving these emails edit your user profilehttp://wso2.org/bamboo/profile/userNotifications.actionor notify your administrator http://wso2.org/bamboo/viewAdministrators.action. ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Amila Maharachchi* Senior Software Engineer; WSO2, Inc.; http://wso2.com Blog: http://maharachchi.blogspot.com Mobile: +94719371446 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] Move Cassandra Hadoop into WSO2 Maven repo remove them from the build
Deep/Wathsala, Please do this ASAP today because many people are stuck for hours with the build because of these dependencies. Thanks Azeez -- *Afkham Azeez* Director of Architecture; WSO2, Inc.; http://wso2.com Member; Apache Software Foundation; http://www.apache.org/ * http://www.apache.org/** email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919 blog: **http://blog.afkham.org* http://blog.afkham.org* twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez * linked-in: **http://lk.linkedin.com/in/afkhamazeez* * * *Lean . Enterprise . Middleware* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] Error in carbon kernel startup
Hi I am getting $Subject, any changes done to org.wso2.carbon.core.services recently ? what would be the case ? we are blocked with this issue. [2012-05-21 14:42:26,216] INFO {org.apache.axis2.transport.tcp.TCPTransportSender} - TCP Sender started [2012-05-21 14:42:26,330] ERROR {org.wso2.carbon.utils.deployment.Axis2ServiceRegistry} - Error building service from bundle : Symbolic Name: org.wso2.carbon.core.services,Bundle Version: 4.0.0.SNAPSHOT, ID: 107 org.apache.axis2.deployment.DeploymentException: The system cannot find the axis2.xml file. at org.apache.axis2.deployment.ServiceGroupBuilder.populateServiceGroup(ServiceGroupBuilder.java:106) at org.wso2.carbon.utils.deployment.Axis2ServiceRegistry.addServices(Axis2ServiceRegistry.java:217) at org.wso2.carbon.utils.deployment.Axis2ServiceRegistry.register(Axis2ServiceRegistry.java:102) at org.wso2.carbon.utils.deployment.Axis2ServiceRegistry.register(Axis2ServiceRegistry.java:89) at org.wso2.carbon.core.init.CarbonServerManager.initializeCarbon(CarbonServerManager.java:465) at org.wso2.carbon.core.init.CarbonServerManager.removePendingItem(CarbonServerManager.java:288) at org.wso2.carbon.core.init.OSGiAxis2ServicesListener.bundleChanged(OSGiAxis2ServicesListener.java:84) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:847) at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230) at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340) Caused by: org.apache.axis2.deployment.DeploymentException: The system cannot find the axis2.xml file. at org.apache.axis2.deployment.ServiceBuilder.populateService(ServiceBuilder.java:441) at org.apache.axis2.deployment.ServiceGroupBuilder.populateServiceGroup(ServiceGroupBuilder.java:101) ... 9 more Caused by: org.apache.axis2.deployment.DeploymentException: The system cannot find the axis2.xml file. at org.apache.axis2.deployment.DescriptionBuilder.processParameters(DescriptionBuilder.java:555) at org.apache.axis2.deployment.ServiceBuilder.populateService(ServiceBuilder.java:124) ... 10 more -- *Thanks Regards, Nuwan Bandara Associate Technical Lead Member, MC, Development Technologies WSO2 Inc. - lean . enterprise . middleware | http://wso2.com blog : http://nuwanbando.com; email: nu...@wso2.com; phone: +94 11 763 9629 * http://www.nuwanbando.com/ ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Error in carbon kernel startup
confirmed. The issue is there in the latest carbon trunk --Pradeep ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Error in carbon kernel startup
Guys, can we get it fixed ASAP, Thinking of doing a Jaggery M5, today. also, this kind of issues can be easily found by running the integration tests. :( On Mon, May 21, 2012 at 3:25 PM, Pradeep Fernando prad...@wso2.com wrote: confirmed. The issue is there in the latest carbon trunk --Pradeep -- *Thanks Regards, Nuwan Bandara Associate Technical Lead Member, MC, Development Technologies WSO2 Inc. - lean . enterprise . middleware | http://wso2.com blog : http://nuwanbando.com; email: nu...@wso2.com; phone: +94 11 763 9629 * http://www.nuwanbando.com/ ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] Impact of C-App deployer changes on ESB artifacts
Hi all, As per few discussions we did on C-App deployment, we identified that the current C-App deployment process causes problems in cluster with deployment synchronizer. Currently the C-App deployer reads different artifacts and copy those into relevant hot directories in the Axis2 repository (repository/deployment/server/xxx). When these artifacts and the original C-App are synchronized to a different node, there are conflicts. So as a solution, I've already implemented a way in which the C-App extracts the individual artifacts into a temp directory and directly call the relevant deployer for the artifact. This works well for aar services etc. which won't get changed after first deployment. However, I wonder ESB artifacts will have a different impact on this because the user can edit the ESB configuration through the UI and then it internally get serialized to the original xml file in the repository. But in this new approach, original artifact will be in the temp directory. So will that be a problem from the ESB side? And also please let me know if there are any other possible downsides of this approach which you can think of. Thanks, ~Isuru -- Isuru Suriarachchi Technical Lead WSO2 Inc. http://wso2.com email : is...@wso2.com blog : http://isurues.wordpress.com/ lean . enterprise . middleware ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Impact of C-App deployer changes on ESB artifacts
One more thing we discussed was, ESB checks the dependency at the deployment time. For example, if a proxy service depends on a sequence, it validates whether the sequence exist when trying to deploy proxy service. (e.g proxy service in one car file and sequence in another car file.. now we have to order the car file deployment). We discussed this with Paul and the decision is, we should change this behavior so that the validation happens with first message arrived, not at the time of deployment. Hiranya, how hard is it to do that? Regards, Shankar On Mon, May 21, 2012 at 4:10 PM, Isuru Suriarachchi is...@wso2.com wrote: Hi all, As per few discussions we did on C-App deployment, we identified that the current C-App deployment process causes problems in cluster with deployment synchronizer. Currently the C-App deployer reads different artifacts and copy those into relevant hot directories in the Axis2 repository (repository/deployment/server/xxx). When these artifacts and the original C-App are synchronized to a different node, there are conflicts. So as a solution, I've already implemented a way in which the C-App extracts the individual artifacts into a temp directory and directly call the relevant deployer for the artifact. This works well for aar services etc. which won't get changed after first deployment. However, I wonder ESB artifacts will have a different impact on this because the user can edit the ESB configuration through the UI and then it internally get serialized to the original xml file in the repository. But in this new approach, original artifact will be in the temp directory. So will that be a problem from the ESB side? And also please let me know if there are any other possible downsides of this approach which you can think of. Thanks, ~Isuru -- Isuru Suriarachchi Technical Lead WSO2 Inc. http://wso2.com email : is...@wso2.com blog : http://isurues.wordpress.com/ lean . enterprise . middleware -- S.Uthaiyashankar Senior Software Architect Chair, Management Committee – Cloud Technologies WSO2 Inc. http://wso2.com/ - lean . enterprise . middleware Phone: +94 714897591 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] Developer Studio Code Frozen for RC1
Hi All, Please note that Developer Studio code is frozen for RC1. You are not supposed to commit anything other than L1 and L2 bug fixes to branch and trunk right now and please make sure to commit the fixes to both branch and trunk to keep the trunk in sync with branch. Thanks and Regards, Harshana -- Harshana Martin Senior Software Engineer WSO2 Inc. : http://wso2.com ; http://wso2.org Mobile: +94 716 062 650 Profile: https://www.google.com/profiles/harshana05 Blog: http://harshana05.blogspot.com Twitter: http://twitter.com/harshana05 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] Class not found exception when joining nodes to casssandra ring
Hi , I am using cassandra feature inside MB2. When i am starting up the second node in the cassandra ring, Following error pops up in the seed node. Please have a look. [2012-05-21 08:13:43,723] ERROR {org.apache.cassandra.service.AbstractCassandraDaemon} - Exception in thread Thread[StreamStage:1,5,main] java.lang.NoClassDefFoundError: com/ning/compress/lzf/LZFOutputStream at org.apache.cassandra.net.MessagingService.stream(MessagingService.java:491) at org.apache.cassandra.streaming.StreamOutSession.begin(StreamOutSession.java:164) at org.apache.cassandra.streaming.StreamOut.transferSSTables(StreamOut.java:142) at org.apache.cassandra.streaming.StreamOut.transferRanges(StreamOut.java:123) at org.apache.cassandra.streaming.StreamRequestVerbHandler.doVerb(StreamRequestVerbHandler.java:54) at org.apache.cassandra.net.MessageDeliveryTask.run(MessageDeliveryTask.java:59) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) Caused by: java.lang.ClassNotFoundException: com.ning.compress.lzf.LZFOutputStream at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:513) at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:429) at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:417) at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107) at java.lang.ClassLoader.loadClass(ClassLoader.java:247) ... 9 more Thanks Shammi -- Best Regards,* Shammi Jayasinghe* Senior Software Engineer; WSO2, Inc.; http://wso2.com, mobile: +94 71 4493085 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Error in carbon kernel startup
Hi, I'll have a look --Pradeep ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Class not found exception when joining nodes to casssandra ring
Hi Shammi, I have fixed this issue in the trunk. You can fix it in your setup by adding compress-lzfhttp://repo1.maven.org/maven2/com/ning/compress-lzf/0.8.4/compress-lzf-0.8.4.jar bundle to dropins dir. Thanks KasunW. On Mon, May 21, 2012 at 5:46 PM, Shammi Jayasinghe sha...@wso2.com wrote: Hi , I am using cassandra feature inside MB2. When i am starting up the second node in the cassandra ring, Following error pops up in the seed node. Please have a look. [2012-05-21 08:13:43,723] ERROR {org.apache.cassandra.service.AbstractCassandraDaemon} - Exception in thread Thread[StreamStage:1,5,main] java.lang.NoClassDefFoundError: com/ning/compress/lzf/LZFOutputStream at org.apache.cassandra.net.MessagingService.stream(MessagingService.java:491) at org.apache.cassandra.streaming.StreamOutSession.begin(StreamOutSession.java:164) at org.apache.cassandra.streaming.StreamOut.transferSSTables(StreamOut.java:142) at org.apache.cassandra.streaming.StreamOut.transferRanges(StreamOut.java:123) at org.apache.cassandra.streaming.StreamRequestVerbHandler.doVerb(StreamRequestVerbHandler.java:54) at org.apache.cassandra.net.MessageDeliveryTask.run(MessageDeliveryTask.java:59) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) Caused by: java.lang.ClassNotFoundException: com.ning.compress.lzf.LZFOutputStream at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:513) at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:429) at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:417) at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107) at java.lang.ClassLoader.loadClass(ClassLoader.java:247) ... 9 more Thanks Shammi -- Best Regards,* Shammi Jayasinghe* Senior Software Engineer; WSO2, Inc.; http://wso2.com, mobile: +94 71 4493085 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] [Bamboo-Build] WSO2 Carbon Kernel #256 has FAILED (1 tests failed, no failures were new). Change made by pradeep.
--- WSO2 Carbon Kernel #256 failed. --- Code has been updated by pradeep. 1/2787 tests failed, no failures were new. http://wso2.org/bamboo/browse/WSO2CARBON-CARBONCOREKERNELBUILD-256/ -- Failing Jobs -- - Default Job (Default Stage): 1 of 2787 tests failed. -- Code Changes -- pradeep (127794): adding the carbon web-app along with its web.xml -- Tests -- Existing Test Failures (1) - CarbonTestServerManager: Start server -- This message is automatically generated by Atlassian Bamboo___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] [Bamboo-Build] WSO2 Carbon Orbit #98 was SUCCESSFUL. Change made by manjular.
--- WSO2 Carbon Orbit #98 was successful. --- Code has been updated by manjular. http://wso2.org/bamboo/browse/WSO2CARBON-CARBONKERNELBUILD-98/ -- Code Changes -- manjular (127829): Adding maven-invoker and plexus-utils jar as orbit bundles -- This message is automatically generated by Atlassian Bamboo___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] Billing and Throttling moved to new rule impl
Hi Amila, With the instructions and the patch you provided I was able to move the billing and throttling components to use the new rules implementation. After that I removed the old rules dependencies from the relevant poms. You can go ahead and remove it from the build now (those two were the only components using the old rules impl until now). Thanks for your help on fixing this. Regards, AmilaM. -- *Amila Maharachchi* Senior Software Engineer; WSO2, Inc.; http://wso2.com Blog: http://maharachchi.blogspot.com Mobile: +94719371446 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] [Bamboo-Build] WSO2 Carbon Kernel #257 has FAILED (1 tests failed, no failures were new). Change made by anjana, ajithn and pradeep.
--- WSO2 Carbon Kernel #257 failed. --- This build occurred because it is a dependant of WSO2CARBON-CARBONKERNELBUILD-98. 1/2787 tests failed, no failures were new. http://wso2.org/bamboo/browse/WSO2CARBON-CARBONCOREKERNELBUILD-257/ -- Failing Jobs -- - Default Job (Default Stage): 1 of 2787 tests failed. -- Code Changes -- ajithn (127815): check permission for report taglib anjana (127803): Added a new distributed counter implemenation, potential race condition fix for Group implementation pradeep (127795): CARBON-12865 -- Tests -- Existing Test Failures (1) - CarbonTestServerManager: Start server -- This message is automatically generated by Atlassian Bamboo___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] How to extract service response XML values inside a code written in JavaScript ?
getElementByTagsName is a function of the document object, which is present in the browser. So, it only works in the browser. On Mon, May 21, 2012 at 11:13 PM, Kasun Indrasiri ka...@wso2.com wrote: This may help.. https://developer.mozilla.org/En/E4X/Processing_XML_with_E4X On Mon, May 21, 2012 at 11:05 PM, Sajith Kariyawasam saj...@wso2.comwrote: Hi, I was trying to invoke a web service inside a javascript file, and deploy it in Mashup Server. SOAP response of the web service is defined as follows, ?xml version=1.0 encoding=utf-8? soap:Envelope xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xmlns:xsd=http://www.w3.org/2001/XMLSchema; xmlns:soap=http://schemas.xmlsoap.org/soap/envelope/; soap:Body GetQuoteResponse xmlns=http://www.webserviceX.NET/; GetQuoteResultstring/GetQuoteResult /GetQuoteResponse /soap:Body /soap:Envelope A sample response value is as follows , string xmlns=http://www.webserviceX.NET/; StockQuotesStockSymbolGOOG/SymbolLast613.43/LastDate5/21/2012/DateTime1:00pm/TimeChange+13.03/ChangeOpen601.00/OpenHigh615.694/HighLow600.00/LowVolume2006668/VolumeMktCap200.0B/MktCapPreviousClose600.40/PreviousClosePercentageChange+2.17%/PercentageChangeAnnRange473.02 - 670.25/AnnRangeEarns32.998/EarnsP-E18.20/P-ENameGoogle Inc./Name/Stock/StockQuotes /string My requirement is to extract couple of elements from the response (say, Symbol and Change) and print the values. In my .js file I tried a code like this, *var service = new WSRequest();* *...* *...* * var response = service.responseXML; * * var stock = response.getElementsByTagName('Stock'); * But I'm getting an exception saying ***ERROR - TypeError: Cannot find function getElementsByTagName in object ... * so, $subject please? Thanks, -- *Sajith Kariyawasam* *Senior Software Engineer; WSO2, Inc.; http://wso2.com* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Kasun Indrasiri Associate Technical Lead WSO2, Inc.; http://wso2.com lean.enterprise.middleware cell: +94 71 536 4128 Blog : http://kasunpanorama.blogspot.com/ ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Regards, Tharindu blog: http://mackiemathew.com/ M: +9459908 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] Core integration test processes are not stopped properly when error occurs
Hi, Observed $subject. Cause for the integration test failure is, Caused by: org.testng.internal.InvokeMethodRunnable$TestNGRuntimeException: java.lang.RuntimeException: Could not login to Carbon server within 6ms. portOffset=0 After this when I tried to start a server it gave me address already in use error. So when I checked found that several java processes started from testNG and emma reporting are still running. thanks, -- Supun Malinga, Software Engineer, WSO2 Inc. http://wso2.com http://wso2.org email - sup...@wso2.com sup...@wso2.com mobile - 071 56 91 321 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] Multiple errors when starting up G-Reg - trunk build
Hi, When I start G-Reg built from trunk I see the following error, [2012-05-21 17:24:37,803] ERROR {org.wso2.carbon.utils.deployment.Axis2ServiceRegistry} - Error building service from bundle : Symbolic Name: org.wso2.carbon.core.services,Bundle Version: 4.0.0.SNAPSHOT, ID: 157 org.apache.axis2.deployment.DeploymentException: The system cannot find the axis2.xml file. at org.apache.axis2.deployment.ServiceGroupBuilder.populateServiceGroup(ServiceGroupBuilder.java:106) at org.wso2.carbon.utils.deployment.Axis2ServiceRegistry.addServices(Axis2ServiceRegistry.java:217) at org.wso2.carbon.utils.deployment.Axis2ServiceRegistry.register(Axis2ServiceRegistry.java:102) at org.wso2.carbon.utils.deployment.Axis2ServiceRegistry.register(Axis2ServiceRegistry.java:89) at org.wso2.carbon.core.init.CarbonServerManager.initializeCarbon(CarbonServerManager.java:465) at org.wso2.carbon.core.init.CarbonServerManager.removePendingItem(CarbonServerManager.java:288) at org.wso2.carbon.core.init.PreAxis2ConfigItemListener.bundleChanged(PreAxis2ConfigItemListener.java:118) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:847) at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230) at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340) Caused by: org.apache.axis2.deployment.DeploymentException: The system cannot find the axis2.xml file. at org.apache.axis2.deployment.ServiceBuilder.populateService(ServiceBuilder.java:441) at org.apache.axis2.deployment.ServiceGroupBuilder.populateServiceGroup(ServiceGroupBuilder.java:101) ... 9 more Caused by: org.apache.axis2.deployment.DeploymentException: The system cannot find the axis2.xml file. at org.apache.axis2.deployment.DescriptionBuilder.processParameters(DescriptionBuilder.java:555) at org.apache.axis2.deployment.ServiceBuilder.populateService(ServiceBuilder.java:124) ... 10 more Then later on following is thrown, [2012-05-21 17:24:45,584] ERROR {org.wso2.carbon.identity.core.util.IdentityConfigParser} - Error while loading Identity Configurations java.io.FileNotFoundException: Identity configuration not found. Cause - Identity core could not find resource identity.xml or user does not have sufficient permission to access the resource. at org.wso2.carbon.identity.core.util.IdentityConfigParser.buildConfiguration(IdentityConfigParser.java:132) at org.wso2.carbon.identity.core.util.IdentityConfigParser.init(IdentityConfigParser.java:53) at org.wso2.carbon.identity.core.util.IdentityConfigParser.getInstance(IdentityConfigParser.java:64) at org.wso2.carbon.identity.core.util.IdentityUtil.populateProperties(IdentityUtil.java:65) at org.wso2.carbon.identity.core.internal.IdentityCoreServiceComponent.activate(IdentityCoreServiceComponent.java:64) 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.eclipse.equinox.internal.ds.model.ServiceComponent.activate(ServiceComponent.java:252) at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activate(ServiceComponentProp.java:146) at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:346) at org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:588) at org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:196) at org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:328) at org.eclipse.equinox.internal.ds.SCRManager.serviceChanged(SCRManager.java:221) at org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:104) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:861) at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230) at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148) at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:819) at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:771) at org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:130) at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:214) at
[Dev] [Bamboo-Build] WSO2 Carbon platform #235 was SUCCESSFUL (with 2084 tests). Change made by 24 authors.
--- WSO2 Carbon platform #235 was successful. --- Code has been updated by miyuru, hiranya, kasung, nandika, manjular, nuwanw, dimuthul, amilam, subash, chethiya, lalaji, pradeeban, eranda, kasunw, johann, dharshanaw, shammi, suresh, nuwand, ajithn, teague, nuwan, buddhikac, chanaka. 2084 tests in total. http://wso2.org/bamboo/browse/WSO2CARBON-PLATFORM-235/ -- Code Changes -- buddhikac (127785): Removing hive build from dependencies. Should pick hive orbit from nexus. manjular (127830): Changes on project to application renaming subash (127841): Added persistance on jcr node types -- This message is automatically generated by Atlassian Bamboo___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Multiple errors when starting up G-Reg - trunk build
Hi Chinthana, On Mon, May 21, 2012 at 9:32 PM, Chintana Wilamuna chint...@wso2.comwrote: Hi, When I start G-Reg built from trunk I see the following error, [2012-05-21 17:24:37,803] ERROR {org.wso2.carbon.utils.deployment.Axis2ServiceRegistry} - Error building service from bundle : Symbolic Name: org.wso2.carbon.core.services,Bundle Version: 4.0.0.SNAPSHOT, ID: 157 org.apache.axis2.deployment.DeploymentException: The system cannot find the axis2.xml file. at org.apache.axis2.deployment.ServiceGroupBuilder.populateServiceGroup(ServiceGroupBuilder.java:106) at org.wso2.carbon.utils.deployment.Axis2ServiceRegistry.addServices(Axis2ServiceRegistry.java:217) at org.wso2.carbon.utils.deployment.Axis2ServiceRegistry.register(Axis2ServiceRegistry.java:102) at org.wso2.carbon.utils.deployment.Axis2ServiceRegistry.register(Axis2ServiceRegistry.java:89) at org.wso2.carbon.core.init.CarbonServerManager.initializeCarbon(CarbonServerManager.java:465) at org.wso2.carbon.core.init.CarbonServerManager.removePendingItem(CarbonServerManager.java:288) at org.wso2.carbon.core.init.PreAxis2ConfigItemListener.bundleChanged(PreAxis2ConfigItemListener.java:118) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:847) at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230) at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340) Caused by: org.apache.axis2.deployment.DeploymentException: The system cannot find the axis2.xml file. at org.apache.axis2.deployment.ServiceBuilder.populateService(ServiceBuilder.java:441) at org.apache.axis2.deployment.ServiceGroupBuilder.populateServiceGroup(ServiceGroupBuilder.java:101) ... 9 more Caused by: org.apache.axis2.deployment.DeploymentException: The system cannot find the axis2.xml file. at org.apache.axis2.deployment.DescriptionBuilder.processParameters(DescriptionBuilder.java:555) at org.apache.axis2.deployment.ServiceBuilder.populateService(ServiceBuilder.java:124) ... 10 more This is a known error. Pradeep is working on this. Following issue is seems to be a similar one. All the issues are related to config file reading. Look like these are due to recent security fixes. Thanks, Sameera. Then later on following is thrown, [2012-05-21 17:24:45,584] ERROR {org.wso2.carbon.identity.core.util.IdentityConfigParser} - Error while loading Identity Configurations java.io.FileNotFoundException: Identity configuration not found. Cause - Identity core could not find resource identity.xml or user does not have sufficient permission to access the resource. at org.wso2.carbon.identity.core.util.IdentityConfigParser.buildConfiguration(IdentityConfigParser.java:132) at org.wso2.carbon.identity.core.util.IdentityConfigParser.init(IdentityConfigParser.java:53) at org.wso2.carbon.identity.core.util.IdentityConfigParser.getInstance(IdentityConfigParser.java:64) at org.wso2.carbon.identity.core.util.IdentityUtil.populateProperties(IdentityUtil.java:65) at org.wso2.carbon.identity.core.internal.IdentityCoreServiceComponent.activate(IdentityCoreServiceComponent.java:64) 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.eclipse.equinox.internal.ds.model.ServiceComponent.activate(ServiceComponent.java:252) at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activate(ServiceComponentProp.java:146) at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:346) at org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:588) at org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:196) at org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:328) at org.eclipse.equinox.internal.ds.SCRManager.serviceChanged(SCRManager.java:221) at org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:104) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:861) at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230) at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148) at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:819) at
Re: [Dev] Multiple errors when starting up G-Reg - trunk build
Sorry I didn't see the mail Nuwan has sent about the same error. -Chintana On Mon, May 21, 2012 at 7:12 PM, Sameera Jayasoma same...@wso2.com wrote: Hi Chinthana, On Mon, May 21, 2012 at 9:32 PM, Chintana Wilamuna chint...@wso2.comwrote: Hi, When I start G-Reg built from trunk I see the following error, [2012-05-21 17:24:37,803] ERROR {org.wso2.carbon.utils.deployment.Axis2ServiceRegistry} - Error building service from bundle : Symbolic Name: org.wso2.carbon.core.services,Bundle Version: 4.0.0.SNAPSHOT, ID: 157 org.apache.axis2.deployment.DeploymentException: The system cannot find the axis2.xml file. at org.apache.axis2.deployment.ServiceGroupBuilder.populateServiceGroup(ServiceGroupBuilder.java:106) at org.wso2.carbon.utils.deployment.Axis2ServiceRegistry.addServices(Axis2ServiceRegistry.java:217) at org.wso2.carbon.utils.deployment.Axis2ServiceRegistry.register(Axis2ServiceRegistry.java:102) at org.wso2.carbon.utils.deployment.Axis2ServiceRegistry.register(Axis2ServiceRegistry.java:89) at org.wso2.carbon.core.init.CarbonServerManager.initializeCarbon(CarbonServerManager.java:465) at org.wso2.carbon.core.init.CarbonServerManager.removePendingItem(CarbonServerManager.java:288) at org.wso2.carbon.core.init.PreAxis2ConfigItemListener.bundleChanged(PreAxis2ConfigItemListener.java:118) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:847) at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230) at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340) Caused by: org.apache.axis2.deployment.DeploymentException: The system cannot find the axis2.xml file. at org.apache.axis2.deployment.ServiceBuilder.populateService(ServiceBuilder.java:441) at org.apache.axis2.deployment.ServiceGroupBuilder.populateServiceGroup(ServiceGroupBuilder.java:101) ... 9 more Caused by: org.apache.axis2.deployment.DeploymentException: The system cannot find the axis2.xml file. at org.apache.axis2.deployment.DescriptionBuilder.processParameters(DescriptionBuilder.java:555) at org.apache.axis2.deployment.ServiceBuilder.populateService(ServiceBuilder.java:124) ... 10 more This is a known error. Pradeep is working on this. Following issue is seems to be a similar one. All the issues are related to config file reading. Look like these are due to recent security fixes. Thanks, Sameera. Then later on following is thrown, [2012-05-21 17:24:45,584] ERROR {org.wso2.carbon.identity.core.util.IdentityConfigParser} - Error while loading Identity Configurations java.io.FileNotFoundException: Identity configuration not found. Cause - Identity core could not find resource identity.xml or user does not have sufficient permission to access the resource. at org.wso2.carbon.identity.core.util.IdentityConfigParser.buildConfiguration(IdentityConfigParser.java:132) at org.wso2.carbon.identity.core.util.IdentityConfigParser.init(IdentityConfigParser.java:53) at org.wso2.carbon.identity.core.util.IdentityConfigParser.getInstance(IdentityConfigParser.java:64) at org.wso2.carbon.identity.core.util.IdentityUtil.populateProperties(IdentityUtil.java:65) at org.wso2.carbon.identity.core.internal.IdentityCoreServiceComponent.activate(IdentityCoreServiceComponent.java:64) 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.eclipse.equinox.internal.ds.model.ServiceComponent.activate(ServiceComponent.java:252) at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activate(ServiceComponentProp.java:146) at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:346) at org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:588) at org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:196) at org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:328) at org.eclipse.equinox.internal.ds.SCRManager.serviceChanged(SCRManager.java:221) at org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:104) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:861) at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230) at
[Dev] Carbon-core cannot be built with Tests on
Hi, FYI, essor.run(NioEndpoint.java:1620) [2012-05-22 08:26:57,032] INFO {org.wso2.carbon.integration.framework.utils.InputStreamHandler} - at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [2012-05-22 08:26:57,032] INFO {org.wso2.carbon.integration.framework.utils.InputStreamHandler} - at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [2012-05-22 08:26:57,032] INFO {org.wso2.carbon.integration.framework.utils.InputStreamHandler} - at java.lang.Thread.run(Thread.java:662) Tests run: 28, Failures: 1, Errors: 0, Skipped: 27, Time elapsed: 84.548 sec FAILURE! Results : Failed tests: startServer(org.wso2.carbon.integration.tests.CarbonTestServerManager): org.testng.internal.InvokeMethodRunnable$TestNGRuntimeException: java.lang.RuntimeException: Could not login to Carbon server within 6ms. portOffset=0 Tests run: 28, Failures: 1, Errors: 0, Skipped: 27 [2012-05-22 08:26:59,209] INFO {org.wso2.carbon.integration.framework.utils.ServerUtils} - Shutting down server... [INFO] [INFO] Reactor Summary: [INFO] [INFO] WSO2 Carbon Core - Distribution ... SUCCESS [35.742s] [INFO] WSO2 Carbon - Integration . SUCCESS [0.338s] [INFO] WSO2 Carbon - Security Verification Service ... SUCCESS [5.338s] [INFO] WSO2 Carbon - Integration Core SUCCESS [6.361s] [INFO] WSO2 Carbon - Integration Testing Framework ... SUCCESS [2.187s] [INFO] WSO2 Carbon - Integration Tests ... FAILURE [1:26.542s] [INFO] WSO2 Carbon - Product Parent .. SKIPPED [INFO] WSO2 Carbon - UI styles ... SKIPPED [INFO] WSO2 Carbon - Style Feature ... SKIPPED [INFO] WSO2 Carbon - Profile Generation .. SKIPPED [INFO] WSO2 Carbon - Distribution SKIPPED [INFO] Distribution-Aggregate SKIPPED [INFO] [INFO] BUILD FAILURE [INFO] [INFO] Total time: 2:17.933s [INFO] Finished at: Tue May 22 08:26:59 IST 2012 [INFO] Final Memory: 85M/1176M [INFO] [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.7.2:test (default-test) on project org.wso2.carbon.integration.tests: There are test failures. [ERROR] [ERROR] Please refer to /home/nuwanbando/wso2/carbon-dev/carbon/kernel/trunk/distribution/integration/tests/target/surefire-reports for the individual test results. [ERROR] - [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.7.2:test (default-test) on project org.wso2.carbon.integration.tests: There are test failures. Please refer to /home/nuwanbando/wso2/carbon-dev/carbon/kernel/trunk/distribution/integration/tests/target/surefire-reports for the individual test results. at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:213) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59) at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196) at org.apache.maven.cli.MavenCli.main(MavenCli.java:141) 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.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352) Caused by: org.apache.maven.plugin.MojoFailureException: There are test failures. Please refer to /home/nuwanbando/wso2/carbon-dev/carbon/kernel/trunk/distribution/integration/tests/target/surefire-reports for the individual test results. at
Re: [Dev] Build failure in shindig
Hi Nipuni, On Tue, May 22, 2012 at 6:14 AM, Nipuni Perera nip...@wso2.com wrote: Hi Amila, I build platform/trunk/dependencies/orbit/shindig but still I'm getting the same error when building platform/trunk/components As Amila pointed out, you need to take an SVN up in orbit/trunk and then build orbit/trunk/shindig ! Regards Nipuni On Mon, May 21, 2012 at 7:48 PM, Amila Maha Arachchi ami...@wso2.comwrote: Hi Nipuni, You need to build orbit/shindig to get shindig-1.1.0-wso2v6.jar. Nuwan, Why do we have two shindig bundles with two different versions? 1. In orbit/shindig 2. In platform/dependencies/orbit/shindig Regards, AmilaM. On Mon, May 21, 2012 at 6:11 PM, Nipuni Perera nip...@wso2.com wrote: When I was building platform dependencies I got this error Failed to execute goal on project org.wso2.carbon.dashboard.common: Could not resolve dependencies for project org.wso2.carbon:org.wso2.carbon.dashboard.common:bundle:4.0.0-SNAPSHOT: Failure to find org.apache.shindig.wso2:shindig:jar:1.1.0.wso2v6 in http://maven.wso2.org/nexus/content/groups/wso2-public/ was cached in the local repository, resolution will not be reattempted until the update interval of wso2-nexus has elapsed or updates are forced - [Help 1] Please check ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Amila Maharachchi* Senior Software Engineer; WSO2, Inc.; http://wso2.com Blog: http://maharachchi.blogspot.com Mobile: +94719371446 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Thanks regards, Nirmal Software Engineer- Platform Technologies Team, WSO2 Inc. Mobile: +94715779733 Blog: http://nirmalfdo.blogspot.com/ ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] BE fault message not coming to the FE in Carbon
Can I get more insights on whether this is a bug or a user error? On Mon, May 21, 2012 at 11:04 PM, Tharindu Mathew thari...@wso2.com wrote: When I execute, e.getMessage() at the Front end after catching the exception, I only get the Exception class. At the BE, the exception is thrown properly. ex: GadgetGenAdminServiceGadgetGenException What is the proper way of propagating the faut message from the BE to the FE? -- Regards, Tharindu blog: http://mackiemathew.com/ M: +9459908 -- Regards, Tharindu blog: http://mackiemathew.com/ M: +9459908 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Carbon-core cannot be built with Tests on
no ACK ? On Tue, May 22, 2012 at 8:28 AM, Nuwan Bandara nu...@wso2.com wrote: Hi, FYI, essor.run(NioEndpoint.java:1620) [2012-05-22 08:26:57,032] INFO {org.wso2.carbon.integration.framework.utils.InputStreamHandler} - at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [2012-05-22 08:26:57,032] INFO {org.wso2.carbon.integration.framework.utils.InputStreamHandler} - at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [2012-05-22 08:26:57,032] INFO {org.wso2.carbon.integration.framework.utils.InputStreamHandler} - at java.lang.Thread.run(Thread.java:662) Tests run: 28, Failures: 1, Errors: 0, Skipped: 27, Time elapsed: 84.548 sec FAILURE! Results : Failed tests: startServer(org.wso2.carbon.integration.tests.CarbonTestServerManager): org.testng.internal.InvokeMethodRunnable$TestNGRuntimeException: java.lang.RuntimeException: Could not login to Carbon server within 6ms. portOffset=0 Tests run: 28, Failures: 1, Errors: 0, Skipped: 27 [2012-05-22 08:26:59,209] INFO {org.wso2.carbon.integration.framework.utils.ServerUtils} - Shutting down server... [INFO] [INFO] Reactor Summary: [INFO] [INFO] WSO2 Carbon Core - Distribution ... SUCCESS [35.742s] [INFO] WSO2 Carbon - Integration . SUCCESS [0.338s] [INFO] WSO2 Carbon - Security Verification Service ... SUCCESS [5.338s] [INFO] WSO2 Carbon - Integration Core SUCCESS [6.361s] [INFO] WSO2 Carbon - Integration Testing Framework ... SUCCESS [2.187s] [INFO] WSO2 Carbon - Integration Tests ... FAILURE [1:26.542s] [INFO] WSO2 Carbon - Product Parent .. SKIPPED [INFO] WSO2 Carbon - UI styles ... SKIPPED [INFO] WSO2 Carbon - Style Feature ... SKIPPED [INFO] WSO2 Carbon - Profile Generation .. SKIPPED [INFO] WSO2 Carbon - Distribution SKIPPED [INFO] Distribution-Aggregate SKIPPED [INFO] [INFO] BUILD FAILURE [INFO] [INFO] Total time: 2:17.933s [INFO] Finished at: Tue May 22 08:26:59 IST 2012 [INFO] Final Memory: 85M/1176M [INFO] [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.7.2:test (default-test) on project org.wso2.carbon.integration.tests: There are test failures. [ERROR] [ERROR] Please refer to /home/nuwanbando/wso2/carbon-dev/carbon/kernel/trunk/distribution/integration/tests/target/surefire-reports for the individual test results. [ERROR] - [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.7.2:test (default-test) on project org.wso2.carbon.integration.tests: There are test failures. Please refer to /home/nuwanbando/wso2/carbon-dev/carbon/kernel/trunk/distribution/integration/tests/target/surefire-reports for the individual test results. at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:213) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59) at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196) at org.apache.maven.cli.MavenCli.main(MavenCli.java:141) 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.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352) Caused by: org.apache.maven.plugin.MojoFailureException: There
Re: [Dev] Apimgt product build failure Locally
On Mon, May 21, 2012 at 6:08 PM, Sumedha Rubasinghe sume...@wso2.comwrote: BTW..This mail thread is safe to appear on dev list. On Mon, May 21, 2012 at 6:07 PM, Sumedha Rubasinghe sume...@wso2.comwrote: Yes.. it is commented out from main build. If you need to build, follow the bellow mentioned order (Assuming you have built orbit, kernel rest of the components). 1. Build platform/components/apimgt 2. Build platform/features/apimgt 3. Build platform/product/apimgt On Mon, May 21, 2012 at 5:58 PM, Maheshika Goonetilleke mahesh...@wso2.com wrote: On Mon, May 21, 2012 at 5:55 PM, Sumedha Rubasinghe sume...@wso2.comwrote: Did you try to build product without building the features? These features are not in the default built as of now. On Mon, May 21, 2012 at 5:42 PM, Maheshika Goonetilleke mahesh...@wso2.com wrote: Hi all The following error occurs while trying to build Platform/Product/apimgt; Failed to execute goal org.wso2.maven:carbon-p2-plugin:1.5-SNAPSHOT:p2-repo-gen (2-p2-repo-generation) on project am-p2-profile: ERROR: Could not find artifact org.wso2.carbon:org.wso2.carbon.apimgt.server.feature:zip:1.0.0-SNAPSHOT in wso2-nexus (http://maven.wso2.org/nexus/content/groups/wso2-public/) [ERROR] [ERROR] Try downloading the file manually from the project website. [ERROR] [ERROR] Then, install it using the command: [ERROR] mvn install:install-file -DgroupId=org.wso2.carbon -DartifactId=org.wso2.carbon.apimgt.server.feature -Dversion=1.0.0-SNAPSHOT -Dpackaging=zip -Dfile=/path/to/file [ERROR] [ERROR] Alternatively, if you host your own repository you can deploy the file there: [ERROR] mvn deploy:deploy-file -DgroupId=org.wso2.carbon -DartifactId=org.wso2.carbon.apimgt.server.feature -Dversion=1.0.0-SNAPSHOT -Dpackaging=zip -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] [ERROR] [ERROR] [ERROR] org.wso2.carbon:org.wso2.carbon.apimgt.server.feature:zip:1.0.0-SNAPSHOT [ERROR] [ERROR] from the specified remote repositories: [ERROR] wso2-nexus ( http://maven.wso2.org/nexus/content/groups/wso2-public/, releases=true, snapshots=true), [ERROR] central (http://repo1.maven.org/maven2, releases=true, snapshots=false) [ERROR] - [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn goals -rf :am-p2-profile can you please assist. -- Thanks Best Regards, Maheshika Goonetilleke Engineering Process Coordinator WSO2 Inc www.wso2.com/ M : 0773 596707 -- /sumedha +94 773017743 I have already built features and then tried building products. -- Thanks Best Regards, Maheshika Goonetilleke Engineering Process Coordinator WSO2 Inc www.wso2.com/ M : 0773 596707 -- /sumedha +94 773017743 -- /sumedha +94 773017743 Hi Sumedha Thank you very much. I was able to build it successfully. -- Thanks Best Regards, Maheshika Goonetilleke Engineering Process Coordinator WSO2 Inc www.wso2.com/ M : 0773 596707 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] BE fault message not coming to the FE in Carbon
Hi, we used to deal the errors with error codes(earlier it was not supported by axis2 afaik). Amila has mentioned the correct mechanism. --Pradeep ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] ESB_HOME/lib/core/WEB-INF/classes Property files are not loading
Hi, Any properly written library allow their users to feed-in config files using, 1. jre classPath 2. appClassPath 3. reside within the same jar - similar to appclasspath 4. system property This is the standard search order of a config file. The whole point of OSGi module layer is to have independent classPaths. So basically, if we are going to support a common place for all the config files, we have to introduce a new classsLoader as the parent classLoader of bunldeClassLoader. Normally the parent being, boot or ext. I don't think it is technically possible (not sure 100%). Even if it is possible we should not do such hacks. thanks, --Pradeep ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] How to extract service response XML values inside a code written in JavaScript ?
Hi Tharindu/Kasun, Thanks for the responses, On Mon, May 21, 2012 at 11:34 PM, Tharindu Mathew thari...@wso2.com wrote: getElementByTagsName is a function of the document object, which is present in the browser. So, it only works in the browser. I'm bit confused here, I was trying to get the responseXML from WSRequest object, as an XML object, and then process it using getElementByTagsName function. so as far as the responseXML is an xml object shouldn't I be able to use getElementByTagsName irrespective of a browser ? On Mon, May 21, 2012 at 11:13 PM, Kasun Indrasiri ka...@wso2.com wrote: This may help.. https://developer.mozilla.org/En/E4X/Processing_XML_with_E4X yes, this link was helpful.. I tried the following as mentioned in the link .. var response = service.responseE4X..wx::GetQuoteResult.text(); var stock = new XML(response.toXMLString()); print(Symbol : + stock.Stock.Symbol); It works.. thanks On Mon, May 21, 2012 at 11:05 PM, Sajith Kariyawasam saj...@wso2.comwrote: Hi, I was trying to invoke a web service inside a javascript file, and deploy it in Mashup Server. SOAP response of the web service is defined as follows, ?xml version=1.0 encoding=utf-8? soap:Envelope xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xmlns:xsd=http://www.w3.org/2001/XMLSchema; xmlns:soap=http://schemas.xmlsoap.org/soap/envelope/; soap:Body GetQuoteResponse xmlns=http://www.webserviceX.NET/; GetQuoteResultstring/GetQuoteResult /GetQuoteResponse /soap:Body /soap:Envelope A sample response value is as follows , string xmlns=http://www.webserviceX.NET/; StockQuotesStockSymbolGOOG/SymbolLast613.43/LastDate5/21/2012/DateTime1:00pm/TimeChange+13.03/ChangeOpen601.00/OpenHigh615.694/HighLow600.00/LowVolume2006668/VolumeMktCap200.0B/MktCapPreviousClose600.40/PreviousClosePercentageChange+2.17%/PercentageChangeAnnRange473.02 - 670.25/AnnRangeEarns32.998/EarnsP-E18.20/P-ENameGoogle Inc./Name/Stock/StockQuotes /string My requirement is to extract couple of elements from the response (say, Symbol and Change) and print the values. In my .js file I tried a code like this, *var service = new WSRequest();* *...* *...* * var response = service.responseXML; * * var stock = response.getElementsByTagName('Stock'); * But I'm getting an exception saying ***ERROR - TypeError: Cannot find function getElementsByTagName in object ... * so, $subject please? Thanks, -- *Sajith Kariyawasam* *Senior Software Engineer; WSO2, Inc.; http://wso2.com* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Kasun Indrasiri Associate Technical Lead WSO2, Inc.; http://wso2.com lean.enterprise.middleware cell: +94 71 536 4128 Blog : http://kasunpanorama.blogspot.com/ ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Regards, Tharindu blog: http://mackiemathew.com/ M: +9459908 -- Regards, * * *Sajith Kariyawasam* *Senior Software Engineer; WSO2, Inc.; http://wso2.com* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] Error when building platformtrunkfeatures
[ERROR] Failed to execute goal on project org.wso2.carbon.mediator.autoscale.feature: Could not resolve dependencies for project org.wso2.carbon:org.wso2.carbon.mediator.autoscale.feature:pom:4.0.0-SNAPSHOT: Failure to find org.wso2.carbon:org.wso2.carbon.mediator.autoscale:jar:4.0.0-SNAPSHOT in http://maven.wso2.org/nexus/content/groups/wso2-public/ was cached in the local repository, resolution will not be reattempted until the update interval of wso2-nexus has elapsed or updates are forced - [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn goals -rf :org.wso2.carbon.mediator.autoscale.feature As autoscaler is not in the components pom , I tried to manually build it (platform/trunk/components/autoscaler), there i got following error. [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on project org.wso2.carbon.autoscaler.service: Compilation failure: Compilation failure: [ERROR] /home/malinga/work/repo/platform/trunk/components/autoscaler/service/autoscalerservice/src/main/java/org/wso2/carbon/autoscaler/service/agent/clients/AgentServiceClient.java:[25,52] package org.wso2.carbon.autoscaler.agent.service.stub does not exist [ERROR] /home/malinga/work/repo/platform/trunk/components/autoscaler/service/autoscalerservice/src/main/java/org/wso2/carbon/autoscaler/service/agent/clients/AgentServiceClient.java:[34,12] cannot find symbol [ERROR] symbol : class AgentServiceStub [ERROR] location: class org.wso2.carbon.autoscaler.service.agent.clients.AgentServiceClient [ERROR] /home/malinga/work/repo/platform/trunk/components/autoscaler/service/autoscalerservice/src/main/java/org/wso2/carbon/autoscaler/service/agent/clients/AgentServiceClient.java:[39,23] cannot find symbol [ERROR] symbol : class AgentServiceStub [ERROR] location: class org.wso2.carbon.autoscaler.service.agent.clients.AgentServiceClient [ERROR] - [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn goals -rf :org.wso2.carbon.autoscaler.service ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] Merging Jaggery with AS
Hi all, Are we going to merge Jaggery with AS for this release? If so, Nuwan are there any gray areas in doing this? Should be straight forward, isn't it? ~Isuru -- Isuru Suriarachchi Technical Lead WSO2 Inc. http://wso2.com email : is...@wso2.com blog : http://isurues.wordpress.com/ lean . enterprise . middleware ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] How to extract service response XML values inside a code written in JavaScript ?
On Tue, May 22, 2012 at 11:04 AM, Sajith Kariyawasam saj...@wso2.comwrote: Hi Tharindu/Kasun, Thanks for the responses, On Mon, May 21, 2012 at 11:34 PM, Tharindu Mathew thari...@wso2.comwrote: getElementByTagsName is a function of the document object, which is present in the browser. So, it only works in the browser. I'm bit confused here, I was trying to get the responseXML from WSRequest object, as an XML object, and then process it using getElementByTagsName function. so as far as the responseXML is an xml object shouldn't I be able to use getElementByTagsName irrespective of a browser ? No not necessarily. The problem here is the function you are mentioning is not present in the response object. It is not a function in the base object class. It is specific to the document object. You are using it because you are familiar with using it with the document object. The document object is given by the browser for dom manipulation. So, that is why it only works in the browser. On Mon, May 21, 2012 at 11:13 PM, Kasun Indrasiri ka...@wso2.com wrote: This may help.. https://developer.mozilla.org/En/E4X/Processing_XML_with_E4X yes, this link was helpful.. I tried the following as mentioned in the link .. var response = service.responseE4X..wx::GetQuoteResult.text(); var stock = new XML(response.toXMLString()); print(Symbol : + stock.Stock.Symbol); It works.. thanks On Mon, May 21, 2012 at 11:05 PM, Sajith Kariyawasam saj...@wso2.comwrote: Hi, I was trying to invoke a web service inside a javascript file, and deploy it in Mashup Server. SOAP response of the web service is defined as follows, ?xml version=1.0 encoding=utf-8? soap:Envelope xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xmlns:xsd=http://www.w3.org/2001/XMLSchema; xmlns:soap=http://schemas.xmlsoap.org/soap/envelope/; soap:Body GetQuoteResponse xmlns=http://www.webserviceX.NET/; GetQuoteResultstring/GetQuoteResult /GetQuoteResponse /soap:Body /soap:Envelope A sample response value is as follows , string xmlns=http://www.webserviceX.NET/; StockQuotesStockSymbolGOOG/SymbolLast613.43/LastDate5/21/2012/DateTime1:00pm/TimeChange+13.03/ChangeOpen601.00/OpenHigh615.694/HighLow600.00/LowVolume2006668/VolumeMktCap200.0B/MktCapPreviousClose600.40/PreviousClosePercentageChange+2.17%/PercentageChangeAnnRange473.02 - 670.25/AnnRangeEarns32.998/EarnsP-E18.20/P-ENameGoogle Inc./Name/Stock/StockQuotes /string My requirement is to extract couple of elements from the response (say, Symbol and Change) and print the values. In my .js file I tried a code like this, *var service = new WSRequest();* *...* *...* * var response = service.responseXML; * * var stock = response.getElementsByTagName('Stock'); * But I'm getting an exception saying ***ERROR - TypeError: Cannot find function getElementsByTagName in object ... * so, $subject please? Thanks, -- *Sajith Kariyawasam* *Senior Software Engineer; WSO2, Inc.; http://wso2.com* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Kasun Indrasiri Associate Technical Lead WSO2, Inc.; http://wso2.com lean.enterprise.middleware cell: +94 71 536 4128 Blog : http://kasunpanorama.blogspot.com/ ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Regards, Tharindu blog: http://mackiemathew.com/ M: +9459908 -- Regards, * * *Sajith Kariyawasam* *Senior Software Engineer; WSO2, Inc.; http://wso2.com* -- Regards, Tharindu blog: http://mackiemathew.com/ M: +9459908 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Merging of products services?
Hi, I got the multi-tenancy features in to CSG by modifying stratos common features. However, when I try to add a tenant (as admin) I get following error. [2012-05-22 11:04:54,913] ERROR - RPCMessageReceiver Exception occurred while trying to invoke service method addTenant java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.axis2.rpc.receivers.RPCUtil.invokeServiceClass(RPCUtil.java:212) at org.apache.axis2.rpc.receivers.RPCMessageReceiver.invokeBusinessLogic(RPCMessageReceiver.java:117) at org.apache.axis2.receivers.AbstractInOutMessageReceiver.invokeBusinessLogic(AbstractInOutMessageReceiver.java:40) at org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:110) at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:181) at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:172) at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:146) at org.wso2.carbon.core.transports.CarbonServlet.doPost(CarbonServlet.java:205) at javax.servlet.http.HttpServlet.service(HttpServlet.java:641) at javax.servlet.http.HttpServlet.service(HttpServlet.java:722) at org.eclipse.equinox.http.servlet.internal.ServletRegistration.handleRequest(ServletRegistration.java:90) at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:111) at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:67) at javax.servlet.http.HttpServlet.service(HttpServlet.java:722) at org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.service(DelegationServlet.java:45) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:225) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98) at org.wso2.carbon.tomcat.ext.valves.CompositeValve.invoke(CompositeValve.java:143) at org.wso2.carbon.tomcat.ext.valves.CarbonStuckThreadDetectionValve.invoke(CarbonStuckThreadDetectionValve.java:156) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927) at org.wso2.carbon.tomcat.ext.valves.CarbonContextCreatorValve.invoke(CarbonContextCreatorValve.java:48) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:999) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:565) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1620) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) Caused by: java.lang.NullPointerException at org.wso2.carbon.tenant.mgt.core.DefaultTenantPersistor.persistTenant(DefaultTenantPersistor.java:83) at org.wso2.carbon.tenant.mgt.services.TenantMgtAdminService.addTenant(TenantMgtAdminService.java:79) As per the chat with Shankar this can be avoid by adding, Property name=MultiTenantRealmConfigBuilderorg.wso2.carbon.user.core.config.multitenancy.SimpleRealmConfigBuilder/Property to user-mgt.xml. So I presume that this configuration will appear in user-mgt.xml from carbon pack by default? On Mon, May 21, 2012 at 12:05 PM, Thilina Buddhika thili...@wso2.com wrote: I fixed it. Need to test it further before committing. I can share the fixed bundle, so that you are not blocked on this. Thanks, Thilina On Mon, May 21, 2012 at 11:55 AM, Afkham Azeez az...@wso2.com wrote: I think Thilina has already fixed it. On Mon, May 21, 2012 at 10:28 AM, Ramith Jayasinghe ram...@wso2.com wrote: Hi Dimuthu, For now I will exclude the 'org.wso2.carbon.redirector.servlet.ui' from final pack (we can change this after
Re: [Dev] Error when building platformtrunkfeatures
Hi AmilaJ, On Tue, May 22, 2012 at 11:08 AM, Amila Jayasekara ami...@wso2.com wrote: Also autoscaler component is having following stubs. Guess we need to move them to service-stubs. Stuff (without stubs) at autoscaler component had copied to loadbalancer component and we've not integrated it (autoscaler) in component's POM. We kept it in the SVN just as a backup and we'll remove it once the code migration is done completely. org.wso2.carbon.autoscaler.agentmgt.service.stub, org.wso2.carbon.autoscaler.agent.service.stub Thanks AmilaJ On Tue, May 22, 2012 at 11:04 AM, Malinga Perera mali...@wso2.com wrote: [ERROR] Failed to execute goal on project org.wso2.carbon.mediator.autoscale.feature: Could not resolve dependencies for project org.wso2.carbon:org.wso2.carbon.mediator.autoscale.feature:pom:4.0.0-SNAPSHOT: Failure to find org.wso2.carbon:org.wso2.carbon.mediator.autoscale:jar:4.0.0-SNAPSHOT in http://maven.wso2.org/nexus/content/groups/wso2-public/ was cached in the local repository, resolution will not be reattempted until the update interval of wso2-nexus has elapsed or updates are forced - [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn goals -rf :org.wso2.carbon.mediator.autoscale.feature As autoscaler is not in the components pom , I tried to manually build it (platform/trunk/components/autoscaler), there i got following error. [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on project org.wso2.carbon.autoscaler.service: Compilation failure: Compilation failure: [ERROR] /home/malinga/work/repo/platform/trunk/components/autoscaler/service/autoscalerservice/src/main/java/org/wso2/carbon/autoscaler/service/agent/clients/AgentServiceClient.java:[25,52] package org.wso2.carbon.autoscaler.agent.service.stub does not exist [ERROR] /home/malinga/work/repo/platform/trunk/components/autoscaler/service/autoscalerservice/src/main/java/org/wso2/carbon/autoscaler/service/agent/clients/AgentServiceClient.java:[34,12] cannot find symbol [ERROR] symbol : class AgentServiceStub [ERROR] location: class org.wso2.carbon.autoscaler.service.agent.clients.AgentServiceClient [ERROR] /home/malinga/work/repo/platform/trunk/components/autoscaler/service/autoscalerservice/src/main/java/org/wso2/carbon/autoscaler/service/agent/clients/AgentServiceClient.java:[39,23] cannot find symbol [ERROR] symbol : class AgentServiceStub [ERROR] location: class org.wso2.carbon.autoscaler.service.agent.clients.AgentServiceClient [ERROR] - [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn goals -rf :org.wso2.carbon.autoscaler.service ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Mobile : +94773330538 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Thanks regards, Nirmal Software Engineer- Platform Technologies Team, WSO2 Inc. Mobile: +94715779733 Blog: http://nirmalfdo.blogspot.com/ ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] BE fault message not coming to the FE in Carbon
There was an issue in Axis2 where faults do not get propagated in the case of in only operations when you use the code first approach. On Mon, May 21, 2012 at 11:04 PM, Tharindu Mathew thari...@wso2.com wrote: When I execute, e.getMessage() at the Front end after catching the exception, I only get the Exception class. At the BE, the exception is thrown properly. ex: GadgetGenAdminServiceGadgetGenException What is the proper way of propagating the faut message from the BE to the FE? -- Regards, Tharindu blog: http://mackiemathew.com/ M: +9459908 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Afkham Azeez* Director of Architecture; WSO2, Inc.; http://wso2.com Member; Apache Software Foundation; http://www.apache.org/ * http://www.apache.org/** email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919 blog: **http://blog.afkham.org* http://blog.afkham.org* twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez * linked-in: **http://lk.linkedin.com/in/afkhamazeez* * * *Lean . Enterprise . Middleware* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Error when building platformtrunkfeatures
Hi Malinga, On Tue, May 22, 2012 at 11:04 AM, Malinga Perera mali...@wso2.com wrote: [ERROR] Failed to execute goal on project org.wso2.carbon.mediator.autoscale.feature: Could not resolve dependencies for project org.wso2.carbon:org.wso2.carbon.mediator.autoscale.feature:pom:4.0.0-SNAPSHOT: Failure to find org.wso2.carbon:org.wso2.carbon.mediator.autoscale:jar:4.0.0-SNAPSHOT in http://maven.wso2.org/nexus/content/groups/wso2-public/ was cached in the local repository, resolution will not be reattempted until the update interval of wso2-nexus has elapsed or updates are forced - [Help 1] Please build components/load-balancer. [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn goals -rf :org.wso2.carbon.mediator.autoscale.feature As autoscaler is not in the components pom , It is intentional! I tried to manually build it (platform/trunk/components/autoscaler), there i got following error. [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on project org.wso2.carbon.autoscaler.service: Compilation failure: Compilation failure: [ERROR] /home/malinga/work/repo/platform/trunk/components/autoscaler/service/autoscalerservice/src/main/java/org/wso2/carbon/autoscaler/service/agent/clients/AgentServiceClient.java:[25,52] package org.wso2.carbon.autoscaler.agent.service.stub does not exist [ERROR] /home/malinga/work/repo/platform/trunk/components/autoscaler/service/autoscalerservice/src/main/java/org/wso2/carbon/autoscaler/service/agent/clients/AgentServiceClient.java:[34,12] cannot find symbol [ERROR] symbol : class AgentServiceStub [ERROR] location: class org.wso2.carbon.autoscaler.service.agent.clients.AgentServiceClient [ERROR] /home/malinga/work/repo/platform/trunk/components/autoscaler/service/autoscalerservice/src/main/java/org/wso2/carbon/autoscaler/service/agent/clients/AgentServiceClient.java:[39,23] cannot find symbol [ERROR] symbol : class AgentServiceStub [ERROR] location: class org.wso2.carbon.autoscaler.service.agent.clients.AgentServiceClient [ERROR] - [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn goals -rf :org.wso2.carbon.autoscaler.service ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Thanks regards, Nirmal Software Engineer- Platform Technologies Team, WSO2 Inc. Mobile: +94715779733 Blog: http://nirmalfdo.blogspot.com/ ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] ESB_HOME/lib/core/WEB-INF/classes Property files are not loading
On Tue, May 22, 2012 at 10:55 AM, Pradeep Fernando prad...@wso2.com wrote: Hi, Any properly written library allow their users to feed-in config files using, 1. jre classPath 2. appClassPath 3. reside within the same jar - similar to appclasspath 4. system property +1. This is the correct approach. This is the standard search order of a config file. The whole point of OSGi module layer is to have independent classPaths. So basically, if we are going to support a common place for all the config files, we have to introduce a new classsLoader as the parent classLoader of bunldeClassLoader. Normally the parent being, boot or ext. I don't think it is technically possible (not sure 100%). Even if it is possible we should not do such hacks. thanks, --Pradeep -- *Afkham Azeez* Director of Architecture; WSO2, Inc.; http://wso2.com Member; Apache Software Foundation; http://www.apache.org/ * http://www.apache.org/** email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919 blog: **http://blog.afkham.org* http://blog.afkham.org* twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez * linked-in: **http://lk.linkedin.com/in/afkhamazeez* * * *Lean . Enterprise . Middleware* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev