Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

New to JBOSS

 
DVVN Sudhakara Rao
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I want to use postgres jdbc driver. Can anybody explain in which directory i have to place the driver jar file in JBOSS
 
Pradeep bhatt
Ranch Hand
Posts: 8933
Firefox Browser Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can place under $JBOSS_HOME/server/default/lib dir.
 
Jeff Shelley
Ranch Hand
Posts: 70
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is something that I never quite understood. Is there a major difference between throwing this jar in the lib vs. the deploy directory?

Obviously, there's the hot deploy factor, but I have always put that thing in deploy, and never had a problem as long as I put the whatever-ds.xml in there afterwards.

Any thoughts?

--Jeff
 
Pradeep bhatt
Ranch Hand
Posts: 8933
Firefox Browser Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is there a major difference between throwing this jar in the lib vs. the deploy directory?


The deploy directory contains the deployable components like war,jar (ejb),sar etc. The lib directory contains library files. You cannot put war inside the lib directory.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic