[jboss-user] [Beginner's Corner] - Deployed applications .jar path

Lara LG do-not-reply at jboss.com
Tue Dec 18 07:02:38 EST 2012


Lara LG [https://community.jboss.org/people/larito] created the discussion

"Deployed applications .jar path"

To view the discussion, visit: https://community.jboss.org/message/783850#783850

--------------------------------------------------------------
Hello,

I need to reference in my properties some of the jar inside my application lib folder, to do this I need to write the exact path where they are and I have a few doubts.
Can I reach the .jars from a deployed application? If the answers is yes, I was wondering about the path. Would this be work?

C:\blabla\jboss-as-7.1.1.Final\standalone\deployments\myapp\WEB-INF\lib\nice.jar ??

Or is the deployed content stored in the tmb directory?

Also if it were possible to reference a jar this way, would it make any different if the app was deployed using the web interface of droping it in the deployments folder?

I know hardcoded paths are evil but I really need to do this for it to work soany, info, link of tutorial would be appreciated  :)  

Thanks
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/783850#783850]

Start a new discussion in Beginner's Corner at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2075]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20121218/fdf9cd14/attachment.html 


More information about the jboss-user mailing list