tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kccc <keecc...@gmail.com>
Subject Null component
Date Tue, 06 Dec 2011 19:35:06 GMT

Hi,


I'm a new tomcat user and I'm trying to solve this error:
"SEVERE: Null component
Catalina:type=DataSource,path=/myAPP,host=localhost,class=javax.sql.DataSource,name="PGDS/ActivityLogDS"

My tomcat and java version:
apache-tomcat-6.0.16
jdk1.6.0_23

In server.xml, I added:
<Context docBase="myAPP.war" path="/opt/apache-tomcat-6.0.16/webapps/" />
…and restarted tomcat, and received the above error. Tomcat is running
however, but myAPP doesn't work.
I created myApp.war using jar -cvf myAPP.war in
/opt/apache-tomcat-6.0.16/webapps/ and created also WEB-INF/lib.

I've also copied /opt/apache-tomcat-6.0.16/lib contents into
/opt/apache-tomcat-6.0.16/webapps/WEB-INF/lib/ 

Please advice what am I missing. Thank you in advance.

KC


-- 
View this message in context: http://old.nabble.com/Null-component-tp32924620p32924620.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message