btodd_22 wrote:
>
> I am trying to track down a problem that has something to do with this
> error below
>
> [CODE]java.lang.NullPointerException
> at java.util.Properties$LineReader.readLine(Properties.java:418)
> at java.util.Properties.load0(Properties.java:337)
> at java.util.Properties.load(Properties.java:325)
> at
> snaq.db.ConnectionPoolManager.loadProperties(ConnectionPoolManager.java:278)
> at
> snaq.db.ConnectionPoolManager.getInstance(ConnectionPoolManager.java:167)
> at
> snaq.db.ConnectionPoolManager.getInstance(ConnectionPoolManager.java:221)[/CODE]
>
> Now here is what i know, the code that is calling the Connection pool is
> correct since i can put the .war file out on another machine and it works
> fine. I have been looking through the conf files for some sort of
> incosistency between the two environment. Is it incorrect to assume that
> tomcat can't find my db.properties file if so where do i tell tomcat to
> look? or does any one else have a better idea on where to look.
>
> Thanks in advance.
>
> Brandon
>
I found what the issue was. I found that within my
usr/local/tomcat/conf/Catalina/localhost there is a bunch of xml files each
resembling each project that is on tomcat. I found that within the project
that was failing it had a docbase pointing to my home file which houses all
my java code but not my property file and all I did was take that parameter
out of there. Restarted tomcat and it worked. Now correct me if i am wrong
here but it was my understanding that tomcat used the context.xml within the
project itself as the base and not the global within the Catalina Ba someone
please enlighten me on this.
Thanks in advance.
Brandon
--
View this message in context:
http://old.nabble.com/Help-with-tomcat-configuration-tp29024672p29025752.html
Sent from the Tomcat - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org