Hi,

You seem to be using Gnu's Java. Try installing Sun's Java SDK 1.6 and see if 
that works.

Regards,
- Paulo

On Monday 27 October 2008 11:28, Offord, Victoria wrote:
> Hi
>
>
>
> We are having problems with the initdb.sh script throwing
> ClassDefNotFound errors.
>
>
>
> The db_user variables are given the correct credentials and MySQL is
> accepting connections (it's on the same server, so localhost is used)
>
>
>
> Any help would be appreciated :D
>
>
>
> Thanks
>
>
>
> ./initdb.sh my_password
>
> --System information-----------------------------
>
> BASE     : 2.8.4
>
> Database : jdbc:mysql://localhost/base2
>
> Dialect  : org.hibernate.dialect.MySQLInnoDBDialect
>
> JDBC     : com.mysql.jdbc.Driver; version 5.1
>
> Java     : null; 1.4.2; Free Software Foundation, Inc.
>
> OS       : Linux; i386; 2.6.18-92.1.10.el5PAE
>
> -------------------------------------------------
>
> Building database...11:17:18,701 ERROR Application:556 - Exception when
> starting...
>
> java.lang.NoClassDefFoundError: net.sf.basedb.core.QueryExecutor
>
>    at java.lang.Class.initializeClass(libgcj.so.7rh)
>
>    at net.sf.basedb.core.Application.start(Application.java:429)
>
>    at net.sf.basedb.core.Install.createTables(Install.java:132)
>
>    at net.sf.basedb.install.InitDB.main(InitDB.java:73)
>
> Caused by: java.lang.ClassNotFoundException:
> java.util.concurrent.Callable not found in
> gnu.gcj.runtime.SystemClassLoader{urls=[file:../www/WEB-INF/classes/,fil
> e:../www/WEB-INF/lib/activation-1.1.jar,file:../www/WEB-INF/lib/AffxFusi
> on.jar,file:../www/WEB-INF/lib/annogen-0.1.0.jar,file:../www/WEB-INF/lib
> /antlr-2.7.6.jar,file:../www/WEB-INF/lib/asm-attrs.jar,file:../www/WEB-I
> NF/lib/asm.jar,file:../www/WEB-INF/lib/axiom-api-1.2.5.jar,file:../www/W
> EB-INF/lib/axiom-dom-1.2.5.jar,file:../www/WEB-INF/lib/axiom-impl-1.2.5.
> jar,file:../www/WEB-INF/lib/axis2-adb-1.3.jar,file:../www/WEB-INF/lib/ax
> is2-java2wsdl-1.3.jar,file:../www/WEB-INF/lib/axis2-kernel-1.3.jar,file:
> ../www/WEB-INF/lib/backport-util-concurrent-2.2.jar,file:../www/WEB-INF/
> lib/BASE2Core.jar,file:../www/WEB-INF/lib/BASE2CorePlugins.jar,file:../w
> ww/WEB-INF/lib/BASE2Webclient.jar,file:../www/WEB-INF/lib/BASE2WSClient.
> jar,file:../www/WEB-INF/lib/bzip2.jar,file:../www/WEB-INF/lib/c3p0-0.9.1
> .jar,file:../www/WEB-INF/lib/cglib-2.1.3.jar,file:../www/WEB-INF/lib/com
> mons-codec-1.3.jar,file:../www/WEB-INF/lib/commons-collections-2.1.1.jar
> ,file:../www/WEB-INF/lib/commons-httpclient-3.0.1.jar,file:../www/WEB-IN
> F/lib/commons-io-1.3.2.jar,file:../www/WEB-INF/lib/commons-logging-1.1.j
> ar,file:../www/WEB-INF/lib/dom4j-1.6.1.jar,file:../www/WEB-INF/lib/ehcac
> he-1.2.3.jar,file:../www/WEB-INF/lib/hibernate3.jar,file:../www/WEB-INF/
> lib/jai_codec.jar,file:../www/WEB-INF/lib/jai_core.jar,file:../www/WEB-I
> NF/lib/jaxen-1.1-beta-7.jar,file:../www/WEB-INF/lib/jcommon-1.0.6.jar,fi
> le:../www/WEB-INF/lib/jdom.jar,file:../www/WEB-INF/lib/jep-2.4.0.jar,fil
> e:../www/WEB-INF/lib/jfreechart-1.0.3.jar,file:../www/WEB-INF/lib/jta.ja
> r,file:../www/WEB-INF/lib/log4j-1.2.14.jar,file:../www/WEB-INF/lib/mail-
> 1.4.jar,file:../www/WEB-INF/lib/mlibwrapper_jai.jar,file:../www/WEB-INF/
> lib/mysql-connector-java-5.1.6-bin.jar,file:../www/WEB-INF/lib/neethi-2.
> 0.2.jar,file:../www/WEB-INF/lib/postgresql-8.3-603.jdbc4.jar,file:../www
> /WEB-INF/lib/saxpath.jar,file:../www/WEB-INF/lib/secondstring.jar,file:.
> ./www/WEB-INF/lib/stax-api-1.0.1.jar,file:../www/WEB-INF/lib/tar.jar,fil
> e:../www/WEB-INF/lib/wsdl4j-1.6.2.jar,file:../www/WEB-INF/lib/wstx-asl-3
> .2.1.jar,file:../www/WEB-INF/lib/xerces-2.9.0.jar,file:../www/WEB-INF/li
> b/xml-apis.jar,file:../www/WEB-INF/lib/XmlSchema-1.3.2.jar,file:../data/
> ,file:jar/BASE2Install.jar],
> parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}}
>
>    at java.net.URLClassLoader.findClass(libgcj.so.7rh)
>
>    at gnu.gcj.runtime.SystemClassLoader.findClass(libgcj.so.7rh)
>
>    at java.lang.ClassLoader.loadClass(libgcj.so.7rh)
>
>    at java.lang.ClassLoader.loadClass(libgcj.so.7rh)
>
>    at java.lang.Class.initializeClass(libgcj.so.7rh)
>
>    ...3 more
>
>
>
>
>
>
>
>
>
> java.lang.NullPointerException
>
>    at
> net.sf.basedb.core.Application.cleanSessionControlCache(Application.java
>
> :957)
>
>    at net.sf.basedb.core.Application.stop(Application.java:582)
>
>    at net.sf.basedb.core.Install.createTables(Install.java:152)
>
>    at net.sf.basedb.install.InitDB.main(InitDB.java:73)

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
The BASE general discussion mailing list
basedb-users@lists.sourceforge.net
unsubscribe: send a mail with subject "unsubscribe" to
[EMAIL PROTECTED]

Reply via email to