Re: [Dev] [PPaaS] Defining Template Parameters in Configurator

2015-06-01 Thread Imesh Gunaratne
Yes option 2 would be more appropriate.

In addition I do not think we need dictionaries for HTTP_PORT_MAPPING,
HTTPS_PORT_MAPPING. Moreover those variables need to say which HTTP and
HTTPS transports they are referring.

On Mon, Jun 1, 2015 at 5:27 AM, Anuruddha Liyanarachchi  wrote:

> Hi Imesh,
>
> There are two ways we can do this,
>
> 1. Introduce new section in module.ini for multivalued attributes.
>
>
> 2. Identify multivalued attributes using a delimiter like a comma.
> "127.0.0.1:4000 ,"
>
> IMO later will be more appropriate. WDYT ?
>
>
>
> On Fri, May 29, 2015 at 3:36 PM, Imesh Gunaratne  wrote:
>
>> Hi Anuruddha,
>>
>> IMO $subject is not appropriate, Configurator needs to be independent
>> from the template module parameters:
>>
>> # Converting Members to dictionary
>> if "STRATOS_WKA_MEMBERS" in context:
>> context["STRATOS_WKA_MEMBERS"] = 
>> ConfigParserUtil.convert_properties_to_dictionary(
>> context['STRATOS_WKA_MEMBERS'])
>>
>> if "STRATOS_HTTP_PORT_MAPPING" in context:
>> context["STRATOS_HTTP_PORT_MAPPING"] = 
>> ConfigParserUtil.convert_properties_to_dictionary(
>> context["STRATOS_HTTP_PORT_MAPPING"])
>>
>> if "STRATOS_HTTPS_PORT_MAPPING" in context:
>> context["STRATOS_HTTPS_PORT_MAPPING"] = 
>> ConfigParserUtil.convert_properties_to_dictionary(
>> context["STRATOS_HTTPS_PORT_MAPPING"])
>>
>> Is there anyway we can avoid this?
>>
>> Thanks
>>
>> --
>> *Imesh Gunaratne*
>> Senior Technical Lead
>> WSO2 Inc: http://wso2.com
>> T: +94 11 214 5345 M: +94 77 374 2057
>> W: http://imesh.gunaratne.org
>> Lean . Enterprise . Middleware
>>
>>
>
>
> --
> *Thanks and Regards,*
> Anuruddha Lanka Liyanarachchi
> Software Engineer - WSO2
> Mobile : +94 (0) 712762611
> Tel  : +94 112 145 345
> a nurudd...@wso2.com
>



-- 
*Imesh Gunaratne*
Senior Technical Lead
WSO2 Inc: http://wso2.com
T: +94 11 214 5345 M: +94 77 374 2057
W: http://imesh.gunaratne.org
Lean . Enterprise . Middleware
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] control access web services by their operations wise through ESB

2015-06-01 Thread Akila Nimantha [IT/EKO/LOITS]
Hi all,

Is there a way to control access web services by their operations wise in WSO2 
ESB rather than creating single web service for each operation.
Let's say there is a web service which include to different operations. And 
there are two different users, user one going to access both two operations and 
user two going to access only one operation and he is prohibited second 
operation.

Best Regards,

Akila Rathnayake
Software Engineer
http://legendans.blogspot.com


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


[Dev] Please Review and Merge

2015-06-01 Thread Thilini Cooray
Hi,

This is the fix [1] for public JIRA [2].
Please review and merge.

[1] https://github.com/wso2/carbon-apimgt/pull/557
[2] https://wso2.org/jira/browse/APIMANAGER-3132

-- 
Best Regards,

*Thilini Cooray*
Software Engineer
Mobile : +94 (0) 774 570 112 <%2B94%20%280%29%20773%20451194>
E-mail : thili...@wso2.com

WSO2 Inc. www.wso2.com
lean.enterprise.middleware
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Error while running the Application server

2015-06-01 Thread Aaquibah Nashry
Hi,
setting the CARBON_HOME manually worked.
Thanks everyone

M.R.Aaquibah Nashry
*Intern, Engineering*
Mobile : +94 773946123
Tel  : +94 112662541
nas...@wso2.com

On Mon, Jun 1, 2015 at 12:26 PM, Sachith Withana  wrote:

> If you want to run the AS
> try setting the $CARBON_HOME manually.
>
> Ex: export $CARBON_HOME=" /usr/nashry/home/SOFTWARES/wso2as-5.2.1"
>
> It seems the script can't figure out the exact CARBON_HOME to be set.
>
> On Mon, Jun 1, 2015 at 12:20 PM, Chathura Priyankara 
> wrote:
>
>> Hi,
>>
>> Make sure that there is tomcat-juli-7.0.59.jar inside /bin
>> directory.
>>
>> Thanks,
>> Chathura.
>>
>> On Mon, Jun 1, 2015 at 12:05 PM, Shashika Karunatilaka <
>> shashi...@wso2.com> wrote:
>>
>>> HI,
>>>
>>> Can you try running using java 1.6
>>>
>>> On Mon, Jun 1, 2015 at 12:02 PM, Thusitha Thilina Dayaratne <
>>> thusit...@wso2.com> wrote:
>>>
 Hi,

 Are you getting this in a fresh pack?
 Thanks
 /Thusitha

 On Mon, Jun 1, 2015 at 12:01 PM, Aaquibah Nashry 
 wrote:

> Hi,
> i get the following error when i try to run the application server.
> Can anyone help me with this?
>
>
> JAVA_HOME environment variable is set to /usr/lib/jvm/jdk1.7.0_79
> CARBON_HOME environment variable is set to
> /usr/nashry/home/SOFTWARES/org.wso2.carbon.server-4.2.0
> wso2server.sh: 260: cd: can't cd to
> /usr/nashry/home/SOFTWARES/org.wso2.carbon.server-4.2.0
> Could not load Logmanager "org.apache.juli.ClassLoaderLogManager"
> java.lang.ClassNotFoundException: org.apache.juli.ClassLoaderLogManager
> at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
> at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
> at java.util.logging.LogManager$1.run(LogManager.java:191)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.util.logging.LogManager.(LogManager.java:181)
> at java.util.logging.Logger.demandLogger(Logger.java:339)
> at java.util.logging.Logger.getLogger(Logger.java:393)
> at com.sun.jmx.remote.util.ClassLogger.(ClassLogger.java:55)
> at
> sun.management.jmxremote.ConnectorBootstrap.(ConnectorBootstrap.java:823)
> at sun.management.Agent.startLocalManagementAgent(Agent.java:144)
> at sun.management.Agent.startAgent(Agent.java:264)
> at sun.management.Agent.startAgent(Agent.java:456)
> Error: Could not find or load main class
> org.wso2.carbon.bootstrap.Bootstrap
>
> M.R.Aaquibah Nashry
> *Intern, Engineering*
> Mobile : +94 773946123
> Tel  : +94 112662541
> nas...@wso2.com
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


 --
 Thusitha Dayaratne
 Software Engineer
 WSO2 Inc. - lean . enterprise . middleware |  wso2.com

 Mobile  +94712756809
 Blog  alokayasoya.blogspot.com
 Abouthttp://about.me/thusithathilina


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


>>>
>>>
>>> --
>>> Shashika Prabath Karunatilaka,
>>> Software Engineer,
>>> WSO2, Inc: http://wso2.com/
>>> mobile : +94 77 7487792
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Chathura Priyankara
>> Software Engineer | WSO2 Inc.
>> Mobile : +94718795340
>> Blog : www.codeoncloud.blogspot.com
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Sachith Withana
> Software Engineer; WSO2 Inc.; http://wso2.com
> E-mail: sachith AT wso2.com
> M: +94715518127
> Linked-In: 
> https://lk.linkedin.com/in/sachithwithana
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [AF] Error while creating a app

2015-06-01 Thread Mahesh Chinthaka
Hi all,

I did a new setup (2.2.0-M1) and created a app. App creation fails due to
following error,

Any idea why this is happenning ? Jenkins is up and running.

TID: [0] [AF] [2015-06-01 07:57:15,258] ERROR
{org.wso2.carbon.appfactory.jenkins.build.RestBasedJenkinsCIConnector} -
 Unable to create the job : app111-trunk-default. jenkins returned, http
status : 404
{org.wso2.carbon.appfactory.jenkins.build.RestBasedJenkinsCIConnector}
TID: [0] [AF] [2015-06-01 07:57:15,259] ERROR
{org.wso2.carbon.appfactory.application.mgt.service.ApplicationManagementService}
-  Error while executing onCreation method of ApplicationEventsListener :
org.wso2.carbon.appfactory.jenkins.build.JenkinsApplicationEventsListener@75ce19c7
{org.wso2.carbon.appfactory.application.mgt.service.ApplicationManagementService}
org.wso2.carbon.appfactory.common.AppFactoryException: Unable to create the
job : app111-trunk-default. jenkins returned, http status : 404
at
org.wso2.carbon.appfactory.jenkins.build.RestBasedJenkinsCIConnector.createJob(RestBasedJenkinsCIConnector.java:489)
at
org.wso2.carbon.appfactory.jenkins.build.JenkinsCISystemDriver.createJob(JenkinsCISystemDriver.java:119)
at
org.wso2.carbon.appfactory.jenkins.build.JenkinsApplicationEventsListener.onCreation(JenkinsApplicationEventsListener.java:95)
at
org.wso2.carbon.appfactory.application.mgt.service.ApplicationManagementService.publishApplicationCreation(ApplicationManagementService.java:213)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at
org.apache.axis2.rpc.receivers.RPCUtil.invokeServiceClass(RPCUtil.java:212)
at
org.apache.axis2.rpc.receivers.RPCInOnlyMessageReceiver.invokeBusinessLogic(RPCInOnlyMessageReceiver.java:66)
at
org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:110)
at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:180)
at
org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:172)
at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:146)
at
org.wso2.carbon.core.transports.CarbonServlet.doPost(CarbonServlet.java:231)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:755)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at
org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61)
at
org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:128)
at
org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:68)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at
org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.service(DelegationServlet.java:68)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at
org.wso2.carbon.tomcat.ext.filter.CharacterSetFilter.doFilter(CharacterSetFilter.java:61)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
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.webapp.mgt.TenantLazyLoaderValve.invoke(TenantLazyLoaderValve.java:56)
at
org.wso2.carbon.tomcat.ext.valves.TomcatValveContainer.invokeValves(TomcatValveContainer.java:47)
at
org.wso2.carbon.tomcat.ext.valves.CompositeValve.invoke(CompositeValve.java:141)
at
org.wso2.carbon.tomcat.ext.valves.CarbonStuckThreadDetectionValve.invoke(CarbonStuckThreadDetectionValve.java:156)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:936)
at
org.wso2.carbon.tomcat.ext.valves.CarbonContextCreatorValve.invoke(CarbonContextCreatorValve.java:52)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
at
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1004)
at
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
at
org.apache.tomcat.util.net.NioEndpoint$SocketPro

Re: [Dev] [AF] Error while creating a app

2015-06-01 Thread Mahesh Chinthaka
On Mon, Jun 1, 2015 at 1:35 PM, Mahesh Chinthaka  wrote:

> Hi all,
>
> I did a new setup (2.2.0-M1) and created a app. App creation fails due to
> following error,
>
> Any idea why this is happenning ? Jenkins is up and running.
>
> TID: [0] [AF] [2015-06-01 07:57:15,258] ERROR
> {org.wso2.carbon.appfactory.jenkins.build.RestBasedJenkinsCIConnector} -
>  Unable to create the job : app111-trunk-default. jenkins returned, http
> status : 404
> {org.wso2.carbon.appfactory.jenkins.build.RestBasedJenkinsCIConnector}
> TID: [0] [AF] [2015-06-01 07:57:15,259] ERROR
> {org.wso2.carbon.appfactory.application.mgt.service.ApplicationManagementService}
> -  Error while executing onCreation method of ApplicationEventsListener :
> org.wso2.carbon.appfactory.jenkins.build.JenkinsApplicationEventsListener@75ce19c7
> {org.wso2.carbon.appfactory.application.mgt.service.ApplicationManagementService}
> org.wso2.carbon.appfactory.common.AppFactoryException: Unable to create
> the job : app111-trunk-default. jenkins returned, http status : 404
> at
> org.wso2.carbon.appfactory.jenkins.build.RestBasedJenkinsCIConnector.createJob(RestBasedJenkinsCIConnector.java:489)
> at
> org.wso2.carbon.appfactory.jenkins.build.JenkinsCISystemDriver.createJob(JenkinsCISystemDriver.java:119)
> at
> org.wso2.carbon.appfactory.jenkins.build.JenkinsApplicationEventsListener.onCreation(JenkinsApplicationEventsListener.java:95)
> at
> org.wso2.carbon.appfactory.application.mgt.service.ApplicationManagementService.publishApplicationCreation(ApplicationManagementService.java:213)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:606)
> at
> org.apache.axis2.rpc.receivers.RPCUtil.invokeServiceClass(RPCUtil.java:212)
> at
> org.apache.axis2.rpc.receivers.RPCInOnlyMessageReceiver.invokeBusinessLogic(RPCInOnlyMessageReceiver.java:66)
> at
> org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:110)
> at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:180)
> at
> org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:172)
> at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:146)
> at
> org.wso2.carbon.core.transports.CarbonServlet.doPost(CarbonServlet.java:231)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:755)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
> at
> org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61)
> at
> org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:128)
> at
> org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:68)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
> at
> org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.service(DelegationServlet.java:68)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> at
> org.wso2.carbon.tomcat.ext.filter.CharacterSetFilter.doFilter(CharacterSetFilter.java:61)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
> at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
> at
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
> at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
> at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
> 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.webapp.mgt.TenantLazyLoaderValve.invoke(TenantLazyLoaderValve.java:56)
> at
> org.wso2.carbon.tomcat.ext.valves.TomcatValveContainer.invokeValves(TomcatValveContainer.java:47)
> at
> org.wso2.carbon.tomcat.ext.valves.CompositeValve.invoke(CompositeValve.java:141)
> at
> org.wso2.carbon.tomcat.ext.valves.CarbonStuckThreadDetectionValve.invoke(CarbonStuckThreadDetectionValve.java:156)
> at
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:936)
> at
> org.wso2.carbon.tomcat.ext.valves.CarbonContextCreatorValve.invoke(CarbonContextCreatorValve.java:52)
> at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
> at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407

Re: [Dev] Error while running the Application server

2015-06-01 Thread Nirmal Fernando
What's your OS and version? Good that manual setting worked, but we need to
figure out why automatic recognition failed and possibly fix it.

On Mon, Jun 1, 2015 at 1:10 PM, Aaquibah Nashry  wrote:

> Hi,
> setting the CARBON_HOME manually worked.
> Thanks everyone
>
> M.R.Aaquibah Nashry
> *Intern, Engineering*
> Mobile : +94 773946123
> Tel  : +94 112662541
> nas...@wso2.com
>
> On Mon, Jun 1, 2015 at 12:26 PM, Sachith Withana  wrote:
>
>> If you want to run the AS
>> try setting the $CARBON_HOME manually.
>>
>> Ex: export $CARBON_HOME=" /usr/nashry/home/SOFTWARES/wso2as-5.2.1"
>>
>> It seems the script can't figure out the exact CARBON_HOME to be set.
>>
>> On Mon, Jun 1, 2015 at 12:20 PM, Chathura Priyankara 
>> wrote:
>>
>>> Hi,
>>>
>>> Make sure that there is tomcat-juli-7.0.59.jar inside /bin
>>> directory.
>>>
>>> Thanks,
>>> Chathura.
>>>
>>> On Mon, Jun 1, 2015 at 12:05 PM, Shashika Karunatilaka <
>>> shashi...@wso2.com> wrote:
>>>
 HI,

 Can you try running using java 1.6

 On Mon, Jun 1, 2015 at 12:02 PM, Thusitha Thilina Dayaratne <
 thusit...@wso2.com> wrote:

> Hi,
>
> Are you getting this in a fresh pack?
> Thanks
> /Thusitha
>
> On Mon, Jun 1, 2015 at 12:01 PM, Aaquibah Nashry 
> wrote:
>
>> Hi,
>> i get the following error when i try to run the application server.
>> Can anyone help me with this?
>>
>>
>> JAVA_HOME environment variable is set to /usr/lib/jvm/jdk1.7.0_79
>> CARBON_HOME environment variable is set to
>> /usr/nashry/home/SOFTWARES/org.wso2.carbon.server-4.2.0
>> wso2server.sh: 260: cd: can't cd to
>> /usr/nashry/home/SOFTWARES/org.wso2.carbon.server-4.2.0
>> Could not load Logmanager "org.apache.juli.ClassLoaderLogManager"
>> java.lang.ClassNotFoundException:
>> org.apache.juli.ClassLoaderLogManager
>> at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
>> at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
>> at java.security.AccessController.doPrivileged(Native Method)
>> at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
>> at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
>> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
>> at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
>> at java.util.logging.LogManager$1.run(LogManager.java:191)
>> at java.security.AccessController.doPrivileged(Native Method)
>> at java.util.logging.LogManager.(LogManager.java:181)
>> at java.util.logging.Logger.demandLogger(Logger.java:339)
>> at java.util.logging.Logger.getLogger(Logger.java:393)
>> at com.sun.jmx.remote.util.ClassLogger.(ClassLogger.java:55)
>> at
>> sun.management.jmxremote.ConnectorBootstrap.(ConnectorBootstrap.java:823)
>> at sun.management.Agent.startLocalManagementAgent(Agent.java:144)
>> at sun.management.Agent.startAgent(Agent.java:264)
>> at sun.management.Agent.startAgent(Agent.java:456)
>> Error: Could not find or load main class
>> org.wso2.carbon.bootstrap.Bootstrap
>>
>> M.R.Aaquibah Nashry
>> *Intern, Engineering*
>> Mobile : +94 773946123
>> Tel  : +94 112662541
>> nas...@wso2.com
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Thusitha Dayaratne
> Software Engineer
> WSO2 Inc. - lean . enterprise . middleware |  wso2.com
>
> Mobile  +94712756809
> Blog  alokayasoya.blogspot.com
> Abouthttp://about.me/thusithathilina
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


 --
 Shashika Prabath Karunatilaka,
 Software Engineer,
 WSO2, Inc: http://wso2.com/
 mobile : +94 77 7487792

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


>>>
>>>
>>> --
>>> Chathura Priyankara
>>> Software Engineer | WSO2 Inc.
>>> Mobile : +94718795340
>>> Blog : www.codeoncloud.blogspot.com
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Sachith Withana
>> Software Engineer; WSO2 Inc.; http://wso2.com
>> E-mail: sachith AT wso2.com
>> M: +94715518127
>> Linked-In: 
>> https://lk.linkedin.com/in/sachithwithana
>>
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 

Thanks & regards,
Nirmal

Associate Technical Lead - Data Technologies Team, WSO2 Inc.
Mobile: +94715779733
Blog: http://nirmal

Re: [Dev] [AF] Error while creating a app

2015-06-01 Thread Mahesh Chinthaka
Hi all,

I checked buildserver logs. Seems like tenant creation has been failed in
buildserver.

TID: [0] [AS] [2015-06-01 07:45:58,476] ERROR
{org.wso2.carbon.appfactory.tenant.build.integration.AppServerBasedBuildServerManager}
-  Error while creating tenant in build server.
{org.wso2.carbon.appfactory.tenant.build.integration.AppServerBasedBuildServerManager}
java.io.IOException: Cannot run program "jar": error=2, No such file or
directory
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1041)
at java.lang.Runtime.exec(Runtime.java:617)
at java.lang.Runtime.exec(Runtime.java:450)
at java.lang.Runtime.exec(Runtime.java:347)
at
org.wso2.carbon.appfactory.tenant.build.integration.buildserver.JenkinsBuildSeverApp.updateWebApp(JenkinsBuildSeverApp.java:242)
at
org.wso2.carbon.appfactory.tenant.build.integration.buildserver.JenkinsBuildSeverApp.getModifiedAppPath(JenkinsBuildSeverApp.java:106)
at
org.wso2.carbon.appfactory.tenant.build.integration.AppServerBasedBuildServerManager.createTenant(AppServerBasedBuildServerManager.java:57)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at
org.apache.axis2.rpc.receivers.RPCUtil.invokeServiceClass(RPCUtil.java:212)
at
org.apache.axis2.rpc.receivers.RPCInOnlyMessageReceiver.invokeBusinessLogic(RPCInOnlyMessageReceiver.java:66)
at
org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:110)
at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:180)
at
org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:172)
at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:146)
at
org.wso2.carbon.core.transports.CarbonServlet.doPost(CarbonServlet.java:231)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:755)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at
org.eclipse.equinox.http.helper.FilterServletAdaptor$FilterChainImpl.doFilter(FilterServletAdaptor.java:56)
at
org.wso2.carbon.mashup.jsservices.custom.ui.CustomUIServletFilter.doFilter(CustomUIServletFilter.java:233)
at
org.eclipse.equinox.http.helper.FilterServletAdaptor.service(FilterServletAdaptor.java:37)
at
org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61)
at
org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:128)
at
org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:68)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at
org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.service(DelegationServlet.java:68)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at
org.wso2.carbon.tomcat.ext.filter.CharacterSetFilter.doFilter(CharacterSetFilter.java:61)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
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.webapp.mgt.TenantLazyLoaderValve.invoke(TenantLazyLoaderValve.java:56)
at
org.wso2.carbon.tomcat.ext.valves.TomcatValveContainer.invokeValves(TomcatValveContainer.java:47)
at
org.wso2.carbon.tomcat.ext.valves.CompositeValve.invoke(CompositeValve.java:141)
at
org.wso2.carbon.tomcat.ext.valves.CarbonStuckThreadDetectionValve.invoke(CarbonStuckThreadDetectionValve.java:156)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:936)
at
org.wso2.carbon.tomcat.ext.valves.CarbonContextCreatorValve.invoke(CarbonContextCreatorValve.java:52)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
at
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1004)
at
org.apache

Re: [Dev] [AF] Error while creating a app

2015-06-01 Thread Mahesh Chinthaka
Hi,

Restarting the build server resolved the issue.

On Mon, Jun 1, 2015 at 1:40 PM, Mahesh Chinthaka  wrote:

> Hi all,
>
> I checked buildserver logs. Seems like tenant creation has been failed in
> buildserver.
>
> TID: [0] [AS] [2015-06-01 07:45:58,476] ERROR
> {org.wso2.carbon.appfactory.tenant.build.integration.AppServerBasedBuildServerManager}
> -  Error while creating tenant in build server.
> {org.wso2.carbon.appfactory.tenant.build.integration.AppServerBasedBuildServerManager}
> java.io.IOException: Cannot run program "jar": error=2, No such file or
> directory
> at java.lang.ProcessBuilder.start(ProcessBuilder.java:1041)
> at java.lang.Runtime.exec(Runtime.java:617)
> at java.lang.Runtime.exec(Runtime.java:450)
> at java.lang.Runtime.exec(Runtime.java:347)
> at
> org.wso2.carbon.appfactory.tenant.build.integration.buildserver.JenkinsBuildSeverApp.updateWebApp(JenkinsBuildSeverApp.java:242)
> at
> org.wso2.carbon.appfactory.tenant.build.integration.buildserver.JenkinsBuildSeverApp.getModifiedAppPath(JenkinsBuildSeverApp.java:106)
> at
> org.wso2.carbon.appfactory.tenant.build.integration.AppServerBasedBuildServerManager.createTenant(AppServerBasedBuildServerManager.java:57)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:606)
> at
> org.apache.axis2.rpc.receivers.RPCUtil.invokeServiceClass(RPCUtil.java:212)
> at
> org.apache.axis2.rpc.receivers.RPCInOnlyMessageReceiver.invokeBusinessLogic(RPCInOnlyMessageReceiver.java:66)
> at
> org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:110)
> at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:180)
> at
> org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:172)
> at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:146)
> at
> org.wso2.carbon.core.transports.CarbonServlet.doPost(CarbonServlet.java:231)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:755)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
> at
> org.eclipse.equinox.http.helper.FilterServletAdaptor$FilterChainImpl.doFilter(FilterServletAdaptor.java:56)
> at
> org.wso2.carbon.mashup.jsservices.custom.ui.CustomUIServletFilter.doFilter(CustomUIServletFilter.java:233)
> at
> org.eclipse.equinox.http.helper.FilterServletAdaptor.service(FilterServletAdaptor.java:37)
> at
> org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61)
> at
> org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:128)
> at
> org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:68)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
> at
> org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.service(DelegationServlet.java:68)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> at
> org.wso2.carbon.tomcat.ext.filter.CharacterSetFilter.doFilter(CharacterSetFilter.java:61)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
> at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
> at
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
> at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
> at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
> 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.webapp.mgt.TenantLazyLoaderValve.invoke(TenantLazyLoaderValve.java:56)
> at
> org.wso2.carbon.tomcat.ext.valves.TomcatValveContainer.invokeValves(TomcatValveContainer.java:47)
> at
> org.wso2.carbon.tomcat.ext.valves.CompositeValve.invoke(CompositeValve.java:141)
> at
> org.wso2.carbon.tomcat.ext.valves.CarbonStuckThreadDetectionValve.invoke(CarbonStuckThreadDetectionValve.java:156)
> at
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:936)
> at
> org.wso2.carbon.tomcat.ext.valves.CarbonContextCreatorValve.invoke(Carbo

[Dev] Please review and merge PR

2015-06-01 Thread Manorama Perera
Hi,

Please find the fix [1] for JIRA [2].

[1] https://github.com/wso2/product-ml/pull/154
[2] https://wso2.org/jira/browse/ML-22

-- 
Manorama Perera
Software Engineer
WSO2, Inc.;  http://wso2.com/
Mobile : +94716436216
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [AppM] Please review and merge PR

2015-06-01 Thread Ruwan Abeykoon
Hi Team,
Please review and merge PR [1], which should fix JIRA issue [2].

Please note that I reordered the null checking by moving it to location
just after the variables are assigned by DAO method. This will prevent any
NPE upon DAO method returns null.

Please see if I changed any behaviour when the reordering is done.


[1] https://github.com/wso2/carbon-appmgt/pull/61
[2] https://wso2.org/jira/browse/APPM-868

Cheers,

-- 

*Ruwan Abeykoon*
*Architect,*
*WSO2, Inc. http://wso2.com  *
*lean.enterprise.middleware.*

email: ruw...@wso2.com
phone:(+94) 39736
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Please review and merge PR

2015-06-01 Thread Nirmal Fernando
Merged. Thanks.

Can you please add the exception stack trace to the Jira too?

On Mon, Jun 1, 2015 at 2:14 PM, Manorama Perera  wrote:

> Hi,
>
> Please find the fix [1] for JIRA [2].
>
> [1] https://github.com/wso2/product-ml/pull/154
> [2] https://wso2.org/jira/browse/ML-22
>
> --
> Manorama Perera
> Software Engineer
> WSO2, Inc.;  http://wso2.com/
> Mobile : +94716436216
>



-- 

Thanks & regards,
Nirmal

Associate Technical Lead - Data Technologies Team, WSO2 Inc.
Mobile: +94715779733
Blog: http://nirmalfdo.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Please review and merge PR

2015-06-01 Thread Manorama Perera
The issue noticed is, the analysis steps cannot be proceeded after the
explore step. There's no exception trace shown.

The ajax request sending fails when double quotes are included in the json
payload.

Thanks.

On Mon, Jun 1, 2015 at 2:21 PM, Nirmal Fernando  wrote:

> Merged. Thanks.
>
> Can you please add the exception stack trace to the Jira too?
>
> On Mon, Jun 1, 2015 at 2:14 PM, Manorama Perera  wrote:
>
>> Hi,
>>
>> Please find the fix [1] for JIRA [2].
>>
>> [1] https://github.com/wso2/product-ml/pull/154
>> [2] https://wso2.org/jira/browse/ML-22
>>
>> --
>> Manorama Perera
>> Software Engineer
>> WSO2, Inc.;  http://wso2.com/
>> Mobile : +94716436216
>>
>
>
>
> --
>
> Thanks & regards,
> Nirmal
>
> Associate Technical Lead - Data Technologies Team, WSO2 Inc.
> Mobile: +94715779733
> Blog: http://nirmalfdo.blogspot.com/
>
>
>


-- 
Manorama Perera
Software Engineer
WSO2, Inc.;  http://wso2.com/
Mobile : +94716436216
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Please review and merge PR

2015-06-01 Thread Nirmal Fernando
Ok, thanks for the clarification.

On Mon, Jun 1, 2015 at 2:32 PM, Manorama Perera  wrote:

> The issue noticed is, the analysis steps cannot be proceeded after the
> explore step. There's no exception trace shown.
>
> The ajax request sending fails when double quotes are included in the json
> payload.
>
> Thanks.
>
> On Mon, Jun 1, 2015 at 2:21 PM, Nirmal Fernando  wrote:
>
>> Merged. Thanks.
>>
>> Can you please add the exception stack trace to the Jira too?
>>
>> On Mon, Jun 1, 2015 at 2:14 PM, Manorama Perera 
>> wrote:
>>
>>> Hi,
>>>
>>> Please find the fix [1] for JIRA [2].
>>>
>>> [1] https://github.com/wso2/product-ml/pull/154
>>> [2] https://wso2.org/jira/browse/ML-22
>>>
>>> --
>>> Manorama Perera
>>> Software Engineer
>>> WSO2, Inc.;  http://wso2.com/
>>> Mobile : +94716436216
>>>
>>
>>
>>
>> --
>>
>> Thanks & regards,
>> Nirmal
>>
>> Associate Technical Lead - Data Technologies Team, WSO2 Inc.
>> Mobile: +94715779733
>> Blog: http://nirmalfdo.blogspot.com/
>>
>>
>>
>
>
> --
> Manorama Perera
> Software Engineer
> WSO2, Inc.;  http://wso2.com/
> Mobile : +94716436216
>



-- 

Thanks & regards,
Nirmal

Associate Technical Lead - Data Technologies Team, WSO2 Inc.
Mobile: +94715779733
Blog: http://nirmalfdo.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Please review and merge PR

2015-06-01 Thread Supun Sethunga
Hi Manorama,

Think this continues from there onwards as well. I mean, even if we
continued from the UI, at the model building step, you will notice that the
model building is failing.

The issue was with the spark filter we used to remove the header. Reason
behind this was, spark reads each row with quotes. But the header row we
had stored from some earlier step ignores the quotes, and was stored as
string. So when the header removal filter compares the header row we had
stored, against each row read by spark, return is always false. Hence the
actual header row does not get removed at any point. This eventually breaks
the model building as there are multiple data types in a column (due to the
header row).
Not sure whether this was automatically fixed after the Dataset summary
calculation was also done using Spark, rather than Apache commons CSV
reader.

Thanks for looking in to it.


On Mon, Jun 1, 2015 at 2:35 PM, Nirmal Fernando  wrote:

> Ok, thanks for the clarification.
>
> On Mon, Jun 1, 2015 at 2:32 PM, Manorama Perera  wrote:
>
>> The issue noticed is, the analysis steps cannot be proceeded after the
>> explore step. There's no exception trace shown.
>>
>> The ajax request sending fails when double quotes are included in the
>> json payload.
>>
>> Thanks.
>>
>> On Mon, Jun 1, 2015 at 2:21 PM, Nirmal Fernando  wrote:
>>
>>> Merged. Thanks.
>>>
>>> Can you please add the exception stack trace to the Jira too?
>>>
>>> On Mon, Jun 1, 2015 at 2:14 PM, Manorama Perera 
>>> wrote:
>>>
 Hi,

 Please find the fix [1] for JIRA [2].

 [1] https://github.com/wso2/product-ml/pull/154
 [2] https://wso2.org/jira/browse/ML-22

 --
 Manorama Perera
 Software Engineer
 WSO2, Inc.;  http://wso2.com/
 Mobile : +94716436216

>>>
>>>
>>>
>>> --
>>>
>>> Thanks & regards,
>>> Nirmal
>>>
>>> Associate Technical Lead - Data Technologies Team, WSO2 Inc.
>>> Mobile: +94715779733
>>> Blog: http://nirmalfdo.blogspot.com/
>>>
>>>
>>>
>>
>>
>> --
>> Manorama Perera
>> Software Engineer
>> WSO2, Inc.;  http://wso2.com/
>> Mobile : +94716436216
>>
>
>
>
> --
>
> Thanks & regards,
> Nirmal
>
> Associate Technical Lead - Data Technologies Team, WSO2 Inc.
> Mobile: +94715779733
> Blog: http://nirmalfdo.blogspot.com/
>
>
>


-- 
*Supun Sethunga*
Software Engineer
WSO2, Inc.
http://wso2.com/
lean | enterprise | middleware
Mobile : +94 716546324
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Deprecate import model and add export model in rest API

2015-06-01 Thread Maheshakya Wijewardena
Hi,

Task done for the JIRA[1] in the PR[2]

[1] https://wso2.org/jira/browse/ML-58
[2] https://github.com/wso2/carbon-ml/pull/13
-- 
Pruthuvi Maheshakya Wijewardena
Software Engineer
WSO2 Lanka (Pvt) Ltd
Email: mahesha...@wso2.com
Mobile: +94711228855
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Deprecate import model and add export model in rest API

2015-06-01 Thread Nirmal Fernando
Can you please fix UI's download operation to use the new API?

On Mon, Jun 1, 2015 at 2:42 PM, Maheshakya Wijewardena 
wrote:

> Hi,
>
> Task done for the JIRA[1] in the PR[2]
>
> [1] https://wso2.org/jira/browse/ML-58
> [2] https://github.com/wso2/carbon-ml/pull/13
> --
> Pruthuvi Maheshakya Wijewardena
> Software Engineer
> WSO2 Lanka (Pvt) Ltd
> Email: mahesha...@wso2.com
> Mobile: +94711228855
>
>
>


-- 

Thanks & regards,
Nirmal

Associate Technical Lead - Data Technologies Team, WSO2 Inc.
Mobile: +94715779733
Blog: http://nirmalfdo.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [AF] Clarification on where to find a plain AF pack

2015-06-01 Thread Sabra Ossen
Hi,

I want to download a plain AF pack. Can it be downloaded from [1]. Any
guidance on where it can be found is highly appreciated. Thanks in advance.

[1] http://wso2.com/cloud/app-factory/

Regards.
Sabra.

-- 
Sabra Ossen 
Undergraduate | Department of Computer Science and Engineering
University of Moratuwa
Sri Lanka
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Please Review and Merge

2015-06-01 Thread Thilini Cooray
Hi,

Please do not merge due to several modifications.

thanks.

On Mon, Jun 1, 2015 at 12:54 PM, Thilini Cooray  wrote:

> Hi,
>
> This is the fix [1] for public JIRA [2].
> Please review and merge.
>
> [1] https://github.com/wso2/carbon-apimgt/pull/557
> [2] https://wso2.org/jira/browse/APIMANAGER-3132
>
> --
> Best Regards,
>
> *Thilini Cooray*
> Software Engineer
> Mobile : +94 (0) 774 570 112 <%2B94%20%280%29%20773%20451194>
> E-mail : thili...@wso2.com
>
> WSO2 Inc. www.wso2.com
> lean.enterprise.middleware
>



-- 
Best Regards,

*Thilini Cooray*
Software Engineer
Mobile : +94 (0) 774 570 112 <%2B94%20%280%29%20773%20451194>
E-mail : thili...@wso2.com

WSO2 Inc. www.wso2.com
lean.enterprise.middleware
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [AF] Clarification on where to find a plain AF pack

2015-06-01 Thread Manisha Gayathri
Hi Sabra,

Latest released packs can be found from [1]

[1]. https://github.com/wso2/product-af/releases

Thanks
Manisha

On Mon, Jun 1, 2015 at 3:16 PM, Sabra Ossen  wrote:

> Hi,
>
> I want to download a plain AF pack. Can it be downloaded from [1]. Any
> guidance on where it can be found is highly appreciated. Thanks in advance.
>
> [1] http://wso2.com/cloud/app-factory/
>
> Regards.
> Sabra.
>
> --
> Sabra Ossen 
> Undergraduate | Department of Computer Science and Engineering
> University of Moratuwa
> Sri Lanka
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
~Regards
*Manisha Eleperuma*
Senior Software Engineer
WSO2, Inc.: http://wso2.com
lean.enterprise.middleware

*blog:  http://manisha-eleperuma.blogspot.com/
*
*mobile:  +94 71 8279777*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Please Review and Merge PR

2015-06-01 Thread Rajeenthini Satkunam
Hi all,

Please review and merge the pull request[1].This is for adding a test class
for UI integration on validations for forms.

[1] - https://github.com/wso2/product-es/pull/165

-- 

*Thank You.*

*Rajeenthini Satkunam*

*Associate Software Engineer | WSO2*


*E:rajeenth...@wso2.com *

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


Re: [Dev] [AF] Clarification on where to find a plain AF pack

2015-06-01 Thread Dimuthu Leelarathne
Hi,

You can find nightly packs from the nightly builds running in Jenkins.

https://wso2.org/jenkins/job/product-af/

And latest successful is here - wso2appfactory-2.2.0-SNAPSHOT.zip


thanks,
dimuthu




On Mon, Jun 1, 2015 at 3:21 PM, Manisha Gayathri  wrote:

> Hi Sabra,
>
> Latest released packs can be found from [1]
>
> [1]. https://github.com/wso2/product-af/releases
>
> Thanks
> Manisha
>
> On Mon, Jun 1, 2015 at 3:16 PM, Sabra Ossen  wrote:
>
>> Hi,
>>
>> I want to download a plain AF pack. Can it be downloaded from [1]. Any
>> guidance on where it can be found is highly appreciated. Thanks in advance.
>>
>> [1] http://wso2.com/cloud/app-factory/
>>
>> Regards.
>> Sabra.
>>
>> --
>> Sabra Ossen 
>> Undergraduate | Department of Computer Science and Engineering
>> University of Moratuwa
>> Sri Lanka
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> ~Regards
> *Manisha Eleperuma*
> Senior Software Engineer
> WSO2, Inc.: http://wso2.com
> lean.enterprise.middleware
>
> *blog:  http://manisha-eleperuma.blogspot.com/
> *
> *mobile:  +94 71 8279777 <%2B94%2071%208279777>*
>
>


-- 
Dimuthu Leelarathne
Architect & Product Lead of App Factory

WSO2, Inc. (http://wso2.com)
email: dimut...@wso2.com
Mobile : 0773661935

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


Re: [Dev] control access web services by their operations wise through ESB

2015-06-01 Thread Harsha Kumara
Hi Akila,

I assume that you want to control the access to web service hosted in back
end through ESB. You can control access using XACML in this case. Please
find good arrticle in [1]. But it's bit obsolete, you can take a idea from
that article. Else if you want to control the access per operation in web
serice itself, there was a discussion in [2]. Hope this help.

[1] -
http://wso2.com/library/articles/2011/08/finegrained-authorization-restful-services-xacml/
[2] -
http://wso2-oxygen-tank.10903.n7.nabble.com/Authentication-in-Axis2-Service-xml-td101120.html


Thanks,
Harsha

On Mon, Jun 1, 2015 at 12:50 PM, Akila Nimantha [IT/EKO/LOITS] <
aki...@lolctech.com> wrote:

>  Hi all,
>
>
>
> Is there a way to control access web services by their operations wise in
> WSO2 ESB rather than creating single web service for each operation.
>
> Let’s say there is a web service which include to different operations.
> And there are two different users, user one going to access both two
> operations and user two going to access only one operation and he is
> prohibited second operation.
>
>
>
> Best Regards,
>
>
>
> *Akila Rathnayake*
>
> Software Engineer
>
> http://legendans.blogspot.com
>
>
>
> 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
>
>


-- 
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] Please Review and Merge

2015-06-01 Thread Thilini Cooray
Please merge PR [1] for public JIRA [2].

[1] https://github.com/wso2/carbon-apimgt/pull/562
[2] https://wso2.org/jira/browse/APIMANAGER-3132

Thanks.

On Mon, Jun 1, 2015 at 3:21 PM, Thilini Cooray  wrote:

> Hi,
>
> Please do not merge due to several modifications.
>
> thanks.
>
> On Mon, Jun 1, 2015 at 12:54 PM, Thilini Cooray  wrote:
>
>> Hi,
>>
>> This is the fix [1] for public JIRA [2].
>> Please review and merge.
>>
>> [1] https://github.com/wso2/carbon-apimgt/pull/557
>> [2] https://wso2.org/jira/browse/APIMANAGER-3132
>>
>> --
>> Best Regards,
>>
>> *Thilini Cooray*
>> Software Engineer
>> Mobile : +94 (0) 774 570 112 <%2B94%20%280%29%20773%20451194>
>> E-mail : thili...@wso2.com
>>
>> WSO2 Inc. www.wso2.com
>> lean.enterprise.middleware
>>
>
>
>
> --
> Best Regards,
>
> *Thilini Cooray*
> Software Engineer
> Mobile : +94 (0) 774 570 112 <%2B94%20%280%29%20773%20451194>
> E-mail : thili...@wso2.com
>
> WSO2 Inc. www.wso2.com
> lean.enterprise.middleware
>



-- 
Best Regards,

*Thilini Cooray*
Software Engineer
Mobile : +94 (0) 774 570 112 <%2B94%20%280%29%20773%20451194>
E-mail : thili...@wso2.com

WSO2 Inc. www.wso2.com
lean.enterprise.middleware
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Please review and merge PR

2015-06-01 Thread Manorama Perera
Hi Supun,

I've tested for quoted column headers using the linear regression sample,
by adding beginning and ending double quotes to the column headers of the
dataset.

"fixed acidity","volatile acidity","citric acid",., "quality"

Model building and prediction were successful.

As you've mentioned, the model building failure issue might have been fixed
with some earlier changes.

Thanks.

On Mon, Jun 1, 2015 at 2:42 PM, Supun Sethunga  wrote:

> Hi Manorama,
>
> Think this continues from there onwards as well. I mean, even if we
> continued from the UI, at the model building step, you will notice that the
> model building is failing.
>
> The issue was with the spark filter we used to remove the header. Reason
> behind this was, spark reads each row with quotes. But the header row we
> had stored from some earlier step ignores the quotes, and was stored as
> string. So when the header removal filter compares the header row we had
> stored, against each row read by spark, return is always false. Hence the
> actual header row does not get removed at any point. This eventually breaks
> the model building as there are multiple data types in a column (due to the
> header row).
> Not sure whether this was automatically fixed after the Dataset summary
> calculation was also done using Spark, rather than Apache commons CSV
> reader.
>
> Thanks for looking in to it.
>
>
> On Mon, Jun 1, 2015 at 2:35 PM, Nirmal Fernando  wrote:
>
>> Ok, thanks for the clarification.
>>
>> On Mon, Jun 1, 2015 at 2:32 PM, Manorama Perera 
>> wrote:
>>
>>> The issue noticed is, the analysis steps cannot be proceeded after the
>>> explore step. There's no exception trace shown.
>>>
>>> The ajax request sending fails when double quotes are included in the
>>> json payload.
>>>
>>> Thanks.
>>>
>>> On Mon, Jun 1, 2015 at 2:21 PM, Nirmal Fernando  wrote:
>>>
 Merged. Thanks.

 Can you please add the exception stack trace to the Jira too?

 On Mon, Jun 1, 2015 at 2:14 PM, Manorama Perera 
 wrote:

> Hi,
>
> Please find the fix [1] for JIRA [2].
>
> [1] https://github.com/wso2/product-ml/pull/154
> [2] https://wso2.org/jira/browse/ML-22
>
> --
> Manorama Perera
> Software Engineer
> WSO2, Inc.;  http://wso2.com/
> Mobile : +94716436216
>



 --

 Thanks & regards,
 Nirmal

 Associate Technical Lead - Data Technologies Team, WSO2 Inc.
 Mobile: +94715779733
 Blog: http://nirmalfdo.blogspot.com/



>>>
>>>
>>> --
>>> Manorama Perera
>>> Software Engineer
>>> WSO2, Inc.;  http://wso2.com/
>>> Mobile : +94716436216
>>>
>>
>>
>>
>> --
>>
>> Thanks & regards,
>> Nirmal
>>
>> Associate Technical Lead - Data Technologies Team, WSO2 Inc.
>> Mobile: +94715779733
>> Blog: http://nirmalfdo.blogspot.com/
>>
>>
>>
>
>
> --
> *Supun Sethunga*
> Software Engineer
> WSO2, Inc.
> http://wso2.com/
> lean | enterprise | middleware
> Mobile : +94 716546324
>



-- 
Manorama Perera
Software Engineer
WSO2, Inc.;  http://wso2.com/
Mobile : +94716436216
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] ESB Google Spreadsheet connector issue

2015-06-01 Thread Amal Gunatilake
+chanaka

On Mon, Jun 1, 2015 at 3:48 PM, Amal Gunatilake  wrote:

> Hi Vanji,
>
> I was trying to connect to a google spreadsheet using the ESB connector
> and I get the following error when the proxy is invoked.
>
> * xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/
> ">*
> *   *
> *   *
> *   xmlns:ns="http://org.wso2.esbconnectors.googlespreadsheet
> ">*
> * Error authenticating (check service
> name)*
> *  *
> *   *
> **
>
> I downloaded the googleSpreadsheet connector from [1], deployed it in the
> ESB 4.8.1 server and have enabled it according to documentation[2].
>
> Could you please help me to identify the issue?
>
> Following is my synapse configurations
>
> *http://ws.apache.org/ns/synapse
> ">*
> *   *
> *  15000*
> *   *
> **   package="org.wso2.carbon.connectors"*
> *   status="enabled"/>*
> **  transports="https http"*
> *  startOnLoad="true"*
> *  trace="disable">*
> *  *
> *  *
> * *
> **
> *   wso2...@gmail.com *
> *   wso2carbon*
> **
> * configKey="MyGSConfig"/>*
> **
> * *
> *  *
> *   *
> *   *
> *  *
> * wso2...@gmail.com *
> * wso2carbon*
> *  *
> *  Authentication config*
> *   *
> *   *
> *  *
> * *
> *  expression="get-property('ERROR_CODE')"/>*
> *  expression="get-property('ERROR_MESSAGE')"/>*
> *  *
> *  *
> *   *
> *   *
> *  *
> * *
> *  regex="http://localhost:9000.*";>*
> **
> * *
> *  *
> *  *
> * *
> *  *
> *  The main sequence for the message
> mediation*
> *   *
> **
>
> [1]
> https://github.com/wso2/esb-connectors/tree/master/distribution/google-spreadsheet
> [2] https://docs.wso2.com/display/ESB480/Google+Spreadsheet+Connector
>
> Best regards,
> Amal.
> --
> *Amal Gunatilake*
>  Software Engineer
> WSO2 Inc.; http://wso2.com
> lean.enterprise.middleware
>



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


[Dev] [BPS] Please review and merge the pull request

2015-06-01 Thread Vinod Kavinda
Hi,
Please find the PR [1] for issue [2].

[1] - https://github.com/wso2/carbon-business-process/pull/63
[2] - https://wso2.org/jira/browse/BPS-670

Regards,
Vinod

-- 
Vinod Kavinda
Software Engineer, *WSO2, Inc .*
Mobile : +94 (0) 712 415544
vi...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Error while running the Application server

2015-06-01 Thread Aaquibah Nashry
Hi,
im using Ubuntu 14.04 LTS
64 bit


M.R.Aaquibah Nashry
*Intern, Engineering*
Mobile : +94 773946123
Tel  : +94 112662541
nas...@wso2.com

On Mon, Jun 1, 2015 at 1:38 PM, Nirmal Fernando  wrote:

> What's your OS and version? Good that manual setting worked, but we need
> to figure out why automatic recognition failed and possibly fix it.
>
> On Mon, Jun 1, 2015 at 1:10 PM, Aaquibah Nashry  wrote:
>
>> Hi,
>> setting the CARBON_HOME manually worked.
>> Thanks everyone
>>
>> M.R.Aaquibah Nashry
>> *Intern, Engineering*
>> Mobile : +94 773946123
>> Tel  : +94 112662541
>> nas...@wso2.com
>>
>> On Mon, Jun 1, 2015 at 12:26 PM, Sachith Withana 
>> wrote:
>>
>>> If you want to run the AS
>>> try setting the $CARBON_HOME manually.
>>>
>>> Ex: export $CARBON_HOME=" /usr/nashry/home/SOFTWARES/wso2as-5.2.1"
>>>
>>> It seems the script can't figure out the exact CARBON_HOME to be set.
>>>
>>> On Mon, Jun 1, 2015 at 12:20 PM, Chathura Priyankara >> > wrote:
>>>
 Hi,

 Make sure that there is tomcat-juli-7.0.59.jar inside /bin
 directory.

 Thanks,
 Chathura.

 On Mon, Jun 1, 2015 at 12:05 PM, Shashika Karunatilaka <
 shashi...@wso2.com> wrote:

> HI,
>
> Can you try running using java 1.6
>
> On Mon, Jun 1, 2015 at 12:02 PM, Thusitha Thilina Dayaratne <
> thusit...@wso2.com> wrote:
>
>> Hi,
>>
>> Are you getting this in a fresh pack?
>> Thanks
>> /Thusitha
>>
>> On Mon, Jun 1, 2015 at 12:01 PM, Aaquibah Nashry 
>> wrote:
>>
>>> Hi,
>>> i get the following error when i try to run the application server.
>>> Can anyone help me with this?
>>>
>>>
>>> JAVA_HOME environment variable is set to /usr/lib/jvm/jdk1.7.0_79
>>> CARBON_HOME environment variable is set to
>>> /usr/nashry/home/SOFTWARES/org.wso2.carbon.server-4.2.0
>>> wso2server.sh: 260: cd: can't cd to
>>> /usr/nashry/home/SOFTWARES/org.wso2.carbon.server-4.2.0
>>> Could not load Logmanager "org.apache.juli.ClassLoaderLogManager"
>>> java.lang.ClassNotFoundException:
>>> org.apache.juli.ClassLoaderLogManager
>>> at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
>>> at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
>>> at java.security.AccessController.doPrivileged(Native Method)
>>> at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
>>> at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
>>> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
>>> at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
>>> at java.util.logging.LogManager$1.run(LogManager.java:191)
>>> at java.security.AccessController.doPrivileged(Native Method)
>>> at java.util.logging.LogManager.(LogManager.java:181)
>>> at java.util.logging.Logger.demandLogger(Logger.java:339)
>>> at java.util.logging.Logger.getLogger(Logger.java:393)
>>> at
>>> com.sun.jmx.remote.util.ClassLogger.(ClassLogger.java:55)
>>> at
>>> sun.management.jmxremote.ConnectorBootstrap.(ConnectorBootstrap.java:823)
>>> at sun.management.Agent.startLocalManagementAgent(Agent.java:144)
>>> at sun.management.Agent.startAgent(Agent.java:264)
>>> at sun.management.Agent.startAgent(Agent.java:456)
>>> Error: Could not find or load main class
>>> org.wso2.carbon.bootstrap.Bootstrap
>>>
>>> M.R.Aaquibah Nashry
>>> *Intern, Engineering*
>>> Mobile : +94 773946123
>>> Tel  : +94 112662541
>>> nas...@wso2.com
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Thusitha Dayaratne
>> Software Engineer
>> WSO2 Inc. - lean . enterprise . middleware |  wso2.com
>>
>> Mobile  +94712756809
>> Blog  alokayasoya.blogspot.com
>> Abouthttp://about.me/thusithathilina
>>
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Shashika Prabath Karunatilaka,
> Software Engineer,
> WSO2, Inc: http://wso2.com/
> mobile : +94 77 7487792
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


 --
 Chathura Priyankara
 Software Engineer | WSO2 Inc.
 Mobile : +94718795340
 Blog : www.codeoncloud.blogspot.com

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


>>>
>>>
>>> --
>>> Sachith Withana
>>> Software Engineer; WSO2 Inc.; http://wso2.com
>>> E-mail: sachith AT wso2.com
>>> M: +9

[Dev] Revert some pull requests due to API changes

2015-06-01 Thread Manoj Kumara
Hi All,

As per conclusion of the discussion [1] we agreed on not to add any API
changes on patch releases. Due to this I will be reverting following pull
requests [2], [3], [4], [5] from master branch and these fixes will not be
available on Carbon 4.4.1 release.

I'll create a separate pull request with these commits to be merged on
future minor/major release.

[1] Kernel Patching Strategy on GIT
[2] https://github.com/wso2/carbon4-kernel/pull/198
[3] https://github.com/wso2/carbon4-kernel/pull/195
[4] https://github.com/wso2/carbon4-kernel/pull/205/
[5] https://github.com/wso2/carbon4-kernel/pull/211

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


Re: [Dev] ESB Google Spreadsheet connector issue

2015-06-01 Thread Rajith Vitharana
Hi,

Similar issue occurred in DSS as well. It seems google may have changed
there authentication mechanism. According to [2],[3],[4] google stopped
supporting Oauth 1.0 and that may be the case for this issue. Public jira
for DSS is in [1]

[1] - https://wso2.org/jira/browse/DS-1049
[2] - https://developers.google.com/identity/protocols/OAuthForWebApps
[3] - https://bugs.launchpad.net/ubuntu/+source/googlecl/+bug/1408503
[4] - https://developers.google.com/identity/protocols/OAuth_ref

Thanks,

On Mon, Jun 1, 2015 at 4:20 PM, Amal Gunatilake  wrote:

> +chanaka
>
> On Mon, Jun 1, 2015 at 3:48 PM, Amal Gunatilake  wrote:
>
>> Hi Vanji,
>>
>> I was trying to connect to a google spreadsheet using the ESB connector
>> and I get the following error when the proxy is invoked.
>>
>> *> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/
>> ">*
>> *   *
>> *   *
>> *  > xmlns:ns="http://org.wso2.esbconnectors.googlespreadsheet
>> ">*
>> * Error authenticating (check service
>> name)*
>> *  *
>> *   *
>> **
>>
>> I downloaded the googleSpreadsheet connector from [1], deployed it in the
>> ESB 4.8.1 server and have enabled it according to documentation[2].
>>
>> Could you please help me to identify the issue?
>>
>> Following is my synapse configurations
>>
>> *http://ws.apache.org/ns/synapse
>> ">*
>> *   *
>> *  15000*
>> *   *
>> *   > *   package="org.wso2.carbon.connectors"*
>> *   status="enabled"/>*
>> *   > *  transports="https http"*
>> *  startOnLoad="true"*
>> *  trace="disable">*
>> *  *
>> *  *
>> * *
>> **
>> *   wso2...@gmail.com
>> *
>> *   wso2carbon*
>> **
>> *> configKey="MyGSConfig"/>*
>> **
>> * *
>> *  *
>> *   *
>> *   *
>> *  *
>> * wso2...@gmail.com *
>> * wso2carbon*
>> *  *
>> *  Authentication config*
>> *   *
>> *   *
>> *  *
>> * *
>> * > expression="get-property('ERROR_CODE')"/>*
>> * > expression="get-property('ERROR_MESSAGE')"/>*
>> *  *
>> *  *
>> *   *
>> *   *
>> *  *
>> * *
>> * > regex="http://localhost:9000.*";>*
>> **
>> * *
>> *  *
>> *  *
>> * *
>> *  *
>> *  The main sequence for the message
>> mediation*
>> *   *
>> **
>>
>> [1]
>> https://github.com/wso2/esb-connectors/tree/master/distribution/google-spreadsheet
>> [2] https://docs.wso2.com/display/ESB480/Google+Spreadsheet+Connector
>>
>> Best regards,
>> Amal.
>> --
>> *Amal Gunatilake*
>>  Software Engineer
>> WSO2 Inc.; http://wso2.com
>> lean.enterprise.middleware
>>
>
>
>
> --
> *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
>
>


-- 
Rajith Vitharana

Software Engineer,
WSO2 Inc. : wso2.com
Mobile : +94715883223
Blog : http://lankavitharana.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Error while running the Application server

2015-06-01 Thread Nirmal Fernando
hmm... it's strange that it fails. May be you can investigate by adding few
echos to the wso2server.sh.

On Mon, Jun 1, 2015 at 4:26 PM, Aaquibah Nashry  wrote:

>
> Hi,
> im using Ubuntu 14.04 LTS
> 64 bit
>
>
> M.R.Aaquibah Nashry
> *Intern, Engineering*
> Mobile : +94 773946123
> Tel  : +94 112662541
> nas...@wso2.com
>
> On Mon, Jun 1, 2015 at 1:38 PM, Nirmal Fernando  wrote:
>
>> What's your OS and version? Good that manual setting worked, but we need
>> to figure out why automatic recognition failed and possibly fix it.
>>
>> On Mon, Jun 1, 2015 at 1:10 PM, Aaquibah Nashry  wrote:
>>
>>> Hi,
>>> setting the CARBON_HOME manually worked.
>>> Thanks everyone
>>>
>>> M.R.Aaquibah Nashry
>>> *Intern, Engineering*
>>> Mobile : +94 773946123
>>> Tel  : +94 112662541
>>> nas...@wso2.com
>>>
>>> On Mon, Jun 1, 2015 at 12:26 PM, Sachith Withana 
>>> wrote:
>>>
 If you want to run the AS
 try setting the $CARBON_HOME manually.

 Ex: export $CARBON_HOME=" /usr/nashry/home/SOFTWARES/wso2as-5.2.1"

 It seems the script can't figure out the exact CARBON_HOME to be set.

 On Mon, Jun 1, 2015 at 12:20 PM, Chathura Priyankara <
 chathu...@wso2.com> wrote:

> Hi,
>
> Make sure that there is tomcat-juli-7.0.59.jar inside /bin
> directory.
>
> Thanks,
> Chathura.
>
> On Mon, Jun 1, 2015 at 12:05 PM, Shashika Karunatilaka <
> shashi...@wso2.com> wrote:
>
>> HI,
>>
>> Can you try running using java 1.6
>>
>> On Mon, Jun 1, 2015 at 12:02 PM, Thusitha Thilina Dayaratne <
>> thusit...@wso2.com> wrote:
>>
>>> Hi,
>>>
>>> Are you getting this in a fresh pack?
>>> Thanks
>>> /Thusitha
>>>
>>> On Mon, Jun 1, 2015 at 12:01 PM, Aaquibah Nashry 
>>> wrote:
>>>
 Hi,
 i get the following error when i try to run the application server.
 Can anyone help me with this?


 JAVA_HOME environment variable is set to /usr/lib/jvm/jdk1.7.0_79
 CARBON_HOME environment variable is set to
 /usr/nashry/home/SOFTWARES/org.wso2.carbon.server-4.2.0
 wso2server.sh: 260: cd: can't cd to
 /usr/nashry/home/SOFTWARES/org.wso2.carbon.server-4.2.0
 Could not load Logmanager "org.apache.juli.ClassLoaderLogManager"
 java.lang.ClassNotFoundException:
 org.apache.juli.ClassLoaderLogManager
 at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
 at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
 at java.security.AccessController.doPrivileged(Native Method)
 at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
 at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
 at java.util.logging.LogManager$1.run(LogManager.java:191)
 at java.security.AccessController.doPrivileged(Native Method)
 at java.util.logging.LogManager.(LogManager.java:181)
 at java.util.logging.Logger.demandLogger(Logger.java:339)
 at java.util.logging.Logger.getLogger(Logger.java:393)
 at
 com.sun.jmx.remote.util.ClassLogger.(ClassLogger.java:55)
 at
 sun.management.jmxremote.ConnectorBootstrap.(ConnectorBootstrap.java:823)
 at
 sun.management.Agent.startLocalManagementAgent(Agent.java:144)
 at sun.management.Agent.startAgent(Agent.java:264)
 at sun.management.Agent.startAgent(Agent.java:456)
 Error: Could not find or load main class
 org.wso2.carbon.bootstrap.Bootstrap

 M.R.Aaquibah Nashry
 *Intern, Engineering*
 Mobile : +94 773946123
 Tel  : +94 112662541
 nas...@wso2.com

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


>>>
>>>
>>> --
>>> Thusitha Dayaratne
>>> Software Engineer
>>> WSO2 Inc. - lean . enterprise . middleware |  wso2.com
>>>
>>> Mobile  +94712756809
>>> Blog  alokayasoya.blogspot.com
>>> Abouthttp://about.me/thusithathilina
>>>
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Shashika Prabath Karunatilaka,
>> Software Engineer,
>> WSO2, Inc: http://wso2.com/
>> mobile : +94 77 7487792
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Chathura Priyankara
> Software Engineer | WSO2 In

Re: [Dev] Please review and merge PR

2015-06-01 Thread Nirmal Fernando
Yes, We've done various fixes with regards to dataset parsing.

On Mon, Jun 1, 2015 at 4:16 PM, Manorama Perera  wrote:

> Hi Supun,
>
> I've tested for quoted column headers using the linear regression sample,
> by adding beginning and ending double quotes to the column headers of the
> dataset.
>
> "fixed acidity","volatile acidity","citric acid",., "quality"
>
> Model building and prediction were successful.
>
> As you've mentioned, the model building failure issue might have been
> fixed with some earlier changes.
>
> Thanks.
>
> On Mon, Jun 1, 2015 at 2:42 PM, Supun Sethunga  wrote:
>
>> Hi Manorama,
>>
>> Think this continues from there onwards as well. I mean, even if we
>> continued from the UI, at the model building step, you will notice that the
>> model building is failing.
>>
>> The issue was with the spark filter we used to remove the header. Reason
>> behind this was, spark reads each row with quotes. But the header row we
>> had stored from some earlier step ignores the quotes, and was stored as
>> string. So when the header removal filter compares the header row we had
>> stored, against each row read by spark, return is always false. Hence the
>> actual header row does not get removed at any point. This eventually breaks
>> the model building as there are multiple data types in a column (due to the
>> header row).
>> Not sure whether this was automatically fixed after the Dataset summary
>> calculation was also done using Spark, rather than Apache commons CSV
>> reader.
>>
>> Thanks for looking in to it.
>>
>>
>> On Mon, Jun 1, 2015 at 2:35 PM, Nirmal Fernando  wrote:
>>
>>> Ok, thanks for the clarification.
>>>
>>> On Mon, Jun 1, 2015 at 2:32 PM, Manorama Perera 
>>> wrote:
>>>
 The issue noticed is, the analysis steps cannot be proceeded after the
 explore step. There's no exception trace shown.

 The ajax request sending fails when double quotes are included in the
 json payload.

 Thanks.

 On Mon, Jun 1, 2015 at 2:21 PM, Nirmal Fernando 
 wrote:

> Merged. Thanks.
>
> Can you please add the exception stack trace to the Jira too?
>
> On Mon, Jun 1, 2015 at 2:14 PM, Manorama Perera 
> wrote:
>
>> Hi,
>>
>> Please find the fix [1] for JIRA [2].
>>
>> [1] https://github.com/wso2/product-ml/pull/154
>> [2] https://wso2.org/jira/browse/ML-22
>>
>> --
>> Manorama Perera
>> Software Engineer
>> WSO2, Inc.;  http://wso2.com/
>> Mobile : +94716436216
>>
>
>
>
> --
>
> Thanks & regards,
> Nirmal
>
> Associate Technical Lead - Data Technologies Team, WSO2 Inc.
> Mobile: +94715779733
> Blog: http://nirmalfdo.blogspot.com/
>
>
>


 --
 Manorama Perera
 Software Engineer
 WSO2, Inc.;  http://wso2.com/
 Mobile : +94716436216

>>>
>>>
>>>
>>> --
>>>
>>> Thanks & regards,
>>> Nirmal
>>>
>>> Associate Technical Lead - Data Technologies Team, WSO2 Inc.
>>> Mobile: +94715779733
>>> Blog: http://nirmalfdo.blogspot.com/
>>>
>>>
>>>
>>
>>
>> --
>> *Supun Sethunga*
>> Software Engineer
>> WSO2, Inc.
>> http://wso2.com/
>> lean | enterprise | middleware
>> Mobile : +94 716546324
>>
>
>
>
> --
> Manorama Perera
> Software Engineer
> WSO2, Inc.;  http://wso2.com/
> Mobile : +94716436216
>



-- 

Thanks & regards,
Nirmal

Associate Technical Lead - Data Technologies Team, WSO2 Inc.
Mobile: +94715779733
Blog: http://nirmalfdo.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Please review and merge PR

2015-06-01 Thread Supun Sethunga
Great! sorry for the noise :)

On Mon, Jun 1, 2015 at 4:36 PM, Nirmal Fernando  wrote:

> Yes, We've done various fixes with regards to dataset parsing.
>
> On Mon, Jun 1, 2015 at 4:16 PM, Manorama Perera  wrote:
>
>> Hi Supun,
>>
>> I've tested for quoted column headers using the linear regression sample,
>> by adding beginning and ending double quotes to the column headers of the
>> dataset.
>>
>> "fixed acidity","volatile acidity","citric acid",., "quality"
>>
>> Model building and prediction were successful.
>>
>> As you've mentioned, the model building failure issue might have been
>> fixed with some earlier changes.
>>
>> Thanks.
>>
>> On Mon, Jun 1, 2015 at 2:42 PM, Supun Sethunga  wrote:
>>
>>> Hi Manorama,
>>>
>>> Think this continues from there onwards as well. I mean, even if we
>>> continued from the UI, at the model building step, you will notice that the
>>> model building is failing.
>>>
>>> The issue was with the spark filter we used to remove the header. Reason
>>> behind this was, spark reads each row with quotes. But the header row we
>>> had stored from some earlier step ignores the quotes, and was stored as
>>> string. So when the header removal filter compares the header row we had
>>> stored, against each row read by spark, return is always false. Hence the
>>> actual header row does not get removed at any point. This eventually breaks
>>> the model building as there are multiple data types in a column (due to the
>>> header row).
>>> Not sure whether this was automatically fixed after the Dataset summary
>>> calculation was also done using Spark, rather than Apache commons CSV
>>> reader.
>>>
>>> Thanks for looking in to it.
>>>
>>>
>>> On Mon, Jun 1, 2015 at 2:35 PM, Nirmal Fernando  wrote:
>>>
 Ok, thanks for the clarification.

 On Mon, Jun 1, 2015 at 2:32 PM, Manorama Perera 
 wrote:

> The issue noticed is, the analysis steps cannot be proceeded after the
> explore step. There's no exception trace shown.
>
> The ajax request sending fails when double quotes are included in the
> json payload.
>
> Thanks.
>
> On Mon, Jun 1, 2015 at 2:21 PM, Nirmal Fernando 
> wrote:
>
>> Merged. Thanks.
>>
>> Can you please add the exception stack trace to the Jira too?
>>
>> On Mon, Jun 1, 2015 at 2:14 PM, Manorama Perera 
>> wrote:
>>
>>> Hi,
>>>
>>> Please find the fix [1] for JIRA [2].
>>>
>>> [1] https://github.com/wso2/product-ml/pull/154
>>> [2] https://wso2.org/jira/browse/ML-22
>>>
>>> --
>>> Manorama Perera
>>> Software Engineer
>>> WSO2, Inc.;  http://wso2.com/
>>> Mobile : +94716436216
>>>
>>
>>
>>
>> --
>>
>> Thanks & regards,
>> Nirmal
>>
>> Associate Technical Lead - Data Technologies Team, WSO2 Inc.
>> Mobile: +94715779733
>> Blog: http://nirmalfdo.blogspot.com/
>>
>>
>>
>
>
> --
> Manorama Perera
> Software Engineer
> WSO2, Inc.;  http://wso2.com/
> Mobile : +94716436216
>



 --

 Thanks & regards,
 Nirmal

 Associate Technical Lead - Data Technologies Team, WSO2 Inc.
 Mobile: +94715779733
 Blog: http://nirmalfdo.blogspot.com/



>>>
>>>
>>> --
>>> *Supun Sethunga*
>>> Software Engineer
>>> WSO2, Inc.
>>> http://wso2.com/
>>> lean | enterprise | middleware
>>> Mobile : +94 716546324
>>>
>>
>>
>>
>> --
>> Manorama Perera
>> Software Engineer
>> WSO2, Inc.;  http://wso2.com/
>> Mobile : +94716436216
>>
>
>
>
> --
>
> Thanks & regards,
> Nirmal
>
> Associate Technical Lead - Data Technologies Team, WSO2 Inc.
> Mobile: +94715779733
> Blog: http://nirmalfdo.blogspot.com/
>
>
>


-- 
*Supun Sethunga*
Software Engineer
WSO2, Inc.
http://wso2.com/
lean | enterprise | middleware
Mobile : +94 716546324
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Please review and merge PR

2015-06-01 Thread Nirmal Fernando
Thanks Supun for bringing it up.

On Mon, Jun 1, 2015 at 4:40 PM, Supun Sethunga  wrote:

> Great! sorry for the noise :)
>
> On Mon, Jun 1, 2015 at 4:36 PM, Nirmal Fernando  wrote:
>
>> Yes, We've done various fixes with regards to dataset parsing.
>>
>> On Mon, Jun 1, 2015 at 4:16 PM, Manorama Perera 
>> wrote:
>>
>>> Hi Supun,
>>>
>>> I've tested for quoted column headers using the linear regression
>>> sample, by adding beginning and ending double quotes to the column headers
>>> of the dataset.
>>>
>>> "fixed acidity","volatile acidity","citric acid",., "quality"
>>>
>>> Model building and prediction were successful.
>>>
>>> As you've mentioned, the model building failure issue might have been
>>> fixed with some earlier changes.
>>>
>>> Thanks.
>>>
>>> On Mon, Jun 1, 2015 at 2:42 PM, Supun Sethunga  wrote:
>>>
 Hi Manorama,

 Think this continues from there onwards as well. I mean, even if we
 continued from the UI, at the model building step, you will notice that the
 model building is failing.

 The issue was with the spark filter we used to remove the header.
 Reason behind this was, spark reads each row with quotes. But the header
 row we had stored from some earlier step ignores the quotes, and was stored
 as string. So when the header removal filter compares the header row we had
 stored, against each row read by spark, return is always false. Hence the
 actual header row does not get removed at any point. This eventually breaks
 the model building as there are multiple data types in a column (due to the
 header row).
 Not sure whether this was automatically fixed after the Dataset summary
 calculation was also done using Spark, rather than Apache commons CSV
 reader.

 Thanks for looking in to it.


 On Mon, Jun 1, 2015 at 2:35 PM, Nirmal Fernando 
 wrote:

> Ok, thanks for the clarification.
>
> On Mon, Jun 1, 2015 at 2:32 PM, Manorama Perera 
> wrote:
>
>> The issue noticed is, the analysis steps cannot be proceeded after
>> the explore step. There's no exception trace shown.
>>
>> The ajax request sending fails when double quotes are included in the
>> json payload.
>>
>> Thanks.
>>
>> On Mon, Jun 1, 2015 at 2:21 PM, Nirmal Fernando 
>> wrote:
>>
>>> Merged. Thanks.
>>>
>>> Can you please add the exception stack trace to the Jira too?
>>>
>>> On Mon, Jun 1, 2015 at 2:14 PM, Manorama Perera 
>>> wrote:
>>>
 Hi,

 Please find the fix [1] for JIRA [2].

 [1] https://github.com/wso2/product-ml/pull/154
 [2] https://wso2.org/jira/browse/ML-22

 --
 Manorama Perera
 Software Engineer
 WSO2, Inc.;  http://wso2.com/
 Mobile : +94716436216

>>>
>>>
>>>
>>> --
>>>
>>> Thanks & regards,
>>> Nirmal
>>>
>>> Associate Technical Lead - Data Technologies Team, WSO2 Inc.
>>> Mobile: +94715779733
>>> Blog: http://nirmalfdo.blogspot.com/
>>>
>>>
>>>
>>
>>
>> --
>> Manorama Perera
>> Software Engineer
>> WSO2, Inc.;  http://wso2.com/
>> Mobile : +94716436216
>>
>
>
>
> --
>
> Thanks & regards,
> Nirmal
>
> Associate Technical Lead - Data Technologies Team, WSO2 Inc.
> Mobile: +94715779733
> Blog: http://nirmalfdo.blogspot.com/
>
>
>


 --
 *Supun Sethunga*
 Software Engineer
 WSO2, Inc.
 http://wso2.com/
 lean | enterprise | middleware
 Mobile : +94 716546324

>>>
>>>
>>>
>>> --
>>> Manorama Perera
>>> Software Engineer
>>> WSO2, Inc.;  http://wso2.com/
>>> Mobile : +94716436216
>>>
>>
>>
>>
>> --
>>
>> Thanks & regards,
>> Nirmal
>>
>> Associate Technical Lead - Data Technologies Team, WSO2 Inc.
>> Mobile: +94715779733
>> Blog: http://nirmalfdo.blogspot.com/
>>
>>
>>
>
>
> --
> *Supun Sethunga*
> Software Engineer
> WSO2, Inc.
> http://wso2.com/
> lean | enterprise | middleware
> Mobile : +94 716546324
>



-- 

Thanks & regards,
Nirmal

Associate Technical Lead - Data Technologies Team, WSO2 Inc.
Mobile: +94715779733
Blog: http://nirmalfdo.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Deprecate import model and add export model in rest API

2015-06-01 Thread Maheshakya Wijewardena
Fixed in the PR: https://github.com/wso2/product-ml/pull/157

On Mon, Jun 1, 2015 at 2:46 PM, Nirmal Fernando  wrote:

> Can you please fix UI's download operation to use the new API?
>
> On Mon, Jun 1, 2015 at 2:42 PM, Maheshakya Wijewardena <
> mahesha...@wso2.com> wrote:
>
>> Hi,
>>
>> Task done for the JIRA[1] in the PR[2]
>>
>> [1] https://wso2.org/jira/browse/ML-58
>> [2] https://github.com/wso2/carbon-ml/pull/13
>> --
>> Pruthuvi Maheshakya Wijewardena
>> Software Engineer
>> WSO2 Lanka (Pvt) Ltd
>> Email: mahesha...@wso2.com
>> Mobile: +94711228855
>>
>>
>>
>
>
> --
>
> Thanks & regards,
> Nirmal
>
> Associate Technical Lead - Data Technologies Team, WSO2 Inc.
> Mobile: +94715779733
> Blog: http://nirmalfdo.blogspot.com/
>
>
>


-- 
Pruthuvi Maheshakya Wijewardena
Software Engineer
WSO2 Lanka (Pvt) Ltd
Email: mahesha...@wso2.com
Mobile: +94711228855
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] ESB Google Spreadsheet connector issue

2015-06-01 Thread Amal Gunatilake
Hi Rajitha,

Thank you for quick response.
I think in ESB it might be a different case because I went through the
Google spreadsheet connector code [1] and it seems the implementation has
been already done with OAuth2.
Is there any other possibility why the connector is not getting
authenticated?

"public void *loginOAuth2*(String consumerKey, String
consumerSecret, String accessToken, String
accessTokenSecret, SpreadsheetService service) throws
AuthenticationException"

[1]
https://github.com/wso2/esb-connectors/blob/master/googlespreadsheet/1.0.0/src/main/java/org/wso2/carbon/connector/googlespreadsheet/GoogleSpreadsheetAuthentication.java

Best regards,
Amal.

On Mon, Jun 1, 2015 at 4:32 PM, Rajith Vitharana  wrote:

> Hi,
>
> Similar issue occurred in DSS as well. It seems google may have changed
> there authentication mechanism. According to [2],[3],[4] google stopped
> supporting Oauth 1.0 and that may be the case for this issue. Public jira
> for DSS is in [1]
>
> [1] - https://wso2.org/jira/browse/DS-1049
> [2] - https://developers.google.com/identity/protocols/OAuthForWebApps
> [3] - https://bugs.launchpad.net/ubuntu/+source/googlecl/+bug/1408503
> [4] - https://developers.google.com/identity/protocols/OAuth_ref
>
> Thanks,
>
> On Mon, Jun 1, 2015 at 4:20 PM, Amal Gunatilake  wrote:
>
>> +chanaka
>>
>> On Mon, Jun 1, 2015 at 3:48 PM, Amal Gunatilake  wrote:
>>
>>> Hi Vanji,
>>>
>>> I was trying to connect to a google spreadsheet using the ESB connector
>>> and I get the following error when the proxy is invoked.
>>>
>>> *>> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/
>>> ">*
>>> *   *
>>> *   *
>>> *  >> xmlns:ns="http://org.wso2.esbconnectors.googlespreadsheet
>>> ">*
>>> * Error authenticating (check service
>>> name)*
>>> *  *
>>> *   *
>>> **
>>>
>>> I downloaded the googleSpreadsheet connector from [1], deployed it in
>>> the ESB 4.8.1 server and have enabled it according to documentation[2].
>>>
>>> Could you please help me to identify the issue?
>>>
>>> Following is my synapse configurations
>>>
>>> *http://ws.apache.org/ns/synapse
>>> ">*
>>> *   >> provider="org.wso2.carbon.mediation.registry.WSO2Registry">*
>>> *  15000*
>>> *   *
>>> *   >> *   package="org.wso2.carbon.connectors"*
>>> *   status="enabled"/>*
>>> *   >> *  transports="https http"*
>>> *  startOnLoad="true"*
>>> *  trace="disable">*
>>> *  *
>>> *  *
>>> * *
>>> **
>>> *   wso2...@gmail.com
>>> *
>>> *   wso2carbon*
>>> **
>>> *>> configKey="MyGSConfig"/>*
>>> **
>>> * *
>>> *  *
>>> *   *
>>> *   *
>>> *  *
>>> * wso2...@gmail.com *
>>> * wso2carbon*
>>> *  *
>>> *  Authentication config*
>>> *   *
>>> *   *
>>> *  *
>>> * *
>>> * >> expression="get-property('ERROR_CODE')"/>*
>>> * >> expression="get-property('ERROR_MESSAGE')"/>*
>>> *  *
>>> *  *
>>> *   *
>>> *   *
>>> *  *
>>> * *
>>> * >> regex="http://localhost:9000.*";>*
>>> **
>>> * *
>>> *  *
>>> *  *
>>> * *
>>> *  *
>>> *  The main sequence for the message
>>> mediation*
>>> *   *
>>> **
>>>
>>> [1]
>>> https://github.com/wso2/esb-connectors/tree/master/distribution/google-spreadsheet
>>> [2] https://docs.wso2.com/display/ESB480/Google+Spreadsheet+Connector
>>>
>>> Best regards,
>>> Amal.
>>> --
>>> *Amal Gunatilake*
>>>  Software Engineer
>>> WSO2 Inc.; http://wso2.com
>>> lean.enterprise.middleware
>>>
>>
>>
>>
>> --
>> *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
>>
>>
>
>
> --
> Rajith Vitharana
>
> Software Engineer,
> WSO2 Inc. : wso2.com
> Mobile : +94715883223
> Blog : http://lankavitharana.blogspot.com/
>



-- 
*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] ESB Google Spreadsheet connector issue

2015-06-01 Thread Naasheer Ali
Hi Amal,

We have implemented the google spreadsheet connector with OAuth2 support.
You can find the connector here[1].

[1] -
https://github.com/wso2/esb-connectors/tree/master/googlespreadsheet/2.0.0

Regards,
-- 

*Naasheer Ali* | Associate Software Engineer

WSO2, Inc |#20, Palm Grove, Colombo 03, Sri Lanka

Email: naashe...@wso2.com

On Mon, Jun 1, 2015 at 4:32 PM, Rajith Vitharana  wrote:

> Hi,
>
> Similar issue occurred in DSS as well. It seems google may have changed
> there authentication mechanism. According to [2],[3],[4] google stopped
> supporting Oauth 1.0 and that may be the case for this issue. Public jira
> for DSS is in [1]
>
> [1] - https://wso2.org/jira/browse/DS-1049
> [2] - https://developers.google.com/identity/protocols/OAuthForWebApps
> [3] - https://bugs.launchpad.net/ubuntu/+source/googlecl/+bug/1408503
> [4] - https://developers.google.com/identity/protocols/OAuth_ref
>
> Thanks,
>
> On Mon, Jun 1, 2015 at 4:20 PM, Amal Gunatilake  wrote:
>
>> +chanaka
>>
>> On Mon, Jun 1, 2015 at 3:48 PM, Amal Gunatilake  wrote:
>>
>>> Hi Vanji,
>>>
>>> I was trying to connect to a google spreadsheet using the ESB connector
>>> and I get the following error when the proxy is invoked.
>>>
>>> *>> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/
>>> ">*
>>> *   *
>>> *   *
>>> *  >> xmlns:ns="http://org.wso2.esbconnectors.googlespreadsheet
>>> ">*
>>> * Error authenticating (check service
>>> name)*
>>> *  *
>>> *   *
>>> **
>>>
>>> I downloaded the googleSpreadsheet connector from [1], deployed it in
>>> the ESB 4.8.1 server and have enabled it according to documentation[2].
>>>
>>> Could you please help me to identify the issue?
>>>
>>> Following is my synapse configurations
>>>
>>> *http://ws.apache.org/ns/synapse
>>> ">*
>>> *   >> provider="org.wso2.carbon.mediation.registry.WSO2Registry">*
>>> *  15000*
>>> *   *
>>> *   >> *   package="org.wso2.carbon.connectors"*
>>> *   status="enabled"/>*
>>> *   >> *  transports="https http"*
>>> *  startOnLoad="true"*
>>> *  trace="disable">*
>>> *  *
>>> *  *
>>> * *
>>> **
>>> *   wso2...@gmail.com
>>> *
>>> *   wso2carbon*
>>> **
>>> *>> configKey="MyGSConfig"/>*
>>> **
>>> * *
>>> *  *
>>> *   *
>>> *   *
>>> *  *
>>> * wso2...@gmail.com *
>>> * wso2carbon*
>>> *  *
>>> *  Authentication config*
>>> *   *
>>> *   *
>>> *  *
>>> * *
>>> * >> expression="get-property('ERROR_CODE')"/>*
>>> * >> expression="get-property('ERROR_MESSAGE')"/>*
>>> *  *
>>> *  *
>>> *   *
>>> *   *
>>> *  *
>>> * *
>>> * >> regex="http://localhost:9000.*";>*
>>> **
>>> * *
>>> *  *
>>> *  *
>>> * *
>>> *  *
>>> *  The main sequence for the message
>>> mediation*
>>> *   *
>>> **
>>>
>>> [1]
>>> https://github.com/wso2/esb-connectors/tree/master/distribution/google-spreadsheet
>>> [2] https://docs.wso2.com/display/ESB480/Google+Spreadsheet+Connector
>>>
>>> Best regards,
>>> Amal.
>>> --
>>> *Amal Gunatilake*
>>>  Software Engineer
>>> WSO2 Inc.; http://wso2.com
>>> lean.enterprise.middleware
>>>
>>
>>
>>
>> --
>> *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
>>
>>
>
>
> --
> Rajith Vitharana
>
> Software Engineer,
> WSO2 Inc. : wso2.com
> Mobile : +94715883223
> Blog : http://lankavitharana.blogspot.com/
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Deprecate import model and add export model in rest API

2015-06-01 Thread Nirmal Fernando
Merged.

On Mon, Jun 1, 2015 at 4:49 PM, Maheshakya Wijewardena 
wrote:

> Fixed in the PR: https://github.com/wso2/product-ml/pull/157
>
> On Mon, Jun 1, 2015 at 2:46 PM, Nirmal Fernando  wrote:
>
>> Can you please fix UI's download operation to use the new API?
>>
>> On Mon, Jun 1, 2015 at 2:42 PM, Maheshakya Wijewardena <
>> mahesha...@wso2.com> wrote:
>>
>>> Hi,
>>>
>>> Task done for the JIRA[1] in the PR[2]
>>>
>>> [1] https://wso2.org/jira/browse/ML-58
>>> [2] https://github.com/wso2/carbon-ml/pull/13
>>> --
>>> Pruthuvi Maheshakya Wijewardena
>>> Software Engineer
>>> WSO2 Lanka (Pvt) Ltd
>>> Email: mahesha...@wso2.com
>>> Mobile: +94711228855
>>>
>>>
>>>
>>
>>
>> --
>>
>> Thanks & regards,
>> Nirmal
>>
>> Associate Technical Lead - Data Technologies Team, WSO2 Inc.
>> Mobile: +94715779733
>> Blog: http://nirmalfdo.blogspot.com/
>>
>>
>>
>
>
> --
> Pruthuvi Maheshakya Wijewardena
> Software Engineer
> WSO2 Lanka (Pvt) Ltd
> Email: mahesha...@wso2.com
> Mobile: +94711228855
>
>
>


-- 

Thanks & regards,
Nirmal

Associate Technical Lead - Data Technologies Team, WSO2 Inc.
Mobile: +94715779733
Blog: http://nirmalfdo.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Please Review and Merge

2015-06-01 Thread Lakmali Baminiwatta
Reviewed and merged.

Thanks,
Lakmali



On 1 June 2015 at 16:02, Thilini Cooray  wrote:

> Please merge PR [1] for public JIRA [2].
>
> [1] https://github.com/wso2/carbon-apimgt/pull/562
> [2] https://wso2.org/jira/browse/APIMANAGER-3132
>
> Thanks.
>
> On Mon, Jun 1, 2015 at 3:21 PM, Thilini Cooray  wrote:
>
>> Hi,
>>
>> Please do not merge due to several modifications.
>>
>> thanks.
>>
>> On Mon, Jun 1, 2015 at 12:54 PM, Thilini Cooray 
>> wrote:
>>
>>> Hi,
>>>
>>> This is the fix [1] for public JIRA [2].
>>> Please review and merge.
>>>
>>> [1] https://github.com/wso2/carbon-apimgt/pull/557
>>> [2] https://wso2.org/jira/browse/APIMANAGER-3132
>>>
>>> --
>>> Best Regards,
>>>
>>> *Thilini Cooray*
>>> Software Engineer
>>> Mobile : +94 (0) 774 570 112 <%2B94%20%280%29%20773%20451194>
>>> E-mail : thili...@wso2.com
>>>
>>> WSO2 Inc. www.wso2.com
>>> lean.enterprise.middleware
>>>
>>
>>
>>
>> --
>> Best Regards,
>>
>> *Thilini Cooray*
>> Software Engineer
>> Mobile : +94 (0) 774 570 112 <%2B94%20%280%29%20773%20451194>
>> E-mail : thili...@wso2.com
>>
>> WSO2 Inc. www.wso2.com
>> lean.enterprise.middleware
>>
>
>
>
> --
> Best Regards,
>
> *Thilini Cooray*
> Software Engineer
> Mobile : +94 (0) 774 570 112 <%2B94%20%280%29%20773%20451194>
> E-mail : thili...@wso2.com
>
> WSO2 Inc. www.wso2.com
> lean.enterprise.middleware
>



-- 
Lakmali Baminiwatta
 Senior Software Engineer
WSO2, Inc.: http://wso2.com
lean.enterprise.middleware
mobile:  +94 71 2335936
blog : lakmali.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [AF] Clarification on where to find a plain AF pack

2015-06-01 Thread Sabra Ossen
Hi,

Thanks for your prompt responses. In particular where can I find the 2.2.1
beta release pack, I checked the releases in [1] and couldn't find it.

And I am unable to access the resource mentioned in
wso2appfactory-2.2.0-SNAPSHOT.zip


[1] https://github.com/wso2/product-af/releases

Thanks.
Sabra.

On Mon, Jun 1, 2015 at 3:32 PM, Dimuthu Leelarathne 
wrote:

> Hi,
>
> You can find nightly packs from the nightly builds running in Jenkins.
>
> https://wso2.org/jenkins/job/product-af/
>
> And latest successful is here - wso2appfactory-2.2.0-SNAPSHOT.zip
> 
>
> thanks,
> dimuthu
>
>
>
>
> On Mon, Jun 1, 2015 at 3:21 PM, Manisha Gayathri  wrote:
>
>> Hi Sabra,
>>
>> Latest released packs can be found from [1]
>>
>> [1]. https://github.com/wso2/product-af/releases
>>
>> Thanks
>> Manisha
>>
>> On Mon, Jun 1, 2015 at 3:16 PM, Sabra Ossen  wrote:
>>
>>> Hi,
>>>
>>> I want to download a plain AF pack. Can it be downloaded from [1]. Any
>>> guidance on where it can be found is highly appreciated. Thanks in advance.
>>>
>>> [1] http://wso2.com/cloud/app-factory/
>>>
>>> Regards.
>>> Sabra.
>>>
>>> --
>>> Sabra Ossen 
>>> Undergraduate | Department of Computer Science and Engineering
>>> University of Moratuwa
>>> Sri Lanka
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> ~Regards
>> *Manisha Eleperuma*
>> Senior Software Engineer
>> WSO2, Inc.: http://wso2.com
>> lean.enterprise.middleware
>>
>> *blog:  http://manisha-eleperuma.blogspot.com/
>> *
>> *mobile:  +94 71 8279777 <%2B94%2071%208279777>*
>>
>>
>
>
> --
> Dimuthu Leelarathne
> Architect & Product Lead of App Factory
>
> WSO2, Inc. (http://wso2.com)
> email: dimut...@wso2.com
> Mobile : 0773661935
>
> Lean . Enterprise . Middleware
>



-- 
Sabra Ossen 
Undergraduate | Department of Computer Science and Engineering
University of Moratuwa
Sri Lanka
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] ESB Google Spreadsheet connector issue

2015-06-01 Thread Amal Gunatilake
Hi Nasheer,

Thank you for the link.
I built the code and deployed the latest google spreadsheet connector
(2.0.0). But I still face the same issue.

I get the following error.

[2015-06-01 17:34:52,756] ERROR - *GoogleSpreadsheetCreateWorksheet Error
occured Error authenticating (check service name)*
com.google.gdata.util.AuthenticationException: Error authenticating (check
service name)
at
com.google.gdata.client.GoogleAuthTokenFactory.getAuthException(GoogleAuthTokenFactory.java:688)
at
com.google.gdata.client.GoogleAuthTokenFactory.getAuthToken(GoogleAuthTokenFactory.java:560)
at
com.google.gdata.client.GoogleAuthTokenFactory.setUserCredentials(GoogleAuthTokenFactory.java:397)
at
com.google.gdata.client.GoogleService.setUserCredentials(GoogleService.java:364)
at
com.google.gdata.client.GoogleService.setUserCredentials(GoogleService.java:319)
at
com.google.gdata.client.GoogleService.setUserCredentials(GoogleService.java:303)
at
org.wso2.carbon.connector.googlespreadsheet.GoogleSpreadsheetAuthentication.login(GoogleSpreadsheetAuthentication.java:59)
at
org.wso2.carbon.connector.googlespreadsheet.GoogleSpreadsheetClientLoader.loadSpreadsheetService(GoogleSpreadsheetClientLoader.java:53)
at
org.wso2.carbon.connector.googlespreadsheet.GoogleSpreadsheetGetAllSpreadsheets.connect(GoogleSpreadsheetGetAllSpreadsheets.java:46)
at
org.wso2.carbon.connector.core.AbstractConnector.mediate(AbstractConnector.java:32)
at
org.apache.synapse.mediators.ext.ClassMediator.mediate(ClassMediator.java:78)
at
org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:77)
at
org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:47)
at
org.apache.synapse.mediators.template.TemplateMediator.mediate(TemplateMediator.java:77)
at
org.apache.synapse.mediators.template.InvokeMediator.mediate(InvokeMediator.java:129)
at
org.apache.synapse.mediators.template.InvokeMediator.mediate(InvokeMediator.java:78)
at
org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:77)
at
org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:47)
at
org.apache.synapse.mediators.base.SequenceMediator.mediate(SequenceMediator.java:131)
at
org.apache.synapse.core.axis2.ProxyServiceMessageReceiver.receive(ProxyServiceMessageReceiver.java:166)
at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:180)
at
org.apache.synapse.transport.passthru.ServerWorker.processEntityEnclosingRequest(ServerWorker.java:411)
at
org.apache.synapse.transport.passthru.ServerWorker.run(ServerWorker.java:183)
at
org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:172)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)

Also when building the sample there was a build error and I had to update
the pom file as below to get it build.

diff --git a/googlespreadsheet/2.0.0/pom.xml
b/googlespreadsheet/2.0.0/pom.xml
index ba5e188..65af017 100644
--- a/googlespreadsheet/2.0.0/pom.xml
+++ b/googlespreadsheet/2.0.0/pom.xml
@@ -29,7 +29,7 @@

org.apache.synapse
synapse-core
-   2.1.3-wso2v1-SNAPSHOT
+   2.1.3-wso2v1


com.google.gdata

Best regards,
Amal.


On Mon, Jun 1, 2015 at 4:51 PM, Naasheer Ali  wrote:

> Hi Amal,
>
> We have implemented the google spreadsheet connector with OAuth2 support.
> You can find the connector here[1].
>
> [1] -
> https://github.com/wso2/esb-connectors/tree/master/googlespreadsheet/2.0.0
>
> Regards,
> --
>
> *Naasheer Ali* | Associate Software Engineer
>
> WSO2, Inc |#20, Palm Grove, Colombo 03, Sri Lanka
>
> Email: naashe...@wso2.com
>
> On Mon, Jun 1, 2015 at 4:32 PM, Rajith Vitharana  wrote:
>
>> Hi,
>>
>> Similar issue occurred in DSS as well. It seems google may have changed
>> there authentication mechanism. According to [2],[3],[4] google stopped
>> supporting Oauth 1.0 and that may be the case for this issue. Public jira
>> for DSS is in [1]
>>
>> [1] - https://wso2.org/jira/browse/DS-1049
>> [2] - https://developers.google.com/identity/protocols/OAuthForWebApps
>> [3] - https://bugs.launchpad.net/ubuntu/+source/googlecl/+bug/1408503
>> [4] - https://developers.google.com/identity/protocols/OAuth_ref
>>
>> Thanks,
>>
>> On Mon, Jun 1, 2015 at 4:20 PM, Amal Gunatilake  wrote:
>>
>>> +chanaka
>>>
>>> On Mon, Jun 1, 2015 at 3:48 PM, Amal Gunatilake  wrote:
>>>
 Hi Vanji,

 I was trying to connect to a google spreadsheet using the ESB connector
 and I get the following error when the proxy is invoked.

 *>>> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/
 ">*
 *   *
 *   *
 *  >>> xmlns:ns="http://org.ws

Re: [Dev] Revert some pull requests due to API changes

2015-06-01 Thread Malaka Silva
Hi Manoj,

Regarding PR [1]

Latest fix does not involve an api change. So we can keep this change
merged.

[1] ] https://github.com/wso2/carbon4-kernel/pull/205/

On Mon, Jun 1, 2015 at 4:31 PM, Manoj Kumara  wrote:

> Hi All,
>
> As per conclusion of the discussion [1] we agreed on not to add any API
> changes on patch releases. Due to this I will be reverting following pull
> requests [2], [3], [4], [5] from master branch and these fixes will not be
> available on Carbon 4.4.1 release.
>
> I'll create a separate pull request with these commits to be merged on
> future minor/major release.
>
> [1] Kernel Patching Strategy on GIT
> [2] https://github.com/wso2/carbon4-kernel/pull/198
> [3] https://github.com/wso2/carbon4-kernel/pull/195
> [4] https://github.com/wso2/carbon4-kernel/pull/205/
> [5] https://github.com/wso2/carbon4-kernel/pull/211
>
> Regards,
> Manoj
>



-- 

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/


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] WSO2 AS 6.0.0 Milestone 2 Released !!

2015-06-01 Thread Manoj Kumara
Hi Dev's,

WSO2 Application Server team is pleased to announce the 2nd Milestone
of WSO2 AS
6.0.0. The milestone distribution is available at [1] and documentation can
be found under [2].

*New Features*

This release includes following features,

   - [WSAS-1687] - Tomcat implementations of Jasper/EL from Glassfish
   implementations
   - [WSAS-1727] - Support Tomcat Virtual Hosts
   - [WSAS-1691] - Support for Java WebSocket 1.0 API


*Improvements and Bug fixes*

This release includes following improvements and bug fixes,

*WSO2 AS 6.0.0-M2 - Fixed Issues
*

*Known Issues*

You can find the list of known issues under under following link and track
how they get resolved, and comment on the progress.

*WSO2 AS 6.0.0-M2 - Known Issues
*

*How You Can Contribute*

   - Mailing Lists

Join our mailing list and correspond with the developers directly.


   - Developer List : dev@wso2.org | Subscribe
  
  - User List : StackOverflow.com
  


   - *Reporting Issues*

WSO2 encourages you to report issues and your enhancement requests for
the WSO2 AS using the AS Public JIRA .


[1] *http://svn.wso2.org/repos/wso2/people/manoj/Product-AS/release-M2/
*
[2]
https://docs.wso2.com/display/AS600/WSO2+Application+Server+Documentation


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


Re: [Dev] Revert some pull requests due to API changes

2015-06-01 Thread Manoj Kumara
Hi Malaka,

Thanks for informing. Since this was along with a pull request which adds
some properties to axis I thought this is related to that one as well I'll
add the fix and sorry for the inconvenience.

Regards,
Manoj


*Manoj Kumara*
Software Engineer
WSO2 Inc. http://wso2.com/
*lean.enterprise.middleware*
Mobile: +94713448188

On Mon, Jun 1, 2015 at 5:52 PM, Malaka Silva  wrote:

> Hi Manoj,
>
> Regarding PR [1]
>
> Latest fix does not involve an api change. So we can keep this change
> merged.
>
> [1] ] https://github.com/wso2/carbon4-kernel/pull/205/
>
> On Mon, Jun 1, 2015 at 4:31 PM, Manoj Kumara  wrote:
>
>> Hi All,
>>
>> As per conclusion of the discussion [1] we agreed on not to add any API
>> changes on patch releases. Due to this I will be reverting following pull
>> requests [2], [3], [4], [5] from master branch and these fixes will not be
>> available on Carbon 4.4.1 release.
>>
>> I'll create a separate pull request with these commits to be merged on
>> future minor/major release.
>>
>> [1] Kernel Patching Strategy on GIT
>> [2] https://github.com/wso2/carbon4-kernel/pull/198
>> [3] https://github.com/wso2/carbon4-kernel/pull/195
>> [4] https://github.com/wso2/carbon4-kernel/pull/205/
>> [5] https://github.com/wso2/carbon4-kernel/pull/211
>>
>> Regards,
>> Manoj
>>
>
>
>
> --
>
> 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/
> 
>
> 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] Revert some pull requests due to API changes

2015-06-01 Thread Manoj Kumara
Merged with https://github.com/wso2/carbon4-kernel/pull/230


*Manoj Kumara*
Software Engineer
WSO2 Inc. http://wso2.com/
*lean.enterprise.middleware*
Mobile: +94713448188

On Mon, Jun 1, 2015 at 6:06 PM, Manoj Kumara  wrote:

> Hi Malaka,
>
> Thanks for informing. Since this was along with a pull request which adds
> some properties to axis I thought this is related to that one as well I'll
> add the fix and sorry for the inconvenience.
>
> Regards,
> Manoj
>
>
> *Manoj Kumara*
> Software Engineer
> WSO2 Inc. http://wso2.com/
> *lean.enterprise.middleware*
> Mobile: +94713448188
>
> On Mon, Jun 1, 2015 at 5:52 PM, Malaka Silva  wrote:
>
>> Hi Manoj,
>>
>> Regarding PR [1]
>>
>> Latest fix does not involve an api change. So we can keep this change
>> merged.
>>
>> [1] ] https://github.com/wso2/carbon4-kernel/pull/205/
>>
>> On Mon, Jun 1, 2015 at 4:31 PM, Manoj Kumara  wrote:
>>
>>> Hi All,
>>>
>>> As per conclusion of the discussion [1] we agreed on not to add any API
>>> changes on patch releases. Due to this I will be reverting following pull
>>> requests [2], [3], [4], [5] from master branch and these fixes will not be
>>> available on Carbon 4.4.1 release.
>>>
>>> I'll create a separate pull request with these commits to be merged on
>>> future minor/major release.
>>>
>>> [1] Kernel Patching Strategy on GIT
>>> [2] https://github.com/wso2/carbon4-kernel/pull/198
>>> [3] https://github.com/wso2/carbon4-kernel/pull/195
>>> [4] https://github.com/wso2/carbon4-kernel/pull/205/
>>> [5] https://github.com/wso2/carbon4-kernel/pull/211
>>>
>>> Regards,
>>> Manoj
>>>
>>
>>
>>
>> --
>>
>> 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/
>> 
>>
>> 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] Please review and merge PR for APIMANAGER-3692

2015-06-01 Thread Kasun Gunasekara
Hi,

Please review and merge PR [1] for Jira [2]

[1] https://github.com/wso2/carbon-apimgt/pull/565
[2] https://wso2.org/jira/browse/APIMANAGER-3692

Regards.

Kasun Gunasekara
Software Engineering Intern - WSO2
Mobile : +94 77 6986482
Twitter  | Google+
 | LinkedIn

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


Re: [Dev] ESB Google Spreadsheet connector issue

2015-06-01 Thread Malaka Silva
Connector Team,

Can anyone of you check this please. Also we should have both versions or
latest in the store.

On Mon, Jun 1, 2015 at 5:39 PM, Amal Gunatilake  wrote:

> Hi Nasheer,
>
> Thank you for the link.
> I built the code and deployed the latest google spreadsheet connector
> (2.0.0). But I still face the same issue.
>
> I get the following error.
>
> [2015-06-01 17:34:52,756] ERROR - *GoogleSpreadsheetCreateWorksheet Error
> occured Error authenticating (check service name)*
> com.google.gdata.util.AuthenticationException: Error authenticating (check
> service name)
> at
> com.google.gdata.client.GoogleAuthTokenFactory.getAuthException(GoogleAuthTokenFactory.java:688)
> at
> com.google.gdata.client.GoogleAuthTokenFactory.getAuthToken(GoogleAuthTokenFactory.java:560)
> at
> com.google.gdata.client.GoogleAuthTokenFactory.setUserCredentials(GoogleAuthTokenFactory.java:397)
> at
> com.google.gdata.client.GoogleService.setUserCredentials(GoogleService.java:364)
> at
> com.google.gdata.client.GoogleService.setUserCredentials(GoogleService.java:319)
> at
> com.google.gdata.client.GoogleService.setUserCredentials(GoogleService.java:303)
> at
> org.wso2.carbon.connector.googlespreadsheet.GoogleSpreadsheetAuthentication.login(GoogleSpreadsheetAuthentication.java:59)
> at
> org.wso2.carbon.connector.googlespreadsheet.GoogleSpreadsheetClientLoader.loadSpreadsheetService(GoogleSpreadsheetClientLoader.java:53)
> at
> org.wso2.carbon.connector.googlespreadsheet.GoogleSpreadsheetGetAllSpreadsheets.connect(GoogleSpreadsheetGetAllSpreadsheets.java:46)
> at
> org.wso2.carbon.connector.core.AbstractConnector.mediate(AbstractConnector.java:32)
> at
> org.apache.synapse.mediators.ext.ClassMediator.mediate(ClassMediator.java:78)
> at
> org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:77)
> at
> org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:47)
> at
> org.apache.synapse.mediators.template.TemplateMediator.mediate(TemplateMediator.java:77)
> at
> org.apache.synapse.mediators.template.InvokeMediator.mediate(InvokeMediator.java:129)
> at
> org.apache.synapse.mediators.template.InvokeMediator.mediate(InvokeMediator.java:78)
> at
> org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:77)
> at
> org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:47)
> at
> org.apache.synapse.mediators.base.SequenceMediator.mediate(SequenceMediator.java:131)
> at
> org.apache.synapse.core.axis2.ProxyServiceMessageReceiver.receive(ProxyServiceMessageReceiver.java:166)
> at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:180)
> at
> org.apache.synapse.transport.passthru.ServerWorker.processEntityEnclosingRequest(ServerWorker.java:411)
> at
> org.apache.synapse.transport.passthru.ServerWorker.run(ServerWorker.java:183)
> at
> org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:172)
> at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> at java.lang.Thread.run(Thread.java:745)
>
> Also when building the sample there was a build error and I had to update
> the pom file as below to get it build.
>
> diff --git a/googlespreadsheet/2.0.0/pom.xml
> b/googlespreadsheet/2.0.0/pom.xml
> index ba5e188..65af017 100644
> --- a/googlespreadsheet/2.0.0/pom.xml
> +++ b/googlespreadsheet/2.0.0/pom.xml
> @@ -29,7 +29,7 @@
> 
> org.apache.synapse
> synapse-core
> -   2.1.3-wso2v1-SNAPSHOT
> +   2.1.3-wso2v1
> 
> 
> com.google.gdata
>
> Best regards,
> Amal.
>
>
> On Mon, Jun 1, 2015 at 4:51 PM, Naasheer Ali  wrote:
>
>> Hi Amal,
>>
>> We have implemented the google spreadsheet connector with OAuth2 support.
>> You can find the connector here[1].
>>
>> [1] -
>> https://github.com/wso2/esb-connectors/tree/master/googlespreadsheet/2.0.0
>>
>> Regards,
>> --
>>
>> *Naasheer Ali* | Associate Software Engineer
>>
>> WSO2, Inc |#20, Palm Grove, Colombo 03, Sri Lanka
>>
>> Email: naashe...@wso2.com
>>
>> On Mon, Jun 1, 2015 at 4:32 PM, Rajith Vitharana 
>> wrote:
>>
>>> Hi,
>>>
>>> Similar issue occurred in DSS as well. It seems google may have changed
>>> there authentication mechanism. According to [2],[3],[4] google stopped
>>> supporting Oauth 1.0 and that may be the case for this issue. Public jira
>>> for DSS is in [1]
>>>
>>> [1] - https://wso2.org/jira/browse/DS-1049
>>> [2] - https://developers.google.com/identity/protocols/OAuthForWebApps
>>> [3] - https://bugs.launchpad.net/ubuntu/+source/googlecl/+bug/1408503
>>> [4] - https://developers.google.com/identity/protocols/OAuth_ref
>>>
>>> Thanks,
>>>
>>> On Mon, Jun 1, 2015 at 4:20 PM, Amal Gunatilake  wrote:
>>>
 +chanaka

 On Mon, Jun 1, 2015 at 3

Re: [Dev] Error while running the Application server

2015-06-01 Thread Sachith Withana
The problem might be due to working inside the /usr/ directory. ( It's
kinda odd to see someone's user home being inside the /usr directory)

Try this if you can,
-first unset the CARBON_HOME if you have set it already
-then try running AS from inside the home directory ex:
/home/nashry/software/wso2as-5.2.1

This MIGHT be occurring due to an permission issue.

On Mon, Jun 1, 2015 at 4:34 PM, Nirmal Fernando  wrote:

> hmm... it's strange that it fails. May be you can investigate by adding
> few echos to the wso2server.sh.
>
> On Mon, Jun 1, 2015 at 4:26 PM, Aaquibah Nashry  wrote:
>
>>
>> Hi,
>> im using Ubuntu 14.04 LTS
>> 64 bit
>>
>>
>> M.R.Aaquibah Nashry
>> *Intern, Engineering*
>> Mobile : +94 773946123
>> Tel  : +94 112662541
>> nas...@wso2.com
>>
>> On Mon, Jun 1, 2015 at 1:38 PM, Nirmal Fernando  wrote:
>>
>>> What's your OS and version? Good that manual setting worked, but we need
>>> to figure out why automatic recognition failed and possibly fix it.
>>>
>>> On Mon, Jun 1, 2015 at 1:10 PM, Aaquibah Nashry  wrote:
>>>
 Hi,
 setting the CARBON_HOME manually worked.
 Thanks everyone

 M.R.Aaquibah Nashry
 *Intern, Engineering*
 Mobile : +94 773946123
 Tel  : +94 112662541
 nas...@wso2.com

 On Mon, Jun 1, 2015 at 12:26 PM, Sachith Withana 
 wrote:

> If you want to run the AS
> try setting the $CARBON_HOME manually.
>
> Ex: export $CARBON_HOME=" /usr/nashry/home/SOFTWARES/wso2as-5.2.1"
>
> It seems the script can't figure out the exact CARBON_HOME to be set.
>
> On Mon, Jun 1, 2015 at 12:20 PM, Chathura Priyankara <
> chathu...@wso2.com> wrote:
>
>> Hi,
>>
>> Make sure that there is tomcat-juli-7.0.59.jar inside /bin
>> directory.
>>
>> Thanks,
>> Chathura.
>>
>> On Mon, Jun 1, 2015 at 12:05 PM, Shashika Karunatilaka <
>> shashi...@wso2.com> wrote:
>>
>>> HI,
>>>
>>> Can you try running using java 1.6
>>>
>>> On Mon, Jun 1, 2015 at 12:02 PM, Thusitha Thilina Dayaratne <
>>> thusit...@wso2.com> wrote:
>>>
 Hi,

 Are you getting this in a fresh pack?
 Thanks
 /Thusitha

 On Mon, Jun 1, 2015 at 12:01 PM, Aaquibah Nashry 
 wrote:

> Hi,
> i get the following error when i try to run the application
> server. Can anyone help me with this?
>
>
> JAVA_HOME environment variable is set to /usr/lib/jvm/jdk1.7.0_79
> CARBON_HOME environment variable is set to
> /usr/nashry/home/SOFTWARES/org.wso2.carbon.server-4.2.0
> wso2server.sh: 260: cd: can't cd to
> /usr/nashry/home/SOFTWARES/org.wso2.carbon.server-4.2.0
> Could not load Logmanager "org.apache.juli.ClassLoaderLogManager"
> java.lang.ClassNotFoundException:
> org.apache.juli.ClassLoaderLogManager
> at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
> at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
> at
> sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
> at java.util.logging.LogManager$1.run(LogManager.java:191)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.util.logging.LogManager.(LogManager.java:181)
> at java.util.logging.Logger.demandLogger(Logger.java:339)
> at java.util.logging.Logger.getLogger(Logger.java:393)
> at
> com.sun.jmx.remote.util.ClassLogger.(ClassLogger.java:55)
> at
> sun.management.jmxremote.ConnectorBootstrap.(ConnectorBootstrap.java:823)
> at
> sun.management.Agent.startLocalManagementAgent(Agent.java:144)
> at sun.management.Agent.startAgent(Agent.java:264)
> at sun.management.Agent.startAgent(Agent.java:456)
> Error: Could not find or load main class
> org.wso2.carbon.bootstrap.Bootstrap
>
> M.R.Aaquibah Nashry
> *Intern, Engineering*
> Mobile : +94 773946123
> Tel  : +94 112662541
> nas...@wso2.com
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


 --
 Thusitha Dayaratne
 Software Engineer
 WSO2 Inc. - lean . enterprise . middleware |  wso2.com

 Mobile  +94712756809
 Blog  alokayasoya.blogspot.com
 Abouthttp://about.me/thusithathilina


 

Re: [Dev] [AF] Clarification on where to find a plain AF pack

2015-06-01 Thread Dimuthu Leelarathne
Hi Sabra,

I think you better use the releases. They are tested and works.

thanks,
dimuthu


On Mon, Jun 1, 2015 at 5:07 PM, Sabra Ossen  wrote:

> Hi,
>
> Thanks for your prompt responses. In particular where can I find the 2.2.1
> beta release pack, I checked the releases in [1] and couldn't find it.
>
> And I am unable to access the resource mentioned in
> wso2appfactory-2.2.0-SNAPSHOT.zip
> 
>
> [1] https://github.com/wso2/product-af/releases
>
> Thanks.
> Sabra.
>
> On Mon, Jun 1, 2015 at 3:32 PM, Dimuthu Leelarathne 
> wrote:
>
>> Hi,
>>
>> You can find nightly packs from the nightly builds running in Jenkins.
>>
>> https://wso2.org/jenkins/job/product-af/
>>
>> And latest successful is here - wso2appfactory-2.2.0-SNAPSHOT.zip
>> 
>>
>> thanks,
>> dimuthu
>>
>>
>>
>>
>> On Mon, Jun 1, 2015 at 3:21 PM, Manisha Gayathri 
>> wrote:
>>
>>> Hi Sabra,
>>>
>>> Latest released packs can be found from [1]
>>>
>>> [1]. https://github.com/wso2/product-af/releases
>>>
>>> Thanks
>>> Manisha
>>>
>>> On Mon, Jun 1, 2015 at 3:16 PM, Sabra Ossen  wrote:
>>>
 Hi,

 I want to download a plain AF pack. Can it be downloaded from [1]. Any
 guidance on where it can be found is highly appreciated. Thanks in advance.

 [1] http://wso2.com/cloud/app-factory/

 Regards.
 Sabra.

 --
 Sabra Ossen 
 Undergraduate | Department of Computer Science and Engineering
 University of Moratuwa
 Sri Lanka

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


>>>
>>>
>>> --
>>> ~Regards
>>> *Manisha Eleperuma*
>>> Senior Software Engineer
>>> WSO2, Inc.: http://wso2.com
>>> lean.enterprise.middleware
>>>
>>> *blog:  http://manisha-eleperuma.blogspot.com/
>>> *
>>> *mobile:  +94 71 8279777 <%2B94%2071%208279777>*
>>>
>>>
>>
>>
>> --
>> Dimuthu Leelarathne
>> Architect & Product Lead of App Factory
>>
>> WSO2, Inc. (http://wso2.com)
>> email: dimut...@wso2.com
>> Mobile : 0773661935
>>
>> Lean . Enterprise . Middleware
>>
>
>
>
> --
> Sabra Ossen 
> Undergraduate | Department of Computer Science and Engineering
> University of Moratuwa
> Sri Lanka
>



-- 
Dimuthu Leelarathne
Architect & Product Lead of App Factory

WSO2, Inc. (http://wso2.com)
email: dimut...@wso2.com
Mobile : 0773661935

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


Re: [Dev] ESB Google Spreadsheet connector issue

2015-06-01 Thread Naasheer Ali
Hi Amal,

I can not reproduce the issue, GSS connector builds perfectly and able to
create worksheet as well.


Regards,
-- 

*Naasheer Ali* | Associate Software Engineer

WSO2, Inc |#20, Palm Grove, Colombo 03, Sri Lanka

Email: naashe...@wso2.com

On Mon, Jun 1, 2015 at 7:38 PM, Malaka Silva  wrote:

> Connector Team,
>
> Can anyone of you check this please. Also we should have both versions or
> latest in the store.
>
> On Mon, Jun 1, 2015 at 5:39 PM, Amal Gunatilake  wrote:
>
>> Hi Nasheer,
>>
>> Thank you for the link.
>> I built the code and deployed the latest google spreadsheet connector
>> (2.0.0). But I still face the same issue.
>>
>> I get the following error.
>>
>> [2015-06-01 17:34:52,756] ERROR - *GoogleSpreadsheetCreateWorksheet
>> Error occured Error authenticating (check service name)*
>> com.google.gdata.util.AuthenticationException: Error authenticating
>> (check service name)
>> at
>> com.google.gdata.client.GoogleAuthTokenFactory.getAuthException(GoogleAuthTokenFactory.java:688)
>> at
>> com.google.gdata.client.GoogleAuthTokenFactory.getAuthToken(GoogleAuthTokenFactory.java:560)
>> at
>> com.google.gdata.client.GoogleAuthTokenFactory.setUserCredentials(GoogleAuthTokenFactory.java:397)
>> at
>> com.google.gdata.client.GoogleService.setUserCredentials(GoogleService.java:364)
>> at
>> com.google.gdata.client.GoogleService.setUserCredentials(GoogleService.java:319)
>> at
>> com.google.gdata.client.GoogleService.setUserCredentials(GoogleService.java:303)
>> at
>> org.wso2.carbon.connector.googlespreadsheet.GoogleSpreadsheetAuthentication.login(GoogleSpreadsheetAuthentication.java:59)
>> at
>> org.wso2.carbon.connector.googlespreadsheet.GoogleSpreadsheetClientLoader.loadSpreadsheetService(GoogleSpreadsheetClientLoader.java:53)
>> at
>> org.wso2.carbon.connector.googlespreadsheet.GoogleSpreadsheetGetAllSpreadsheets.connect(GoogleSpreadsheetGetAllSpreadsheets.java:46)
>> at
>> org.wso2.carbon.connector.core.AbstractConnector.mediate(AbstractConnector.java:32)
>> at
>> org.apache.synapse.mediators.ext.ClassMediator.mediate(ClassMediator.java:78)
>> at
>> org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:77)
>> at
>> org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:47)
>> at
>> org.apache.synapse.mediators.template.TemplateMediator.mediate(TemplateMediator.java:77)
>> at
>> org.apache.synapse.mediators.template.InvokeMediator.mediate(InvokeMediator.java:129)
>> at
>> org.apache.synapse.mediators.template.InvokeMediator.mediate(InvokeMediator.java:78)
>> at
>> org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:77)
>> at
>> org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:47)
>> at
>> org.apache.synapse.mediators.base.SequenceMediator.mediate(SequenceMediator.java:131)
>> at
>> org.apache.synapse.core.axis2.ProxyServiceMessageReceiver.receive(ProxyServiceMessageReceiver.java:166)
>> at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:180)
>> at
>> org.apache.synapse.transport.passthru.ServerWorker.processEntityEnclosingRequest(ServerWorker.java:411)
>> at
>> org.apache.synapse.transport.passthru.ServerWorker.run(ServerWorker.java:183)
>> at
>> org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:172)
>> at
>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>> at
>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>> at java.lang.Thread.run(Thread.java:745)
>>
>> Also when building the sample there was a build error and I had to update
>> the pom file as below to get it build.
>>
>> diff --git a/googlespreadsheet/2.0.0/pom.xml
>> b/googlespreadsheet/2.0.0/pom.xml
>> index ba5e188..65af017 100644
>> --- a/googlespreadsheet/2.0.0/pom.xml
>> +++ b/googlespreadsheet/2.0.0/pom.xml
>> @@ -29,7 +29,7 @@
>> 
>> org.apache.synapse
>> synapse-core
>> -   2.1.3-wso2v1-SNAPSHOT
>> +   2.1.3-wso2v1
>> 
>> 
>> com.google.gdata
>>
>> Best regards,
>> Amal.
>>
>>
>> On Mon, Jun 1, 2015 at 4:51 PM, Naasheer Ali  wrote:
>>
>>> Hi Amal,
>>>
>>> We have implemented the google spreadsheet connector with OAuth2
>>> support. You can find the connector here[1].
>>>
>>> [1] -
>>> https://github.com/wso2/esb-connectors/tree/master/googlespreadsheet/2.0.0
>>>
>>> Regards,
>>> --
>>>
>>> *Naasheer Ali* | Associate Software Engineer
>>>
>>> WSO2, Inc |#20, Palm Grove, Colombo 03, Sri Lanka
>>>
>>> Email: naashe...@wso2.com
>>>
>>> On Mon, Jun 1, 2015 at 4:32 PM, Rajith Vitharana 
>>> wrote:
>>>
 Hi,

 Similar issue occurred in DSS as well. It seems google may have changed
 there authentication mechanism. According to [2],[3],[4] google stopped
 supporting Oauth 1.0 and that may be the case for this issue. Public

Re: [Dev] Clarification on "Require re-subscription functionality"

2015-06-01 Thread Nirdesha Munasinghe
Hi Sewmini,

Please note that I changed the doc as described in the JIRA. Added the
following note:
"*If unchecked**, all users who are subscribed to the older version of the
API will be automatically subscribed to the new version. If not, they need
to subscribe to the new version again.*"

The JIRA is now closed.

I'm still not sure how it will be handled if there are multiple older
versions to an API and someone leaves this unchecked when creating a new
version. Will be great if someone can clarify that.

Thanks,
-Nirdesha

On Thu, May 21, 2015 at 11:36 AM, Nirdesha Munasinghe 
wrote:

> I also raised a JIRA as the 'deprecate old versions' and 'require
> re-subscription' options don't show when we try to publish a prototyped API
> version (with old versions) using the LIfecycle tab:
> https://wso2.org/jira/browse/APIMANAGER-3624.
>
> Thanks,
> -Nirdesha
>
> On Thu, May 21, 2015 at 11:13 AM, Nirdesha Munasinghe 
> wrote:
>
>> Hi,
>>
>> If we do not click this option, does it mean that the users who
>> subscribed to the old version do not have to subscribe to the new one
>> again? If that is the case, can someone please explain how to document it
>> if there are multiple old versions (say v1 and v2) with different user
>> subscriptions each. Do all of them get subscribed to v3 automatically?
>>
>> Thanks,
>> -Nirdesha
>>
>> On Wed, May 20, 2015 at 11:08 AM, Sewmini Jayaweera 
>> wrote:
>>
>>> Hi,
>>>
>>> In API manager documentation [1] Require Re-Subscription functionality
>>> is being described as "Invalidates current user subscriptions, forcing the
>>> users to subscribe again."
>>>
>>> In the product When user publish a new version given 'Require
>>> re-subscription' option doesn't invalidates original API subscriptions.
>>>
>>> There is a mismatch between the functionality and the documentation. I
>>> have already reported a documentation jira [2]
>>>
>>>  Will you please confirm that the functionality is correct.
>>>
>>> [1]
>>> https://docs.wso2.com/display/AM190/Publish+the+new+Version+and+Deprecate+the+old
>>> [2] https://wso2.org/jira/browse/DOCUMENTATION-1742
>>>
>>> Thanks & Regards,
>>> Sewmini
>>>
>>> Sewmini Jayaweera
>>> *Software Engineer - QA Team*
>>> Mobile: +94 (0) 773 381 250
>>> sewm...@wso2.com
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "WSO2 Documentation" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to documentation+unsubscr...@wso2.com.
>>> For more options, visit https://groups.google.com/a/wso2.com/d/optout.
>>>
>>
>>
>>
>> --
>>
>> Thanks,
>>
>> Nirdesha Munasinghe,
>> WSO2 Inc.
>> Web:http://wso2.com
>>
>> Mobile: +94 776321920
>>
>
>
>
> --
>
> Thanks,
>
> Nirdesha Munasinghe,
> WSO2 Inc.
> Web:http://wso2.com
>
> Mobile: +94 776321920
>



-- 

Thanks,

Nirdesha Munasinghe,
WSO2 Inc.
Web:http://wso2.com

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


Re: [Dev] ESB Google Spreadsheet connector issue

2015-06-01 Thread Keerthika Mahendralingam
Hi Amal,
I think you have tried with init method. Could you please try
with oAuth2init method.

  {'oauth.consumerKey'}
  {'oauth.oauthConsumerSecret'}
  {'oauth.accessToken'}

{'oauth.accessTokenSecret'}



Thanks,

On Mon, Jun 1, 2015 at 10:09 PM, Naasheer Ali  wrote:

> Hi Amal,
>
> I can not reproduce the issue, GSS connector builds perfectly and able to
> create worksheet as well.
>
>
> Regards,
> --
>
> *Naasheer Ali* | Associate Software Engineer
>
> WSO2, Inc |#20, Palm Grove, Colombo 03, Sri Lanka
>
> Email: naashe...@wso2.com
>
> On Mon, Jun 1, 2015 at 7:38 PM, Malaka Silva  wrote:
>
>> Connector Team,
>>
>> Can anyone of you check this please. Also we should have both versions or
>> latest in the store.
>>
>> On Mon, Jun 1, 2015 at 5:39 PM, Amal Gunatilake  wrote:
>>
>>> Hi Nasheer,
>>>
>>> Thank you for the link.
>>> I built the code and deployed the latest google spreadsheet connector
>>> (2.0.0). But I still face the same issue.
>>>
>>> I get the following error.
>>>
>>> [2015-06-01 17:34:52,756] ERROR - *GoogleSpreadsheetCreateWorksheet
>>> Error occured Error authenticating (check service name)*
>>> com.google.gdata.util.AuthenticationException: Error authenticating
>>> (check service name)
>>> at
>>> com.google.gdata.client.GoogleAuthTokenFactory.getAuthException(GoogleAuthTokenFactory.java:688)
>>> at
>>> com.google.gdata.client.GoogleAuthTokenFactory.getAuthToken(GoogleAuthTokenFactory.java:560)
>>> at
>>> com.google.gdata.client.GoogleAuthTokenFactory.setUserCredentials(GoogleAuthTokenFactory.java:397)
>>> at
>>> com.google.gdata.client.GoogleService.setUserCredentials(GoogleService.java:364)
>>> at
>>> com.google.gdata.client.GoogleService.setUserCredentials(GoogleService.java:319)
>>> at
>>> com.google.gdata.client.GoogleService.setUserCredentials(GoogleService.java:303)
>>> at
>>> org.wso2.carbon.connector.googlespreadsheet.GoogleSpreadsheetAuthentication.login(GoogleSpreadsheetAuthentication.java:59)
>>> at
>>> org.wso2.carbon.connector.googlespreadsheet.GoogleSpreadsheetClientLoader.loadSpreadsheetService(GoogleSpreadsheetClientLoader.java:53)
>>> at
>>> org.wso2.carbon.connector.googlespreadsheet.GoogleSpreadsheetGetAllSpreadsheets.connect(GoogleSpreadsheetGetAllSpreadsheets.java:46)
>>> at
>>> org.wso2.carbon.connector.core.AbstractConnector.mediate(AbstractConnector.java:32)
>>> at
>>> org.apache.synapse.mediators.ext.ClassMediator.mediate(ClassMediator.java:78)
>>> at
>>> org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:77)
>>> at
>>> org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:47)
>>> at
>>> org.apache.synapse.mediators.template.TemplateMediator.mediate(TemplateMediator.java:77)
>>> at
>>> org.apache.synapse.mediators.template.InvokeMediator.mediate(InvokeMediator.java:129)
>>> at
>>> org.apache.synapse.mediators.template.InvokeMediator.mediate(InvokeMediator.java:78)
>>> at
>>> org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:77)
>>> at
>>> org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:47)
>>> at
>>> org.apache.synapse.mediators.base.SequenceMediator.mediate(SequenceMediator.java:131)
>>> at
>>> org.apache.synapse.core.axis2.ProxyServiceMessageReceiver.receive(ProxyServiceMessageReceiver.java:166)
>>> at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:180)
>>> at
>>> org.apache.synapse.transport.passthru.ServerWorker.processEntityEnclosingRequest(ServerWorker.java:411)
>>> at
>>> org.apache.synapse.transport.passthru.ServerWorker.run(ServerWorker.java:183)
>>> at
>>> org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:172)
>>> at
>>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>>> at
>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>>> at java.lang.Thread.run(Thread.java:745)
>>>
>>> Also when building the sample there was a build error and I had to
>>> update the pom file as below to get it build.
>>>
>>> diff --git a/googlespreadsheet/2.0.0/pom.xml
>>> b/googlespreadsheet/2.0.0/pom.xml
>>> index ba5e188..65af017 100644
>>> --- a/googlespreadsheet/2.0.0/pom.xml
>>> +++ b/googlespreadsheet/2.0.0/pom.xml
>>> @@ -29,7 +29,7 @@
>>> 
>>> org.apache.synapse
>>> synapse-core
>>> -   2.1.3-wso2v1-SNAPSHOT
>>> +   2.1.3-wso2v1
>>> 
>>> 
>>> com.google.gdata
>>>
>>> Best regards,
>>> Amal.
>>>
>>>
>>> On Mon, Jun 1, 2015 at 4:51 PM, Naasheer Ali  wrote:
>>>
 Hi Amal,

 We have implemented the google spreadsheet connector with OAuth2
 support. You can find the connector here[1].

 [1] -
 https://github.com/wso2/esb-connectors/tree/master/googlespreadsheet/2.0.0

 Regards,
 --

 *Naasheer Ali* | Associate Software Engineer
>

Re: [Dev] ESB Google Spreadsheet connector issue

2015-06-01 Thread Madhawa Gunasekara
Hi Amal,

According to the log trace, the issue is occurring at
"com.google.gdata.client" package, which is outdated one (Older Google Data
(GData) API) [1]. Google recommends to migrate to their new Google APIs
Client Library for Java [2]. That might be the issue. because according to
the release notes [1] supports OAuth 2.0 as well.

I think, we have to migrate to the new Google APIs Client Library to solve
this issue

[1] https://github.com/google/gdata-java-client
[2] https://github.com/google/google-api-java-client

Thanks,
Madhawa

On Tue, Jun 2, 2015 at 12:17 AM, Keerthika Mahendralingam <
keerth...@wso2.com> wrote:

> Hi Amal,
> I think you have tried with init method. Could you please try
> with oAuth2init method.
> 
>   {'oauth.consumerKey'}
>   {'oauth.oauthConsumerSecret'}
>   {'oauth.accessToken'}
>
> {'oauth.accessTokenSecret'}
>
> 
>
> Thanks,
>
> On Mon, Jun 1, 2015 at 10:09 PM, Naasheer Ali  wrote:
>
>> Hi Amal,
>>
>> I can not reproduce the issue, GSS connector builds perfectly and able to
>> create worksheet as well.
>>
>>
>> Regards,
>> --
>>
>> *Naasheer Ali* | Associate Software Engineer
>>
>> WSO2, Inc |#20, Palm Grove, Colombo 03, Sri Lanka
>>
>> Email: naashe...@wso2.com
>>
>> On Mon, Jun 1, 2015 at 7:38 PM, Malaka Silva  wrote:
>>
>>> Connector Team,
>>>
>>> Can anyone of you check this please. Also we should have both versions
>>> or latest in the store.
>>>
>>> On Mon, Jun 1, 2015 at 5:39 PM, Amal Gunatilake  wrote:
>>>
 Hi Nasheer,

 Thank you for the link.
 I built the code and deployed the latest google spreadsheet connector
 (2.0.0). But I still face the same issue.

 I get the following error.

 [2015-06-01 17:34:52,756] ERROR - *GoogleSpreadsheetCreateWorksheet
 Error occured Error authenticating (check service name)*
 com.google.gdata.util.AuthenticationException: Error authenticating
 (check service name)
 at
 com.google.gdata.client.GoogleAuthTokenFactory.getAuthException(GoogleAuthTokenFactory.java:688)
 at
 com.google.gdata.client.GoogleAuthTokenFactory.getAuthToken(GoogleAuthTokenFactory.java:560)
 at
 com.google.gdata.client.GoogleAuthTokenFactory.setUserCredentials(GoogleAuthTokenFactory.java:397)
 at
 com.google.gdata.client.GoogleService.setUserCredentials(GoogleService.java:364)
 at
 com.google.gdata.client.GoogleService.setUserCredentials(GoogleService.java:319)
 at
 com.google.gdata.client.GoogleService.setUserCredentials(GoogleService.java:303)
 at
 org.wso2.carbon.connector.googlespreadsheet.GoogleSpreadsheetAuthentication.login(GoogleSpreadsheetAuthentication.java:59)
 at
 org.wso2.carbon.connector.googlespreadsheet.GoogleSpreadsheetClientLoader.loadSpreadsheetService(GoogleSpreadsheetClientLoader.java:53)
 at
 org.wso2.carbon.connector.googlespreadsheet.GoogleSpreadsheetGetAllSpreadsheets.connect(GoogleSpreadsheetGetAllSpreadsheets.java:46)
 at
 org.wso2.carbon.connector.core.AbstractConnector.mediate(AbstractConnector.java:32)
 at
 org.apache.synapse.mediators.ext.ClassMediator.mediate(ClassMediator.java:78)
 at
 org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:77)
 at
 org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:47)
 at
 org.apache.synapse.mediators.template.TemplateMediator.mediate(TemplateMediator.java:77)
 at
 org.apache.synapse.mediators.template.InvokeMediator.mediate(InvokeMediator.java:129)
 at
 org.apache.synapse.mediators.template.InvokeMediator.mediate(InvokeMediator.java:78)
 at
 org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:77)
 at
 org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:47)
 at
 org.apache.synapse.mediators.base.SequenceMediator.mediate(SequenceMediator.java:131)
 at
 org.apache.synapse.core.axis2.ProxyServiceMessageReceiver.receive(ProxyServiceMessageReceiver.java:166)
 at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:180)
 at
 org.apache.synapse.transport.passthru.ServerWorker.processEntityEnclosingRequest(ServerWorker.java:411)
 at
 org.apache.synapse.transport.passthru.ServerWorker.run(ServerWorker.java:183)
 at
 org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:172)
 at
 java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
 at
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
 at java.lang.Thread.run(Thread.java:745)

 Also when building the sample there was a build error and I had to
 update the pom file as below to get it build.

 diff --git a/googlespreadsheet/2.0.0/pom.xml
 b/googlespreadsheet/2.0.0/pom.xml
 index ba5e188..65af017 100644
 --- a/googlespreadsheet/2.0.0/pom.xml
 +++ b/goog

Re: [Dev] ESB Google Spreadsheet connector issue

2015-06-01 Thread Vanjikumaran Sivajothy
On Tuesday, June 2, 2015, Madhawa Gunasekara  wrote:

> Hi Amal,
>
> According to the log trace, the issue is occurring at
> "com.google.gdata.client" package, which is outdated one (Older Google Data
> (GData) API) [1]. Google recommends to migrate to their new Google APIs
> Client Library for Java [2]. That might be the issue. because according to
> the release notes [1] supports OAuth 2.0 as well.
>

In that case how does this work for nasheer



> I think, we have to migrate to the new Google APIs Client Library to solve
> this issue
>
> [1] https://github.com/google/gdata-java-client
> [2] https://github.com/google/google-api-java-client
>
> Thanks,
> Madhawa
>
> On Tue, Jun 2, 2015 at 12:17 AM, Keerthika Mahendralingam <
> keerth...@wso2.com >
> wrote:
>
>> Hi Amal,
>> I think you have tried with init method. Could you please try
>> with oAuth2init method.
>> 
>>   {'oauth.consumerKey'}
>>   {'oauth.oauthConsumerSecret'}
>> 
>>   {'oauth.accessToken'}
>>
>> {'oauth.accessTokenSecret'}
>>
>> 
>>
>> Thanks,
>>
>> On Mon, Jun 1, 2015 at 10:09 PM, Naasheer Ali > > wrote:
>>
>>> Hi Amal,
>>>
>>> I can not reproduce the issue, GSS connector builds perfectly and able
>>> to create worksheet as well.
>>>
>>>
>>> Regards,
>>> --
>>>
>>> *Naasheer Ali* | Associate Software Engineer
>>>
>>> WSO2, Inc |#20, Palm Grove, Colombo 03, Sri Lanka
>>>
>>> Email: naashe...@wso2.com
>>> 
>>>
>>> On Mon, Jun 1, 2015 at 7:38 PM, Malaka Silva >> > wrote:
>>>
 Connector Team,

 Can anyone of you check this please. Also we should have both versions
 or latest in the store.

 On Mon, Jun 1, 2015 at 5:39 PM, Amal Gunatilake >>> > wrote:

> Hi Nasheer,
>
> Thank you for the link.
> I built the code and deployed the latest google spreadsheet connector
> (2.0.0). But I still face the same issue.
>
> I get the following error.
>
> [2015-06-01 17:34:52,756] ERROR - *GoogleSpreadsheetCreateWorksheet
> Error occured Error authenticating (check service name)*
> com.google.gdata.util.AuthenticationException: Error authenticating
> (check service name)
> at
> com.google.gdata.client.GoogleAuthTokenFactory.getAuthException(GoogleAuthTokenFactory.java:688)
> at
> com.google.gdata.client.GoogleAuthTokenFactory.getAuthToken(GoogleAuthTokenFactory.java:560)
> at
> com.google.gdata.client.GoogleAuthTokenFactory.setUserCredentials(GoogleAuthTokenFactory.java:397)
> at
> com.google.gdata.client.GoogleService.setUserCredentials(GoogleService.java:364)
> at
> com.google.gdata.client.GoogleService.setUserCredentials(GoogleService.java:319)
> at
> com.google.gdata.client.GoogleService.setUserCredentials(GoogleService.java:303)
> at
> org.wso2.carbon.connector.googlespreadsheet.GoogleSpreadsheetAuthentication.login(GoogleSpreadsheetAuthentication.java:59)
> at
> org.wso2.carbon.connector.googlespreadsheet.GoogleSpreadsheetClientLoader.loadSpreadsheetService(GoogleSpreadsheetClientLoader.java:53)
> at
> org.wso2.carbon.connector.googlespreadsheet.GoogleSpreadsheetGetAllSpreadsheets.connect(GoogleSpreadsheetGetAllSpreadsheets.java:46)
> at
> org.wso2.carbon.connector.core.AbstractConnector.mediate(AbstractConnector.java:32)
> at
> org.apache.synapse.mediators.ext.ClassMediator.mediate(ClassMediator.java:78)
> at
> org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:77)
> at
> org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:47)
> at
> org.apache.synapse.mediators.template.TemplateMediator.mediate(TemplateMediator.java:77)
> at
> org.apache.synapse.mediators.template.InvokeMediator.mediate(InvokeMediator.java:129)
> at
> org.apache.synapse.mediators.template.InvokeMediator.mediate(InvokeMediator.java:78)
> at
> org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:77)
> at
> org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:47)
> at
> org.apache.synapse.mediators.base.SequenceMediator.mediate(SequenceMediator.java:131)
> at
> org.apache.synapse.core.axis2.ProxyServiceMessageReceiver.receive(ProxyServiceMessageReceiver.java:166)
> at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:180)
> at
> org.apache.synapse.transport.passthru.ServerWorker.processEntityEnclosingRequest(ServerWorker.java:411)
> at
> org.apache.synapse.transport.passthru.ServerWorker.run(ServerWorker.java:183)
> at
> org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:172)
> at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> at java.lang.Thread.run(Thread.java:745)
>
> Also when building the sample there was

Re: [Dev] Writing to a database in WSO2 Synapse

2015-06-01 Thread Chanaka Sampath Cooray
Hi Nirmal,

I will check that.

Thanks,

On Mon, Jun 1, 2015 at 9:27 AM, Nirmal Fernando  wrote:

> Have a look at Synapse db mediators;
> https://github.com/wso2/wso2-synapse/tree/master/modules/core/src/main/java/org/apache/synapse/mediators/db
>
> On Mon, Jun 1, 2015 at 9:22 AM, Chanaka Sampath Cooray <
> chanakasampat...@gmail.com> wrote:
>
>> Hi all,
>>
>> I want to write some information to a database in wso2 synapse level and
>> retrieve that information to a carbon component in carbon mediation. Can
>> you suggest me a way of doing that or give me some example code or
>> reference for that please?
>>
>> Thanks,
>> --
>> *Chanaka Sampath Cooray*
>> Undergraduate  | Department of Computer Science and
>> Engineering,University of Moratuwa
>> Mobile: +94 71 361 4884
>> E-Mail: chanakasampat...@gmail.com
>> Linked-In: https://lk.linkedin.com/pub/chanaka-sampath/65/221/102
>> 
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
>
> Thanks & regards,
> Nirmal
>
> Associate Technical Lead - Data Technologies Team, WSO2 Inc.
> Mobile: +94715779733
> Blog: http://nirmalfdo.blogspot.com/
>
>
>


-- 
*Chanaka Sampath Cooray*
Undergraduate  | Department of Computer Science and Engineering,University
of Moratuwa
Mobile: +94 71 361 4884
E-Mail: chanakasampat...@gmail.com
Linked-In: https://lk.linkedin.com/pub/chanaka-sampath/65/221/102

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


Re: [Dev] ESB Google Spreadsheet connector issue

2015-06-01 Thread Naasheer Ali
Hi Amal,

+1 for keerthika,
Use oAuth2init method instead of init.

Regards,
-- 

*Naasheer Ali* | Associate Software Engineer

WSO2, Inc |#20, Palm Grove, Colombo 03, Sri Lanka

Email: naashe...@wso2.com

On Tue, Jun 2, 2015 at 8:40 AM, Vanjikumaran Sivajothy 
wrote:

>
>
> On Tuesday, June 2, 2015, Madhawa Gunasekara  wrote:
>
>> Hi Amal,
>>
>> According to the log trace, the issue is occurring at
>> "com.google.gdata.client" package, which is outdated one (Older Google Data
>> (GData) API) [1]. Google recommends to migrate to their new Google APIs
>> Client Library for Java [2]. That might be the issue. because according to
>> the release notes [1] supports OAuth 2.0 as well.
>>
>
> In that case how does this work for nasheer
>
>
>
>> I think, we have to migrate to the new Google APIs Client Library to
>> solve this issue
>>
>> [1] https://github.com/google/gdata-java-client
>> [2] https://github.com/google/google-api-java-client
>>
>> Thanks,
>> Madhawa
>>
>> On Tue, Jun 2, 2015 at 12:17 AM, Keerthika Mahendralingam <
>> keerth...@wso2.com> wrote:
>>
>>> Hi Amal,
>>> I think you have tried with init method. Could you please try
>>> with oAuth2init method.
>>> 
>>>   {'oauth.consumerKey'}
>>>   {'oauth.oauthConsumerSecret'}
>>> 
>>>   {'oauth.accessToken'}
>>>
>>> {'oauth.accessTokenSecret'}
>>>
>>> 
>>>
>>> Thanks,
>>>
>>> On Mon, Jun 1, 2015 at 10:09 PM, Naasheer Ali 
>>> wrote:
>>>
 Hi Amal,

 I can not reproduce the issue, GSS connector builds perfectly and able
 to create worksheet as well.


 Regards,
 --

 *Naasheer Ali* | Associate Software Engineer

 WSO2, Inc |#20, Palm Grove, Colombo 03, Sri Lanka

 Email: naashe...@wso2.com

 On Mon, Jun 1, 2015 at 7:38 PM, Malaka Silva  wrote:

> Connector Team,
>
> Can anyone of you check this please. Also we should have both versions
> or latest in the store.
>
> On Mon, Jun 1, 2015 at 5:39 PM, Amal Gunatilake 
> wrote:
>
>> Hi Nasheer,
>>
>> Thank you for the link.
>> I built the code and deployed the latest google spreadsheet connector
>> (2.0.0). But I still face the same issue.
>>
>> I get the following error.
>>
>> [2015-06-01 17:34:52,756] ERROR - *GoogleSpreadsheetCreateWorksheet
>> Error occured Error authenticating (check service name)*
>> com.google.gdata.util.AuthenticationException: Error authenticating
>> (check service name)
>> at
>> com.google.gdata.client.GoogleAuthTokenFactory.getAuthException(GoogleAuthTokenFactory.java:688)
>> at
>> com.google.gdata.client.GoogleAuthTokenFactory.getAuthToken(GoogleAuthTokenFactory.java:560)
>> at
>> com.google.gdata.client.GoogleAuthTokenFactory.setUserCredentials(GoogleAuthTokenFactory.java:397)
>> at
>> com.google.gdata.client.GoogleService.setUserCredentials(GoogleService.java:364)
>> at
>> com.google.gdata.client.GoogleService.setUserCredentials(GoogleService.java:319)
>> at
>> com.google.gdata.client.GoogleService.setUserCredentials(GoogleService.java:303)
>> at
>> org.wso2.carbon.connector.googlespreadsheet.GoogleSpreadsheetAuthentication.login(GoogleSpreadsheetAuthentication.java:59)
>> at
>> org.wso2.carbon.connector.googlespreadsheet.GoogleSpreadsheetClientLoader.loadSpreadsheetService(GoogleSpreadsheetClientLoader.java:53)
>> at
>> org.wso2.carbon.connector.googlespreadsheet.GoogleSpreadsheetGetAllSpreadsheets.connect(GoogleSpreadsheetGetAllSpreadsheets.java:46)
>> at
>> org.wso2.carbon.connector.core.AbstractConnector.mediate(AbstractConnector.java:32)
>> at
>> org.apache.synapse.mediators.ext.ClassMediator.mediate(ClassMediator.java:78)
>> at
>> org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:77)
>> at
>> org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:47)
>> at
>> org.apache.synapse.mediators.template.TemplateMediator.mediate(TemplateMediator.java:77)
>> at
>> org.apache.synapse.mediators.template.InvokeMediator.mediate(InvokeMediator.java:129)
>> at
>> org.apache.synapse.mediators.template.InvokeMediator.mediate(InvokeMediator.java:78)
>> at
>> org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:77)
>> at
>> org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:47)
>> at
>> org.apache.synapse.mediators.base.SequenceMediator.mediate(SequenceMediator.java:131)
>> at
>> org.apache.synapse.core.axis2.ProxyServiceMessageReceiver.receive(ProxyServiceMessageReceiver.java:166)
>> at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:180)
>> at
>> org.apache.synapse.transport.passthru.ServerWorker.processEntityEnclosingRequest(ServerWorker.java:411)
>> at
>> org.apache.synapse.transport.passthru.ServerWorker.run(ServerWorker.java:183)
>>

Re: [Dev] [ML] Study on the DL4J library

2015-06-01 Thread Nirmal Fernando
Thanks Thushan! +1 for 0.0.3.3

On Tue, Jun 2, 2015 at 11:21 AM, Thushan Ganegedara 
wrote:

> Dear all,
>
> Please find the results of the study conducted on DL4J library attached.
> As the conclusion, it seems version 0.0.3.3 (latest stable release) is the
> best option
>
> Thank you
>
> --
> Regards,
>
> Thushan Ganegedara
> School of IT
> University of Sydney, Australia
>



-- 

Thanks & regards,
Nirmal

Associate Technical Lead - Data Technologies Team, WSO2 Inc.
Mobile: +94715779733
Blog: http://nirmalfdo.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev