Hide Forgot
project_key: SOA Executing ant runtest produces following warning: ... test-compile: [copy] Copying 1 file to /home/mvanek/work/build/cr1/jboss-as/samples/quickstarts/helloworld_ejb3_ws_wss/test/classes [javac] Compiling 1 source file to /home/mvanek/work/build/cr1/jboss-as/samples/quickstarts/helloworld_ejb3_ws_wss/test/classes [javac] /home/mvanek/work/build/cr1/jboss-as/samples/quickstarts/helloworld_ejb3_ws_wss/test/src/org/jboss/soa/esb/samples/quickstart/helloworld/WSTestClientWSS.java:27: warning: [deprecation] toURL() in java.io.File has been deprecated [javac] URL securityURL = new File("test/classes/META-INF/jboss-wsse-client.xml").toURL(); [javac] ^ [javac] 1 warning runtest: [java] log4j:WARN No appenders could be found for logger (org.jboss.ws.metadata.builder.jaxws.JAXWSWebServiceMetaDataBuilder). [java] log4j:WARN Please initialize the log4j system properly.
I think that all that needs to be done here is to change toURL() to toURI().toURL().
Release Notes Docs Status: Added: Documented as Resolved Issue Writer: Added: dlesage Release Notes Text: Added: https://issues.jboss.org/browse/SOA-2906 If the user ran ant runtest, a warning message would appear. This was due to a small coding error which has now been fixed. As a result, users will no longer see this error message.