Groups > Weblogic > Weblogic education > Re: Adding a properties file to the classpath




Adding a properties file to the classpath

Adding a properties file to the classpath
Fri, 22 Dec 2006 04:20:15 -080
Hi All,
I am new to WebLogic but have been working with JBoss and Tomcat for years. I
need to add a property file to the classpath for a server/deployment but it has
to be external to any of the jars/ears/wars deployed.

In JBoss you just drop the file into the deploy dir and it is on the classpath.
For Tomcat I just put it into the expolded war after deployment. For WebLogic
how do you add a properties file to classpath?

If I add to the server start property then I get an error saying that properties
file is not a jar/zip. If I add to the domian lib directory it is not picked
up.

Anyone know of this incredibly simple task is possible in WebLogic?

Cheers

Post Reply
Re: Adding a properties file to the classpath
Fri, 22 Dec 2006 07:00:45 -080
Hi,
  I think you should be able to find all the information here
http://edocs.bea.com/wls/docs91/admin_ref/weblogicServer.html#1008502

Regards,
Post Reply
about | contact