Hello Rich & Sylvain, With the current nightly build I can run the tests in text mode (with a main class) but not directly from my ant script (same error appears like Sylvain mentioned). The same appears when I try to run the the tests in the axis src. I had invested half a day into the problem but could not jet found out the problem, somehow the commons-logging.jar does not get loaded. If anybody can give me a hint on how to setup ant/junit for axis I would be very grateful.
Best, Oliver NEU: NZZ finfox, personal finance, die finanz- und verm�gensplanung f�r private http://finfox.nzz.ch ECOFIN Research and Consulting AG Neumuensterallee 6 CH-8032 Zuerich +41 1 389 65 29 [EMAIL PROTECTED] www.ecofin.ch <http://www.ecofin.ch> > -----Original Message----- > From: R J Scheuerle Jr [mailto:[EMAIL PROTECTED]] > Sent: Mittwoch, 27. Februar 2002 00:12 > To: [EMAIL PROTECTED] > Cc: Axis-User (E-mail) > Subject: Re: Using the generated TestCases > > > It looks like the logging jar file has been upgraded. You > may want to try > again. > > Rich Scheuerle > XML & Web Services Development > 512-838-5115 (IBM TL 678-5115) > > > > > "St-Germain, > > Sylvain" To: > "Axis-User (E-mail)" <[EMAIL PROTECTED]> > <Sylvain.StGermain@ cc: > > cognos.com> Subject: > Using the generated TestCases > > > 02/25/2002 06:03 PM > > Please respond to > > axis-user > > > > > > > > > Hi all, > > This is a bit off-topic... > > Anyone is using the generated test cases generated by wsdl2java -t ? > > From what I understood at > junit.sourceforge.net/doc/cookbook/cookbook.htm I > should be able to run junit.awtui.TestRunner providing it the > generated > TestCase class and through introspection it will find the > test* methods and > run them. > > Now, I cannot get pass the point where it initialize the test > engine... > > java.lang.ExceptionInInitializerError: > org.apache.commons.logging.LogConfigurationException: > java.lang.ClassCastException: > org.apache.commons.logging.impl.LogFactoryImpl > > at > org.apache.commons.logging.LogFactory.newFactory(LogFactory.java:497) > at > org.apache.commons.logging.LogFactory.getFactory(LogFactory.java:350) > at > org.apache.commons.logging.LogFactory.getLog(LogFactory.java:400) > at > org.apache.axis.configuration.FileProvider.<clinit>(Unknown > Source) > at > org.apache.axis.configuration.DefaultEngineConfigurationFactor > y.getClientEng > > ineConfig(Unknown Source) > at org.apache.axis.client.Service.<init>(Unknown Source) > at > com.cognos.developer.ContentManagerServiceLocator.<init>(Conte > ntManagerServi > > ceLocator.java:10) > at > com.cognos.developer.ContentManagerServiceTestCase.test1Conten > tManagerServic > > ePortTypeAdd(ContentManagerServiceTestCase.java:17) > > Relevent classpath portions would be > lib\commons-logging.jar; > lib\log4j-1.2beta3.jar; > lib\junit3.7\junit.jar; > > Any help much appreciated. > -- > Sylvain > > This message may contain privileged and/or confidential > information. If > you > have received this e-mail in error or are not the intended > recipient, you > may not use, copy, disseminate or distribute it; do not open any > attachments, delete it immediately from your system and > notify the sender > promptly by e-mail that you have done so. Thank you. > > >
