[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] 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 
CC: Niranda Perera ; WSO2 Developers' List 
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  wrote:
> Hi Niranda, any idea about this issue?
>
> Regards,
>Jorge.
>
> 2015-11-03 19:43 GMT-05:00 Jorge :
>>
>> 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.execute

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 
CC: WSO2 Developers' List 
Asunto: Re: [Dev] Downloadin wso2 product with ERROR 403: Forbidden.

 

Hi Jorge,

 

You have to download the product via wso2.com   website. 

 

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

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





 

-- 


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


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] http://ws.wso2.org/dataservice";>{numerocell=53242123}obtenerUsuarioSaldotest3DS
 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.

\TransferenciaTest-1.0.0.dbshttp://jorgesoftdevelop.com/testTransferenciaTestDATABASE_ERROR

 

 

 

[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

 

Thanks,

Harsha

 

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

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

 

porttype:

Control operation for 
beginning a boxcarring session

 

binding:



 

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

 

 
 

   http://www.google.com/url?q=http%3A%2F%2Fwww.w3.org%2F2003%2F05%2Fsoap-envelope&sa=D&sntz=1&usg=AFQjCNGfMX1ZVGPTZcRDvsElhc17DotqKg>
 http://www.w3.org/2003/05/soap-envelope";>
  
 http://www.google.com/url?q=http%3A%2F%2Fjorgesoftdevelop.org&sa=D&sntz=1&usg=AFQjCNFnuP-gyDwMY1qSC23cC9vgQzFpcg>
 http://jorgesoftdevelop.org"/>
  
   


 
 
 

   http://www.google.com/url?q=http%3A%2F%2Flocalhost%3A5

[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"  
Para: "dev"  
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"  
Para: "dev"  
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  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.cu<>___
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  wrote:


On Fri, Dec 6, 2013 at 4:26 AM, Kasun Gajasinghe  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  wrote:
+1.
We should host it in AS product page IMO.

thanks,

On Fri, Dec 6, 2013 at 2:21 PM, Asanka Vithanage  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


Re: [Dev] Fwd: SAML2 Web Browser based SSO with WSO2 IS demo webapp doesn't work with IS 4.1.0

2013-05-07 Thread Jorge Infante Osorio
Hi Ishara. 

You can use this code[1] for IS 4.1.0. 

If you want to use it for IS 4.0.0 you need to change this line:
samlObject = Util.unmarshall(Util.decode(samlResp)) and remove the call to
Util.decode method  because the saml response was not encode in IS 4.0.0. 

I hope this help you.

[1] http://svn.wso2.org/repos/wso2/people/asela/wso2-samples/sso_webapp/ 


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 Ishara
Premadasa
Enviado el: miércoles, 08 de mayo de 2013 0:24
Para: WSO2 Developers' List
Asunto: [Dev] Fwd: SAML2 Web Browser based SSO with WSO2 IS demo webapp
doesn't work with IS 4.1.0

Hi,
Forwarding this to dev-group as this should be sent there. Sorry for the
mistake. 
-Ishara

-- Forwarded message --
From: Ishara Premadasa 
Date: Wed, May 8, 2013 at 9:49 AM
Subject: [Dev] SAML2 Web Browser based SSO with WSO2 IS demo webapp doesn't
work with IS 4.1.0
To: support-dev-group 

Hi, 


I was testing SSO with WSO2 IS as described in [1] and it seems the demo web
app doesn't work as expected with IS 4.1.0 version. When i try to log in to
Identity Server via the webapp, after entering the credentials and  trying
to sign in it throws the following error. 
java.lang.NullPointerException

org.wso2.identity.saml2.demo.SamlConsumerManager.getResult(SamlConsumerManag
er.java:278)

org.wso2.identity.saml2.demo.SamlConsumerManager.processResponseMessage(Saml
ConsumerManager.java:252)

org.wso2.identity.saml2.demo.SAML2ConsumerServlet.doPost(SAML2ConsumerServle
t.java:77)
javax.servlet.http.HttpServlet.service(HttpServlet.java:647)
javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
note The full stack trace of the root cause is available in the Apache
Tomcat/7.0.39 logs.

I debugged the source and this is given as the reason for the exception.

[Fatal Error] :1:1: Content is not allowed in prolog.
org.xml.sax.SAXParseException: Content is not allowed in prolog.
    at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
    at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
    at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:124)
    at
org.wso2.identity.saml2.demo.SamlConsumerManager.unmarshall(SamlConsumerMana
ger.java:265)
    at
org.wso2.identity.saml2.demo.SamlConsumerManager.processResponseMessage(Saml
ConsumerManager.java:238)
    at
org.wso2.identity.saml2.demo.SAML2ConsumerServlet.doPost(SAML2ConsumerServle
t.java:77)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:647)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
    at 

The webapp works fine as expected with the IS 3.2.3 version. May be this is
due to some changes made in the 4.1.0 version.
Thanks!
Ishara

[1]
http://wso2.org/library/articles/2010/07/saml2-web-browser-based-sso-wso2-id
entity-server


-- 
Ishara Premasada
Software Engineer,
Integration Technology Team,
WSO2 Inc. http://wso2.com/
Linked in   :  http://www.linkedin.com/pub/ishara-premadasa/1a/630/609
Twitter   :  https://twitter.com/ishadil
Mobile   : +94 714445832




-- 
Ishara Premasada
Software Engineer,
Integration Technology Team,
WSO2 Inc. http://wso2.com/
Linked in   :  http://www.linkedin.com/pub/ishara-premadasa/1a/630/609
Twitter   :  https://twitter.com/ishadil
Mobile   : +94 714445832


http://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
Hi all. Sorry for post this question here and not in Stack overflow, but we
have problems with the internet access in this days, as soon as I have
internet I repost the question with the answer in SO.

I have this scenario:

I consume some information from a data service and another information from
another data service and I want to merge this two information in a unique
response.

In this test I don´t use the data services, I use mock services in SOAPUI
and both mock services work fine separately .

The data I want to merge, an example:

Data service 1 response:

http://www.w3.org/2003/05/soap-envelope";
xmlns:obt="http://informatizacion.uci.cu/servicios/assets/ObtenerPersonas";>
   
   
  
 
 
T123654
yanet
soraine
perez
F
920125848
matanzas
varadero
facultad5
false
 
  
   



Data service 2 response:
http://www.w3.org/2003/05/soap-envelope";
xmlns:preg="http://pregrado.uci.cu";>
   
   
  
 
 
1
    jorge
infante
osorio
M
1221122112211221
holguin
gibara
CDAE
true
 
 
gero et
sonoras imperio
quae divum incedo
verrantque per
auras
per auras
circum claustra
nimborum in
foedere certo
profundum quippe ferant
false
 
  
   



So I build this proxy service:

http://ws.apache.org/ns/synapse"; name="PersonaPoC"
transports="https,http" statistics="disable" trace="disable"
startOnLoad="true">
   
   
   


With this sequences:

Name: obtener_estudiantes.

http://ws.apache.org/ns/synapse";>
   
  
 http://pregrado.uci.cu"/>
  
   
   
  
 http://destrono:8088/mockPregradoWSSOAP12Binding/"/>
  
   


Name: guardar_Estudiantes.

http://ws.apache.org/ns/synapse";>
   
  
  
   
   
  
 http://informatizacion.uci.cu/servicios/assets/ObtenerPersonas"/>
  
   
   
   
  
 http://destrono:/mockAssetsSOAP12Binding"/>
  
   



At this point I see this error in the ESB when execute the service:

This is a log of the message send to the second service,
mockAssetsSOAP12Binding. I don´t know why appear this namespace:
xmlns:preg=http://pregrado.uci.cu  in the request because I don´t used it in
the payloadfactory mediator.

[2013-04-10 20:17:17,303]  INFO - LogMediator To:
http://www.w3.org/2005/08/addressing/anonymous, WSAction: , SOAPAction: ,
MessageID: urn:uuid:26b0c552-d8e6-4285-8814-84c595dae544, Direction:
response, Envelope: 

http://www.w3.org/2003/05/soap-envelope";
xmlns:preg="http://pregrado.uci.cu";>
  
 http://informatizacion.uci.cu/servicios/assets/ObtenerPersonas"/>
  


The error:

[2013-04-10 19:49:30,472] ERROR - RelayUtils Error while building
Passthrough stream
org.apache.axiom.soap.SOAPProcessingException: Transport level 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 c

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

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

2013-03-27 Thread Jorge Infante Osorio
iter.close(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
Source)

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.

 







service_stats_monitoring





mediation_stats_monitoring





 

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

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

 

On Fri, Oct 26, 2012 at 5:03 AM, Jorge Infante Osorio 
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  

 

 





 

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


Re: [Dev] Exception thrown when login to tenant2 and try-it a service of tenant1 - AS 5.0.1

2012-10-22 Thread Jorge Infante Osorio
Yes, this happen in AS 5.0.0 as you can see:
http://stackoverflow.com/questions/13012608/issues-with-tenants-in-as-5-0-0 


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 Amila
Maha Arachchi
Enviado el: lunes, 22 de octubre de 2012 23:30
Para: Charitha Kankanamge
CC: WSO2 Developers' List
Asunto: Re: [Dev] Exception thrown when login to tenant2 and try-it a
service of tenant1 - AS 5.0.1

This exists in AS 5.0.0 also.
On Tue, Oct 23, 2012 at 8:54 AM, Amila Maha Arachchi 
wrote:
Hi Charitha,

I think you meant 4.0.2 testing. But this is reproducible in AS 5.0.1 final
packs (carbon 4.0.2). Exception is little bit different. In the mail thread
which you have mentioned it says "trying to set the tenant domain to null".
But in this case it says "Trying to set the domain from b.com to a.com".
Although the exception is printed, request is served without any problem.
And, this is not seen when invoking the service via soap-ui.

These are the steps to reproduce.
1. Get a fressh pack, login as super tenant and create two tenants (a.com
and b.com).
2. Login to a.com and deploy an aar service and try it. No exceptions will
be seen. 
3. Keep the try it windom open in the browser, logout from a.com and login
as b.com.
4. Then go to the try-it window which is already open and invoke the
service.

May be this is something related to try-it (I dont know whether this is the
expected behaviour from try-it because the tenant is not logged in).

Regards,
AmilaM.

On Tue, Oct 23, 2012 at 7:00 AM, Charitha Kankanamge 
wrote:
Hi Amila,
We came across this issue in Carbon-4.0.1 testing. See ""Trying to set the
domain to null" error occurs for each service call by tenants" mail thread
@support-dev. However, Afkham was able to fix that. 

Regards
Charitha
On Mon, Oct 22, 2012 at 7:31 PM, Amila Maha Arachchi 
wrote:
FYI, this is not thrown when the service is invoked using soap ui. 

On Mon, Oct 22, 2012 at 7:26 PM, Amila Maha Arachchi 
wrote:
Hi devs,

$Subject. But the request is successful. Following is the exception thrown.

[2012-10-22 19:23:08,549] ERROR
{org.wso2.carbon.context.internal.CarbonContextDataHolder} -  Trying to set
the domain from b.com to a.com
java.lang.IllegalStateException: Trying to set the domain from b.com to
a.com
    at
org.wso2.carbon.context.internal.CarbonContextDataHolder.setTenantDomain(Car
bonContextDataHolder.java:1715)
    at
org.wso2.carbon.context.PrivilegedCarbonContext.setTenantDomain(PrivilegedCa
rbonContext.java:242)
    at
org.wso2.carbon.core.multitenancy.MultitenantMessageReceiver.doSOAP(Multiten
antMessageReceiver.java:213)
    at
org.wso2.carbon.core.multitenancy.MultitenantMessageReceiver.processRequest(
MultitenantMessageReceiver.java:182)
    at
org.wso2.carbon.core.multitenancy.MultitenantMessageReceiver.receive(Multite
nantMessageReceiver.java:78)
    at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:181)
    at
org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HT
TPTransportUtils.java:172)
    at
org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:146)
    at
org.wso2.carbon.core.transports.CarbonServlet.doPost(CarbonServlet.java:227)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
    at
org.eclipse.equinox.http.helper.FilterServletAdaptor$FilterChainImpl.doFilte
r(FilterServletAdaptor.java:56)
    at
org.wso2.carbon.mashup.jsservices.custom.ui.CustomUIServletFilter.doFilter(C
ustomUIServletFilter.java:233)
    at
org.eclipse.equinox.http.helper.FilterServletAdaptor.service(FilterServletAd
aptor.java:37)
    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.tomcat.ext.servlet.DelegationServlet.service(DelegationServl
et.java:68)
    at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:305)
    at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:210)
    at
org.wso2.carbon.tomcat.ext.filter.CharacterSetFilter.doFilter(CharacterSetFi
lter.java:61)
    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.

[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
java:61)

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

<>___
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  wrote:

 

On Sun, Sep 9, 2012 at 12:40 AM, Senaka Fernando  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  ; ext: 51736; M: +94 77 322
1818  
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
 

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


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


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-23 Thread Jorge Infante Osorio
Thanks Hiranya.
It work.

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

De: Hiranya Jayathilaka [mailto:hira...@wso2.com] 
Enviado el: miércoles, 23 de mayo de 2012 8:41
Para: Jorge Infante Osorio
CC: u...@wso2.org; dev@wso2.org
Asunto: Re: [Dev] [User] Problem with API in ESB

Works fine for me. Here's my TCPMon trace:

POST /foo/bar/datos/getporid/1 HTTP/1.1
Content-Type: application/xml; charset=UTF-8
Accept: */*
Transfer-Encoding: chunked
Host: 127.0.0.1:8080
Connection: Keep-Alive
User-Agent: Synapse-HttpComponents-NIO

8d
http://cdae.uci.cu/servicios/";>
   10

Of course I had to add the following property mediator to make the
GET-to-POST transformation:



But didn't see any issue of the sort you have mentioned.

Thanks,
Hiranya

On Sat, May 19, 2012 at 8:55 AM, Jorge Infante Osorio 
wrote:
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:

http://ws.apache.org/ns/synapse"; name="DatosUsuarios"
context="/datos">
   
   


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:

http://ws.apache.org/ns/synapse"; name="RESTinid"
trace="enable">
    
    
    
    http://cdae.uci.cu/servicios/";>
    $1
    
    
    
    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')"/>
    
    
    
    
    http://127.0.0.1:9765/services/DatosUsuariosREST.HTTPEndpoint/datosusua
rio" format="rest"/>
    
    


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

http://www.w3.org/2003/05/soap-envelope";>
   
   
  http://cdae.uci.cu/servicios/";>
 datos/getporid/1
 1
  
   


Without the payloadFactory I see this:

http://www.w3.org/2003/05/soap-envelope";>
   
   
  http://cdae.uci.cu/servicios/";>
 datos/getporid/1
  
   


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 ; expected
.
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:
http://ws.apache.org/ns/synapse"; name="RESTout"
trace="enable">
    



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




-- 
Hiranya Jayathilaka
Senior Technical Lead;
WSO2 Inc.;  http://wso2.org
E-mail: hira...@wso2.com;  Mobile: +94 7

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:

http://ws.apache.org/ns/synapse"; name="DatosUsuarios"
context="/datos">
   
   


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:

http://ws.apache.org/ns/synapse"; name="RESTinid"
trace="enable">
    
    
    
    http://cdae.uci.cu/servicios/";>
    $1
    
    
    
    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')"/>
    
    
    
    
    http://127.0.0.1:9765/services/DatosUsuariosREST.HTTPEndpoint/datosusua
rio" format="rest"/>
    
    


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

http://www.w3.org/2003/05/soap-envelope";>
   
   
  http://cdae.uci.cu/servicios/";>
 datos/getporid/1
 1
  
   


Without the payloadFactory I see this:

http://www.w3.org/2003/05/soap-envelope";>
   
   
  http://cdae.uci.cu/servicios/";>
 datos/getporid/1
  
   


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 ; expected
.
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:
http://ws.apache.org/ns/synapse"; name="RESTout"
trace="enable">
    



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] [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 
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  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 
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:

       

And this is the pool in my dbreport mediator config:

                   
                                                pass
                                                postgres

java:comp/env/jdbc/pruebas

jdbc:postgresql://127.0.0.1:5432/pruebas2

org.apache.naming.java.javaURLContextFactory

                   

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)
       at
org.apache.synapse.mediators.base.SequenceMediator.init(SequenceMediator.jav
a:189)
       at
org.apache.synapse.config.SynapseConfiguration.init(SynapseConfiguration.jav
a:1314)
       at
org.apache.synapse.Axis2SynapseController.createSynapseEnvironment(Axis2Syna
pseController.java:422)
       at org.apache.synapse.ServerManager.start(ServerManager.java:181)
       at
org.wso2.carbon.mediation.initializer.ServiceBusInitializer.initESB(ServiceB
usInitializer.java:408)
       at
org.wso2.carbon.mediation.initializer.ServiceBusInitializer.activate(Service
BusInitializer.java:170)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethod

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

 

On Fri, May 4, 2012 at 7:24 AM, Supun Malinga  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  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  





 

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

mobile: +94 71 4493085   

 

 





 

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


Re: [Dev] try it crashes browser when output is too large

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

 

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 Tharindu
Mathew
Enviado el: miércoles, 28 de marzo de 2012 4:11
Para: WSO2 Developers' List
Asunto: [Dev] try it crashes browser when output is too large

 

Hi,

We faced $subject and couldn't figure out the problem until we reduced the
output to 10 elements.

Let's limit the number of elements displayed and display an appropriate
warning message. Otherwise, the impression is that the BE is not working.

-- 
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] Issue with Statistics in Service Dashboard in AS 4.5.0

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

 

I consume a web service a lot of times but it statistics remain all in 0.
Also the system statistic. 

 



 

 

 

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


[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

<>___
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  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] P2 repo 3.2.4

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

 

Do you have a zip version of P2 repo v3.2.4?

 

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


[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


[Dev] Data Service/Generate option issue.

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

 

In the AS, Data Service/Generate option when I go to select the tables
inside a schema in postgresql DB, I see this:

 



The problem is that I only have two tables in that schema:

 



This functionality also identify as  tables the sequence and the primary key
of each table.

 

It´s this right?

 

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


[Dev] Issue with tcpmon in AS 4.5.0

2012-03-12 Thread Jorge Infante Osorio
I found this error in windows 7 64bit:

 

Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/ws/commons/tcpmon/TCPMon

Caused by: java.lang.ClassNotFoundException:
org.apache.ws.commons.tcpmon.TCPMon

at java.net.URLClassLoader$1.run(URLClassLoader.java:202)

at java.security.AccessController.doPrivileged(Native Method)

at java.net.URLClassLoader.findClass(URLClassLoader.java:190)

at java.lang.ClassLoader.loadClass(ClassLoader.java:307)

at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)

at java.lang.ClassLoader.loadClass(ClassLoader.java:248)

Could not find the main class: org.apache.ws.commons.tcpmon.TCPMon.  Program
will exit.

 

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


[Dev] Issue in BAM 1.3.2 The realm is null for username: admin.

2012-03-09 Thread Jorge Infante Osorio
tion.java:229)

at
org.apache.axis2.client.OperationClient.execute(OperationClient.java:165)

at
org.wso2.carbon.bam.stub.statquery.BAMStatQueryDSStub.getLatestInAverageProc
essingTimeForEndpoint(BAMStatQueryDSStub.java:18369)

at
org.wso2.carbon.bam.gauges.ui.BAMStatQueryDSClient.getLatestInAverageProcess
ingTimeForEndpoint(BAMStatQueryDSClient.java:438)

at
org.apache.jsp.gauges.gadgets.flash.flashdata_002dajaxprocessor_jsp._jspServ
ice(flashdata_002dajaxprocessor_jsp.java:290)

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.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:254)

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)

 

I found the same issue in https://wso2.org/jira/browse/STRATOS-1432

 

 

 

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: [Dev] [Carbon-dev] WSO2 Application Server Milestone2 (wso2as-4.5.0-SNAPSHOT_M2) released!

2012-03-08 Thread Jorge Infante Osorio
embedded mode.

 

Saludos,

Ing. Jorge Infante Osorio.

J´Dpto Soluciones SOA.

CDAE.

Fac. 5.

UCI.

 

De: Supun Malinga [mailto:sup...@wso2.com] 
Enviado el: miércoles, 07 de marzo de 2012 18:56
Para: Jorge Infante Osorio
CC: carbon-...@wso2.org
Asunto: Re: [Dev] [Carbon-dev] WSO2 Application Server Milestone2
(wso2as-4.5.0-SNAPSHOT_M2) released!

 

Hi Jorge,

 

Are you trying run WSO2 AS in embedded mode on top of another appserver?

 

thanks,

On Wed, Mar 7, 2012 at 1:18 PM, Jorge Infante Osorio  wrote:

In this version milestone I have an issue with the WebContextRoot. I put
this in carbon.xml:

 

/as

 

But I cannot login, every time  I receive an error if I use this URL:
https://127.0.0.1:9445/as/services/ as the server URL. If I change to this:
https://127.0.0.1:9445/services/ all work fine.

 

 

[2012-03-06 23:51:50,470]  INFO {org.apache.axis2.transport.http.HTTPSender}
-  Unable to sendViaPost to
url[https://127.0.0.1:9445/as/services/LoggedUserI

nfoAdmin]

org.apache.axis2.AxisFault: Transport error: 302 Error: Moved Temporarily

at
org.apache.axis2.transport.http.HTTPSender.handleResponse(HTTPSender.java:30
8)

at
org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:194)

at
org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:75)

at
org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithC
ommons(CommonsHTTPTransportSender.java:450)

at
org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTT
PTransportSender.java:277)

at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:443)

at
org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperatio
n.java:406)

at
org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisO
peration.java:229)

at
org.apache.axis2.client.OperationClient.execute(OperationClient.java:165)

at
org.wso2.carbon.core.commons.stub.loggeduserinfo.LoggedUserInfoAdminStub.get
UserInfo(LoggedUserInfoAdminStub.java:187)

at
org.wso2.carbon.ui.DefaultCarbonAuthenticator.setUserAuthorizationInfo(Defau
ltCarbonAuthenticator.java:266)

at
org.wso2.carbon.ui.DefaultCarbonAuthenticator.retrieveUserAuthorizationData(
DefaultCarbonAuthenticator.java:245)

at
org.wso2.carbon.ui.DefaultCarbonAuthenticator.authenticate(DefaultCarbonAuth
enticator.java:86)

at
org.wso2.carbon.ui.DefaultCarbonAuthenticator.reAuthenticateOnSessionExpire(
DefaultCarbonAuthenticator.java:66)

at
org.wso2.carbon.ui.CarbonSecuredHttpContext.handleSecurity(CarbonSecuredHttp
Context.java:621)

at
org.eclipse.equinox.http.servlet.internal.ServletRegistration.handleRequest(
ServletRegistration.java:86)

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.tomcat.ext.servlet.DelegationServlet.service(DelegationServl
et.java:46)

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.tomcat.ext.valves.CompositeValve.invoke(CompositeValve.java:
51)

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

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

[Dev] RV: [Carbon-dev] Issue in a DS when I try to pass a parameter into a function in postgresql.

2012-03-07 Thread Jorge Infante Osorio
Hi Prabath.

 

To specified a little more this problem.

 

We have a function in postgresql that look similar to this: 

 

schema.function1(String,String,String,String,String) 

 

The second parameter it´s a string that represent a part of another query,
ex: ‘WHERE Id = 5’. We pass this string inside the function and them we can
build an entire sql consult to obtain some data.

 

Our problem it´s that this ‘WHERE id =5’ string it´s not static but
dynamically build, and we capture the Id value using a IN parameter in a DS
so we put this: 

 

schema.function1(‘’,’WHERE Id =’||:Id,’’,’’,’’) in the sql tag but it didn’t
work. 

 

If we do the same with a sql consult like:

 

INSERT INTO datos(ci,nombre,notafinal) VALUES(:ci,'esteestunombre:
'||:nombre,:notafinal)

 

We see that it work just fine, no 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 Prabath
Abeysekera
Enviado el: miércoles, 07 de marzo de 2012 12:39
Para: Noel Marquez Batista
CC: carbon-...@wso2.org
Asunto: Re: [Dev] [Carbon-dev] Issue in a DS when I try to pass a parameter
into a function in postgresql.

 

 

On Wed, Mar 7, 2012 at 9:24 PM, Noel Marquez Batista 
wrote:

Hi Prabath Abeysekera
I did not meet with what I suggest, keeps giving me errors

 

I was able to execute a dataservice operation which wraps a SQL statement
similar to what you;ve mentioned in your previous mail, successfully. Are
you getting the same exceptions or is it something else that you experienced
this time? 

 


- Mensaje original -
De: "Prabath Abeysekera" 
Para: carbon-...@wso2.org
Enviados: Lunes, 27 de Febrero 2012 15:26:06
Asunto: Re: [Carbon-dev] Issue in a DS when I try to pass a parameter into a
function in postgresql.



Hi Noel,

Please see my comments inline.


On Fri, Feb 24, 2012 at 8:20 AM, Noel Marquez Batista < nmarq...@uci.cu >
wrote:


HI ALL, I´VE CREATED A CLIENT THAT ACCESS DIRECTLY INTO A DB USING JDBC AND
IT´S WORKS PERFECTLY, BY I WANT TO DO THE SAME WITH A DATA SERVICE IN AS,
AND IT IS NOT WORKING AT ALL. HERE IS THE QUERY:

String parameter = "'100-047'";

Select * from schema.function_get_tree(' table.id = 1 AND table.number =
'"+parameter+"'')

SO WHEN I PUT THIS QUERY INTO THE SERVICE I SPPECIFIED THE PARAMETER IN THIS
WAY:

Select * from schema.function_get_tree(' table.id = 1 AND table.number =
:parameter')



If you carefully look at the aforementioned query, the parameter notation
":parameter" is specified within the string literal " table.id =1" . If
you define a named parameter in a dataservice query that will internally be
mapped into a standard SQL query string containing "?" notations
corresponding to the places in the query where the parameter value
assignment is required. If we take your query as an example, it will be
mapped into the following form if you try to define it the way you already
did.



Select * from schema.function_get_tree(' table.id = 1 AND table.number = ?')


Since you have specified the parameter within quotation marks, it will not
be interpreted as an input field to which a value should be assigned even
though you register an input parameter to assign values, thereby throwing
those exceptions. Not only that, you also need to use proper string
concatinations when you provide parameter values as a combination of string
literals and parameters. Therefore, mentioned below is the proper way you
should define your query in order to make it compatible with postgres.


Select * from schema.function_get_tree(' table.id = 1 AND table.number =' ||
:parameter)





AND THIS IS THE ERROR WHEN I TRY IT:

TID: [0] [WSO2 Application Server] [2012-02-23 15:50:34,777] ERROR
{org.apache.axiom.om.impl.llom.OMSourcedElementImpl} - Could not get parser
from data source for element { http://empresa.co }Grupos
{org.apache.axiom.om.impl.llom.OMSourcedElementImpl}javax.xml.stream.XMLStre
amException: DS Fault Message: Error in 'SQLQuery.processNormalQuery' DS
Code: DATABASE_ERROR Source Data Service:- Name: PregradoWS Location:
/PregradoWS.dbs Description: N/A Default Namespace: http://empresa.co
Current Request Name: ObtenerGrupoDadoIdGrupo Current Params:
{parameter="'100-047'"} Nested Exception:- DS Fault Message: Error in
'createProcessedPreparedStatement' DS Code: UNKNOWN_ERROR Nested Exception:-
org.postgresql.util.PSQLException: The column index is out of range: 1,
number of columns: 0. at
org.wso2.carbon.dataservices.core.engine.DSOMDataSource.execute(DSOMDataSour
ce.java:105) at
org.wso2.carbon.dataservices.core.engine.DSOMDataSource.serialize(DSOMDataSo
urce.java:110) at
org.wso2.carbon.dataservices.core.engine.DSOMDataSource.getReader(DSOMDataSo
urce.java:116) at
org.apache.axiom.om.imp

Re: [Dev] [Carbon-dev] WSO2 Application Server Milestone2 (wso2as-4.5.0-SNAPSHOT_M2) released!

2012-03-07 Thread Jorge Infante Osorio
In this version milestone I have an issue with the WebContextRoot. I put
this in carbon.xml:

 

/as

 

But I cannot login, every time  I receive an error if I use this URL:
https://127.0.0.1:9445/as/services/ as the server URL. If I change to this:
https://127.0.0.1:9445/services/ all work fine.

 

 

[2012-03-06 23:51:50,470]  INFO {org.apache.axis2.transport.http.HTTPSender}
-  Unable to sendViaPost to
url[https://127.0.0.1:9445/as/services/LoggedUserI

nfoAdmin]

org.apache.axis2.AxisFault: Transport error: 302 Error: Moved Temporarily

at
org.apache.axis2.transport.http.HTTPSender.handleResponse(HTTPSender.java:30
8)

at
org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:194)

at
org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:75)

at
org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithC
ommons(CommonsHTTPTransportSender.java:450)

at
org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTT
PTransportSender.java:277)

at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:443)

at
org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperatio
n.java:406)

at
org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisO
peration.java:229)

at
org.apache.axis2.client.OperationClient.execute(OperationClient.java:165)

at
org.wso2.carbon.core.commons.stub.loggeduserinfo.LoggedUserInfoAdminStub.get
UserInfo(LoggedUserInfoAdminStub.java:187)

at
org.wso2.carbon.ui.DefaultCarbonAuthenticator.setUserAuthorizationInfo(Defau
ltCarbonAuthenticator.java:266)

at
org.wso2.carbon.ui.DefaultCarbonAuthenticator.retrieveUserAuthorizationData(
DefaultCarbonAuthenticator.java:245)

at
org.wso2.carbon.ui.DefaultCarbonAuthenticator.authenticate(DefaultCarbonAuth
enticator.java:86)

at
org.wso2.carbon.ui.DefaultCarbonAuthenticator.reAuthenticateOnSessionExpire(
DefaultCarbonAuthenticator.java:66)

at
org.wso2.carbon.ui.CarbonSecuredHttpContext.handleSecurity(CarbonSecuredHttp
Context.java:621)

at
org.eclipse.equinox.http.servlet.internal.ServletRegistration.handleRequest(
ServletRegistration.java:86)

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.tomcat.ext.servlet.DelegationServlet.service(DelegationServl
et.java:46)

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.tomcat.ext.valves.CompositeValve.invoke(CompositeValve.java:
51)

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

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-boun...@wso2.org [mailto:carbon-dev-boun...@wso2.org] En
nombre de Kishanthan Thangarajah
Enviado el: martes, 06 de marzo de 2012 1:44
Para: carbon-dev
Asunto: [Carbon-dev] WSO2 Application Server Milestone2
(wso2as-4.5.0-SNAPSHOT_M2) released!

 

Hi All,

WSO2 Application Server M2 released !!

Packs can be found at [1].

 

New features included in this release,

*   Added support for server descriptor file (server.xml) for embedded
tomcat.
*   Added support for webapp specific context descriptor file

[Dev] use of carbon in server URL.

2012-03-07 Thread Jorge Infante Osorio
Hi folks.

 

I need to access to a server in this way: htts://ip:9443/ instead of
htts://ip:9443/carbon.

 

It´s possible to not use /carbon in the url?

 

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