[Dev] Issue with datasource in wso2ei 6.4.0 Error in secure load of data source meta info: An error occurred while decrypting data.

2018-11-28 Thread Jorge
)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:861)
at
org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
at
org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
at
org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:819)
at
org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:771)
at
org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:130)
at
org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:214)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:433)
at
org.wso2.carbon.user.core.internal.Activator.startDeploy(Activator.java:73)
at
org.wso2.carbon.user.core.internal.BundleCheckActivator.start(BundleCheckActivator.java:61)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:711)
at java.security.AccessController.doPrivileged(Native Method)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:702)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:683)
at
org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:381)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:390)
at
org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1176)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:559)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:544)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:457)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:243)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:438)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:1)
at
org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
at
org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)
Caused by: org.wso2.carbon.ndatasource.common.DataSourceException: Error in
secure load of data source meta info: An error occurred while decrypting
data.
at
org.wso2.carbon.ndatasource.core.utils.DataSourceUtils.secureResolveDocument(DataSourceUtils.java:244)
at
org.wso2.carbon.ndatasource.core.DataSourceRepository.getDataSourceMetaInfoFromRegistryPath(DataSourceRepository.java:421)
at
org.wso2.carbon.ndatasource.core.DataSourceRepository.updateDataSource(DataSourceRepository.java:164)
... 63 more
Caused by: org.wso2.carbon.core.util.CryptoException: An error occurred
while decrypting data.
at org.wso2.carbon.core.util.CryptoUtil.decrypt(CryptoUtil.java:265)
at
org.wso2.carbon.core.util.CryptoUtil.base64DecodeAndDecrypt(CryptoUtil.java:329)
at
org.wso2.carbon.ndatasource.core.utils.DataSourceUtils.secureLoadElement(DataSourceUtils.java:197)
at
org.wso2.carbon.ndatasource.core.utils.DataSourceUtils.secureLoadElement(DataSourceUtils.java:210)
at
org.wso2.carbon.ndatasource.core.utils.DataSourceUtils.secureLoadElement(DataSourceUtils.java:210)
at
org.wso2.carbon.ndatasource.core.utils.DataSourceUtils.secureLoadElement(DataSourceUtils.java:210)
at
org.wso2.carbon.ndatasource.core.utils.DataSourceUtils.secureResolveDocument(DataSourceUtils.java:242)
... 65 more
Caused by: org.wso2.carbon.core.util.CryptoException: A crypto service
implementation has not been registered.
at org.wso2.carbon.core.util.CryptoUtil.decrypt(CryptoUtil.java:231)
... 71 more


Any idea?


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


[Dev] Issue generating an API using a SOAP data service: Cannot read property "paramList" from undefined

2018-11-22 Thread Jorge
t
org.wso2.carbon.tomcat.ext.valves.CarbonTomcatValve$1.invoke(CarbonTomcatValve.java:47)
at
org.wso2.carbon.webapp.mgt.TenantLazyLoaderValve.invoke(TenantLazyLoaderValve.java:57)
at
org.wso2.carbon.event.receiver.core.internal.tenantmgt.TenantLazyLoaderValve.invoke(TenantLazyLoaderValve.java:48)
at
org.wso2.carbon.tomcat.ext.valves.TomcatValveContainer.invokeValves(TomcatValveContainer.java:47)
at
org.wso2.carbon.tomcat.ext.valves.CompositeValve.invoke(CompositeValve.java:62)
at
org.wso2.carbon.tomcat.ext.valves.CarbonStuckThreadDetectionValve.invoke(CarbonStuckThreadDetectionValve.java:159)
at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:962)
at
org.wso2.carbon.tomcat.ext.valves.CarbonContextCreatorValve.invoke(CarbonContextCreatorValve.java:57)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:445)
at
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1115)
at
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:637)
at
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1775)
at
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1734)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at
org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:745)

I tried with  http://ws.cdyne.com/phoneverify/phoneverify.asmx?wsdl and it
worked OK so it's something related to the dataservice generated with EI

Any idea?

Regards,
    Jorge.


[1] https://docs.wso2.com/display/AM250/Generate+REST+API+from+SOAP+Backend
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Issue running a wso2IS fresh build

2018-11-22 Thread Jorge
Hi folks, any solution for this issue?

Regards,
Jorge.

El mar., 16 oct. 2018 a las 10:35, Jorge () escribió:

> Hi all.
>
> I build from sources  the wso2is 5.7.0 and when I try to start in windows
> 8.1 with:
> java -version
> java version "1.8.0_121"
> Java(TM) SE Runtime Environment (build 1.8.0_121-b13)
> Java HotSpot(TM) 64-Bit Server VM (build 25.121-b13, mixed mode)
>
>
> With this error:
>
> [2018-10-16 00:34:40,745]  INFO
> {org.wso2.carbon.humantask.deployer.HumanTaskDeployer} -  Initializing
> HumanTask Deployer for tenant -1234.
> [2018-10-16 00:35:04,207] FATAL
> {org.wso2.carbon.core.init.CarbonServerManager} -  WSO2 Carbon
> initialization Failed
> org.apache.axiom.om.OMException: com.ctc.wstx.exc.WstxIOException: Invalid
> UTF-8 middle byte 0x3f (at char #2621, byte #-1)
> at
> org.apache.axiom.om.impl.builder.StAXOMBuilder.next(StAXOMBuilder.java:296)
> at
> org.apache.axiom.om.impl.llom.OMDocumentImpl.getOMDocumentElement(OMDocumentImpl.java:109)
> at
> org.apache.axiom.om.impl.builder.StAXOMBuilder.getDocumentElement(StAXOMBuilder.java:570)
> at
> org.apache.axiom.om.impl.builder.StAXOMBuilder.getDocumentElement(StAXOMBuilder.java:566)
> at org.apache.axis2.util.XMLUtils.toOM(XMLUtils.java:592)
> at org.apache.axis2.util.XMLUtils.toOM(XMLUtils.java:575)
> at
> org.apache.axis2.deployment.DescriptionBuilder.buildOM(DescriptionBuilder.java:97)
> at
> org.apache.axis2.deployment.AxisConfigBuilder.populateConfig(AxisConfigBuilder.java:91)
> at
> org.apache.axis2.deployment.DeploymentEngine.populateAxisConfiguration(DeploymentEngine.java:887)
> at
> org.apache.axis2.deployment.FileSystemConfigurator.getAxisConfiguration(FileSystemConfigurator.java:116)
> at
> org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:64)
> at
> org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContextFromFileSystem(ConfigurationContextFactory.java:210)
> at
> org.wso2.carbon.core.init.CarbonServerManager.getClientConfigurationContext(CarbonServerManager.java:573)
> at
> org.wso2.carbon.core.init.CarbonServerManager.initializeCarbon(CarbonServerManager.java:458)
> at
> org.wso2.carbon.core.init.CarbonServerManager.removePendingItem(CarbonServerManager.java:291)
> at
> org.wso2.carbon.core.init.PreAxis2ConfigItemListener.bundleChanged(PreAxis2ConfigItemListener.java:118)
> at
> org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:847)
> at
> org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
> at
> org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)
> Caused by: com.ctc.wstx.exc.WstxIOException: Invalid UTF-8 middle byte
> 0x3f (at char #2621, byte #-1)
> at
> com.ctc.wstx.sr.StreamScanner.constructFromIOE(StreamScanner.java:625)
> at com.ctc.wstx.sr.StreamScanner.loadMore(StreamScanner.java:997)
> at com.ctc.wstx.sr.StreamScanner.getNext(StreamScanner.java:754)
> at
> com.ctc.wstx.sr.BasicStreamReader.nextFromProlog(BasicStreamReader.java:2000)
> at
> com.ctc.wstx.sr.BasicStreamReader.next(BasicStreamReader.java:1134)
> at
> org.apache.axiom.om.impl.builder.StAXOMBuilder.parserNext(StAXOMBuilder.java:681)
> at
> org.apache.axiom.om.impl.builder.StAXOMBuilder.next(StAXOMBuilder.java:214)
> ... 18 more
> Caused by: java.io.CharConversionException: Invalid UTF-8 middle byte 0x3f
> (at char #2621, byte #-1)
> at
> com.ctc.wstx.io.UTF8Reader.reportInvalidOther(UTF8Reader.java:314)
> at com.ctc.wstx.io.UTF8Reader.read(UTF8Reader.java:212)
> at com.ctc.wstx.io.ReaderSource.readInto(ReaderSource.java:87)
> at
> com.ctc.wstx.io.BranchingReaderSource.readInto(BranchingReaderSource.java:57)
> at com.ctc.wstx.sr.StreamScanner.loadMore(StreamScanner.java:991)
> ... 23 more
>
>
> I check  [1], [2] and [3] and -Dfile.encoding=UTF8  is by default.
>
> [1]
> https://stackoverflow.com/questions/47921787/wso2-carbon-initialization-failed-fatal-error
> [2] https://bugs.openjdk.java.net/browse/JDK-8189789
> [3] http://mail.wso2.org/mailarchive/dev/2017-December/075320.html
>
> Also in catalina-server.xml I set compression="off" in both connectors
> with the same results..
>
> Any idea?
>
> Regards,
>  Jorge.
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] About product documentation offline in PDF

2018-11-07 Thread Jorge
Hi Nisrin, could you fix this issue?
Regards,
Jorge.

El mié., 17 oct. 2018 a las 23:21, Nisrin Sheriff ()
escribió:

> Hi Jorge,
>
> There seems to be a glitch with regard to downloading the entire
> documentation in PDF at the moment. We are looking into this and will make
> the PDF available as a download as soon as possible.
>
> Thank you.
>
> Best Regards,
> Nisrin
>
>
> On Wed, Oct 17, 2018 at 1:38 AM Jorge  wrote:
>
>> Hi all.
>> I can see the option "Export to PDF" but before I can download the entire
>> documentation with the child pages. Now I just can download the current
>> page.
>> How can I download the entire documentation?
>>
>> Regards,
>> Jorge.
>>
>> El lun., 15 oct. 2018 a las 20:29, Omindu Rathnaweera ()
>> escribió:
>> >
>> > Adding documentation team.
>> >
>> > On Sun, Oct 14, 2018 at 4:28 PM Jorge  wrote:
>> >>
>> >> Hi all.
>> >> How can I download the documentation in PDF format using this link:
>> https://docs.wso2.com/display/IS570/ .
>> >>
>> >> In previous versions I can, now I don´t see the option.
>> >>
>> >> Regards,
>> >> Jorge.
>> >> ___
>> >> Dev mailing list
>> >> Dev@wso2.org
>> >> http://wso2.org/cgi-bin/mailman/listinfo/dev
>> >
>> >
>> >
>> > --
>> > Omindu Rathnaweera
>> > Senior Software Engineer, WSO2 Inc.
>>
>>>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] About product documentation offline in PDF

2018-10-16 Thread Jorge
Hi all.
I can see the option "Export to PDF" but before I can download the entire
documentation with the child pages. Now I just can download the current
page.
How can I download the entire documentation?

Regards,
    Jorge.

El lun., 15 oct. 2018 a las 20:29, Omindu Rathnaweera ()
escribió:
>
> Adding documentation team.
>
> On Sun, Oct 14, 2018 at 4:28 PM Jorge  wrote:
>>
>> Hi all.
>> How can I download the documentation in PDF format using this link:
https://docs.wso2.com/display/IS570/ .
>>
>> In previous versions I can, now I don´t see the option.
>>
>> Regards,
>> Jorge.
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>
>
> --
> Omindu Rathnaweera
> Senior Software Engineer, WSO2 Inc.

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


[Dev] Issue running a wso2IS fresh build

2018-10-16 Thread Jorge
Hi all.

I build from sources  the wso2is 5.7.0 and when I try to start in windows
8.1 with:
java -version
java version "1.8.0_121"
Java(TM) SE Runtime Environment (build 1.8.0_121-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.121-b13, mixed mode)


With this error:

[2018-10-16 00:34:40,745]  INFO
{org.wso2.carbon.humantask.deployer.HumanTaskDeployer} -  Initializing
HumanTask Deployer for tenant -1234.
[2018-10-16 00:35:04,207] FATAL
{org.wso2.carbon.core.init.CarbonServerManager} -  WSO2 Carbon
initialization Failed
org.apache.axiom.om.OMException: com.ctc.wstx.exc.WstxIOException: Invalid
UTF-8 middle byte 0x3f (at char #2621, byte #-1)
at
org.apache.axiom.om.impl.builder.StAXOMBuilder.next(StAXOMBuilder.java:296)
at
org.apache.axiom.om.impl.llom.OMDocumentImpl.getOMDocumentElement(OMDocumentImpl.java:109)
at
org.apache.axiom.om.impl.builder.StAXOMBuilder.getDocumentElement(StAXOMBuilder.java:570)
at
org.apache.axiom.om.impl.builder.StAXOMBuilder.getDocumentElement(StAXOMBuilder.java:566)
at org.apache.axis2.util.XMLUtils.toOM(XMLUtils.java:592)
at org.apache.axis2.util.XMLUtils.toOM(XMLUtils.java:575)
at
org.apache.axis2.deployment.DescriptionBuilder.buildOM(DescriptionBuilder.java:97)
at
org.apache.axis2.deployment.AxisConfigBuilder.populateConfig(AxisConfigBuilder.java:91)
at
org.apache.axis2.deployment.DeploymentEngine.populateAxisConfiguration(DeploymentEngine.java:887)
at
org.apache.axis2.deployment.FileSystemConfigurator.getAxisConfiguration(FileSystemConfigurator.java:116)
at
org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:64)
at
org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContextFromFileSystem(ConfigurationContextFactory.java:210)
at
org.wso2.carbon.core.init.CarbonServerManager.getClientConfigurationContext(CarbonServerManager.java:573)
at
org.wso2.carbon.core.init.CarbonServerManager.initializeCarbon(CarbonServerManager.java:458)
at
org.wso2.carbon.core.init.CarbonServerManager.removePendingItem(CarbonServerManager.java:291)
at
org.wso2.carbon.core.init.PreAxis2ConfigItemListener.bundleChanged(PreAxis2ConfigItemListener.java:118)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:847)
at
org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
at
org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)
Caused by: com.ctc.wstx.exc.WstxIOException: Invalid UTF-8 middle byte 0x3f
(at char #2621, byte #-1)
at
com.ctc.wstx.sr.StreamScanner.constructFromIOE(StreamScanner.java:625)
at com.ctc.wstx.sr.StreamScanner.loadMore(StreamScanner.java:997)
at com.ctc.wstx.sr.StreamScanner.getNext(StreamScanner.java:754)
at
com.ctc.wstx.sr.BasicStreamReader.nextFromProlog(BasicStreamReader.java:2000)
at
com.ctc.wstx.sr.BasicStreamReader.next(BasicStreamReader.java:1134)
at
org.apache.axiom.om.impl.builder.StAXOMBuilder.parserNext(StAXOMBuilder.java:681)
at
org.apache.axiom.om.impl.builder.StAXOMBuilder.next(StAXOMBuilder.java:214)
... 18 more
Caused by: java.io.CharConversionException: Invalid UTF-8 middle byte 0x3f
(at char #2621, byte #-1)
at
com.ctc.wstx.io.UTF8Reader.reportInvalidOther(UTF8Reader.java:314)
at com.ctc.wstx.io.UTF8Reader.read(UTF8Reader.java:212)
at com.ctc.wstx.io.ReaderSource.readInto(ReaderSource.java:87)
at
com.ctc.wstx.io.BranchingReaderSource.readInto(BranchingReaderSource.java:57)
at com.ctc.wstx.sr.StreamScanner.loadMore(StreamScanner.java:991)
... 23 more


I check  [1], [2] and [3] and -Dfile.encoding=UTF8  is by default.

[1]
https://stackoverflow.com/questions/47921787/wso2-carbon-initialization-failed-fatal-error
[2] https://bugs.openjdk.java.net/browse/JDK-8189789
[3] http://mail.wso2.org/mailarchive/dev/2017-December/075320.html

Also in catalina-server.xml I set compression="off" in both connectors with
the same results..

Any idea?

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


[Dev] About product documentation offline in PDF

2018-10-14 Thread Jorge
Hi all.
How can I download the documentation in PDF format using this link:
https://docs.wso2.com/display/IS570/ .

In previous versions I can, now I don´t see the option.

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


Re: [Dev] Custom captcha with WSO2 Identity Server

2018-10-04 Thread Jorge
Thanks a lot for the info.
Regards,
Jorge.

El jue., 4 oct. 2018 a las 11:49, Thanuja Jayasinghe ()
escribió:

> Hi Jorge,
>
> Identity Server only supports reCaptcha in the password recovery flow. But
> you can implement CaptchaConnector[1] interface and have a custom captcha
> which does not require an internet connection. You can refer [2] which is
> the reCaptcha implementation for password recovery flow.
>
> [1]
> https://github.com/wso2-extensions/identity-governance/blob/master/components/org.wso2.carbon.identity.captcha/src/main/java/org/wso2/carbon/identity/captcha/connector/CaptchaConnector.java
> [2]
> https://github.com/wso2-extensions/identity-governance/blob/master/components/org.wso2.carbon.identity.captcha/src/main/java/org/wso2/carbon/identity/captcha/connector/recaptcha/PasswordRecoveryReCaptchaConnector.java
> [3]
> https://github.com/wso2-extensions/identity-governance/blob/master/components/org.wso2.carbon.identity.captcha/src/main/java/org/wso2/carbon/identity/captcha/internal/CaptchaComponent.java#L90
>
> Thanks,
> Thanuja
>
> On Thu, Oct 4, 2018 at 9:01 PM Farasath Ahamed  wrote:
>
>>
>>
>> On Wed, Oct 3, 2018 at 7:52 PM Jorge  wrote:
>>
>>> Hi all.
>>>
>>> Can I use an offline captcha with WSO2 Identity Server if my servers
>>> cannot connect to the internet? In the password recovery process I see that
>>> IS use re-captcha, which requires access to google servers.
>>>
>>> Regards,
>>>Jorge.
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>
>>
>> --
>> Farasath Ahamed
>> Senior Software Engineer, WSO2 Inc.; http://wso2.com
>> Mobile: +94777603866
>> Blog: blog.farazath.com
>> Twitter: @farazath619 <https://twitter.com/farazath619>
>> <http://wso2.com/signature>
>>
>>
>>
>>
>
> --
> *Thanuja Lakmal*
> Associate Technical Lead
> WSO2 Inc. http://wso2.com/
> *lean.enterprise.middleware*
> Mobile: +94715979891
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Custom captcha with WSO2 Identity Server

2018-10-03 Thread Jorge
Hi all.

Can I use an offline captcha with WSO2 Identity Server if my servers cannot
connect to the internet? In the password recovery process I see that IS use
re-captcha, which requires access to google servers.

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


[Dev] Issue with An X509 certificate with version 1

2018-09-06 Thread Jorge
Hi all.

I need to call a backend service secured with signonly, it´s a thirdparty
service.
The certificate that they send me it´s V1 and when I used it with SOAPUI or
a java client it work just fine...The request XML contain this part:




CN=2323434,OU=test,O=test,L=test,ST=test,C=CU
11718339280033114430




And I can get a sucessfull response.



But If I use the WSO2 EI with an endpoint with the signonly policy with
this InitiatorToken:

   

http://schemas.xmlsoap.org/ws/2005/07/securitypolicy/IncludeToken/Never;>








I get this error:
An unsupported token was provided (An X509 certificate with version 3 must
be used for SKI. The presented cert has version: 1)

If I change the certificate with another one but V3, I can see the request
with the ds:X509IssuerSerial tag but with errors in the response because
the signature verification  fail in the server side.

Any idea about how can I solve this issue?

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


Re: [Dev] Problem with IE6 using WS-SecurityPolicy

2018-09-06 Thread Jorge
Hi Bernanrd,
can you try to change the InitiatorToken:



http://schemas.xmlsoap.org/ws/2005/07/securitypolicy/IncludeToken/Never;>









In my case it work.


Regards,
   Jorge

El lun., 14 may. 2018 a las 5:03, Bernard Paris ()
escribió:

> Hi devs,
>
> We need to useWS-SecurityPolicy with x509Token to query a ws, so we
> defined an address endpoint with policy, something like
> https://remote.server;>
> 
> 
> 
>
> Here is the initiatorToken part of the policy file I defined in the policy
> file:
>
> 
>  
>   http://schemas.xmlsoap.org/ws/2005/07/securitypolicy;>
>
> 
>  
>   http://schemas.xmlsoap.org/ws/2005/07/securitypolicy/IncludeToken/AlwaysToRecipient;>
>
>
> 
> 
>
>   
>  
> 
>
> …. expecting I will got some "ds:X509Data" datas in the SOAP header to
> send, something like
>
> 
>  wsu:Id="STR-EAF95CB2EABEB3293D13643957589981128">
> 
> 
>
> CN=WSJanusTEST_BULL001
> 1243600900
>
>
> Unfortunately the only thing I get is
>
> 
> http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd;
> wsu:Id="STRId-171B34AA705833EBA0152628551959218">
>  URI="#CertId-171B34AA705833EBA0152628551959116" ValueType="
> http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3
> "/>
> 
> 
>
>
> Could you tell me where I'm wrong ?
> Here are the related carbon logs:
> [2018-05-14 10:44:27,520] [EI-Core] DEBUG - WSDoAllSender WSDoAllSender:
> enter invoke()
> [2018-05-14 10:44:27,520] [EI-Core] DEBUG - AsymmetricBindingBuilder
> AsymmetricBindingBuilder build invoked
> [2018-05-14 10:44:27,520] [EI-Core] DEBUG - BindingBuilder Processing
> symmetric binding: Setting up encryption token and signature token
> [2018-05-14 10:44:27,520] [EI-Core] DEBUG - BindingBuilder Obtaining the
> Encryption Token
> [2018-05-14 10:44:27,521] [EI-Core] DEBUG - BindingBuilder Token
> inclusion: 3
> [2018-05-14 10:44:27,521] [EI-Core] DEBUG - BindingBuilder User : CertEcole
> [2018-05-14 10:44:27,521] [EI-Core] DEBUG - RampartUtil loading class :
> be.ucl.sgsi.sisg.bp.PWCBHandler
> [2018-05-14 10:44:27,521] [EI-Core] DEBUG - BindingBuilder Password :
> aSecret
> [2018-05-14 10:44:27,521] [EI-Core] DEBUG - RampartUtil Loading Signature
> crypto
> [2018-05-14 10:44:27,521] [EI-Core] DEBUG - RampartUtil Using provider:
> org.apache.ws.security.components.crypto.Merlin
> [2018-05-14 10:44:27,521] [EI-Core] DEBUG - RampartUtil Cache Hit : Crypto
> Object was found in cache.
> [2018-05-14 10:44:27,527] [EI-Core] DEBUG - AsymmetricBindingBuilder
> AsymmetricBindingBuilder build invoked : DONE
>
>
>
>
> Thanks for any help,
> Bernard
>
> ___
> 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] Issue with EI 6.1.1 update 22 and 24.

2018-03-14 Thread Jorge
Thanks Madhawa.

It will be available in the update 25?

Regards,
   Jorge.

2018-03-14 14:35 GMT-04:00 Madhawa Gunasekara <madha...@wso2.com>:

> Hi Jorge,
>
> We have fixed this regression issue, It will be available in upcoming
> release.
>
> Thanks,
> Madhawa
>
> On Mar 14, 2018 11:16 PM, "Jorge" <isildur...@gmail.com> wrote:
>
>> Hi all.
>>
>> If I have a data service with a resources like this one:
>>
>> 
>> 
>> 
>> 
>> 
>>
>>
>> When I call it I get this error:
>>
>> TID: [-1234] [] [2018-03-12 00:01:13,570] ERROR {
>> org.apache.axis2.json.gson.GsonXMLStreamReader} -  Value type miss
>> match, Expected value type - 'null', but found - 'STRING' {
>> org.apache.axis2.json.gson.GsonXMLStreamReader}
>> TID: [-1234] [] [2018-03-12 00:01:13,584] ERROR
>> {org.apache.synapse.transport.passthru.ServerWorker} -  Error processing
>> POST request for : /services/DataAccountService/insertClient. Error
>> detail: Value type miss match, Expected value type - 'null', but found -
>> 'STRING'.  {org.apache.synapse.transport.passthru.ServerWorker}
>> java.lang.IllegalArgumentException: Value type miss match, Expected
>> value type - 'null', but found - 'STRING'
>> at org.apache.axis2.json.gson.GsonXMLStreamReader.nextValue(Gso
>> nXMLStreamReader.java:737)
>> at org.apache.axis2.json.gson.GsonXMLStreamReader.readValue(Gso
>> nXMLStreamReader.java:626)
>> at org.apache.axis2.json.gson.GsonXMLStreamReader.stateTransiti
>> on(GsonXMLStreamReader.java:532)
>> at org.apache.axis2.json.gson.GsonXMLStreamReader.next(GsonXMLS
>> treamReader.java:178)
>> at org.apache.axiom.om.impl.builder.StAXOMBuilder.parserNext(
>> StAXOMBuilder.java:681)
>> at org.apache.axiom.om.impl.builder.StAXOMBuilder.next(StAXOMBu
>> ilder.java:214)
>> at org.apache.axiom.om.impl.llom.OMSerializableImpl.build(OMSer
>> ializableImpl.java:78)
>> at org.apache.axiom.om.impl.llom.OMElementImpl.build(OMElementI
>> mpl.java:722)
>> at org.apache.axiom.om.impl.llom.OMElementImpl.detach(OMElement
>> Impl.java:700)
>> at org.apache.axiom.om.impl.llom.OMNodeImpl.setParent(OMNodeImp
>> l.java:105)
>> at org.apache.axiom.om.impl.llom.OMElementImpl.addChild(OMEleme
>> ntImpl.java:296)
>> at org.apache.axiom.om.impl.llom.OMElementImpl.addChild(OMEleme
>> ntImpl.java:212)
>> at org.apache.axiom.soap.impl.llom.SOAPBodyImpl.addChild(SOAPBo
>> dyImpl.java:231)
>> at org.apache.axis2.json.gson.JSONMessageHandler.invoke(JSONMes
>> sageHandler.java:84)
>> at org.apache.axis2.engine.Phase.invokeHandler(Phase.java:340)
>> at org.apache.axis2.engine.Phase.invoke(Phase.java:313)
>> at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:261)
>> at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:167)
>> at org.apache.synapse.transport.passthru.ServerWorker.processNo
>> nEntityEnclosingRESTHandler(ServerWorker.java:331)
>> at org.apache.synapse.transport.passthru.ServerWorker.processEn
>> tityEnclosingRequest(ServerWorker.java:377)
>> at org.apache.synapse.transport.passthru.ServerWorker.run(Serve
>> rWorker.java:149)
>> at org.apache.axis2.transport.base.threads.NativeWorkerPool$1.
>> run(NativeWorkerPool.java:172)
>> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPool
>> Executor.java:1142)
>> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoo
>> lExecutor.java:617)
>> at java.lang.Thread.run(Thread.java:745)
>>
>> The same dataservice work fine with DSS 3.5.1 and with the first EI 6.1.1.
>>
>> Any idea?
>>
>> Regards,
>> Jorge.
>>
>>
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Issue with EI 6.1.1 update 22 and 24.

2018-03-14 Thread Jorge
Hi all.

If I have a data service with a resources like this one:








When I call it I get this error:

TID: [-1234] [] [2018-03-12 00:01:13,570] ERROR
{org.apache.axis2.json.gson.GsonXMLStreamReader} -  Value type miss match,
Expected value type - 'null', but found - 'STRING'
{org.apache.axis2.json.gson.GsonXMLStreamReader}
TID: [-1234] [] [2018-03-12 00:01:13,584] ERROR
{org.apache.synapse.transport.passthru.ServerWorker} -  Error processing
POST request for : /services/DataAccountService/insertClient. Error detail:
Value type miss match, Expected value type - 'null', but found - 'STRING'.
{org.apache.synapse.transport.passthru.ServerWorker}
java.lang.IllegalArgumentException: Value type miss match, Expected value
type - 'null', but found - 'STRING'
at
org.apache.axis2.json.gson.GsonXMLStreamReader.nextValue(GsonXMLStreamReader.java:737)
at
org.apache.axis2.json.gson.GsonXMLStreamReader.readValue(GsonXMLStreamReader.java:626)
at
org.apache.axis2.json.gson.GsonXMLStreamReader.stateTransition(GsonXMLStreamReader.java:532)
at
org.apache.axis2.json.gson.GsonXMLStreamReader.next(GsonXMLStreamReader.java:178)
at
org.apache.axiom.om.impl.builder.StAXOMBuilder.parserNext(StAXOMBuilder.java:681)
at
org.apache.axiom.om.impl.builder.StAXOMBuilder.next(StAXOMBuilder.java:214)
at
org.apache.axiom.om.impl.llom.OMSerializableImpl.build(OMSerializableImpl.java:78)
at org.apache.axiom.om.impl.llom.OMElementImpl.build(OMElementImpl.java:722)
at
org.apache.axiom.om.impl.llom.OMElementImpl.detach(OMElementImpl.java:700)
at org.apache.axiom.om.impl.llom.OMNodeImpl.setParent(OMNodeImpl.java:105)
at
org.apache.axiom.om.impl.llom.OMElementImpl.addChild(OMElementImpl.java:296)
at
org.apache.axiom.om.impl.llom.OMElementImpl.addChild(OMElementImpl.java:212)
at
org.apache.axiom.soap.impl.llom.SOAPBodyImpl.addChild(SOAPBodyImpl.java:231)
at
org.apache.axis2.json.gson.JSONMessageHandler.invoke(JSONMessageHandler.java:84)
at org.apache.axis2.engine.Phase.invokeHandler(Phase.java:340)
at org.apache.axis2.engine.Phase.invoke(Phase.java:313)
at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:261)
at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:167)
at
org.apache.synapse.transport.passthru.ServerWorker.processNonEntityEnclosingRESTHandler(ServerWorker.java:331)
at
org.apache.synapse.transport.passthru.ServerWorker.processEntityEnclosingRequest(ServerWorker.java:377)
at
org.apache.synapse.transport.passthru.ServerWorker.run(ServerWorker.java:149)
at
org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:172)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

The same dataservice work fine with DSS 3.5.1 and with the first EI 6.1.1.

Any idea?

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


[Dev] Short in tablechart in DAS 3.1.0

2018-01-04 Thread Jorge
Hi folks, any idea about this issue:

https://stackoverflow.com/questions/47226269/analytics-dashboards-sort-tablechart


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


[Dev] Issue with DAS 3.1.0 and gadget from SQL query

2017-12-27 Thread Jorge
Hi all.

I just created a gadget with this query:
SELECT Location AS pais, COUNT(Location) AS cantidad FROM twxcountryv2
GROUP BY(pais) ORDER BY cantidad DESC LIMIT 10

issue #1: with LIMIT in the query the gadget does´nt work. In DAS console I
can see this error:
WARN {org.jaggeryjs.hostobjects.db.DatabaseHostObject} -
com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: You have an
error in your SQL syntax; check the manual that corresponds to your MySQL
server version for the right syntax to use near 'limit 1' at line 1
{org.jaggeryjs.hostobjects.db.DatabaseHostObject}


issue #2: after modified the rdbms-provider-api.js,  I changed this line:
var selectQueryResult = getData(providerConfig, 1);
by this one:
var selectQueryResult = getData(providerConfig);

The gadget is working now  but with Y column in the wrong order and not
starting in 0 value.

Any idea about this issues??


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


Re: [Dev] [DEV] How to generate an invoice based on the usage of commercial APIs

2017-12-02 Thread Jorge
Hi Sashika,
in part that´s my issue. But I modified some jaggery files and I can pass
the ON HOLD state after re subscribe to the application...check this link
[1]

Regards,
   Jorge.

[1] ] https://wso2.org/jira/browse/APIMANAGER-6015
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [DEV] How to generate an invoice based on the usage of commercial APIs

2017-11-30 Thread Jorge
Hi Sashika.
I found several issues related with the sample billing in WSO2 AM 2.1.0,
checkout this issue [1]

Try with the tag am-2.1.0 suggested by Rukshan.

In my scenario it work for users previous created in the billing systema.
For the new users I need to re subscribe to the application inside the
store.

Regards,
Jorge.

[1] https://wso2.org/jira/browse/APIMANAGER-6015




2017-11-29 6:38 GMT-05:00 Sashika Wijesinghe <sash...@wso2.com>:

> Hi Rukshan,
>
> Thanks for the quick response. I have used the billing engine version
> linked in the APIM documentation (1.2.0).
>
> Further, I have tried with the artefacts you shared in [1] but still
> getting the same issue even after manually executing all the available
> analytics scripts.
>
> Attached the tomcat logs and application logs.
>
> Thanks
> Sashika
>
>
> [1] https://github.com/ruks/wso2-am-billing-engine/releases/tag/am-2.1.0
>
> On Wed, Nov 29, 2017 at 2:39 PM, Rukshan Premathunga <ruks...@wso2.com>
> wrote:
>
>> Hi Sashika,
>>
>> Which billing engine version did you check? Can you check on the
>> following[1] if not already. *invoice* table is empty because invoice
>> generation is failed. Also in the billing capp, it take time to generate
>> summary tables and please wait bit longer or execute the script manually to
>> generate data. If you observed this again, can you please attached the full
>> log as well?
>>
>> [1] https://github.com/ruks/wso2-am-billing-engine/releases/tag/am-2.1.0
>>
>> Thanks and Regards
>>
>> On Wed, Nov 29, 2017 at 2:14 PM, Sashika Wijesinghe <sash...@wso2.com>
>> wrote:
>>
>>> Hi All,
>>>
>>> I have tried to generate an invoice for the monetized APIs as documented
>>> in [1].
>>>
>>> When I select the 'invoice' tab in the sample billing engine to generate
>>> the invoices observed the following error from the billing engine deployed
>>> in tomcat server.
>>>
>>> *HTTP Status 500 - Request processing failed; nested exception is
>>> org.springframework.webflow.execution.ActionExecutionException: Exception
>>> thrown executing [AnnotatedAction@3fa06082 targetAction =
>>> [EvaluateAction@274d6a91 expression = invoiceService.createInvoice(user),
>>> resultExpression = viewScope.invoice], attributes = map[[empty]]] in state
>>> 'invoiceHome' of flow 'account' -- action execution attributes were
>>> 'map[[empty]]'*
>>>
>>> After verifying the 'billing' database observed that there are
>>> no records in the "*invoice*" table.  However, as per the API
>>> statistics, there are 20 API calls for that particular API.
>>>
>>> May I know how to solve this issue?
>>>
>>>
>>> [1] https://docs.wso2.com/display/AM210/Enabling+Monetization+of+APIs
>>>
>>>
>>> --
>>>
>>> *Sashika WijesingheSoftware Engineer - QA Team*
>>> Mobile : +94 (0) 774537487
>>> sash...@wso2.com
>>>
>>
>>
>>
>> --
>> Rukshan Chathuranga.
>> Software Engineer.
>> WSO2, Inc.
>> +94711822074 <+94%2071%20182%202074>
>>
>
>
>
> --
>
> *Sashika WijesingheSoftware Engineer - QA Team*
> Mobile : +94 (0) 774537487
> sash...@wso2.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] Issues with API Monetization in WSO2 APIM 2.1.0

2017-11-14 Thread Jorge
Hi Rukshan, thanks for answer.

I tried before with that repo and it worked fine with maven dependency:

org.wso2.carbon.apimgt
org.wso2.carbon.apimgt.impl
6.0.4


Still, remain problem 2 with the jaggery files:
In jaggery I see this call:
result = store.resumeWorkflow(workflowReference, status, description);

but in org.wso2.carbon.apimgt.hostobjects jar I have this method:
  public static NativeObject jsFunction_resumeWorkflow(Context cx,
Scriptable thisObj, Object[] args, Function funObj)
throws ScriptException, WorkflowException




Another question, my scenario work when the user exists inside the billing
DB, but when the user does not exist I get redirected to the billing
system, I can register my user and I get redirected again to the apim
store, but I don´t see  the completed method called asynchronous


Regards,
Jorge

2017-11-13 22:08 GMT-05:00 Rukshan Premathunga <ruks...@wso2.com>:

> Hi Jorge,
>
> Did you able to check with branch [1] and AM 2.1.0? Or you experience this
> issue when you did so? Initially  branch [1] released after tested with AM
> 2.0.0. If you faced any issues with AM 2.1.0, can you please attached the
> logs? Will check this further for AM 2.1.0.
>
> [1] https://github.com/chamilaadhi/wso2-am-billing-engine/tree/am-2.0
>
> Thanks and Regards
>
> On Tue, Nov 14, 2017 at 1:00 AM, Jorge <isildur...@gmail.com> wrote:
>
>> Hi all.
>>
>> Recently I followed this guide[1] for enable api monetizaction in WSO2
>> APIM 2.1.0 with severals errors.
>>
>> 1. The code with the workflow and the billing engine point out to[2] with
>> version 1.10. This code use this maven dependency [3] with a issue related
>> with the org.wso2.carbon.apimgt.impl_6.1.66.jar inside WSO2 APIM 2.1.0.
>> I found a more updated version in [4]
>>
>> In version 5.0.3 you create apiMgtDAO  object with this line:
>>
>> ApiMgtDAO apiMgtDAO = new ApiMgtDAO();
>>
>> In version 6.1.66 with this another line:
>>
>> ApiMgtDAO apiMgtDAO = ApiMgtDAO.getInstance();
>>
>> 2. Inside the jaggery api store webapp I found a issue with the module
>> workflow in the function resumeWorkflow. Inside this function it try to
>> call this java method:
>>
>> result = store.resumeWorkflow(workflowReference, status, description);
>>
>> but inside the org.wso2.carbon.apimgt.hostobjects_6.1.66 jar file the
>> method get called with the followings parameters:
>>
>> public static void jsFunction_loadRegistryOfTenant(Context cx,
>> Scriptable thisObj, Object[] args, Function funObj)
>>
>> In any case, inside this file: /site/blocks/workflow/workflow
>> -listener/ajax/workflow-listener.jag I cannot get a response from this
>> invocation:
>>
>> result = mod.resumeWorkflow(workflowReference, status, description);
>>
>> Always = empty so:
>>
>> if (result.error) = false
>>
>> response.status = result.statusCode; // with errors..
>>
>> Any help or idea?
>>
>>
>>
>> Regards,
>>Jorge.
>>
>>
>> References:
>> [1] https://docs.wso2.com/display/AM210/Enabling+Monetization+of+APIs
>>
>> [2] https://docs.wso2.com/download/attachments/76743427/wso2-am-
>> billing-engine-am-1.10.zip?version=1=150
>> 9625739000=v2
>>
>> [3] 
>> org.wso2.carbon.apimgt
>> org.wso2.carbon.apimgt.impl
>> 5.0.3
>> 
>>
>> [4] https://github.com/chamilaadhi/wso2-am-billing-engine
>>
>>
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Rukshan Chathuranga.
> Software Engineer.
> WSO2, Inc.
> +94711822074
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Issue with XACML policy in wso2is-km-5.3..0

2017-11-13 Thread Jorge
Thanks Omindu. It work. But just for case I switch to WSO2 IS 5.3.0 until
the bug it's fixed

Regards,
   Jorge.

2017-11-06 17:33 GMT-05:00 Omindu Rathnaweera <omi...@wso2.com>:

> Hi Jorge,
>
> Can you try setting the following property to false in
> repository/conf/identity/entitlement.properties file.
>
> PDP.SchemaValidation.Enable=false
>
> The issue is due to IS and IS-KM using different implementations for
> schema validation and it is already tracked under [1]. Note that setting
> the above config will disable schema validation at policy creation. If you
> are concerned about policy validation, you can create the policy in an IS
> instance and upload it to IS-KM using the policy uploader.
>
> [1] - https://wso2.org/jira/browse/IDENTITY-3482
>
> Reards,
> Omindu
>
> On Mon, Nov 6, 2017 at 1:52 PM, Jorge <isildur...@gmail.com> wrote:
>
>> Hi all.
>>
>> I´m using  wso2is-km-5.3.0 to integrate IS as a key manager with WSO2 AM
>> 2.1.0 and also I want to create some XACML policies to ESB proxies in WSO2
>> Enterprise Integrator.
>>
>> If I use the Simple Policy Editor for a simple policy I get errors like
>> this:
>>
>> [2017-11-06 16:17:42,332] ERROR 
>> {org.wso2.carbon.identity.entitlement.EntitlementUtil}
>> -  XACML policy is not valid according to the schema
>> :cvc-complex-type.2.4.a: Invalid content was
>>  found starting with element 'Target'. One of
>> '{"urn:oasis:names:tc:xacml:3.0:core:schema:wd-17":Description,
>> "urn:oasis:names:tc:xacml:3.0:core:schema:wd-17":PolicyIssuer,
>> "urn:oasis:
>> names:tc:xacml:3.0:core:schema:wd-17":PolicyDefaults,
>> "urn:oasis:names:tc:xacml:3.0:core:schema:wd-17":Target}' is expected.
>>
>> [2017-11-06 16:24:09,688] ERROR 
>> {org.wso2.carbon.identity.entitlement.EntitlementUtil}
>> -  XACML policy is not valid according to the schema
>> :cvc-complex-type.2.4.a: Invalid content was
>>  found starting with element 'Description'. One of
>> '{"urn:oasis:names:tc:xacml:3.0:core:schema:wd-17":Description,
>> "urn:oasis:names:tc:xacml:3.0:core:schema:wd-17":PolicyIssuer, "urn:o
>> asis:names:tc:xacml:3.0:core:schema:wd-17":PolicyDefaults,
>> "urn:oasis:names:tc:xacml:3.0:core:schema:wd-17":Target}' is expected.
>>
>> [2017-11-06 16:30:50,896] ERROR 
>> {org.wso2.carbon.identity.entitlement.EntitlementUtil}
>> -  XACML policy is not valid according to the schema
>> :cvc-complex-type.2.4.a: Invalid content was
>>  found starting with element 'Target'. One of
>> '{"urn:oasis:names:tc:xacml:3.0:core:schema:wd-17":Description,
>> "urn:oasis:names:tc:xacml:3.0:core:schema:wd-17":PolicyIssuer,
>> "urn:oasis:
>> names:tc:xacml:3.0:core:schema:wd-17":PolicyDefaults,
>> "urn:oasis:names:tc:xacml:3.0:core:schema:wd-17":Target}' is expected.
>>
>> [2017-11-06 16:34:55,077] ERROR 
>> {org.wso2.carbon.identity.entitlement.EntitlementUtil}
>> -  XACML policy is not valid according to the schema
>> :cvc-complex-type.2.4.a: Invalid content was
>>  found starting with element 'Target'. One of
>> '{"urn:oasis:names:tc:xacml:3.0:core:schema:wd-17":Description,
>> "urn:oasis:names:tc:xacml:3.0:core:schema:wd-17":PolicyIssuer,
>> "urn:oasis:
>> names:tc:xacml:3.0:core:schema:wd-17":PolicyDefaults,
>> "urn:oasis:names:tc:xacml:3.0:core:schema:wd-17":Target}' is expected.
>>
>> [2017-11-06 16:37:04,133] ERROR 
>> {org.wso2.carbon.identity.entitlement.EntitlementUtil}
>> -  XACML policy is not valid according to the schema
>> :cvc-complex-type.2.4.a: Invalid content was
>>  found starting with element 'Target'. One of
>> '{"urn:oasis:names:tc:xacml:3.0:core:schema:wd-17":Description,
>> "urn:oasis:names:tc:xacml:3.0:core:schema:wd-17":PolicyIssuer,
>> "urn:oasis:
>> names:tc:xacml:3.0:core:schema:wd-17":PolicyDefaults,
>> "urn:oasis:names:tc:xacml:3.0:core:schema:wd-17":Target}' is expected.
>>
>>
>> If I use the wso2is-5.3.0 for the same policy, all work OK...
>>
>>
>> Any idea why?
>>
>> Regards,
>> Jorge.
>>
>>
>> Sample policy:
>>
>> > PolicyId="AccesoAdmin" RuleCombiningAlgId="urn:oasis:
>> names:tc:xacml:1.0:rule-combining-algorithm:first-applicable"
>> Version="1.0">
>>
>>   
>>  
>> 
>>http://www

[Dev] Issues with API Monetization in WSO2 APIM 2.1.0

2017-11-13 Thread Jorge
Hi all.

Recently I followed this guide[1] for enable api monetizaction in WSO2 APIM
2.1.0 with severals errors.

1. The code with the workflow and the billing engine point out to[2] with
version 1.10. This code use this maven dependency [3] with a issue related
with the org.wso2.carbon.apimgt.impl_6.1.66.jar inside WSO2 APIM 2.1.0. I
found a more updated version in [4]

In version 5.0.3 you create apiMgtDAO  object with this line:

ApiMgtDAO apiMgtDAO = new ApiMgtDAO();

In version 6.1.66 with this another line:

ApiMgtDAO apiMgtDAO = ApiMgtDAO.getInstance();

2. Inside the jaggery api store webapp I found a issue with the module
workflow in the function resumeWorkflow. Inside this function it try to
call this java method:

result = store.resumeWorkflow(workflowReference, status, description);

but inside the org.wso2.carbon.apimgt.hostobjects_6.1.66 jar file the
method get called with the followings parameters:

public static void jsFunction_loadRegistryOfTenant(Context cx, Scriptable
thisObj, Object[] args, Function funObj)

In any case, inside this file:
/site/blocks/workflow/workflow-listener/ajax/workflow-listener.jag I cannot
get a response from this invocation:

result = mod.resumeWorkflow(workflowReference, status, description);

Always = empty so:

if (result.error) = false

response.status = result.statusCode; // with errors..

Any help or idea?



Regards,
   Jorge.


References:
[1] https://docs.wso2.com/display/AM210/Enabling+Monetization+of+APIs

[2]
https://docs.wso2.com/download/attachments/76743427/wso2-am-billing-engine-am-1.10.zip?version=1=1509625739000=v2

[3] 
org.wso2.carbon.apimgt
org.wso2.carbon.apimgt.impl
5.0.3


[4] https://github.com/chamilaadhi/wso2-am-billing-engine
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Issue with XACML policy in wso2is-km-5.3..0

2017-11-06 Thread Jorge
Hi all.

I´m using  wso2is-km-5.3.0 to integrate IS as a key manager with WSO2 AM
2.1.0 and also I want to create some XACML policies to ESB proxies in WSO2
Enterprise Integrator.

If I use the Simple Policy Editor for a simple policy I get errors like
this:

[2017-11-06 16:17:42,332] ERROR
{org.wso2.carbon.identity.entitlement.EntitlementUtil} -  XACML policy is
not valid according to the schema :cvc-complex-type.2.4.a: Invalid content
was
 found starting with element 'Target'. One of
'{"urn:oasis:names:tc:xacml:3.0:core:schema:wd-17":Description,
"urn:oasis:names:tc:xacml:3.0:core:schema:wd-17":PolicyIssuer, "urn:oasis:
names:tc:xacml:3.0:core:schema:wd-17":PolicyDefaults,
"urn:oasis:names:tc:xacml:3.0:core:schema:wd-17":Target}' is expected.

[2017-11-06 16:24:09,688] ERROR
{org.wso2.carbon.identity.entitlement.EntitlementUtil} -  XACML policy is
not valid according to the schema :cvc-complex-type.2.4.a: Invalid content
was
 found starting with element 'Description'. One of
'{"urn:oasis:names:tc:xacml:3.0:core:schema:wd-17":Description,
"urn:oasis:names:tc:xacml:3.0:core:schema:wd-17":PolicyIssuer, "urn:o
asis:names:tc:xacml:3.0:core:schema:wd-17":PolicyDefaults,
"urn:oasis:names:tc:xacml:3.0:core:schema:wd-17":Target}' is expected.

[2017-11-06 16:30:50,896] ERROR
{org.wso2.carbon.identity.entitlement.EntitlementUtil} -  XACML policy is
not valid according to the schema :cvc-complex-type.2.4.a: Invalid content
was
 found starting with element 'Target'. One of
'{"urn:oasis:names:tc:xacml:3.0:core:schema:wd-17":Description,
"urn:oasis:names:tc:xacml:3.0:core:schema:wd-17":PolicyIssuer, "urn:oasis:
names:tc:xacml:3.0:core:schema:wd-17":PolicyDefaults,
"urn:oasis:names:tc:xacml:3.0:core:schema:wd-17":Target}' is expected.

[2017-11-06 16:34:55,077] ERROR
{org.wso2.carbon.identity.entitlement.EntitlementUtil} -  XACML policy is
not valid according to the schema :cvc-complex-type.2.4.a: Invalid content
was
 found starting with element 'Target'. One of
'{"urn:oasis:names:tc:xacml:3.0:core:schema:wd-17":Description,
"urn:oasis:names:tc:xacml:3.0:core:schema:wd-17":PolicyIssuer, "urn:oasis:
names:tc:xacml:3.0:core:schema:wd-17":PolicyDefaults,
"urn:oasis:names:tc:xacml:3.0:core:schema:wd-17":Target}' is expected.

[2017-11-06 16:37:04,133] ERROR
{org.wso2.carbon.identity.entitlement.EntitlementUtil} -  XACML policy is
not valid according to the schema :cvc-complex-type.2.4.a: Invalid content
was
 found starting with element 'Target'. One of
'{"urn:oasis:names:tc:xacml:3.0:core:schema:wd-17":Description,
"urn:oasis:names:tc:xacml:3.0:core:schema:wd-17":PolicyIssuer, "urn:oasis:
names:tc:xacml:3.0:core:schema:wd-17":PolicyDefaults,
"urn:oasis:names:tc:xacml:3.0:core:schema:wd-17":Target}' is expected.


If I use the wso2is-5.3.0 for the same policy, all work OK...


Any idea why?

Regards,
Jorge.


Sample policy:


   
  
 

   http://www.w3.org/2001/XMLSchema#string;>
https://WorkSoftDevelop:8245/services/getUserDataPS
   http://www.w3.org/2001/XMLSchema#string; MustBePresent="true"/>

 
  
   
   
  
 

   
  http://www.w3.org/2001/XMLSchema#string;>read
  http://www.w3.org/2001/XMLSchema#string; MustBePresent="true"/>
   

 
  
  
 

http://www.w3.org/2001/XMLSchema#string;>admin
http://wso2.org/claims/role;
Category="urn:oasis:names:tc:xacml:1.0:subject-category:access-subject"
DataType="http://www.w3.org/2001/XMLSchema#string; MustBePresent="true"/>
 
  
   
   
  
 

   
  http://www.w3.org/2001/XMLSchema#string;>read
  http://www.w3.org/2001/XMLSchema#string; MustBePresent="true"/>
   

 
  
  
 

http://www.w3.org/2001/XMLSchema#string;>admin
http://www.w3.org/2001/XMLSchema#string; MustBePresent="true"/>
 
  
   
   

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


Re: [Dev] Error while running sample STS client

2017-05-04 Thread Jorge
Hi Mukesh.

Can you get the request with the post headers to see if this response came
from WSO2 IS or WSO2 AS?

Maybe you can open a question in stackoverflow.

Regards,
   Jorge.

2017-05-04 5:51 GMT-04:00 Mukesh Yadav <mak@gmail.com>:

> Hi all,
>
> After debugging I found before returning error "org.apache.axis2.AxisFault:
> Missing wsse:Security header in request at org.apache.rampart.handler.Ram
> partReceiver.setFaultCodeAndThrowAxisFault(RampartReceiver.java:195)"
>
> I get
>
> 
> http://schemas.xmlsoap.org/soap/envelope/
> ">
> http://www.w3.org/2005/08/addressing;>
> http://www.w3.org/2005/08/addressing/soap/fault
> urn:uuid:f84ea9d1-6671-45b4-9263-
> 8fbb288968e1
> 
> 
> http://schemas.xmlsoap.org/soap/envelope/
> ">
> axis2ns19:MustUnderstand
> *Must Understand check failed for header
> http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd
> <http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd>
> : Security*
> 
> 
> 
> 
>
>
> While googling I found this answer [1] but this one is for CXF
>
> [1] http://stackoverflow.com/questions/9364428/soapfaultexception-
> mustunderstand-headers-oasis-200401-wss-wssecurity-secext-1
>
> On Tue, May 2, 2017 at 8:45 PM, Jorge <isildur...@gmail.com> wrote:
>
>> Hi Mukesh debug your code and check that in this portion of code:
>>
>> String tokenID;
>> if
>> (renewedTokenID != null) {
>>
>> tokenID = renewedTokenID;
>> } else {
>>
>> tokenID = responseTokenID;
>> }
>> serClient.getOptions().setProp
>> erty(RampartMessageData.KEY_CUSTOM_ISSUED_TOKEN,
>> tokenID);
>>
>> tokenID it's not null.
>>
>> I had that problem and it was because tokenID was null.
>>
>> Also I use wire debug to see what service I'm calling, because if
>> tokenID = null the call will go to the IS not to the AS or ESB
>> log4j.logger.httpclient.wire=DEBUG
>> log4j.logger.org.apache.commons.httpclient=DEBUG
>>
>> Regards,
>>  Jorge.
>>
>> 2017-05-02 5:14 GMT-04:00, Mukesh Yadav <mak@gmail.com>:
>> > Hi Omnidu,
>> >
>> > I tested by disabling renew, even then same error is coming. I'm using
>> [1]
>> > as Service.
>> >
>> >
>> > [1] https://github.com/muke5hy/Axis2HelloWorld
>> >
>> > On Tue, May 2, 2017 at 1:41 AM, Omindu Rathnaweera <omi...@wso2.com>
>> wrote:
>> >
>> >> Hi Mukesh,
>> >>
>> >> Can you try adding the fix provided in [1] and see whether it solves
>> the
>> >> issue ? Keep the "renew" property set to 'false' in 'client.properties'
>> >> file.
>> >>
>> >> [1] - https://github.com/wso2/product-is/pull/1231/files
>> >>
>> >> Regards,
>> >> Omindu.
>> >>
>> >> On Tue, May 2, 2017 at 12:23 AM, Mukesh Yadav <mak@gmail.com>
>> wrote:
>> >>
>> >>> If you need any other info please let me know,
>> >>>
>> >>> The client code,
>> >>> https://github.com/muke5hy/Axis2Client-wso2IS
>> >>>
>> >>>
>> >>>
>> >>> On Sat, Apr 29, 2017 at 9:00 PM, Kasun Bandara <kbandara...@gmail.com
>> >
>> >>> wrote:
>> >>>
>> >>>> [+] Looping in the Identity server team.
>> >>>>
>> >>>> Kasun Gayan Bandara
>> >>>> PhD Research Student
>> >>>> Machine Learning Group
>> >>>>
>> >>>> Faculty of Information Technology, Clayton
>> >>>> Monash University
>> >>>> 25 Exhibition Walk, Clayton Campus
>> >>>> Wellington Road
>> >>>> Clayton VIC 3800
>> >>>> Australia.
>> >>>>
>> >>>> E: herath.band...@monash.edu
>> >>>> M (+61) 43 491 6476
>> >>>>
>> >>>> <https://www.linkedin.com/in/bandarakasun>
>> >>>>
>> >>>>
>> >>>>
>> >>>> On Sat, Apr 29, 2017 at 11:21 PM, Mukesh Yadav <mak@gmail.com>
>> >>>> wrot

Re: [Dev] Error while running sample STS client

2017-05-02 Thread Jorge
Hi Mukesh debug your code and check that in this portion of code:

String tokenID;
if 
(renewedTokenID != null) {
tokenID 
= renewedTokenID;
} else {
tokenID 
= responseTokenID;
}

serClient.getOptions().setProperty(RampartMessageData.KEY_CUSTOM_ISSUED_TOKEN,
tokenID);

tokenID it's not null.

I had that problem and it was because tokenID was null.

Also I use wire debug to see what service I'm calling, because if
tokenID = null the call will go to the IS not to the AS or ESB
log4j.logger.httpclient.wire=DEBUG
log4j.logger.org.apache.commons.httpclient=DEBUG

Regards,
 Jorge.

2017-05-02 5:14 GMT-04:00, Mukesh Yadav <mak@gmail.com>:
> Hi Omnidu,
>
> I tested by disabling renew, even then same error is coming. I'm using [1]
> as Service.
>
>
> [1] https://github.com/muke5hy/Axis2HelloWorld
>
> On Tue, May 2, 2017 at 1:41 AM, Omindu Rathnaweera <omi...@wso2.com> wrote:
>
>> Hi Mukesh,
>>
>> Can you try adding the fix provided in [1] and see whether it solves the
>> issue ? Keep the "renew" property set to 'false' in 'client.properties'
>> file.
>>
>> [1] - https://github.com/wso2/product-is/pull/1231/files
>>
>> Regards,
>> Omindu.
>>
>> On Tue, May 2, 2017 at 12:23 AM, Mukesh Yadav <mak@gmail.com> wrote:
>>
>>> If you need any other info please let me know,
>>>
>>> The client code,
>>> https://github.com/muke5hy/Axis2Client-wso2IS
>>>
>>>
>>>
>>> On Sat, Apr 29, 2017 at 9:00 PM, Kasun Bandara <kbandara...@gmail.com>
>>> wrote:
>>>
>>>> [+] Looping in the Identity server team.
>>>>
>>>> Kasun Gayan Bandara
>>>> PhD Research Student
>>>> Machine Learning Group
>>>>
>>>> Faculty of Information Technology, Clayton
>>>> Monash University
>>>> 25 Exhibition Walk, Clayton Campus
>>>> Wellington Road
>>>> Clayton VIC 3800
>>>> Australia.
>>>>
>>>> E: herath.band...@monash.edu
>>>> M (+61) 43 491 6476
>>>>
>>>> <https://www.linkedin.com/in/bandarakasun>
>>>>
>>>>
>>>>
>>>> On Sat, Apr 29, 2017 at 11:21 PM, Mukesh Yadav <mak@gmail.com>
>>>> wrote:
>>>>
>>>>> Hi,
>>>>>
>>>>> I'm using WSO2 IS version 5.3.0 and AS 5.3.0
>>>>> Yes, I did follow all the steps in that blog.
>>>>>
>>>>> Did any tried running STS client for version 5.3.0 or IS and AS.
>>>>>
>>>>>
>>>>>
>>>>> On Sat, Apr 29, 2017 at 9:14 AM, Kasun Bandara <kbandara...@gmail.com>
>>>>> wrote:
>>>>>
>>>>>> Hi Mukesh,
>>>>>>
>>>>>> Can you please specify the respective versions of WSO2 IS and WSO2 AS
>>>>>> that you are using? I assume you are testing the WS-Trust STS (Active
>>>>>> STS)
>>>>>> protocol to secure a service deployed on the application server.  If
>>>>>> so,
>>>>>> can you please recheck whether you gave followed steps as in [1].
>>>>>>
>>>>>> Regards,
>>>>>> Kasun
>>>>>>
>>>>>> [1] http://www.vitharana.org/2015/01/how-ws-trust-sts-works-
>>>>>> in-wso2-identity.html
>>>>>>
>>>>>> Kasun Gayan Bandara
>>>>>> PhD Research Student
>>>>>> Machine Learning Group
>>>>>>
>>>>>> Faculty of Information Technology, Clayton
>>>>>> Monash University
>>>>>> 25 Exhibition Walk, Clayton Campus
>>>>>> Wellington Road
>>>>>> Clayton VIC 3800
>>>>>> Australia.
>>>>>>
>>>>>> E: herath.band...@monash.edu
>>>>>> M (+61) 43 491 6476
>>>>>>
>>>>>> <https://www.linkedin.com/in/bandarakasun>
>>>>>>
>>>>>>
>>>>>>
>>>>>> On Fri, Apr 28, 2017 at 6:15 PM, Muk

Re: [Dev] Issue with STS between WSO2 IS and ESB

2017-05-01 Thread Jorge
Hi Farasath,
attached the java client class.

Regards,
Jorge.

2017-04-30 16:20 GMT-04:00, Farasath Ahamed <farasa...@wso2.com>:
> Farasath Ahamed
> Software Engineer, WSO2 Inc.; http://wso2.com
> Mobile: +94777603866
> Blog: blog.farazath.com
> Twitter: @farazath619 <https://twitter.com/farazath619>
> <http://wso2.com/signature>
>
>
>
> On Fri, Apr 28, 2017 at 7:17 PM, Jorge <isildur...@gmail.com> wrote:
>
>> Hi folks..
>>
>> With a sample code I'm testing the STS scenario with this configurations:
>>
>> 1. WSO2 IS STS service secured with UT policy.
>> 2. JAVA client requesting a saml token to the WSO2 IS to include it
>> inside
>> the call to the proxy service in ESB.
>>
>>
>> My maven dependencies version:
>>
>> 
>>   1.5.11.wso2v16
>>   1.6.1.wso2v5
>>   3.8.1
>>   1.6.1.wso2v8
>>
>> 1.6.1.wso2v12
>>   1.2.11.wso2v1
>>   1.1.1
>>   4.3.3.wso2v1
>>   1.6.1.wso2v4
>>   2.0.0.alpha1-wso2v1
>> 
>>
>>
>> I'm getting an error in this line in rampart-core library:
>>
>> elem = RampartUtil.insertSiblingAfter(rmd, this.getInsertionLocation(),
>> (Element)endSuppTok.getToken());
>>
>>
>
> *(Element)endSuppTok.getToken()  *this casting seem to be the problem.
> Would you be able to share your Java client source code?
>
>
>> The error:
>>
>> java.lang.ClassCastException: org.apache.axiom.om.impl.llom.OMElementImpl
>> cannot be cast to org.w3c.dom.Element
>> at org.apache.rampart.builder.BindingBuilder.handleSupportingTokens(
>> BindingBuilder.java:388)
>> at
>> org.apache.rampart.builder.SymmetricBindingBuilder.doSignBeforeEncrypt(
>> SymmetricBindingBuilder.java:499)
>> at org.apache.rampart.builder.SymmetricBindingBuilder.build(
>> SymmetricBindingBuilder.java:86)
>> at org.apache.rampart.MessageBuilder.build(MessageBuilder.java:144)
>> at org.apache.rampart.handler.RampartSender.invoke(RampartSender.java:65)
>> at org.apache.axis2.engine.Phase.invokeHandler(Phase.java:340)
>> at org.apache.axis2.engine.Phase.invoke(Phase.java:313)
>> at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:262)
>> at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:427)
>> at org.apache.axis2.description.OutInAxisOperationClient.send(
>> OutInAxisOperation.java:406)
>> at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(
>> OutInAxisOperation.java:229)
>> at org.apache.axis2.client.OperationClient.execute(
>> OperationClient.java:165)
>> at org.apache.axis2.client.ServiceClient.sendReceive(
>> ServiceClient.java:555)
>> at org.apache.axis2.client.ServiceClient.sendReceive(
>> ServiceClient.java:531)
>> at org.wso2.carbon.identity.samples.sts.Client.run(Client.java:258)
>> at org.wso2.carbon.identity.samples.sts.Client.main(Client.java:106)
>>
>>
>>
> The saml token is this:
>>
>> > ID="urn:uuid:B245D8BE51DD76D8C11493317175833"
>> IssueInstant="2017-04-27T18:19:35.830Z"
>> Version="2.0">
>> https://localhost
>> http://www.w3.org/2000/09/xmldsig#;>
>> 
>> http://www.w3.org/
>> 2001/10/xml-exc-c14n#" />
>> > Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1;
>> />
>> 
>> 
>> http://www.w3.org/2000/09/xmldsig#enveloped-
>> signature" />
>> http://www.w3.org/2001/10/xml-exc-c14n#; />
>> 
>> http://www.w3.org/2000/09/xmldsig#sha1; />
>> kRCUeY8ciMqYIw4DiKjihd/TzkM=
>> 
>> 
>> 
>> WVVU74daKAuwH1lbF/DP78odPJShvVhMsKK8e207QVLUwNsX
>> t12MT1OEmwg5WOkDABvn2LfwFuzY
>> 46usFhAF2W6frqJgyrQttddF2ue09D8/2aGGQ1S3MkYOb6zIBlj7WR4nbnMFeX
>> rRBhhrrPjn2p+A
>> NHUTjwjfTP+JKIZWE7I=
>> 
>> 
>> 
>> MIICNTCCAZ6gAwIBAgIES343gjANBg
>> kqhkiG9w0BAQUFADBVMQswCQYDVQQGEwJVUzELMAkGA1UE
>> CAwCQ0ExFjAUBgNVBAcMDU1vdW50YWluIFZpZXcxDTALBgNVBAoMBFdTTzIx
>> EjAQBgNVBAMMCWxv
>> Y2FsaG9zdDAeFw0xMDAyMTkwNzAyMjZaFw0zNTAyMTMwNzAyMjZaMFUxCzAJ
>> BgNVBAYTAlVTMQsw
>> CQYDVQQIDAJDQTEWMBQGA1UEBwwNTW91bnRhaW4gVmlldzENMAsGA1UECgwE
>> V1NPMjESMBAGA1UE
>> AwwJbG9jYWxob3N0MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCUp/
>> oV1vWc8/TkQSiAvTou
>> sMzOM4asB2iltr2QKozni5aVFu818MpOLZIr8LMnTzWllJvvaA5RAAdpbECb
>> +48FjbBe0hseUdN5
>> HpwvnH/DW8ZccGvk53I6Orq7hLCv1ZHtuOCokghz/ATrhyPq+
>> QktMfXnRS4HrKGJTzxaCcU7OQID
>> AQABoxIwEDAOBgNVHQ8BAf8EBAMCBPAwDQYJKoZIhvcNAQEFBQADgYEAW5wP
>> R7cr1LAdq+IrR44i
>> QlRG5ITCZXY9hI0PygLP2rHANh+PYfTmxbuOnykNGyhM6FjFLbW2uZHQT
>> Y1jMrPprjOrmyK5sjJR
>> O4d1DeGHT/YnIjs9JogRKv4XHECwLtIVdAbIdWHEtVZJyMSktcyysFcvuhPQK8Qc/E/
>> Wq8uHSCo=
>> 
>> 
>> 
>> 
>> admin
>> > />
>> 
>> > NotOnOrAfter="2017-04-27T18:24:37.908Z" />
>> 
>> 
>> urn:oasis:names:tc:SAML:2.0:
>> ac:classes:Password
>> 
>> 
>> 
>>
>>
>> Any idea?
>>
>
>>
>
>>
>>
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>


Client.java
Description: Binary data
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Issue with STS between WSO2 IS and ESB

2017-04-28 Thread Jorge
Hi folks..

With a sample code I'm testing the STS scenario with this configurations:

1. WSO2 IS STS service secured with UT policy.
2. JAVA client requesting a saml token to the WSO2 IS to include it inside
the call to the proxy service in ESB.


My maven dependencies version:


  1.5.11.wso2v16
  1.6.1.wso2v5
  3.8.1
  1.6.1.wso2v8
  
1.6.1.wso2v12
  1.2.11.wso2v1
  1.1.1
  4.3.3.wso2v1
  1.6.1.wso2v4
  2.0.0.alpha1-wso2v1



I'm getting an error in this line in rampart-core library:

elem = RampartUtil.insertSiblingAfter(rmd,
this.getInsertionLocation(), (Element)endSuppTok.getToken());


The error:

java.lang.ClassCastException: org.apache.axiom.om.impl.llom.OMElementImpl
cannot be cast to org.w3c.dom.Element
at
org.apache.rampart.builder.BindingBuilder.handleSupportingTokens(BindingBuilder.java:388)
at
org.apache.rampart.builder.SymmetricBindingBuilder.doSignBeforeEncrypt(SymmetricBindingBuilder.java:499)
at
org.apache.rampart.builder.SymmetricBindingBuilder.build(SymmetricBindingBuilder.java:86)
at org.apache.rampart.MessageBuilder.build(MessageBuilder.java:144)
at org.apache.rampart.handler.RampartSender.invoke(RampartSender.java:65)
at org.apache.axis2.engine.Phase.invokeHandler(Phase.java:340)
at org.apache.axis2.engine.Phase.invoke(Phase.java:313)
at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:262)
at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:427)
at
org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:406)
at
org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:229)
at org.apache.axis2.client.OperationClient.execute(OperationClient.java:165)
at org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:555)
at org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:531)
at org.wso2.carbon.identity.samples.sts.Client.run(Client.java:258)
at org.wso2.carbon.identity.samples.sts.Client.main(Client.java:106)


The saml token is this:


https://localhost
http://www.w3.org/2000/09/xmldsig#;>

http://www.w3.org/2001/10/xml-exc-c14n#; />
http://www.w3.org/2000/09/xmldsig#rsa-sha1;
/>


http://www.w3.org/2000/09/xmldsig#enveloped-signature; />
http://www.w3.org/2001/10/xml-exc-c14n#; />

http://www.w3.org/2000/09/xmldsig#sha1; />
kRCUeY8ciMqYIw4DiKjihd/TzkM=



WVVU74daKAuwH1lbF/DP78odPJShvVhMsKK8e207QVLUwNsXt12MT1OEmwg5WOkDABvn2LfwFuzY
46usFhAF2W6frqJgyrQttddF2ue09D8/2aGGQ1S3MkYOb6zIBlj7WR4nbnMFeXrRBhhrrPjn2p+A
NHUTjwjfTP+JKIZWE7I=



MIICNTCCAZ6gAwIBAgIES343gjANBgkqhkiG9w0BAQUFADBVMQswCQYDVQQGEwJVUzELMAkGA1UE
CAwCQ0ExFjAUBgNVBAcMDU1vdW50YWluIFZpZXcxDTALBgNVBAoMBFdTTzIxEjAQBgNVBAMMCWxv
Y2FsaG9zdDAeFw0xMDAyMTkwNzAyMjZaFw0zNTAyMTMwNzAyMjZaMFUxCzAJBgNVBAYTAlVTMQsw
CQYDVQQIDAJDQTEWMBQGA1UEBwwNTW91bnRhaW4gVmlldzENMAsGA1UECgwEV1NPMjESMBAGA1UE
AwwJbG9jYWxob3N0MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCUp/oV1vWc8/TkQSiAvTou
sMzOM4asB2iltr2QKozni5aVFu818MpOLZIr8LMnTzWllJvvaA5RAAdpbECb+48FjbBe0hseUdN5
HpwvnH/DW8ZccGvk53I6Orq7hLCv1ZHtuOCokghz/ATrhyPq+QktMfXnRS4HrKGJTzxaCcU7OQID
AQABoxIwEDAOBgNVHQ8BAf8EBAMCBPAwDQYJKoZIhvcNAQEFBQADgYEAW5wPR7cr1LAdq+IrR44i
QlRG5ITCZXY9hI0PygLP2rHANh+PYfTmxbuOnykNGyhM6FjFLbW2uZHQTY1jMrPprjOrmyK5sjJR
O4d1DeGHT/YnIjs9JogRKv4XHECwLtIVdAbIdWHEtVZJyMSktcyysFcvuhPQK8Qc/E/Wq8uHSCo=




admin





urn:oasis:names:tc:SAML:2.0:ac:classes:Password





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


[Dev] Issue starting WSO2 EI from Developer Studio. Waiting for required Module: rampart-core-1.6.1-wso2v24

2017-03-06 Thread Jorge
Hi all.

I downloaded yesterday
the developer-studio-ei-eclipse-jee-mars-2-win64-x86_64-1.0.0.zip
distribution for testing.

Today I create a simple API and configure the server to start from DevS,
with ofsset = 9
This error araise when I try to start the EI from developer studio:

Server WSO2 Enterprise Integrator 6.0.0 at localhost was unable to start
within 600 seconds. If the server requires more time, try increasing the
timeout in the server editor.

The logs:
TID: [-1] [] [2017-03-03 12:16:35,882]  WARN
{org.wso2.carbon.core.init.CarbonServerManager} -  Carbon initialization is
delayed due to the following unsatisfied items:
{org.wso2.carbon.core.init.CarbonServerManager}
TID: [-1] [] [2017-03-03 12:16:35,884]  WARN
{org.wso2.carbon.core.init.CarbonServerManager} -  Waiting for required
Module: rampart-core-1.6.1-wso2v24
{org.wso2.carbon.core.init.CarbonServerManager}
TID: [-1] [] [2017-03-03 12:17:35,882]  WARN
{org.wso2.carbon.core.init.CarbonServerManager} -  Carbon initialization is
delayed due to the following unsatisfied items:
{org.wso2.carbon.core.init.CarbonServerManager}
TID: [-1] [] [2017-03-03 12:17:35,882]  WARN
{org.wso2.carbon.core.init.CarbonServerManager} -  Waiting for required
Module: rampart-core-1.6.1-wso2v24
{org.wso2.carbon.core.init.CarbonServerManager}
TID: [-1] [] [2017-03-03 12:18:35,882]  WARN
{org.wso2.carbon.core.init.CarbonServerManager} -  Carbon initialization is
delayed due to the following unsatisfied items:
{org.wso2.carbon.core.init.CarbonServerManager}
TID: [-1] [] [2017-03-03 12:18:35,882]  WARN
{org.wso2.carbon.core.init.CarbonServerManager} -  Waiting for required
Module: rampart-core-1.6.1-wso2v24
{org.wso2.carbon.core.init.CarbonServerManager}
TID: [-1] [] [2017-03-03 12:19:35,881]  WARN
{org.wso2.carbon.core.init.CarbonServerManager} -  Carbon initialization is
delayed due to the following unsatisfied items:
{org.wso2.carbon.core.init.CarbonServerManager}
TID: [-1] [] [2017-03-03 12:19:35,882]  WARN
{org.wso2.carbon.core.init.CarbonServerManager} -  Waiting for required
Module: rampart-core-1.6.1-wso2v24
{org.wso2.carbon.core.init.CarbonServerManager}
TID: [-1] [] [2017-03-03 12:20:35,881]  WARN
{org.wso2.carbon.core.init.CarbonServerManager} -  Carbon initialization is
delayed due to the following unsatisfied items:
{org.wso2.carbon.core.init.CarbonServerManager}
TID: [-1] [] [2017-03-03 12:20:35,881]  WARN
{org.wso2.carbon.core.init.CarbonServerManager} -  Waiting for required
Module: rampart-core-1.6.1-wso2v24
{org.wso2.carbon.core.init.CarbonServerManager}
TID: [-1] [] [2017-03-03 12:21:35,882]  WARN
{org.wso2.carbon.core.init.CarbonServerManager} -  Carbon initialization is
delayed due to the following unsatisfied items:
{org.wso2.carbon.core.init.CarbonServerManager}
TID: [-1] [] [2017-03-03 12:21:35,882]  WARN
{org.wso2.carbon.core.init.CarbonServerManager} -  Waiting for required
Module: rampart-core-1.6.1-wso2v24
{org.wso2.carbon.core.init.CarbonServerManager}
TID: [-1] [] [2017-03-03 12:22:35,881]  WARN
{org.wso2.carbon.core.init.CarbonServerManager} -  Carbon initialization is
delayed due to the following unsatisfied items:
{org.wso2.carbon.core.init.CarbonServerManager}
TID: [-1] [] [2017-03-03 12:22:35,882]  WARN
{org.wso2.carbon.core.init.CarbonServerManager} -  Waiting for required
Module: rampart-core-1.6.1-wso2v24
{org.wso2.carbon.core.init.CarbonServerManager}
TID: [-1] [] [2017-03-03 12:23:35,882]  WARN
{org.wso2.carbon.core.init.CarbonServerManager} -  Carbon initialization is
delayed due to the following unsatisfied items:
{org.wso2.carbon.core.init.CarbonServerManager}
TID: [-1] [] [2017-03-03 12:23:35,882]  WARN
{org.wso2.carbon.core.init.CarbonServerManager} -  Waiting for required
Module: rampart-core-1.6.1-wso2v24
{org.wso2.carbon.core.init.CarbonServerManager}
TID: [-1] [] [2017-03-03 12:24:35,881]  WARN
{org.wso2.carbon.core.init.CarbonServerManager} -  Carbon initialization is
delayed due to the following unsatisfied items:
{org.wso2.carbon.core.init.CarbonServerManager}
TID: [-1] [] [2017-03-03 12:24:35,881]  WARN
{org.wso2.carbon.core.init.CarbonServerManager} -  Waiting for required
Module: rampart-core-1.6.1-wso2v24
{org.wso2.carbon.core.init.CarbonServerManager}

If I start the server with integrator.bat or start-all.bat work just fine.

My SO: Windows 8.1.
JDK: 1.8

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


Re: [Dev] Issue: .XPathException: Required item type of first operand of '/' is node(); supplied value has item type xs:string

2017-02-12 Thread Jorge
Hi Harshana, the workaround work for me. thanks.

Any idea about when this issue will be fixed?

Regards,
 Jorge.

2017-02-12 2:08 GMT-05:00, Harshana Eranga Martin <harshan...@gmail.com>:
> Hi Jorge,
>
> I had a similar requirement and here is what i did to overcome the issue.
>
> I appended the complex XML element to Current payload using a combination
> of Property mediator (To wrap the complex XML Element with a known Root
> element) and enriched the current payload using Enrich Mediator (Append the
> complex XML element wrapped with the known Root element as an immediate
> child under SOAPDody). Inside my XSLT i process the proper payload and
> extract the complex XML element using the known Root element i used to wrap
> it. This is the workaround I used.
>
> Hope this helps!
>
> Thanks and Regards,
> Harshana
>
> On Sun, 12 Feb 2017 at 2:53 pm, Jorge <isildur...@gmail.com> wrote:
>
>> Hi all,
>> any workaround for this bug:
>>
>> https://wso2.org/jira/si/jira.issueviews:issue-html/ESBJAVA-4509/ESBJAVA-4509.html
>>
>> I need to pass 2 complex XML as parameters to a xslt in ESB 5.0.0 with
>> this error:
>>
>> [2017-02-11 20:56:29,320] ERROR - XSLTMediator Unable to perform XSLT
>> transformation using : Value {name ='null', keyValue
>> ='transformTwoSourcesToOneResult'} against source XPath : s11
>> :Body/child::*[position()=1] | s12:Body/child::*[position()=1] reason
>> : Error performing XSLT transformation using : Value {name ='null',
>> keyValue ='transformTwoSourcesToOneResult'}
>> org.apache.synapse.SynapseException: Error performing XSLT
>> transformation using : Value {name ='null', keyValue
>> ='transformTwoSourcesToOneResult'}
>> at
>> org.apache.synapse.mediators.AbstractMediator.handleException(AbstractMediator.java:367)
>> at
>> org.apache.synapse.mediators.transform.XSLTMediator.performXSLT(XSLTMediator.java:372)
>> at
>> org.apache.synapse.mediators.transform.XSLTMediator.mediate(XSLTMediator.java:202)
>> at
>> org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:97)
>> at
>> org.apache.synapse.mediators.base.SequenceMediator.mediate(SequenceMediator.java:260)
>> at
>> org.apache.synapse.core.axis2.Axis2SynapseEnvironment.mediateFromContinuationStateStack(Axis2SynapseEnvironment.java:766)
>> at
>> org.apache.synapse.core.axis2.Axis2SynapseEnvironment.injectMessage(Axis2SynapseEnvironment.java:282)
>> at
>> org.apache.synapse.core.axis2.SynapseCallbackReceiver.handleMessage(SynapseCallbackReceiver.java:554)
>> at
>> org.apache.synapse.core.axis2.SynapseCallbackReceiver.receive(SynapseCallbackReceiver.java:188)
>> at
>> org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:180)
>> at
>> org.apache.synapse.transport.passthru.ClientWorker.run(ClientWorker.java:261)
>> at
>> org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:172)
>> at
>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
>> at
>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
>> at java.lang.Thread.run(Thread.java:745)
>> Caused by: net.sf.saxon.trans.XPathException: Required item type of
>> first operand of '/' is node(); supplied value has item type xs:string
>> at
>> net.sf.saxon.expr.ItemTypeCheckingFunction.testConformance(ItemTypeCheckingFunction.java:65)
>> at
>> net.sf.saxon.expr.ItemTypeCheckingFunction.mapItem(ItemTypeCheckingFunction.java:41)
>> at
>> net.sf.saxon.expr.ItemMappingIterator.next(ItemMappingIterator.java:90)
>> at
>> net.sf.saxon.expr.ContextMappingIterator.next(ContextMappingIterator.java:52)
>> at
>> net.sf.saxon.value.SequenceExtent.(SequenceExtent.java:105)
>> at
>> net.sf.saxon.expr.sort.DocumentOrderIterator.(DocumentOrderIterator.java:31)
>> at
>> net.sf.saxon.expr.sort.DocumentSorter.iterate(DocumentSorter.java:101)
>> at
>> net.sf.saxon.expr.SlashExpression.iterate(SlashExpression.java:700)
>> at
>> net.sf.saxon.expr.sort.DocumentSorter.iterate(DocumentSorter.java:101)
>> at
>> net.sf.saxon.expr.SlashExpression.iterate(SlashExpression.java:700)
>> at
>> net.sf.saxon.expr.sort.DocumentSorter.iterate(DocumentSorter.java:101)
>> at
>> net.sf.saxon.expr.instruct.ForEach.processLeavingTail(ForEach.java:414)
>> at
>> net.sf.saxo

[Dev] Issue: .XPathException: Required item type of first operand of '/' is node(); supplied value has item type xs:string

2017-02-11 Thread Jorge
Hi all,
any workaround for this bug:
https://wso2.org/jira/si/jira.issueviews:issue-html/ESBJAVA-4509/ESBJAVA-4509.html

I need to pass 2 complex XML as parameters to a xslt in ESB 5.0.0 with
this error:

[2017-02-11 20:56:29,320] ERROR - XSLTMediator Unable to perform XSLT
transformation using : Value {name ='null', keyValue
='transformTwoSourcesToOneResult'} against source XPath : s11
:Body/child::*[position()=1] | s12:Body/child::*[position()=1] reason
: Error performing XSLT transformation using : Value {name ='null',
keyValue ='transformTwoSourcesToOneResult'}
org.apache.synapse.SynapseException: Error performing XSLT
transformation using : Value {name ='null', keyValue
='transformTwoSourcesToOneResult'}
at 
org.apache.synapse.mediators.AbstractMediator.handleException(AbstractMediator.java:367)
at 
org.apache.synapse.mediators.transform.XSLTMediator.performXSLT(XSLTMediator.java:372)
at 
org.apache.synapse.mediators.transform.XSLTMediator.mediate(XSLTMediator.java:202)
at 
org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:97)
at 
org.apache.synapse.mediators.base.SequenceMediator.mediate(SequenceMediator.java:260)
at 
org.apache.synapse.core.axis2.Axis2SynapseEnvironment.mediateFromContinuationStateStack(Axis2SynapseEnvironment.java:766)
at 
org.apache.synapse.core.axis2.Axis2SynapseEnvironment.injectMessage(Axis2SynapseEnvironment.java:282)
at 
org.apache.synapse.core.axis2.SynapseCallbackReceiver.handleMessage(SynapseCallbackReceiver.java:554)
at 
org.apache.synapse.core.axis2.SynapseCallbackReceiver.receive(SynapseCallbackReceiver.java:188)
at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:180)
at 
org.apache.synapse.transport.passthru.ClientWorker.run(ClientWorker.java:261)
at 
org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:172)
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: net.sf.saxon.trans.XPathException: Required item type of
first operand of '/' is node(); supplied value has item type xs:string
at 
net.sf.saxon.expr.ItemTypeCheckingFunction.testConformance(ItemTypeCheckingFunction.java:65)
at 
net.sf.saxon.expr.ItemTypeCheckingFunction.mapItem(ItemTypeCheckingFunction.java:41)
at 
net.sf.saxon.expr.ItemMappingIterator.next(ItemMappingIterator.java:90)
at 
net.sf.saxon.expr.ContextMappingIterator.next(ContextMappingIterator.java:52)
at net.sf.saxon.value.SequenceExtent.(SequenceExtent.java:105)
at 
net.sf.saxon.expr.sort.DocumentOrderIterator.(DocumentOrderIterator.java:31)
at 
net.sf.saxon.expr.sort.DocumentSorter.iterate(DocumentSorter.java:101)
at net.sf.saxon.expr.SlashExpression.iterate(SlashExpression.java:700)
at 
net.sf.saxon.expr.sort.DocumentSorter.iterate(DocumentSorter.java:101)
at net.sf.saxon.expr.SlashExpression.iterate(SlashExpression.java:700)
at 
net.sf.saxon.expr.sort.DocumentSorter.iterate(DocumentSorter.java:101)
at 
net.sf.saxon.expr.instruct.ForEach.processLeavingTail(ForEach.java:414)
at net.sf.saxon.expr.instruct.Instruction.process(Instruction.java:131)
at 
net.sf.saxon.expr.instruct.ElementCreator.processLeavingTail(ElementCreator.java:301)
at 
net.sf.saxon.expr.instruct.ElementCreator.processLeavingTail(ElementCreator.java:254)
at 
net.sf.saxon.expr.instruct.Template.applyLeavingTail(Template.java:212)
at net.sf.saxon.trans.Mode.applyTemplates(Mode.java:1034)
at 
net.sf.saxon.trans.TextOnlyCopyRuleSet.process(TextOnlyCopyRuleSet.java:58)
at net.sf.saxon.trans.Mode.applyTemplates(Mode.java:1022)
at net.sf.saxon.Controller.transformDocument(Controller.java:1957)
at net.sf.saxon.Controller.transform(Controller.java:1803)
at 
org.apache.synapse.mediators.transform.XSLTMediator.performXSLT(XSLTMediator.java:300)
... 13 more

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


Re: [Dev] Issues with 'Getting Started' (Axis2 services)

2016-07-20 Thread Jorge
Please check this:
http://stackoverflow.com/questions/32866263/axis2server-packed-with-esb-4-9-0-doesnt-start-while-it-works-fine-4-8-0/32878921#32878921

Regards,
 Jorge.

2016-07-20 12:41 GMT-04:00 Steve Simmons <st...@bellissimmo.com>:

> Hi, I'm new to this forum and new to WS02.  I'm trying to set up a proof
> of concept for WS02 and I've started walking through the Tutorial.
>
> Ashamed to say, I've fallen at the first hurdle.  I have WS02 installed,
> the Eclipse Dev environment and the management system installed and these
> all seem to be working as expected.  I'm working through the 'sending a
> simple message through ESB' example and I have built the
> SimpleStockQuoteService.  when I run 'axis2Server.bat', I get some messages
> (cut'n'pasted below).  Don't understand the whole text but likewise I can't
> see any obvious issues.  Try connecting to localhost:9000\services\  and I
> get a browser screen saying localhost has refused the connection.
>
> Any troubleshooting suggestions very welcome.
>
> Steve
>
>
> "Starting Sample Axis2 Server ..."
> Using AXIS2_HOME: C:\Dev\WS02\wso2esb-4.9.0\samples\axis2Server
> Using JAVA_HOME:   C:\Program Files (x86)\Java\jdk1.8.0_92
> Java HotSpot(TM) Client VM warning: ignoring option MaxPermSize=256m;
> support was removed in 8.0
> Usage: java [-options] class [args...]
>(to execute a class)
>or  java [-options] -jar jarfile [args...]
>(to execute a jar file)
> where options include:
> -d32  use a 32-bit data model if available
> -d64  use a 64-bit data model if available
> -client   to select the "client" VM
> -server   to select the "server" VM
>   The default VM is client.
>
> -cp 
> -classpath 
>   A ; separated list of directories, JAR archives,
>   and ZIP archives to search for class files.
> -D=
>   set a system property
> -verbose:[class|gc|jni]
>   enable verbose output
> -version  print product version and exit
> -version:
>   Warning: this feature is deprecated and will be removed
>   in a future release.
>   require the specified version to run
> -showversion  print product version and continue
> -jre-restrict-search | -no-jre-restrict-search
>   Warning: this feature is deprecated and will be removed
>   in a future release.
>   include/exclude user private JREs in the version search
> -? -help  print this help message
> -Xprint help on non-standard options
> -ea[:...|:]
> -enableassertions[:...|:]
>   enable assertions with specified granularity
> -da[:...|:]
> -disableassertions[:...|:]
>   disable assertions with specified granularity
> -esa | -enablesystemassertions
>   enable system assertions
> -dsa | -disablesystemassertions
>   disable system assertions
> -agentlib:[=]
>   load native agent library , e.g. -agentlib:hprof
>   see also, -agentlib:jdwp=help and -agentlib:hprof=help
> -agentpath:[=]
>   load native agent library by full pathname
> -javaagent:[=]
>   load Java programming language agent, see
> java.lang.instrument
> -splash:
>   show splash screen with specified image
> See http://www.oracle.com/technetwork/java/javase/documentation/index.html
> for more details.
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Fault sequence with different behaviour in wso2 4.8.1 and 4.9.0

2016-02-11 Thread Jorge
Hi all.
In WSO2 ESB 4.8.1 in a fault sequence the use of payloadmediator   not
working, but If you move the same proxy to ESB 4.9.0,  work. Why?

How can we create a custom response message inside fault sequence?


Can you check this:
http://stackoverflow.com/questions/35297380/different-behaviors-between-esb-4-9-0-and-4-8-1

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


Re: [Dev] [APIM] [DAS] Error in publishing APIM stats to DAS

2016-01-15 Thread Jorge
Hi all.

In my setup the error still arise, with

false

set in the configuration and the ?relaxAutoCommit=true at the end of the
connection url string.

I setup another test environment with the same WSO2 DAS and the error is
gone, very strange because in my production environment still persist.

Any idea?

Regards,
  Jorge.

2015-11-04 12:36 GMT-05:00 Niranda Perera <nira...@wso2.com>:

> Hi Rushmin,
>
> yes, what Sinthuja explained is correct. this is a known bug in the
> current CarbonJDBC connector and it is expected to fixed in the upcoming
> DAS patch release.
>
> rgds
>
> On Wed, Nov 4, 2015 at 9:46 PM, Rukshan Premathunga <ruks...@wso2.com>
> wrote:
>
>> Hi Rushmin/Sinthuja,
>>
>> I'll update the blog accordingly. Thanks for Pointing the issue and
>> Solution.
>>
>> Thanks and Regards.
>>
>> On Wed, Nov 4, 2015 at 9:09 PM, Rushmin Fernando <rush...@wso2.com>
>> wrote:
>>
>>> Yes that explains ! Thanks Sinthuja :-)
>>>
>>> On Wed, Nov 4, 2015 at 3:36 PM, Sinthuja Ragendran <sinth...@wso2.com>
>>> wrote:
>>>
>>>> Hi Rushmin,
>>>>
>>>>
>>>> On Wed, Nov 4, 2015 at 8:53 PM, Rushmin Fernando <rush...@wso2.com>
>>>> wrote:
>>>>
>>>>> Hi Sinthuja,
>>>>>
>>>>> Yes the relaxAutoCommit parameter was not there in the beginning and
>>>>> the table drop was probably due to that.
>>>>>
>>>>> Having the relaxAutoCommit in place and recreating the tables solved
>>>>> the issue :-)
>>>>>
>>>>
>>>> Great!
>>>>
>>>>
>>>>>
>>>>> Just wanted to know whether the auto-commit related error caused the
>>>>> table drop.
>>>>>
>>>>
>>>> No, it didn't cause the table to drop, the default behaviour it self
>>>> will drop the table and create it again; but due to the exception, the
>>>> creation part didn't happen and only dropping the table was executed.
>>>>
>>>> Thanks,
>>>> Sinthuja.
>>>>
>>>>>
>>>>> Thank you for your clarification.
>>>>>
>>>>> Thanks
>>>>> Rushmin
>>>>>
>>>>> On Wed, Nov 4, 2015 at 2:20 PM, Sinthuja Ragendran <sinth...@wso2.com>
>>>>> wrote:
>>>>>
>>>>>> Hi Rushmin,
>>>>>>
>>>>>> Did you create the table after encountering the exception, and adding
>>>>>> the relaxAutoCommit parameter as well? Because during the exception phase
>>>>>> it could have got dropped, and now it's again searching for the non-
>>>>>> existing table. Hence I wanted to make sure, you ran the mysql script 
>>>>>> now,
>>>>>> and still seeing this exception.
>>>>>>
>>>>>> Thanks,
>>>>>> Sinthuja.
>>>>>>
>>>>>> On Wed, Nov 4, 2015 at 7:46 PM, Rushmin Fernando <rush...@wso2.com>
>>>>>> wrote:
>>>>>>
>>>>>>> Hi Sinthuja,
>>>>>>>
>>>>>>> Thanks for the quick response.
>>>>>>>
>>>>>>> I did create the tables as per the instructions :-)
>>>>>>>
>>>>>>> But 'API_REQUEST_SUMMARY' table was gone after the auto-commit
>>>>>>> error, causing the subsequent error messages.
>>>>>>>
>>>>>>> I could reproduce it consistently.
>>>>>>>
>>>>>>> Thanks
>>>>>>> Rushhmin
>>>>>>>
>>>>>>>
>>>>>>> On Wed, Nov 4, 2015 at 2:09 PM, Sinthuja Ragendran <
>>>>>>> sinth...@wso2.com> wrote:
>>>>>>>
>>>>>>>> Hi Rushmin,
>>>>>>>>
>>>>>>>> Spark JDBC connector first drops the existing table and recreates,
>>>>>>>> but anyhow to execute for the first time you need to have the table
>>>>>>>> created. Therefore please create the tables in the database by running
>>>>>>>> mysql script [1] which was given in the blog post.
>>>>>>>>
>>>>>>>> [1]
>>>>>>>> https://github.com/r

Re: [Dev] [APIM] [DAS] Error in publishing APIM stats to DAS

2016-01-15 Thread Jorge
.commit(Unknown Source)
at 
org.apache.spark.sql.jdbc.carbon.JDBCRelation.insert(JDBCRelation.scala:182)
... 27 more
[2016-01-15 12:00:38,746] ERROR
{org.wso2.carbon.ntask.core.impl.TaskQuartzJobAdapter} -  Error in
executing task: Can't call commit when autocommit=true
java.lang.RuntimeException: Can't call commit when autocommit=true
at 
org.apache.spark.sql.jdbc.carbon.JDBCRelation.insert(JDBCRelation.scala:193)
at 
org.apache.spark.sql.sources.InsertIntoDataSource.run(commands.scala:53)
at 
org.apache.spark.sql.execution.ExecutedCommand.sideEffectResult$lzycompute(commands.scala:57)
at 
org.apache.spark.sql.execution.ExecutedCommand.sideEffectResult(commands.scala:57)
at 
org.apache.spark.sql.execution.ExecutedCommand.doExecute(commands.scala:68)
at 
org.apache.spark.sql.execution.SparkPlan$$anonfun$execute$1.apply(SparkPlan.scala:88)
at 
org.apache.spark.sql.execution.SparkPlan$$anonfun$execute$1.apply(SparkPlan.scala:88)
at 
org.apache.spark.rdd.RDDOperationScope$.withScope(RDDOperationScope.scala:147)
at org.apache.spark.sql.execution.SparkPlan.execute(SparkPlan.scala:87)
at 
org.apache.spark.sql.SQLContext$QueryExecution.toRdd$lzycompute(SQLContext.scala:950)
at 
org.apache.spark.sql.SQLContext$QueryExecution.toRdd(SQLContext.scala:950)
at org.apache.spark.sql.DataFrame.(DataFrame.scala:144)
at org.apache.spark.sql.DataFrame.(DataFrame.scala:128)
at org.apache.spark.sql.DataFrame$.apply(DataFrame.scala:51)
at org.apache.spark.sql.SQLContext.sql(SQLContext.scala:755)
at 
org.wso2.carbon.analytics.spark.core.internal.SparkAnalyticsExecutor.executeQueryLocal(SparkAnalyticsExecutor.java:710)
at 
org.wso2.carbon.analytics.spark.core.internal.SparkAnalyticsExecutor.executeQuery(SparkAnalyticsExecutor.java:692)
at 
org.wso2.carbon.analytics.spark.core.CarbonAnalyticsProcessorService.executeQuery(CarbonAnalyticsProcessorService.java:199)
at 
org.wso2.carbon.analytics.spark.core.CarbonAnalyticsProcessorService.executeScript(CarbonAnalyticsProcessorService.java:149)
at 
org.wso2.carbon.analytics.spark.core.AnalyticsTask.execute(AnalyticsTask.java:57)
at 
org.wso2.carbon.ntask.core.impl.TaskQuartzJobAdapter.execute(TaskQuartzJobAdapter.java:67)
at org.quartz.core.JobRunShell.run(JobRunShell.java:213)
at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
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:722)
Caused by: java.sql.SQLException: Can't call commit when autocommit=true
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:880)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:876)
at com.mysql.jdbc.ConnectionImpl.commit(ConnectionImpl.java:1604)
at sun.reflect.GeneratedMethodAccessor34.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at 
org.apache.tomcat.jdbc.pool.ProxyConnection.invoke(ProxyConnection.java:126)
at 
org.apache.tomcat.jdbc.pool.JdbcInterceptor.invoke(JdbcInterceptor.java:109)
at 
org.wso2.carbon.ndatasource.rdbms.ConnectionRollbackOnReturnInterceptor.invoke(ConnectionRollbackOnReturnInterceptor.java:51)
at 
org.apache.tomcat.jdbc.pool.JdbcInterceptor.invoke(JdbcInterceptor.java:109)
at 
org.apache.tomcat.jdbc.pool.interceptor.AbstractCreateStatementInterceptor.invoke(AbstractCreateStatementInterceptor.java:71)
at 
org.apache.tomcat.jdbc.pool.JdbcInterceptor.invoke(JdbcInterceptor.java:109)
at 
org.apache.tomcat.jdbc.pool.interceptor.ConnectionState.invoke(ConnectionState.java:153)
at 
org.apache.tomcat.jdbc.pool.JdbcInterceptor.invoke(JdbcInterceptor.java:109)
at 
org.apache.tomcat.jdbc.pool.TrapException.invoke(TrapException.java:41)
at 
org.apache.tomcat.jdbc.pool.JdbcInterceptor.invoke(JdbcInterceptor.java:109)
at 
org.apache.tomcat.jdbc.pool.DisposableConnectionFacade.invoke(DisposableConnectionFacade.java:80)
at com.sun.proxy.$Proxy18.commit(Unknown Source)
at 
org.apache.spark.sql.jdbc.carbon.JdbcUtils$.dropTable(JdbcUtils.scala:62)
at 
org.apache.spark.sql.jdbc.carbon.JDBCRelation.insert(JDBCRelation.scala:173)
... 27 more



Regards,
   Jorge

2016-01-15 11:21 GMT-05:00, Rukshan Premathunga <ruks...@wso2.com>:
> Hi Jorge,
>
> Did you recreate the Table schemas in RDBMS and check? Can you send the
> stack trace of the

[Dev] Possible issue with DAS admin-dashboard and WSO2 IS.

2016-01-11 Thread Jorge Infante
Hi all.

 

I had configured the integration between WSO2 AM 1.9.1 and WSO2 identity
server 5.0.0, the identity server act as key manager. This scenario work
just fine.

 

Now, when I try to configure the integration between WSO2 AM 1.9.1 and WSO2
DAS 3.0.0 I need to have access to the admin-dashboard jaggery app inside
WSO2 AM server but the admin/admin credential not work.

 

I check the request/response soap message between AM and IS and the admin
user is authenticated in WSO2 Identity server, as you can see:

 

request to authenticate admin user:

[2016-01-10 22:41:05,116] DEBUG -  >> "http://www.w3.org/2003/05/soap-envelope;
xmlns:aut="http://authentication.services.core.carbon.wso2.org;>adminadmi
nlocalhost
" {httpclient.wire.content}

 

response:

[2016-01-10 22:41:05,132] DEBUG -  << "http://www.w3.org/2003/05/soap-envelope;>http://authentication.services.core.carbon.wso2.org;>tr
ue"
{httpclient.wire.content}

 

 

And the request to get the list of roles also work fine:

 

requesto to get the list of roles:

[2016-01-10 22:41:05,640] DEBUG -  >> "http://www.w3.org/2003/05/soap-envelope;>http://service.ws.um.carbon.wso2.org;>admin"
{httpclient.wire.content}

 

 

response:

[2016-01-10 22:41:05,671] DEBUG -  << "TF-8"?>http://www.w3.org/2003/05/soap-envelope;>http://service.ws.um.carbon.wso2.org;
xmlns:ax2724="http://common.mgt.user.carbon.wso2.org/xsd;
xmlns:ax2721="http://tenant.core.user.carbon.wso2.org/xsd;
xmlns:ax2717="http://core.user.carbon.wso2.org/xsd;
xmlns:ax2718="http://api.user.carbon.wso2.org/xsd;
xmlns:ax2726="http://dao.service.ws.um.carbon.wso2.org/xsd;>Inter
nal/adminInternal/subscriberIn
ternal/WSO2.ORG_admin_DefaultApplication_PRODUCTIONIn
ternal/WSO2.ORG_admin_DefaultApplication_SANDBOXInter
nal/everyone" {httpclient.wire.content}

 

But in this case I see that admin´s roles list is this:

Internal/admin

Internal/subscriber

Internal/WSO2.ORG_admin_DefaultApplication_PRODUCTION

Internal/WSO2.ORG_admin_DefaultApplication_SANDBOX

Internal/everyone

 

And in the site.json config file the roles permit are:

admin

subscriber

 

"allowedRole":"admin",

"allowedRoles":"admin,subscriber,",

 

To authenticate the user admin I had to modified the list of roles to
include Internal/admin as a valid rol:

 

"allowedRole":"admin",

"allowedRoles":"admin,subscriber,Internal/admin",

 

Regards,

Jorge.

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


Re: [Dev] Identity Server 5.1.0 as API-M Key Manager

2016-01-09 Thread Jorge
Hi Harsha,

In the documentation you mention in [1]  in 3.c.ii you have this text = "
Select *Registry Extension Feature* from the *Governance registry* features
category."  But the image point to *Registry Extension Feature* inside
the  *Key
Manager* features, not Governance Registry.

Regards,
  Jorge.



2016-01-09 4:54 GMT-05:00 Imesh Gunaratne <im...@wso2.com>:

> On Sat, Jan 9, 2016 at 1:47 PM, Harsha Kumara <hars...@wso2.com> wrote:
>
>> Hi Imesh,
>>
>> You can find documentation in [1]. However it needs some updates. Also we
>> still didn't release the pre-package IS with key manager feature installed.
>> We have tested IS 5.1.0 with APIM 1.10.0 key manager features installed.
>>
>> [1] -
>> https://docs.wso2.com/display/CLUSTER44x/Configuring+the+Identity+Server+5.1.0+as+a+Key+Manager+with+API+Manager+1.10.0
>>
>
> Thanks Harsha!
>
>>
>> Thanks,
>> Harsha
>>
>> On Sat, Jan 9, 2016 at 1:30 PM, Imesh Gunaratne <im...@wso2.com> wrote:
>>
>>> Hi Devs,
>>>
>>> Do we have a separate distribution for $subject? Or do we have any
>>> documentation on 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
>>>
>>>
>>> ___
>>> 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
>>
>
>
>
> --
> *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 mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [DAS/CEP] Takes considerable amount of time to load stream names in the drop down

2015-12-14 Thread Jorge
In fact, it is. Too long to load the table name.

In my case, with a table that has more than 20 000 events already stored,
the gadget created are not displayed on the dashboard.

Thanks,
  Jorge.

2015-12-14 12:30 GMT-05:00 Mohanadarshan Vivekanandalingam <mo...@wso2.com>:

> Hi Team,
>
> I have observed $subject.. Took nearly 10-15 seconds.. Is that intended
> and reason for that ??
>
> [image: Inline image 1]
>
> Thanks,
> Mohan
>
>
> --
> *V. Mohanadarshan*
> *Senior Software Engineer,*
> *Data Technologies Team,*
> *WSO2, Inc. http://wso2.com <http://wso2.com> *
> *lean.enterprise.middleware.*
>
> email: mo...@wso2.com
> phone:(+94) 771117673
>
> ___
> 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] WSO2 DAS 3.0.0 issue: failed to get records from table

2015-11-12 Thread Jorge
Hi all,
Mi setup it´s the default, using H2, just for a DAS 3.0.0 demo...in
previous snapshots or with BAM 2.5.0  this scenario work just fine, now I
can not see the data in my graphs.
So the hadoop error it´s something else.
But the problem I´m facing it´s with the timeout:

TID: [-1234] [] [2015-11-03 18:40:15,960]  INFO
{org.apache.axis2.transport.http.HTTPSender} -  Unable to sendViaPost
to url[https://169.254.56.94:9443/services/AnalyticsWebService]
{org.apache.axis2.transport.http.HTTPSender}
java.net.SocketTimeoutException: Read timed out
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(SocketInputStream.java:150)
at java.net.SocketInputStream.read(SocketInputStream.java:121)
at sun.security.ssl.InputRecord.readFully(InputRecord.java:442)
at sun.security.ssl.InputRecord.read(InputRecord.java:480)
at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:927)
at sun.security.ssl.SSLSocketImpl.readDataRecord(SSLSocketImpl
.java:884)


[2015-10-31 18:35:47,642] ERROR
{org.wso2.carbon.analytics.jsservice.AnalyticsWebServiceConnector} -
failed to get records from table: 'TEMPERATURAS_FECHA_DESAGREGADA',
Read timed o
ut
org.apache.axis2.AxisFault: Read timed out
at org.apache.axis2.AxisFault.makeFault(AxisFault.java:430)
at org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender
.java:199)
at org.apache.axis2.transport.http.HTTPSender.send(HTTPSender
.java:77)


Any clue?

Thanks,
   Jorge.

2015-11-12 2:02 GMT-05:00 Sinthuja Ragendran <sinth...@wso2.com>:

> Hi all,
>
> The installation guide seems bit outdated, we will update the
> documentation, and the public JIRA reported [1] to track this.
>
> @Jorge, actually you don't need hadoop or cygwin to run DAS in windows.
> Can you please elaborate your setup? What is your record store, is it RDBMS
> (by default H2 database) or HBase? If it's HBase then you may require to
> use cygwin because it used the hadoop libraries as explained in [2],
> otherwise it's not required to use cygwin.
>
>
> [1] https://wso2.org/jira/browse/DOCUMENTATION-2700
>
> [2] https://hbase.apache.org/cygwin.html
>
> Thanks,
> Sinthuja.
>
> On Thu, Nov 12, 2015 at 11:12 AM, Nayomi Dayarathne <nay...@wso2.com>
> wrote:
>
>> Hi Jorge,
>>
>> DAS does not require hadoop binary installation.But it's analytics
>> framework depends on apache hadoop.Please go through the following link [1]
>> for DAS installation on windows.So that you can make sure that the cause of
>> the error is due to your configuration issues or not.Also, make sure you
>> have downloaded the product without missing any files too.
>>
>> [1].https://docs.wso2.com/display/DAS300/Installing+on+Windows
>>
>> Thanks.
>>
>>
>> Nayomi Dayarathne
>>
>> *Software Engineer-QA*
>> Mobile : +94 (0) 775246619 <+94+(0)+775246619>
>>
>> *nay...@wso2.com <nay...@wso2.com>*
>>
>> On Wed, Nov 11, 2015 at 7:56 PM, Jorge Infante <isildur...@gmail.com>
>> wrote:
>>
>>> Hi Nayomi.
>>>
>>> In my SO, windows8, I have not installed hadoop. The Hadoop binary
>>> installation is a requirement for DAS 3.0.0?
>>>
>>> Thanks for your answer,
>>>  Jorge.
>>>
>>> -Mensaje original-
>>> De: Nayomi Dayarathne [mailto:nay...@wso2.com]
>>> Enviado el: lunes, 9 de noviembre de 2015 9:45
>>> Para: Jorge <isildur...@gmail.com>
>>> CC: Niranda Perera <nira...@wso2.com>; WSO2 Developers' List <
>>> dev@wso2.org>
>>> Asunto: Re: [Dev] WSO2 DAS 3.0.0 issue: failed to get records from table
>>>
>>> Hi Jorge,
>>>
>>> I would like to add a comment about one of the errors[1] you have
>>> mentioned in your mail.
>>>
>>> [1] TID: [-1234] [] [2015-11-03 18:36:55,956] ERROR
>>> {org.apache.hadoop.util.Shell} -  Failed to locate the winutils binary in
>>> the hadoop binary path {org.apache.hadoop.util.Shell}
>>> java.io.IOException: Could not locate executable null\bin\winutils.exe
>>> in the Hadoop binaries.
>>>
>>> Above error is related to Hadoop.The error says some files that required
>>> for hadoop to run on your OS are missing.According to what i have found out
>>> about this, if you are using binary distribution of Apache Hadoop 2.2.0 on
>>> windows environment, this issue arises.
>>> Please go through the below post[2] to find out more about this error.
>>>
>>> [2]
>>> http://blog.intelligencec

Re: [Dev] WSO2 DAS 3.0.0 issue: failed to get records from table

2015-11-11 Thread Jorge Infante
Hi Nayomi.

In my SO, windows8, I have not installed hadoop. The Hadoop binary installation 
is a requirement for DAS 3.0.0?

Thanks for your answer,
 Jorge.

-Mensaje original-
De: Nayomi Dayarathne [mailto:nay...@wso2.com] 
Enviado el: lunes, 9 de noviembre de 2015 9:45
Para: Jorge <isildur...@gmail.com>
CC: Niranda Perera <nira...@wso2.com>; WSO2 Developers' List <dev@wso2.org>
Asunto: Re: [Dev] WSO2 DAS 3.0.0 issue: failed to get records from table

Hi Jorge,

I would like to add a comment about one of the errors[1] you have mentioned in 
your mail.

[1] TID: [-1234] [] [2015-11-03 18:36:55,956] ERROR 
{org.apache.hadoop.util.Shell} -  Failed to locate the winutils binary in the 
hadoop binary path {org.apache.hadoop.util.Shell}
java.io.IOException: Could not locate executable null\bin\winutils.exe in the 
Hadoop binaries.

Above error is related to Hadoop.The error says some files that required for 
hadoop to run on your OS are missing.According to what i have found out about 
this, if you are using binary distribution of Apache Hadoop 2.2.0 on windows 
environment, this issue arises.
Please go through the below post[2] to find out more about this error.

[2]http://blog.intelligencecomputing.io/big_data/13878/repost-error-util-shell-failed-to-locate-the-winutils-binary-in-the-hadoop-binary-path


Regards,
Nayomi
Nayomi Dayarathne
Software Engineer-QA
Mobile : +94 (0) 775246619
nay...@wso2.com


On Mon, Nov 9, 2015 at 6:57 PM, Jorge <isildur...@gmail.com> wrote:
> Hi Niranda, any idea about this issue?
>
> Regards,
>Jorge.
>
> 2015-11-03 19:43 GMT-05:00 Jorge <isildur...@gmail.com>:
>>
>> Hi Niranda,
>> I try with this query:  SELECT COUNT(temp) FROM 
>> temperaturasfechadesagregada
>>
>> And the result = 20596
>>
>> Attached the log with the errors and warnings, the main issues:
>>
>> The errors:
>>
>> TID: [-1234] [] [2015-11-03 18:36:55,956] ERROR 
>> {org.apache.hadoop.util.Shell} -  Failed to locate the winutils 
>> binary in the hadoop binary path {org.apache.hadoop.util.Shell}
>> java.io.IOException: Could not locate executable 
>> null\bin\winutils.exe in the Hadoop binaries.
>>
>> TID: [-1234] [] [2015-11-03 18:40:15,960]  INFO 
>> {org.apache.axis2.transport.http.HTTPSender} -  Unable to sendViaPost 
>> to url[https://169.254.56.94:9443/services/AnalyticsWebService]
>> {org.apache.axis2.transport.http.HTTPSender}
>> java.net.SocketTimeoutException: Read timed out
>> at java.net.SocketInputStream.socketRead0(Native Method)
>> at java.net.SocketInputStream.read(SocketInputStream.java:150)
>> at java.net.SocketInputStream.read(SocketInputStream.java:121)
>> at sun.security.ssl.InputRecord.readFully(InputRecord.java:442)
>> at sun.security.ssl.InputRecord.read(InputRecord.java:480)
>> at
>> sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:927)
>> at
>> sun.security.ssl.SSLSocketImpl.readDataRecord(SSLSocketImpl.java:884)
>> at sun.security.ssl.AppInputStream.read(AppInputStream.java:102)
>> at java.io.BufferedInputStream.fill(BufferedInputStream.java:235)
>> at java.io.BufferedInputStream.read(BufferedInputStream.java:254)
>> at
>> org.apache.commons.httpclient.HttpParser.readRawLine(HttpParser.java:78)
>> at
>> org.apache.commons.httpclient.HttpParser.readLine(HttpParser.java:106)
>> at
>> org.apache.commons.httpclient.HttpConnection.readLine(HttpConnection.java:1116)
>> at
>> org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.readLine(MultiThreadedHttpConnectionManager.java:1413)
>> at
>> org.apache.commons.httpclient.HttpMethodBase.readStatusLine(HttpMethodBase.java:1973)
>> at
>> org.apache.commons.httpclient.HttpMethodBase.readResponse(HttpMethodBase.java:1735)
>> at
>> org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:1098)
>> at
>> org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:398)
>> at
>> org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
>> at
>> org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
>> at
>> org.apache.axis2.transport.http.AbstractHTTPSender.executeMethod(AbstractHTTPSender.java:630)
>> at
>> org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:195)
>> at
>> org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:77)

Re: [Dev] WSO2 DAS 3.0.0 issue: failed to get records from table

2015-11-09 Thread Jorge
Hi Niranda, any idea about this issue?

Regards,
   Jorge.

2015-11-03 19:43 GMT-05:00 Jorge <isildur...@gmail.com>:

> Hi Niranda,
> I try with this query:  SELECT COUNT(temp) FROM
> temperaturasfechadesagregada
>
> And the result = 20596
>
> Attached the log with the errors and warnings, the main issues:
>
> The errors:
>
> TID: [-1234] [] [2015-11-03 18:36:55,956] ERROR
> {org.apache.hadoop.util.Shell} -  Failed to locate the winutils binary
> in the hadoop binary path {org.apache.hadoop.util.Shell}
> java.io.IOException: Could not locate executable null\bin\winutils.exe
> in the Hadoop binaries.
>
> TID: [-1234] [] [2015-11-03 18:40:15,960]  INFO
> {org.apache.axis2.transport.http.HTTPSender} -  Unable to sendViaPost
> to url[https://169.254.56.94:9443/services/AnalyticsWebService]
> {org.apache.axis2.transport.http.HTTPSender}
> java.net.SocketTimeoutException: Read timed out
> at java.net.SocketInputStream.socketRead0(Native Method)
> at java.net.SocketInputStream.read(SocketInputStream.java:150)
> at java.net.SocketInputStream.read(SocketInputStream.java:121)
> at sun.security.ssl.InputRecord.readFully(InputRecord.java:442)
> at sun.security.ssl.InputRecord.read(InputRecord.java:480)
> at
> sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:927)
> at
> sun.security.ssl.SSLSocketImpl.readDataRecord(SSLSocketImpl.java:884)
> at sun.security.ssl.AppInputStream.read(AppInputStream.java:102)
> at java.io.BufferedInputStream.fill(BufferedInputStream.java:235)
> at java.io.BufferedInputStream.read(BufferedInputStream.java:254)
> at
> org.apache.commons.httpclient.HttpParser.readRawLine(HttpParser.java:78)
> at
> org.apache.commons.httpclient.HttpParser.readLine(HttpParser.java:106)
> at
> org.apache.commons.httpclient.HttpConnection.readLine(HttpConnection.java:1116)
> at
> org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.readLine(MultiThreadedHttpConnectionManager.java:1413)
> at
> org.apache.commons.httpclient.HttpMethodBase.readStatusLine(HttpMethodBase.java:1973)
> at
> org.apache.commons.httpclient.HttpMethodBase.readResponse(HttpMethodBase.java:1735)
> at
> org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:1098)
> at
> org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:398)
> at
> org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
> at
> org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
> at
> org.apache.axis2.transport.http.AbstractHTTPSender.executeMethod(AbstractHTTPSender.java:630)
> at
> org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:195)
> at
> org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:77)
> at
> org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:451)
> at
> org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:278)
> at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:442)
> at
> org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:430)
> at
> org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:225)
> at
> org.apache.axis2.client.OperationClient.execute(OperationClient.java:149)
> at
> org.wso2.carbon.analytics.webservice.stub.AnalyticsWebServiceStub.getByRange(AnalyticsWebServiceStub.java:1762)
> at
> org.wso2.carbon.analytics.jsservice.AnalyticsWebServiceConnector.getRecordsByRange(AnalyticsWebServiceConnector.java:424)
> at
> org.wso2.carbon.analytics.jsservice.AnalyticsCachedWebServiceConnector.getRecordsByRange(AnalyticsCachedWebServiceConnector.java:101)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:601)
> at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:126)
> at
> org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:225)
> at
> org.mozilla.javascript.optimizer.OptRuntime.callN(OptRuntime.java:52)
> at
> org.jaggeryjs.rhino.portal.controllers.apis.c2._c_anonymous_1(/portal/controllers/apis/analytics.jag:194)
> at
&

Re: [Dev] WSO2 DAS 3.0.0 issue: failed to get records from table

2015-11-03 Thread Jorge
the sizing operation has stopped and the reported cache size is not
accurate. If performance degradation is NOT an issue at the configured
limit, raise the limit value using the CacheManager or Cache
 elements maxDepth attribute. For more information, see
the Ehcache configuration documentation.
{net.sf.ehcache.pool.sizeof.SizeOf}

TID: [-1234] [] [2015-11-03 18:39:44,815]  WARN
{net.sf.ehcache.pool.sizeof.SizeOf} -  The configured limit of 1.000
object references was reached while attempting to calculate the size
of the object graph. This can be avoided by adding stop points with
@IgnoreSizeOf annotations. Since the CacheManger or Cache
 elements maxDepthExceededBehavior is set to "abort",
the sizing operation has stopped and the reported cache size is not
accurate. If performance degradation is NOT an issue at the configured
limit, raise the limit value using the CacheManager or Cache
 elements maxDepth attribute. For more information, see
the Ehcache configuration documentation.
{net.sf.ehcache.pool.sizeof.SizeOf}

TID: [-1234] [] [2015-11-03 18:39:45,077]  WARN
{net.sf.ehcache.pool.sizeof.SizeOf} -  The configured limit of 1.000
object references was reached while attempting to calculate the size
of the object graph. This can be avoided by adding stop points with
@IgnoreSizeOf annotations. Since the CacheManger or Cache
 elements maxDepthExceededBehavior is set to "abort",
the sizing operation has stopped and the reported cache size is not
accurate. If performance degradation is NOT an issue at the configured
limit, raise the limit value using the CacheManager or Cache
 elements maxDepth attribute. For more information, see
the Ehcache configuration documentation.
{net.sf.ehcache.pool.sizeof.SizeOf}

TID: [-1234] [] [2015-11-03 18:39:45,080]  WARN
{net.sf.ehcache.pool.sizeof.SizeOf} -  The configured limit of 1.000
object references was reached while attempting to calculate the size
of the object graph. This can be avoided by adding stop points with
@IgnoreSizeOf annotations. Since the CacheManger or Cache
 elements maxDepthExceededBehavior is set to "abort",
the sizing operation has stopped and the reported cache size is not
accurate. If performance degradation is NOT an issue at the configured
limit, raise the limit value using the CacheManager or Cache
 elements maxDepth attribute. For more information, see
the Ehcache configuration documentation.
{net.sf.ehcache.pool.sizeof.SizeOf}

Thanks,
 Jorge

De: Niranda Perera [mailto:nira...@wso2.com]
Enviado el: sábado, 31 de octubre de 2015 23:49
Para: Jorge <isildur...@gmail.com>
CC: WSO2 Developers' List <dev@wso2.org>
Asunto: Re: [Dev] WSO2 DAS 3.0.0 issue: failed to get records from table

Hi Jorge,

Do you have an idea about how big the 'TEMPERATURAS_FECHA_DESAGREGADA'
table is? the number of rows the table may be?

rgds

On Sun, Nov 1, 2015 at 4:15 AM, Jorge <isildur...@gmail.com> wrote:
Hi all.
I´m facing a issue similar to this one:
http://mail.wso2.org/mailarchive/dev/2015-August/054016.html

I can see the data in my table and when I created the gadget I saw the
data in the preview. but after stored the gadget I try to see the
dashboard and this error appears in DAS console:


[2015-10-31 18:35:47,642] ERROR
{org.wso2.carbon.analytics.jsservice.AnalyticsWebServiceConnector} -
failed to get records from table: 'TEMPERATURAS_FECHA_DESAGREGADA',
Read timed o
ut
org.apache.axis2.AxisFault: Read timed out
at org.apache.axis2.AxisFault.makeFault(AxisFault.java:430)
at 
org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:199)
at org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:77)
at 
org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:451)
at 
org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:278)
at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:442)
at 
org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:430)
at 
org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:225)
at 
org.apache.axis2.client.OperationClient.execute(OperationClient.java:149)
at 
org.wso2.carbon.analytics.webservice.stub.AnalyticsWebServiceStub.getByRange(AnalyticsWebServiceStub.java:1762)
at 
org.wso2.carbon.analytics.jsservice.AnalyticsWebServiceConnector.getRecordsByRange(AnalyticsWebServiceConnector.java:424)
at 
org.wso2.carbon.analytics.jsservice.AnalyticsCachedWebServiceConnector.getRecordsByRange(AnalyticsCachedWebServiceConnector.java:101)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

Re: [Dev] How to download DAS 3.0.0 documentation as PDF or Html.

2015-11-02 Thread Jorge
Hi Rukshani.

It work just fine.

Regards,
   Jorge
El nov 1, 2015 11:44 PM, "Rukshani Weerasinha" <ruksh...@wso2.com> escribió:

> Hello Jorge,
>
> The export permissions are now edited. Can you please try again and let me
> know if you encounter any further issues when exporting documentation?
> Sorry for the inconvenience.
>
> Best Regards,
> Rukshani.
>
> On Fri, Oct 30, 2015 at 9:39 PM, Jorge <isildur...@gmail.com> wrote:
>
>> Thanks Rushani,
>> but still ask me for user/pass and redirect me to this URL:
>>
>> https://docs.wso2.com/login.action?os_destination=%2Fspaces%2Fflyingpdf%2Fflyingpdf.action%3Fkey%3DDAS300
>>
>> Regards,
>>    Jorge.
>>
>> 2015-10-29 22:54 GMT-04:00 Rukshani Weerasinha <ruksh...@wso2.com>:
>>
>>> Hi Jorge,
>>>
>>> Thank you for reporting this. Now I have corrected the download link
>>> provided in the DAS Documentation home page [1].
>>>
>>> [1]
>>> https://docs.wso2.com/display/DAS300/WSO2+Data+Analytics+Server+Documentation
>>>
>>> Best Regards,
>>> Rukshani.
>>>
>>> On Thu, Oct 29, 2015 at 9:21 PM, Lasindu Charith <lasi...@wso2.com>
>>> wrote:
>>>
>>>> + Rukshani
>>>>
>>>> On Thu, Oct 29, 2015 at 8:39 AM, Jorge <isildur...@gmail.com> wrote:
>>>>
>>>>> Hi all.
>>>>> When I try to download the documentation for DAS 3.0.0 I found this
>>>>> link:
>>>>> https://docs.wso2.com/spaces/flyingpdf/flyingpdf.action?key=BAM250
>>>>> if I change BAM250 with DAS300 ask me for user/pass.
>>>>>
>>>>> Thanks,
>>>>> Jorge.
>>>>>
>>>>> ___
>>>>> Dev mailing list
>>>>> Dev@wso2.org
>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> *Lasindu Charith*
>>>> Software Engineer, WSO2 Inc.
>>>> Committer & PMC Member, Apache Stratos
>>>> Mobile: +94714427192 | Web: blog.lasindu.com
>>>>
>>>
>>>
>>>
>>> --
>>> Rukshani Weerasinha
>>>
>>> WSO2 Inc.
>>> Web:http://wso2.com
>>> Mobile: 0777 683 738
>>>
>>>
>>
>
>
> --
> Rukshani Weerasinha
>
> WSO2 Inc.
> Web:http://wso2.com
> Mobile: 0777 683 738
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] WSO2 DAS 3.0.0 Cluster Documentation.

2015-11-01 Thread Jorge
Hi folks,
in WSO2 DAS 3.0.0 Documentation, in  [1] we can find this:

*
Fully Distributed High Availability Deployment


The contents of this section are still a work in progress as the WSO2 Data
Analytics Server is yet to be released.
*

WSO2 DAS 3.0.0 version has been released and that part of the documentation
remains outdated.

[1]
https://docs.wso2.com/display/CLUSTER44x/Fully+Distributed+High+Availability+Deployment
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] WSO2 DAS 3.0.0 issue: failed to get records from table

2015-10-31 Thread Jorge
Hi all.
I´m facing a issue similar to this one:
http://mail.wso2.org/mailarchive/dev/2015-August/054016.html

I can see the data in my table and when I created the gadget I saw the data
in the preview. but after stored the gadget I try to see the dashboard and
this error appears in DAS console:


[2015-10-31 18:35:47,642] ERROR
{org.wso2.carbon.analytics.jsservice.AnalyticsWebServiceConnector} -
 failed to get records from table: 'TEMPERATURAS_FECHA_DESAGREGADA', Read
timed o
ut
org.apache.axis2.AxisFault: Read timed out
at org.apache.axis2.AxisFault.makeFault(AxisFault.java:430)
at
org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:199)
at
org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:77)
at
org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:451)
at
org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:278)
at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:442)
at
org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:430)
at
org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:225)
at
org.apache.axis2.client.OperationClient.execute(OperationClient.java:149)
at
org.wso2.carbon.analytics.webservice.stub.AnalyticsWebServiceStub.getByRange(AnalyticsWebServiceStub.java:1762)
at
org.wso2.carbon.analytics.jsservice.AnalyticsWebServiceConnector.getRecordsByRange(AnalyticsWebServiceConnector.java:424)
at
org.wso2.carbon.analytics.jsservice.AnalyticsCachedWebServiceConnector.getRecordsByRange(AnalyticsCachedWebServiceConnector.java:101)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:126)
at
org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:225)
at
org.mozilla.javascript.optimizer.OptRuntime.callN(OptRuntime.java:52)
at
org.jaggeryjs.rhino.portal.controllers.apis.c1._c_anonymous_1(/portal/controllers/apis/analytics.jag:194)
at
org.jaggeryjs.rhino.portal.controllers.apis.c1.call(/portal/controllers/apis/analytics.jag)
at
org.mozilla.javascript.optimizer.OptRuntime.call0(OptRuntime.java:23)
at
org.jaggeryjs.rhino.portal.controllers.apis.c1._c_script_0(/portal/controllers/apis/analytics.jag:2)
at
org.jaggeryjs.rhino.portal.controllers.apis.c1.call(/portal/controllers/apis/analytics.jag)
at
org.jaggeryjs.rhino.portal.controllers.apis.c1.exec(/portal/controllers/apis/analytics.jag)
at
org.jaggeryjs.scriptengine.engine.RhinoEngine.execScript(RhinoEngine.java:567)
at
org.jaggeryjs.scriptengine.engine.RhinoEngine.exec(RhinoEngine.java:273)
at
org.jaggeryjs.jaggery.core.manager.WebAppManager.executeScript(WebAppManager.java:308)
at
org.jaggeryjs.jaggery.core.manager.WebAppManager.include(WebAppManager.java:148)
at sun.reflect.GeneratedMethodAccessor58.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:126)
at
org.mozilla.javascript.FunctionObject.call(FunctionObject.java:386)
at
org.mozilla.javascript.optimizer.OptRuntime.callName(OptRuntime.java:63)
at
org.jaggeryjs.rhino.portal.routers.c2._c_anonymous_1(/portal/routers/apis.jag:22)
at
org.jaggeryjs.rhino.portal.routers.c2.call(/portal/routers/apis.jag)
at
org.mozilla.javascript.optimizer.OptRuntime.call0(OptRuntime.java:23)
at
org.jaggeryjs.rhino.portal.routers.c2._c_script_0(/portal/routers/apis.jag:4)
at
org.jaggeryjs.rhino.portal.routers.c2.call(/portal/routers/apis.jag)
at
org.jaggeryjs.rhino.portal.routers.c2.exec(/portal/routers/apis.jag)
at
org.jaggeryjs.scriptengine.engine.RhinoEngine.execScript(RhinoEngine.java:567)
at
org.jaggeryjs.scriptengine.engine.RhinoEngine.exec(RhinoEngine.java:273)
at
org.jaggeryjs.jaggery.core.manager.WebAppManager.executeScript(WebAppManager.java:308)
at
org.jaggeryjs.jaggery.core.manager.WebAppManager.include(WebAppManager.java:148)
at sun.reflect.GeneratedMethodAccessor58.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:126)
at

Re: [Dev] How to download DAS 3.0.0 documentation as PDF or Html.

2015-10-30 Thread Jorge
Thanks Rushani,
but still ask me for user/pass and redirect me to this URL:
https://docs.wso2.com/login.action?os_destination=%2Fspaces%2Fflyingpdf%2Fflyingpdf.action%3Fkey%3DDAS300

Regards,
   Jorge.

2015-10-29 22:54 GMT-04:00 Rukshani Weerasinha <ruksh...@wso2.com>:

> Hi Jorge,
>
> Thank you for reporting this. Now I have corrected the download link
> provided in the DAS Documentation home page [1].
>
> [1]
> https://docs.wso2.com/display/DAS300/WSO2+Data+Analytics+Server+Documentation
>
> Best Regards,
> Rukshani.
>
> On Thu, Oct 29, 2015 at 9:21 PM, Lasindu Charith <lasi...@wso2.com> wrote:
>
>> + Rukshani
>>
>> On Thu, Oct 29, 2015 at 8:39 AM, Jorge <isildur...@gmail.com> wrote:
>>
>>> Hi all.
>>> When I try to download the documentation for DAS 3.0.0 I found this
>>> link: https://docs.wso2.com/spaces/flyingpdf/flyingpdf.action?key=BAM250
>>> if I change BAM250 with DAS300 ask me for user/pass.
>>>
>>> Thanks,
>>> Jorge.
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> *Lasindu Charith*
>> Software Engineer, WSO2 Inc.
>> Committer & PMC Member, Apache Stratos
>> Mobile: +94714427192 | Web: blog.lasindu.com
>>
>
>
>
> --
> Rukshani Weerasinha
>
> WSO2 Inc.
> Web:http://wso2.com
> Mobile: 0777 683 738
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] How to download DAS 3.0.0 documentation as PDF or Html.

2015-10-29 Thread Jorge
Hi all.
When I try to download the documentation for DAS 3.0.0 I found this link:
https://docs.wso2.com/spaces/flyingpdf/flyingpdf.action?key=BAM250
if I change BAM250 with DAS300 ask me for user/pass.

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


[Dev] BAM Cluster. Need some guide.

2015-10-25 Thread Jorge
Hi all.
I setup the Hadoop and Cassandra clusters without problem, now I´m
configuring the BAM Cluster and I have some questions in:

http://stackoverflow.com/questions/33203792/wso2-bam-cluster

Any help?

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


[Dev] About process for creating a sequence and store in registry

2015-09-22 Thread Jorge
Hi folks.

In WSO2 ESB 4.9.0 I try the following:

   1. Copy from an older ESB version a sequence.
   2. Go to WSO2 ESB 4.9.0, clic in Sequences menu, clic en Add Sequences
   and then clic in switch to source view
   
<https://localhost:9444/carbon/sequences/design_sequence.jsp?sequenceAction=add#>
   3. Paste the XML with the mediator defined for the sequence.
   4. Clic Save in Registry.
   5. Select Governance Registry and put this entry sequencev6/testsequence
   6. Clic Save and Close

At this point the sequence was stored as this:

http://ws.apache.org/ns/synapse"/>


The work around was after point 3 clic in switch to design view
<https://localhost:9444/carbon/sequences/source_sequence.jsp?ordinal=1=gov:sequencev6/testsequence==#>
and
then proceed to point 4.
No validation or information to the user with an alert for this issue.

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


[Dev] Log Error with SolrClient when parsing date

2015-09-14 Thread Jorge
4 10:46:34,255] ERROR
{org.wso2.carbon.registry.indexing.solr.SolrClient} -  Error when passing
date to create solr date format.java.text.ParseException: Unparseable date:
"Mon Sep 14 10:45:53 EDT 2015"
[2015-09-14 10:46:34,253] ERROR
{org.wso2.carbon.registry.indexing.solr.SolrClient} -  Error when passing
date to create solr date format.java.text.ParseException: Unparseable date:
"Mon Sep 14 10:45:53 EDT 2015"
[2015-09-14 10:46:34,252] ERROR
{org.wso2.carbon.registry.indexing.solr.SolrClient} -  Error when passing
date to create solr date format.java.text.ParseException: Unparseable date:
"Mon Sep 14 10:45:53 EDT 2015"
[2015-09-14 10:46:34,252] ERROR
{org.wso2.carbon.registry.indexing.solr.SolrClient} -  Error when passing
date to create solr date format.java.text.ParseException: Unparseable date:
"Mon Sep 14 10:45:53 EDT 2015"
[2015-09-14 10:46:34,252] ERROR
{org.wso2.carbon.registry.indexing.solr.SolrClient} -  Error when passing
date to create solr date format.java.text.ParseException: Unparseable date:
"Mon Sep 14 10:45:53 EDT 2015"
[2015-09-14 10:46:34,251] ERROR
{org.wso2.carbon.registry.indexing.solr.SolrClient} -  Error when passing
date to create solr date format.java.text.ParseException: Unparseable date:
"Mon Sep 14 10:45:53 EDT 2015"
[2015-09-14 10:46:34,251] ERROR
{org.wso2.carbon.registry.indexing.solr.SolrClient} -  Error when passing
date to create solr date format.java.text.ParseException: Unparseable date:
"Mon Sep 14 10:45:53 EDT 2015"
[2015-09-14 10:46:34,250] ERROR
{org.wso2.carbon.registry.indexing.solr.SolrClient} -  Error when passing
date to create solr date format.java.text.ParseException: Unparseable date:
"Mon Sep 14 10:45:53 EDT 2015"
[2015-09-14 10:46:34,250] ERROR
{org.wso2.carbon.registry.indexing.solr.SolrClient} -  Error when passing
date to create solr date format.java.text.ParseException: Unparseable date:
"Mon Sep 14 10:45:53 EDT 2015"
[2015-09-14 10:46:34,250] ERROR
{org.wso2.carbon.registry.indexing.solr.SolrClient} -  Error when passing
date to create solr date format.java.text.ParseException: Unparseable date:
"Mon Sep 14 10:45:53 EDT 2015"
[2015-09-14 10:46:34,249] ERROR
{org.wso2.carbon.registry.indexing.solr.SolrClient} -  Error when passing
date to create solr date format.java.text.ParseException: Unparseable date:
"Mon Sep 14 10:45:53 EDT 2015"
[2015-09-14 10:46:34,249] ERROR
{org.wso2.carbon.registry.indexing.solr.SolrClient} -  Error when passing
date to create solr date format.java.text.ParseException: Unparseable date:
"Mon Sep 14 10:45:53 EDT 2015"
[2015-09-14 10:46:34,278] ERROR
{org.wso2.carbon.registry.indexing.solr.SolrClient} -  Error when passing
date to create solr date format.java.text.ParseException: Unparseable date:
"Mon Sep 14 10:45:53 EDT 2015"
[2015-09-14 10:46:34,273] ERROR
{org.wso2.carbon.registry.indexing.solr.SolrClient} -  Error when passing
date to create solr date format.java.text.ParseException: Unparseable date:
"Mon Sep 14 10:45:53 EDT 2015"
[2015-09-14 10:46:34,272] ERROR
{org.wso2.carbon.registry.indexing.solr.SolrClient} -  Error when passing
date to create solr date format.java.text.ParseException: Unparseable date:
"Mon Sep 14 10:45:53 EDT 2015"
[2015-09-14 10:46:34,270] ERROR
{org.wso2.carbon.registry.indexing.solr.SolrClient} -  Error when passing
date to create solr date format.java.text.ParseException: Unparseable date:
"Mon Sep 14 10:45:53 EDT 2015"
[2015-09-14 10:46:34,269] ERROR
{org.wso2.carbon.registry.indexing.solr.SolrClient} -  Error when passing
date to create solr date format.java.text.ParseException: Unparseable date:
"Mon Sep 14 10:45:53 EDT 2015"
[2015-09-14 10:46:34,263] ERROR
{org.wso2.carbon.registry.indexing.solr.SolrClient} -  Error when passing
date to create solr date format.java.text.ParseException: Unparseable date:
"Mon Sep 14 10:45:53 EDT 2015"
[2015-09-14 10:46:34,261] ERROR
{org.wso2.carbon.registry.indexing.solr.SolrClient} -  Error when passing
date to create solr date format.java.text.ParseException: Unparseable date:
"Mon Sep 14 10:45:53 EDT 2015"
[2015-09-14 10:46:34,261] ERROR
{org.wso2.carbon.registry.indexing.solr.SolrClient} -  Error when passing
date to create solr date format.java.text.ParseException: Unparseable date:
"Mon Sep 14 10:45:53 EDT 2015"
[2015-09-14 10:46:34,261] ERROR
{org.wso2.carbon.registry.indexing.solr.SolrClient} -  Error when passing
date to create solr date format.java.text.ParseException: Unparseable date:
"Mon Sep 14 10:45:53 EDT 2015"
[2015-09-14 10:46:34,260] ERROR
{org.wso2.carbon.registry.indexing.solr.SolrClient} -  Error when passing
date to create solr date format.java.text.ParseException: Unparseable date:
"Mon Sep 14 10:45:53 EDT 2015"
[2015-09-14 10:46:34,260] ERROR
{org.wso2.carbon.registry.indexing.solr.SolrClient} -  Error when pa

Re: [Dev] Extract year from timestamp with Spark in DAS 3.0.0

2015-09-11 Thread Jorge
the question in SO:
http://stackoverflow.com/questions/32531169/extract-year-from-timestamp-with-spark-sql-in-wso2-das

Jorge.

2015-09-10 12:32 GMT-04:00 Jorge <isildur...@gmail.com>:

> Hi folks,
>
> In my hive scripts if I want to extract the year from timestamp I used
> this:
>
> year(from_unixtime(cast(payload_fecha/1000 as BIGINT),'-MM-dd
> HH:mm:ss.SSS' )) as year
>
> now I testing the new DAS snapshot and I want to do the same but I cannot
> use *from_unixtime*.
> So how can I do the same in spark SQL?
>
> Regards,
>Jorge.
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Extract year from timestamp with Spark in DAS 3.0.0

2015-09-10 Thread Jorge
Hi folks,

In my hive scripts if I want to extract the year from timestamp I used this:

year(from_unixtime(cast(payload_fecha/1000 as BIGINT),'-MM-dd
HH:mm:ss.SSS' )) as year

now I testing the new DAS snapshot and I want to do the same but I cannot
use *from_unixtime*.
So how can I do the same in spark SQL?

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


[Dev] DSS return array of UDT.

2015-09-09 Thread Jorge
Hi folks, any advice in this:

http://stackoverflow.com/questions/32443270/call-a-procedure-or-funcion-in-oracle-db-with-return-array-of-udt-from-wso2-ds/

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


Re: [Dev] Downloadin wso2 product with ERROR 403: Forbidden.

2015-09-05 Thread Jorge Infante
Hi Nirmal.

So I cannot use a plugin in Firefox like DownThemAll to download your product 
after get the download url from your page? I try this right now and the 403 
error appear.

 

Jorge.

 

 

De: Nirmal Fernando [mailto:nir...@wso2.com] 
Enviado el: sábado, 5 de septiembre de 2015 11:01
Para: Jorge <isildur...@gmail.com>
CC: WSO2 Developers' List <dev@wso2.org>
Asunto: Re: [Dev] Downloadin wso2 product with ERROR 403: Forbidden.

 

Hi Jorge,

 

You have to download the product via wso2.com <http://wso2.com>  website. 

 

On Sat, Sep 5, 2015 at 8:14 PM, Jorge <isildur...@gmail.com 
<mailto:isildur...@gmail.com> > wrote:

Hi folks,

When I try to download any wso2 product I find this error:

 

 

Resolving product-dist.wso2.com <http://product-dist.wso2.com>  
(product-dist.wso2.com <http://product-dist.wso2.com> )... 204.232.230.14

Connecting to product-dist.wso2.com <http://product-dist.wso2.com>  
(product-dist.wso2.com <http://product-dist.wso2.com> )|204.232.230.14|:80... 
connected.

HTTP request sent, awaiting response... 403 Forbidden

ERROR 403: Forbidden.

 

Thanks,

 Jorge.

 


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





 

-- 


Thanks & regards,
Nirmal

Team Lead - WSO2 Machine Learner
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] Downloadin wso2 product with ERROR 403: Forbidden.

2015-09-05 Thread Jorge
Hi folks,
When I try to download any wso2 product I find this error:


Resolving product-dist.wso2.com (product-dist.wso2.com)... 204.232.230.14
Connecting to product-dist.wso2.com
(product-dist.wso2.com)|204.232.230.14|:80...
connected.
HTTP request sent, awaiting response... 403 Forbidden
ERROR 403: Forbidden.

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


Re: [Dev] About boxcarring and set-cookie issue.

2015-04-07 Thread Jorge Infante
Hi Harsha,

Using DSS 3.2.2 it work fine but when I try with a java client I noted the 
following:

 

1.   Using the stub generated by the WSO2 Developer Studio with the 
WSDL created by the DSS does not work. I´ve got an error making the call to 
begin boxcarring, the java client expected some response data, as I can see in 
the stub class, but nothing is returned. 

2.   To overcome the issue in point 1 I used the WSDL generated by WSO2 
5.2.1 for the same service, then I generated the stub and my java client worked 
fine, using the data service deployed in WSO2 DSS, of course.

3.   When all my BE are fine and online it work just fine, If an error 
occurs, because of an offline DB, I´ve got a DataServiceFault as I expected, 
see [1], but with an error during the response processing, see [2].

 

[1] axis2ns20:DataServiceFault 
xmlns:axis2ns20=http://ws.wso2.org/dataservice;axis2ns20:current_params{numerocell=53242123}/axis2ns20:current_paramsaxis2ns20:current_request_nameobtenerUsuarioSaldotest3/axis2ns20:current_request_nameaxis2ns20:nested_exceptionDS
 Fault Message: Error in opening DBMS connection.

DS Code: UNKNOWN_ERROR

Nested Exception:-

com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link 
failure

 

Last packet sent to the server was 0 ms ago.

/axis2ns20:nested_exceptionaxis2ns20:source_data_serviceaxis2ns20:location\TransferenciaTest-1.0.0.dbs/axis2ns20:locationaxis2ns20:default_namespacehttp://jorgesoftdevelop.com/test/axis2ns20:default_namespaceaxis2ns20:description/axis2ns20:data_service_nameTransferenciaTest/axis2ns20:data_service_name/axis2ns20:source_data_serviceaxis2ns20:ds_codeDATABASE_ERROR/axis2ns20:ds_code/axis2ns20:DataServiceFault

 

 

 

[2] org.apache.axis2.AxisFault: javax.xml.stream.XMLStreamException: element 
text content may not contain START_ELEMENT

   at org.apache.axis2.AxisFault.makeFault(AxisFault.java:430)

   at 
com.jorgesoftdevelop.test.TransferenciaTestStub.fromOM(TransferenciaTestStub.java:7700)

   at 
com.jorgesoftdevelop.test.TransferenciaTestStub.obtenerUsuarioSaldotest3(TransferenciaTestStub.java:846)

   at com.jorgesoftdevelop.test.ClienteWS.main(ClienteWS.java:52)

Caused by: java.lang.Exception: javax.xml.stream.XMLStreamException: element 
text content may not contain START_ELEMENT

   at 
com.jorgesoftdevelop.test.TransferenciaTestStub$DataServiceFault$Factory.parse(TransferenciaTestStub.java:6013)

   at 
com.jorgesoftdevelop.test.TransferenciaTestStub.fromOM(TransferenciaTestStub.java:7638)

   ... 2 more

Caused by: javax.xml.stream.XMLStreamException: element text content may not 
contain START_ELEMENT

   at 
org.apache.axiom.om.impl.SwitchingWrapper.getElementText(SwitchingWrapper.java:990)

   at 
javax.xml.stream.util.StreamReaderDelegate.getElementText(Unknown Source)

   at 
com.jorgesoftdevelop.test.TransferenciaTestStub$DataServiceFault$Factory.parse(TransferenciaTestStub.java:5992)

   ... 3 more

 

 

Any idea?

 

Jorge.

 

 

De: Harsha Kumara [mailto:hars...@wso2.com] 
Enviado el: miércoles, 1 de abril de 2015 3:49
Para: Jorge
CC: WSO2 Developers' List
Asunto: Re: [Dev] About boxcarring and set-cookie issue.

 

Hi Jorge,

 

There was some fixes went for the the data services components which is 
available in DSS 3.2.2 release to support box caring with ESB. AS 5.2.1 does 
not contain those fixes. You may try this with the DSS 3.2.2. You can follow 
the steps mentioned in [1]. 

 

[1] -  
http://harshcreationz.blogspot.com/2015/02/boxcarring-sample-with-wso2-dss-and.html
 
http://harshcreationz.blogspot.com/2015/02/boxcarring-sample-with-wso2-dss-and.html

 

Thanks,

Harsha

 

On Wed, Apr 1, 2015 at 12:44 AM, Jorge  mailto:isildur...@gmail.com 
isildur...@gmail.com wrote:

In my dataservice the begin_boxcar has only only an input message, without and 
output message.

 

porttype:

wsdl:operation name=begin_boxcarwsdl:documentationControl operation for 
beginning a boxcarring session/wsdl:documentationwsdl:input 
message=ns0:begin_boxcarRequest 
wsaw:Action=urn:begin_boxcar//wsdl:operation

 

binding:

wsdl:operation name=begin_boxcarsoap:operation 
soapAction=urn:begin_boxcar style=document/wsdl:inputsoap:body 
use=literal//wsdl:input/wsdl:operation

 

Without the property name=OUT_ONLY value=true scope=default 
type=STRING description=solo salida/ the proxy raise several error in 
console.

 

Jorge.

 

2015-03-31 14:37 GMT-04:00 Harsha Kumara  mailto:hars...@wso2.com 
hars...@wso2.com:

 

Hi Jorge,

 

I'm not sure this is because you have call the begin_boxcar operation as out 
only operation. Just remove it and try. Also you can find complete working 
scenario in [1].

 

[1] -  
http://harshcreationz.blogspot.com/2015/02/boxcarring-sample-with-wso2-dss-and.html
 
http://harshcreationz.blogspot.com/2015/02/boxcarring-sample-with-wso2

Re: [Dev] About boxcarring and set-cookie issue.

2015-03-31 Thread Jorge
In my dataservice the begin_boxcar has only only an input message, without
and output message.

porttype:
wsdl:operation name=begin_boxcarwsdl:documentationControl operation
for beginning a boxcarring session/wsdl:documentationwsdl:input
message=ns0:begin_boxcarRequest
wsaw:Action=urn:begin_boxcar//wsdl:operation

binding:
wsdl:operation name=begin_boxcarsoap:operation
soapAction=urn:begin_boxcar style=document/wsdl:inputsoap:body
use=literal//wsdl:input/wsdl:operation

Without the property name=OUT_ONLY value=true scope=default
type=STRING description=solo salida/ the proxy raise several error in
console.

Jorge.

2015-03-31 14:37 GMT-04:00 Harsha Kumara hars...@wso2.com:

 Hi Jorge,

 I'm not sure this is because you have call the begin_boxcar operation as
 out only operation. Just remove it and try. Also you can find complete
 working scenario in [1].

 [1] -
 http://harshcreationz.blogspot.com/2015/02/boxcarring-sample-with-wso2-dss-and.html

 Thanks,
 Harsha

 On Tue, Mar 31, 2015 at 11:44 PM, Jorge isildur...@gmail.com wrote:

 Hi all.

 I call a begin boxcarring operation in a dataservice deployed in WSO2 AS
 5.2.1 using this config in a proxy service deployed in ESB 4.8.1

  header name=Action value=urn:begin_boxcar/
  payloadFactory media-type=xml
 format
soapenv:Envelope
 xmlns:soapenv=http://www.w3.org/2003/05/soap-envelope
 http://www.google.com/url?q=http%3A%2F%2Fwww.w3.org%2F2003%2F05%2Fsoap-envelopesa=Dsntz=1usg=AFQjCNGfMX1ZVGPTZcRDvsElhc17DotqKg
 
   soapenv:Body
  ns1:begin_boxcar xmlns:ns1=
 http://jorgesoftdevelop.org
 http://www.google.com/url?q=http%3A%2F%2Fjorgesoftdevelop.orgsa=Dsntz=1usg=AFQjCNFnuP-gyDwMY1qSC23cC9vgQzFpcg
 /
   /soapenv:Body
/soapenv:Envelope
 /format
 args/
  /payloadFactory
  property name=OUT_ONLY value=true scope=default
 type=STRING/
  call
 endpoint
address
 uri=http://localhost:/services/ActualizarUsuariosBloqueados/
 http://www.google.com/url?q=http%3A%2F%2Flocalhost%3A%2Fservices%2FActualizarUsuariosBloqueados%2Fsa=Dsntz=1usg=AFQjCNFsi_lEOtKcR8fr6iiQMnOPFgiRcw
 /
 /endpoint
  /call

 And I can see the response using tcpmon:

 HTTP/1.1 202 Accepted
 Set-Cookie: JSESSIONID=2D2B1404523D0233E2B445E1BC315F7A; Path=/; HttpOnly
 Content-Type: text/xml;charset=UTF-8
 Transfer-Encoding: chunked
 Date: Sat, 28 Mar 2015 07:03:23 GMT
 Server: WSO2 Carbon Server


 When I try to get the Set-Cookie value using this property:
  property name=setCookieHeader expression=$trp:Set-Cookie/

 I receive a null value.

 Any idea?

 Regards,
   Jorge.

 ___
 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


[Dev] About boxcarring and set-cookie issue.

2015-03-31 Thread Jorge
Hi all.

I call a begin boxcarring operation in a dataservice deployed in WSO2 AS
5.2.1 using this config in a proxy service deployed in ESB 4.8.1

 header name=Action value=urn:begin_boxcar/
 payloadFactory media-type=xml
format
   soapenv:Envelope
xmlns:soapenv=http://www.w3.org/2003/05/soap-envelope
http://www.google.com/url?q=http%3A%2F%2Fwww.w3.org%2F2003%2F05%2Fsoap-envelopesa=Dsntz=1usg=AFQjCNGfMX1ZVGPTZcRDvsElhc17DotqKg

  soapenv:Body
 ns1:begin_boxcar xmlns:ns1=
http://jorgesoftdevelop.org
http://www.google.com/url?q=http%3A%2F%2Fjorgesoftdevelop.orgsa=Dsntz=1usg=AFQjCNFnuP-gyDwMY1qSC23cC9vgQzFpcg
/
  /soapenv:Body
   /soapenv:Envelope
/format
args/
 /payloadFactory
 property name=OUT_ONLY value=true scope=default
type=STRING/
 call
endpoint
   address
uri=http://localhost:/services/ActualizarUsuariosBloqueados/
http://www.google.com/url?q=http%3A%2F%2Flocalhost%3A%2Fservices%2FActualizarUsuariosBloqueados%2Fsa=Dsntz=1usg=AFQjCNFsi_lEOtKcR8fr6iiQMnOPFgiRcw
/
/endpoint
 /call

And I can see the response using tcpmon:

HTTP/1.1 202 Accepted
Set-Cookie: JSESSIONID=2D2B1404523D0233E2B445E1BC315F7A; Path=/; HttpOnly
Content-Type: text/xml;charset=UTF-8
Transfer-Encoding: chunked
Date: Sat, 28 Mar 2015 07:03:23 GMT
Server: WSO2 Carbon Server


When I try to get the Set-Cookie value using this property:
 property name=setCookieHeader expression=$trp:Set-Cookie/

I receive a null value.

Any idea?

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


[Dev] Combining Iterate/Aggregator and XSLT mediator inside WSO2 ESB not work like expected

2014-10-01 Thread Jorge Infante

Hi all.

Anyone can check this issue: 
http://stackoverflow.com/questions/26082396/combining-iterate-aggregator-and-xslt-mediator-inside-wso2-esb-not-work-like-exp


thanks.


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


[Dev] Combining Iterate/Aggregator and XSLT mediator inside WSO2 ESB not work like expected

2014-09-28 Thread Jorge Infante

Hi all.

anyone can check this issue:

http://stackoverflow.com/questions/26082396/combining-iterate-aggregator-and-xslt-mediator-inside-wso2-esb-not-work-like-exp 



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


Re: [Dev] How to assemble multiple services into a single service

2014-04-27 Thread Jorge Infante Osorio
Hi Steve, I think that you could use a service chaining scenario in the ESB 
using sequences to invoque a service per sequence. something like this: 
http://desarrollosoa.blogspot.com/2014/03/introduccion-al-esb-de-wso2-traves-de_3.html
 

Jorge. 

- Mensaje original -

De: stevegyc steve...@163.com 
Para: dev dev@wso2.org 
Enviados: Domingo, 27 de Abril 2014 10:20:33 
Asunto: [Dev] How to assemble multiple services into a single service 

Hi: 



I have created 3 data services, and I also created a business process to invoke 
these 3 data services in order. 
Later, I found these 3 services are always used together, and I think it is 
better to find a way assemble these three services to one service, 
so they can more easily get to be invoked by other processes. 
I do not know how to do it. 
I have tried to create a specific process to include these 3 services, so other 
process can only invoke this specific process, but it does not work! 
Does anyone know how to do? 




stevegyc 

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



I Conferencia Científica Internacional UCIENCIA 2014 en la UCI del 24 al 26 de 
abril de 2014, La Habana, Cuba. Ver http://uciencia.uci.cu___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [IS]What is the difference between Identity Server and CAS.

2014-03-21 Thread Jorge Infante Osorio
I also work with CAS in the pass, and as I see the WSO2 IS have more features 
than CAS, not related to SSO, for example the auth stuff with XACML and the 
identity provisioning. 
CAS have more SSO client for different technologies, and also it´s more used 
for SSO, for example liferay portal have a CAS client embebed so you just need 
to configure this client to use CAS for SSO. 

In the SSO aspect at least in my scenarios I can use CAS or WSO2 IS for SSO 
with SAML2, due to both tools have the same requirements that I need, and also 
I can use WSO2 IS for anothers scenarios so I preferred the IS. 

Now I for SSO use just WSO2 IS as you can see in [1] and [2] with excellent 
results. 

[1] 
http://desarrollosoa.blogspot.com/2014/03/wso2-como-proveedor-de-sso-en-la.html 
[2] 
http://desarrollosoa.blogspot.com/2014/03/wso2-identity-server-como-proveedor-de.html
 

Regards. 
- Mensaje original -

De: stevegyc steve...@163.com 
Para: dev dev@wso2.org 
Enviados: Viernes, 21 de Marzo 2014 4:47:47 
Asunto: [Dev] [IS]What is the difference between Identity Server and CAS. 

Hi: 
Recently I learned about Identity server, it seems it can cover all the 
functions of CAS(Central Authentication Service) which I am familiar with. 
I have the following 3 questions: 
1. what is the difference between Identity server and CAS? 
2. Can Identity server and CAS work together in one system in order to use 
their respective advantages. 
3. Can we really only use Identity server instead of using Identity server and 
CAS? 

stevegyc 

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



I Conferencia Científica Internacional UCIENCIA 2014 en la UCI del 24 al 26 de 
abril de 2014, La Habana, Cuba. Ver http://uciencia.uci.cu

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


Re: [Dev] Combining WSO2 ESB with WSO2 AS

2014-02-17 Thread Jorge Infante Osorio
Hi all.

 

I also see that the service publisher to BAM is missing:

 



 

Jorge.

 

De: dev-boun...@wso2.org [mailto:dev-boun...@wso2.org] En nombre de Dimuthu
Upeksha
Enviado el: domingo, 16 de febrero de 2014 13:45
Para: Udara Liyanage
CC: WSO2 Developers' List
Asunto: Re: [Dev] Combining WSO2 ESB with WSO2 AS

 

Hi,

As Mohan mentioned there is a problem with installing SSO in AS 5.2.1 with
ESB 4.8.1 here is the message

 

Your original install request has been modified.
org.wso2.carbon.logging.mgt.feature.group-4.2.1 is already installed, so an
update will be performed instead.
org.wso2.carbon.registry.resource.properties.feature.group-4.2.0 is already
installed, so an update will be performed instead.
org.wso2.carbon.ndatasource.ui.feature.group-4.2.0 is already installed, so
an update will be performed instead.
org.wso2.carbon.ndatasource.feature.group-4.2.0 is already installed, so an
update will be performed instead. Cannot complete the install because of a
conflicting dependency. Software being installed: SAML2 based Single Sign-On
authenticator Feature 4.2.2
(org.wso2.carbon.identity.authenticator.saml2.sso.feature.group 4.2.2)
Software currently installed: SAML2 based authenticator UI Feature 4.2.1
(org.wso2.carbon.identity.authenticator.saml2.sso.ui.feature.group 4.2.1)
Only one of the following can be installed at once: SAML2 based
authenticator UI Feature 4.2.2
(org.wso2.carbon.identity.authenticator.saml2.sso.ui.feature.jar 4.2.2)
SAML2 based authenticator UI Feature 4.2.1
(org.wso2.carbon.identity.authenticator.saml2.sso.ui.feature.jar 4.2.1)
SAML2 based authenticator UI Feature 4.2.0
(org.wso2.carbon.identity.authenticator.saml2.sso.ui.feature.jar 4.2.0)
Cannot satisfy dependency: From: SAML2 based Single Sign-On authenticator
Feature 4.2.2
(org.wso2.carbon.identity.authenticator.saml2.sso.feature.group 4.2.2) To:
org.wso2.carbon.identity.authenticator.saml2.sso.ui.feature.group [4.2.2]
Cannot satisfy dependency: From: SAML2 based authenticator UI Feature 4.2.1
(org.wso2.carbon.identity.authenticator.saml2.sso.ui.feature.group 4.2.1)
To: org.wso2.carbon.identity.authenticator.saml2.sso.ui.feature.jar [4.2.1]
Cannot satisfy dependency: From: SAML2 based authenticator UI Feature 4.2.2
(org.wso2.carbon.identity.authenticator.saml2.sso.ui.feature.group 4.2.2)
To: org.wso2.carbon.identity.authenticator.saml2.sso.ui.feature.jar [4.2.2]

 

Other than that. It works fine.

 

Thanks

Dimuthu

 

On Sun, Feb 16, 2014 at 3:45 PM, Udara Liyanage ud...@wso2.com wrote:

Hi,

[1] is a article that describe how to install features. However since you
try to install I think you already know it.You can find the appropriate p2
repo from the release matrix [1]. 
However as Mohan mentioned sometimes I have faced issues after installing
features. Try and report the issues you face.

[1] http://wso2.com/products/carbon/release-matrix/
[2] http://docs.wso2.org/display/Carbon401/Installing+Features

Touched, not typed. Erroneous words are a feature, not a typo.





 

-- 

Dimuthu Upeksha

Engineering Intern

WSO2 inc.



III Escuela Internacional de Invierno en la UCI del 17 al 28 de febrero del 
2014. Ver www.uci.cuimage001.png___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] AS web app statistics toolBox should hosted on a public location

2013-12-06 Thread Jorge Infante Osorio
Also in wso2bam-2.4.0\samples\ I cannot find an example with webapp stats
monitoring.


Saludos,
Ing. Jorge Infante Osorio.
CDAE.
Fac. 5.
UCI.
“En un mundo perfecto las pizzas serían una comida saludable, las laptops se
cargarían desde una fuente de corriente inalámbrica y todos los JAR serían
bundles de OSGI. Pero en nuestro mundo los empleados trabajan lo
suficientemente arduo como para que no los despidan, y los dueños pagan
apenas lo suficiente como para que los empleados no renuncien”

De: dev-boun...@wso2.org [mailto:dev-boun...@wso2.org] En nombre de Geeth
Munasinghe
Enviado el: viernes, 06 de diciembre de 2013 10:21
Para: Sagara Gunathunga
CC: WSO2 Developers' List
Asunto: Re: [Dev] AS web app statistics toolBox should hosted on a public
location

Hi,
WebApps_Stats_Monitoring.tbox is available in latest BAM (2.4.0) release.
Not available toolbox page. 

+1, We need to add this to BAM toolboxes page too.

Thanks
Geeth


G. K. S. Munasinghe
Software Engineer,
WSO2, Inc. http://wso2.com 
lean.enterprise.middleware.

email: ge...@wso2.com 
phone:(+94) 777911226

On Fri, Dec 6, 2013 at 5:19 AM, Sagara Gunathunga sag...@wso2.com wrote:


On Fri, Dec 6, 2013 at 4:26 AM, Kasun Gajasinghe kas...@wso2.com wrote:
It better go in the BAM toolboxes page since that's where all the toolboxes
are kept. For example, the Mediation Statistics Monitoring which is solely
used by ESB is placed there, and also the other toolboxes like Service Stats
Monitoring toolbox which can be used for several products. In the end, the
toolboxes are deployed in to BAM anyway. 

+1 We don't need to host toolboxes in several places,  BAM toolboxes page
should be home for this too. 

Geeth, can you send a link for the released toolbox. I can't seem to find it
anywhere.

Geeth, could you please send above link ? 
Thanks !  

Thanks,
KasunG

On Fri, Dec 6, 2013 at 2:39 PM, Supun Malinga sup...@wso2.com wrote:
+1.
We should host it in AS product page IMO.

thanks,

On Fri, Dec 6, 2013 at 2:21 PM, Asanka Vithanage asan...@wso2.com wrote:
Hi All,
With AS 520 release,we introduced a feature to monitor web statistics and
Its have documented under [1]. But relevant BAM toolbox does not available
on any public location.
Shall we add web statistics toolBox to a public location , may be we can add
it to the location [2]?
And we need to update the doc[1] with relevant location as well.


[1]
http://docs.wso2.org/display/AS520/Web+Application+Statistics+Monitoring+wit
h+BAM#WebApplicationStatisticsMonitoringwithBAM-Step2StarttheBusinessActivit
yMonitor


[2] http://wso2.com/products/business-activity-monitor/toolboxes/


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



-- 
Supun Malinga,

Senior Software Engineer,
WSO2 Inc.
http://wso2.com
email: sup...@wso2.com
mobile: +94 (0)71 56 91 321




-- 
Kasun Gajasinghe
Software Engineer; 
WSO2 Inc.; http://wso2.com
 
 
 ,
email: kasung AT spamfree wso2.com
 
 
 cell: +94 (77) 678-0813
linked-in: http://lk.linkedin.com/in/gajasinghe
 
 

blog: http://kasunbg.org
 
 

twitter: http://twitter.com/kasunbg
 
 




-- 
Sagara Gunathunga

Senior Technical Lead; WSO2, Inc.;  http://wso2.com
V.P Apache Web Services;    http://ws.apache.org/
Linkedin; http://www.linkedin.com/in/ssagara
Blog ;  http://ssagara.blogspot.com



III Escuela Internacional de Invierno en la UCI del 17 al 28 de febrero del 
2014. Ver www.uci.cu
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] P2 repo for BRS, BPS, GREG...

2013-11-09 Thread Jorge Infante Osorio
Hi all.

 

I need to know the P2 repo version for: the lasted version of 

 

BRS:

BPS:

GREG: it´s 3.2.0?

MB:

CEP: it´s 4.0.7?

 

 

Thanks.

 

Saludos,

Ing. Jorge Infante Osorio.

CDAE.

Fac. 5.

UCI.

“En un mundo perfecto las pizzas serían una comida saludable, las laptops se
cargarían desde una fuente de corriente inalámbrica y todos los JAR serían
bundles de OSGI ”

 



III Escuela Internacional de Invierno en la UCI del 17 al 28 de febrero del 
2014. Ver www.uci.cu


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


[Dev] ESB version in StratosLive

2013-10-28 Thread Jorge Infante Osorio
Hi all.
What is $subject?

I try to upload a proxy service that use HTTP Endpoint and I found an error
with this endpoint. In my local ESB 4.7.0 work fine. 

Saludos,
Ing. Jorge Infante Osorio.
CDAE.
Fac. 5.
UCI.
“En un mundo perfecto las pizzas serían una comida saludable, las laptops se
cargarían desde una fuente de corriente inalámbrica y todos los JAR serían
bundles de OSGI ”



III Escuela Internacional de Invierno en la UCI del 17 al 28 de febrero del 
2014. Ver www.uci.cu

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


[Dev] About P2 repo

2013-10-04 Thread Jorge Infante Osorio
Hi all.

 

If  want to build in top of Carbon Framework with the lasted WSO2 tools
version a platform like (ESB + AS + IS + BAM +GREG + ….)  witch P2 repo I
need to use, it´s this?

http://dist.wso2.org/p2/carbon/releases/4.2.0

 

Do  you provide a zip file of this repo?

 

Saludos,

Ing. Jorge Infante Osorio.

CDAE.

Fac. 5.

UCI.

“En un mundo perfecto las pizzas serían una comida saludable, las laptops se
cargarían desde una fuente de corriente inalámbrica y todos los JAR serían
bundles de OSGI ”

 



III Escuela Internacional de Invierno en la UCI del 17 al 28 de febrero del 
2014. Ver www.uci.cu


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


[Dev] Help: call a web service inside another webservice.

2013-10-01 Thread Jorge Infante Osorio
http://stackoverflow.com/questions/19128774/how-to-call-a-web-service-inside
-another-webservice 

 

Saludos,

Ing. Jorge Infante Osorio.

CDAE.

Fac. 5.

UCI.

“En un mundo perfecto las pizzas serían una comida saludable, las laptops se
cargarían desde una fuente de corriente inalámbrica y todos los JAR serían
bundles de OSGI ”

 



III Escuela Internacional de Invierno en la UCI del 17 al 28 de febrero del 
2014. Ver www.uci.cu


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


[Dev] error: java.io.IOException: Decompression of response failed.

2013-04-10 Thread Jorge Infante Osorio
 information
does not match with SOAP Message namespace URI
at
org.apache.axis2.builder.BuilderUtil.validateSOAPVersion(BuilderUtil.java:77
4)
at
org.apache.axis2.builder.SOAPBuilder.processDocument(SOAPBuilder.java:58)
at
org.apache.synapse.transport.passthru.util.DeferredMessageBuilder.getDocumen
t(DeferredMessageBuilder.java:146)
at
org.apache.synapse.transport.passthru.util.RelayUtils.builldMessage(RelayUti
ls.java:150)
at
org.apache.synapse.transport.passthru.util.RelayUtils.buildMessage(RelayUtil
s.java:91)
at
org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediat
or.java:62)
at
org.apache.synapse.mediators.base.SequenceMediator.mediate(SequenceMediator.
java:114)
at
org.apache.synapse.core.axis2.Axis2SynapseEnvironment.injectMessage(Axis2Syn
apseEnvironment.java:223)
at
org.apache.synapse.core.axis2.SynapseCallbackReceiver.handleMessage(SynapseC
allbackReceiver.java:443)
at
org.apache.synapse.core.axis2.SynapseCallbackReceiver.receive(SynapseCallbac
kReceiver.java:166)
at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:180)
at
org.apache.synapse.transport.passthru.ClientWorker.run(ClientWorker.java:217
)
at
org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerP
ool.java:172)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:11
10)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:6
03)
at java.lang.Thread.run(Thread.java:722)

when I used the data services in AS 5.1.0 I saw this error:
org.apache.axiom.soap.SOAPProcessingException: First Element must contain
the local name, Envelope , but found faultstring


If I put the TCPMon I can see this message exchange:

Incoming message:
POST /mockAssetsSOAP12Binding HTTP/1.1
Content-Encoding: gzip
Content-Type: application/soap+xml; charset=UTF-8
Server: Jetty(6.1.x)
Transfer-Encoding: chunked
Host: 127.0.0.1:
Connection: Keep-Alive

124
?xml version='1.0' encoding='UTF-8'?soap:Envelope
xmlns:soap=http://www.w3.org/2003/05/soap-envelope;
xmlns:preg=http://pregrado.uci.cu;soap:Body
  
   obt:ObtenerPersonasPoC
xmlns:obt=http://informatizacion.uci.cu/servicios/assets/ObtenerPersonas/
/soap:Body/soap:Envelope
0


Outgoing message:
HTTP/1.1 500 Internal Server Error
Content-Type: text/html; charset=iso-8859-1
Transfer-Encoding: chunked
Server: Jetty(6.1.x)

1a0
soap:Envelope xmlns:soap=http://www.w3.org/2003/05/soap-envelope;
  soap:Body
soap:Fault
  soap:Code
soap:ValueServer/soap:Value
  /soap:Code
  soap:Reason
!--1 or more repetitions:--
soap:Text xml:lang=enjava.io.IOException: Decompression of
response failed/soap:Text
  /soap:Reason
/soap:Fault
  /soap:Body
/soap:Envelope
0


This is the last sequence.
Name: unir_Personas.

sequence xmlns=http://ws.apache.org/ns/synapse;
   enrich
  source clone=false type=body/
  target action= sibling type=property
property=listado_estudiantes/
   /enrich
   send/
/sequence

Any idea?

Saludos,
Ing. Jorge Infante Osorio.
CDAE.
Fac. 5.
UCI.
“En un mundo perfecto las pizzas serían una comida saludable, las laptops se
cargarían desde una fuente de corriente inalámbrica y todos los JAR serían
bundles de OSGI ”



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


Re: [Dev] Issue with a load test with AS 5.1.0 and BAM 2.2.0

2013-03-28 Thread Jorge Infante Osorio
Hi Kasun.
I change the server name to post this question. This is not the problem. I
can consume this endpoint  using soapui.

The scenario work fine for a while, in the load test it work the last time
for 6632 requests, after that the AS stop processing requests. 

I can see in BAM cluster the events send by AS, so BAM is properly
integrated with AS. Also in the dashboard I see the AS statistic.

If I don´t run the load test the scenario work fine, but when I increase the
load it fail after a while.


Saludos,
Ing. Jorge Infante Osorio.
CDAE.
Fac. 5.
UCI.
“En un mundo perfecto las pizzas serían una comida saludable, las laptops se
cargarían desde una fuente de corriente inalámbrica y todos los JAR serían
bundles de OSGI ”

De: Kasun Gajasinghe [mailto:kas...@wso2.com] 
Enviado el: jueves, 28 de marzo de 2013 5:25
Para: Jorge Infante Osorio
CC: DEV
Asunto: Re: [Dev] Issue with a load test with AS 5.1.0 and BAM 2.2.0

Hi Jorge,

Does this endpoint url of your data service is correct? [1] Also, please
make sure that BAM is properly integrated with AS by verifying the stream
data in cassandra storage.

[1] http://server:80/services/datos_DataService.SOAP12Endpoint/

On Thu, Mar 28, 2013 at 10:11 AM, Jorge Infante Osorio jorg...@uci.cu
wrote:
Hi folks.
I don´t have internet connection to post this question in stackoverflow.
Sorry for that.

During a load test in AS 5.1.0 with a data service and the AS service agent
sending events to BAM 2.2.0 I see this errors (without BAM the test pass
successfully):

This error appears after a while.

TID: [0] [AS] [2013-03-27 13:13:34,507]  INFO
{org.apache.axis2.transport.http.HTTPSender} -  Unable to sendViaPost to
url[http://server:80/services/datos_DataService.SOAP12Endpoint/]
{org.apache.axis2.transport.http.HTTPSender}
java.net.SocketTimeoutException: Read timed out
        at java.net.SocketInputStream.socketRead0(Native Method)
        at java.net.SocketInputStream.read(Unknown Source)
        at java.io.BufferedInputStream.fill(Unknown Source)
        at java.io.BufferedInputStream.read(Unknown Source)
        at
org.apache.commons.httpclient.HttpParser.readRawLine(HttpParser.java:78)
        at
org.apache.commons.httpclient.HttpParser.readLine(HttpParser.java:106)
        at
org.apache.commons.httpclient.HttpConnection.readLine(HttpConnection.java:11
16)
        at
org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnect
ionAdapter.readLine(MultiThreadedHttpConnectionManager.java:1413)
        at
org.apache.commons.httpclient.HttpMethodBase.readStatusLine(HttpMethodBase.j
ava:1973)
        at
org.apache.commons.httpclient.HttpMethodBase.readResponse(HttpMethodBase.jav
a:1735)
        at
org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:109
8)
        at
org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethod
Director.java:398)
        at
org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDir
ector.java:171)
        at
org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
        at
org.apache.axis2.transport.http.AbstractHTTPSender.executeMethod(AbstractHTT
PSender.java:622)
        at
org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:193)
        at
org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:75)
        at
org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithC
ommons(CommonsHTTPTransportSender.java:451)
        at
org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTT
PTransportSender.java:278)
        at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:442)
        at
org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperatio
n.java:398)
        at
org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisO
peration.java:224)
        at
org.apache.axis2.client.OperationClient.execute(OperationClient.java:149)
        at
org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:554)
        at
org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:530)
        at
org.apache.jsp.admin.jsp.WSRequestXSSproxy_005fajaxprocessor_jsp._jspService
(org.apache.jsp.admin.jsp.WSRequestXSSproxy_005fajaxprocessor_jsp:274)
        at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:111)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
        at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:4
03)
        at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:492)
        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:378)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
        at org.wso2.carbon.ui.JspServlet.service(JspServlet.java:155)
        at
org.wso2.carbon.ui.TilesJspServlet.service(TilesJspServlet.java:80)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:848

[Dev] Issue with a load test with AS 5.1.0 and BAM 2.2.0

2013-03-27 Thread Jorge Infante Osorio
(BufferingXmlWriter.java:198)
at
com.ctc.wstx.sw.BaseStreamWriter._finishDocument(BaseStreamWriter.java:1404)
... 44 more
Caused by: java.io.IOException: Key must be cancelled
at
org.apache.coyote.http11.InternalNioOutputBuffer.writeToSocket(InternalNioOu
tputBuffer.java:154)
at
org.apache.coyote.http11.InternalNioOutputBuffer.flushBuffer(InternalNioOutp
utBuffer.java:242)
at
org.apache.coyote.http11.InternalNioOutputBuffer.flush(InternalNioOutputBuff
er.java:94)
at
org.apache.coyote.http11.AbstractHttp11Processor.action(AbstractHttp11Proces
sor.java:790)
at org.apache.coyote.Response.action(Response.java:173)
at
org.apache.catalina.connector.OutputBuffer.doFlush(OutputBuffer.java:341)
at
org.apache.catalina.connector.OutputBuffer.flush(OutputBuffer.java:306)
at
org.apache.catalina.connector.CoyoteOutputStream.flush(CoyoteOutputStream.ja
va:101)
at com.ctc.wstx.io.UTF8Writer.flush(UTF8Writer.java:103)
at
com.ctc.wstx.sw.BufferingXmlWriter.flush(BufferingXmlWriter.java:225)
at com.ctc.wstx.sw.BaseStreamWriter.flush(BaseStreamWriter.java:259)
at
org.apache.axiom.util.stax.wrapper.XMLStreamWriterWrapper.flush(XMLStreamWri
terWrapper.java:50)
at
org.apache.axiom.om.impl.MTOMXMLStreamWriter.flush(MTOMXMLStreamWriter.java:
198)
at
org.apache.axiom.om.impl.llom.OMSerializableImpl.serializeAndConsume(OMSeria
lizableImpl.java:195)
... 40 more
TID: [0] [AS] [2013-03-27 13:16:11,300]  INFO
{org.apache.axis2.transport.http.AxisServlet} -  org.apache.axis2.AxisFault
{org.apache.axis2.transport.http.AxisServlet}
TID: [0] [AS] [2013-03-27 13:16:11,300]  INFO
{org.apache.axis2.transport.http.AxisServlet} -  org.apache.axis2.AxisFault
{org.apache.axis2.transport.http.AxisServlet}


In BAM I see this error:


TID: [0] [BAM] [2013-03-27 13:19:38,104] ERROR
{org.wso2.carbon.databridge.core.internal.queue.QueueWorker} -  Wrongly
formatted event sent for carbon.super
{org.wso2.carbon.databridge.core.internal.queue.QueueWorker}
org.wso2.carbon.databridge.core.exception.EventConversionException:
Error when converting null of event bundle with events 2
at
org.wso2.carbon.databridge.receiver.thrift.converter.ThriftEventConverter.cr
eateEventList(ThriftEventConverter.java:126)
at
org.wso2.carbon.databridge.receiver.thrift.converter.ThriftEventConverter.to
EventList(ThriftEventConverter.java:88)
at
org.wso2.carbon.databridge.core.internal.queue.QueueWorker.run(QueueWorker.j
ava:72)
at
java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown
Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by:
org.wso2.carbon.databridge.core.exception.EventConversionException: No
StreamDefinition for streamId null present in cache
at
org.wso2.carbon.databridge.receiver.thrift.converter.ThriftEventConverter.cr
eateEventList(ThriftEventConverter.java:112)
... 8 more




Saludos,
Ing. Jorge Infante Osorio.
CDAE.
Fac. 5.
UCI.
“En un mundo perfecto las pizzas serían una comida saludable, las laptops se
cargarían desde una fuente de corriente inalámbrica y todos los JAR serían
bundles de OSGI ”



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


Re: [Dev] How to Debug XACML policy requests

2013-02-24 Thread Jorge Infante Osorio
Yes, in IS you can try and change the logging level of someone of this
loggers:

org.wso2.carbon.identity.entitlement.EntitlementService
org.wso2.carbon.identity.entitlement.pdp.EntitlementEngine

or another one with *entitlement* word.

I don´t remember exactly which one.

Saludos,
Ing. Jorge Infante Osorio.
CDAE.
Fac. 5.
UCI.
“En un mundo perfecto las pizzas serían una comida saludable, las laptops se
cargarían desde una fuente de corriente inalámbrica y todos los JAR serían
bundles de OSGI ”

De: dev-boun...@wso2.org [mailto:dev-boun...@wso2.org] En nombre de Buddhika
Chamith
Enviado el: domingo, 24 de febrero de 2013 0:43
Para: WSO2 Developers' List
Asunto: [Dev] How to Debug XACML policy requests

Is it possible to see the messages being passed between the PEP and PDP vice
versa for debugging purposes? I am getting following error from XACML
response at ESB.

[2013-02-23 23:55:34,041] ERROR - EntitlementMediator
org.apache.synapse.SynapseException: Undefined Decision is received

I am trying the X509 certificate based scenario for authorization.

Regards
Buddhika

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


[Dev] Issue with BAM 2.0.1 Failed to close the DB is already closed.

2012-11-04 Thread Jorge Infante Osorio
)

at java.lang.Thread.run(Unknown Source)

TID: [0] [BAM] [2012-11-04 22:27:00,007]  INFO
{org.wso2.carbon.analytics.hive.task.HiveScriptExecutorTask} -  Running
script executor task for script esb_stats_0. [Sun Nov 04 22:27:00 CST 2012]
{org.wso2.carbon.analytics.hive.task.HiveScriptExecutorTask}

TID: [0] [BAM] [2012-11-04 22:27:00,009]  INFO
{org.wso2.carbon.analytics.hive.task.HiveScriptExecutorTask} -  Running
script executor task for script service_stats_848. [Sun Nov 04 22:27:00 CST
2012] {org.wso2.carbon.analytics.hive.task.HiveScriptExecutorTask}

TID: [0] [BAM] [2012-11-04 22:27:07,936]  INFO
{org.wso2.carbon.cassandra.server.CarbonCassandraAuthenticator} -  The key
is not present in the cache...
{org.wso2.carbon.cassandra.server.CarbonCassandraAuthenticator}

 

Saludos,

Ing. Jorge Infante Osorio.

CDAE.

Fac. 5.

UCI.

“En un mundo perfecto las pizzas serían una comida saludable, las laptops se
cargarían desde una fuente de corriente inalámbrica y todos los JAR serían
bundles de OSGI ”

 



10mo. ANIVERSARIO DE LA CREACION DE LA UNIVERSIDAD DE LAS CIENCIAS 
INFORMATICAS...
CONECTADOS AL FUTURO, CONECTADOS A LA REVOLUCION

http://www.uci.cu
http://www.facebook.com/universidad.uci
http://www.flickr.com/photos/universidad_uci

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


Re: [Dev] usability issue with BAM 2.0.1

2012-10-26 Thread Jorge Infante Osorio
I uncommenting the dashboard elements as you suggested and it´s explained in
[1] but I see the same behavior like before, nothing change.

 

bamdashboards

!-- uncomment below node to activate service stats monitoring
dashboard --

dashboard isPrimary=true

nameservice_stats_monitoring/name

/dashboard

dashboard isPrimary=false

namemediation_stats_monitoring/name

/dashboard

/bamdashboards

 

As you can see I specified the service_stats_monitoring  as primary but when
I hit [2]  I´m redirected to [3] always. 

 

 

[1] http://docs.wso2.org/wiki/display/BAM201/Mediation+Statistics+Toolbox

[2] https://ip:port/bamdashboards/

[3] https://ip:port/bamdashboards/mediation_stats/esb_proxy.jsp 

 

 

Saludos,

Ing. Jorge Infante Osorio.

CDAE.

Fac. 5.

UCI.

“En un mundo perfecto las pizzas serían una comida saludable, las laptops se
cargarían desde una fuente de corriente inalámbrica y todos los JAR serían
bundles de OSGI ”

 

De: dev-boun...@wso2.org [mailto:dev-boun...@wso2.org] En nombre de Tharindu
Mathew
Enviado el: viernes, 26 de octubre de 2012 12:58
Para: Buddhika Chamith
CC: dev@wso2.org
Asunto: Re: [Dev] usability issue with BAM 2.0.1

 

Good enough for now, as long as that step is documented... ;)

On Fri, Oct 26, 2012 at 9:46 AM, Buddhika Chamith buddhi...@wso2.com
wrote:

Yes. It could be done by uncommenting required dashboard elements in
dashboard.xml found under
repository/deployment/server/jaggeryapps/bamdashboards.

Regards
Buddhika

 

On Fri, Oct 26, 2012 at 9:53 PM, Tharindu Mathew thari...@wso2.com wrote:

Hi,

 

The way to do this for now is by editing a config file, right? That should
be good enough... Buddhika, is this correct?

 

On Thu, Oct 25, 2012 at 11:25 PM, Buddhika Chamith buddhi...@wso2.com
wrote:

We are currently working on improving the Dashboard to detect the deployed
toolboxes and generate navigation links accordingly. Will be available in
2.0.2. JIRA at [1].

Regards
Buddhika

[1] https://wso2.org/jira/browse/BAM-954

 

On Fri, Oct 26, 2012 at 10:46 AM, Samisa Abeysinghe sam...@wso2.com wrote:

https://wso2.org/jira/browse/BAM-960

 

On Fri, Oct 26, 2012 at 5:03 AM, Jorge Infante Osorio jorg...@uci.cu
wrote:

Hi all.

I´m using BAM 2.0.1 with Service_Statistics_Monitoring  and
Mediation_Statistics_Monitoring tool box installed.

When I go to the BAM Dashboard I don´t see a way to switch between AS and
ESB statistic. I don´t see a tool boxes list or something that help me to
switch between them.
I had to change the URL to see the AS or ESB statistic.

AS: https://ip:port/bamdashboards/service_stats/index.jsp
ESB:https://ip:port/bamdashboards/mediation_stats/esb_proxy.jsp


Saludos,
Ing. Jorge Infante Osorio.
CDAE.
Fac. 5.
UCI.
“En un mundo perfecto las pizzas serían una comida saludable, las laptops se
cargarían desde una fuente de corriente inalámbrica y todos los JAR serían
bundles de OSGI ”




10mo. ANIVERSARIO DE LA CREACION DE LA UNIVERSIDAD DE LAS CIENCIAS
INFORMATICAS...
CONECTADOS AL FUTURO, CONECTADOS A LA REVOLUCION

http://www.uci.cu
http://www.facebook.com/universidad.uci
http://www.flickr.com/photos/universidad_uci
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Thanks,
Samisa...

Samisa Abeysinghe
VP Engineering
WSO2 Inc. 
 http://wso2.com/ http://wso2.com
 http://wso2.org/ http://wso2.org



___
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





 

-- 
Regards,

Tharindu

 

blog: http://mackiemathew.com/

M: +9459908 tel:%2B9459908 

 

 





 

-- 
Regards,

Tharindu

 

blog: http://mackiemathew.com/

M: +9459908

 



10mo. ANIVERSARIO DE LA CREACION DE LA UNIVERSIDAD DE LAS CIENCIAS 
INFORMATICAS...
CONECTADOS AL FUTURO, CONECTADOS A LA REVOLUCION

http://www.uci.cu
http://www.facebook.com/universidad.uci
http://www.flickr.com/photos/universidad_uci

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


[Dev] usability issue with BAM 2.0.1

2012-10-25 Thread Jorge Infante Osorio
Hi all.

I´m using BAM 2.0.1 with Service_Statistics_Monitoring  and
Mediation_Statistics_Monitoring tool box installed.

When I go to the BAM Dashboard I don´t see a way to switch between AS and
ESB statistic. I don´t see a tool boxes list or something that help me to
switch between them.
I had to change the URL to see the AS or ESB statistic. 

AS: https://ip:port/bamdashboards/service_stats/index.jsp
ESB:https://ip:port/bamdashboards/mediation_stats/esb_proxy.jsp


Saludos,
Ing. Jorge Infante Osorio.
CDAE.
Fac. 5.
UCI.
“En un mundo perfecto las pizzas serían una comida saludable, las laptops se
cargarían desde una fuente de corriente inalámbrica y todos los JAR serían
bundles de OSGI ”




10mo. ANIVERSARIO DE LA CREACION DE LA UNIVERSIDAD DE LAS CIENCIAS 
INFORMATICAS...
CONECTADOS AL FUTURO, CONECTADOS A LA REVOLUCION

http://www.uci.cu
http://www.facebook.com/universidad.uci
http://www.flickr.com/photos/universidad_uci
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Issue with AS 5.0.0 and BAM 2.0.0 when I create a new tenant in AS

2012-10-15 Thread Jorge Infante Osorio
)

at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:243)

at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:210)

at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:225)

at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:123)

at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase
.java:472)

at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168
)

at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)

at
org.wso2.carbon.tomcat.ext.valves.CompositeValve.invoke(CompositeValve.java:
179)

at
org.wso2.carbon.tomcat.ext.valves.CarbonStuckThreadDetectionValve.invoke(Car
bonStuckThreadDetectionValve.java:156)

at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)

at
org.wso2.carbon.tomcat.ext.valves.CarbonContextCreatorValve.invoke(CarbonCon
textCreatorValve.java:49)

at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:118)

at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)

at
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Proce
ssor.java:1001)

at
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(Abstrac
tProtocol.java:579)

at
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:
1653)

at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:11
10)

at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:6
03)

at java.lang.Thread.run(Thread.java:722)

Caused by: java.lang.RuntimeException: Cannot create tenant
ConfigurationContext for tenant cdae.uci.cu

at
org.wso2.carbon.core.multitenancy.utils.TenantAxisUtils.getTenantConfigurati
onContext(TenantAxisUtils.java:124)

at
org.wso2.carbon.core.multitenancy.utils.TenantAxisUtils.getTenantAxisConfigu
ration(TenantAxisUtils.java:101)

at
org.wso2.carbon.activation.module.ActivationHandler.invoke(ActivationHandler
.java:90)

... 46 more

Caused by: java.lang.Exception: Error occurred while running deployment for
tenant

at
org.wso2.carbon.core.multitenancy.utils.TenantAxisUtils.createTenantConfigur
ationContext(TenantAxisUtils.java:335)

at
org.wso2.carbon.core.multitenancy.utils.TenantAxisUtils.getTenantConfigurati
onContext(TenantAxisUtils.java:121)

... 48 more

Caused by: java.lang.NullPointerException

at
org.wso2.carbon.bam.service.data.publisher.publish.StreamDefinitionCreatorUt
il.getStreamDefinition(StreamDefinitionCreatorUtil.java:30)

at
org.wso2.carbon.bam.service.data.publisher.internal.ServiceStatisticsAxis2Co
nfigurationContextObserver.setEventingConfigDataSpecificForTenant(Se

rviceStatisticsAxis2ConfigurationContextObserver.java:76)

at
org.wso2.carbon.bam.service.data.publisher.internal.ServiceStatisticsAxis2Co
nfigurationContextObserver.createdConfigurationContext(ServiceStatis

ticsAxis2ConfigurationContextObserver.java:51)

at
org.wso2.carbon.core.multitenancy.utils.TenantAxisUtils.createTenantConfigur
ationContext(TenantAxisUtils.java:326)

... 49 more

 

 

 

Saludos,

Ing. Jorge Infante Osorio.

CDAE.

Fac. 5.

UCI.

“En un mundo perfecto las pizzas serían una comida saludable, las laptops se
cargarían desde una fuente de corriente inalámbrica y todos los JAR serían
bundles de OSGI ”

 



10mo. ANIVERSARIO DE LA CREACION DE LA UNIVERSIDAD DE LAS CIENCIAS 
INFORMATICAS...
CONECTADOS AL FUTURO, CONECTADOS A LA REVOLUCION

http://www.uci.cu
http://www.facebook.com/universidad.uci
http://www.flickr.com/photos/universidad_uci

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


[Dev] About WS-Discovery proxy service in GREG 4.5.0

2012-10-02 Thread Jorge Infante Osorio
Hi all.

 

The WS-Discovery Proxy service in GREG 4.5.0 is  expose over http or over
https?

 

In [1] I find that it´s used over http but in the wsdl all the endpoint use
https a you can see

 

Descripción: Descripción: Descripción: cid:image001.png@01CDA099.0333A890

 

 

 

Also I find another issue, the second time I start the GReg to test  my
discovery client the AS was offline, the client work fine and I can obtain
the service endpoint using  it scope. 

 

Then I change the port offset in AS to see the change reflected in the GREG
and start the AS, this work fine too. But when I shut down the AS my
discovery client stop to work with this error: Unable to locate a service
for the scope: http://scopes.cdae.uci.cu/servicios/helloservice

In GREG I can see the service with this scope defined.

 

 

In my client code, when the AS is down, in this line:

   TargetService[] services = client.probe(null,
scopes);

 

I can see this error:

org.eclipse.debug.core.DebugException: com.sun.jdi.ClassNotLoadedException:
Type has not been loaded occurred while retrieving component type of array.

 

 

[1]
http://wso2.org/library/articles/2011/08/rediscover-soa-wso2-carbon-wsdiscov
ery 

 

 

Saludos,

Ing. Jorge Infante Osorio.

CDAE.

Fac. 5.

UCI.

“En un mundo perfecto las pizzas serían una comida saludable, las laptops se
cargarían desde una fuente de corriente inalámbrica y todos los JAR serían
bundles de OSGI ”

 



10mo. ANIVERSARIO DE LA CREACION DE LA UNIVERSIDAD DE LAS CIENCIAS 
INFORMATICAS...
CONECTADOS AL FUTURO, CONECTADOS A LA REVOLUCION

http://www.uci.cu
http://www.facebook.com/universidad.uci
http://www.flickr.com/photos/universidad_uci

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


Re: [Dev] P2 Repository for Carbon 4.0.1 releases

2012-09-13 Thread Jorge Infante Osorio
Can you provide us with a .zip repo?

 

Saludos,

Ing. Jorge Infante Osorio.

J´Dpto Soluciones SOA.

CDAE.

Fac. 5.

UCI.

“En un mundo perfecto las pizzas serían una comida saludable, las laptops se
cargarían desde una fuente de corriente inalámbrica y todos los JAR serían
bundles de OSGI ”

 

De: dev-boun...@wso2.org [mailto:dev-boun...@wso2.org] En nombre de Dileepa
Jayakody
Enviado el: lunes, 10 de septiembre de 2012 2:45
Para: Dasunpriya Anuradha
CC: WSO2 Developers' List
Asunto: Re: [Dev] P2 Repository for Carbon 4.0.1 releases

 

Yes please, can we have it expanded and hosted as an online repo like in
previous releases?

Thanks,
Dileepa

On Sun, Sep 9, 2012 at 12:53 AM, Kasun Gajasinghe kas...@wso2.com wrote:

 

On Sun, Sep 9, 2012 at 12:40 AM, Senaka Fernando sen...@wso2.com wrote:

Hi all,

 

I found that we have a zipped version of the P2 repo at [1]. But, do we also
have an expanded version of it as in [2]?

 

 

+1

 

[1] http://dist.wso2.org/p2/carbon/releases/4.0.1/

[2] http://dist.wso2.org/p2/carbon/releases/4.0.0/

 

Thanks,
Senaka.


 

-- 
Senaka Fernando
Member - Integration Technologies Management Committee; 
Technical Lead; WSO2 Inc.; http://wso2.com
Member; Apache Software Foundation; http://apache.org

E-mail: senaka AT wso2.com
P: +1 408 754 7388 tel:%2B1%20408%20754%207388 ; ext: 51736; M: +94 77 322
1818 tel:%2B94%2077%20322%201818 
Linked-In: http://linkedin.com/in/senakafernando

Lean . Enterprise . Middleware

 

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





 

-- 
Kasun Gajasinghe
Software Engineer; 

Development Technologies Team, WSO2 Inc.;  http://wso2.com/
http://wso2.com ,
email: kasung AT spamfree wso2.com cell: +94 (77) 678-0813
tel:%2B94%20%2877%29%20678-0813 

linked-in:  http://lk.linkedin.com/in/gajasinghe
http://lk.linkedin.com/in/gajasinghe

blog:  http://blog.kasunbg.org http://blog.kasunbg.org
twitter:  http://twitter.com/kasunbg http://twitter.com/kasunbg



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




-- 
Dileepa Jayakody,
Software Engineer, WSO2 Inc.
Lean . Enterprise . Middleware

Mobile : +94777-857616



10mo. ANIVERSARIO DE LA CREACION DE LA UNIVERSIDAD DE LAS CIENCIAS 
INFORMATICAS...
CONECTADOS AL FUTURO, CONECTADOS A LA REVOLUCION

http://www.uci.cu
http://www.facebook.com/universidad.uci
http://www.flickr.com/photos/universidad_uci

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


Re: [Dev] Unanswered SO queries

2012-06-20 Thread Jorge Infante Osorio
+
http://stackoverflow.com/questions/11126185/issue-with-chunking-disable-chun
king-in-esb-4-0-3:-D

 

Saludos,

Ing. Jorge Infante Osorio.

J´Dpto Soluciones SOA.

CDAE.

Fac. 5.

UCI.

 

De: dev-boun...@wso2.org [mailto:dev-boun...@wso2.org] En nombre de Thilina
Buddhika
Enviado el: martes, 19 de junio de 2012 0:11
Para: dev
Asunto: [Dev] Unanswered SO queries

 

Hi Folks,

 

Following queries are not answered in SO.

 

http://stackoverflow.com/questions/11092515/dynamic-partner-links-and-dynami
c-addressing-with-ode-bpel 

 

http://stackoverflow.com/questions/11084845/wso2-developer-studio-backward-c
ompatability-with-carbon-studio 

 

http://stackoverflow.com/questions/11084109/wso2-esb-log-file-adapter 

 

http://stackoverflow.com/questions/11079773/cannot-connect-to-connecting-to-
sql-server-2008-from-wso2-data-services-server-o 

 

Thanks,

Thilina


 

-- 
Thilina Buddhika
Associate Technical Lead
WSO2 Inc. ; http://wso2.com
lean . enterprise . middleware

phone : +94 77 44 88 727
blog : http://blog.thilinamb.com



10mo. ANIVERSARIO DE LA CREACION DE LA UNIVERSIDAD DE LAS CIENCIAS 
INFORMATICAS...
CONECTADOS AL FUTURO, CONECTADOS A LA REVOLUCION

http://www.uci.cu
http://www.facebook.com/universidad.uci
http://www.flickr.com/photos/universidad_uci

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


[Dev] problem wiith xpath link in ESB 4.5.0-SNAPSHOT documentation

2012-06-20 Thread Jorge Infante Osorio
/wso2esb-4.5.0-SNAPSHOT-docs/xpath.xml

 

It must be:

 

/wso2esb-4.5.0-SNAPSHOT-docs/xpath.html

 

Saludos,

Ing. Jorge Infante Osorio.

J´Dpto Soluciones SOA.

CDAE.

Fac. 5.

UCI.

 



10mo. ANIVERSARIO DE LA CREACION DE LA UNIVERSIDAD DE LAS CIENCIAS 
INFORMATICAS...
CONECTADOS AL FUTURO, CONECTADOS A LA REVOLUCION

http://www.uci.cu
http://www.facebook.com/universidad.uci
http://www.flickr.com/photos/universidad_uci

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


Re: [Dev] XStream - a simple library to serialize Java objects to XML and back again.

2012-06-14 Thread Jorge Infante Osorio
Sure.!!

 

We used it when we need to consume Restful services.

Ex:

 

URL url = new URL(Url2);  

 

HttpURLConnection conn = (HttpURLConnection) url.openConnection();  

conn.setRequestMethod(GET);  

 

if (conn.getResponseCode() != 200) {  

throw new RuntimeException(Failed : HTTP error code :   

  + conn.getResponseCode());  

}  

 

BufferedReader br = new BufferedReader(new InputStreamReader(  

(conn.getInputStream(;  

 

 

QNameMap qmap = new QNameMap();  

QName qname = new QName(http://cdae.uci.cu/servicios/;, Usuarios);  

qmap.registerMapping(qname, Usuarios.class);  

 

StaxDriver staxDriver = new StaxDriver(qmap);  

 

XStream xstream = new XStream(staxDriver);  

 

xstream.alias(Usuarios, Usuarios.class);  

xstream.alias(Usuario, Usuario.class);  

 

ObjectInputStream in = xstream.createObjectInputStream(br);  

 

Usuario user =null;  

 

while ((user = (Usuario)in.readObject())!=null)  

{  

   System.out.println(user.getNombre());  

}  

 

Saludos,

Ing. Jorge Infante Osorio.

J´Dpto Soluciones SOA.

CDAE.

Fac. 5.

UCI.

 

De: dev-boun...@wso2.org [mailto:dev-boun...@wso2.org] En nombre de Ishan
Somasiri
Enviado el: jueves, 14 de junio de 2012 7:05
Para: dev@wso2.org
Asunto: [Dev] XStream - a simple library to serialize Java objects to XML
and back again.

 

 http://xstream.codehaus.org/ http://xstream.codehaus.org/

It's cool and very useful..!



10mo. ANIVERSARIO DE LA CREACION DE LA UNIVERSIDAD DE LAS CIENCIAS 
INFORMATICAS...
CONECTADOS AL FUTURO, CONECTADOS A LA REVOLUCION

http://www.uci.cu
http://www.facebook.com/universidad.uci
http://www.flickr.com/photos/universidad_uci

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


[Dev] How I can upload a wsdl into the GREG using Registry Resource Project

2012-05-29 Thread Jorge Infante Osorio
$subject?

I created a registry resource Project - then I created a wsdl from a
template - my GREG is in 9451 local port. At this point I don´t know what
to do.

If I go to right click - WSO2 Registry I see two options: “commits changes
as user” (I click on it and nothing happen) and “Show in registry browser”
that always point out to https://127.0.0.1:9443/registry

Any suggestion? 

Saludos,
Ing. Jorge Infante Osorio.
J´Dpto Soluciones SOA.
CDAE.
Fac. 5.
UCI.


10mo. ANIVERSARIO DE LA CREACION DE LA UNIVERSIDAD DE LAS CIENCIAS 
INFORMATICAS...
CONECTADOS AL FUTURO, CONECTADOS A LA REVOLUCION

http://www.uci.cu
http://www.facebook.com/universidad.uci
http://www.flickr.com/photos/universidad_uci
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [User] Problem with API in ESB

2012-05-18 Thread Jorge Infante Osorio
Hi all.
Any idea on this?

Saludos,
Ing. Jorge Infante Osorio.
J´Dpto Soluciones SOA.
CDAE.
Fac. 5.
UCI.

De: user-boun...@wso2.org [mailto:user-boun...@wso2.org] En nombre de Jorge
Infante Osorio
Enviado el: miércoles, 16 de mayo de 2012 2:28
Para: u...@wso2.org
Asunto: [User] Problem with API in ESB

Hi all.
I have this API:

api xmlns=http://ws.apache.org/ns/synapse; name=DatosUsuarios
context=/datos
   resource methods=GET uri-template=/listadousuarios
inSequence=RESTin outSequence=RESTout faultSequence=fault /
   resource methods=GET uri-template=/getporid/{id}
inSequence=RESTinid outSequence=RESToutid faultSequence=fault /
/api

I want to call it in this way: curl -v
http://127.0.0.1:8280/datos/getporid/1 but the request in the BE it´s
malformed. 


The Sequence RESTinid:

sequence xmlns=http://ws.apache.org/ns/synapse; name=RESTinid
trace=enable
    log level=full category=DEBUG/
    payloadFactory
    format
    axis2ns37:_getdatosusuario_id
xmlns:axis2ns37=http://cdae.uci.cu/servicios/;
    axis2ns37:id$1/axis2ns37:id
    /axis2ns37:_getdatosusuario_id
    /format
    args
    arg xmlns:ns=http://org.apache.synapse/xsd;
xmlns:soapenv=http://www.w3.org/2003/05/soap-envelope;
xmlns:ns3=http://org.apache.synapse/xsd;
expression=get-property('uri.var.id')/
    /args
    /payloadFactory
    send
    endpoint
    address
uri=http://127.0.0.1:9765/services/DatosUsuariosREST.HTTPEndpoint/datosusua
rio format=rest/
    /endpoint
    /send
/sequence

With the payloadFactory mediator I have this error in the message format in
the BE restful service deploy in AS:

soapenv:Envelope xmlns:soapenv=http://www.w3.org/2003/05/soap-envelope;
   soapenv:Header /
   soapenv:Body
  axis2ns57:_getdatosusuario_id
xmlns:axis2ns57=http://cdae.uci.cu/servicios/;
 axis2ns57:iddatos/getporid/1/axis2ns57:id
 axis2ns57:id1/axis2ns57:id
  /axis2ns57:_getdatosusuario_id
   /soapenv:Body
/soapenv:Envelope

Without the payloadFactory I see this:

soapenv:Envelope xmlns:soapenv=http://www.w3.org/2003/05/soap-envelope;
   soapenv:Header /
   soapenv:Body
  axis2ns56:_getdatosusuario_id
xmlns:axis2ns56=http://cdae.uci.cu/servicios/;
 axis2ns56:iddatos/getporid/1/axis2ns56:id
  /axis2ns56:_getdatosusuario_id
   /soapenv:Body
/soapenv:Envelope

In any case I don´t know why I get this value: datos/getporid/1

In ESB I see this error:
Message ID : urn:uuid:b82cbd23-2c74-4e6f-9aeb-6b711c8f779e] [Status
Completed : true] [Status SendingCompleted : true]
[2012-05-16 02:19:44,816]  WARN - ClientWorker Unexpected response received.
HTTP response code : 500 HTTP status : Internal Server Error exception :
com.c
tc.wstx.exc.WstxParsingException: Unexpected close tag /body; expected
/HR.
at [row,col {unknown-source}]: [67,187]
[2012-05-16 02:19:44,818] ERROR - NativeWorkerPool Uncaught exception
java.lang.ClassCastException: org.apache.axiom.om.impl.llom.OMTextImpl
cannot be cast to org.apache.axiom.om.OMElement
    at
org.apache.synapse.util.MessageHelper.cloneSOAPFault(MessageHelper.java:441)
    at
org.apache.synapse.util.MessageHelper.cloneSOAPEnvelope(MessageHelper.java:2
54)
    at
org.apache.synapse.core.axis2.SOAPUtils.convertSOAP11toSOAP12(SOAPUtils.java
:95)
    at
org.apache.synapse.core.axis2.SynapseCallbackReceiver.handleMessage(SynapseC
allbackReceiver.java:323)
    at
org.apache.synapse.core.axis2.SynapseCallbackReceiver.receive(SynapseCallbac
kReceiver.java:160)
    at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:181)
    at
org.apache.synapse.transport.nhttp.ClientWorker.run(ClientWorker.java:275)
    at
org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerP
ool.java:173)
    at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.ja
va:886)
    at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:9
08)
    at java.lang.Thread.run(Thread.java:662)

The out sequence:
sequence xmlns=http://ws.apache.org/ns/synapse; name=RESTout
trace=enable
    send/
/sequence


I try the BE service with curl, and all it´s fine.
curl
http://127.0.0.1:9765/services/DatosUsuariosREST.HTTPEndpoint/datosusuario/1


Saludos,
Ing. Jorge Infante Osorio.
J´Dpto Soluciones SOA.
CDAE.
Fac. 5.
UCI.









10mo. ANIVERSARIO DE LA CREACION DE LA UNIVERSIDAD DE LAS CIENCIAS 
INFORMATICAS...
CONECTADOS AL FUTURO, CONECTADOS A LA REVOLUCION

http://www.uci.cu
http://www.facebook.com/universidad.uci
http://www.flickr.com/photos/universidad_uci
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] How to Use Data Sources While Creating a Data Service

2012-05-15 Thread Jorge Infante Osorio
De: dev-boun...@wso2.org [mailto:dev-boun...@wso2.org] En nombre de metin d
Enviado el: martes, 15 de mayo de 2012 6:01
Para: carbon-...@wso2.org
Asunto: [Dev] How to Use Data Sources While Creating a Data Service

I created a data source from
Home  Configure  Data Sources - Add Data Source

and I want to create a data service(.dbs) which uses this data source, how
can I accomplish this?

In Data Service creation:

Click in Add New Data Source, Data Service  Create  Data Sources, put a
data source id, select  Carbon Data Source in Data Source Type and you will
see the list of data sources, select one and enjoy :-D

Saludos,
Ing. Jorge Infante Osorio.
J´Dpto Soluciones SOA.
CDAE.
Fac. 5.
UCI.


Thansk,




10mo. ANIVERSARIO DE LA CREACION DE LA UNIVERSIDAD DE LAS CIENCIAS 
INFORMATICAS...
CONECTADOS AL FUTURO, CONECTADOS A LA REVOLUCION

http://www.uci.cu
http://www.facebook.com/universidad.uci
http://www.flickr.com/photos/universidad_uci
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] wso2 repo size

2012-05-11 Thread Jorge Infante Osorio
Thanks.

 

Saludos,

Ing. Jorge Infante Osorio.

J´Dpto Soluciones SOA.

CDAE.

Fac. 5.

UCI.

 

De: Supun Malinga [mailto:sup...@wso2.com] 
Enviado el: lunes, 07 de mayo de 2012 1:47
Para: Shammi Jayasinghe
CC: Jorge Infante Osorio; WSO2 Developers' List
Asunto: Re: wso2 repo size

 

Hi,

On Mon, May 7, 2012 at 10:53 AM, Shammi Jayasinghe sha...@wso2.com wrote:

 

On Fri, May 4, 2012 at 7:24 AM, Supun Malinga sup...@wso2.com wrote:

Sending to dev

 

Hi Shammi,

 

Can we zip up the latest p2 repo contents from here and check how much size
the zip would get?

http://wso2.org/bamboo/artifact/WSO2CARBON-P2REPO/JOB1/build-70/P2-Repo/p2-r
epo

 

Hi Supun,

 I have created the zip file with using the files in the above pointed
location. Its size is around 263 mb. You can fine the created zip file 

here.[1]

 

thanks Shammi! 

 

[1].
http://wso2.org/bamboo/artifact/WSO2CARBON-P2REPO/JOB1/build-70/P2-Repo/

 

Thanks

Shammi

 

thanks,

On Fri, May 4, 2012 at 3:46 AM, Jorge Infante Osorio jorg...@uci.cu wrote:

Hi Supun.

 

Can you tell me an estimate  of the $subject? I want to do a check out to
start working in some stuff here.

 

Saludos,

Ing. Jorge Infante Osorio.

J´Dpto Soluciones SOA.

CDAE.

Fac. 5.

UCI.

 

 

 http://www.uci.cu/ Descripción: Imagen quitada por el remitente.

 





 

-- 
Supun Malinga,

Software Engineer,
WSO2 Inc.
http://wso2.com
http://wso2.org
email - sup...@wso2.com mailto:sup...@wso2.com 
mobile - 071 56 91 321 tel:071%2056%2091%20321 





 

-- 
Best Regards, 
 
Shammi Jayasinghe
Senior Software Engineer; WSO2, Inc.;  http://wso2.com/ http://wso2.com,

mobile: +94 71 4493085 tel:%2B94%2071%204493085  

 

 





 

-- 
Supun Malinga,

Software Engineer,
WSO2 Inc.
http://wso2.com
http://wso2.org
email - sup...@wso2.com mailto:sup...@wso2.com 
mobile - 071 56 91 321



10mo. ANIVERSARIO DE LA CREACION DE LA UNIVERSIDAD DE LAS CIENCIAS 
INFORMATICAS...
CONECTADOS AL FUTURO, CONECTADOS A LA REVOLUCION

http://www.uci.cu
http://www.facebook.com/universidad.uci
http://www.flickr.com/photos/universidad_uci

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


Re: [Dev] [Carbon-dev] XA Transactions

2012-05-11 Thread Jorge Infante Osorio
Hi Prabath, any progress in this issue?

Saludos,
Ing. Jorge Infante Osorio.
J´Dpto Soluciones SOA.
CDAE.
Fac. 5.
UCI.

De: carbon-dev-boun...@wso2.org [mailto:carbon-dev-boun...@wso2.org] En
nombre de Prabath Abeysekera
Enviado el: domingo, 15 de enero de 2012 8:28
Para: carbon-...@wso2.org
Asunto: Re: [Carbon-dev] XA Transactions

If we further dig into this issue, each datasource implementation would have
its own set of properties having different names to be populated when
establishing a connection. Therefore, it's obvious that we come across this
sort of issues while dealing with all those types. So we're planning to
improve the current implementation to enhance the support for several
different datasource types. Not only that, with the proposed enhancements to
Carbon datasource implementation, it is planned to provide the ability to
globally define XA datasources so that the user can re-use those datasources
in non-DSS related activities as well.
On Sun, Jan 15, 2012 at 6:29 PM, Prabath Abeysekera praba...@wso2.com
wrote:
Hi,

This issue is something specific to PostgreSQL and actually occurs while
trying to populate bean properties of PGXADataSource instances during the
initialization of XA datasources. To further explain the context of the
issue, in dataservices core implementation we use java reflection to extract
out the setter methods of the PGXADataSource class to dynamically populate
properties, username, password and URL that are required to establish
datasource connections upon the given configurations. Although most of the
other XA datasource implementations such as Mysql, Oracle, H2, etc provide
setter methods to directly populate value of the property named
URL, PGXADataSource does not seem to provide that particular utility. As a
result of it, the process of initializing PostgreSQL related XA datasources
fails. 

I'll look into this.

Regards,
Prabath

On Mon, Jan 9, 2012 at 6:58 AM, Jorge Infante Osorio jorg...@uci.cu wrote:
Hi Lakmali, any advance on this?

Saludos,
Ing. Jorge Infante Osorio.
J´Dpto Soluciones SOA.
CDAE.
Fac. 5.
UCI.
De: carbon-dev-boun...@wso2.org [mailto:carbon-dev-boun...@wso2.org] En
nombre de Lakmali Baminiwatta
Enviado el: viernes, 16 de diciembre de 2011 4:51
Para: carbon-...@wso2.org
Asunto: Re: [Carbon-dev] XA Transactions


Hi Jorge,

We are looking into this.

Thanks,
Lakmali
On Fri, Dec 16, 2011 at 3:16 AM, Jorge Infante Osorio jorg...@uci.cu
wrote:
Hi Anjana. I know you guys are very busy in this days.. it´s ok :-D

I made some work around but I´m facing some problems. This is my config:

In context.xml:

       Resource
                       name=jdbc/pruebas
                       auth=Container
                       type=com.atomikos.jdbc.AtomikosDataSourceBean

factory=org.wso2.carbon.atomikos.TransactionFactory
                       uniqueResourceName=jdbc/pruebas

xaDataSourceClassName=org.postgresql.xa.PGXADataSource
                       xaProperties.databaseName=pruebas
                       xaProperties.serverName=127.0.0.1
                       xaProperties.portNumber=5432
                       xaProperties.user=postgres
                       xaProperties.password=descarga*22
               /

And this is the pool in my dbreport mediator config:

                   pool
                                                passwordpass/password
                                                userpostgres/user

dsNamejava:comp/env/jdbc/pruebas/dsName

urljdbc:postgresql://127.0.0.1:5432/pruebas2/url

icClassorg.apache.naming.java.javaURLContextFactory/icClass

                   /pool

I don´t know if the icClass value it´s right.!!!

The error:

[2011-12-15 16:44:27,209] ERROR - DataSourceFinder DataSource :
java:comp/env/jdbc/pruebas not found when looking up using JNDI properties :
{java.naming.factory.initial=org.apache
.naming.java.javaURLContextFactory,
java.naming.factory.url.pkgs=org.apache.naming,
jmx.remote.authenticator=org.wso2.carbon.core.security.CarbonJMXAuthenticato
r@b88745}
[2011-12-15 16:44:27,209] FATAL - ServiceBusInitializer Couldn't initialize
the ESB...
org.apache.synapse.commons.SynapseCommonsException: DataSource :
java:comp/env/jdbc/pruebas not found when looking up using JNDI properties :
{java.naming.factory.initial=org.apach
e.naming.java.javaURLContextFactory,
java.naming.factory.url.pkgs=org.apache.naming,
jmx.remote.authenticator=org.wso2.carbon.core.security.CarbonJMXAuthenticato
r@b88745}
       at
org.apache.synapse.commons.datasource.DataSourceFinder.find(DataSourceFinder
.java:71)
       at
org.apache.synapse.commons.datasource.DataSourceFinder.find(DataSourceFinder
.java:49)
       at
org.apache.synapse.mediators.db.AbstractDBMediator.lookupDataSource(Abstract
DBMediator.java:423)
       at
org.apache.synapse.mediators.db.AbstractDBMediator.init(AbstractDBMediator.j
ava:79)
       at
org.apache.synapse.mediators.AbstractListMediator.init(AbstractListMediator.
java:106

Re: [Dev] Replacing JSW with nohup

2012-03-30 Thread Jorge Infante Osorio
+1 for nohup. 

 

I used it in our production servers in the university for several weeks
without any problem.

 

Saludos,

Ing. Jorge Infante Osorio.

J´Dpto Soluciones SOA.

CDAE.

Fac. 5.

UCI.

 

De: dev-boun...@wso2.org [mailto:dev-boun...@wso2.org] En nombre de Sameera
Jayasoma
Enviado el: martes, 27 de marzo de 2012 1:04
Para: WSO2 Developers' List; Sanjaya Ratnaweera; Chintana Wilamuna
Asunto: [Dev] Replacing JSW with nohup

 

Hi Devs,

 

We've been having many issues due to the JSW(Java Service Wrapper).
Therefore we thought of removing JSW from the Carbon 4.0.0. release. But we
will be adding the nohup [1] support.

 

WDYT?

 

If all agreed, following are the action items.

 

* Remove JSW and all the related files.

* Improve wso2server.sh to support nohup (Sanjaya has already made the
changes, I guess)  Sanjaya, can you please explain?

* For Windows, Chinthana has a solution. Can you please explain?  

 

 

Thanks,

Sameera.

 

[1] http://en.wikipedia.org/wiki/Nohup

-- 
Sameera Jayasoma
Technical Lead and Product Manager, WSO2 Carbon

WSO2, Inc. (http://wso2.com)
email: same...@wso2.com
blog: http://tech.jayasoma.org

Lean . Enterprise . Middleware



10mo. ANIVERSARIO DE LA CREACION DE LA UNIVERSIDAD DE LAS CIENCIAS 
INFORMATICAS...
CONECTADOS AL FUTURO, CONECTADOS A LA REVOLUCION

http://www.uci.cu
http://www.facebook.com/universidad.uci
http://www.flickr.com/photos/universidad_uci

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


[Dev] Issue when I try to deploy a DS using the CS 2.0M10 and wso2as-4.5.0-SNAPSHOT

2012-03-22 Thread Jorge Infante Osorio
Hi all.

I use the CS to build a Data Service and then deploy it inside the AS,
configure as a remote server.

 

Descripción: Descripción: Descripción: Descripción: Descripción:
cid:image001.png@01CD079D.FE3A5CB0

 

 

When I try to deploy this in the AS 4.5 I receive this error:

 

[2012-03-21 19:57:54,148]  INFO
{org.wso2.carbon.application.deployer.internal.ApplicationManager} -
Deploying Carbon Application : Servicios_Datos.car...

 

[2012-03-21 19:57:54,611] ERROR
{org.wso2.carbon.application.deployer.CappAxis2Deployer} -  Error while
deploying carbon application D:\Jorge\DESARR~1\AS\W

SO2AS~1.0-S\bin\..\repository\deployment\server\carbonapps\Servicios_Datos.c
ar

java.lang.NullPointerException

at
org.wso2.carbon.application.deployer.AppDeployerUtils.areAllFeaturesInstalle
d(AppDeployerUtils.java:520)

at
org.wso2.carbon.application.deployer.AppDeployerUtils.buildAcceptanceList(Ap
pDeployerUtils.java:544)

at
org.wso2.carbon.application.deployer.handler.DefaultAppDeployer.isAccepted(D
efaultAppDeployer.java:173)

at
org.wso2.carbon.application.deployer.handler.DefaultAppDeployer.deployRecurs
ively(DefaultAppDeployer.java:112)

at
org.wso2.carbon.application.deployer.handler.DefaultAppDeployer.deployArtifa
cts(DefaultAppDeployer.java:67)

at
org.wso2.carbon.application.deployer.internal.ApplicationManager.deployCarbo
nApp(ApplicationManager.java:252)

at
org.wso2.carbon.application.deployer.CappAxis2Deployer.deploy(CappAxis2Deplo
yer.java:64)

at
org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(Deploy
mentFileData.java:136)

at
org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:
810)

at
org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoList.jav
a:144)

at
org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener.jav
a:377)

at
org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListe
ner.java:254)

at
org.apache.axis2.deployment.RepositoryListener.startListener(RepositoryListe
ner.java:371)

at
org.apache.axis2.deployment.scheduler.SchedulerTask.checkRepository(Schedule
rTask.java:59)

at
org.apache.axis2.deployment.scheduler.SchedulerTask.run(SchedulerTask.java:6
7)

at
org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask.run(CarbonDepl
oymentSchedulerTask.java:75)

at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)

at
java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)

at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)

at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$
101(ScheduledThreadPoolExecutor.java:98)

at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeri
odic(ScheduledThreadPoolExecutor.java:180)

at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Sch
eduledThreadPoolExecutor.java:204)

at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.ja
va:886)

at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:9
08)

at java.lang.Thread.run(Thread.java:662)

 

 

If I shut down the AS 4.5 and start the AS 4.1.2 with the same server config
inside Eclipse, I can deploy the data service without problem.!!!

 

Saludos,

Ing. Jorge Infante Osorio.

J´Dpto Soluciones SOA.

CDAE.

Fac. 5.

UCI.

 



10mo. ANIVERSARIO DE LA CREACION DE LA UNIVERSIDAD DE LAS CIENCIAS 
INFORMATICAS...
CONECTADOS AL FUTURO, CONECTADOS A LA REVOLUCION

http://www.uci.cu
http://www.facebook.com/universidad.uci
http://www.flickr.com/photos/universidad_uci

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


Re: [Dev] P2 repo 3.2.4

2012-03-19 Thread Jorge Infante Osorio
Thanks Tharindu and  Pradeep. I will do it.

 

Saludos,

Ing. Jorge Infante Osorio.

J´Dpto Soluciones SOA.

CDAE.

Fac. 5.

UCI.

 

De: Tharindu Mathew [mailto:thari...@wso2.com] 
Enviado el: sábado, 17 de marzo de 2012 2:35
Para: Pradeep Fernando
CC: Jorge Infante Osorio; dev@wso2.org
Asunto: Re: [Dev] P2 repo 3.2.4

 

Hi Pradeep,

The BAM Alpha 2 released with a 3.2.4 repo and 3.2.4 versions.

Hi Jorge,

We haven't hosted a zip. I haven't tried it but you can try downloading the
directory and zipping it.

On Sat, Mar 17, 2012 at 8:42 AM, Pradeep Fernando prad...@wso2.com wrote:

Hi,

we don't have a 3.2.4 repo (there was no 3.2.4 release). you can get a zip
version of 3.2.3 repo, here [1]

[1] http://dist.wso2.org/downloads/carbon-3.2.3-p2/p2-repo.zip

--Pradeep

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




-- 
Regards,

Tharindu

 

blog: http://mackiemathew.com/

M: +9459908

 



10mo. ANIVERSARIO DE LA CREACION DE LA UNIVERSIDAD DE LAS CIENCIAS 
INFORMATICAS...
CONECTADOS AL FUTURO, CONECTADOS A LA REVOLUCION

http://www.uci.cu
http://www.facebook.com/universidad.uci
http://www.flickr.com/photos/universidad_uci

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


[Dev] WSF-PHP Issue: undefined symbol: rampart_context_create

2012-03-14 Thread Jorge Infante Osorio
Hi all.

 

I cannot consume secure web services using WSF-PHP. I have this error:

 

PHP Warning:  Module 'xsl' already loaded in Unknown on line 0

[Tue Mar 13 16:28:54 2012] [notice] Apache/2.2.20 (Ubuntu)
PHP/5.3.6-13ubuntu3.6 with Suhosin-Patch mod_ssl/2.2.20 OpenSSL/1.0.0e
configured -- resuming normal operations

/usr/sbin/apache2: symbol lookup error: /usr/lib/php5/20090626+lfs/wsf.so:
undefined symbol: rampart_context_create

/usr/sbin/apache2: symbol lookup error: /usr/lib/php5/20090626+lfs/wsf.so:
undefined symbol: rampart_context_create

PHP Warning:  Module 'xsl' already loaded in Unknown on line 0

[Wed Mar 14 08:07:40 2012] [notice] Apache/2.2.20 (Ubuntu)
PHP/5.3.6-13ubuntu3.6 with Suhosin-Patch mod_ssl/2.2.20 OpenSSL/1.0.0e
configured -- resuming normal operations

[Wed Mar 14 08:17:44 2012] [notice] caught SIGTERM, shutting down

PHP Warning:  Module 'xsl' already loaded in Unknown on line 0

[Wed Mar 14 08:17:46 2012] [notice] Apache/2.2.20 (Ubuntu)
PHP/5.3.6-13ubuntu3.6 with Suhosin-Patch mod_ssl/2.2.20 OpenSSL/1.0.0e
configured -- resuming normal operations

[Wed Mar 14 08:21:21 2012] [notice] caught SIGTERM, shutting down

PHP Warning:  Module 'xsl' already loaded in Unknown on line 0

[Wed Mar 14 08:21:23 2012] [notice] Apache/2.2.20 (Ubuntu)
PHP/5.3.6-13ubuntu3.6 with Suhosin-Patch mod_ssl/2.2.20 OpenSSL/1.0.0e
configured -- resuming normal operations

[Wed Mar 14 08:39:36 2012] [notice] caught SIGTERM, shutting down

PHP Warning:  Module 'xsl' already loaded in Unknown on line 0

[Wed Mar 14 08:39:37 2012] [notice] Apache/2.2.20 (Ubuntu)
PHP/5.3.6-13ubuntu3.6 with Suhosin-Patch mod_ssl/2.2.20 OpenSSL/1.0.0e
configured -- resuming normal operations

/usr/sbin/apache2: symbol lookup error: /usr/lib/php5/20090626+lfs/wsf.so:
undefined symbol: rampart_context_create

/usr/sbin/apache2: symbol lookup error: /usr/lib/php5/20090626+lfs/wsf.so:
undefined symbol: rampart_context_create

 

I see the same issue reported in:

http://nginx.wso2.org/forum/thread/24311

http://stackoverflow.com/questions/8854420/error-when-trying-to-run-security
-examples-in-wsf-php-2-1

http://wso2.org/forum/188-0?page=2

 

thanks.

 

 

Saludos,

Ing. Jorge Infante Osorio.

J´Dpto Soluciones SOA.

CDAE.

Fac. 5.

UCI.

 




Fin a la injusticia, LIBERTAD AHORA A NUESTROS CINCO COMPATRIOTAS QUE SE 
ENCUENTRAN INJUSTAMENTE EN PRISIONES DE LOS EEUU!
http://www.antiterroristas.cu
http://justiciaparaloscinco.wordpress.com

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


Re: [Carbon-dev] JVM appears hung

2012-02-29 Thread Jorge Infante Osorio
Hi Afkham.

I remember that thread, in my case I use screen, now I will test with nohup.
I asked just to have an update :-D

Saludos,
Ing. Jorge Infante Osorio.
J´Dpto Soluciones SOA.
CDAE.
Fac. 5.
UCI.

De: carbon-dev-boun...@wso2.org [mailto:carbon-dev-boun...@wso2.org] En
nombre de Afkham Azeez
Enviado el: lunes, 27 de febrero de 2012 4:56
Para: carbon-dev@wso2.org
Asunto: Re: [Carbon-dev] JVM appears hung

We have noticed the Java ServiceWrapper has issues. We don't recommend using
it anymore. There was a mail about this a few months back. We currently use
nohup to start the processes instead of JSW.
On Sat, Feb 25, 2012 at 1:53 AM, Jorge Infante Osorio jorg...@uci.cu
wrote:
Hi all.
Any advance in this $subject?
 
INFO   | jvm 1    | 2012/02/24 14:32:01 | [2012-02-24 14:32:01,128]  INFO
{org.wso2.carbon.core.services.util.CarbonAuthenticationUtil} -  'admin'
logged in at [2012-0$
ERROR  | wrapper  | 2012/02/24 14:34:12 | JVM appears hung: Timed out
waiting for signal from JVM.
ERROR  | wrapper  | 2012/02/24 14:34:12 | JVM did not exit on request,
terminated
INFO   | wrapper  | 2012/02/24 14:34:12 | JVM exited on its own while
waiting to kill the application.
STATUS | wrapper  | 2012/02/24 14:34:12 | JVM exited in response to signal
SIGKILL (9).
STATUS | wrapper  | 2012/02/24 14:34:16 | Launching a JVM...
INFO   | jvm 2    | 2012/02/24 14:34:16 | Wrapper (Version 3.2.3)
http://wrapper.tanukisoftware.org
INFO   | jvm 2    | 2012/02/24 14:34:16 |   Copyright 1999-2006 Tanuki
Software, Inc.  All Rights Reserved.
INFO   | jvm 2    | 2012/02/24 14:34:16 |
INFO   | jvm 2    | 2012/02/24 14:34:17 | [2012-02-24 14:34:17,777]  INFO
{org.wso2.carbon.server.Main} -  Initializing system...
 
Saludos,
Ing. Jorge Infante Osorio.
J´Dpto Soluciones SOA.
CDAE.
Fac. 5.
UCI.
 




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




-- 
Afkham Azeez
Director of Architecture; WSO2, Inc.; http://wso2.com
Member; Apache Software Foundation; http://www.apache.org/

email: az...@wso2.com cell: +94 77 3320919
blog: http://blog.afkham.org
twitter: http://twitter.com/afkham_azeez
linked-in: http://lk.linkedin.com/in/afkhamazeez

Lean . Enterprise . Middleware




Fin a la injusticia, LIBERTAD AHORA A NUESTROS CINCO COMPATRIOTAS QUE SE 
ENCUENTRAN INJUSTAMENTE EN PRISIONES DE LOS EEUU!
http://www.antiterroristas.cu
http://justiciaparaloscinco.wordpress.com
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] [ANNOUNCEMENT] WSO2 Cloud Services Gateway(CSG) 1.0.0-alpha RC2 release

2012-02-27 Thread Jorge Infante Osorio
(
template_jsp.java:531) 
at
org.apache.jsp.admin.layout.template_jsp._jspService(template_jsp.java:282) 
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97) 
at javax.servlet.http.HttpServlet.service(HttpServlet.java:722) 
at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:3
32) 
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314) 
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264) 
at javax.servlet.http.HttpServlet.service(HttpServlet.java:722) 
at org.wso2.carbon.ui.JspServlet.service(JspServlet.java:161) 
at org.wso2.carbon.ui.TilesJspServlet.service(TilesJspServlet.java:80) 
at javax.servlet.http.HttpServlet.service(HttpServlet.java:722) 
at
org.eclipse.equinox.http.helper.ContextPathServletAdaptor.service(ContextPat
hServletAdaptor.java:36) 
at
org.eclipse.equinox.http.servlet.internal.ServletRegistration.handleRequest(
ServletRegistration.java:90) 
at
org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxySer
vlet.java:111) 
at
org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.
java:67) 
at javax.servlet.http.HttpServlet.service(HttpServlet.java:722) 
at org.wso2.carbon.bridge.BridgeServlet.service(BridgeServlet.java:164) 
at javax.servlet.http.HttpServlet.service(HttpServlet.java:722) 
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:304) 
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:210) 
at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.
java:684) 
at
org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDis
patcher.java:471) 
at
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatch
er.java:402) 
at
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher
.java:329) 
at
org.eclipse.equinox.http.servlet.internal.RequestDispatcherAdaptor.forward(R
equestDispatcherAdaptor.java:30) 
at
org.eclipse.equinox.http.helper.ContextPathServletAdaptor$RequestDispatcherA
daptor.forward(ContextPathServletAdaptor.java:258) 
at
org.apache.tiles.servlet.context.ServletTilesRequestContext.forward(ServletT
ilesRequestContext.java:198) 
at
org.apache.tiles.servlet.context.ServletTilesRequestContext.dispatch(Servlet
TilesRequestContext.java:185) 
at
org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:41
9) 
at
org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:37
0) 
at org.wso2.carbon.ui.action.ActionHelper.render(ActionHelper.java:52) 
at org.wso2.carbon.ui.TilesJspServlet.service(TilesJspServlet.java:101) 
at javax.servlet.http.HttpServlet.service(HttpServlet.java:722) 
at
org.eclipse.equinox.http.helper.ContextPathServletAdaptor.service(ContextPat
hServletAdaptor.java:36) 
at
org.eclipse.equinox.http.servlet.internal.ServletRegistration.handleRequest(
ServletRegistration.java:90) 
at
org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxySer
vlet.java:111) 
at
org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.
java:67) 
at javax.servlet.http.HttpServlet.service(HttpServlet.java:722) 
at org.wso2.carbon.bridge.BridgeServlet.service(BridgeServlet.java:164) 
at javax.servlet.http.HttpServlet.service(HttpServlet.java:722) 
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:304) 
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:210) 
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:240) 
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:164) 
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase
.java:462) 
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164
) 
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100
) 
at
org.wso2.carbon.server.CarbonStuckThreadDetectionValve.invoke(CarbonStuckThr
eadDetectionValve.java:154) 
at org.wso2.carbon.server.TomcatServer$1.invoke(TomcatServer.java:257) 
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:563)

at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:118) 
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:399) 
at
org.apache.coyote.http11.Http11NioProcessor.process(Http11NioProcessor.java:
396) 
at
org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(H
ttp11NioProtocol.java:356) 
at
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:
1534) 
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.ja
va:886) 
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:9
08) 
at java.lang.Thread.run(Thread.java:619) 




Saludos,
Ing. Jorge Infante Osorio.
J´Dpto Soluciones SOA.
CDAE.
Fac. 5.
UCI.

De

[Carbon-dev] JVM appears hung

2012-02-24 Thread Jorge Infante Osorio
Hi all.

Any advance in this $subject?

 

INFO   | jvm 1| 2012/02/24 14:32:01 | [2012-02-24 14:32:01,128]  INFO
{org.wso2.carbon.core.services.util.CarbonAuthenticationUtil} -  'admin'
logged in at [2012-0$

ERROR  | wrapper  | 2012/02/24 14:34:12 | JVM appears hung: Timed out
waiting for signal from JVM.

ERROR  | wrapper  | 2012/02/24 14:34:12 | JVM did not exit on request,
terminated

INFO   | wrapper  | 2012/02/24 14:34:12 | JVM exited on its own while
waiting to kill the application.

STATUS | wrapper  | 2012/02/24 14:34:12 | JVM exited in response to signal
SIGKILL (9).

STATUS | wrapper  | 2012/02/24 14:34:16 | Launching a JVM...

INFO   | jvm 2| 2012/02/24 14:34:16 | Wrapper (Version 3.2.3)
http://wrapper.tanukisoftware.org

INFO   | jvm 2| 2012/02/24 14:34:16 |   Copyright 1999-2006 Tanuki
Software, Inc.  All Rights Reserved.

INFO   | jvm 2| 2012/02/24 14:34:16 |

INFO   | jvm 2| 2012/02/24 14:34:17 | [2012-02-24 14:34:17,777]  INFO
{org.wso2.carbon.server.Main} -  Initializing system...

 

Saludos,

Ing. Jorge Infante Osorio.

J´Dpto Soluciones SOA.

CDAE.

Fac. 5.

UCI.

 




Fin a la injusticia, LIBERTAD AHORA A NUESTROS CINCO COMPATRIOTAS QUE SE 
ENCUENTRAN INJUSTAMENTE EN PRISIONES DE LOS EEUU!
http://www.antiterroristas.cu
http://justiciaparaloscinco.wordpress.com

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


[Carbon-dev] Unexpected subelement error in a data service client.

2012-02-23 Thread Jorge Infante Osorio

   at
cu.uci.informatizacion.servicios.personal.PersonalWS2Stub$Municipio$Factory.
parse(PersonalWS2Stub.java:25493)

   ... 7 more

 

 

 

Any idea? The problem are in the Stub client class.

 

Saludos,

Ing. Jorge Infante Osorio.

J´Dpto Soluciones SOA.

CDAE.

Fac. 5.

UCI.

 




Fin a la injusticia, LIBERTAD AHORA A NUESTROS CINCO COMPATRIOTAS QUE SE 
ENCUENTRAN INJUSTAMENTE EN PRISIONES DE LOS EEUU!
http://www.antiterroristas.cu
http://justiciaparaloscinco.wordpress.com

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


Re: [Carbon-dev] Problem with classpath in Eclipse

2012-02-22 Thread Jorge Infante Osorio
Hi Leslier.

The problem it´s not inside eclipse. Eclipse is just for develop time. The
problem is inside BPS, you need to check if this jar is include in the
distribution, Denis say yes, so it could be a problem in BPS. Can you send
me the deploy artifact o your process?

 

Saludos,

Ing. Jorge Infante Osorio.

J´Dpto Soluciones SOA.

CDAE.

Fac. 5.

UCI.

 

De: carbon-dev-boun...@wso2.org [mailto:carbon-dev-boun...@wso2.org] En
nombre de Leslier López Nicot
Enviado el: miércoles, 22 de febrero de 2012 9:42
Para: carbon-dev@wso2.org
Asunto: Re: [Carbon-dev] Problem with classpath in Eclipse

 

I change the classpath from this

classpathentry kind=var
path=ECLIPSE_WORKSPACE/.metadata/.plugins/org.wso2.carbonstudio.eclipse.lib
raries/lib/wss4j-1.5.10.wso2v2.jar/

To this

classpathentry kind=lib
path=carbon.home.folder/repository/components/plugins/wss4j-1.5.11.wso2v2.j
ar/

But still it didn’t work. The error is

java.lang.NoClassDefFoundError: org/apache/ws/security/WSPasswordCallback

at org.wso2.bps.samples.util.PWCBHandler.handle(PWCBHandler.java:17)



El 22/02/2012 12:50:AM, Harshana Martin escribió: 

 

On Tue, Feb 21, 2012 at 9:37 PM, Denis Weerasiri de...@wso2.com wrote:

 

On Wed, Feb 22, 2012 at 11:02 AM, Harshana Martin harsh...@wso2.com wrote:

Hi Leslier, 

 

Adding WSS4J jars in to Eclipse classpath does not make it available in the
BPS since we do not ship those jars with Bpel files. You need to place the
WSS4J jar in your BPS servers' repository/components/lib folder.

@Harshana, WSS4J jar is already available at repository/components/plugins.
So the problem is not properly setting the classpath from eclipse?

 

@Denis,

 

Setting classpaths in Eclipse is only for the availability of the class at
the development time inside Eclipse. It has nothing to do with the runtime
availability of the class since we don't ship any jars in deployable Bpel
archives. So it cannot be the issue.

 

For some reason, Bpel engine cannot locate the class in the classpath. May
be doing an OSGi debug (packages command) would help?

 

Thanks and Regards,

Harshana

 

Hope this helps!

 

Thanks and Regards,

Harshana

On Tue, Feb 21, 2012 at 1:55 PM, Leslier López Nicot lni...@uci.cu wrote:

Hi all.

I’m trying to deploy an external class into bps. This class uses the library
wss4j that is in the bps, in eclipse I add the library from the “WSO2
Classpath Libraries” but when I deploy the jar into bps, it gives me the
error Class Not Found and refers to the class that is in the library wss4j.
I check the classpath from the jar and it look like this:

classpathentry kind=var
path=ECLIPSE_WORKSPACE/.metadata/.plugins/org.wso2.carbonstudio.eclipse.lib
raries/lib/wss4j-1.5.10.wso2v2.jar/

 

 http://www.antiterroristas.cu/ ¡Error! Nombre de archivo no especificado.

 

 

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





 

-- 
Harshana Martin  

Software Engineer

WSO2 Inc.

Web:http://wso2.com

  http://wso2.org

 

Mobile: +94 716062650 tel:%2B94%20716062650 

Blog: http://harshana05.blogspot.com

Profile: https://www.google.com/profiles/harshana05

Twitter: http://twitter.com/harshana05

 


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





 

-- 
Thanks,
Denis
--
Denis Weerasiri
Software Engineer 

Integration Technologies Team, WSO2 Inc.;  http://wso2.com/
http://wso2.com,
email: denis http://goog_277208233/  [AT] wso2.com http://wso2.com/  

phone: +94117639629 tel:%2B94117639629 

site:  https://sites.google.com/site/ddweerasiri/
https://sites.google.com/site/ddweerasiri/

blog:  http://ddweerasiri.blogspot.com/ http://ddweerasiri.blogspot.com
twitter:  http://twitter.com/ddweerasiri http://twitter.com/ddweerasiri
linked-in:  http://lk.linkedin.com/in/ddweerasiri
http://lk.linkedin.com/in/ddweerasiri



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





 

-- 
Harshana Martin  

Software Engineer

WSO2 Inc.

Web:http://wso2.com

  http://wso2.org

 

Mobile: +94 716062650

Blog: http://harshana05.blogspot.com

Profile: https://www.google.com/profiles/harshana05

Twitter: http://twitter.com/harshana05







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

 

 http://www.antiterroristas.cu/ Descripción: Imagen quitada por el
remitente.



 http://www.antiterroristas.cu/ Descripción: Imagen quitada por el
remitente.

 

 




Fin a la injusticia, LIBERTAD AHORA A NUESTROS CINCO COMPATRIOTAS QUE SE 
ENCUENTRAN INJUSTAMENTE EN PRISIONES DE LOS EEUU!
http://www.antiterroristas.cu
http://justiciaparaloscinco.wordpress.com

[Carbon-dev] mediators develop error.

2012-02-17 Thread Jorge Infante Osorio
)

at
org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activate(ServiceC
omponentProp.java:140)

at
org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComp
onentProp.java:330)

at
org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProce
ss.java:560)

at
org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProc
ess.java:182)

at
org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:292)

at
org.eclipse.equinox.internal.ds.SCRManager.serviceChanged(SCRManager.java:22
6)

at
org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceCha
nged(FilteredServiceListener.java:124)

at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(Bun
dleContextImpl.java:930)

at
org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.
java:220)

at
org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(L
istenerQueue.java:149)

at
org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEven
tPrivileged(ServiceRegistry.java:757)

at
org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEven
t(ServiceRegistry.java:712)

at
org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(S
erviceRegistrationImpl.java:129)

at
org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(Se
rviceRegistry.java:206)

at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(B
undleContextImpl.java:506)

at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(B
undleContextImpl.java:524)

at
org.wso2.carbon.core.init.CarbonServerManager.initializeCarbon(CarbonServerM
anager.java:471)

at
org.wso2.carbon.core.init.CarbonServerManager.removePendingItem(CarbonServer
Manager.java:273)

at
org.wso2.carbon.core.init.PreAxis2ConfigItemListener.bundleChanged(PreAxis2C
onfigItemListener.java:117)

   at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(Bun
dleContextImpl.java:916)

at
org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.
java:220)

at
org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManage
r.java:330)

 

Saludos,

Ing. Jorge Infante Osorio.

J´Dpto Soluciones SOA.

CDAE.

Fac. 5.

UCI.

 




Fin a la injusticia, LIBERTAD AHORA A NUESTROS CINCO COMPATRIOTAS QUE SE 
ENCUENTRAN INJUSTAMENTE EN PRISIONES DE LOS EEUU!
http://www.antiterroristas.cu
http://justiciaparaloscinco.wordpress.com

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


Re: [Carbon-dev] combining two query result

2012-02-17 Thread Jorge Infante Osorio
You don´t have a similar configuration but for queries? My idea is to use 1
query that expose the results of two queries.

 

My scenario:

 

I have a query that return a set of 

Persons

person

id/id

name/name

Area

id/id

nameArea/nameArea

/Area

/person

/Persons

 

I extract the area from another query, a subquery,  passing the user ID, but
the areas are in two differents queries so I need first to combine the
results of this queries in another query.

 

 

With this configuration, it´ss possible to do that?

 

 

Saludos,

Ing. Jorge Infante Osorio.

J´Dpto Soluciones SOA.

CDAE.

Fac. 5.

UCI.

 

De: carbon-dev-boun...@wso2.org [mailto:carbon-dev-boun...@wso2.org] En
nombre de Anjana Fernando
Enviado el: miércoles, 15 de febrero de 2012 22:23
Para: carbon-dev@wso2.org
Asunto: Re: [Carbon-dev] combining two query result

 

Hi Jorge,

We do have an unofficial functionality to do this, it is not in the UI
wizard, basically in the data service configuration, in the operation, use
the syntax in the following way:

operation name=...
  call-query-group
call-query href=q1/
call-query href=q2/
  /call-query-group
/operation

Cheers,
Anjana.

On Thu, Feb 16, 2012 at 7:37 AM, Jorge Infante Osorio jorg...@uci.cu
wrote:

Hi folks.

 

In DSS, it´s possible to combine two query result  into the result of
another query?

 

In query X I have the result of a SELECT in one DB/table in server X, and in
query Y I have the result of another SELECT in another DB/table in server Y.


Both DB have a table with the same fields.

 

I think in something similar to UNION in SQL. :-D

 

It could be possible??

 

Saludos,

Ing. Jorge Infante Osorio.

J´Dpto Soluciones SOA.

CDAE.

Fac. 5.

UCI.

 

 

 http://www.antiterroristas.cu/ 

 http://www.antiterroristas.cu/  

 http://www.antiterroristas.cu/ 
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

 http://www.antiterroristas.cu/ 


-- 
Anjana Fernando
Senior Software Engineer

 http://www.antiterroristas.cu/ WSO2 Inc. | http://wso2.com

 http://www.antiterroristas.cu/ lean . enterprise . middleware




Fin a la injusticia, LIBERTAD AHORA A NUESTROS CINCO COMPATRIOTAS QUE SE 
ENCUENTRAN INJUSTAMENTE EN PRISIONES DE LOS EEUU!
http://www.antiterroristas.cu
http://justiciaparaloscinco.wordpress.com

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


[Carbon-dev] combining two query result

2012-02-15 Thread Jorge Infante Osorio
Hi folks.

 

In DSS, it´s possible to combine two query result  into the result of
another query?

 

In query X I have the result of a SELECT in one DB/table in server X, and in
query Y I have the result of another SELECT in another DB/table in server Y.


Both DB have a table with the same fields.

 

I think in something similar to UNION in SQL. :-D

 

It could be possible??

 

Saludos,

Ing. Jorge Infante Osorio.

J´Dpto Soluciones SOA.

CDAE.

Fac. 5.

UCI.

 




Fin a la injusticia, LIBERTAD AHORA A NUESTROS CINCO COMPATRIOTAS QUE SE 
ENCUENTRAN INJUSTAMENTE EN PRISIONES DE LOS EEUU!
http://www.antiterroristas.cu
http://justiciaparaloscinco.wordpress.com

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


[Carbon-dev] error with password in a data service. ERROR: Unexpected character '3' (code 51) (expected a name start character)

2012-02-08 Thread Jorge Infante Osorio
Hi folk.

 

I use AS 4.1.2.

 

I need to use a password to access to a database and receive that error. The
pass that I use: 3dfA23aaaBBCm7dNCd#sdZ43

 

ERROR:

 

DS Code: UNKNOWN_ERROR

Nested Exception:-

org.apache.axiom.om.OMException:
com.ctc.wstx.exc.WstxUnexpectedCharException: Unexpected character '3' (code
51) (expected a name start character)

at [row,col {unknown-source}]: [6,58]

 

at
org.wso2.carbon.dataservices.core.DBDeployer.convertConfigToMultipleDSFormat
(DBDeployer.java:464)

at
org.wso2.carbon.dataservices.core.DBDeployer.createDBService(DBDeployer.java
:710)

at
org.wso2.carbon.dataservices.core.DBDeployer.processService(DBDeployer.java:
1068)

at
org.wso2.carbon.dataservices.core.DBDeployer.deploy(DBDeployer.java:175)

at
org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(Deploy
mentFileData.java:136)

at
org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:
813)

at
org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoList.jav
a:144)

at
org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener.jav
a:371)

at
org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListe
ner.java:254)

at
org.apache.axis2.deployment.RepositoryListener.startListener(RepositoryListe
ner.java:365)

at
org.apache.axis2.deployment.scheduler.SchedulerTask.checkRepository(Schedule
rTask.java:73)

at
org.apache.axis2.deployment.scheduler.SchedulerTask.run(SchedulerTask.java:9
4)

at
org.apache.axis2.deployment.scheduler.Scheduler$SchedulerTimerTask.run(Sched
uler.java:93)

at java.util.TimerThread.mainLoop(Unknown Source)

at java.util.TimerThread.run(Unknown Source)

Caused by: org.apache.axiom.om.OMException:
com.ctc.wstx.exc.WstxUnexpectedCharException: Unexpected character '3' (code
51) (expected a name start character)

at [row,col {unknown-source}]: [6,58]

at
org.apache.axiom.om.impl.builder.StAXOMBuilder.next(StAXOMBuilder.java:296)

at
org.apache.axiom.om.impl.llom.OMSerializableImpl.build(OMSerializableImpl.ja
va:78)

at
org.apache.axiom.om.impl.llom.OMElementImpl.build(OMElementImpl.java:722)

at
org.wso2.carbon.dataservices.core.DBDeployer.convertConfigToMultipleDSFormat
(DBDeployer.java:425)

... 14 more

Caused by: com.ctc.wstx.exc.WstxUnexpectedCharException: Unexpected
character '3' (code 51) (expected a name start character)

at [row,col {unknown-source}]: [6,58]

at
com.ctc.wstx.sr.StreamScanner.throwUnexpectedChar(StreamScanner.java:648)

at
com.ctc.wstx.sr.StreamScanner.parseFullName(StreamScanner.java:1861)

at
com.ctc.wstx.sr.StreamScanner.parseEntityName(StreamScanner.java:1985)

at
com.ctc.wstx.sr.StreamScanner.fullyResolveEntity(StreamScanner.java:1496)

at
com.ctc.wstx.sr.BasicStreamReader.nextFromTree(BasicStreamReader.java:2757)

at
com.ctc.wstx.sr.BasicStreamReader.next(BasicStreamReader.java:1019)

at
org.apache.axiom.util.stax.wrapper.XMLStreamReaderWrapper.next(XMLStreamRead
erWrapper.java:225)

at
org.apache.axiom.om.impl.builder.StAXOMBuilder.parserNext(StAXOMBuilder.java
:681)

at
org.apache.axiom.om.impl.builder.StAXOMBuilder.next(StAXOMBuilder.java:214)

... 17 more

 

Thanks,

 

Saludos,

Ing. Jorge Infante Osorio.

J´Dpto Soluciones SOA.

CDAE.

Fac. 5.

UCI.

 




Fin a la injusticia, LIBERTAD AHORA A NUESTROS CINCO COMPATRIOTAS QUE SE 
ENCUENTRAN INJUSTAMENTE EN PRISIONES DE LOS EEUU!
http://www.antiterroristas.cu
http://justiciaparaloscinco.wordpress.com

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


[Carbon-dev] Issue sending messages from ESB to MB Topic. errorCode=UNAUTHORIZED_ACCESS

2012-02-04 Thread Jorge Infante Osorio
(NamePreservingRunnable.java: 
43) 
at java.lang.Thread.run(Thread.java:619) 
[2012-01-29 13:24:45,942] ERROR 
{org.apache.qpid.transport.network.mina.MINANetworkDriver} - Exception 
thrown and no ProtocolEngine to handle it 
java.io.IOException: Se ha forzado la interrupci¾n de una conexi¾n existente 
por el host remoto 
at sun.nio.ch.SocketDispatcher.read0(Native Method) 
at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:25) 
at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:233) 
at sun.nio.ch.IOUtil.read(IOUtil.java:206) 
at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:236) 
at 
org.apache.mina.transport.socket.nio.SocketIoProcessor.read(SocketIoProcesso 
r.java:267) 
at 
org.apache.mina.transport.socket.nio.SocketIoProcessor.process(SocketIoProce 
ssor.java:241) 
at 
org.apache.mina.transport.socket.nio.SocketIoProcessor.access$500(SocketIoPr 
ocessor.java:44) 
at 
org.apache.mina.transport.socket.nio.SocketIoProcessor$Worker.run(SocketIoPr 
ocessor.java:559) 
at 
org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java: 
43) 
at java.lang.Thread.run(Thread.java:619) 
[2012-01-29 13:24:45,948] ERROR 
{org.apache.qpid.transport.network.mina.MINANetworkDriver} - Exception 
thrown and no ProtocolEngine to handle it 
java.io.IOException: Se ha forzado la interrupci¾n de una conexi¾n existente 
por el host remoto 
at sun.nio.ch.SocketDispatcher.read0(Native Method) 
at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:25) 
at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:233) 
at sun.nio.ch.IOUtil.read(IOUtil.java:206) 
at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:236) 
at 
org.apache.mina.transport.socket.nio.SocketIoProcessor.read(SocketIoProcesso 
r.java:267) 
at 
org.apache.mina.transport.socket.nio.SocketIoProcessor.process(SocketIoProce 
ssor.java:241) 
at 
org.apache.mina.transport.socket.nio.SocketIoProcessor.access$500(SocketIoPr 
ocessor.java:44) 
at 
org.apache.mina.transport.socket.nio.SocketIoProcessor$Worker.run(SocketIoPr 
ocessor.java:559) 
at 
org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java: 
43) 
at java.lang.Thread.run(Thread.java:619) 




I can see that the Message is send from ESB to MB, and from MB to AS, but 
the same message is send it from ESB as much as 5 o 6 times in every client 
call. 

Any idea? 

Thanks, 
Jorge. 


Fin a la injusticia, LIBERTAD AHORA A NUESTROS CINCO COMPATRIOTAS QUE SE 
ENCUENTRAN INJUSTAMENTE EN PRISIONES DE LOS EEUU!
http://www.antiterroristas.cu
http://justiciaparaloscinco.wordpress.com
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


[Carbon-dev] About WSO2 ESB by Example - Pub/Sub in SOA sandesha2 issue

2012-01-23 Thread Jorge Infante Osorio
Hi all.

I´m working in the implementation of this scenario: “A SOAP JMS client as a
publisher”  using WSO2 ESB by Example - Pub/Sub in SOA tutorial.

 

 

When I try to implement the soap jms client I receive this error:

 

log4j:WARN No appenders could be found for logger
(org.apache.axiom.om.util.StAXUtils).

log4j:WARN Please initialize the log4j system properly.

Exception in thread main java.lang.ExceptionInInitializerError

   at org.apache.sandesha2.SandeshaModule.init(SandeshaModule.java:86)

   at
org.apache.axis2.context.ConfigurationContextFactory.initModules(Configurati
onContextFactory.java:252)

   at
org.apache.axis2.context.ConfigurationContextFactory.init(ConfigurationConte
xtFactory.java:230)

   at
org.apache.axis2.context.ConfigurationContextFactory.createConfigurationCont
ext(ConfigurationContextFactory.java:93)

   at
org.apache.axis2.context.ConfigurationContextFactory.createConfigurationCont
extFromFileSystem(ConfigurationContextFactory.java:210)

   at cu.uci.cdae.TopicPublisher.main(TopicPublisher.java:32)

Caused by: java.util.MissingResourceException: Cannot find resource
'org.apache.sandesha2.i18n.resource'

   at
org.apache.axis2.i18n.ProjectResourceBundle.getBundle(ProjectResourceBundle.
java:260)

   at
org.apache.sandesha2.i18n.SandeshaMessageHelper.clinit(SandeshaMessageHelp
er.java:38)

   ... 6 more

 

In the mar file providing in [1] I cannot find the
'org.apache.sandesha2.i18n.resource'

 

 

[1] http://wso2.org/files/pub-sub-sample-config.zip

 

Saludos,

Ing. Jorge Infante Osorio.

J´Dpto Soluciones SOA.

CDAE.

Fac. 5.

UCI.

 




Fin a la injusticia, LIBERTAD AHORA A NUESTROS CINCO COMPATRIOTAS QUE SE 
ENCUENTRAN INJUSTAMENTE EN PRISIONES DE LOS EEUU!
http://www.antiterroristas.cu
http://justiciaparaloscinco.wordpress.com

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


[Carbon-dev] Messages in a Queue in MB doesn't appear.

2012-01-14 Thread Jorge Infante Osorio
Hi all.

I´m working in this scenario:
• I have an out only proxy service that receive a message and store it in a
Queue(MB or ActiveMQ) using a Message Store mediator.
• Also I have a Message Processor that extract the messages and send it to a
backend service in AS.

I use as my broker the MB or  ActiveMQ because I need to test it with the
two brokers.

This scenario using MB or ActiveMQ work just fine with AS 4.1.2, ESB 4.0.3,
MB 1.0.2 and ActiveMQ 5.4.3. It work with backend service online and
offline.

Now the issue:

When the backend service in down I can see the messages store in ActiveMQ
Queue pending for it extraction but when I use the MB of WSO2 instead of
ActiveMQ, I don´t see any message in the queue detail page, Message count =
0 all the time, so it´s like no message is store inside MB.
This is the normal behavior?

In both case I can see the messages in the Message Store.

Saludos,
Ing. Jorge Infante Osorio.
J´Dpto Soluciones SOA.
CDAE.
Fac. 5.
UCI.



Fin a la injusticia, LIBERTAD AHORA A NUESTROS CINCO COMPATRIOTAS QUE SE 
ENCUENTRAN INJUSTAMENTE EN PRISIONES DE LOS EEUU!
http://www.antiterroristas.cu
http://justiciaparaloscinco.wordpress.com
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


[Carbon-dev] usability improvements in ESB

2012-01-14 Thread Jorge Infante Osorio
Hi folks.

In this days I´m working with the ESB, the MB and the AS. So I see, maybe,
some usability improvements:

• It´s possible to show in the UI of ESB if the MB is down, in the cases
where a proxy service or a message store or a message processor need to use
the MB? I can see that the MB is down in the console and in the logs but not
in the admin UI console.

• It´s possible to show in the UI of ESB if the AS is down or the backend
service, in the case that a message processor need to extract a message from
a queue and send it to an endpoint? We can see that when the endpoint is
down the message is store and not extracted and send it, because it appear
in the Message Store page and in the ActiveMQ Queue or in the MB, ideally
because with the 1.0.2 version I can’t see it. But we don´t know why this
happen.

I think that with and alert system that popup this issues or a page where we
can see what happen it´s just great. :-D

I ask this because I have a lot of proxy services that use the MB or
ActiveMQ  and need to send messages to the AS, and when some of this tools
is down in my console appear a lot of errors every a few seconds so I need
to figure out what happened.

Another improvement is with the creations of message store and message
processors, that have many possible properties. It could be possible to list
this properties in a way that we don´t need to write them and just specified
their values???

Thanks, 
Saludos,
Ing. Jorge Infante Osorio.
J´Dpto Soluciones SOA.
CDAE.
Fac. 5.
UCI.




Fin a la injusticia, LIBERTAD AHORA A NUESTROS CINCO COMPATRIOTAS QUE SE 
ENCUENTRAN INJUSTAMENTE EN PRISIONES DE LOS EEUU!
http://www.antiterroristas.cu
http://justiciaparaloscinco.wordpress.com
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


  1   2   3   4   >