You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by Venkat Reddy <vr...@gmail.com> on 2005/07/27 10:42:23 UTC

[Axis2] MTOM and other tests are failing for me.

Can someone remove the testcases, from the Axis2 test harness, if the
tests are not yet ready? If there is any configuration needed for
these testscase, we can update the README etc.

Currently i have the following failing.

    [junit] Running org.apache.axis2.attachments.ImageSampleTest
    [junit] Tests run: 2, Failures: 0, Errors: 2, Time elapsed: 1.719 sec
    [junit] [ERROR] TEST org.apache.axis2.attachments.ImageSampleTest FAILED
    [junit] Running
org.apache.axis2.om.impl.llom.mtom.MTOMStAXSOAPModelBuilderTest
    [junit] Tests run: 2, Failures: 0, Errors: 2, Time elapsed: 0.391 sec
    [junit] [ERROR] TEST
org.apache.axis2.om.impl.llom.mtom.MTOMStAXSOAPModelBuilderTest FAILED
    [junit] Running org.apache.axis2.om.impl.llom.OMOutputTest
    [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0.468 sec
    [junit] [ERROR] TEST org.apache.axis2.om.impl.llom.OMOutputTest FAILED

with all the 3 test reports showing the following stack trace.

Testcase: testImageSampleSerialize(org.apache.axis2.attachments.ImageSampleTest):	Caused
an ERROR
Problem with the OutputStream.
org.apache.axis2.om.OMException: Problem with the OutputStream.
	at org.apache.axis2.om.impl.MIMEOutputUtils.complete(MIMEOutputUtils.java:66)
	at org.apache.axis2.om.impl.OMOutputImpl.flush(OMOutputImpl.java:76)
	at org.apache.axis2.attachments.ImageSampleTest.testImageSampleSerialize(ImageSampleTest.java:120)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
Caused by: javax.activation.UnsupportedDataTypeException: text/xml
	at javax.activation.DataHandler.writeTo(DataHandler.java:76)
	at javax.mail.internet.MimeBodyPart.writeTo(MimeBodyPart.java:211)
	at org.apache.axis2.om.impl.MIMEOutputUtils.writeBodyPart(MIMEOutputUtils.java:114)
	at org.apache.axis2.om.impl.MIMEOutputUtils.complete(MIMEOutputUtils.java:56)
	... 16 more


Testcase: testImageSampleDeserialize(org.apache.axis2.attachments.ImageSampleTest):	Caused
an ERROR
Referenced MIME part not found.End of Stream reached.
org.apache.axis2.om.OMException: Referenced MIME part not found.End of
Stream reached.
	at org.apache.axis2.attachments.MIMEHelper.getMimeBodyPart(MIMEHelper.java:279)
	at org.apache.axis2.attachments.MIMEHelper.getNextPart(MIMEHelper.java:307)
	at org.apache.axis2.attachments.MIMEHelper.getDataHandler(MIMEHelper.java:236)
	at org.apache.axis2.attachments.MIMEHelper.getSOAPPartInputStream(MIMEHelper.java:197)
	at org.apache.axis2.attachments.ImageSampleTest.testImageSampleDeserialize(ImageSampleTest.java:127)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

Re: [Axis2] MTOM and other tests are failing for me.

Posted by Davanum Srinivas <da...@gmail.com>.
Please try now...xml tests should work. though someone else broke the build :)

java:compile:
    [echo] Compiling to
C:\APACHE.SVN\webservices\axis\trunk\java\modules\samples/target/classes
    [javac] Compiling 63 source files to
C:\APACHE.SVN\webservices\axis\trunk\java\modules\samples\target\classes
    [javac] C:\APACHE.SVN\webservices\axis\trunk\java\modules\samples\src\org\apache\axis2\soap12testing\client\MessageComparator.java:24:
cannot resolve symbol
    [javac] symbol  : class AxisFault
    [javac] location: package engine
    [javac] import org.apache.axis2.engine.AxisFault;
    [javac]                                ^
    [javac] C:\APACHE.SVN\webservices\axis\trunk\java\modules\samples\src\org\apache\axis2\soap12testing\client\SOAPCreater.java:25:
cannot resolve symbol
    [javac] symbol  : class AxisFault
    [javac] location: package engine
    [javac] import org.apache.axis2.engine.AxisFault;
    [javac]                                ^
    [javac] C:\APACHE.SVN\webservices\axis\trunk\java\modules\samples\src\org\apache\axis2\soap12testing\client\MessageComparator.java:63:
cannot resolve symbol
    [javac] symbol  : class AxisFault
    [javac] location: class
org.apache.axis2.soap12testing.client.MessageComparator
    [javac]         } catch (AxisFault axisFault) {
    [javac]                  ^
    [javac] Note:
C:\APACHE.SVN\webservices\axis\trunk\java\modules\samples\src\org\apache\axis2\soap12testing\client\SOAPCreater.java
uses or overrides a deprecated API.
    [javac] Note: Recompile with -deprecation for details.
    [javac] 3 errors



On 7/28/05, Davanum Srinivas <da...@gmail.com> wrote:
> hang on guys, let me check.
> 
> -- dims
> 
> On 7/28/05, Glen Daniels <gl...@thoughtcraft.com> wrote:
> > I'm seeing these exactly same problems, and I do have the geronimo
> > activation jar in my repository...
> >
> > :(
> >
> > --Glen
> >
> > ----- Original Message -----
> > From: "Eran Chinthaka" <ch...@opensource.lk>
> > To: <ax...@ws.apache.org>; "'Venkat Reddy'" <vr...@gmail.com>
> > Sent: Thursday, July 28, 2005 9:32 AM
> > Subject: RE: [Axis2] MTOM and other tests are failing for me.
> >
> >
> > > Hi Venkat and all,
> > >
> > > Today and yesterday I did a clean checkout and test the build. It passed
> > > without a problem. I even updated my current working version and it also
> > > built successfully.
> > >
> > > But for me to compile the sources mounted in IDEA, I had to change the
> > > mail
> > > and activation jars. If your build still fails, lets do something for
> > > that,
> > > soon.
> > >
> > >
> > >
> > >> -----Original Message-----
> > >> From: Venkat Reddy [mailto:vreddyp@gmail.com]
> > >> Sent: Wednesday, July 27, 2005 5:15 PM
> > >> To: axis-dev@ws.apache.org
> > >> Subject: Re: [Axis2] MTOM and other tests are failing for me.
> > >>
> > >> yes, i did suspect that, but i already seem to have the version it is
> > >> asking for - geronimo-spec-activation-1.0.2-SNAPSHOT.jar, which is
> > >> downloaded a week back.
> > >>
> > >> currently i'm unable to download again because of ws.zones site issue.
> > >>
> > >> - venkat
> > >>
> > >>
> > >> On 7/27/05, Chathura Herath <ch...@opensource.lk> wrote:
> > >> >
> > >> >
> > >> >
> > >> > Absolutely. I had the same problem a while ago and replaced the
> > >> activation
> > >> > jar in the repository manually and it worked fine. Different people are
> > >> > getting different behaviors due to the fact that the Geronimo
> > >> > activation
> > >> > jars are not getting downloaded during the build.
> > >> >
> > >> >
> > >> >
> > >> > Chathura
> > >> >
> > >> >
> > >> >
> > >> >
> > >> >  ________________________________
> > >> >
> > >> >
> > >> > From: Thilina Gunarathne [mailto:csethil@gmail.com]
> > >> >  Sent: Wednesday, July 27, 2005 1:00 PM
> > >> >  To: axis-dev@ws.apache.org; Venkat Reddy
> > >> >  Subject: Re: [Axis2] MTOM and other tests are failing for me.
> > >> >
> > >> >
> > >> >
> > >> >
> > >> > You are probably having the incoreect version of activation jar. Check
> > >> > whether u have geronimo-spec-activation-1.0.2-SNAPSHOT.jar
> > >> > in ur repository.....
> > >> >  See the error below.
> > >> >  Caused by: javax.activation.UnsupportedDataTypeException:
> > >> > text/xml
> > >> >
> > >> >
> > >> >        at
> > >> > javax.activation.DataHandler.writeTo(DataHandler.java:76)
> > >> >
> > >> >  Thanx & Regards,
> > >> >  ~Thilina
> > >> >
> > >> >
> > >> >
> > >> >
> > >> > On 7/27/05, Thilina Gunarathne <cs...@gmail.com> wrote:
> > >> >
> > >> > Build passes for me. I did with a clean checkout.......
> > >> >  Tests are ready ..... No need of any configurations...
> > >> >
> > >> >
> > >> >
> > >> >
> > >> >
> > >> > On 7/27/05, Venkat Reddy < vreddyp@gmail.com> wrote:
> > >> >
> > >> > Can someone remove the testcases, from the Axis2 test harness, if the
> > >> >  tests are not yet ready? If there is any configuration needed for
> > >> >  these testscase, we can update the README etc.
> > >> >
> > >> >  Currently i have the following failing.
> > >> >
> > >> >      [junit] Running
> > >> > org.apache.axis2.attachments.ImageSampleTest
> > >> >      [junit] Tests run: 2, Failures: 0, Errors: 2, Time elapsed: 1.719
> > >> sec
> > >> >      [junit] [ERROR] TEST
> > >> > org.apache.axis2.attachments.ImageSampleTest FAILED
> > >> >      [junit] Running
> > >> > org.apache.axis2.om.impl.llom.mtom.MTOMStAXSOAPModelBuilderTest
> > >> >      [junit] Tests run: 2, Failures: 0, Errors: 2, Time elapsed: 0.391
> > >> sec
> > >> >      [junit] [ERROR] TEST
> > >> > org.apache.axis2.om.impl.llom.mtom.MTOMStAXSOAPModelBuilderTest
> > >> > FAILED
> > >> >      [junit] Running
> > >> > org.apache.axis2.om.impl.llom.OMOutputTest
> > >> >      [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0.468
> > >> sec
> > >> >      [junit] [ERROR] TEST
> > >> > org.apache.axis2.om.impl.llom.OMOutputTest FAILED
> > >> >
> > >> >  with all the 3 test reports showing the following stack trace.
> > >> >
> > >> >  Testcase:
> > >> > testImageSampleSerialize(org.apache.axis2.attachments.ImageSampleTest
> > >> > ):       Caused
> > >> >  an ERROR
> > >> >  Problem with the OutputStream.
> > >> >  org.apache.axis2.om.OMException: Problem with the OutputStream.
> > >> >          at
> > >> >
> > >> org.apache.axis2.om.impl.MIMEOutputUtils.complete(MIMEOutputUtils.java:66)
> > >> >          at
> > >> > org.apache.axis2.om.impl.OMOutputImpl.flush(OMOutputImpl.java:76)
> > >> >          at
> > >> >
> > >> org.apache.axis2.attachments.ImageSampleTest.testImageSampleSerialize(Imag
> > >> eSampleTest.java:120)
> > >> >          at sun.reflect.NativeMethodAccessorImpl.invoke0
> > >> > (Native Method)
> > >> >          at
> > >> >
> > >> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
> > >> 39)
> > >> >          at
> > >> >
> > >> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorIm
> > >> pl.java:25)
> > >> >  Caused by: javax.activation.UnsupportedDataTypeException:
> > >> > text/xml
> > >> >          at
> > >> > javax.activation.DataHandler.writeTo(DataHandler.java:76)
> > >> >          at
> > >> > javax.mail.internet.MimeBodyPart.writeTo(MimeBodyPart.java:211)
> > >> >          at
> > >> > org.apache.axis2.om.impl.MIMEOutputUtils.writeBodyPart
> > >> > (MIMEOutputUtils.java:114)
> > >> >          at
> > >> >
> > >> org.apache.axis2.om.impl.MIMEOutputUtils.complete(MIMEOutputUtils.java:56)
> > >> >          ... 16 more
> > >> >
> > >> >
> > >> >  Testcase:
> > >> > testImageSampleDeserialize(org.apache.axis2.attachments.ImageSampleTest
> > >> > ):     Caused
> > >> >  an ERROR
> > >> >  Referenced MIME part not found.End of Stream reached.
> > >> >  org.apache.axis2.om.OMException: Referenced MIME part not found.End of
> > >> >  Stream reached.
> > >> >          at
> > >> > org.apache.axis2.attachments.MIMEHelper.getMimeBodyPart
> > >> > (MIMEHelper.java:279)
> > >> >          at
> > >> > org.apache.axis2.attachments.MIMEHelper.getNextPart(MIMEHelper.java:307)
> > >> >          at
> > >> >
> > >> org.apache.axis2.attachments.MIMEHelper.getDataHandler(MIMEHelper.java:236
> > >> )
> > >> >          at
> > >> > org.apache.axis2.attachments.MIMEHelper.getSOAPPartInputStream
> > >> > (MIMEHelper.java:197)
> > >> >          at
> > >> >
> > >> org.apache.axis2.attachments.ImageSampleTest.testImageSampleDeserialize(Im
> > >> ageSampleTest.java:127)
> > >> >          at
> > >> > sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > >> >          at
> > >> >
> > >> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
> > >> 39)
> > >> >          at
> > >> >
> > >> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorIm
> > >> pl.java:25)
> > >> >
> > >> >
> > >> >
> > >> >
> > >> >
> > >> >
> > >> >
> > >> > --
> > >> >  "May the SourcE be with u"
> > >> >  http://www.bloglines.com/blog/thilina
> > >> >
> > >> >
> > >> >
> > >> >
> > >> >  --
> > >> >  "May the SourcE be with u"
> > >> >  http://www.bloglines.com/blog/thilina
> > >
> > >
> > >
> >
> >
> 
> 
> --
> Davanum Srinivas -http://blogs.cocoondev.org/dims/
> 


-- 
Davanum Srinivas -http://blogs.cocoondev.org/dims/

Re: [Axis2] MTOM and other tests are failing for me.

Posted by Davanum Srinivas <da...@gmail.com>.
hang on guys, let me check.

-- dims

On 7/28/05, Glen Daniels <gl...@thoughtcraft.com> wrote:
> I'm seeing these exactly same problems, and I do have the geronimo
> activation jar in my repository...
> 
> :(
> 
> --Glen
> 
> ----- Original Message -----
> From: "Eran Chinthaka" <ch...@opensource.lk>
> To: <ax...@ws.apache.org>; "'Venkat Reddy'" <vr...@gmail.com>
> Sent: Thursday, July 28, 2005 9:32 AM
> Subject: RE: [Axis2] MTOM and other tests are failing for me.
> 
> 
> > Hi Venkat and all,
> >
> > Today and yesterday I did a clean checkout and test the build. It passed
> > without a problem. I even updated my current working version and it also
> > built successfully.
> >
> > But for me to compile the sources mounted in IDEA, I had to change the
> > mail
> > and activation jars. If your build still fails, lets do something for
> > that,
> > soon.
> >
> >
> >
> >> -----Original Message-----
> >> From: Venkat Reddy [mailto:vreddyp@gmail.com]
> >> Sent: Wednesday, July 27, 2005 5:15 PM
> >> To: axis-dev@ws.apache.org
> >> Subject: Re: [Axis2] MTOM and other tests are failing for me.
> >>
> >> yes, i did suspect that, but i already seem to have the version it is
> >> asking for - geronimo-spec-activation-1.0.2-SNAPSHOT.jar, which is
> >> downloaded a week back.
> >>
> >> currently i'm unable to download again because of ws.zones site issue.
> >>
> >> - venkat
> >>
> >>
> >> On 7/27/05, Chathura Herath <ch...@opensource.lk> wrote:
> >> >
> >> >
> >> >
> >> > Absolutely. I had the same problem a while ago and replaced the
> >> activation
> >> > jar in the repository manually and it worked fine. Different people are
> >> > getting different behaviors due to the fact that the Geronimo
> >> > activation
> >> > jars are not getting downloaded during the build.
> >> >
> >> >
> >> >
> >> > Chathura
> >> >
> >> >
> >> >
> >> >
> >> >  ________________________________
> >> >
> >> >
> >> > From: Thilina Gunarathne [mailto:csethil@gmail.com]
> >> >  Sent: Wednesday, July 27, 2005 1:00 PM
> >> >  To: axis-dev@ws.apache.org; Venkat Reddy
> >> >  Subject: Re: [Axis2] MTOM and other tests are failing for me.
> >> >
> >> >
> >> >
> >> >
> >> > You are probably having the incoreect version of activation jar. Check
> >> > whether u have geronimo-spec-activation-1.0.2-SNAPSHOT.jar
> >> > in ur repository.....
> >> >  See the error below.
> >> >  Caused by: javax.activation.UnsupportedDataTypeException:
> >> > text/xml
> >> >
> >> >
> >> >        at
> >> > javax.activation.DataHandler.writeTo(DataHandler.java:76)
> >> >
> >> >  Thanx & Regards,
> >> >  ~Thilina
> >> >
> >> >
> >> >
> >> >
> >> > On 7/27/05, Thilina Gunarathne <cs...@gmail.com> wrote:
> >> >
> >> > Build passes for me. I did with a clean checkout.......
> >> >  Tests are ready ..... No need of any configurations...
> >> >
> >> >
> >> >
> >> >
> >> >
> >> > On 7/27/05, Venkat Reddy < vreddyp@gmail.com> wrote:
> >> >
> >> > Can someone remove the testcases, from the Axis2 test harness, if the
> >> >  tests are not yet ready? If there is any configuration needed for
> >> >  these testscase, we can update the README etc.
> >> >
> >> >  Currently i have the following failing.
> >> >
> >> >      [junit] Running
> >> > org.apache.axis2.attachments.ImageSampleTest
> >> >      [junit] Tests run: 2, Failures: 0, Errors: 2, Time elapsed: 1.719
> >> sec
> >> >      [junit] [ERROR] TEST
> >> > org.apache.axis2.attachments.ImageSampleTest FAILED
> >> >      [junit] Running
> >> > org.apache.axis2.om.impl.llom.mtom.MTOMStAXSOAPModelBuilderTest
> >> >      [junit] Tests run: 2, Failures: 0, Errors: 2, Time elapsed: 0.391
> >> sec
> >> >      [junit] [ERROR] TEST
> >> > org.apache.axis2.om.impl.llom.mtom.MTOMStAXSOAPModelBuilderTest
> >> > FAILED
> >> >      [junit] Running
> >> > org.apache.axis2.om.impl.llom.OMOutputTest
> >> >      [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0.468
> >> sec
> >> >      [junit] [ERROR] TEST
> >> > org.apache.axis2.om.impl.llom.OMOutputTest FAILED
> >> >
> >> >  with all the 3 test reports showing the following stack trace.
> >> >
> >> >  Testcase:
> >> > testImageSampleSerialize(org.apache.axis2.attachments.ImageSampleTest
> >> > ):       Caused
> >> >  an ERROR
> >> >  Problem with the OutputStream.
> >> >  org.apache.axis2.om.OMException: Problem with the OutputStream.
> >> >          at
> >> >
> >> org.apache.axis2.om.impl.MIMEOutputUtils.complete(MIMEOutputUtils.java:66)
> >> >          at
> >> > org.apache.axis2.om.impl.OMOutputImpl.flush(OMOutputImpl.java:76)
> >> >          at
> >> >
> >> org.apache.axis2.attachments.ImageSampleTest.testImageSampleSerialize(Imag
> >> eSampleTest.java:120)
> >> >          at sun.reflect.NativeMethodAccessorImpl.invoke0
> >> > (Native Method)
> >> >          at
> >> >
> >> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
> >> 39)
> >> >          at
> >> >
> >> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorIm
> >> pl.java:25)
> >> >  Caused by: javax.activation.UnsupportedDataTypeException:
> >> > text/xml
> >> >          at
> >> > javax.activation.DataHandler.writeTo(DataHandler.java:76)
> >> >          at
> >> > javax.mail.internet.MimeBodyPart.writeTo(MimeBodyPart.java:211)
> >> >          at
> >> > org.apache.axis2.om.impl.MIMEOutputUtils.writeBodyPart
> >> > (MIMEOutputUtils.java:114)
> >> >          at
> >> >
> >> org.apache.axis2.om.impl.MIMEOutputUtils.complete(MIMEOutputUtils.java:56)
> >> >          ... 16 more
> >> >
> >> >
> >> >  Testcase:
> >> > testImageSampleDeserialize(org.apache.axis2.attachments.ImageSampleTest
> >> > ):     Caused
> >> >  an ERROR
> >> >  Referenced MIME part not found.End of Stream reached.
> >> >  org.apache.axis2.om.OMException: Referenced MIME part not found.End of
> >> >  Stream reached.
> >> >          at
> >> > org.apache.axis2.attachments.MIMEHelper.getMimeBodyPart
> >> > (MIMEHelper.java:279)
> >> >          at
> >> > org.apache.axis2.attachments.MIMEHelper.getNextPart(MIMEHelper.java:307)
> >> >          at
> >> >
> >> org.apache.axis2.attachments.MIMEHelper.getDataHandler(MIMEHelper.java:236
> >> )
> >> >          at
> >> > org.apache.axis2.attachments.MIMEHelper.getSOAPPartInputStream
> >> > (MIMEHelper.java:197)
> >> >          at
> >> >
> >> org.apache.axis2.attachments.ImageSampleTest.testImageSampleDeserialize(Im
> >> ageSampleTest.java:127)
> >> >          at
> >> > sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >> >          at
> >> >
> >> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
> >> 39)
> >> >          at
> >> >
> >> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorIm
> >> pl.java:25)
> >> >
> >> >
> >> >
> >> >
> >> >
> >> >
> >> >
> >> > --
> >> >  "May the SourcE be with u"
> >> >  http://www.bloglines.com/blog/thilina
> >> >
> >> >
> >> >
> >> >
> >> >  --
> >> >  "May the SourcE be with u"
> >> >  http://www.bloglines.com/blog/thilina
> >
> >
> >
> 
> 


-- 
Davanum Srinivas -http://blogs.cocoondev.org/dims/

Re: [Axis2] MTOM and other tests are failing for me.

Posted by Glen Daniels <gl...@thoughtcraft.com>.
I'm seeing these exactly same problems, and I do have the geronimo 
activation jar in my repository...

:(

--Glen

----- Original Message ----- 
From: "Eran Chinthaka" <ch...@opensource.lk>
To: <ax...@ws.apache.org>; "'Venkat Reddy'" <vr...@gmail.com>
Sent: Thursday, July 28, 2005 9:32 AM
Subject: RE: [Axis2] MTOM and other tests are failing for me.


> Hi Venkat and all,
>
> Today and yesterday I did a clean checkout and test the build. It passed
> without a problem. I even updated my current working version and it also
> built successfully.
>
> But for me to compile the sources mounted in IDEA, I had to change the 
> mail
> and activation jars. If your build still fails, lets do something for 
> that,
> soon.
>
>
>
>> -----Original Message-----
>> From: Venkat Reddy [mailto:vreddyp@gmail.com]
>> Sent: Wednesday, July 27, 2005 5:15 PM
>> To: axis-dev@ws.apache.org
>> Subject: Re: [Axis2] MTOM and other tests are failing for me.
>>
>> yes, i did suspect that, but i already seem to have the version it is
>> asking for - geronimo-spec-activation-1.0.2-SNAPSHOT.jar, which is
>> downloaded a week back.
>>
>> currently i'm unable to download again because of ws.zones site issue.
>>
>> - venkat
>>
>>
>> On 7/27/05, Chathura Herath <ch...@opensource.lk> wrote:
>> >
>> >
>> >
>> > Absolutely. I had the same problem a while ago and replaced the
>> activation
>> > jar in the repository manually and it worked fine. Different people are
>> > getting different behaviors due to the fact that the Geronimo 
>> > activation
>> > jars are not getting downloaded during the build.
>> >
>> >
>> >
>> > Chathura
>> >
>> >
>> >
>> >
>> >  ________________________________
>> >
>> >
>> > From: Thilina Gunarathne [mailto:csethil@gmail.com]
>> >  Sent: Wednesday, July 27, 2005 1:00 PM
>> >  To: axis-dev@ws.apache.org; Venkat Reddy
>> >  Subject: Re: [Axis2] MTOM and other tests are failing for me.
>> >
>> >
>> >
>> >
>> > You are probably having the incoreect version of activation jar. Check
>> > whether u have geronimo-spec-activation-1.0.2-SNAPSHOT.jar
>> > in ur repository.....
>> >  See the error below.
>> >  Caused by: javax.activation.UnsupportedDataTypeException:
>> > text/xml
>> >
>> >
>> >        at
>> > javax.activation.DataHandler.writeTo(DataHandler.java:76)
>> >
>> >  Thanx & Regards,
>> >  ~Thilina
>> >
>> >
>> >
>> >
>> > On 7/27/05, Thilina Gunarathne <cs...@gmail.com> wrote:
>> >
>> > Build passes for me. I did with a clean checkout.......
>> >  Tests are ready ..... No need of any configurations...
>> >
>> >
>> >
>> >
>> >
>> > On 7/27/05, Venkat Reddy < vreddyp@gmail.com> wrote:
>> >
>> > Can someone remove the testcases, from the Axis2 test harness, if the
>> >  tests are not yet ready? If there is any configuration needed for
>> >  these testscase, we can update the README etc.
>> >
>> >  Currently i have the following failing.
>> >
>> >      [junit] Running
>> > org.apache.axis2.attachments.ImageSampleTest
>> >      [junit] Tests run: 2, Failures: 0, Errors: 2, Time elapsed: 1.719
>> sec
>> >      [junit] [ERROR] TEST
>> > org.apache.axis2.attachments.ImageSampleTest FAILED
>> >      [junit] Running
>> > org.apache.axis2.om.impl.llom.mtom.MTOMStAXSOAPModelBuilderTest
>> >      [junit] Tests run: 2, Failures: 0, Errors: 2, Time elapsed: 0.391
>> sec
>> >      [junit] [ERROR] TEST
>> > org.apache.axis2.om.impl.llom.mtom.MTOMStAXSOAPModelBuilderTest
>> > FAILED
>> >      [junit] Running
>> > org.apache.axis2.om.impl.llom.OMOutputTest
>> >      [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0.468
>> sec
>> >      [junit] [ERROR] TEST
>> > org.apache.axis2.om.impl.llom.OMOutputTest FAILED
>> >
>> >  with all the 3 test reports showing the following stack trace.
>> >
>> >  Testcase:
>> > testImageSampleSerialize(org.apache.axis2.attachments.ImageSampleTest
>> > ):       Caused
>> >  an ERROR
>> >  Problem with the OutputStream.
>> >  org.apache.axis2.om.OMException: Problem with the OutputStream.
>> >          at
>> >
>> org.apache.axis2.om.impl.MIMEOutputUtils.complete(MIMEOutputUtils.java:66)
>> >          at
>> > org.apache.axis2.om.impl.OMOutputImpl.flush(OMOutputImpl.java:76)
>> >          at
>> >
>> org.apache.axis2.attachments.ImageSampleTest.testImageSampleSerialize(Imag
>> eSampleTest.java:120)
>> >          at sun.reflect.NativeMethodAccessorImpl.invoke0
>> > (Native Method)
>> >          at
>> >
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
>> 39)
>> >          at
>> >
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorIm
>> pl.java:25)
>> >  Caused by: javax.activation.UnsupportedDataTypeException:
>> > text/xml
>> >          at
>> > javax.activation.DataHandler.writeTo(DataHandler.java:76)
>> >          at
>> > javax.mail.internet.MimeBodyPart.writeTo(MimeBodyPart.java:211)
>> >          at
>> > org.apache.axis2.om.impl.MIMEOutputUtils.writeBodyPart
>> > (MIMEOutputUtils.java:114)
>> >          at
>> >
>> org.apache.axis2.om.impl.MIMEOutputUtils.complete(MIMEOutputUtils.java:56)
>> >          ... 16 more
>> >
>> >
>> >  Testcase:
>> > testImageSampleDeserialize(org.apache.axis2.attachments.ImageSampleTest
>> > ):     Caused
>> >  an ERROR
>> >  Referenced MIME part not found.End of Stream reached.
>> >  org.apache.axis2.om.OMException: Referenced MIME part not found.End of
>> >  Stream reached.
>> >          at
>> > org.apache.axis2.attachments.MIMEHelper.getMimeBodyPart
>> > (MIMEHelper.java:279)
>> >          at
>> > org.apache.axis2.attachments.MIMEHelper.getNextPart(MIMEHelper.java:307)
>> >          at
>> >
>> org.apache.axis2.attachments.MIMEHelper.getDataHandler(MIMEHelper.java:236
>> )
>> >          at
>> > org.apache.axis2.attachments.MIMEHelper.getSOAPPartInputStream
>> > (MIMEHelper.java:197)
>> >          at
>> >
>> org.apache.axis2.attachments.ImageSampleTest.testImageSampleDeserialize(Im
>> ageSampleTest.java:127)
>> >          at
>> > sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> >          at
>> >
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
>> 39)
>> >          at
>> >
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorIm
>> pl.java:25)
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> > --
>> >  "May the SourcE be with u"
>> >  http://www.bloglines.com/blog/thilina
>> >
>> >
>> >
>> >
>> >  --
>> >  "May the SourcE be with u"
>> >  http://www.bloglines.com/blog/thilina
>
>
> 


RE: [Axis2] MTOM and other tests are failing for me.

Posted by Eran Chinthaka <ch...@opensource.lk>.
Hi Venkat and all,

Today and yesterday I did a clean checkout and test the build. It passed
without a problem. I even updated my current working version and it also
built successfully. 

But for me to compile the sources mounted in IDEA, I had to change the mail
and activation jars. If your build still fails, lets do something for that,
soon.



> -----Original Message-----
> From: Venkat Reddy [mailto:vreddyp@gmail.com]
> Sent: Wednesday, July 27, 2005 5:15 PM
> To: axis-dev@ws.apache.org
> Subject: Re: [Axis2] MTOM and other tests are failing for me.
> 
> yes, i did suspect that, but i already seem to have the version it is
> asking for - geronimo-spec-activation-1.0.2-SNAPSHOT.jar, which is
> downloaded a week back.
> 
> currently i'm unable to download again because of ws.zones site issue.
> 
> - venkat
> 
> 
> On 7/27/05, Chathura Herath <ch...@opensource.lk> wrote:
> >
> >
> >
> > Absolutely. I had the same problem a while ago and replaced the
> activation
> > jar in the repository manually and it worked fine. Different people are
> > getting different behaviors due to the fact that the Geronimo activation
> > jars are not getting downloaded during the build.
> >
> >
> >
> > Chathura
> >
> >
> >
> >
> >  ________________________________
> >
> >
> > From: Thilina Gunarathne [mailto:csethil@gmail.com]
> >  Sent: Wednesday, July 27, 2005 1:00 PM
> >  To: axis-dev@ws.apache.org; Venkat Reddy
> >  Subject: Re: [Axis2] MTOM and other tests are failing for me.
> >
> >
> >
> >
> > You are probably having the incoreect version of activation jar. Check
> > whether u have geronimo-spec-activation-1.0.2-SNAPSHOT.jar
> > in ur repository.....
> >  See the error below.
> >  Caused by: javax.activation.UnsupportedDataTypeException:
> > text/xml
> >
> >
> >        at
> > javax.activation.DataHandler.writeTo(DataHandler.java:76)
> >
> >  Thanx & Regards,
> >  ~Thilina
> >
> >
> >
> >
> > On 7/27/05, Thilina Gunarathne <cs...@gmail.com> wrote:
> >
> > Build passes for me. I did with a clean checkout.......
> >  Tests are ready ..... No need of any configurations...
> >
> >
> >
> >
> >
> > On 7/27/05, Venkat Reddy < vreddyp@gmail.com> wrote:
> >
> > Can someone remove the testcases, from the Axis2 test harness, if the
> >  tests are not yet ready? If there is any configuration needed for
> >  these testscase, we can update the README etc.
> >
> >  Currently i have the following failing.
> >
> >      [junit] Running
> > org.apache.axis2.attachments.ImageSampleTest
> >      [junit] Tests run: 2, Failures: 0, Errors: 2, Time elapsed: 1.719
> sec
> >      [junit] [ERROR] TEST
> > org.apache.axis2.attachments.ImageSampleTest FAILED
> >      [junit] Running
> > org.apache.axis2.om.impl.llom.mtom.MTOMStAXSOAPModelBuilderTest
> >      [junit] Tests run: 2, Failures: 0, Errors: 2, Time elapsed: 0.391
> sec
> >      [junit] [ERROR] TEST
> > org.apache.axis2.om.impl.llom.mtom.MTOMStAXSOAPModelBuilderTest
> > FAILED
> >      [junit] Running
> > org.apache.axis2.om.impl.llom.OMOutputTest
> >      [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0.468
> sec
> >      [junit] [ERROR] TEST
> > org.apache.axis2.om.impl.llom.OMOutputTest FAILED
> >
> >  with all the 3 test reports showing the following stack trace.
> >
> >  Testcase:
> > testImageSampleSerialize(org.apache.axis2.attachments.ImageSampleTest
> > ):       Caused
> >  an ERROR
> >  Problem with the OutputStream.
> >  org.apache.axis2.om.OMException: Problem with the OutputStream.
> >          at
> >
> org.apache.axis2.om.impl.MIMEOutputUtils.complete(MIMEOutputUtils.java:66)
> >          at
> > org.apache.axis2.om.impl.OMOutputImpl.flush(OMOutputImpl.java:76)
> >          at
> >
> org.apache.axis2.attachments.ImageSampleTest.testImageSampleSerialize(Imag
> eSampleTest.java:120)
> >          at sun.reflect.NativeMethodAccessorImpl.invoke0
> > (Native Method)
> >          at
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
> 39)
> >          at
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorIm
> pl.java:25)
> >  Caused by: javax.activation.UnsupportedDataTypeException:
> > text/xml
> >          at
> > javax.activation.DataHandler.writeTo(DataHandler.java:76)
> >          at
> > javax.mail.internet.MimeBodyPart.writeTo(MimeBodyPart.java:211)
> >          at
> > org.apache.axis2.om.impl.MIMEOutputUtils.writeBodyPart
> > (MIMEOutputUtils.java:114)
> >          at
> >
> org.apache.axis2.om.impl.MIMEOutputUtils.complete(MIMEOutputUtils.java:56)
> >          ... 16 more
> >
> >
> >  Testcase:
> > testImageSampleDeserialize(org.apache.axis2.attachments.ImageSampleTest
> > ):     Caused
> >  an ERROR
> >  Referenced MIME part not found.End of Stream reached.
> >  org.apache.axis2.om.OMException: Referenced MIME part not found.End of
> >  Stream reached.
> >          at
> > org.apache.axis2.attachments.MIMEHelper.getMimeBodyPart
> > (MIMEHelper.java:279)
> >          at
> > org.apache.axis2.attachments.MIMEHelper.getNextPart(MIMEHelper.java:307)
> >          at
> >
> org.apache.axis2.attachments.MIMEHelper.getDataHandler(MIMEHelper.java:236
> )
> >          at
> > org.apache.axis2.attachments.MIMEHelper.getSOAPPartInputStream
> > (MIMEHelper.java:197)
> >          at
> >
> org.apache.axis2.attachments.ImageSampleTest.testImageSampleDeserialize(Im
> ageSampleTest.java:127)
> >          at
> > sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >          at
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
> 39)
> >          at
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorIm
> pl.java:25)
> >
> >
> >
> >
> >
> >
> >
> > --
> >  "May the SourcE be with u"
> >  http://www.bloglines.com/blog/thilina
> >
> >
> >
> >
> >  --
> >  "May the SourcE be with u"
> >  http://www.bloglines.com/blog/thilina



Re: [Axis2] MTOM and other tests are failing for me.

Posted by Venkat Reddy <vr...@gmail.com>.
yes, i did suspect that, but i already seem to have the version it is
asking for - geronimo-spec-activation-1.0.2-SNAPSHOT.jar, which is
downloaded a week back.

currently i'm unable to download again because of ws.zones site issue.

- venkat


On 7/27/05, Chathura Herath <ch...@opensource.lk> wrote:
>  
>  
> 
> Absolutely… I had the same problem a while ago and replaced the activation
> jar in the repository manually and it worked fine. Different people are
> getting different behaviors due to the fact that the Geronimo activation
> jars are not getting downloaded during the build. 
> 
>   
> 
> Chathura 
> 
>   
>  
>  
>  ________________________________
>  
> 
> From: Thilina Gunarathne [mailto:csethil@gmail.com] 
>  Sent: Wednesday, July 27, 2005 1:00 PM
>  To: axis-dev@ws.apache.org; Venkat Reddy
>  Subject: Re: [Axis2] MTOM and other tests are failing for me. 
>  
> 
>   
> 
> You are probably having the incoreect version of activation jar. Check
> whether u have geronimo-spec-activation-1.0.2-SNAPSHOT.jar
> in ur repository.....
>  See the error below.
>  Caused by: javax.activation.UnsupportedDataTypeException:
> text/xml 
>  
> 
>        at
> javax.activation.DataHandler.writeTo(DataHandler.java:76)
>  
>  Thanx & Regards,
>  ~Thilina 
> 
>   
>  
> 
> On 7/27/05, Thilina Gunarathne <cs...@gmail.com> wrote: 
> 
> Build passes for me. I did with a clean checkout.......
>  Tests are ready ..... No need of any configurations... 
>  
> 
>   
>  
> 
> On 7/27/05, Venkat Reddy < vreddyp@gmail.com> wrote: 
> 
> Can someone remove the testcases, from the Axis2 test harness, if the
>  tests are not yet ready? If there is any configuration needed for 
>  these testscase, we can update the README etc.
>  
>  Currently i have the following failing.
>  
>      [junit] Running
> org.apache.axis2.attachments.ImageSampleTest
>      [junit] Tests run: 2, Failures: 0, Errors: 2, Time elapsed: 1.719 sec
>      [junit] [ERROR] TEST
> org.apache.axis2.attachments.ImageSampleTest FAILED
>      [junit] Running
> org.apache.axis2.om.impl.llom.mtom.MTOMStAXSOAPModelBuilderTest
>      [junit] Tests run: 2, Failures: 0, Errors: 2, Time elapsed: 0.391 sec
>      [junit] [ERROR] TEST
> org.apache.axis2.om.impl.llom.mtom.MTOMStAXSOAPModelBuilderTest
> FAILED
>      [junit] Running
> org.apache.axis2.om.impl.llom.OMOutputTest
>      [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0.468 sec
>      [junit] [ERROR] TEST
> org.apache.axis2.om.impl.llom.OMOutputTest FAILED
>  
>  with all the 3 test reports showing the following stack trace.
>  
>  Testcase:
> testImageSampleSerialize(org.apache.axis2.attachments.ImageSampleTest
> ):       Caused
>  an ERROR
>  Problem with the OutputStream.
>  org.apache.axis2.om.OMException: Problem with the OutputStream.
>          at
> org.apache.axis2.om.impl.MIMEOutputUtils.complete(MIMEOutputUtils.java:66)
>          at
> org.apache.axis2.om.impl.OMOutputImpl.flush(OMOutputImpl.java:76)
>          at
> org.apache.axis2.attachments.ImageSampleTest.testImageSampleSerialize(ImageSampleTest.java:120)
>          at sun.reflect.NativeMethodAccessorImpl.invoke0
> (Native Method)
>          at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>          at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>  Caused by: javax.activation.UnsupportedDataTypeException:
> text/xml
>          at
> javax.activation.DataHandler.writeTo(DataHandler.java:76)
>          at
> javax.mail.internet.MimeBodyPart.writeTo(MimeBodyPart.java:211)
>          at
> org.apache.axis2.om.impl.MIMEOutputUtils.writeBodyPart
> (MIMEOutputUtils.java:114)
>          at
> org.apache.axis2.om.impl.MIMEOutputUtils.complete(MIMEOutputUtils.java:56)
>          ... 16 more
>  
>  
>  Testcase:
> testImageSampleDeserialize(org.apache.axis2.attachments.ImageSampleTest
> ):     Caused
>  an ERROR
>  Referenced MIME part not found.End of Stream reached.
>  org.apache.axis2.om.OMException: Referenced MIME part not found.End of
>  Stream reached.
>          at
> org.apache.axis2.attachments.MIMEHelper.getMimeBodyPart
> (MIMEHelper.java:279)
>          at
> org.apache.axis2.attachments.MIMEHelper.getNextPart(MIMEHelper.java:307)
>          at
> org.apache.axis2.attachments.MIMEHelper.getDataHandler(MIMEHelper.java:236)
>          at
> org.apache.axis2.attachments.MIMEHelper.getSOAPPartInputStream
> (MIMEHelper.java:197)
>          at
> org.apache.axis2.attachments.ImageSampleTest.testImageSampleDeserialize(ImageSampleTest.java:127)
>          at
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>          at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>          at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 
> 
>  
>  
>  
>  
> 
> -- 
>  "May the SourcE be with u" 
>  http://www.bloglines.com/blog/thilina 
> 
> 
>  
>  
>  -- 
>  "May the SourcE be with u" 
>  http://www.bloglines.com/blog/thilina

RE: [Axis2] MTOM and other tests are failing for me.

Posted by Chathura Herath <ch...@opensource.lk>.
Absolutely. I had the same problem a while ago and replaced the activation
jar in the repository manually and it worked fine. Different people are
getting different behaviors due to the fact that the Geronimo activation
jars are not getting downloaded during the build.

 

Chathura

 

  _____  

From: Thilina Gunarathne [mailto:csethil@gmail.com] 
Sent: Wednesday, July 27, 2005 1:00 PM
To: axis-dev@ws.apache.org; Venkat Reddy
Subject: Re: [Axis2] MTOM and other tests are failing for me.

 

You are probably having the incoreect version of activation jar. Check
whether u have geronimo-spec-activation-1.0.2-SNAPSHOT.jar in ur
repository.....
See the error below.
Caused by: javax.activation.UnsupportedDataTypeException: text/xml

       at javax.activation.DataHandler.writeTo(DataHandler.java:76)

Thanx & Regards,
~Thilina

 

On 7/27/05, Thilina Gunarathne <cs...@gmail.com> wrote:

Build passes for me. I did with a clean checkout.......
Tests are ready ..... No need of any configurations...

 

On 7/27/05, Venkat Reddy < <ma...@gmail.com>  vreddyp@gmail.com>
wrote: 

Can someone remove the testcases, from the Axis2 test harness, if the
tests are not yet ready? If there is any configuration needed for 
these testscase, we can update the README etc.

Currently i have the following failing.

    [junit] Running org.apache.axis2.attachments.ImageSampleTest
    [junit] Tests run: 2, Failures: 0, Errors: 2, Time elapsed: 1.719 sec
    [junit] [ERROR] TEST org.apache.axis2.attachments.ImageSampleTest FAILED
    [junit] Running
org.apache.axis2.om.impl.llom.mtom.MTOMStAXSOAPModelBuilderTest
    [junit] Tests run: 2, Failures: 0, Errors: 2, Time elapsed: 0.391 sec
    [junit] [ERROR] TEST
org.apache.axis2.om.impl.llom.mtom.MTOMStAXSOAPModelBuilderTest FAILED
    [junit] Running org.apache.axis2.om.impl.llom.OMOutputTest
    [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0.468 sec
    [junit] [ERROR] TEST org.apache.axis2.om.impl.llom.OMOutputTest FAILED

with all the 3 test reports showing the following stack trace.

Testcase:
testImageSampleSerialize(org.apache.axis2.attachments.ImageSampleTest ):
Caused
an ERROR
Problem with the OutputStream.
org.apache.axis2.om.OMException: Problem with the OutputStream.
        at
org.apache.axis2.om.impl.MIMEOutputUtils.complete(MIMEOutputUtils.java:66)
        at org.apache.axis2.om.impl.OMOutputImpl.flush(OMOutputImpl.java:76)
        at
org.apache.axis2.attachments.ImageSampleTest.testImageSampleSerialize(ImageS
ampleTest.java:120)
        at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
Caused by: javax.activation.UnsupportedDataTypeException: text/xml
        at javax.activation.DataHandler.writeTo(DataHandler.java:76)
        at javax.mail.internet.MimeBodyPart.writeTo(MimeBodyPart.java:211)
        at org.apache.axis2.om.impl.MIMEOutputUtils.writeBodyPart
(MIMEOutputUtils.java:114)
        at
org.apache.axis2.om.impl.MIMEOutputUtils.complete(MIMEOutputUtils.java:56)
        ... 16 more


Testcase:
testImageSampleDeserialize(org.apache.axis2.attachments.ImageSampleTest ):
Caused
an ERROR
Referenced MIME part not found.End of Stream reached.
org.apache.axis2.om.OMException: Referenced MIME part not found.End of
Stream reached.
        at org.apache.axis2.attachments.MIMEHelper.getMimeBodyPart
(MIMEHelper.java:279)
        at
org.apache.axis2.attachments.MIMEHelper.getNextPart(MIMEHelper.java:307)
        at
org.apache.axis2.attachments.MIMEHelper.getDataHandler(MIMEHelper.java:236)
        at org.apache.axis2.attachments.MIMEHelper.getSOAPPartInputStream
(MIMEHelper.java:197)
        at
org.apache.axis2.attachments.ImageSampleTest.testImageSampleDeserialize(Imag
eSampleTest.java:127)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)







-- 
"May the SourcE be with u" 
http://www.bloglines.com/blog/thilina 




-- 
"May the SourcE be with u" 
http://www.bloglines.com/blog/thilina 


Re: [Axis2] MTOM and other tests are failing for me.

Posted by Thilina Gunarathne <cs...@gmail.com>.
You are probably having the incoreect version of activation jar. Check 
whether u have geronimo-spec-activation-1.0.2-SNAPSHOT.jar in ur 
repository.....
See the error below.
Caused by: javax.activation.UnsupportedDataTypeException: text/xml
 at javax.activation.DataHandler.writeTo(DataHandler.java:76)

Thanx & Regards,
~Thilina
 

On 7/27/05, Thilina Gunarathne <cs...@gmail.com> wrote:
> 
> Build passes for me. I did with a clean checkout.......
> Tests are ready ..... No need of any configurations...
> 
> On 7/27/05, Venkat Reddy <vr...@gmail.com> wrote: 
> > 
> > Can someone remove the testcases, from the Axis2 test harness, if the
> > tests are not yet ready? If there is any configuration needed for 
> > these testscase, we can update the README etc.
> > 
> > Currently i have the following failing.
> > 
> > [junit] Running org.apache.axis2.attachments.ImageSampleTest
> > [junit] Tests run: 2, Failures: 0, Errors: 2, Time elapsed: 1.719 sec
> > [junit] [ERROR] TEST org.apache.axis2.attachments.ImageSampleTest FAILED
> > [junit] Running
> > org.apache.axis2.om.impl.llom.mtom.MTOMStAXSOAPModelBuilderTest
> > [junit] Tests run: 2, Failures: 0, Errors: 2, Time elapsed: 0.391 sec
> > [junit] [ERROR] TEST
> > org.apache.axis2.om.impl.llom.mtom.MTOMStAXSOAPModelBuilderTest FAILED
> > [junit] Running org.apache.axis2.om.impl.llom.OMOutputTest
> > [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0.468 sec
> > [junit] [ERROR] TEST org.apache.axis2.om.impl.llom.OMOutputTest FAILED
> > 
> > with all the 3 test reports showing the following stack trace.
> > 
> > Testcase: testImageSampleSerialize(
> > org.apache.axis2.attachments.ImageSampleTest ): Caused
> > an ERROR
> > Problem with the OutputStream.
> > org.apache.axis2.om.OMException: Problem with the OutputStream.
> > at org.apache.axis2.om.impl.MIMEOutputUtils.complete(
> > MIMEOutputUtils.java:66)
> > at org.apache.axis2.om.impl.OMOutputImpl.flush(OMOutputImpl.java:76)
> > at org.apache.axis2.attachments.ImageSampleTest.testImageSampleSerialize
> > (ImageSampleTest.java:120)
> > at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
> > at sun.reflect.NativeMethodAccessorImpl.invoke(
> > NativeMethodAccessorImpl.java:39)
> > at sun.reflect.DelegatingMethodAccessorImpl.invoke(
> > DelegatingMethodAccessorImpl.java:25)
> > Caused by: javax.activation.UnsupportedDataTypeException: text/xml
> > at javax.activation.DataHandler.writeTo(DataHandler.java:76)
> > at javax.mail.internet.MimeBodyPart.writeTo(MimeBodyPart.java:211)
> > at org.apache.axis2.om.impl.MIMEOutputUtils.writeBodyPart (
> > MIMEOutputUtils.java:114)
> > at org.apache.axis2.om.impl.MIMEOutputUtils.complete(
> > MIMEOutputUtils.java:56)
> > ... 16 more
> > 
> > 
> > Testcase: testImageSampleDeserialize(
> > org.apache.axis2.attachments.ImageSampleTest ): Caused
> > an ERROR
> > Referenced MIME part not found.End of Stream reached.
> > org.apache.axis2.om.OMException: Referenced MIME part not found.End of
> > Stream reached.
> > at org.apache.axis2.attachments.MIMEHelper.getMimeBodyPart (
> > MIMEHelper.java:279)
> > at org.apache.axis2.attachments.MIMEHelper.getNextPart(MIMEHelper.java
> > :307)
> > at org.apache.axis2.attachments.MIMEHelper.getDataHandler(
> > MIMEHelper.java:236)
> > at org.apache.axis2.attachments.MIMEHelper.getSOAPPartInputStream (
> > MIMEHelper.java:197)
> > at 
> > org.apache.axis2.attachments.ImageSampleTest.testImageSampleDeserialize(
> > ImageSampleTest.java:127)
> > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > at sun.reflect.NativeMethodAccessorImpl.invoke(
> > NativeMethodAccessorImpl.java:39)
> > at sun.reflect.DelegatingMethodAccessorImpl.invoke(
> > DelegatingMethodAccessorImpl.java:25)
> > 
> 
> 
> 
> -- 
> "May the SourcE be with u" 
> http://www.bloglines.com/blog/thilina 




-- 
"May the SourcE be with u" 
http://www.bloglines.com/blog/thilina

Re: [Axis2] MTOM and other tests are failing for me.

Posted by Thilina Gunarathne <cs...@gmail.com>.
Build passes for me. I did with a clean checkout.......
Tests are ready ..... No need of any configurations...

On 7/27/05, Venkat Reddy <vr...@gmail.com> wrote:
> 
> Can someone remove the testcases, from the Axis2 test harness, if the
> tests are not yet ready? If there is any configuration needed for
> these testscase, we can update the README etc.
> 
> Currently i have the following failing.
> 
> [junit] Running org.apache.axis2.attachments.ImageSampleTest
> [junit] Tests run: 2, Failures: 0, Errors: 2, Time elapsed: 1.719 sec
> [junit] [ERROR] TEST org.apache.axis2.attachments.ImageSampleTest FAILED
> [junit] Running
> org.apache.axis2.om.impl.llom.mtom.MTOMStAXSOAPModelBuilderTest
> [junit] Tests run: 2, Failures: 0, Errors: 2, Time elapsed: 0.391 sec
> [junit] [ERROR] TEST
> org.apache.axis2.om.impl.llom.mtom.MTOMStAXSOAPModelBuilderTest FAILED
> [junit] Running org.apache.axis2.om.impl.llom.OMOutputTest
> [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0.468 sec
> [junit] [ERROR] TEST org.apache.axis2.om.impl.llom.OMOutputTest FAILED
> 
> with all the 3 test reports showing the following stack trace.
> 
> Testcase: testImageSampleSerialize(
> org.apache.axis2.attachments.ImageSampleTest): Caused
> an ERROR
> Problem with the OutputStream.
> org.apache.axis2.om.OMException: Problem with the OutputStream.
> at org.apache.axis2.om.impl.MIMEOutputUtils.complete(MIMEOutputUtils.java
> :66)
> at org.apache.axis2.om.impl.OMOutputImpl.flush(OMOutputImpl.java:76)
> at org.apache.axis2.attachments.ImageSampleTest.testImageSampleSerialize(
> ImageSampleTest.java:120)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(
> NativeMethodAccessorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(
> DelegatingMethodAccessorImpl.java:25)
> Caused by: javax.activation.UnsupportedDataTypeException: text/xml
> at javax.activation.DataHandler.writeTo(DataHandler.java:76)
> at javax.mail.internet.MimeBodyPart.writeTo(MimeBodyPart.java:211)
> at org.apache.axis2.om.impl.MIMEOutputUtils.writeBodyPart(
> MIMEOutputUtils.java:114)
> at org.apache.axis2.om.impl.MIMEOutputUtils.complete(MIMEOutputUtils.java
> :56)
> ... 16 more
> 
> 
> Testcase: testImageSampleDeserialize(
> org.apache.axis2.attachments.ImageSampleTest): Caused
> an ERROR
> Referenced MIME part not found.End of Stream reached.
> org.apache.axis2.om.OMException: Referenced MIME part not found.End of
> Stream reached.
> at org.apache.axis2.attachments.MIMEHelper.getMimeBodyPart(MIMEHelper.java
> :279)
> at org.apache.axis2.attachments.MIMEHelper.getNextPart(MIMEHelper.java
> :307)
> at org.apache.axis2.attachments.MIMEHelper.getDataHandler(MIMEHelper.java
> :236)
> at org.apache.axis2.attachments.MIMEHelper.getSOAPPartInputStream(
> MIMEHelper.java:197)
> at org.apache.axis2.attachments.ImageSampleTest.testImageSampleDeserialize
> (ImageSampleTest.java:127)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(
> NativeMethodAccessorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(
> DelegatingMethodAccessorImpl.java:25)
> 



-- 
"May the SourcE be with u" 
http://www.bloglines.com/blog/thilina