Re: [Dev] G-reg is not starting

2014-08-08 Thread Harsha Kumara
What's the JDK version you using for the installation and the oracle linux version? We recommend to use oracle java 6 and our products can be run in oracle java 7. It's better you can ask these kind of question through stackoverflow[1] in next time.

Re: [Dev] G-reg is not starting

2014-08-08 Thread Akila Nimantha [IT/EKO/LOITS]
Hi Harsha, Thanks for the reply. We use oraclelinux-release-6Server-3.0.2.x86_64 and java 7. Actually I searched in the internet and also in stackoverflow like sites for this problem.but couldn’t find any correct solution. Is there a problem with my linux version…??? Regards, Akila From:

Re: [Dev] [DSS]The process of DSS will be killed after running for a period of time

2014-08-08 Thread stevegyc
Hi Harsha Thank you for your advise. Now I am trying DSS in another environment and find out whether it will be killed again. In the server logs, wso2server.sh: line 300: 8634 killed is displayed. I checked the source in wso2server.sh as following. when the state is

Re: [Dev] Disable reloading super tenant themes to the registry in each server start

2014-08-08 Thread Shameera Rathnayaka
Hi Eranda et al, ​ Little bit concern regarding the 4th configuration value decision, Please see my comment inline.​ On Sat, Apr 19, 2014 at 5:03 AM, Eranda Sooriyabandara era...@wso2.com wrote: Here is the configuration which we will be adding to the carbon.xml

[Dev] [Carbon] Student Manager Sample

2014-08-08 Thread Godwin Shrimal
Hi, I am working with student manager carbon component sample, when I deploy both backend and frontend component it shows the menu item and working properly. But when I try to check the wsdl of the backend service it gives following error HTTP Status 403 - Access to service metadata for service:

Re: [Dev] [Carbon] Student Manager Sample

2014-08-08 Thread Rajith Vitharana
Hi Godwin, Change the below parameters in services.xml file to false in your service, redeploy and try to access the url. parameter name=adminService locked=truefalse/parameter parameter name=hiddenService locked=truefalse/parameter Thanks, On Fri, Aug 8, 2014 at 1:03 PM, Godwin Shrimal

Re: [Dev] [Carbon] Student Manager Sample

2014-08-08 Thread Godwin Shrimal
Hi Rajith, Thanks. It worked perfectly.. On Fri, Aug 8, 2014 at 1:06 PM, Rajith Vitharana raji...@wso2.com wrote: Hi Godwin, Change the below parameters in services.xml file to false in your service, redeploy and try to access the url. parameter name=adminService

[Dev] IS Server, Tomcat in two Nodes

2014-08-08 Thread Daya Attapattu
Can some please tell me, or point to docs that describes, the changes that are to be made to run Tomcat in a different node than IS Server? Regards, Daya -- Daya Atapattu WSO2 Inc. Phone: +94 77 047 4730, +1 203 484 7099 ___ Dev mailing list

Re: [Dev] IS Server, Tomcat in two Nodes

2014-08-08 Thread Rajith Vitharana
Try out [1] [1] - http://www.mkyong.com/tomcat/how-to-change-tomcat-default-port/ On Fri, Aug 8, 2014 at 1:13 PM, Daya Attapattu d...@wso2.com wrote: Can some please tell me, or point to docs that describes, the changes that are to be made to run Tomcat in a different node than IS Server?

Re: [Dev] IS Server, Tomcat in two Nodes

2014-08-08 Thread Rajith Vitharana
sorry I saw that as port not node On Fri, Aug 8, 2014 at 1:54 PM, Rajith Vitharana raji...@wso2.com wrote: Try out [1] [1] - http://www.mkyong.com/tomcat/how-to-change-tomcat-default-port/ On Fri, Aug 8, 2014 at 1:13 PM, Daya Attapattu d...@wso2.com wrote: Can some please tell me, or

Re: [Dev] G-reg is not starting

2014-08-08 Thread Harsha Kumara
Akila, are you just unzip and run a GReg server or did you do any customization such as mounting greg in oracle database? 4.6.0 works fine with linux environments. On Fri, Aug 8, 2014 at 12:23 PM, Akila Nimantha [IT/EKO/LOITS] aki...@lolctech.com wrote: Hi Harsha, Thanks for the reply.

Re: [Dev] [DSS]The process of DSS will be killed after running for a period of time

2014-08-08 Thread Harsha Kumara
Hi stevegyc, Sure let us know about that status. Server may run out of memory depends on your application. So if it consume more memory, try increase the heap memory in the wso2server.sh. Thanks, Harsha On Fri, Aug 8, 2014 at 12:31 PM, stevegyc steve...@163.com wrote: Hi Harsha Thank

[Dev] Can we remove the databridge feature references from enterprise.store feature ?

2014-08-08 Thread Dinusha Senanayaka
Hi ES Team, In App Manager, we are using org.wso2.store.feature-1.1.0 from the branch [1]. In this feature, there are some data-bridge feature references that are only required for the BAM product according to the BAM team. Since AppM is using enterprise store feature, we have to include it's

Re: [Dev] Can we remove the databridge feature references from enterprise.store feature ?

2014-08-08 Thread Ruchira Wageesha
Hi Dinusha, Those features are being used by social features of ES. Hence, if we remove them, it will affect social comments/ratings. Anyway, we have implemented a light weight version of social which is based on SQL. But it is in 1.2.0-SNAPSHOT which will be released with carbon kernel 4.3.0.

Re: [Dev] Using axis2Service as a backend when running ESB platform tests

2014-08-08 Thread Amalka Subasinghe
Hi Krishantha, if the test needs only 1 backend we can easily read the backend endpoint details from configuration and update the synapse config. but if the test needs more than 1 backend replacing endpoints in synapse config is problematic. Thanks Amalka On Wed, Aug 6, 2014 at 11:13 PM,

Re: [Dev] G-reg is not starting

2014-08-08 Thread Akila Nimantha [IT/EKO/LOITS]
Hi Harsha, Now its working. What I did was just connected to a outside mysql database with a different name. I think problem was between my linux server and G-Reg database. need to check my server side. Thanks for pointing me to the real point. Regards, Akila From: Harsha Kumara

Re: [Dev] Can we remove the databridge feature references from enterprise.store feature ?

2014-08-08 Thread Manuranga Perera
in the previous versions of ES, we were shipping BAM components (receivers etc) , not just publishers. which is the core functionality of BAM same way 'deploing a web app' is a core functionality of AS but you have embedded it in BAM, we are embeding a core functionality if BAM in ES. this is

Re: [Dev] Using axis2Service as a backend when running ESB platform tests

2014-08-08 Thread Nuwan Wimalasekara
Hi Amalka, If there are more than one different ednpoints defined in synapse config, you can add more placeholder variable to represent backend endpoints and map those keys with synapse config and update the config accordingly. It would be grate if you can share the additional configuration for

Re: [Dev] Login error while setting up SSO

2014-08-08 Thread triplex3000
Hi, Manula Chathurika I am using WSO2 IS5.0.0, WSO2 ESB 4.8.1 and API Manager 1.7.0. I've performed sso configuration according to https://docs.wso2.com/display/IS500/Enabling+SSO+for+WSO2+Servers but still receving the same error as guys above. === [2014-08-07 11:00:16,517] ERROR -

Re: [Dev] Can we remove the databridge feature references from enterprise.store feature ?

2014-08-08 Thread Sinthuja Ragendran
Hi, On Fri, Aug 8, 2014 at 3:05 PM, Manuranga Perera m...@wso2.com wrote: in the previous versions of ES, we were shipping BAM components (receivers etc) , not just publishers. which is the core functionality of BAM same way 'deploing a web app' is a core functionality of AS but you

[Dev] [API Manager] - Status of API Subscriptions

2014-08-08 Thread Abimaran Kugathasan
Hi Sumedha, In Current APIM, following are the status of a API Subscriptions BLOCKED, PROD_ONLY_BLOCKED, UNBLOCKED, ON_HOLD, REJECTED Consider following scenario/use case and relevant status of API subscriptions 1. An Application subscribes an API - UNBLOCKED 2. Publisher blocks

Re: [Dev] [API Manager] - Status of API Subscriptions

2014-08-08 Thread Abimaran Kugathasan
Appreciate your feedback on this. On Fri, Aug 8, 2014 at 3:23 PM, Abimaran Kugathasan abima...@wso2.com wrote: Hi Sumedha, In Current APIM, following are the status of a API Subscriptions BLOCKED, PROD_ONLY_BLOCKED, UNBLOCKED, ON_HOLD, REJECTED Consider following scenario/use case and

[Dev] Authentication in Axis2 Service.xml

2014-08-08 Thread Isura Karunaratne
Hi All, Following is a sample axis2 service.xml configuration, serviceGroup service name=MyService scope=transportsession transports transporthttps/transport /transports parameter name=ServiceClass locked=false pathToMyService /parameter parameter name=adminService locked=truetrue/parameter

Re: [Dev] Authentication in Axis2 Service.xml

2014-08-08 Thread Harsha Kumara
Hi Isura, AFAIK, you can't specify permission for method. But if you need you can move those method to separate class and grant or revoke the permissions. Thanks, Harsha On Fri, Aug 8, 2014 at 3:37 PM, Isura Karunaratne is...@wso2.com wrote: Hi All, Following is a sample axis2 service.xml

Re: [Dev] Disable reloading super tenant themes to the registry in each server start

2014-08-08 Thread Shameera Rathnayaka
Hi All, With the provided patch, there is a side effect when someone accidentally delete one file(lets say *.gif image) in the theme location, that file not get replace with server restart. However we can resolve this by a workaround which is ask user to restart by setting true to

[Dev] Request to commit the patch CARBON-14703

2014-08-08 Thread Kasun Gajasinghe
Hi Shameera, Can you commit this patch to kernel patch 0009. [1] I'd appreciate an immediate response. There are unavoidable API changes due to hazelcast upgrade. [1] https://wso2.org/jira/browse/CARBON-14703 Thanks, KasunG -- *Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc. email:

Re: [Dev] Can we remove the databridge feature references from enterprise.store feature ?

2014-08-08 Thread Udara Rathnayake
Hi, For ES-1.0.0, we implemented Activity Stream based social framework. We used BAM data-publisher to publish(define stream/versioning/publish) these events to Cassandra and retrieved via CQL. Following might help to understand the background[1][2][3]. Anyway as Ruchira mentioned we don't have

Re: [Dev] Authentication in Axis2 Service.xml

2014-08-08 Thread Danushka Fernando
Hi Isura In the given configuration there is a property as follows parameter name=AuthorizationAction locked=true/permission/admin/login/parameter Use this parameter for the methods that you want to secure. In this way it should work AFAIK. Thanks Regards Danushka Fernando Software Engineer

Re: [Dev] Authentication in Axis2 Service.xml

2014-08-08 Thread Harsha Kumara
Hi Isura, As Danushka mentioned, you should be able to do as follows for secure a method. L *operation name=yourMethod* * parameter name=AuthorizationAction locked=true/permission/admin/configure/parameter /operation* Thanks, Harsha On Fri, Aug 8, 2014 at 7:43 PM, Danushka Fernando

[Dev] [DEV][AM-1.7.0] API doc update using file type

2014-08-08 Thread Udara Rathnayake
Hi, After creating a new API, I have created a doc by giving source type as file. Then I have updated the doc using a second file. Noticed that both files exist in the following registry location[1], Is this the expected behavior? If yes why do we need to store old doc files? [1]

Re: [Dev] Authentication in Axis2 Service.xml

2014-08-08 Thread Isura Karunaratne
On Fri, Aug 8, 2014 at 9:33 PM, Harsha Kumara hars...@wso2.com wrote: Hi Isura, As Danushka mentioned, you should be able to do as follows for secure a method. L *operation name=yourMethod* * parameter name=AuthorizationAction locked=true/permission/admin/configure/parameter

[Dev] [BAM] [Clustering] How to verify whether hadoop cluster is created correctly?

2014-08-08 Thread Rajkumar Rajaratnam
Hi, I am configuring Fully-Distributed, High-Availability BAM Setup by following [1] [2] says that when we run jps, the output should look like below, hadoop@ubuntu:/usr/local/hadoop$ jps 2287 TaskTracker 2149 JobTracker 1788 NameNode Which node will have above status? I didn't get above

Re: [Dev] [BAM] [Clustering] How to verify whether hadoop cluster is created correctly?

2014-08-08 Thread Gihan Anuruddha
Yes, This is correct. Based on above output you have 1 NameNode, 1 SecondaryNameNode and 3 DataNodes. Please use localhost:9000 and localhost:9001 to check your cluster. On Fri, Aug 8, 2014 at 12:21 PM, Rajkumar Rajaratnam rajkum...@wso2.com wrote: Hi, I am configuring Fully-Distributed,

Re: [Dev] [BAM] [Clustering] How to verify whether hadoop cluster is created correctly?

2014-08-08 Thread Inosh Goonewardena
Hi Rajkumar, You can also use the hadoop web consoles for monitoring purposes. http://NAME_NODE_IP:50070/ – web UI of the NameNode daemon http://JOB_TRACKER_IP:50030/ – web UI of the JobTracker daemon http://TASK_TRACKER_IP:50060/ – web UI of the TaskTracker daemon Also check the log files of

Re: [Dev] Authentication in Axis2 Service.xml

2014-08-08 Thread Harsha Kumara
I assumed you have removed the *parameter name=AuthorizationAction locked=true/permission/admin/configure/parameter *from service level and only applied for specific methods which you want secure. You can add parameter name=DoAuthentication locked=truefalse/parameter as a parameter to a method

Re: [Dev] Authentication in Axis2 Service.xml

2014-08-08 Thread Isura Karunaratne
On Fri, Aug 8, 2014 at 10:24 PM, Harsha Kumara hars...@wso2.com wrote: I assumed you have removed the *parameter name=AuthorizationAction locked=true/permission/admin/configure/parameter *from service level and only applied for specific methods which you want secure. You can add parameter

Re: [Dev] [BAM] [Clustering] How to verify whether hadoop cluster is created correctly?

2014-08-08 Thread Rajkumar Rajaratnam
Hi, Many thanks for the prompt response. Yes, there are errors when tailing logs in name node. 2014-08-08 17:08:08,868 INFO org.apache.hadoop.hdfs.server.namenode.NameNode: STARTUP_MSG: / STARTUP_MSG: Starting NameNode STARTUP_MSG:

Re: [Dev] IS Server, Tomcat in two Nodes

2014-08-08 Thread Prasad Tissera
I assume you are trying to run a IS sample (ex. travelocity) using tomcat on a node other than the node running IS. In that case you have to configure the SAML.IdPUrl with the IP address of the node running IS and SAML.ConsumerUrl with the IP address of the node running Tomcat in the

Re: [Dev] [BAM] [Clustering] How to verify whether hadoop cluster is created correctly?

2014-08-08 Thread Inosh Goonewardena
First please check whether there is firewall active on master and slaves node machines. If so, disable firewall. Then check whether you have correctly configured the 'fs.default.name' property of HADOOP_HOME/conf/core-site.xml correctly in all nodes. property namefs.default.name/name

[Dev] AS - bringing back Context reloadable for developer productivity

2014-08-08 Thread Thomas Wieger
i always loved the productivity i got from tomcat using exploded wars. using eclipse and directly compiling into the exploded WEB-INF/classes got Tomcat pick up my changes in seconds. Using wso2 as with its embedded tomcat i noticed, that you turned off this great feature. any chance, that you

[Dev] AS - bringing back Context reloadable for developer productivity

2014-08-08 Thread Thomas Wieger
i always loved the productivity i got from tomcat using exploded wars. using eclipse and directly compiling into the exploded WEB-INF/classes got Tomcat pick up my changes in seconds. Using wso2 with its embedded tomcat i noticed, that you turned off this great feature. any chance, that you could

Re: [Dev] AS - bringing back Context reloadable for developer productivity

2014-08-08 Thread Kasun Gajasinghe
Hi Thomas, Thanks for bringing this to our attention. We certainly need to look into this. Can you explain why you had to turn off the checkAccess method? Any stack traces? Also, it would be preferred if you can open a public jira [1] as well to track this. [1] https://wso2.org/jira/browse/WSAS