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

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  > 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] axis2ns20:DataServiceFault 
xmlns:axis2ns20=http://ws.wso2.org/dataservice;axis2ns20:current_params{numerocell=53242123}/axis2ns20:current_paramsaxis2ns20:current_request_nameobtenerUsuarioSaldotest3/axis2ns20:current_request_nameaxis2ns20:nested_exceptionDS
 Fault Message: Error in opening DBMS connection.

DS Code: UNKNOWN_ERROR

Nested Exception:-

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

 

Last packet sent to the server was 0 ms ago.

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

 

 

 

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

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

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

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

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

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

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

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

   ... 2 more

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

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

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

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

   ... 3 more

 

 

Any idea?

 

Jorge.

 

 

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

 

Hi Jorge,

 

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

 

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

 

Thanks,

Harsha

 

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

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

 

porttype:

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

 

binding:

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

 

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

 

Jorge.

 

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

 

Hi Jorge,

 

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

 

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

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

2014-10-01 Thread Jorge Infante

Hi all.

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


thanks.


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


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

2014-09-28 Thread Jorge Infante

Hi all.

anyone can check this issue:

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



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


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

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

Jorge. 

- Mensaje original -

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

Hi: 



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




stevegyc 

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



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


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

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

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

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

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

Regards. 
- Mensaje original -

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

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

stevegyc 

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



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

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


Re: [Dev] Combining WSO2 ESB with WSO2 AS

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

 

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

 



 

Jorge.

 

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

 

Hi,

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

 

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

 

Other than that. It works fine.

 

Thanks

Dimuthu

 

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

Hi,

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

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

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





 

-- 

Dimuthu Upeksha

Engineering Intern

WSO2 inc.



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


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

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


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

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

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

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

Thanks
Geeth


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

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

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


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

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

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

Geeth, could you please send above link ? 
Thanks !  

Thanks,
KasunG

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

thanks,

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


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


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


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



-- 
Supun Malinga,

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




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

blog: http://kasunbg.org
 
 

twitter: http://twitter.com/kasunbg
 
 




-- 
Sagara Gunathunga

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



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


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

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

 

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

 

BRS:

BPS:

GREG: it´s 3.2.0?

MB:

CEP: it´s 4.0.7?

 

 

Thanks.

 

Saludos,

Ing. Jorge Infante Osorio.

CDAE.

Fac. 5.

UCI.

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

 



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


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


[Dev] ESB version in StratosLive

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

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

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



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

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


[Dev] About P2 repo

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

 

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

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

 

Do  you provide a zip file of this repo?

 

Saludos,

Ing. Jorge Infante Osorio.

CDAE.

Fac. 5.

UCI.

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

 



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


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


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

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

 

Saludos,

Ing. Jorge Infante Osorio.

CDAE.

Fac. 5.

UCI.

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

 



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


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


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

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

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


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

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

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


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

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


This is the last sequence.
Name: unir_Personas.

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

Any idea?

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



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


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

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

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

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

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


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

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

Hi Jorge,

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

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

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

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

This error appears after a while.

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

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

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


In BAM I see this error:


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




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



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


Re: [Dev] How to Debug XACML policy requests

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

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

or another one with *entitlement* word.

I don´t remember exactly which one.

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

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

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

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

I am trying the X509 certificate based scenario for authorization.

Regards
Buddhika

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


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

2012-11-04 Thread Jorge Infante Osorio
)

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

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

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

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

 

Saludos,

Ing. Jorge Infante Osorio.

CDAE.

Fac. 5.

UCI.

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

 



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

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

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


Re: [Dev] usability issue with BAM 2.0.1

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

 

bamdashboards

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

dashboard isPrimary=true

nameservice_stats_monitoring/name

/dashboard

dashboard isPrimary=false

namemediation_stats_monitoring/name

/dashboard

/bamdashboards

 

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

 

 

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

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

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

 

 

Saludos,

Ing. Jorge Infante Osorio.

CDAE.

Fac. 5.

UCI.

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

 

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

 

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

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

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

Regards
Buddhika

 

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

Hi,

 

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

 

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

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

Regards
Buddhika

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

 

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

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

 

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

Hi all.

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

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

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


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




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

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

Thanks,
Samisa...

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



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

 


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





 

-- 
Regards,

Tharindu

 

blog: http://mackiemathew.com/

M: +9459908 tel:%2B9459908 

 

 





 

-- 
Regards,

Tharindu

 

blog: http://mackiemathew.com/

M: +9459908

 



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

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

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


[Dev] usability issue with BAM 2.0.1

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

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

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

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


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




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

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


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

2012-10-15 Thread Jorge Infante Osorio
)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

... 46 more

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

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

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

... 48 more

Caused by: java.lang.NullPointerException

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

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

rviceStatisticsAxis2ConfigurationContextObserver.java:76)

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

ticsAxis2ConfigurationContextObserver.java:51)

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

... 49 more

 

 

 

Saludos,

Ing. Jorge Infante Osorio.

CDAE.

Fac. 5.

UCI.

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

 



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

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

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


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

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

 

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

 

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

 

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

 

 

 

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

 

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

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

 

 

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

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

 

I can see this error:

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

 

 

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

 

 

Saludos,

Ing. Jorge Infante Osorio.

CDAE.

Fac. 5.

UCI.

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

 



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

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

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


Re: [Dev] P2 Repository for Carbon 4.0.1 releases

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

 

Saludos,

Ing. Jorge Infante Osorio.

J´Dpto Soluciones SOA.

CDAE.

Fac. 5.

UCI.

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

 

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

 

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

Thanks,
Dileepa

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

 

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

Hi all,

 

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

 

 

+1

 

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

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

 

Thanks,
Senaka.


 

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

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

Lean . Enterprise . Middleware

 

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





 

-- 
Kasun Gajasinghe
Software Engineer; 

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

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

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



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




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

Mobile : +94777-857616



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

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

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


Re: [Dev] Unanswered SO queries

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

 

Saludos,

Ing. Jorge Infante Osorio.

J´Dpto Soluciones SOA.

CDAE.

Fac. 5.

UCI.

 

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

 

Hi Folks,

 

Following queries are not answered in SO.

 

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

 

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

 

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

 

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

 

Thanks,

Thilina


 

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

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



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

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

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


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

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

 

It must be:

 

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

 

Saludos,

Ing. Jorge Infante Osorio.

J´Dpto Soluciones SOA.

CDAE.

Fac. 5.

UCI.

 



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

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

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


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

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

 

We used it when we need to consume Restful services.

Ex:

 

URL url = new URL(Url2);  

 

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

conn.setRequestMethod(GET);  

 

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

throw new RuntimeException(Failed : HTTP error code :   

  + conn.getResponseCode());  

}  

 

BufferedReader br = new BufferedReader(new InputStreamReader(  

(conn.getInputStream(;  

 

 

QNameMap qmap = new QNameMap();  

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

qmap.registerMapping(qname, Usuarios.class);  

 

StaxDriver staxDriver = new StaxDriver(qmap);  

 

XStream xstream = new XStream(staxDriver);  

 

xstream.alias(Usuarios, Usuarios.class);  

xstream.alias(Usuario, Usuario.class);  

 

ObjectInputStream in = xstream.createObjectInputStream(br);  

 

Usuario user =null;  

 

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

{  

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

}  

 

Saludos,

Ing. Jorge Infante Osorio.

J´Dpto Soluciones SOA.

CDAE.

Fac. 5.

UCI.

 

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

 

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

It's cool and very useful..!



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

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

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


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

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

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

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

Any suggestion? 

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


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

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


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

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

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

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

Hi all.
I have this API:

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

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


The Sequence RESTinid:

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

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

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

Without the payloadFactory I see this:

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

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

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

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


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


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









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

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


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

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

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

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

In Data Service creation:

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

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


Thansk,




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

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


Re: [Dev] wso2 repo size

2012-05-11 Thread Jorge Infante Osorio
Thanks.

 

Saludos,

Ing. Jorge Infante Osorio.

J´Dpto Soluciones SOA.

CDAE.

Fac. 5.

UCI.

 

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

 

Hi,

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

 

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

Sending to dev

 

Hi Shammi,

 

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

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

 

Hi Supun,

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

here.[1]

 

thanks Shammi! 

 

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

 

Thanks

Shammi

 

thanks,

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

Hi Supun.

 

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

 

Saludos,

Ing. Jorge Infante Osorio.

J´Dpto Soluciones SOA.

CDAE.

Fac. 5.

UCI.

 

 

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

 





 

-- 
Supun Malinga,

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





 

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

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

 

 





 

-- 
Supun Malinga,

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



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

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

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


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

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

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

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

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

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

I'll look into this.

Regards,
Prabath

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

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


Hi Jorge,

We are looking into this.

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

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

In context.xml:

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

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

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

And this is the pool in my dbreport mediator config:

                   pool
                                                passwordpass/password
                                                userpostgres/user

dsNamejava:comp/env/jdbc/pruebas/dsName

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

icClassorg.apache.naming.java.javaURLContextFactory/icClass

                   /pool

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

The error:

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

Re: [Dev] Replacing JSW with nohup

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

 

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

 

Saludos,

Ing. Jorge Infante Osorio.

J´Dpto Soluciones SOA.

CDAE.

Fac. 5.

UCI.

 

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

 

Hi Devs,

 

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

 

WDYT?

 

If all agreed, following are the action items.

 

* Remove JSW and all the related files.

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

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

 

 

Thanks,

Sameera.

 

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

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

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

Lean . Enterprise . Middleware



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

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

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


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

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

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

 

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

 

 

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

 

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

 

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

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

java.lang.NullPointerException

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

 

 

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

 

Saludos,

Ing. Jorge Infante Osorio.

J´Dpto Soluciones SOA.

CDAE.

Fac. 5.

UCI.

 



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

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

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


Re: [Dev] P2 repo 3.2.4

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

 

Saludos,

Ing. Jorge Infante Osorio.

J´Dpto Soluciones SOA.

CDAE.

Fac. 5.

UCI.

 

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

 

Hi Pradeep,

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

Hi Jorge,

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

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

Hi,

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

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

--Pradeep

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




-- 
Regards,

Tharindu

 

blog: http://mackiemathew.com/

M: +9459908

 



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

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

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


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

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

 

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

 

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

 

I see the same issue reported in:

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

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

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

 

thanks.

 

 

Saludos,

Ing. Jorge Infante Osorio.

J´Dpto Soluciones SOA.

CDAE.

Fac. 5.

UCI.

 




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

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


Re: [Carbon-dev] JVM appears hung

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

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

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

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

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




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




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

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

Lean . Enterprise . Middleware




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


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

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

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




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

De

[Carbon-dev] JVM appears hung

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

Any advance in this $subject?

 

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

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

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

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

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

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

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

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

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

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

 

Saludos,

Ing. Jorge Infante Osorio.

J´Dpto Soluciones SOA.

CDAE.

Fac. 5.

UCI.

 




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

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


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

2012-02-23 Thread Jorge Infante Osorio

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

   ... 7 more

 

 

 

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

 

Saludos,

Ing. Jorge Infante Osorio.

J´Dpto Soluciones SOA.

CDAE.

Fac. 5.

UCI.

 




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

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


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

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

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

 

Saludos,

Ing. Jorge Infante Osorio.

J´Dpto Soluciones SOA.

CDAE.

Fac. 5.

UCI.

 

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

 

I change the classpath from this

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

To this

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

But still it didn’t work. The error is

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

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



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

 

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

 

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

Hi Leslier, 

 

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

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

 

@Denis,

 

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

 

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

 

Thanks and Regards,

Harshana

 

Hope this helps!

 

Thanks and Regards,

Harshana

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

Hi all.

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

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

 

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

 

 

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





 

-- 
Harshana Martin  

Software Engineer

WSO2 Inc.

Web:http://wso2.com

  http://wso2.org

 

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

Blog: http://harshana05.blogspot.com

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

Twitter: http://twitter.com/harshana05

 


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





 

-- 
Thanks,
Denis
--
Denis Weerasiri
Software Engineer 

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

phone: +94117639629 tel:%2B94117639629 

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

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



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





 

-- 
Harshana Martin  

Software Engineer

WSO2 Inc.

Web:http://wso2.com

  http://wso2.org

 

Mobile: +94 716062650

Blog: http://harshana05.blogspot.com

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

Twitter: http://twitter.com/harshana05







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

 

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



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

 

 




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

[Carbon-dev] mediators develop error.

2012-02-17 Thread Jorge Infante Osorio
)

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

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

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

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

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

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

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

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

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

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

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

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

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

at
org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(Se
rviceRegistry.java:206)

at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(B
undleContextImpl.java:506)

at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(B
undleContextImpl.java:524)

at
org.wso2.carbon.core.init.CarbonServerManager.initializeCarbon(CarbonServerM
anager.java:471)

at
org.wso2.carbon.core.init.CarbonServerManager.removePendingItem(CarbonServer
Manager.java:273)

at
org.wso2.carbon.core.init.PreAxis2ConfigItemListener.bundleChanged(PreAxis2C
onfigItemListener.java:117)

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

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

at
org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManage
r.java:330)

 

Saludos,

Ing. Jorge Infante Osorio.

J´Dpto Soluciones SOA.

CDAE.

Fac. 5.

UCI.

 




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

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


Re: [Carbon-dev] combining two query result

2012-02-17 Thread Jorge Infante Osorio
You don´t have a similar configuration but for queries? My idea is to use 1
query that expose the results of two queries.

 

My scenario:

 

I have a query that return a set of 

Persons

person

id/id

name/name

Area

id/id

nameArea/nameArea

/Area

/person

/Persons

 

I extract the area from another query, a subquery,  passing the user ID, but
the areas are in two differents queries so I need first to combine the
results of this queries in another query.

 

 

With this configuration, it´ss possible to do that?

 

 

Saludos,

Ing. Jorge Infante Osorio.

J´Dpto Soluciones SOA.

CDAE.

Fac. 5.

UCI.

 

De: carbon-dev-boun...@wso2.org [mailto:carbon-dev-boun...@wso2.org] En
nombre de Anjana Fernando
Enviado el: miércoles, 15 de febrero de 2012 22:23
Para: carbon-dev@wso2.org
Asunto: Re: [Carbon-dev] combining two query result

 

Hi Jorge,

We do have an unofficial functionality to do this, it is not in the UI
wizard, basically in the data service configuration, in the operation, use
the syntax in the following way:

operation name=...
  call-query-group
call-query href=q1/
call-query href=q2/
  /call-query-group
/operation

Cheers,
Anjana.

On Thu, Feb 16, 2012 at 7:37 AM, Jorge Infante Osorio jorg...@uci.cu
wrote:

Hi folks.

 

In DSS, it´s possible to combine two query result  into the result of
another query?

 

In query X I have the result of a SELECT in one DB/table in server X, and in
query Y I have the result of another SELECT in another DB/table in server Y.


Both DB have a table with the same fields.

 

I think in something similar to UNION in SQL. :-D

 

It could be possible??

 

Saludos,

Ing. Jorge Infante Osorio.

J´Dpto Soluciones SOA.

CDAE.

Fac. 5.

UCI.

 

 

 http://www.antiterroristas.cu/ 

 http://www.antiterroristas.cu/  

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

 http://www.antiterroristas.cu/ 


-- 
Anjana Fernando
Senior Software Engineer

 http://www.antiterroristas.cu/ WSO2 Inc. | http://wso2.com

 http://www.antiterroristas.cu/ lean . enterprise . middleware




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

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


[Carbon-dev] combining two query result

2012-02-15 Thread Jorge Infante Osorio
Hi folks.

 

In DSS, it´s possible to combine two query result  into the result of
another query?

 

In query X I have the result of a SELECT in one DB/table in server X, and in
query Y I have the result of another SELECT in another DB/table in server Y.


Both DB have a table with the same fields.

 

I think in something similar to UNION in SQL. :-D

 

It could be possible??

 

Saludos,

Ing. Jorge Infante Osorio.

J´Dpto Soluciones SOA.

CDAE.

Fac. 5.

UCI.

 




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

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


[Carbon-dev] error with password in a data service. ERROR: Unexpected character '3' (code 51) (expected a name start character)

2012-02-08 Thread Jorge Infante Osorio
Hi folk.

 

I use AS 4.1.2.

 

I need to use a password to access to a database and receive that error. The
pass that I use: 3dfA23aaaBBCm7dNCd#sdZ43

 

ERROR:

 

DS Code: UNKNOWN_ERROR

Nested Exception:-

org.apache.axiom.om.OMException:
com.ctc.wstx.exc.WstxUnexpectedCharException: Unexpected character '3' (code
51) (expected a name start character)

at [row,col {unknown-source}]: [6,58]

 

at
org.wso2.carbon.dataservices.core.DBDeployer.convertConfigToMultipleDSFormat
(DBDeployer.java:464)

at
org.wso2.carbon.dataservices.core.DBDeployer.createDBService(DBDeployer.java
:710)

at
org.wso2.carbon.dataservices.core.DBDeployer.processService(DBDeployer.java:
1068)

at
org.wso2.carbon.dataservices.core.DBDeployer.deploy(DBDeployer.java:175)

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

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

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

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

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

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

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

at
org.apache.axis2.deployment.scheduler.SchedulerTask.run(SchedulerTask.java:9
4)

at
org.apache.axis2.deployment.scheduler.Scheduler$SchedulerTimerTask.run(Sched
uler.java:93)

at java.util.TimerThread.mainLoop(Unknown Source)

at java.util.TimerThread.run(Unknown Source)

Caused by: org.apache.axiom.om.OMException:
com.ctc.wstx.exc.WstxUnexpectedCharException: Unexpected character '3' (code
51) (expected a name start character)

at [row,col {unknown-source}]: [6,58]

at
org.apache.axiom.om.impl.builder.StAXOMBuilder.next(StAXOMBuilder.java:296)

at
org.apache.axiom.om.impl.llom.OMSerializableImpl.build(OMSerializableImpl.ja
va:78)

at
org.apache.axiom.om.impl.llom.OMElementImpl.build(OMElementImpl.java:722)

at
org.wso2.carbon.dataservices.core.DBDeployer.convertConfigToMultipleDSFormat
(DBDeployer.java:425)

... 14 more

Caused by: com.ctc.wstx.exc.WstxUnexpectedCharException: Unexpected
character '3' (code 51) (expected a name start character)

at [row,col {unknown-source}]: [6,58]

at
com.ctc.wstx.sr.StreamScanner.throwUnexpectedChar(StreamScanner.java:648)

at
com.ctc.wstx.sr.StreamScanner.parseFullName(StreamScanner.java:1861)

at
com.ctc.wstx.sr.StreamScanner.parseEntityName(StreamScanner.java:1985)

at
com.ctc.wstx.sr.StreamScanner.fullyResolveEntity(StreamScanner.java:1496)

at
com.ctc.wstx.sr.BasicStreamReader.nextFromTree(BasicStreamReader.java:2757)

at
com.ctc.wstx.sr.BasicStreamReader.next(BasicStreamReader.java:1019)

at
org.apache.axiom.util.stax.wrapper.XMLStreamReaderWrapper.next(XMLStreamRead
erWrapper.java:225)

at
org.apache.axiom.om.impl.builder.StAXOMBuilder.parserNext(StAXOMBuilder.java
:681)

at
org.apache.axiom.om.impl.builder.StAXOMBuilder.next(StAXOMBuilder.java:214)

... 17 more

 

Thanks,

 

Saludos,

Ing. Jorge Infante Osorio.

J´Dpto Soluciones SOA.

CDAE.

Fac. 5.

UCI.

 




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

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


[Carbon-dev] Issue sending messages from ESB to MB Topic. errorCode=UNAUTHORIZED_ACCESS

2012-02-04 Thread Jorge Infante Osorio
Hi all. I´m facing this issue in a scenario using ESB and MB. 
The idea is that I send a message to a proxy service, and this proxy send the 
message to a topic in MB. this topic send the soap message to their 
subscribers. 
I have two DS subscriber to the topic in MB. 

In esb-publish-jndi.properties file I have this connection factories: 

connectionfactory.QueueConnectionFactory = 
amqp://admin:admin@carbon/carbon?brokerlist='tcp://localhost:5673' 
connectionfactory.TopicConnectionFactory = 
amqp://admin:admin@carbon/carbon?brokerlist='tcp://localhost:5673' 

I can login with admin/admin in ESB and MB. 


See the errors: 


This is my proxy service: 


proxy xmlns= http://ws.apache.org/ns/synapse  name=TopicSender 
transports=http startOnLoad=true trace=disable 
target 
endpoint 
address 

uri=jms:/usuarios?transport.jms.ConnectionFactoryJNDIName=TopicConnectionFa 
ctoryamp;java.naming.factory.initial=org.apache.qpid.jndi.PropertiesFileIni 
tialContextFactoryamp;java.naming.provider.url=repository/conf/esb-publish- 
jndi.propertiesamp;transport.jms.DestinationType=topicamp; transport.jms.De 
stination=usuarios/ 

/endpoint 
inSequence 
property action=set name=OUT_ONLY value=true 
scope=axis2/ 
property name=messageType value=application/xml scope=axis2/ 

/inSequence 
outSequence 
send/ 
/outSequence 
/target 
publishWSDL key=gov:/wsdls/usuarios.wsdl/ 
/proxy 

When I send a Message to this proxy Service I see this error in console: 


[2012-01-29 12:42:53,800] ERROR - AMQConnection Throwable Received but no 
listener set: org.apache.qpid.AMQException: ch=0 id=0 
ExecutionException(errorCode=UNAUTHORIZED_ACCESS, commandId=4, 
description=Cannot declare queue 
'_tmp_60e792f3-693b-4aad-b44b-5923d7296a62@amq.topic_9a86d6d3-c221-4350-9673-4efdf757e4c1':
 Permission denied: queue-name 
'_tmp_60e792f3-693b-4aad-b44b-5923d7296a62@amq.topic_9a86d6d3-c221-4350-9673-4efdf757e4c1')
 [error code 403: access refused] 
[2012-01-29 12:42:53,802] ERROR - AMQConnection Throwable Received but no 
listener set: org.apache.qpid.AMQException: ch=0 id=0 
ExecutionException(errorCode=UNAUTHORIZED_ACCESS, 
commandId=4,description=Cannot declare queue 
'_tmp_60e792f3-693b-4aad-b44b-5923d7296a62@amq.topic_9a86d6d3-c221-4350-9673-4efdf757e4c1':
 Permission denied: queue-name 
'_tmp_60e792f3-693b-4aad-b44b-5923d7296a62@amq.topic_9a86d6d3-c221-4350-9673-4efdf757e4c1')
 [error code 403: access refused] 
[2012-01-29 12:42:53,803] ERROR - JMSSender Error creating a consumer, or 
receiving a synchronous reply for outgoing MessageContext ID : 
urn:uuid:95264a49-f022-4887-a6f1-cb4b8353c822 and reply Destination : 
topic://amq.topic/tmp_60e792f3-693b-4aad-b44b-5923d7296a62/_tmp_60e792f3-693b-4aad-b44b-5923d7296a62@amq.topic_9a86d6d3-c221-4350-9673-4efdf757e4c1?routingkey='tmp_60e792f3-693b-4aad-b44b-5923d7296a62'exclusive='true'autodelete='true'javax.jms.JMSException:
 Error registering consumer: 
org.apache.qpid.AMQException: ch=0 id=0 
ExecutionException(errorCode=UNAUTHORIZED_ACCESS, 
commandId=4,description=Cannot declare queue 
'_tmp_60e792f3-693b-4aad-b44b-5923d7296a62@amq.topic_9a86d6d3-c221-4350-9673-4efdf757e4c1':
 Permission denied: 
queue-name'_tmp_60e792f3-693b-4aad-b44b-5923d7296a62@amq.topic_9a86d6d3-c221-4350-9673-4efdf757e4c1')
 [error code 403: access refused] 
at org.apache.qpid.client.AMQSession$4.execute(AMQSession.java:2036) 
at org.apache.qpid.client.AMQSession$4.execute(AMQSession.java:1979) 
at 
org.apache.qpid.client.AMQConnectionDelegate_0_10.executeRetrySupport(AMQConnectionDelegate_0_10.java:312)
 
at 
org.apache.qpid.client.AMQConnection.executeRetrySupport(AMQConnection.java: 
622) 
at 
org.apache.qpid.client.failover.FailoverRetrySupport.execute(FailoverRetrySupport.java:102)
 
at 
org.apache.qpid.client.AMQSession.createConsumerImpl(AMQSession.java:1977) 
at 
org.apache.qpid.client.AMQSession.createExclusiveConsumer(AMQSession.java:999) 
at 
org.apache.qpid.client.AMQSession.createSubscriber(AMQSession.java:1445) 
at 
org.apache.qpid.client.AMQTopicSessionAdaptor.createSubscriber(AMQTopicSessionAdaptor.java:68)
 
at 
org.apache.axis2.transport.jms.JMSUtils.createConsumer(JMSUtils.java:435) 
at 
org.apache.axis2.transport.jms.JMSSender.waitForResponseAndProcess(JMSSender.java:270)
 
at 
org.apache.axis2.transport.jms.JMSSender.sendOverJMS(JMSSender.java:247) 
at 
org.apache.axis2.transport.jms.JMSSender.sendMessage(JMSSender.java:154) 
at 
org.apache.axis2.transport.base.AbstractTransportSender.invoke(AbstractTransportSender.java:112)
 
at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:443) 
at 
org.apache.synapse.core.axis2.DynamicAxisOperation$DynamicOperationClient.send(DynamicAxisOperation.java:193)
 
at 
org.apache.synapse.core.axis2.DynamicAxisOperation$DynamicOperationClient.executeImpl(DynamicAxisOperation.java:175)
 
at 
org.apache.axis2.client.OperationClient.execute(OperationClient.java:165) 
at 
org.apache.synapse.core.axis2.Axis2FlexibleMEPClient.send(Axis2FlexibleMEPClient.java:441)
 

[Carbon-dev] About WSO2 ESB by Example - Pub/Sub in SOA sandesha2 issue

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

I´m working in the implementation of this scenario: “A SOAP JMS client as a
publisher”  using WSO2 ESB by Example - Pub/Sub in SOA tutorial.

 

 

When I try to implement the soap jms client I receive this error:

 

log4j:WARN No appenders could be found for logger
(org.apache.axiom.om.util.StAXUtils).

log4j:WARN Please initialize the log4j system properly.

Exception in thread main java.lang.ExceptionInInitializerError

   at org.apache.sandesha2.SandeshaModule.init(SandeshaModule.java:86)

   at
org.apache.axis2.context.ConfigurationContextFactory.initModules(Configurati
onContextFactory.java:252)

   at
org.apache.axis2.context.ConfigurationContextFactory.init(ConfigurationConte
xtFactory.java:230)

   at
org.apache.axis2.context.ConfigurationContextFactory.createConfigurationCont
ext(ConfigurationContextFactory.java:93)

   at
org.apache.axis2.context.ConfigurationContextFactory.createConfigurationCont
extFromFileSystem(ConfigurationContextFactory.java:210)

   at cu.uci.cdae.TopicPublisher.main(TopicPublisher.java:32)

Caused by: java.util.MissingResourceException: Cannot find resource
'org.apache.sandesha2.i18n.resource'

   at
org.apache.axis2.i18n.ProjectResourceBundle.getBundle(ProjectResourceBundle.
java:260)

   at
org.apache.sandesha2.i18n.SandeshaMessageHelper.clinit(SandeshaMessageHelp
er.java:38)

   ... 6 more

 

In the mar file providing in [1] I cannot find the
'org.apache.sandesha2.i18n.resource'

 

 

[1] http://wso2.org/files/pub-sub-sample-config.zip

 

Saludos,

Ing. Jorge Infante Osorio.

J´Dpto Soluciones SOA.

CDAE.

Fac. 5.

UCI.

 




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

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


[Carbon-dev] Messages in a Queue in MB doesn't appear.

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

I´m working in this scenario:
• I have an out only proxy service that receive a message and store it in a
Queue(MB or ActiveMQ) using a Message Store mediator.
• Also I have a Message Processor that extract the messages and send it to a
backend service in AS.

I use as my broker the MB or  ActiveMQ because I need to test it with the
two brokers.

This scenario using MB or ActiveMQ work just fine with AS 4.1.2, ESB 4.0.3,
MB 1.0.2 and ActiveMQ 5.4.3. It work with backend service online and
offline.

Now the issue:

When the backend service in down I can see the messages store in ActiveMQ
Queue pending for it extraction but when I use the MB of WSO2 instead of
ActiveMQ, I don´t see any message in the queue detail page, Message count =
0 all the time, so it´s like no message is store inside MB.
This is the normal behavior?

In both case I can see the messages in the Message Store.

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



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


[Carbon-dev] usability improvements in ESB

2012-01-14 Thread Jorge Infante Osorio
Hi folks.

In this days I´m working with the ESB, the MB and the AS. So I see, maybe,
some usability improvements:

• It´s possible to show in the UI of ESB if the MB is down, in the cases
where a proxy service or a message store or a message processor need to use
the MB? I can see that the MB is down in the console and in the logs but not
in the admin UI console.

• It´s possible to show in the UI of ESB if the AS is down or the backend
service, in the case that a message processor need to extract a message from
a queue and send it to an endpoint? We can see that when the endpoint is
down the message is store and not extracted and send it, because it appear
in the Message Store page and in the ActiveMQ Queue or in the MB, ideally
because with the 1.0.2 version I can’t see it. But we don´t know why this
happen.

I think that with and alert system that popup this issues or a page where we
can see what happen it´s just great. :-D

I ask this because I have a lot of proxy services that use the MB or
ActiveMQ  and need to send messages to the AS, and when some of this tools
is down in my console appear a lot of errors every a few seconds so I need
to figure out what happened.

Another improvement is with the creations of message store and message
processors, that have many possible properties. It could be possible to list
this properties in a way that we don´t need to write them and just specified
their values???

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




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


[Carbon-dev] Configure a DS as a subscriber to a topic in ActiveMQ

2012-01-11 Thread Jorge Infante Osorio
Hi folks.

 

How I can $subject in AS 4.1.2? 

 

Saludos,

Ing. Jorge Infante Osorio.

J´Dpto Soluciones SOA.

CDAE.

Fac. 5.

UCI.

 




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

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


Re: [Carbon-dev] Configure a DS as a subscriber to a topic in ActiveMQ

2012-01-11 Thread Jorge Infante Osorio
Hi Dinusha. I do it like in [1] but I don´t know if I miss something, I want
to subscribe several DS to a single topic in ActiveMQ, how I can configure
that?.

 

 

Like in [1] I do the steps from 1 to 5 of “Configure to Communicate WSO2 BPS
with Active MQ”,  with the AS in my case. 

 

In this moment I need to know how to specified the subscription of a DS to a
topic, create by a proxy service,  in ActiveMQ.

 

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 Dinusha Senanayaka
Enviado el: jueves, 12 de enero de 2012 0:44
Para: carbon-dev@wso2.org
Asunto: Re: [Carbon-dev] Configure a DS as a subscriber to a topic in
ActiveMQ

 

Hi Jorge,

2012/1/12 Jorge Infante Osorio jorg...@uci.cu

Hi folks.

 

How I can $subject in AS 4.1.2? 


Follow the same steps provided in article [1] .
[1].
http://wso2.org/library/articles/2012/01/configuring-jms-transport-in-wso2-b
usiness-process-server-bps 

Regards,
Dinusha.

 

Saludos,

Ing. Jorge Infante Osorio.

J´Dpto Soluciones SOA.

CDAE.

Fac. 5.

UCI.

 

 

 http://www.antiterroristas.cu/ 

 http://www.antiterroristas.cu/  

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

 http://www.antiterroristas.cu/  




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

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


Re: [Carbon-dev] Giving two distributions as online and offline for CS 2.0.0

2012-01-08 Thread Jorge Infante Osorio
+1. 
For us, with a very poor internet connection, a distribution with
dependencies are the best choice :-D 

Thanks,
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 Sumedha Rubasinghe
Enviado el: lunes, 02 de enero de 2012 23:48
Para: Chathuri Wimalasena
CC: carbon-dev@wso2.org
Asunto: Re: [Carbon-dev] Giving two distributions as online and offline for
CS 2.0.0

+1. But I think calling these two online  offline is misleading.
How about with dependencies  without dependencies?

/sumedha

On Tue, Jan 3, 2012 at 9:53 AM, Chathuri Wimalasena chath...@wso2.com
wrote:
Hi All, 

For CS 2.0.0, we need to have Eclipse GMF related bundles installed in to
the Eclipse instance that is running. At the moment what we do is, ask users
to do an online installation of CS 2.0.0, so all the needed bundles will be
downloaded and installed. This online installation takes sometime, if the
internet connection of the user is not strong enough. A jira [1] is also
being reported. As another option what we can do is add all the GMF related
bundles inside CS 2.0.0 distribution which will allow users to install CS in
very short period. But this has some drawbacks such as
• Distribution will be increased by 40-50MB of size
• Needed plugin list is huge (near 115 bundles) and all those bundles should
be added to the pom and maven repo
• Once we do that, we stick to  a specific version of those plugins. But if
we allow online installation, it will always download the latest versions
from the repos
We are planning to give two distributions as online installation (which will
be less in size, but take some time to install) and offline installation
(which will be extra 40-50MB in size, but take very small time to install).
WDYT ?

Thanks and Regards,
Chathuri

[1] https://wso2.org/jira/browse/TOOLS-878

-- 
Chathuri Wimalasena
Senior Software Engineer; WSO2, Inc.;  http://wso2.com/
email: chath...@wso2.com; phone: +94 772 608 596
blog: http://chathuriwimalasena.blogspot.com/




-- 
/sumedha
+94 773017743



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


Re: [Carbon-dev] XA Transactions

2012-01-08 Thread Jorge Infante Osorio
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-dev@wso2.org
Asunto: Re: [Carbon-dev] XA Transactions


Hi Jorge,

We are looking into this.

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

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

In context.xml:

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

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

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

And this is the pool in my dbreport mediator config:

                   pool
                                                passwordpass/password
                                                userpostgres/user

dsNamejava:comp/env/jdbc/pruebas/dsName

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

icClassorg.apache.naming.java.javaURLContextFactory/icClass

                   /pool

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

The error:

[2011-12-15 16:44:27,209] ERROR - DataSourceFinder DataSource :
java:comp/env/jdbc/pruebas not found when looking up using JNDI properties :
{java.naming.factory.initial=org.apache
.naming.java.javaURLContextFactory,
java.naming.factory.url.pkgs=org.apache.naming,
jmx.remote.authenticator=org.wso2.carbon.core.security.CarbonJMXAuthenticato
r@b88745}
[2011-12-15 16:44:27,209] FATAL - ServiceBusInitializer Couldn't initialize
the ESB...
org.apache.synapse.commons.SynapseCommonsException: DataSource :
java:comp/env/jdbc/pruebas not found when looking up using JNDI properties :
{java.naming.factory.initial=org.apach
e.naming.java.javaURLContextFactory,
java.naming.factory.url.pkgs=org.apache.naming,
jmx.remote.authenticator=org.wso2.carbon.core.security.CarbonJMXAuthenticato
r@b88745}
       at
org.apache.synapse.commons.datasource.DataSourceFinder.find(DataSourceFinder
.java:71)
       at
org.apache.synapse.commons.datasource.DataSourceFinder.find(DataSourceFinder
.java:49)
       at
org.apache.synapse.mediators.db.AbstractDBMediator.lookupDataSource(Abstract
DBMediator.java:423)
       at
org.apache.synapse.mediators.db.AbstractDBMediator.init(AbstractDBMediator.j
ava:79)
       at
org.apache.synapse.mediators.AbstractListMediator.init(AbstractListMediator.
java:106)
       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(NativeMethodAccessorImpl.java:39
)
       at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
       at java.lang.reflect.Method.invoke(Method.java:597)
       at
org.eclipse.equinox.internal.ds.model.ServiceComponent.activate(ServiceCompo
nent.java:230)
       at
org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activate(ServiceC
omponentProp.java:140)
       at
org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComp
onentProp.java:330)
       at
org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProce
ss.java:560)
       at
org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProc
ess.java:182)
       at
org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:292)
       at
org.eclipse.equinox.internal.ds.SCRManager.serviceChanged(SCRManager.java:22
6)
       at
org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceCha
nged(FilteredServiceListener.java:124)
       at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(Bun
dleContextImpl.java:930)
       at
org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.
java:220

Re: [Carbon-dev] WSO2 BAM 2.0.0-ALPHA Released!

2011-12-16 Thread Jorge Infante Osorio
} -  Failed to start Qpid
broker : Could not bind to 0.0.0.0/0.0.0.0:5679
[2011-12-16 15:26:09,435]  INFO
{org.wso2.carbon.mediation.initializer.ServiceBusInitializer} -  Starting
ESB...

Anyway, I can access to the UI console :-D.

Now I´m going to test the examples.


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 Tharindu Mathew
Enviado el: viernes, 16 de diciembre de 2011 6:08
Para: architect...@wso2.org
CC: carbon-dev@wso2.org
Asunto: [Carbon-dev] WSO2 BAM 2.0.0-ALPHA Released!

WSO2 Business Activity Monitor (BAM) 2.0.0-Alpha is now available for
download at [1].  

The 2.0.0 alpha version is a complete re-write of BAM concentrating on
scalability, performance and customizability.

Samples

This release contains samples that can be run without setting up another
server to send events to the BAM server.
1. KPI Definition - Sample to simulate receiving events from a server (ex:
WSO2 AS), perform summarizations and visualize product and consumer data in
a retail store
2. Fault Detection  Alerting - Sample to simulate receiving events from a
server (ex: WSO2 ESB), detect faults and fire email alerts
Features

Data Agents
1. A re-usable Agent API to publish events to the BAM server from any
application (samples included)
2. Apache Thrift based Agents to publish data at extremely high throughput
rates
3. Option to use Binary or HTTP protocols
Event Storage
1. Apache Cassandra based scalable data architecture for high throughput of
writes and reads
2. Carbon based security mechanism on top of Cassandra
Analytics
1. An Analyzer Framework with the capability of writing and plugging in any
custom analysis tasks
2. Built in Analyzers for common operations such as get, put aggregate,
alert, fault detection, etc.
3. Scheduling capability of analysis tasks
Visualization
1. Drag and drop gadget IDE to visualize analyzed data with zero code
2. Capability to plug in additional UI elements and Data sources to Gadget
IDE
3. Google gadgets based dashboard

We welcome to use this and provide feed back ahead of the major release in
Q1/Q2 2012.

Keys available at [2], [3].


[1] - http://dist.wso2.org/products/bam/2.0.0-Alpha/wso2bam-2.0.0-ALPHA.zip
[2]
- http://dist.wso2.org/products/bam/2.0.0-Alpha/wso2bam-2.0.0-ALPHA.zip.md5
[3]
- http://dist.wso2.org/products/bam/2.0.0-Alpha/wso2bam-2.0.0-ALPHA.zip.asc

-- 
Regards,

Tharindu

blog: http://mackiemathew.com/




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


Re: [Carbon-dev] XA Transactions

2011-12-15 Thread Jorge Infante Osorio
.carbon.core.services.internal.CarbonServicesServiceComponent.activa
te(CarbonServicesServiceComponent.java:72)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.eclipse.equinox.internal.ds.model.ServiceComponent.activate(ServiceCompo
nent.java:230)
at
org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activate(ServiceC
omponentProp.java:140)
at
org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComp
onentProp.java:330)
at
org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProce
ss.java:560)
at
org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProc
ess.java:182)
at
org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:292)
at
org.eclipse.equinox.internal.ds.SCRManager.serviceChanged(SCRManager.java:22
6)
at
org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceCha
nged(FilteredServiceListener.java:124)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(Bun
dleContextImpl.java:930)
at
org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.
java:220)
at
org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(L
istenerQueue.java:149)
at
org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEven
tPrivileged(ServiceRegistry.java:757)
at
org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEven
t(ServiceRegistry.java:712)
at
org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(S
erviceRegistrationImpl.java:129)
at
org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(Se
rviceRegistry.java:206)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(B
undleContextImpl.java:506)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(B
undleContextImpl.java:524)
at
org.wso2.carbon.core.init.CarbonServerManager.initializeCarbon(CarbonServerM
anager.java:471)
at
org.wso2.carbon.core.init.CarbonServerManager.removePendingItem(CarbonServer
Manager.java:273)
at
org.wso2.carbon.core.init.PreAxis2ConfigItemListener.bundleChanged(PreAxis2C
onfigItemListener.java:117)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(Bun
dleContextImpl.java:916)
at
org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.
java:220)
at
org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManage
r.java:330)
[2011-12-15 16:44:27,225]  INFO - EventBrokerBuilderDS Successfully
registered the event broker

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

De: Anjana Fernando [mailto:anj...@wso2.com] 
Enviado el: lunes, 12 de diciembre de 2011 4:22
Para: Jorge Infante Osorio
CC: carbon-dev@wso2.org
Asunto: Re: XA Transactions

Hi Jorge,

I'm a bit busy with some work now, I will check it out later, but I've done
this in some way earlier, maybe we'd the server.xml in earlier Carbon
versions, I'm not totally sure, you can google around a bit and find the
possibilities of adding a data source in Tomcat. In case I find the solution
first, I will give an update. 

Cheers,
Anjana.
On Mon, Dec 12, 2011 at 12:12 AM, Jorge Infante Osorio jorg...@uci.cu
wrote:
Hi Anjana.

To work with transactions in Tomcat, I need to work with the server.xml and
context.xml files.

I found context.xml under [CARBON_HOME]\lib\tomcat\conf\ but I don´t find
server.xml. Following an Afkham  message, I see that carbon don't support
server.xml config yet.

What can I do in the case I cannot use server.xml?


Another idea: deploy ESB inside Apache Tomcat?? For me it´s not so good
because I want to use ESB standalone.

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

De: Anjana Fernando [mailto:anj...@wso2.com]
Enviado el: domingo, 11 de diciembre de 2011 2:38
Para: Jorge Infante Osorio
CC: carbon-dev@wso2.org
Asunto: Re: XA Transactions
Hi Jorge,
On Sun, Dec 11, 2011 at 12:53 PM, Jorge Infante Osorio jorg...@uci.cu
wrote:
My bad. I forgot to check that option  :-D  thanks, it work now.

Can I do the same config with the DBReport in ESB? I´m try to figure out how
to do a transaction between 3 DBReport mediators.

Good to hear it works! .. as for DBReport, I'm afraid you can't use the same
configuration, for this, you may have to dig into the Tomcat configurations
and create an XA data source there. I haven't personally tested that
scenario that much. But we are also planning to add the XA data source
support to the data sources component we have, so we can create

Re: [Carbon-dev] XA Transactions

2011-12-12 Thread Jorge Infante Osorio
Done: https://wso2.org/jira/browse/DS-533 

 

Saludos,

Ing. Jorge Infante Osorio.

J´Dpto Soluciones SOA.

CDAE.

Fac. 5.

UCI.

 

De: Anjana Fernando [mailto:anj...@wso2.com] 
Enviado el: sábado, 10 de diciembre de 2011 22:41
Para: Jorge Infante Osorio
CC: carbon-dev@wso2.org
Asunto: Re: XA Transactions

 

Hi Jorge,

The root cause here is this,

DS Fault Message: Setter method for property 'URL' cannot be found
DS Code: UNKNOWN_ERROR
  At
org.wso2.carbon.dataservices.

core.description.xa.XADataSourceInfo.initXA(XAD
ataSourceInfo.java:59)


Which means, the XADataSource property URL is not available. That means,
simply, there should be a setter named setURL in Postgres XADataSource
implementation. But as I just checked here [1], there's no such thing. Seems
this is a bug in our wizard, where we auto-populate some well known
properties like URL, username and password properties. We've made an
assumption that all XADataSource implementations will contain those three
properties in any possible names like, some will have user and another
username and so on, we've made the presets like that, but obviously we got
it wrong with Postgres, where it doesn't really have the URL property in
anyway. So what we have to do is, we have to give the properties:
serverName, databaseName, portNumber as mentioned here [1], to get the
similar functionality. Normally you can add them from the XADataSource page
in the wizard, but because of the URL property, you will have to add these
from the XML edit view, and remove the URL property also.

And please create an issue for this in Carbon JIRA under data services UI
component. 

[1]
http://jdbc.postgresql.org/development/privateapi/org/postgresql/ds/common/B
aseDataSource.html#setServerName(java.lang.String)
http://jdbc.postgresql.org/development/privateapi/org/postgresql/ds/common/
BaseDataSource.html#setServerName%28java.lang.String%29 

Cheers,
Anjana.

On Sun, Dec 11, 2011 at 8:45 AM, Jorge Infante Osorio jorg...@uci.cu
wrote:

Hi Anjana, thanks.

Tool: AS 4.1.2.

I follow your suggestion and create a DS with the postgreSQL driver
postgresql-9.0-801.jdbc4.jar , with this simple configuration:

data name=transaccion1
  config id=rr
 property
name=org.wso2.ws.dataservice.xa_datasource_classorg.postgresql.xa.PGXADat
aSource/property
 property name=org.wso2.ws.dataservice.xa_datasource_properties
property
name=URLjdbc:postgresql://127.0.0.1:5432/pruebas/property
property name=Useruser/property
property name=Passwordpass/property
 /property
  /config
  query id=selecALL useConfig=rr
 sqlselect * from estudiantes/sql
 result element=estudiantes rowName=estudiante
defaultNamespace=http://estudiantes.cdae.uci.cu;
element name=nombre column=nombre xsdType=xs:string /
 /result
  /query
  operation name=SeleccionarTodos
 call-query href=selecALL /
  /operation
/data

Is the AS I see this error after deploy the DS in the UI console:

DS Fault Message: Cannot create XADataSource instance using the class:

org.postgresql.xa.PGXADataSource DS Code: UNKNOWN_ERROR Source DataService:-

Name: transaccion1 Location: \transaccion1.dbs Description: N/A
Default Namespace: http://ws.wso2.org/dataservice Nested Exception:- DSFault
Message: Setter method for property 'URL' cannot be found DS Code:
UNKNOWN_ERROR at
org.wso2.carbon.dataservices.core.description.xa.XADataSourceInfo.initXA(XAD
ataSourceInfo.java:59) at
org.wso2.carbon.dataservices.core.description.xa.XADataSourceInfo.(XADataSou
rceInfo.java:50) at
org.wso2.carbon.dataservices.core.description.config.RDBMSConfig.createXADat
aSourceInfo(RDBMSConfig.java:83) at
org.wso2.carbon.dataservices.core.description.config.RDBMSConfig.(RDBMSConfi
g.java:49) at
org.wso2.carbon.dataservices.core.description.config.ConfigFactory.getRDBMSC
onfig(ConfigFactory.java:74) at
org.wso2.carbon.dataservices.core.description.config.ConfigFactory.createCon
fig(ConfigFactory.java:52) at
org.wso2.carbon.dataservices.core.DataServiceFactory.createDataService(DataS
erviceFactory.java:151) at
org.wso2.carbon.dataservices.core.DBDeployer.createDBService(DBDeployer.java
:717) at
org.wso2.carbon.dataservices.core.DBDeployer.processService(DBDeployer.java:
1068) at
org.wso2.carbon.dataservices.core.DBDeployer.deploy(DBDeployer.java:175) at
org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(Deploy
mentFileData.java:136) at
org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:
813) at
org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoList.jav
a:144) at
org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener.jav
a:371) at
org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListe
ner.java:254) at
org.apache.axis2.deployment.RepositoryListener.startListener(RepositoryListe
ner.java:365) at
org.apache.axis2.deployment.scheduler.SchedulerTask.checkRepository(Schedule
rTask.java:73) at
org.apache.axis2

Re: [Carbon-dev] XA Transactions

2011-12-11 Thread Jorge Infante Osorio
Hi Anjana. 

To work with transactions in Tomcat, I need to work with the server.xml and
context.xml files. 

I found context.xml under [CARBON_HOME]\lib\tomcat\conf\ but I don´t find
server.xml. Following an Afkham  message, I see that carbon don't support
server.xml config yet.

What can I do in the case I cannot use server.xml?


Another idea: deploy ESB inside Apache Tomcat?? For me it´s not so good
because I want to use ESB standalone.

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

De: Anjana Fernando [mailto:anj...@wso2.com] 
Enviado el: domingo, 11 de diciembre de 2011 2:38
Para: Jorge Infante Osorio
CC: carbon-dev@wso2.org
Asunto: Re: XA Transactions

Hi Jorge,
On Sun, Dec 11, 2011 at 12:53 PM, Jorge Infante Osorio jorg...@uci.cu
wrote:
My bad. I forgot to check that option  :-D  thanks, it work now.

Can I do the same config with the DBReport in ESB? I´m try to figure out how
to do a transaction between 3 DBReport mediators.

Good to hear it works! .. as for DBReport, I'm afraid you can't use the same
configuration, for this, you may have to dig into the Tomcat configurations
and create an XA data source there. I haven't personally tested that
scenario that much. But we are also planning to add the XA data source
support to the data sources component we have, so we can create global XA
data sources from there, which can be used by anywhere. 

Cheers,
Anjana.
 

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

De: Anjana Fernando [mailto:anj...@wso2.com]
Enviado el: domingo, 11 de diciembre de 2011 1:36
Para: Jorge Infante Osorio; carbon-dev
Asunto: Re: XA Transactions

Hi,

For the error you just mentioned, as the error message mentions, distributed
transactions must be enabled in the data service to allow usage of XA data
sources. This settings is there in the first page of the wizard, where you
can check Enable Distributed Transactions check box, or else in XML edit,
in the initial data XML element, you can set the attribute, enableDTP to
true, e.g.  data name=transaccion1 enableDTP=true  ...

Cheers,
Anjana.



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



-- 
Anjana Fernando
Senior Software Engineer
WSO2 Inc. | http://wso2.com
lean . enterprise . middleware



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


[Carbon-dev] Authenticators priority fail?

2011-12-11 Thread Jorge Infante Osorio
Hi folks.

 

In this configuration the TokenUIAuthenticator have priority over
SAML2SSOAuthenticator?

 

I try to access to carbon server using TokenUIAuthenticator, priority 5 over
SSO 4, but always redirect me to https://127.0.0.1:9444/samlsso.

 

Authenticators xmlns=http://wso2.org/projects/carbon/authenticators.xml;

!-- Authenticator Configurations for TokenUIAuthenticator --

Authenticator name= TokenUIAuthenticator  disabled=true

Priority5/Priority

/Authenticator

 

!-- Authenticator Configurations for SAML2SSOAuthenticator --

Authenticator name=SAML2SSOAuthenticator

Priority4/Priority

Config

Parameter name=LoginPage/carbon/admin/login.jsp/Parameter

Parameter name=ServiceProviderIDAScarbonServer/Parameter

Parameter
name=IdentityProviderSSOServiceURLhttps://127.0.0.1:9444/samlsso/Paramet
er

/Config

/Authenticator

/Authenticators

 

 

 

Saludos,

Ing. Jorge Infante Osorio.

J´Dpto Soluciones SOA.

CDAE.

Fac. 5.

UCI.

 




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

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


Re: [Carbon-dev] XA Transactions

2011-12-10 Thread Jorge Infante Osorio
.carbon.dataservices.core.DataServiceFactory.createDataService(DataS
erviceFactory.java:151)
       at
org.wso2.carbon.dataservices.core.DBDeployer.createDBService(DBDeployer.java
:717)
       at
org.wso2.carbon.dataservices.core.DBDeployer.processService(DBDeployer.java:
1068)
       at
org.wso2.carbon.dataservices.core.DBDeployer.deploy(DBDeployer.java:175)
       at
org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(Deploy
mentFileData.java:136)
       at
org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:
813)
       at
org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoList.jav
a:144)
       at
org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener.jav
a:371)
       at
org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListe
ner.java:254)
       at
org.apache.axis2.deployment.RepositoryListener.startListener(RepositoryListe
ner.java:365)
       at
org.apache.axis2.deployment.scheduler.SchedulerTask.checkRepository(Schedule
rTask.java:73)
       at
org.apache.axis2.deployment.scheduler.SchedulerTask.run(SchedulerTask.java:9
4)
       at
org.apache.axis2.deployment.scheduler.Scheduler$SchedulerTimerTask.run(Sched
uler.java:93)
       at java.util.TimerThread.mainLoop(Timer.java:512)
       at java.util.TimerThread.run(Timer.java:462)
Caused by: DS Fault Message: Setter method for property 'URL' cannot be
found
DS Code: UNKNOWN_ERROR

       At
org.wso2.carbon.dataservices.core.description.xa.XADataSourceInfo.assignProp
s(XADataSourceInfo.java:70)
       at
org.wso2.carbon.dataservices.core.description.xa.XADataSourceInfo.initXA(XAD
ataSourceInfo.java:57)
       ... 20 more


Any idea?

Saludos,
Ing. Jorge Infante Osorio.
J´Dpto Soluciones SOA.
CDAE.
Fac. 5.
UCI.
De: Anjana Fernando [mailto:anj...@wso2.com]
Enviado el: sábado, 10 de diciembre de 2011 7:17
Para: Jorge Infante Osorio
Asunto: Re: XA Transactions

Hi Jorge,

You have to create the XADataSources from DSS. There in the data sources
page, you can select the type a XA data source and create it.

Cheers,
Anjana.
2011/12/10 Jorge Infante Osorio jorg...@uci.cu
Hi Anjana.
About your post: XA Transactions with Apache DBCP

Where I need to put the XADataSource in carbon framework?
Can you provide me an example of this config?

Thanks,
Saludos,
Ing. Jorge Infante Osorio.
J´Dpto Soluciones SOA.
CDAE.
Fac. 5.
UCI.
-- 
Anjana Fernando
Senior Software Engineer
WSO2 Inc. | http://wso2.com
lean . enterprise . middleware



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


[Carbon-dev] Issue with SSO using IS 3.2.2

2011-12-10 Thread Jorge Infante Osorio
Hi folks.

 

I configure the IS as a single sign-on provider and also the AS 4.1.2 and
ESB 4.0.2 as a relying party, installing the SAML2 SSO Authenticator in each
tool and configuring the authenticators.xml file point to the IS, like this:

 

Authenticator name=SAML2SSOAuthenticator

Priority10/Priority

Config

Parameter name=LoginPage/carbon/admin/login.jsp/Parameter

Parameter name=ServiceProviderIDAScarbonServer/Parameter

Parameter
name=IdentityProviderSSOServiceURLhttps://127.0.0.1:9444/samlsso/Paramet
er

/Config

/Authenticator

 

In the IS I have this config:



 

I can login in each tool using the SSO mechanism that redirect to
https://localhost:9444/samlsso but I don´t have the SSO behavior between
tools. I have to login in AS and in ESB every time. 

 

This is right behavior?

 

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

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


[Carbon-dev] HTTP Status 405 in IS 3.2.2

2011-12-10 Thread Jorge Infante Osorio
When I try to Access to
https://localhost:9444/carbon/oauth/docs/userguide.html I see this:

 

HTTP Status 405 - HTTP method GET is not supported by this URL

  _  

type Status report

message HTTP method GET is not supported by this URL

description The specified HTTP method is not allowed for the requested
resource (HTTP method GET is not supported by this URL).

  _  

Apache Tomcat/7.0.14

 

 

Saludos,

Ing. Jorge Infante Osorio.

J´Dpto Soluciones SOA.

CDAE.

Fac. 5.

UCI.

 




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

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


Re: [Carbon-dev] XA Transactions

2011-12-10 Thread Jorge Infante Osorio
My bad. I forgot to check that option  :-D  thanks, it work now.

Can I do the same config with the DBReport in ESB? I´m try to figure out how
to do a transaction between 3 DBReport mediators.

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

De: Anjana Fernando [mailto:anj...@wso2.com] 
Enviado el: domingo, 11 de diciembre de 2011 1:36
Para: Jorge Infante Osorio; carbon-dev
Asunto: Re: XA Transactions

Hi,

For the error you just mentioned, as the error message mentions, distributed
transactions must be enabled in the data service to allow usage of XA data
sources. This settings is there in the first page of the wizard, where you
can check Enable Distributed Transactions check box, or else in XML edit,
in the initial data XML element, you can set the attribute, enableDTP to
true, e.g.  data name=transaccion1 enableDTP=true  ...

Cheers,
Anjana.




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


[Carbon-dev] problem with maven dependencies in SurchargeStockQuoteMediator example.

2011-12-05 Thread Jorge Infante Osorio
Hi all.

 

[INFO] Unable to find resource 'java-cup:java-cup:pom:0.0' in repository
wso2-m2 (http://dist.wso2.org/maven2/)

[INFO] Unable to find resource 'java-cup:java-cup:pom:0.0' in repository
central (http://repo1.maven.org/maven2)

[INFO] Unable to find resource 'JLex:JLex:pom:0.0' in repository wso2-m2
(http://dist.wso2.org/maven2/)

[INFO] Unable to find resource 'JLex:JLex:pom:0.0' in repository central
(http://repo1.maven.org/maven2)

[WARNING] POM for 'net.sf.saxon:saxon-dom:pom:8.9:provided' is invalid.

 

 

Saludos,

Ing. Jorge Infante Osorio.

J´Dpto Soluciones SOA.

CDAE.

Fac. 5.

UCI.

 




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

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


[Carbon-dev] Issue with Use of transaction in ESB.

2011-12-03 Thread Jorge Infante Osorio
)
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)


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 Jorge Infante Osorio
Enviado el: martes, 29 de noviembre de 2011 16:02
Para: carbon-dev@wso2.org
Asunto: [Carbon-dev] problem with a transaction in ESB.

Hi all.

I have a proxy Service that do the follow:
• Receive a message from a client and create a clone this
message three times.
• Each clone message pass through a sequence.
• In each sequence, I do a call to a DBReport mediator and I
store the message information into a different DB.

My idea and the use of sequences, are based in the idea to use transactions
features. If I insert data in DB1 and DB2, and fail in DB3  I want to do a
rollback in DB1 and DB2.

In Insequence mediator I put transaction action=new/ before clone and
after clone I put transaction action=commit/. Them inside each sequence
with DBReport I put dbreport useTransaction=true

inSequence
    transaction action=new/
    log level=custom
    property name=text value=** Clonando y enviando mensajes
**/
    /log
    clone
    target sequence=insertar_clones/
    target sequence=insertar_clones1/
    target sequence=insertar_clones2/
    /clone
    transaction action=commit/
    property name=OUT_ONLY value=true/
/inSequence


A sequence sample:

sequence xmlns=http://ws.apache.org/ns/synapse; name=insertar_clones
    dbreport useTransaction=true
    connection
    pool
    password/password
    user /user
    urljdbc:postgresql://127.0.0.1:5432/pruebas/url
    driverorg.postgresql.Driver/driver
    /pool
    /connection
    statement
    sqlINSERT INTO estudiantes   ……   VALUES(?,?,?,?,?)/sql
   
    /statement
    /dbreport
/sequence

The error when BD3 is down:

TID: [] [WSO2 ESB] [2011-11-27 08:47:59,968]  INFO
{org.apache.synapse.mediators.builtin.LogMediator} -  text = ** Rollback
Transaction** {org.apache.synapse.mediators.builtin.LogMediator}
TID: [] [WSO2 ESB] [2011-11-27 08:48:00,078] ERROR
{org.apache.synapse.mediators.transaction.TransactionMediator} -  Unable to
rollback transaction
{org.apache.synapse.mediators.transaction.TransactionMediator}
java.lang.IllegalStateException: This method needs a transaction for the
calling thread and none exists.
Possible causes: either you didn't start a transaction,
it rolledback due to timeout, or it was committed already.
ACTIONS: You can try one of the following: 
1. Make sure you started a transaction for the thread.
2. Make sure you didn't terminate it yet.
3. Increase the transaction timeout to avoid automatic rollback of long
transactions;
   check http://www.atomikos.com/Documentation/JtaProperties for how to do

[Carbon-dev] Service Temporarily Unavailable dist.wso2.org

2011-12-02 Thread Jorge Infante Osorio
At
http://dist.wso2.org/nexus/content/repositories/ibiblio-maven/net/sf/saxon/s
axon-xqj/8.9/

Service Temporarily Unavailable
The server is temporarily unable to service your request due to maintenance
downtime or capacity problems. Please try again later.

Apache/2.2.9 (Debian) DAV/2 SVN/1.5.1 PHP/5.2.6-1+lenny13 with Suhosin-Patch
mod_ssl/2.2.9 OpenSSL/0.9.8g Server at dist.wso2.org Port 80

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





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


[Carbon-dev] problem with a transaction in ESB.

2011-11-29 Thread Jorge Infante Osorio
Hi all.

 

I have a proxy Service that do the follow:

• Receive a message from a client and create a clone this
message three times.

• Each clone message pass through a sequence.

• In each sequence, I do a call to a DBReport mediator and I
store the message information into a different DB.

 

My idea and the use of sequences, are based in the idea to use transactions
features. If I insert data in DB1 and DB2, and fail in DB3  I want to do a
rollback in DB1 and DB2.

 

In Insequence mediator I put transaction action=new/ before clone and
after clone I put transaction action=commit/. Them inside each sequence
with DBReport I put dbreport useTransaction=true

 

inSequence

transaction action=new/

log level=custom

property name=text value=** Clonando y enviando mensajes
**/

/log

clone

target sequence=insertar_clones/

target sequence=insertar_clones1/

target sequence=insertar_clones2/

/clone

transaction action=commit/

property name=OUT_ONLY value=true/

/inSequence

 

 

A sequence sample:

 

sequence xmlns=http://ws.apache.org/ns/synapse; name=insertar_clones

dbreport useTransaction=true

connection

pool

password/password

user /user

urljdbc:postgresql://127.0.0.1:5432/pruebas/url

driverorg.postgresql.Driver/driver

/pool

/connection

statement

sqlINSERT INTO estudiantes   ……   VALUES(?,?,?,?,?)/sql

   

/statement

/dbreport

/sequence

 

The error when BD3 is down:

 

TID: [] [WSO2 ESB] [2011-11-27 08:47:59,968]  INFO
{org.apache.synapse.mediators.builtin.LogMediator} -  text = ** Rollback
Transaction** {org.apache.synapse.mediators.builtin.LogMediator}

TID: [] [WSO2 ESB] [2011-11-27 08:48:00,078] ERROR
{org.apache.synapse.mediators.transaction.TransactionMediator} -  Unable to
rollback transaction
{org.apache.synapse.mediators.transaction.TransactionMediator}

java.lang.IllegalStateException: This method needs a transaction for the
calling thread and none exists.

Possible causes: either you didn't start a transaction,

it rolledback due to timeout, or it was committed already.

ACTIONS: You can try one of the following: 

1. Make sure you started a transaction for the thread.

2. Make sure you didn't terminate it yet.

3. Increase the transaction timeout to avoid automatic rollback of long
transactions;

   check http://www.atomikos.com/Documentation/JtaProperties for how to do
this.

at
com.atomikos.icatch.jta.TransactionManagerImp.raiseNoTransaction(Transaction
ManagerImp.java:123)

at
com.atomikos.icatch.jta.TransactionManagerImp.rollback(TransactionManagerImp
.java:518)

at
com.atomikos.icatch.jta.UserTransactionImp.rollback(UserTransactionImp.java:
140)

at
org.wso2.carbon.atomikos.TransactionFactory$TransactionManagerWrapper.rollba
ck(TransactionFactory.java:87)

at
org.apache.synapse.mediators.transaction.TransactionMediator.mediate(Transac
tionMediator.java:78)

at
org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediat
or.java:60)

at
org.apache.synapse.mediators.base.SequenceMediator.mediate(SequenceMediator.
java:114)

at
org.apache.synapse.mediators.MediatorFaultHandler.onFault(MediatorFaultHandl
er.java:81)

at
org.apache.synapse.FaultHandler.handleFault(FaultHandler.java:102)

at
org.apache.synapse.mediators.MediatorWorker.run(MediatorWorker.java:75)

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)

 

 

It´s possible to implement this idea??

 

Saludos,

Ing. Jorge Infante Osorio.

J´Dpto Soluciones SOA.

CDAE.

Fac. 5.

UCI.

 




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

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


[Carbon-dev] Transaction support in Carbon.

2011-11-25 Thread Jorge Infante Osorio
Hi folk.

 

I see in this tutorial [1] that it's necessary to deploy the ESB inside
JBOSS AS in order to support transactions. At this moment this restriction
persist?

 

[1]
http://wso2.org/library/articles/2010/05/transactional-esb-esb-transaction-u
se-cases

 

 

Saludos,

Ing. Jorge Infante Osorio.

J´Dpto Soluciones SOA.

CDAE.

Fac. 5.

UCI.

 




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

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


Re: [Carbon-dev] Writing a Mediator in WSO2 ESB article

2011-11-25 Thread Jorge Infante Osorio
Thanks Hiranya.

I try to mvn compile this Project but with a lot of missing  artifacts [1]
around 23. 

Anyone can send me an working POM file with recent versions for this
project?

I use this external repositories:

http://people.apache.org/repo/m2-incubating-repository 
http://dist.wso2.org/maven2 
http://repo1.maven.org/maven2 
http://download.java.net/maven/2/

And I use Archiva as the repository management tool. 


[1] 6) JLex:JLex:jar:0.0

  Try downloading the file manually from the project website.

  Then, install it using the command:
  mvn install:install-file -DgroupId=JLex -DartifactId=JLex
-Dversion=0.0 -Dpackaging=jar -Dfile=/path/to/file

  Alternatively, if you host your own repository you can deploy the file
there:
  mvn deploy:deploy-file -DgroupId=JLex -DartifactId=JLex -Dversion=0.0
-Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

  Path to dependency:
1)
org.wso2.esb.tutorial.mediators:surcharge-stock-quote-mediator:jar:SNAPSHOT
2) org.apache.synapse:synapse-core:jar:1.2
3) JLex:JLex:jar:0.0

7) bouncycastle:bcprov-jdk13:jar:132

  Try downloading the file manually from the project website.

  Then, install it using the command:
  mvn install:install-file -DgroupId=bouncycastle
-DartifactId=bcprov-jdk13 -Dversion=132 -Dpackaging=jar -Dfile=/path/to/file

  Alternatively, if you host your own repository you can deploy the file
there:
  mvn deploy:deploy-file -DgroupId=bouncycastle
-DartifactId=bcprov-jdk13 -Dversion=132 -Dpackaging=jar -Dfile=/path/to/file
-Durl=[url] -DrepositoryId=[id]

  Path to dependency:
1)
org.wso2.esb.tutorial.mediators:surcharge-stock-quote-mediator:jar:SNAPSHOT
2) org.apache.synapse:synapse-core:jar:1.2
3) org.apache.rampart:rampart-policy:jar:1.4
4) bouncycastle:bcprov-jdk13:jar:132

8) org.opensymphony:quartz:jar:1.6.0

  Try downloading the file manually from the project website.

  Then, install it using the command:
  mvn install:install-file -DgroupId=org.opensymphony
-DartifactId=quartz -Dversion=1.6.0 -Dpackaging=jar -Dfile=/path/to/file

  Alternatively, if you host your own repository you can deploy the file
there:
  mvn deploy:deploy-file -DgroupId=org.opensymphony -DartifactId=quartz
-Dversion=1.6.0 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url]
-DrepositoryId=[id]

  Path to dependency:
1)
org.wso2.esb.tutorial.mediators:surcharge-stock-quote-mediator:jar:SNAPSHOT
2) org.apache.synapse:synapse-core:jar:1.2
3) org.opensymphony:quartz:jar:1.6.0

9) org.apache.commons:commons-vfs:jar:1.1-587797

  Try downloading the file manually from the project website.

  Then, install it using the command:
  mvn install:install-file -DgroupId=org.apache.commons
-DartifactId=commons-vfs -Dversion=1.1-587797 -Dpackaging=jar
-Dfile=/path/to/file

  Alternatively, if you host your own repository you can deploy the file
there:
  mvn deploy:deploy-file -DgroupId=org.apache.commons
-DartifactId=commons-vfs -Dversion=1.1-587797 -Dpackaging=jar
-Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

  Path to dependency:
1)
org.wso2.esb.tutorial.mediators:surcharge-stock-quote-mediator:jar:SNAPSHOT
2) org.apache.synapse:synapse-core:jar:1.2
3) org.apache.commons:commons-vfs:jar:1.1-587797



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 Hiranya Jayathilaka
Enviado el: jueves, 24 de noviembre de 2011 9:11
Para: carbon-dev@wso2.org
Asunto: Re: [Carbon-dev] Writing a Mediator in WSO2 ESB article

Try something more recent like 2.1.0-wso2v4

Thanks,
Hiranya
On Thu, Nov 24, 2011 at 6:50 PM, Jorge Infante Osorio jorg...@uci.cu
wrote:
Using the pom file in
http://docs.wso2.org/display/ESB/Writing+a+WSO2+ESB+Mediator I have this
error:
 
Missing:
--
1)  org.apache.synapse:synapse-core:jar:1.3.0.wso2v1
 
Which is the right version for this artifact?
 
 
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 Sadeep Jayasumana
Enviado el: jueves, 24 de noviembre de 2011 2:36

Para: carbon-dev@wso2.org
Asunto: Re: [Carbon-dev] Writing a Mediator in WSO2 ESB article
 
Hi,

However, there was another error in the same page.
repository/component/mediators should be corrected as
repository/components/lib. Nirdesha will correct this.

Thanks,
Sadeep
On Thu, Nov 24, 2011 at 12:13 PM, Hiranya Jayathilaka hira...@wso2.com
wrote:
 
On Thu, Nov 24, 2011 at 12:03 PM, Samisa Abeysinghe sam...@wso2.com wrote:
 
On Wed, Nov 23, 2011 at 11:21 AM, Sadeep Jayasumana sad...@wso2.com wrote:
Hi Jorge,
On Wed, Nov 23, 2011 at 9:37 AM, Jorge Infante Osorio jorg...@uci.cu
wrote:
Hi Hiranya, thanks.  I will try it them.

I ask because in the same article another user post this issue:

Hi Upal,
Nice article. I have

[Carbon-dev] Issues Timeout trying to lock table and AbstractRegistryStore Error in deleting the proxy service at path

2011-11-25 Thread Jorge Infante Osorio
.table.RegularTable.lock(RegularTable.java:404)
at org.h2.table.TableFilter.lock(TableFilter.java:139)
at org.h2.command.dml.Select.queryWithoutCache(Select.java:554)
at org.h2.command.dml.Query.query(Query.java:241)
at org.h2.command.CommandContainer.query(CommandContainer.java:80)
at org.h2.command.Command.executeQuery(Command.java:132)
at
org.h2.jdbc.JdbcPreparedStatement.executeQuery(JdbcPreparedStatement.java:96
)
at
org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(DelegatingP
reparedStatement.java:96)
at
org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(DelegatingP
reparedStatement.java:96)
at
org.wso2.carbon.registry.core.jdbc.dao.JDBCResourceDAO.getVersion(JDBCResour
ceDAO.java:191)
... 12 more

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




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


Re: [Carbon-dev] Writing a Mediator in WSO2 ESB article

2011-11-24 Thread Jorge Infante Osorio
Using the pom file in
http://docs.wso2.org/display/ESB/Writing+a+WSO2+ESB+Mediator I have this
error:

 

Missing:

--

1)  org.apache.synapse:synapse-core:jar:1.3.0.wso2v1

 

Which is the right version for this artifact?

 

 

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 Sadeep Jayasumana
Enviado el: jueves, 24 de noviembre de 2011 2:36
Para: carbon-dev@wso2.org
Asunto: Re: [Carbon-dev] Writing a Mediator in WSO2 ESB article

 

Hi,

However, there was another error in the same page.
repository/component/mediators should be corrected as
repository/components/lib. Nirdesha will correct this.

Thanks,
Sadeep

On Thu, Nov 24, 2011 at 12:13 PM, Hiranya Jayathilaka hira...@wso2.com
wrote:

 

On Thu, Nov 24, 2011 at 12:03 PM, Samisa Abeysinghe sam...@wso2.com wrote:

 

On Wed, Nov 23, 2011 at 11:21 AM, Sadeep Jayasumana sad...@wso2.com wrote:

Hi Jorge,

On Wed, Nov 23, 2011 at 9:37 AM, Jorge Infante Osorio jorg...@uci.cu
wrote:

Hi Hiranya, thanks.  I will try it them.

I ask because in the same article another user post this issue:

Hi Upal,
Nice article. I have taken the attached zip , created a jar of it using
maven and tried placing the jar in ESB-HOME/lib folder.


Please note that as Hiranya mentioned, JAR has to be put into
ESB_HOME/repository/components/lib.

 

In that case, the doc is buggy, as it mentioned ' {ESB
HOME}\repository\components\dropins see:
http://docs.wso2.org/display/ESB/Writing+a+WSO2+ESB+Mediator

 

This is actually correct. The article does mention that jar should be an
OSGi bundle:

In this case it is necessary to make the mediator an OSGI fragment of the
synapse-core bundler. To achieve this, use the
Fragment-Hostsynapse-core/Fragment-Host.

After you created the mediator, drop the JAR file in to the {ESB
HOME}\repository\components\dropins folder.

 

 

Please fix.

 


Thanks,
Sadeep
 

On starting ESB, I
see an exception as below
Start Level Event Dispatcher] ERROR Activator Failed to start Carbon UI
java.lang.Exception: ConfigurationContext Service is not available
at org.wso2.carbon.ui.internal.Activator.start(Activator.java:108)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleConte
xtImpl.java:999)
at java.security.AccessController.doPrivileged(Native Method)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(Bu
ndleContextImpl.java:993)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleConte
xtImpl.java:974)
at
org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.j
ava:346)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundl
e.java:350)
at
org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.ja
va:1118)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(Sta
rtLevelManager.java:634)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLeve
lManager.java:508)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(S
tartLevelManager.java:282)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(Sta
rtLevelManager.java:468)
at
org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.
java:195)
at
org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManage
r.java:297)

and this is the author´s response:

This article applies to ESB versions prior to 2.x. The current releases are
based on OSGi modular framework for Java, thus it the process is bit
different. We are on the process of documenting articles related with the
current releases of ESB.


Any way I will reproduce the steps and see.


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 Hiranya Jayathilaka
Enviado el: martes, 22 de noviembre de 2011 23:03
Para: carbon-dev@wso2.org
Asunto: Re: [Carbon-dev] Writing a Mediator in WSO2 ESB article


Hi Jorge,

The API and the development procedure hasn't changed. So you can write a
class extending the AbstractMediator class of Synapse, compile it into a jar
file and drop it into repository/components/lib directory.

I don't think we have any recent articles on this topic.

Thanks,
Hiranya
2011/11/23 Jorge Infante Osorio jorg...@uci.cu
Hi all.
 
I want to know if exits an update of $subject, because it was written for
ESB versions prior to 2.x.
 
Thanks,
Saludos,
Ing. Jorge Infante Osorio.
J´Dpto Soluciones SOA.
CDAE.
Fac. 5.
UCI.
 





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




--
Hiranya Jayathilaka
Associate Technical Lead;
WSO2 Inc.;  http://wso2.org
E-mail: hira...@wso2.com;  Mobile: +94 77 633 3491
tel:%2B94%2077%20633%203491 
Blog: http

Re: [Carbon-dev] Carbon 3.2.3 Release

2011-11-23 Thread Jorge Infante Osorio
Hi Anjana and Prabath.

AS 4.1.2  have the same bug related to Carbon data sources.

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

De: carbon-dev-boun...@wso2.org [mailto:carbon-dev-boun...@wso2.org] En
nombre de Anjana Fernando
Enviado el: miércoles, 23 de noviembre de 2011 1:26
Para: carbon-dev@wso2.org
Asunto: Re: [Carbon-dev] Carbon 3.2.3 Release

Hi Prabath,
On Wed, Nov 23, 2011 at 11:40 AM, Prabath Siriwardena prab...@wso2.com
wrote:
Hi folks,

Samisa. Sumedha and me had an offline discussion the $subject - please
find the details below..

Following products will be released

1. G-Reg - [RM - Fazlan]
2. IS - [RM - Hasini]
3. ESB - [RM - Ratha]
4. MS - [RM - Lalaji]

Code Freeze : 2nd December

Release : 16th December

Any other products that need to be released on 16th December - PMs,
please reply to this mail by EOD today...

DSS also has to be released. There's a critical bug related to Carbon data
sources, and also, I'm working on some scheduled task improvements, that's
planned to add to the release. 

Cheers,
Anjana.
 

--
Thanks  Regards,
Prabath

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



-- 
Anjana Fernando
Senior Software Engineer
WSO2 Inc. | http://wso2.com
lean . enterprise . middleware



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


[Carbon-dev] Writing a Mediator in WSO2 ESB article

2011-11-22 Thread Jorge Infante Osorio
Hi all.

 

I want to know if exits an update of $subject, because it was written for
ESB versions prior to 2.x.

 

Thanks,

Saludos,

Ing. Jorge Infante Osorio.

J´Dpto Soluciones SOA.

CDAE.

Fac. 5.

UCI.

 




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

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


Re: [Carbon-dev] Writing a Mediator in WSO2 ESB article

2011-11-22 Thread Jorge Infante Osorio
Hi Hiranya, thanks.  I will try it them.

I ask because in the same article another user post this issue:

Hi Upal,
Nice article. I have taken the attached zip , created a jar of it using
maven and tried placing the jar in ESB-HOME/lib folder. On starting ESB, I
see an exception as below
Start Level Event Dispatcher] ERROR Activator Failed to start Carbon UI
java.lang.Exception: ConfigurationContext Service is not available
at org.wso2.carbon.ui.internal.Activator.start(Activator.java:108)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleConte
xtImpl.java:999)
at java.security.AccessController.doPrivileged(Native Method)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(Bu
ndleContextImpl.java:993)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleConte
xtImpl.java:974)
at
org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.j
ava:346)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundl
e.java:350)
at
org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.ja
va:1118)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(Sta
rtLevelManager.java:634)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLeve
lManager.java:508)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(S
tartLevelManager.java:282)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(Sta
rtLevelManager.java:468)
at
org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.
java:195)
at
org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManage
r.java:297)

and this is the author´s response:

This article applies to ESB versions prior to 2.x. The current releases are
based on OSGi modular framework for Java, thus it the process is bit
different. We are on the process of documenting articles related with the
current releases of ESB.


Any way I will reproduce the steps and see.

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 Hiranya Jayathilaka
Enviado el: martes, 22 de noviembre de 2011 23:03
Para: carbon-dev@wso2.org
Asunto: Re: [Carbon-dev] Writing a Mediator in WSO2 ESB article

Hi Jorge,

The API and the development procedure hasn't changed. So you can write a
class extending the AbstractMediator class of Synapse, compile it into a jar
file and drop it into repository/components/lib directory.

I don't think we have any recent articles on this topic.

Thanks,
Hiranya
2011/11/23 Jorge Infante Osorio jorg...@uci.cu
Hi all.
 
I want to know if exits an update of $subject, because it was written for
ESB versions prior to 2.x.
 
Thanks,
Saludos,
Ing. Jorge Infante Osorio.
J´Dpto Soluciones SOA.
CDAE.
Fac. 5.
UCI.
 




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




-- 
Hiranya Jayathilaka
Associate Technical Lead;
WSO2 Inc.;  http://wso2.org
E-mail: hira...@wso2.com;  Mobile: +94 77 633 3491
Blog: http://techfeast-hiranya.blogspot.com



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


Re: [Carbon-dev] About CARBON-10154 issue.

2011-11-21 Thread Jorge Infante Osorio
)
at
org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProc
ess.java:182)
at
org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:292)
at
org.eclipse.equinox.internal.ds.SCRManager.serviceChanged(SCRManager.java:22
6)
at
org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceCha
nged(FilteredServiceListener.java:124)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(Bun
dleContextImpl.java:930)
at
org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.
java:220)
at
org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(L
istenerQueue.java:149)
at
org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEven
tPrivileged(ServiceRegistry.java:757)
at
org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEven
t(ServiceRegistry.java:712)
at
org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(S
erviceRegistrationImpl.java:129)
at
org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(Se
rviceRegistry.java:206)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(B
undleContextImpl.java:506)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(B
undleContextImpl.java:524)
at
org.wso2.carbon.core.init.CarbonServerManager.initializeCarbon(CarbonServerM
anager.java:471)
at
org.wso2.carbon.core.init.CarbonServerManager.removePendingItem(CarbonServer
Manager.java:273)
at
org.wso2.carbon.core.init.PreAxis2ConfigItemListener.bundleChanged(PreAxis2C
onfigItemListener.java:117)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(Bun
dleContextImpl.java:916)
at
org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.
java:220)
at
org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManage
r.java:330)
Caused by: javax.jms.MessageFormatException: Could not deserialize message:
java.lang.ClassNotFoundException:
org.wso2.carbon.message.store.persistence.jms.message.JMSPersistentMessage
at
org.apache.qpid.client.message.JMSObjectMessage.getObject(JMSObjectMessage.j
ava:153)
at
org.apache.qpid.client.message.JMSObjectMessage.toBodyString(JMSObjectMessag
e.java:90)
at
org.apache.qpid.client.message.AbstractJMSMessage.toString(AbstractJMSMessag
e.java:371)
... 104 more
Caused by: java.lang.ClassNotFoundException:
org.wso2.carbon.message.store.persistence.jms.message.JMSPersistentMessage
at
org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader
.java:489)
at
org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:40
5)
at
org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:39
3)
at
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultCl
assLoader.java:105)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:247)
at
org.apache.qpid.client.util.ClassLoadingAwareObjectInputStream.load(ClassLoa
dingAwareObjectInputStream.java:64)
at
org.apache.qpid.client.util.ClassLoadingAwareObjectInputStream.resolveClass(
ClassLoadingAwareObjectInputStream.java:38)
at
java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1575)
at
java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1496)
at
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1732)
at
java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
at
org.apache.qpid.client.message.JMSObjectMessage.getObject(JMSObjectMessage.j
ava:142)
... 106 more
 [2011-11-21 23:06:46,973]  INFO - EventBrokerBuilderDS Successfully
registered the event broker
[2011-11-21 23:07:06,848]  WARN - StartupFinalizerServiceComponent Waiting
for required OSGi services:
org.wso2.carbon.mediation.initializer.services.SynapseEnvironmentService,
[2011-11-21 23:08:06,848]  WARN - StartupFinalizerServiceComponent Waiting
for required OSGi services:
org.wso2.carbon.mediation.initializer.services.SynapseEnvironmentService,

So the ESB cannot start. 

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

De: Charith Wickramarachchi [mailto:char...@wso2.com] 
Enviado el: lunes, 21 de noviembre de 2011 21:33
Para: Charitha Kankanamge; jorg...@uci.cu
CC: carbon-dev
Asunto: Re: About CARBON-10154 issue.

Hi Charitha , 

I'm not sure what Jorge mean by he is facing this issue in the eclipse
client side  as this issue was caused when a jms client inside a carbon
environment trying to connect to the MB using the client

[Carbon-dev] Issue CARBON-9596 persist in MB 1.0.2

2011-11-18 Thread Jorge Infante Osorio
{org.apache.qpid.server.virtualhost.VirtualHostConfigRecoveryHandler} -
Message id 53 in store, but not in any queue - removing
[2011-11-18 14:53:19,179]  WARN
{org.apache.qpid.server.virtualhost.VirtualHostConfigRecoveryHandler} -
Message id 52 in store, but not in any queue - removing
[2011-11-18 14:53:19,179]  WARN
{org.apache.qpid.server.virtualhost.VirtualHostConfigRecoveryHandler} -
Message id 59 in store, but not in any queue - removing
[2011-11-18 14:53:19,194]  WARN
{org.apache.qpid.server.virtualhost.VirtualHostConfigRecoveryHandler} -
Message id 58 in store, but not in any queue - removing
[2011-11-18 14:53:19,194]  WARN
{org.apache.qpid.server.virtualhost.VirtualHostConfigRecoveryHandler} -
Message id 57 in store, but not in any queue - removing
[2011-11-18 14:53:19,194]  WARN
{org.apache.qpid.server.virtualhost.VirtualHostConfigRecoveryHandler} -
Message id 56 in store, but not in any queue - removing
[2011-11-18 14:53:19,507]  INFO {org.apache.qpid.server.Main} -  Qpid broker
TCP port : 5676
[2011-11-18 14:53:19,538]  INFO {org.apache.qpid.server.Main} -  Qpid broker
TLS port : 8676


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




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


Re: [Carbon-dev] Issue with timezone

2011-11-10 Thread Jorge Infante Osorio
Thanks Amila, Afkham and Prabath.

I use the timestamp to capture the time when a user call a service and store
this information for audit. So in my DB I need the correct time, not time+4.
It´s possible to change this behavior in carbon server?

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 Amila Suriarachchi
Enviado el: miércoles, 13 de julio de 2011 4:52
Para: carbon-dev@wso2.org
Asunto: Re: [Carbon-dev] Issue with timezone


On Wed, Jul 13, 2011 at 5:51 AM, Jorge Infante Osorio jorg...@uci.cu
wrote:
Hi folks.

I have a problem with the time zone in my ESB server.
When I start the server, in the UI I see the right time, for example:
Server Host                 127.0.0.1
Server URL                   https://127.0.0.1:9445/services/
Server Start Time      2011-07-12 18:48:49
Time zone                     America/New_York (GMT-05:00)

But in the message timestamp I see the right hour + 4, in this case my time
= 19:06 and in the timestamp is 23:06

        wsu:Timestamp
xmlns:wsu=http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurit
y-utility-1.0.xsd wsu:Id=Timestamp-4
           wsu:Created2011-07-12T23:06:11.796Z/wsu:Created
           wsu:Expires2011-07-12T23:11:11.796Z/wsu:Expires
        /wsu:Timestamp

when serializing a time stamp xml serialize format is always relative to a
time zone. Z indicate it is relative to GMT.

I think this Four hour gap is due to daylight saving time.

in other words  

2011-07-12T23:11:11.796Z == 2011-07-12T19:11:11.796-04:00

thanks,
Amila.


Any idea on this?

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



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




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


Re: [Carbon-dev] ERROR: ClientAbortException: java.io.IOException: Broken pipe

2011-10-31 Thread Jorge Infante Osorio
I found this JIRA https://wso2.org/jira/browse/CARBON-8203  with the same
problem and appears as fixed. In which Carbon version?

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 Jorge Infante Osorio
Enviado el: miércoles, 26 de octubre de 2011 13:51
Para: carbon-dev@wso2.org
Asunto: [Carbon-dev] ERROR: ClientAbortException: java.io.IOException:
Broken pipe

Hi folks.

I start to make some testing with a DataService deployed in AS 4.1.0. I use
SOAPUI 4.0.1 with 5 Threads and 10 run per threads.

After a while  I found this error in some requests:

TID: [0] [WSO2 Application Server] [2011-10-26 13:27:11,048] ERROR
{org.apache.axis2.transport.http.CommonsHTTPTransportSender} -  
{org.apache.axis2.transport.http.CommonsHTTPTransportSender}
org.apache.axis2.AxisFault
    at org.apache.axis2.AxisFault.makeFault(AxisFault.java:430)
    at
org.apache.axis2.transport.http.SOAPMessageFormatter.writeTo(SOAPMessageForm
atter.java:78)
    at
org.apache.axis2.transport.http.CommonsHTTPTransportSender.sendUsingOutputSt
ream(CommonsHTTPTransportSender.java:409)
    at
org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTT
PTransportSender.java:286)
    at org.apache.axis2.engine.AxisEngine.sendFault(AxisEngine.java:526)
    at
org.apache.axis2.transport.http.AxisServlet.handleFault(AxisServlet.java:433
)
    at
org.apache.axis2.transport.http.AxisServlet.processAxisFault(AxisServlet.jav
a:398)
    at
org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:188)
    at
org.wso2.carbon.core.transports.CarbonServlet.doPost(CarbonServlet.java:206)
    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:217)
    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.bridge.BridgeServlet.service(BridgeServlet.java:155)
    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.TomcatServer$1.invoke(TomcatServer.java:241)
    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)
Caused by: com.ctc.wstx.exc.WstxIOException: null
    at
com.ctc.wstx.sw.BaseStreamWriter.finishDocument(BaseStreamWriter.java:1692)
    at com.ctc.wstx.sw.BaseStreamWriter.close(BaseStreamWriter.java:288)
    at
org.apache.axiom.util.stax.wrapper.XMLStreamWriterWrapper.close(XMLStreamWri
terWrapper.java:46)
    at
org.apache.axiom.om.impl.MTOMXMLStreamWriter.close(MTOMXMLStreamWriter.java:
188)
    at
org.apache.axiom.om.impl.dom.NodeImpl.serializeAndConsume(NodeImpl.java:844)
    at
org.apache.axis2.transport.http.SOAPMessageFormatter.writeTo(SOAPMessageForm
atter.java:74)
    ... 35 more
Caused by: ClientAbortException

[Carbon-dev] Errors during Stratos compilation.

2011-09-03 Thread Jorge Infante Osorio
Hi folks.

What about this errors: http://wso2.org/forum/thread/14391  

Can you provide us with a update guide to compile Stratos without errors?

If I want to compile Stratos in a server with no connection to Internet what
are the step?

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


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


[Carbon-dev] Couldn't create a local registry(RMI) : port 2199 already in use.

2011-08-11 Thread Jorge Infante Osorio
undleContextImpl.java:506)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(B
undleContextImpl.java:524)
at
org.wso2.carbon.core.init.CarbonServerManager.initializeCarbon(CarbonServerM
anager.java:461)
at
org.wso2.carbon.core.init.CarbonServerManager.removePendingItem(CarbonServer
Manager.java:264)
at
org.wso2.carbon.core.init.PreAxis2ConfigItemListener.bundleChanged(PreAxis2C
onfigItemListener.java:117)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(Bun
dleContextImpl.java:916)
at
org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.
java:220)
at
org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManage
r.java:330)
Caused by: java.net.BindException: Address already in use: JVM_Bind
at java.net.PlainSocketImpl.socketBind(Native Method)
at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:359)
at java.net.ServerSocket.bind(ServerSocket.java:319)
at java.net.ServerSocket.init(ServerSocket.java:185)
at java.net.ServerSocket.init(ServerSocket.java:97)
at
sun.rmi.transport.proxy.RMIDirectSocketFactory.createServerSocket(RMIDirectS
ocketFactory.java:27)
at
sun.rmi.transport.proxy.RMIMasterSocketFactory.createServerSocket(RMIMasterS
ocketFactory.java:333)
at
sun.rmi.transport.tcp.TCPEndpoint.newServerSocket(TCPEndpoint.java:649)
at sun.rmi.transport.tcp.TCPTransport.listen(TCPTransport.java:299)
... 89 more

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


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


Re: [Carbon-dev] Couldn't create a local registry(RMI) : port 2199 already in use.

2011-08-11 Thread Jorge Infante Osorio
Thanks.

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 Waruna Ranasinghe
Enviado el: jueves, 11 de agosto de 2011 3:47
Para: carbon-dev@wso2.org
Asunto: Re: [Carbon-dev] Couldn't create a local registry(RMI) : port 2199
already in use.

Hi Jorge,


On Thu, Aug 11, 2011 at 7:26 PM, Jorge Infante Osorio jorg...@uci.cu
wrote:
Hi all.

If I have running BPS 2.1.0 (offset = 9) and BAM 1.3.0 (offset = 7) the last
one in start throw $subject. I change the offset in both server without any
result.
This is because, neither BPS nor BAM  change the RMI port for datasources..
regardless of setting the offset.
This issue [1] is fixed in trunk for BPS. 
But for now, you have to manually change the ports in BPS. 
In BPS_HOME/repository/conf directory, open the bps.xml and update the port
of providerURL then open the datasources.properties file and change the
synapse.datasources.providerPort to the same port.

[1] - https://wso2.org/jira/browse/CARBON-10955 


Thanks,
Waruna

When I stop the first running server I see this line in console:
[2011-08-11 03:15:02,692]  INFO
{org.apache.synapse.commons.util.RMIRegistryController} -  Removing the RMI
registry bound to port : 2199




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


Re: [Carbon-dev] Proposed BPS samples and Docs

2011-08-10 Thread Jorge Infante Osorio
Hi folk.
Where I can find this human tasks samples, if exist? 

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


-Mensaje original-
De: carbon-dev-boun...@wso2.org [mailto:carbon-dev-boun...@wso2.org] En
nombre de Srinath Perera
Enviado el: lunes, 14 de marzo de 2011 14:10
Para: carbon-dev@wso2.org
Asunto: Re: [Carbon-dev] Proposed BPS samples and Docs

do we ave a human tasks sample? If we do not have one, lets add one.

Also do we have a sample that does a async one way call, receive a response
via a separate call, and correlate those two using a correlation set. It is
very useful if you can comment important parts within the BPEL/WSDL.

Finally sample for IF, loop, flow etc .. or may be you can do a one sample
which has all the controls.

--Srinath

On Mon, Mar 14, 2011 at 8:16 PM, Denis Weerasiri de...@wso2.com wrote:
 Hi all,
 I'm in the process of preparing some business-process samples and 
 related docs, which should cover the features of BPS.
 I'm hoping to implement sample business-processes and to provide 
 documents for each of them explaining how the BPEL language constructs
have been used.
 There are already some samples included in previous BPS releases. They 
 have concepts like Synchronous, Asynchronous processes etc. But there 
 are no docs to explain, how they work. So we have to provide docs for them
as well.
 So what sort of areas do we need to cover in new samples?

 --
 Thanks,
 Denis
 --
 Denis Weerasiri
 Software Engineer; WSO2 Inc.; http://wso2.com,
 email: denis [AT] wso2.com
 blog: http://ddweerasiri.blogspot.com
 twitter: http://twitter.com/ddweerasiri
 linked-in: http://lk.linkedin.com/in/ddweerasiri


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





--

Srinath Perera, Ph.D.
  Senior Software Architect, WSO2 Inc.
  Visiting Lecturer, University of Moratuwa
  Member, Apache Software Foundation
  Research Scientist, Lanka Software Foundation
  Blog: http://srinathsview.blogspot.com/
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

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


[Carbon-dev] BPS + human task + CS

2011-08-10 Thread Jorge Infante Osorio
Folks,

What about this topic:

WSO2 BPS related components of the WSO2 Carbon Platform
- https://wso2.org/jira/secure/IssueNavigator.jspa?mode=hiderequestId=10529
Human Tasks feature is discontinued until the tool is available for Carbon
Studio

In which BPS + CS version can we have human task again?

In the meantime what can I do to use human task with BPS?

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



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


Re: [Carbon-dev] No route to host in remote server. CS 1.0.12

2011-08-05 Thread Jorge Infante Osorio
Thanks Melan.

 

I used a fresh Eclipse installation, then I install the CS 1.0.12 plugin and
use a fresh workspace. I can pass the connection test, but the user/pass
validation show the error No route to host: connect

 

Some concerns:

1.   What can cause this error?

2.   Why if I finish the server configuration I see that the server
started? If the user/pass are wrong the server cannot show that it´s
started.

 

In my fresh workspace I only have this log:

 

!SESSION 2011-08-05 02:30:15.229
---

eclipse.buildId=M20100909-0800

java.version=1.6.0_14-ea

java.vendor=Sun Microsystems Inc.

BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=es_ES

Framework arguments:  -product org.eclipse.epp.package.jee.product

Command-line arguments:  -os win32 -ws win32 -arch x86 -product
org.eclipse.epp.package.jee.product

 

!ENTRY org.wso2.tools.eclipse.carbonserver.base 4 0 2011-08-05 02:39:19.885

!MESSAGE The specified operation is not supported

!STACK 0

org.wso2.carbonstudio.eclipse.carbonserver.base.exception.NoSuchCarbonOperat
ionDefinedException: The specified operation is not supported

at
org.wso2.carbonstudio.eclipse.carbonserver.remote.operations.RemoteCarbonOpe
rationsManager.executeOperation(Unknown Source)

at
org.wso2.carbonstudio.eclipse.carbonserver.base.manager.CarbonServerManager.
executeOperationOnServer(Unknown Source)

at
org.wso2.carbonstudio.eclipse.carbonserver.base.manager.CarbonServerManager.
executeOperationOnServer(Unknown Source)

at
org.wso2.carbonstudio.eclipse.carbonserver.base.manager.CarbonServerManager.
cleanupServerConfigurations(Unknown Source)

at
org.wso2.carbonstudio.eclipse.carbonserver.base.manager.CarbonServerManager.
serverRemoved(Unknown Source)

at
org.wso2.carbonstudio.eclipse.carbonserver.base.monitor.CarbonServerLifeCycl
eListener.serverRemoved(Unknown Source)

at
org.eclipse.wst.server.core.internal.ResourceManager.fireServerEvent(Resourc
eManager.java:498)

at
org.eclipse.wst.server.core.internal.ResourceManager.deregisterServer(Resour
ceManager.java:448)

at
org.eclipse.wst.server.core.internal.ResourceManager.removeServer(ResourceMa
nager.java:642)

at
org.eclipse.wst.server.core.internal.Server.deleteFromMetadata(Server.java:4
44)

at
org.eclipse.wst.server.core.internal.Base.delete(Base.java:333)

at
org.eclipse.wst.server.ui.internal.DeleteServerDialog$2$1.run(DeleteServerDi
alog.java:165)

at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

 

 

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

Enviado el: viernes, 05 de agosto de 2011 1:46

Para: carbon-dev@wso2.org

Asunto: Re: [Carbon-dev] No route to host in remote server. CS 1.0.12

 

Hi Jorge,

 

I am able to connect remote server using CS 1.0.12 (update from CS 1.0.11)
without any issue, could you please attach eclipse log file? 

 

Thanks

--Melan 

On Fri, Aug 5, 2011 at 8:53 AM, Jorge Infante Osorio jorg...@uci.cu wrote:

Hi folks.

I cannot connect to a server using the remote server functionality. You can
see this in the following image.

 

I try with a fresh AS 4.1.0 and the CS 1.0.12 after an update from Eclipse
with CS 1.0.11. the test connection pass fine.

 

 

 

What can cause this error?

 

Saludos,

Ing. Jorge Infante Osorio.

J´Dpto Soluciones SOA.

CDAE.

Fac. 5.

UCI.

 

 

___

Carbon-dev mailing list

Carbon-dev@wso2.org

http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

 

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


Re: [Carbon-dev] No route to host in remote server. CS 1.0.12

2011-08-05 Thread Jorge Infante Osorio
I found the problem.
In Preference/Network Connections I bypass localhost and 127.0.0.1. After
remove this entries I can connect without problem. 

Still remain my second concern. 

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 Jorge Infante Osorio
Enviado el: viernes, 05 de agosto de 2011 2:47
Para: carbon-dev@wso2.org
Asunto: Re: [Carbon-dev] No route to host in remote server. CS 1.0.12

Thanks Melan.

I used a fresh Eclipse installation, then I install the CS 1.0.12 plugin and
use a fresh workspace. I can pass the connection test, but the user/pass
validation show the error No route to host: connect

Some concerns:
1. What can cause this error?
2. Why if I finish the server configuration I see that the server started?
If the user/pass are wrong the server cannot show that it´s started.

In my fresh workspace I only have this log:

!SESSION 2011-08-05 02:30:15.229
---
eclipse.buildId=M20100909-0800
java.version=1.6.0_14-ea
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=es_ES
Framework arguments:  -product org.eclipse.epp.package.jee.product
Command-line arguments:  -os win32 -ws win32 -arch x86 -product
org.eclipse.epp.package.jee.product

!ENTRY org.wso2.tools.eclipse.carbonserver.base 4 0 2011-08-05 02:39:19.885
!MESSAGE The specified operation is not supported
!STACK 0
org.wso2.carbonstudio.eclipse.carbonserver.base.exception.NoSuchCarbonOperat
ionDefinedException: The specified operation is not supported
    at
org.wso2.carbonstudio.eclipse.carbonserver.remote.operations.RemoteCarbonOpe
rationsManager.executeOperation(Unknown Source)
    at
org.wso2.carbonstudio.eclipse.carbonserver.base.manager.CarbonServerManager.
executeOperationOnServer(Unknown Source)
    at
org.wso2.carbonstudio.eclipse.carbonserver.base.manager.CarbonServerManager.
executeOperationOnServer(Unknown Source)
    at
org.wso2.carbonstudio.eclipse.carbonserver.base.manager.CarbonServerManager.
cleanupServerConfigurations(Unknown Source)
    at
org.wso2.carbonstudio.eclipse.carbonserver.base.manager.CarbonServerManager.
serverRemoved(Unknown Source)
    at
org.wso2.carbonstudio.eclipse.carbonserver.base.monitor.CarbonServerLifeCycl
eListener.serverRemoved(Unknown Source)
    at
org.eclipse.wst.server.core.internal.ResourceManager.fireServerEvent(Resourc
eManager.java:498)
    at
org.eclipse.wst.server.core.internal.ResourceManager.deregisterServer(Resour
ceManager.java:448)
    at
org.eclipse.wst.server.core.internal.ResourceManager.removeServer(ResourceMa
nager.java:642)
    at
org.eclipse.wst.server.core.internal.Server.deleteFromMetadata(Server.java:4
44)
    at
org.eclipse.wst.server.core.internal.Base.delete(Base.java:333)
    at
org.eclipse.wst.server.ui.internal.DeleteServerDialog$2$1.run(DeleteServerDi
alog.java:165)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)


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 Melan Nimesh
Enviado el: viernes, 05 de agosto de 2011 1:46
Para: carbon-dev@wso2.org
Asunto: Re: [Carbon-dev] No route to host in remote server. CS 1.0.12

Hi Jorge,

I am able to connect remote server using CS 1.0.12 (update from CS 1.0.11)
without any issue, could you please attach eclipse log file? 

Thanks
--Melan 
On Fri, Aug 5, 2011 at 8:53 AM, Jorge Infante Osorio jorg...@uci.cu wrote:
Hi folks.
I cannot connect to a server using the remote server functionality. You can
see this in the following image.
 
I try with a fresh AS 4.1.0 and the CS 1.0.12 after an update from Eclipse
with CS 1.0.11. the test connection pass fine.
 

 
What can cause this error?
 
Saludos,
Ing. Jorge Infante Osorio.
J´Dpto Soluciones SOA.
CDAE.
Fac. 5.
UCI.
 

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


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


[Carbon-dev] Crypto Caching use in RampartConfig.

2011-08-05 Thread Jorge Infante Osorio
Hi folks.
I´m using Crypto Caching as a way to improve the security performance.

I have a service deployed inside AS 4.1.0 with SecConSgnEncrUsername
security policy. Also I use the IS 3.2.0 for STS request.

In the policy attach you can see a lot of RampartConfig, this is the normal
behavior? I load my service and sts policies from xml files.

I figure out that this due to my load policy method:

private Policy loadPolicyservice(String xmlPath) throws Exception {

StAXOMBuilder builder = null;
Policy policy = null;
RampartConfig rc = null;
CryptoConfig sigCryptoConfig = null;
String path = null;
String keystore = null;
Properties merlinProp = null;
CryptoConfig encrCryptoConfig = null;

builder = new StAXOMBuilder(xmlPath);
policy =
PolicyEngine.getPolicy(builder.getDocumentElement());

rc = new RampartConfig();
rc.setUser(jorgeio);
rc.setUserCertAlias(wso2carbon);
rc.setEncryptionUser(wso2carbon);

rc.setPwCbClass(PWCBHandlerESB.class.getName());

path = System.getProperty(user.dir);
keystore = c:\\keys\\wso2carbon.jks;

merlinProp = new Properties();

merlinProp.put(org.apache.ws.security.crypto.merlin.keystore.type, JKS);
merlinProp.put(org.apache.ws.security.crypto.merlin.file,
keystore);

merlinProp.put(org.apache.ws.security.crypto.merlin.keystore.password,
wso2carbon);

sigCryptoConfig = new CryptoConfig();

sigCryptoConfig.setProvider(org.apache.ws.security.components.crypto.Merlin
);
sigCryptoConfig.setProp(merlinProp);

encrCryptoConfig = new CryptoConfig();

encrCryptoConfig.setProvider(org.apache.ws.security.components.crypto.Merli
n);
encrCryptoConfig.setProp(merlinProp);

rc.setSigCryptoConfig(sigCryptoConfig);
rc.setEncrCryptoConfig(encrCryptoConfig);

policy.addAssertion(rc);

return policy;
}

How can avoid this RampartConfig replication?


I have another doubt :
Why if I use org.apache.ws.security.components.crypto.Merlin as the crypto
provider in my load policy methods,  in the attach policy appear
org.wso2.carbon.security.util.ServerCrypto. 

in this case what is the correct value to cryptoKey?

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

wsp:Policy wsu:Id=SecConSgnEncrUsername xmlns:wsp=http://schemas.xmlsoap.org/ws/2004/09/policy; xmlns:wsu=http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd;
  wsp:ExactlyOne
wsp:All
  sp:SymmetricBinding xmlns:sp=http://schemas.xmlsoap.org/ws/2005/07/securitypolicy;
wsp:Policy
  sp:ProtectionToken
wsp:Policy
  sp:SecureConversationToken sp:IncludeToken=http://schemas.xmlsoap.org/ws/2005/07/securitypolicy/IncludeToken/AlwaysToRecipient;
wsp:Policy
  sp:BootstrapPolicy
wsp:Policy
  sp:SymmetricBinding
wsp:Policy
  sp:ProtectionToken
wsp:Policy
  sp:X509Token sp:IncludeToken=http://schemas.xmlsoap.org/ws/2005/07/securitypolicy/IncludeToken/Never;
wsp:Policy
  sp:RequireThumbprintReference/
  sp:WssX509V3Token10/
/wsp:Policy
  /sp:X509Token
/wsp:Policy
  /sp:ProtectionToken
  sp:AlgorithmSuite
wsp:Policy
  sp:Basic256/
/wsp:Policy
  /sp:AlgorithmSuite
  sp:Layout
wsp:Policy
  sp:Lax/
/wsp:Policy
  /sp:Layout
  sp:IncludeTimestamp/
  sp:OnlySignEntireHeadersAndBody/
/wsp:Policy
  /sp:SymmetricBinding
  sp:SignedParts
sp:Body/
  /sp:SignedParts
  sp:EncryptedParts
sp:Body/
  /sp:EncryptedParts
  sp:SignedSupportingTokens
wsp:Policy
  sp:UsernameToken sp:IncludeToken=http://schemas.xmlsoap.org/ws/2005/07/securitypolicy/IncludeToken/AlwaysToRecipient/
/wsp:Policy
  /sp:SignedSupportingTokens

Re: [Carbon-dev] CS BPEL exporter plugin does not include xslt files

2011-08-04 Thread Jorge Infante Osorio
Yes, I found this issue a few hours ago when I try the Integrate Business
Rules with BPEL tutorial. I have to include by hand.

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 Waruna Ranasinghe
Enviado el: jueves, 04 de agosto de 2011 6:32
Para: carbon-dev
Asunto: [Carbon-dev] CS BPEL exporter plugin does not include xslt files

Hi All,

CS BPEL exporter plugin does not include the xslt files to the BPEL package.

Thanks
Waruna

-- 
-
Waruna Ranasinghe
Senior Software Engineer, WSO2
Mobile: NZ +64 221 563026
            SL +94 724 318285
BLOG: http://warunapw.blogspot.com

www.wso2.com - Lean . Enterprise . Middleware

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


[Carbon-dev] No route to host in remote server. CS 1.0.12

2011-08-04 Thread Jorge Infante Osorio
Hi folks.

I cannot connect to a server using the remote server functionality. You can
see this in the following image.

 

I try with a fresh AS 4.1.0 and the CS 1.0.12 after an update from Eclipse
with CS 1.0.11. the test connection pass fine.

 



 

What can cause this error?

 

Saludos,

Ing. Jorge Infante Osorio.

J´Dpto Soluciones SOA.

CDAE.

Fac. 5.

UCI.

 

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


Re: [Carbon-dev] error: Cannot create a custom Java object form XML in BRS

2011-08-02 Thread Jorge Infante Osorio
Hi Shammi. Thanks for  help me on this.

The problem in this case was that I can´t update the jar file using the
console UI, so I thought  that I have made the change when it was not,  I
had to change the jar inside the aar file by hand to make it work. 

I will test this again, but I thinks this is a issue.

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

De: Shammi Jayasinghe [mailto:sha...@wso2.com] 
Enviado el: martes, 02 de agosto de 2011 1:48
Para: carbon-dev@wso2.org; jorg...@uci.cu
Asunto: Re: [Carbon-dev] error: Cannot create a custom Java object form XML
in BRS

Hi Jorge,

   I have created a rule service with the use of the fact class and the rule
script that you have provided. Here i have attached 
it and it works fine with  the request that you have provided. So I was
unable to reproduce the error that you have pointed out.
If you further can reproduce the error that you have pointed out here, could
you please send us your rule service's aar file.
Then, we ll be able to figure out the route cause for this error.

Thanks
Shammi
On Tue, Aug 2, 2011 at 6:00 AM, Jorge Infante Osorio jorg...@uci.cu wrote:
Any ideas about this error?

This is the rule script I used:

package Asignar;

import aplicacion.rrhh.Empleado;
import java.math.BigDecimal;

rule Programador salience 10 dialect mvel no-loop true
   when
       $empleado : Empleado(promedioConocimientos = 8)
   then

          $empleado.setCargo(Programador);
          $empleado.setSalario(BigDecimal.valueOf(1000));

end

rule Lider de Proyecto salience 9 dialect mvel no-loop true
   when
       $empleado : Empleado(promedioConocimientos = 4,
promedioConocimientos = 7)
   then

         $empleado.setCargo(Lider de Proyecto);
         $empleado.setSalario(BigDecimal.valueOf(2000));


end

rule Gerente salience 8 dialect mvel no-loop true
   when
       $empleado : Empleado(promedioConocimientos = 0,
promedioConocimientos = 3)
   then

       $empleado.setCargo(Gerente);
       $empleado.setSalario(BigDecimal.valueOf(3000));

end



And this is the XML I send to the ws:

body
  p:SetTipoRequest xmlns:p=http://wso2.org/sample/rule;
     p:Empleado
        xs:cargo xmlns:xs=http://rrhh.aplicacion/xsd;nada/xs:cargo
        xs:nombre xmlns:xs=http://rrhh.aplicacion/xsd;Juan/xs:nombre
        xs:promedioConocimientos
xmlns:xs=http://rrhh.aplicacion/xsd;9/xs:promedioConocimientos
        xs:salario xmlns:xs=http://rrhh.aplicacion/xsd;0/xs:salario
     /p:Empleado
     p:Empleado
        xs:cargo xmlns:xs=http://rrhh.aplicacion/xsd;nada/xs:cargo
        xs:nombre xmlns:xs=http://rrhh.aplicacion/xsd;Pedro/xs:nombre
        xs:promedioConocimientos
xmlns:xs=http://rrhh.aplicacion/xsd;5/xs:promedioConocimientos
        xs:salario xmlns:xs=http://rrhh.aplicacion/xsd;0/xs:salario
     /p:Empleado
     p:Empleado
        xs:cargo xmlns:xs=http://rrhh.aplicacion/xsd;nada/xs:cargo
        xs:nombre xmlns:xs=http://rrhh.aplicacion/xsd;Jose/xs:nombre
        xs:promedioConocimientos
xmlns:xs=http://rrhh.aplicacion/xsd;2/xs:promedioConocimientos
        xs:salario xmlns:xs=http://rrhh.aplicacion/xsd;0/xs:salario
     /p:Empleado
  /p:SetTipoRequest
/body



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 Jorge Infante Osorio
Enviado el: domingo, 31 de julio de 2011 3:56
Para: carbon-dev@wso2.org
Asunto: [Carbon-dev] error: Cannot create a custom Java object form XML in
BRS

Hi folks.

I´m testing BRS 1.2.0 with a rule service and receive this error using the
try it:

TID: [] [WSO2 BRS] [2011-07-31 03:38:33,093] ERROR
{org.apache.axis2.transport.http.AxisServlet} -  Cannot create a custom Java
object form XML. Java class is : aplicacion.rrhh.Empleado and XML is :
p:SetTipoRequest xmlns:p=http://brs.carbon.wso2.org;!--0 or more
occurrences--p:Empleado!--0 to 1 occurrence--xs:cargo
xmlns:xs=http://rrhh.aplicacion/xsd;null/xs:cargo!--0 to 1
occurrence--xs:nombre
xmlns:xs=http://rrhh.aplicacion/xsd;b/xs:nombre!--0 to 1
occurrence--xs:promedioConocimientos
xmlns:xs=http://rrhh.aplicacion/xsd;8/xs:promedioConocimientos!--0 to 1
occurrence--xs:salario
xmlns:xs=http://rrhh.aplicacion/xsd;0/xs:salario/p:Empleado/p:SetTipo
Request {org.apache.axis2.transport.http.AxisServlet}
org.wso2.carbon.rulecep.commons.LoggedRuntimeException: Cannot create a
custom Java object form XML. Java class is : aplicacion.rrhh.Empleado and
XML is : p:SetTipoRequest xmlns:p=http://brs.carbon.wso2.org;!--0 or
more occurrences--p:Empleado!--0 to 1 occurrence--xs:cargo
xmlns:xs=http://rrhh.aplicacion/xsd;null/xs:cargo!--0 to 1
occurrence--xs:nombre
xmlns:xs=http://rrhh.aplicacion/xsd;b/xs:nombre!--0 to 1
occurrence

[Carbon-dev] Unable to perform XSLT transformation in Integrate Rules with SOA tutorial

2011-08-02 Thread Jorge Infante Osorio
xsi:type=ax26:Itemax26:price80.0/ax26:priceax26:typeTypeA/ax26:typ
e/ax26:itemsax26:orderIDOrder1/ax26:orderIDax26:price316.70
0005/ax26:price/brs:Orderbrs:Order
xmlns:ax26=http://pojo.rule.sample/xsd;
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
xsi:type=ax26:Orderax26:items
xsi:type=ax26:Itemax26:price50.0/ax26:priceax26:typeTypeA/ax26:typ
e/ax26:itemsax26:items
xsi:type=ax26:Itemax26:price60.0/ax26:priceax26:typeTypeA/ax26:typ
e/ax26:itemsax26:items
xsi:type=ax26:Itemax26:price70.0/ax26:priceax26:typeTypeC/ax26:typ
e/ax26:itemsax26:items
xsi:type=ax26:Itemax26:price80.0/ax26:priceax26:typeTypeA/ax26:typ
e/ax26:itemsax26:items
xsi:type=ax26:Itemax26:price80.0/ax26:priceax26:typeTypeA/ax26:typ
e/ax26:itemsax26:orderIDOrder2/ax26:orderIDax26:price314.90
0003/ax26:price/brs:Order/brs:CalculatePriceResponse/soapenv:Body/s
oapenv:Envelope {org.apache.synapse.mediators.builtin.LogMediator}

I use a PostgreSQL database so this is my DBlookup mediator:

    dblookup
    connection
    pool
    password###/password
    userpostgres/user
   
urljdbc:postgresql://127.0.0.1:5432/DATASERVICE_SAMPLE/url
    driverorg.postgresql.Driver/driver
    /pool
    /connection
    statement
    sql SELECT RATING_C, MAX_AMOUNT_C FROM
CUSTOMER_T where NAME_C = ?
    /sql
    parameter expression=get-property('name')
type=VARCHAR/
    result name=maxAmount column=MAX_AMOUNT_C/
    result name=rating column=RATING_C/
    /statement
    /dblookup

Any idea?

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


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


Re: [Carbon-dev] Unable to perform XSLT transformation in Integrate Rules with SOA tutorial

2011-08-02 Thread Jorge Infante Osorio
I don´t have the previous BRS version. 
The problem is with the message that came from BRS?

This is the message out from BRS PriceCalculatorService:

soapenv:Envelope xmlns:soapenv=http://www.w3.org/2003/05/soap-envelope;
   soapenv:Header /
   soapenv:Body
  brs:CalculatePriceResponse xmlns:brs=http://wso2.org/sample/rule;
 brs:Order xmlns:ax26=http://pojo.rule.sample/xsd;
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:type=ax26:Order
ax26:items xsi:type=ax26:Item
   ax26:price50.0/ax26:price
   ax26:typeTypeA/ax26:type
/ax26:items
ax26:items xsi:type=ax26:Item
   ax26:price60.0/ax26:price
   ax26:typeTypeB/ax26:type
/ax26:items
ax26:items xsi:type=ax26:Item
   ax26:price70.0/ax26:price
   ax26:typeTypeC/ax26:type
/ax26:items
ax26:items xsi:type=ax26:Item
   ax26:price80.0/ax26:price
   ax26:typeTypeA/ax26:type
/ax26:items
ax26:items xsi:type=ax26:Item
   ax26:price80.0/ax26:price
   ax26:typeTypeA/ax26:type
/ax26:items
ax26:orderIDOrder1/ax26:orderID
ax26:price316.75/ax26:price
 /brs:Order
 brs:Order xmlns:ax26=http://pojo.rule.sample/xsd;
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:type=ax26:Order
ax26:items xsi:type=ax26:Item
   ax26:price50.0/ax26:price
   ax26:typeTypeA/ax26:type
/ax26:items
ax26:items xsi:type=ax26:Item
   ax26:price60.0/ax26:price
   ax26:typeTypeA/ax26:type
/ax26:items
ax26:items xsi:type=ax26:Item
   ax26:price70.0/ax26:price
   ax26:typeTypeC/ax26:type
/ax26:items
ax26:items xsi:type=ax26:Item
   ax26:price80.0/ax26:price
   ax26:typeTypeA/ax26:type
/ax26:items
ax26:items xsi:type=ax26:Item
   ax26:price80.0/ax26:price
   ax26:typeTypeA/ax26:type
/ax26:items
ax26:orderIDOrder2/ax26:orderID
ax26:price314.93/ax26:price
 /brs:Order
  /brs:CalculatePriceResponse
   /soapenv:Body
/soapenv:Envelope

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

De: Amila Suriarachchi [mailto:am...@wso2.com] 
Enviado el: martes, 02 de agosto de 2011 5:14
Para: Jorge Infante Osorio
CC: carbon-dev@wso2.org
Asunto: Re: Unable to perform XSLT transformation in Integrate Rules with
SOA tutorial

Can you please try with the BRS 1.1.0 as given in the article?

thanks,
Amila.
On Tue, Aug 2, 2011 at 12:57 PM, Jorge Infante Osorio jorg...@uci.cu
wrote:
Hi folks.

BRS: 1.2.0
ESB: 4.0.0

I´m working in this tutorial: “Integrate Rules with SOA” and in the sequence
CustomerOrderOutSequence I have this error:

TID: [] [WSO2 ESB] [2011-08-02 03:02:46,386] ERROR
{org.apache.synapse.mediators.transform.XSLTMediator} -  Unable to perform
XSLT transformation using : Value {name ='null', keyValue
='conf:/xslt/OrderSelectorInputTransfer.xslt'} against source XPath :
s11:Body/child::*[position()=1] | s12:Body/child::*[position()=1]
{org.apache.synapse.mediators.transform.XSLTMediator}
org.apache.axiom.om.OMException: com.ctc.wstx.exc.WstxEOFException:
Unexpected EOF in prolog
at [row,col {unknown-source}]: [1,0]
    at
org.apache.axiom.om.impl.builder.StAXOMBuilder.next(StAXOMBuilder.java:296)
    at
org.apache.axiom.om.impl.llom.OMDocumentImpl.getOMDocumentElement(OMDocument
Impl.java:109)
    at
org.apache.axiom.om.impl.builder.StAXOMBuilder.getDocumentElement(StAXOMBuil
der.java:570)
    at
org.apache.axiom.om.impl.builder.StAXOMBuilder.getDocumentElement(StAXOMBuil
der.java:566)
    at
org.apache.synapse.util.jaxp.StreamResultBuilder.getNode(StreamResultBuilder
.java:87)
    at
org.apache.synapse.mediators.transform.XSLTMediator.performXSLT(XSLTMediator
.java:295)
    at
org.apache.synapse.mediators.transform.XSLTMediator.mediate(XSLTMediator.jav
a:191)
    at
org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediat
or.java:60)
    at
org.apache.synapse.config.xml.AnonymousListMediator.mediate(AnonymousListMed
iator.java:30)
    at
org.apache.synapse.config.xml.SwitchCase.mediate(SwitchCase.java:66)
    at
org.apache.synapse.mediators.filters.SwitchMediator.mediate(SwitchMediator.j
ava:108)
    at
org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediat
or.java:60)
    at
org.apache.synapse.mediators.base.SequenceMediator.mediate(SequenceMediator.
java:114)
    at
org.apache.synapse.core.axis2.Axis2SynapseEnvironment.injectMessage(Axis2Syn
apseEnvironment.java:219

Re: [Carbon-dev] Unable to perform XSLT transformation in Integrate Rules with SOA tutorial

2011-08-02 Thread Jorge Infante Osorio
De: Amila Suriarachchi [mailto:am...@wso2.com] 
Enviado el: martes, 02 de agosto de 2011 11:12
Para: Jorge Infante Osorio
CC: carbon-dev@wso2.org
Asunto: Re: Unable to perform XSLT transformation in Integrate Rules with
SOA tutorial


On Tue, Aug 2, 2011 at 7:30 PM, Jorge Infante Osorio jorg...@uci.cu wrote:
I don´t have the previous BRS version.
The problem is with the message that came from BRS?

yes. it is different from the BRS 1.1.0 and 1.2.0. The xslt is written suite
for 1.1.0. 
Infact this is a bug in 1.1.0 and we have fixed with 1.2.0.

you can change the xslt as given in this article[1].

Thanks Amila, I found the differentiate between messages so I made the
chance in the xslt and in the first enrich mediator too.
I would be great if the tutorial can be update with the necessary changes
for BRS 1.2.0

Also in the sample_1.zip file , in the README file, in the sections 1 and 2
it´s not specified the result type sample.rule.pojo.Customer so the service
just have an input message. In the aar file it´s ok, but not in this
instructions.

Now with the change you suggested  it work just fine. Great work.

Jorge.

thanks,
Amila.

[1]
http://wso2.org/library/articles/2011/06/securing-web-service-integration 

This is the message out from BRS PriceCalculatorService:

soapenv:Envelope xmlns:soapenv=http://www.w3.org/2003/05/soap-envelope;
  soapenv:Header /
  soapenv:Body
     brs:CalculatePriceResponse xmlns:brs=http://wso2.org/sample/rule;
        brs:Order xmlns:ax26=http://pojo.rule.sample/xsd;
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:type=ax26:Order
           ax26:items xsi:type=ax26:Item
              ax26:price50.0/ax26:price
              ax26:typeTypeA/ax26:type
           /ax26:items
           ax26:items xsi:type=ax26:Item
              ax26:price60.0/ax26:price
              ax26:typeTypeB/ax26:type
           /ax26:items
           ax26:items xsi:type=ax26:Item
              ax26:price70.0/ax26:price
              ax26:typeTypeC/ax26:type
           /ax26:items
           ax26:items xsi:type=ax26:Item
              ax26:price80.0/ax26:price
              ax26:typeTypeA/ax26:type
           /ax26:items
           ax26:items xsi:type=ax26:Item
              ax26:price80.0/ax26:price
              ax26:typeTypeA/ax26:type
           /ax26:items
           ax26:orderIDOrder1/ax26:orderID
           ax26:price316.75/ax26:price
        /brs:Order
        brs:Order xmlns:ax26=http://pojo.rule.sample/xsd;
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:type=ax26:Order
           ax26:items xsi:type=ax26:Item
              ax26:price50.0/ax26:price
              ax26:typeTypeA/ax26:type
           /ax26:items
           ax26:items xsi:type=ax26:Item
              ax26:price60.0/ax26:price
              ax26:typeTypeA/ax26:type
           /ax26:items
           ax26:items xsi:type=ax26:Item
              ax26:price70.0/ax26:price
              ax26:typeTypeC/ax26:type
           /ax26:items
           ax26:items xsi:type=ax26:Item
              ax26:price80.0/ax26:price
              ax26:typeTypeA/ax26:type
           /ax26:items
           ax26:items xsi:type=ax26:Item
              ax26:price80.0/ax26:price
              ax26:typeTypeA/ax26:type
           /ax26:items
           ax26:orderIDOrder2/ax26:orderID
           ax26:price314.93/ax26:price
        /brs:Order
     /brs:CalculatePriceResponse
  /soapenv:Body
/soapenv:Envelope
Saludos,
Ing. Jorge Infante Osorio.
J´Dpto Soluciones SOA.
CDAE.
Fac. 5.
UCI.
De: Amila Suriarachchi [mailto:am...@wso2.com]
Enviado el: martes, 02 de agosto de 2011 5:14
Para: Jorge Infante Osorio
CC: carbon-dev@wso2.org
Asunto: Re: Unable to perform XSLT transformation in Integrate Rules with
SOA tutorial

Can you please try with the BRS 1.1.0 as given in the article?

thanks,
Amila.
On Tue, Aug 2, 2011 at 12:57 PM, Jorge Infante Osorio jorg...@uci.cu
wrote:
Hi folks.

BRS: 1.2.0
ESB: 4.0.0

I´m working in this tutorial: “Integrate Rules with SOA” and in the sequence
CustomerOrderOutSequence I have this error:

TID: [] [WSO2 ESB] [2011-08-02 03:02:46,386] ERROR
{org.apache.synapse.mediators.transform.XSLTMediator} -  Unable to perform
XSLT transformation using : Value {name ='null', keyValue
='conf:/xslt/OrderSelectorInputTransfer.xslt'} against source XPath :
s11:Body/child::*[position()=1] | s12:Body/child::*[position()=1]
{org.apache.synapse.mediators.transform.XSLTMediator}
org.apache.axiom.om.OMException: com.ctc.wstx.exc.WstxEOFException:
Unexpected EOF in prolog
at [row,col {unknown-source}]: [1,0]
    at
org.apache.axiom.om.impl.builder.StAXOMBuilder.next(StAXOMBuilder.java:296)
    at
org.apache.axiom.om.impl.llom.OMDocumentImpl.getOMDocumentElement(OMDocument
Impl.java:109)
    at
org.apache.axiom.om.impl.builder.StAXOMBuilder.getDocumentElement(StAXOMBuil
der.java:570)
    at
org.apache.axiom.om.impl.builder.StAXOMBuilder.getDocumentElement(StAXOMBuil
der.java

Re: [Carbon-dev] error: Cannot create a custom Java object form XML in BRS

2011-08-01 Thread Jorge Infante Osorio
Any ideas about this error?

This is the rule script I used:

package Asignar;
 
import aplicacion.rrhh.Empleado;
import java.math.BigDecimal;

rule Programador salience 10 dialect mvel no-loop true
when
$empleado : Empleado(promedioConocimientos = 8)
then

   $empleado.setCargo(Programador);
   $empleado.setSalario(BigDecimal.valueOf(1000));

end
 
rule Lider de Proyecto salience 9 dialect mvel no-loop true
when
$empleado : Empleado(promedioConocimientos = 4,
promedioConocimientos = 7)
then

  $empleado.setCargo(Lider de Proyecto);
  $empleado.setSalario(BigDecimal.valueOf(2000));


end 
 
rule Gerente salience 8 dialect mvel no-loop true
when
$empleado : Empleado(promedioConocimientos = 0,
promedioConocimientos = 3)
then

$empleado.setCargo(Gerente);
$empleado.setSalario(BigDecimal.valueOf(3000));

end



And this is the XML I send to the ws:

body
   p:SetTipoRequest xmlns:p=http://wso2.org/sample/rule;
  p:Empleado
 xs:cargo xmlns:xs=http://rrhh.aplicacion/xsd;nada/xs:cargo
 xs:nombre xmlns:xs=http://rrhh.aplicacion/xsd;Juan/xs:nombre
 xs:promedioConocimientos
xmlns:xs=http://rrhh.aplicacion/xsd;9/xs:promedioConocimientos
 xs:salario xmlns:xs=http://rrhh.aplicacion/xsd;0/xs:salario
  /p:Empleado
  p:Empleado
 xs:cargo xmlns:xs=http://rrhh.aplicacion/xsd;nada/xs:cargo
 xs:nombre xmlns:xs=http://rrhh.aplicacion/xsd;Pedro/xs:nombre
 xs:promedioConocimientos
xmlns:xs=http://rrhh.aplicacion/xsd;5/xs:promedioConocimientos
 xs:salario xmlns:xs=http://rrhh.aplicacion/xsd;0/xs:salario
  /p:Empleado   
  p:Empleado
 xs:cargo xmlns:xs=http://rrhh.aplicacion/xsd;nada/xs:cargo
 xs:nombre xmlns:xs=http://rrhh.aplicacion/xsd;Jose/xs:nombre
 xs:promedioConocimientos
xmlns:xs=http://rrhh.aplicacion/xsd;2/xs:promedioConocimientos
 xs:salario xmlns:xs=http://rrhh.aplicacion/xsd;0/xs:salario
  /p:Empleado   
   /p:SetTipoRequest
/body



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 Jorge Infante Osorio
Enviado el: domingo, 31 de julio de 2011 3:56
Para: carbon-dev@wso2.org
Asunto: [Carbon-dev] error: Cannot create a custom Java object form XML in
BRS

Hi folks.

I´m testing BRS 1.2.0 with a rule service and receive this error using the
try it:

TID: [] [WSO2 BRS] [2011-07-31 03:38:33,093] ERROR
{org.apache.axis2.transport.http.AxisServlet} -  Cannot create a custom Java
object form XML. Java class is : aplicacion.rrhh.Empleado and XML is :
p:SetTipoRequest xmlns:p=http://brs.carbon.wso2.org;!--0 or more
occurrences--p:Empleado!--0 to 1 occurrence--xs:cargo
xmlns:xs=http://rrhh.aplicacion/xsd;null/xs:cargo!--0 to 1
occurrence--xs:nombre
xmlns:xs=http://rrhh.aplicacion/xsd;b/xs:nombre!--0 to 1
occurrence--xs:promedioConocimientos
xmlns:xs=http://rrhh.aplicacion/xsd;8/xs:promedioConocimientos!--0 to 1
occurrence--xs:salario
xmlns:xs=http://rrhh.aplicacion/xsd;0/xs:salario/p:Empleado/p:SetTipo
Request {org.apache.axis2.transport.http.AxisServlet}
org.wso2.carbon.rulecep.commons.LoggedRuntimeException: Cannot create a
custom Java object form XML. Java class is : aplicacion.rrhh.Empleado and
XML is : p:SetTipoRequest xmlns:p=http://brs.carbon.wso2.org;!--0 or
more occurrences--p:Empleado!--0 to 1 occurrence--xs:cargo
xmlns:xs=http://rrhh.aplicacion/xsd;null/xs:cargo!--0 to 1
occurrence--xs:nombre
xmlns:xs=http://rrhh.aplicacion/xsd;b/xs:nombre!--0 to 1
occurrence--xs:promedioConocimientos
xmlns:xs=http://rrhh.aplicacion/xsd;8/xs:promedioConocimientos!--0 to 1
occurrence--xs:salario
xmlns:xs=http://rrhh.aplicacion/xsd;0/xs:salario/p:Empleado/p:SetTipo
Request
    at
org.wso2.carbon.rulecep.adapters.impl.POJOResourceAdapter.getAdaptedFacts(PO
JOResourceAdapter.java:210)
    at
org.wso2.carbon.rulecep.adapters.impl.POJOResourceAdapter.adaptInput(POJORes
ourceAdapter.java:161)
    at
org.wso2.carbon.rulecep.adapters.DefaultInputAdaptationStrategy.adapt(Defaul
tInputAdaptationStrategy.java:81)
    at
org.wso2.carbon.rulecep.adapters.InputManager.processInputs(InputManager.jav
a:114)
    at
org.wso2.carbon.rule.service.RuleServiceInvoker.invoke(RuleServiceInvoker.ja
va:100)
    at
org.wso2.carbon.rule.service.RuleServiceInOutMessageReceiver.invokeBusinessL
ogic(RuleServiceInOutMessageReceiver.java:83)
    at
org.apache.axis2.receivers.AbstractInOutMessageReceiver.invokeBusinessLogic(
AbstractInOutMessageReceiver.java:40)
    at
org.apache.axis2

[Carbon-dev] error: Cannot create a custom Java object form XML in BRS

2011-07-31 Thread Jorge Infante Osorio
$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)

 

This is the Empleado class:

 

package aplicacion.rrhh;

 

import java.math.BigDecimal;

 

public class Empleado {

  

public String nombre;

public Integer promedioConocimientos;

public String cargo;

public BigDecimal salario;

  public String getNombre() {

return nombre;

  }

 

  public void setNombre(String nombre) {

this.nombre = nombre;

  }

 

  public Integer getPromedioConocimientos() {

return promedioConocimientos;

  }

 

  public void setPromedioConocimientos(Integer promedioConocimientos) {

this.promedioConocimientos = promedioConocimientos;

  }

 

  public String getCargo() {

return cargo;

  }

 

  public void setCargo(String cargo) {

this.cargo = cargo;

  }

 

  public BigDecimal getSalario() {

return salario;

  }

 

  public void setSalario(BigDecimal salario) {

this.salario = salario;

  }

}

 

Any idea?

 

Saludos,

Ing. Jorge Infante Osorio.

J´Dpto Soluciones SOA.

CDAE.

Fac. 5.

UCI.

 

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


Re: [Carbon-dev] Isse with server ports in CS.

2011-07-29 Thread Jorge Infante Osorio
Hi Harshana and Chathuri. Thanks for the responses.
The problem is not with the port override in carbon.xml, this work fine.

After change the port in eclipse server runtime:
!-- Override the ports defined in mgt-transports.xml --
ServletTransports
HTTPS9445/HTTPS
HTTP9765/HTTP
/ServletTransports

In this case with offset = 0 it start with this ports. But in my case the
ESB server is not only to be used with CS, I need to use Offset because it
affect other ports and I have another servers running in the same machine. 

Are you planning to support Offset in CS?

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 Harshana Martin
Enviado el: viernes, 29 de julio de 2011 2:52
Para: carbon-dev@wso2.org
Asunto: Re: [Carbon-dev] Isse with server ports in CS.

Hi Jorge,

As Sumedha mentioned, we fixed server port unchaged issue in a previous
release. 

We'll test your scenario again and let you know whether it is reproducible.

Thanks and Regards,
Harshana
On Fri, Jul 29, 2011 at 10:42 AM, Jorge Infante Osorio jorg...@uci.cu
wrote:
I tested right now with CS 1.0.12

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 Sumedha Rubasinghe
Enviado el: viernes, 29 de julio de 2011 1:03
Para: carbon-dev@wso2.org
Asunto: Re: [Carbon-dev] Isse with server ports in CS.

Hi Jorge,
What is the CS version your using? This is a known issue for older version
of CS  suppose to be fixed on the latest release.

CS team,
Can you confirm when this was fixed  what  is the version that contains the
fix?

/sumedha

On Fri, Jul 29, 2011 at 9:18 AM, Jorge Infante Osorio jorg...@uci.cu
wrote:
In ESB carbon.xml  I setup this config:
       Offset2/Offset

When I create an ESB server inside Eclipse if I leave the default ports and
another server instance is running with the same ports I get an error:
Server port is in use: 9443.

So I change manually the ports(http/https) = ports + 2 inside eclipse server
config.

But after start the ESB take the Offset value so if I want to use the https
port 9445 inside Eclipse its started as 9447. Ports = ports + 2 + Offset.

[2011-07-28 23:46:43,166]  INFO - HttpTransport Created Connector
[HTTP_11_NIO://*:9767]
[2011-07-28 23:46:43,166]  INFO - HttpTransport Created Connector
[HTTPS_11_NIO://*:9447]

This is the normal behavior? What can I do to avoid this?

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



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


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



-- 
Harshana Martin 
Software Engineer
WSO2 Inc.
Web:http://wso2.com
          http://wso2.org

Mobile: +94 716062650
Blog: http://harshana05.blogspot.com
Profile: https://www.google.com/profiles/harshana05
Twitter: http://twitter.com/harshana05


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


[Carbon-dev] Smooks plugin in CS support XSLT?

2011-07-29 Thread Jorge Infante Osorio
Hi all?

 

$subject?? 

What version  this plugin is?

 

I ask because I see this Message in Eclipse: 

“Sorry, this configuration is not yet supported by the Smooks Editor because
it contains configurations from the
‘http://www.milyn.org/xsd/smooks/xslt-1.1.xsd’ configuration namespace”.

 

This is the configuration I try taken from:
mailto:g...@dameweb.info?subject=index.php@title=V1.1%25253Axslt-namespaces.
html http://www.smooks.org/mediawiki/index.php?title=V1.1:xslt-namespaces

 

?xml version=1.0?
smooks-resource-list xmlns=http://www.milyn.org/xsd/smooks-1.1.xsd;
 
xmlns:xsl=http://www.milyn.org/xsd/smooks/xsl-1.1.xsd;

xsl:xsl applyOnElement=$document
xsl:template
![CDATA[
xsl:stylesheet
xmlns:xsl=http://www.w3.org/1999/XSL/Transform;
version=1.0
xmlns:xhtml=http://www.w3.org/1999/xhtml;
exclude-result-prefixes=smk xhtml
xmlns:smk=http://milyn.codehaus.org/Smooks;

xsl:output method=xml encoding=UTF-8/

xsl:template match=/
CanonicalOrderFormat
xmlns=http://canonical.codehaus.org/Order;
orderId
xsl:value-of
select=./smk:Order/smk:header/smk:order-id/
/orderId
item
productId
xsl:value-of
select=./smk:Order/smk:order-item/smk:product-id/
/productId
title
xsl:value-of
select=./smk:Order/smk:order-item/smk:title/
/title
price
xsl:value-of
select=./smk:Order/smk:order-item/smk:price/
/price
/item
/CanonicalOrderFormat
/xsl:template
/xsl:stylesheet
]]
/xsl:template
/xsl:xsl

/smooks-resource-list

 

Saludos,

Ing. Jorge Infante Osorio.

J´Dpto Soluciones SOA.

CDAE.

Fac. 5.

UCI.

 

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


[Carbon-dev] Isse with server ports in CS.

2011-07-28 Thread Jorge Infante Osorio
In ESB carbon.xml  I setup this config:
Offset2/Offset

When I create an ESB server inside Eclipse if I leave the default ports and
another server instance is running with the same ports I get an error:
Server port is in use: 9443. 

So I change manually the ports(http/https) = ports + 2 inside eclipse server
config. 

But after start the ESB take the Offset value so if I want to use the https
port 9445 inside Eclipse its started as 9447. Ports = ports + 2 + Offset.

[2011-07-28 23:46:43,166]  INFO - HttpTransport Created Connector
[HTTP_11_NIO://*:9767]
[2011-07-28 23:46:43,166]  INFO - HttpTransport Created Connector
[HTTPS_11_NIO://*:9447]

This is the normal behavior? What can I do to avoid this?

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



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


[Carbon-dev] Exception in CS testing Smook: ObjectSerializer argument 'object' is null.

2011-07-28 Thread Jorge Infante Osorio
I´m performing a data Mapping based in a tutorial and  using CS 1.0.12 with
this configuration:

 

?xml version=1.0 encoding=UTF-8?smooks-resource-list
xmlns=http://www.milyn.org/xsd/smooks-1.1.xsd;
xmlns:ftl=http://www.milyn.org/xsd/smooks/freemarker-1.1.xsd;

  params

param name=stream.filter.typeSAX/param

param name=inputTypeinput.xml/param

param name=input.xml
type=input.type.activedWorkspace://Smooks/model/model-input.xml/param

  /params

  ftl:freemarker applyOnElement=#document

ftl:template![CDATA[?xml version=1.0 encoding=UTF-8?

salesorder

details

orderid${.vars[order][@id]}/orderid

customer

id${.vars[order][header/customer/@number]}/id


name${.vars[order][header/customer]}/name

/customer

/details

#list .vars[order][order-items] as order_items

itemList

#list .vars[order_items][order-item] as order_item

item

id${.vars[order_item][@id]}/id

productId${.vars[order_item][product]}/productId


quantity${.vars[order_item][quantity]}/quantity


price${.vars[order_item][price]}/price

/item

/#list

/itemList

/#list

/salesorder]]/ftl:template

param name=modelSrcWorkspace://Smooks/model/model-output.xml/param

param name=modelSrcTypeXML/param

param name=messageTypeXML/param

param name=templateDataProviderinput/param

  /ftl:freemarker

  resource-config selector=#document

resourceorg.milyn.delivery.DomModelCreator/resource

  /resource-config

/smooks-resource-list

 

When I run this configuration I see this:

 

[Stream Templating Result ...]

|--

|?xml version=1.0 encoding=UTF-8?

|salesorder

|details

|orderid444/orderid

|customer

|id555/id

|nameAmila/name

|/customer

|/details

|itemList

|item

|id1/id

|productId1/productId

|quantity2/quantity

|price400/price

|/item

   |/itemList

|/salesorder

|--

 

Exception in thread main java.lang.IllegalArgumentException:
ObjectSerializer argument 'object' is null.

  at
org.jboss.tools.smooks.launch.serialize.ObjectSerializer.assertNotNull(Objec
tSerializer.java:278)

  at
org.jboss.tools.smooks.launch.serialize.ObjectSerializer.init(ObjectSerial
izer.java:56)

  at
org.jboss.tools.smooks.launch.serialize.ObjectSerializer.serialize(ObjectSer
ializer.java:79)

  at
org.jboss.tools.smooks.launch.SmooksLauncher.main(SmooksLauncher.java:91)

 

 

What could be the reason for this error?

 

Saludos,

Ing. Jorge Infante Osorio.

J´Dpto Soluciones SOA.

CDAE.

Fac. 5.

UCI.

 

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


Re: [Carbon-dev] Isse with server ports in CS.

2011-07-28 Thread Jorge Infante Osorio
I tested right now with CS 1.0.12

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 Sumedha Rubasinghe
Enviado el: viernes, 29 de julio de 2011 1:03
Para: carbon-dev@wso2.org
Asunto: Re: [Carbon-dev] Isse with server ports in CS.

Hi Jorge,
What is the CS version your using? This is a known issue for older version
of CS  suppose to be fixed on the latest release.

CS team,
Can you confirm when this was fixed  what  is the version that contains the
fix?

/sumedha

On Fri, Jul 29, 2011 at 9:18 AM, Jorge Infante Osorio jorg...@uci.cu
wrote:
In ESB carbon.xml  I setup this config:
       Offset2/Offset

When I create an ESB server inside Eclipse if I leave the default ports and
another server instance is running with the same ports I get an error:
Server port is in use: 9443.

So I change manually the ports(http/https) = ports + 2 inside eclipse server
config.

But after start the ESB take the Offset value so if I want to use the https
port 9445 inside Eclipse its started as 9447. Ports = ports + 2 + Offset.

[2011-07-28 23:46:43,166]  INFO - HttpTransport Created Connector
[HTTP_11_NIO://*:9767]
[2011-07-28 23:46:43,166]  INFO - HttpTransport Created Connector
[HTTPS_11_NIO://*:9447]

This is the normal behavior? What can I do to avoid this?

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



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


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


[Carbon-dev] CSG component.

2011-07-27 Thread Jorge Infante Osorio
Hi folks.

Can I only use the $subject with Stratos?

I ask because in the documentation I see that I need a domain name to
create the CSG server using the CSG Agent.

Thanks,
 Jorge.

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


Re: [Carbon-dev] CSG component.

2011-07-27 Thread Jorge Infante Osorio
+1.

My scenario it´s very similar to one that it´s describe in a wso2
presentation for soa patterns in the cloud:

We have our AS in a LAN for private use of services and applications and we
have the need to expose some of this services through the DMZ to the
outside. 
So we saw this post:
http://kscottmorrison.com/2010/02/09/how-to-safely-publish-internal-services
-to-the-outside-world/  about how Layer7 do this and right now we are
interesting in do the same but with WSO2 and CSG.

By what you say I assume we need to use Stratos in the DMZ with ESB and MB.
Is that correct?

In the meantime we want to test with Eucalyptus as the Infrastructure as
Service, to used it to deploy Stratos in a private Cloud. Are you test this
scenario or have the hardware requirements we need to follow to deploy
Stratos?


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 Rajika Kumarasiri
Enviado el: miércoles, 27 de julio de 2011 11:09
Para: carbon-dev@wso2.org; carbon-dev@wso2.org
Asunto: Re: [Carbon-dev] CSG component.

Yes, by design you can only use it with Stratos. But it seems it'll be
useful to add support for stand alone version too. Will it possible you to
state your scenario ? 

Rajika 
On Wed, Jul 27, 2011 at 7:18 PM, Jorge Infante Osorio jorg...@uci.cu
wrote:
Hi folks.

Can I only use the $subject with Stratos?

I ask because in the documentation I see that I need a domain name to
create the CSG server using the CSG Agent.

Thanks,
                Jorge.

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


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


  1   2   3   >