I don't know if this is the right place to post this. I am trying to use the opensuse distribution of tomcat 6 and am haveing a rough time of it. Usually I go to the source distribution, tomcat.apache.org, and us that. I for some reason thought that the one packaged for the os might be easier to install/manage. So I have tomcat working for the sample app, thats not hard because it doesn't do anything. My app wants to use dbcp and when I launch my app i get the error message java.lang.ClassNotFoundException: org.apache.tomcat.dbcp.dbcp.BasicDataSourseFactory. I read the tomcat6 documentation and they say their is supposed to be a lib tomcat-dbcp.jar in $CATALINA_HOME/lib but it isn't there? Does anybody understand this or do I go and install the distribution from tomcat. I just have a deadline and I don't know how I will even get close because of this upgrade :-(. Thanks -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Fri, Oct 3, 2008 at 2:46 PM, Ray Madigan
I don't know if this is the right place to post this.
I am trying to use the opensuse distribution of tomcat 6 and am haveing a rough time of it. Usually I go to the source distribution, tomcat.apache.org, and us that. I for some reason thought that the one packaged for the os might be easier to install/manage.
So I have tomcat working for the sample app, thats not hard because it doesn't do anything.
My app wants to use dbcp and when I launch my app i get the error message java.lang.ClassNotFoundException: org.apache.tomcat.dbcp.dbcp.BasicDataSourseFactory.
I read the tomcat6 documentation and they say their is supposed to be a lib tomcat-dbcp.jar in $CATALINA_HOME/lib but it isn't there?
Does anybody understand this or do I go and install the distribution from tomcat. I just have a deadline and I don't know how I will even get close because of this upgrade :-(.
I got apache-tomcat-6.0.14 from the apache site, and tomcat-dbcp.jar is there. Though I got the binary one. Let me see... downloaded the 6.0.18 src, the lib directory is missing there. Get the binary one. -- Kind Regards -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Friday 03 October 2008 19:46:24 Ray Madigan wrote:
My app wants to use dbcp and when I launch my app i get the error message java.lang.ClassNotFoundException: org.apache.tomcat.dbcp.dbcp.BasicDataSourseFactory.
Is this a cut and paste of the error message? Because if it is, you've misspelled the import. It's "Source", not "Sourse", so if this really is the error message you get, correct your import statement
I read the tomcat6 documentation and they say their is supposed to be a lib tomcat-dbcp.jar in $CATALINA_HOME/lib but it isn't there?
Did you install the jakarta-commons-dbcp package? Anders -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Does anybody understand this or do I go and install the distribution from tomcat. I just have a deadline and I don't know how I will even get close because of this upgrade :-(.
I would suggest you to take tomcat distribution from official site and not to use opensuse package - you will just unpack it somewhere to your home directory and it would just start working by running the start up script. I have recently tries to setup development environment with eclipse and tomcat and was unpleasantly surprised the way it was packaged here. First of all it was divided to a number of packages (tomcat and tomcal-libs or something like that - I might be wrong in details), but that were not the worst - the worst thing were that some libraries were renamed and there were a number of symbolic links to jar files, which still did not match the original tomcat libraries names. I was trying to use eclipse tomcat plugin which accepts tomcat home directory as config parameter and it expects to find some particular libraries with particular names there. This did not happen when I tried to give it the path to the opensuse tomcat package installation directory. And it started working immediately when I have pointed it to the unpacked tomcat, taken from official apache download site. Probably I have missed something with this package, but I have spent few hours with it with no suitable result. So if you have a deadline, I suggest you just to take fresh tomcat from apache site, though installing it from yast looks much nicer. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Friday 03 of October 2008 19:46:24 Ray Madigan wrote:
I don't know if this is the right place to post this.
I am trying to use the opensuse distribution of tomcat 6 and am haveing a rough time of it. Usually I go to the source distribution, tomcat.apache.org, and us that. I for some reason thought that the one packaged for the os might be easier to install/manage.
So I have tomcat working for the sample app, thats not hard because it doesn't do anything.
My app wants to use dbcp and when I launch my app i get the error message java.lang.ClassNotFoundException: org.apache.tomcat.dbcp.dbcp.BasicDataSourseFactory.
Yes, that's a known bug, but it was fixed in Factory only. The fixed version of tomcat (6.0.18) for 11.0 is available in Java:packages OBS repository. Best regards Michal Vyskocil -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (5)
-
Anders Johansson
-
Anton Moiseev
-
Gabriel
-
Michal Vyskocil
-
Ray Madigan