Re: [Dev] Cannot Login to Management Console -4.0.2 API-M build

2012-10-05 Thread Lalaji Sureshika
Hi,

This issue has been fixed now.I took a svn up again of kernel upto r144951
and now can log-in to management console successfully.

Thanks;

On Fri, Oct 5, 2012 at 10:10 AM, Lalaji Sureshika lal...@wso2.com wrote:

 Hi Manjula,

 On Fri, Oct 5, 2012 at 9:53 AM, Manjula Rathnayake manju...@wso2.comwrote:

 Hi Lalaji,

 Is API Manager configured to use with LDAP? we faced similar issue and
 Suresh committed the fix about a week ago. And check if local transport is
 enabled in API Manager pack as well.


 API Manager referring to default JDBCUserStoreManager configurations and
 not LDAP  and yes,we have enabled local transport in it.

 Note: Until yesterday morning after building API-M pack,we could able to
 successfully login to APIM management console and its apps.Issue arose
 after taking a svn up on yesterday evening.

 Thanks;


 thank you.

 On Fri, Oct 5, 2012 at 10:34 AM, Lalaji Sureshika lal...@wso2.comwrote:

 Hi,

 Tried with updating kernel to r144948. Still the issue is there.

 Thanks;


 On Fri, Oct 5, 2012 at 9:07 AM, Lalaji Sureshika lal...@wso2.comwrote:

 Hi,

 After taking a svn up in kernel level,on yesterday evening,cannot
 log-into the management console with default admin credentials in API-M
 build pack.Following warning log[1]  thrown at backend. Checked with
 locally built carbon-core  pack as well.Same issue exists there as well.

 Note that this issue was not exists earlier when I built API-M pack
 with taking a svn up on yesterday morning.

 [2012-10-05 08:59:49,480]  WARN
 {org.wso2.carbon.core.services.util.CarbonAuthenticationUtil} -  Failed
 Administrator login attempt 'admin[-1234]' at [2012-10-05 
 08:59:49,479+0430]

 Thanks;

 --
 Lalaji Sureshika
 Software Engineer; Development Technologies Team;WSO2, Inc.;
 http://wso2.com/
 email: lal...@wso2.com; cell: +94 71 608 6811
 blog: http://lalajisureshika.blogspot.com






 --
 Lalaji Sureshika
 Software Engineer; Development Technologies Team;WSO2, Inc.;
 http://wso2.com/
 email: lal...@wso2.com; cell: +94 71 608 6811
 blog: http://lalajisureshika.blogspot.com




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




 --
 Manjula Rathnayaka
 Software Engineer
 WSO2, Inc.
 Mobile:+94 77 743 1987




 --
 Lalaji Sureshika
 Software Engineer; Development Technologies Team;WSO2, Inc.;
 http://wso2.com/
 email: lal...@wso2.com; cell: +94 71 608 6811
 blog: http://lalajisureshika.blogspot.com






-- 
Lalaji Sureshika
Software Engineer; Development Technologies Team;WSO2, Inc.;
http://wso2.com/
email: lal...@wso2.com; cell: +94 71 608 6811
blog: http://lalajisureshika.blogspot.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [Bamboo-Build] Carbon Snapshot Orbit #199 was SUCCESSFUL

2012-10-05 Thread Bamboo

---
Carbon Snapshot  Orbit  #199 was successful.
---
This build was triggered at the scheduled time of 12:00 AM

http://wso2.org/bamboo/browse/WSO2CARBON-CARBONKERNELBUILD-199/





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


[Dev] [Bamboo-Build] WSO2 Carbon BRANCH Platform_4.0.0 #434 has FAILED (14 tests failed, no failures were new)

2012-10-05 Thread Bamboo

---
WSO2 Carbon BRANCH  Platform_4.0.0  #434 failed.
---
This build occurred because it is a dependant of WCB001-KER000-266.
14/1666 tests failed, no failures were new.

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

-
Currently Responsible
-

Isuru Udana Loku Narangoda (Automatically assigned)



--
Failing Jobs
--
  - Default Job (Default Stage): 14 of 1666 tests failed.




--
Tests
--
Existing Test Failures (14)
   - DefaultLifecycleTest: Lifecycle
   - ActivityManagerImplTest: Create activity
   - ActivityManagerImplTest: Delete activities
   - ActivityManagerImplTest: Update activity
   - ActivityManagerImplTest: Get activities2
   - ActivityManagerImplTest: Get activities
   - ActivityManagerImplTest: Delete activity
   - AppDataManagerImplTest: App data manager
   - MessageManagerImplTest: Messages
   - MessageManagerImplTest: Message collections
   - RelationshipManagerImplTest: Relationship requesting
   - TestPolicyUtil: Steps
   - TestServiceGroupAdmin: Steps
   - TestServiceArchiveCreator: Steps

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


Re: [Dev] Is it possible to embed Registry Resource metadata in a car file?

2012-10-05 Thread Ruchira Wageesha
On Fri, Oct 5, 2012 at 5:00 AM, Samisa Abeysinghe sam...@wso2.com wrote:



 On Fri, Oct 5, 2012 at 2:34 AM, Ruchira Wageesha ruch...@wso2.com wrote:

 Hi,

 Is there a way to specify registry resource metadata  associations etc.
 in a car file?


 Yes.


 Also, if we have a Registry handler project and a Registry resource
 project in the same car file, then will handler be given the priority over
 the resource project during the deployment time. i.e. Will handler get
 called for the resource addition from the same car file?


 Why not separate them?  Also, AFAIK, handlers are not hot deployed.


[A] Original idea was to create a set of resources in the registry and
associate set of metadata at the same time via a single car file

As there is a no way to associate metadata with a set of registry
resources, idea was to create a special handler which will be triggered for
that specific registry path to be packed along with the set of registry
resources(as a workaround). Then, if the handler has the priority over
resources + if it get hot deployed, then we should be able to achieve what
is needed.

Is there a better approach/workaround for achieving above requirement [A] ?



 Thanks,
 Ruchira

 --
 *Ruchira Wageesha
 Senior Software Engineer  Member, Management Committee, Development
 Technologies*
 *WSO2 Inc. - lean . enterprise . middleware |  wso2.com*
 *
 email: ruch...@wso2.com,   blog: ruchirawageesha.blogspot.com,   mobile: +94
 77 5493444*


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

 Thanks,
 Samisa...

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





-- 
*Ruchira Wageesha
Senior Software Engineer  Member, Management Committee, Development
Technologies*
*WSO2 Inc. - lean . enterprise . middleware |  wso2.com*
*
email: ruch...@wso2.com,   blog: ruchirawageesha.blogspot.com,   mobile:
+94 77 5493444*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Intermittent NPE in CacheBackedRegistry.get

2012-10-05 Thread Sumedha Rubasinghe
Hellooo.. G-Reg folks..
can we have some attention on this pls..?
This is breaking some functionality on AM. Thus a blocker for us.



On Thu, Oct 4, 2012 at 5:04 PM, Nuwan Dias nuw...@wso2.com wrote:

 Hi,

 I am getting the following NPE intermittently when trying to access an API
 on the API-Manager.

 java.lang.NullPointerException
 at
 org.wso2.carbon.registry.core.caching.CacheBackedRegistry.get(CacheBackedRegistry.java:179)
  at
 org.wso2.carbon.registry.core.session.UserRegistry.get(UserRegistry.java:519)
 at
 org.wso2.carbon.mediation.registry.WSO2Registry.getResource(WSO2Registry.java:446)
  at
 org.wso2.carbon.mediation.registry.WSO2Registry.lookup(WSO2Registry.java:131)
 at
 org.apache.synapse.registry.AbstractRegistry.getResource(AbstractRegistry.java:63)
  at
 org.apache.synapse.config.SynapseConfiguration.getEntry(SynapseConfiguration.java:707)
 at
 org.apache.synapse.core.axis2.Axis2MessageContext.getEntry(Axis2MessageContext.java:194)
  at
 org.wso2.carbon.apimgt.gateway.handlers.throttling.APIThrottleHandler.initThrottle(APIThrottleHandler.java:480)
 at
 org.wso2.carbon.apimgt.gateway.handlers.throttling.APIThrottleHandler.doThrottle(APIThrottleHandler.java:117)
  at
 org.wso2.carbon.apimgt.gateway.handlers.throttling.APIThrottleHandler.handleRequest(APIThrottleHandler.java:91)
 at org.apache.synapse.rest.API.process(API.java:252)
  at
 org.apache.synapse.rest.RESTRequestHandler.dispatchToAPI(RESTRequestHandler.java:76)
 at
 org.apache.synapse.rest.RESTRequestHandler.process(RESTRequestHandler.java:63)
  at
 org.apache.synapse.core.axis2.Axis2SynapseEnvironment.injectMessage(Axis2SynapseEnvironment.java:180)
 at
 org.apache.synapse.core.axis2.SynapseMessageReceiver.receive(SynapseMessageReceiver.java:83)
  at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:181)
 at
 org.apache.axis2.transport.http.util.RESTUtil.invokeAxisEngine(RESTUtil.java:144)
  at
 org.apache.axis2.transport.http.util.RESTUtil.processXMLRequest(RESTUtil.java:89)
 at
 org.apache.synapse.transport.nhttp.util.RESTUtil.processPOSTRequest(RESTUtil.java:189)
  at
 org.apache.synapse.transport.nhttp.ServerWorker.processEntityEnclosingMethod(ServerWorker.java:411)
 at
 org.apache.synapse.transport.nhttp.ServerWorker.run(ServerWorker.java:268)
  at
 org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:172)
 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)

 Since we are trying to get the GhostResource from the cache, I assume it
 would be ok to do a null check at this point?

 Thanks,
 NuwanD.

 --
 Nuwan Dias

 Software Engineer - WSO2, Inc.
 Integration Technologies Team
 email : nuw...@wso2.com
 Phone : +94 777 775 729


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




-- 
/sumedha
m: +94 773017743
b :  bit.ly/sumedha
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Intermittent NPE in CacheBackedRegistry.get

2012-10-05 Thread Eranda Sooriyabandara
Hi Sumedha,
I'll take a look at this.

thanks
Eranda

On Fri, Oct 5, 2012 at 1:29 PM, Sumedha Rubasinghe sume...@wso2.com wrote:

 Hellooo.. G-Reg folks..
 can we have some attention on this pls..?
 This is breaking some functionality on AM. Thus a blocker for us.



 On Thu, Oct 4, 2012 at 5:04 PM, Nuwan Dias nuw...@wso2.com wrote:

 Hi,

 I am getting the following NPE intermittently when trying to access an
 API on the API-Manager.

 java.lang.NullPointerException
 at
 org.wso2.carbon.registry.core.caching.CacheBackedRegistry.get(CacheBackedRegistry.java:179)
  at
 org.wso2.carbon.registry.core.session.UserRegistry.get(UserRegistry.java:519)
 at
 org.wso2.carbon.mediation.registry.WSO2Registry.getResource(WSO2Registry.java:446)
  at
 org.wso2.carbon.mediation.registry.WSO2Registry.lookup(WSO2Registry.java:131)
 at
 org.apache.synapse.registry.AbstractRegistry.getResource(AbstractRegistry.java:63)
  at
 org.apache.synapse.config.SynapseConfiguration.getEntry(SynapseConfiguration.java:707)
 at
 org.apache.synapse.core.axis2.Axis2MessageContext.getEntry(Axis2MessageContext.java:194)
  at
 org.wso2.carbon.apimgt.gateway.handlers.throttling.APIThrottleHandler.initThrottle(APIThrottleHandler.java:480)
 at
 org.wso2.carbon.apimgt.gateway.handlers.throttling.APIThrottleHandler.doThrottle(APIThrottleHandler.java:117)
  at
 org.wso2.carbon.apimgt.gateway.handlers.throttling.APIThrottleHandler.handleRequest(APIThrottleHandler.java:91)
 at org.apache.synapse.rest.API.process(API.java:252)
  at
 org.apache.synapse.rest.RESTRequestHandler.dispatchToAPI(RESTRequestHandler.java:76)
 at
 org.apache.synapse.rest.RESTRequestHandler.process(RESTRequestHandler.java:63)
  at
 org.apache.synapse.core.axis2.Axis2SynapseEnvironment.injectMessage(Axis2SynapseEnvironment.java:180)
 at
 org.apache.synapse.core.axis2.SynapseMessageReceiver.receive(SynapseMessageReceiver.java:83)
  at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:181)
 at
 org.apache.axis2.transport.http.util.RESTUtil.invokeAxisEngine(RESTUtil.java:144)
  at
 org.apache.axis2.transport.http.util.RESTUtil.processXMLRequest(RESTUtil.java:89)
 at
 org.apache.synapse.transport.nhttp.util.RESTUtil.processPOSTRequest(RESTUtil.java:189)
  at
 org.apache.synapse.transport.nhttp.ServerWorker.processEntityEnclosingMethod(ServerWorker.java:411)
 at
 org.apache.synapse.transport.nhttp.ServerWorker.run(ServerWorker.java:268)
  at
 org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:172)
 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)

 Since we are trying to get the GhostResource from the cache, I assume it
 would be ok to do a null check at this point?

 Thanks,
 NuwanD.

 --
 Nuwan Dias

 Software Engineer - WSO2, Inc.
 Integration Technologies Team
 email : nuw...@wso2.com
 Phone : +94 777 775 729


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




 --
 /sumedha
 m: +94 773017743
 b :  bit.ly/sumedha


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




-- 
*Eranda Sooriyabandara
*Software Engineer;
Integration Technologies Team;
WSO2 Inc.; http://wso2.com

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


[Dev] [Bamboo-Build] Carbon Snapshot Kernel #457 has FAILED

2012-10-05 Thread Bamboo

---
Carbon Snapshot  Kernel  #457 failed.
---
This build occurred because it is a dependant of 
WSO2CARBON-CARBONKERNELBUILD-199.
No failed tests found, a possible compilation error.

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

-
Currently Responsible
-

No one is responsible for fixing this build.



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




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


[Dev] NPE in CacheBackedRegistry when accessing registry as a tenant

2012-10-05 Thread Rajika Kumarasiri
org.apache.axis2.AxisFault: Failed to determine Activation status.
at
org.wso2.carbon.activation.module.ActivationHandler.invoke(ActivationHandler.java:96)
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:262)
at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:168)
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:231)
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:68)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at
org.wso2.carbon.tomcat.ext.filter.CharacterSetFilter.doFilter(CharacterSetFilter.java:61)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
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:123)
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:172)
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: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:1001)
at
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:579)
at
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1653)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.NullPointerException
at
org.wso2.carbon.registry.core.caching.CacheBackedRegistry.get(CacheBackedRegistry.java:179)
at
org.wso2.carbon.registry.core.session.UserRegistry.get(UserRegistry.java:519)
at
org.wso2.carbon.stratos.common.util.CloudServicesUtil.isCloudServiceActive(CloudServicesUtil.java:156)
at
org.wso2.carbon.stratos.common.util.CloudServicesUtil.isCloudServiceActive(CloudServicesUtil.java:140)
at
org.wso2.carbon.activation.module.ActivationHandler.invoke(ActivationHandler.java:87)
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] NPE in CacheBackedRegistry when accessing registry as a tenant

2012-10-05 Thread Rajika Kumarasiri
I saw the same has reported in a separate thread. Ignore this.

Rajika

On Fri, Oct 5, 2012 at 1:52 PM, Rajika Kumarasiri raj...@wso2.com wrote:

 org.apache.axis2.AxisFault: Failed to determine Activation status.
 at
 org.wso2.carbon.activation.module.ActivationHandler.invoke(ActivationHandler.java:96)
  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:262)
 at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:168)
  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:231)
 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:68)
  at
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
 at
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
  at
 org.wso2.carbon.tomcat.ext.filter.CharacterSetFilter.doFilter(CharacterSetFilter.java:61)
 at
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
  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:123)
 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:172)
 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: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:1001)
 at
 org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:579)
  at
 org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1653)
 at
 java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
  at
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
 at java.lang.Thread.run(Thread.java:619)
 Caused by: java.lang.NullPointerException
 at
 org.wso2.carbon.registry.core.caching.CacheBackedRegistry.get(CacheBackedRegistry.java:179)
  at
 org.wso2.carbon.registry.core.session.UserRegistry.get(UserRegistry.java:519)
 at
 org.wso2.carbon.stratos.common.util.CloudServicesUtil.isCloudServiceActive(CloudServicesUtil.java:156)
  at
 org.wso2.carbon.stratos.common.util.CloudServicesUtil.isCloudServiceActive(CloudServicesUtil.java:140)
 at
 org.wso2.carbon.activation.module.ActivationHandler.invoke(ActivationHandler.java:87)


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


Re: [Dev] Build Error - NoClassDefFoundError: org/wso2/carbon/caching/core/CacheInvalidator

2012-10-05 Thread Supun Malinga
Hi Ajith,

This is also reported by bamboo as well and still there.

thanks,

On Thu, Oct 4, 2012 at 11:38 AM, Ajith Vitharana aji...@wso2.com wrote:



 On Thu, Oct 4, 2012 at 11:24 AM, Supun Malinga sup...@wso2.com wrote:

 Hi Ajith,

 For the service-mgt test case. I added org.wso2.carbon.caching.core:4.0.2
 as a dependency in org.wso2.carbon.service.mgt/4.0.2. Getting following,
 junit.framework.AssertionFailedError: Failed to initialize the registry.
 Caused by: Error in init bootstrap realm

 Attached the sure-fire reports.


 I'm building in a clean repo , so i'll verify and let you know.

 Thanks
 Ajith


 thanks,

 On Wed, Oct 3, 2012 at 8:39 PM, Supun Malinga sup...@wso2.com wrote:

 Hi,

 fixed by adding org.wso2.carbon.caching.core:4.0.2 and
 org.wso2.carbon.user.core:4.0.2 as test dependencies.

 thanks,


 On Tue, Oct 2, 2012 at 10:52 AM, Kasun Gajasinghe kas...@wso2.comwrote:


 When we updated the caching-core version to 4.0.1, it failed with the
 following error. This may be a compatibility issue between newer registry
 versions, and caching core 4.0.1.

 Mind that product packs contain the correct version. But at the
 component level, service-mgt and module-mgt was using caching core 4.0.0 to
 run tests.


 Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 1.968
 sec  FAILURE!
 testSteps(org.wso2.carbon.service.mgt.TestPolicyUtil)  Time elapsed:
 1.948 sec   FAILURE!
 junit.framework.AssertionFailedError: Failed to initialize the
 registry. Caused by: Error in init bootstrap realm
 at junit.framework.Assert.fail(Assert.java:47)
  at
 org.wso2.carbon.service.mgt.BaseTestCase.setUp(BaseTestCase.java:67)
 at
 org.wso2.carbon.service.mgt.TestPolicyUtil.setUp(TestPolicyUtil.java:50)
  at junit.framework.TestCase.runBare(TestCase.java:128)
 at junit.framework.TestResult$1.protect(TestResult.java:106)

 Thanks,
 --KasunG

 On Mon, Oct 1, 2012 at 6:22 PM, Sagara Gunathunga sag...@wso2.comwrote:


 This issue was introduced by registry core module where registry.core
 4.0.2  still use caching.core 4.0.0 version instead of 4.0.1 version. The
 particular class called CacheInvalidator introduced in caching.core 4.0.1
 version and not available on 4.0.0.  Please look into this issue.

 *+- org.wso2.carbon:org.wso2.carbon.registry.core:jar:4.0.2:compile*
 [INFO] |  +- commons-io.wso2:commons-io:jar:2.0.0.wso2v1:compile
 (version managed from 2.0.0.wso2v2)
 [INFO] |  +- net.sourceforge.findbugs:annotations:jar:1.3.2:compile
 [INFO] |  +-
 org.eclipse.osgi:org.eclipse.osgi.services:jar:3.2.0.v20090520-1800:compile
 (version managed from 3.3.0.v20110513)
 [INFO] |  +-
 org.apache.ws.commons.schema.wso2:XmlSchema:jar:1.4.7.wso2v2:compile
 [INFO] |  |  \-
 org.apache.ws.commons.schema:XmlSchema:jar:1.4.3:compile (version managed
 from 1.4.7-wso2v2)
 [INFO] |  +-
 org.wso2.carbon:org.wso2.carbon.registry.api:jar:4.0.0:compile
 [INFO] |  +-
 org.wso2.carbon:org.wso2.carbon.registry.xboot:jar:4.0.0:compile
 [INFO] |  +-
 org.wso2.securevault:org.wso2.securevault:jar:1.0.0-wso2v2:compile
 [INFO] |  |  +-
 org.apache.ws.commons.axiom:axiom-api:jar:1.2.11-wso2v2:compile (version
 managed from 1.2.11)
 [INFO] |  |  |  +-
 org.apache.geronimo.specs:geronimo-activation_1.1_spec:jar:1.0.2:compile
 [INFO] |  |  |  +-
 org.apache.geronimo.specs:geronimo-javamail_1.4_spec:jar:1.6:compile
 [INFO] |  |  |  \-
 org.apache.geronimo.specs:geronimo-stax-api_1.0_spec:jar:1.0.1:compile
 [INFO] |  |  +-
 org.apache.ws.commons.axiom:axiom-impl:jar:1.2.11-wso2v2:compile (version
 managed from 1.2.11)
 [INFO] |  |  |  \- org.codehaus.woodstox:wstx-asl:jar:3.2.9:runtime
 (scope managed from compile)
 [INFO] |  |  +- log4j:log4j:jar:1.2.14:compile
 [INFO] |  |  +- jline:jline:jar:0.9.94:compile
 [INFO] |  |  +- commons-logging:commons-logging:jar:1.1.1:compile
 [INFO] |  |  +- commons-cli:commons-cli:jar:1.0:compile
 [INFO] |  |  +- commons-io:commons-io:jar:2.0:compile
 [INFO] |  |  \- commons-codec:commons-codec:jar:1.2:compile
 [INFO] |  +-
 org.wso2.carbon:org.wso2.carbon.user.core:jar:4.0.0:compile (version
 managed from 4.0.1)
 [INFO] |  |  +-
 org.wso2.carbon:org.wso2.carbon.user.api:jar:4.0.0:compile
 [INFO] |  |  \- commons-dbcp.wso2:commons-dbcp:jar:1.4.0.wso2v1:compile
 *[INFO] |  +-
 org.wso2.carbon:org.wso2.carbon.caching.core:jar:4.0.0:compile*


 Thanks !

 On Mon, Oct 1, 2012 at 5:53 PM, Sagara Gunathunga sag...@wso2.comwrote:


 I'm getting following exception when building
 components/module-mgt/org.wso2.carbon.module.mgt/4.0.2 it seems missing
 some classes any input ?


 [INFO] BUILD FAILURE
 [INFO]
 
 [INFO] Total time: 3.971s
 [INFO] Finished at: Mon Oct 01 17:47:44 IST 2012
 [INFO] Final Memory: 40M/299M
 [INFO]
 
 [ERROR] Failed to execute goal
 org.apache.maven.plugins:maven-surefire-plugin:2.12:test (default-test) 
 on
 project 

Re: [Dev] Build Error - NoClassDefFoundError: org/wso2/carbon/caching/core/CacheInvalidator

2012-10-05 Thread Eranda Sooriyabandara
Hi all,
I am currently looking into this.
thanks
Eranda

On Fri, Oct 5, 2012 at 2:04 PM, Supun Malinga sup...@wso2.com wrote:

 Hi Ajith,

 This is also reported by bamboo as well and still there.

 thanks,


 On Thu, Oct 4, 2012 at 11:38 AM, Ajith Vitharana aji...@wso2.com wrote:



 On Thu, Oct 4, 2012 at 11:24 AM, Supun Malinga sup...@wso2.com wrote:

 Hi Ajith,

 For the service-mgt test case. I
 added org.wso2.carbon.caching.core:4.0.2 as a dependency
 in org.wso2.carbon.service.mgt/4.0.2. Getting following,
 junit.framework.AssertionFailedError: Failed to initialize the registry.
 Caused by: Error in init bootstrap realm

 Attached the sure-fire reports.


 I'm building in a clean repo , so i'll verify and let you know.

 Thanks
 Ajith


 thanks,

 On Wed, Oct 3, 2012 at 8:39 PM, Supun Malinga sup...@wso2.com wrote:

 Hi,

 fixed by adding org.wso2.carbon.caching.core:4.0.2 and
 org.wso2.carbon.user.core:4.0.2 as test dependencies.

 thanks,


 On Tue, Oct 2, 2012 at 10:52 AM, Kasun Gajasinghe kas...@wso2.comwrote:


 When we updated the caching-core version to 4.0.1, it failed with the
 following error. This may be a compatibility issue between newer registry
 versions, and caching core 4.0.1.

 Mind that product packs contain the correct version. But at the
 component level, service-mgt and module-mgt was using caching core 4.0.0 
 to
 run tests.


 Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 1.968
 sec  FAILURE!
 testSteps(org.wso2.carbon.service.mgt.TestPolicyUtil)  Time elapsed:
 1.948 sec   FAILURE!
 junit.framework.AssertionFailedError: Failed to initialize the
 registry. Caused by: Error in init bootstrap realm
 at junit.framework.Assert.fail(Assert.java:47)
  at
 org.wso2.carbon.service.mgt.BaseTestCase.setUp(BaseTestCase.java:67)
 at
 org.wso2.carbon.service.mgt.TestPolicyUtil.setUp(TestPolicyUtil.java:50)
  at junit.framework.TestCase.runBare(TestCase.java:128)
 at junit.framework.TestResult$1.protect(TestResult.java:106)

 Thanks,
 --KasunG

 On Mon, Oct 1, 2012 at 6:22 PM, Sagara Gunathunga sag...@wso2.comwrote:


 This issue was introduced by registry core module where registry.core
 4.0.2  still use caching.core 4.0.0 version instead of 4.0.1 version. The
 particular class called CacheInvalidator introduced in caching.core 4.0.1
 version and not available on 4.0.0.  Please look into this issue.

 *+- org.wso2.carbon:org.wso2.carbon.registry.core:jar:4.0.2:compile*
 [INFO] |  +- commons-io.wso2:commons-io:jar:2.0.0.wso2v1:compile
 (version managed from 2.0.0.wso2v2)
 [INFO] |  +- net.sourceforge.findbugs:annotations:jar:1.3.2:compile
 [INFO] |  +-
 org.eclipse.osgi:org.eclipse.osgi.services:jar:3.2.0.v20090520-1800:compile
 (version managed from 3.3.0.v20110513)
 [INFO] |  +-
 org.apache.ws.commons.schema.wso2:XmlSchema:jar:1.4.7.wso2v2:compile
 [INFO] |  |  \-
 org.apache.ws.commons.schema:XmlSchema:jar:1.4.3:compile (version managed
 from 1.4.7-wso2v2)
 [INFO] |  +-
 org.wso2.carbon:org.wso2.carbon.registry.api:jar:4.0.0:compile
 [INFO] |  +-
 org.wso2.carbon:org.wso2.carbon.registry.xboot:jar:4.0.0:compile
 [INFO] |  +-
 org.wso2.securevault:org.wso2.securevault:jar:1.0.0-wso2v2:compile
 [INFO] |  |  +-
 org.apache.ws.commons.axiom:axiom-api:jar:1.2.11-wso2v2:compile (version
 managed from 1.2.11)
 [INFO] |  |  |  +-
 org.apache.geronimo.specs:geronimo-activation_1.1_spec:jar:1.0.2:compile
 [INFO] |  |  |  +-
 org.apache.geronimo.specs:geronimo-javamail_1.4_spec:jar:1.6:compile
 [INFO] |  |  |  \-
 org.apache.geronimo.specs:geronimo-stax-api_1.0_spec:jar:1.0.1:compile
 [INFO] |  |  +-
 org.apache.ws.commons.axiom:axiom-impl:jar:1.2.11-wso2v2:compile (version
 managed from 1.2.11)
 [INFO] |  |  |  \- org.codehaus.woodstox:wstx-asl:jar:3.2.9:runtime
 (scope managed from compile)
 [INFO] |  |  +- log4j:log4j:jar:1.2.14:compile
 [INFO] |  |  +- jline:jline:jar:0.9.94:compile
 [INFO] |  |  +- commons-logging:commons-logging:jar:1.1.1:compile
 [INFO] |  |  +- commons-cli:commons-cli:jar:1.0:compile
 [INFO] |  |  +- commons-io:commons-io:jar:2.0:compile
 [INFO] |  |  \- commons-codec:commons-codec:jar:1.2:compile
 [INFO] |  +-
 org.wso2.carbon:org.wso2.carbon.user.core:jar:4.0.0:compile (version
 managed from 4.0.1)
 [INFO] |  |  +-
 org.wso2.carbon:org.wso2.carbon.user.api:jar:4.0.0:compile
 [INFO] |  |  \-
 commons-dbcp.wso2:commons-dbcp:jar:1.4.0.wso2v1:compile
 *[INFO] |  +-
 org.wso2.carbon:org.wso2.carbon.caching.core:jar:4.0.0:compile*


 Thanks !

 On Mon, Oct 1, 2012 at 5:53 PM, Sagara Gunathunga sag...@wso2.comwrote:


 I'm getting following exception when building
 components/module-mgt/org.wso2.carbon.module.mgt/4.0.2 it seems 
 missing
 some classes any input ?


 [INFO] BUILD FAILURE
 [INFO]
 
 [INFO] Total time: 3.971s
 [INFO] Finished at: Mon Oct 01 17:47:44 IST 2012
 [INFO] Final Memory: 40M/299M
 [INFO]
 
 

Re: [Dev] Intermittent NPE in CacheBackedRegistry.get

2012-10-05 Thread Rajika Kumarasiri
This is a blocker for the 4.0.2 release.

Rajika

On Fri, Oct 5, 2012 at 1:37 PM, Eranda Sooriyabandara era...@wso2.comwrote:

 Hi Sumedha,
 I'll take a look at this.

 thanks
 Eranda


 On Fri, Oct 5, 2012 at 1:29 PM, Sumedha Rubasinghe sume...@wso2.comwrote:

 Hellooo.. G-Reg folks..
 can we have some attention on this pls..?
 This is breaking some functionality on AM. Thus a blocker for us.



 On Thu, Oct 4, 2012 at 5:04 PM, Nuwan Dias nuw...@wso2.com wrote:

 Hi,

 I am getting the following NPE intermittently when trying to access an
 API on the API-Manager.

 java.lang.NullPointerException
 at
 org.wso2.carbon.registry.core.caching.CacheBackedRegistry.get(CacheBackedRegistry.java:179)
  at
 org.wso2.carbon.registry.core.session.UserRegistry.get(UserRegistry.java:519)
 at
 org.wso2.carbon.mediation.registry.WSO2Registry.getResource(WSO2Registry.java:446)
  at
 org.wso2.carbon.mediation.registry.WSO2Registry.lookup(WSO2Registry.java:131)
 at
 org.apache.synapse.registry.AbstractRegistry.getResource(AbstractRegistry.java:63)
  at
 org.apache.synapse.config.SynapseConfiguration.getEntry(SynapseConfiguration.java:707)
 at
 org.apache.synapse.core.axis2.Axis2MessageContext.getEntry(Axis2MessageContext.java:194)
  at
 org.wso2.carbon.apimgt.gateway.handlers.throttling.APIThrottleHandler.initThrottle(APIThrottleHandler.java:480)
 at
 org.wso2.carbon.apimgt.gateway.handlers.throttling.APIThrottleHandler.doThrottle(APIThrottleHandler.java:117)
  at
 org.wso2.carbon.apimgt.gateway.handlers.throttling.APIThrottleHandler.handleRequest(APIThrottleHandler.java:91)
 at org.apache.synapse.rest.API.process(API.java:252)
  at
 org.apache.synapse.rest.RESTRequestHandler.dispatchToAPI(RESTRequestHandler.java:76)
 at
 org.apache.synapse.rest.RESTRequestHandler.process(RESTRequestHandler.java:63)
  at
 org.apache.synapse.core.axis2.Axis2SynapseEnvironment.injectMessage(Axis2SynapseEnvironment.java:180)
 at
 org.apache.synapse.core.axis2.SynapseMessageReceiver.receive(SynapseMessageReceiver.java:83)
  at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:181)
 at
 org.apache.axis2.transport.http.util.RESTUtil.invokeAxisEngine(RESTUtil.java:144)
  at
 org.apache.axis2.transport.http.util.RESTUtil.processXMLRequest(RESTUtil.java:89)
 at
 org.apache.synapse.transport.nhttp.util.RESTUtil.processPOSTRequest(RESTUtil.java:189)
  at
 org.apache.synapse.transport.nhttp.ServerWorker.processEntityEnclosingMethod(ServerWorker.java:411)
 at
 org.apache.synapse.transport.nhttp.ServerWorker.run(ServerWorker.java:268)
  at
 org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:172)
 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)

 Since we are trying to get the GhostResource from the cache, I assume it
 would be ok to do a null check at this point?

 Thanks,
 NuwanD.

 --
 Nuwan Dias

 Software Engineer - WSO2, Inc.
 Integration Technologies Team
 email : nuw...@wso2.com
 Phone : +94 777 775 729


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




 --
 /sumedha
 m: +94 773017743
 b :  bit.ly/sumedha


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




 --
 *Eranda Sooriyabandara
 *Software Engineer;
 Integration Technologies Team;
 WSO2 Inc.; http://wso2.com

 *
 *


 ___
 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] NPE in user core in 4.0.2

2012-10-05 Thread Rajika Kumarasiri
[2012-10-05 14:32:30,962] ERROR - AuthenticationAdmin System error while
Authenticating/Authorizing User : null
java.lang.NullPointerException
at
org.wso2.carbon.user.core.authorization.AuthorizationCache.isUserAuthorized(AuthorizationCache.java:134)
at
org.wso2.carbon.user.core.authorization.JDBCAuthorizationManager.isUserAuthorized(JDBCAuthorizationManager.java:130)
at
org.wso2.carbon.core.services.authentication.AuthenticationAdmin.login(AuthenticationAdmin.java:106)
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:231)
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:68)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at
org.wso2.carbon.tomcat.ext.filter.CharacterSetFilter.doFilter(CharacterSetFilter.java:61)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
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:123)
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:172)
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: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:1001)
at
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:579)
at
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1653)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Sandapa Handakumbura

2012-10-05 Thread Sandapa Handakumbura
Thank you very much. It's a great privilege and I hope to contribute more
in the future.

Regards,
Sandapa


On Tue, Oct 2, 2012 at 3:15 PM, Charitha Kankanamge chari...@wso2.comwrote:

 Hi Folks,

 Its my pleasure to welcome Sandapa Handakumbura as a WSO2 Committer.
 Sandapa has made some great contributions to WSO2 Carbon platform,
 specially ESB, API-M, G-reg and Application Server products during the last
 few months. In recognition of her commitment and contributions, all-MC has
 voted Sandapa as a committer.

 Sandapa, welcome aboard and keep up the good work.

 Thanks,
 Charitha

 Charitha Kankanamge
 cell: +94 718 359 265
 http://charithaka.blogspot.com
 *SOA and Testing without nonsense*


 ___
 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] Intermittent NPE in CacheBackedRegistry.get

2012-10-05 Thread Eranda Sooriyabandara
Hi all,
This is fixed now. Please take svn up in the registry core and build.

thanks
Eranda

On Fri, Oct 5, 2012 at 2:23 PM, Rajika Kumarasiri raj...@wso2.com wrote:

 This is a blocker for the 4.0.2 release.

 Rajika


 On Fri, Oct 5, 2012 at 1:37 PM, Eranda Sooriyabandara era...@wso2.comwrote:

 Hi Sumedha,
 I'll take a look at this.

 thanks
 Eranda


 On Fri, Oct 5, 2012 at 1:29 PM, Sumedha Rubasinghe sume...@wso2.comwrote:

 Hellooo.. G-Reg folks..
 can we have some attention on this pls..?
 This is breaking some functionality on AM. Thus a blocker for us.



 On Thu, Oct 4, 2012 at 5:04 PM, Nuwan Dias nuw...@wso2.com wrote:

 Hi,

 I am getting the following NPE intermittently when trying to access an
 API on the API-Manager.

 java.lang.NullPointerException
 at
 org.wso2.carbon.registry.core.caching.CacheBackedRegistry.get(CacheBackedRegistry.java:179)
  at
 org.wso2.carbon.registry.core.session.UserRegistry.get(UserRegistry.java:519)
 at
 org.wso2.carbon.mediation.registry.WSO2Registry.getResource(WSO2Registry.java:446)
  at
 org.wso2.carbon.mediation.registry.WSO2Registry.lookup(WSO2Registry.java:131)
 at
 org.apache.synapse.registry.AbstractRegistry.getResource(AbstractRegistry.java:63)
  at
 org.apache.synapse.config.SynapseConfiguration.getEntry(SynapseConfiguration.java:707)
 at
 org.apache.synapse.core.axis2.Axis2MessageContext.getEntry(Axis2MessageContext.java:194)
  at
 org.wso2.carbon.apimgt.gateway.handlers.throttling.APIThrottleHandler.initThrottle(APIThrottleHandler.java:480)
 at
 org.wso2.carbon.apimgt.gateway.handlers.throttling.APIThrottleHandler.doThrottle(APIThrottleHandler.java:117)
  at
 org.wso2.carbon.apimgt.gateway.handlers.throttling.APIThrottleHandler.handleRequest(APIThrottleHandler.java:91)
 at org.apache.synapse.rest.API.process(API.java:252)
  at
 org.apache.synapse.rest.RESTRequestHandler.dispatchToAPI(RESTRequestHandler.java:76)
 at
 org.apache.synapse.rest.RESTRequestHandler.process(RESTRequestHandler.java:63)
  at
 org.apache.synapse.core.axis2.Axis2SynapseEnvironment.injectMessage(Axis2SynapseEnvironment.java:180)
 at
 org.apache.synapse.core.axis2.SynapseMessageReceiver.receive(SynapseMessageReceiver.java:83)
  at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:181)
 at
 org.apache.axis2.transport.http.util.RESTUtil.invokeAxisEngine(RESTUtil.java:144)
  at
 org.apache.axis2.transport.http.util.RESTUtil.processXMLRequest(RESTUtil.java:89)
 at
 org.apache.synapse.transport.nhttp.util.RESTUtil.processPOSTRequest(RESTUtil.java:189)
  at
 org.apache.synapse.transport.nhttp.ServerWorker.processEntityEnclosingMethod(ServerWorker.java:411)
 at
 org.apache.synapse.transport.nhttp.ServerWorker.run(ServerWorker.java:268)
  at
 org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:172)
 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)

 Since we are trying to get the GhostResource from the cache, I assume
 it would be ok to do a null check at this point?

 Thanks,
 NuwanD.

 --
 Nuwan Dias

 Software Engineer - WSO2, Inc.
 Integration Technologies Team
 email : nuw...@wso2.com
 Phone : +94 777 775 729


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




 --
 /sumedha
 m: +94 773017743
 b :  bit.ly/sumedha


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




 --
 *Eranda Sooriyabandara
 *Software Engineer;
 Integration Technologies Team;
 WSO2 Inc.; http://wso2.com

 *
 *


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





-- 
*Eranda Sooriyabandara
*Software Engineer;
Integration Technologies Team;
WSO2 Inc.; http://wso2.com

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


Re: [Dev] Build Error - NoClassDefFoundError: org/wso2/carbon/caching/core/CacheInvalidator

2012-10-05 Thread Eranda Sooriyabandara
Hi all,
This is fixed now. Please take svn up in the registry core and build.

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


[Dev] [Bamboo-Build] WSO2 Carbon BRANCH Platform_4.0.0 #435 has FAILED (14 tests failed, no failures were new). Change made by dimuthul.

2012-10-05 Thread Bamboo

---
WSO2 Carbon BRANCH  Platform_4.0.0  #435 failed.
---
This build occurred because it is a dependant of WCB001-KER000-267.
14/1666 tests failed, no failures were new.

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

-
Currently Responsible
-

Isuru Udana Loku Narangoda (Automatically assigned)



--
Failing Jobs
--
  - Default Job (Default Stage): 14 of 1666 tests failed.



--
Code Changes
--
dimuthul (144955):

Fixing the example.war to match the context api.





--
Tests
--
Existing Test Failures (14)
   - DefaultLifecycleTest: Lifecycle
   - ActivityManagerImplTest: Delete activities
   - ActivityManagerImplTest: Update activity
   - ActivityManagerImplTest: Get activities
   - ActivityManagerImplTest: Create activity
   - ActivityManagerImplTest: Get activities2
   - ActivityManagerImplTest: Delete activity
   - AppDataManagerImplTest: App data manager
   - MessageManagerImplTest: Messages
   - MessageManagerImplTest: Message collections
   - RelationshipManagerImplTest: Relationship requesting
   - TestPolicyUtil: Steps
   - TestServiceGroupAdmin: Steps
   - TestServiceArchiveCreator: Steps

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


[Dev] [Bamboo-Build] WSO2 Carbon BRANCH Platform_4.0.0 #436 has FAILED (3 tests failed, no failures were new). Change made by 5 authors.

2012-10-05 Thread Bamboo

---
WSO2 Carbon BRANCH  Platform_4.0.0  #436 failed.
---
This build occurred because it is a dependant of WCB001-KER000-268.
3/1711 tests failed, no failures were new.

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

-
Currently Responsible
-

No one is responsible for fixing this build.



--
Failing Jobs
--
  - Default Job (Default Stage): 3 of 1711 tests failed.



--
Code Changes
--
ajithn (144963):

Fixed REGISTRY-1361

buddhikac (144966):

Fixing jax-ws feature version.


hasini (144967):

fixing update group operation in SCIM



--
Tests
--
Existing Test Failures (3)
   - TestPolicyUtil: Steps
   - TestServiceGroupAdmin: Steps
   - TestServiceArchiveCreator: Steps
Fixed Tests (11)
   - DefaultLifecycleTest: Lifecycle
   - ActivityManagerImplTest: Create activity
   - ActivityManagerImplTest: Get activities2
   - ActivityManagerImplTest: Delete activities
   - ActivityManagerImplTest: Update activity
   - ActivityManagerImplTest: Delete activity
   - ActivityManagerImplTest: Get activities
   - AppDataManagerImplTest: App data manager
   - MessageManagerImplTest: Messages
   - MessageManagerImplTest: Message collections
   - RelationshipManagerImplTest: Relationship requesting

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


[Dev] [Bamboo-Build] WSO2 Carbon BRANCH Platform_4.0.0 #437 has FAILED (3 tests failed, no failures were new). Change made by 5 authors.

2012-10-05 Thread Bamboo

---
WSO2 Carbon BRANCH  Platform_4.0.0  #437 failed.
---
This build occurred because it is a dependant of WCB001-KER000-269.
3/1711 tests failed, no failures were new.

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

-
Currently Responsible
-

No one is responsible for fixing this build.



--
Failing Jobs
--
  - Default Job (Default Stage): 3 of 1711 tests failed.



--
Code Changes
--
deep (144982):

Added Cassandra integration tests. https://wso2.org/jira/browse/SS-28


ajithn (144981):

add 4.0.2 version

hasini (144969):

fixing SCIM updateGroup operation to resolve 
https://wso2.org/jira/browse/IDENTITY-241



--
Tests
--
Existing Test Failures (3)
   - TestPolicyUtil: Steps
   - TestServiceGroupAdmin: Steps
   - TestServiceArchiveCreator: Steps

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


Re: [Dev] XML schema for RXT LC

2012-10-05 Thread Sanjiva Weerawarana
Samisa if there's a schema then we can use the Eclipse editor to get
content assist etc. to help edit the RXT files.

On Fri, Oct 5, 2012 at 10:13 AM, Samisa Abeysinghe sam...@wso2.com wrote:



 On Fri, Oct 5, 2012 at 10:10 AM, Senaka Fernando sen...@wso2.com wrote:

 Hi Samisa,

 Harshana and the team is already working on getting the tool side of it
 sorted out. Also, we have a road-map item to have a add-RXT page like the
 add-LC page.


 Unfortunately, the story is half baked without provision of these tooling
 and supporting aspects.

 I wonder what the priorities are on the road-map aspects - in the global
 optima, not in the local optima.




 Thanks,
 Senaka.


 On Fri, Oct 5, 2012 at 9:56 AM, Samisa Abeysinghe sam...@wso2.comwrote:



 On Fri, Oct 5, 2012 at 9:43 AM, Senaka Fernando sen...@wso2.com wrote:

 Hi all,

 I think we should improve the docs to have this as a side note or even
 a sample (as to how to use the XSD to generate LC or RXT). I will work on
 getting this done.


 Well, actually, it is neither the doc nor the schema that we should
 have, as that is tech detail. As a user, I would not care as long as I have
 a tool to easily define RXTs.  That would solve lot of problems.




 Thanks,
 Senaka.

 On Fri, Oct 5, 2012 at 9:26 AM, Eranda Sooriyabandara 
 era...@wso2.comwrote:

 Hi Samisa

 On Fri, Oct 5, 2012 at 9:19 AM, Samisa Abeysinghe sam...@wso2.comwrote:

 Do we have schema defined for $subject?

 I am trying to see how I could do the least work and generate the RXT
 that I want, plus the LC for that.


 Yes, they are defined. You can find them in
 CARBON_HOME/repository/resource/rxt.xsd
 and  CARBON_HOME/repository/resource/lifecycle-config.xsd.

 thanks
 Eranda
 *
 *


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




 --
 *Senaka Fernando*
 Member - Integration Technologies Management Committee;
 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

  Thanks,
 Samisa...

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





 --
 *Senaka Fernando*
 Member - Integration Technologies Management Committee;
 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

  Thanks,
 Samisa...

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



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




-- 
Sanjiva Weerawarana, Ph.D.
Founder, Chairman  CEO; WSO2, Inc.;  http://wso2.com/
email: sanj...@wso2.com; phone: +94 11 763 9614; cell: +94 77 787 6880 | +1
650 265 8311
blog: http://sanjiva.weerawarana.org/

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


[Dev] [Bamboo-Build] WSO2 Carbon BRANCH Platform_4.0.0 #438 has FAILED (3 tests failed, no failures were new). Change made by anjana and hasini.

2012-10-05 Thread Bamboo

---
WSO2 Carbon BRANCH  Platform_4.0.0  #438 failed.
---
This build occurred because it is a dependant of WCB001-KER000-270.
3/1711 tests failed, no failures were new.

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

-
Currently Responsible
-

No one is responsible for fixing this build.



--
Failing Jobs
--
  - Default Job (Default Stage): 3 of 1711 tests failed.



--
Code Changes
--
hasini (144985):

Null checks and fixing an issue in the way that SCIM Base URLS are set. 
Related: https://wso2.org/jira/browse/IDENTITY-241

anjana (144987):

Fixing DS-688

hasini (144984):

Fixing an issue in the way that SCIM Base URLS are set. Related: 
https://wso2.org/jira/browse/IDENTITY-241



--
Tests
--
Existing Test Failures (3)
   - TestPolicyUtil: Steps
   - TestServiceGroupAdmin: Steps
   - TestServiceArchiveCreator: Steps

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


[Dev] [Bamboo-Build] WSO2 Carbon BRANCH Platform_4.0.0 #439 has FAILED (3 tests failed, no failures were new). Change made by nandika.

2012-10-05 Thread Bamboo

---
WSO2 Carbon BRANCH  Platform_4.0.0  #439 failed.
---
Code has been updated by nandika.
3/1711 tests failed, no failures were new.

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

-
Currently Responsible
-

No one is responsible for fixing this build.



--
Failing Jobs
--
  - Default Job (Default Stage): 3 of 1711 tests failed.



--
Code Changes
--
nandika (144989):

Fixing cluster synchronization issue in worker nodes




--
Tests
--
Existing Test Failures (3)
   - TestPolicyUtil: Steps
   - TestServiceGroupAdmin: Steps
   - TestServiceArchiveCreator: Steps

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


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

2012-10-05 Thread Bamboo

---
WSO2 Carbon BRANCH  Products_4.0.0  #146 failed.
---
Code has been updated by miyuru, anjana, hasini, nandika, suho, deep, dimuthul, 
sumedha, ajithn, buddhikac.
No failed tests found, a possible compilation error.

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

-
Currently Responsible
-

No one is responsible for fixing this build.



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



--
Code Changes
--
anjana (144987):

Fixing DS-688

hasini (144984):

Fixing an issue in the way that SCIM Base URLS are set. Related: 
https://wso2.org/jira/browse/IDENTITY-241

nandika (144989):

Fixing cluster synchronization issue in worker nodes




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