[Dev] Identity Server Documentation Link Error (404 Not Found)
Hi Team, I was referring to the following url. http://docs.wso2.com/display/IS410/WSO2+Identity+Server+Documentation When I click on the View documentation for the latest release. http://docs.wso2.org/identity-server url it sends me 404 Page not Found error. This occur in every versions of the documentation. I think the link has to be updated with - http://docs.wso2.com/display/IS500/WSO2+Identity+Server+Documentation Thank you Best regards, *Amal Gunatilake* Software Engineer WSO2 Inc.; http://wso2.com lean.enterprise.middleware ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] How to get the request count received by each BE separately?
Hi, Could you try without keep-alive as [1]. [1] http://udaraliyanage.wordpress.com/2014/06/17/wso2-esb-keep-alive-property/ On Mon, Jul 21, 2014 at 10:30 AM, Amalka Subasinghe ama...@wso2.com wrote: Hi, I have configured the ESB to send requests to number of BEs, there, I want to get the request count received by each BE separately. When I try this scenario with TCPMon, I observed all the requests received by TCPMon from ESB were buffered. Therefore I cannot get the individual request count from the BE. But when I try the same scenario relating ESB with another TCPMon; I could get the requests separately without buffering. I have explained the two scenarios below. Is there any configuration to send requests from ESB to BE without buffering? Scenario 1. When I make number of requests with the TCPMon2 In between ESB and BE; TCPMon2 *does not *shows each request/response separately. Scenario 2. When I make number of requests with the TCPMon2 In between TCPMon1 (8280) and BE; then TCPMon2 shows each request/response separately. Thanks Amalka -- Amalka Subasinghe Senior Software Engineer WSO2 Inc. Mobile: +94 77 9401267 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Udara Liyanage Software Engineer WSO2, Inc.: http://wso2.com lean. enterprise. middleware web: http://udaraliyanage.wordpress.com phone: +94 71 443 6897 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Identity Server Documentation Link Error (404 Not Found)
Adding Samuel. On Mon, Jul 21, 2014 at 11:54 AM, Amal Gunatilake am...@wso2.com wrote: Hi Team, I was referring to the following url. http://docs.wso2.com/display/IS410/WSO2+Identity+Server+Documentation When I click on the View documentation for the latest release. http://docs.wso2.org/identity-server url it sends me 404 Page not Found error. This occur in every versions of the documentation. I think the link has to be updated with - http://docs.wso2.com/display/IS500/WSO2+Identity+Server+Documentation Thank you Best regards, *Amal Gunatilake* Software Engineer WSO2 Inc.; http://wso2.com lean.enterprise.middleware ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Thanuja Lakmal* Software Engineer WSO2 Inc. http://wso2.com/ *lean.enterprise.middleware* Mobile: +94715979891 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] Make the creating menu contextual WSO2 Dev_Studio ( Jira https://wso2.org/jira/browse/TOOLS-1730)
Hi, In achieving $Subject, I'm contextualizing the New Project creating option in WSO2 Dev_Studio by *project.nature*. I have herewith attached [1] a spreadsheet by adding the project.nature i figured suitable for contextualizing each New option. I would appreciate it if you could make any corrections if needed in the spreadsheet in order to ensure that the contextualization does not affect the optimum usability of Dev_Studio [1] Make the creating menu contextual - WSO2 ToolsTOOLS-1730 https://docs.google.com/a/wso2.com/spreadsheets/d/1-JqZw7VZUf7Nx1YMzH-YKQss3SvIdX2OT4hsPOaopL8/edit?usp=drive_web thanks and regards -- Awanthika Senarath Software Engineer, WSO2 Inc. Mobile: +94717681791 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] api manager clustering
Hi Akila, AFAIK it is not mandatory to start the well- know member first. So the starting order might not be an issue. On Mon, Jul 21, 2014 at 9:53 AM, Akila Nimantha [IT/EKO/LOITS] aki...@lolctech.com wrote: Hi all, I tried configure api manger clustering using document, https://docs.wso2.com/display/CLUSTER420/Clustering+API+Manager . also I used freshly downloaded api manager 1.7.0 version. “I tried to setup Minimum cluster with an external store” without load balancer pattern. My problem is, After don setup configurations which server I should start first or is there a order for start servers. ?? Regards, Akila. This message (including any attachments) is intended only for the use of the individual or entity to which it is addressed and may contain information that is non-public, proprietary, privileged, confidential, and exempt from disclosure under applicable law or may constitute as attorney work product. If you are not the intended recipient, you are hereby notified that any use, dissemination, distribution, or copying of this communication is strictly prohibited. If you have received this communication in error, notify us immediately by telephone and (i) destroy this message if a facsimile or (ii) delete this message immediately if this is an electronic communication. Thank you. ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Udara Liyanage Software Engineer WSO2, Inc.: http://wso2.com lean. enterprise. middleware web: http://udaraliyanage.wordpress.com phone: +94 71 443 6897 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] wso2server.sh script does not stop the server when ssh terminates
Hi Chris, I have tested the scenario according to your information and still couldn't reproduce the issue. I could run wso2server as a background process over ssh with command; vagrant ssh -c './wso2carbon-4.2.0/bin/wso2server.sh start' I can access management console if I ssh vagrant guest session save response with wget. (eg: wget --no-check-certificate https://10.0.2.15:9443/carbon/) It only terminate the server if I call vagrant reload command which reboot the VM. I have updated the jira ticket with the steps I have followed. Thanks, Nipuni On Sat, Jul 19, 2014 at 4:16 PM, chris snow chsnow...@gmail.com wrote: Hi Nipuni, I've updated the JIRA ticket with some more information... On Sat, Jul 19, 2014 at 10:28 AM, Nipuni Perera nip...@wso2.com wrote: Hi, I have tried -c option and followed the jira first and got following results. According to[1] -c option defines the cipher type. When running wso2server without -E option I got the following error, Error: JAVA_HOME is not defined correctly. CARBON cannot execute java When executing the ssh -c ./wso2server.sh start command, I got the following error. Unknown cipher type './wso2server.sh start' @shameera I have updated the jira. @Isuru, According to my understanding, the jira is about executing wso2server over ssh as a background process. I am not sure about the commands in the jira. I tried to reproduce the issue and I have updated the jira with my findings. Following the steps I have mentioned in the first email I could execute wso2server.sh over ssh as a nohup process. [1] http://unixhelp.ed.ac.uk/CGI/man-cgi?ssh+1 Thanks, Nipuni On Sat, Jul 19, 2014 at 2:32 PM, Isuru Perera isu...@wso2.com wrote: stratos.sh is just a renamed version of wso2server.sh and it is used in Apache Stratos. Nipuni, it seems you have not followed what is mentioned in the JIRA. Please double check. Thanks! On Fri, Jul 18, 2014 at 11:28 PM, Shameera Rathnayaka shame...@wso2.com wrote: According to the JIRA, you should use -c not -E , did you test with that option as well? , BTW wso2servers.sh is working fine with nohup not sure about stratos.sh . you can update JIRA with your finding. @Isura , For that you need to start the server as background process , if not server process terminate with user logging out. Thanks, Shameera. On Sat, Jul 19, 2014 at 11:33 AM, Isura Karunaratne is...@wso2.com wrote: Hi Nipuni, AFAIK sever process will not terminate once you terminate the ssh process . You have to kill the server process manually. User ps -ef|grep carbon to identity the process id and kill it using kill -9 id command. Thanks Isura On Sat, Jul 19, 2014 at 10:10 AM, Nipuni Perera nip...@wso2.com wrote: Hi, I am working on jira issue[1]. I have tested this with a remote BAM server and couldn't reproduce the issue. If wso2server.sh has been executed over ssh as a nohup process, server does not stop after ssh process terminates. I have followed the steps below: start ssh and connect to remote serrver : ssh -i private-key server-name -p password start wso2server as a background process : sudo -E ./wso2server.sh start (this gives an error ps: write error: Bad file descriptor but server starts successfully exit from the remote server and stop ssh I can access server after ssh is stopped. I have tested it starting wso2server as a nohup process : nohup sudo -E ./wso2server.sh (This also works after ssh terminates) [1] https://wso2.org/jira/browse/CARBON-14813 Thanks, Nipuni -- Nipuni Perera Software Engineer; WSO2 Inc.; http://wso2.com Email: nip...@wso2.com Git hub profile: https://github.com/nipuni Mobile: +94 (71) 5626680 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Isura Dilhara Karunaratne Software Engineer Mob +94 772 254 810 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Software Engineer - WSO2 Inc. email: shameera AT wso2.com , shameera AT apache.org phone: +9471 922 1454 Linked in : http://lk.linkedin.com/pub/shameera-rathnayaka/1a/661/561 Twitter : https://twitter.com/Shameera_R ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Isuru Perera Senior Software Engineer | WSO2, Inc. | http://wso2.com/ Lean . Enterprise . Middleware about.me/chrishantha ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Nipuni Perera Software Engineer; WSO2 Inc.; http://wso2.com Email: nip...@wso2.com Git hub profile: https://github.com/nipuni
Re: [Dev] [DEV] - Monitoring HTTPS Communication between secure client and secure proxy service in ESB
Thanks Rushmin Dakshika! I was able to use Charles Proxy to monitor the traffic between a Java client and the ESB. Any idea why Wireshark failed? On Sun, Jul 20, 2014 at 7:58 AM, Rushmin Fernando rush...@wso2.com wrote: give [1] a try. it supports SSL proxying. I have used it to monitor HTTPS between browser and server. [1] - http://www.charlesproxy.com/ On Sun, Jul 20, 2014 at 2:06 AM, Chamila De Alwis chami...@wso2.com wrote: Hi, Is there a way to achieve the $subject? I've recorded the communication using wireshark and tried to decrypt it using the private key extracted from the keystore. But when Follow SSL Stream is selected in Wireshark the stream content is shown blank. Is this because of the Cipher suit being used?[1] Wireshark SSL Protocol RSA Key list *127.0.1.1, 8243, http, keystorefile.p12, wso2carbon* SSL debug file (attached) shows no content to indicate that the private key was not loaded. [1] - http://stackoverflow.com/questions/15814999/decrypting-https-traffic-in-wireshark-not-working-and-not-sure-why -- Regards, Chamila de Alwis Software Engineer | WSO2 | +94772207163 Blog: code.chamiladealwis.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Rushmin Fernando* *Technical Lead* WSO2 Inc. http://wso2.com/ - Lean . Enterprise . Middleware email : rush...@wso2.com mobile : +94772310855 -- Regards, Chamila de Alwis Software Engineer | WSO2 | +94772207163 Blog: code.chamiladealwis.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] GSoC Project - Progress on the Apache Tomcat based runtime implementation for Jaggery.js
Hi Nasmin, Can you please send a mail to architecture@ list about your progress, current status, architectural changes etc. Thanks ! On Wed, Jul 9, 2014 at 5:59 PM, Chamil Jeewantha cha...@wso2.com wrote: Hi All, I have check the source code with Nasmin and found, the JaggeryAsyncServlet is already registered before it does programatically because JaggeryAsyncServlet class is automatically added to all the Webapp Contexts because of the @WebServlet annotation. @WebServlet(name = JaggeryAsyncServlet, urlPatterns = /*, asyncSupported = true) Since this JaggeryAsyncServlet is added selectively (only for the Jaggery apps), The @WebServlet should be removed. Regards, Chamil On Tue, Jul 1, 2014 at 12:10 AM, Mohamed Nasmin nasmin1...@gmail.com wrote: After some reading I found the above null pointer comes when we adding the context listener BEFORE_START_EVENT occurs. So I changed the event to STARTING. Now without any error the jaggery context listener added to the standard context. But when access the sample tomgery application through URL I got this error. When I debug this[1] I found appConfigs is null. But could not find how it happened. Thanks in advance. *Code : * protected void service(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { JaggeryAppConfigs appConfigs = JaggeryAppConfigs.getInstance(request.getServletContext()); request.setAttribute(org.apache.catalina.ASYNC_SUPPORTED, true); AsyncContext asyncCtx = request.startAsync(); asyncCtx.addListener(new JaggeryAsyncListener()); asyncCtx.setTimeout(appConfigs.getServletTimeout()); appConfigs.getServletExecutor().execute(new JaggeryAsyncRequestProcessor(asyncCtx)); } *Exception :* java.lang.NullPointerException org.jaggeryjs.apps.JaggeryAsyncServlet.service(JaggeryAsyncServlet.java:23) javax.servlet.http.HttpServlet.service(HttpServlet.java:727) org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) [1] https://github.com/ruchiraw/jaggery/blob/master/components/jaggery-core/org.jaggeryjs.apps/src/main/java/org/jaggeryjs/apps/JaggeryAsyncServlet.java On Sun, Jun 22, 2014 at 5:54 AM, Chamil Jeewantha cha...@wso2.com wrote: Hi Nasmin, the Null Pointer Exception (NPE) comes from the line registration.setAsyncSupported(true); Which means registration object is null. The responsible line of assigning this variable is the line 25. ServletRegistration.Dynamic registration = servletContext.addServlet( JaggeryAsyncServlet.NAME, JaggeryAsyncServlet.class); servletContext.addServlet javadoc[1] says, a ServletRegistration object that may be used to further configure the registered servlet, or *null** if this ServletContext already contains a complete ServletRegistration for the given **servletName* For this case you can start debug by two points. 1. debug JaggeryContextListener 2. Debug with tomcat source - servletContext.addServlet method to see why it returns null here. [1] http://docs.oracle.com/javaee/6/api/javax/servlet/ServletContext.html#addServlet(java.lang.String, java.lang.Class) On Sat, Jun 21, 2014 at 10:08 PM, Mohamed Nasmin nasmin1...@gmail.com wrote: Hi, @Ruchira I will debug the jars that we use in the tomgery app deployment and update with the results. @Dilshan I am using that JaggeryContextListener in a jar which is created by Ruchira. You can find the source code of that jar here[1]. @Dakshika With the integration with JSR-223, Jaggery will use Nashorn from JDK8 onwards and will fallback to JDK's embeded Rhino version with JDK7 or below. With the above Jaggery core minimisations, a Jaggery app can be even deployed on top of tomcat, subjecting to a WEB-INF directory which contains jaggery core jars and web.xml. For more details please refer this link[2]. [1] https://github.com/ruchiraw/jaggery/blob/master/components/jaggery-core/org.jaggeryjs.apps/src/main/java/org/jaggeryjs/apps/JaggeryContextListener.java [2] http://osdir.com/ml/carbon-wso2-architecture/2014-06/msg0.html On Sat, Jun 21, 2014 at 9:46 PM, Dilshan Edirisuriya dils...@wso2.com wrote: Hi, Whats there at line 27 of JaggeryContextListener.java? Where can we find the source for this? Regards, Dilshan On Sat, Jun 21, 2014 at 1:31 PM, Mohamed Nasmin nasmin1...@gmail.com wrote: According to our earlier conversation I am following the below progression to accomplish the project. Sorry for the lengthy email. *Task1. Check whether the app in the tomcat webapps is jaggery app or not before it gets deployed/initialized* I trigger the BEFORE_START_EVENT by configuring the tomcat lifecycle listener with context.xml in the tomcat. The context can listen to the lifecycle listener by putting jar inside lib folder of tomcat. That jar should contain the tomcat
Re: [Dev] GSoC Project - Progress on the Apache Tomcat based runtime implementation for Jaggery.js
Sure. I will send an update on the progress soon. On Mon, Jul 21, 2014 at 12:46 PM, Sagara Gunathunga sag...@wso2.com wrote: Hi Nasmin, Can you please send a mail to architecture@ list about your progress, current status, architectural changes etc. Thanks ! On Wed, Jul 9, 2014 at 5:59 PM, Chamil Jeewantha cha...@wso2.com wrote: Hi All, I have check the source code with Nasmin and found, the JaggeryAsyncServlet is already registered before it does programatically because JaggeryAsyncServlet class is automatically added to all the Webapp Contexts because of the @WebServlet annotation. @WebServlet(name = JaggeryAsyncServlet, urlPatterns = /*, asyncSupported = true) Since this JaggeryAsyncServlet is added selectively (only for the Jaggery apps), The @WebServlet should be removed. Regards, Chamil On Tue, Jul 1, 2014 at 12:10 AM, Mohamed Nasmin nasmin1...@gmail.com wrote: After some reading I found the above null pointer comes when we adding the context listener BEFORE_START_EVENT occurs. So I changed the event to STARTING. Now without any error the jaggery context listener added to the standard context. But when access the sample tomgery application through URL I got this error. When I debug this[1] I found appConfigs is null. But could not find how it happened. Thanks in advance. *Code : * protected void service(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { JaggeryAppConfigs appConfigs = JaggeryAppConfigs.getInstance(request.getServletContext()); request.setAttribute(org.apache.catalina.ASYNC_SUPPORTED, true); AsyncContext asyncCtx = request.startAsync(); asyncCtx.addListener(new JaggeryAsyncListener()); asyncCtx.setTimeout(appConfigs.getServletTimeout()); appConfigs.getServletExecutor().execute(new JaggeryAsyncRequestProcessor(asyncCtx)); } *Exception :* java.lang.NullPointerException org.jaggeryjs.apps.JaggeryAsyncServlet.service(JaggeryAsyncServlet.java:23) javax.servlet.http.HttpServlet.service(HttpServlet.java:727) org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) [1] https://github.com/ruchiraw/jaggery/blob/master/components/jaggery-core/org.jaggeryjs.apps/src/main/java/org/jaggeryjs/apps/JaggeryAsyncServlet.java On Sun, Jun 22, 2014 at 5:54 AM, Chamil Jeewantha cha...@wso2.com wrote: Hi Nasmin, the Null Pointer Exception (NPE) comes from the line registration.setAsyncSupported(true); Which means registration object is null. The responsible line of assigning this variable is the line 25. ServletRegistration.Dynamic registration = servletContext.addServlet( JaggeryAsyncServlet.NAME, JaggeryAsyncServlet.class); servletContext.addServlet javadoc[1] says, a ServletRegistration object that may be used to further configure the registered servlet, or *null** if this ServletContext already contains a complete ServletRegistration for the given **servletName* For this case you can start debug by two points. 1. debug JaggeryContextListener 2. Debug with tomcat source - servletContext.addServlet method to see why it returns null here. [1] http://docs.oracle.com/javaee/6/api/javax/servlet/ServletContext.html#addServlet(java.lang.String, java.lang.Class) On Sat, Jun 21, 2014 at 10:08 PM, Mohamed Nasmin nasmin1...@gmail.com wrote: Hi, @Ruchira I will debug the jars that we use in the tomgery app deployment and update with the results. @Dilshan I am using that JaggeryContextListener in a jar which is created by Ruchira. You can find the source code of that jar here[1]. @Dakshika With the integration with JSR-223, Jaggery will use Nashorn from JDK8 onwards and will fallback to JDK's embeded Rhino version with JDK7 or below. With the above Jaggery core minimisations, a Jaggery app can be even deployed on top of tomcat, subjecting to a WEB-INF directory which contains jaggery core jars and web.xml. For more details please refer this link[2]. [1] https://github.com/ruchiraw/jaggery/blob/master/components/jaggery-core/org.jaggeryjs.apps/src/main/java/org/jaggeryjs/apps/JaggeryContextListener.java [2] http://osdir.com/ml/carbon-wso2-architecture/2014-06/msg0.html On Sat, Jun 21, 2014 at 9:46 PM, Dilshan Edirisuriya dils...@wso2.com wrote: Hi, Whats there at line 27 of JaggeryContextListener.java? Where can we find the source for this? Regards, Dilshan On Sat, Jun 21, 2014 at 1:31 PM, Mohamed Nasmin nasmin1...@gmail.com wrote: According to our earlier conversation I am following the below progression to accomplish the project. Sorry for the lengthy email. *Task1. Check whether the app in the tomcat webapps is jaggery app or not before it gets deployed/initialized* I trigger the BEFORE_START_EVENT by configuring the tomcat lifecycle listener with context.xml in the
Re: [Dev] How to get the request count received by each BE separately?
Hi Thanks Udara, adding property name=NO_KEEPALIVE value=true scope=axis2/ to the sequence solve the problem Thanks Amalka On Mon, Jul 21, 2014 at 11:59 AM, Udara Liyanage ud...@wso2.com wrote: Hi, Could you try without keep-alive as [1]. [1] http://udaraliyanage.wordpress.com/2014/06/17/wso2-esb-keep-alive-property/ On Mon, Jul 21, 2014 at 10:30 AM, Amalka Subasinghe ama...@wso2.com wrote: Hi, I have configured the ESB to send requests to number of BEs, there, I want to get the request count received by each BE separately. When I try this scenario with TCPMon, I observed all the requests received by TCPMon from ESB were buffered. Therefore I cannot get the individual request count from the BE. But when I try the same scenario relating ESB with another TCPMon; I could get the requests separately without buffering. I have explained the two scenarios below. Is there any configuration to send requests from ESB to BE without buffering? Scenario 1. When I make number of requests with the TCPMon2 In between ESB and BE; TCPMon2 *does not *shows each request/response separately. Scenario 2. When I make number of requests with the TCPMon2 In between TCPMon1 (8280) and BE; then TCPMon2 shows each request/response separately. Thanks Amalka -- Amalka Subasinghe Senior Software Engineer WSO2 Inc. Mobile: +94 77 9401267 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Udara Liyanage Software Engineer WSO2, Inc.: http://wso2.com lean. enterprise. middleware web: http://udaraliyanage.wordpress.com phone: +94 71 443 6897 -- Amalka Subasinghe Senior Software Engineer WSO2 Inc. Mobile: +94 77 9401267 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] Secure JAX-RS Web Service using OAuth 2.0
Hi All, I've created a JAX-RS web service and it produces a JSON as response. It's running on Tomcat 8.08 and working fine. I just want to secure my service using OAuth 2.0 and will Apache Otlu be a help or any other mechanism we can use? Thanks and Regards. -- Kasun Dissanayake Software Engineer WSO2 Inc. Lean | Enterprise | Middleware Tel - +94 77 086 2860 Skype - kasun.dissanayake4 LinkedIn - lk.linkedin.com/in/kasundis/ ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Please include Oauth component 4.2.4 in chunk13
IS team.. Please ack.. On 21 July 2014 09:56, Vijayaratha Vijayasingam rat...@wso2.com wrote: IS team; I see OAUTH 4.2.4 component has been created some time back , but it has not been added in any of the chunk release..Hence please add that to chunk13 .(ie:components+ new version of feature) 4.2.4 component has a L1 fix which is required for AM.. Thanks. -- -Ratha mobile: (+94)755906608 -- -Ratha mobile: (+94)755906608 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Please include Oauth component 4.2.4 in chunk13
Hi Ratha, Isura is working on this. We'll add it to the Chunk-13 within today. Thanks Dulanja On Mon, Jul 21, 2014 at 2:15 PM, Vijayaratha Vijayasingam rat...@wso2.com wrote: IS team.. Please ack.. On 21 July 2014 09:56, Vijayaratha Vijayasingam rat...@wso2.com wrote: IS team; I see OAUTH 4.2.4 component has been created some time back , but it has not been added in any of the chunk release..Hence please add that to chunk13 .(ie:components+ new version of feature) 4.2.4 component has a L1 fix which is required for AM.. Thanks. -- -Ratha mobile: (+94)755906608 -- -Ratha mobile: (+94)755906608 -- Dulanja Liyanage WSO2 Inc. M: +94776764717 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Please include Oauth component 4.2.4 in chunk13
thanks.. On 21 July 2014 14:26, Dulanja Liyanage dula...@wso2.com wrote: Hi Ratha, Isura is working on this. We'll add it to the Chunk-13 within today. Thanks Dulanja On Mon, Jul 21, 2014 at 2:15 PM, Vijayaratha Vijayasingam rat...@wso2.com wrote: IS team.. Please ack.. On 21 July 2014 09:56, Vijayaratha Vijayasingam rat...@wso2.com wrote: IS team; I see OAUTH 4.2.4 component has been created some time back , but it has not been added in any of the chunk release..Hence please add that to chunk13 .(ie:components+ new version of feature) 4.2.4 component has a L1 fix which is required for AM.. Thanks. -- -Ratha mobile: (+94)755906608 -- -Ratha mobile: (+94)755906608 -- Dulanja Liyanage WSO2 Inc. M: +94776764717 -- -Ratha mobile: (+94)755906608 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] [ESB] Problems sending numeric keys in JSON Payloads
Hi, I am calling an endpoint which requires sending numeric keys in objects in the following format: {1 : some value} However, when processing this using a script mediator, the numeric key is converted in to a primitive number as follows: {1 : some value} which is not accepted by the script mediator when setting the payload using setPayloadJSON. This problem can also be seen when sending numeric values (not keys). Although the values are numeric, the backend does not accept these values if they are not sent as strings. e.g. {key:123} is converted to {key:123} which is not accepted. I managed to circumvent this problem by processing the payload via XML: payloadXML = mc.getPayloadXML(); var customFields = mc.getProperty(uri.var.customFields); var jsonObj = eval((+customFields+)); var customFieldsTag = cf/; for(var key in jsonObj){ var val = jsonObj[key]; customFieldsTag.cf += _JsonReader_PD_{key}{val}/_JsonReader_PD_{key}; } payloadXML.cf = customFieldsTag; mc.setPayloadXML(payloadXML); However, when processing the payload via XML, when there is only one element within a JSON array, e.g. {jsonaray : [some value]} this is processed as a single value (not within an array) and sent by the XML processor as {jsonarray : some value} Furthermore, when sending an empty value within a JSON array (which is required by the backend) and processing using XML, e.g. {jsonarray : [some value, ]}, the empty value is converted to *null*, which is not accepted by the backend. I would appreciate if someone could give me a solution to either; * Send numeric keys and values as strings within a JSON payload without them being processed in to numeric primitives. * Send a single value within a JSON array without it being reprocessed as a single key value pair by the XML-to-JSON processor. Thanks, -- View this message in context: http://wso2-oxygen-tank.10903.n7.nabble.com/ESB-Problems-sending-numeric-keys-in-JSON-Payloads-tp99789.html Sent from the WSO2 Development mailing list archive at Nabble.com. ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Secure JAX-RS Web Service using OAuth 2.0
Why not use WSO2 Identity Server instead? :-) On Mon, Jul 21, 2014 at 1:16 AM, Kasun Dissanayake kas...@wso2.com wrote: Hi All, I've created a JAX-RS web service and it produces a JSON as response. It's running on Tomcat 8.08 and working fine. I just want to secure my service using OAuth 2.0 and will Apache Otlu be a help or any other mechanism we can use? Thanks and Regards. -- Kasun Dissanayake Software Engineer WSO2 Inc. Lean | Enterprise | Middleware Tel - +94 77 086 2860 Skype - kasun.dissanayake4 LinkedIn - lk.linkedin.com/in/kasundis/ ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc. email: kasung AT spamfree wso2.com linked-in: http://lk.linkedin.com/in/gajasinghe blog: http://kasunbg.org ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Please include Oauth component 4.2.4 in chunk13
Hi Ratha, Since the branch is frozen we cannot commit the patches. How should we proceed? Could you commit? Thanks Dulanja On Mon, Jul 21, 2014 at 3:08 PM, Isura Karunaratne is...@wso2.com wrote: Hi Dulanja, Please use following diff Thanks On Mon, Jul 21, 2014 at 2:47 PM, Isura Karunaratne is...@wso2.com wrote: HI Dulanja, Please commit following diff Thanks Isura On Mon, Jul 21, 2014 at 2:27 PM, Vijayaratha Vijayasingam rat...@wso2.com wrote: thanks.. On 21 July 2014 14:26, Dulanja Liyanage dula...@wso2.com wrote: Hi Ratha, Isura is working on this. We'll add it to the Chunk-13 within today. Thanks Dulanja On Mon, Jul 21, 2014 at 2:15 PM, Vijayaratha Vijayasingam rat...@wso2.com wrote: IS team.. Please ack.. On 21 July 2014 09:56, Vijayaratha Vijayasingam rat...@wso2.com wrote: IS team; I see OAUTH 4.2.4 component has been created some time back , but it has not been added in any of the chunk release..Hence please add that to chunk13 .(ie:components+ new version of feature) 4.2.4 component has a L1 fix which is required for AM.. Thanks. -- -Ratha mobile: (+94)755906608 -- -Ratha mobile: (+94)755906608 -- Dulanja Liyanage WSO2 Inc. M: +94776764717 -- -Ratha mobile: (+94)755906608 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Isura Dilhara Karunaratne Software Engineer Mob +94 772 254 810 -- Isura Dilhara Karunaratne Software Engineer Mob +94 772 254 810 -- Dulanja Liyanage WSO2 Inc. M: +94776764717 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Please include Oauth component 4.2.4 in chunk13
Done thanks. On 21 July 2014 15:10, Dulanja Liyanage dula...@wso2.com wrote: Hi Ratha, Since the branch is frozen we cannot commit the patches. How should we proceed? Could you commit? Thanks Dulanja On Mon, Jul 21, 2014 at 3:08 PM, Isura Karunaratne is...@wso2.com wrote: Hi Dulanja, Please use following diff Thanks On Mon, Jul 21, 2014 at 2:47 PM, Isura Karunaratne is...@wso2.com wrote: HI Dulanja, Please commit following diff Thanks Isura On Mon, Jul 21, 2014 at 2:27 PM, Vijayaratha Vijayasingam rat...@wso2.com wrote: thanks.. On 21 July 2014 14:26, Dulanja Liyanage dula...@wso2.com wrote: Hi Ratha, Isura is working on this. We'll add it to the Chunk-13 within today. Thanks Dulanja On Mon, Jul 21, 2014 at 2:15 PM, Vijayaratha Vijayasingam rat...@wso2.com wrote: IS team.. Please ack.. On 21 July 2014 09:56, Vijayaratha Vijayasingam rat...@wso2.com wrote: IS team; I see OAUTH 4.2.4 component has been created some time back , but it has not been added in any of the chunk release..Hence please add that to chunk13 .(ie:components+ new version of feature) 4.2.4 component has a L1 fix which is required for AM.. Thanks. -- -Ratha mobile: (+94)755906608 -- -Ratha mobile: (+94)755906608 -- Dulanja Liyanage WSO2 Inc. M: +94776764717 -- -Ratha mobile: (+94)755906608 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Isura Dilhara Karunaratne Software Engineer Mob +94 772 254 810 -- Isura Dilhara Karunaratne Software Engineer Mob +94 772 254 810 -- Dulanja Liyanage WSO2 Inc. M: +94776764717 -- -Ratha mobile: (+94)755906608 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] AppFactory REST API HTTP method mis match
Hi Udara, It is implemented as POST. As a general rule, the idea of a GET in REST is that any of your parameters are sent in the URL. As you can see all of these methods required complex data and those are passed as body. Therefore these methods are implemented as POST instead of GET. Thanks On Mon, Jul 21, 2014 at 12:32 PM, Udara Liyanage ud...@wso2.com wrote: Hi, HTTP method of the below APIs should be GET according to general REST guides. However they are mentioned [1] as POST. Is this a documentation error or is it implemented as POST? - getApplicationsOfUser - getAppInfo - getAllAppVersionsInStages - getAppVersionsInStage - getLatestBuildSuccessInfo - isApplicationKeyAvailable - getBuildLogsUrl [1] https://docs.wso2.com/display/AF200/REST+APIs -- Udara Liyanage Software Engineer WSO2, Inc.: http://wso2.com lean. enterprise. middleware web: http://udaraliyanage.wordpress.com phone: +94 71 443 6897 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Best Regards Samith Dassanayake Software Engineer, WSO2 Inc. ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Secure JAX-RS Web Service using OAuth 2.0
On Mon, Jul 21, 2014 at 2:45 PM, Kasun Gajasinghe kas...@wso2.com wrote: Why not use WSO2 Identity Server instead? :-) Last week it happened me to wrote an OAuth filter which can be used with WSO2 AS and WSO2 IS, the code[1] still in initial stage but it works and we will ship improved version with AS 5.3.0. [1] - https://github.com/sagaragu/oauth-filter Thanks ! On Mon, Jul 21, 2014 at 1:16 AM, Kasun Dissanayake kas...@wso2.com wrote: Hi All, I've created a JAX-RS web service and it produces a JSON as response. It's running on Tomcat 8.08 and working fine. I just want to secure my service using OAuth 2.0 and will Apache Otlu be a help or any other mechanism we can use? Thanks and Regards. -- Kasun Dissanayake Software Engineer WSO2 Inc. Lean | Enterprise | Middleware Tel - +94 77 086 2860 Skype - kasun.dissanayake4 LinkedIn - lk.linkedin.com/in/kasundis/ ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc. email: kasung AT spamfree wso2.com linked-in: http://lk.linkedin.com/in/gajasinghe blog: http://kasunbg.org ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Sagara Gunathunga Senior Technical Lead; WSO2, Inc.; http://wso2.com V.P Apache Web Services;http://ws.apache.org/ Linkedin; http://www.linkedin.com/in/ssagara Blog ; http://ssagara.blogspot.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Please include Oauth component 4.2.4 in chunk13
Thanks Ratha On Mon, Jul 21, 2014 at 3:31 PM, Vijayaratha Vijayasingam rat...@wso2.com wrote: Done thanks. On 21 July 2014 15:10, Dulanja Liyanage dula...@wso2.com wrote: Hi Ratha, Since the branch is frozen we cannot commit the patches. How should we proceed? Could you commit? Thanks Dulanja On Mon, Jul 21, 2014 at 3:08 PM, Isura Karunaratne is...@wso2.com wrote: Hi Dulanja, Please use following diff Thanks On Mon, Jul 21, 2014 at 2:47 PM, Isura Karunaratne is...@wso2.com wrote: HI Dulanja, Please commit following diff Thanks Isura On Mon, Jul 21, 2014 at 2:27 PM, Vijayaratha Vijayasingam rat...@wso2.com wrote: thanks.. On 21 July 2014 14:26, Dulanja Liyanage dula...@wso2.com wrote: Hi Ratha, Isura is working on this. We'll add it to the Chunk-13 within today. Thanks Dulanja On Mon, Jul 21, 2014 at 2:15 PM, Vijayaratha Vijayasingam rat...@wso2.com wrote: IS team.. Please ack.. On 21 July 2014 09:56, Vijayaratha Vijayasingam rat...@wso2.com wrote: IS team; I see OAUTH 4.2.4 component has been created some time back , but it has not been added in any of the chunk release..Hence please add that to chunk13 .(ie:components+ new version of feature) 4.2.4 component has a L1 fix which is required for AM.. Thanks. -- -Ratha mobile: (+94)755906608 -- -Ratha mobile: (+94)755906608 -- Dulanja Liyanage WSO2 Inc. M: +94776764717 -- -Ratha mobile: (+94)755906608 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Isura Dilhara Karunaratne Software Engineer Mob +94 772 254 810 -- Isura Dilhara Karunaratne Software Engineer Mob +94 772 254 810 -- Dulanja Liyanage WSO2 Inc. M: +94776764717 -- -Ratha mobile: (+94)755906608 -- Dulanja Liyanage WSO2 Inc. M: +94776764717 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Secure JAX-RS Web Service using OAuth 2.0
Hi Kasun I think it would be a good idea. But I just needed to know the concept behind it. Thanks for the help :) On Mon, Jul 21, 2014 at 2:45 PM, Kasun Gajasinghe kas...@wso2.com wrote: Why not use WSO2 Identity Server instead? :-) On Mon, Jul 21, 2014 at 1:16 AM, Kasun Dissanayake kas...@wso2.com wrote: Hi All, I've created a JAX-RS web service and it produces a JSON as response. It's running on Tomcat 8.08 and working fine. I just want to secure my service using OAuth 2.0 and will Apache Otlu be a help or any other mechanism we can use? Thanks and Regards. -- Kasun Dissanayake Software Engineer WSO2 Inc. Lean | Enterprise | Middleware Tel - +94 77 086 2860 Skype - kasun.dissanayake4 LinkedIn - lk.linkedin.com/in/kasundis/ ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc. email: kasung AT spamfree wso2.com linked-in: http://lk.linkedin.com/in/gajasinghe blog: http://kasunbg.org -- Kasun Dissanayake Software Engineer WSO2 Inc. Lean | Enterprise | Middleware Tel - +94 77 086 2860 Skype - kasun.dissanayake4 LinkedIn - lk.linkedin.com/in/kasundis/ ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] Carbon merge required
Hi Carbon Team, Please merge the following pull requests 1) https://github.com/wso2-dev/wso2-axis2/pull/10 2) https://github.com/wso2-dev/carbon4-kernel/pull/37 Related jira : https://wso2.org/jira/browse/ESBJAVA-3171 Thank you Best Regards, Malaka Silva Senior Tech Lead M: +94 777 219 791 Tel : 94 11 214 5345 Fax :94 11 2145300 Skype : malaka.sampath.silva LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77 Blog : http://mrmalakasilva.blogspot.com/ WSO2, Inc. lean . enterprise . middleware http://www.wso2.com/ http://www.wso2.com/about/team/malaka-silva/ http://wso2.com/about/team/malaka-silva/ Save a tree -Conserve nature Save the world for your future. Print this email only if it is absolutely necessary. ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] AppFactory REST API HTTP method mis match
Hi Samita, In REST world GET is used to fetch resources and POST is used to create a resource. So using POST only to fetch resources is a violation if REST convention. Touched, not typed. Erroneous words are a feature, not a typo. ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] Build failed in carbon storage management repo due to missing eclipselink orbit dependency
Hi, The build of carbon storage management repo is failing as because transactions-eclipselink/3.9.1.wso2v1 jar not hosted in relevant maven repos. It's already added in orbit but I think it's not hosted. This needs to be hosted ASAP as it affects to the product builds. [1]-https://github.com/wso2/orbit/tree/master/transactions-eclipselink [2]- https://ec2-54-221-245-75.compute-1.amazonaws.com/jenkins/job/carbon-storage-management/ Thanks, Harsha -- Harsha Kumara Software Engineer, WSO2 Inc. Mobile: +94775505618 Blog:harshcreationz.blogspot.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] WSO2 BPS 3.5.0 M3 Released!
Hi all, WSO2 Business Process Server 3.5.0 M3 Release is available for download at [1] . This release includes following bug fixes, improvements and tasks. *Bugs* - [BPS-490 https://wso2.org/jira/browse/BPS-490] - Termination Event is not generated when the instance is terminated from DebuggerSupport - [BPS-508 https://wso2.org/jira/browse/BPS-508] - Use seperate h2 database for activiti engine - [BPS-513 https://wso2.org/jira/browse/BPS-513] - Remove FOREIGN KEY constraints from Oracle script - [BPS-517 https://wso2.org/jira/browse/BPS-517] - Getting error when refreshing instance list page after activate,suspend or delete instance. - [BPS-520 https://wso2.org/jira/browse/BPS-520] - BPMN UI cannot accessible in tenant mode *Improvements* - [BPS-528 https://wso2.org/jira/browse/BPS-528] - Support BPMN Clustering *Tasks* - [BPS-519 https://wso2.org/jira/browse/BPS-519] - Change dbscript folder structure and add activiti related db scripts to BPS - [BPS-522 https://wso2.org/jira/browse/BPS-522] - Add activiti datasource, h2 db, and sql scripts to bpmn server feature Please report issues at [2] and specify the affect version as 3.5.0 M4. [1] https://svn.wso2.org/repos/wso2/people/warunaj/releases/bps350/wso2bps-3.5.0-SNAPSHOT.zip [2] https://wso2.org/jira/browse/BPS Thanks and regards, -- BPS Team -- ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Policy can not be parsed with XACML 2.0 policy
Thanuja, FYI, the strange thing is I validate the new policy using both UMU XACML Editor and also Oxygen using the schema, http://docs.oasis-open.org/xacml/2.0/access_control-xacml-2.0-policy-schema-os.xsd, and your suggested modified policy validates successfully in both cases :(!! Jim From: o haya oh...@yahoo.com To: Thanuja Jayasinghe than...@wso2.com Cc: dev@wso2.org dev@wso2.org Sent: Monday, July 21, 2014 9:08 AM Subject: Re: [Dev] Policy can not be parsed with XACML 2.0 policy Hi Thanuja, Thanks for responding and for that info! I tried your suggestion in WSO2 4.6, but it won't allow me to import that modified XACML policy. I get a popup with: Invalid Entitlement Policy. Policy is not valid according to XACML schema The console log shows: [2014-07-21 09:06:45,167] ERROR {org.wso2.carbon.identity.entitlement.Entitlemen tUtil} - Invalid Namespace in policy [2014-07-21 09:06:45,172] ERROR {org.wso2.carbon.ui.transports.fileupload.Abstra ctFileUploadExecutor} - Policy uploading failed. Invalid Entitlement Policy. Po licy is not valid according to XACML schema Please advise. Thanks, Jim From: Thanuja Jayasinghe than...@wso2.com To: o haya oh...@yahoo.com Cc: dev@wso2.org dev@wso2.org Sent: Monday, July 21, 2014 1:46 AM Subject: Re: [Dev] Policy can not be parsed with XACML 2.0 policy Hi Jim, Problem is with the your XACML policy. ActionAttributeDesignator used inside Condition element returns a array, so use urn:oasis:names:tc:xacml:1.0:function:string-one-and-only to get a string before the function urn:oasis:names:tc:xacml:1.0:function:string-equal. Policy xmlns=urn:oasis:names:tc:xacml:2.0:policy:schema:os PolicyId=mypolicy RuleCombiningAlgId=urn:oasis:names:tc:xacml:1.0:rule-combining-algorithm:permit-overrides Descriptionxxx/Description Target Resources Resource ResourceMatch MatchId=urn:oasis:names:tc:xacml:1.0:function:string-equal AttributeValue DataType=http://www.w3.org/2001/XMLSchema#string;/*/AttributeValue ResourceAttributeDesignator AttributeId=urn:oasis:names:tc:xacml:1.0:resource:xpath DataType=http://www.w3.org/2001/XMLSchema#string;/ResourceAttributeDesignator /ResourceMatch /Resource /Resources /Target Rule Effect=Permit RuleId=rule1 Condition Apply FunctionId=urn:oasis:names:tc:xacml:1.0:function:string-equal AttributeValue DataType=http://www.w3.org/2001/XMLSchema#string;USA/AttributeValue Apply FunctionId=urn:oasis:names:tc:xacml:1.0:function:string-one-and-only ActionAttributeDesignator AttributeId=myattribute DataType=http://www.w3.org/2001/XMLSchema#string;/ActionAttributeDesignator /Apply /Apply /Condition /Rule /Policy Thanks, Thanuja. On Sun, Jul 20, 2014 at 6:35 PM, o haya oh...@yahoo.com wrote: Hi, I am trying to import some XACML 2.0 policy that I created with UMU XACML Editor, but I am getting an error, Policy can no be parsed, and in the WSO2 IS 4.6 console: [2014-07-20 08:49:09,544] ERROR {org.wso2.carbon.ui.transports.fileupload.Abstra ctFileUploadExecutor} - Policy uploading failed. Unsupported Entitlement Policy . Policy can not be parsed [2014-07-20 08:55:38,621] ERROR {org.wso2.carbon.identity.entitlement.pap.PAPPol icyReader} - Error while parsing the policy java.lang.IllegalArgumentException: illegal parameter at org.wso2.balana.cond.FunctionBase.checkInputs(FunctionBase.java:365) at org.wso2.balana.cond.Apply.init(Apply.java:89) at org.wso2.balana.cond.Apply.getInstance(Apply.java:227) at org.wso2.balana.cond.Apply.getInstance(Apply.java:188) at org.wso2.balana.cond.ExpressionHandler.parseExpression(ExpressionHand ler.java:53) at org.wso2.balana.cond.Condition.getInstance(Condition.java:177) at org.wso2.balana.Rule.getInstance(Rule.java:237) at org.wso2.balana.Policy.init(Policy.java:303) at org.wso2.balana.Policy.getInstance(Policy.java:382) at org.wso2.carbon.identity.entitlement.pap.PAPPolicyReader.handleDocume nt(PAPPolicyReader.java:163) at org.wso2.carbon.identity.entitlement.pap.PAPPolicyReader.getPolicy(PA PPolicyReader.java:124) at org.wso2.carbon.identity.entitlement.EntitlementPolicyAdminService.ad dOrUpdatePolicy(EntitlementPolicyAdminService.java:705) at org.wso2.carbon.identity.entitlement.EntitlementPolicyAdminService.ad dPolicy(EntitlementPolicyAdminService.java:67) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at
[Dev] App Cloud - can not commit to the branch
Hi All, I have created a JAX-RS app in App cloud and created a branch, forked it and cloned it to the local machine. I have made changes to the code and after i committed the changes to the forked branch i could not see the changes in the branch. following is the list of commands i used. 1. git clone FORKED URL 2. git add MODIFIED FILES 3. git commit 4. git push origin master Where I'm going wrong ? Thanks. Best Regards, Irshad ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Policy can not be parsed with XACML 2.0 policy
Hi Jim, I tried the attached policy with IS 4.6.0 and it works fine. Can you try the attached file? Thanks, Thanuja. On Mon, Jul 21, 2014 at 6:52 PM, o haya oh...@yahoo.com wrote: Thanuja, FYI, the strange thing is I validate the new policy using both UMU XACML Editor and also Oxygen using the schema, http://docs.oasis-open.org/xacml/2.0/access_control-xacml-2.0-policy-schema-os.xsd, and your suggested modified policy validates successfully in both cases :(!! Jim -- *From:* o haya oh...@yahoo.com *To:* Thanuja Jayasinghe than...@wso2.com *Cc:* dev@wso2.org dev@wso2.org *Sent:* Monday, July 21, 2014 9:08 AM *Subject:* Re: [Dev] Policy can not be parsed with XACML 2.0 policy Hi Thanuja, Thanks for responding and for that info! I tried your suggestion in WSO2 4.6, but it won't allow me to import that modified XACML policy. I get a popup with: Invalid Entitlement Policy. Policy is not valid according to XACML schema The console log shows: [2014-07-21 09:06:45,167] ERROR {org.wso2.carbon.identity.entitlement.Entitlemen tUtil} - Invalid Namespace in policy [2014-07-21 09:06:45,172] ERROR {org.wso2.carbon.ui.transports.fileupload.Abstra ctFileUploadExecutor} - Policy uploading failed. Invalid Entitlement Policy. Po licy is not valid according to XACML schema Please advise. Thanks, Jim -- *From:* Thanuja Jayasinghe than...@wso2.com *To:* o haya oh...@yahoo.com *Cc:* dev@wso2.org dev@wso2.org *Sent:* Monday, July 21, 2014 1:46 AM *Subject:* Re: [Dev] Policy can not be parsed with XACML 2.0 policy Hi Jim, Problem is with the your XACML policy. ActionAttributeDesignator used inside Condition element returns a array, so use urn:oasis:names:tc:xacml:1.0:function:string-one-and-only to get a string before the function urn:oasis:names:tc:xacml:1.0:function:string-equal. Policy xmlns=urn:oasis:names:tc:xacml:2.0:policy:schema:os PolicyId=mypolicy RuleCombiningAlgId=urn:oasis:names:tc:xacml:1.0:rule-combining-algorithm:permit-overrides Descriptionxxx/Description Target Resources Resource ResourceMatch MatchId=urn:oasis:names:tc:xacml:1.0:function:string-equal AttributeValue DataType= http://www.w3.org/2001/XMLSchema#string;/*/AttributeValue ResourceAttributeDesignator AttributeId=urn:oasis:names:tc:xacml:1.0:resource:xpath DataType= http://www.w3.org/2001/XMLSchema#string;/ResourceAttributeDesignator /ResourceMatch /Resource /Resources /Target Rule Effect=Permit RuleId=rule1 Condition Apply FunctionId=urn:oasis:names:tc:xacml:1.0:function:string-equal AttributeValue DataType= http://www.w3.org/2001/XMLSchema#string;USA/AttributeValue Apply FunctionId=urn:oasis:names:tc:xacml:1.0:function:string-one-and-only ActionAttributeDesignator AttributeId=myattribute DataType=http://www.w3.org/2001/XMLSchema#string /ActionAttributeDesignator /Apply /Apply /Condition /Rule /Policy Thanks, Thanuja. On Sun, Jul 20, 2014 at 6:35 PM, o haya oh...@yahoo.com wrote: Hi, I am trying to import some XACML 2.0 policy that I created with UMU XACML Editor, but I am getting an error, Policy can no be parsed, and in the WSO2 IS 4.6 console: [2014-07-20 08:49:09,544] ERROR {org.wso2.carbon.ui.transports.fileupload.Abstra ctFileUploadExecutor} - Policy uploading failed. Unsupported Entitlement Policy . Policy can not be parsed [2014-07-20 08:55:38,621] ERROR {org.wso2.carbon.identity.entitlement.pap.PAPPol icyReader} - Error while parsing the policy java.lang.IllegalArgumentException: illegal parameter at org.wso2.balana.cond.FunctionBase.checkInputs(FunctionBase.java:365) at org.wso2.balana.cond.Apply.init(Apply.java:89) at org.wso2.balana.cond.Apply.getInstance(Apply.java:227) at org.wso2.balana.cond.Apply.getInstance(Apply.java:188) at org.wso2.balana.cond.ExpressionHandler.parseExpression(ExpressionHand ler.java:53) at org.wso2.balana.cond.Condition.getInstance(Condition.java:177) at org.wso2.balana.Rule.getInstance(Rule.java:237) at org.wso2.balana.Policy.init(Policy.java:303) at org.wso2.balana.Policy.getInstance(Policy.java:382) at org.wso2.carbon.identity.entitlement.pap.PAPPolicyReader.handleDocume nt(PAPPolicyReader.java:163) at org.wso2.carbon.identity.entitlement.pap.PAPPolicyReader.getPolicy(PA PPolicyReader.java:124) at org.wso2.carbon.identity.entitlement.EntitlementPolicyAdminService.ad http://org.wso2.carbon.identity.entitlement.entitlementpolicyadminservice.ad/ dOrUpdatePolicy(EntitlementPolicyAdminService.java:705) at org.wso2.carbon.identity.entitlement.EntitlementPolicyAdminService.ad
Re: [Dev] App Cloud - can not commit to the branch
Hi Irshad You have to checkout a branch before you can commit to it. So first run git branch Outcome should be *master This means you are in master still. (trunk) Then run git checkout version number And run git branch Outcome should be *version number master This means you have checkout the branch by now Then do the change and run git add git commit git push *(no origin master)* This should do it. Refer to [1]. [1] http://git-scm.com/docs/user-manual.html Thanks Regards Danushka Fernando Software Engineer WSO2 inc. http://wso2.com/ Mobile : +94716332729 On Mon, Jul 21, 2014 at 6:57 PM, Irshad Hassan irshadhassa...@gmail.com wrote: Hi All, I have created a JAX-RS app in App cloud and created a branch, forked it and cloned it to the local machine. I have made changes to the code and after i committed the changes to the forked branch i could not see the changes in the branch. following is the list of commands i used. 1. git clone FORKED URL 2. git add MODIFIED FILES 3. git commit 4. git push origin master Where I'm going wrong ? Thanks. Best Regards, Irshad ___ 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] Policy can not be parsed with XACML 2.0 policy
Hi Thanuja, Thanks for responding and for that info! I tried your suggestion in WSO2 4.6, but it won't allow me to import that modified XACML policy. I get a popup with: Invalid Entitlement Policy. Policy is not valid according to XACML schema The console log shows: [2014-07-21 09:06:45,167] ERROR {org.wso2.carbon.identity.entitlement.Entitlemen tUtil} - Invalid Namespace in policy [2014-07-21 09:06:45,172] ERROR {org.wso2.carbon.ui.transports.fileupload.Abstra ctFileUploadExecutor} - Policy uploading failed. Invalid Entitlement Policy. Po licy is not valid according to XACML schema Please advise. Thanks, Jim From: Thanuja Jayasinghe than...@wso2.com To: o haya oh...@yahoo.com Cc: dev@wso2.org dev@wso2.org Sent: Monday, July 21, 2014 1:46 AM Subject: Re: [Dev] Policy can not be parsed with XACML 2.0 policy Hi Jim, Problem is with the your XACML policy. ActionAttributeDesignator used inside Condition element returns a array, so use urn:oasis:names:tc:xacml:1.0:function:string-one-and-only to get a string before the function urn:oasis:names:tc:xacml:1.0:function:string-equal. Policy xmlns=urn:oasis:names:tc:xacml:2.0:policy:schema:os PolicyId=mypolicy RuleCombiningAlgId=urn:oasis:names:tc:xacml:1.0:rule-combining-algorithm:permit-overrides Descriptionxxx/Description Target Resources Resource ResourceMatch MatchId=urn:oasis:names:tc:xacml:1.0:function:string-equal AttributeValue DataType=http://www.w3.org/2001/XMLSchema#string;/*/AttributeValue ResourceAttributeDesignator AttributeId=urn:oasis:names:tc:xacml:1.0:resource:xpath DataType=http://www.w3.org/2001/XMLSchema#string;/ResourceAttributeDesignator /ResourceMatch /Resource /Resources /Target Rule Effect=Permit RuleId=rule1 Condition Apply FunctionId=urn:oasis:names:tc:xacml:1.0:function:string-equal AttributeValue DataType=http://www.w3.org/2001/XMLSchema#string;USA/AttributeValue Apply FunctionId=urn:oasis:names:tc:xacml:1.0:function:string-one-and-only ActionAttributeDesignator AttributeId=myattribute DataType=http://www.w3.org/2001/XMLSchema#string;/ActionAttributeDesignator /Apply /Apply /Condition /Rule /Policy Thanks, Thanuja. On Sun, Jul 20, 2014 at 6:35 PM, o haya oh...@yahoo.com wrote: Hi, I am trying to import some XACML 2.0 policy that I created with UMU XACML Editor, but I am getting an error, Policy can no be parsed, and in the WSO2 IS 4.6 console: [2014-07-20 08:49:09,544] ERROR {org.wso2.carbon.ui.transports.fileupload.Abstra ctFileUploadExecutor} - Policy uploading failed. Unsupported Entitlement Policy . Policy can not be parsed [2014-07-20 08:55:38,621] ERROR {org.wso2.carbon.identity.entitlement.pap.PAPPol icyReader} - Error while parsing the policy java.lang.IllegalArgumentException: illegal parameter at org.wso2.balana.cond.FunctionBase.checkInputs(FunctionBase.java:365) at org.wso2.balana.cond.Apply.init(Apply.java:89) at org.wso2.balana.cond.Apply.getInstance(Apply.java:227) at org.wso2.balana.cond.Apply.getInstance(Apply.java:188) at org.wso2.balana.cond.ExpressionHandler.parseExpression(ExpressionHand ler.java:53) at org.wso2.balana.cond.Condition.getInstance(Condition.java:177) at org.wso2.balana.Rule.getInstance(Rule.java:237) at org.wso2.balana.Policy.init(Policy.java:303) at org.wso2.balana.Policy.getInstance(Policy.java:382) at org.wso2.carbon.identity.entitlement.pap.PAPPolicyReader.handleDocume nt(PAPPolicyReader.java:163) at org.wso2.carbon.identity.entitlement.pap.PAPPolicyReader.getPolicy(PA PPolicyReader.java:124) at org.wso2.carbon.identity.entitlement.EntitlementPolicyAdminService.ad dOrUpdatePolicy(EntitlementPolicyAdminService.java:705) at org.wso2.carbon.identity.entitlement.EntitlementPolicyAdminService.ad dPolicy(EntitlementPolicyAdminService.java:67) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.apache.axis2.rpc.receivers.RPCUtil.invokeServiceClass(RPCUtil.jav a:212) at org.apache.axis2.rpc.receivers.RPCInOnlyMessageReceiver.invokeBusines sLogic(RPCInOnlyMessageReceiver.java:66) at org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMe ssageReceiver.java:110) at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:180) at org.apache.axis2.transport.local.LocalTransportReceiver.processMessag e(LocalTransportReceiver.java:169) at
Re: [Dev] AppFactory REST API HTTP method mis match
Hi Samita, Yes, as Udara said that is the standard of REST [1]. In that case, there may be some more changes in our REST API for other operation also as this standard. Better to discuss with the team whether this is possible to change right now. [1] http://www.restapitutorial.com/lessons/httpmethods.html thanks *Harsha Thirimanna* Senior Software Engineer; WSO2, Inc.; http://wso2.com * http://www.apache.org/* * email: **hars...@wso2.com* az...@wso2.com* cell: +94 71 5186770 , +94 * *774617784 twitter: **http://twitter.com/ http://twitter.com/afkham_azeez* *harshathirimann linked-in: **http: http://lk.linkedin.com/in/afkhamazeez**//www.linkedin.com/pub/harsha-thirimanna/10/ab8/122 http://www.linkedin.com/pub/harsha-thirimanna/10/ab8/122* *Lean . Enterprise . Middleware* On Mon, Jul 21, 2014 at 5:56 PM, Udara Liyanage ud...@wso2.com wrote: Hi Samita, In REST world GET is used to fetch resources and POST is used to create a resource. So using POST only to fetch resources is a violation if REST convention. Touched, not typed. Erroneous words are a feature, not a typo. ___ 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] Carbon merge required
Hi Malaka, Can you please explain the reason to copy all the properties here? // Copy all the properties MapString, Object mOriginalProperties = msgContext.getProperties(); for (String strKey : mOriginalProperties.keySet()) { superTenantOutMessageContext.setProperty(strKey, mOriginalProperties.get(strKey)); } Sagara, Can you please review the axis2 patch? On Mon, Jul 21, 2014 at 5:45 PM, Malaka Silva mal...@wso2.com wrote: Hi Carbon Team, Please merge the following pull requests 1) https://github.com/wso2-dev/wso2-axis2/pull/10 2) https://github.com/wso2-dev/carbon4-kernel/pull/37 Related jira : https://wso2.org/jira/browse/ESBJAVA-3171 Thank you Best Regards, Malaka Silva Senior Tech Lead M: +94 777 219 791 Tel : 94 11 214 5345 Fax :94 11 2145300 Skype : malaka.sampath.silva LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77 Blog : http://mrmalakasilva.blogspot.com/ WSO2, Inc. lean . enterprise . middleware http://www.wso2.com/ http://www.wso2.com/about/team/malaka-silva/ http://wso2.com/about/team/malaka-silva/ Save a tree -Conserve nature Save the world for your future. Print this email only if it is absolutely necessary. ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Sameera Jayasoma, Software Architect, WSO2, Inc. (http://wso2.com) email: same...@wso2.com blog: http://sameera.adahas.org twitter: https://twitter.com/sameerajayasoma flickr: http://www.flickr.com/photos/sameera-jayasoma/collections Mobile: 0094776364456 Lean . Enterprise . Middleware ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] Issue with Tenant's Domain on DSS Cluster Setup
Hi All, Attached exception is occurred on the back-end, when I access the WSDL of an web service deployed on the below setup as in the tenant mode. Please see the below setup which I accessed. 1. DSS 3.2.2 cluster setup(one Manager, two Worker nodes fronted ELB) 2. DepSync enable and centralized database is used. 2. Domain name of the tenant having 3(or any, more than 2) labels delimited by dots , (Eg: *dss.cluster.com http://dss.cluster.com*) Very first time I could access the WSDL and there after it is getting the exception attached. The only deviation from the working configuration is above [2], there using more than two seperated parts in the domain name. is this an illegal domain define[2] or any issue specifically in the cluster mode?, Please help to clarify this. -- Thanks Regards *Chaminda Jayawardena* Senior Software Engineer - QA WSO2 Inc. - http://wso2.com +94-77-7725234 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Issue with Tenant's Domain on DSS Cluster Setup
Issue attached. On Mon, Jul 21, 2014 at 11:22 PM, Chaminda Jayawardena chami...@wso2.com wrote: Hi All, Attached exception is occurred on the back-end, when I access the WSDL of an web service deployed on the below setup as in the tenant mode. Please see the below setup which I accessed. 1. DSS 3.2.2 cluster setup(one Manager, two Worker nodes fronted ELB) 2. DepSync enable and centralized database is used. 2. Domain name of the tenant having 3(or any, more than 2) labels delimited by dots , (Eg: *dss.cluster.com http://dss.cluster.com*) Very first time I could access the WSDL and there after it is getting the exception attached. The only deviation from the working configuration is above [2], there using more than two seperated parts in the domain name. is this an illegal domain define[2] or any issue specifically in the cluster mode?, Please help to clarify this. -- Thanks Regards *Chaminda Jayawardena* Senior Software Engineer - QA WSO2 Inc. - http://wso2.com +94-77-7725234 -- Thanks Regards *Chaminda Jayawardena* Senior Software Engineer - QA WSO2 Inc. - http://wso2.com +94-77-7725234 Issue Description: Binary data ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] CARBON-14857 - Single Logout is not working because of using JSESSIONID cookie only in the logout request
Hi Dulanja, Can we resolved this issue? If there were any fixes to the codebase, can you make sure that those fixes are available in the git components as well. https://wso2.org/jira/browse/CARBON-14857 Thanks, Sameera. -- Sameera Jayasoma, Software Architect, WSO2, Inc. (http://wso2.com) email: same...@wso2.com blog: http://sameera.adahas.org twitter: https://twitter.com/sameerajayasoma flickr: http://www.flickr.com/photos/sameera-jayasoma/collections Mobile: 0094776364456 Lean . Enterprise . Middleware ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] [Chunk13 -build error] DS p2 profile generation fails
Getting; Installing org.wso2.carbon.identity.authenticator.saml2.sso.server.feature.group 4.2.2. Installing org.wso2.carbon.user.mgt.feature.group 4.2.2. Operation completed in 24507 ms. [INFO] [INFO] --- carbon-p2-plugin:1.5.3:p2-profile-gen (p2-profile-generation-for-worker-profile) @ wso2dataservices-profile-gen --- [INFO] Running Equinox P2 Director Application [INFO] Command line: /bin/sh -c cd /opt/checkout_chunk13/platform/branches/turing/products/dss/3.2.2/modules/p2-profile-gen /usr/local/java/jdk1.6.0_45/jre/bin/java -jar /root/.m2/repository/org/eclipse/tycho/tycho-p2-runtime/0.13.0/eclipse/plugins/org.eclipse.equinox.launcher_1.2.0.v20110725-1610.jar -nosplash -application org.eclipse.equinox.p2.director -metadataRepository file:/opt/checkout_chunk13/platform/branches/turing/products/dss/3.2.2/modules/p2-profile-gen/target/p2-repo -artifactRepository file:/opt/checkout_chunk13/platform/branches/turing/products/dss/3.2.2/modules/p2-profile-gen/target/p2-repo -profileProperties org.eclipse.update.install.features=true -installIU org.wso2.carbon.stratos.common.server.feature.group/2.2.2,org.wso2.carbon.stratos.deployment.feature.group/2.2.1,org.wso2.carbon.ntask.feature.group/4.2.4,org.wso2.carbon.logging.mgt.server.feature.group/4.2.1,org.wso2.carbon.databridge.datapublisher.feature.group/4.2.3,org.wso2.carbon.wsdl.tools.server.feature.group/4.2.0,org.wso2.carbon.system.statistics.server.feature.group/4.2.2,org.wso2.carbon.soaptracer.server.feature.group/4.2.0,org.wso2.carbon.dataservices.feature.group/4.2.4,org.wso2.carbon.dataservices.task.server.feature.group/4.2.4,org.wso2.carbon.ndatasource.feature.group/4.2.3,org.wso2.carbon.ndatasource.ui.feature.group/4.2.3,org.wso2.carbon.service.mgt.server.feature.group/4.2.1,org.wso2.carbon.transport.mgt.server.feature.group/4.2.0,org.wso2.carbon.transport.jms.feature.group/4.2.0,org.wso2.carbon.transport.mail.feature.group/4.2.0,org.wso2.carbon.message.flows.server.feature.group/4.2.0,org.wso2.carbon.event.common.feature.group/4.2.0,org.wso2.carbon.event.server.feature.group/4.2.2,org.wso2.carbon.xfer.feature.group/4.2.0,org.wso2.carbon.mex.feature.group/4.2.0,org.wso2.carbon.registry.core.server.feature.group/4.2.2,org.wso2.carbon.registry.ui.menu.feature.group/4.2.0,org.wso2.carbon.registry.resource.properties.server.feature.group/4.2.1,org.wso2.stratos.dss.styles.feature.group/2.2.0,org.wso2.carbon.tryit.server.feature.group/4.2.0,org.wso2.carbon.discovery.core.feature.group/4.2.1,org.wso2.carbon.discovery.admin.ui.feature.group/4.2.0,org.wso2.carbon.application.mgt.server.feature.group/4.2.0,org.wso2.stratos.dss.dashboard.ui.feature.group/2.2.0,org.wso2.carbon.jsscraper.server.feature.group/4.2.0,org.wso2.carbon.load.balance.agent.server.feature.group/2.2.0,org.wso2.carbon.deployment.synchronizer.server.feature.group/4.2.2,org.wso2.carbon.deployment.synchronizer.subversion.feature.group/4.2.1,org.wso2.carbon.reporting.server.feature.group/4.2.2,org.wso2.carbon.stratos.usage.agent.feature.group/2.2.0,org.wso2.carbon.stratos.throttling.agent.feature.group/2.2.0,org.wso2.carbon.transaction.manager.feature.group/4.2.1,org.wso2.carbon.cassandra-jdbc-1.2.5.server.feature.group/4.2.0,org.wso2.carbon.identity.authenticator.saml2.sso.ui.feature.group/4.2.3,org.wso2.carbon.identity.authenticator.saml2.sso.server.feature.group/4.2.2,org.wso2.carbon.user.mgt.server.feature.group/4.2.1, -bundlepool /opt/checkout_chunk13/platform/branches/turing/products/dss/3.2.2/modules/p2-profile-gen/target/wso2carbon-core-4.2.0/repository/components -shared /opt/checkout_chunk13/platform/branches/turing/products/dss/3.2.2/modules/p2-profile-gen/target/wso2carbon-core-4.2.0/repository/components/p2 -destination /opt/checkout_chunk13/platform/branches/turing/products/dss/3.2.2/modules/p2-profile-gen/target/wso2carbon-core-4.2.0/repository/components/worker -profile worker -roaming Installation failed. The installable unit org.wso2.carbon.user.mgt.server.feature.group/4.2.1 has not been found. Application failed, log file location: /root/.m2/repository/org/eclipse/tycho/tycho-p2-runtime/0.13.0/eclipse/configuration/1405966838006.log [INFO] [INFO -- -Ratha mobile: (+94)755906608 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] ESB 4.9.0 M2 Released
Hi All, WSO2 ESB 4.9.0 M2 is available at [1] [1] http://svn.wso2.org/repos/wso2/people/malaka/ESB/ESB4.9.0/M2/wso2esb-4.9 .0-SNAPSHOT.zip -- Best Regards, Malaka Silva Senior Tech Lead M: +94 777 219 791 Tel : 94 11 214 5345 Fax :94 11 2145300 Skype : malaka.sampath.silva LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77 Blog : http://mrmalakasilva.blogspot.com/ WSO2, Inc. lean . enterprise . middleware http://www.wso2.com/ http://www.wso2.com/about/team/malaka-silva/ http://wso2.com/about/team/malaka-silva/ Save a tree -Conserve nature Save the world for your future. Print this email only if it is absolutely necessary. ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Carbon merge required
Hi Sameera, There are several support issues due to properties not available in tenant mode. What usually have done so far is just copy the required property for the mentioned issue. To avoid this in future this will copy all the properties to the tenant context. Best Regards, Malaka On Mon, Jul 21, 2014 at 11:21 PM, Sameera Jayasoma same...@wso2.com wrote: Hi Malaka, Can you please explain the reason to copy all the properties here? // Copy all the properties MapString, Object mOriginalProperties = msgContext.getProperties(); for (String strKey : mOriginalProperties.keySet()) { superTenantOutMessageContext.setProperty(strKey, mOriginalProperties.get(strKey)); } Sagara, Can you please review the axis2 patch? On Mon, Jul 21, 2014 at 5:45 PM, Malaka Silva mal...@wso2.com wrote: Hi Carbon Team, Please merge the following pull requests 1) https://github.com/wso2-dev/wso2-axis2/pull/10 2) https://github.com/wso2-dev/carbon4-kernel/pull/37 Related jira : https://wso2.org/jira/browse/ESBJAVA-3171 Thank you Best Regards, Malaka Silva Senior Tech Lead M: +94 777 219 791 Tel : 94 11 214 5345 Fax :94 11 2145300 Skype : malaka.sampath.silva LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77 Blog : http://mrmalakasilva.blogspot.com/ WSO2, Inc. lean . enterprise . middleware http://www.wso2.com/ http://www.wso2.com/about/team/malaka-silva/ http://wso2.com/about/team/malaka-silva/ Save a tree -Conserve nature Save the world for your future. Print this email only if it is absolutely necessary. ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Sameera Jayasoma, Software Architect, WSO2, Inc. (http://wso2.com) email: same...@wso2.com blog: http://sameera.adahas.org twitter: https://twitter.com/sameerajayasoma flickr: http://www.flickr.com/photos/sameera-jayasoma/collections Mobile: 0094776364456 Lean . Enterprise . Middleware -- Best Regards, Malaka Silva Senior Tech Lead M: +94 777 219 791 Tel : 94 11 214 5345 Fax :94 11 2145300 Skype : malaka.sampath.silva LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77 Blog : http://mrmalakasilva.blogspot.com/ WSO2, Inc. lean . enterprise . middleware http://www.wso2.com/ http://www.wso2.com/about/team/malaka-silva/ http://wso2.com/about/team/malaka-silva/ Save a tree -Conserve nature Save the world for your future. Print this email only if it is absolutely necessary. ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] CARBON-14833 - When we deploy a CAR file to ESB, that is going to upload to the registry as well
Hi Manoj, Can you elaborate more on this issue? Is this fixed now? CARBON-14833 https://wso2.org/jira/browse/CARBON-14833 Thanks, Sameera. -- Sameera Jayasoma, Software Architect, WSO2, Inc. (http://wso2.com) email: same...@wso2.com blog: http://sameera.adahas.org twitter: https://twitter.com/sameerajayasoma flickr: http://www.flickr.com/photos/sameera-jayasoma/collections Mobile: 0094776364456 Lean . Enterprise . Middleware ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] BAM Daily Build - 17/07
Please fine the pack for 22nd of July, https://svn.wso2.org/repos/wso2/people/ayash/BAM/wso2bam-2.4.2.zip On Thu, Jul 17, 2014 at 8:21 PM, Ayash ayashkan...@wso2.com wrote: Thanks gokul :) On Thu, Jul 17, 2014 at 6:49 PM, Gokul Balakrishnan go...@wso2.com wrote: Please find the BAM pack built today at [1]. The surefire reports for BAM can also be found in the same localtion. [1] https://svn.wso2.org/repos/wso2/people/gokul/bam/build/17-07/ Thanks, -- *Balakrishnan Gokulakrishnan* Software Engineer, WSO2, Inc. http://wso2.com Mob: +94 77 593 5789 | +1 650 272 9927 -- Ayashkantha Ramasinghe Software Engineer WSO2, Inc. email: ayashkan...@wso2.com sanj...@wso2.com; TP: +94 77 7 487 669 -- Ayashkantha Ramasinghe Software Engineer WSO2, Inc. email: ayashkan...@wso2.com sanj...@wso2.com; TP: +94 77 7 487 669 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] BAM Daily Build - 17/07
*find On Tue, Jul 22, 2014 at 12:21 AM, Ayash ayashkan...@wso2.com wrote: Please fine the pack for 22nd of July, https://svn.wso2.org/repos/wso2/people/ayash/BAM/wso2bam-2.4.2.zip On Thu, Jul 17, 2014 at 8:21 PM, Ayash ayashkan...@wso2.com wrote: Thanks gokul :) On Thu, Jul 17, 2014 at 6:49 PM, Gokul Balakrishnan go...@wso2.com wrote: Please find the BAM pack built today at [1]. The surefire reports for BAM can also be found in the same localtion. [1] https://svn.wso2.org/repos/wso2/people/gokul/bam/build/17-07/ Thanks, -- *Balakrishnan Gokulakrishnan* Software Engineer, WSO2, Inc. http://wso2.com Mob: +94 77 593 5789 | +1 650 272 9927 -- Ayashkantha Ramasinghe Software Engineer WSO2, Inc. email: ayashkan...@wso2.com sanj...@wso2.com; TP: +94 77 7 487 669 -- Ayashkantha Ramasinghe Software Engineer WSO2, Inc. email: ayashkan...@wso2.com sanj...@wso2.com; TP: +94 77 7 487 669 -- Ayashkantha Ramasinghe Software Engineer WSO2, Inc. email: ayashkan...@wso2.com sanj...@wso2.com; TP: +94 77 7 487 669 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] CARBON-14833 - When we deploy a CAR file to ESB, that is going to upload to the registry as well
Hi Sameera, When we deploy a CAR file to a server a copy get created under /_system/config/repository. As what I heard from Kishanthan this was used in product prior to 4.2.0 to check whether the CApp is installed during server restart to ignore deployment if its available in registry. In the current model we don't need this. Its not fixed yet. I can work on this if its not urgent. Thanks, Manoj *Manoj Kumara* Software Engineer WSO2 Inc. http://wso2.com/ *lean.enterprise.middleware* Mobile: +94713448188 On Mon, Jul 21, 2014 at 2:17 PM, Sameera Jayasoma same...@wso2.com wrote: Hi Manoj, Can you elaborate more on this issue? Is this fixed now? CARBON-14833 https://wso2.org/jira/browse/CARBON-14833 Thanks, Sameera. -- Sameera Jayasoma, Software Architect, WSO2, Inc. (http://wso2.com) email: same...@wso2.com blog: http://sameera.adahas.org twitter: https://twitter.com/sameerajayasoma flickr: http://www.flickr.com/photos/sameera-jayasoma/collections Mobile: 0094776364456 Lean . Enterprise . Middleware ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Build failed in carbon storage management repo due to missing eclipselink orbit dependency
Hi Maheshika, Would you be able to check on this? or suggest someone who's got access to deploy the artifacts to the relevant repos, for us to talk to and get this fixed? Cheers, Prabath On Mon, Jul 21, 2014 at 6:29 PM, Harsha Kumara hars...@wso2.com wrote: Hi, The build of carbon storage management repo is failing as because transactions-eclipselink/3.9.1.wso2v1 jar not hosted in relevant maven repos. It's already added in orbit but I think it's not hosted. This needs to be hosted ASAP as it affects to the product builds. [1]-https://github.com/wso2/orbit/tree/master/transactions-eclipselink [2]- https://ec2-54-221-245-75.compute-1.amazonaws.com/jenkins/job/carbon-storage-management/ Thanks, Harsha -- Harsha Kumara Software Engineer, WSO2 Inc. Mobile: +94775505618 Blog:harshcreationz.blogspot.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Prabath Abeysekara Associate Technical Lead, Data TG. WSO2 Inc. Email: praba...@wso2.com Mobile: +94774171471 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] Application deployer gives issue in chunk13
Hi all; we are getting following issue in AM ; [2014-07-22 10:20:39,515] WARN - DefaultSchemaGenerator We don't support method overloading. Ignoring [getAttributeName] [2014-07-22 10:20:39,802] INFO - CarbonServerManager Repository : /Users/ratha/Downloads/wso2am-1.7.1/repository/deployment/server/ [2014-07-22 10:20:39,905] ERROR - AppDeployerServiceComponent Application Deployer has not started. Therefore Bundle context is null [2014-07-22 10:20:39,909] ERROR - AppDeployerServiceComponent Failed to activate Carbon Application Deployer java.lang.NoClassDefFoundError: Could not initialize class org.wso2.carbon.application.deployer.internal.ApplicationManager at org.wso2.carbon.application.deployer.internal.AppDeployerServiceComponent.activate(AppDeployerServiceComponent.java:77) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.eclipse.equinox.internal.ds.model.ServiceComponent.activate(ServiceComponent.java:260) at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activate(ServiceComponentProp.java:146) at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:347) at org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:620) at org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:197) at org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:343) at org.eclipse.equinox.internal.ds.SCRManager.serviceChanged(SCRManager.java:222) at org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:107) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:861) at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230) at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148) at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:819) at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:771) at org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:130) at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:214) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:433) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:451) at org.wso2.carbon.core.init.CarbonServerManager.initializeCarbon(CarbonServerManager.java:517) at org.wso2.carbon.core.init.CarbonServerManager.start(CarbonServerManager.java:219) at org.wso2.carbon.core.internal.CarbonCoreServiceComponent.activate(CarbonCoreServiceComponent.java:77) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.eclipse.equinox.internal.ds.model.ServiceComponent.activate(ServiceComponent.java:260) at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activate(ServiceComponentProp.java:146) at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:347) at org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:620) at org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:197) at org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:343) at org.eclipse.equinox.internal.ds.SCRManager.serviceChanged(SCRManager.java:222) at org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:107) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:861) at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230) at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148) at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:819) at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:771) at org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:130) at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:214) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:433)
Re: [Dev] Build failed in carbon storage management repo due to missing eclipselink orbit dependency
Hi All Done. On Tue, Jul 22, 2014 at 8:55 AM, Prabath Abeysekera praba...@wso2.com wrote: Hi Maheshika, Would you be able to check on this? or suggest someone who's got access to deploy the artifacts to the relevant repos, for us to talk to and get this fixed? Cheers, Prabath On Mon, Jul 21, 2014 at 6:29 PM, Harsha Kumara hars...@wso2.com wrote: Hi, The build of carbon storage management repo is failing as because transactions-eclipselink/3.9.1.wso2v1 jar not hosted in relevant maven repos. It's already added in orbit but I think it's not hosted. This needs to be hosted ASAP as it affects to the product builds. [1]-https://github.com/wso2/orbit/tree/master/transactions-eclipselink [2]- https://ec2-54-221-245-75.compute-1.amazonaws.com/jenkins/job/carbon-storage-management/ Thanks, Harsha -- Harsha Kumara Software Engineer, WSO2 Inc. Mobile: +94775505618 Blog:harshcreationz.blogspot.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Prabath Abeysekara Associate Technical Lead, Data TG. WSO2 Inc. Email: praba...@wso2.com Mobile: +94774171471 -- Thanks Best Regards, Maheshika Goonetilleke Engineering Process Coordinator *WSO2 Inc* *email : mahesh...@wso2.com mahesh...@wso2.com* *mobile : +94 773 596707* *www: :http://wso2.com http://wso2.com/*lean . enterprise . middleware ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Build failed in carbon storage management repo due to missing eclipselink orbit dependency
Thanks Maheshika! @Harsha, Please check and verify whether the build issues reported are fixed now. Cheers, Prabath On Tue, Jul 22, 2014 at 10:26 AM, Maheshika Goonetilleke mahesh...@wso2.com wrote: Hi All Done. On Tue, Jul 22, 2014 at 8:55 AM, Prabath Abeysekera praba...@wso2.com wrote: Hi Maheshika, Would you be able to check on this? or suggest someone who's got access to deploy the artifacts to the relevant repos, for us to talk to and get this fixed? Cheers, Prabath On Mon, Jul 21, 2014 at 6:29 PM, Harsha Kumara hars...@wso2.com wrote: Hi, The build of carbon storage management repo is failing as because transactions-eclipselink/3.9.1.wso2v1 jar not hosted in relevant maven repos. It's already added in orbit but I think it's not hosted. This needs to be hosted ASAP as it affects to the product builds. [1]-https://github.com/wso2/orbit/tree/master/transactions-eclipselink [2]- https://ec2-54-221-245-75.compute-1.amazonaws.com/jenkins/job/carbon-storage-management/ Thanks, Harsha -- Harsha Kumara Software Engineer, WSO2 Inc. Mobile: +94775505618 Blog:harshcreationz.blogspot.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Prabath Abeysekara Associate Technical Lead, Data TG. WSO2 Inc. Email: praba...@wso2.com Mobile: +94774171471 -- Thanks Best Regards, Maheshika Goonetilleke Engineering Process Coordinator *WSO2 Inc* *email : mahesh...@wso2.com mahesh...@wso2.com * *mobile : +94 773 596707 %2B94%20773%20596707* *www: :http://wso2.com http://wso2.com/ *lean . enterprise . middleware -- Prabath Abeysekara Associate Technical Lead, Data TG. WSO2 Inc. Email: praba...@wso2.com Mobile: +94774171471 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] Product API Publisher error in accessing : A module cannot be found with the specified name : encode
Hi, Got the following error when accessing product API publisher. I was able to overcome this error after copying an older version of the productapipublisher (from a greg 5.0 build). Could you guys tell me what's the issue pls. TID: [0] [AS] [2014-07-21 17:06:53,157] ERROR {org.jaggeryjs.jaggery.core.manager.CommonManager} - A module cannot be found with the specified name : encode {org.jaggeryjs.jaggery.core.manager.CommonManager} TID: [0] [AS] [2014-07-21 17:06:53,160] ERROR {org.jaggeryjs.jaggery.core.manager.WebAppManager} - org.mozilla.javascript.WrappedException: Wrapped org.jaggeryjs.scriptengine.exceptions.ScriptException: org.mozilla.javascript.WrappedException: Wrapped org.jaggeryjs.scriptengine.exceptions.ScriptException: A module cannot be found with the specified name : encode (/productapipublisher/site/pages/header.jag#33) (/productapipublisher/site/pages/index.jag#3) {org.jaggeryjs.jaggery.core.manager.WebAppManager} org.jaggeryjs.scriptengine.exceptions.ScriptException: org.mozilla.javascript.WrappedException: Wrapped org.jaggeryjs.scriptengine.exceptions.ScriptException: org.mozilla.javascript.WrappedException: Wrapped org.jaggeryjs.scriptengine.exceptions.ScriptException: A module cannot be found with the specified name : encode (/productapipublisher/site/pages/header.jag#33) (/productapipublisher/site/pages/index.jag#3) at org.jaggeryjs.scriptengine.engine.RhinoEngine.execScript(RhinoEngine.java:571) at org.jaggeryjs.scriptengine.engine.RhinoEngine.exec(RhinoEngine.java:273) at org.jaggeryjs.jaggery.core.manager.WebAppManager.execute(WebAppManager.java:453) at org.jaggeryjs.jaggery.core.JaggeryServlet.doGet(JaggeryServlet.java:24) at javax.servlet.http.HttpServlet.service(HttpServlet.java:620) at javax.servlet.http.HttpServlet.service(HttpServlet.java:727) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:748) at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:486) at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:378) at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:338) at org.jaggeryjs.jaggery.core.JaggeryFilter.doFilter(JaggeryFilter.java:21) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98) at org.wso2.carbon.statistics.webapp.RequestIntercepterValve.invoke(RequestIntercepterValve.java:43) at org.wso2.carbon.bam.webapp.stat.publisher.WebAppStatisticPublisherValve.invoke(WebAppStatisticPublisherValve.java:104) at org.wso2.carbon.tomcat.ext.valves.CompositeValve.continueInvocation(CompositeValve.java:178) at org.wso2.carbon.tomcat.ext.valves.CarbonTomcatValve$1.invoke(CarbonTomcatValve.java:47) at org.wso2.carbon.apimgt.interceptor.valve.APIManagerInterceptorValve.invoke(APIManagerInterceptorValve.java:81) at org.wso2.carbon.apimgt.interceptor.valve.APIManagerInterceptorValve.invoke(APIManagerInterceptorValve.java:81) at org.wso2.carbon.webapp.mgt.TenantLazyLoaderValve.invoke(TenantLazyLoaderValve.java:56) at org.wso2.carbon.apimgt.interceptor.valve.APIManagerInterceptorValve.invoke(APIManagerInterceptorValve.java:81) at org.wso2.carbon.apimgt.interceptor.valve.APIManagerInterceptorValve.invoke(APIManagerInterceptorValve.java:81) at org.wso2.carbon.apimgt.interceptor.valve.APIManagerInterceptorValve.invoke(APIManagerInterceptorValve.java:81) at org.wso2.carbon.apimgt.interceptor.valve.APIManagerInterceptorValve.invoke(APIManagerInterceptorValve.java:81) at org.wso2.carbon.apimgt.interceptor.valve.APIManagerInterceptorValve.invoke(APIManagerInterceptorValve.java:81) at org.wso2.carbon.apimgt.interceptor.valve.APIManagerInterceptorValve.invoke(APIManagerInterceptorValve.java:81) at org.wso2.carbon.apimgt.interceptor.valve.APIManagerInterceptorValve.invoke(APIManagerInterceptorValve.java:81) at org.wso2.carbon.apimgt.interceptor.valve.APIManagerInterceptorValve.invoke(APIManagerInterceptorValve.java:81)
Re: [Dev] Many instances of APIManagerInterceptorValve is being registered at startup
Hi, For now I could see about 50 instances of Same valve being registered.. I couldn't tract down the reason while debugging. But APIManagerInterceptorComponent.activate() method which registers the valve gets called multiple times. I believe that's the reason for the issue. See the following stacktrace section showing evidence that the value is registered so many times (also see other values get invoked only once). at org.wso2.carbon.statistics.webapp.RequestIntercepterValve.invoke(RequestIntercepterValve.java:43) at org.wso2.carbon.bam.webapp.stat.publisher.WebAppStatisticPublisherValve.invoke(WebAppStatisticPublisherValve.java:104) at org.wso2.carbon.tomcat.ext.valves.CompositeValve.continueInvocation(CompositeValve.java:178) at org.wso2.carbon.tomcat.ext.valves.CarbonTomcatValve$1.invoke(CarbonTomcatValve.java:47) at org.wso2.carbon.apimgt.interceptor.valve.APIManagerInterceptorValve.invoke(APIManagerInterceptorValve.java:81) at org.wso2.carbon.apimgt.interceptor.valve.APIManagerInterceptorValve.invoke(APIManagerInterceptorValve.java:81) at org.wso2.carbon.webapp.mgt.TenantLazyLoaderValve.invoke(TenantLazyLoaderValve.java:56) at org.wso2.carbon.apimgt.interceptor.valve.APIManagerInterceptorValve.invoke(APIManagerInterceptorValve.java:81) at org.wso2.carbon.apimgt.interceptor.valve.APIManagerInterceptorValve.invoke(APIManagerInterceptorValve.java:81) at org.wso2.carbon.apimgt.interceptor.valve.APIManagerInterceptorValve.invoke(APIManagerInterceptorValve.java:81) at org.wso2.carbon.apimgt.interceptor.valve.APIManagerInterceptorValve.invoke(APIManagerInterceptorValve.java:81) at org.wso2.carbon.apimgt.interceptor.valve.APIManagerInterceptorValve.invoke(APIManagerInterceptorValve.java:81) at org.wso2.carbon.apimgt.interceptor.valve.APIManagerInterceptorValve.invoke(APIManagerInterceptorValve.java:81) at org.wso2.carbon.apimgt.interceptor.valve.APIManagerInterceptorValve.invoke(APIManagerInterceptorValve.java:81) at org.wso2.carbon.apimgt.interceptor.valve.APIManagerInterceptorValve.invoke(APIManagerInterceptorValve.java:81) at org.wso2.carbon.apimgt.interceptor.valve.APIManagerInterceptorValve.invoke(APIManagerInterceptorValve.java:81) at org.wso2.carbon.apimgt.interceptor.valve.APIManagerInterceptorValve.invoke(APIManagerInterceptorValve.java:81) at org.wso2.carbon.apimgt.interceptor.valve.APIManagerInterceptorValve.invoke(APIManagerInterceptorValve.java:81) at org.wso2.carbon.apimgt.interceptor.valve.APIManagerInterceptorValve.invoke(APIManagerInterceptorValve.java:81) at org.wso2.carbon.apimgt.interceptor.valve.APIManagerInterceptorValve.invoke(APIManagerInterceptorValve.java:81) at org.wso2.carbon.apimgt.interceptor.valve.APIManagerInterceptorValve.invoke(APIManagerInterceptorValve.java:81) at org.wso2.carbon.apimgt.interceptor.valve.APIManagerInterceptorValve.invoke(APIManagerInterceptorValve.java:81) at org.wso2.carbon.apimgt.interceptor.valve.APIManagerInterceptorValve.invoke(APIManagerInterceptorValve.java:81) at org.wso2.carbon.apimgt.interceptor.valve.APIManagerInterceptorValve.invoke(APIManagerInterceptorValve.java:81) at org.wso2.carbon.apimgt.interceptor.valve.APIManagerInterceptorValve.invoke(APIManagerInterceptorValve.java:81) at org.wso2.carbon.apimgt.interceptor.valve.APIManagerInterceptorValve.invoke(APIManagerInterceptorValve.java:81) at org.wso2.carbon.apimgt.interceptor.valve.APIManagerInterceptorValve.invoke(APIManagerInterceptorValve.java:81) at org.wso2.carbon.apimgt.interceptor.valve.APIManagerInterceptorValve.invoke(APIManagerInterceptorValve.java:81) at org.wso2.carbon.apimgt.interceptor.valve.APIManagerInterceptorValve.invoke(APIManagerInterceptorValve.java:81) at org.wso2.carbon.apimgt.interceptor.valve.APIManagerInterceptorValve.invoke(APIManagerInterceptorValve.java:81) at org.wso2.carbon.apimgt.interceptor.valve.APIManagerInterceptorValve.invoke(APIManagerInterceptorValve.java:81) at org.wso2.carbon.apimgt.interceptor.valve.APIManagerInterceptorValve.invoke(APIManagerInterceptorValve.java:81) at org.wso2.carbon.apimgt.interceptor.valve.APIManagerInterceptorValve.invoke(APIManagerInterceptorValve.java:81) at org.wso2.carbon.apimgt.interceptor.valve.APIManagerInterceptorValve.invoke(APIManagerInterceptorValve.java:81) at org.wso2.carbon.apimgt.interceptor.valve.APIManagerInterceptorValve.invoke(APIManagerInterceptorValve.java:81) at org.wso2.carbon.apimgt.interceptor.valve.APIManagerInterceptorValve.invoke(APIManagerInterceptorValve.java:81) at org.wso2.carbon.apimgt.interceptor.valve.APIManagerInterceptorValve.invoke(APIManagerInterceptorValve.java:81) at org.wso2.carbon.apimgt.interceptor.valve.APIManagerInterceptorValve.invoke(APIManagerInterceptorValve.java:81) at
Re: [Dev] Build failed in carbon storage management repo due to missing eclipselink orbit dependency
I have triggered a build and it was succeed. So build is back to normal. Thanks Maheshika. On Tue, Jul 22, 2014 at 10:36 AM, Prabath Abeysekera praba...@wso2.com wrote: Thanks Maheshika! @Harsha, Please check and verify whether the build issues reported are fixed now. Cheers, Prabath On Tue, Jul 22, 2014 at 10:26 AM, Maheshika Goonetilleke mahesh...@wso2.com wrote: Hi All Done. On Tue, Jul 22, 2014 at 8:55 AM, Prabath Abeysekera praba...@wso2.com wrote: Hi Maheshika, Would you be able to check on this? or suggest someone who's got access to deploy the artifacts to the relevant repos, for us to talk to and get this fixed? Cheers, Prabath On Mon, Jul 21, 2014 at 6:29 PM, Harsha Kumara hars...@wso2.com wrote: Hi, The build of carbon storage management repo is failing as because transactions-eclipselink/3.9.1.wso2v1 jar not hosted in relevant maven repos. It's already added in orbit but I think it's not hosted. This needs to be hosted ASAP as it affects to the product builds. [1]-https://github.com/wso2/orbit/tree/master/transactions-eclipselink [2]- https://ec2-54-221-245-75.compute-1.amazonaws.com/jenkins/job/carbon-storage-management/ Thanks, Harsha -- Harsha Kumara Software Engineer, WSO2 Inc. Mobile: +94775505618 Blog:harshcreationz.blogspot.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Prabath Abeysekara Associate Technical Lead, Data TG. WSO2 Inc. Email: praba...@wso2.com Mobile: +94774171471 -- Thanks Best Regards, Maheshika Goonetilleke Engineering Process Coordinator *WSO2 Inc* *email : mahesh...@wso2.com mahesh...@wso2.com * *mobile : +94 773 596707 %2B94%20773%20596707* *www: :http://wso2.com http://wso2.com/ *lean . enterprise . middleware -- Prabath Abeysekara Associate Technical Lead, Data TG. WSO2 Inc. Email: praba...@wso2.com Mobile: +94774171471 -- Harsha Kumara Software Engineer, WSO2 Inc. Mobile: +94775505618 Blog:harshcreationz.blogspot.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [Chunk13 -build error] DS p2 profile generation fails
Hi Ratha, Fixed the build failure Thanks On Mon, Jul 21, 2014 at 11:56 PM, Vijayaratha Vijayasingam rat...@wso2.com wrote: Getting; Installing org.wso2.carbon.identity.authenticator.saml2.sso.server.feature.group 4.2.2. Installing org.wso2.carbon.user.mgt.feature.group 4.2.2. Operation completed in 24507 ms. [INFO] [INFO] --- carbon-p2-plugin:1.5.3:p2-profile-gen (p2-profile-generation-for-worker-profile) @ wso2dataservices-profile-gen --- [INFO] Running Equinox P2 Director Application [INFO] Command line: /bin/sh -c cd /opt/checkout_chunk13/platform/branches/turing/products/dss/3.2.2/modules/p2-profile-gen /usr/local/java/jdk1.6.0_45/jre/bin/java -jar /root/.m2/repository/org/eclipse/tycho/tycho-p2-runtime/0.13.0/eclipse/plugins/org.eclipse.equinox.launcher_1.2.0.v20110725-1610.jar -nosplash -application org.eclipse.equinox.p2.director -metadataRepository file:/opt/checkout_chunk13/platform/branches/turing/products/dss/3.2.2/modules/p2-profile-gen/target/p2-repo -artifactRepository file:/opt/checkout_chunk13/platform/branches/turing/products/dss/3.2.2/modules/p2-profile-gen/target/p2-repo -profileProperties org.eclipse.update.install.features=true -installIU org.wso2.carbon.stratos.common.server.feature.group/2.2.2,org.wso2.carbon.stratos.deployment.feature.group/2.2.1,org.wso2.carbon.ntask.feature.group/4.2.4,org.wso2.carbon.logging.mgt.server.feature.group/4.2.1,org.wso2.carbon.databridge.datapublisher.feature.group/4.2.3,org.wso2.carbon.wsdl.tools.server.feature.group/4.2.0,org.wso2.carbon.system.statistics.server.feature.group/4.2.2,org.wso2.carbon.soaptracer.server.feature.group/4.2.0,org.wso2.carbon.dataservices.feature.group/4.2.4,org.wso2.carbon.dataservices.task.server.feature.group/4.2.4,org.wso2.carbon.ndatasource.feature.group/4.2.3,org.wso2.carbon.ndatasource.ui.feature.group/4.2.3,org.wso2.carbon.service.mgt.server.feature.group/4.2.1,org.wso2.carbon.transport.mgt.server.feature.group/4.2.0,org.wso2.carbon.transport.jms.feature.group/4.2.0,org.wso2.carbon.transport.mail.feature.group/4.2.0,org.wso2.carbon.message.flows.server.feature.group/4.2.0,org.wso2.carbon.event.common.feature.group/4.2.0,org.wso2.carbon.event.server.feature.group/4.2.2,org.wso2.carbon.xfer.feature.group/4.2.0,org.wso2.carbon.mex.feature.group/4.2.0,org.wso2.carbon.registry.core.server.feature.group/4.2.2,org.wso2.carbon.registry.ui.menu.feature.group/4.2.0,org.wso2.carbon.registry.resource.properties.server.feature.group/4.2.1,org.wso2.stratos.dss.styles.feature.group/2.2.0,org.wso2.carbon.tryit.server.feature.group/4.2.0,org.wso2.carbon.discovery.core.feature.group/4.2.1,org.wso2.carbon.discovery.admin.ui.feature.group/4.2.0,org.wso2.carbon.application.mgt.server.feature.group/4.2.0,org.wso2.stratos.dss.dashboard.ui.feature.group/2.2.0,org.wso2.carbon.jsscraper.server.feature.group/4.2.0,org.wso2.carbon.load.balance.agent.server.feature.group/2.2.0,org.wso2.carbon.deployment.synchronizer.server.feature.group/4.2.2,org.wso2.carbon.deployment.synchronizer.subversion.feature.group/4.2.1,org.wso2.carbon.reporting.server.feature.group/4.2.2,org.wso2.carbon.stratos.usage.agent.feature.group/2.2.0,org.wso2.carbon.stratos.throttling.agent.feature.group/2.2.0,org.wso2.carbon.transaction.manager.feature.group/4.2.1,org.wso2.carbon.cassandra-jdbc-1.2.5.server.feature.group/4.2.0,org.wso2.carbon.identity.authenticator.saml2.sso.ui.feature.group/4.2.3,org.wso2.carbon.identity.authenticator.saml2.sso.server.feature.group/4.2.2,org.wso2.carbon.user.mgt.server.feature.group/4.2.1, -bundlepool /opt/checkout_chunk13/platform/branches/turing/products/dss/3.2.2/modules/p2-profile-gen/target/wso2carbon-core-4.2.0/repository/components -shared /opt/checkout_chunk13/platform/branches/turing/products/dss/3.2.2/modules/p2-profile-gen/target/wso2carbon-core-4.2.0/repository/components/p2 -destination /opt/checkout_chunk13/platform/branches/turing/products/dss/3.2.2/modules/p2-profile-gen/target/wso2carbon-core-4.2.0/repository/components/worker -profile worker -roaming Installation failed. The installable unit org.wso2.carbon.user.mgt.server.feature.group/4.2.1 has not been found. Application failed, log file location: /root/.m2/repository/org/eclipse/tycho/tycho-p2-runtime/0.13.0/eclipse/configuration/1405966838006.log [INFO] [INFO -- -Ratha mobile: (+94)755906608 -- Best Regards.. Chanika Geeganage Software Engineer WSO2, Inc.; http://wso2.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev