RE: [Supplierconnect-user] junit tests on jonas
Brought to you by:
evanbottcher
|
From: Evan B. <eva...@ho...> - 2004-06-03 00:23:16
|
Hi Sébastien, My apologies for the late answer - I've been very busy on client work. I've just today been able to pull in Jonas and try to port the xdoclet descriptors for Jonas myself. Did you put in the xdoclet tags for @jonas etc? If so could you contribute them back? When I get SupplierConnect deploying on Jonas, I'll have a look at the unit test failures - it's probably something quite simple. cheers, Evan. >From: Sébastien Mathy <seb...@ke...> >To: sup...@li... >Subject: [Supplierconnect-user] junit tests on jonas >Date: Fri, 21 May 2004 11:36:10 +0200 > >Hi, >I try to port supplierconect on jonas aplication server. All work fine >(cXML, ebizWML). But When i launch the junit task, i 've these errors : >junit: > [mkdir] Created dir: T:\projets\supplierConnect\build\junit > [javac] Compiling 1 source file to >T:\projets\supplierConnect\build\junit > [copy] Copying 6 files to T:\projets\supplierConnect\build\junit > [junit] Running test.kenisys.supplierconnect.web.ListenerServletTest > [junit] Tests run: 2, Failures: 0, Errors: 1, Time elapsed: 0,25 sec > [junit] > [junit] Testsuite: >test.kenisys.supplierconnect.web.ListenerServletTest > [junit] Tests run: 2, Failures: 0, Errors: 1, Time elapsed: 0,25 sec > [junit] > [junit] ------------- Standard Output --------------- > [junit] 11:29:08,203 INFO [ListenerServletTest] response: <?xml >version="1.0" encoding="UTF-8"?> > [junit] 11:29:08,203 INFO [ListenerServletTest] response: <!DOCTYPE >cXML SYSTEM "http://xml.cxml.org/schemas/cXML/1.2.008/cXML.dtd"><cXML >timestamp="2004-05-21T09:29:08.20Z" >payloadID="108...@de..."><Response><Status code="200" >text="OK"/></Response></cXML> > [junit] ------------- ---------------- --------------- > [junit] Testcase: >testSendBasdaOrder(test.kenisys.supplierconnect.web.ListenerServletTest): > Caused an ERROR > [junit] Server returned HTTP response code: 500 for URL: >http://localhost:9000/supplierconnect/ebisxml > [junit] java.io.IOException: Server returned HTTP response code: 500 >for URL: http://localhost:9000/supplierconnect/ebisxml > [junit] at >sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:791) > [junit] at >test.kenisys.supplierconnect.web.ListenerServletTest.testSendBasdaOrder(ListenerServletTest.java:111) > [junit] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native >Method) > [junit] at >sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > [junit] at >sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > [junit] at >org.eclipse.ant.internal.core.ant.InternalAntRunner.run(InternalAntRunner.java:569) > [junit] at >org.eclipse.ant.internal.core.ant.InternalAntRunner.run(InternalAntRunner.java:367) > [junit] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native >Method) > [junit] at >sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > [junit] at >sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > [junit] at >org.eclipse.ant.core.AntRunner.run(AntRunner.java:335) > [junit] at >org.eclipse.ui.externaltools.internal.ant.launchConfigurations.AntLaunchDelegate$1.run(AntLaunchDelegate.java:172) > [junit] at java.lang.Thread.run(Thread.java:534) > [junit] > [junit] > [junit] > [junit] TEST test.kenisys.supplierconnect.web.ListenerServletTest >FAILED > [junit] Running test.kenisys.supplierconnect.web.ListenerServletTest > [junit] Tests run: 2, Failures: 0, Errors: 1, Time elapsed: 0,172 >sec > [junit] > [junit] Testsuite: >test.kenisys.supplierconnect.web.ListenerServletTest > [junit] Tests run: 2, Failures: 0, Errors: 1, Time elapsed: 0,172 >sec > [junit] > [junit] ------------- Standard Output --------------- > [junit] 11:29:08,578 INFO [ListenerServletTest] response: <?xml >version="1.0" encoding="UTF-8"?> > [junit] 11:29:08,578 INFO [ListenerServletTest] response: <!DOCTYPE >cXML SYSTEM "http://xml.cxml.org/schemas/cXML/1.2.008/cXML.dtd"><cXML >timestamp="2004-05-21T09:29:08.57Z" >payloadID="108...@de..."><Response><Status code="200" >text="OK"/></Response></cXML> > [junit] ------------- ---------------- --------------- > [junit] Testcase: >testSendBasdaOrder(test.kenisys.supplierconnect.web.ListenerServletTest): > Caused an ERROR > [junit] Server returned HTTP response code: 500 for URL: >http://localhost:9000/supplierconnect/ebisxml > [junit] java.io.IOException: Server returned HTTP response code: 500 >for URL: http://localhost:9000/supplierconnect/ebisxml > [junit] at >sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:791) > [junit] at >test.kenisys.supplierconnect.web.ListenerServletTest.testSendBasdaOrder(ListenerServletTest.java:111) > [junit] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native >Method) > [junit] at >sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > [junit] at >sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > [junit] at >org.eclipse.ant.internal.core.ant.InternalAntRunner.run(InternalAntRunner.java:569) > [junit] at >org.eclipse.ant.internal.core.ant.InternalAntRunner.run(InternalAntRunner.java:367) > [junit] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native >Method) > [junit] at >sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > [junit] at >sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > [junit] at >org.eclipse.ant.core.AntRunner.run(AntRunner.java:335) > [junit] at >org.eclipse.ui.externaltools.internal.ant.launchConfigurations.AntLaunchDelegate$1.run(AntLaunchDelegate.java:172) > [junit] at java.lang.Thread.run(Thread.java:534) > [junit] > [junit] > [junit] > [junit] TEST test.kenisys.supplierconnect.web.ListenerServletTest >FAILED > >Do you have an idea ? >Thanks > > >------------------------------------------------------- >This SF.Net email is sponsored by: Oracle 10g >Get certified on the hottest thing ever to hit the market... Oracle 10g. >Take an Oracle 10g class now, and we'll give you the exam FREE. >http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click >_______________________________________________ >Supplierconnect-user mailing list >Sup...@li... >https://lists.sourceforge.net/lists/listinfo/supplierconnect-user _________________________________________________________________ Get a Credit Card - 60 sec online response: http://ad.au.doubleclick.net/clk;8097459;9106288;b?http://www.anz.com/aus/promo/qantas5000ninemsn [AU only] |