Re: [Carbon-dev] error: Cannot create a custom Java object form XML in BRS

2011-08-01 Thread Shammi Jayasinghe
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  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:
> 
> 
>   http://wso2.org/sample/rule";>
>  
> http://rrhh.aplicacion/xsd";>nada
> http://rrhh.aplicacion/xsd";>Juan
>  xmlns:xs="http://rrhh.aplicacion/xsd";>9
>  http://rrhh.aplicacion/xsd";>0
>  
>   
> http://rrhh.aplicacion/xsd";>nada
> http://rrhh.aplicacion/xsd";>Pedro
>  xmlns:xs="http://rrhh.aplicacion/xsd";>5
>  http://rrhh.aplicacion/xsd";>0
>  
>   
> http://rrhh.aplicacion/xsd";>nada
> http://rrhh.aplicacion/xsd";>Jose
>  xmlns:xs="http://rrhh.aplicacion/xsd";>2
>  http://rrhh.aplicacion/xsd";>0
>  
>   
> 
> 
>
>
> 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 :
> http://brs.carbon.wso2.org";> xmlns:xs="http://rrhh.aplicacion/xsd";>null xmlns:xs="http://rrhh.aplicacion/xsd";>b xmlns:xs="http://rrhh.aplicacion/xsd";>8 xmlns:xs="http://rrhh.aplicacion/xsd
> ">0 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 : http://brs.carbon.wso2.org";> xmlns:xs="http://rrhh.aplicacion/xsd";>null xmlns:xs="http://rrhh.aplicacion/xsd";>b xmlns:xs="http://rrhh.aplicacion/xsd";>8 xmlns:xs="http://rrhh.aplicacion/xsd
> ">0 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.receivers.AbstractMessageReceiver.receive(AbstractMessageRe
> ceiver.java:110)
> at
> org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:181)
> at
>
> org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HT
> TPTransportUtil

[Carbon-dev] "WSO2 Carbon Trunk Continuous Build has FAILED"

2011-08-01 Thread WSO2 Carbon Trunk Builder (US2)
Repository Root: https://svn.wso2.org/repos/wso2
Repository UUID: a5903396-d722-0410-b921-86c7d4935375
Revision: 34
Node Kind: directory
Schedule: normal
Last Changed Author: tharindu
Last Changed Rev: 33
Last Changed Date: 2011-08-01 16:08:29 -0400 (Mon, 01 Aug 2011) [INFO] 
[clean:clean {execution: default-clean}]
[INFO] Deleting 
/home/carbontrunk/carbon/components/rule/org.wso2.carbon.rule.mediator/target
[INFO] snapshot org.wso2.carbon:org.wso2.carbon.rule.server:3.2.0-SNAPSHOT: 
checking for updates from wso2-nexus
[INFO] snapshot 
org.wso2.carbon:org.wso2.carbon.rule.engine.drools:3.2.0-SNAPSHOT: checking for 
updates from wso2-nexus
[INFO] snapshot 
org.wso2.carbon:org.wso2.carbon.rule.engine.jsr94:3.2.0-SNAPSHOT: checking for 
updates from wso2-nexus
[INFO] snapshot org.wso2.carbon:org.wso2.carbon.rule.samples:3.2.0-SNAPSHOT: 
checking for updates from wso2-nexus
[INFO] [incremental-build:incremental-build {execution: default}]
[INFO] Verifying module descriptor ...
[INFO] Pom descriptor modification detected.
[INFO] Deleting 
/home/carbontrunk/carbon/components/rule/org.wso2.carbon.rule.mediator/target
[INFO] [clean:clean {execution: auto-clean}]
[INFO] Deleting 
/home/carbontrunk/carbon/components/rule/org.wso2.carbon.rule.mediator/target
[INFO] [resources:resources {execution: default-resources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 2 resources
[INFO] [compiler:compile {execution: default-compile}]
[INFO] Compiling 8 source files to 
/home/carbontrunk/carbon/components/rule/org.wso2.carbon.rule.mediator/target/classes
[INFO] [resources:testResources {execution: default-testResources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 
/home/carbontrunk/carbon/components/rule/org.wso2.carbon.rule.mediator/src/test/resources
[INFO] [compiler:testCompile {execution: default-testCompile}]
[INFO] Compiling 13 source files to 
/home/carbontrunk/carbon/components/rule/org.wso2.carbon.rule.mediator/target/test-classes
[INFO] -
[ERROR] COMPILATION ERROR : 
[INFO] -
[ERROR] 
/home/carbontrunk/carbon/components/rule/org.wso2.carbon.rule.mediator/src/test/java/org/wso2/carbon/rule/mediator/TestMessageContext.java:[45,7]
 org.wso2.carbon.rule.mediator.TestMessageContext is not abstract and does not 
override abstract method getSequenceTemplate(java.lang.String) in 
org.apache.synapse.MessageContext

[INFO] 1error
[INFO] -
[INFO] 
[ERROR] BUILD FAILURE
[INFO] 
[INFO] Compilation failure
/home/carbontrunk/carbon/components/rule/org.wso2.carbon.rule.mediator/src/test/java/org/wso2/carbon/rule/mediator/TestMessageContext.java:[45,7]
 org.wso2.carbon.rule.mediator.TestMessageContext is not abstract and does not 
override abstract method getSequenceTemplate(java.lang.String) in 
org.apache.synapse.MessageContext


[INFO] 
[INFO] For more information, run Maven with the -e switch
[INFO] 
[INFO] Total time: 182 minutes 25 seconds
[INFO] Finished at: Tue Aug 02 01:01:18 EDT 2011
[INFO] Final Memory: 1477M/1849M
[INFO] 
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


[Carbon-dev] "WSO2 Carbon Trunk Continuous Build has FAILED"

2011-08-01 Thread WSO2 Carbon Trunk Builder (US2)
Repository Root: https://svn.wso2.org/repos/wso2
Repository UUID: a5903396-d722-0410-b921-86c7d4935375
Revision: 34
Node Kind: directory
Schedule: normal
Last Changed Author: tharindu
Last Changed Rev: 33
Last Changed Date: 2011-08-01 16:08:29 -0400 (Mon, 01 Aug 2011) [INFO] 

[INFO] Building WSO2 Carbon - Rule Mediator
[INFO]task-segment: [clean, install]
[INFO] 
[INFO] [clean:clean {execution: default-clean}]
[INFO] Deleting 
/home/carbontrunk/carbon/components/rule/org.wso2.carbon.rule.mediator/target
[INFO] [incremental-build:incremental-build {execution: default}]
[INFO] Verifying module descriptor ...
[INFO] Pom descriptor modification detected.
[INFO] Deleting 
/home/carbontrunk/carbon/components/rule/org.wso2.carbon.rule.mediator/target
[INFO] [clean:clean {execution: auto-clean}]
[INFO] Deleting 
/home/carbontrunk/carbon/components/rule/org.wso2.carbon.rule.mediator/target
[INFO] [resources:resources {execution: default-resources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 2 resources
[INFO] [compiler:compile {execution: default-compile}]
[INFO] Compiling 8 source files to 
/home/carbontrunk/carbon/components/rule/org.wso2.carbon.rule.mediator/target/classes
[INFO] [resources:testResources {execution: default-testResources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 
/home/carbontrunk/carbon/components/rule/org.wso2.carbon.rule.mediator/src/test/resources
[INFO] [compiler:testCompile {execution: default-testCompile}]
[INFO] Compiling 13 source files to 
/home/carbontrunk/carbon/components/rule/org.wso2.carbon.rule.mediator/target/test-classes
[INFO] -
[ERROR] COMPILATION ERROR : 
[INFO] -
[ERROR] 
/home/carbontrunk/carbon/components/rule/org.wso2.carbon.rule.mediator/src/test/java/org/wso2/carbon/rule/mediator/TestMessageContext.java:[45,7]
 org.wso2.carbon.rule.mediator.TestMessageContext is not abstract and does not 
override abstract method getSequenceTemplate(java.lang.String) in 
org.apache.synapse.MessageContext

[INFO] 1error
[INFO] -
[INFO] 
[ERROR] BUILD FAILURE
[INFO] 
[INFO] Compilation failure
/home/carbontrunk/carbon/components/rule/org.wso2.carbon.rule.mediator/src/test/java/org/wso2/carbon/rule/mediator/TestMessageContext.java:[45,7]
 org.wso2.carbon.rule.mediator.TestMessageContext is not abstract and does not 
override abstract method getSequenceTemplate(java.lang.String) in 
org.apache.synapse.MessageContext


[INFO] 
[INFO] For more information, run Maven with the -e switch
[INFO] 
[INFO] Total time: 180 minutes 8 seconds
[INFO] Finished at: Mon Aug 01 21:51:53 EDT 2011
[INFO] Final Memory: 1406M/1838M
[INFO] 
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] [Stratos-dev] Setting a custom HTTP header for LBs to broadcast the messages

2011-08-01 Thread Sanjiva Weerawarana
The only way we can do this using a standard approach is to use a cookie
that we set that we look for to indicate stuff.

I'm still unclear exactly when we'd want this or how we know when we want
this. If we know it then the cookie technique will work. (If cookies are off
then lots of stuff won't work anyway.)

Sanjiva.

On Sat, Jul 30, 2011 at 11:39 AM, Afkham Azeez  wrote:

>
>
> On Sat, Jul 30, 2011 at 10:28 AM, Sanjiva Weerawarana wrote:
>
>> Azeez who is spsed to send this header? If its the client then its a bad
>> idea IMO .. non-standard.
>>
>
> Yes, that was what I was thinking. But since HTTP does not have such a
> notion, and internally, this may be needed, I was just thinking of having
> something to be used internally by us for special messages.
>
>
>> Also, any extension headers should be written as X-Broadcast ... minor
>> detail!
>>
>> Sanjiva.
>>
>> On Sun, Jul 17, 2011 at 2:46 PM, Afkham Azeez  wrote:
>>
>>> Folks,
>>> It doesn't look like the HTTP spec has such a notion. However, there are
>>> some cases where the LB has to send a request to all worker nodes. To
>>> indicate that such an HTTP request has to be broadcast, I'm planning on
>>> using a custom HTTP header such as "Broadcast: true". Is there a better way
>>> of doing this? The checking of this header will happen in the LB
>>> ServiceDynamicLoadbalanceEndpoint.
>>>
>>> --
>>> *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*
>>>
>>>
>>> ___
>>> Carbon-dev mailing list
>>> Carbon-dev@wso2.org
>>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>>
>>>
>>
>>
>> --
>> Sanjiva Weerawarana, Ph.D.
>> Founder, Chairman & CEO; WSO2, Inc.;  http://wso2.com/
>> email: sanj...@wso2.com; phone: +94 11 763 9614; cell: +94 77 787 6880 | +1
>> 650 265 8311
>> blog: http://sanjiva.weerawarana.org/
>>
>> Lean . Enterprise . Middleware
>>
>> ___
>> Stratos-dev mailing list
>> stratos-...@wso2.org
>> https://wso2.org/cgi-bin/mailman/listinfo/stratos-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*
>
>


-- 
Sanjiva Weerawarana, Ph.D.
Founder, Chairman & CEO; WSO2, Inc.;  http://wso2.com/
email: sanj...@wso2.com; phone: +94 11 763 9614; cell: +94 77 787 6880 | +1
650 265 8311
blog: http://sanjiva.weerawarana.org/

Lean . Enterprise . Middleware
___
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-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:


   http://wso2.org/sample/rule";>
  
 http://rrhh.aplicacion/xsd";>nada
 http://rrhh.aplicacion/xsd";>Juan
 http://rrhh.aplicacion/xsd";>9
 http://rrhh.aplicacion/xsd";>0
  
  
 http://rrhh.aplicacion/xsd";>nada
 http://rrhh.aplicacion/xsd";>Pedro
 http://rrhh.aplicacion/xsd";>5
 http://rrhh.aplicacion/xsd";>0
 
  
 http://rrhh.aplicacion/xsd";>nada
 http://rrhh.aplicacion/xsd";>Jose
 http://rrhh.aplicacion/xsd";>2
 http://rrhh.aplicacion/xsd";>0
 
   




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 :
http://brs.carbon.wso2.org";>http://rrhh.aplicacion/xsd";>nullhttp://rrhh.aplicacion/xsd";>bhttp://rrhh.aplicacion/xsd";>8http://rrhh.aplicacion/xsd";>0 {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 : http://brs.carbon.wso2.org";>http://rrhh.aplicacion/xsd";>nullhttp://rrhh.aplicacion/xsd";>bhttp://rrhh.aplicacion/xsd";>8http://rrhh.aplicacion/xsd";>0
    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.receivers.AbstractMessageReceiver.receive(AbstractMessageRe
ceiver.java:110)
    at
org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:181)
    at
org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HT
TPTransportUtils.java:172)
    at
org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:146)
    at
org.wso2.carbon.core.transports.CarbonServlet.doPost(CarbonServlet.java:206)
    at
javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
    at
javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
    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)
 

[Carbon-dev] "WSO2 Carbon Trunk Continuous Build has FAILED"

2011-08-01 Thread WSO2 Carbon Trunk Builder (US2)
Repository Root: https://svn.wso2.org/repos/wso2
Repository UUID: a5903396-d722-0410-b921-86c7d4935375
Revision: 31
Node Kind: directory
Schedule: normal
Last Changed Author: tharindu
Last Changed Rev: 31
Last Changed Date: 2011-08-01 14:59:59 -0400 (Mon, 01 Aug 2011) [INFO] 

[INFO] Building WSO2 Carbon - Rule Mediator
[INFO]task-segment: [clean, install]
[INFO] 
[INFO] [clean:clean {execution: default-clean}]
[INFO] Deleting 
/home/carbontrunk/carbon/components/rule/org.wso2.carbon.rule.mediator/target
[INFO] [incremental-build:incremental-build {execution: default}]
[INFO] Verifying module descriptor ...
[INFO] Pom descriptor modification detected.
[INFO] Deleting 
/home/carbontrunk/carbon/components/rule/org.wso2.carbon.rule.mediator/target
[INFO] [clean:clean {execution: auto-clean}]
[INFO] Deleting 
/home/carbontrunk/carbon/components/rule/org.wso2.carbon.rule.mediator/target
[INFO] [resources:resources {execution: default-resources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 2 resources
[INFO] [compiler:compile {execution: default-compile}]
[INFO] Compiling 8 source files to 
/home/carbontrunk/carbon/components/rule/org.wso2.carbon.rule.mediator/target/classes
[INFO] [resources:testResources {execution: default-testResources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 
/home/carbontrunk/carbon/components/rule/org.wso2.carbon.rule.mediator/src/test/resources
[INFO] [compiler:testCompile {execution: default-testCompile}]
[INFO] Compiling 13 source files to 
/home/carbontrunk/carbon/components/rule/org.wso2.carbon.rule.mediator/target/test-classes
[INFO] -
[ERROR] COMPILATION ERROR : 
[INFO] -
[ERROR] 
/home/carbontrunk/carbon/components/rule/org.wso2.carbon.rule.mediator/src/test/java/org/wso2/carbon/rule/mediator/TestMessageContext.java:[45,7]
 org.wso2.carbon.rule.mediator.TestMessageContext is not abstract and does not 
override abstract method getSequenceTemplate(java.lang.String) in 
org.apache.synapse.MessageContext

[INFO] 1error
[INFO] -
[INFO] 
[ERROR] BUILD FAILURE
[INFO] 
[INFO] Compilation failure
/home/carbontrunk/carbon/components/rule/org.wso2.carbon.rule.mediator/src/test/java/org/wso2/carbon/rule/mediator/TestMessageContext.java:[45,7]
 org.wso2.carbon.rule.mediator.TestMessageContext is not abstract and does not 
override abstract method getSequenceTemplate(java.lang.String) in 
org.apache.synapse.MessageContext


[INFO] 
[INFO] For more information, run Maven with the -e switch
[INFO] 
[INFO] Total time: 181 minutes 2 seconds
[INFO] Finished at: Mon Aug 01 18:42:16 EDT 2011
[INFO] Final Memory: 1478M/1853M
[INFO] 
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


[Carbon-dev] "WSO2 Carbon Continuous Build has FAILED"

2011-08-01 Thread WSO2 Carbon 3.2.2 Builder (US1)
Repository Root: https://svn.wso2.org/repos/wso2
Repository UUID: a5903396-d722-0410-b921-86c7d4935375
Revision: 111087
Node Kind: directory
Schedule: normal
Last Changed Author: pradeeban
Last Changed Rev: 111077
Last Changed Date: 2011-07-30 14:46:37 -0400 (Sat, 30 Jul 2011) ;;
'products')
run_from_carbon_products
;;
'p2')
run_from_carbon_p2
;;
'help')
echo "Usage: $0 -o -h -t[all|orbit|core|components|features|products|p2]"
;;
esac
svn: Caught signal
svn info
Path: .
URL: https://svn.wso2.org/repos/wso2/branches/carbon/3.2.0
Repository Root: https://svn.wso2.org/repos/wso2
Repository UUID: a5903396-d722-0410-b921-86c7d4935375
Revision: 111087
Node Kind: directory
Schedule: normal
Last Changed Author: pradeeban
Last Changed Rev: 111077
Last Changed Date: 2011-07-30 14:46:37 -0400 (Sat, 30 Jul 2011)
Mon Aug  1 18:23:34 EDT 2011
[INFO] Scanning for projects...
Downloading: http://dist.wso2.org/maven2//org/apache/apache/7/apache-7.pom
2/14K
3/14K
7/14K
8/14K
9/14K
13/14K
14/14K
14K downloaded  (apache-7.pom)
Downloading: 
http://repo1.maven.org/maven2/org/wso2/carbon/common-feature/1.5.1/common-feature-1.5.1.pom
[INFO] Unable to find resource 'org.wso2.carbon:common-feature:pom:1.5.1' in 
repository central (http://repo1.maven.org/maven2)
[INFO] 
[ERROR] FATAL ERROR
[INFO] 
[INFO] Error building POM (may not be this project's POM).


Project ID: null:org.wso2.carbon.common.feature:pom:1.5.2

Reason: Cannot find parent: org.wso2.carbon:common-feature for project: 
null:org.wso2.carbon.common.feature:pom:1.5.2 for project 
null:org.wso2.carbon.common.feature:pom:1.5.2


[INFO] 
[INFO] Trace
org.apache.maven.reactor.MavenExecutionException: Cannot find parent: 
org.wso2.carbon:common-feature for project: 
null:org.wso2.carbon.common.feature:pom:1.5.2 for project 
null:org.wso2.carbon.common.feature:pom:1.5.2
at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:404)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:272)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
at 
org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
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.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.project.ProjectBuildingException: Cannot find 
parent: org.wso2.carbon:common-feature for project: 
null:org.wso2.carbon.common.feature:pom:1.5.2 for project 
null:org.wso2.carbon.common.feature:pom:1.5.2
at 
org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBuilder.java:1396)
at 
org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal(DefaultMavenProjectBuilder.java:823)
at 
org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFileInternal(DefaultMavenProjectBuilder.java:508)
at 
org.apache.maven.project.DefaultMavenProjectBuilder.build(DefaultMavenProjectBuilder.java:200)
at org.apache.maven.DefaultMaven.getProject(DefaultMaven.java:604)
at org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:487)
at org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:560)
at org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:560)
at org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:560)
at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:391)
... 12 more
Caused by: org.apache.maven.project.ProjectBuildingException: POM 
'org.wso2.carbon:common-feature' not found in repository: Unable to download 
the artifact from any repository

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


[Carbon-dev] "WSO2 Carbon Trunk Continuous Build has FAILED"

2011-08-01 Thread WSO2 Carbon Trunk Builder (US2)
Repository Root: https://svn.wso2.org/repos/wso2
Repository UUID: a5903396-d722-0410-b921-86c7d4935375
Revision: 29
Node Kind: directory
Schedule: normal
Last Changed Author: damitha
Last Changed Rev: 29
Last Changed Date: 2011-08-01 12:36:08 -0400 (Mon, 01 Aug 2011) [INFO] 

[INFO] Building WSO2 Carbon - Rule Mediator
[INFO]task-segment: [clean, install]
[INFO] 
[INFO] [clean:clean {execution: default-clean}]
[INFO] Deleting 
/home/carbontrunk/carbon/components/rule/org.wso2.carbon.rule.mediator/target
[INFO] [incremental-build:incremental-build {execution: default}]
[INFO] Verifying module descriptor ...
[INFO] Pom descriptor modification detected.
[INFO] Deleting 
/home/carbontrunk/carbon/components/rule/org.wso2.carbon.rule.mediator/target
[INFO] [clean:clean {execution: auto-clean}]
[INFO] Deleting 
/home/carbontrunk/carbon/components/rule/org.wso2.carbon.rule.mediator/target
[INFO] [resources:resources {execution: default-resources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 2 resources
[INFO] [compiler:compile {execution: default-compile}]
[INFO] Compiling 8 source files to 
/home/carbontrunk/carbon/components/rule/org.wso2.carbon.rule.mediator/target/classes
[INFO] [resources:testResources {execution: default-testResources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 
/home/carbontrunk/carbon/components/rule/org.wso2.carbon.rule.mediator/src/test/resources
[INFO] [compiler:testCompile {execution: default-testCompile}]
[INFO] Compiling 13 source files to 
/home/carbontrunk/carbon/components/rule/org.wso2.carbon.rule.mediator/target/test-classes
[INFO] -
[ERROR] COMPILATION ERROR : 
[INFO] -
[ERROR] 
/home/carbontrunk/carbon/components/rule/org.wso2.carbon.rule.mediator/src/test/java/org/wso2/carbon/rule/mediator/TestMessageContext.java:[45,7]
 org.wso2.carbon.rule.mediator.TestMessageContext is not abstract and does not 
override abstract method getSequenceTemplate(java.lang.String) in 
org.apache.synapse.MessageContext

[INFO] 1error
[INFO] -
[INFO] 
[ERROR] BUILD FAILURE
[INFO] 
[INFO] Compilation failure
/home/carbontrunk/carbon/components/rule/org.wso2.carbon.rule.mediator/src/test/java/org/wso2/carbon/rule/mediator/TestMessageContext.java:[45,7]
 org.wso2.carbon.rule.mediator.TestMessageContext is not abstract and does not 
override abstract method getSequenceTemplate(java.lang.String) in 
org.apache.synapse.MessageContext


[INFO] 
[INFO] For more information, run Maven with the -e switch
[INFO] 
[INFO] Total time: 179 minutes 44 seconds
[INFO] Finished at: Mon Aug 01 15:33:03 EDT 2011
[INFO] Final Memory: 1390M/1857M
[INFO] 
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Missing 3.2.2 patched feature versions for org.wso2.carbon.ui and Synapse

2011-08-01 Thread Supun Malinga
On Mon, Aug 1, 2011 at 10:31 PM, Kathiravelu Pradeeban
wrote:

>
>
> On Mon, Aug 1, 2011 at 10:12 PM, Thilina Buddhika wrote:
>
>> Hi Folks,
>>
>> Although we have created 3.2.2 version for org.wso2.carbon.ui module, we
>> haven't created 3.2.2 patched version for org.wso2.carbon.core.ui.feature.
>> [org.wso2.carbon.ui:3.2.2 is included in the patch-releases/core/pom.xml ].
>>
>> Same applies for synapse dependency as well. Although we have
>> created 2.1.0-wso2v4 sometime ago, we haven't created the patched feature
>> versions yet.
>>
>
> Thanks. I will fix these two.
>
> During the stabilization effort, we branched many new versions. The
> motivation was to get all the reverted fixes (commits after 110174) back
> into 3.2.0 branch, as 3.2.2/1.5.2 components, asap.
>
> What I looked was, we were not missing any of the fixes to 3.2.1 components
> (commits after 110174), as we had reverted them. We didn't check whether the
> respective features were created. I suggest the devs who originally made
> these fixes from the product teams, should own this and make sure the
> respective features are created and the product profiles are updated.
>
+1

thanks,

>
> Regards,
> Pradeeban.
>
>>
>> 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
>>
>> ___
>> Carbon-dev mailing list
>> Carbon-dev@wso2.org
>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>
>>
>
>
> --
> Kathiravelu Pradeeban.
> Software Engineer.
> WSO2 Inc.
>
> Blog: [Llovizna] http://kkpradeeban.blogspot.com/
>
>


-- 
Supun Malinga,

Software Engineer,
WSO2 Inc.
http://wso2.com
http://wso2.org
email - sup...@wso2.com 
mobile - 071 56 91 321
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Exception from Cassandra component

2011-08-01 Thread Tharindu Mathew
After discussing with Deep, we realised that this is because my component
used the DataAccess component of the Cassandra feature to connect to the
Cassandra data store.

Since two bundles use the the DataAcess service, due to a fix done for
Stratos, the connection made by one bundle is closed before providing the
connection to the subsequent one, making the connection unusable afterwards.

The work around for this is to use the Hector client directly without using
the Carbon component, but I'm not sure whether the fix done is the correct
one.

Logs:

[2011-08-01 22:32:19,158]  INFO
{org.wso2.carbon.bam.analyzer.test.SummaryAnalyzer1} -  Super row :
Row(allKeys,ColumnSlice([HColumn(Mon Aug 01 00:00:00 IST
2011-3-2-4b6644ae-a2ee-4b66-a7fd-60aad0ad2c7d=), HColumn(Mon Aug 01 00:00:00
IST 2011-3-2-923b55bd-1635-4266-b971-b256105170b0=), HColumn(Mon Aug 01
01:00:00 IST 2011---3---2=), HColumn(Mon Aug 01 02:00:00 IST
2011---3---2=)]))

[2011-08-01 22:32:19,158]  INFO
{org.wso2.carbon.bam.analyzer.test.SummaryAnalyzer1} -  Super row : Row(Mon
Aug 01 00:00:00 IST
2011-3-2-923b55bd-1635-4266-b971-b256105170b0,ColumnSlice([HColumn(Sun Aug
01 00:33:26 IST 2011-127.0.0.1-b434c47f-2db7-4295-ad61-38f4ed212110=)]))

[2011-08-01 22:32:19,158]  INFO
{org.wso2.carbon.bam.analyzer.test.SummaryAnalyzer1} -  Number of entried in
Cassandra : 5
[2011-08-01 22:32:19,158]  INFO
{org.wso2.carbon.bam.analyzer.test.SummaryAnalyzer2} -  Summary Analyzer 2
executed
[2011-08-01 22:32:48,350]  INFO
{me.prettyprint.cassandra.hector.TimingLogger} -  start[1312218168331]
time[19] tag[META_READ.success_]
[2011-08-01 22:32:48,370]  INFO
{me.prettyprint.cassandra.hector.TimingLogger} -  start[1312218168355]
time[15] tag[META_READ.success_]
Suck It!
[2011-08-01 22:32:59,531]  INFO
{org.wso2.carbon.bam.receiver.internal.QueueWorker} -  1 messages in queue
before pool-16-thread-1 worker has polled queue
*[2011-08-01 22:32:59,552]  INFO
{me.prettyprint.cassandra.connection.HConnectionManager} -  Shutdown called
on HConnectionManager*
*[2011-08-01 22:32:59,553]  INFO
{me.prettyprint.cassandra.connection.CassandraHostRetryService} -  Downed
Host retry shutdown hook called*
*[2011-08-01 22:32:59,556]  INFO
{me.prettyprint.cassandra.connection.CassandraHostRetryService} -  Downed
Host retry shutdown complete*
*[2011-08-01 22:32:59,556] ERROR
{me.prettyprint.cassandra.connection.NodeAutoDiscoverService} -  Auto
Discovery retry shutdown hook called*
*[2011-08-01 22:32:59,558] ERROR
{me.prettyprint.cassandra.connection.NodeAutoDiscoverService} -
 AutoDiscovery retry shutdown complete*
*[2011-08-01 22:32:59,562] ERROR
{me.prettyprint.cassandra.connection.ConcurrentHClientPool} -  Shutdown
triggered on
:{localhost(127.0.0.1):9160}*
*[2011-08-01 22:32:59,588] ERROR
{me.prettyprint.cassandra.connection.ConcurrentHClientPool} -  Shutdown
complete *on
:{localhost(127.0.0.1):9160}
[2011-08-01 22:32:59,588]  INFO
{me.prettyprint.cassandra.connection.CassandraHostRetryService} -  Downed
Host Retry service started with queue size 3 and retry delay 10s
[2011-08-01 22:32:59,620]  INFO
{me.prettyprint.cassandra.hector.TimingLogger} -  start[1312218179605]
time[15] tag[META_READ.success_]
[2011-08-01 22:32:59,660]  INFO
{me.prettyprint.cassandra.hector.TimingLogger} -  start[1312218179625]
time[35] tag[WRITE.success_]
[2011-08-01 22:32:59,685]  INFO
{me.prettyprint.cassandra.hector.TimingLogger} -  start[1312218179661]
time[24] tag[WRITE.success_]
[2011-08-01 22:32:59,703]  INFO
{me.prettyprint.cassandra.hector.TimingLogger} -  start[1312218179686]
time[16] tag[WRITE.success_]
[2011-08-01 22:32:59,732]  INFO
{me.prettyprint.cassandra.hector.TimingLogger} -  start[1312218179703]
time[29] tag[WRITE.success_]
[2011-08-01 22:32:59,759]  INFO
{me.prettyprint.cassandra.hector.TimingLogger} -  start[1312218179732]
time[27] tag[WRITE.success_]
[2011-08-01 22:32:59,760]  INFO
{org.wso2.carbon.bam.receiver.internal.QueueWorker} -  0 messages in queue
after pool-16-thread-1 worker has finished work
[2011-08-01 22:33:01,021]  INFO
{org.wso2.carbon.bam.analyzer.test.SummaryAnalyzer1} -  Summary Analyzer 1
started
[2011-08-01 22:33:01,022]  INFO
{me.prettyprint.cassandra.hector.TimingLogger} -  start[1312218181022]
time[0] tag[READ.fail_]
[2011-08-01 22:33:01,024] ERROR {org.quartz.core.JobRunShell} -  Job
synapse.simple.quartz.testSequence threw an unhandled Exception:
me.prettyprint.hector.api.exceptions.HectorException: General exception in
getClientFromLBPolicy
at
me.prettyprint.cassandra.connection.HConnectionManager.getClientFromLBPolicy(HConnectionManager.java:231)
at
me.prettyprint.cassandra.connection.HConnectionManager.operateWithFailover(HConnectionManager.java:149)
at
me.prettyprint.cassandra.service.KeyspaceServiceImpl.operateWithFailover(KeyspaceServiceImpl.java:129)
at
me.prettyprint.cassandra.service.KeyspaceServiceImpl.getRangeSlices(KeyspaceServiceImpl.java:165)
at
me.prettyprint.cassandra.model.thrift.ThriftRangeSlicesQuery$1.doInKeyspace(ThriftRangeSlicesQuery.ja

Re: [Carbon-dev] Missing 3.2.2 patched feature versions for org.wso2.carbon.ui and Synapse

2011-08-01 Thread Kathiravelu Pradeeban
On Mon, Aug 1, 2011 at 10:12 PM, Thilina Buddhika  wrote:

> Hi Folks,
>
> Although we have created 3.2.2 version for org.wso2.carbon.ui module, we
> haven't created 3.2.2 patched version for org.wso2.carbon.core.ui.feature.
> [org.wso2.carbon.ui:3.2.2 is included in the patch-releases/core/pom.xml ].
>
> Same applies for synapse dependency as well. Although we have
> created 2.1.0-wso2v4 sometime ago, we haven't created the patched feature
> versions yet.
>

Thanks. I will fix these two.

During the stabilization effort, we branched many new versions. The
motivation was to get all the reverted fixes (commits after 110174) back
into 3.2.0 branch, as 3.2.2/1.5.2 components, asap.

What I looked was, we were not missing any of the fixes to 3.2.1 components
(commits after 110174), as we had reverted them. We didn't check whether the
respective features were created. I suggest the devs who originally made
these fixes from the product teams, should own this and make sure the
respective features are created and the product profiles are updated.

Regards,
Pradeeban.

>
> 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
>
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>


-- 
Kathiravelu Pradeeban.
Software Engineer.
WSO2 Inc.

Blog: [Llovizna] http://kkpradeeban.blogspot.com/
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


[Carbon-dev] "WSO2 Carbon Trunk Continuous Build has FAILED"

2011-08-01 Thread WSO2 Carbon Trunk Builder (US2)
Repository Root: https://svn.wso2.org/repos/wso2
Repository UUID: a5903396-d722-0410-b921-86c7d4935375
Revision: 14
Node Kind: directory
Schedule: normal
Last Changed Author: shariq
Last Changed Rev: 14
Last Changed Date: 2011-08-01 08:47:43 -0400 (Mon, 01 Aug 2011) [INFO] snapshot 
org.wso2.carbon:org.wso2.carbon.rule.engine.drools:3.2.0-SNAPSHOT: checking for 
updates from wso2-nexus
4/32K
8/32K
12/32K
16/32K
20/32K
24/32K
28/32K
32/32K
32/32K
32K downloaded  (synapse-tasks-2.1.0-wso2v2.jar)
[INFO] snapshot 
org.wso2.carbon:org.wso2.carbon.rule.engine.jsr94:3.2.0-SNAPSHOT: checking for 
updates from wso2-nexus
Downloading: 
http://maven.wso2.org/nexus/content/groups/wso2-public//org/apache/synapse/synapse-nhttp-transport/2.1.0-wso2v2/synapse-nhttp-transport-2.1.0-wso2v2.jar
[INFO] snapshot org.wso2.carbon:org.wso2.carbon.rule.samples:3.2.0-SNAPSHOT: 
checking for updates from wso2-nexus
4/171K
8/171K
12/171K
16/171K
20/171K
24/171K
28/171K
32/171K
36/171K
40/171K
44/171K
48/171K
52/171K
56/171K
60/171K
64/171K
68/171K
72/171K
76/171K
80/171K
84/171K
88/171K
92/171K
96/171K
100/171K
104/171K
108/171K
112/171K
116/171K
120/171K
124/171K
128/171K
132/171K
136/171K
140/171K
144/171K
148/171K
152/171K
156/171K
160/171K
164/171K
168/171K
171/171K
171K downloaded  (synapse-nhttp-transport-2.1.0-wso2v2.jar)
[INFO] [incremental-build:incremental-build {execution: default}]
[INFO] Verifying module descriptor ...
[INFO] Pom descriptor modification detected.
[INFO] Deleting 
/home/carbontrunk/carbon/components/rule/org.wso2.carbon.rule.mediator/target
[INFO] [clean:clean {execution: auto-clean}]
[INFO] Deleting 
/home/carbontrunk/carbon/components/rule/org.wso2.carbon.rule.mediator/target
[INFO] [resources:resources {execution: default-resources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 2 resources
[INFO] [compiler:compile {execution: default-compile}]
[INFO] Compiling 8 source files to 
/home/carbontrunk/carbon/components/rule/org.wso2.carbon.rule.mediator/target/classes
[INFO] [resources:testResources {execution: default-testResources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 
/home/carbontrunk/carbon/components/rule/org.wso2.carbon.rule.mediator/src/test/resources
[INFO] [compiler:testCompile {execution: default-testCompile}]
[INFO] Compiling 13 source files to 
/home/carbontrunk/carbon/components/rule/org.wso2.carbon.rule.mediator/target/test-classes
[INFO] -
[ERROR] COMPILATION ERROR : 
[INFO] -
[ERROR] 
/home/carbontrunk/carbon/components/rule/org.wso2.carbon.rule.mediator/src/test/java/org/wso2/carbon/rule/mediator/TestMessageContext.java:[45,7]
 org.wso2.carbon.rule.mediator.TestMessageContext is not abstract and does not 
override abstract method getSequenceTemplate(java.lang.String) in 
org.apache.synapse.MessageContext

[INFO] 1error
[INFO] -
[INFO] 
[ERROR] BUILD FAILURE
[INFO] 
[INFO] Compilation failure
/home/carbontrunk/carbon/components/rule/org.wso2.carbon.rule.mediator/src/test/java/org/wso2/carbon/rule/mediator/TestMessageContext.java:[45,7]
 org.wso2.carbon.rule.mediator.TestMessageContext is not abstract and does not 
override abstract method getSequenceTemplate(java.lang.String) in 
org.apache.synapse.MessageContext


[INFO] 
[INFO] For more information, run Maven with the -e switch
[INFO] 
[INFO] Total time: 213 minutes 54 seconds
[INFO] Finished at: Mon Aug 01 12:24:05 EDT 2011
[INFO] Final Memory: 1464M/1790M
[INFO] 
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Use an LDAP group to authorize a webapp access in AS 4.1

2011-08-01 Thread Guillaume Devianne
ok,
will look into this.

thanks

Guillaume


On Mon, Aug 1, 2011 at 1:18 AM, Dimuthu Leelarathne wrote:

> Hi,
>
> Yes. For that you have to write a BE bundle with the permissions mentioned
> in the component.xml and add it into
> {CARBON_HOME}/repository/components/dropins/
>
> Please find a sample BE bundle at
>
>
> https://svn.wso2.org/repos/wso2/trunk/carbon/components/service-mgt/org.wso2.carbon.service.mgt
>
> And it's component.xml is at
>
>
> https://svn.wso2.org/repos/wso2/trunk/carbon/components/service-mgt/org.wso2.carbon.service.mgt/src/main/resources/META-INF/component.xml
>
>
> thanks,
> dimuthul
>
>
> On Sun, Jul 31, 2011 at 3:25 AM, Guillaume Devianne 
> wrote:
>
>> Amila,
>>
>> I played with permissions and gave permission to "LOGIN" under "Admin
>> Permissions"
>> That worked for the scenario I have now which is to log in to my webapp
>> but have no right on the server admin interface.
>>
>>
>> Now, is there a way to have the webapp as a permission item?
>>
>> Something like putting a serverRole name in the webapp  deployment file
>> (web.xml)
>> and in the permission list, there would be :
>>
>> -All Permissions
>> ---Admin Permissions
>> ---Super Admin Permissions
>> ---Webapp1 Permissions
>> ---Webapp2 Permissions
>>
>>
>> Guillaume
>>
>>
>>
>> On Fri, Jul 29, 2011 at 11:22 PM, Amila Jayasekara wrote:
>>
>>> Hi Guillaume,
>>>
>>> Did you try giving login permission to GROUPA ?
>>> You can do that through the management console. Select "Users and
>>> Roles" -> "Roles" -> Select particular group -> Select permissions
>>>
>>> Thanks
>>> AmilaJ
>>>
>>> On Sat, Jul 30, 2011 at 4:06 AM, Guillaume Devianne 
>>> wrote:
>>> >
>>> > Hi,
>>> > My AS 4.1 is setup with an Active Directory through.
>>> > In a Webapp, I use the Carbon authentification through :
>>> > org.wso2.carbon.authenticator.proxy.AuthenticationAdminClient that
>>> calls the
>>> > Carbon AuthenticationAdmin service.
>>> > Now, if a user want to log in, I must include him in my admin group in
>>> the
>>> > AS.
>>> > How can I tell carbon that users from the GROUPA, defined in Active
>>> > Directory and available in AS can log on to my app?
>>> > Thanks,
>>> > Guillaume
>>> >
>>> > ___
>>> > 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 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 mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


[Carbon-dev] Missing 3.2.2 patched feature versions for org.wso2.carbon.ui and Synapse

2011-08-01 Thread Thilina Buddhika
Hi Folks,

Although we have created 3.2.2 version for org.wso2.carbon.ui module, we
haven't created 3.2.2 patched version for org.wso2.carbon.core.ui.feature.
[org.wso2.carbon.ui:3.2.2 is included in the patch-releases/core/pom.xml ].

Same applies for synapse dependency as well. Although we have
created 2.1.0-wso2v4 sometime ago, we haven't created the patched feature
versions yet.

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
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


[Carbon-dev] Hudson build is back to normal : carbon_trunk #82

2011-08-01 Thread WSO2 Hudson Builder
See 


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


[Carbon-dev] Hudson build is back to normal : carbon_trunk » WSO2 Stratos - Cloud Governance P2 Profile Generation #82

2011-08-01 Thread WSO2 Hudson Builder
See 



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


[Carbon-dev] "WSO2 Carbon Trunk Continuous Build has FAILED"

2011-08-01 Thread WSO2 Carbon Trunk Builder (US2)
Repository Root: https://svn.wso2.org/repos/wso2
Repository UUID: a5903396-d722-0410-b921-86c7d4935375
Revision: 111096
Node Kind: directory
Schedule: normal
Last Changed Author: hiranya
Last Changed Rev: 111096
Last Changed Date: 2011-08-01 05:07:58 -0400 (Mon, 01 Aug 2011) [INFO] 

[INFO] Building WSO2 Carbon - Rule Mediator
[INFO]task-segment: [clean, install]
[INFO] 
[INFO] [clean:clean {execution: default-clean}]
[INFO] Deleting 
/home/carbontrunk/carbon/components/rule/org.wso2.carbon.rule.mediator/target
[INFO] [incremental-build:incremental-build {execution: default}]
[INFO] Verifying module descriptor ...
[INFO] Pom descriptor modification detected.
[INFO] Deleting 
/home/carbontrunk/carbon/components/rule/org.wso2.carbon.rule.mediator/target
[INFO] [clean:clean {execution: auto-clean}]
[INFO] Deleting 
/home/carbontrunk/carbon/components/rule/org.wso2.carbon.rule.mediator/target
[INFO] [resources:resources {execution: default-resources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 2 resources
[INFO] [compiler:compile {execution: default-compile}]
[INFO] Compiling 8 source files to 
/home/carbontrunk/carbon/components/rule/org.wso2.carbon.rule.mediator/target/classes
[INFO] [resources:testResources {execution: default-testResources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 
/home/carbontrunk/carbon/components/rule/org.wso2.carbon.rule.mediator/src/test/resources
[INFO] [compiler:testCompile {execution: default-testCompile}]
[INFO] Compiling 13 source files to 
/home/carbontrunk/carbon/components/rule/org.wso2.carbon.rule.mediator/target/test-classes
[INFO] -
[ERROR] COMPILATION ERROR : 
[INFO] -
[ERROR] 
/home/carbontrunk/carbon/components/rule/org.wso2.carbon.rule.mediator/src/test/java/org/wso2/carbon/rule/mediator/TestMessageContext.java:[45,7]
 org.wso2.carbon.rule.mediator.TestMessageContext is not abstract and does not 
override abstract method getSequenceTemplate(java.lang.String) in 
org.apache.synapse.MessageContext

[INFO] 1error
[INFO] -
[INFO] 
[ERROR] BUILD FAILURE
[INFO] 
[INFO] Compilation failure
/home/carbontrunk/carbon/components/rule/org.wso2.carbon.rule.mediator/src/test/java/org/wso2/carbon/rule/mediator/TestMessageContext.java:[45,7]
 org.wso2.carbon.rule.mediator.TestMessageContext is not abstract and does not 
override abstract method getSequenceTemplate(java.lang.String) in 
org.apache.synapse.MessageContext


[INFO] 
[INFO] For more information, run Maven with the -e switch
[INFO] 
[INFO] Total time: 181 minutes 2 seconds
[INFO] Finished at: Mon Aug 01 08:13:34 EDT 2011
[INFO] Final Memory: 1425M/1818M
[INFO] 
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


[Carbon-dev] "WSO2 Carbon Trunk Continuous Build has FAILED"

2011-08-01 Thread WSO2 Carbon Trunk Builder (US2)
Repository Root: https://svn.wso2.org/repos/wso2
Repository UUID: a5903396-d722-0410-b921-86c7d4935375
Revision: 111091
Node Kind: directory
Schedule: normal
Last Changed Author: damitha
Last Changed Rev: 111091
Last Changed Date: 2011-08-01 02:05:24 -0400 (Mon, 01 Aug 2011) [INFO] 

[INFO] Building WSO2 Carbon - Rule Mediator
[INFO]task-segment: [clean, install]
[INFO] 
[INFO] [clean:clean {execution: default-clean}]
[INFO] Deleting 
/home/carbontrunk/carbon/components/rule/org.wso2.carbon.rule.mediator/target
[INFO] [incremental-build:incremental-build {execution: default}]
[INFO] Verifying module descriptor ...
[INFO] Pom descriptor modification detected.
[INFO] Deleting 
/home/carbontrunk/carbon/components/rule/org.wso2.carbon.rule.mediator/target
[INFO] [clean:clean {execution: auto-clean}]
[INFO] Deleting 
/home/carbontrunk/carbon/components/rule/org.wso2.carbon.rule.mediator/target
[INFO] [resources:resources {execution: default-resources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 2 resources
[INFO] [compiler:compile {execution: default-compile}]
[INFO] Compiling 8 source files to 
/home/carbontrunk/carbon/components/rule/org.wso2.carbon.rule.mediator/target/classes
[INFO] [resources:testResources {execution: default-testResources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 
/home/carbontrunk/carbon/components/rule/org.wso2.carbon.rule.mediator/src/test/resources
[INFO] [compiler:testCompile {execution: default-testCompile}]
[INFO] Compiling 13 source files to 
/home/carbontrunk/carbon/components/rule/org.wso2.carbon.rule.mediator/target/test-classes
[INFO] -
[ERROR] COMPILATION ERROR : 
[INFO] -
[ERROR] 
/home/carbontrunk/carbon/components/rule/org.wso2.carbon.rule.mediator/src/test/java/org/wso2/carbon/rule/mediator/TestMessageContext.java:[45,7]
 org.wso2.carbon.rule.mediator.TestMessageContext is not abstract and does not 
override abstract method getSequenceTemplate(java.lang.String) in 
org.apache.synapse.MessageContext

[INFO] 1error
[INFO] -
[INFO] 
[ERROR] BUILD FAILURE
[INFO] 
[INFO] Compilation failure
/home/carbontrunk/carbon/components/rule/org.wso2.carbon.rule.mediator/src/test/java/org/wso2/carbon/rule/mediator/TestMessageContext.java:[45,7]
 org.wso2.carbon.rule.mediator.TestMessageContext is not abstract and does not 
override abstract method getSequenceTemplate(java.lang.String) in 
org.apache.synapse.MessageContext


[INFO] 
[INFO] For more information, run Maven with the -e switch
[INFO] 
[INFO] Total time: 183 minutes 3 seconds
[INFO] Finished at: Mon Aug 01 05:01:39 EDT 2011
[INFO] Final Memory: 1418M/1840M
[INFO] 
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


[Carbon-dev] Build failed at trunk/components/rule/org.wso2.carbon.rule.mediator

2011-08-01 Thread Melan Nimesh
Hi All,

$subject, please have a look!

Thanks
--Melan


[INFO] Building WSO2 Carbon - Rule Mediator
[INFO]task-segment: [clean, install]
[INFO]

[INFO] [clean:clean {execution: default-clean}]
[INFO] Deleting
/home/carbontrunk/carbon/components/rule/org.wso2.carbon.rule.mediator/target
[INFO] [incremental-build:incremental-build {execution: default}]
[INFO] Verifying module descriptor ...
[INFO] Pom descriptor modification detected.
[INFO] Deleting
/home/carbontrunk/carbon/components/rule/org.wso2.carbon.rule.mediator/target
[INFO] [clean:clean {execution: auto-clean}]
[INFO] Deleting
/home/carbontrunk/carbon/components/rule/org.wso2.carbon.rule.mediator/target
[INFO] [resources:resources {execution: default-resources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 2 resources
[INFO] [compiler:compile {execution: default-compile}]
[INFO] Compiling 8 source files to
/home/carbontrunk/carbon/components/rule/org.wso2.carbon.rule.mediator/target/classes
[INFO] [resources:testResources {execution: default-testResources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory
/home/carbontrunk/carbon/components/rule/org.wso2.carbon.rule.mediator/src/test/resources
[INFO] [compiler:testCompile {execution: default-testCompile}]
[INFO] Compiling 13 source files to
/home/carbontrunk/carbon/components/rule/org.wso2.carbon.rule.mediator/target/test-classes
[INFO] -
[ERROR] COMPILATION ERROR :
[INFO] -
[ERROR]
/home/carbontrunk/carbon/components/rule/org.wso2.carbon.rule.mediator/src/test/java/org/wso2/carbon/rule/mediator/TestMessageContext.java:[45,7]
org.wso2.carbon.rule.mediator.TestMessageContext is not abstract and does
not override abstract method getSequenceTemplate(java.lang.String) in
org.apache.synapse.MessageContext

[INFO] 1error
[INFO] -
[INFO]

[ERROR] BUILD FAILURE
[INFO]

[INFO] Compilation failure
/home/carbontrunk/carbon/components/rule/org.wso2.carbon.rule.mediator/src/test/java/org/wso2/carbon/rule/mediator/TestMessageContext.java:[45,7]
org.wso2.carbon.rule.mediator.TestMessageContext is not abstract and does
not override abstract method getSequenceTemplate(java.lang.String) in
org.apache.synapse.MessageContext


[INFO]

[INFO] For more information, run Maven with the -e switch
[INFO]

[INFO] Total time: 178 minutes 11 seconds
[INFO] Finished at: Sun Jul 31 22:40:23 EDT 2011
[INFO] Final Memory: 1424M/1861M
[INFO]

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