Re: BasicDataSourceFactory.class where? (Tomcat 5.5, RHEL)
David Smith wrote: ... or at least post your question on a Redhat or jPackage list. We're not known for being all warm and fuzzy toward the tomcat rpm install packages. They've done things to tomcat in the process of packaging I know I wouldn't recommend. Apparently, yes. Using a plain Tomcat distribution made this indeed easier. Thanks for your help! (And to Chuck, too!) Regards, Juergen. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
BasicDataSourceFactory.class where? (Tomcat 5.5, RHEL)
Hello, for an application I am testing, I have my first contact with Tomcat, version 5.5.23 on RHEL 4 update 5, as installed from the package tomcat5-5.5.23-0jpp_4rh.3. What shall I say? It does not work yet. :-/ The main problem seems to be that Tomcat complains on startup about a missing class org.apache.tomcat.dbcp.dbcp.BasicDataSourceFactory: WARNING: Failed to register in JMX: javax.naming.NamingException: Could not create resource factory instance [Root exception is java.lang.ClassNotFoundException: org.apache.tomcat.dbcp.dbcp.BasicDataSourceFactory] This class is specified as the factory attribute in the Resource specification of the application context in Tomcat's server.xml. I can believe that Java/Tomcat cannot find this class, as I cannot find it either -- not in the jar files in /usr/share/tomcat5/common/lib and not anywhere else. Still the name suggests that it should be something that somehow belongs to Tomcat. I do have the package jakarta-commons-dbcp-1.2.1-3jpp_1rh installed, which sounds like a promising suspect, but it brings me only org.apache.commons.dbcp.BasicDataSourceFactory.class and not the one above. I'd switch to that just for a try, only it does not work the same way -- java.lang.ClassNotFoundException: org.apache.commons.dbcp.BasicDataSourceFactory.class -- although that class is in ../tomcat5/common/lib/[commons-dbcp].jar . Now I'm puzzled. Which BasicDataSourceFactory can/should I use? Why does Java/Tomcat not find the class in [commons-dbcp].jar? What can I do? I'd appreciate any help, as I am at a loss now; if this is an FAQ, a pointer to the related information, too, of course. Best regards, Juergen. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: BasicDataSourceFactory.class where? (Tomcat 5.5, RHEL)
... or at least post your question on a Redhat or jPackage list. We're not known for being all warm and fuzzy toward the tomcat rpm install packages. They've done things to tomcat in the process of packaging I know I wouldn't recommend. --David Caldarale, Charles R wrote: From: Juergen Nickelsen [mailto:[EMAIL PROTECTED] Subject: BasicDataSourceFactory.class where? (Tomcat 5.5, RHEL) for an application I am testing, I have my first contact with Tomcat, version 5.5.23 on RHEL 4 update 5, as installed from the package tomcat5-5.5.23-0jpp_4rh.3. I'd strongly recommend to throw that away and use a real Tomcat download from the Apache website. The 3rd-party repackaged versions of Tomcat are notorious for being dysfunctional. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: BasicDataSourceFactory.class where? (Tomcat 5.5, RHEL)
From: Juergen Nickelsen [mailto:[EMAIL PROTECTED] Subject: BasicDataSourceFactory.class where? (Tomcat 5.5, RHEL) for an application I am testing, I have my first contact with Tomcat, version 5.5.23 on RHEL 4 update 5, as installed from the package tomcat5-5.5.23-0jpp_4rh.3. I'd strongly recommend to throw that away and use a real Tomcat download from the Apache website. The 3rd-party repackaged versions of Tomcat are notorious for being dysfunctional. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]