My application generate PDF and save it in the WAR file. Everything works fine in the localhost but after deploying the WAR under the remote Wildfly server the app can't access the WAR file.
ut.setDestinationFileName( "../../wildfly-9.0.1.Final/standalone/deployments/MyApp.war/Rapport/SampleResult.pdf");