Hello,
I am trying to run cactus
test cases in WSAD 5.0 as a
java application. I am trying to use
Junit Swing Test Runner to run the client side test cases.
Initially i was getting a LogConfigurationException concerning commons.logging package.
org.apache.commons.logging.LogConfigurationException:
java.lang.ClassCastException:
org.apache.commons.logging.impl.LogFactoryImpl
at
org.apache.commons.logging.LogFactory.newFactory(LogFactory.java:505)
at
org.apache.commons.logging.LogFactory.getFactory(LogFactory.java:340)
at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:381)
Since i did'nt want logging to be enabled, I have amended the excluded.properties in the JUnit.jar file to reflect as follows.
excluded.0=sun.*
excluded.1=com.sun.*
excluded.2=org.omg.*
excluded.3=javax.*
excluded.4=sunw.*
excluded.5=org.apache.commons.logging.*
excluded.6=java.*
This has now introduced the following error while running the test runner.
Error:java.lang.SecurityException Prohibited package name java.lang
I have removed the last line in the excluded.properties file (excluded.6=java.*) but this does not get reflected and i am still getting the same error.
I have replaced the WSAD junit .jar with the amended junit.jar file. Also i have added this file to my java client project.
What am i doing wrong. Why are my cactus test not running?
Thanks in advance,
Priya