-
1. Re: Resource path issue with Jboss AS 5.0
jaikiran Sep 9, 2010 1:57 AM (in response to muthukumaran_m)That's not how you get access to resources in a JavaEE applications. Instead you should use something like:
URL resource = this.getClass().getClassLoader().getResource("TestReport.jasper");
-
2. Re: Resource path issue with Jboss AS 5.0
muthukumaran_m Sep 9, 2010 6:43 PM (in response to jaikiran)Thanks Jai for your point...I agree with you.... but there are lot of place in our application we have this code and it was working fine in 4.2 and the effort to change them will be huge....
Any Idea on why we are not seeing the war exploded in the tmp folder?
-
3. Re: Resource path issue with Jboss AS 5.0
michael.faber Sep 10, 2010 9:19 AM (in response to muthukumaran_m)M Muthukumaran schrieb:
Any Idea on why we are not seeing the war exploded in the tmp folder?
You should see the exploded archives in the tmp folder. But they are no longer exploded to the tmp/deploy folder but directly to the tmp folder (I am using the default server configuration). Each archive is exploded in an own folder which is named in an id-like fashion (for example "4h2i4u3j-1sx049-gcx59ckb-1-gcx5at6i-a0"). Clean up the tmp folder before restarting the server, so you can be sure to catch the right folder, as there can be multiple folders for each archive for multiple starts of the server.