[Dev] SAML2 Authenticator does not ship with the products..

2012-09-23 Thread Prabath Siriwardena
Is the $subject intentional.. In the case please install SAML2
authenticator feature to enable SSO...

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


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

2012-09-23 Thread Bamboo

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

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





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


[Dev] [Bamboo-Build] Carbon Snapshot Kernel #440 has FAILED (13 tests failed, no failures were new)

2012-09-23 Thread Bamboo

---
Carbon Snapshot  Kernel  #440 failed.
---
This build occurred because it is a dependant of 
WSO2CARBON-CARBONKERNELBUILD-186.
13/3851 tests failed, no failures were new.

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

-
Currently Responsible
-

No one is responsible for fixing this build.



--
Failing Jobs
--
  - Default Job (Default Stage): 13 of 3851 tests failed.




--
Tests
--
Existing Test Failures (13)
   - PackageTests: Warning
   - TestWSSecurityCertError: X509 signature
   - TestWSSecurityCertError: Encryption
   - TestWSSecurityNew2: Encryption decryption r s a15
   - TestWSSecurityNewST1: S a m l unsigned sender vouches
   - TestWSSecurityNewST2: Default issuer class
   - TestWSSecurityNewST2: S a m l signed sender vouches
   - TestWSSecurityNewST2: W s s62
   - TestWSSecurityNewST2: S a m l signed sender vouches key identifier
   - TestWSSecurityNewST3: S a m l signed key holder
   - TestWSSecurityNewST3: S a m l signed key holder key identifier
   - TestWSSecurityNewST3: S a m l signed key holder send key value
   - TestWSSecuritySignatureParts: S o a p header s t r transform

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


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

2012-09-23 Thread Bamboo

---
WSO2 Carbon BRANCH  Products_4.0.0  #126 failed.
---
Code has been updated by krishantha, madhuka, prabatha, amilam.
No failed tests found, a possible compilation error.

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

-
Currently Responsible
-

No one is responsible for fixing this build.



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



--
Code Changes
--
prabatha (143431):

https://wso2.org/jira/browse/DS-654

krishantha (143441):

Adding DSS test artifacts

prabatha (143439):

fixing minor ui issues in databasePrivilegeTemplate listing page



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


Re: [Dev] BAM Server Start-up Error after re-factoring CarbonContext

2012-09-23 Thread Kasun Weranga
On Fri, Sep 21, 2012 at 12:13 AM, Madhuka Udantha madh...@wso2.com wrote:

 Hi,

 Jaggery version is updated to jaggery/0.9.0.ALPHA2-wso2v2
 and updated build also.
 you can updated it for your products. (BAM/AS/APImgt/API factory)


I updated BAM and AS.



 Thanks



 On Thu, Sep 20, 2012 at 12:52 PM, Madhuka Udantha madh...@wso2.comwrote:



 On Thu, Sep 20, 2012 at 11:02 AM, Sinthuja Ragendran 
 sinth...@wso2.comwrote:


 Hi,
 On Wed, Sep 19, 2012 at 10:27 AM, Madhuka Udantha madh...@wso2.comwrote:

 hi,

 I will update those changes with  ' jaggery 0.9.0.ALPHA2-wso2v2'

  Is this updated?

 I have added 'jaggery\0.9.0.ALPHA2-wso2v2\' but still I did not apply for
 component and features
 Because this change make some test failure in jaggery WS and WSstub.
 So I am working in those,

 if you do not use this host objects (WS/WS-Stub)  You can try out this
 change jaggery 0.9.0.ALPHA2-wso2v2
 When I complete this I will update this thread.


 Thanks,
 Sinthuja.



 On Wed, Sep 19, 2012 at 7:50 AM, Pradeep Fernando prad...@wso2.comwrote:

 Hi,

 I used 4.0.0 as the path split while getting the list of components to
 be re-factored. Looks like i have missed the jaggery components.
 (0.9.0)

 madhuka/nuwan please have a look.

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




 --
 *Madhuka* Udantha
 http://madhukaudantha.blogspot.com/





 --
 *Madhuka* Udantha
 http://madhukaudantha.blogspot.com/




 --
 *Madhuka* Udantha
 http://madhukaudantha.blogspot.com/


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


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


[Dev] AS start-up issue

2012-09-23 Thread Kasun Weranga
Hi,

I am getting following issue when starting the AS.

[2012-09-23 17:19:29,459] ERROR
{org.wso2.carbon.mashup.jsservices.deployer.JSDeployer} -  The service
RESTSample.js is not valid.
java.lang.NoClassDefFoundError:
org/wso2/carbon/core/multitenancy/SuperTenantCarbonContext
at
org.wso2.carbon.mashup.jsservices.deployer.JSDeployer.deploy(JSDeployer.java:157)
 at
org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(DeploymentFileData.java:136)
at
org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:810)
 at
org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoList.java:144)
at
org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener.java:377)
 at
org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:254)
at
org.apache.axis2.deployment.DeploymentEngine.loadServices(DeploymentEngine.java:139)
 at
org.wso2.carbon.core.CarbonAxisConfigurator.loadServices(CarbonAxisConfigurator.java:461)
at
org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:95)
 at
org.wso2.carbon.core.CarbonConfigurationContextFactory.createNewConfigurationContext(CarbonConfigurationContextFactory.java:65)
at
org.wso2.carbon.core.init.CarbonServerManager.initializeCarbon(CarbonServerManager.java:397)
 at
org.wso2.carbon.core.init.CarbonServerManager.removePendingItem(CarbonServerManager.java:289)
at
org.wso2.carbon.core.init.PreAxis2ConfigItemListener.bundleChanged(PreAxis2ConfigItemListener.java:118)
 at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:847)
at
org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
 at
org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)
Caused by: java.lang.ClassNotFoundException:
org.wso2.carbon.core.multitenancy.SuperTenantCarbonContext
 at
org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:467)
at
org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:429)
 at
org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:417)
at
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
... 16 more
[2012-09-23 17:19:29,462] FATAL
{org.wso2.carbon.core.init.CarbonServerManager} -  WSO2 Carbon
initialization Failed
java.lang.NoClassDefFoundError:
org/wso2/carbon/core/multitenancy/SuperTenantCarbonContext
at
org.wso2.carbon.mashup.jsservices.deployer.JSDeployer.deploy(JSDeployer.java:206)
 at
org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(DeploymentFileData.java:136)
at
org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:810)
 at
org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoList.java:144)
at
org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener.java:377)
 at
org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:254)
at
org.apache.axis2.deployment.DeploymentEngine.loadServices(DeploymentEngine.java:139)
 at
org.wso2.carbon.core.CarbonAxisConfigurator.loadServices(CarbonAxisConfigurator.java:461)
at
org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:95)
 at
org.wso2.carbon.core.CarbonConfigurationContextFactory.createNewConfigurationContext(CarbonConfigurationContextFactory.java:65)
at
org.wso2.carbon.core.init.CarbonServerManager.initializeCarbon(CarbonServerManager.java:397)
 at
org.wso2.carbon.core.init.CarbonServerManager.removePendingItem(CarbonServerManager.java:289)
at
org.wso2.carbon.core.init.PreAxis2ConfigItemListener.bundleChanged(PreAxis2ConfigItemListener.java:118)
 at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:847)
at
org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
 at
org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)

Please fix it.


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


Re: [Dev] Test failure in SecurityVerificationTest

2012-09-23 Thread Kasun Weranga
On Fri, Sep 21, 2012 at 7:07 PM, Suresh Attanayaka sur...@wso2.com wrote:

 Hi,

 I'm getting this test failure for the IS build too. Can someone help us
 with this ?


We are facing this issue in BAM too.

Thanks,
KasunW.


 Thanks,
 -Suresh

 On Wed, Sep 19, 2012 at 6:15 PM, Sanjaya Vithanagama sanja...@wso2.comwrote:

 Hi All,

 When I'm running the BPS SecurityVerificationTest case which is a sub
 class of org.wso2.carbon.integration.framework.SecurityVerificationTest, I
 get the following error.

 verifyAdminServiceSecurity(org.wso2.bps.integration.tests.SecurityVerificationTestCase)
 Time elapsed: 0.086 sec   FAILURE!
 org.apache.axis2.AxisFault:
 org/wso2/carbon/core/multitenancy/SuperTenantCarbonContext
 at
 org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.java:531)
 at
 org.apache.axis2.description.RobustOutOnlyAxisOperation$RobustOutOnlyOperationClient.handleResponse(RobustOutOnlyAxisOperation.java:91)
 at
 org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:421)
 at
 org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:229)
 at
 org.apache.axis2.client.OperationClient.execute(OperationClient.java:165)
 at
 org.apache.axis2.client.ServiceClient.sendRobust(ServiceClient.java:475)
 at
 org.apache.axis2.client.ServiceClient.sendRobust(ServiceClient.java:456)
 at
 org.wso2.carbon.integration.framework.SecurityVerificationTest.verifyAdminServiceSecurity(SecurityVerificationTest.java:59)
 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.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:80)
 at org.testng.internal.Invoker.invokeMethod(Invoker.java:673)
 at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:842)
 at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1166)
 at
 org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125)
 at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
 at org.testng.TestRunner.runWorkers(TestRunner.java:1178)
 at org.testng.TestRunner.privateRun(TestRunner.java:757)
 at org.testng.TestRunner.run(TestRunner.java:608)
 at org.testng.SuiteRunner.runTest(SuiteRunner.java:334)
 at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:329)
 at org.testng.SuiteRunner.privateRun(SuiteRunner.java:291)
 at org.testng.SuiteRunner.run(SuiteRunner.java:240)
 at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
 at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
 at org.testng.TestNG.runSuitesSequentially(TestNG.java:1158)
 at org.testng.TestNG.runSuitesLocally(TestNG.java:1083)
 at org.testng.TestNG.run(TestNG.java:999)
 at
 org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:177)
 at
 org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:92)
 at
 org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:105)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:597)
 at
 org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
 at
 org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
 at
 org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
 at
 org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:103)
 at
 org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:74)

 --
 Sanjaya Vithanagama
 WSO2, Inc.; http://wso2.com
 lean.enterprise.middleware

 cell: +94 71 342 2881


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




 --
 Suresh Attanayake
 Software Engineer; WSO2 Inc. http://wso2.com/
 Blog : http://sureshatt.blogspot.com/
 Twitter : https://twitter.com/sureshatt
 LinkedIn : http://lk.linkedin.com/in/sureshatt
 Mobile : +94755012060,+94770419136,+94710467976


 ___
 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] Test failure in SecurityVerificationTest

2012-09-23 Thread Eranda Sooriyabandara
Here in G-Reg too and any idea how to fix it?

On Sun, Sep 23, 2012 at 5:48 PM, Kasun Weranga kas...@wso2.com wrote:



 On Fri, Sep 21, 2012 at 7:07 PM, Suresh Attanayaka sur...@wso2.comwrote:

 Hi,

 I'm getting this test failure for the IS build too. Can someone help us
 with this ?


 We are facing this issue in BAM too.

 Thanks,
 KasunW.


 Thanks,
 -Suresh

  On Wed, Sep 19, 2012 at 6:15 PM, Sanjaya Vithanagama 
 sanja...@wso2.comwrote:

 Hi All,

 When I'm running the BPS SecurityVerificationTest case which is a sub
 class of org.wso2.carbon.integration.framework.SecurityVerificationTest, I
 get the following error.

 verifyAdminServiceSecurity(org.wso2.bps.integration.tests.SecurityVerificationTestCase)
 Time elapsed: 0.086 sec   FAILURE!
 org.apache.axis2.AxisFault:
 org/wso2/carbon/core/multitenancy/SuperTenantCarbonContext
 at
 org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.java:531)
 at
 org.apache.axis2.description.RobustOutOnlyAxisOperation$RobustOutOnlyOperationClient.handleResponse(RobustOutOnlyAxisOperation.java:91)
 at
 org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:421)
 at
 org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:229)
 at
 org.apache.axis2.client.OperationClient.execute(OperationClient.java:165)
 at
 org.apache.axis2.client.ServiceClient.sendRobust(ServiceClient.java:475)
 at
 org.apache.axis2.client.ServiceClient.sendRobust(ServiceClient.java:456)
 at
 org.wso2.carbon.integration.framework.SecurityVerificationTest.verifyAdminServiceSecurity(SecurityVerificationTest.java:59)
 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.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:80)
 at org.testng.internal.Invoker.invokeMethod(Invoker.java:673)
 at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:842)
 at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1166)
 at
 org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125)
 at
 org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
 at org.testng.TestRunner.runWorkers(TestRunner.java:1178)
 at org.testng.TestRunner.privateRun(TestRunner.java:757)
 at org.testng.TestRunner.run(TestRunner.java:608)
 at org.testng.SuiteRunner.runTest(SuiteRunner.java:334)
 at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:329)
 at org.testng.SuiteRunner.privateRun(SuiteRunner.java:291)
 at org.testng.SuiteRunner.run(SuiteRunner.java:240)
 at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
 at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
 at org.testng.TestNG.runSuitesSequentially(TestNG.java:1158)
 at org.testng.TestNG.runSuitesLocally(TestNG.java:1083)
 at org.testng.TestNG.run(TestNG.java:999)
 at
 org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:177)
 at
 org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:92)
 at
 org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:105)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:597)
 at
 org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
 at
 org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
 at
 org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
 at
 org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:103)
 at
 org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:74)

 --
 Sanjaya Vithanagama
 WSO2, Inc.; http://wso2.com
 lean.enterprise.middleware

 cell: +94 71 342 2881


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




 --
 Suresh Attanayake
 Software Engineer; WSO2 Inc. http://wso2.com/
 Blog : http://sureshatt.blogspot.com/
 Twitter : https://twitter.com/sureshatt
 LinkedIn : http://lk.linkedin.com/in/sureshatt
 Mobile : +94755012060,+94770419136,+94710467976


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




 ___
 Dev mailing list
 Dev@wso2.org
 

Re: [Dev] Test failure in SecurityVerificationTest

2012-09-23 Thread Pradeep Fernando
Hi,

I introduced a secuirtyVerifier 4.0.2 module along with 4.0.2
integration tests.

1. you have to get svn up of kernel/distribution
2. update he secverifier dependencies found in your product
integration test modules

please let me know whether it works for your products.

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


[Dev] Please fix these svn external errors

2012-09-23 Thread Pradeep Fernando
Fetching external item into
'products/esb/4.5.0/modules/samples/product/services/LoadbalanceFailoverService/src'
svn: warning: OPTIONS of
'https://svn.apache.org/repos/asf/synapse/trunk/java/modules/samples/services/LoadbalanceFailoverService/src':
Could not resolve hostname `svn.apache.org': No address associated
with hostname (https://svn.apache.org)

svn: warning: Error handling externals definition for
'products/manager/2.0.0/conf/identity.xml':
svn: warning: OPTIONS of
'https://svn.wso2.org/repos/wso2/carbon/platform/branches/4.0.0/features/identity/identity-core/org.wso2.carbon.identity.core.server.feature/4.0.0/resources/identity.xml':
Could not resolve hostname `svn.wso2.org': No address associated with
hostname (https://svn.wso2.org)


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


Re: [Dev] AS start-up issue

2012-09-23 Thread Sumedha Rubasinghe
Refer '[Dev] Login as a tenant fails in DSS'. Ajith has fixed this. Is this
on AS release?


On Sun, Sep 23, 2012 at 5:30 PM, Kasun Weranga kas...@wso2.com wrote:

 Hi,

 I am getting following issue when starting the AS.

 [2012-09-23 17:19:29,459] ERROR
 {org.wso2.carbon.mashup.jsservices.deployer.JSDeployer} -  The service
 RESTSample.js is not valid.
 java.lang.NoClassDefFoundError:
 org/wso2/carbon/core/multitenancy/SuperTenantCarbonContext
 at
 org.wso2.carbon.mashup.jsservices.deployer.JSDeployer.deploy(JSDeployer.java:157)
  at
 org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(DeploymentFileData.java:136)
 at
 org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:810)
  at
 org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoList.java:144)
 at
 org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener.java:377)
  at
 org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:254)
 at
 org.apache.axis2.deployment.DeploymentEngine.loadServices(DeploymentEngine.java:139)
  at
 org.wso2.carbon.core.CarbonAxisConfigurator.loadServices(CarbonAxisConfigurator.java:461)
 at
 org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:95)
  at
 org.wso2.carbon.core.CarbonConfigurationContextFactory.createNewConfigurationContext(CarbonConfigurationContextFactory.java:65)
 at
 org.wso2.carbon.core.init.CarbonServerManager.initializeCarbon(CarbonServerManager.java:397)
  at
 org.wso2.carbon.core.init.CarbonServerManager.removePendingItem(CarbonServerManager.java:289)
 at
 org.wso2.carbon.core.init.PreAxis2ConfigItemListener.bundleChanged(PreAxis2ConfigItemListener.java:118)
  at
 org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:847)
 at
 org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
  at
 org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)
 Caused by: java.lang.ClassNotFoundException:
 org.wso2.carbon.core.multitenancy.SuperTenantCarbonContext
  at
 org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:467)
 at
 org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:429)
  at
 org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:417)
 at
 org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
  at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
 ... 16 more
 [2012-09-23 17:19:29,462] FATAL
 {org.wso2.carbon.core.init.CarbonServerManager} -  WSO2 Carbon
 initialization Failed
 java.lang.NoClassDefFoundError:
 org/wso2/carbon/core/multitenancy/SuperTenantCarbonContext
 at
 org.wso2.carbon.mashup.jsservices.deployer.JSDeployer.deploy(JSDeployer.java:206)
  at
 org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(DeploymentFileData.java:136)
 at
 org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:810)
  at
 org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoList.java:144)
 at
 org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener.java:377)
  at
 org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:254)
 at
 org.apache.axis2.deployment.DeploymentEngine.loadServices(DeploymentEngine.java:139)
  at
 org.wso2.carbon.core.CarbonAxisConfigurator.loadServices(CarbonAxisConfigurator.java:461)
 at
 org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:95)
  at
 org.wso2.carbon.core.CarbonConfigurationContextFactory.createNewConfigurationContext(CarbonConfigurationContextFactory.java:65)
 at
 org.wso2.carbon.core.init.CarbonServerManager.initializeCarbon(CarbonServerManager.java:397)
  at
 org.wso2.carbon.core.init.CarbonServerManager.removePendingItem(CarbonServerManager.java:289)
 at
 org.wso2.carbon.core.init.PreAxis2ConfigItemListener.bundleChanged(PreAxis2ConfigItemListener.java:118)
  at
 org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:847)
 at
 org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
  at
 org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)

 Please fix it.


 Thanks,
 KasunW.

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




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


Re: [Dev] Please fix these svn external errors

2012-09-23 Thread Pradeep Fernando
have a feeling that, this is local to me (network issue)

in that case, please ignore.

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


Re: [Dev] AS start-up issue

2012-09-23 Thread Kasun Gajasinghe
This issue is in the JS Deployer which does the deploying of mashup
services. Madhuka working on this IIRC.

--KasunG

On Sun, Sep 23, 2012 at 5:30 PM, Kasun Weranga kas...@wso2.com wrote:

 Hi,

 I am getting following issue when starting the AS.

 [2012-09-23 17:19:29,459] ERROR
 {org.wso2.carbon.mashup.jsservices.deployer.JSDeployer} -  The service
 RESTSample.js is not valid.
 java.lang.NoClassDefFoundError:
 org/wso2/carbon/core/multitenancy/SuperTenantCarbonContext
 at
 org.wso2.carbon.mashup.jsservices.deployer.JSDeployer.deploy(JSDeployer.java:157)
  at
 org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(DeploymentFileData.java:136)
 at
 org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:810)
  at
 org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoList.java:144)
 at
 org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener.java:377)
  at
 org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:254)
 at
 org.apache.axis2.deployment.DeploymentEngine.loadServices(DeploymentEngine.java:139)
  at
 org.wso2.carbon.core.CarbonAxisConfigurator.loadServices(CarbonAxisConfigurator.java:461)
 at
 org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:95)
  at
 org.wso2.carbon.core.CarbonConfigurationContextFactory.createNewConfigurationContext(CarbonConfigurationContextFactory.java:65)
 at
 org.wso2.carbon.core.init.CarbonServerManager.initializeCarbon(CarbonServerManager.java:397)
  at
 org.wso2.carbon.core.init.CarbonServerManager.removePendingItem(CarbonServerManager.java:289)
 at
 org.wso2.carbon.core.init.PreAxis2ConfigItemListener.bundleChanged(PreAxis2ConfigItemListener.java:118)
  at
 org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:847)
 at
 org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
  at
 org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)
 Caused by: java.lang.ClassNotFoundException:
 org.wso2.carbon.core.multitenancy.SuperTenantCarbonContext
  at
 org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:467)
 at
 org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:429)
  at
 org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:417)
 at
 org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
  at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
 ... 16 more
 [2012-09-23 17:19:29,462] FATAL
 {org.wso2.carbon.core.init.CarbonServerManager} -  WSO2 Carbon
 initialization Failed
 java.lang.NoClassDefFoundError:
 org/wso2/carbon/core/multitenancy/SuperTenantCarbonContext
 at
 org.wso2.carbon.mashup.jsservices.deployer.JSDeployer.deploy(JSDeployer.java:206)
  at
 org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(DeploymentFileData.java:136)
 at
 org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:810)
  at
 org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoList.java:144)
 at
 org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener.java:377)
  at
 org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:254)
 at
 org.apache.axis2.deployment.DeploymentEngine.loadServices(DeploymentEngine.java:139)
  at
 org.wso2.carbon.core.CarbonAxisConfigurator.loadServices(CarbonAxisConfigurator.java:461)
 at
 org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:95)
  at
 org.wso2.carbon.core.CarbonConfigurationContextFactory.createNewConfigurationContext(CarbonConfigurationContextFactory.java:65)
 at
 org.wso2.carbon.core.init.CarbonServerManager.initializeCarbon(CarbonServerManager.java:397)
  at
 org.wso2.carbon.core.init.CarbonServerManager.removePendingItem(CarbonServerManager.java:289)
 at
 org.wso2.carbon.core.init.PreAxis2ConfigItemListener.bundleChanged(PreAxis2ConfigItemListener.java:118)
  at
 org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:847)
 at
 org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
  at
 org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)

 Please fix it.


 Thanks,
 KasunW.

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




-- 
*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://blog.kasunbg.org* http://blog.kasunbg.org*
twitter: **http://twitter.com/kasunbg* http://twitter.com/kasunbg*
*
___
Dev mailing list

Re: [Dev] Please fix these svn external errors

2012-09-23 Thread Pradeep Fernando
Fetching external item into
'products/esb/4.5.0/modules/samples/product/services/SecureStockQuoteService/src'
svn: warning: OPTIONS of
'https://svn.apache.org/repos/asf/synapse/trunk/java/modules/samples/services/SecureStockQuoteService/src':
Could not resolve hostname `svn.apache.org': No address associated
with hostname (https://svn.apache.org)


externals pointing to apache trunk. this is not local to me :)

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


Re: [Dev] Please fix these svn external errors

2012-09-23 Thread Amila Maha Arachchi
On Sun, Sep 23, 2012 at 8:31 PM, Pradeep Fernando prad...@wso2.com wrote:

 have a feeling that, this is local to me (network issue)

 in that case, please ignore.


Yes, these are due to issues in your network connection. DNS issues.


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




-- 
*Amila Maharachchi*
Technical Lead
Member, Management Committee - Cloud  Platform TG
WSO2, Inc.; http://wso2.com

Blog: http://maharachchi.blogspot.com
Mobile: +94719371446
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] carbon.utils bundle not satisfied in my locally built Manager pack

2012-09-23 Thread Amila Maha Arachchi
Hi Devs,

In the latest Manager pack I built, carbon.utils bundle seems to be not
satisfied. Following is the output from osgi console. Any idea why? My
source is up to date.

osgi ls -c 306
Components in bundle org.wso2.carbon.utils:
IDComponent details
96Component[
name =
org.wso2.carbon.context.internal.CarbonContextDiscoveryServiceComponent
factory = null
autoenable = true
immediate = true
implementation =
org.wso2.carbon.context.internal.CarbonContextDiscoveryServiceComponent
state = Unsatisfied
properties =
{service.pid=org.wso2.carbon.context.internal.CarbonContextDiscoveryServiceComponent}
serviceFactory = false
serviceInterface = null
references = {
Reference[name = discoveryService, interface =
org.wso2.carbon.base.DiscoveryService, policy = dynamic, cardinality =
0..1, target = null, bind = setDiscoveryService, unbind =
unsetDiscoveryService]
}
located in bundle = org.wso2.carbon.utils_4.0.2 [306]
]
Dynamic information :
  The component is satisfied
  The following references are not satisfied:
Reference[name = discoveryService, interface =
org.wso2.carbon.base.DiscoveryService, policy = dynamic, cardinality =
0..1, target = null, bind = setDiscoveryService, unbind =
unsetDiscoveryService]
  Component configurations :
Configuration properties:
  service.pid =
org.wso2.carbon.context.internal.CarbonContextDiscoveryServiceComponent
  component.name =
org.wso2.carbon.context.internal.CarbonContextDiscoveryServiceComponent
  component.id = 95
Instances:
  org.eclipse.equinox.internal.ds.impl.ComponentInstanceImpl@44edb080

97Component[
name = org.wso2.carbon.context.internal.CarbonContextServiceComponent
factory = null
autoenable = true
immediate = true
implementation =
org.wso2.carbon.context.internal.CarbonContextServiceComponent
state = Unsatisfied
properties =
{service.pid=org.wso2.carbon.context.internal.CarbonContextServiceComponent}
serviceFactory = false
serviceInterface = null
references = {
Reference[name = registry.service, interface =
org.wso2.carbon.registry.api.RegistryService, policy = dynamic, cardinality
= 1..1, target = null, bind = setRegistryService, unbind =
unsetRegistryService]
}
located in bundle = org.wso2.carbon.utils_4.0.2 [306]
]
Dynamic information :
  *The component is NOT satisfied
  The following references are not satisfied:
Reference[name = registry.service, interface = *
org.wso2.carbon.registry.api.RegistryService*, policy = dynamic,
cardinality = 1..1, target = null, bind = setRegistryService, unbind =
unsetRegistryService]
  Component configurations :
Configuration properties:
  service.pid =
org.wso2.carbon.context.internal.CarbonContextServiceComponent
  component.name =
org.wso2.carbon.context.internal.CarbonContextServiceComponent
  component.id = 96
Instances:


Regards,
AmilaM.

-- 
*Amila Maharachchi*
Technical Lead
Member, Management Committee - Cloud  Platform TG
WSO2, Inc.; http://wso2.com

Blog: http://maharachchi.blogspot.com
Mobile: +94719371446
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] carbon.utils bundle not satisfied in my locally built Manager pack

2012-09-23 Thread Amila Maha Arachchi
I checked this in the kernel 4.0.2 distro and the problem is there too. Is
this local to me or others also seeing this? (my build is not on a clean
repo).

On Sun, Sep 23, 2012 at 10:40 PM, Amila Maha Arachchi ami...@wso2.comwrote:

 Hi Devs,

 In the latest Manager pack I built, carbon.utils bundle seems to be not
 satisfied. Following is the output from osgi console. Any idea why? My
 source is up to date.

 osgi ls -c 306
 Components in bundle org.wso2.carbon.utils:
 IDComponent details
 96Component[
 name =
 org.wso2.carbon.context.internal.CarbonContextDiscoveryServiceComponent
 factory = null
 autoenable = true
 immediate = true
 implementation =
 org.wso2.carbon.context.internal.CarbonContextDiscoveryServiceComponent
 state = Unsatisfied
 properties =
 {service.pid=org.wso2.carbon.context.internal.CarbonContextDiscoveryServiceComponent}
 serviceFactory = false
 serviceInterface = null
 references = {
 Reference[name = discoveryService, interface =
 org.wso2.carbon.base.DiscoveryService, policy = dynamic, cardinality =
 0..1, target = null, bind = setDiscoveryService, unbind =
 unsetDiscoveryService]
 }
 located in bundle = org.wso2.carbon.utils_4.0.2 [306]
 ]
 Dynamic information :
   The component is satisfied
   The following references are not satisfied:
 Reference[name = discoveryService, interface =
 org.wso2.carbon.base.DiscoveryService, policy = dynamic, cardinality =
 0..1, target = null, bind = setDiscoveryService, unbind =
 unsetDiscoveryService]
   Component configurations :
 Configuration properties:
   service.pid =
 org.wso2.carbon.context.internal.CarbonContextDiscoveryServiceComponent
   component.name =
 org.wso2.carbon.context.internal.CarbonContextDiscoveryServiceComponent
   component.id = 95
 Instances:
   org.eclipse.equinox.internal.ds.impl.ComponentInstanceImpl@44edb080

 97Component[
 name = org.wso2.carbon.context.internal.CarbonContextServiceComponent
 factory = null
 autoenable = true
 immediate = true
 implementation =
 org.wso2.carbon.context.internal.CarbonContextServiceComponent
 state = Unsatisfied
 properties =
 {service.pid=org.wso2.carbon.context.internal.CarbonContextServiceComponent}
 serviceFactory = false
 serviceInterface = null
 references = {
 Reference[name = registry.service, interface =
 org.wso2.carbon.registry.api.RegistryService, policy = dynamic, cardinality
 = 1..1, target = null, bind = setRegistryService, unbind =
 unsetRegistryService]
 }
 located in bundle = org.wso2.carbon.utils_4.0.2 [306]
 ]
 Dynamic information :
   *The component is NOT satisfied
   The following references are not satisfied:
 Reference[name = registry.service, interface = *
 org.wso2.carbon.registry.api.RegistryService*, policy = dynamic,
 cardinality = 1..1, target = null, bind = setRegistryService, unbind =
 unsetRegistryService]
   Component configurations :
 Configuration properties:
   service.pid =
 org.wso2.carbon.context.internal.CarbonContextServiceComponent
   component.name =
 org.wso2.carbon.context.internal.CarbonContextServiceComponent
   component.id = 96
 Instances:


 Regards,
 AmilaM.

 --
 *Amila Maharachchi*
 Technical Lead
 Member, Management Committee - Cloud  Platform TG
 WSO2, Inc.; http://wso2.com

 Blog: http://maharachchi.blogspot.com
 Mobile: +94719371446





-- 
*Amila Maharachchi*
Technical Lead
Member, Management Committee - Cloud  Platform TG
WSO2, Inc.; http://wso2.com

Blog: http://maharachchi.blogspot.com
Mobile: +94719371446
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] carbon.utils bundle not satisfied in my locally built Manager pack

2012-09-23 Thread Pradeep Fernando
Hi,

known issue. Then again there is no issue here. Discovery service is
only available if the corresponding feature is installed.
@Ajith : please register the RegistryService against
org.wso2.carbon.registry.api.RegistryService interface as well.

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


[Dev] [Bamboo-Build] WSO2 Carbon BRANCH Platform_4.0.0 #361 has FAILED (7 tests failed, 1 failures were new). Change made by suho, prabatha and sanjeewa.

2012-09-23 Thread Bamboo

---
WSO2 Carbon BRANCH  Platform_4.0.0  #361 failed.
---
Code has been updated by suho, prabatha, sanjeewa.
7/777 tests failed, 1 failure was new.

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

-
Currently Responsible
-

No one is responsible for fixing this build.



--
Failing Jobs
--
  - Default Job (Default Stage): 7 of 777 tests failed.



--
Code Changes
--
sanjeewa (143511):

fixing issue in invalidating cache after making cache configurable(gateway or 
keymgt)

suho (143510):

patch be Sachini, Display the count of deployed buckets in 
cep_deployed_buckets.jsp


prabatha (143512):

fixing https://wso2.org/jira/browse/DS-607 and generifying the usage of 
columns in the sources



--
Tests
--
New Test Failures (1)
   - JoinDistributedTestCase: Join distributed query1
Existing Test Failures (6)
   - EndpointTest: Add service with endpoints
   - EndpointTest: Attach endpoints to service
   - TestPolicyUtil: Steps
   - TestServiceGroupAdmin: Steps
   - TestServiceArchiveCreator: Steps
   - JoinDistributedTestCase: Join distributed query2
Fixed Tests (1)
   - JoinDistributedTestCase: Join distributed query3

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


Re: [Dev] G-Reg test integration hangs

2012-09-23 Thread Krishantha Samaraweera
Hi Eranda,

Will check this after building the branch. BTW, I haven't encountered such
an issue while running all G-Reg tests on 4.5.0 build.

Thanks,
Krishantha.

On Sun, Sep 23, 2012 at 9:59 AM, Eranda Sooriyabandara era...@wso2.comwrote:

 Hi Krishantha,
 I see the test framework hangs for long time in testDiscoveryProxy. Since
 it hung we cannot see the test failures.
 Please do the needful if needed.

 thanks
 Eranda

 *
 *


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


Re: [Dev] Test failure in SecurityVerificationTest

2012-09-23 Thread Eranda Sooriyabandara
Hi Pradeep,
After changing the SecVerifier version to 4.0.2, I was able to run this
test successful.

thanks
Eranda

On Sun, Sep 23, 2012 at 7:28 PM, Pradeep Fernando prad...@wso2.com wrote:

 Hi,

 I introduced a secuirtyVerifier 4.0.2 module along with 4.0.2
 integration tests.

 1. you have to get svn up of kernel/distribution
 2. update he secverifier dependencies found in your product
 integration test modules

 please let me know whether it works for your products.

 --Pradeep




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

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


[Dev] API Manager REST API error when trying to get subscriptions

2012-09-23 Thread Janaka Ranabahu
Hi All,

Im getting the following error when trying to use the REST API of API
Manager and fetch the subscriptions for a user.


[2012-09-24 07:58:59,116]  INFO - CarbonAuthenticationUtil
'admin@carbon.super [-1234]' logged in at [2012-09-24 07:58:59,115+0530]
from IP address 10.200.2.99
[2012-09-24 07:59:23,500]  INFO - CarbonAuthenticationUtil
'admin@carbon.super [-1234]' logged in at [2012-09-24 07:59:23,499+0530]
from IP address 10.200.2.99
[2012-09-24 07:59:23,589] ERROR - RhinoEngine
org.mozilla.javascript.EcmaError: ReferenceError: user is not defined.
(/store/site/blocks/subscription/subscription-list/ajax/subscription-list.jag#8)
[2012-09-24 07:59:23,593] ERROR - WebAppManager
org.mozilla.javascript.EcmaError: ReferenceError: user is not defined.
(/store/site/blocks/subscription/subscription-list/ajax/subscription-list.jag#8)
org.jaggeryjs.scriptengine.exceptions.ScriptException:
org.mozilla.javascript.EcmaError: ReferenceError: user is not defined.
(/store/site/blocks/subscription/subscription-list/ajax/subscription-list.jag#8)
 at
org.jaggeryjs.scriptengine.engine.RhinoEngine.execScript(RhinoEngine.java:451)
at org.jaggeryjs.scriptengine.engine.RhinoEngine.exec(RhinoEngine.java:202)
 at
org.jaggeryjs.jaggery.core.manager.WebAppManager.execute(WebAppManager.java:224)
at org.jaggeryjs.jaggery.core.JaggeryServlet.doPost(JaggeryServlet.java:51)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
 at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
 at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:225)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
 at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
 at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
at
org.wso2.carbon.tomcat.ext.valves.CompositeValve.invoke(CompositeValve.java:133)
 at
org.wso2.carbon.tomcat.ext.valves.CarbonStuckThreadDetectionValve.invoke(CarbonStuckThreadDetectionValve.java:156)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
 at
org.wso2.carbon.tomcat.ext.valves.CarbonContextCreatorValve.invoke(CarbonContextCreatorValve.java:49)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
 at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
at
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1001)
 at
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:579)
at
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1653)
 at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
 at java.lang.Thread.run(Thread.java:662)
Caused by: org.mozilla.javascript.EcmaError: ReferenceError: user is not
defined.
(/store/site/blocks/subscription/subscription-list/ajax/subscription-list.jag#8)
 at
org.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3557)
at
org.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3535)
 at
org.mozilla.javascript.ScriptRuntime.notFoundError(ScriptRuntime.java:3620)
at org.mozilla.javascript.ScriptRuntime.name(ScriptRuntime.java:1652)
 at
org.wso2.carbon.rhino.store.site.blocks.subscription.subscription_list.ajax.c0._c1(/store/site/blocks/subscription/subscription-list/ajax/subscription-list.jag:8)
 at
org.wso2.carbon.rhino.store.site.blocks.subscription.subscription_list.ajax.c0.call(/store/site/blocks/subscription/subscription-list/ajax/subscription-list.jag)
 at org.mozilla.javascript.optimizer.OptRuntime.call0(OptRuntime.java:57)
at
org.wso2.carbon.rhino.store.site.blocks.subscription.subscription_list.ajax.c0._c0(/store/site/blocks/subscription/subscription-list/ajax/subscription-list.jag:3)
 at
org.wso2.carbon.rhino.store.site.blocks.subscription.subscription_list.ajax.c0.call(/store/site/blocks/subscription/subscription-list/ajax/subscription-list.jag)
 at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:401)
at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3003)
 at
org.wso2.carbon.rhino.store.site.blocks.subscription.subscription_list.ajax.c0.call(/store/site/blocks/subscription/subscription-list/ajax/subscription-list.jag)
 at
org.wso2.carbon.rhino.store.site.blocks.subscription.subscription_list.ajax.c0.exec(/store/site/blocks/subscription/subscription-list/ajax/subscription-list.jag)
 at
org.jaggeryjs.scriptengine.engine.RhinoEngine.execScript(RhinoEngine.java:446)
... 24 more
[2012-09-24 07:59:23,764] ERROR - 

Re: [Dev] p2 repo for 4.0.2 added

2012-09-23 Thread Rajika Kumarasiri
Lakmali, can you add the p2 repo as well into the builder ?

Rajika

On Sat, Sep 22, 2012 at 12:01 PM, Rajika Kumarasiri raj...@wso2.com wrote:

 We also need to add this into the builder.

 Rajika

 On Sat, Sep 22, 2012 at 12:00 PM, Rajika Kumarasiri raj...@wso2.comwrote:

 I have added the p2 repository for 4.0.2. Update it with your product
 features. Required  properties are defined and please re-use them.

 Rajika



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


[Dev] Supporting Hierarchical Proxy Services in ESB

2012-09-23 Thread Sajini De Silva
Hi,

At the moment ESB supports proxy services that can only be added under
8280:services/FooProxy etc and all the services are deployed under
ESB_HOME/repository/deployment/server/synapse-configs/default/proxy-services
directory. Therefore it is very hard to manage the services for a
large organization when the number of services become large since they
have to agree on service name before deploying them. And also
supporting multiple versions of the same service is not possible
without changing the service name in the services.xml file.

I have completed implementing  the task of supporting hierarchical
proxy services in ESB. Now when a proxy service is added other than
the name of the proxy service, service hierarchy can be inserted from
the GUI. If a user added a service called foo with hierarchy
a/b/c/, the proxy service will be added under
http://localhost:8280/services/a/b/c/foo and the service will be
deployed under 
ESB_HOME/repository/deployment/server/synapse-configs/default/proxy-services/a/b/c
directory. In the foo.xml file there is an attribute call
serviceHierarchy and the value of that attribute is a/b/c/

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


Re: [Dev] AS start-up issue

2012-09-23 Thread Madhuka Udantha
I will check it.

On Sun, Sep 23, 2012 at 8:36 PM, Kasun Gajasinghe kas...@wso2.com wrote:


 This issue is in the JS Deployer which does the deploying of mashup
 services. Madhuka working on this IIRC.

 --KasunG

 On Sun, Sep 23, 2012 at 5:30 PM, Kasun Weranga kas...@wso2.com wrote:

 Hi,

 I am getting following issue when starting the AS.

 [2012-09-23 17:19:29,459] ERROR
 {org.wso2.carbon.mashup.jsservices.deployer.JSDeployer} -  The service
 RESTSample.js is not valid.
 java.lang.NoClassDefFoundError:
 org/wso2/carbon/core/multitenancy/SuperTenantCarbonContext
 at
 org.wso2.carbon.mashup.jsservices.deployer.JSDeployer.deploy(JSDeployer.java:157)
  at
 org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(DeploymentFileData.java:136)
 at
 org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:810)
  at
 org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoList.java:144)
 at
 org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener.java:377)
  at
 org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:254)
 at
 org.apache.axis2.deployment.DeploymentEngine.loadServices(DeploymentEngine.java:139)
  at
 org.wso2.carbon.core.CarbonAxisConfigurator.loadServices(CarbonAxisConfigurator.java:461)
 at
 org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:95)
  at
 org.wso2.carbon.core.CarbonConfigurationContextFactory.createNewConfigurationContext(CarbonConfigurationContextFactory.java:65)
 at
 org.wso2.carbon.core.init.CarbonServerManager.initializeCarbon(CarbonServerManager.java:397)
  at
 org.wso2.carbon.core.init.CarbonServerManager.removePendingItem(CarbonServerManager.java:289)
 at
 org.wso2.carbon.core.init.PreAxis2ConfigItemListener.bundleChanged(PreAxis2ConfigItemListener.java:118)
  at
 org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:847)
 at
 org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
  at
 org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)
 Caused by: java.lang.ClassNotFoundException:
 org.wso2.carbon.core.multitenancy.SuperTenantCarbonContext
  at
 org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:467)
 at
 org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:429)
  at
 org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:417)
 at
 org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
  at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
 ... 16 more
 [2012-09-23 17:19:29,462] FATAL
 {org.wso2.carbon.core.init.CarbonServerManager} -  WSO2 Carbon
 initialization Failed
 java.lang.NoClassDefFoundError:
 org/wso2/carbon/core/multitenancy/SuperTenantCarbonContext
 at
 org.wso2.carbon.mashup.jsservices.deployer.JSDeployer.deploy(JSDeployer.java:206)
  at
 org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(DeploymentFileData.java:136)
 at
 org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:810)
  at
 org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoList.java:144)
 at
 org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener.java:377)
  at
 org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:254)
 at
 org.apache.axis2.deployment.DeploymentEngine.loadServices(DeploymentEngine.java:139)
  at
 org.wso2.carbon.core.CarbonAxisConfigurator.loadServices(CarbonAxisConfigurator.java:461)
 at
 org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:95)
  at
 org.wso2.carbon.core.CarbonConfigurationContextFactory.createNewConfigurationContext(CarbonConfigurationContextFactory.java:65)
 at
 org.wso2.carbon.core.init.CarbonServerManager.initializeCarbon(CarbonServerManager.java:397)
  at
 org.wso2.carbon.core.init.CarbonServerManager.removePendingItem(CarbonServerManager.java:289)
 at
 org.wso2.carbon.core.init.PreAxis2ConfigItemListener.bundleChanged(PreAxis2ConfigItemListener.java:118)
  at
 org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:847)
 at
 org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
  at
 org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)

 Please fix it.


 Thanks,
 KasunW.

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




 --
 *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://blog.kasunbg.org* http://blog.kasunbg.org*
 twitter: 

[Dev] Compilation failure

2012-09-23 Thread Ajith Vitharana
[INFO] BUILD FAILURE
[INFO]

[INFO] Total time: 30:55.576s
[INFO] Finished at: Mon Sep 24 10:25:52 IST 2012
[INFO] Final Memory: 1416M/1816M
[INFO]

[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile
(default-compile) on project org.wso2.carbon.dataservices.core: Compilation
failure: Compilation failure:
[ERROR]
/home/ajithn/wso2/build/branches/final/platform/4.0.0/components/data-services/org.wso2.carbon.dataservices.core/4.0.2/src/main/java/org/wso2/carbon/dataservices/core/description/config/TabularDataBasedConfig.java:[245,71]
interface expected here
[ERROR]
/home/ajithn/wso2/build/branches/final/platform/4.0.0/components/data-services/org.wso2.carbon.dataservices.core/4.0.2/src/main/java/org/wso2/carbon/dataservices/core/description/config/TabularDataBasedConfig.java:[209,12]
incompatible types
[ERROR] found   :
org.wso2.carbon.dataservices.core.description.config.TabularDataBasedConfig.CustomSQLDataSource.SQLParserCustomDataSourceAdapter.SQLParserDataTableAdapter
[ERROR] required:
org.wso2.carbon.dataservices.sql.driver.processor.reader.DataTable
[ERROR]
/home/ajithn/wso2/build/branches/final/platform/4.0.0/components/data-services/org.wso2.carbon.dataservices.core/4.0.2/src/main/java/org/wso2/carbon/dataservices/core/description/config/TabularDataBasedConfig.java:[274,4]
method does not override or implement a method from a supertype
[ERROR]
/home/ajithn/wso2/build/branches/final/platform/4.0.0/components/data-services/org.wso2.carbon.dataservices.core/4.0.2/src/main/java/org/wso2/carbon/dataservices/core/description/config/TabularDataBasedConfig.java:[316,4]
method does not override or implement a method from a supertype
[ERROR]
/home/ajithn/wso2/build/branches/final/platform/4.0.0/components/data-services/org.wso2.carbon.dataservices.core/4.0.2/src/main/java/org/wso2/carbon/dataservices/core/description/config/TabularDataBasedConfig.java:[351,4]
method does not override or implement a method from a supertype
[ERROR]
/home/ajithn/wso2/build/branches/final/platform/4.0.0/components/data-services/org.wso2.carbon.dataservices.core/4.0.2/src/main/java/org/wso2/carbon/dataservices/core/description/config/TabularDataBasedConfig.java:[356,4]
method does not override or implement a method from a supertype
[ERROR]
/home/ajithn/wso2/build/branches/final/platform/4.0.0/components/data-services/org.wso2.carbon.dataservices.core/4.0.2/src/main/java/org/wso2/carbon/dataservices/core/description/config/TabularDataBasedConfig.java:[361,4]
method does not override or implement a method from a supertype
[ERROR]
/home/ajithn/wso2/build/branches/final/platform/4.0.0/components/data-services/org.wso2.carbon.dataservices.core/4.0.2/src/main/java/org/wso2/carbon/dataservices/core/description/config/TabularDataBasedConfig.java:[377,4]
method does not override or implement a method from a supertype
[ERROR]
/home/ajithn/wso2/build/branches/final/platform/4.0.0/components/data-services/org.wso2.carbon.dataservices.core/4.0.2/src/main/java/org/wso2/carbon/dataservices/core/description/config/TabularDataBasedConfig.java:[382,4]
method does not override or implement a method from a supertype
[ERROR]
/home/ajithn/wso2/build/branches/final/platform/4.0.0/components/data-services/org.wso2.carbon.dataservices.core/4.0.2/src/main/java/org/wso2/carbon/dataservices/core/description/config/TabularDataBasedConfig.java:[395,4]
method does not override or implement a method from a supertype
[ERROR] - [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions,
please read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the
command
[ERROR]   mvn goals -rf :org.wso2.carbon.dataservices.core


-- 
Ajith Vitharana.
WSO2 Inc. - http://wso2.org
Email  :  aji...@wso2.com
Mobile : +94714631794
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev