This content has been marked as final.
Show 2 replies
-
1. Re: Accessing files from Servlets or Classes
vc?! Jul 13, 2004 1:43 PM (in response to vc?!)The actual code which tries to load the properties file is:
InputStream in = ClassLoader.getSystemResourceAsStream("dbpool.properties");
Properties props = new Properties();
props.load( new BufferedInputStream( in ) );
return props -
2. Re: Accessing files from Servlets or Classes
aalmero Jul 13, 2004 5:08 PM (in response to vc?!)why don't you just use a jca config(dbname-ds.xml) appropriate for your db and add pooling properties there instead of using a separate config file.
<JBOSS_HOME>\docs\examples\jca
aalmero