Re: [Dev] Build failure in 4.2.0 features org.wso2.carbon.hdfs.datanode.feature

2013-08-21 Thread Bhathiya Jayasekara
Fixed. Please take an svn update and try again.

Thanks,
Bhathiya


On Tue, Aug 20, 2013 at 1:40 PM, Pulasthi Supun pulas...@wso2.com wrote:

 Hi All

 I am getting the following failure when trying to build 4.2.0 features.

 [INFO] BUILD FAILURE
 [INFO]
 
 [INFO] Total time: 3:03.598s
 [INFO] Finished at: Tue Aug 20 13:34:35 IST 2013
 [INFO] Final Memory: 287M/509M
 [INFO]
 
 [ERROR] Failed to execute goal on project
 org.wso2.carbon.hdfs.datanode.feature: Could not resolve dependencies for
 project org.wso2.carbon:org.wso2.carbon.hdfs.datanode.feature:pom:4.2.0:
 Failure to find org.wso2.carbon:org.wso2.carbon.hdfs.datanode:jar:4.2.0 in
 http://maven.wso2.org/nexus/content/groups/wso2-public/ was cached in the
 local repository, resolution will not be reattempted until the update
 interval of wso2-nexus has elapsed or updates are forced - [Help 1]
 [ERROR]
 [ERROR] To see the full stack trace of the errors, re-run Maven with the
 -e switch.
 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
 [ERROR]
 [ERROR] For more information about the errors and possible solutions,
 please read the following articles:
 [ERROR] [Help 1]
 http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
 [ERROR]
 [ERROR] After correcting the problems, you can resume the build with the
 command
 [ERROR]   mvn goals -rf :org.wso2.carbon.hdfs.datanode.feature


 Regards,
 Pulasthi


 --
 --
 Pulasthi Supun
 Software Engineer; WSO2 Inc.; http://wso2.com,
 Email: pulas...@wso2.com
 Mobile: +94 (71) 9258281
 Blog : http://pulasthisupun.blogspot.com/
 Git hub profile: https://github.com/pulasthi

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




-- 
*Bhathiya Jayasekara*
*Software Engineer,*
*WSO2 inc., http://wso2.com*
*
*
*Phone: +94715478185*
*LinkedIn: http://www.linkedin.com/in/bhathiyaj*
*Twitter: https://twitter.com/bhathiyax*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] AS integration test failure

2013-08-21 Thread Krishantha Samaraweera
wso2caching module is not available in module list of my latest build. I
will check with a new build.

Thanks,
Krishantha.


On Wed, Aug 21, 2013 at 11:45 AM, Kasun Gajasinghe kas...@wso2.com wrote:






 On Wed, Aug 21, 2013 at 11:37 AM, Krishantha Samaraweera 
 krishan...@wso2.com wrote:

 Hi All,

 Now only one test case is falling now.


 Great..



 DeployedModuleTestCase is failed due to module list mismatch in latest
 AS build.

 Seems like wso2caching and wso2throttle modules are not available once
 get all module list.

 So following assertions get failed.

 Assert.assertTrue(moduleDataSet.contains(wso2throttle));
 Assert.assertTrue(moduleDataSet.contains(wso2caching));

 Just need to clarify the reason behind this



 Don't understand why these won't be available.. These are available in the
 Modules - List page in the latest pack though. AFAIR, that test case does
 a admin service call to get the list of modules.




 Thanks,
 Krishantha.





 --
 *Kasun Gajasinghe*
 Software Engineer;
 Development Technologies Team, WSO2 Inc.; http://wso2.com


  ,
 *email: **kasung AT spamfree wso2.com


 ** cell: **+94 (77) 678-0813*
 *linked-in: *http://lk.linkedin.com/in/gajasinghe


 *
 *
 *blog: **http://kasunbg.org* http://kasunbg.org


 *
 twitter: **http://twitter.com/kasunbg* http://twitter.com/kasunbg


 *
 *

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


Re: [Dev] AS integration test failure

2013-08-21 Thread Kasun Gajasinghe
CCing Pradeep..


On Wed, Aug 21, 2013 at 11:52 AM, Krishantha Samaraweera 
krishan...@wso2.com wrote:

 wso2caching module is not available in module list of my latest build. I
 will check with a new build.

 Thanks,
 Krishantha.


 On Wed, Aug 21, 2013 at 11:45 AM, Kasun Gajasinghe kas...@wso2.comwrote:






 On Wed, Aug 21, 2013 at 11:37 AM, Krishantha Samaraweera 
 krishan...@wso2.com wrote:

 Hi All,

 Now only one test case is falling now.


 Great..



 DeployedModuleTestCase is failed due to module list mismatch in latest
 AS build.

 Seems like wso2caching and wso2throttle modules are not available once
 get all module list.

 So following assertions get failed.

 Assert.assertTrue(moduleDataSet.contains(wso2throttle));
 Assert.assertTrue(moduleDataSet.contains(wso2caching));

 Just need to clarify the reason behind this



 Don't understand why these won't be available.. These are available in
 the Modules - List page in the latest pack though. AFAIR, that test case
 does a admin service call to get the list of modules.




 Thanks,
 Krishantha.





 --
 *Kasun Gajasinghe*
 Software Engineer;
 Development Technologies Team, WSO2 Inc.; http://wso2.com


  ,
 *email: **kasung AT spamfree wso2.com


 ** cell: **+94 (77) 678-0813*
 *linked-in: *http://lk.linkedin.com/in/gajasinghe


 *
 *
 *blog: **http://kasunbg.org* http://kasunbg.org


 *
 twitter: **http://twitter.com/kasunbg* http://twitter.com/kasunbg


 *
 *





-- 
*Kasun Gajasinghe*
Software Engineer;
Development Technologies Team, WSO2 Inc.; http://wso2.com


 ,
*email: **kasung AT spamfree wso2.com


** cell: **+94 (77) 678-0813*
*linked-in: *http://lk.linkedin.com/in/gajasinghe


*
*
*blog: **http://kasunbg.org* http://kasunbg.org


*
twitter: **http://twitter.com/kasunbg* http://twitter.com/kasunbg


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


Re: [Dev] Lets work on lincense/readme/etc in distributions.

2013-08-21 Thread Manoj Kumara
Hi Pradeep,

Noted.

Thanks,

Best Regards..


Manoj Kumara
Software Engineer
WSO2, Inc.; http://wso2.com

Twitter:  http://twitter.com/ManKuma
Mobile: +94713448188


On Wed, Aug 21, 2013 at 10:38 AM, Pradeep Fernando prad...@wso2.com wrote:

 Hi devs,

 Since we are in RC state, shall we do the $subject. This includes..

 - readmes
 - releasenotes
 - license txt
 - checking for duplicated jars in the distribution



 @Manoj : can you please attend the same in carbon distribution..


 thanks.
 --Pradeep



 ___
 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] AS not patched for the continuous JMS connection retry issue?

2013-08-21 Thread Shammi Jayasinghe
On Tue, Aug 20, 2013 at 9:42 AM, Ishara Premadasa ish...@wso2.com wrote:




 On Mon, Aug 19, 2013 at 11:29 PM, Kasun Gajasinghe kas...@wso2.comwrote:



 However the only incident i have seen a rapid error log thrown
 continuosly in the MB or ActiveMQ integration scenario is, when you start
 AS for the first time, if you hadn't start the broker (MB/ActiveMQ etc.)
 before starting AS it will throw a continuous error log as there is no
 JMSConnection available. Apart from that if the broker fails in middle,
 after successful start up, the reconnection should happen fine.



 Yes... This is what I was doing. We should handle this scenario too,
 right?


 @Shammi/Malinga

 WDYT? Should we provide some notification and stop the server start if
 user forgets to start JMS provider (broker) in prior to start AS, ESB etc.?
 IMO as our documentation clearly says that it is needed to start the broker
 first in  each integrating scenarios,  i am not sure whether it is needed
 to handle this.

 Hi Ishara,

We do not need to stop any functionality on the unavailability of the
broker. What we should do is , we need to wait and check whether the broker
is there time to time. This waiting time should be grow up exponentially
by making its max limit to one hour.

Thanks
Shammi





 On Mon, Aug 19, 2013 at 4:44 PM, Kasun Gajasinghe kas...@wso2.comwrote:

 Hi Ishara,

 Please note that I tried this with ActiveMQ. I didn't see the
 reconnection attempts in the log rather a rapid generation of logs. The log
 file grew to 100MB in less than a minute.


 On Mon, Aug 19, 2013 at 4:21 PM, Ishara Premadasa ish...@wso2.comwrote:

 Hi Kasun,

 I first tried the JMS transport reconnection mechanism with AS 5.1.0
 and then i tried with the newly built AS 5.2.0 pack. However with both
 these packs the reconnection works fine where it waits for the
 JMSConnection to come alive by retrying in exponentially increasing time
 intervals. Please see the AS console log i get in the this situation 
 below.

 [2013-08-19 15:28:02,454]  INFO {org.wso2.andes.client.AMQConnection}
 -  Unable to connect to broker at tcp://localhost:5673
 org.wso2.andes.transport.TransportException: Could not open connection
 at
 org.wso2.andes.transport.network.mina.MinaNetworkTransport$IoConnectorCreator.connect(MinaNetworkTransport.java:201)
 at
 org.wso2.andes.transport.network.mina.MinaNetworkTransport.connect(MinaNetworkTransport.java:71)
 at
 org.wso2.andes.client.AMQConnectionDelegate_8_0.makeBrokerConnection(AMQConnectionDelegate_8_0.java:110)
 at
 org.wso2.andes.client.AMQConnection.makeBrokerConnection(AMQConnection.java:616)
 at
 org.wso2.andes.client.AMQConnection.init(AMQConnection.java:398)
 at
 org.wso2.andes.client.AMQConnectionFactory.createConnection(AMQConnectionFactory.java:315)
 at
 org.wso2.andes.client.AMQConnectionFactory.createConnection(AMQConnectionFactory.java:38)

 at
 org.apache.axis2.transport.jms.JMSUtils.createConnection(JMSUtils.java:629)
 at
 org.apache.axis2.transport.jms.ServiceTaskManager$MessageListenerTask.createConnection(ServiceTaskManager.java:824)
  at
 org.apache.axis2.transport.jms.ServiceTaskManager$MessageListenerTask.getConnection(ServiceTaskManager.java:706)
 at
 org.apache.axis2.transport.jms.ServiceTaskManager$MessageListenerTask.receiveMessage(ServiceTaskManager.java:496)
 at
 org.apache.axis2.transport.jms.ServiceTaskManager$MessageListenerTask.run(ServiceTaskManager.java:420)
 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)
 [2013-08-19 15:28:02,454] ERROR
 {org.apache.axis2.transport.jms.ServiceTaskManager} -  Error acquiring a
 JMS connection to : QueueConnectionFactory using JNDI properties :
 {java.naming.factory.initial=org.wso2.andes.jndi.PropertiesFileInitialContextFactory,
 java.naming.provider.url=repository/conf/jndi.properties,
 transport.jms.ConnectionFactoryType=queue,
 ServiceClass=org.wso2.carbon.mashup.javascript.stubgenerator.JSStubGenerator
 }
 javax.jms.JMSException: Error creating connection: Could not open
 connection
 at
 org.wso2.andes.client.AMQConnectionFactory.createConnection(AMQConnectionFactory.java:325)
 at
 org.wso2.andes.client.AMQConnectionFactory.createConnection(AMQConnectionFactory.java:38)

 at
 org.apache.axis2.transport.jms.JMSUtils.createConnection(JMSUtils.java:629)
 at
 org.apache.axis2.transport.jms.ServiceTaskManager$MessageListenerTask.createConnection(ServiceTaskManager.java:824)
 at
 org.apache.axis2.transport.jms.ServiceTaskManager$MessageListenerTask.getConnection(ServiceTaskManager.java:706)
 at
 org.apache.axis2.transport.jms.ServiceTaskManager$MessageListenerTask.receiveMessage(ServiceTaskManager.java:496)
   

Re: [Dev] IS integration test failures

2013-08-21 Thread Krishantha Samaraweera
There's an test failure with latest build. Dharshana can you please check
this.

Tests run: 13, Failures: 1, Errors: 0, Skipped: 0, Time elapsed:
267.938 sec FAILURE!
deleteUserTest(org.wso2.carbon.identity.tests.scim.SCIMGlobalProviderTestCase)
 Time elapsed: 5.188 sec   FAILURE!
java.lang.AssertionError: Deleting user to provider failed expected [false]
but found [true]
at org.testng.Assert.fail(Assert.java:94)
at org.testng.Assert.failNotEquals(Assert.java:494)
at org.testng.Assert.assertFalse(Assert.java:63)
atorg.wso2.carbon.identity.tests.scim.SCIMGlobalProviderTestCase.deleteUserTest(SCIMGlobalProviderTestCase.java:129)

Thanks,
Krishantha.



On Mon, Aug 19, 2013 at 7:09 PM, Dharshana Warusavitharana 
dharsha...@wso2.com wrote:

 SCIM tests are running fine with the mentioned pack. Available SAML tests are
 not seems like promising need wo work out reliable set of tests.

 Thank You,
 Dharshana.


 On Mon, Aug 19, 2013 at 12:07 PM, Chamath Gunawardana 
 chama...@wso2.comwrote:

 Hi Darshana,

 While I try with the latest from branch you can continue your work with
 the pack available from [1] which is pre RC1 pack. I verified with this
 pack and it created the user correctly.

 [1] - https://svn.wso2.org/repos/wso2/people/prabath/is-4.5.0/19082013/


 Thanks,


 On Mon, Aug 19, 2013 at 11:48 AM, Dharshana Warusavitharana 
 dharsha...@wso2.com wrote:

 Hi Chamath,

 Its clear from the curl log the request has reached the login page
 instais of the SCIM user url. Same thing happens with the SCIM GROUP
 url also

 This is the pack im getting from building the branch.

 Thank You,
 Dharshana.


 On Mon, Aug 19, 2013 at 11:19 AM, Chamath Gunawardana chama...@wso2.com
  wrote:

 Hi Darshana,

 Do you have server log errors when executing the curl?


 Thanks,


 On Mon, Aug 19, 2013 at 10:45 AM, Dharshana Warusavitharana 
 dharsha...@wso2.com wrote:

 Hi ,

 Im getting 302 response for SCIM user creation request please refer
 the curl command and response inlign

 [dharshana@localhost tests]$ curl -v -k --user admin:admin --data
 {schemas:[],name:{familyName:gunasinghe,givenName:hasinitg},userName:hasinitg,password:hasinitg,emails:[{primary:true,value:
 hasini_home.com,type:home},{value:hasini_work.com,type:work}]}
 --header Content-Type:application/json
 https://localhost:9443/wso2/scim/Users


 * About to connect() to localhost port 9443 (#0)
 *   Trying 127.0.0.1...
 * Connected to localhost (127.0.0.1) port 9443 (#0)
 * Initializing NSS with certpath: sql:/etc/pki/nssdb
 * skipping SSL peer certificate verification
 * SSL connection using TLS_DHE_RSA_WITH_AES_256_CBC_SHA
 * Server certificate:
 * subject: CN=localhost,O=WSO2,L=Mountain View,ST=CA,C=US
 * start date: Feb 19 07:02:26 2010 GMT
 * expire date: Feb 13 07:02:26 2035 GMT
 * common name: localhost
 * issuer: CN=localhost,O=WSO2,L=Mountain View,ST=CA,C=US
 * Server auth using Basic with user 'admin'
  POST /wso2/scim/Users HTTP/1.1
  Authorization: Basic YWRtaW46YWRtaW4=
  User-Agent: curl/7.29.0
  Host: localhost:9443
  Accept: */*
  Content-Type:application/json
  Content-Length: 186
 
 * upload completely sent off: 186 out of 186 bytes
  HTTP/1.1 302 Found
  Set-Cookie: JSESSIONID=7B67DDEBAFB79144EB9C0201F9582935; Path=/;
 Secure; HttpOnly
  Set-Cookie: requestedURI=../../wso2/scim/Users; Path=/
  Location: https://localhost:9443/carbon/admin/login.jsp
  Content-Type: text/html;charset=UTF-8
  Content-Length: 0
  Date: Mon, 19 Aug 2013 05:08:39 GMT
  Server: WSO2 Carbon Server
 


 This leads to SCIM tests failed.

 Thank You,
 Dharshana.


 On Mon, Aug 19, 2013 at 9:45 AM, Chamath Gunawardana 
 chama...@wso2.com wrote:

 Hi Prabath,

 I will look into this.



 Thanks,


 On Mon, Aug 19, 2013 at 7:54 AM, Krishantha Samaraweera 
 krishan...@wso2.com wrote:

 Yes me too noticed it. DharshanaW will work with Chamath to check
 the failures.

 Thanks,
 Krishantha.



 On Mon, Aug 19, 2013 at 4:08 AM, Prabath Siriwardena 
 prab...@wso2.com wrote:

 All these are failing not because of functional issues... butlooks 
 like due to issues with the tests it
 self..

 Chamath, can you please check this with Krishantha..

 Thanks  regards,
 -Prabath

 testAllClaims(org.wso2.carbon.identity.tests.saml.AllClaimURIsTestCase)
  Time elapsed: 0.206 sec   FAILURE!
 java.rmi.RemoteException: Error while getting claim URIs ; nested
 exception is:
  org.apache.axis2.AxisFault: The service cannot be found for the
 endpoint reference (EPR)
 https://localhost:9443/services/SAMLSSOConfigService
  at org.wso2.carbon.automation.api.clients.identity.sso.saml.
 SAMLSSOConfigServiceClient.getClaimURIs(
 SAMLSSOConfigServiceClient.java:68)
  at org.wso2.carbon.identity.tests.saml.AllClaimURIsTestCase.
 testAllClaims(AllClaimURIsTestCase.java:54)
 Caused by: org.apache.axis2.AxisFault: The service cannot be found
 for the endpoint reference (EPR)
 https://localhost:9443/services/SAMLSSOConfigService
  at org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(
 

Re: [Dev] Error while shutting down APIM server built from 4.2.0 branch

2013-08-21 Thread Chanika Geeganage
Hi Lalaji,

This is because the registry service is unset before retrieving all the
task from registry while shutting down. As per the offline chat had with
Ajith and Anjana this can be handled in the registry side. Ajith will do
necessary changes.

Thanks


On Tue, Aug 20, 2013 at 7:51 AM, Lalaji Sureshika lal...@wso2.com wrote:

 Hi,

 Any update on above.Still we are getting same issue from branch built pack
 after taking svn up.

 Thanks;


 On Sun, Aug 18, 2013 at 10:57 AM, Lalaji Sureshika lal...@wso2.comwrote:

 Hi,

 I'm getting below error[1],while shutting down APIM instance..Pack built
 rev no. is 181876.

 Thanks;

 [1] [2013-08-18 10:47:53,989] ERROR -
 GovernanceMgtUIListMetadataServiceComponent Error while stopping the tasks
 org.wso2.carbon.ntask.common.TaskException: Error in getting all tasks
 from repository
 at
 org.wso2.carbon.ntask.core.impl.RegistryBasedTaskRepository.getAllTasks(RegistryBasedTaskRepository.java:128)
  at
 org.wso2.carbon.ntask.core.impl.standalone.StandaloneTaskManager.getAllTasks(StandaloneTaskManager.java:74)
 at
 org.wso2.carbon.governance.list.internal.GovernanceMgtUIListMetadataServiceComponent.deactivate(GovernanceMgtUIListMetadataServiceComponent.java:269)
  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.deactivate(ServiceComponent.java:387)
 at
 org.eclipse.equinox.internal.ds.model.ServiceComponentProp.deactivate(ServiceComponentProp.java:161)
  at
 org.eclipse.equinox.internal.ds.model.ServiceComponentProp.dispose(ServiceComponentProp.java:389)
 at
 org.eclipse.equinox.internal.ds.model.ServiceComponentProp.dispose(ServiceComponentProp.java:102)
  at
 org.eclipse.equinox.internal.ds.InstanceProcess.disposeInstances(InstanceProcess.java:344)
 at
 org.eclipse.equinox.internal.ds.InstanceProcess.disposeInstances(InstanceProcess.java:306)
  at
 org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:368)
 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.unregister(ServiceRegistrationImpl.java:225)
 at
 org.wso2.carbon.registry.core.internal.RegistryCoreServiceComponent.deactivate(RegistryCoreServiceComponent.java:199)
  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.deactivate(ServiceComponent.java:387)
 at
 org.eclipse.equinox.internal.ds.model.ServiceComponentProp.deactivate(ServiceComponentProp.java:161)
  at
 org.eclipse.equinox.internal.ds.model.ServiceComponentProp.dispose(ServiceComponentProp.java:389)
 at
 org.eclipse.equinox.internal.ds.model.ServiceComponentProp.dispose(ServiceComponentProp.java:102)
  at
 org.eclipse.equinox.internal.ds.InstanceProcess.disposeInstances(InstanceProcess.java:344)
 at
 org.eclipse.equinox.internal.ds.InstanceProcess.disposeInstances(InstanceProcess.java:306)
  at
 org.eclipse.equinox.internal.ds.Resolver.disposeComponentConfigs(Resolver.java:717)
 at
 org.eclipse.equinox.internal.ds.Resolver.disableComponents(Resolver.java:693)
  at
 org.eclipse.equinox.internal.ds.SCRManager.stoppingBundle(SCRManager.java:554)
 at
 org.eclipse.equinox.internal.ds.SCRManager.bundleChanged(SCRManager.java:233)
  at
 org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:847)
 at
 org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
  at
 org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
 at
 org.eclipse.osgi.framework.internal.core.Framework.publishBundleEventPrivileged(Framework.java:1568)
  at
 org.eclipse.osgi.framework.internal.core.Framework.publishBundleEvent(Framework.java:1504)
 at
 

Re: [Dev] Lets work on lincense/readme/etc in distributions.

2013-08-21 Thread Shelan Perera
Hi,

Will work on this for GReg

Thanks


On Wed, Aug 21, 2013 at 12:02 PM, Manoj Kumara ma...@wso2.com wrote:

 Hi Pradeep,

 Noted.

 Thanks,

 Best Regards..


 Manoj Kumara
 Software Engineer
 WSO2, Inc.; http://wso2.com

 Twitter:  http://twitter.com/ManKuma
 Mobile: +94713448188


 On Wed, Aug 21, 2013 at 10:38 AM, Pradeep Fernando prad...@wso2.comwrote:

 Hi devs,

 Since we are in RC state, shall we do the $subject. This includes..

 - readmes
 - releasenotes
 - license txt
 - checking for duplicated jars in the distribution



 @Manoj : can you please attend the same in carbon distribution..


 thanks.
 --Pradeep



 ___
 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




-- 
*Shelan Perera*

Senior Software Engineer
**
Integration Technology Group
*WSO2, Inc. : wso2.com*
lean.enterprise.middleware.

*Blog* :   blog.shelan.org
*Linked-i*n  :   http://www.linkedin.com/pub/shelan-perera/a/194/465
*Twitter* :https://twitter.com/#!/shelan

*Mobile*  : +94 772 604 402
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] move the cassandra-jdbc out from platform/deps

2013-08-21 Thread Chanika Geeganage
cassandra-jdbc 1.2.5.wso2v1 is moved to orbit

https://svn.wso2.org/repos/wso2/carbon/orbit/branches/4.2.0/cassandra-jdbc/



On Tue, Aug 20, 2013 at 7:48 PM, Pradeep Fernando prad...@wso2.com wrote:

 AFAIU, we are not modifying the source. hence should go to external/orbit.


 https://svn.wso2.org/repos/wso2/carbon/platform/branches/4.2.0/dependencies/orbit/cassandra-jdbc/1.2.5.wso2v1


 --Pradeep



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




-- 
Best Regards..

Chanika Geeganage
Software Engineer
WSO2, Inc.; http://wso2.com

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


[Dev] Carbon Platform 4.2.0 Release - RC1 Packs

2013-08-21 Thread Sameera Jayasoma
Hi dev,

Please get the RC1 packs from this[1] location.

Build status

kernel - Unit tests passed, Integration tests passed.
Platform - Unit test passed, *didn't build with integration tests*

Product teams, please make sure your integration tests are passing.

Thanks,
Sameera.

[1] http://ec2-54-224-94-128.compute-1.amazonaws.com/rc1/

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

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


Re: [Dev] HouseKeepingTask files not get deleted on Windows

2013-08-21 Thread Manoj Kumara
Hi Ajith,

Did you get this on the latest pack. Similar issue is reported and fixed. I
also couldn't reproduce this on the pack released on 18th Aug.

Thanks,

Best Regards..


Manoj Kumara
Software Engineer
WSO2, Inc.; http://wso2.com

Twitter:  http://twitter.com/ManKuma
Mobile: +94713448188


On Wed, Aug 21, 2013 at 9:45 AM, Manoj Kumara ma...@wso2.com wrote:

 Hi,

 Will check on this issue.

 Thanks,

 Best Regards..


 Manoj Kumara
 Software Engineer
 WSO2, Inc.; http://wso2.com

 Twitter:  http://twitter.com/ManKuma
 Mobile: +94713448188


 On Tue, Aug 20, 2013 at 11:31 PM, Shelan Perera she...@wso2.com wrote:

 Hi,

 Yes i could too observed this with Linux.

 Thanks


 On Tue, Aug 20, 2013 at 11:26 PM, Ajith Vitharana aji...@wso2.comwrote:

 Hi Manoj,

 I observed random NPE in G-Reg pack , which is running on Linux.

 [2013-08-20 23:19:16,794] ERROR {org.wso2.carbon.core.util.HouseKeepingTask}
 -  Could not run HousekeepingTask
 java.lang.NullPointerException
  at org.wso2.carbon.core.util.HouseKeepingTask.clean(
 HouseKeepingTask.java:78)
  at org.wso2.carbon.core.util.HouseKeepingTask.clean(
 HouseKeepingTask.java:76)
  at org.wso2.carbon.core.util.HouseKeepingTask.run(HouseKeepingTask.java
 :55)
  at java.util.TimerThread.mainLoop(Timer.java:512)
  at java.util.TimerThread.run(Timer.java:462)

 Thanks
 Ajith.



 On Mon, Aug 19, 2013 at 9:41 PM, Manoj Kumara ma...@wso2.com wrote:

 Hi,

 I'm looking into JIRA issue [1] and observed that some of the files are
 not get deleted during the HouseKeepingTask on windows platform due to
 files were opened by some other processes. Technically temp files should
 not be used after the required task finises. This issue dose not occur in
 Linux platform.

 We have modified the cleaning directory of the HouseKeepingTask on [2]
 since the CARBON_HOME/tmp directory keep grow without cleaning.

 Any Ideas on this,


 [1] https://wso2.org/jira/browse/CARBON-14373
 [2] https://wso2.org/jira/browse/CARBON-11926


 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




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




 --
 *Shelan Perera*

 Senior Software Engineer
 **
 Integration Technology Group
 *WSO2, Inc. : wso2.com*
 lean.enterprise.middleware.

 *Blog* :   blog.shelan.org
 *Linked-i*n  :   http://www.linkedin.com/pub/shelan-perera/a/194/465
 *Twitter* :https://twitter.com/#!/shelan

 *Mobile*  : +94 772 604 402



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


[Dev] [GREG] What happens if a user wants to change the state of an already defined lifecycle?

2013-08-21 Thread Ushani Balasooriya
I tried to do $subject in the default ServiceLifeCycl.

E.g., I tried to change the lifecycle state Development in to State1

scxml xmlns=http://www.w3.org/2005/07/scxml;
   version=1.0
   initialstate=Development etc...

in to

scxml xmlns=http://www.w3.org/2005/07/scxml;
   version=1.0
   initialstate=State1 etc...

What happens is the lifecycle bar itself is lost form the mgt console.

Is this an issue or expected or is this use case valid?

Pls advice

-- 
*Ushani Balasooriya*
Software Engineer - QA;
WSO2 Inc; http://www.wso2.com/.
Mobile; +94772636796
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [Architecture] WSO2 CEP 3.0.0-Alpha Released!

2013-08-21 Thread Lasantha Fernando
Hi Cyril,

Thank you for your feedback on the alpha-release. Yes, the final release is
close by... :-)

There seems to have been a typo in the windows script for running samples
which puts an additional 's' in searching for the directory.

Can you do the following and check whether samples work for you?

1. Rename the attached wso2cep-samples.script as wso2cep-samples.bat
2. Put the modified file in CEP_HOME\bin and replace the existing file.
3. Run the samples

Thanks,
Lasantha




On 21 August 2013 12:00, Cyril Rognon crog...@gmail.com wrote:

 Hi all,

 thank you for the announce. I hope the final is close :)

 For the record, I have just tried the first sample and found some error on
 a win32 setup :
 org.wso2.carbon.utils.ServerException: Repository location
 '/../samples/cep-samples/artifacts/s1/' not found!
 CEP seems to look for 's1' directory in
 'wso2cepdir/samples/cep-samples/artifacts/' where there is a '1'
 directory instead.


 For now I have not succeeded in reaching the documentation at
 http://docs.wso2.org/wiki/display/CEP300/*



  cheers,
 Cyril Rognon


 On Sat, Aug 17, 2013 at 3:35 AM, Lasantha Fernando lasan...@wso2.comwrote:

 *WSO2 Complex Event Processor 3.0.0-Alpha Released!*

 Date :17th August 2013

 This alpha pack is available at :
 https://svn.wso2.org/repos/wso2/people/suho/packs/cep/3.0.0/wso2cep-3.0.0-alpha.zip

 To run the samples please follow the read-me, wso2cep-3.0.0/samples/cep
 -samples/ReadMe.txt

 Following are the bug fixes, improvements and the new features

 Bug

- [CEP-232 https://wso2.org/jira/browse/CEP-232] - When sending
arbitrary map without defining at-least one property with same arbitrary
value type.
- [CEP-239 https://wso2.org/jira/browse/CEP-239] - Default attibute
values for streams mapping
- [CEP-269 https://wso2.org/jira/browse/CEP-269] - Successfully
deployed message, of artefacts are not uniform in all CEP components
- [CEP-274 https://wso2.org/jira/browse/CEP-274] - Fix CEP
statistics
- [CEP-280 https://wso2.org/jira/browse/CEP-280] - Need to format
JMS Transport Adaptor
- [CEP-281 https://wso2.org/jira/browse/CEP-281] - Email Transport
Adaptor is not working
- [CEP-282 https://wso2.org/jira/browse/CEP-282] - Deployment issue
when editing a configuration file
- [CEP-292 https://wso2.org/jira/browse/CEP-292] - Transport
Adaptor related message properties are not changing in Event Builder
- [CEP-293 https://wso2.org/jira/browse/CEP-293] - Ajax 404 - Not
found error when clicking 'Add Execution Plan'
- [CEP-294 https://wso2.org/jira/browse/CEP-294] - Creating an
event builder configuration with same name which is already there in the
tenant
- [CEP-295 https://wso2.org/jira/browse/CEP-295] - Adding an
invalid execution plan through UI proceeds without errors, but is not
displayed in Active or Inactive Lists
- [CEP-296 https://wso2.org/jira/browse/CEP-296] - Deleting
Execution Plan undeploys properly, but does not delete the file
- [CEP-297 https://wso2.org/jira/browse/CEP-297] - Exception when
there are no XPath Prefixes in XML mapping of Event Builder
- [CEP-298 https://wso2.org/jira/browse/CEP-298] - Enabling tracing
via management console updates the wrong table row
- [CEP-299 https://wso2.org/jira/browse/CEP-299] - Cannot add
WSO2Event/Map mappings in Firefox via Managment Console
- [CEP-300 https://wso2.org/jira/browse/CEP-300] -
Enabling/disabling Tracing via Management Console UI does not get saved to
file
- [CEP-301 https://wso2.org/jira/browse/CEP-301] - Need to Format
the Table headers in Add and Details page of Event Processor
- [CEP-305 https://wso2.org/jira/browse/CEP-305] - JMS transport
adaptor not working for WSO2 MB
- [CEP-306 https://wso2.org/jira/browse/CEP-306] - Event Tracer UI
is not visible, throws an error at back-end
- [CEP-309 https://wso2.org/jira/browse/CEP-309] - Pattern 'Count n
or more' fails with NegativeArraySizeException
- [CEP-312 https://wso2.org/jira/browse/CEP-312] - Output XML
mapping gives error when there is no child elements
- [CEP-315 https://wso2.org/jira/browse/CEP-315] - When creating an
event processor, It shows an warning saying that processor is already
exists even though it is not there
- [CEP-316 https://wso2.org/jira/browse/CEP-316] - Output events
get doubled which coming from processor when updating an event formatter
- [CEP-323 https://wso2.org/jira/browse/CEP-323] - Inactive
Execution Plans are not shown in the UI
- [CEP-326 https://wso2.org/jira/browse/CEP-326] - Inactive Event
Processor UI is not working

 Improvement

- [CEP-230 https://wso2.org/jira/browse/CEP-230] - Event Processor
implementation
- [CEP-237 https://wso2.org/jira/browse/CEP-237] - DB Connection
pool for RDBMS connections in mysql
- [CEP-272 https://wso2.org/jira/browse/CEP-272] - By 

[Dev] Build failure - trunk

2013-08-21 Thread Hasitha Aravinda
There is no stub called org.wso2.carbon.appfactory.events.notification.stub
in the trunk [1]. Please have a look.

Thanks,
Hasitha

[1] - https://svn.wso2.org/repos/wso2/carbon/platform/trunk/service-stubs/

[INFO] Scanning for projects...
[ERROR] The build could not read 1 project - [Help 1]
[ERROR]
[ERROR]   The project org.wso2.carbon:carbon-service-stubs:4.2.0-SNAPSHOT
(/data/source/trunk/back_work/platform/service-stubs/pom.xml) has 1 error
[ERROR] Child module
/data/source/trunk/back_work/platform/service-stubs/*
org.wso2.carbon.appfactory.events.notification.stub* of
/data/source/trunk/back_work/platform/service-stubs/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.
[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/ProjectBuildingException


-- 
Hasitha Aravinda,
Software Engineer,
WSO2 Inc.
Email: hasi...@wso2.com
Mobile: +94 71 8 210 200
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Build failure - trunk

2013-08-21 Thread Ashansa Perera
Hi Hasitha,

Please update service-stubs/pom.xml.
Sorry for the inconvenience


On Wed, Aug 21, 2013 at 1:51 PM, Hasitha Aravinda hasi...@wso2.com wrote:

 There is no stub called
 org.wso2.carbon.appfactory.events.notification.stub in the trunk [1].
 Please have a look.

 Thanks,
 Hasitha

 [1] - https://svn.wso2.org/repos/wso2/carbon/platform/trunk/service-stubs/

 [INFO] Scanning for projects...
 [ERROR] The build could not read 1 project - [Help 1]
 [ERROR]
 [ERROR]   The project org.wso2.carbon:carbon-service-stubs:4.2.0-SNAPSHOT
 (/data/source/trunk/back_work/platform/service-stubs/pom.xml) has 1 error
 [ERROR] Child module
 /data/source/trunk/back_work/platform/service-stubs/*
 org.wso2.carbon.appfactory.events.notification.stub* of
 /data/source/trunk/back_work/platform/service-stubs/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.
 [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/ProjectBuildingException


 --
 Hasitha Aravinda,
 Software Engineer,
 WSO2 Inc.
 Email: hasi...@wso2.com
 Mobile: +94 71 8 210 200




-- 
Thanks  Regards,

Ashansa Perera
Software Engineer
WSO2, Inc
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] LB Stabilization for Kernel 4.2.0 release

2013-08-21 Thread Jeewantha Dharmaparakrama
On Wed, Aug 21, 2013 at 7:39 AM, Sameera Jayasoma same...@wso2.com wrote:

 Can we have an update on the ELB issues?

This issue has been dragging for some time and its not been easy to fix it
cause the error is thrown from httpcore-nio runtime. While an HTTP request
being served, the connection gets closed abruptly and the server continues
to use a closed connection, hence the error is thrown. The problem is even
worse since its intermittent and cant get reproduced locally. This can
either be a bug in httpcore-nio or not be a bug at all. When a connection
is broken due to network inconsistencies, it is reasonable for the server
to throw an Exception.  But at the same time, httocore can erroneously be
using a closed connection. We cant analyze  the run time behaviour either
coz the issue does not get reproduced locally. Using EC2 setup used by QA
team for debugging purposes is not practical. So its a good idea if we can
have a clone of the Ec2 set-up for debugging purposes.

Jeewantha



 On Mon, Aug 19, 2013 at 2:41 PM, Jeewantha Dharmaparakrama 
 jeewan...@wso2.com wrote:

 Hi Evanthika,

 Can you kindly enable wire logs in the ELB in EC2 cluster and provide the
 logs when this exception is thrown?

 Thanks,
 Jeewantha.


 On Fri, Aug 16, 2013 at 4:22 PM, Afkham Azeez az...@wso2.com wrote:

 It was a configuration issue where the subDomain wasn't properly getting
 set.


 On Fri, Aug 16, 2013 at 1:07 PM, Jeewantha Dharmaparakrama 
 jeewan...@wso2.com wrote:

 Hi Folks,

 LB seems to be unstable when clustered with latest 4.2.0 kernal packs
 [1]. Though this was first thought of as a PTT issue (see thread@dev -
 java.nio.channels.ClosedChannelException thrown time to time on ELB
 console) there seems to be some inconstancy when nodes are joined to
 the cluster which we are currently looking into.

 When a management node is added to the cluster, only the following log
 message is printed in sout.

 INFO {org.wso2.carbon.core.clustering.hazelcast.util.MemberUtils} -
 Added member: Host:127.0.0.1, Remote Host:null, Port: 3999, HTTP:-1,
 HTTPS:-1, Domain: null, Sub-domain:null, Active:true

 This was checked with the packs built on 5th and 9th august [2] and as
 per discussion with Azeez and Sameera, the products do not get clustered
 properly. When management console is accessed, a SOAP Fault pops up on the
 browser as

 soapenv:Envelopesoapenv:
 BodynullResponseTimestampThu Aug 15 2013 16:55:05 GMT+0530
 (IST)/TimestampAckFailure/AckErrorsShortMessageGateway
 Error/ShortMessageLongMessageNo application members available
 /LongMessageErrorCode500
 /ErrorCodeSeverityCodeError/SeverityCodeErrorClassificationRequestError/ErrorClassification/ErrorsServiceNamenull/ServiceNameResponseCodenull/ResponseCodeContentTypenull/ContentTypeVersion1.5.1/Version/nullResponse/soapenv:Body/soapenv:Envelope

 and with an Exception at the ELB backend

 [2013-08-15 16:55:05,407] ERROR - TenantAwareLoadBalanceEndpoint No
 application members available
 [2013-08-15 16:55:05,909]  WARN - SourceHandler Illegal incoming
 connection state: REQUEST_DONE . Possibly two send backs are happening for
 the same request
 [2013-08-15 16:55:05,909]  WARN - SourceHandler Trying to write
 response body while the handler is in an inconsistent state REQUEST_DONE
 [2013-08-15 16:55:05,910] ERROR - TenantAwareLoadBalanceEndpoint No
 application members available
 [2013-08-15 16:57:28,353] ERROR - TenantAwareLoadBalanceEndpoint No
 application members available
 [2013-08-15 16:57:28,708]  WARN - SourceHandler Illegal incoming
 connection state: REQUEST_DONE . Possibly two send backs are happening for
 the same request
 [2013-08-15 16:57:28,709]  WARN - SourceHandler Trying to write
 response body while the handler is in an inconsistent state REQUEST_DONE
 [2013-08-15 16:57:28,709] ERROR - TenantAwareLoadBalanceEndpoint No
 application members available
 [2013-08-15 16:57:28,710] ERROR - SourceHandler Unexpected I/O error:
 java.nio.channels.ClosedChannelException
 java.nio.channels.ClosedChannelException
 at
 sun.nio.ch.SocketChannelImpl.ensureWriteOpen(SocketChannelImpl.java:135)
 at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:326)
 at
 org.apache.http.nio.reactor.ssl.SSLIOSession.sendEncryptedData(SSLIOSession.java:331)
 at
 org.apache.http.nio.reactor.ssl.SSLIOSession.outboundTransport(SSLIOSession.java:411)
 at
 org.apache.http.impl.nio.reactor.AbstractIODispatch.outputReady(AbstractIODispatch.java:150)
 at
 org.apache.http.impl.nio.reactor.BaseIOReactor.writable(BaseIOReactor.java:181)
 at
 org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvent(AbstractIOReactor.java:346)
 at
 org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvents(AbstractIOReactor.java:320)
 at
 org.apache.http.impl.nio.reactor.AbstractIOReactor.execute(AbstractIOReactor.java:280)
 at
 org.apache.http.impl.nio.reactor.BaseIOReactor.execute(BaseIOReactor.java:106)
 at
 

Re: [Dev] Build failure - trunk

2013-08-21 Thread Hasitha Aravinda
It is fixed now. Thanks.


On Wed, Aug 21, 2013 at 2:14 PM, Ashansa Perera asha...@wso2.com wrote:

 Hi Hasitha,

 Please update service-stubs/pom.xml.
 Sorry for the inconvenience


 On Wed, Aug 21, 2013 at 1:51 PM, Hasitha Aravinda hasi...@wso2.comwrote:

 There is no stub called
 org.wso2.carbon.appfactory.events.notification.stub in the trunk [1].
 Please have a look.

 Thanks,
 Hasitha

 [1] -
 https://svn.wso2.org/repos/wso2/carbon/platform/trunk/service-stubs/

 [INFO] Scanning for projects...
 [ERROR] The build could not read 1 project - [Help 1]
 [ERROR]
 [ERROR]   The project org.wso2.carbon:carbon-service-stubs:4.2.0-SNAPSHOT
 (/data/source/trunk/back_work/platform/service-stubs/pom.xml) has 1 error
 [ERROR] Child module
 /data/source/trunk/back_work/platform/service-stubs/*
 org.wso2.carbon.appfactory.events.notification.stub* of
 /data/source/trunk/back_work/platform/service-stubs/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.
 [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/ProjectBuildingException


 --
 Hasitha Aravinda,
 Software Engineer,
 WSO2 Inc.
 Email: hasi...@wso2.com
 Mobile: +94 71 8 210 200




 --
 Thanks  Regards,

 Ashansa Perera
 Software Engineer
 WSO2, Inc




-- 
Hasitha Aravinda,
Software Engineer,
WSO2 Inc.
Email: hasi...@wso2.com
Mobile: +94 71 8 210 200
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] LB Stabilization for Kernel 4.2.0 release

2013-08-21 Thread Jeewantha Dharmaparakrama
On Mon, Aug 19, 2013 at 2:41 PM, Jeewantha Dharmaparakrama 
jeewan...@wso2.com wrote:

 Hi Evanthika,

 Can you kindly enable wire logs in the ELB in EC2 cluster and provide the
 logs when this exception is thrown?

The error logs are kinda urgent. It would be easy if we get access to the
QA EC2 setup.
Jeewantha.


 Thanks,
 Jeewantha.


 On Fri, Aug 16, 2013 at 4:22 PM, Afkham Azeez az...@wso2.com wrote:

 It was a configuration issue where the subDomain wasn't properly getting
 set.


 On Fri, Aug 16, 2013 at 1:07 PM, Jeewantha Dharmaparakrama 
 jeewan...@wso2.com wrote:

 Hi Folks,

 LB seems to be unstable when clustered with latest 4.2.0 kernal packs
 [1]. Though this was first thought of as a PTT issue (see thread@dev - 
 java.nio.channels.ClosedChannelException
 thrown time to time on ELB console) there seems to be some inconstancy
 when nodes are joined to the cluster which we are currently looking into.

 When a management node is added to the cluster, only the following log
 message is printed in sout.

 INFO {org.wso2.carbon.core.clustering.hazelcast.util.MemberUtils} -
 Added member: Host:127.0.0.1, Remote Host:null, Port: 3999, HTTP:-1,
 HTTPS:-1, Domain: null, Sub-domain:null, Active:true

 This was checked with the packs built on 5th and 9th august [2] and as
 per discussion with Azeez and Sameera, the products do not get clustered
 properly. When management console is accessed, a SOAP Fault pops up on the
 browser as

 soapenv:Envelopesoapenv:
 BodynullResponseTimestampThu Aug 15 2013 16:55:05 GMT+0530
 (IST)/TimestampAckFailure/AckErrorsShortMessageGateway
 Error/ShortMessageLongMessageNo application members available
 /LongMessageErrorCode500
 /ErrorCodeSeverityCodeError/SeverityCodeErrorClassificationRequestError/ErrorClassification/ErrorsServiceNamenull/ServiceNameResponseCodenull/ResponseCodeContentTypenull/ContentTypeVersion1.5.1/Version/nullResponse/soapenv:Body/soapenv:Envelope

 and with an Exception at the ELB backend

 [2013-08-15 16:55:05,407] ERROR - TenantAwareLoadBalanceEndpoint No
 application members available
 [2013-08-15 16:55:05,909]  WARN - SourceHandler Illegal incoming
 connection state: REQUEST_DONE . Possibly two send backs are happening for
 the same request
 [2013-08-15 16:55:05,909]  WARN - SourceHandler Trying to write response
 body while the handler is in an inconsistent state REQUEST_DONE
 [2013-08-15 16:55:05,910] ERROR - TenantAwareLoadBalanceEndpoint No
 application members available
 [2013-08-15 16:57:28,353] ERROR - TenantAwareLoadBalanceEndpoint No
 application members available
 [2013-08-15 16:57:28,708]  WARN - SourceHandler Illegal incoming
 connection state: REQUEST_DONE . Possibly two send backs are happening for
 the same request
 [2013-08-15 16:57:28,709]  WARN - SourceHandler Trying to write response
 body while the handler is in an inconsistent state REQUEST_DONE
 [2013-08-15 16:57:28,709] ERROR - TenantAwareLoadBalanceEndpoint No
 application members available
 [2013-08-15 16:57:28,710] ERROR - SourceHandler Unexpected I/O error:
 java.nio.channels.ClosedChannelException
 java.nio.channels.ClosedChannelException
 at
 sun.nio.ch.SocketChannelImpl.ensureWriteOpen(SocketChannelImpl.java:135)
 at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:326)
 at
 org.apache.http.nio.reactor.ssl.SSLIOSession.sendEncryptedData(SSLIOSession.java:331)
 at
 org.apache.http.nio.reactor.ssl.SSLIOSession.outboundTransport(SSLIOSession.java:411)
 at
 org.apache.http.impl.nio.reactor.AbstractIODispatch.outputReady(AbstractIODispatch.java:150)
 at
 org.apache.http.impl.nio.reactor.BaseIOReactor.writable(BaseIOReactor.java:181)
 at
 org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvent(AbstractIOReactor.java:346)
 at
 org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvents(AbstractIOReactor.java:320)
 at
 org.apache.http.impl.nio.reactor.AbstractIOReactor.execute(AbstractIOReactor.java:280)
 at
 org.apache.http.impl.nio.reactor.BaseIOReactor.execute(BaseIOReactor.java:106)
 at
 org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor$Worker.run(AbstractMultiworkerIOReactor.java:604)
 at java.lang.Thread.run(Thread.java:662)

 ELB tries to send a request to the management node but the application
 member is not found, hence gets a ClosedChannelException.

 [1] https://wso2.org/jira/browse/LB-74
 [2] 
 http://ec2-54-224-94-128.compute-1.amazonaws.com/05-08-2013/http://www.google.com/url?q=http%3A%2F%2Fec2-54-224-94-128.compute-1.amazonaws.com%2F05-08-2013%2Fsa=Dsntz=1usg=AFQjCNGFLcc1dySI1P2yUGSGveqEpgXIug
 http://ec2-54-224-94-128.compute-1.amazonaws.com/09-08-2013/

 Jeewantha.



 --
 Jeewantha Dharmaparakrama
 Software Engineer; WSO2, Inc.; http://wso2.com/
 Phone : (+94) 774726790
 Skype : prasad.jeewantha
 LinkedIn : http://www.linkedin.com/in/jeewanthad
 Twitter: https://twitter.com/jeewamp
 Blog: http://jeewanthad.blogspot.com/




 --
 *Afkham Azeez*
 Director of Architecture; 

Re: [Dev] Error while shutting down APIM server built from 4.2.0 branch

2013-08-21 Thread Ajith Vitharana
Fixed.

Thanks
Ajith.


On Wed, Aug 21, 2013 at 12:26 PM, Chanika Geeganage chan...@wso2.comwrote:

 Hi Lalaji,

 This is because the registry service is unset before retrieving all the
 task from registry while shutting down. As per the offline chat had with
 Ajith and Anjana this can be handled in the registry side. Ajith will do
 necessary changes.

 Thanks


 On Tue, Aug 20, 2013 at 7:51 AM, Lalaji Sureshika lal...@wso2.com wrote:

 Hi,

 Any update on above.Still we are getting same issue from branch built
 pack after taking svn up.

 Thanks;


 On Sun, Aug 18, 2013 at 10:57 AM, Lalaji Sureshika lal...@wso2.comwrote:

 Hi,

 I'm getting below error[1],while shutting down APIM instance..Pack built
 rev no. is 181876.

 Thanks;

 [1] [2013-08-18 10:47:53,989] ERROR -
 GovernanceMgtUIListMetadataServiceComponent Error while stopping the tasks
 org.wso2.carbon.ntask.common.TaskException: Error in getting all tasks
 from repository
 at
 org.wso2.carbon.ntask.core.impl.RegistryBasedTaskRepository.getAllTasks(RegistryBasedTaskRepository.java:128)
  at
 org.wso2.carbon.ntask.core.impl.standalone.StandaloneTaskManager.getAllTasks(StandaloneTaskManager.java:74)
 at
 org.wso2.carbon.governance.list.internal.GovernanceMgtUIListMetadataServiceComponent.deactivate(GovernanceMgtUIListMetadataServiceComponent.java:269)
  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.deactivate(ServiceComponent.java:387)
 at
 org.eclipse.equinox.internal.ds.model.ServiceComponentProp.deactivate(ServiceComponentProp.java:161)
  at
 org.eclipse.equinox.internal.ds.model.ServiceComponentProp.dispose(ServiceComponentProp.java:389)
 at
 org.eclipse.equinox.internal.ds.model.ServiceComponentProp.dispose(ServiceComponentProp.java:102)
  at
 org.eclipse.equinox.internal.ds.InstanceProcess.disposeInstances(InstanceProcess.java:344)
 at
 org.eclipse.equinox.internal.ds.InstanceProcess.disposeInstances(InstanceProcess.java:306)
  at
 org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:368)
 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.unregister(ServiceRegistrationImpl.java:225)
 at
 org.wso2.carbon.registry.core.internal.RegistryCoreServiceComponent.deactivate(RegistryCoreServiceComponent.java:199)
  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.deactivate(ServiceComponent.java:387)
 at
 org.eclipse.equinox.internal.ds.model.ServiceComponentProp.deactivate(ServiceComponentProp.java:161)
  at
 org.eclipse.equinox.internal.ds.model.ServiceComponentProp.dispose(ServiceComponentProp.java:389)
 at
 org.eclipse.equinox.internal.ds.model.ServiceComponentProp.dispose(ServiceComponentProp.java:102)
  at
 org.eclipse.equinox.internal.ds.InstanceProcess.disposeInstances(InstanceProcess.java:344)
 at
 org.eclipse.equinox.internal.ds.InstanceProcess.disposeInstances(InstanceProcess.java:306)
  at
 org.eclipse.equinox.internal.ds.Resolver.disposeComponentConfigs(Resolver.java:717)
 at
 org.eclipse.equinox.internal.ds.Resolver.disableComponents(Resolver.java:693)
  at
 org.eclipse.equinox.internal.ds.SCRManager.stoppingBundle(SCRManager.java:554)
 at
 org.eclipse.equinox.internal.ds.SCRManager.bundleChanged(SCRManager.java:233)
  at
 org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:847)
 at
 org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
  at
 org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
 at
 org.eclipse.osgi.framework.internal.core.Framework.publishBundleEventPrivileged(Framework.java:1568)
  at
 

Re: [Dev] How should handle Artifact undeployment - deployed through a CApp

2013-08-21 Thread Manoj Kumara
Hi Asanka,

As I believe by deploying a CApp we expect to deploy the all artifacts with
in it. If any unwanted artifacts exists proper way to modify the CApp and
redeploy it.

Thanks,
Manoj


Best Regards..


Manoj Kumara
Software Engineer
WSO2, Inc.; http://wso2.com

Twitter:  http://twitter.com/ManKuma
Mobile: +94713448188


On Wed, Aug 21, 2013 at 4:29 PM, Asanka Vithanage asan...@wso2.com wrote:

 Hi All,

 With current implementation we support CApp deployment in atomic way. but
 on undeployement we are not following that and allow to remove artifacts
 individually.

 Since we are syncing the CApps(not individual artifact) on a worker
 manager separated cluster, this will lead to a conflict.

 For Example if we deployed a CApp bundled with ServiceA and ServiceB,
  And Undeploy ServiceA from Node1 ,then cluster will end-up as like
 below

 *Node1  * * Node2*
 CApp  CApp
   ServiceA
 Service BService B


 IMO we should follow the CApp undeployment also in atomic manner.
 WDYT?



 --
 Asanka Vithanage
 Senior Software Engineer -QA
 Mobile: +94 0716286708
 Email: asan...@wso2.com
 WSO2 Inc. www.wso2.com


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


Re: [Dev] [Architecture] WSO2 CEP 3.0.0-Alpha Released!

2013-08-21 Thread Lasantha Fernando
Hi Cyril,

Thanks for reporting this issue. I have raised a jira in [1] and this will
be fixed in the 3.0.0-beta/RC release.

[1] https://wso2.org/jira/browse/CEP-332

Thanks,
Lasantha

On 21 August 2013 15:11, Cyril Rognon crog...@gmail.com wrote:


 Hi Lasantha,

 the samples goes further but it echoes many error traces in logs :

 TID: [0] [CEP] [2013-08-21 11:31:06,835] ERROR
 {org.wso2.carbon.core.persistence.file.AbstractFilePersistenceManager} -
 IOException in persisting the transaction localWsEventReceiverService
 {org.wso2.carbon.core.persistence.file.AbstractFilePersistenceManager}
 java.io.IOException: File
 '\\..\samples\cep-samples\artifacts\2\servicemetafiles\localWsEventReceiverService.xml'
 could not be created
 ...
 TID: [0] [CEP] [2013-08-21 11:31:07,573] ERROR
 {org.wso2.carbon.core.persistence.file.ServiceGroupFilePersistenceManager}
 -  Error creating the services meta files directory
 \\..\samples\cep-samples\artifacts\2\servicemetafiles
 {org.wso2.carbon.core.persistence.file.ServiceGroupFilePersistenceManager}
 ...
 TID: [0] [CEP] [2013-08-21 11:31:07,627] ERROR
 {org.wso2.carbon.core.persistence.file.AbstractFilePersistenceManager} -
 Error creating the resource meta files directory for
 \\..\samples\cep-samples\artifacts\2\modulemetafiles
 {org.wso2.carbon.core.persistence.file.AbstractFilePersistenceManager}

 The service and receiver of sample were created though... but each time i
 Browse them the logs fill with stack trace about the servicemetafile as
 above.

 I have  not tried it under linux though, since I only have access to my
 local laptop for the moment.
 I won't be able to test further until next Monday.

 I hope it helps,
 Cyril


 On Wed, Aug 21, 2013 at 10:03 AM, Lasantha Fernando lasan...@wso2.comwrote:

 Hi Cyril,

 Thank you for your feedback on the alpha-release. Yes, the final release
 is close by... :-)

 There seems to have been a typo in the windows script for running samples
 which puts an additional 's' in searching for the directory.

 Can you do the following and check whether samples work for you?

 1. Rename the attached wso2cep-samples.script as wso2cep-samples.bat
 2. Put the modified file in CEP_HOME\bin and replace the existing file.
 3. Run the samples

 Thanks,
 Lasantha




 On 21 August 2013 12:00, Cyril Rognon crog...@gmail.com wrote:

 Hi all,

 thank you for the announce. I hope the final is close :)

 For the record, I have just tried the first sample and found some error
 on a win32 setup :
 org.wso2.carbon.utils.ServerException: Repository location
 '/../samples/cep-samples/artifacts/s1/' not found!
 CEP seems to look for 's1' directory in
 'wso2cepdir/samples/cep-samples/artifacts/' where there is a '1'
 directory instead.


 For now I have not succeeded in reaching the documentation at
 http://docs.wso2.org/wiki/display/CEP300/*



  cheers,
 Cyril Rognon


 On Sat, Aug 17, 2013 at 3:35 AM, Lasantha Fernando lasan...@wso2.comwrote:

 *WSO2 Complex Event Processor 3.0.0-Alpha Released!*

 Date :17th August 2013

 This alpha pack is available at :
 https://svn.wso2.org/repos/wso2/people/suho/packs/cep/3.0.0/wso2cep-3.0.0-alpha.zip

 To run the samples please follow the read-me, wso2cep-3.0.0/samples/cep
 -samples/ReadMe.txt

 Following are the bug fixes, improvements and the new features

 Bug

- [CEP-232 https://wso2.org/jira/browse/CEP-232] - When sending
arbitrary map without defining at-least one property with same arbitrary
value type.
- [CEP-239 https://wso2.org/jira/browse/CEP-239] - Default
attibute values for streams mapping
- [CEP-269 https://wso2.org/jira/browse/CEP-269] - Successfully
deployed message, of artefacts are not uniform in all CEP components
- [CEP-274 https://wso2.org/jira/browse/CEP-274] - Fix CEP
statistics
- [CEP-280 https://wso2.org/jira/browse/CEP-280] - Need to format
JMS Transport Adaptor
- [CEP-281 https://wso2.org/jira/browse/CEP-281] - Email
Transport Adaptor is not working
- [CEP-282 https://wso2.org/jira/browse/CEP-282] - Deployment
issue when editing a configuration file
- [CEP-292 https://wso2.org/jira/browse/CEP-292] - Transport
Adaptor related message properties are not changing in Event Builder
- [CEP-293 https://wso2.org/jira/browse/CEP-293] - Ajax 404 - Not
found error when clicking 'Add Execution Plan'
- [CEP-294 https://wso2.org/jira/browse/CEP-294] - Creating an
event builder configuration with same name which is already there in the
tenant
- [CEP-295 https://wso2.org/jira/browse/CEP-295] - Adding an
invalid execution plan through UI proceeds without errors, but is not
displayed in Active or Inactive Lists
- [CEP-296 https://wso2.org/jira/browse/CEP-296] - Deleting
Execution Plan undeploys properly, but does not delete the file
- [CEP-297 https://wso2.org/jira/browse/CEP-297] - Exception when
there are no XPath Prefixes in XML mapping of Event Builder
- [CEP-298 

[Dev] - Cannot access the Management console in worker/manager separated setup with latest packs

2013-08-21 Thread Evanthika Amarasiri
Hi All,

In our worker/manager separated setup, we cannot access the management
console. I see the below exception at ELB side. Used the same configuration
we used before.

***
[2013-08-21 16:15:39,133]  WARN - PassThroughHttpSSLListener System may be
unstable: HTTPS ListeningIOReactor encountered a runtime exception : Null
action
java.lang.IllegalArgumentException: Null action
at java.nio.charset.CharsetDecoder.onMalformedInput(CharsetDecoder.java:368)
 at
org.apache.http.impl.nio.NHttpConnectionBase.init(NHttpConnectionBase.java:162)
 at
org.apache.http.impl.nio.DefaultNHttpServerConnection.init(DefaultNHttpServerConnection.java:100)
 at
org.apache.synapse.transport.http.conn.LoggingNHttpServerConnection.init(LoggingNHttpServerConnection.java:62)
 at
org.apache.synapse.transport.http.conn.LoggingUtils.createServerConnection(LoggingUtils.java:73)
 at
org.apache.synapse.transport.http.conn.ServerConnFactory.createConnection(ServerConnFactory.java:90)
 at
org.apache.synapse.transport.passthru.ServerIODispatch.createConnection(ServerIODispatch.java:58)
 at
org.apache.synapse.transport.passthru.ServerIODispatch.createConnection(ServerIODispatch.java:39)
 at
org.apache.http.impl.nio.reactor.AbstractIODispatch.connected(AbstractIODispatch.java:71)
at
org.apache.http.impl.nio.reactor.BaseIOReactor.sessionCreated(BaseIOReactor.java:240)
 at
org.apache.http.impl.nio.reactor.AbstractIOReactor.processNewChannels(AbstractIOReactor.java:426)
 at
org.apache.http.impl.nio.reactor.AbstractIOReactor.execute(AbstractIOReactor.java:288)
 at
org.apache.http.impl.nio.reactor.BaseIOReactor.execute(BaseIOReactor.java:105)
at
org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor$Worker.run(AbstractMultiworkerIOReactor.java:584)
 at java.lang.Thread.run(Thread.java:722)

Regards,
Evanthika Amarasiri
Senior Technical Lead - Quality Assurance
Mobile: +94773125935
*
*
wso2.com Lean Enterprise Middleware
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Build Failure in Kernel - trunk

2013-08-21 Thread Thilini Ishaka
[INFO] WSO2 Carbon - Features Parent . SUCCESS [0.412s]
[INFO] WSO2 Carbon - Carbon Common Feature ... FAILURE [0.019s]
[INFO] WSO2 Carbon - Carbon Server Feature ... SKIPPED
[INFO] WSO2 Carbon - Carbon UI Feature ... SKIPPED
[INFO] WSO2 Carbon - Carbon Runtime Feature .. SKIPPED
[INFO] WSO2 Carbon - Carbon Feature .. SKIPPED
[INFO]

[INFO] BUILD FAILURE
[INFO]

[INFO] Total time: 1.209s
[INFO] Finished at: Wed Aug 21 16:28:55 IST 2013
[INFO] Final Memory: 6M/490M
[INFO]

[ERROR] Plugin org.wso2.maven:carbon-p2-plugin:1.5.2-SNAPSHOT or one of its
dependencies could not btrunke resolved: Failed to read artifact descriptor
for org.wso2.maven:carbon-p2-plugin:jar:1.5.2-SNAPSHOT: Failure to find
org.wso2.maven:carbon-p2-plugin:pom:1.5.2-SNAPSHOT in
http://dist.wso2.org/maven2 was cached in the local repository, resolution
will not be reattempted until the update interval of
wso2-maven2-repository-1 has elapsed or updates are forced - [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions,
please read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException


Thanks

-- 
*Thilini Ishaka
Senior Software Engineer**
WSO2 Inc. http://wso2.com*
*bolg: thiliniishaka.blogspot.com*
*linkedin: http://lk.linkedin.com/in/thiliniishaka*
*twitter: https://twitter.com/#!/ThiliniIsh*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] - Cannot access the Management console in worker/manager separated setup with latest packs

2013-08-21 Thread Kasun Indrasiri
This is a regression of r182203 on pt-transport and fix is reverted. We
will provide a patch with the reverted change.


On Wed, Aug 21, 2013 at 4:47 PM, Evanthika Amarasiri evanth...@wso2.comwrote:

 Hi All,

 In our worker/manager separated setup, we cannot access the management
 console. I see the below exception at ELB side. Used the same configuration
 we used before.


 ***
 [2013-08-21 16:15:39,133]  WARN - PassThroughHttpSSLListener System may be
 unstable: HTTPS ListeningIOReactor encountered a runtime exception : Null
 action
 java.lang.IllegalArgumentException: Null action
 at
 java.nio.charset.CharsetDecoder.onMalformedInput(CharsetDecoder.java:368)
  at
 org.apache.http.impl.nio.NHttpConnectionBase.init(NHttpConnectionBase.java:162)
  at
 org.apache.http.impl.nio.DefaultNHttpServerConnection.init(DefaultNHttpServerConnection.java:100)
  at
 org.apache.synapse.transport.http.conn.LoggingNHttpServerConnection.init(LoggingNHttpServerConnection.java:62)
  at
 org.apache.synapse.transport.http.conn.LoggingUtils.createServerConnection(LoggingUtils.java:73)
  at
 org.apache.synapse.transport.http.conn.ServerConnFactory.createConnection(ServerConnFactory.java:90)
  at
 org.apache.synapse.transport.passthru.ServerIODispatch.createConnection(ServerIODispatch.java:58)
  at
 org.apache.synapse.transport.passthru.ServerIODispatch.createConnection(ServerIODispatch.java:39)
  at
 org.apache.http.impl.nio.reactor.AbstractIODispatch.connected(AbstractIODispatch.java:71)
 at
 org.apache.http.impl.nio.reactor.BaseIOReactor.sessionCreated(BaseIOReactor.java:240)
  at
 org.apache.http.impl.nio.reactor.AbstractIOReactor.processNewChannels(AbstractIOReactor.java:426)
  at
 org.apache.http.impl.nio.reactor.AbstractIOReactor.execute(AbstractIOReactor.java:288)
  at
 org.apache.http.impl.nio.reactor.BaseIOReactor.execute(BaseIOReactor.java:105)
 at
 org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor$Worker.run(AbstractMultiworkerIOReactor.java:584)
  at java.lang.Thread.run(Thread.java:722)

 Regards,
 Evanthika Amarasiri
 Senior Technical Lead - Quality Assurance
 Mobile: +94773125935
 *
 *
 wso2.com Lean Enterprise Middleware

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




-- 
Kasun Indrasiri
Software Architect
WSO2, Inc.; http://wso2.com
lean.enterprise.middleware

cell: +94 71 536 4128
Blog : http://kasunpanorama.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Build Failure in Trunk - Platform/components/mediation/mediation-library/connectors

2013-08-21 Thread Hasitha Aravinda
Getting this. Please have a look.

[INFO]

[INFO]

[INFO] Building WSO2 Carbon - Cloud Connector For Google Spreadsheet
4.2.0-SNAPSHOT
[INFO]

[WARNING] The POM for com.google.gdata:gdata-core:jar:1.0.0.wso2v1 is
missing, no dependency information available
[WARNING] The POM for com.google.gdata:gdata-spreadsheet:jar:3.0.0.wso2v1
is missing, no dependency information available
[WARNING] The POM for com.google.gdata:gdata-docs:jar:3.0.0.wso2v1 is
missing, no dependency information available
[WARNING] The POM for com.google.gdata:gdata-media:jar:1.0.0.wso2v1 is
missing, no dependency information available
[WARNING] The POM for com.google.gdata:gdata-client:jar:1.0.0.wso2v1 is
missing, no dependency information available
[INFO]

[INFO] Reactor Summary:
[INFO]
[INFO] WSO2 Carbon Components - Aggregator Module  SUCCESS [0.137s]
..
..
[INFO] WSO2 Carbon - Cloud Connector For Twilio .. SUCCESS [10.506s]
[INFO] WSO2 Carbon - Cloud Connector For Google Spreadsheet  FAILURE
[3.326s]
[INFO] WSO2 Carbon - Target Mediator Aggregator Module ... SKIPPED
[INFO] WSO2 Carbon - Target Mediator UI .. SKIPPED
..
[INFO]

[INFO] BUILD FAILURE
[INFO]

[INFO] Total time: 16:01.812s
[INFO] Finished at: Wed Aug 21 16:47:54 IST 2013
[INFO] Final Memory: 1518M/1937M
[INFO]

[ERROR] Failed to execute goal on project
org.wso2.carbon.connector.googlespreadsheet: Could not resolve dependencies
for project
org.wso2.carbon.connector.googlespreadsheet:org.wso2.carbon.connector.googlespreadsheet:bundle:4.2.0-SNAPSHOT:
The following artifacts could not be resolved:
com.google.gdata:gdata-core:jar:1.0.0.wso2v1,
com.google.gdata:gdata-spreadsheet:jar:3.0.0.wso2v1,
com.google.gdata:gdata-docs:jar:3.0.0.wso2v1,
com.google.gdata:gdata-media:jar:1.0.0.wso2v1,
com.google.gdata:gdata-client:jar:1.0.0.wso2v1: Failure to find
com.google.gdata:gdata-core:jar:1.0.0.wso2v1 in
http://repo.maven.apache.org/maven2 was cached in the local repository,
resolution will not be reattempted until the update interval of central has
elapsed or updates are forced - [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions,
please read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the
command



Thanks,
hasitha.

-- 
Hasitha Aravinda,
Software Engineer,
WSO2 Inc.
Email: hasi...@wso2.com
Mobile: +94 71 8 210 200
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Build Failure in Trunk - Platform/components/mediation/mediation-library/connectors

2013-08-21 Thread Chanaka Fernando
Hi Hasitha,

Try now. I have removed the component until we add the dependencies to
nexus repository.

Thanks,
Chanaka


On Wed, Aug 21, 2013 at 5:10 PM, Hasitha Aravinda hasi...@wso2.com wrote:

 Getting this. Please have a look.

 [INFO]

 [INFO]
 
 [INFO] Building WSO2 Carbon - Cloud Connector For Google Spreadsheet
 4.2.0-SNAPSHOT
 [INFO]
 
 [WARNING] The POM for com.google.gdata:gdata-core:jar:1.0.0.wso2v1 is
 missing, no dependency information available
 [WARNING] The POM for com.google.gdata:gdata-spreadsheet:jar:3.0.0.wso2v1
 is missing, no dependency information available
 [WARNING] The POM for com.google.gdata:gdata-docs:jar:3.0.0.wso2v1 is
 missing, no dependency information available
 [WARNING] The POM for com.google.gdata:gdata-media:jar:1.0.0.wso2v1 is
 missing, no dependency information available
 [WARNING] The POM for com.google.gdata:gdata-client:jar:1.0.0.wso2v1 is
 missing, no dependency information available
 [INFO]
 
 [INFO] Reactor Summary:
 [INFO]
 [INFO] WSO2 Carbon Components - Aggregator Module  SUCCESS [0.137s]
 ..
 ..
 [INFO] WSO2 Carbon - Cloud Connector For Twilio .. SUCCESS
 [10.506s]
 [INFO] WSO2 Carbon - Cloud Connector For Google Spreadsheet  FAILURE
 [3.326s]
 [INFO] WSO2 Carbon - Target Mediator Aggregator Module ... SKIPPED
 [INFO] WSO2 Carbon - Target Mediator UI .. SKIPPED
 ..
 [INFO]
 
 [INFO] BUILD FAILURE
 [INFO]
 
 [INFO] Total time: 16:01.812s
 [INFO] Finished at: Wed Aug 21 16:47:54 IST 2013
 [INFO] Final Memory: 1518M/1937M
 [INFO]
 
 [ERROR] Failed to execute goal on project
 org.wso2.carbon.connector.googlespreadsheet: Could not resolve dependencies
 for project
 org.wso2.carbon.connector.googlespreadsheet:org.wso2.carbon.connector.googlespreadsheet:bundle:4.2.0-SNAPSHOT:
 The following artifacts could not be resolved:
 com.google.gdata:gdata-core:jar:1.0.0.wso2v1,
 com.google.gdata:gdata-spreadsheet:jar:3.0.0.wso2v1,
 com.google.gdata:gdata-docs:jar:3.0.0.wso2v1,
 com.google.gdata:gdata-media:jar:1.0.0.wso2v1,
 com.google.gdata:gdata-client:jar:1.0.0.wso2v1: Failure to find
 com.google.gdata:gdata-core:jar:1.0.0.wso2v1 in
 http://repo.maven.apache.org/maven2 was cached in the local repository,
 resolution will not be reattempted until the update interval of central has
 elapsed or updates are forced - [Help 1]
 [ERROR]
 [ERROR] To see the full stack trace of the errors, re-run Maven with the
 -e switch.
 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
 [ERROR]
 [ERROR] For more information about the errors and possible solutions,
 please read the following articles:
 [ERROR] [Help 1]
 http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
 [ERROR]
 [ERROR] After correcting the problems, you can resume the build with the
 command



 Thanks,
 hasitha.

 --
 Hasitha Aravinda,
 Software Engineer,
 WSO2 Inc.
 Email: hasi...@wso2.com
 Mobile: +94 71 8 210 200


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




-- 
--
Chanaka Fernando
Technical Lead
WSO2, Inc.; http://wso2.com
lean.enterprise.middleware

mobile: +94 773337238
Blog : http:// http://goog_1228282810soatutorials.blogspot.com
LinkedIn:http://www.linkedin.com/pub/chanaka-fernando/19/a20/5b0
Twitter:https://twitter.com/chanakaudaya
Wordpress:http://chanakaudaya.wordpress.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Build Failure in Trunk - Platform/components/mediation/mediation-library/connectors

2013-08-21 Thread Hasitha Aravinda
Thanks Chanaka.

Hasitha.


On Wed, Aug 21, 2013 at 5:16 PM, Chanaka Fernando chana...@wso2.com wrote:

 Hi Hasitha,

 Try now. I have removed the component until we add the dependencies to
 nexus repository.

 Thanks,
 Chanaka


 On Wed, Aug 21, 2013 at 5:10 PM, Hasitha Aravinda hasi...@wso2.comwrote:

 Getting this. Please have a look.

 [INFO]

 [INFO]
 
 [INFO] Building WSO2 Carbon - Cloud Connector For Google Spreadsheet
 4.2.0-SNAPSHOT
 [INFO]
 
 [WARNING] The POM for com.google.gdata:gdata-core:jar:1.0.0.wso2v1 is
 missing, no dependency information available
 [WARNING] The POM for com.google.gdata:gdata-spreadsheet:jar:3.0.0.wso2v1
 is missing, no dependency information available
 [WARNING] The POM for com.google.gdata:gdata-docs:jar:3.0.0.wso2v1 is
 missing, no dependency information available
 [WARNING] The POM for com.google.gdata:gdata-media:jar:1.0.0.wso2v1 is
 missing, no dependency information available
 [WARNING] The POM for com.google.gdata:gdata-client:jar:1.0.0.wso2v1 is
 missing, no dependency information available
 [INFO]
 
 [INFO] Reactor Summary:
 [INFO]
 [INFO] WSO2 Carbon Components - Aggregator Module  SUCCESS
 [0.137s]
 ..
 ..
 [INFO] WSO2 Carbon - Cloud Connector For Twilio .. SUCCESS
 [10.506s]
 [INFO] WSO2 Carbon - Cloud Connector For Google Spreadsheet  FAILURE
 [3.326s]
 [INFO] WSO2 Carbon - Target Mediator Aggregator Module ... SKIPPED
 [INFO] WSO2 Carbon - Target Mediator UI .. SKIPPED
 ..
 [INFO]
 
 [INFO] BUILD FAILURE
 [INFO]
 
 [INFO] Total time: 16:01.812s
 [INFO] Finished at: Wed Aug 21 16:47:54 IST 2013
 [INFO] Final Memory: 1518M/1937M
 [INFO]
 
 [ERROR] Failed to execute goal on project
 org.wso2.carbon.connector.googlespreadsheet: Could not resolve dependencies
 for project
 org.wso2.carbon.connector.googlespreadsheet:org.wso2.carbon.connector.googlespreadsheet:bundle:4.2.0-SNAPSHOT:
 The following artifacts could not be resolved:
 com.google.gdata:gdata-core:jar:1.0.0.wso2v1,
 com.google.gdata:gdata-spreadsheet:jar:3.0.0.wso2v1,
 com.google.gdata:gdata-docs:jar:3.0.0.wso2v1,
 com.google.gdata:gdata-media:jar:1.0.0.wso2v1,
 com.google.gdata:gdata-client:jar:1.0.0.wso2v1: Failure to find
 com.google.gdata:gdata-core:jar:1.0.0.wso2v1 in
 http://repo.maven.apache.org/maven2 was cached in the local repository,
 resolution will not be reattempted until the update interval of central has
 elapsed or updates are forced - [Help 1]
 [ERROR]
 [ERROR] To see the full stack trace of the errors, re-run Maven with the
 -e switch.
 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
 [ERROR]
 [ERROR] For more information about the errors and possible solutions,
 please read the following articles:
 [ERROR] [Help 1]
 http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
 [ERROR]
 [ERROR] After correcting the problems, you can resume the build with the
 command



 Thanks,
 hasitha.

 --
 Hasitha Aravinda,
 Software Engineer,
 WSO2 Inc.
 Email: hasi...@wso2.com
 Mobile: +94 71 8 210 200


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




 --
 --
 Chanaka Fernando
 Technical Lead
 WSO2, Inc.; http://wso2.com
 lean.enterprise.middleware

 mobile: +94 773337238
 Blog : http:// http://goog_1228282810soatutorials.blogspot.com
 LinkedIn:http://www.linkedin.com/pub/chanaka-fernando/19/a20/5b0
 Twitter:https://twitter.com/chanakaudaya
 Wordpress:http://chanakaudaya.wordpress.com






-- 
Hasitha Aravinda,
Software Engineer,
WSO2 Inc.
Email: hasi...@wso2.com
Mobile: +94 71 8 210 200
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] How to get the Hazelcast Instance in carbon

2013-08-21 Thread Sriskandarajah Suhothayan
Hi,

For $Subject can you use
Hazelcast.getHazelcastInstanceByName() ?


Thanks
Suho

-- 
*S. Suhothayan
*
Associate Technical Lead,
 *WSO2 Inc. *http://wso2.com *
 http://wso2.com/*
lean . enterprise . middleware

*cell: (+94) 779 756 757 | blog: http://suhothayan.blogspot.com/
twitter: http://twitter.com/suhothayan | linked-in:
http://lk.linkedin.com/in/suhothayan*
*
*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] - Cannot access the Management console in worker/manager separated setup with latest packs

2013-08-21 Thread Evanthika Amarasiri
The patch resolved the issue. But now, when accessing the management
console, I see the below exception. We saw this in the previous set of
packs as well.

TID: [0] [ELB] [2013-08-21 18:01:16,219] ERROR
{org.apache.axis2.transport.base.threads.NativeWorkerPool} -  Uncaught
exception {org.apache.axis2.transport.base.threads.NativeWorkerPool}
java.lang.NullPointerException: Tenant domain has not been set in
CarbonContext
at
org.wso2.carbon.caching.impl.CacheManagerFactoryImpl.getCacheManager(CacheManagerFactoryImpl.java:79)
 at
org.wso2.carbon.security.pox.POXSecurityHandler.getPOXCache(POXSecurityHandler.java:329)
 at
org.wso2.carbon.security.pox.POXSecurityHandler.invoke(POXSecurityHandler.java:123)
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.synapse.transport.passthru.ServerWorker.processNonEntityEnclosingRESTHandler(ServerWorker.java:337)
 at
org.apache.synapse.transport.passthru.ServerWorker.run(ServerWorker.java:169)
 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)


Evanthika Amarasiri
Senior Technical Lead - Quality Assurance
Mobile: +94773125935
*
*
wso2.com Lean Enterprise Middleware


On Wed, Aug 21, 2013 at 5:03 PM, Isuru Udana isu...@wso2.com wrote:

 Please find the patch from the attachment.




 On Wed, Aug 21, 2013 at 4:58 PM, Kasun Indrasiri ka...@wso2.com wrote:

 This is a regression of r182203 on pt-transport and fix is reverted. We
 will provide a patch with the reverted change.


 On Wed, Aug 21, 2013 at 4:47 PM, Evanthika Amarasiri 
 evanth...@wso2.comwrote:

  Hi All,

 In our worker/manager separated setup, we cannot access the management
 console. I see the below exception at ELB side. Used the same configuration
 we used before.


 ***
 [2013-08-21 16:15:39,133]  WARN - PassThroughHttpSSLListener System may
 be unstable: HTTPS ListeningIOReactor encountered a runtime exception :
 Null action
 java.lang.IllegalArgumentException: Null action
 at
 java.nio.charset.CharsetDecoder.onMalformedInput(CharsetDecoder.java:368)
  at
 org.apache.http.impl.nio.NHttpConnectionBase.init(NHttpConnectionBase.java:162)
  at
 org.apache.http.impl.nio.DefaultNHttpServerConnection.init(DefaultNHttpServerConnection.java:100)
  at
 org.apache.synapse.transport.http.conn.LoggingNHttpServerConnection.init(LoggingNHttpServerConnection.java:62)
  at
 org.apache.synapse.transport.http.conn.LoggingUtils.createServerConnection(LoggingUtils.java:73)
  at
 org.apache.synapse.transport.http.conn.ServerConnFactory.createConnection(ServerConnFactory.java:90)
  at
 org.apache.synapse.transport.passthru.ServerIODispatch.createConnection(ServerIODispatch.java:58)
  at
 org.apache.synapse.transport.passthru.ServerIODispatch.createConnection(ServerIODispatch.java:39)
  at
 org.apache.http.impl.nio.reactor.AbstractIODispatch.connected(AbstractIODispatch.java:71)
 at
 org.apache.http.impl.nio.reactor.BaseIOReactor.sessionCreated(BaseIOReactor.java:240)
  at
 org.apache.http.impl.nio.reactor.AbstractIOReactor.processNewChannels(AbstractIOReactor.java:426)
  at
 org.apache.http.impl.nio.reactor.AbstractIOReactor.execute(AbstractIOReactor.java:288)
  at
 org.apache.http.impl.nio.reactor.BaseIOReactor.execute(BaseIOReactor.java:105)
 at
 org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor$Worker.run(AbstractMultiworkerIOReactor.java:584)
  at java.lang.Thread.run(Thread.java:722)

 Regards,
 Evanthika Amarasiri
 Senior Technical Lead - Quality Assurance
 Mobile: +94773125935
 *
 *
 wso2.com Lean Enterprise Middleware

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




 --
 Kasun Indrasiri
 Software Architect
 WSO2, Inc.; http://wso2.com
 lean.enterprise.middleware

 cell: +94 71 536 4128
 Blog : http://kasunpanorama.blogspot.com/

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




 --
 *Isuru Udana*
 *
  *
 Senior *
 Software Engineer
 *
 WSO2 Inc.; http://wso2.com
 email: isu...@wso2.com cell: +94 77 3791887
 blog: http://mytecheye.blogspot.com/
 twitter: http://twitter.com/isudana

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


Re: [Dev] How to get the Hazelcast Instance in carbon

2013-08-21 Thread Afkham Azeez
There is a HazelcastInstance OSGi service. Look it up from the OSGi service
registry.


On Wed, Aug 21, 2013 at 5:40 PM, Sriskandarajah Suhothayan s...@wso2.comwrote:


 Hi,

 For $Subject can you use
 Hazelcast.getHazelcastInstanceByName() ?


 Thanks
 Suho

 --
 *S. Suhothayan
 *
 Associate Technical Lead,
  *WSO2 Inc. *http://wso2.com *
  http://wso2.com/*
 lean . enterprise . middleware

 *cell: (+94) 779 756 757 | blog: http://suhothayan.blogspot.com/
 twitter: http://twitter.com/suhothayan | linked-in:
 http://lk.linkedin.com/in/suhothayan*
 *
 *




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


[Dev] Compilation failures in 4.2.0 branch - org.wso2.carbon.analytics.hive

2013-08-21 Thread Pulasthi Supun
Hi,

I am getting compilation failures in org.wso2.carbon.analytics.hive.

[INFO] BUILD FAILURE
[INFO]

[INFO] Total time: 25.524s
[INFO] Finished at: Wed Aug 21 18:32:35 IST 2013
[INFO] Final Memory: 257M/1061M
[INFO]

[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile
(default-compile) on project org.wso2.carbon.analytics.hive: Compilation
failure: Compilation failure:
[ERROR]
/home/pulasthi/work/wso2/carbon/4.2.0/platform/components/analytics/org.wso2.carbon.analytics.hive/4.2.0/src/main/java/org/wso2/carbon/analytics/hive/multitenancy/HiveRSSMetastoreManager.java:[21,47]
cannot find symbol
[ERROR] symbol  : class DatabaseMetaData
[ERROR] location: package org.wso2.carbon.rssmanager.ui.stub.types
[ERROR]
/home/pulasthi/work/wso2/carbon/4.2.0/platform/components/analytics/org.wso2.carbon.analytics.hive/4.2.0/src/main/java/org/wso2/carbon/analytics/hive/multitenancy/HiveRSSMetastoreManager.java:[54,39]
cannot find symbol
[ERROR] symbol  : class DatabaseMetaData
[ERROR] location: class
org.wso2.carbon.analytics.hive.multitenancy.HiveRSSMetastoreManager
[ERROR]
/home/pulasthi/work/wso2/carbon/4.2.0/platform/components/analytics/org.wso2.carbon.analytics.hive/4.2.0/src/main/java/org/wso2/carbon/analytics/hive/multitenancy/HiveRSSMetastoreManager.java:[228,12]
cannot find symbol
[ERROR] symbol  : class DatabaseMetaData
[ERROR] location: class
org.wso2.carbon.analytics.hive.multitenancy.HiveRSSMetastoreManager
[ERROR]
/home/pulasthi/work/wso2/carbon/4.2.0/platform/components/analytics/org.wso2.carbon.analytics.hive/4.2.0/src/main/java/org/wso2/carbon/analytics/hive/multitenancy/HiveRSSMetastoreManager.java:[260,12]
cannot find symbol
[ERROR] symbol  : class DatabaseMetaData
[ERROR] location: class
org.wso2.carbon.analytics.hive.multitenancy.HiveRSSMetastoreManager
[ERROR]
/home/pulasthi/work/wso2/carbon/4.2.0/platform/components/analytics/org.wso2.carbon.analytics.hive/4.2.0/src/main/java/org/wso2/carbon/analytics/hive/multitenancy/HiveRSSMetastoreManager.java:[55,43]
cannot find symbol
[ERROR] symbol  : class DatabaseMetaData
[ERROR] location: class
org.wso2.carbon.analytics.hive.multitenancy.HiveRSSMetastoreManager
[ERROR]
/home/pulasthi/work/wso2/carbon/4.2.0/platform/components/analytics/org.wso2.carbon.analytics.hive/4.2.0/src/main/java/org/wso2/carbon/analytics/hive/multitenancy/HiveRSSMetastoreManager.java:[213,24]
cannot find symbol
[ERROR] symbol  : class DatabaseMetaData
[ERROR] location: class
org.wso2.carbon.analytics.hive.multitenancy.HiveRSSMetastoreManager
[ERROR]
/home/pulasthi/work/wso2/carbon/4.2.0/platform/components/analytics/org.wso2.carbon.analytics.hive/4.2.0/src/main/java/org/wso2/carbon/analytics/hive/multitenancy/HiveRSSMetastoreManager.java:[230,29]
cannot find symbol
[ERROR] symbol  : method isInitializedTenant(java.lang.String)
[ERROR] location: class org.wso2.carbon.rssmanager.ui.stub.RSSAdminStub
[ERROR]
/home/pulasthi/work/wso2/carbon/4.2.0/platform/components/analytics/org.wso2.carbon.analytics.hive/4.2.0/src/main/java/org/wso2/carbon/analytics/hive/multitenancy/HiveRSSMetastoreManager.java:[232,28]
cannot find symbol
[ERROR] symbol  : method initializeTenant(java.lang.String)
[ERROR] location: class org.wso2.carbon.rssmanager.ui.stub.RSSAdminStub
[ERROR]
/home/pulasthi/work/wso2/carbon/4.2.0/platform/components/analytics/org.wso2.carbon.analytics.hive/4.2.0/src/main/java/org/wso2/carbon/analytics/hive/multitenancy/HiveRSSMetastoreManager.java:[236,12]
cannot find symbol
[ERROR] symbol  : class DatabaseMetaData
[ERROR] location: class
org.wso2.carbon.analytics.hive.multitenancy.HiveRSSMetastoreManager
[ERROR]
/home/pulasthi/work/wso2/carbon/4.2.0/platform/components/analytics/org.wso2.carbon.analytics.hive/4.2.0/src/main/java/org/wso2/carbon/analytics/hive/multitenancy/HiveRSSMetastoreManager.java:[265,8]
cannot find symbol
[ERROR] symbol  : class DatabaseMetaData
[ERROR] location: class
org.wso2.carbon.analytics.hive.multitenancy.HiveRSSMetastoreManager
[ERROR]
/home/pulasthi/work/wso2/carbon/4.2.0/platform/components/analytics/org.wso2.carbon.analytics.hive/4.2.0/src/main/java/org/wso2/carbon/analytics/hive/multitenancy/HiveRSSMetastoreManager.java:[267,17]
cannot find symbol
[ERROR] symbol  : class DatabaseMetaData
[ERROR] location: class
org.wso2.carbon.analytics.hive.multitenancy.HiveRSSMetastoreManager
[ERROR]
/home/pulasthi/work/wso2/carbon/4.2.0/platform/components/analytics/org.wso2.carbon.analytics.hive/4.2.0/src/main/java/org/wso2/carbon/analytics/hive/multitenancy/HiveRSSMetastoreManager.java:[280,7]
cannot find symbol
[ERROR] symbol  : class DatabaseMetaData
[ERROR] location: class
org.wso2.carbon.analytics.hive.multitenancy.HiveRSSMetastoreManager
[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 

Re: [Dev] Compilation failures in 4.2.0 branch - org.wso2.carbon.analytics.hive

2013-08-21 Thread Bhathiya Jayasekara
This is fixed.

Thanks,
Bhathiya


On Wed, Aug 21, 2013 at 6:35 PM, Pulasthi Supun pulas...@wso2.com wrote:

 Hi,

 I am getting compilation failures in org.wso2.carbon.analytics.hive.

 [INFO] BUILD FAILURE
 [INFO]
 
 [INFO] Total time: 25.524s
 [INFO] Finished at: Wed Aug 21 18:32:35 IST 2013
 [INFO] Final Memory: 257M/1061M
 [INFO]
 
 [ERROR] Failed to execute goal
 org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile
 (default-compile) on project org.wso2.carbon.analytics.hive: Compilation
 failure: Compilation failure:
 [ERROR]
 /home/pulasthi/work/wso2/carbon/4.2.0/platform/components/analytics/org.wso2.carbon.analytics.hive/4.2.0/src/main/java/org/wso2/carbon/analytics/hive/multitenancy/HiveRSSMetastoreManager.java:[21,47]
 cannot find symbol
 [ERROR] symbol  : class DatabaseMetaData
 [ERROR] location: package org.wso2.carbon.rssmanager.ui.stub.types
 [ERROR]
 /home/pulasthi/work/wso2/carbon/4.2.0/platform/components/analytics/org.wso2.carbon.analytics.hive/4.2.0/src/main/java/org/wso2/carbon/analytics/hive/multitenancy/HiveRSSMetastoreManager.java:[54,39]
 cannot find symbol
 [ERROR] symbol  : class DatabaseMetaData
 [ERROR] location: class
 org.wso2.carbon.analytics.hive.multitenancy.HiveRSSMetastoreManager
 [ERROR]
 /home/pulasthi/work/wso2/carbon/4.2.0/platform/components/analytics/org.wso2.carbon.analytics.hive/4.2.0/src/main/java/org/wso2/carbon/analytics/hive/multitenancy/HiveRSSMetastoreManager.java:[228,12]
 cannot find symbol
 [ERROR] symbol  : class DatabaseMetaData
 [ERROR] location: class
 org.wso2.carbon.analytics.hive.multitenancy.HiveRSSMetastoreManager
 [ERROR]
 /home/pulasthi/work/wso2/carbon/4.2.0/platform/components/analytics/org.wso2.carbon.analytics.hive/4.2.0/src/main/java/org/wso2/carbon/analytics/hive/multitenancy/HiveRSSMetastoreManager.java:[260,12]
 cannot find symbol
 [ERROR] symbol  : class DatabaseMetaData
 [ERROR] location: class
 org.wso2.carbon.analytics.hive.multitenancy.HiveRSSMetastoreManager
 [ERROR]
 /home/pulasthi/work/wso2/carbon/4.2.0/platform/components/analytics/org.wso2.carbon.analytics.hive/4.2.0/src/main/java/org/wso2/carbon/analytics/hive/multitenancy/HiveRSSMetastoreManager.java:[55,43]
 cannot find symbol
 [ERROR] symbol  : class DatabaseMetaData
 [ERROR] location: class
 org.wso2.carbon.analytics.hive.multitenancy.HiveRSSMetastoreManager
 [ERROR]
 /home/pulasthi/work/wso2/carbon/4.2.0/platform/components/analytics/org.wso2.carbon.analytics.hive/4.2.0/src/main/java/org/wso2/carbon/analytics/hive/multitenancy/HiveRSSMetastoreManager.java:[213,24]
 cannot find symbol
 [ERROR] symbol  : class DatabaseMetaData
 [ERROR] location: class
 org.wso2.carbon.analytics.hive.multitenancy.HiveRSSMetastoreManager
 [ERROR]
 /home/pulasthi/work/wso2/carbon/4.2.0/platform/components/analytics/org.wso2.carbon.analytics.hive/4.2.0/src/main/java/org/wso2/carbon/analytics/hive/multitenancy/HiveRSSMetastoreManager.java:[230,29]
 cannot find symbol
 [ERROR] symbol  : method isInitializedTenant(java.lang.String)
 [ERROR] location: class org.wso2.carbon.rssmanager.ui.stub.RSSAdminStub
 [ERROR]
 /home/pulasthi/work/wso2/carbon/4.2.0/platform/components/analytics/org.wso2.carbon.analytics.hive/4.2.0/src/main/java/org/wso2/carbon/analytics/hive/multitenancy/HiveRSSMetastoreManager.java:[232,28]
 cannot find symbol
 [ERROR] symbol  : method initializeTenant(java.lang.String)
 [ERROR] location: class org.wso2.carbon.rssmanager.ui.stub.RSSAdminStub
 [ERROR]
 /home/pulasthi/work/wso2/carbon/4.2.0/platform/components/analytics/org.wso2.carbon.analytics.hive/4.2.0/src/main/java/org/wso2/carbon/analytics/hive/multitenancy/HiveRSSMetastoreManager.java:[236,12]
 cannot find symbol
 [ERROR] symbol  : class DatabaseMetaData
 [ERROR] location: class
 org.wso2.carbon.analytics.hive.multitenancy.HiveRSSMetastoreManager
 [ERROR]
 /home/pulasthi/work/wso2/carbon/4.2.0/platform/components/analytics/org.wso2.carbon.analytics.hive/4.2.0/src/main/java/org/wso2/carbon/analytics/hive/multitenancy/HiveRSSMetastoreManager.java:[265,8]
 cannot find symbol
 [ERROR] symbol  : class DatabaseMetaData
 [ERROR] location: class
 org.wso2.carbon.analytics.hive.multitenancy.HiveRSSMetastoreManager
 [ERROR]
 /home/pulasthi/work/wso2/carbon/4.2.0/platform/components/analytics/org.wso2.carbon.analytics.hive/4.2.0/src/main/java/org/wso2/carbon/analytics/hive/multitenancy/HiveRSSMetastoreManager.java:[267,17]
 cannot find symbol
 [ERROR] symbol  : class DatabaseMetaData
 [ERROR] location: class
 org.wso2.carbon.analytics.hive.multitenancy.HiveRSSMetastoreManager
 [ERROR]
 /home/pulasthi/work/wso2/carbon/4.2.0/platform/components/analytics/org.wso2.carbon.analytics.hive/4.2.0/src/main/java/org/wso2/carbon/analytics/hive/multitenancy/HiveRSSMetastoreManager.java:[280,7]
 cannot find symbol
 [ERROR] symbol  : class DatabaseMetaData
 [ERROR] location: class
 

[Dev] Build Faliure in trunk/components

2013-08-21 Thread Malintha Adikari
Hi,

I am getting build failure  in org.jaggeryjs.hostobjects.registry.

Building Jaggery components parent 0.9.0.ALPHA4.wso2v1-SNAPSHOT
[INFO]

[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (auto-clean) @ components ---
[INFO]
[INFO] --- maven-install-plugin:2.3.1:install (default-install) @
components ---
[INFO] Installing
/home/malintha/carbon/platform/trunk/components/jaggery/pom.xml to
/home/malintha/.m2/repository/org/jaggeryjs/components/0.9.0.ALPHA4.wso2v1-SNAPSHOT/components-0.9.0.ALPHA4.wso2v1-SNAPSHOT.pom
[INFO]

[INFO]

[INFO] Building WSO2 Carbon - Script engine Aggregator Module
0.9.0.ALPHA4.wso2v1-SNAPSHOT
[INFO]

[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (auto-clean) @ script-engine ---
[INFO]
[INFO] --- maven-install-plugin:2.3.1:install (default-install) @
script-engine ---
[INFO] Installing
/home/malintha/carbon/platform/trunk/components/jaggery/script-engine/pom.xml
to
/home/malintha/.m2/repository/org/jaggeryjs/script-engine/0.9.0.ALPHA4.wso2v1-SNAPSHOT/script-engine-0.9.0.ALPHA4.wso2v1-SNAPSHOT.pom
[INFO]

[INFO]

[INFO] Building Rhino JavaScript Engine 0.9.0.ALPHA4.wso2v1-SNAPSHOT
[INFO]

[WARNING] The POM for rhino.wso2:js:jar:1.7.0.R4.wso2v1 is missing, no
dependency information available
[INFO]



[ERROR] Failed to execute goal on project
org.jaggeryjs.hostobjects.registry: Could not resolve dependencies for
project
org.jaggeryjs:org.jaggeryjs.hostobjects.registry:bundle:0.9.0.ALPHA4.wso2v1-SNAPSHOT:
The following artifacts could not be resolved:
org.wso2.carbon:org.wso2.carbon.registry.search:jar:4.2.0,
org.wso2.carbon:org.wso2.carbon.registry.indexing:jar:4.2.0,
org.wso2.carbon:org.wso2.carbon.registry.ws.client:jar:4.2.0: Failure to
find org.wso2.carbon:org.wso2.carbon.registry.search:jar:4.2.0 in
http://dist.wso2.org/maven2/ was cached in the local repository, resolution
will not be reattempted until the update interval of wso2-maven2-repository
has elapsed or updates are forced - [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions,
please read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the
command
[ERROR]   mvn goals -rf :org.jaggeryjs.hostobjects.registry

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


Re: [Dev] Compilation failures in 4.2.0 branch - org.wso2.carbon.analytics.hive

2013-08-21 Thread Pulasthi Supun
Hi,

Thanks latest changes fixed this :)

Regards,
Pulasthi


On Wed, Aug 21, 2013 at 6:43 PM, Bhathiya Jayasekara bhath...@wso2.comwrote:

 This is fixed.

 Thanks,
 Bhathiya


 On Wed, Aug 21, 2013 at 6:35 PM, Pulasthi Supun pulas...@wso2.com wrote:

 Hi,

 I am getting compilation failures in org.wso2.carbon.analytics.hive.

 [INFO] BUILD FAILURE
 [INFO]
 
 [INFO] Total time: 25.524s
 [INFO] Finished at: Wed Aug 21 18:32:35 IST 2013
 [INFO] Final Memory: 257M/1061M
 [INFO]
 
 [ERROR] Failed to execute goal
 org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile
 (default-compile) on project org.wso2.carbon.analytics.hive: Compilation
 failure: Compilation failure:
 [ERROR]
 /home/pulasthi/work/wso2/carbon/4.2.0/platform/components/analytics/org.wso2.carbon.analytics.hive/4.2.0/src/main/java/org/wso2/carbon/analytics/hive/multitenancy/HiveRSSMetastoreManager.java:[21,47]
 cannot find symbol
 [ERROR] symbol  : class DatabaseMetaData
 [ERROR] location: package org.wso2.carbon.rssmanager.ui.stub.types
 [ERROR]
 /home/pulasthi/work/wso2/carbon/4.2.0/platform/components/analytics/org.wso2.carbon.analytics.hive/4.2.0/src/main/java/org/wso2/carbon/analytics/hive/multitenancy/HiveRSSMetastoreManager.java:[54,39]
 cannot find symbol
 [ERROR] symbol  : class DatabaseMetaData
 [ERROR] location: class
 org.wso2.carbon.analytics.hive.multitenancy.HiveRSSMetastoreManager
 [ERROR]
 /home/pulasthi/work/wso2/carbon/4.2.0/platform/components/analytics/org.wso2.carbon.analytics.hive/4.2.0/src/main/java/org/wso2/carbon/analytics/hive/multitenancy/HiveRSSMetastoreManager.java:[228,12]
 cannot find symbol
 [ERROR] symbol  : class DatabaseMetaData
 [ERROR] location: class
 org.wso2.carbon.analytics.hive.multitenancy.HiveRSSMetastoreManager
 [ERROR]
 /home/pulasthi/work/wso2/carbon/4.2.0/platform/components/analytics/org.wso2.carbon.analytics.hive/4.2.0/src/main/java/org/wso2/carbon/analytics/hive/multitenancy/HiveRSSMetastoreManager.java:[260,12]
 cannot find symbol
 [ERROR] symbol  : class DatabaseMetaData
 [ERROR] location: class
 org.wso2.carbon.analytics.hive.multitenancy.HiveRSSMetastoreManager
 [ERROR]
 /home/pulasthi/work/wso2/carbon/4.2.0/platform/components/analytics/org.wso2.carbon.analytics.hive/4.2.0/src/main/java/org/wso2/carbon/analytics/hive/multitenancy/HiveRSSMetastoreManager.java:[55,43]
 cannot find symbol
 [ERROR] symbol  : class DatabaseMetaData
 [ERROR] location: class
 org.wso2.carbon.analytics.hive.multitenancy.HiveRSSMetastoreManager
 [ERROR]
 /home/pulasthi/work/wso2/carbon/4.2.0/platform/components/analytics/org.wso2.carbon.analytics.hive/4.2.0/src/main/java/org/wso2/carbon/analytics/hive/multitenancy/HiveRSSMetastoreManager.java:[213,24]
 cannot find symbol
 [ERROR] symbol  : class DatabaseMetaData
 [ERROR] location: class
 org.wso2.carbon.analytics.hive.multitenancy.HiveRSSMetastoreManager
 [ERROR]
 /home/pulasthi/work/wso2/carbon/4.2.0/platform/components/analytics/org.wso2.carbon.analytics.hive/4.2.0/src/main/java/org/wso2/carbon/analytics/hive/multitenancy/HiveRSSMetastoreManager.java:[230,29]
 cannot find symbol
 [ERROR] symbol  : method isInitializedTenant(java.lang.String)
 [ERROR] location: class org.wso2.carbon.rssmanager.ui.stub.RSSAdminStub
 [ERROR]
 /home/pulasthi/work/wso2/carbon/4.2.0/platform/components/analytics/org.wso2.carbon.analytics.hive/4.2.0/src/main/java/org/wso2/carbon/analytics/hive/multitenancy/HiveRSSMetastoreManager.java:[232,28]
 cannot find symbol
 [ERROR] symbol  : method initializeTenant(java.lang.String)
 [ERROR] location: class org.wso2.carbon.rssmanager.ui.stub.RSSAdminStub
 [ERROR]
 /home/pulasthi/work/wso2/carbon/4.2.0/platform/components/analytics/org.wso2.carbon.analytics.hive/4.2.0/src/main/java/org/wso2/carbon/analytics/hive/multitenancy/HiveRSSMetastoreManager.java:[236,12]
 cannot find symbol
 [ERROR] symbol  : class DatabaseMetaData
 [ERROR] location: class
 org.wso2.carbon.analytics.hive.multitenancy.HiveRSSMetastoreManager
 [ERROR]
 /home/pulasthi/work/wso2/carbon/4.2.0/platform/components/analytics/org.wso2.carbon.analytics.hive/4.2.0/src/main/java/org/wso2/carbon/analytics/hive/multitenancy/HiveRSSMetastoreManager.java:[265,8]
 cannot find symbol
 [ERROR] symbol  : class DatabaseMetaData
 [ERROR] location: class
 org.wso2.carbon.analytics.hive.multitenancy.HiveRSSMetastoreManager
 [ERROR]
 /home/pulasthi/work/wso2/carbon/4.2.0/platform/components/analytics/org.wso2.carbon.analytics.hive/4.2.0/src/main/java/org/wso2/carbon/analytics/hive/multitenancy/HiveRSSMetastoreManager.java:[267,17]
 cannot find symbol
 [ERROR] symbol  : class DatabaseMetaData
 [ERROR] location: class
 org.wso2.carbon.analytics.hive.multitenancy.HiveRSSMetastoreManager
 [ERROR]
 

Re: [Dev] Error observed while shutting down G-Reg server when clustering is enabled

2013-08-21 Thread Afkham Azeez
I'm looking into providing a fix for this.


On Fri, Aug 16, 2013 at 4:49 PM, Evanthika Amarasiri evanth...@wso2.comwrote:

 We noticed the below exception when shutting down the G-Reg server when
 clustering is enabled.

 [1] - https://wso2.org/jira/browse/REGISTRY-1749


 [2013-08-16 16:42:27,520]  INFO
 {org.wso2.carbon.core.init.CarbonServerManager} -  Shutting down OSGi
 framework...
 [2013-08-16 16:42:27,710]  WARN
 {org.wso2.carbon.registry.task.internal.RegistryTaskServiceComponent} -
  Unable to clean-up scheduled tasks
 org.wso2.carbon.ntask.common.TaskException: Error in getting all tasks
 from repository
 at
 org.wso2.carbon.ntask.core.impl.RegistryBasedTaskRepository.getAllTasks(RegistryBasedTaskRepository.java:128)
  at
 org.wso2.carbon.ntask.core.impl.standalone.StandaloneTaskManager.getAllTasks(StandaloneTaskManager.java:74)
  at
 org.wso2.carbon.registry.task.internal.RegistryTaskServiceComponent.unsetTaskService(RegistryTaskServiceComponent.java:160)
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
  at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  at java.lang.reflect.Method.invoke(Method.java:601)
 at
 org.eclipse.equinox.internal.ds.model.ComponentReference.unbind(ComponentReference.java:476)
  at
 org.eclipse.equinox.internal.ds.model.ServiceComponentProp.unbindReference(ServiceComponentProp.java:619)
  at
 org.eclipse.equinox.internal.ds.model.ServiceComponentProp.unbind(ServiceComponentProp.java:264)
  at
 org.eclipse.equinox.internal.ds.model.ServiceComponentProp.dispose(ServiceComponentProp.java:390)
  at
 org.eclipse.equinox.internal.ds.model.ServiceComponentProp.dispose(ServiceComponentProp.java:102)
  at
 org.eclipse.equinox.internal.ds.InstanceProcess.disposeInstances(InstanceProcess.java:344)
  at
 org.eclipse.equinox.internal.ds.InstanceProcess.disposeInstances(InstanceProcess.java:306)
 at
 org.eclipse.equinox.internal.ds.Resolver.disposeComponentConfigs(Resolver.java:717)
  at
 org.eclipse.equinox.internal.ds.Resolver.disableComponents(Resolver.java:693)
  at
 org.eclipse.equinox.internal.ds.SCRManager.stoppingBundle(SCRManager.java:554)
 at
 org.eclipse.equinox.internal.ds.SCRManager.bundleChanged(SCRManager.java:233)
  at
 org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:847)
  at
 org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
  at
 org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
  at
 org.eclipse.osgi.framework.internal.core.Framework.publishBundleEventPrivileged(Framework.java:1568)
  at
 org.eclipse.osgi.framework.internal.core.Framework.publishBundleEvent(Framework.java:1504)
 at
 org.eclipse.osgi.framework.internal.core.Framework.publishBundleEvent(Framework.java:1499)
  at
 org.eclipse.osgi.framework.internal.core.BundleHost.stopWorker(BundleHost.java:506)
  at
 org.eclipse.osgi.framework.internal.core.AbstractBundle.suspend(AbstractBundle.java:566)
 at
 org.eclipse.osgi.framework.internal.core.Framework.suspendBundle(Framework.java:1206)
  at
 org.eclipse.osgi.framework.internal.core.StartLevelManager.decFWSL(StartLevelManager.java:592)
  at
 org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:257)
  at
 org.eclipse.osgi.framework.internal.core.StartLevelManager.shutdown(StartLevelManager.java:215)
  at
 org.eclipse.osgi.framework.internal.core.InternalSystemBundle.suspend(InternalSystemBundle.java:284)
  at
 org.eclipse.osgi.framework.internal.core.Framework.shutdown(Framework.java:692)
  at
 org.eclipse.osgi.framework.internal.core.Framework.close(Framework.java:600)
 at
 org.eclipse.core.runtime.adaptor.EclipseStarter.shutdown(EclipseStarter.java:399)
  at
 org.wso2.carbon.core.init.CarbonServerManager.shutdown(CarbonServerManager.java:849)
  at
 org.wso2.carbon.core.init.CarbonServerManager.shutdownGracefully(CarbonServerManager.java:883)
  at
 org.wso2.carbon.core.init.CarbonServerManager$4.run(CarbonServerManager.java:894)
 Caused by: java.lang.IllegalStateException: Hazelcast Instance is not
 active!
  at com.hazelcast.impl.FactoryImpl.initialChecks(FactoryImpl.java:728)
  at com.hazelcast.impl.MProxyImpl.beforeCall(MProxyImpl.java:102)
 at com.hazelcast.impl.MProxyImpl.access$000(MProxyImpl.java:49)
  at
 com.hazelcast.impl.MProxyImpl$DynamicInvoker.invoke(MProxyImpl.java:64)
  at $Proxy145.containsKey(Unknown Source)
 at com.hazelcast.impl.MProxyImpl.containsKey(MProxyImpl.java:312)
  at org.wso2.carbon.caching.impl.CacheImpl.containsKey(CacheImpl.java:255)
  at
 org.wso2.carbon.registry.core.caching.CacheBackedRegistry.resourceExists(CacheBackedRegistry.java:248)
  at
 org.wso2.carbon.registry.core.session.UserRegistry.resourceExists(UserRegistry.java:629)
 at
 

Re: [Dev] LB Stabilization for Kernel 4.2.0 release

2013-08-21 Thread Evanthika Amarasiri
Hi Jeewantha,

I have enabled wire logs in ELB  sent you setup information on a separate
email.

Regards,
Evanthika


On Wed, Aug 21, 2013 at 4:07 PM, Jeewantha Dharmaparakrama 
jeewan...@wso2.com wrote:




 On Mon, Aug 19, 2013 at 2:41 PM, Jeewantha Dharmaparakrama 
 jeewan...@wso2.com wrote:

 Hi Evanthika,

 Can you kindly enable wire logs in the ELB in EC2 cluster and provide the
 logs when this exception is thrown?

 The error logs are kinda urgent. It would be easy if we get access to the
 QA EC2 setup.
 Jeewantha.


 Thanks,
 Jeewantha.


 On Fri, Aug 16, 2013 at 4:22 PM, Afkham Azeez az...@wso2.com wrote:

 It was a configuration issue where the subDomain wasn't properly getting
 set.


 On Fri, Aug 16, 2013 at 1:07 PM, Jeewantha Dharmaparakrama 
 jeewan...@wso2.com wrote:

 Hi Folks,

 LB seems to be unstable when clustered with latest 4.2.0 kernal packs
 [1]. Though this was first thought of as a PTT issue (see thread@dev -
 java.nio.channels.ClosedChannelException thrown time to time on ELB
 console) there seems to be some inconstancy when nodes are joined to
 the cluster which we are currently looking into.

 When a management node is added to the cluster, only the following log
 message is printed in sout.

 INFO {org.wso2.carbon.core.clustering.hazelcast.util.MemberUtils} -
 Added member: Host:127.0.0.1, Remote Host:null, Port: 3999, HTTP:-1,
 HTTPS:-1, Domain: null, Sub-domain:null, Active:true

 This was checked with the packs built on 5th and 9th august [2] and as
 per discussion with Azeez and Sameera, the products do not get clustered
 properly. When management console is accessed, a SOAP Fault pops up on the
 browser as

 soapenv:Envelopesoapenv:
 BodynullResponseTimestampThu Aug 15 2013 16:55:05 GMT+0530
 (IST)/TimestampAckFailure/AckErrorsShortMessageGateway
 Error/ShortMessageLongMessageNo application members available
 /LongMessageErrorCode500
 /ErrorCodeSeverityCodeError/SeverityCodeErrorClassificationRequestError/ErrorClassification/ErrorsServiceNamenull/ServiceNameResponseCodenull/ResponseCodeContentTypenull/ContentTypeVersion1.5.1/Version/nullResponse/soapenv:Body/soapenv:Envelope

 and with an Exception at the ELB backend

 [2013-08-15 16:55:05,407] ERROR - TenantAwareLoadBalanceEndpoint No
 application members available
 [2013-08-15 16:55:05,909]  WARN - SourceHandler Illegal incoming
 connection state: REQUEST_DONE . Possibly two send backs are happening for
 the same request
 [2013-08-15 16:55:05,909]  WARN - SourceHandler Trying to write
 response body while the handler is in an inconsistent state REQUEST_DONE
 [2013-08-15 16:55:05,910] ERROR - TenantAwareLoadBalanceEndpoint No
 application members available
 [2013-08-15 16:57:28,353] ERROR - TenantAwareLoadBalanceEndpoint No
 application members available
 [2013-08-15 16:57:28,708]  WARN - SourceHandler Illegal incoming
 connection state: REQUEST_DONE . Possibly two send backs are happening for
 the same request
 [2013-08-15 16:57:28,709]  WARN - SourceHandler Trying to write
 response body while the handler is in an inconsistent state REQUEST_DONE
 [2013-08-15 16:57:28,709] ERROR - TenantAwareLoadBalanceEndpoint No
 application members available
 [2013-08-15 16:57:28,710] ERROR - SourceHandler Unexpected I/O error:
 java.nio.channels.ClosedChannelException
 java.nio.channels.ClosedChannelException
 at
 sun.nio.ch.SocketChannelImpl.ensureWriteOpen(SocketChannelImpl.java:135)
 at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:326)
 at
 org.apache.http.nio.reactor.ssl.SSLIOSession.sendEncryptedData(SSLIOSession.java:331)
 at
 org.apache.http.nio.reactor.ssl.SSLIOSession.outboundTransport(SSLIOSession.java:411)
 at
 org.apache.http.impl.nio.reactor.AbstractIODispatch.outputReady(AbstractIODispatch.java:150)
 at
 org.apache.http.impl.nio.reactor.BaseIOReactor.writable(BaseIOReactor.java:181)
 at
 org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvent(AbstractIOReactor.java:346)
 at
 org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvents(AbstractIOReactor.java:320)
 at
 org.apache.http.impl.nio.reactor.AbstractIOReactor.execute(AbstractIOReactor.java:280)
 at
 org.apache.http.impl.nio.reactor.BaseIOReactor.execute(BaseIOReactor.java:106)
 at
 org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor$Worker.run(AbstractMultiworkerIOReactor.java:604)
 at java.lang.Thread.run(Thread.java:662)

 ELB tries to send a request to the management node but the application
 member is not found, hence gets a ClosedChannelException.

 [1] https://wso2.org/jira/browse/LB-74
 [2] 
 http://ec2-54-224-94-128.compute-1.amazonaws.com/05-08-2013/http://www.google.com/url?q=http%3A%2F%2Fec2-54-224-94-128.compute-1.amazonaws.com%2F05-08-2013%2Fsa=Dsntz=1usg=AFQjCNGFLcc1dySI1P2yUGSGveqEpgXIug
 http://ec2-54-224-94-128.compute-1.amazonaws.com/09-08-2013/

 Jeewantha.



 --
 Jeewantha Dharmaparakrama
 Software Engineer; WSO2, Inc.; http://wso2.com/
 Phone : (+94) 

Re: [Dev] Compilation error in org.wso2.carbon.sequences.ui - 4.2.0 branch

2013-08-21 Thread Isuru Udana
Hi Ratha,

Did you able to resolve this issue ?
If not please revert your changes until you find a proper solution for this.
This has become a absolute blocker for us.
Because of this issue we were using a patched pack and reverting some
commits locally for last couple of days and we cannot live with that
anymore.
Please do your changes in a way that no functional breaks at the ESB level.





On Wed, Aug 21, 2013 at 9:30 AM, Kasun Indrasiri ka...@wso2.com wrote:

 Please revert back these changes till we get a proper fix. Because of this
 change, ESB integration tests are failing all over..


 On Mon, Aug 19, 2013 at 4:13 PM, Isuru Udana isu...@wso2.com wrote:

 Hi All,

 Root cause of this issue is stub change done at r181488.
 Sequence Editor UI/sequence admin service is broken due to change.

 @ratha,
 Can you please revert this commit until this is fixed properly. We are
 getting lot of integration test failures due to this.


 Thanks.





 On Sat, Aug 17, 2013 at 1:44 PM, Krishantha Samaraweera 
 krishan...@wso2.com wrote:

 Test framework API is also broken due to the above reason. I have
 temporary fixed it.

 Thanks,
 Krishantha.


 On Sat, Aug 17, 2013 at 12:45 PM, Vanjikumaran Sivajothy va...@wso2.com
  wrote:

 Hi dushan,

 I had a look on it, this was there form 4.0.0!!


 https://svn.wso2.org/repos/wso2/carbon/platform/branches/4.0.0/components/sequence-editor/org.wso2.carbon.sequences.ui/4.0.0/src/main/java/org/wso2/carbon/sequences/ui/client/SequenceAdminClient.java


 https://svn.wso2.org/repos/wso2/carbon/platform/branches/4.0.0/components/sequence-editor/org.wso2.carbon.sequences/4.0.0/src/main/java/org/wso2/carbon/sequences/services/SequenceAdmin.java

 Nevertheless, I will review it what goes wrong!



 On Sat, Aug 17, 2013 at 12:08 AM, Dushan Abeyruwan dus...@wso2.comwrote:

 Hi
   I did fix please take update in /sequence-editor/
 org.wso2.carbon.sequences.ui/4.2.0



 btw  Vanji,
  please review the commit at the  sequence-editor module which has
 been broken due to some of the  latest changers prior to my commit, anyway
 please check why it returns object instead of OMElement, you have the best
 reason since you worked for this module recently..


 Modified: carbon/platform/trunk/components/sequence-editor/
 org.wso2.carbon.sequences.ui/src/main/java/org/wso2/carbon/
 sequences/ui/client/SequenceAdminClient.java
 ===
 --- carbon/platform/trunk/components/sequence-editor/
 org.wso2.carbon.sequences.ui/src/main/java/org/wso2/carbon/
 sequences/ui/client/SequenceAdminClient.java2013-08-16 18:28:11
 UTC (rev 181653)
 +++ carbon/platform/trunk/components/sequence-editor/
 org.wso2.carbon.sequences.ui/src/main/java/org/wso2/carbon/
 sequences/ui/client/SequenceAdminClient.java2013-08-16 18:30:35
 UTC (rev 181654)
 @@ -145,7 +145,7 @@
  private OMElement getSequence(String sequenceName) throws
 SequenceEditorException {
  OMElement element = null;
  try {
 -element = sequenceAdminStub.getSequence(
 sequenceName).getFirstElement();
 +element = ((OMElement)(sequenceAdminStub.getSequence(
 sequenceName))).getFirstElement();
  } catch (Exception e) {
  handleException(Couldn't retrieve the sequence element
 with name '
  + sequenceName + ', e);
 @@ -197,7 +197,7 @@
  public OMElement getDynamicSequence(String key) throws
 SequenceEditorException {
  OMElement dynamicSequence = null;
  try {
 -dynamicSequence = sequenceAdminStub.
 getDynamicSequence(key);
 +dynamicSequence = (OMElement)sequenceAdminStub.
 getDynamicSequence(key);
  } catch (Exception e) {
  handleException(Couldn't get dynamic sequence with key
 ' + key + ', e);
  }


 On Fri, Aug 16, 2013 at 11:36 PM, Shameera Rathnayaka 
 shame...@wso2.com wrote:

 Hi ESB team,

 This will lead to many build failures in mediator module, Please
 consider this as urgent issue.

 Thanks,
 Shameera.


 On Fri, Aug 16, 2013 at 10:10 PM, Shameera Rathnayaka 
 shame...@wso2.com wrote:

 Hi

 Please fix the $subject.


 [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @
 org.wso2.carbon.sequences.ui ---
 [INFO] Compiling 12 source files to
 /build/branches/platform/components/sequence-editor/org.wso2.carbon.sequences.ui/4.2.0/target/classes
 [INFO] -
 [ERROR] COMPILATION ERROR :
 [INFO] -
 [ERROR]
 /build/branches/platform/components/sequence-editor/org.wso2.carbon.sequences.ui/4.2.0/src/main/java/org/wso2/carbon/sequences/ui/client/SequenceAdminClient.java:[148,65]
 cannot find symbol
 symbol  : method getFirstElement()
 location: class java.lang.Object
 [ERROR]
 

[Dev] Build failure 4.2.0/products - WSO2 API Manager - Integration UI Test Module

2013-08-21 Thread Shani Ranasinghe
Hi,

I am getting the following build failure.

[INFO]

[INFO] BUILD FAILURE
[INFO]

[INFO] Total time: 16.555s
[INFO] Finished at: Wed Aug 21 20:22:12 IST 2013
[INFO] Final Memory: 65M/874M
[INFO]

[ERROR] Failed to execute goal on project
org.wso2.carbon.am.integration.ui: Could not resolve dependencies for
project org.wso2.am:org.wso2.carbon.am.integration.ui:jar:1.5.0: Failure to
find org.codehaus.jettison.wso2:jettison:jar:1.3.4 in
http://maven.wso2.org/nexus/content/groups/wso2-public/ was cached in the
local repository, resolution will not be reattempted until the update
interval of wso2-nexus has elapsed or updates are forced - [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions,
please read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException

Thanks and Regards*,
Shani Ranasinghe*
Software Engineer
WSO2 Inc.; http://wso2.com
lean.enterprise.middleware

mobile: +94 77 2273555
linked in: lk.linkedin.com/pub/shani-ranasinghe/34/111/ab
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] - Cannot access the Management console in worker/manager separated setup with latest packs

2013-08-21 Thread Evanthika Amarasiri
Related JIRA [1]

[1]  - https://wso2.org/jira/browse/LB-97

Evanthika Amarasiri
Senior Technical Lead - Quality Assurance
Mobile: +94773125935
*
*
wso2.com Lean Enterprise Middleware


On Wed, Aug 21, 2013 at 4:47 PM, Evanthika Amarasiri evanth...@wso2.comwrote:

 Hi All,

 In our worker/manager separated setup, we cannot access the management
 console. I see the below exception at ELB side. Used the same configuration
 we used before.


 ***
 [2013-08-21 16:15:39,133]  WARN - PassThroughHttpSSLListener System may be
 unstable: HTTPS ListeningIOReactor encountered a runtime exception : Null
 action
 java.lang.IllegalArgumentException: Null action
 at
 java.nio.charset.CharsetDecoder.onMalformedInput(CharsetDecoder.java:368)
  at
 org.apache.http.impl.nio.NHttpConnectionBase.init(NHttpConnectionBase.java:162)
  at
 org.apache.http.impl.nio.DefaultNHttpServerConnection.init(DefaultNHttpServerConnection.java:100)
  at
 org.apache.synapse.transport.http.conn.LoggingNHttpServerConnection.init(LoggingNHttpServerConnection.java:62)
  at
 org.apache.synapse.transport.http.conn.LoggingUtils.createServerConnection(LoggingUtils.java:73)
  at
 org.apache.synapse.transport.http.conn.ServerConnFactory.createConnection(ServerConnFactory.java:90)
  at
 org.apache.synapse.transport.passthru.ServerIODispatch.createConnection(ServerIODispatch.java:58)
  at
 org.apache.synapse.transport.passthru.ServerIODispatch.createConnection(ServerIODispatch.java:39)
  at
 org.apache.http.impl.nio.reactor.AbstractIODispatch.connected(AbstractIODispatch.java:71)
 at
 org.apache.http.impl.nio.reactor.BaseIOReactor.sessionCreated(BaseIOReactor.java:240)
  at
 org.apache.http.impl.nio.reactor.AbstractIOReactor.processNewChannels(AbstractIOReactor.java:426)
  at
 org.apache.http.impl.nio.reactor.AbstractIOReactor.execute(AbstractIOReactor.java:288)
  at
 org.apache.http.impl.nio.reactor.BaseIOReactor.execute(BaseIOReactor.java:105)
 at
 org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor$Worker.run(AbstractMultiworkerIOReactor.java:584)
  at java.lang.Thread.run(Thread.java:722)

 Regards,
 Evanthika Amarasiri
 Senior Technical Lead - Quality Assurance
 Mobile: +94773125935
 *
 *
 wso2.com Lean Enterprise Middleware

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


[Dev] Error when shutting down API Manager in 4.2.0 branch.

2013-08-21 Thread Krishantha Samaraweera
Following error was thrown when shutting down API-Manger in 4.2.0 branch.

[2013-08-21 21:38:58,490] ERROR -
GovernanceMgtUIListMetadataServiceComponent Error while stopping the tasks
org.wso2.carbon.ntask.common.TaskException: Error in getting all tasks from
repository
at org.wso2.carbon.ntask.core.impl.RegistryBasedTaskRepository.getAllTasks(
RegistryBasedTaskRepository.java:128)
at org.wso2.carbon.ntask.core.impl.standalone.StandaloneTaskManager.
getAllTasks(StandaloneTaskManager.java:74)
atorg.wso2.carbon.governance.list.internal.GovernanceMgtUIListMetadataServiceComponent.deactivate(GovernanceMgtUIListMetadataServiceComponent.java:269)
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)
atorg.eclipse.equinox.internal.ds.model.ServiceComponent.deactivate(ServiceComponent.java:387)
atorg.eclipse.equinox.internal.ds.model.ServiceComponentProp.deactivate(ServiceComponentProp.java:161)
at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.dispose(
ServiceComponentProp.java:389)
at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.dispose(
ServiceComponentProp.java:102)
at org.eclipse.equinox.internal.ds.InstanceProcess.disposeInstances(
InstanceProcess.java:344)
at org.eclipse.equinox.internal.ds.InstanceProcess.disposeInstances(
InstanceProcess.java:306)
at org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:368)
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.
unregister(ServiceRegistrationImpl.java:225)
atorg.wso2.carbon.registry.core.internal.RegistryCoreServiceComponent.deactivate(RegistryCoreServiceComponent.java:199)
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)
atorg.eclipse.equinox.internal.ds.model.ServiceComponent.deactivate(ServiceComponent.java:387)
atorg.eclipse.equinox.internal.ds.model.ServiceComponentProp.deactivate(ServiceComponentProp.java:161)
at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.dispose(
ServiceComponentProp.java:389)
at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.dispose(
ServiceComponentProp.java:102)
at org.eclipse.equinox.internal.ds.InstanceProcess.disposeInstances(
InstanceProcess.java:344)
at org.eclipse.equinox.internal.ds.InstanceProcess.disposeInstances(
InstanceProcess.java:306)
at org.eclipse.equinox.internal.ds.Resolver.disposeComponentConfigs(
Resolver.java:717)
at org.eclipse.equinox.internal.ds.Resolver.disableComponents(Resolver.java:
693)
at org.eclipse.equinox.internal.ds.SCRManager.stoppingBundle(SCRManager.java
:554)
at org.eclipse.equinox.internal.ds.SCRManager.bundleChanged(SCRManager.java:
233)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(
BundleContextImpl.java:847)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(
EventManager.java:230)
at org.eclipse.osgi.framework.eventmgr.ListenerQueue.
dispatchEventSynchronous(ListenerQueue.java:148)
at org.eclipse.osgi.framework.internal.core.Framework.
publishBundleEventPrivileged(Framework.java:1568)
at org.eclipse.osgi.framework.internal.core.Framework.publishBundleEvent(
Framework.java:1504)
at org.eclipse.osgi.framework.internal.core.Framework.publishBundleEvent(
Framework.java:1499)
at org.eclipse.osgi.framework.internal.core.BundleHost.stopWorker(
BundleHost.java:506)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.suspend(
AbstractBundle.java:566)
at org.eclipse.osgi.framework.internal.core.Framework.suspendBundle(
Framework.java:1206)
atorg.eclipse.osgi.framework.internal.core.StartLevelManager.decFWSL(StartLevelManager.java:592)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.
doSetStartLevel(StartLevelManager.java:257)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.shutdown(
StartLevelManager.java:215)
at 

Re: [Dev] Error when shutting down API Manager in 4.2.0 branch.

2013-08-21 Thread Nuwan Dias
Hi Krishantha,

This was fixed by Ajith AFAIK

Thanks,
NuwanD.


On Wed, Aug 21, 2013 at 9:46 PM, Krishantha Samaraweera krishan...@wso2.com
 wrote:


 Following error was thrown when shutting down API-Manger in 4.2.0 branch.

 [2013-08-21 21:38:58,490] ERROR -
 GovernanceMgtUIListMetadataServiceComponent Error while stopping the tasks
 org.wso2.carbon.ntask.common.TaskException: Error in getting all tasks
 from repository
 at org.wso2.carbon.ntask.core.impl.RegistryBasedTaskRepository.getAllTasks
 (RegistryBasedTaskRepository.java:128)
  at org.wso2.carbon.ntask.core.impl.standalone.StandaloneTaskManager.
 getAllTasks(StandaloneTaskManager.java:74)
  
 atorg.wso2.carbon.governance.list.internal.GovernanceMgtUIListMetadataServiceComponent.deactivate(GovernanceMgtUIListMetadataServiceComponent.java:269)
  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)
  
 atorg.eclipse.equinox.internal.ds.model.ServiceComponent.deactivate(ServiceComponent.java:387)
 atorg.eclipse.equinox.internal.ds.model.ServiceComponentProp.deactivate(ServiceComponentProp.java:161)
  at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.dispose(
 ServiceComponentProp.java:389)
  at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.dispose(
 ServiceComponentProp.java:102)
  at org.eclipse.equinox.internal.ds.InstanceProcess.disposeInstances(
 InstanceProcess.java:344)
  at org.eclipse.equinox.internal.ds.InstanceProcess.disposeInstances(
 InstanceProcess.java:306)
  at org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:
 368)
  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.
 unregister(ServiceRegistrationImpl.java:225)
  
 atorg.wso2.carbon.registry.core.internal.RegistryCoreServiceComponent.deactivate(RegistryCoreServiceComponent.java:199)
  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)
  
 atorg.eclipse.equinox.internal.ds.model.ServiceComponent.deactivate(ServiceComponent.java:387)
 atorg.eclipse.equinox.internal.ds.model.ServiceComponentProp.deactivate(ServiceComponentProp.java:161)
  at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.dispose(
 ServiceComponentProp.java:389)
  at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.dispose(
 ServiceComponentProp.java:102)
  at org.eclipse.equinox.internal.ds.InstanceProcess.disposeInstances(
 InstanceProcess.java:344)
  at org.eclipse.equinox.internal.ds.InstanceProcess.disposeInstances(
 InstanceProcess.java:306)
  at org.eclipse.equinox.internal.ds.Resolver.disposeComponentConfigs(
 Resolver.java:717)
  at org.eclipse.equinox.internal.ds.Resolver.disableComponents(
 Resolver.java:693)
  at org.eclipse.equinox.internal.ds.SCRManager.stoppingBundle(
 SCRManager.java:554)
  at org.eclipse.equinox.internal.ds.SCRManager.bundleChanged(
 SCRManager.java:233)
  at org.eclipse.osgi.framework.internal.core.BundleContextImpl.
 dispatchEvent(BundleContextImpl.java:847)
  at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(
 EventManager.java:230)
  at org.eclipse.osgi.framework.eventmgr.ListenerQueue.
 dispatchEventSynchronous(ListenerQueue.java:148)
  at org.eclipse.osgi.framework.internal.core.Framework.
 publishBundleEventPrivileged(Framework.java:1568)
  at org.eclipse.osgi.framework.internal.core.Framework.publishBundleEvent(
 Framework.java:1504)
  at org.eclipse.osgi.framework.internal.core.Framework.publishBundleEvent(
 Framework.java:1499)
  at org.eclipse.osgi.framework.internal.core.BundleHost.stopWorker(
 BundleHost.java:506)
  at org.eclipse.osgi.framework.internal.core.AbstractBundle.suspend(
 AbstractBundle.java:566)
  at org.eclipse.osgi.framework.internal.core.Framework.suspendBundle(
 Framework.java:1206)
  
 

Re: [Dev] Build failure 4.2.0/products - WSO2 API Manager - Integration UI Test Module

2013-08-21 Thread Krishantha Samaraweera
Fixed in 182387

Thanks,
Krishantha.


On Wed, Aug 21, 2013 at 8:24 PM, Shani Ranasinghe sh...@wso2.com wrote:

 Hi,

 I am getting the following build failure.

 [INFO]
 
 [INFO] BUILD FAILURE
 [INFO]
 
 [INFO] Total time: 16.555s
 [INFO] Finished at: Wed Aug 21 20:22:12 IST 2013
 [INFO] Final Memory: 65M/874M
 [INFO]
 
 [ERROR] Failed to execute goal on project
 org.wso2.carbon.am.integration.ui: Could not resolve dependencies for
 project org.wso2.am:org.wso2.carbon.am.integration.ui:jar:1.5.0: Failure
 to find org.codehaus.jettison.wso2:jettison:jar:1.3.4 in
 http://maven.wso2.org/nexus/content/groups/wso2-public/ was cached in the
 local repository, resolution will not be reattempted until the update
 interval of wso2-nexus has elapsed or updates are forced - [Help 1]
 [ERROR]
 [ERROR] To see the full stack trace of the errors, re-run Maven with the
 -e switch.
 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
 [ERROR]
 [ERROR] For more information about the errors and possible solutions,
 please read the following articles:
 [ERROR] [Help 1]
 http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException

 Thanks and Regards*,
 Shani Ranasinghe*
 Software Engineer
 WSO2 Inc.; http://wso2.com
 lean.enterprise.middleware

 mobile: +94 77 2273555
 linked in: lk.linkedin.com/pub/shani-ranasinghe/34/111/ab

 ___
 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] How to get the Hazelcast Instance in carbon

2013-08-21 Thread Sriskandarajah Suhothayan
Thanks

Suho


On Wed, Aug 21, 2013 at 6:22 PM, Afkham Azeez az...@wso2.com wrote:

 There is a HazelcastInstance OSGi service. Look it up from the OSGi
 service registry.


 On Wed, Aug 21, 2013 at 5:40 PM, Sriskandarajah Suhothayan 
 s...@wso2.comwrote:


 Hi,

 For $Subject can you use
 Hazelcast.getHazelcastInstanceByName() ?


 Thanks
 Suho

 --
 *S. Suhothayan
 *
 Associate Technical Lead,
  *WSO2 Inc. *http://wso2.com *
  http://wso2.com/*
 lean . enterprise . middleware

 *cell: (+94) 779 756 757 | blog: http://suhothayan.blogspot.com/
 twitter: http://twitter.com/suhothayan | linked-in:
 http://lk.linkedin.com/in/suhothayan*
 *
 *




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




-- 
*S. Suhothayan
*
Associate Technical Lead,
 *WSO2 Inc. *http://wso2.com *
 http://wso2.com/*
lean . enterprise . middleware

*cell: (+94) 779 756 757 | blog: http://suhothayan.blogspot.com/
twitter: http://twitter.com/suhothayan | linked-in:
http://lk.linkedin.com/in/suhothayan*
*
*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Compilation error in org.wso2.carbon.sequences.ui - 4.2.0 branch

2013-08-21 Thread Kasun Indrasiri
ESB 4.8 release work is affected by this and hence we are reverting these
changes.
Lets fix this properly and once everything works smoothly, then only we can
commit it back.


On Wed, Aug 21, 2013 at 8:09 PM, Isuru Udana isu...@wso2.com wrote:

 Hi Ratha,

 Did you able to resolve this issue ?
 If not please revert your changes until you find a proper solution for
 this.
 This has become a absolute blocker for us.
 Because of this issue we were using a patched pack and reverting some
 commits locally for last couple of days and we cannot live with that
 anymore.
 Please do your changes in a way that no functional breaks at the ESB level.





 On Wed, Aug 21, 2013 at 9:30 AM, Kasun Indrasiri ka...@wso2.com wrote:

 Please revert back these changes till we get a proper fix. Because of
 this change, ESB integration tests are failing all over..


 On Mon, Aug 19, 2013 at 4:13 PM, Isuru Udana isu...@wso2.com wrote:

 Hi All,

 Root cause of this issue is stub change done at r181488.
 Sequence Editor UI/sequence admin service is broken due to change.

 @ratha,
 Can you please revert this commit until this is fixed properly. We are
 getting lot of integration test failures due to this.


 Thanks.





 On Sat, Aug 17, 2013 at 1:44 PM, Krishantha Samaraweera 
 krishan...@wso2.com wrote:

 Test framework API is also broken due to the above reason. I have
 temporary fixed it.

 Thanks,
 Krishantha.


 On Sat, Aug 17, 2013 at 12:45 PM, Vanjikumaran Sivajothy 
 va...@wso2.com wrote:

 Hi dushan,

 I had a look on it, this was there form 4.0.0!!


 https://svn.wso2.org/repos/wso2/carbon/platform/branches/4.0.0/components/sequence-editor/org.wso2.carbon.sequences.ui/4.0.0/src/main/java/org/wso2/carbon/sequences/ui/client/SequenceAdminClient.java


 https://svn.wso2.org/repos/wso2/carbon/platform/branches/4.0.0/components/sequence-editor/org.wso2.carbon.sequences/4.0.0/src/main/java/org/wso2/carbon/sequences/services/SequenceAdmin.java

 Nevertheless, I will review it what goes wrong!



 On Sat, Aug 17, 2013 at 12:08 AM, Dushan Abeyruwan dus...@wso2.comwrote:

 Hi
   I did fix please take update in /sequence-editor/
 org.wso2.carbon.sequences.ui/4.2.0



 btw  Vanji,
  please review the commit at the  sequence-editor module which has
 been broken due to some of the  latest changers prior to my commit, 
 anyway
 please check why it returns object instead of OMElement, you have the 
 best
 reason since you worked for this module recently..


 Modified: carbon/platform/trunk/components/sequence-editor/
 org.wso2.carbon.sequences.ui/src/main/java/org/wso2/carbon/
 sequences/ui/client/SequenceAdminClient.java
 ===
 --- carbon/platform/trunk/components/sequence-editor/
 org.wso2.carbon.sequences.ui/src/main/java/org/wso2/carbon/
 sequences/ui/client/SequenceAdminClient.java2013-08-16 18:28:11
 UTC (rev 181653)
 +++ carbon/platform/trunk/components/sequence-editor/
 org.wso2.carbon.sequences.ui/src/main/java/org/wso2/carbon/
 sequences/ui/client/SequenceAdminClient.java2013-08-16 18:30:35
 UTC (rev 181654)
 @@ -145,7 +145,7 @@
  private OMElement getSequence(String sequenceName) throws
 SequenceEditorException {
  OMElement element = null;
  try {
 -element = sequenceAdminStub.getSequence(
 sequenceName).getFirstElement();
 +element = ((OMElement)(sequenceAdminStub.getSequence(
 sequenceName))).getFirstElement();
  } catch (Exception e) {
  handleException(Couldn't retrieve the sequence element
 with name '
  + sequenceName + ', e);
 @@ -197,7 +197,7 @@
  public OMElement getDynamicSequence(String key) throws
 SequenceEditorException {
  OMElement dynamicSequence = null;
  try {
 -dynamicSequence = sequenceAdminStub.
 getDynamicSequence(key);
 +dynamicSequence = (OMElement)sequenceAdminStub.
 getDynamicSequence(key);
  } catch (Exception e) {
  handleException(Couldn't get dynamic sequence with key
 ' + key + ', e);
  }


 On Fri, Aug 16, 2013 at 11:36 PM, Shameera Rathnayaka 
 shame...@wso2.com wrote:

 Hi ESB team,

 This will lead to many build failures in mediator module, Please
 consider this as urgent issue.

 Thanks,
 Shameera.


 On Fri, Aug 16, 2013 at 10:10 PM, Shameera Rathnayaka 
 shame...@wso2.com wrote:

 Hi

 Please fix the $subject.


 [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @
 org.wso2.carbon.sequences.ui ---
 [INFO] Compiling 12 source files to
 /build/branches/platform/components/sequence-editor/org.wso2.carbon.sequences.ui/4.2.0/target/classes
 [INFO] -
 [ERROR] COMPILATION ERROR :
 [INFO] -
 [ERROR]
 

[Dev] Cannot build the feature repository in 4.2.0 branch

2013-08-21 Thread Pulasthi Supun
Hi,,

I am getting the following failure when building the feature repository in
the 4.2.0 branch.
[INFO]

[INFO]

[INFO] Building WSO2 Carbon - Feature Repository 4.2.0
[INFO]

[INFO]
[INFO] --- maven-clean-plugin:2.3:clean (default-clean) @
wso2carbon-feature-repository ---
[INFO] Deleting file set:
/home/pulasthi/work/wso2/carbon/4.2.0/platform/features/repository/target
(included: [**], excluded: [])
[INFO]
[INFO] --- incremental-build-plugin:1.3:incremental-build (default) @
wso2carbon-feature-repository ---
[INFO] Verifying module descriptor ...
[INFO] Pom descriptor modification detected.
[INFO] Deleting
/home/pulasthi/work/wso2/carbon/4.2.0/platform/features/repository/target
[INFO]
[INFO] --- carbon-p2-plugin:1.5.3:p2-repo-gen (2-p2-repo-generation) @
wso2carbon-feature-repository ---
[ERROR] Error occured when processing the Feature Artifact:
org.wso2.dss:org.wso2.stratos.dss.dashboard.ui.feature:2.2.0
org.apache.maven.plugin.MojoExecutionException: Error occured when
processing the Feature Artifact:
org.wso2.dss:org.wso2.stratos.dss.dashboard.ui.feature:2.2.0
 at
org.wso2.maven.p2.RepositoryGenMojo.getProcessedFeatureArtifacts(RepositoryGenMojo.java:322)
at
org.wso2.maven.p2.RepositoryGenMojo.createRepo(RepositoryGenMojo.java:197)
 at org.wso2.maven.p2.RepositoryGenMojo.execute(RepositoryGenMojo.java:191)
at
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
 at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
 at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
 at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
at
org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
 at
org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
 at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
 at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
 at
org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
at
org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
 at
org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
Caused by: org.apache.maven.plugin.MojoExecutionException: ERROR
at
org.wso2.maven.p2.generate.utils.MavenUtils.getResolvedArtifact(MavenUtils.java:43)
 at
org.wso2.maven.p2.RepositoryGenMojo.getProcessedFeatureArtifacts(RepositoryGenMojo.java:319)
... 23 more
Caused by: org.apache.maven.artifact.resolver.ArtifactNotFoundException:
Failure to find
org.wso2.dss:org.wso2.stratos.dss.dashboard.ui.feature:zip:2.2.0 in
http://maven.wso2.org/nexus/content/groups/wso2-public/ was cached in the
local repository, resolution will not be reattempted until the update
interval of wso2-nexus has elapsed or updates are forced

Try downloading the file manually from the project website.

Then, install it using the command:
mvn install:install-file -DgroupId=org.wso2.dss
-DartifactId=org.wso2.stratos.dss.dashboard.ui.feature -Dversion=2.2.0
-Dpackaging=zip -Dfile=/path/to/file

Alternatively, if you host your own repository you can deploy the file
there:
mvn deploy:deploy-file -DgroupId=org.wso2.dss
-DartifactId=org.wso2.stratos.dss.dashboard.ui.feature -Dversion=2.2.0
-Dpackaging=zip -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]


  org.wso2.dss:org.wso2.stratos.dss.dashboard.ui.feature:zip:2.2.0

from the specified remote repositories:
  wso2-nexus (http://maven.wso2.org/nexus/content/groups/wso2-public/,
releases=true, snapshots=true),
  central (http://repo.maven.apache.org/maven2, releases=true,
snapshots=false)

at
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:219)
 at
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:157)
at
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:525)
 at

[Dev] One of the worker nodes of the AS cluster shutdown abruptly

2013-08-21 Thread Evanthika Amarasiri
Hi,

One of the worker nodes of the cluster stopped responding all of a sudden
and noticed it has been shut down abruptly. When trying to start the
server, it failed throwing the following exception. (Note that I killed the
same server a few times earlier). It was serving the requests without any
issues for sometime before this happened.

JAVA_HOME environment variable is set to /home/wso2/jdk1.7.0
CARBON_HOME environment variable is set to
/home/wso2/4.2.0/21stAug/wrk/wso2as-5.2.0
java.lang.reflect.InvocationTargetException
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
 at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 at java.lang.reflect.Method.invoke(Method.java:601)
at org.wso2.carbon.bootstrap.Bootstrap.loadClass(Bootstrap.java:63)
 at org.wso2.carbon.bootstrap.Bootstrap.main(Bootstrap.java:45)
Caused by: java.lang.RuntimeException
 at org.wso2.carbon.server.CarbonLauncher.launch(CarbonLauncher.java:117)
 at org.wso2.carbon.server.Main.launchCarbon(Main.java:163)
at org.wso2.carbon.server.Main.main(Main.java:95)
 ... 6 more

Could it have corrupted the instance since I killed forcefully?

Regards,
Evanthika Amarasiri
Senior Technical Lead - Quality Assurance
Mobile: +94773125935
*
*
wso2.com Lean Enterprise Middleware
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] WSO2 SS-1.1.0-Alpha Released!

2013-08-21 Thread Bhathiya Jayasekara
*WSO2 SS-1.1.0-Alpha Released!*
*
*
The pack can be downloaded from:
http://builder3.us1.wso2.org/builds/ss-1.1.0-alpha/wso2ss-1.1.0-alpha.zip

Following are the bug fixes, improvements and new features:

Bug

   - [SS-5 https://wso2.org/jira/browse/SS-5] - Privilege Templates
   page's context sensitive help does not explain what it is all about
   - [SS-45 https://wso2.org/jira/browse/SS-45] - Breadcrumb issue in
   'Connect to Cluster' page.
   - [SS-64 https://wso2.org/jira/browse/SS-64] - Need to change the RSS
   Instance configuration UI to support XA datasources
   - SS-68 https://wso2.org/jira/browse/SS-68] - second error when
   running /hdfs/CLI/rss-simple-sql-sample - no class specified in manifest
   - [SS-69 https://wso2.org/jira/browse/SS-69] - SS : Hadoop File System
   Explorer is totally unusable in Storage server
   - [SS-71 https://wso2.org/jira/browse/SS-71] - NPE is thrown and hence
   the UI crashes in Cassandra Explorer when an invalid connection URL is
   entered
   - [SS-73 https://wso2.org/jira/browse/SS-73] - Cassandra functionality
   for tenant is not smooth
   - [SS-74 https://wso2.org/jira/browse/SS-74] - User with default
   permission can not create keyspaces and Keyspace sharing does not work
   - [SS-77 https://wso2.org/jira/browse/SS-77] - Credentials of RSS
   instances do not get reloaded after modifying them in the rss-config.xml
   - [SS-78 https://wso2.org/jira/browse/SS-78] - SS login page's 'user
   guide' link should be changed
   - [SS-79 https://wso2.org/jira/browse/SS-79] - Update the copyright
   notice in the theme to 2013
   - [SS-104 https://wso2.org/jira/browse/SS-104] - When creating a
   keyspace, an exception is thrown when the keyspace name cantains hyphen
   - [SS-112 https://wso2.org/jira/browse/SS-112] - Breadcrumbs are
   broken in RSS manager related UIs
   - [SS-120 https://wso2.org/jira/browse/SS-120] - rss-config.xml should
   support referring to datasources defined in the *-datasources.xml
   - [SS-128 https://wso2.org/jira/browse/SS-128] - Error messages are
   not displayed in database/user/template failed operations
   - [SS-134 https://wso2.org/jira/browse/SS-134] - Column Index Actions
   of Column Families in SYSTEM keyspace should be removed
   - [SS-135 https://wso2.org/jira/browse/SS-135] - Bug in Keyspace
   existence check
   - [SS-141 https://wso2.org/jira/browse/SS-141] - carbon.version should
   be updated in distribution/src/assembly/filter.properties
   - [SS-144 https://wso2.org/jira/browse/SS-144] - Transactions are not
   get rollback correctly
   - [SS-149 https://wso2.org/jira/browse/SS-149] -
   editDatabaseUserPrivileges() method in MySQLRSSManager only modifies the
   values in RM tables

Improvement

   - [SS-61 https://wso2.org/jira/browse/SS-61] - explore cluster UI in
   mgt console does not display column name
   - [SS-66 https://wso2.org/jira/browse/SS-66] - example on how to
   access cassandra from Java application using Thrift
   - [SS-75 https://wso2.org/jira/browse/SS-75] - Implement the Cassandra
   Read/Write permission model in the permission tree
   - [SS-76 https://wso2.org/jira/browse/SS-76] - Show which roles are
   authorized to read / write the cassandra keyspace
   - [SS-83 https://wso2.org/jira/browse/SS-83] - Move Cassandra Explorer
   to Tool tab in UI
   - [SS-85 https://wso2.org/jira/browse/SS-85] - Improve the Cassandra
   user guide to reflect Cassandra 1.1 changes.
   - [SS-87 https://wso2.org/jira/browse/SS-87] - Enable counter column
   and TTL column.
   - [SS-90 https://wso2.org/jira/browse/SS-90] - Cassandra data
   publisher should publish all data as STRING to avoid data type handling
   issues in analytic phase (hive)
   - [SS-97 https://wso2.org/jira/browse/SS-97] - Improve HDFS Mgt UI
   - [SS-102 https://wso2.org/jira/browse/SS-102] - Cassandra Publisher
   should publish keyspace statistics as well
   - [SS-109 https://wso2.org/jira/browse/SS-109] - Add secure vault
   support for RSS related configuration files
   - [SS-110 https://wso2.org/jira/browse/SS-110] - Add secure vault
   support for Cassandra related configuration files
   - [SS-118 https://wso2.org/jira/browse/SS-118] - Improve RSS manager
   DAO implementation to have more extensibility
   - [SS-139 https://wso2.org/jira/browse/SS-139] - Making configuration
   elements in rss-config.xml compatible with Carbon standards
   - [SS-147 https://wso2.org/jira/browse/SS-147] - Reduce the number of
   configuration files related to Cassandra component.
   - [SS-148 https://wso2.org/jira/browse/SS-148] - Reduce the number of
   configuration files related to Cassandra Cluster monitoring feature

New Feature

   - [SS-93 https://wso2.org/jira/browse/SS-93] - BAM tool box to analyze
   Cassandra statistics publish to BAM
   - [SS-94 https://wso2.org/jira/browse/SS-94] - MSSQL provisioning
   support in SS
   - [SS-95 https://wso2.org/jira/browse/SS-95] - Support provisioning
   Oracle
   - [SS-98 

[Dev] SSO is broken with latest IS and API-M packs

2013-08-21 Thread Nirodha Pramod
Hi,

After configuring SSO with latest API-M and IS packs, when trying to access
the publisher or store url, it redirects to IS but doesn't prompt a login
page. Instead it says  try to log in again. Followed doc [2] given for
previous release. Are there any config changes?

[1] https://wso2.org/jira/browse/IDENTITY-1714
[2] http://docs.wso2.org/wiki/display/AM140/Single+Sign-on+with+SAML+2.0

regards,
Nirodha

-- 
*
*
*Nirodha Gallage*
Senior Software Engineer, QA.
WSO2 Inc.: http://wso2.com/
Mobile: +94716429078
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Updated Invitation: Code Review - Event Builder @ Mon Aug 19, 2013 4pm - 5:30pm (raje...@wso2.com)

2013-08-21 Thread Rajeev Sampath
Hi,

Following is the summary of suggestions given during the code review.

 1. Rename EventBuilderStreamJunction as the Manager and
StreamEventDispatcher as the Junction

 2. Making DtoConvertible as abstract DtoConverter

3. Make BasicDtoConverter to be a generic converter

 4. In InputMapper remove mapping creation from interface (move to the
constructor), make processInputEvent return an array and make
createExportedStreamDefinition return an attribute array.

 5. For XmlMappingTestCase, use EventBuilder instead of the mapping

 6. Refactoring EventBuilderAdminService – remove unnecessary methods

 7. Change onAddDefinition(StreamDefinition) in BasicEventListener to take
an Attribute array instead.


 @Lasantha please add anything missing here.


Thanks

Rajeev





On Mon, Aug 19, 2013 at 3:03 PM, Lasantha Fernando lasan...@wso2.comwrote:

 This event has been changed.
 more details 
 »https://www.google.com/calendar/event?action=VIEWeid=ZGl2a24yazAwY2Vrb2QzZjQxNnY1NmY3NDggcmFqZWV2c0B3c28yLmNvbQtok=MTcjbGFzYW50aGFAd3NvMi5jb21jNWNkZjI1ZjdjMGM3MDRiODZjMmVkYzgwYjQxN2I1YWMyNDY5NGU1ctz=Asia/Colombohl=en
 Code Review - Event Builder
 Code review for event builder component

 Crucible Project: 
 http://wso2.org/crucible/project/WTC001https://www.google.com/url?q=http%3A%2F%2Fwso2.org%2Fcrucible%2Fproject%2FWTC001ust=1376912001277000usg=AFQjCNGZim3SdSR0kVliJi3IG9D2VD0qDA
 *When*
 *Changed: *Mon Aug 19, 2013 4pm – 5:30pm Colombo
 *Where*
 LK #58 4th Floor Meeting room 
 (maphttp://maps.google.lk/maps?q=LK+%2358+4th+Floor+Meeting+roomhl=en
 )
 *Calendar*
 raje...@wso2.com
 *Who*
 •
 Lasantha Fernando - organizer
 •
 Sinthuja Ragendran
 •
 Malith Dhanushka
 •
 Ayashkantha Ramasinghe
 •
 Balakrishnan Gokulakrishnan
 •
 Maninda Edirisooriya
 •
 Dunith Dhanushka
 •
 Inosh Goonewardena
 •
 Mohanadarshan Vivekanandalingam
 •
 dev@wso2.org
 •
 Anjana Fernando
 •
 Gihan Anuruddha
 •
 Rajeev Sampath
 •
 Sriskandarajah Suhothayan

 Going?   
 ***Yeshttps://www.google.com/calendar/event?action=RESPONDeid=ZGl2a24yazAwY2Vrb2QzZjQxNnY1NmY3NDggcmFqZWV2c0B3c28yLmNvbQrst=1tok=MTcjbGFzYW50aGFAd3NvMi5jb21jNWNkZjI1ZjdjMGM3MDRiODZjMmVkYzgwYjQxN2I1YWMyNDY5NGU1ctz=Asia/Colombohl=en-
 Maybehttps://www.google.com/calendar/event?action=RESPONDeid=ZGl2a24yazAwY2Vrb2QzZjQxNnY1NmY3NDggcmFqZWV2c0B3c28yLmNvbQrst=3tok=MTcjbGFzYW50aGFAd3NvMi5jb21jNWNkZjI1ZjdjMGM3MDRiODZjMmVkYzgwYjQxN2I1YWMyNDY5NGU1ctz=Asia/Colombohl=en-
 Nohttps://www.google.com/calendar/event?action=RESPONDeid=ZGl2a24yazAwY2Vrb2QzZjQxNnY1NmY3NDggcmFqZWV2c0B3c28yLmNvbQrst=2tok=MTcjbGFzYW50aGFAd3NvMi5jb21jNWNkZjI1ZjdjMGM3MDRiODZjMmVkYzgwYjQxN2I1YWMyNDY5NGU1ctz=Asia/Colombohl=en
 ***more options 
 »https://www.google.com/calendar/event?action=VIEWeid=ZGl2a24yazAwY2Vrb2QzZjQxNnY1NmY3NDggcmFqZWV2c0B3c28yLmNvbQtok=MTcjbGFzYW50aGFAd3NvMi5jb21jNWNkZjI1ZjdjMGM3MDRiODZjMmVkYzgwYjQxN2I1YWMyNDY5NGU1ctz=Asia/Colombohl=en

 Invitation from Google Calendar https://www.google.com/calendar/

 You are receiving this email at the account raje...@wso2.com because you
 are subscribed for updated invitations on calendar raje...@wso2.com.

 To stop receiving these notifications, please log in to
 https://www.google.com/calendar/ and change your notification settings
 for this calendar.




-- 
Rajeev Sampath
Senior Software Engineer
WSO2, Inc.; http://www.wso2.com.

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


Re: [Dev] SSO is broken with latest IS and API-M packs

2013-08-21 Thread Prabath Siriwardena
Can you please give the link to get API-M pack ?

Thanks  regards,
-Prabath


On Thu, Aug 22, 2013 at 7:20 AM, Nirodha Pramod niro...@wso2.com wrote:

 Hi,

 After configuring SSO with latest API-M and IS packs, when trying to
 access the publisher or store url, it redirects to IS but doesn't prompt a
 login page. Instead it says  try to log in again. Followed doc [2] given
 for previous release. Are there any config changes?

 [1] https://wso2.org/jira/browse/IDENTITY-1714
 [2] http://docs.wso2.org/wiki/display/AM140/Single+Sign-on+with+SAML+2.0

 regards,
 Nirodha

 --
 *
 *
 *Nirodha Gallage*
 Senior Software Engineer, QA.
 WSO2 Inc.: http://wso2.com/
 Mobile: +94716429078




-- 
Thanks  Regards,
Prabath

Mobile : +94 71 809 6732

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


Re: [Dev] SSO is broken with latest IS and API-M packs

2013-08-21 Thread Nirodha Pramod
Hi Prabath,

Pack is here
http://builder3.us1.wso2.org/builds/APIM-1.5.0/20_08_13/wso2am-1.5.0.zip

regards,


On Thu, Aug 22, 2013 at 7:37 AM, Prabath Siriwardena prab...@wso2.comwrote:

 Can you please give the link to get API-M pack ?

 Thanks  regards,
 -Prabath


 On Thu, Aug 22, 2013 at 7:20 AM, Nirodha Pramod niro...@wso2.com wrote:

 Hi,

 After configuring SSO with latest API-M and IS packs, when trying to
 access the publisher or store url, it redirects to IS but doesn't prompt a
 login page. Instead it says  try to log in again. Followed doc [2] given
 for previous release. Are there any config changes?

 [1] https://wso2.org/jira/browse/IDENTITY-1714
 [2] http://docs.wso2.org/wiki/display/AM140/Single+Sign-on+with+SAML+2.0

 regards,
 Nirodha

 --
 *
 *
 *Nirodha Gallage*
 Senior Software Engineer, QA.
 WSO2 Inc.: http://wso2.com/
 Mobile: +94716429078




 --
 Thanks  Regards,
 Prabath

 Mobile : +94 71 809 6732

 http://blog.facilelogin.com
 http://RampartFAQ.com




-- 
*
*
*Nirodha Gallage*
Senior Software Engineer, QA.
WSO2 Inc.: http://wso2.com/
Mobile: +94716429078
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Compilation error in org.wso2.carbon.sequences.ui - 4.2.0 branch

2013-08-21 Thread Isuru Udana
Sequence stub change reverted at r182434.

Temporary fix for preventing compilation failures in sequence editor ui
done at r181662 reverted at r182435.
Automation test framework changes done for preventing compilation failures
reverted at r182436.
Automation test changes done for preventing compilation failures reverted
at r182437


On Wed, Aug 21, 2013 at 11:25 PM, Kasun Indrasiri ka...@wso2.com wrote:

 ESB 4.8 release work is affected by this and hence we are reverting these
 changes.
 Lets fix this properly and once everything works smoothly, then only we
 can commit it back.


 On Wed, Aug 21, 2013 at 8:09 PM, Isuru Udana isu...@wso2.com wrote:

 Hi Ratha,

 Did you able to resolve this issue ?
 If not please revert your changes until you find a proper solution for
 this.
 This has become a absolute blocker for us.
 Because of this issue we were using a patched pack and reverting some
 commits locally for last couple of days and we cannot live with that
 anymore.
 Please do your changes in a way that no functional breaks at the ESB
 level.





 On Wed, Aug 21, 2013 at 9:30 AM, Kasun Indrasiri ka...@wso2.com wrote:

 Please revert back these changes till we get a proper fix. Because of
 this change, ESB integration tests are failing all over..


 On Mon, Aug 19, 2013 at 4:13 PM, Isuru Udana isu...@wso2.com wrote:

 Hi All,

 Root cause of this issue is stub change done at r181488.
 Sequence Editor UI/sequence admin service is broken due to change.

 @ratha,
 Can you please revert this commit until this is fixed properly. We are
 getting lot of integration test failures due to this.


 Thanks.





 On Sat, Aug 17, 2013 at 1:44 PM, Krishantha Samaraweera 
 krishan...@wso2.com wrote:

 Test framework API is also broken due to the above reason. I have
 temporary fixed it.

 Thanks,
 Krishantha.


 On Sat, Aug 17, 2013 at 12:45 PM, Vanjikumaran Sivajothy 
 va...@wso2.com wrote:

 Hi dushan,

 I had a look on it, this was there form 4.0.0!!


 https://svn.wso2.org/repos/wso2/carbon/platform/branches/4.0.0/components/sequence-editor/org.wso2.carbon.sequences.ui/4.0.0/src/main/java/org/wso2/carbon/sequences/ui/client/SequenceAdminClient.java


 https://svn.wso2.org/repos/wso2/carbon/platform/branches/4.0.0/components/sequence-editor/org.wso2.carbon.sequences/4.0.0/src/main/java/org/wso2/carbon/sequences/services/SequenceAdmin.java

 Nevertheless, I will review it what goes wrong!



 On Sat, Aug 17, 2013 at 12:08 AM, Dushan Abeyruwan 
 dus...@wso2.comwrote:

 Hi
   I did fix please take update in /sequence-editor/
 org.wso2.carbon.sequences.ui/4.2.0



 btw  Vanji,
  please review the commit at the  sequence-editor module which has
 been broken due to some of the  latest changers prior to my commit, 
 anyway
 please check why it returns object instead of OMElement, you have the 
 best
 reason since you worked for this module recently..


 Modified: carbon/platform/trunk/components/sequence-editor/
 org.wso2.carbon.sequences.ui/src/main/java/org/wso2/carbon/
 sequences/ui/client/SequenceAdminClient.java
 ===
 --- carbon/platform/trunk/components/sequence-editor/
 org.wso2.carbon.sequences.ui/src/main/java/org/wso2/carbon/
 sequences/ui/client/SequenceAdminClient.java2013-08-16 18:28:11
 UTC (rev 181653)
 +++ carbon/platform/trunk/components/sequence-editor/
 org.wso2.carbon.sequences.ui/src/main/java/org/wso2/carbon/
 sequences/ui/client/SequenceAdminClient.java2013-08-16 18:30:35
 UTC (rev 181654)
 @@ -145,7 +145,7 @@
  private OMElement getSequence(String sequenceName) throws
 SequenceEditorException {
  OMElement element = null;
  try {
 -element = sequenceAdminStub.getSequence(
 sequenceName).getFirstElement();
 +element = ((OMElement)(sequenceAdminStub.getSequence(
 sequenceName))).getFirstElement();
  } catch (Exception e) {
  handleException(Couldn't retrieve the sequence element
 with name '
  + sequenceName + ', e);
 @@ -197,7 +197,7 @@
  public OMElement getDynamicSequence(String key) throws
 SequenceEditorException {
  OMElement dynamicSequence = null;
  try {
 -dynamicSequence = sequenceAdminStub.
 getDynamicSequence(key);
 +dynamicSequence = (OMElement)sequenceAdminStub.
 getDynamicSequence(key);
  } catch (Exception e) {
  handleException(Couldn't get dynamic sequence with key
 ' + key + ', e);
  }


 On Fri, Aug 16, 2013 at 11:36 PM, Shameera Rathnayaka 
 shame...@wso2.com wrote:

 Hi ESB team,

 This will lead to many build failures in mediator module, Please
 consider this as urgent issue.

 Thanks,
 Shameera.


 On Fri, Aug 16, 2013 at 10:10 PM, Shameera Rathnayaka 
 shame...@wso2.com wrote:

 Hi

 Please fix the $subject.


 [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @
 org.wso2.carbon.sequences.ui ---
 [INFO] Compiling 12 source files to
 

Re: [Dev] Cannot build the feature repository in 4.2.0 branch

2013-08-21 Thread Sameera Jayasoma
In order to build the P2 repository, you need build AS, IS, G-Reg, DSS, SS,
APIM products as well as the nested-features in the features modules. Other
option is to comment out the features belongs to other products..

Thanks,
Sameera.


On Wed, Aug 21, 2013 at 11:44 PM, Pulasthi Supun pulas...@wso2.com wrote:

 Hi,,

 I am getting the following failure when building the feature repository in
 the 4.2.0 branch.
 [INFO]

 [INFO]
 
 [INFO] Building WSO2 Carbon - Feature Repository 4.2.0
 [INFO]
 
 [INFO]
 [INFO] --- maven-clean-plugin:2.3:clean (default-clean) @
 wso2carbon-feature-repository ---
 [INFO] Deleting file set:
 /home/pulasthi/work/wso2/carbon/4.2.0/platform/features/repository/target
 (included: [**], excluded: [])
 [INFO]
 [INFO] --- incremental-build-plugin:1.3:incremental-build (default) @
 wso2carbon-feature-repository ---
 [INFO] Verifying module descriptor ...
 [INFO] Pom descriptor modification detected.
 [INFO] Deleting
 /home/pulasthi/work/wso2/carbon/4.2.0/platform/features/repository/target
 [INFO]
 [INFO] --- carbon-p2-plugin:1.5.3:p2-repo-gen (2-p2-repo-generation) @
 wso2carbon-feature-repository ---
 [ERROR] Error occured when processing the Feature Artifact:
 org.wso2.dss:org.wso2.stratos.dss.dashboard.ui.feature:2.2.0
 org.apache.maven.plugin.MojoExecutionException: Error occured when
 processing the Feature Artifact:
 org.wso2.dss:org.wso2.stratos.dss.dashboard.ui.feature:2.2.0
  at
 org.wso2.maven.p2.RepositoryGenMojo.getProcessedFeatureArtifacts(RepositoryGenMojo.java:322)
 at
 org.wso2.maven.p2.RepositoryGenMojo.createRepo(RepositoryGenMojo.java:197)
  at
 org.wso2.maven.p2.RepositoryGenMojo.execute(RepositoryGenMojo.java:191)
 at
 org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
  at
 org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
 at
 org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
  at
 org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
 at
 org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
  at
 org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
 at
 org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
  at
 org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
 at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
  at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
 at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
  at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
 at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:597)
  at
 org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
 at
 org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
  at
 org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
 at
 org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
 Caused by: org.apache.maven.plugin.MojoExecutionException: ERROR
 at
 org.wso2.maven.p2.generate.utils.MavenUtils.getResolvedArtifact(MavenUtils.java:43)
  at
 org.wso2.maven.p2.RepositoryGenMojo.getProcessedFeatureArtifacts(RepositoryGenMojo.java:319)
 ... 23 more
 Caused by: org.apache.maven.artifact.resolver.ArtifactNotFoundException:
 Failure to find
 org.wso2.dss:org.wso2.stratos.dss.dashboard.ui.feature:zip:2.2.0 in
 http://maven.wso2.org/nexus/content/groups/wso2-public/ was cached in the
 local repository, resolution will not be reattempted until the update
 interval of wso2-nexus has elapsed or updates are forced

 Try downloading the file manually from the project website.

 Then, install it using the command:
 mvn install:install-file -DgroupId=org.wso2.dss
 -DartifactId=org.wso2.stratos.dss.dashboard.ui.feature -Dversion=2.2.0
 -Dpackaging=zip -Dfile=/path/to/file

 Alternatively, if you host your own repository you can deploy the file
 there:
 mvn deploy:deploy-file -DgroupId=org.wso2.dss
 -DartifactId=org.wso2.stratos.dss.dashboard.ui.feature -Dversion=2.2.0
 -Dpackaging=zip -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]


   org.wso2.dss:org.wso2.stratos.dss.dashboard.ui.feature:zip:2.2.0

 from the specified remote repositories:
   wso2-nexus (http://maven.wso2.org/nexus/content/groups/wso2-public/,
 releases=true, snapshots=true),
   central (http://repo.maven.apache.org/maven2, 

Re: [Dev] LB Stabilization for Kernel 4.2.0 release

2013-08-21 Thread Jeewantha Dharmaparakrama
On Wed, Aug 21, 2013 at 7:12 PM, Evanthika Amarasiri evanth...@wso2.comwrote:

 Hi Jeewantha,

 I have enabled wire logs in ELB  sent you setup information on a separate
 email.

Thanks a lot.


 Regards,
 Evanthika


 On Wed, Aug 21, 2013 at 4:07 PM, Jeewantha Dharmaparakrama 
 jeewan...@wso2.com wrote:




 On Mon, Aug 19, 2013 at 2:41 PM, Jeewantha Dharmaparakrama 
 jeewan...@wso2.com wrote:

 Hi Evanthika,

 Can you kindly enable wire logs in the ELB in EC2 cluster and provide
 the logs when this exception is thrown?

 The error logs are kinda urgent. It would be easy if we get access to the
 QA EC2 setup.
 Jeewantha.


 Thanks,
 Jeewantha.


 On Fri, Aug 16, 2013 at 4:22 PM, Afkham Azeez az...@wso2.com wrote:

 It was a configuration issue where the subDomain wasn't properly
 getting set.


 On Fri, Aug 16, 2013 at 1:07 PM, Jeewantha Dharmaparakrama 
 jeewan...@wso2.com wrote:

 Hi Folks,

 LB seems to be unstable when clustered with latest 4.2.0 kernal packs
 [1]. Though this was first thought of as a PTT issue (see thread@dev- 
 java.nio.channels.ClosedChannelException
 thrown time to time on ELB console) there seems to be some
 inconstancy when nodes are joined to the cluster which we are currently
 looking into.

 When a management node is added to the cluster, only the following log
 message is printed in sout.

 INFO {org.wso2.carbon.core.clustering.hazelcast.util.MemberUtils} -
 Added member: Host:127.0.0.1, Remote Host:null, Port: 3999, HTTP:-1,
 HTTPS:-1, Domain: null, Sub-domain:null, Active:true

 This was checked with the packs built on 5th and 9th august [2] and as
 per discussion with Azeez and Sameera, the products do not get clustered
 properly. When management console is accessed, a SOAP Fault pops up on the
 browser as

 soapenv:Envelopesoapenv:
 BodynullResponseTimestampThu Aug 15 2013 16:55:05 GMT+0530
 (IST)/TimestampAckFailure/AckErrorsShortMessageGateway
 Error/ShortMessageLongMessageNo application members available
 /LongMessageErrorCode500
 /ErrorCodeSeverityCodeError/SeverityCodeErrorClassificationRequestError/ErrorClassification/ErrorsServiceNamenull/ServiceNameResponseCodenull/ResponseCodeContentTypenull/ContentTypeVersion1.5.1/Version/nullResponse/soapenv:Body/soapenv:Envelope

 and with an Exception at the ELB backend

 [2013-08-15 16:55:05,407] ERROR - TenantAwareLoadBalanceEndpoint No
 application members available
 [2013-08-15 16:55:05,909]  WARN - SourceHandler Illegal incoming
 connection state: REQUEST_DONE . Possibly two send backs are happening for
 the same request
 [2013-08-15 16:55:05,909]  WARN - SourceHandler Trying to write
 response body while the handler is in an inconsistent state REQUEST_DONE
 [2013-08-15 16:55:05,910] ERROR - TenantAwareLoadBalanceEndpoint No
 application members available
 [2013-08-15 16:57:28,353] ERROR - TenantAwareLoadBalanceEndpoint No
 application members available
 [2013-08-15 16:57:28,708]  WARN - SourceHandler Illegal incoming
 connection state: REQUEST_DONE . Possibly two send backs are happening for
 the same request
 [2013-08-15 16:57:28,709]  WARN - SourceHandler Trying to write
 response body while the handler is in an inconsistent state REQUEST_DONE
 [2013-08-15 16:57:28,709] ERROR - TenantAwareLoadBalanceEndpoint No
 application members available
 [2013-08-15 16:57:28,710] ERROR - SourceHandler Unexpected I/O error:
 java.nio.channels.ClosedChannelException
 java.nio.channels.ClosedChannelException
 at
 sun.nio.ch.SocketChannelImpl.ensureWriteOpen(SocketChannelImpl.java:135)
 at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:326)
 at
 org.apache.http.nio.reactor.ssl.SSLIOSession.sendEncryptedData(SSLIOSession.java:331)
 at
 org.apache.http.nio.reactor.ssl.SSLIOSession.outboundTransport(SSLIOSession.java:411)
 at
 org.apache.http.impl.nio.reactor.AbstractIODispatch.outputReady(AbstractIODispatch.java:150)
 at
 org.apache.http.impl.nio.reactor.BaseIOReactor.writable(BaseIOReactor.java:181)
 at
 org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvent(AbstractIOReactor.java:346)
 at
 org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvents(AbstractIOReactor.java:320)
 at
 org.apache.http.impl.nio.reactor.AbstractIOReactor.execute(AbstractIOReactor.java:280)
 at
 org.apache.http.impl.nio.reactor.BaseIOReactor.execute(BaseIOReactor.java:106)
 at
 org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor$Worker.run(AbstractMultiworkerIOReactor.java:604)
 at java.lang.Thread.run(Thread.java:662)

 ELB tries to send a request to the management node but the application
 member is not found, hence gets a ClosedChannelException.

 [1] https://wso2.org/jira/browse/LB-74
 [2] 
 http://ec2-54-224-94-128.compute-1.amazonaws.com/05-08-2013/http://www.google.com/url?q=http%3A%2F%2Fec2-54-224-94-128.compute-1.amazonaws.com%2F05-08-2013%2Fsa=Dsntz=1usg=AFQjCNGFLcc1dySI1P2yUGSGveqEpgXIug
 http://ec2-54-224-94-128.compute-1.amazonaws.com/09-08-2013/

 Jeewantha.



Re: [Dev] Cannot build the feature repository in 4.2.0 branch

2013-08-21 Thread Sameera Jayasoma
We build all the products..

On Thursday, August 22, 2013, Ajith Vitharana wrote:




 On Thu, Aug 22, 2013 at 9:11 AM, Sameera Jayasoma 
 same...@wso2.comjavascript:_e({}, 'cvml', 'same...@wso2.com');
  wrote:

 In order to build the P2 repository, you need build AS, IS, G-Reg, DSS,
 SS, APIM products as well as the nested-features in the features modules.
 Other option is to comment out the features belongs to other products..


 So, how do we provide a p2-repo for 4.2.0 release testing ?

 [1]https://wso2.org/jira/browse/REGISTRY-1765

 Thanks
 Ajith.



 Thanks,
 Sameera.


 On Wed, Aug 21, 2013 at 11:44 PM, Pulasthi Supun pulas...@wso2.comwrote:

 Hi,,

 I am getting the following failure when building the
 feature repository in the 4.2.0 branch.
 [INFO]

 [INFO]
 
 [INFO] Building WSO2 Carbon - Feature Repository 4.2.0
 [INFO]
 
 [INFO]
 [INFO] --- maven-clean-plugin:2.3:clean (default-clean) @
 wso2carbon-feature-repository ---
 [INFO] Deleting file set: 
 /home/pulasthi/work/wso2/carbon/4.2.0/platform/features/repository/target
 (included: [**], excluded: [])
 [INFO]
 [INFO] --- incremental-build-plugin:1.3:incremental-build (default) @
 wso2carbon-feature-repository ---
 [INFO] Verifying module descriptor ...
 [INFO] Pom descriptor modification detected.
 [INFO] Deleting /home/pulasthi/work/wso2/carbon/4.2.0
 /platform/features/repository/target
 [INFO]
 [INFO] --- carbon-p2-plugin:1.5.3:p2-repo-gen (2-p2-repo-generation) @
 wso2carbon-feature-repository ---
 [ERROR] Error occured when processing the Feature Artifact: org.wso2.dss:
 org.wso2.stratos.dss.dashboard.ui.feature:2.2.0
 org.apache.maven.plugin.MojoExecutionException: Error occured when
 processing the Feature Artifact: org.wso2.dss:org.wso2.stratos.dss.
 dashboard.ui.feature:2.2.0
  at org.wso2.maven.p2.RepositoryGenMojo.getProcessedFeatureArtifacts(
 RepositoryGenMojo.java:322)
  at org.wso2.maven.p2.RepositoryGenMojo.createRepo(RepositoryGenMojo.java
 :197)
  at org.wso2.maven.p2.RepositoryGenMojo.execute(RepositoryGenMojo.java:
 191)
  at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(
 DefaultBuildPluginManager.java:101)
  at org.apache.maven.lifecycle

 ___
 Dev mailing list
 Dev@wso2.org javascript:_e({}, 'cvml', 'Dev@wso2.org');
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Ajith Vitharana.
 WSO2 Inc. - http://wso2.org
 Email  :  aji...@wso2.com javascript:_e({}, 'cvml', 'aji...@wso2.com');
 Mobile : +94772217350



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

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


[Dev] [Identity OAuth2] Invalid response when invoking Token API

2013-08-21 Thread Ruwan Yatawara
Hi All,

I am getting an invalid response when invoking the /token api to create
User tokens.

Steps Followed ;

URL : https://localhost:8243/token
Headers : Authorization : Bearer base64-encodedconsumer key:consumer
sector

Payload
: grant_type=passwordusername=USER_NAMEpassword=PASSWORDscope=PRODUCTION

The response I get is : token_type
bearer
/token_type

This should not be the case.


Thanks and Regards,

Ruwan Yatawara

Software Engineer,
WSO2 Inc.
lean . enterprise . middleware

email : ruw...@wso2.com
mobile : +94 77 9110413
blog : http://ruwansrants.blogspot.com/
www: :http://wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Running G-Reg integrations tests with different DB config

2013-08-21 Thread Krishantha Samaraweera
Hi All,

I think we can easily run G-Reg integration test with different DB configs.
We have to get G-Reg pack and edit DB configs, then compress it and put it
to the correct location and execute tests.

We can generate a pack with all integration tests and point and run but,
but all test cases depends on the run time configuration changes will be
skipped, To get the full benefit of automated tests I highly recommend to
run the tests on the branch.

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


Re: [Dev] Running G-Reg integrations tests with different DB config

2013-08-21 Thread Ajith Vitharana
+1. But we are observing weird behavior in the test framework (may be
TestNGissue)  even with the default pack. The main problem is test
framework load
all the test cases in all the packages and execute randomly.
This makes the different results at each time we run all the tests together.

Thanks
Ajith.


On Thu, Aug 22, 2013 at 11:06 AM, Krishantha Samaraweera 
krishan...@wso2.com wrote:

 Hi All,

 I think we can easily run G-Reg integration test with different DB configs.
 We have to get G-Reg pack and edit DB configs, then compress it and put
 it to the correct location and execute tests.

 We can generate a pack with all integration tests and point and run but,
 but all test cases depends on the run time configuration changes will be
 skipped, To get the full benefit of automated tests I highly recommend to
 run the tests on the branch.

 Thanks,
 Krishantha.




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


Re: [Dev] Running G-Reg integrations tests with different DB config

2013-08-21 Thread Nuwan Wimalasekara
Hi Ajith
I am looking into this.

Thanks,
Nuwanw


On Thu, Aug 22, 2013 at 11:20 AM, Ajith Vitharana aji...@wso2.com wrote:

 +1. But we are observing weird behavior in the test framework (may be
 TestNG issue)  even with the default pack. The main problem is test
 framework load all the test cases in all the packages and execute randomly.
 This makes the different results at each time we run all the tests
 together.

 Thanks
 Ajith.


 On Thu, Aug 22, 2013 at 11:06 AM, Krishantha Samaraweera 
 krishan...@wso2.com wrote:

 Hi All,

 I think we can easily run G-Reg integration test with different DB
 configs. We have to get G-Reg pack and edit DB configs, then compress it
 and put it to the correct location and execute tests.

 We can generate a pack with all integration tests and point and run but,
 but all test cases depends on the run time configuration changes will be
 skipped, To get the full benefit of automated tests I highly recommend to
 run the tests on the branch.

 Thanks,
 Krishantha.




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




-- 
Nuwan Wimalasekara
Senior Software Engineer - Test Automation
WSO2, Inc.: http://wso2.com
lean. enterprise. middleware

phone: +94 71 668 4620
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev