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.DefaultEngineConfigurationFactory.getClientEng

ineConfig(Unknown Source)
             at org.apache.axis.client.Service.<init>(Unknown Source)
             at
com.cognos.developer.ContentManagerServiceLocator.<init>(ContentManagerServi

ceLocator.java:10)
             at
com.cognos.developer.ContentManagerServiceTestCase.test1ContentManagerServic

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.



Reply via email to