Details
-
Bug
-
Resolution: Won't Fix
-
Low
-
None
-
2.7.8
-
None
-
None
Description
I just tried an restore using fisheyectl;
./bin/fisheyectl.sh restore --username root --password atlassian --jdbcurl jdbc:mysql://localhost:3306/fee --dbtype mysql --file /Users/asridhar/Downloads/backup.zip
The restore was successful AFAICT, but when I tried to start Fisheye.. I got the error;
Ajay-Sridhars-MacBook-Pro-2:fecru-2.7.7 asridhar$ ./bin/run.sh WARN: your default encoding (MacRoman) does not support unicode. This is likely to cause problems if any of the filenames, branch names or tag names in one of your repositories contain unicode characters. Update your locale settings or start with the -Dfile.encoding=UTF-8 option to avoid these problems. 2011-12-19 12:47:55,274 INFO - FishEye/Crucible 2.7.7 (20111118041540), Built on 2011-11-18 2011-12-19 12:47:55,280 INFO - Starting UpgradeManager ... 2011-12-19 12:47:57,248 ERROR - Could not create directory at /var/atlassian/application-data/fisheye-crucible/managed-repos. Please update the repositories-root attribute in config.xml to a directory that FishEye can write to. 2011-12-19 12:47:57,314 INFO - Crucible: Open Source License registered to GBIF. 2011-12-19 12:48:01,412 ERROR - Unable to connect to MySQL database jdbc:mysql://localhost:3306/fee: java.lang.ClassNotFoundException: com.mysql.jdbc.Driver: is the database driver jar file properly installed in the FISHEYE_INST/lib directory? 2011-12-19 12:48:01,413 INFO - Starting database... 2011-12-19 12:48:01,416 ERROR - Context initialization failed org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dbControlFactory' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.cenqua.crucible.hibernate.DBControlFactoryImpl]: Constructor threw exception; nested exception is java.lang.IllegalStateException: Database not available (Unable to connect to MySQL database jdbc:mysql://localhost:3306/fee: java.lang.ClassNotFoundException: com.mysql.jdbc.Driver: is the database driver jar file properly installed in the FISHEYE_INST/lib directory?). Current state: NO_DB at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:288) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1003) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:907) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:485) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
Fisheye is looking for JDBC driver in lib directory and failing
Attachments
Issue Links
- derived from
-
FE-3491 Cannot restore into SQL Server 2008 using built in JAR (without copying the jtds jar into FISHEYE_INST/lib)
- Closed