[Dev] HttpModule registered in IIS7 doesn't call even Init()
Hi, I created HttpModule and registered it in the IIS7 using IIS Manager(UI) and it shows as it is running but while I am calling IIS loading the default website into the browser, the output file of the created dll isn't being written. the code is very simple, the init of it is like, public void Init(HttpApplication application) { using (System.IO.StreamWriter file = new System.IO.StreamWriter(@C:\Users\Ayash\Desktop\abc\IISTEST.txt)) { file.Write(Init); file.Flush(); } } Please somebody help. Thanks and Regards, -Ayash ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Partial Distributed Setup Doc does not tell where to run Hadoop?
Fixed it Thanks and Regards, -Ayash On Tue, Nov 5, 2013 at 10:22 AM, Chamara Ariyarathne chama...@wso2.comwrote: According to my knowledge, Partially distributed setup does not need an external hadoop cluster. It uses the BAM's in built hadoop mapreduce functionality. However in this doc, the zookeeper related configurations and information should be removed, and add the new Hazelcast clustering information. On Tue, Nov 5, 2013 at 9:37 AM, Srinath Perera srin...@wso2.com wrote: Please fix http://docs.wso2.org/display/BAM240/Partially-Distributed%2C+Highly-Available+BAM+Setup -- Srinath Perera, Ph.D. http://people.apache.org/~hemapani/ http://srinathsview.blogspot.com/ ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Chamara Ariyarathne* Senior Software Engineer - QA; WSO2 Inc; http://www.wso2.com/. Mobile; *+94772786766 %2B94772786766* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Build failure in chunk02
Hi, I just built chunk2 with a clean repo and I happened to build the following locations manually. Platform\service-stubs\org.wso2.carbon.event.input.adaptor.manager.stub\1.0.0 Platform\service-stubs\org.wso2.carbon.event.output.adaptor.manager.stub\1.0.0 Platform\service-stubs\org.wso2.carbon.event.builder.stub\1.0.1 Platform\service-stubs\org.wso2.carbon.event.formatter.stub\1.0.1 Platform\service-stubs\org.wso2.carbon.event.processor.stub\1.0.1 Platform\components\stratos\org.wso2.carbon.google.analytics.ui\2.2.0 Then, it is possible to continue building, but, the problem is these are there in the chunk2/service-stubs/pom.xml. why these are not being built??? Thanks and Regards, -Ayash On Tue, Sep 17, 2013 at 8:00 PM, Isuruwan Herath isuru...@wso2.com wrote: Hi Lasantha, Yes, stubs got generated when service-stubs built again and build could be continued. Thanks Lasantha. On Tue, Sep 17, 2013 at 7:39 PM, Lasantha Fernando lasan...@wso2.comwrote: Hi Isuruwan, These stubs should be built since they are included in the chunk-02/service-stubs/pom.xml. Will verify this issue in a clean repo and see. Thanks, Lasantha On 17 September 2013 19:07, Isuruwan Herath isuru...@wso2.com wrote: Compilation error occurs due to below mentioned stub is not generated, when built with clean repo. [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on project org.wso2.carbon.event.input.adaptor.manager.ui: Compilation failure: Compilation failure: [ERROR] /home/wso2/checkout/platform/4.2.0/components/event-processing/event-input-adaptor/org.wso2.carbon.event.input.adaptor.manager.ui/1.0.0/src/main/java/org/wso2/carbon/event/input/adaptor/manager/ui/InputEventAdaptorUIUtils.java:[8,55] package org.wso2.carbon.event.input.adaptor.manager.stub does not exist [ERROR] /home/wso2/checkout/platform/4.2.0/components/event-processing/event-input-adaptor/org.wso2.carbon.event.input.adaptor.manager.ui/1.0.0/src/main/java/org/wso2/carbon/event/input/adaptor/manager/ui/InputEventAdaptorUIUtils.java:[16,18] cannot find symbol [ERROR] symbol : class InputEventAdaptorManagerAdminServiceStub [ERROR] location: class org.wso2.carbon.event.input.adaptor.manager.ui.InputEventAdaptorUIUtils [ERROR] /home/wso2/checkout/platform/4.2.0/components/event-processing/event-input-adaptor/org.wso2.carbon.event.input.adaptor.manager.ui/1.0.0/src/main/java/org/wso2/carbon/event/input/adaptor/manager/ui/InputEventAdaptorUIUtils.java:[25,8] cannot find symbol [ERROR] symbol : class InputEventAdaptorManagerAdminServiceStub [ERROR] location: class org.wso2.carbon.event.input.adaptor.manager.ui.InputEventAdaptorUIUtils [ERROR] /home/wso2/checkout/platform/4.2.0/components/event-processing/event-input-adaptor/org.wso2.carbon.event.input.adaptor.manager.ui/1.0.0/src/main/java/org/wso2/carbon/event/input/adaptor/manager/ui/InputEventAdaptorUIUtils.java:[25,60] cannot find symbol [ERROR] symbol : class InputEventAdaptorManagerAdminServiceStub [ERROR] location: class org.wso2.carbon.event.input.adaptor.manager.ui.InputEventAdaptorUIUtils [ERROR] - [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. -- Isuruwan Herath Technical Lead Contact: +94 776 273 296 -- *Lasantha Fernando* Software Engineer - Data Technologies Team WSO2 Inc. http://wso2.com email: lasan...@wso2.com mobile: (+94) 71 5247551 -- Isuruwan Herath Technical Lead Contact: +94 776 273 296 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Regurgitating the fix on BAM-1272
I also got the same error while checking the patch with bam-2.4.0-m2. I need to check this once again and contact you guys again. Thanks. Sent from my Windows Phone -- From: Sameera Jayasoma same...@wso2.com Sent: 9/16/2013 5:12 PM To: Manoj Kumara ma...@wso2.com Cc: dev dev@wso2.org; Ayashkantha Ramasinghe ayashkan...@wso2.com Subject: Re: [Dev] Regurgitating the fix on BAM-1272 Hi BAM team, Please fix the patch and send it again. As Manoj pointed out, there seems to me issues in the attached fix. Thanks, Sameera. On Mon, Sep 16, 2013 at 10:51 AM, Manoj Kumara ma...@wso2.com wrote: Subject need to be corrected as, * Regarding the fix on BAM-1272* * * Sorry about the typo error. Thanks, Manoj Best Regards.. Manoj Kumara Software Engineer WSO2, Inc.; http://wso2.com Twitter: http://twitter.com/ManKuma Mobile: +94713448188 On Mon, Sep 16, 2013 at 10:48 AM, Manoj Kumara ma...@wso2.com wrote: Hi Ayashkantha, I reviewed your patch on [1] before committing to branch and have observed that this can cause errors due to following reason. Some of the handlers are put on appHandlers list to register later even ApplicationManager is not initialized. Since setAppHandler() is bind on servicecomponents.xml to org.wso2.carbon.application.deployer bundle. This method will be called immediately after required services get available by the framework to register existing handlers. According to the patch when try to get instance of ApplicationManager cause *NoClassDefFoundError *since its yet to be initialized. These handlers are registered during activate method of the bundle. I tested this patch with AS and BAM-M2 release products. This cause runtime errors. Can you please check and verify this. [1] https://wso2.org/jira/browse/BAM-1272 Thanks, Best Regards.. Manoj Kumara Software Engineer WSO2, Inc.; http://wso2.com Twitter: http://twitter.com/ManKuma Mobile: +94713448188 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Sameera Jayasoma, Architect, WSO2, Inc. (http://wso2.com) email: same...@wso2.com blog: http://sameera.adahas.org twitter: https://twitter.com/sameerajayasoma flickr: http://www.flickr.com/photos/sameera-jayasoma/collections Mobile: 0094776364456 Lean . Enterprise . Middleware ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] WSO2 Business Activity Monitor 2.4.0-Milestone2 Released !
WSO2 Business Activity Monitor 2.4.0-Milestone2 Released ! Date: 15th September 2013 The WSO2 Business Activity Monitor team is pleased to announce the releaseof 2.4.0-Milestone2 version of the WSO2 Business Activity Monitor. The BAM 2.4.0-Milestone distribution is available at http://svn.wso2.org/repos/wso2/people/ayash/wso2bam-2.4.0_M2.zip Following is the new features available with this release. - [BAM-1283 http://Integrate UES features to BAM] - Integrate UES features to BAM Regards, WSO2 BAM Team ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [Commits] [Carbon-platform] svn commit r185274 - carbon/platform/branches/4.2.0/product-releases/chunk-02/components
Hi, I am also getting the same error while trying to build with clean repo. Thanks and Regards, -Ayash On Fri, Sep 13, 2013 at 11:39 AM, Ajith Vitharana aji...@wso2.com wrote: [INFO] Scanning for projects... [ERROR] The build could not read 1 project - [Help 1] [ERROR] [ERROR] The project org.wso2.carbon:product-releases-components:4.2.0-chunk02 (/home/ajith/wso2/build/platform/4.2.0/product-releases/chunk-02/components/pom.xml) has 1 error [ERROR] Child module /home/ajith/wso2/build/platform/4.2.0/product-releases/chunk-02/components/../../../components/stratos/usage/org.wso2.carbon.keystore.mgt/2.2.1 of /home/ajith/wso2/build/platform/4.2.0/product-releases/chunk-02/components/pom.xml does not exist [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. Please update the chunk02 poms properly when you create patch versions. Thanks Ajith On Thu, Sep 12, 2013 at 10:01 PM, danush...@wso2.com wrote: Author: danush...@wso2.com Date: Thu Sep 12 22:01:37 2013 New Revision: 185274 URL: http://wso2.org/svn/browse/wso2?view=revrevision=185274 Log: add keystore new version Modified: carbon/platform/branches/4.2.0/product-releases/chunk-02/components/pom.xml Modified: carbon/platform/branches/4.2.0/product-releases/chunk-02/components/pom.xml URL: http://wso2.org/svn/browse/wso2/carbon/platform/branches/4.2.0/product-releases/chunk-02/components/pom.xml?rev=185274r1=185273r2=185274view=diff == --- carbon/platform/branches/4.2.0/product-releases/chunk-02/components/pom.xml (original) +++ carbon/platform/branches/4.2.0/product-releases/chunk-02/components/pom.xml Thu Sep 12 22:01:37 2013 @@ -105,6 +105,7 @@ module../../../components/stratos/throttling/org.wso2.carbon.throttling.ui/2.2.0/module module../../../components/stratos/usage/org.wso2.carbon.usage/2.2.0/module module../../../components/stratos/usage/org.wso2.carbon.usage.ui/2.2.0/module + module../../../components/stratos/usage/org.wso2.carbon.keystore.mgt/2.2.1/module module../../../components/transport-mgt/org.wso2.carbon.transport.vfs/4.2.0/module ___ Commits mailing list comm...@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/commits -- Ajith Vitharana. WSO2 Inc. - http://wso2.org Email : aji...@wso2.com Mobile : +94772217350 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] Server Startup Error - Could not initialize class org.apache.log4j.LogManager
Hi, I am getting this error while starting server(latest pack), java.lang.NoClassDefFoundError: Could not initialize class org.apache.log4j.LogManager at org.slf4j.impl.Log4jLoggerFactory.getLogger(Log4jLoggerFactory.java:73) at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:242) at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:254) at org.apache.cassandra.service.AbstractCassandraDaemon.clinit(AbstractCassandraDaemon.java:104) at org.wso2.carbon.cassandra.server.CassandraServerController.init(CassandraServerController.java:36) at org.wso2.carbon.cassandra.server.internal.CassandraServerDSComponent.activate(CassandraServerDSComponent.java:100) 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:260) at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activate(ServiceComponentProp.java:146) at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:347) at org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:620) at org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:197) at org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:343) at org.eclipse.equinox.internal.ds.SCRManager.serviceChanged(SCRManager.java:222) at org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:107) 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 org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:433) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:451) at org.wso2.carbon.identity.authentication.internal.AuthenticationServiceComponent.activate(AuthenticationServiceComponent.java:57) 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:260) at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activate(ServiceComponentProp.java:146) at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:347) at org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:620) at org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:197) at org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:343) at org.eclipse.equinox.internal.ds.SCRManager.serviceChanged(SCRManager.java:222) at org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:107) 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 org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:433) at org.wso2.carbon.user.core.internal.Activator.startDeploy(Activator.java:73) at
Re: [Dev] Build failure in trunk - org.wso2.carbon.mashup.utils
Hi, I am also getting the same error. Thank you, -Ayashkantha Ramasinghe -Software Engineer -Tel: +94 777 487 669 On Thu, Aug 22, 2013 at 6:13 PM, Inosh Goonewardena in...@wso2.com wrote: [INFO] [INFO] BUILD FAILURE [INFO] [INFO] Total time: 4:44.507s [INFO] Finished at: Thu Aug 22 15:12:36 IST 2013 [INFO] Final Memory: 1420M/1956M [INFO] [ERROR] Failed to execute goal on project org.wso2.carbon.mashup.utils: Could not resolve dependencies for project org.wso2.carbon:org.wso2.carbon.mashup.utils:bundle:4.2.0-SNAPSHOT: Could not find artifact org.jaggeryjs:org.jaggeryjs.scriptengine:jar:0.9.0-07262013 in wso2-nexus ( http://maven.wso2.org/nexus/content/groups/wso2-public/) - [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.mashup.utils -- Regards, Inosh Goonewardena Associate Technical Lead- WSO2 Inc. Mobile: +94779966317 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] Admin Login Error - org.wso2.carbon.registry.core.exceptions.ResourceNotFoundException: Resource does not exist at path /_system/governance/permission/
.carbon.tomcat.ext.valves.CarbonContextCreatorValve.invoke(CarbonContextCreatorValve.java:52) 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:1004) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1653) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918) at java.lang.Thread.run(Thread.java:662) Caused by: org.wso2.carbon.registry.core.exceptions.ResourceNotFoundException: Resource does not exist at path /_system/governance/permission/ at org.wso2.carbon.registry.core.jdbc.EmbeddedRegistry.get(EmbeddedRegistry.java:532) at org.wso2.carbon.registry.core.caching.CacheBackedRegistry.get(CacheBackedRegistry.java:164) at org.wso2.carbon.registry.core.session.UserRegistry.get(UserRegistry.java:524) at org.wso2.carbon.core.services.loggeduserinfo.LoggedUserInfoAdmin.getUserPermissions(LoggedUserInfoAdmin.java:99) at org.wso2.carbon.core.services.loggeduserinfo.LoggedUserInfoAdmin.getUserInfo(LoggedUserInfoAdmin.java:70) ... 54 more Thank you, -- Ayashkantha Ramasinghe Software Engineer Tel: +94 777 487 669 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] Compilation Error - platform/trunk/components/user-manager
Hi, I am getting the following error, $subject [INFO] BUILD FAILURE [INFO] [INFO] Total time: 5.889s [INFO] Finished at: Thu Jul 25 14:13:27 IST 2013 [INFO] Final Memory: 33M/618M [INFO] [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on project org.wso2.carbon.user.mgt: Compilation failure: Compilation failure: [ERROR] /home/ayash/trunk/platform/trunk/components/user-manager/org.wso2.carbon.user.mgt/src/main/java/org/wso2/carbon/user/mgt/UserRealmProxy.java:[234,61] cannot find symbol [ERROR] symbol : method getSharedRoleNames(java.lang.String,int) [ERROR] location: class org.wso2.carbon.user.core.common.AbstractUserStoreManager [ERROR] /home/ayash/trunk/platform/trunk/components/user-manager/org.wso2.carbon.user.mgt/src/main/java/org/wso2/carbon/user/mgt/UserRealmProxy.java:[1865,63] isOthersSharedRole(java.lang.String,java.lang.String) in org.wso2.carbon.user.core.common.AbstractUserStoreManager cannot be applied to (java.lang.String) [ERROR] /home/ayash/trunk/platform/trunk/components/user-manager/org.wso2.carbon.user.mgt/src/main/java/org/wso2/carbon/user/mgt/UserRealmProxy.java:[2059,64] isOthersSharedRole(java.lang.String,java.lang.String) in org.wso2.carbon.user.core.common.AbstractUserStoreManager cannot be applied to (java.lang.String) [ERROR] - [Help 1] Thank you -- Ayashkantha Ramasinghe Software Engineer Tel: +94 777 487 669 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Compilation Error - platform/trunk/components/user-manager
Hi Dimuthu, Yes, building the kernel fixing this issue. Thank you, On Thu, Jul 25, 2013 at 2:32 PM, Gokul Balakrishnan go...@wso2.com wrote: This won't appear if you build the kernel. On 25 July 2013 14:21, Ayashkantha Ramasinghe ayashkan...@wso2.comwrote: Hi, I am getting the following error, $subject [INFO] BUILD FAILURE [INFO] [INFO] Total time: 5.889s [INFO] Finished at: Thu Jul 25 14:13:27 IST 2013 [INFO] Final Memory: 33M/618M [INFO] [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on project org.wso2.carbon.user.mgt: Compilation failure: Compilation failure: [ERROR] /home/ayash/trunk/platform/trunk/components/user-manager/org.wso2.carbon.user.mgt/src/main/java/org/wso2/carbon/user/mgt/UserRealmProxy.java:[234,61] cannot find symbol [ERROR] symbol : method getSharedRoleNames(java.lang.String,int) [ERROR] location: class org.wso2.carbon.user.core.common.AbstractUserStoreManager [ERROR] /home/ayash/trunk/platform/trunk/components/user-manager/org.wso2.carbon.user.mgt/src/main/java/org/wso2/carbon/user/mgt/UserRealmProxy.java:[1865,63] isOthersSharedRole(java.lang.String,java.lang.String) in org.wso2.carbon.user.core.common.AbstractUserStoreManager cannot be applied to (java.lang.String) [ERROR] /home/ayash/trunk/platform/trunk/components/user-manager/org.wso2.carbon.user.mgt/src/main/java/org/wso2/carbon/user/mgt/UserRealmProxy.java:[2059,64] isOthersSharedRole(java.lang.String,java.lang.String) in org.wso2.carbon.user.core.common.AbstractUserStoreManager cannot be applied to (java.lang.String) [ERROR] - [Help 1] Thank you -- Ayashkantha Ramasinghe Software Engineer Tel: +94 777 487 669 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Balakrishnan Gokulakrishnan* Software Engineer, WSO2, Inc.; http://wso2.com Twitter: http://twitter.com/gokulbs Mobile: +94775935789 -- Ayashkantha Ramasinghe Software Engineer Tel: +94 777 487 669 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.1:compile (default-compile) on project wss4j: Compilation failure: Compilation failure:
in a future release [ERROR] [ERROR] /home/ayash/trunk/kernel/trunk/dependencies/wss4j/1.5.11-wso2v6/src/org/apache/ws/security/kerberos/KrbTicketDecoder.java:[93,9] EncryptionKey is internal proprietary API and may be removed in a future release [ERROR] [ERROR] /home/ayash/trunk/kernel/trunk/dependencies/wss4j/1.5.11-wso2v6/src/org/apache/ws/security/kerberos/KrbTicketDecoder.java:[97,2] EncryptionKey is internal proprietary API and may be removed in a future release [ERROR] [ERROR] /home/ayash/trunk/kernel/trunk/dependencies/wss4j/1.5.11-wso2v6/src/org/apache/ws/security/kerberos/KrbTicketDecoder.java:[99,51] KeyUsage is internal proprietary API and may be removed in a future release [ERROR] [ERROR] /home/ayash/trunk/kernel/trunk/dependencies/wss4j/1.5.11-wso2v6/src/org/apache/ws/security/kerberos/KrbTicketDecoder.java:[105,30] error: method reset in class EncryptedData cannot be applied to given types; [ERROR] [ERROR] actual and formal argument lists differ in length [ERROR] /home/ayash/trunk/kernel/trunk/dependencies/wss4j/1.5.11-wso2v6/src/org/apache/ws/security/kerberos/KrbTicketDecoder.java:[106,2] EncTicketPart is internal proprietary API and may be removed in a future release [ERROR] [ERROR] /home/ayash/trunk/kernel/trunk/dependencies/wss4j/1.5.11-wso2v6/src/org/apache/ws/security/kerberos/KrbTicketDecoder.java:[106,30] EncTicketPart is internal proprietary API and may be removed in a future release [ERROR] [ERROR] /home/ayash/trunk/kernel/trunk/dependencies/wss4j/1.5.11-wso2v6/src/org/apache/ws/security/kerberos/KrbTicketDecoder.java:[111,9] EncryptionKey is internal proprietary API and may be removed in a future release [ERROR] [ERROR] /home/ayash/trunk/kernel/trunk/dependencies/wss4j/1.5.11-wso2v6/src/org/apache/ws/security/kerberos/KrbTicketDecoder.java:[114,13] EncryptionKey is internal proprietary API and may be removed in a future release [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 Thank you, -- Ayashkantha Ramasinghe Software Engineer Tel: +94 777 487 669 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] java.lang.NullPointerException while invoking admin service operation thru SoapUI
Hi, $subject. The error encountered is, ERROR - AuthenticationHandler java.lang.NullPointerException at org.wso2.carbon.server.admin.module.handler.AuthenticationHandler.invalidateSession(AuthenticationHandler.java:202) at org.wso2.carbon.server.admin.module.handler.AuthenticationHandler.isAuthenticated(AuthenticationHandler.java:162) at org.wso2.carbon.server.admin.module.handler.AuthenticationHandler.authenticate(AuthenticationHandler.java:83) at org.wso2.carbon.server.admin.module.handler.AuthenticationHandler.invoke(AuthenticationHandler.java:55) at org.apache.axis2.engine.Phase.invokeHandler(Phase.java:340) at org.apache.axis2.engine.Phase.invoke(Phase.java:313) at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:261) at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:167) at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:172) at org.apache.synapse.transport.nhttp.ServerWorker.processEntityEnclosingMethod(ServerWorker.java:455) at org.apache.synapse.transport.nhttp.ServerWorker.run(ServerWorker.java:275) at org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:172) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:722) [2013-07-18 17:10:28,059] ERROR - AxisEngine Authentication failure org.apache.axis2.AxisFault: Authentication failure at org.wso2.carbon.server.admin.module.handler.AuthenticationHandler.authenticate(AuthenticationHandler.java:110) at org.wso2.carbon.server.admin.module.handler.AuthenticationHandler.invoke(AuthenticationHandler.java:55) at org.apache.axis2.engine.Phase.invokeHandler(Phase.java:340) at org.apache.axis2.engine.Phase.invoke(Phase.java:313) at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:261) at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:167) at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:172) at org.apache.synapse.transport.nhttp.ServerWorker.processEntityEnclosingMethod(ServerWorker.java:455) at org.apache.synapse.transport.nhttp.ServerWorker.run(ServerWorker.java:275) at org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:172) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:722) [2013-07-18 17:10:28,060] ERROR - ServerWorker Error processing POST request org.apache.axis2.AxisFault: Authentication failure at org.wso2.carbon.server.admin.module.handler.AuthenticationHandler.authenticate(AuthenticationHandler.java:110) at org.wso2.carbon.server.admin.module.handler.AuthenticationHandler.invoke(AuthenticationHandler.java:55) at org.apache.axis2.engine.Phase.invokeHandler(Phase.java:340) at org.apache.axis2.engine.Phase.invoke(Phase.java:313) at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:261) at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:167) at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:172) at org.apache.synapse.transport.nhttp.ServerWorker.processEntityEnclosingMethod(ServerWorker.java:455) at org.apache.synapse.transport.nhttp.ServerWorker.run(ServerWorker.java:275) at org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:172) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:722) please help us. Thank you -- Ayashkantha Ramasinghe Software Engineer Tel: +94 777 487 669 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Jaggery is not querying data properly from oracle-DBs.
Hi Nuwan, We want that fix to our new release. we are going to switch to jaggery version 5. did you host that in maven repository? thank you On Tue, May 14, 2013 at 11:47 AM, Nuwan Bandara nu...@wso2.com wrote: yap, fixed it Regards, /Nuwan On Tue, May 14, 2013 at 11:46 AM, Sumedha Rubasinghe sume...@wso2.comwrote: Nuwan, I think the problem is org.jaggeryjs.hostobjects.db.DatabaseHostObject.getValue(DatabaseHostObject.java:607). You should not try to read if the value is null. But rather set one back to response being returned. On Tue, May 14, 2013 at 10:47 AM, Nuwan Bandara nu...@wso2.com wrote: Hi, We might have to debug the DB Api and look into it. what is you query ? Regards, /Nuwan On Tue, May 14, 2013 at 10:22 AM, Ayashkantha Ramasinghe ayashkan...@wso2.com wrote: Hi, On Mon, May 13, 2013 at 9:10 PM, Nuwan Bandara nu...@wso2.com wrote: Hi, What is WSO2BAM_DATASOURCE, thats wrong syntax for DB API WSO2BAM_DATASOURCE is configured in $BAM_HOME/repository/conf/datasources/master-datasources.xml. this is the configuration of that. datasource nameWSO2BAM_DATASOURCE/name descriptionThe datasource used for analyzer data/description definition type=RDBMS configuration urljdbc:oracle:thin:@10.100.3.227:1521/daniddb /url usernameayash_db/username passwordayash_db/password driverClassNameoracle.jdbc.driver.OracleDriver/driverClassName maxActive50/maxActive maxWait6/maxWait testOnBorrowtrue/testOnBorrow validationQuerySELECT 1/validationQuery validationInterval3/validationInterval /configuration /definition /datasource I think the problem is processing the data retrieved, because, i think, it connects to the database properly. On Mon, May 13, 2013 at 7:16 PM, Ayashkantha Ramasinghe ayashkan...@wso2.com wrote: Hi, query() function is being failed to return the result while oracle DB consisted of null values in it. I am getting this error, [2013-05-13 18:04:38,014] ERROR {org.jaggeryjs.jaggery.core.manager.WebAppManager} - org.mozilla.javascript.WrappedException: Wrapped java.lang.NullPointerException (/bamdashboards/activity_monitoring/gadgets/dataSource.ajaxProcessor.jag#53) org.jaggeryjs.scriptengine.exceptions.ScriptException: org.mozilla.javascript.WrappedException: Wrapped java.lang.NullPointerException (/bamdashboards/activity_monitoring/gadgets/dataSource.ajaxProcessor.jag#53) at org.jaggeryjs.scriptengine.engine.RhinoEngine.execScript(RhinoEngine.java:446) at org.jaggeryjs.scriptengine.engine.RhinoEngine.exec(RhinoEngine.java:191) at org.jaggeryjs.jaggery.core.manager.WebAppManager.execute(WebAppManager.java:269) at org.jaggeryjs.jaggery.core.JaggeryServlet.doPost(JaggeryServlet.java:29) at javax.servlet.http.HttpServlet.service(HttpServlet.java:755) at javax.servlet.http.HttpServlet.service(HttpServlet.java:848) 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:222) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99) at org.wso2.carbon.tomcat.ext.valves.CompositeValve.invoke(CompositeValve.java:177) at org.wso2.carbon.tomcat.ext.valves.CarbonStuckThreadDetectionValve.invoke(CarbonStuckThreadDetectionValve.java:161) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:936) at org.wso2.carbon.tomcat.ext.valves.CarbonContextCreatorValve.invoke(CarbonContextCreatorValve.java:57) 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:1004) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1653) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918) at java.lang.Thread.run(Thread.java:662) Caused by: org.mozilla.javascript.WrappedException: Wrapped java.lang.NullPointerException (/bamdashboards
[Dev] Jaggery is not querying data properly from oracle-DBs.
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.mozilla.javascript.MemberBox.invoke(MemberBox.java:160) ... 36 more while executing following code snippet var db; if(dbType == RDBMS){ db = new Database(WSO2BAM_DATASOURCE); } else if(dbType == cassandra){ var config = { driverClassName:org.apache.cassandra.cql.jdbc.CassandraDriver } db = new Database(jdbc:cassandra://localhost:9160/EVENT_KS, admin, admin, config); } * result = db.query(q);*//this is the line 53 and q is query log.info(result); -- Ayashkantha Ramasinghe Software Engineer Tel: +94 777 487 669 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Jaggery is not querying data properly from oracle-DBs.
Hi, On Mon, May 13, 2013 at 9:10 PM, Nuwan Bandara nu...@wso2.com wrote: Hi, What is WSO2BAM_DATASOURCE, thats wrong syntax for DB API WSO2BAM_DATASOURCE is configured in $BAM_HOME/repository/conf/datasources/master-datasources.xml. this is the configuration of that. datasource nameWSO2BAM_DATASOURCE/name descriptionThe datasource used for analyzer data/description definition type=RDBMS configuration urljdbc:oracle:thin:@10.100.3.227:1521/daniddb/url usernameayash_db/username passwordayash_db/password driverClassNameoracle.jdbc.driver.OracleDriver/driverClassName maxActive50/maxActive maxWait6/maxWait testOnBorrowtrue/testOnBorrow validationQuerySELECT 1/validationQuery validationInterval3/validationInterval /configuration /definition /datasource I think the problem is processing the data retrieved, because, i think, it connects to the database properly. On Mon, May 13, 2013 at 7:16 PM, Ayashkantha Ramasinghe ayashkan...@wso2.com wrote: Hi, query() function is being failed to return the result while oracle DB consisted of null values in it. I am getting this error, [2013-05-13 18:04:38,014] ERROR {org.jaggeryjs.jaggery.core.manager.WebAppManager} - org.mozilla.javascript.WrappedException: Wrapped java.lang.NullPointerException (/bamdashboards/activity_monitoring/gadgets/dataSource.ajaxProcessor.jag#53) org.jaggeryjs.scriptengine.exceptions.ScriptException: org.mozilla.javascript.WrappedException: Wrapped java.lang.NullPointerException (/bamdashboards/activity_monitoring/gadgets/dataSource.ajaxProcessor.jag#53) at org.jaggeryjs.scriptengine.engine.RhinoEngine.execScript(RhinoEngine.java:446) at org.jaggeryjs.scriptengine.engine.RhinoEngine.exec(RhinoEngine.java:191) at org.jaggeryjs.jaggery.core.manager.WebAppManager.execute(WebAppManager.java:269) at org.jaggeryjs.jaggery.core.JaggeryServlet.doPost(JaggeryServlet.java:29) at javax.servlet.http.HttpServlet.service(HttpServlet.java:755) at javax.servlet.http.HttpServlet.service(HttpServlet.java:848) 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:222) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99) at org.wso2.carbon.tomcat.ext.valves.CompositeValve.invoke(CompositeValve.java:177) at org.wso2.carbon.tomcat.ext.valves.CarbonStuckThreadDetectionValve.invoke(CarbonStuckThreadDetectionValve.java:161) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:936) at org.wso2.carbon.tomcat.ext.valves.CarbonContextCreatorValve.invoke(CarbonContextCreatorValve.java:57) 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:1004) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1653) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918) at java.lang.Thread.run(Thread.java:662) Caused by: org.mozilla.javascript.WrappedException: Wrapped java.lang.NullPointerException (/bamdashboards/activity_monitoring/gadgets/dataSource.ajaxProcessor.jag#53) at org.mozilla.javascript.Context.throwAsScriptRuntimeEx(Context.java:1654) at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:175) at org.mozilla.javascript.FunctionObject.call(FunctionObject.java:411) at org.mozilla.javascript.optimizer.OptRuntime.call1(OptRuntime.java:66) at org.jaggeryjs.rhino.bamdashboards.activity_monitoring.gadgets.c1._c2(/bamdashboards/activity_monitoring/gadgets/dataSource.ajaxProcessor.jag:53) at org.jaggeryjs.rhino.bamdashboards.activity_monitoring.gadgets.c1.call(/bamdashboards/activity_monitoring/gadgets/dataSource.ajaxProcessor.jag) at org.mozilla.javascript.optimizer.OptRuntime.callName(OptRuntime.java:97) at org.jaggeryjs.rhino.bamdashboards.activity_monitoring.gadgets.c1._c0(/bamdashboards