Hi Eric,
to load the source do a
cvs -z3 -d:pserver:ano...@cv...:/cvsroot/squirrel-sql
co -P sql12
The sources you need are in
sql12/app/src
and
sql12/fw/src
The jars are in
sql12/app/lib
and
sql12/fw/lib
The class you need to run is
net.sourceforge.squirrel_sql.client.Main
If Eclipse copies properties files and icons to your bin path during
compile than a simple compile from the IDE should be enough. If not
consider to use the build script
sql12/build/build.xml
If you find a fix please send it to me.
You may also send me your zip.
Gerd
Eric Townson wrote:
> Thanks again Gerd! This has it down to just one error now. I've attached
> a new log file. Let me know if you need me to load the SQuirreL source
> and do any tracing. I am a Java programmer and use Eclipse as my IDE.
>
> I'm not sure if you've messed much with Cloudscape. If it would help I
> can send you a zip of a folder with just the libs you need for it along
> with batch files to run it in networked mode and a sample database.
> But, it's also pretty trivial to get going with it. The download from
> IBM is only 16 MB or so.
>
> Regards,
> Eric
>
> Gerd Wagner wrote:
>
>> Hi Eric,
>>
>> it looks like your driver is using the Java Transaction API interface
>> classes. You can download a zip with these classes here:
>> http://java.sun.com/products/jta/
>> You should add this zip to the extra classpath in SQuirreL's driver
>> definition. At least the error you posted should be gone after that.
>>
>> Whenever your stacktrace starts with java.lang.NoClassDefFoundError
>> this hints to missing classes.
>>
>> Gerd
>
>
> ------------------------------------------------------------------------
>
> 0 [main] INFO net.sourceforge.squirrel_sql.client.SquirrelLoggerFactory - =======================================================
> 15 [main] INFO net.sourceforge.squirrel_sql.client.SquirrelLoggerFactory - =======================================================
> 15 [main] INFO net.sourceforge.squirrel_sql.client.SquirrelLoggerFactory - =======================================================
> 15 [main] INFO net.sourceforge.squirrel_sql.client.SquirrelLoggerFactory - SQuirreL SQL Client Version 1.2beta6 started: Wed Apr 27 22:21:34 EDT 2005
> 15 [main] INFO net.sourceforge.squirrel_sql.client.SquirrelLoggerFactory - Copyright (c) 2001-2003 Colin Bell and others
> 15 [main] INFO net.sourceforge.squirrel_sql.client.SquirrelLoggerFactory - java.vendor: Sun Microsystems Inc.
> 15 [main] INFO net.sourceforge.squirrel_sql.client.SquirrelLoggerFactory - java.version: 1.5.0_02
> 15 [main] INFO net.sourceforge.squirrel_sql.client.SquirrelLoggerFactory - java.runtime.name: Java(TM) 2 Runtime Environment, Standard Edition
> 15 [main] INFO net.sourceforge.squirrel_sql.client.SquirrelLoggerFactory - os.name: Windows XP
> 15 [main] INFO net.sourceforge.squirrel_sql.client.SquirrelLoggerFactory - os.version: 5.1
> 15 [main] INFO net.sourceforge.squirrel_sql.client.SquirrelLoggerFactory - os.arch: x86
> 15 [main] INFO net.sourceforge.squirrel_sql.client.SquirrelLoggerFactory - user.dir: C:\DWExpress\squirrel
> 15 [main] INFO net.sourceforge.squirrel_sql.client.SquirrelLoggerFactory - user.home: C:\Documents and Settings\Eric
> 15 [main] INFO net.sourceforge.squirrel_sql.client.SquirrelLoggerFactory - java.home: C:\Program Files\Java\jre1.5.0_02
> 15 [main] INFO net.sourceforge.squirrel_sql.client.SquirrelLoggerFactory - java.class.path: .\squirrel-sql.jar;.\lib\commons-cli.jar;.\lib\forms.jar;.\lib\fw.jar;.\lib\jta.jar;.\lib\log4j.jar;.\lib\nanoxml-2.1.jar;
> 12906 [Thread-2] ERROR net.sourceforge.squirrel_sql.client.session.mainpanel.objecttree.ObjectTree - Error: TABLE
> com.ibm.db2.jcc.c.SqlException: Invalid operation: result set closed
> at com.ibm.db2.jcc.c.rc.mb(rc.java:3419)
> at com.ibm.db2.jcc.c.rc.c(rc.java:290)
> at com.ibm.db2.jcc.c.rc.next(rc.java:277)
> at net.sourceforge.squirrel_sql.fw.sql.SQLDatabaseMetaData.getTables(SQLDatabaseMetaData.java:858)
> at net.sourceforge.squirrel_sql.client.session.mainpanel.objecttree.expanders.TableTypeExpander.createChildren(TableTypeExpander.java:73)
> at net.sourceforge.squirrel_sql.client.session.mainpanel.objecttree.ObjectTree$TreeLoader.loadChildren(ObjectTree.java:808)
> at net.sourceforge.squirrel_sql.client.session.mainpanel.objecttree.ObjectTree$TreeLoader.execute(ObjectTree.java:759)
> at net.sourceforge.squirrel_sql.client.session.mainpanel.objecttree.ObjectTree.expandNode(ObjectTree.java:397)
> at net.sourceforge.squirrel_sql.client.session.mainpanel.objecttree.ObjectTree.access$600(ObjectTree.java:65)
> at net.sourceforge.squirrel_sql.client.session.mainpanel.objecttree.ObjectTree$ExpansionController.run(ObjectTree.java:716)
> at net.sourceforge.squirrel_sql.fw.util.TaskExecuter.run(TaskExecuter.java:82)
> at java.lang.Thread.run(Unknown Source)
> 42593 [AWT-EventQueue-0] INFO net.sourceforge.squirrel_sql.client.Application - Application shutting down 4/27/05 10:22 PM.
> 42796 [AWT-EventQueue-0] INFO net.sourceforge.squirrel_sql.client.Application - Application shutdown complete 4/27/05 10:22 PM.
|