Re: [Carbon-dev] Appserver starbucks sample pom doesn't work

2014-06-13 Thread Sagara Gunathunga
On Fri, Jun 13, 2014 at 8:58 PM, Chamara Ariyarathne 
wrote:

> Why do we have build.xml and pom.xml both here?
>

 AS samples support for both Maven and Ant.

>
> mvn clean install doesn't work here.
>

 - This is originally discovered in last December few weeks after 5.2.1
release, you can find root cause and related discussions here[1]
 - This was reported in JIRA and already resolved[2].
 - Product documentation is also updated in the same time with the
workaround [3]

[1] - "JaxRS samples not building" Thread
[2] - https://wso2.org/jira/browse/WSAS-1663
[3] -
https://docs.wso2.org/display/AS521/Building+and+Running+JAX-WS+Samples

Thanks !

>
> chamara@chamaradell:~/as/5.2.1/wso2as-5.2.1/samples/Jaxws-Jaxrs/jaxrs_starbucks_service$
> ant
> Buildfile:
> /home/chamara/as/5.2.1/wso2as-5.2.1/samples/Jaxws-Jaxrs/jaxrs_starbucks_service/build.xml
>
> clean:
>[delete] Deleting directory
> /home/chamara/as/5.2.1/wso2as-5.2.1/samples/Jaxws-Jaxrs/jaxrs_starbucks_service/build
>
> init:
> [mkdir] Created dir:
> /home/chamara/as/5.2.1/wso2as-5.2.1/samples/Jaxws-Jaxrs/jaxrs_starbucks_service/build
> [mkdir] Created dir:
> /home/chamara/as/5.2.1/wso2as-5.2.1/samples/Jaxws-Jaxrs/jaxrs_starbucks_service/build/classes
> [mkdir] Created dir:
> /home/chamara/as/5.2.1/wso2as-5.2.1/samples/Jaxws-Jaxrs/jaxrs_starbucks_service/build/webapps
> [mkdir] Created dir:
> /home/chamara/as/5.2.1/wso2as-5.2.1/samples/Jaxws-Jaxrs/jaxrs_starbucks_service/build/lib
>  [copy] Copying 39 files to
> /home/chamara/as/5.2.1/wso2as-5.2.1/samples/Jaxws-Jaxrs/jaxrs_starbucks_service/build/lib
>
> compile:
> [javac]
> /home/chamara/as/5.2.1/wso2as-5.2.1/samples/Jaxws-Jaxrs/jaxrs_starbucks_service/build.xml:51:
> warning: 'includeantruntime' was not set, defaulting to
> build.sysclasspath=last; set to false for repeatable builds
> [javac] Compiling 8 source files to
> /home/chamara/as/5.2.1/wso2as-5.2.1/samples/Jaxws-Jaxrs/jaxrs_starbucks_service/build/classes
>
> war:
>  [echo] Creating webapp jaxrs_starbucks_service.war.
>  [copy] Copying 1 file to
> /home/chamara/as/5.2.1/wso2as-5.2.1/samples/Jaxws-Jaxrs/jaxrs_starbucks_service/build/classes/demo/jaxrs/client
>  [copy] Copying 1 file to
> /home/chamara/as/5.2.1/wso2as-5.2.1/samples/Jaxws-Jaxrs/jaxrs_starbucks_service/build/classes/demo/jaxrs/client
>  [copy] Copying 1 file to
> /home/chamara/as/5.2.1/wso2as-5.2.1/samples/Jaxws-Jaxrs/jaxrs_starbucks_service/build/classes/demo/jaxrs/client
>   [war] Building war:
> /home/chamara/as/5.2.1/wso2as-5.2.1/samples/Jaxws-Jaxrs/jaxrs_starbucks_service/build/webapps/jaxrs_starbucks_service.war
>
> build-all:
>  [echo] Copying the created war file in to the deployment directory
>  [copy] Copying 1 file to
> /home/chamara/as/5.2.1/wso2as-5.2.1/repository/deployment/server/webapps
>
> BUILD SUCCESSFUL
> Total time: 0 seconds
> chamara@chamaradell:~/as/5.2.1/wso2as-5.2.1/samples/Jaxws-Jaxrs/jaxrs_starbucks_service$
> mvn clean install
> [INFO] Scanning for projects...
> Downloading:
> http://repo.maven.apache.org/maven2/org/wso2/appserver/wso2appserver-samples-parent/5.2.1/wso2appserver-samples-parent-5.2.1.pom
> [ERROR] The build could not read 1 project -> [Help 1]
> [ERROR]
> [ERROR]   The project org.wso2.appserver:jaxrs_starbucks_service:5.2.1
> (/home/chamara/as/5.2.1/wso2as-5.2.1/samples/Jaxws-Jaxrs/jaxrs_starbucks_service/pom.xml)
> has 1 error
> [ERROR] Non-resolvable parent POM for
> org.wso2.appserver:wso2appserver-samples:5.2.1: Could not find artifact
> org.wso2.appserver:wso2appserver-samples-parent:pom:5.2.1 in central (
> http://repo.maven.apache.org/maven2) and 'parent.relativePath' points at
> wrong local POM @ org.wso2.appserver:wso2appserver-samples:5.2.1,
> /home/chamara/as/5.2.1/wso2as-5.2.1/samples/pom.xml, line 21, column 13 ->
> [Help 2]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the
> -e switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions,
> please read the following articles:
> [ERROR] [Help 1]
> http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
> [ERROR] [Help 2]
> http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException
> chamara@chamaradell
> :~/as/5.2.1/wso2as-5.2.1/samples/Jaxws-Jaxrs/jaxrs_starbucks_service$
>
>
> --
> *Chamara Ariyarathne*
> Senior Software Engineer - QA;
> WSO2 Inc; http://www.wso2.com/.
> Mobile; *+94772786766 <%2B94772786766>*
>
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org

Re: [Carbon-dev] Ground work for Admin Service port to JAX-WS

2012-02-19 Thread Sagara Gunathunga
On Sat, Feb 18, 2012 at 12:04 AM, Sameera Jayasoma  wrote:

> Hi Sagara,
>
> Please see my comments below.
>
> On Fri, Feb 17, 2012 at 1:00 PM, Sagara Gunathunga wrote:
>
>>
>> I started to work on ${Subject} following are the sub tasks involve with
>> this.
>>
>> 1.) Write a new Carbon based JAXWSDeployer to deploy a bundles as a Axis2
>> JAX-WS  service.
>>
>> Current Carbon Axis2ServiceRegistry look for service.xml file in a bundle
>> and deploy bundle as a native Axis2 service.  Since Axis2 JAX-WS deployment
>> does not use any meta data file it is required to set new entry on MANIFEST
>> file to identify JAX-WS services.  At the moment I have completed most part
>> of this JAXWSDeployer, it is possible to deploy and invoke JAX-WS service
>> but still have to solve few classloading issues.
>>
>> There are few ClassNotFoundExceptions occurred for non-existing classes
>> when I use BundleClassLoader to deploy services. But still WSDL generated
>> and possible to invoke service successfully too . This is not the case if I
>> use SystemClassLoader through  axisConfig.getSystemClassLoader() instead
>> of  BundleClassLoader. I will debug Axis2 JAX-WS deployment within Carbon
>> further and see what cause this issue.
>>
>
> As per the discussion we had on this effort, we need to reuse the JAXWS
> service deployment code here.  AFAIK, we are trying the deploy the JAXWS
> Service in the OSGi bundle by giving the file path of the bundle. This is
> not the proper way of doing this IMHO. Thats why you are getting all sorts
> of class loading issues.
>

 Hi Sameera,

After above discussion with you I have changed JAXWS service deployment
code, now it's pretty much similar to existing service deployment approach.
I was able to create a small sample code to demonstrate above issue just
within Carbon codes without dealing any JAX-WS codes. This is what I found

Assume we have following method and ""sample.ObjectFactory" class does not
exists.

private static Class forName(final boolean initialize, final ClassLoader
classloader)
throws ClassNotFoundException {
Class cl = null;
try {
cl = (Class) AccessController
.doPrivileged(new PrivilegedExceptionAction() {
public Object run() throws ClassNotFoundException {
String className = "sample.ObjectFactory";

Classcls = Class.forName(className,
initialize,
classloader);

return cls;
}
});
} catch (PrivilegedActionException e) {
throw (ClassNotFoundException) e.getException();
}
return cl;
}


If I call above method within following code segment expected behavior
should be  no Exception message on console. If I pass ClassLoader that
supports for AccessControlContext ( e.g - URLClassLoader,
org.apache.axis2.deployment.DeploymentClassLoader etc)  I can see expected
behavior that is no error message on console.  But if I use
BundleClassLoader  I can see exception messages on console, according to
following code this is not the expected behavior.

 try {
 forName(true, loader);
} catch (ClassNotFoundException e) {  }


Is there any specific reason that  BundleClassLoader does not support for
AccessControlContext ?  If not shall I add AccessControlContext support for
it ?


Note :- Axis2 JAX-WS code try to load  number of non-existing classes and
ignore ClassNotFoundExceptions but with BundleClassLoader those exceptions
visible on console. This does not make any effect on functionality but we
can't allow this behavior, as I mislead people can mislead with those
exception messages on console.


+1 to have a meeting to discuss in further.


Thanks !






>
> We need to do this keeping in mind that these services are coming from
> OSGi bundles. One such improvement is to set the bundle classloader  as the
> service classloader.
>
> I suggest having a meeting to discuss in further.
>
> Thanks,
> Sameera.
>
>>
>>
>> 2.) Port existing Axis2 native Admin services to  to use JAX-WS/ JAXB.
>>
>> I went through services.xml files of all the Admin services and it's
>> looks like most of them can be port into JAX-WS programing model. Since
>> Axis2 JAX-WS does not use any meta data file we may have to use MANIFEST
>> file to set some of the entries available on services.xml file today.
>>
>> One issue here is few Admin services invoke Axis2 modules, in order to
>> port these services we have to port some of the Axis2 modules into JAX-WS
>> modules f

[Carbon-dev] Ground work for Admin Service port to JAX-WS

2012-02-16 Thread Sagara Gunathunga
I started to work on ${Subject} following are the sub tasks involve with
this.

1.) Write a new Carbon based JAXWSDeployer to deploy a bundles as a Axis2
JAX-WS  service.

Current Carbon Axis2ServiceRegistry look for service.xml file in a bundle
and deploy bundle as a native Axis2 service.  Since Axis2 JAX-WS deployment
does not use any meta data file it is required to set new entry on MANIFEST
file to identify JAX-WS services.  At the moment I have completed most part
of this JAXWSDeployer, it is possible to deploy and invoke JAX-WS service
but still have to solve few classloading issues.

There are few ClassNotFoundExceptions occurred for non-existing classes
when I use BundleClassLoader to deploy services. But still WSDL generated
and possible to invoke service successfully too . This is not the case if I
use SystemClassLoader through  axisConfig.getSystemClassLoader() instead
of  BundleClassLoader. I will debug Axis2 JAX-WS deployment within Carbon
further and see what cause this issue.


2.) Port existing Axis2 native Admin services to  to use JAX-WS/ JAXB.

I went through services.xml files of all the Admin services and it's looks
like most of them can be port into JAX-WS programing model. Since Axis2
JAX-WS does not use any meta data file we may have to use MANIFEST file to
set some of the entries available on services.xml file today.

One issue here is few Admin services invoke Axis2 modules, in order to port
these services we have to port some of the Axis2 modules into JAX-WS
modules first.


In generally this modification allow users to write Admin services using
JAX-WS programming model instead of Axis2 native service model. BTW this
modification does not address requirement of decoupling Carbon core and
Axis2. Though  we move Admin services to JAX-WS programming model still we
have to use Axis2 JAX-WS deployment framework to deploy services we just
change web service programming model only. In future if we decide to move
to CXF then we have to repeat above step-1 again that is write a Carbon
based CXF service deployer to deploy a bundle as a service. JAX-WS spec
does not specify any generic deployment approach hence each vendor define
their own deployment mechanism. In case if we want to support Carbon  for
both Axis2 and CXF then Carbon will need to couple with both Axis2 and
CXF.


Thanks !

-- 
Sagara Gunathunga

Technical Lead; WSO2, Inc.; http://wso2.com
Blog - http://ssagara.blogspot.com
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Look into Axis2 test failures in Carbon trunk

2011-12-14 Thread Sagara Gunathunga
Final Memory: 195M/819M
[INFO]




Thanks !

On Thu, Dec 15, 2011 at 11:51 AM, Sagara Gunathunga  wrote:

> Sure.
>
> Thanks !
>
>
> On Thu, Dec 15, 2011 at 7:00 AM, Afkham Azeez  wrote:
>
>> Sagara,
>> Can you please look into these? We need to fix these as part of the
>> stabilization effort.
>>
>> --
>> *Afkham Azeez*
>> Director of Architecture; WSO2, Inc.; http://wso2.com
>> Member; Apache Software Foundation; http://www.apache.org/
>> * <http://www.apache.org/>**
>> email: **az...@wso2.com* * cell: +94 77 3320919
>> blog: **http://blog.afkham.org* <http://blog.afkham.org>*
>> twitter: **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez>
>> *
>> linked-in: **http://lk.linkedin.com/in/afkhamazeez*
>> *
>> *
>> *Lean . Enterprise . Middleware*
>>
>>
>
>
> --
> Sagara Gunathunga
>
> Technical Lead; WSO2, Inc.; http://wso2.com
> Blog - http://ssagara.blogspot.com
>
>
>


-- 
Sagara Gunathunga

Technical Lead; WSO2, Inc.; http://wso2.com
Blog - http://ssagara.blogspot.com
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Look into Axis2 test failures in Carbon trunk

2011-12-14 Thread Sagara Gunathunga
Sure.

Thanks !

On Thu, Dec 15, 2011 at 7:00 AM, Afkham Azeez  wrote:

> Sagara,
> Can you please look into these? We need to fix these as part of the
> stabilization effort.
>
> --
> *Afkham Azeez*
> Director of Architecture; WSO2, Inc.; http://wso2.com
> Member; Apache Software Foundation; http://www.apache.org/
> * <http://www.apache.org/>**
> email: **az...@wso2.com* * cell: +94 77 3320919
> blog: **http://blog.afkham.org* <http://blog.afkham.org>*
> twitter: **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez>
> *
> linked-in: **http://lk.linkedin.com/in/afkhamazeez*
> *
> *
> *Lean . Enterprise . Middleware*
>
>


-- 
Sagara Gunathunga

Technical Lead; WSO2, Inc.; http://wso2.com
Blog - http://ssagara.blogspot.com
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] build hangs while axis2 integration tests

2011-12-09 Thread Sagara Gunathunga
Hi Pradeep,

I just build Apache trunk without any issue. Can you provide more details
about your failure.

Was this occur in build server or your machine ?

What is the Axis2 branch you used, please provide me SVN url ?

Thanks !

On Thu, Dec 8, 2011 at 9:39 PM, Pradeep Fernando  wrote:

> Hi,
>
> it hangs during the below test.
>
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.188 sec
> Running org.apache.axis2.engine.MessageContextTest
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.032 sec
> Running org.apache.axis2.mtom.EchoRawMTOMToBase64Test
> Running org.apache.axis2.engine.EchoRawXMLMultipleASyncTest
>
>
>
> --Pradeep
>



-- 
Sagara Gunathunga

Technical Lead; WSO2, Inc.; http://wso2.com
Blog - http://ssagara.blogspot.com
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Branch 3.2.3 Build Failure at Apache Axis2 - Fast Infoset - task-segment - TEST

2011-12-08 Thread Sagara Gunathunga
On Thu, Dec 8, 2011 at 6:14 PM, Sanjeewa Malalgoda wrote:

> There was a problem in ports. port  is occupied by some java process
> and this test need to use same port. We were able to fix the issue in both
> builder machines. Still we are investigating this port is open as a result
> of any other test or process.


 Madhuka ,

 Since you reported same issue on your local machine can you run it again
and see ? First make sure that port  is not bind to any other process.

 Thanks !



>
> Thanks.
>
>
> On Thu, Dec 8, 2011 at 5:22 PM, Sagara Gunathunga  wrote:
>
>>
>>
>> On Thu, Dec 8, 2011 at 5:06 PM, Afkham Azeez  wrote:
>>
>>> Sagara, can you run a fast infoset sample with WSO2 Axis2 artifacts &
>>> see whether something fails?
>>>
>>
>>   Sure I will work with Sanjeewa and try for this.
>>
>>  Thanks !
>>
>>
>>>
>>> On Thu, Dec 8, 2011 at 5:02 PM, Sagara Gunathunga wrote:
>>>
>>>> Hi Prabath,
>>>>
>>>> Few days ago Sanjeewa mentioned this issue to me. I checked Apache
>>>> trunk and branches on my local machine and couldn't find any build issue
>>>> also since we have a build server setup at Apache I can monitor any
>>>> failures. This seems an issue with a WSO2 branch , someone have to cross
>>>> check WSO2 branch and Apache SVN to identify possible code changes cause
>>>> this issue.
>>>>
>>>> If you feel this is related to configuration of WSO2 build server I can
>>>> provide Apache build server configuration to the build team.
>>>>
>>>> Thanks !
>>>>
>>>> On Thu, Dec 8, 2011 at 3:56 PM, Prabath Siriwardena 
>>>> wrote:
>>>>
>>>>> Hi Sagara,
>>>>>
>>>>> Can you please have a look..
>>>>>
>>>>> Thanks & regards,
>>>>> -Prabath
>>>>>
>>>>>
>>>>> On Thu, Dec 8, 2011 at 3:50 PM, Madhuka Udantha wrote:
>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> $subject still remain,
>>>>>>
>>>>>> please fix $subject
>>>>>>
>>>>>> Thank you
>>>>>>
>>>>>>
>>>>>>
>>>>>> On Thu, Dec 1, 2011 at 12:02 PM, Madhuka Udantha wrote:
>>>>>>
>>>>>>> Hi,
>>>>>>>
>>>>>>> Please* $subject Fix.*
>>>>>>>
>>>>>>>
>>>>>>> Building* Apache Axis2 - Fast Infoset*
>>>>>>> [INFO]*task-segment*: [clean, install]
>>>>>>>
>>>>>>> [INFO] [compiler:testCompile {execution: default-testCompile}]
>>>>>>> [INFO] Compiling 5 source files to
>>>>>>> /home/carbon320/323build/3.2.0/dependencies/axis2/1.6.1-wso2v4/modules/fastinfoset/target/test-classes
>>>>>>> [INFO] [surefire:test {execution: default-test}]
>>>>>>> [INFO] Surefire report directory:
>>>>>>> /home/carbon320/323build/3.2.0/dependencies/axis2/1.6.1-wso2v4/modules/fastinfoset/target/surefire-reports
>>>>>>>
>>>>>>> ---
>>>>>>> * T E S T S*
>>>>>>> ---
>>>>>>> Running org.apache.axis2.fastinfoset.FastInfosetTest
>>>>>>> Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed:
>>>>>>> 1.287 sec <<< FAILURE!
>>>>>>> Running org.apache.axis2.fastinfoset.FastInfosetInputOutputTest
>>>>>>> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:
>>>>>>> 0.637 sec
>>>>>>>
>>>>>>> Results :
>>>>>>>
>>>>>>> Tests in error:
>>>>>>>
>>>>>>> Tests run: 3, Failures: 0, Errors: 2, Skipped: 0
>>>>>>>
>>>>>>> [INFO]
>>>>>>> 
>>>>>>> [ERROR] BUILD FAILURE
>>>>>>> [INFO]
>>>>>>> 
>>>>>>> [INFO] There are test failures.
>>>>>>>
>>>>>&

Re: [Carbon-dev] Branch 3.2.3 Build Failure at Apache Axis2 - Fast Infoset - task-segment - TEST

2011-12-08 Thread Sagara Gunathunga
On Thu, Dec 8, 2011 at 5:06 PM, Afkham Azeez  wrote:

> Sagara, can you run a fast infoset sample with WSO2 Axis2 artifacts & see
> whether something fails?
>

  Sure I will work with Sanjeewa and try for this.

 Thanks !


>
> On Thu, Dec 8, 2011 at 5:02 PM, Sagara Gunathunga  wrote:
>
>> Hi Prabath,
>>
>> Few days ago Sanjeewa mentioned this issue to me. I checked Apache trunk
>> and branches on my local machine and couldn't find any build issue also
>> since we have a build server setup at Apache I can monitor any failures.
>> This seems an issue with a WSO2 branch , someone have to cross check WSO2
>> branch and Apache SVN to identify possible code changes cause this issue.
>>
>> If you feel this is related to configuration of WSO2 build server I can
>> provide Apache build server configuration to the build team.
>>
>> Thanks !
>>
>> On Thu, Dec 8, 2011 at 3:56 PM, Prabath Siriwardena wrote:
>>
>>> Hi Sagara,
>>>
>>> Can you please have a look..
>>>
>>> Thanks & regards,
>>> -Prabath
>>>
>>>
>>> On Thu, Dec 8, 2011 at 3:50 PM, Madhuka Udantha wrote:
>>>
>>>> Hi,
>>>>
>>>> $subject still remain,
>>>>
>>>> please fix $subject
>>>>
>>>> Thank you
>>>>
>>>>
>>>>
>>>> On Thu, Dec 1, 2011 at 12:02 PM, Madhuka Udantha wrote:
>>>>
>>>>> Hi,
>>>>>
>>>>> Please* $subject Fix.*
>>>>>
>>>>>
>>>>> Building* Apache Axis2 - Fast Infoset*
>>>>> [INFO]*task-segment*: [clean, install]
>>>>>
>>>>> [INFO] [compiler:testCompile {execution: default-testCompile}]
>>>>> [INFO] Compiling 5 source files to
>>>>> /home/carbon320/323build/3.2.0/dependencies/axis2/1.6.1-wso2v4/modules/fastinfoset/target/test-classes
>>>>> [INFO] [surefire:test {execution: default-test}]
>>>>> [INFO] Surefire report directory:
>>>>> /home/carbon320/323build/3.2.0/dependencies/axis2/1.6.1-wso2v4/modules/fastinfoset/target/surefire-reports
>>>>>
>>>>> ---
>>>>> * T E S T S*
>>>>> ---
>>>>> Running org.apache.axis2.fastinfoset.FastInfosetTest
>>>>> Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 1.287
>>>>> sec <<< FAILURE!
>>>>> Running org.apache.axis2.fastinfoset.FastInfosetInputOutputTest
>>>>> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.637
>>>>> sec
>>>>>
>>>>> Results :
>>>>>
>>>>> Tests in error:
>>>>>
>>>>> Tests run: 3, Failures: 0, Errors: 2, Skipped: 0
>>>>>
>>>>> [INFO]
>>>>> 
>>>>> [ERROR] BUILD FAILURE
>>>>> [INFO]
>>>>> 
>>>>> [INFO] There are test failures.
>>>>>
>>>>> Please refer to
>>>>> /home/carbon320/323build/3.2.0/dependencies/axis2/1.6.1-wso2v4/modules/fastinfoset/target/surefire-reports
>>>>> for the individual test results.
>>>>>
>>>>>
>>>>>
>>>>> /dependencies/axis2/1.6.1-wso2v4/modules/fastinfoset/target/surefire-reports$
>>>>> *org.apache.axis2.fastinfoset.FastInfosetTest.txt*
>>>>>
>>>>> *Test set: org.apache.axis2.fastinfoset.FastInfosetTest*
>>>>>
>>>>> ---
>>>>> Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 1.157
>>>>> sec <<< FAILURE!
>>>>> testAdd(org.apache.axis2.fastinfoset.FastInfosetTest)  Time elapsed:
>>>>> 0.357 sec  <<< ERROR!
>>>>> org.apache.axis2.AxisFault: Invalid UTF-8 middle byte 0x0 (at char #0,
>>>>> byte #-1)
>>>>> at
>>>>> org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.java:531)
>>>>> at
>>>>> org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:375)
>>>>> 

Re: [Carbon-dev] Branch 3.2.3 Build Failure at Apache Axis2 - Fast Infoset - task-segment - TEST

2011-12-08 Thread Sagara Gunathunga
>> at junit.framework.TestCase.runTest(TestCase.java:168)
>>> at junit.framework.TestCase.runBare(TestCase.java:134)
>>> at junit.framework.TestResult$1.protect(TestResult.java:110)
>>> at junit.framework.TestResult.runProtected(TestResult.java:128)
>>> at junit.framework.TestResult.run(TestResult.java:113)
>>> at junit.framework.TestCase.run(TestCase.java:124)
>>> at junit.framework.TestSuite.runTest(TestSuite.java:232)
>>> at junit.framework.TestSuite.run(TestSuite.java:227)
>>> at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
>>> at junit.extensions.TestSetup$1.protect(TestSetup.java:23)
>>> at junit.framework.TestResult.runProtected(TestResult.java:128)
>>> at junit.extensions.TestSetup.run(TestSetup.java:27)
>>> at
>>> org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:81)
>>> at
>>> org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
>>> at
>>> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
>>> at
>>> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:165)
>>> at org.apache.maven.surefire.Surefire.run(Surefire.java:107)
>>> 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.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:289)
>>> at
>>> org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:993)
>>>
>>> testAdd2(org.apache.axis2.fastinfoset.FastInfosetTest)  Time elapsed:
>>> 0.053 sec  <<< ERROR!
>>> org.apache.axis2.AxisFault: Invalid UTF-8 middle byte 0x0 (at char #0,
>>> byte #-1)
>>> at
>>> org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.java:531)
>>> at
>>> org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:375)
>>> at
>>> org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:421)
>>> at
>>> org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:229)
>>> at
>>> org.apache.axis2.client.OperationClient.execute(OperationClient.java:165)
>>> at
>>> org.apache.axis2.fastinfoset.SimpleAddServiceStub.addStrings(SimpleAddServiceStub.java:743)
>>> at
>>> org.apache.axis2.fastinfoset.SimpleAddServiceClient.addStrings(SimpleAddServiceClient.java:109)
>>> "org.apache.axis2.fastinfoset.FastInfosetTest.txt" 80L, 5932C
>>>
>>>
>>>  --
>>> *Madhuka* Udantha
>>> http://madhukaudantha.blogspot.com/
>>>
>>>
>>
>>
>> --
>> *Madhuka* Udantha
>> http://madhukaudantha.blogspot.com/
>>
>>
>
>
> --
> Thanks & Regards,
> Prabath
>
> http://blog.facilelogin.com
> http://RampartFAQ.com
>



-- 
Sagara Gunathunga

Technical Lead; WSO2, Inc.; http://wso2.com
Blog - http://ssagara.blogspot.com
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev