Hi everyone,

So, I did (think) I finally figured out the issue after some digging.

In my tomcat's common/lib directory, there were some pre-installed  
jar's, which (it seems) the fedora installer saw and did not install  
into the fedora's WEB-INF/lib directory.
Two of these that caught my attention  were commons-dbcp.jar (which my  
common/lib had a nightly from 200608181505)  and commons-pool.jar (v.  
1.3.0) . I removed these jars from the common/lib and reinstalled  
fedora, which put a commons-dbcp (v. 1.2.1) and commons-pool (v. 1.2)  
in the webapp's lib, then ran the fedora-rebuild.sh....no problem!

The odd thing is that fedora seemed to work just fine with these other  
jars, but the rebuild script did not like them these versions.
If anyone else happens to run into this, I suggest looking at the dbcp  
and pool jars....

best,chris





Hey everyone,

I'm having trouble getting the fedora-rebuild.sh script to run for  
both the db and resources index.

I am running 3.2.1 and this morning fedora was giving me errors about  
my resources index whenever I attempted to access a datastream.  
Restarts did not fix this, so I attempted to rebuild the index.
I started rebuilding the db, which dumped my tables, but quit with  
this error :

fedora.server.errors.ModuleInitializationException: Error while  
attempting to check for and create non-existing table(s):  
org.apache.commons.dbcp.SQLNestedException: Cannot create JDBC driver  
of class 'com.mysql.jdbc.Driver' for connect URL 'jdbc:mysql:// 
user.stanford.edu/project_fedora_prod? 
useUnicode=true&characterEncoding=UTF-8&autoReconnect=true'

Ok. So, I thought maybe now would be a good time to upgrade fedora, so  
in hopes of fixing the problem,  I installed a version of 3.3 on the  
machine, ran it, and tried to do the rebuild on my old resources, but  
got the same error.

I've tried a few different mysql drivers (5.1.12, 5.1.10, 5.1.6,  
3.2.0) with the same errors. Each time, I made sure the driver was in  
tomcat's common/lib and common/endorsed directories, as well as  
fedora's WEB-INF/lib .
But, for some reason, the jar that the rebuild script executes cannot  
find the driver? (although it can dump the database?).

This is running Java 1.6 and Tomcat 5 and RHEL 2.6.18.

Any help/suggestions would be appreciated!

best,chris.

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Fedora-commons-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fedora-commons-users

Reply via email to