You can subscribe to this list here.
2002 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(11) |
Jul
(34) |
Aug
(14) |
Sep
(10) |
Oct
(10) |
Nov
(11) |
Dec
(6) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2003 |
Jan
(56) |
Feb
(76) |
Mar
(68) |
Apr
(11) |
May
(97) |
Jun
(16) |
Jul
(29) |
Aug
(35) |
Sep
(18) |
Oct
(32) |
Nov
(23) |
Dec
(77) |
2004 |
Jan
(52) |
Feb
(44) |
Mar
(55) |
Apr
(38) |
May
(106) |
Jun
(82) |
Jul
(76) |
Aug
(47) |
Sep
(36) |
Oct
(56) |
Nov
(46) |
Dec
(61) |
2005 |
Jan
(52) |
Feb
(118) |
Mar
(41) |
Apr
(40) |
May
(35) |
Jun
(99) |
Jul
(84) |
Aug
(104) |
Sep
(53) |
Oct
(107) |
Nov
(68) |
Dec
(30) |
2006 |
Jan
(19) |
Feb
(27) |
Mar
(24) |
Apr
(9) |
May
(22) |
Jun
(11) |
Jul
(34) |
Aug
(8) |
Sep
(15) |
Oct
(55) |
Nov
(16) |
Dec
(2) |
2007 |
Jan
(12) |
Feb
(4) |
Mar
(8) |
Apr
|
May
(19) |
Jun
(3) |
Jul
(1) |
Aug
(6) |
Sep
(12) |
Oct
(3) |
Nov
|
Dec
|
2008 |
Jan
(4) |
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
|
Dec
(21) |
2009 |
Jan
|
Feb
(2) |
Mar
(1) |
Apr
|
May
(1) |
Jun
(8) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2010 |
Jan
|
Feb
(1) |
Mar
(4) |
Apr
(3) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2011 |
Jan
|
Feb
|
Mar
|
Apr
(4) |
May
(19) |
Jun
(14) |
Jul
(1) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2012 |
Jan
|
Feb
|
Mar
(22) |
Apr
(12) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2013 |
Jan
(2) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(2) |
Nov
|
Dec
|
2015 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(3) |
Jun
|
Jul
|
Aug
(2) |
Sep
|
Oct
|
Nov
|
Dec
(1) |
2016 |
Jan
(1) |
Feb
(1) |
Mar
|
Apr
(1) |
May
|
Jun
(2) |
Jul
(1) |
Aug
|
Sep
|
Oct
(1) |
Nov
(1) |
Dec
|
2017 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Mark H. <mh...@ug...> - 2012-03-23 20:35:28
|
I don't know what the officially supported mechanism is for this (there may not be one ) but this is what I have used to manually insert that row. INSERT INTO Core.DatabaseVersion (DATABASE_VERSION_ID, VERSION, MODIFICATION_DATE, USER_READ, USER_WRITE, GROUP_READ, GROUP_WRITE, OTHER_READ, OTHER_WRITE, ROW_USER_ID, ROW_GROUP_ID, ROW_PROJECT_ID, ROW_ALG_INVOCATION_ID) VALUES (1, 3.6, current_timestamp,1,1,1,1,1,0,1,1,1,1); On Mar 23, 2012, at 2:41 PM, John Iodice wrote: > Hi Nicolas, > > I think this is related to the table core.DatabaseVersion, and that this table should have a single row in it with "3.6" in the VERSION column. But I don't know how that gets there. > > Is this what you have? If that table is empty, my suggestion (unless somebody else has a better one) is to insert a record with that value in that column. > > -- John > > On Fri, Mar 23, 2012 at 5:03 AM, Nicolas Joannin <nic...@gm...> wrote: > Hi again, > > Thanks again for the help! > I just have one last question: > In the Install Guide for GUS, it is written that one should register the GUS application framework with the following command: > $ ga +meta --commit > > I'm not quite sure what this does, and when I do run it, I get the following message: > > Nicolas-work-iMac:bin Nicolas$ ga +meta --commit > > ERROR: Database version does not match required version for Plugin. > Database Version: Plugin Version: 3.6 > > Is this registration something I should worry about? If so, any suggestions as to what this problem might be? > > Best regards, > Nicolas > > > > > On Fri, Mar 23, 2012 at 13:05, Mark Heiges <mh...@ug...> wrote: > whew! > > On Mar 23, 2012, at 12:01 AM, Nicolas Joannin wrote: > > > Indeed, again, my mistake! > > Thank you all for your help: BUILD SUCCESSFUL ;) > > > > Best regards, > > Nicolas > > > > > > On Fri, Mar 23, 2012 at 12:40, Mark Heiges <mh...@ug...> wrote: > > Check the dbiDsn setting in your gus.config. What you sent earlier (dbiDsn=dbi:Pg:dbname=<my_db_name>) looks correct to me; make sure that hasn't changed. The error is symptomatic of missing the 'dbname=' prefix > > > > > > > > > > > > On Mar 22, 2012, at 11:20 PM, Nicolas Joannin wrote: > > > > > Hi Mark, > > > > > > Thanks: indeed, I made the mistake of adjusting the PATH with $GUS_HOME/bin etc. before actually exporting GUS_HOME. > > > > > > I've rerun the build GUS install -append and it now has a new error: > > > perlGeneratedModel: > > > [echo] generating Perl Objects > > > [exec] GUS::ObjRelP::DbiDbHandle connect('varDB_2012','postgres',...) failed: missing "=" after "varDB_2012" in connection info string at /Users/Nicolas/GUS/gus_home/lib/perl/GUS/ObjRelP/DbiDatabase.pm line 173 > > > [exec] Can't bless non-reference value at /Users/Nicolas/GUS/gus_home/lib/perl/GUS/ObjRelP/DbiDbHandle.pm line 21. > > > > > > BUILD FAILED > > > /Users/Nicolas/GUS/project_home/install/build.xml:38: The following error occurred while executing this line: > > > /Users/Nicolas/GUS/project_home/GUS/build.xml:258: exec returned: 255 > > > > > > Thanks again for your help! > > > Best regards, > > > Nicolas > > > > > > > > > Full output: > > > > > > Nicolas-work-iMac:bin Nicolas$ ./build GUS install -append > > > Buildfile: /Users/Nicolas/GUS/project_home/install/build.xml > > > > > > install: > > > [echo] proj=GUS > > > [echo] comp= > > > > > > defaultComponentInstall: > > > [echo] . > > > [echo] Installing CBIL/Bio > > > > > > recordBuildState: > > > [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/.build.info > > > > > > defaultComponentInstall: > > > [echo] . > > > [echo] Installing CBIL/CSP > > > > > > defaultJavaCompile: > > > [javac] /Users/Nicolas/GUS/project_home/install/build.xml:332: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds > > > > > > recordBuildState: > > > [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/.build.info > > > > > > defaultComponentInstall: > > > [echo] . > > > [echo] Installing CBIL/Util > > > > > > recordBuildState: > > > [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/.build.info > > > > > > defaultComponentInstall: > > > [echo] . > > > [echo] Installing CBIL/Cider > > > > > > recordBuildState: > > > [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/.build.info > > > > > > defaultComponentInstall: > > > [echo] . > > > [echo] Installing CBIL/HQ > > > > > > recordBuildState: > > > [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/.build.info > > > > > > defaultComponentInstall: > > > [echo] . > > > [echo] Installing CBIL/TranscriptExpression > > > > > > recordBuildState: > > > [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/.build.info > > > > > > defaultComponentInstall: > > > [echo] . > > > [echo] Installing CBIL/ObjectMapper > > > > > > recordBuildState: > > > [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/.build.info > > > > > > defaultComponentInstall: > > > [echo] . > > > [echo] Installing GUS/Supported > > > > > > defaultJavaCompile: > > > [javac] /Users/Nicolas/GUS/project_home/install/build.xml:332: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds > > > > > > recordBuildState: > > > [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/.build.info > > > > > > defaultComponentInstall: > > > [echo] . > > > [echo] Installing GUS/Community > > > > > > recordBuildState: > > > [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/.build.info > > > > > > defaultComponentInstall: > > > [echo] . > > > [echo] Installing GUS/DBAdmin > > > > > > defaultJavaCompile: > > > [javac] /Users/Nicolas/GUS/project_home/install/build.xml:332: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds > > > > > > recordBuildState: > > > [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/.build.info > > > > > > defaultComponentInstall: > > > [echo] . > > > [echo] Installing GUS/GOPredict > > > > > > defaultJavaCompile: > > > [javac] /Users/Nicolas/GUS/project_home/install/build.xml:332: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds > > > > > > recordBuildState: > > > [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/.build.info > > > > > > defaultComponentInstall: > > > [echo] . > > > [echo] Installing GusSchema/Definition > > > > > > recordBuildState: > > > [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/.build.info > > > > > > defaultComponentInstall: > > > [echo] . > > > [echo] Installing GUS/DBAdmin > > > > > > defaultJavaCompile: > > > [javac] /Users/Nicolas/GUS/project_home/install/build.xml:332: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds > > > > > > recordBuildState: > > > [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/.build.info > > > > > > defaultComponentInstall: > > > [echo] . > > > [echo] Installing GUS/ObjRelP > > > > > > recordBuildState: > > > [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/.build.info > > > > > > perlGeneratedModel: > > > [echo] generating Perl Objects > > > [exec] GUS::ObjRelP::DbiDbHandle connect('varDB_2012','postgres',...) failed: missing "=" after "varDB_2012" in connection info string at /Users/Nicolas/GUS/gus_home/lib/perl/GUS/ObjRelP/DbiDatabase.pm line 173 > > > [exec] Can't bless non-reference value at /Users/Nicolas/GUS/gus_home/lib/perl/GUS/ObjRelP/DbiDbHandle.pm line 21. > > > > > > BUILD FAILED > > > /Users/Nicolas/GUS/project_home/install/build.xml:38: The following error occurred while executing this line: > > > /Users/Nicolas/GUS/project_home/GUS/build.xml:258: exec returned: 255 > > > > > > Total time: 20 seconds > > > > > > On Fri, Mar 23, 2012 at 12:00, Mark Heiges <mh...@ug...> wrote: > > > The includeantruntime warning is an ant 1.8 "feature". I'm pretty sure you can ignore that warning in this case, I don't see any abnormal repercussions from it, but we've not used that version of ant ourselves. You can google that warning for more information if you're curious. > > > > > > The generateGusObjects error makes me suspect that your PATH doesn't include $GUS_HOME/bin . You'll want something like > > > export PATH=$GUS_HOME/bin:$PROJECT_HOME/install/bin:$PATH > > > > > > At this point the schema is installed in your database (log in with a client and confirm). So the next time run "build GUS install -append" (without the -installDBSchema) and it should resume with the "generating Perl Objects". > > > > > > > > > On Mar 22, 2012, at 9:59 PM, Nicolas Joannin wrote: > > > > > > > Hi Mark, > > > > > > > > I got the code from the subversion repository, but that was a couple weeks ago, I think. > > > > I've just tried with the latest svn update. > > > > > > > > I started all from scratch: I deleted the GUS folder I was working in and replaced it with the new. > > > > I run the install a first time and encountered the same ojdbc5.jar problem. > > > > > > > > So I added that file to the proper directory and rerun the install. > > > > > > > > This time I get different errors (see full output below): > > > > > > > > defaultJavaCompile: > > > > [javac] /Users/Nicolas/GUS/project_home/install/build.xml:332: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds > > > > > > > > [InstallSchema] ERROR [main] (InstallSchemaTask.java:122) - Null version, skipping. Note: You will need to manually add a version number to the DB > > > > > > > > BUILD FAILED > > > > /Users/Nicolas/GUS/project_home/install/build.xml:38: The following error occurred while executing this line: > > > > /Users/Nicolas/GUS/project_home/GUS/build.xml:258: Execute failed: java.io.IOException: Cannot run program "generateGusObjects" (in directory "/Users/Nicolas/GUS/project_home/install"): error=2, No such file or directory > > > > > > > > The first one (with the "warning: 'includeantruntime'") occurs several times. > > > > > > > > Thanks for the quick responses! > > > > Best regards, > > > > Nicolas > > > > > > > > > > > > Here's the full output: > > > > > > > > Nicolas-work-iMac:bin Nicolas$ ./build GUS install -append -installDBSchema > > > > Buildfile: /Users/Nicolas/GUS/project_home/install/build.xml > > > > > > > > install: > > > > [echo] proj=GUS > > > > [echo] comp= > > > > > > > > defaultComponentInstall: > > > > [echo] . > > > > [echo] Installing CBIL/Bio > > > > > > > > recordBuildState: > > > > [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/.build.info > > > > > > > > defaultComponentInstall: > > > > [echo] . > > > > [echo] Installing CBIL/CSP > > > > > > > > defaultJavaCompile: > > > > [javac] /Users/Nicolas/GUS/project_home/install/build.xml:332: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds > > > > > > > > recordBuildState: > > > > [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/.build.info > > > > > > > > defaultComponentInstall: > > > > [echo] . > > > > [echo] Installing CBIL/Util > > > > > > > > recordBuildState: > > > > [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/.build.info > > > > > > > > defaultComponentInstall: > > > > [echo] . > > > > [echo] Installing CBIL/Cider > > > > > > > > recordBuildState: > > > > [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/.build.info > > > > > > > > defaultComponentInstall: > > > > [echo] . > > > > [echo] Installing CBIL/HQ > > > > > > > > recordBuildState: > > > > [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/.build.info > > > > > > > > defaultComponentInstall: > > > > [echo] . > > > > [echo] Installing CBIL/TranscriptExpression > > > > > > > > recordBuildState: > > > > [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/.build.info > > > > > > > > defaultComponentInstall: > > > > [echo] . > > > > [echo] Installing CBIL/ObjectMapper > > > > > > > > recordBuildState: > > > > [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/.build.info > > > > > > > > defaultComponentInstall: > > > > [echo] . > > > > [echo] Installing GUS/Supported > > > > > > > > defaultJavaCompile: > > > > [javac] /Users/Nicolas/GUS/project_home/install/build.xml:332: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds > > > > > > > > recordBuildState: > > > > [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/.build.info > > > > > > > > defaultComponentInstall: > > > > [echo] . > > > > [echo] Installing GUS/Community > > > > > > > > recordBuildState: > > > > [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/.build.info > > > > > > > > defaultComponentInstall: > > > > [echo] . > > > > [echo] Installing GUS/DBAdmin > > > > > > > > defaultJavaCompile: > > > > [javac] /Users/Nicolas/GUS/project_home/install/build.xml:332: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds > > > > > > > > recordBuildState: > > > > [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/.build.info > > > > > > > > defaultComponentInstall: > > > > [echo] . > > > > [echo] Installing GUS/GOPredict > > > > > > > > defaultJavaCompile: > > > > [javac] /Users/Nicolas/GUS/project_home/install/build.xml:332: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds > > > > > > > > recordBuildState: > > > > [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/.build.info > > > > > > > > defaultComponentInstall: > > > > [echo] . > > > > [echo] Installing GusSchema/Definition > > > > > > > > recordBuildState: > > > > [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/.build.info > > > > > > > > defaultComponentInstall: > > > > [echo] . > > > > [echo] Installing GUS/DBAdmin > > > > > > > > defaultJavaCompile: > > > > [javac] /Users/Nicolas/GUS/project_home/install/build.xml:332: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds > > > > > > > > recordBuildState: > > > > [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/.build.info > > > > > > > > InstallSchema: > > > > [InstallSchema] INFO [main] (InstallSchemaTask.java:79) - Reading database from /Users/Nicolas/GUS/project_home/GusSchema/Definition/config/gus_schema.xml > > > > [InstallSchema] INFO [main] (SchemaReader.java:48) - Reading Database > > > > [InstallSchema] INFO [main] (Database.java:161) - Resolving Database References > > > > [InstallSchema] INFO [main] (DatabaseValidator.java:57) - Validating Database: 'null' > > > > [InstallSchema] INFO [main] (InstallSchemaTask.java:87) - Overriding individual tablespace specifications with value "GUS" from property file > > > > [InstallSchema] INFO [main] (DatabaseValidator.java:57) - Validating Database: 'null' > > > > [InstallSchema] INFO [main] (SchemaWriter.java:33) - Writing Database > > > > [InstallSchema] INFO [main] (DatabaseValidator.java:57) - Validating Database: 'null' > > > > [InstallSchema] INFO [main] (SchemaWriter.java:33) - Writing Database > > > > [InstallSchema] ERROR [main] (InstallSchemaTask.java:122) - Null version, skipping. Note: You will need to manually add a version number to the DB > > > > [InstallSchema] ERROR [main] (InstallSchemaTask.java:122) - Null version, skipping. Note: You will need to manually add a version number to the DB > > > > > > > > defaultComponentInstall: > > > > [echo] . > > > > [echo] Installing GUS/ObjRelP > > > > > > > > componentPartCopySub: > > > > [copy] Copying 3 files to /Users/Nicolas/GUS/gus_home/bin > > > > > > > > componentPartCopySub: > > > > [mkdir] Created dir: /Users/Nicolas/GUS/gus_home/lib/perl/GUS/ObjRelP > > > > [copy] Copying 18 files to /Users/Nicolas/GUS/gus_home/lib/perl/GUS/ObjRelP > > > > > > > > componentPartCopySub: > > > > [mkdir] Created dir: /Users/Nicolas/GUS/gus_home/doc/GUS/ObjRelP > > > > [copy] Copying 3 files to /Users/Nicolas/GUS/gus_home/doc/GUS/ObjRelP > > > > > > > > recordBuildState: > > > > [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/.build.info > > > > > > > > perlGeneratedModel: > > > > [mkdir] Created dir: /Users/Nicolas/GUS/gus_home/lib/perl/GUS/Model/Core > > > > [mkdir] Created dir: /Users/Nicolas/GUS/gus_home/lib/perl/GUS/Model/DoTS > > > > [mkdir] Created dir: /Users/Nicolas/GUS/gus_home/lib/perl/GUS/Model/RAD > > > > [mkdir] Created dir: /Users/Nicolas/GUS/gus_home/lib/perl/GUS/Model/SRes > > > > [mkdir] Created dir: /Users/Nicolas/GUS/gus_home/lib/perl/GUS/Model/TESS > > > > [mkdir] Created dir: /Users/Nicolas/GUS/gus_home/lib/perl/GUS/Model/PROT > > > > [mkdir] Created dir: /Users/Nicolas/GUS/gus_home/lib/perl/GUS/Model/Study > > > > [echo] generating Perl Objects > > > > > > > > BUILD FAILED > > > > /Users/Nicolas/GUS/project_home/install/build.xml:38: The following error occurred while executing this line: > > > > /Users/Nicolas/GUS/project_home/GUS/build.xml:258: Execute failed: java.io.IOException: Cannot run program "generateGusObjects" (in directory "/Users/Nicolas/GUS/project_home/install"): error=2, No such file or directory > > > > at java.lang.ProcessBuilder.start(ProcessBuilder.java:460) > > > > at java.lang.Runtime.exec(Runtime.java:593) > > > > at org.apache.tools.ant.taskdefs.Execute$Java13CommandLauncher.exec(Execute.java:862) > > > > at org.apache.tools.ant.taskdefs.Execute.launch(Execute.java:481) > > > > at org.apache.tools.ant.taskdefs.Execute.execute(Execute.java:495) > > > > at org.apache.tools.ant.taskdefs.ExecTask.runExecute(ExecTask.java:631) > > > > at org.apache.tools.ant.taskdefs.ExecTask.runExec(ExecTask.java:672) > > > > at org.apache.tools.ant.taskdefs.ExecTask.execute(ExecTask.java:498) > > > > at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) > > > > at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) > > > > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > > > > at java.lang.reflect.Method.invoke(Method.java:597) > > > > at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) > > > > at org.apache.tools.ant.Task.perform(Task.java:348) > > > > at org.apache.tools.ant.Target.execute(Target.java:392) > > > > at org.apache.tools.ant.Target.performTasks(Target.java:413) > > > > at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399) > > > > at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38) > > > > at org.apache.tools.ant.Project.executeTargets(Project.java:1251) > > > > at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442) > > > > at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) > > > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > > > > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > > > > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > > > > at java.lang.reflect.Method.invoke(Method.java:597) > > > > at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) > > > > at org.apache.tools.ant.Task.perform(Task.java:348) > > > > at org.apache.tools.ant.Target.execute(Target.java:392) > > > > at org.apache.tools.ant.Target.performTasks(Target.java:413) > > > > at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399) > > > > at org.apache.tools.ant.Project.executeTarget(Project.java:1368) > > > > at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41) > > > > at org.apache.tools.ant.Project.executeTargets(Project.java:1251) > > > > at org.apache.tools.ant.Main.runBuild(Main.java:811) > > > > at org.apache.tools.ant.Main.startAnt(Main.java:217) > > > > at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280) > > > > at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109) > > > > Caused by: java.io.IOException: error=2, No such file or directory > > > > at java.lang.UNIXProcess.forkAndExec(Native Method) > > > > at java.lang.UNIXProcess.<init>(UNIXProcess.java:53) > > > > at java.lang.ProcessImpl.start(ProcessImpl.java:91) > > > > at java.lang.ProcessBuilder.start(ProcessBuilder.java:453) > > > > ... 36 more > > > > > > > > Total time: 30 seconds > > > > > > > > > > > > > > > > On Fri, Mar 23, 2012 at 10:37, Mark Heiges <mh...@ug...> wrote: > > > > Hi Nicolas, Are you using code from the gus subversion repository? If so, do an svn update. This bug was fixed this morning. If not from subversion, where did you get your code? > > > > > > > > -Mark > > > > > > > > On Mar 22, 2012, at 9:24 PM, Nicolas Joannin wrote: > > > > > > > > > Good morning Mark, Rodrigo and John, > > > > > > > > > > Indeed, the ojdbc5.jar file helped to get further ahead :) > > > > > Unfortunately, there are still some errors (see below). > > > > > > > > > > Best regards, > > > > > Nicolas > > > > > > > > > > > > > > > > > > > > Nicolas-work-iMac:bin Nicolas$ ./build GUS install -append -installDBSchema > > > > > Buildfile: /Users/Nicolas/GUS/project_home/install/build.xml > > > > > > > > > > install: > > > > > [echo] proj=GUS > > > > > [echo] comp= > > > > > > > > > > defaultComponentInstall: > > > > > [echo] . > > > > > [echo] Installing CBIL/Bio > > > > > > > > > > recordBuildState: > > > > > [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/.build.info > > > > > > > > > > defaultComponentInstall: > > > > > [echo] . > > > > > [echo] Installing CBIL/CSP > > > > > > > > > > defaultJavaCompile: > > > > > [javac] /Users/Nicolas/GUS/project_home/install/build.xml:332: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds > > > > > > > > > > recordBuildState: > > > > > [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/.build.info > > > > > > > > > > defaultComponentInstall: > > > > > [echo] . > > > > > [echo] Installing CBIL/Util > > > > > > > > > > recordBuildState: > > > > > [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/.build.info > > > > > > > > > > defaultComponentInstall: > > > > > [echo] . > > > > > [echo] Installing CBIL/Cider > > > > > > > > > > recordBuildState: > > > > > [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/.build.info > > > > > > > > > > defaultComponentInstall: > > > > > [echo] . > > > > > [echo] Installing CBIL/HQ > > > > > > > > > > recordBuildState: > > > > > [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/.build.info > > > > > > > > > > defaultComponentInstall: > > > > > [echo] . > > > > > [echo] Installing CBIL/TranscriptExpression > > > > > > > > > > recordBuildState: > > > > > [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/.build.info > > > > > > > > > > defaultComponentInstall: > > > > > [echo] . > > > > > [echo] Installing CBIL/ObjectMapper > > > > > > > > > > recordBuildState: > > > > > [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/.build.info > > > > > > > > > > defaultComponentInstall: > > > > > [echo] . > > > > > [echo] Installing GUS/Supported > > > > > > > > > > defaultJavaCompile: > > > > > [javac] /Users/Nicolas/GUS/project_home/install/build.xml:332: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds > > > > > > > > > > recordBuildState: > > > > > [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/.build.info > > > > > > > > > > defaultComponentInstall: > > > > > [echo] . > > > > > [echo] Installing GUS/Community > > > > > > > > > > recordBuildState: > > > > > [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/.build.info > > > > > > > > > > defaultComponentInstall: > > > > > [echo] . > > > > > [echo] Installing GUS/DBAdmin > > > > > > > > > > defaultJavaCompile: > > > > > [javac] /Users/Nicolas/GUS/project_home/install/build.xml:332: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds > > > > > > > > > > recordBuildState: > > > > > [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/.build.info > > > > > > > > > > defaultComponentInstall: > > > > > [echo] . > > > > > [echo] Installing GUS/GOPredict > > > > > > > > > > defaultJavaCompile: > > > > > [javac] /Users/Nicolas/GUS/project_home/install/build.xml:332: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds > > > > > > > > > > recordBuildState: > > > > > [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/.build.info > > > > > > > > > > defaultComponentInstall: > > > > > [echo] . > > > > > [echo] Installing GusSchema/Definition > > > > > > > > > > recordBuildState: > > > > > [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/.build.info > > > > > > > > > > defaultComponentInstall: > > > > > [echo] . > > > > > [echo] Installing GUS/DBAdmin > > > > > > > > > > defaultJavaCompile: > > > > > [javac] /Users/Nicolas/GUS/project_home/install/build.xml:332: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds > > > > > > > > > > recordBuildState: > > > > > [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/.build.info > > > > > > > > > > InstallSchema: > > > > > [InstallSchema] INFO [main] (InstallSchemaTask.java:79) - Reading database from /Users/Nicolas/GUS/project_home/GusSchema/Definition/config/gus_schema.xml > > > > > [InstallSchema] INFO [main] (SchemaReader.java:48) - Reading Database > > > > > [InstallSchema] INFO [main] (Database.java:161) - Resolving Database References > > > > > [InstallSchema] INFO [main] (DatabaseValidator.java:57) - Validating Database: 'null' > > > > > [InstallSchema] INFO [main] (InstallSchemaTask.java:87) - Overriding individual tablespace specifications with value "GUS" from property file > > > > > [InstallSchema] INFO [main] (DatabaseValidator.java:57) - Validating Database: 'null' > > > > > [InstallSchema] INFO [main] (SchemaWriter.java:33) - Writing Database > > > > > [InstallSchema] INFO [main] (DatabaseValidator.java:57) - Validating Database: 'null' > > > > > [InstallSchema] INFO [main] (SchemaWriter.java:33) - Writing Database > > > > > > > > > > BUILD FAILED > > > > > /Users/Nicolas/GUS/project_home/install/build.xml:38: The following error occurred while executing this line: > > > > > /Users/Nicolas/GUS/project_home/GUS/build.xml:16: The following error occurred while executing this line: > > > > > /Users/Nicolas/GUS/project_home/GusSchema/build.xml:63: java.io.IOException: Error executing SQL: ' > > > > > > > > > > CREATE TABLE Core.AlgorithmInvocation ( > > > > > ALGORITHM_INVOCATION_ID NUMERIC(12,0) NOT NULL, > > > > > ALGORITHM_IMPLEMENTATION_ID NUMERIC(5,0) NOT NULL, > > > > > START_TIME TIMESTAMP NOT NULL, > > > > > END_TIME TIMESTAMP NOT NULL, > > > > > CPUS_USED NUMERIC(5,0) , > > > > > CPU_TIME FLOAT(126) , > > > > > RESULT VARCHAR(350) NOT NULL, > > > > > COMMENT_STRING VARCHAR(255) , > > > > > MODIFICATION_DATE TIMESTAMP NOT NULL, > > > > > USER_READ NUMERIC(1,0) NOT NULL, > > > > > USER_WRITE NUMERIC(1,0) NOT NULL, > > > > > GROUP_READ NUMERIC(1,0) NOT NULL, > > > > > GROUP_WRITE NUMERIC(1,0) NOT NULL, > > > > > OTHER_READ NUMERIC(1,0) NOT NULL, > > > > > OTHER_WRITE NUMERIC(1,0) NOT NULL, > > > > > ROW_USER_ID NUMERIC(12,0) NOT NULL, > > > > > ROW_GROUP_ID NUMERIC(4,0) NOT NULL, > > > > > ROW_PROJECT_ID NUMERIC(4,0) NOT NULL, > > > > > ROW_ALG_INVOCATION_ID NUMERIC(12,0) NOT NULL)' Error: ERROR: precision for type float must be less than 54 bits > > > > > at org.gusdb.dbadmin.util.JDBCStreamWriter.flush(JDBCStreamWriter.java:57) > > > > > at org.gusdb.dbadmin.writer.RelationalDatabaseWriter.writeTable(RelationalDatabaseWriter.java:67) > > > > > at org.gusdb.dbadmin.writer.RelationalDatabaseWriter.writeTables(RelationalDatabaseWriter.java:43) > > > > > at org.gusdb.dbadmin.writer.PostgresWriter.writeDatabase(PostgresWriter.java:68) > > > > > at org.gusdb.dbadmin.writer.SchemaWriter.write(SchemaWriter.java:34) > > > > > at org.gusdb.dbadmin.util.InstallSchemaTask.execute(InstallSchemaTask.java:99) > > > > > at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) > > > > > at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) > > > > > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > > > > > at java.lang.reflect.Method.invoke(Method.java:597) > > > > > at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) > > > > > at org.apache.tools.ant.Task.perform(Task.java:348) > > > > > at org.apache.tools.ant.Target.execute(Target.java:392) > > > > > at org.apache.tools.ant.Target.performTasks(Target.java:413) > > > > > at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399) > > > > > at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38) > > > > > at org.apache.tools.ant.Project.executeTargets(Project.java:1251) > > > > > at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442) > > > > > at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) > > > > > at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) > > > > > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > > > > > at java.lang.reflect.Method.invoke(Method.java:597) > > > > > at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) > > > > > at org.apache.tools.ant.Task.perform(Task.java:348) > > > > > at org.apache.tools.ant.Target.execute(Target.java:392) > > > > > at org.apache.tools.ant.Target.performTasks(Target.java:413) > > > > > at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399) > > > > > at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38) > > > > > at org.apache.tools.ant.Project.executeTargets(Project.java:1251) > > > > > at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442) > > > > > at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) > > > > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > > > > > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > > > > > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > > > > > at java.lang.reflect.Method.invoke(Method.java:597) > > > > > at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) > > > > > at org.apache.tools.ant.Task.perform(Task.java:348) > > > > > at org.apache.tools.ant.Target.execute(Target.java:392) > > > > > at org.apache.tools.ant.Target.performTasks(Target.java:413) > > > > > at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399) > > > > > at org.apache.tools.ant.Project.executeTarget(Project.java:1368) > > > > > at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41) > > > > > at org.apache.tools.ant.Project.executeTargets(Project.java:1251) > > > > > at org.apache.tools.ant.Main.runBuild(Main.java:811) > > > > > at org.apache.tools.ant.Main.startAnt(Main.java:217) > > > > > at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280) > > > > > at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109) > > > > > > > > > > Total time: 20 seconds > > > > > > > > > > > > > > > On Thu, Mar 22, 2012 at 23:23, Mark Heiges <mh...@ug...> wrote: > > > > > I have confirmed that the ojdbc jar is required for the code to compile. > > > > > > > > > > -Mark > > > > > > > > > > On Mar 22, 2012, at 10:09 AM, John Iodice wrote: > > > > > > > > > > > Hi Nicolas, > > > > > > > > > > > > That dbVendor setting looks right; I think that your configuration is correct for a Postgres install (and that I was mistaken to think that the install is looking for oracle.jdbc.OracleDriver because it's configured to use Oracle). > > > > > > > > > > > > Looking in my own $GUS_HOME/lib/java/db_driver directory, I see that I have both Oracle and Postgres drivers, though I only use Oracle. Maybe both are required to compile the Java? These are the files I have there: > > > > > > > > > > > > $ ls $GUS_HOME/lib/java/db_driver/ > > > > > > ojdbc5.jar postgresql-8.3-603.jdbc3.jar > > > > > > > > > > > > I see that ojdbc5.jar does contain oracle/jdbc/OracleDriver.class. I suggest you try downloading that jarfile. You can get it from here: http://www.oracle.com/technetwork/database/enterprise-edition/jdbc-111060-084321.html > > > > > > > > > > > > -- John > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------------ > This SF email is sponsosred by: > Try Windows Azure free for 90 days Click Here > http://p.sf.net/sfu/sfd2d-msazure_______________________________________________ > Gusdev-gusdev mailing list > Gus...@li... > https://lists.sourceforge.net/lists/listinfo/gusdev-gusdev |
From: John I. <io...@gm...> - 2012-03-23 18:42:11
|
Hi Nicolas, I think this is related to the table core.DatabaseVersion, and that this table should have a single row in it with "3.6" in the VERSION column. But I don't know how that gets there. Is this what you have? If that table is empty, my suggestion (unless somebody else has a better one) is to insert a record with that value in that column. -- John On Fri, Mar 23, 2012 at 5:03 AM, Nicolas Joannin <nic...@gm...>wrote: > Hi again, > > Thanks again for the help! > I just have one last question: > In the Install Guide for GUS, it is written that one should register the > GUS application framework with the following command: > $ ga +meta --commit > > I'm not quite sure what this does, and when I do run it, I get the > following message: > > Nicolas-work-iMac:bin Nicolas$ ga +meta --commit > > ERROR: Database version does not match required version for Plugin. > Database Version: Plugin Version: 3.6 > > Is this registration something I should worry about? If so, any > suggestions as to what this problem might be? > > Best regards, > Nicolas > > > > > On Fri, Mar 23, 2012 at 13:05, Mark Heiges <mh...@ug...> wrote: > >> whew! >> >> On Mar 23, 2012, at 12:01 AM, Nicolas Joannin wrote: >> >> > Indeed, again, my mistake! >> > Thank you all for your help: BUILD SUCCESSFUL ;) >> > >> > Best regards, >> > Nicolas >> > >> > >> > On Fri, Mar 23, 2012 at 12:40, Mark Heiges <mh...@ug...> wrote: >> > Check the dbiDsn setting in your gus.config. What you sent earlier >> (dbiDsn=dbi:Pg:dbname=<my_db_name>) looks correct to me; make sure that >> hasn't changed. The error is symptomatic of missing the 'dbname=' prefix >> > >> > >> > >> > >> > >> > On Mar 22, 2012, at 11:20 PM, Nicolas Joannin wrote: >> > >> > > Hi Mark, >> > > >> > > Thanks: indeed, I made the mistake of adjusting the PATH with >> $GUS_HOME/bin etc. before actually exporting GUS_HOME. >> > > >> > > I've rerun the build GUS install -append and it now has a new error: >> > > perlGeneratedModel: >> > > [echo] generating Perl Objects >> > > [exec] GUS::ObjRelP::DbiDbHandle >> connect('varDB_2012','postgres',...) failed: missing "=" after "varDB_2012" >> in connection info string at >> /Users/Nicolas/GUS/gus_home/lib/perl/GUS/ObjRelP/DbiDatabase.pm line 173 >> > > [exec] Can't bless non-reference value at >> /Users/Nicolas/GUS/gus_home/lib/perl/GUS/ObjRelP/DbiDbHandle.pm line 21. >> > > >> > > BUILD FAILED >> > > /Users/Nicolas/GUS/project_home/install/build.xml:38: The following >> error occurred while executing this line: >> > > /Users/Nicolas/GUS/project_home/GUS/build.xml:258: exec returned: 255 >> > > >> > > Thanks again for your help! >> > > Best regards, >> > > Nicolas >> > > >> > > >> > > Full output: >> > > >> > > Nicolas-work-iMac:bin Nicolas$ ./build GUS install -append >> > > Buildfile: /Users/Nicolas/GUS/project_home/install/build.xml >> > > >> > > install: >> > > [echo] proj=GUS >> > > [echo] comp= >> > > >> > > defaultComponentInstall: >> > > [echo] . >> > > [echo] Installing CBIL/Bio >> > > >> > > recordBuildState: >> > > [propertyfile] Updating property file: >> /Users/Nicolas/GUS/gus_home/config/.build.info >> > > >> > > defaultComponentInstall: >> > > [echo] . >> > > [echo] Installing CBIL/CSP >> > > >> > > defaultJavaCompile: >> > > [javac] /Users/Nicolas/GUS/project_home/install/build.xml:332: >> warning: 'includeantruntime' was not set, defaulting to >> build.sysclasspath=last; set to false for repeatable builds >> > > >> > > recordBuildState: >> > > [propertyfile] Updating property file: >> /Users/Nicolas/GUS/gus_home/config/.build.info >> > > >> > > defaultComponentInstall: >> > > [echo] . >> > > [echo] Installing CBIL/Util >> > > >> > > recordBuildState: >> > > [propertyfile] Updating property file: >> /Users/Nicolas/GUS/gus_home/config/.build.info >> > > >> > > defaultComponentInstall: >> > > [echo] . >> > > [echo] Installing CBIL/Cider >> > > >> > > recordBuildState: >> > > [propertyfile] Updating property file: >> /Users/Nicolas/GUS/gus_home/config/.build.info >> > > >> > > defaultComponentInstall: >> > > [echo] . >> > > [echo] Installing CBIL/HQ >> > > >> > > recordBuildState: >> > > [propertyfile] Updating property file: >> /Users/Nicolas/GUS/gus_home/config/.build.info >> > > >> > > defaultComponentInstall: >> > > [echo] . >> > > [echo] Installing CBIL/TranscriptExpression >> > > >> > > recordBuildState: >> > > [propertyfile] Updating property file: >> /Users/Nicolas/GUS/gus_home/config/.build.info >> > > >> > > defaultComponentInstall: >> > > [echo] . >> > > [echo] Installing CBIL/ObjectMapper >> > > >> > > recordBuildState: >> > > [propertyfile] Updating property file: >> /Users/Nicolas/GUS/gus_home/config/.build.info >> > > >> > > defaultComponentInstall: >> > > [echo] . >> > > [echo] Installing GUS/Supported >> > > >> > > defaultJavaCompile: >> > > [javac] /Users/Nicolas/GUS/project_home/install/build.xml:332: >> warning: 'includeantruntime' was not set, defaulting to >> build.sysclasspath=last; set to false for repeatable builds >> > > >> > > recordBuildState: >> > > [propertyfile] Updating property file: >> /Users/Nicolas/GUS/gus_home/config/.build.info >> > > >> > > defaultComponentInstall: >> > > [echo] . >> > > [echo] Installing GUS/Community >> > > >> > > recordBuildState: >> > > [propertyfile] Updating property file: >> /Users/Nicolas/GUS/gus_home/config/.build.info >> > > >> > > defaultComponentInstall: >> > > [echo] . >> > > [echo] Installing GUS/DBAdmin >> > > >> > > defaultJavaCompile: >> > > [javac] /Users/Nicolas/GUS/project_home/install/build.xml:332: >> warning: 'includeantruntime' was not set, defaulting to >> build.sysclasspath=last; set to false for repeatable builds >> > > >> > > recordBuildState: >> > > [propertyfile] Updating property file: >> /Users/Nicolas/GUS/gus_home/config/.build.info >> > > >> > > defaultComponentInstall: >> > > [echo] . >> > > [echo] Installing GUS/GOPredict >> > > >> > > defaultJavaCompile: >> > > [javac] /Users/Nicolas/GUS/project_home/install/build.xml:332: >> warning: 'includeantruntime' was not set, defaulting to >> build.sysclasspath=last; set to false for repeatable builds >> > > >> > > recordBuildState: >> > > [propertyfile] Updating property file: >> /Users/Nicolas/GUS/gus_home/config/.build.info >> > > >> > > defaultComponentInstall: >> > > [echo] . >> > > [echo] Installing GusSchema/Definition >> > > >> > > recordBuildState: >> > > [propertyfile] Updating property file: >> /Users/Nicolas/GUS/gus_home/config/.build.info >> > > >> > > defaultComponentInstall: >> > > [echo] . >> > > [echo] Installing GUS/DBAdmin >> > > >> > > defaultJavaCompile: >> > > [javac] /Users/Nicolas/GUS/project_home/install/build.xml:332: >> warning: 'includeantruntime' was not set, defaulting to >> build.sysclasspath=last; set to false for repeatable builds >> > > >> > > recordBuildState: >> > > [propertyfile] Updating property file: >> /Users/Nicolas/GUS/gus_home/config/.build.info >> > > >> > > defaultComponentInstall: >> > > [echo] . >> > > [echo] Installing GUS/ObjRelP >> > > >> > > recordBuildState: >> > > [propertyfile] Updating property file: >> /Users/Nicolas/GUS/gus_home/config/.build.info >> > > >> > > perlGeneratedModel: >> > > [echo] generating Perl Objects >> > > [exec] GUS::ObjRelP::DbiDbHandle >> connect('varDB_2012','postgres',...) failed: missing "=" after "varDB_2012" >> in connection info string at >> /Users/Nicolas/GUS/gus_home/lib/perl/GUS/ObjRelP/DbiDatabase.pm line 173 >> > > [exec] Can't bless non-reference value at >> /Users/Nicolas/GUS/gus_home/lib/perl/GUS/ObjRelP/DbiDbHandle.pm line 21. >> > > >> > > BUILD FAILED >> > > /Users/Nicolas/GUS/project_home/install/build.xml:38: The following >> error occurred while executing this line: >> > > /Users/Nicolas/GUS/project_home/GUS/build.xml:258: exec returned: 255 >> > > >> > > Total time: 20 seconds >> > > >> > > On Fri, Mar 23, 2012 at 12:00, Mark Heiges <mh...@ug...> wrote: >> > > The includeantruntime warning is an ant 1.8 "feature". I'm pretty >> sure you can ignore that warning in this case, I don't see any abnormal >> repercussions from it, but we've not used that version of ant ourselves. >> You can google that warning for more information if you're curious. >> > > >> > > The generateGusObjects error makes me suspect that your PATH doesn't >> include $GUS_HOME/bin . You'll want something like >> > > export PATH=$GUS_HOME/bin:$PROJECT_HOME/install/bin:$PATH >> > > >> > > At this point the schema is installed in your database (log in with a >> client and confirm). So the next time run "build GUS install -append" >> (without the -installDBSchema) and it should resume with the "generating >> Perl Objects". >> > > >> > > >> > > On Mar 22, 2012, at 9:59 PM, Nicolas Joannin wrote: >> > > >> > > > Hi Mark, >> > > > >> > > > I got the code from the subversion repository, but that was a >> couple weeks ago, I think. >> > > > I've just tried with the latest svn update. >> > > > >> > > > I started all from scratch: I deleted the GUS folder I was working >> in and replaced it with the new. >> > > > I run the install a first time and encountered the same ojdbc5.jar >> problem. >> > > > >> > > > So I added that file to the proper directory and rerun the install. >> > > > >> > > > This time I get different errors (see full output below): >> > > > >> > > > defaultJavaCompile: >> > > > [javac] /Users/Nicolas/GUS/project_home/install/build.xml:332: >> warning: 'includeantruntime' was not set, defaulting to >> build.sysclasspath=last; set to false for repeatable builds >> > > > >> > > > [InstallSchema] ERROR [main] (InstallSchemaTask.java:122) - Null >> version, skipping. Note: You will need to manually add a version number >> to the DB >> > > > >> > > > BUILD FAILED >> > > > /Users/Nicolas/GUS/project_home/install/build.xml:38: The following >> error occurred while executing this line: >> > > > /Users/Nicolas/GUS/project_home/GUS/build.xml:258: Execute failed: >> java.io.IOException: Cannot run program "generateGusObjects" (in directory >> "/Users/Nicolas/GUS/project_home/install"): error=2, No such file or >> directory >> > > > >> > > > The first one (with the "warning: 'includeantruntime'") occurs >> several times. >> > > > >> > > > Thanks for the quick responses! >> > > > Best regards, >> > > > Nicolas >> > > > >> > > > >> > > > Here's the full output: >> > > > >> > > > Nicolas-work-iMac:bin Nicolas$ ./build GUS install -append >> -installDBSchema >> > > > Buildfile: /Users/Nicolas/GUS/project_home/install/build.xml >> > > > >> > > > install: >> > > > [echo] proj=GUS >> > > > [echo] comp= >> > > > >> > > > defaultComponentInstall: >> > > > [echo] . >> > > > [echo] Installing CBIL/Bio >> > > > >> > > > recordBuildState: >> > > > [propertyfile] Updating property file: >> /Users/Nicolas/GUS/gus_home/config/.build.info >> > > > >> > > > defaultComponentInstall: >> > > > [echo] . >> > > > [echo] Installing CBIL/CSP >> > > > >> > > > defaultJavaCompile: >> > > > [javac] /Users/Nicolas/GUS/project_home/install/build.xml:332: >> warning: 'includeantruntime' was not set, defaulting to >> build.sysclasspath=last; set to false for repeatable builds >> > > > >> > > > recordBuildState: >> > > > [propertyfile] Updating property file: >> /Users/Nicolas/GUS/gus_home/config/.build.info >> > > > >> > > > defaultComponentInstall: >> > > > [echo] . >> > > > [echo] Installing CBIL/Util >> > > > >> > > > recordBuildState: >> > > > [propertyfile] Updating property file: >> /Users/Nicolas/GUS/gus_home/config/.build.info >> > > > >> > > > defaultComponentInstall: >> > > > [echo] . >> > > > [echo] Installing CBIL/Cider >> > > > >> > > > recordBuildState: >> > > > [propertyfile] Updating property file: >> /Users/Nicolas/GUS/gus_home/config/.build.info >> > > > >> > > > defaultComponentInstall: >> > > > [echo] . >> > > > [echo] Installing CBIL/HQ >> > > > >> > > > recordBuildState: >> > > > [propertyfile] Updating property file: >> /Users/Nicolas/GUS/gus_home/config/.build.info >> > > > >> > > > defaultComponentInstall: >> > > > [echo] . >> > > > [echo] Installing CBIL/TranscriptExpression >> > > > >> > > > recordBuildState: >> > > > [propertyfile] Updating property file: >> /Users/Nicolas/GUS/gus_home/config/.build.info >> > > > >> > > > defaultComponentInstall: >> > > > [echo] . >> > > > [echo] Installing CBIL/ObjectMapper >> > > > >> > > > recordBuildState: >> > > > [propertyfile] Updating property file: >> /Users/Nicolas/GUS/gus_home/config/.build.info >> > > > >> > > > defaultComponentInstall: >> > > > [echo] . >> > > > [echo] Installing GUS/Supported >> > > > >> > > > defaultJavaCompile: >> > > > [javac] /Users/Nicolas/GUS/project_home/install/build.xml:332: >> warning: 'includeantruntime' was not set, defaulting to >> build.sysclasspath=last; set to false for repeatable builds >> > > > >> > > > recordBuildState: >> > > > [propertyfile] Updating property file: >> /Users/Nicolas/GUS/gus_home/config/.build.info >> > > > >> > > > defaultComponentInstall: >> > > > [echo] . >> > > > [echo] Installing GUS/Community >> > > > >> > > > recordBuildState: >> > > > [propertyfile] Updating property file: >> /Users/Nicolas/GUS/gus_home/config/.build.info >> > > > >> > > > defaultComponentInstall: >> > > > [echo] . >> > > > [echo] Installing GUS/DBAdmin >> > > > >> > > > defaultJavaCompile: >> > > > [javac] /Users/Nicolas/GUS/project_home/install/build.xml:332: >> warning: 'includeantruntime' was not set, defaulting to >> build.sysclasspath=last; set to false for repeatable builds >> > > > >> > > > recordBuildState: >> > > > [propertyfile] Updating property file: >> /Users/Nicolas/GUS/gus_home/config/.build.info >> > > > >> > > > defaultComponentInstall: >> > > > [echo] . >> > > > [echo] Installing GUS/GOPredict >> > > > >> > > > defaultJavaCompile: >> > > > [javac] /Users/Nicolas/GUS/project_home/install/build.xml:332: >> warning: 'includeantruntime' was not set, defaulting to >> build.sysclasspath=last; set to false for repeatable builds >> > > > >> > > > recordBuildState: >> > > > [propertyfile] Updating property file: >> /Users/Nicolas/GUS/gus_home/config/.build.info >> > > > >> > > > defaultComponentInstall: >> > > > [echo] . >> > > > [echo] Installing GusSchema/Definition >> > > > >> > > > recordBuildState: >> > > > [propertyfile] Updating property file: >> /Users/Nicolas/GUS/gus_home/config/.build.info >> > > > >> > > > defaultComponentInstall: >> > > > [echo] . >> > > > [echo] Installing GUS/DBAdmin >> > > > >> > > > defaultJavaCompile: >> > > > [javac] /Users/Nicolas/GUS/project_home/install/build.xml:332: >> warning: 'includeantruntime' was not set, defaulting to >> build.sysclasspath=last; set to false for repeatable builds >> > > > >> > > > recordBuildState: >> > > > [propertyfile] Updating property file: >> /Users/Nicolas/GUS/gus_home/config/.build.info >> > > > >> > > > InstallSchema: >> > > > [InstallSchema] INFO [main] (InstallSchemaTask.java:79) - Reading >> database from >> /Users/Nicolas/GUS/project_home/GusSchema/Definition/config/gus_schema.xml >> > > > [InstallSchema] INFO [main] (SchemaReader.java:48) - Reading >> Database >> > > > [InstallSchema] INFO [main] (Database.java:161) - Resolving >> Database References >> > > > [InstallSchema] INFO [main] (DatabaseValidator.java:57) - >> Validating Database: 'null' >> > > > [InstallSchema] INFO [main] (InstallSchemaTask.java:87) - >> Overriding individual tablespace specifications with value "GUS" from >> property file >> > > > [InstallSchema] INFO [main] (DatabaseValidator.java:57) - >> Validating Database: 'null' >> > > > [InstallSchema] INFO [main] (SchemaWriter.java:33) - Writing >> Database >> > > > [InstallSchema] INFO [main] (DatabaseValidator.java:57) - >> Validating Database: 'null' >> > > > [InstallSchema] INFO [main] (SchemaWriter.java:33) - Writing >> Database >> > > > [InstallSchema] ERROR [main] (InstallSchemaTask.java:122) - Null >> version, skipping. Note: You will need to manually add a version number >> to the DB >> > > > [InstallSchema] ERROR [main] (InstallSchemaTask.java:122) - Null >> version, skipping. Note: You will need to manually add a version number >> to the DB >> > > > >> > > > defaultComponentInstall: >> > > > [echo] . >> > > > [echo] Installing GUS/ObjRelP >> > > > >> > > > componentPartCopySub: >> > > > [copy] Copying 3 files to /Users/Nicolas/GUS/gus_home/bin >> > > > >> > > > componentPartCopySub: >> > > > [mkdir] Created dir: >> /Users/Nicolas/GUS/gus_home/lib/perl/GUS/ObjRelP >> > > > [copy] Copying 18 files to >> /Users/Nicolas/GUS/gus_home/lib/perl/GUS/ObjRelP >> > > > >> > > > componentPartCopySub: >> > > > [mkdir] Created dir: /Users/Nicolas/GUS/gus_home/doc/GUS/ObjRelP >> > > > [copy] Copying 3 files to >> /Users/Nicolas/GUS/gus_home/doc/GUS/ObjRelP >> > > > >> > > > recordBuildState: >> > > > [propertyfile] Updating property file: >> /Users/Nicolas/GUS/gus_home/config/.build.info >> > > > >> > > > perlGeneratedModel: >> > > > [mkdir] Created dir: >> /Users/Nicolas/GUS/gus_home/lib/perl/GUS/Model/Core >> > > > [mkdir] Created dir: >> /Users/Nicolas/GUS/gus_home/lib/perl/GUS/Model/DoTS >> > > > [mkdir] Created dir: >> /Users/Nicolas/GUS/gus_home/lib/perl/GUS/Model/RAD >> > > > [mkdir] Created dir: >> /Users/Nicolas/GUS/gus_home/lib/perl/GUS/Model/SRes >> > > > [mkdir] Created dir: >> /Users/Nicolas/GUS/gus_home/lib/perl/GUS/Model/TESS >> > > > [mkdir] Created dir: >> /Users/Nicolas/GUS/gus_home/lib/perl/GUS/Model/PROT >> > > > [mkdir] Created dir: >> /Users/Nicolas/GUS/gus_home/lib/perl/GUS/Model/Study >> > > > [echo] generating Perl Objects >> > > > >> > > > BUILD FAILED >> > > > /Users/Nicolas/GUS/project_home/install/build.xml:38: The following >> error occurred while executing this line: >> > > > /Users/Nicolas/GUS/project_home/GUS/build.xml:258: Execute failed: >> java.io.IOException: Cannot run program "generateGusObjects" (in directory >> "/Users/Nicolas/GUS/project_home/install"): error=2, No such file or >> directory >> > > > at java.lang.ProcessBuilder.start(ProcessBuilder.java:460) >> > > > at java.lang.Runtime.exec(Runtime.java:593) >> > > > at >> org.apache.tools.ant.taskdefs.Execute$Java13CommandLauncher.exec(Execute.java:862) >> > > > at >> org.apache.tools.ant.taskdefs.Execute.launch(Execute.java:481) >> > > > at >> org.apache.tools.ant.taskdefs.Execute.execute(Execute.java:495) >> > > > at >> org.apache.tools.ant.taskdefs.ExecTask.runExecute(ExecTask.java:631) >> > > > at >> org.apache.tools.ant.taskdefs.ExecTask.runExec(ExecTask.java:672) >> > > > at >> org.apache.tools.ant.taskdefs.ExecTask.execute(ExecTask.java:498) >> > > > at >> org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) >> > > > at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) >> > > > at >> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) >> > > > at java.lang.reflect.Method.invoke(Method.java:597) >> > > > at >> org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) >> > > > at org.apache.tools.ant.Task.perform(Task.java:348) >> > > > at org.apache.tools.ant.Target.execute(Target.java:392) >> > > > at org.apache.tools.ant.Target.performTasks(Target.java:413) >> > > > at >> org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399) >> > > > at >> org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38) >> > > > at >> org.apache.tools.ant.Project.executeTargets(Project.java:1251) >> > > > at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442) >> > > > at >> org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) >> > > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >> > > > at >> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) >> > > > at >> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) >> > > > at java.lang.reflect.Method.invoke(Method.java:597) >> > > > at >> org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) >> > > > at org.apache.tools.ant.Task.perform(Task.java:348) >> > > > at org.apache.tools.ant.Target.execute(Target.java:392) >> > > > at org.apache.tools.ant.Target.performTasks(Target.java:413) >> > > > at >> org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399) >> > > > at >> org.apache.tools.ant.Project.executeTarget(Project.java:1368) >> > > > at >> org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41) >> > > > at >> org.apache.tools.ant.Project.executeTargets(Project.java:1251) >> > > > at org.apache.tools.ant.Main.runBuild(Main.java:811) >> > > > at org.apache.tools.ant.Main.startAnt(Main.java:217) >> > > > at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280) >> > > > at >> org.apache.tools.ant.launch.Launcher.main(Launcher.java:109) >> > > > Caused by: java.io.IOException: error=2, No such file or directory >> > > > at java.lang.UNIXProcess.forkAndExec(Native Method) >> > > > at java.lang.UNIXProcess.<init>(UNIXProcess.java:53) >> > > > at java.lang.ProcessImpl.start(ProcessImpl.java:91) >> > > > at java.lang.ProcessBuilder.start(ProcessBuilder.java:453) >> > > > ... 36 more >> > > > >> > > > Total time: 30 seconds >> > > > >> > > > >> > > > >> > > > On Fri, Mar 23, 2012 at 10:37, Mark Heiges <mh...@ug...> wrote: >> > > > Hi Nicolas, Are you using code from the gus subversion repository? >> If so, do an svn update. This bug was fixed this morning. If not from >> subversion, where did you get your code? >> > > > >> > > > -Mark >> > > > >> > > > On Mar 22, 2012, at 9:24 PM, Nicolas Joannin wrote: >> > > > >> > > > > Good morning Mark, Rodrigo and John, >> > > > > >> > > > > Indeed, the ojdbc5.jar file helped to get further ahead :) >> > > > > Unfortunately, there are still some errors (see below). >> > > > > >> > > > > Best regards, >> > > > > Nicolas >> > > > > >> > > > > >> > > > > >> > > > > Nicolas-work-iMac:bin Nicolas$ ./build GUS install -append >> -installDBSchema >> > > > > Buildfile: /Users/Nicolas/GUS/project_home/install/build.xml >> > > > > >> > > > > install: >> > > > > [echo] proj=GUS >> > > > > [echo] comp= >> > > > > >> > > > > defaultComponentInstall: >> > > > > [echo] . >> > > > > [echo] Installing CBIL/Bio >> > > > > >> > > > > recordBuildState: >> > > > > [propertyfile] Updating property file: >> /Users/Nicolas/GUS/gus_home/config/.build.info >> > > > > >> > > > > defaultComponentInstall: >> > > > > [echo] . >> > > > > [echo] Installing CBIL/CSP >> > > > > >> > > > > defaultJavaCompile: >> > > > > [javac] >> /Users/Nicolas/GUS/project_home/install/build.xml:332: warning: >> 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set >> to false for repeatable builds >> > > > > >> > > > > recordBuildState: >> > > > > [propertyfile] Updating property file: >> /Users/Nicolas/GUS/gus_home/config/.build.info >> > > > > >> > > > > defaultComponentInstall: >> > > > > [echo] . >> > > > > [echo] Installing CBIL/Util >> > > > > >> > > > > recordBuildState: >> > > > > [propertyfile] Updating property file: >> /Users/Nicolas/GUS/gus_home/config/.build.info >> > > > > >> > > > > defaultComponentInstall: >> > > > > [echo] . >> > > > > [echo] Installing CBIL/Cider >> > > > > >> > > > > recordBuildState: >> > > > > [propertyfile] Updating property file: >> /Users/Nicolas/GUS/gus_home/config/.build.info >> > > > > >> > > > > defaultComponentInstall: >> > > > > [echo] . >> > > > > [echo] Installing CBIL/HQ >> > > > > >> > > > > recordBuildState: >> > > > > [propertyfile] Updating property file: >> /Users/Nicolas/GUS/gus_home/config/.build.info >> > > > > >> > > > > defaultComponentInstall: >> > > > > [echo] . >> > > > > [echo] Installing CBIL/TranscriptExpression >> > > > > >> > > > > recordBuildState: >> > > > > [propertyfile] Updating property file: >> /Users/Nicolas/GUS/gus_home/config/.build.info >> > > > > >> > > > > defaultComponentInstall: >> > > > > [echo] . >> > > > > [echo] Installing CBIL/ObjectMapper >> > > > > >> > > > > recordBuildState: >> > > > > [propertyfile] Updating property file: >> /Users/Nicolas/GUS/gus_home/config/.build.info >> > > > > >> > > > > defaultComponentInstall: >> > > > > [echo] . >> > > > > [echo] Installing GUS/Supported >> > > > > >> > > > > defaultJavaCompile: >> > > > > [javac] >> /Users/Nicolas/GUS/project_home/install/build.xml:332: warning: >> 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set >> to false for repeatable builds >> > > > > >> > > > > recordBuildState: >> > > > > [propertyfile] Updating property file: >> /Users/Nicolas/GUS/gus_home/config/.build.info >> > > > > >> > > > > defaultComponentInstall: >> > > > > [echo] . >> > > > > [echo] Installing GUS/Community >> > > > > >> > > > > recordBuildState: >> > > > > [propertyfile] Updating property file: >> /Users/Nicolas/GUS/gus_home/config/.build.info >> > > > > >> > > > > defaultComponentInstall: >> > > > > [echo] . >> > > > > [echo] Installing GUS/DBAdmin >> > > > > >> > > > > defaultJavaCompile: >> > > > > [javac] >> /Users/Nicolas/GUS/project_home/install/build.xml:332: warning: >> 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set >> to false for repeatable builds >> > > > > >> > > > > recordBuildState: >> > > > > [propertyfile] Updating property file: >> /Users/Nicolas/GUS/gus_home/config/.build.info >> > > > > >> > > > > defaultComponentInstall: >> > > > > [echo] . >> > > > > [echo] Installing GUS/GOPredict >> > > > > >> > > > > defaultJavaCompile: >> > > > > [javac] >> /Users/Nicolas/GUS/project_home/install/build.xml:332: warning: >> 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set >> to false for repeatable builds >> > > > > >> > > > > recordBuildState: >> > > > > [propertyfile] Updating property file: >> /Users/Nicolas/GUS/gus_home/config/.build.info >> > > > > >> > > > > defaultComponentInstall: >> > > > > [echo] . >> > > > > [echo] Installing GusSchema/Definition >> > > > > >> > > > > recordBuildState: >> > > > > [propertyfile] Updating property file: >> /Users/Nicolas/GUS/gus_home/config/.build.info >> > > > > >> > > > > defaultComponentInstall: >> > > > > [echo] . >> > > > > [echo] Installing GUS/DBAdmin >> > > > > >> > > > > defaultJavaCompile: >> > > > > [javac] >> /Users/Nicolas/GUS/project_home/install/build.xml:332: warning: >> 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set >> to false for repeatable builds >> > > > > >> > > > > recordBuildState: >> > > > > [propertyfile] Updating property file: >> /Users/Nicolas/GUS/gus_home/config/.build.info >> > > > > >> > > > > InstallSchema: >> > > > > [InstallSchema] INFO [main] (InstallSchemaTask.java:79) - >> Reading database from >> /Users/Nicolas/GUS/project_home/GusSchema/Definition/config/gus_schema.xml >> > > > > [InstallSchema] INFO [main] (SchemaReader.java:48) - Reading >> Database >> > > > > [InstallSchema] INFO [main] (Database.java:161) - Resolving >> Database References >> > > > > [InstallSchema] INFO [main] (DatabaseValidator.java:57) - >> Validating Database: 'null' >> > > > > [InstallSchema] INFO [main] (InstallSchemaTask.java:87) - >> Overriding individual tablespace specifications with value "GUS" from >> property file >> > > > > [InstallSchema] INFO [main] (DatabaseValidator.java:57) - >> Validating Database: 'null' >> > > > > [InstallSchema] INFO [main] (SchemaWriter.java:33) - Writing >> Database >> > > > > [InstallSchema] INFO [main] (DatabaseValidator.java:57) - >> Validating Database: 'null' >> > > > > [InstallSchema] INFO [main] (SchemaWriter.java:33) - Writing >> Database >> > > > > >> > > > > BUILD FAILED >> > > > > /Users/Nicolas/GUS/project_home/install/build.xml:38: The >> following error occurred while executing this line: >> > > > > /Users/Nicolas/GUS/project_home/GUS/build.xml:16: The following >> error occurred while executing this line: >> > > > > /Users/Nicolas/GUS/project_home/GusSchema/build.xml:63: >> java.io.IOException: Error executing SQL: ' >> > > > > >> > > > > CREATE TABLE Core.AlgorithmInvocation ( >> > > > > ALGORITHM_INVOCATION_ID NUMERIC(12,0) NOT NULL, >> > > > > ALGORITHM_IMPLEMENTATION_ID NUMERIC(5,0) NOT NULL, >> > > > > START_TIME TIMESTAMP NOT NULL, >> > > > > END_TIME TIMESTAMP NOT NULL, >> > > > > CPUS_USED NUMERIC(5,0) , >> > > > > CPU_TIME FLOAT(126) , >> > > > > RESULT VARCHAR(350) NOT NULL, >> > > > > COMMENT_STRING VARCHAR(255) , >> > > > > MODIFICATION_DATE TIMESTAMP NOT NULL, >> > > > > USER_READ NUMERIC(1,0) NOT NULL, >> > > > > USER_WRITE NUMERIC(1,0) NOT NULL, >> > > > > GROUP_READ NUMERIC(1,0) NOT NULL, >> > > > > GROUP_WRITE NUMERIC(1,0) NOT NULL, >> > > > > OTHER_READ NUMERIC(1,0) NOT NULL, >> > > > > OTHER_WRITE NUMERIC(1,0) NOT NULL, >> > > > > ROW_USER_ID NUMERIC(12,0) NOT NULL, >> > > > > ROW_GROUP_ID NUMERIC(4,0) NOT NULL, >> > > > > ROW_PROJECT_ID NUMERIC(4,0) NOT NULL, >> > > > > ROW_ALG_INVOCATION_ID NUMERIC(12,0) NOT NULL)' Error: >> ERROR: precision for type float must be less than 54 bits >> > > > > at >> org.gusdb.dbadmin.util.JDBCStreamWriter.flush(JDBCStreamWriter.java:57) >> > > > > at >> org.gusdb.dbadmin.writer.RelationalDatabaseWriter.writeTable(RelationalDatabaseWriter.java:67) >> > > > > at >> org.gusdb.dbadmin.writer.RelationalDatabaseWriter.writeTables(RelationalDatabaseWriter.java:43) >> > > > > at >> org.gusdb.dbadmin.writer.PostgresWriter.writeDatabase(PostgresWriter.java:68) >> > > > > at >> org.gusdb.dbadmin.writer.SchemaWriter.write(SchemaWriter.java:34) >> > > > > at >> org.gusdb.dbadmin.util.InstallSchemaTask.execute(InstallSchemaTask.java:99) >> > > > > at >> org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) >> > > > > at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown >> Source) >> > > > > at >> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) >> > > > > at java.lang.reflect.Method.invoke(Method.java:597) >> > > > > at >> org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) >> > > > > at org.apache.tools.ant.Task.perform(Task.java:348) >> > > > > at org.apache.tools.ant.Target.execute(Target.java:392) >> > > > > at org.apache.tools.ant.Target.performTasks(Target.java:413) >> > > > > at >> org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399) >> > > > > at >> org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38) >> > > > > at >> org.apache.tools.ant.Project.executeTargets(Project.java:1251) >> > > > > at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442) >> > > > > at >> org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) >> > > > > at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown >> Source) >> > > > > at >> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) >> > > > > at java.lang.reflect.Method.invoke(Method.java:597) >> > > > > at >> org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) >> > > > > at org.apache.tools.ant.Task.perform(Task.java:348) >> > > > > at org.apache.tools.ant.Target.execute(Target.java:392) >> > > > > at org.apache.tools.ant.Target.performTasks(Target.java:413) >> > > > > at >> org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399) >> > > > > at >> org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38) >> > > > > at >> org.apache.tools.ant.Project.executeTargets(Project.java:1251) >> > > > > at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442) >> > > > > at >> org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) >> > > > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native >> Method) >> > > > > at >> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) >> > > > > at >> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) >> > > > > at java.lang.reflect.Method.invoke(Method.java:597) >> > > > > at >> org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) >> > > > > at org.apache.tools.ant.Task.perform(Task.java:348) >> > > > > at org.apache.tools.ant.Target.execute(Target.java:392) >> > > > > at org.apache.tools.ant.Target.performTasks(Target.java:413) >> > > > > at >> org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399) >> > > > > at >> org.apache.tools.ant.Project.executeTarget(Project.java:1368) >> > > > > at >> org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41) >> > > > > at >> org.apache.tools.ant.Project.executeTargets(Project.java:1251) >> > > > > at org.apache.tools.ant.Main.runBuild(Main.java:811) >> > > > > at org.apache.tools.ant.Main.startAnt(Main.java:217) >> > > > > at >> org.apache.tools.ant.launch.Launcher.run(Launcher.java:280) >> > > > > at >> org.apache.tools.ant.launch.Launcher.main(Launcher.java:109) >> > > > > >> > > > > Total time: 20 seconds >> > > > > >> > > > > >> > > > > On Thu, Mar 22, 2012 at 23:23, Mark Heiges <mh...@ug...> >> wrote: >> > > > > I have confirmed that the ojdbc jar is required for the code to >> compile. >> > > > > >> > > > > -Mark >> > > > > >> > > > > On Mar 22, 2012, at 10:09 AM, John Iodice wrote: >> > > > > >> > > > > > Hi Nicolas, >> > > > > > >> > > > > > That dbVendor setting looks right; I think that your >> configuration is correct for a Postgres install (and that I was mistaken to >> think that the install is looking for oracle.jdbc.OracleDriver because it's >> configured to use Oracle). >> > > > > > >> > > > > > Looking in my own $GUS_HOME/lib/java/db_driver directory, I see >> that I have both Oracle and Postgres drivers, though I only use Oracle. >> Maybe both are required to compile the Java? These are the files I have >> there: >> > > > > > >> > > > > > $ ls $GUS_HOME/lib/java/db_driver/ >> > > > > > ojdbc5.jar postgresql-8.3-603.jdbc3.jar >> > > > > > >> > > > > > I see that ojdbc5.jar does contain >> oracle/jdbc/OracleDriver.class. I suggest you try downloading that jarfile. >> You can get it from here: >> http://www.oracle.com/technetwork/database/enterprise-edition/jdbc-111060-084321.html >> > > > > > >> > > > > > -- John >> > > > > > >> > > > >> > > > >> > > > >> > > >> > > >> > > >> > >> > >> > >> >> >> > |
From: Nicolas J. <nic...@gm...> - 2012-03-23 09:04:22
|
Hi again, Thanks again for the help! I just have one last question: In the Install Guide for GUS, it is written that one should register the GUS application framework with the following command: $ ga +meta --commit I'm not quite sure what this does, and when I do run it, I get the following message: Nicolas-work-iMac:bin Nicolas$ ga +meta --commit ERROR: Database version does not match required version for Plugin. Database Version: Plugin Version: 3.6 Is this registration something I should worry about? If so, any suggestions as to what this problem might be? Best regards, Nicolas On Fri, Mar 23, 2012 at 13:05, Mark Heiges <mh...@ug...> wrote: > whew! > > On Mar 23, 2012, at 12:01 AM, Nicolas Joannin wrote: > > > Indeed, again, my mistake! > > Thank you all for your help: BUILD SUCCESSFUL ;) > > > > Best regards, > > Nicolas > > > > > > On Fri, Mar 23, 2012 at 12:40, Mark Heiges <mh...@ug...> wrote: > > Check the dbiDsn setting in your gus.config. What you sent earlier > (dbiDsn=dbi:Pg:dbname=<my_db_name>) looks correct to me; make sure that > hasn't changed. The error is symptomatic of missing the 'dbname=' prefix > > > > > > > > > > > > On Mar 22, 2012, at 11:20 PM, Nicolas Joannin wrote: > > > > > Hi Mark, > > > > > > Thanks: indeed, I made the mistake of adjusting the PATH with > $GUS_HOME/bin etc. before actually exporting GUS_HOME. > > > > > > I've rerun the build GUS install -append and it now has a new error: > > > perlGeneratedModel: > > > [echo] generating Perl Objects > > > [exec] GUS::ObjRelP::DbiDbHandle > connect('varDB_2012','postgres',...) failed: missing "=" after "varDB_2012" > in connection info string at > /Users/Nicolas/GUS/gus_home/lib/perl/GUS/ObjRelP/DbiDatabase.pm line 173 > > > [exec] Can't bless non-reference value at > /Users/Nicolas/GUS/gus_home/lib/perl/GUS/ObjRelP/DbiDbHandle.pm line 21. > > > > > > BUILD FAILED > > > /Users/Nicolas/GUS/project_home/install/build.xml:38: The following > error occurred while executing this line: > > > /Users/Nicolas/GUS/project_home/GUS/build.xml:258: exec returned: 255 > > > > > > Thanks again for your help! > > > Best regards, > > > Nicolas > > > > > > > > > Full output: > > > > > > Nicolas-work-iMac:bin Nicolas$ ./build GUS install -append > > > Buildfile: /Users/Nicolas/GUS/project_home/install/build.xml > > > > > > install: > > > [echo] proj=GUS > > > [echo] comp= > > > > > > defaultComponentInstall: > > > [echo] . > > > [echo] Installing CBIL/Bio > > > > > > recordBuildState: > > > [propertyfile] Updating property file: > /Users/Nicolas/GUS/gus_home/config/.build.info > > > > > > defaultComponentInstall: > > > [echo] . > > > [echo] Installing CBIL/CSP > > > > > > defaultJavaCompile: > > > [javac] /Users/Nicolas/GUS/project_home/install/build.xml:332: > warning: 'includeantruntime' was not set, defaulting to > build.sysclasspath=last; set to false for repeatable builds > > > > > > recordBuildState: > > > [propertyfile] Updating property file: > /Users/Nicolas/GUS/gus_home/config/.build.info > > > > > > defaultComponentInstall: > > > [echo] . > > > [echo] Installing CBIL/Util > > > > > > recordBuildState: > > > [propertyfile] Updating property file: > /Users/Nicolas/GUS/gus_home/config/.build.info > > > > > > defaultComponentInstall: > > > [echo] . > > > [echo] Installing CBIL/Cider > > > > > > recordBuildState: > > > [propertyfile] Updating property file: > /Users/Nicolas/GUS/gus_home/config/.build.info > > > > > > defaultComponentInstall: > > > [echo] . > > > [echo] Installing CBIL/HQ > > > > > > recordBuildState: > > > [propertyfile] Updating property file: > /Users/Nicolas/GUS/gus_home/config/.build.info > > > > > > defaultComponentInstall: > > > [echo] . > > > [echo] Installing CBIL/TranscriptExpression > > > > > > recordBuildState: > > > [propertyfile] Updating property file: > /Users/Nicolas/GUS/gus_home/config/.build.info > > > > > > defaultComponentInstall: > > > [echo] . > > > [echo] Installing CBIL/ObjectMapper > > > > > > recordBuildState: > > > [propertyfile] Updating property file: > /Users/Nicolas/GUS/gus_home/config/.build.info > > > > > > defaultComponentInstall: > > > [echo] . > > > [echo] Installing GUS/Supported > > > > > > defaultJavaCompile: > > > [javac] /Users/Nicolas/GUS/project_home/install/build.xml:332: > warning: 'includeantruntime' was not set, defaulting to > build.sysclasspath=last; set to false for repeatable builds > > > > > > recordBuildState: > > > [propertyfile] Updating property file: > /Users/Nicolas/GUS/gus_home/config/.build.info > > > > > > defaultComponentInstall: > > > [echo] . > > > [echo] Installing GUS/Community > > > > > > recordBuildState: > > > [propertyfile] Updating property file: > /Users/Nicolas/GUS/gus_home/config/.build.info > > > > > > defaultComponentInstall: > > > [echo] . > > > [echo] Installing GUS/DBAdmin > > > > > > defaultJavaCompile: > > > [javac] /Users/Nicolas/GUS/project_home/install/build.xml:332: > warning: 'includeantruntime' was not set, defaulting to > build.sysclasspath=last; set to false for repeatable builds > > > > > > recordBuildState: > > > [propertyfile] Updating property file: > /Users/Nicolas/GUS/gus_home/config/.build.info > > > > > > defaultComponentInstall: > > > [echo] . > > > [echo] Installing GUS/GOPredict > > > > > > defaultJavaCompile: > > > [javac] /Users/Nicolas/GUS/project_home/install/build.xml:332: > warning: 'includeantruntime' was not set, defaulting to > build.sysclasspath=last; set to false for repeatable builds > > > > > > recordBuildState: > > > [propertyfile] Updating property file: > /Users/Nicolas/GUS/gus_home/config/.build.info > > > > > > defaultComponentInstall: > > > [echo] . > > > [echo] Installing GusSchema/Definition > > > > > > recordBuildState: > > > [propertyfile] Updating property file: > /Users/Nicolas/GUS/gus_home/config/.build.info > > > > > > defaultComponentInstall: > > > [echo] . > > > [echo] Installing GUS/DBAdmin > > > > > > defaultJavaCompile: > > > [javac] /Users/Nicolas/GUS/project_home/install/build.xml:332: > warning: 'includeantruntime' was not set, defaulting to > build.sysclasspath=last; set to false for repeatable builds > > > > > > recordBuildState: > > > [propertyfile] Updating property file: > /Users/Nicolas/GUS/gus_home/config/.build.info > > > > > > defaultComponentInstall: > > > [echo] . > > > [echo] Installing GUS/ObjRelP > > > > > > recordBuildState: > > > [propertyfile] Updating property file: > /Users/Nicolas/GUS/gus_home/config/.build.info > > > > > > perlGeneratedModel: > > > [echo] generating Perl Objects > > > [exec] GUS::ObjRelP::DbiDbHandle > connect('varDB_2012','postgres',...) failed: missing "=" after "varDB_2012" > in connection info string at > /Users/Nicolas/GUS/gus_home/lib/perl/GUS/ObjRelP/DbiDatabase.pm line 173 > > > [exec] Can't bless non-reference value at > /Users/Nicolas/GUS/gus_home/lib/perl/GUS/ObjRelP/DbiDbHandle.pm line 21. > > > > > > BUILD FAILED > > > /Users/Nicolas/GUS/project_home/install/build.xml:38: The following > error occurred while executing this line: > > > /Users/Nicolas/GUS/project_home/GUS/build.xml:258: exec returned: 255 > > > > > > Total time: 20 seconds > > > > > > On Fri, Mar 23, 2012 at 12:00, Mark Heiges <mh...@ug...> wrote: > > > The includeantruntime warning is an ant 1.8 "feature". I'm pretty sure > you can ignore that warning in this case, I don't see any abnormal > repercussions from it, but we've not used that version of ant ourselves. > You can google that warning for more information if you're curious. > > > > > > The generateGusObjects error makes me suspect that your PATH doesn't > include $GUS_HOME/bin . You'll want something like > > > export PATH=$GUS_HOME/bin:$PROJECT_HOME/install/bin:$PATH > > > > > > At this point the schema is installed in your database (log in with a > client and confirm). So the next time run "build GUS install -append" > (without the -installDBSchema) and it should resume with the "generating > Perl Objects". > > > > > > > > > On Mar 22, 2012, at 9:59 PM, Nicolas Joannin wrote: > > > > > > > Hi Mark, > > > > > > > > I got the code from the subversion repository, but that was a couple > weeks ago, I think. > > > > I've just tried with the latest svn update. > > > > > > > > I started all from scratch: I deleted the GUS folder I was working > in and replaced it with the new. > > > > I run the install a first time and encountered the same ojdbc5.jar > problem. > > > > > > > > So I added that file to the proper directory and rerun the install. > > > > > > > > This time I get different errors (see full output below): > > > > > > > > defaultJavaCompile: > > > > [javac] /Users/Nicolas/GUS/project_home/install/build.xml:332: > warning: 'includeantruntime' was not set, defaulting to > build.sysclasspath=last; set to false for repeatable builds > > > > > > > > [InstallSchema] ERROR [main] (InstallSchemaTask.java:122) - Null > version, skipping. Note: You will need to manually add a version number > to the DB > > > > > > > > BUILD FAILED > > > > /Users/Nicolas/GUS/project_home/install/build.xml:38: The following > error occurred while executing this line: > > > > /Users/Nicolas/GUS/project_home/GUS/build.xml:258: Execute failed: > java.io.IOException: Cannot run program "generateGusObjects" (in directory > "/Users/Nicolas/GUS/project_home/install"): error=2, No such file or > directory > > > > > > > > The first one (with the "warning: 'includeantruntime'") occurs > several times. > > > > > > > > Thanks for the quick responses! > > > > Best regards, > > > > Nicolas > > > > > > > > > > > > Here's the full output: > > > > > > > > Nicolas-work-iMac:bin Nicolas$ ./build GUS install -append > -installDBSchema > > > > Buildfile: /Users/Nicolas/GUS/project_home/install/build.xml > > > > > > > > install: > > > > [echo] proj=GUS > > > > [echo] comp= > > > > > > > > defaultComponentInstall: > > > > [echo] . > > > > [echo] Installing CBIL/Bio > > > > > > > > recordBuildState: > > > > [propertyfile] Updating property file: > /Users/Nicolas/GUS/gus_home/config/.build.info > > > > > > > > defaultComponentInstall: > > > > [echo] . > > > > [echo] Installing CBIL/CSP > > > > > > > > defaultJavaCompile: > > > > [javac] /Users/Nicolas/GUS/project_home/install/build.xml:332: > warning: 'includeantruntime' was not set, defaulting to > build.sysclasspath=last; set to false for repeatable builds > > > > > > > > recordBuildState: > > > > [propertyfile] Updating property file: > /Users/Nicolas/GUS/gus_home/config/.build.info > > > > > > > > defaultComponentInstall: > > > > [echo] . > > > > [echo] Installing CBIL/Util > > > > > > > > recordBuildState: > > > > [propertyfile] Updating property file: > /Users/Nicolas/GUS/gus_home/config/.build.info > > > > > > > > defaultComponentInstall: > > > > [echo] . > > > > [echo] Installing CBIL/Cider > > > > > > > > recordBuildState: > > > > [propertyfile] Updating property file: > /Users/Nicolas/GUS/gus_home/config/.build.info > > > > > > > > defaultComponentInstall: > > > > [echo] . > > > > [echo] Installing CBIL/HQ > > > > > > > > recordBuildState: > > > > [propertyfile] Updating property file: > /Users/Nicolas/GUS/gus_home/config/.build.info > > > > > > > > defaultComponentInstall: > > > > [echo] . > > > > [echo] Installing CBIL/TranscriptExpression > > > > > > > > recordBuildState: > > > > [propertyfile] Updating property file: > /Users/Nicolas/GUS/gus_home/config/.build.info > > > > > > > > defaultComponentInstall: > > > > [echo] . > > > > [echo] Installing CBIL/ObjectMapper > > > > > > > > recordBuildState: > > > > [propertyfile] Updating property file: > /Users/Nicolas/GUS/gus_home/config/.build.info > > > > > > > > defaultComponentInstall: > > > > [echo] . > > > > [echo] Installing GUS/Supported > > > > > > > > defaultJavaCompile: > > > > [javac] /Users/Nicolas/GUS/project_home/install/build.xml:332: > warning: 'includeantruntime' was not set, defaulting to > build.sysclasspath=last; set to false for repeatable builds > > > > > > > > recordBuildState: > > > > [propertyfile] Updating property file: > /Users/Nicolas/GUS/gus_home/config/.build.info > > > > > > > > defaultComponentInstall: > > > > [echo] . > > > > [echo] Installing GUS/Community > > > > > > > > recordBuildState: > > > > [propertyfile] Updating property file: > /Users/Nicolas/GUS/gus_home/config/.build.info > > > > > > > > defaultComponentInstall: > > > > [echo] . > > > > [echo] Installing GUS/DBAdmin > > > > > > > > defaultJavaCompile: > > > > [javac] /Users/Nicolas/GUS/project_home/install/build.xml:332: > warning: 'includeantruntime' was not set, defaulting to > build.sysclasspath=last; set to false for repeatable builds > > > > > > > > recordBuildState: > > > > [propertyfile] Updating property file: > /Users/Nicolas/GUS/gus_home/config/.build.info > > > > > > > > defaultComponentInstall: > > > > [echo] . > > > > [echo] Installing GUS/GOPredict > > > > > > > > defaultJavaCompile: > > > > [javac] /Users/Nicolas/GUS/project_home/install/build.xml:332: > warning: 'includeantruntime' was not set, defaulting to > build.sysclasspath=last; set to false for repeatable builds > > > > > > > > recordBuildState: > > > > [propertyfile] Updating property file: > /Users/Nicolas/GUS/gus_home/config/.build.info > > > > > > > > defaultComponentInstall: > > > > [echo] . > > > > [echo] Installing GusSchema/Definition > > > > > > > > recordBuildState: > > > > [propertyfile] Updating property file: > /Users/Nicolas/GUS/gus_home/config/.build.info > > > > > > > > defaultComponentInstall: > > > > [echo] . > > > > [echo] Installing GUS/DBAdmin > > > > > > > > defaultJavaCompile: > > > > [javac] /Users/Nicolas/GUS/project_home/install/build.xml:332: > warning: 'includeantruntime' was not set, defaulting to > build.sysclasspath=last; set to false for repeatable builds > > > > > > > > recordBuildState: > > > > [propertyfile] Updating property file: > /Users/Nicolas/GUS/gus_home/config/.build.info > > > > > > > > InstallSchema: > > > > [InstallSchema] INFO [main] (InstallSchemaTask.java:79) - Reading > database from > /Users/Nicolas/GUS/project_home/GusSchema/Definition/config/gus_schema.xml > > > > [InstallSchema] INFO [main] (SchemaReader.java:48) - Reading > Database > > > > [InstallSchema] INFO [main] (Database.java:161) - Resolving > Database References > > > > [InstallSchema] INFO [main] (DatabaseValidator.java:57) - > Validating Database: 'null' > > > > [InstallSchema] INFO [main] (InstallSchemaTask.java:87) - > Overriding individual tablespace specifications with value "GUS" from > property file > > > > [InstallSchema] INFO [main] (DatabaseValidator.java:57) - > Validating Database: 'null' > > > > [InstallSchema] INFO [main] (SchemaWriter.java:33) - Writing > Database > > > > [InstallSchema] INFO [main] (DatabaseValidator.java:57) - > Validating Database: 'null' > > > > [InstallSchema] INFO [main] (SchemaWriter.java:33) - Writing > Database > > > > [InstallSchema] ERROR [main] (InstallSchemaTask.java:122) - Null > version, skipping. Note: You will need to manually add a version number > to the DB > > > > [InstallSchema] ERROR [main] (InstallSchemaTask.java:122) - Null > version, skipping. Note: You will need to manually add a version number > to the DB > > > > > > > > defaultComponentInstall: > > > > [echo] . > > > > [echo] Installing GUS/ObjRelP > > > > > > > > componentPartCopySub: > > > > [copy] Copying 3 files to /Users/Nicolas/GUS/gus_home/bin > > > > > > > > componentPartCopySub: > > > > [mkdir] Created dir: > /Users/Nicolas/GUS/gus_home/lib/perl/GUS/ObjRelP > > > > [copy] Copying 18 files to > /Users/Nicolas/GUS/gus_home/lib/perl/GUS/ObjRelP > > > > > > > > componentPartCopySub: > > > > [mkdir] Created dir: /Users/Nicolas/GUS/gus_home/doc/GUS/ObjRelP > > > > [copy] Copying 3 files to > /Users/Nicolas/GUS/gus_home/doc/GUS/ObjRelP > > > > > > > > recordBuildState: > > > > [propertyfile] Updating property file: > /Users/Nicolas/GUS/gus_home/config/.build.info > > > > > > > > perlGeneratedModel: > > > > [mkdir] Created dir: > /Users/Nicolas/GUS/gus_home/lib/perl/GUS/Model/Core > > > > [mkdir] Created dir: > /Users/Nicolas/GUS/gus_home/lib/perl/GUS/Model/DoTS > > > > [mkdir] Created dir: > /Users/Nicolas/GUS/gus_home/lib/perl/GUS/Model/RAD > > > > [mkdir] Created dir: > /Users/Nicolas/GUS/gus_home/lib/perl/GUS/Model/SRes > > > > [mkdir] Created dir: > /Users/Nicolas/GUS/gus_home/lib/perl/GUS/Model/TESS > > > > [mkdir] Created dir: > /Users/Nicolas/GUS/gus_home/lib/perl/GUS/Model/PROT > > > > [mkdir] Created dir: > /Users/Nicolas/GUS/gus_home/lib/perl/GUS/Model/Study > > > > [echo] generating Perl Objects > > > > > > > > BUILD FAILED > > > > /Users/Nicolas/GUS/project_home/install/build.xml:38: The following > error occurred while executing this line: > > > > /Users/Nicolas/GUS/project_home/GUS/build.xml:258: Execute failed: > java.io.IOException: Cannot run program "generateGusObjects" (in directory > "/Users/Nicolas/GUS/project_home/install"): error=2, No such file or > directory > > > > at java.lang.ProcessBuilder.start(ProcessBuilder.java:460) > > > > at java.lang.Runtime.exec(Runtime.java:593) > > > > at > org.apache.tools.ant.taskdefs.Execute$Java13CommandLauncher.exec(Execute.java:862) > > > > at > org.apache.tools.ant.taskdefs.Execute.launch(Execute.java:481) > > > > at > org.apache.tools.ant.taskdefs.Execute.execute(Execute.java:495) > > > > at > org.apache.tools.ant.taskdefs.ExecTask.runExecute(ExecTask.java:631) > > > > at > org.apache.tools.ant.taskdefs.ExecTask.runExec(ExecTask.java:672) > > > > at > org.apache.tools.ant.taskdefs.ExecTask.execute(ExecTask.java:498) > > > > at > org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) > > > > at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) > > > > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > > > > at java.lang.reflect.Method.invoke(Method.java:597) > > > > at > org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) > > > > at org.apache.tools.ant.Task.perform(Task.java:348) > > > > at org.apache.tools.ant.Target.execute(Target.java:392) > > > > at org.apache.tools.ant.Target.performTasks(Target.java:413) > > > > at > org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399) > > > > at > org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38) > > > > at > org.apache.tools.ant.Project.executeTargets(Project.java:1251) > > > > at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442) > > > > at > org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) > > > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > > > > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > > > > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > > > > at java.lang.reflect.Method.invoke(Method.java:597) > > > > at > org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) > > > > at org.apache.tools.ant.Task.perform(Task.java:348) > > > > at org.apache.tools.ant.Target.execute(Target.java:392) > > > > at org.apache.tools.ant.Target.performTasks(Target.java:413) > > > > at > org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399) > > > > at > org.apache.tools.ant.Project.executeTarget(Project.java:1368) > > > > at > org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41) > > > > at > org.apache.tools.ant.Project.executeTargets(Project.java:1251) > > > > at org.apache.tools.ant.Main.runBuild(Main.java:811) > > > > at org.apache.tools.ant.Main.startAnt(Main.java:217) > > > > at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280) > > > > at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109) > > > > Caused by: java.io.IOException: error=2, No such file or directory > > > > at java.lang.UNIXProcess.forkAndExec(Native Method) > > > > at java.lang.UNIXProcess.<init>(UNIXProcess.java:53) > > > > at java.lang.ProcessImpl.start(ProcessImpl.java:91) > > > > at java.lang.ProcessBuilder.start(ProcessBuilder.java:453) > > > > ... 36 more > > > > > > > > Total time: 30 seconds > > > > > > > > > > > > > > > > On Fri, Mar 23, 2012 at 10:37, Mark Heiges <mh...@ug...> wrote: > > > > Hi Nicolas, Are you using code from the gus subversion repository? > If so, do an svn update. This bug was fixed this morning. If not from > subversion, where did you get your code? > > > > > > > > -Mark > > > > > > > > On Mar 22, 2012, at 9:24 PM, Nicolas Joannin wrote: > > > > > > > > > Good morning Mark, Rodrigo and John, > > > > > > > > > > Indeed, the ojdbc5.jar file helped to get further ahead :) > > > > > Unfortunately, there are still some errors (see below). > > > > > > > > > > Best regards, > > > > > Nicolas > > > > > > > > > > > > > > > > > > > > Nicolas-work-iMac:bin Nicolas$ ./build GUS install -append > -installDBSchema > > > > > Buildfile: /Users/Nicolas/GUS/project_home/install/build.xml > > > > > > > > > > install: > > > > > [echo] proj=GUS > > > > > [echo] comp= > > > > > > > > > > defaultComponentInstall: > > > > > [echo] . > > > > > [echo] Installing CBIL/Bio > > > > > > > > > > recordBuildState: > > > > > [propertyfile] Updating property file: > /Users/Nicolas/GUS/gus_home/config/.build.info > > > > > > > > > > defaultComponentInstall: > > > > > [echo] . > > > > > [echo] Installing CBIL/CSP > > > > > > > > > > defaultJavaCompile: > > > > > [javac] /Users/Nicolas/GUS/project_home/install/build.xml:332: > warning: 'includeantruntime' was not set, defaulting to > build.sysclasspath=last; set to false for repeatable builds > > > > > > > > > > recordBuildState: > > > > > [propertyfile] Updating property file: > /Users/Nicolas/GUS/gus_home/config/.build.info > > > > > > > > > > defaultComponentInstall: > > > > > [echo] . > > > > > [echo] Installing CBIL/Util > > > > > > > > > > recordBuildState: > > > > > [propertyfile] Updating property file: > /Users/Nicolas/GUS/gus_home/config/.build.info > > > > > > > > > > defaultComponentInstall: > > > > > [echo] . > > > > > [echo] Installing CBIL/Cider > > > > > > > > > > recordBuildState: > > > > > [propertyfile] Updating property file: > /Users/Nicolas/GUS/gus_home/config/.build.info > > > > > > > > > > defaultComponentInstall: > > > > > [echo] . > > > > > [echo] Installing CBIL/HQ > > > > > > > > > > recordBuildState: > > > > > [propertyfile] Updating property file: > /Users/Nicolas/GUS/gus_home/config/.build.info > > > > > > > > > > defaultComponentInstall: > > > > > [echo] . > > > > > [echo] Installing CBIL/TranscriptExpression > > > > > > > > > > recordBuildState: > > > > > [propertyfile] Updating property file: > /Users/Nicolas/GUS/gus_home/config/.build.info > > > > > > > > > > defaultComponentInstall: > > > > > [echo] . > > > > > [echo] Installing CBIL/ObjectMapper > > > > > > > > > > recordBuildState: > > > > > [propertyfile] Updating property file: > /Users/Nicolas/GUS/gus_home/config/.build.info > > > > > > > > > > defaultComponentInstall: > > > > > [echo] . > > > > > [echo] Installing GUS/Supported > > > > > > > > > > defaultJavaCompile: > > > > > [javac] /Users/Nicolas/GUS/project_home/install/build.xml:332: > warning: 'includeantruntime' was not set, defaulting to > build.sysclasspath=last; set to false for repeatable builds > > > > > > > > > > recordBuildState: > > > > > [propertyfile] Updating property file: > /Users/Nicolas/GUS/gus_home/config/.build.info > > > > > > > > > > defaultComponentInstall: > > > > > [echo] . > > > > > [echo] Installing GUS/Community > > > > > > > > > > recordBuildState: > > > > > [propertyfile] Updating property file: > /Users/Nicolas/GUS/gus_home/config/.build.info > > > > > > > > > > defaultComponentInstall: > > > > > [echo] . > > > > > [echo] Installing GUS/DBAdmin > > > > > > > > > > defaultJavaCompile: > > > > > [javac] /Users/Nicolas/GUS/project_home/install/build.xml:332: > warning: 'includeantruntime' was not set, defaulting to > build.sysclasspath=last; set to false for repeatable builds > > > > > > > > > > recordBuildState: > > > > > [propertyfile] Updating property file: > /Users/Nicolas/GUS/gus_home/config/.build.info > > > > > > > > > > defaultComponentInstall: > > > > > [echo] . > > > > > [echo] Installing GUS/GOPredict > > > > > > > > > > defaultJavaCompile: > > > > > [javac] /Users/Nicolas/GUS/project_home/install/build.xml:332: > warning: 'includeantruntime' was not set, defaulting to > build.sysclasspath=last; set to false for repeatable builds > > > > > > > > > > recordBuildState: > > > > > [propertyfile] Updating property file: > /Users/Nicolas/GUS/gus_home/config/.build.info > > > > > > > > > > defaultComponentInstall: > > > > > [echo] . > > > > > [echo] Installing GusSchema/Definition > > > > > > > > > > recordBuildState: > > > > > [propertyfile] Updating property file: > /Users/Nicolas/GUS/gus_home/config/.build.info > > > > > > > > > > defaultComponentInstall: > > > > > [echo] . > > > > > [echo] Installing GUS/DBAdmin > > > > > > > > > > defaultJavaCompile: > > > > > [javac] /Users/Nicolas/GUS/project_home/install/build.xml:332: > warning: 'includeantruntime' was not set, defaulting to > build.sysclasspath=last; set to false for repeatable builds > > > > > > > > > > recordBuildState: > > > > > [propertyfile] Updating property file: > /Users/Nicolas/GUS/gus_home/config/.build.info > > > > > > > > > > InstallSchema: > > > > > [InstallSchema] INFO [main] (InstallSchemaTask.java:79) - Reading > database from > /Users/Nicolas/GUS/project_home/GusSchema/Definition/config/gus_schema.xml > > > > > [InstallSchema] INFO [main] (SchemaReader.java:48) - Reading > Database > > > > > [InstallSchema] INFO [main] (Database.java:161) - Resolving > Database References > > > > > [InstallSchema] INFO [main] (DatabaseValidator.java:57) - > Validating Database: 'null' > > > > > [InstallSchema] INFO [main] (InstallSchemaTask.java:87) - > Overriding individual tablespace specifications with value "GUS" from > property file > > > > > [InstallSchema] INFO [main] (DatabaseValidator.java:57) - > Validating Database: 'null' > > > > > [InstallSchema] INFO [main] (SchemaWriter.java:33) - Writing > Database > > > > > [InstallSchema] INFO [main] (DatabaseValidator.java:57) - > Validating Database: 'null' > > > > > [InstallSchema] INFO [main] (SchemaWriter.java:33) - Writing > Database > > > > > > > > > > BUILD FAILED > > > > > /Users/Nicolas/GUS/project_home/install/build.xml:38: The > following error occurred while executing this line: > > > > > /Users/Nicolas/GUS/project_home/GUS/build.xml:16: The following > error occurred while executing this line: > > > > > /Users/Nicolas/GUS/project_home/GusSchema/build.xml:63: > java.io.IOException: Error executing SQL: ' > > > > > > > > > > CREATE TABLE Core.AlgorithmInvocation ( > > > > > ALGORITHM_INVOCATION_ID NUMERIC(12,0) NOT NULL, > > > > > ALGORITHM_IMPLEMENTATION_ID NUMERIC(5,0) NOT NULL, > > > > > START_TIME TIMESTAMP NOT NULL, > > > > > END_TIME TIMESTAMP NOT NULL, > > > > > CPUS_USED NUMERIC(5,0) , > > > > > CPU_TIME FLOAT(126) , > > > > > RESULT VARCHAR(350) NOT NULL, > > > > > COMMENT_STRING VARCHAR(255) , > > > > > MODIFICATION_DATE TIMESTAMP NOT NULL, > > > > > USER_READ NUMERIC(1,0) NOT NULL, > > > > > USER_WRITE NUMERIC(1,0) NOT NULL, > > > > > GROUP_READ NUMERIC(1,0) NOT NULL, > > > > > GROUP_WRITE NUMERIC(1,0) NOT NULL, > > > > > OTHER_READ NUMERIC(1,0) NOT NULL, > > > > > OTHER_WRITE NUMERIC(1,0) NOT NULL, > > > > > ROW_USER_ID NUMERIC(12,0) NOT NULL, > > > > > ROW_GROUP_ID NUMERIC(4,0) NOT NULL, > > > > > ROW_PROJECT_ID NUMERIC(4,0) NOT NULL, > > > > > ROW_ALG_INVOCATION_ID NUMERIC(12,0) NOT NULL)' Error: > ERROR: precision for type float must be less than 54 bits > > > > > at > org.gusdb.dbadmin.util.JDBCStreamWriter.flush(JDBCStreamWriter.java:57) > > > > > at > org.gusdb.dbadmin.writer.RelationalDatabaseWriter.writeTable(RelationalDatabaseWriter.java:67) > > > > > at > org.gusdb.dbadmin.writer.RelationalDatabaseWriter.writeTables(RelationalDatabaseWriter.java:43) > > > > > at > org.gusdb.dbadmin.writer.PostgresWriter.writeDatabase(PostgresWriter.java:68) > > > > > at > org.gusdb.dbadmin.writer.SchemaWriter.write(SchemaWriter.java:34) > > > > > at > org.gusdb.dbadmin.util.InstallSchemaTask.execute(InstallSchemaTask.java:99) > > > > > at > org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) > > > > > at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown > Source) > > > > > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > > > > > at java.lang.reflect.Method.invoke(Method.java:597) > > > > > at > org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) > > > > > at org.apache.tools.ant.Task.perform(Task.java:348) > > > > > at org.apache.tools.ant.Target.execute(Target.java:392) > > > > > at org.apache.tools.ant.Target.performTasks(Target.java:413) > > > > > at > org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399) > > > > > at > org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38) > > > > > at > org.apache.tools.ant.Project.executeTargets(Project.java:1251) > > > > > at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442) > > > > > at > org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) > > > > > at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown > Source) > > > > > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > > > > > at java.lang.reflect.Method.invoke(Method.java:597) > > > > > at > org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) > > > > > at org.apache.tools.ant.Task.perform(Task.java:348) > > > > > at org.apache.tools.ant.Target.execute(Target.java:392) > > > > > at org.apache.tools.ant.Target.performTasks(Target.java:413) > > > > > at > org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399) > > > > > at > org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38) > > > > > at > org.apache.tools.ant.Project.executeTargets(Project.java:1251) > > > > > at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442) > > > > > at > org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) > > > > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native > Method) > > > > > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > > > > > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > > > > > at java.lang.reflect.Method.invoke(Method.java:597) > > > > > at > org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) > > > > > at org.apache.tools.ant.Task.perform(Task.java:348) > > > > > at org.apache.tools.ant.Target.execute(Target.java:392) > > > > > at org.apache.tools.ant.Target.performTasks(Target.java:413) > > > > > at > org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399) > > > > > at > org.apache.tools.ant.Project.executeTarget(Project.java:1368) > > > > > at > org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41) > > > > > at > org.apache.tools.ant.Project.executeTargets(Project.java:1251) > > > > > at org.apache.tools.ant.Main.runBuild(Main.java:811) > > > > > at org.apache.tools.ant.Main.startAnt(Main.java:217) > > > > > at > org.apache.tools.ant.launch.Launcher.run(Launcher.java:280) > > > > > at > org.apache.tools.ant.launch.Launcher.main(Launcher.java:109) > > > > > > > > > > Total time: 20 seconds > > > > > > > > > > > > > > > On Thu, Mar 22, 2012 at 23:23, Mark Heiges <mh...@ug...> > wrote: > > > > > I have confirmed that the ojdbc jar is required for the code to > compile. > > > > > > > > > > -Mark > > > > > > > > > > On Mar 22, 2012, at 10:09 AM, John Iodice wrote: > > > > > > > > > > > Hi Nicolas, > > > > > > > > > > > > That dbVendor setting looks right; I think that your > configuration is correct for a Postgres install (and that I was mistaken to > think that the install is looking for oracle.jdbc.OracleDriver because it's > configured to use Oracle). > > > > > > > > > > > > Looking in my own $GUS_HOME/lib/java/db_driver directory, I see > that I have both Oracle and Postgres drivers, though I only use Oracle. > Maybe both are required to compile the Java? These are the files I have > there: > > > > > > > > > > > > $ ls $GUS_HOME/lib/java/db_driver/ > > > > > > ojdbc5.jar postgresql-8.3-603.jdbc3.jar > > > > > > > > > > > > I see that ojdbc5.jar does contain > oracle/jdbc/OracleDriver.class. I suggest you try downloading that jarfile. > You can get it from here: > http://www.oracle.com/technetwork/database/enterprise-edition/jdbc-111060-084321.html > > > > > > > > > > > > -- John > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > |
From: Mark H. <mh...@ug...> - 2012-03-23 04:05:53
|
whew! On Mar 23, 2012, at 12:01 AM, Nicolas Joannin wrote: > Indeed, again, my mistake! > Thank you all for your help: BUILD SUCCESSFUL ;) > > Best regards, > Nicolas > > > On Fri, Mar 23, 2012 at 12:40, Mark Heiges <mh...@ug...> wrote: > Check the dbiDsn setting in your gus.config. What you sent earlier (dbiDsn=dbi:Pg:dbname=<my_db_name>) looks correct to me; make sure that hasn't changed. The error is symptomatic of missing the 'dbname=' prefix > > > > > > On Mar 22, 2012, at 11:20 PM, Nicolas Joannin wrote: > > > Hi Mark, > > > > Thanks: indeed, I made the mistake of adjusting the PATH with $GUS_HOME/bin etc. before actually exporting GUS_HOME. > > > > I've rerun the build GUS install -append and it now has a new error: > > perlGeneratedModel: > > [echo] generating Perl Objects > > [exec] GUS::ObjRelP::DbiDbHandle connect('varDB_2012','postgres',...) failed: missing "=" after "varDB_2012" in connection info string at /Users/Nicolas/GUS/gus_home/lib/perl/GUS/ObjRelP/DbiDatabase.pm line 173 > > [exec] Can't bless non-reference value at /Users/Nicolas/GUS/gus_home/lib/perl/GUS/ObjRelP/DbiDbHandle.pm line 21. > > > > BUILD FAILED > > /Users/Nicolas/GUS/project_home/install/build.xml:38: The following error occurred while executing this line: > > /Users/Nicolas/GUS/project_home/GUS/build.xml:258: exec returned: 255 > > > > Thanks again for your help! > > Best regards, > > Nicolas > > > > > > Full output: > > > > Nicolas-work-iMac:bin Nicolas$ ./build GUS install -append > > Buildfile: /Users/Nicolas/GUS/project_home/install/build.xml > > > > install: > > [echo] proj=GUS > > [echo] comp= > > > > defaultComponentInstall: > > [echo] . > > [echo] Installing CBIL/Bio > > > > recordBuildState: > > [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/.build.info > > > > defaultComponentInstall: > > [echo] . > > [echo] Installing CBIL/CSP > > > > defaultJavaCompile: > > [javac] /Users/Nicolas/GUS/project_home/install/build.xml:332: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds > > > > recordBuildState: > > [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/.build.info > > > > defaultComponentInstall: > > [echo] . > > [echo] Installing CBIL/Util > > > > recordBuildState: > > [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/.build.info > > > > defaultComponentInstall: > > [echo] . > > [echo] Installing CBIL/Cider > > > > recordBuildState: > > [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/.build.info > > > > defaultComponentInstall: > > [echo] . > > [echo] Installing CBIL/HQ > > > > recordBuildState: > > [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/.build.info > > > > defaultComponentInstall: > > [echo] . > > [echo] Installing CBIL/TranscriptExpression > > > > recordBuildState: > > [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/.build.info > > > > defaultComponentInstall: > > [echo] . > > [echo] Installing CBIL/ObjectMapper > > > > recordBuildState: > > [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/.build.info > > > > defaultComponentInstall: > > [echo] . > > [echo] Installing GUS/Supported > > > > defaultJavaCompile: > > [javac] /Users/Nicolas/GUS/project_home/install/build.xml:332: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds > > > > recordBuildState: > > [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/.build.info > > > > defaultComponentInstall: > > [echo] . > > [echo] Installing GUS/Community > > > > recordBuildState: > > [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/.build.info > > > > defaultComponentInstall: > > [echo] . > > [echo] Installing GUS/DBAdmin > > > > defaultJavaCompile: > > [javac] /Users/Nicolas/GUS/project_home/install/build.xml:332: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds > > > > recordBuildState: > > [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/.build.info > > > > defaultComponentInstall: > > [echo] . > > [echo] Installing GUS/GOPredict > > > > defaultJavaCompile: > > [javac] /Users/Nicolas/GUS/project_home/install/build.xml:332: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds > > > > recordBuildState: > > [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/.build.info > > > > defaultComponentInstall: > > [echo] . > > [echo] Installing GusSchema/Definition > > > > recordBuildState: > > [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/.build.info > > > > defaultComponentInstall: > > [echo] . > > [echo] Installing GUS/DBAdmin > > > > defaultJavaCompile: > > [javac] /Users/Nicolas/GUS/project_home/install/build.xml:332: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds > > > > recordBuildState: > > [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/.build.info > > > > defaultComponentInstall: > > [echo] . > > [echo] Installing GUS/ObjRelP > > > > recordBuildState: > > [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/.build.info > > > > perlGeneratedModel: > > [echo] generating Perl Objects > > [exec] GUS::ObjRelP::DbiDbHandle connect('varDB_2012','postgres',...) failed: missing "=" after "varDB_2012" in connection info string at /Users/Nicolas/GUS/gus_home/lib/perl/GUS/ObjRelP/DbiDatabase.pm line 173 > > [exec] Can't bless non-reference value at /Users/Nicolas/GUS/gus_home/lib/perl/GUS/ObjRelP/DbiDbHandle.pm line 21. > > > > BUILD FAILED > > /Users/Nicolas/GUS/project_home/install/build.xml:38: The following error occurred while executing this line: > > /Users/Nicolas/GUS/project_home/GUS/build.xml:258: exec returned: 255 > > > > Total time: 20 seconds > > > > On Fri, Mar 23, 2012 at 12:00, Mark Heiges <mh...@ug...> wrote: > > The includeantruntime warning is an ant 1.8 "feature". I'm pretty sure you can ignore that warning in this case, I don't see any abnormal repercussions from it, but we've not used that version of ant ourselves. You can google that warning for more information if you're curious. > > > > The generateGusObjects error makes me suspect that your PATH doesn't include $GUS_HOME/bin . You'll want something like > > export PATH=$GUS_HOME/bin:$PROJECT_HOME/install/bin:$PATH > > > > At this point the schema is installed in your database (log in with a client and confirm). So the next time run "build GUS install -append" (without the -installDBSchema) and it should resume with the "generating Perl Objects". > > > > > > On Mar 22, 2012, at 9:59 PM, Nicolas Joannin wrote: > > > > > Hi Mark, > > > > > > I got the code from the subversion repository, but that was a couple weeks ago, I think. > > > I've just tried with the latest svn update. > > > > > > I started all from scratch: I deleted the GUS folder I was working in and replaced it with the new. > > > I run the install a first time and encountered the same ojdbc5.jar problem. > > > > > > So I added that file to the proper directory and rerun the install. > > > > > > This time I get different errors (see full output below): > > > > > > defaultJavaCompile: > > > [javac] /Users/Nicolas/GUS/project_home/install/build.xml:332: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds > > > > > > [InstallSchema] ERROR [main] (InstallSchemaTask.java:122) - Null version, skipping. Note: You will need to manually add a version number to the DB > > > > > > BUILD FAILED > > > /Users/Nicolas/GUS/project_home/install/build.xml:38: The following error occurred while executing this line: > > > /Users/Nicolas/GUS/project_home/GUS/build.xml:258: Execute failed: java.io.IOException: Cannot run program "generateGusObjects" (in directory "/Users/Nicolas/GUS/project_home/install"): error=2, No such file or directory > > > > > > The first one (with the "warning: 'includeantruntime'") occurs several times. > > > > > > Thanks for the quick responses! > > > Best regards, > > > Nicolas > > > > > > > > > Here's the full output: > > > > > > Nicolas-work-iMac:bin Nicolas$ ./build GUS install -append -installDBSchema > > > Buildfile: /Users/Nicolas/GUS/project_home/install/build.xml > > > > > > install: > > > [echo] proj=GUS > > > [echo] comp= > > > > > > defaultComponentInstall: > > > [echo] . > > > [echo] Installing CBIL/Bio > > > > > > recordBuildState: > > > [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/.build.info > > > > > > defaultComponentInstall: > > > [echo] . > > > [echo] Installing CBIL/CSP > > > > > > defaultJavaCompile: > > > [javac] /Users/Nicolas/GUS/project_home/install/build.xml:332: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds > > > > > > recordBuildState: > > > [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/.build.info > > > > > > defaultComponentInstall: > > > [echo] . > > > [echo] Installing CBIL/Util > > > > > > recordBuildState: > > > [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/.build.info > > > > > > defaultComponentInstall: > > > [echo] . > > > [echo] Installing CBIL/Cider > > > > > > recordBuildState: > > > [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/.build.info > > > > > > defaultComponentInstall: > > > [echo] . > > > [echo] Installing CBIL/HQ > > > > > > recordBuildState: > > > [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/.build.info > > > > > > defaultComponentInstall: > > > [echo] . > > > [echo] Installing CBIL/TranscriptExpression > > > > > > recordBuildState: > > > [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/.build.info > > > > > > defaultComponentInstall: > > > [echo] . > > > [echo] Installing CBIL/ObjectMapper > > > > > > recordBuildState: > > > [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/.build.info > > > > > > defaultComponentInstall: > > > [echo] . > > > [echo] Installing GUS/Supported > > > > > > defaultJavaCompile: > > > [javac] /Users/Nicolas/GUS/project_home/install/build.xml:332: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds > > > > > > recordBuildState: > > > [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/.build.info > > > > > > defaultComponentInstall: > > > [echo] . > > > [echo] Installing GUS/Community > > > > > > recordBuildState: > > > [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/.build.info > > > > > > defaultComponentInstall: > > > [echo] . > > > [echo] Installing GUS/DBAdmin > > > > > > defaultJavaCompile: > > > [javac] /Users/Nicolas/GUS/project_home/install/build.xml:332: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds > > > > > > recordBuildState: > > > [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/.build.info > > > > > > defaultComponentInstall: > > > [echo] . > > > [echo] Installing GUS/GOPredict > > > > > > defaultJavaCompile: > > > [javac] /Users/Nicolas/GUS/project_home/install/build.xml:332: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds > > > > > > recordBuildState: > > > [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/.build.info > > > > > > defaultComponentInstall: > > > [echo] . > > > [echo] Installing GusSchema/Definition > > > > > > recordBuildState: > > > [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/.build.info > > > > > > defaultComponentInstall: > > > [echo] . > > > [echo] Installing GUS/DBAdmin > > > > > > defaultJavaCompile: > > > [javac] /Users/Nicolas/GUS/project_home/install/build.xml:332: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds > > > > > > recordBuildState: > > > [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/.build.info > > > > > > InstallSchema: > > > [InstallSchema] INFO [main] (InstallSchemaTask.java:79) - Reading database from /Users/Nicolas/GUS/project_home/GusSchema/Definition/config/gus_schema.xml > > > [InstallSchema] INFO [main] (SchemaReader.java:48) - Reading Database > > > [InstallSchema] INFO [main] (Database.java:161) - Resolving Database References > > > [InstallSchema] INFO [main] (DatabaseValidator.java:57) - Validating Database: 'null' > > > [InstallSchema] INFO [main] (InstallSchemaTask.java:87) - Overriding individual tablespace specifications with value "GUS" from property file > > > [InstallSchema] INFO [main] (DatabaseValidator.java:57) - Validating Database: 'null' > > > [InstallSchema] INFO [main] (SchemaWriter.java:33) - Writing Database > > > [InstallSchema] INFO [main] (DatabaseValidator.java:57) - Validating Database: 'null' > > > [InstallSchema] INFO [main] (SchemaWriter.java:33) - Writing Database > > > [InstallSchema] ERROR [main] (InstallSchemaTask.java:122) - Null version, skipping. Note: You will need to manually add a version number to the DB > > > [InstallSchema] ERROR [main] (InstallSchemaTask.java:122) - Null version, skipping. Note: You will need to manually add a version number to the DB > > > > > > defaultComponentInstall: > > > [echo] . > > > [echo] Installing GUS/ObjRelP > > > > > > componentPartCopySub: > > > [copy] Copying 3 files to /Users/Nicolas/GUS/gus_home/bin > > > > > > componentPartCopySub: > > > [mkdir] Created dir: /Users/Nicolas/GUS/gus_home/lib/perl/GUS/ObjRelP > > > [copy] Copying 18 files to /Users/Nicolas/GUS/gus_home/lib/perl/GUS/ObjRelP > > > > > > componentPartCopySub: > > > [mkdir] Created dir: /Users/Nicolas/GUS/gus_home/doc/GUS/ObjRelP > > > [copy] Copying 3 files to /Users/Nicolas/GUS/gus_home/doc/GUS/ObjRelP > > > > > > recordBuildState: > > > [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/.build.info > > > > > > perlGeneratedModel: > > > [mkdir] Created dir: /Users/Nicolas/GUS/gus_home/lib/perl/GUS/Model/Core > > > [mkdir] Created dir: /Users/Nicolas/GUS/gus_home/lib/perl/GUS/Model/DoTS > > > [mkdir] Created dir: /Users/Nicolas/GUS/gus_home/lib/perl/GUS/Model/RAD > > > [mkdir] Created dir: /Users/Nicolas/GUS/gus_home/lib/perl/GUS/Model/SRes > > > [mkdir] Created dir: /Users/Nicolas/GUS/gus_home/lib/perl/GUS/Model/TESS > > > [mkdir] Created dir: /Users/Nicolas/GUS/gus_home/lib/perl/GUS/Model/PROT > > > [mkdir] Created dir: /Users/Nicolas/GUS/gus_home/lib/perl/GUS/Model/Study > > > [echo] generating Perl Objects > > > > > > BUILD FAILED > > > /Users/Nicolas/GUS/project_home/install/build.xml:38: The following error occurred while executing this line: > > > /Users/Nicolas/GUS/project_home/GUS/build.xml:258: Execute failed: java.io.IOException: Cannot run program "generateGusObjects" (in directory "/Users/Nicolas/GUS/project_home/install"): error=2, No such file or directory > > > at java.lang.ProcessBuilder.start(ProcessBuilder.java:460) > > > at java.lang.Runtime.exec(Runtime.java:593) > > > at org.apache.tools.ant.taskdefs.Execute$Java13CommandLauncher.exec(Execute.java:862) > > > at org.apache.tools.ant.taskdefs.Execute.launch(Execute.java:481) > > > at org.apache.tools.ant.taskdefs.Execute.execute(Execute.java:495) > > > at org.apache.tools.ant.taskdefs.ExecTask.runExecute(ExecTask.java:631) > > > at org.apache.tools.ant.taskdefs.ExecTask.runExec(ExecTask.java:672) > > > at org.apache.tools.ant.taskdefs.ExecTask.execute(ExecTask.java:498) > > > at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) > > > at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) > > > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > > > at java.lang.reflect.Method.invoke(Method.java:597) > > > at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) > > > at org.apache.tools.ant.Task.perform(Task.java:348) > > > at org.apache.tools.ant.Target.execute(Target.java:392) > > > at org.apache.tools.ant.Target.performTasks(Target.java:413) > > > at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399) > > > at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38) > > > at org.apache.tools.ant.Project.executeTargets(Project.java:1251) > > > at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442) > > > at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) > > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > > > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > > > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > > > at java.lang.reflect.Method.invoke(Method.java:597) > > > at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) > > > at org.apache.tools.ant.Task.perform(Task.java:348) > > > at org.apache.tools.ant.Target.execute(Target.java:392) > > > at org.apache.tools.ant.Target.performTasks(Target.java:413) > > > at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399) > > > at org.apache.tools.ant.Project.executeTarget(Project.java:1368) > > > at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41) > > > at org.apache.tools.ant.Project.executeTargets(Project.java:1251) > > > at org.apache.tools.ant.Main.runBuild(Main.java:811) > > > at org.apache.tools.ant.Main.startAnt(Main.java:217) > > > at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280) > > > at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109) > > > Caused by: java.io.IOException: error=2, No such file or directory > > > at java.lang.UNIXProcess.forkAndExec(Native Method) > > > at java.lang.UNIXProcess.<init>(UNIXProcess.java:53) > > > at java.lang.ProcessImpl.start(ProcessImpl.java:91) > > > at java.lang.ProcessBuilder.start(ProcessBuilder.java:453) > > > ... 36 more > > > > > > Total time: 30 seconds > > > > > > > > > > > > On Fri, Mar 23, 2012 at 10:37, Mark Heiges <mh...@ug...> wrote: > > > Hi Nicolas, Are you using code from the gus subversion repository? If so, do an svn update. This bug was fixed this morning. If not from subversion, where did you get your code? > > > > > > -Mark > > > > > > On Mar 22, 2012, at 9:24 PM, Nicolas Joannin wrote: > > > > > > > Good morning Mark, Rodrigo and John, > > > > > > > > Indeed, the ojdbc5.jar file helped to get further ahead :) > > > > Unfortunately, there are still some errors (see below). > > > > > > > > Best regards, > > > > Nicolas > > > > > > > > > > > > > > > > Nicolas-work-iMac:bin Nicolas$ ./build GUS install -append -installDBSchema > > > > Buildfile: /Users/Nicolas/GUS/project_home/install/build.xml > > > > > > > > install: > > > > [echo] proj=GUS > > > > [echo] comp= > > > > > > > > defaultComponentInstall: > > > > [echo] . > > > > [echo] Installing CBIL/Bio > > > > > > > > recordBuildState: > > > > [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/.build.info > > > > > > > > defaultComponentInstall: > > > > [echo] . > > > > [echo] Installing CBIL/CSP > > > > > > > > defaultJavaCompile: > > > > [javac] /Users/Nicolas/GUS/project_home/install/build.xml:332: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds > > > > > > > > recordBuildState: > > > > [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/.build.info > > > > > > > > defaultComponentInstall: > > > > [echo] . > > > > [echo] Installing CBIL/Util > > > > > > > > recordBuildState: > > > > [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/.build.info > > > > > > > > defaultComponentInstall: > > > > [echo] . > > > > [echo] Installing CBIL/Cider > > > > > > > > recordBuildState: > > > > [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/.build.info > > > > > > > > defaultComponentInstall: > > > > [echo] . > > > > [echo] Installing CBIL/HQ > > > > > > > > recordBuildState: > > > > [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/.build.info > > > > > > > > defaultComponentInstall: > > > > [echo] . > > > > [echo] Installing CBIL/TranscriptExpression > > > > > > > > recordBuildState: > > > > [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/.build.info > > > > > > > > defaultComponentInstall: > > > > [echo] . > > > > [echo] Installing CBIL/ObjectMapper > > > > > > > > recordBuildState: > > > > [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/.build.info > > > > > > > > defaultComponentInstall: > > > > [echo] . > > > > [echo] Installing GUS/Supported > > > > > > > > defaultJavaCompile: > > > > [javac] /Users/Nicolas/GUS/project_home/install/build.xml:332: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds > > > > > > > > recordBuildState: > > > > [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/.build.info > > > > > > > > defaultComponentInstall: > > > > [echo] . > > > > [echo] Installing GUS/Community > > > > > > > > recordBuildState: > > > > [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/.build.info > > > > > > > > defaultComponentInstall: > > > > [echo] . > > > > [echo] Installing GUS/DBAdmin > > > > > > > > defaultJavaCompile: > > > > [javac] /Users/Nicolas/GUS/project_home/install/build.xml:332: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds > > > > > > > > recordBuildState: > > > > [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/.build.info > > > > > > > > defaultComponentInstall: > > > > [echo] . > > > > [echo] Installing GUS/GOPredict > > > > > > > > defaultJavaCompile: > > > > [javac] /Users/Nicolas/GUS/project_home/install/build.xml:332: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds > > > > > > > > recordBuildState: > > > > [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/.build.info > > > > > > > > defaultComponentInstall: > > > > [echo] . > > > > [echo] Installing GusSchema/Definition > > > > > > > > recordBuildState: > > > > [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/.build.info > > > > > > > > defaultComponentInstall: > > > > [echo] . > > > > [echo] Installing GUS/DBAdmin > > > > > > > > defaultJavaCompile: > > > > [javac] /Users/Nicolas/GUS/project_home/install/build.xml:332: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds > > > > > > > > recordBuildState: > > > > [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/.build.info > > > > > > > > InstallSchema: > > > > [InstallSchema] INFO [main] (InstallSchemaTask.java:79) - Reading database from /Users/Nicolas/GUS/project_home/GusSchema/Definition/config/gus_schema.xml > > > > [InstallSchema] INFO [main] (SchemaReader.java:48) - Reading Database > > > > [InstallSchema] INFO [main] (Database.java:161) - Resolving Database References > > > > [InstallSchema] INFO [main] (DatabaseValidator.java:57) - Validating Database: 'null' > > > > [InstallSchema] INFO [main] (InstallSchemaTask.java:87) - Overriding individual tablespace specifications with value "GUS" from property file > > > > [InstallSchema] INFO [main] (DatabaseValidator.java:57) - Validating Database: 'null' > > > > [InstallSchema] INFO [main] (SchemaWriter.java:33) - Writing Database > > > > [InstallSchema] INFO [main] (DatabaseValidator.java:57) - Validating Database: 'null' > > > > [InstallSchema] INFO [main] (SchemaWriter.java:33) - Writing Database > > > > > > > > BUILD FAILED > > > > /Users/Nicolas/GUS/project_home/install/build.xml:38: The following error occurred while executing this line: > > > > /Users/Nicolas/GUS/project_home/GUS/build.xml:16: The following error occurred while executing this line: > > > > /Users/Nicolas/GUS/project_home/GusSchema/build.xml:63: java.io.IOException: Error executing SQL: ' > > > > > > > > CREATE TABLE Core.AlgorithmInvocation ( > > > > ALGORITHM_INVOCATION_ID NUMERIC(12,0) NOT NULL, > > > > ALGORITHM_IMPLEMENTATION_ID NUMERIC(5,0) NOT NULL, > > > > START_TIME TIMESTAMP NOT NULL, > > > > END_TIME TIMESTAMP NOT NULL, > > > > CPUS_USED NUMERIC(5,0) , > > > > CPU_TIME FLOAT(126) , > > > > RESULT VARCHAR(350) NOT NULL, > > > > COMMENT_STRING VARCHAR(255) , > > > > MODIFICATION_DATE TIMESTAMP NOT NULL, > > > > USER_READ NUMERIC(1,0) NOT NULL, > > > > USER_WRITE NUMERIC(1,0) NOT NULL, > > > > GROUP_READ NUMERIC(1,0) NOT NULL, > > > > GROUP_WRITE NUMERIC(1,0) NOT NULL, > > > > OTHER_READ NUMERIC(1,0) NOT NULL, > > > > OTHER_WRITE NUMERIC(1,0) NOT NULL, > > > > ROW_USER_ID NUMERIC(12,0) NOT NULL, > > > > ROW_GROUP_ID NUMERIC(4,0) NOT NULL, > > > > ROW_PROJECT_ID NUMERIC(4,0) NOT NULL, > > > > ROW_ALG_INVOCATION_ID NUMERIC(12,0) NOT NULL)' Error: ERROR: precision for type float must be less than 54 bits > > > > at org.gusdb.dbadmin.util.JDBCStreamWriter.flush(JDBCStreamWriter.java:57) > > > > at org.gusdb.dbadmin.writer.RelationalDatabaseWriter.writeTable(RelationalDatabaseWriter.java:67) > > > > at org.gusdb.dbadmin.writer.RelationalDatabaseWriter.writeTables(RelationalDatabaseWriter.java:43) > > > > at org.gusdb.dbadmin.writer.PostgresWriter.writeDatabase(PostgresWriter.java:68) > > > > at org.gusdb.dbadmin.writer.SchemaWriter.write(SchemaWriter.java:34) > > > > at org.gusdb.dbadmin.util.InstallSchemaTask.execute(InstallSchemaTask.java:99) > > > > at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) > > > > at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) > > > > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > > > > at java.lang.reflect.Method.invoke(Method.java:597) > > > > at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) > > > > at org.apache.tools.ant.Task.perform(Task.java:348) > > > > at org.apache.tools.ant.Target.execute(Target.java:392) > > > > at org.apache.tools.ant.Target.performTasks(Target.java:413) > > > > at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399) > > > > at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38) > > > > at org.apache.tools.ant.Project.executeTargets(Project.java:1251) > > > > at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442) > > > > at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) > > > > at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) > > > > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > > > > at java.lang.reflect.Method.invoke(Method.java:597) > > > > at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) > > > > at org.apache.tools.ant.Task.perform(Task.java:348) > > > > at org.apache.tools.ant.Target.execute(Target.java:392) > > > > at org.apache.tools.ant.Target.performTasks(Target.java:413) > > > > at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399) > > > > at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38) > > > > at org.apache.tools.ant.Project.executeTargets(Project.java:1251) > > > > at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442) > > > > at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) > > > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > > > > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > > > > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > > > > at java.lang.reflect.Method.invoke(Method.java:597) > > > > at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) > > > > at org.apache.tools.ant.Task.perform(Task.java:348) > > > > at org.apache.tools.ant.Target.execute(Target.java:392) > > > > at org.apache.tools.ant.Target.performTasks(Target.java:413) > > > > at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399) > > > > at org.apache.tools.ant.Project.executeTarget(Project.java:1368) > > > > at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41) > > > > at org.apache.tools.ant.Project.executeTargets(Project.java:1251) > > > > at org.apache.tools.ant.Main.runBuild(Main.java:811) > > > > at org.apache.tools.ant.Main.startAnt(Main.java:217) > > > > at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280) > > > > at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109) > > > > > > > > Total time: 20 seconds > > > > > > > > > > > > On Thu, Mar 22, 2012 at 23:23, Mark Heiges <mh...@ug...> wrote: > > > > I have confirmed that the ojdbc jar is required for the code to compile. > > > > > > > > -Mark > > > > > > > > On Mar 22, 2012, at 10:09 AM, John Iodice wrote: > > > > > > > > > Hi Nicolas, > > > > > > > > > > That dbVendor setting looks right; I think that your configuration is correct for a Postgres install (and that I was mistaken to think that the install is looking for oracle.jdbc.OracleDriver because it's configured to use Oracle). > > > > > > > > > > Looking in my own $GUS_HOME/lib/java/db_driver directory, I see that I have both Oracle and Postgres drivers, though I only use Oracle. Maybe both are required to compile the Java? These are the files I have there: > > > > > > > > > > $ ls $GUS_HOME/lib/java/db_driver/ > > > > > ojdbc5.jar postgresql-8.3-603.jdbc3.jar > > > > > > > > > > I see that ojdbc5.jar does contain oracle/jdbc/OracleDriver.class. I suggest you try downloading that jarfile. You can get it from here: http://www.oracle.com/technetwork/database/enterprise-edition/jdbc-111060-084321.html > > > > > > > > > > -- John > > > > > > > > > > > > > > > > > > > > > > > |
From: Nicolas J. <nic...@gm...> - 2012-03-23 04:02:15
|
Indeed, again, my mistake! Thank you all for your help: BUILD SUCCESSFUL ;) Best regards, Nicolas On Fri, Mar 23, 2012 at 12:40, Mark Heiges <mh...@ug...> wrote: > Check the dbiDsn setting in your gus.config. What you sent earlier > (dbiDsn=dbi:Pg:dbname=<my_db_name>) looks correct to me; make sure that > hasn't changed. The error is symptomatic of missing the 'dbname=' prefix > > > > > > On Mar 22, 2012, at 11:20 PM, Nicolas Joannin wrote: > > > Hi Mark, > > > > Thanks: indeed, I made the mistake of adjusting the PATH with > $GUS_HOME/bin etc. before actually exporting GUS_HOME. > > > > I've rerun the build GUS install -append and it now has a new error: > > perlGeneratedModel: > > [echo] generating Perl Objects > > [exec] GUS::ObjRelP::DbiDbHandle > connect('varDB_2012','postgres',...) failed: missing "=" after "varDB_2012" > in connection info string at > /Users/Nicolas/GUS/gus_home/lib/perl/GUS/ObjRelP/DbiDatabase.pm line 173 > > [exec] Can't bless non-reference value at > /Users/Nicolas/GUS/gus_home/lib/perl/GUS/ObjRelP/DbiDbHandle.pm line 21. > > > > BUILD FAILED > > /Users/Nicolas/GUS/project_home/install/build.xml:38: The following > error occurred while executing this line: > > /Users/Nicolas/GUS/project_home/GUS/build.xml:258: exec returned: 255 > > > > Thanks again for your help! > > Best regards, > > Nicolas > > > > > > Full output: > > > > Nicolas-work-iMac:bin Nicolas$ ./build GUS install -append > > Buildfile: /Users/Nicolas/GUS/project_home/install/build.xml > > > > install: > > [echo] proj=GUS > > [echo] comp= > > > > defaultComponentInstall: > > [echo] . > > [echo] Installing CBIL/Bio > > > > recordBuildState: > > [propertyfile] Updating property file: > /Users/Nicolas/GUS/gus_home/config/.build.info > > > > defaultComponentInstall: > > [echo] . > > [echo] Installing CBIL/CSP > > > > defaultJavaCompile: > > [javac] /Users/Nicolas/GUS/project_home/install/build.xml:332: > warning: 'includeantruntime' was not set, defaulting to > build.sysclasspath=last; set to false for repeatable builds > > > > recordBuildState: > > [propertyfile] Updating property file: > /Users/Nicolas/GUS/gus_home/config/.build.info > > > > defaultComponentInstall: > > [echo] . > > [echo] Installing CBIL/Util > > > > recordBuildState: > > [propertyfile] Updating property file: > /Users/Nicolas/GUS/gus_home/config/.build.info > > > > defaultComponentInstall: > > [echo] . > > [echo] Installing CBIL/Cider > > > > recordBuildState: > > [propertyfile] Updating property file: > /Users/Nicolas/GUS/gus_home/config/.build.info > > > > defaultComponentInstall: > > [echo] . > > [echo] Installing CBIL/HQ > > > > recordBuildState: > > [propertyfile] Updating property file: > /Users/Nicolas/GUS/gus_home/config/.build.info > > > > defaultComponentInstall: > > [echo] . > > [echo] Installing CBIL/TranscriptExpression > > > > recordBuildState: > > [propertyfile] Updating property file: > /Users/Nicolas/GUS/gus_home/config/.build.info > > > > defaultComponentInstall: > > [echo] . > > [echo] Installing CBIL/ObjectMapper > > > > recordBuildState: > > [propertyfile] Updating property file: > /Users/Nicolas/GUS/gus_home/config/.build.info > > > > defaultComponentInstall: > > [echo] . > > [echo] Installing GUS/Supported > > > > defaultJavaCompile: > > [javac] /Users/Nicolas/GUS/project_home/install/build.xml:332: > warning: 'includeantruntime' was not set, defaulting to > build.sysclasspath=last; set to false for repeatable builds > > > > recordBuildState: > > [propertyfile] Updating property file: > /Users/Nicolas/GUS/gus_home/config/.build.info > > > > defaultComponentInstall: > > [echo] . > > [echo] Installing GUS/Community > > > > recordBuildState: > > [propertyfile] Updating property file: > /Users/Nicolas/GUS/gus_home/config/.build.info > > > > defaultComponentInstall: > > [echo] . > > [echo] Installing GUS/DBAdmin > > > > defaultJavaCompile: > > [javac] /Users/Nicolas/GUS/project_home/install/build.xml:332: > warning: 'includeantruntime' was not set, defaulting to > build.sysclasspath=last; set to false for repeatable builds > > > > recordBuildState: > > [propertyfile] Updating property file: > /Users/Nicolas/GUS/gus_home/config/.build.info > > > > defaultComponentInstall: > > [echo] . > > [echo] Installing GUS/GOPredict > > > > defaultJavaCompile: > > [javac] /Users/Nicolas/GUS/project_home/install/build.xml:332: > warning: 'includeantruntime' was not set, defaulting to > build.sysclasspath=last; set to false for repeatable builds > > > > recordBuildState: > > [propertyfile] Updating property file: > /Users/Nicolas/GUS/gus_home/config/.build.info > > > > defaultComponentInstall: > > [echo] . > > [echo] Installing GusSchema/Definition > > > > recordBuildState: > > [propertyfile] Updating property file: > /Users/Nicolas/GUS/gus_home/config/.build.info > > > > defaultComponentInstall: > > [echo] . > > [echo] Installing GUS/DBAdmin > > > > defaultJavaCompile: > > [javac] /Users/Nicolas/GUS/project_home/install/build.xml:332: > warning: 'includeantruntime' was not set, defaulting to > build.sysclasspath=last; set to false for repeatable builds > > > > recordBuildState: > > [propertyfile] Updating property file: > /Users/Nicolas/GUS/gus_home/config/.build.info > > > > defaultComponentInstall: > > [echo] . > > [echo] Installing GUS/ObjRelP > > > > recordBuildState: > > [propertyfile] Updating property file: > /Users/Nicolas/GUS/gus_home/config/.build.info > > > > perlGeneratedModel: > > [echo] generating Perl Objects > > [exec] GUS::ObjRelP::DbiDbHandle > connect('varDB_2012','postgres',...) failed: missing "=" after "varDB_2012" > in connection info string at > /Users/Nicolas/GUS/gus_home/lib/perl/GUS/ObjRelP/DbiDatabase.pm line 173 > > [exec] Can't bless non-reference value at > /Users/Nicolas/GUS/gus_home/lib/perl/GUS/ObjRelP/DbiDbHandle.pm line 21. > > > > BUILD FAILED > > /Users/Nicolas/GUS/project_home/install/build.xml:38: The following > error occurred while executing this line: > > /Users/Nicolas/GUS/project_home/GUS/build.xml:258: exec returned: 255 > > > > Total time: 20 seconds > > > > On Fri, Mar 23, 2012 at 12:00, Mark Heiges <mh...@ug...> wrote: > > The includeantruntime warning is an ant 1.8 "feature". I'm pretty sure > you can ignore that warning in this case, I don't see any abnormal > repercussions from it, but we've not used that version of ant ourselves. > You can google that warning for more information if you're curious. > > > > The generateGusObjects error makes me suspect that your PATH doesn't > include $GUS_HOME/bin . You'll want something like > > export PATH=$GUS_HOME/bin:$PROJECT_HOME/install/bin:$PATH > > > > At this point the schema is installed in your database (log in with a > client and confirm). So the next time run "build GUS install -append" > (without the -installDBSchema) and it should resume with the "generating > Perl Objects". > > > > > > On Mar 22, 2012, at 9:59 PM, Nicolas Joannin wrote: > > > > > Hi Mark, > > > > > > I got the code from the subversion repository, but that was a couple > weeks ago, I think. > > > I've just tried with the latest svn update. > > > > > > I started all from scratch: I deleted the GUS folder I was working in > and replaced it with the new. > > > I run the install a first time and encountered the same ojdbc5.jar > problem. > > > > > > So I added that file to the proper directory and rerun the install. > > > > > > This time I get different errors (see full output below): > > > > > > defaultJavaCompile: > > > [javac] /Users/Nicolas/GUS/project_home/install/build.xml:332: > warning: 'includeantruntime' was not set, defaulting to > build.sysclasspath=last; set to false for repeatable builds > > > > > > [InstallSchema] ERROR [main] (InstallSchemaTask.java:122) - Null > version, skipping. Note: You will need to manually add a version number > to the DB > > > > > > BUILD FAILED > > > /Users/Nicolas/GUS/project_home/install/build.xml:38: The following > error occurred while executing this line: > > > /Users/Nicolas/GUS/project_home/GUS/build.xml:258: Execute failed: > java.io.IOException: Cannot run program "generateGusObjects" (in directory > "/Users/Nicolas/GUS/project_home/install"): error=2, No such file or > directory > > > > > > The first one (with the "warning: 'includeantruntime'") occurs several > times. > > > > > > Thanks for the quick responses! > > > Best regards, > > > Nicolas > > > > > > > > > Here's the full output: > > > > > > Nicolas-work-iMac:bin Nicolas$ ./build GUS install -append > -installDBSchema > > > Buildfile: /Users/Nicolas/GUS/project_home/install/build.xml > > > > > > install: > > > [echo] proj=GUS > > > [echo] comp= > > > > > > defaultComponentInstall: > > > [echo] . > > > [echo] Installing CBIL/Bio > > > > > > recordBuildState: > > > [propertyfile] Updating property file: > /Users/Nicolas/GUS/gus_home/config/.build.info > > > > > > defaultComponentInstall: > > > [echo] . > > > [echo] Installing CBIL/CSP > > > > > > defaultJavaCompile: > > > [javac] /Users/Nicolas/GUS/project_home/install/build.xml:332: > warning: 'includeantruntime' was not set, defaulting to > build.sysclasspath=last; set to false for repeatable builds > > > > > > recordBuildState: > > > [propertyfile] Updating property file: > /Users/Nicolas/GUS/gus_home/config/.build.info > > > > > > defaultComponentInstall: > > > [echo] . > > > [echo] Installing CBIL/Util > > > > > > recordBuildState: > > > [propertyfile] Updating property file: > /Users/Nicolas/GUS/gus_home/config/.build.info > > > > > > defaultComponentInstall: > > > [echo] . > > > [echo] Installing CBIL/Cider > > > > > > recordBuildState: > > > [propertyfile] Updating property file: > /Users/Nicolas/GUS/gus_home/config/.build.info > > > > > > defaultComponentInstall: > > > [echo] . > > > [echo] Installing CBIL/HQ > > > > > > recordBuildState: > > > [propertyfile] Updating property file: > /Users/Nicolas/GUS/gus_home/config/.build.info > > > > > > defaultComponentInstall: > > > [echo] . > > > [echo] Installing CBIL/TranscriptExpression > > > > > > recordBuildState: > > > [propertyfile] Updating property file: > /Users/Nicolas/GUS/gus_home/config/.build.info > > > > > > defaultComponentInstall: > > > [echo] . > > > [echo] Installing CBIL/ObjectMapper > > > > > > recordBuildState: > > > [propertyfile] Updating property file: > /Users/Nicolas/GUS/gus_home/config/.build.info > > > > > > defaultComponentInstall: > > > [echo] . > > > [echo] Installing GUS/Supported > > > > > > defaultJavaCompile: > > > [javac] /Users/Nicolas/GUS/project_home/install/build.xml:332: > warning: 'includeantruntime' was not set, defaulting to > build.sysclasspath=last; set to false for repeatable builds > > > > > > recordBuildState: > > > [propertyfile] Updating property file: > /Users/Nicolas/GUS/gus_home/config/.build.info > > > > > > defaultComponentInstall: > > > [echo] . > > > [echo] Installing GUS/Community > > > > > > recordBuildState: > > > [propertyfile] Updating property file: > /Users/Nicolas/GUS/gus_home/config/.build.info > > > > > > defaultComponentInstall: > > > [echo] . > > > [echo] Installing GUS/DBAdmin > > > > > > defaultJavaCompile: > > > [javac] /Users/Nicolas/GUS/project_home/install/build.xml:332: > warning: 'includeantruntime' was not set, defaulting to > build.sysclasspath=last; set to false for repeatable builds > > > > > > recordBuildState: > > > [propertyfile] Updating property file: > /Users/Nicolas/GUS/gus_home/config/.build.info > > > > > > defaultComponentInstall: > > > [echo] . > > > [echo] Installing GUS/GOPredict > > > > > > defaultJavaCompile: > > > [javac] /Users/Nicolas/GUS/project_home/install/build.xml:332: > warning: 'includeantruntime' was not set, defaulting to > build.sysclasspath=last; set to false for repeatable builds > > > > > > recordBuildState: > > > [propertyfile] Updating property file: > /Users/Nicolas/GUS/gus_home/config/.build.info > > > > > > defaultComponentInstall: > > > [echo] . > > > [echo] Installing GusSchema/Definition > > > > > > recordBuildState: > > > [propertyfile] Updating property file: > /Users/Nicolas/GUS/gus_home/config/.build.info > > > > > > defaultComponentInstall: > > > [echo] . > > > [echo] Installing GUS/DBAdmin > > > > > > defaultJavaCompile: > > > [javac] /Users/Nicolas/GUS/project_home/install/build.xml:332: > warning: 'includeantruntime' was not set, defaulting to > build.sysclasspath=last; set to false for repeatable builds > > > > > > recordBuildState: > > > [propertyfile] Updating property file: > /Users/Nicolas/GUS/gus_home/config/.build.info > > > > > > InstallSchema: > > > [InstallSchema] INFO [main] (InstallSchemaTask.java:79) - Reading > database from > /Users/Nicolas/GUS/project_home/GusSchema/Definition/config/gus_schema.xml > > > [InstallSchema] INFO [main] (SchemaReader.java:48) - Reading Database > > > [InstallSchema] INFO [main] (Database.java:161) - Resolving Database > References > > > [InstallSchema] INFO [main] (DatabaseValidator.java:57) - Validating > Database: 'null' > > > [InstallSchema] INFO [main] (InstallSchemaTask.java:87) - Overriding > individual tablespace specifications with value "GUS" from property file > > > [InstallSchema] INFO [main] (DatabaseValidator.java:57) - Validating > Database: 'null' > > > [InstallSchema] INFO [main] (SchemaWriter.java:33) - Writing Database > > > [InstallSchema] INFO [main] (DatabaseValidator.java:57) - Validating > Database: 'null' > > > [InstallSchema] INFO [main] (SchemaWriter.java:33) - Writing Database > > > [InstallSchema] ERROR [main] (InstallSchemaTask.java:122) - Null > version, skipping. Note: You will need to manually add a version number > to the DB > > > [InstallSchema] ERROR [main] (InstallSchemaTask.java:122) - Null > version, skipping. Note: You will need to manually add a version number > to the DB > > > > > > defaultComponentInstall: > > > [echo] . > > > [echo] Installing GUS/ObjRelP > > > > > > componentPartCopySub: > > > [copy] Copying 3 files to /Users/Nicolas/GUS/gus_home/bin > > > > > > componentPartCopySub: > > > [mkdir] Created dir: > /Users/Nicolas/GUS/gus_home/lib/perl/GUS/ObjRelP > > > [copy] Copying 18 files to > /Users/Nicolas/GUS/gus_home/lib/perl/GUS/ObjRelP > > > > > > componentPartCopySub: > > > [mkdir] Created dir: /Users/Nicolas/GUS/gus_home/doc/GUS/ObjRelP > > > [copy] Copying 3 files to > /Users/Nicolas/GUS/gus_home/doc/GUS/ObjRelP > > > > > > recordBuildState: > > > [propertyfile] Updating property file: > /Users/Nicolas/GUS/gus_home/config/.build.info > > > > > > perlGeneratedModel: > > > [mkdir] Created dir: > /Users/Nicolas/GUS/gus_home/lib/perl/GUS/Model/Core > > > [mkdir] Created dir: > /Users/Nicolas/GUS/gus_home/lib/perl/GUS/Model/DoTS > > > [mkdir] Created dir: > /Users/Nicolas/GUS/gus_home/lib/perl/GUS/Model/RAD > > > [mkdir] Created dir: > /Users/Nicolas/GUS/gus_home/lib/perl/GUS/Model/SRes > > > [mkdir] Created dir: > /Users/Nicolas/GUS/gus_home/lib/perl/GUS/Model/TESS > > > [mkdir] Created dir: > /Users/Nicolas/GUS/gus_home/lib/perl/GUS/Model/PROT > > > [mkdir] Created dir: > /Users/Nicolas/GUS/gus_home/lib/perl/GUS/Model/Study > > > [echo] generating Perl Objects > > > > > > BUILD FAILED > > > /Users/Nicolas/GUS/project_home/install/build.xml:38: The following > error occurred while executing this line: > > > /Users/Nicolas/GUS/project_home/GUS/build.xml:258: Execute failed: > java.io.IOException: Cannot run program "generateGusObjects" (in directory > "/Users/Nicolas/GUS/project_home/install"): error=2, No such file or > directory > > > at java.lang.ProcessBuilder.start(ProcessBuilder.java:460) > > > at java.lang.Runtime.exec(Runtime.java:593) > > > at > org.apache.tools.ant.taskdefs.Execute$Java13CommandLauncher.exec(Execute.java:862) > > > at org.apache.tools.ant.taskdefs.Execute.launch(Execute.java:481) > > > at > org.apache.tools.ant.taskdefs.Execute.execute(Execute.java:495) > > > at > org.apache.tools.ant.taskdefs.ExecTask.runExecute(ExecTask.java:631) > > > at > org.apache.tools.ant.taskdefs.ExecTask.runExec(ExecTask.java:672) > > > at > org.apache.tools.ant.taskdefs.ExecTask.execute(ExecTask.java:498) > > > at > org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) > > > at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) > > > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > > > at java.lang.reflect.Method.invoke(Method.java:597) > > > at > org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) > > > at org.apache.tools.ant.Task.perform(Task.java:348) > > > at org.apache.tools.ant.Target.execute(Target.java:392) > > > at org.apache.tools.ant.Target.performTasks(Target.java:413) > > > at > org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399) > > > at > org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38) > > > at org.apache.tools.ant.Project.executeTargets(Project.java:1251) > > > at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442) > > > at > org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) > > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > > > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > > > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > > > at java.lang.reflect.Method.invoke(Method.java:597) > > > at > org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) > > > at org.apache.tools.ant.Task.perform(Task.java:348) > > > at org.apache.tools.ant.Target.execute(Target.java:392) > > > at org.apache.tools.ant.Target.performTasks(Target.java:413) > > > at > org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399) > > > at org.apache.tools.ant.Project.executeTarget(Project.java:1368) > > > at > org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41) > > > at org.apache.tools.ant.Project.executeTargets(Project.java:1251) > > > at org.apache.tools.ant.Main.runBuild(Main.java:811) > > > at org.apache.tools.ant.Main.startAnt(Main.java:217) > > > at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280) > > > at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109) > > > Caused by: java.io.IOException: error=2, No such file or directory > > > at java.lang.UNIXProcess.forkAndExec(Native Method) > > > at java.lang.UNIXProcess.<init>(UNIXProcess.java:53) > > > at java.lang.ProcessImpl.start(ProcessImpl.java:91) > > > at java.lang.ProcessBuilder.start(ProcessBuilder.java:453) > > > ... 36 more > > > > > > Total time: 30 seconds > > > > > > > > > > > > On Fri, Mar 23, 2012 at 10:37, Mark Heiges <mh...@ug...> wrote: > > > Hi Nicolas, Are you using code from the gus subversion repository? If > so, do an svn update. This bug was fixed this morning. If not from > subversion, where did you get your code? > > > > > > -Mark > > > > > > On Mar 22, 2012, at 9:24 PM, Nicolas Joannin wrote: > > > > > > > Good morning Mark, Rodrigo and John, > > > > > > > > Indeed, the ojdbc5.jar file helped to get further ahead :) > > > > Unfortunately, there are still some errors (see below). > > > > > > > > Best regards, > > > > Nicolas > > > > > > > > > > > > > > > > Nicolas-work-iMac:bin Nicolas$ ./build GUS install -append > -installDBSchema > > > > Buildfile: /Users/Nicolas/GUS/project_home/install/build.xml > > > > > > > > install: > > > > [echo] proj=GUS > > > > [echo] comp= > > > > > > > > defaultComponentInstall: > > > > [echo] . > > > > [echo] Installing CBIL/Bio > > > > > > > > recordBuildState: > > > > [propertyfile] Updating property file: > /Users/Nicolas/GUS/gus_home/config/.build.info > > > > > > > > defaultComponentInstall: > > > > [echo] . > > > > [echo] Installing CBIL/CSP > > > > > > > > defaultJavaCompile: > > > > [javac] /Users/Nicolas/GUS/project_home/install/build.xml:332: > warning: 'includeantruntime' was not set, defaulting to > build.sysclasspath=last; set to false for repeatable builds > > > > > > > > recordBuildState: > > > > [propertyfile] Updating property file: > /Users/Nicolas/GUS/gus_home/config/.build.info > > > > > > > > defaultComponentInstall: > > > > [echo] . > > > > [echo] Installing CBIL/Util > > > > > > > > recordBuildState: > > > > [propertyfile] Updating property file: > /Users/Nicolas/GUS/gus_home/config/.build.info > > > > > > > > defaultComponentInstall: > > > > [echo] . > > > > [echo] Installing CBIL/Cider > > > > > > > > recordBuildState: > > > > [propertyfile] Updating property file: > /Users/Nicolas/GUS/gus_home/config/.build.info > > > > > > > > defaultComponentInstall: > > > > [echo] . > > > > [echo] Installing CBIL/HQ > > > > > > > > recordBuildState: > > > > [propertyfile] Updating property file: > /Users/Nicolas/GUS/gus_home/config/.build.info > > > > > > > > defaultComponentInstall: > > > > [echo] . > > > > [echo] Installing CBIL/TranscriptExpression > > > > > > > > recordBuildState: > > > > [propertyfile] Updating property file: > /Users/Nicolas/GUS/gus_home/config/.build.info > > > > > > > > defaultComponentInstall: > > > > [echo] . > > > > [echo] Installing CBIL/ObjectMapper > > > > > > > > recordBuildState: > > > > [propertyfile] Updating property file: > /Users/Nicolas/GUS/gus_home/config/.build.info > > > > > > > > defaultComponentInstall: > > > > [echo] . > > > > [echo] Installing GUS/Supported > > > > > > > > defaultJavaCompile: > > > > [javac] /Users/Nicolas/GUS/project_home/install/build.xml:332: > warning: 'includeantruntime' was not set, defaulting to > build.sysclasspath=last; set to false for repeatable builds > > > > > > > > recordBuildState: > > > > [propertyfile] Updating property file: > /Users/Nicolas/GUS/gus_home/config/.build.info > > > > > > > > defaultComponentInstall: > > > > [echo] . > > > > [echo] Installing GUS/Community > > > > > > > > recordBuildState: > > > > [propertyfile] Updating property file: > /Users/Nicolas/GUS/gus_home/config/.build.info > > > > > > > > defaultComponentInstall: > > > > [echo] . > > > > [echo] Installing GUS/DBAdmin > > > > > > > > defaultJavaCompile: > > > > [javac] /Users/Nicolas/GUS/project_home/install/build.xml:332: > warning: 'includeantruntime' was not set, defaulting to > build.sysclasspath=last; set to false for repeatable builds > > > > > > > > recordBuildState: > > > > [propertyfile] Updating property file: > /Users/Nicolas/GUS/gus_home/config/.build.info > > > > > > > > defaultComponentInstall: > > > > [echo] . > > > > [echo] Installing GUS/GOPredict > > > > > > > > defaultJavaCompile: > > > > [javac] /Users/Nicolas/GUS/project_home/install/build.xml:332: > warning: 'includeantruntime' was not set, defaulting to > build.sysclasspath=last; set to false for repeatable builds > > > > > > > > recordBuildState: > > > > [propertyfile] Updating property file: > /Users/Nicolas/GUS/gus_home/config/.build.info > > > > > > > > defaultComponentInstall: > > > > [echo] . > > > > [echo] Installing GusSchema/Definition > > > > > > > > recordBuildState: > > > > [propertyfile] Updating property file: > /Users/Nicolas/GUS/gus_home/config/.build.info > > > > > > > > defaultComponentInstall: > > > > [echo] . > > > > [echo] Installing GUS/DBAdmin > > > > > > > > defaultJavaCompile: > > > > [javac] /Users/Nicolas/GUS/project_home/install/build.xml:332: > warning: 'includeantruntime' was not set, defaulting to > build.sysclasspath=last; set to false for repeatable builds > > > > > > > > recordBuildState: > > > > [propertyfile] Updating property file: > /Users/Nicolas/GUS/gus_home/config/.build.info > > > > > > > > InstallSchema: > > > > [InstallSchema] INFO [main] (InstallSchemaTask.java:79) - Reading > database from > /Users/Nicolas/GUS/project_home/GusSchema/Definition/config/gus_schema.xml > > > > [InstallSchema] INFO [main] (SchemaReader.java:48) - Reading > Database > > > > [InstallSchema] INFO [main] (Database.java:161) - Resolving > Database References > > > > [InstallSchema] INFO [main] (DatabaseValidator.java:57) - > Validating Database: 'null' > > > > [InstallSchema] INFO [main] (InstallSchemaTask.java:87) - > Overriding individual tablespace specifications with value "GUS" from > property file > > > > [InstallSchema] INFO [main] (DatabaseValidator.java:57) - > Validating Database: 'null' > > > > [InstallSchema] INFO [main] (SchemaWriter.java:33) - Writing > Database > > > > [InstallSchema] INFO [main] (DatabaseValidator.java:57) - > Validating Database: 'null' > > > > [InstallSchema] INFO [main] (SchemaWriter.java:33) - Writing > Database > > > > > > > > BUILD FAILED > > > > /Users/Nicolas/GUS/project_home/install/build.xml:38: The following > error occurred while executing this line: > > > > /Users/Nicolas/GUS/project_home/GUS/build.xml:16: The following > error occurred while executing this line: > > > > /Users/Nicolas/GUS/project_home/GusSchema/build.xml:63: > java.io.IOException: Error executing SQL: ' > > > > > > > > CREATE TABLE Core.AlgorithmInvocation ( > > > > ALGORITHM_INVOCATION_ID NUMERIC(12,0) NOT NULL, > > > > ALGORITHM_IMPLEMENTATION_ID NUMERIC(5,0) NOT NULL, > > > > START_TIME TIMESTAMP NOT NULL, > > > > END_TIME TIMESTAMP NOT NULL, > > > > CPUS_USED NUMERIC(5,0) , > > > > CPU_TIME FLOAT(126) , > > > > RESULT VARCHAR(350) NOT NULL, > > > > COMMENT_STRING VARCHAR(255) , > > > > MODIFICATION_DATE TIMESTAMP NOT NULL, > > > > USER_READ NUMERIC(1,0) NOT NULL, > > > > USER_WRITE NUMERIC(1,0) NOT NULL, > > > > GROUP_READ NUMERIC(1,0) NOT NULL, > > > > GROUP_WRITE NUMERIC(1,0) NOT NULL, > > > > OTHER_READ NUMERIC(1,0) NOT NULL, > > > > OTHER_WRITE NUMERIC(1,0) NOT NULL, > > > > ROW_USER_ID NUMERIC(12,0) NOT NULL, > > > > ROW_GROUP_ID NUMERIC(4,0) NOT NULL, > > > > ROW_PROJECT_ID NUMERIC(4,0) NOT NULL, > > > > ROW_ALG_INVOCATION_ID NUMERIC(12,0) NOT NULL)' Error: ERROR: > precision for type float must be less than 54 bits > > > > at > org.gusdb.dbadmin.util.JDBCStreamWriter.flush(JDBCStreamWriter.java:57) > > > > at > org.gusdb.dbadmin.writer.RelationalDatabaseWriter.writeTable(RelationalDatabaseWriter.java:67) > > > > at > org.gusdb.dbadmin.writer.RelationalDatabaseWriter.writeTables(RelationalDatabaseWriter.java:43) > > > > at > org.gusdb.dbadmin.writer.PostgresWriter.writeDatabase(PostgresWriter.java:68) > > > > at > org.gusdb.dbadmin.writer.SchemaWriter.write(SchemaWriter.java:34) > > > > at > org.gusdb.dbadmin.util.InstallSchemaTask.execute(InstallSchemaTask.java:99) > > > > at > org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) > > > > at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) > > > > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > > > > at java.lang.reflect.Method.invoke(Method.java:597) > > > > at > org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) > > > > at org.apache.tools.ant.Task.perform(Task.java:348) > > > > at org.apache.tools.ant.Target.execute(Target.java:392) > > > > at org.apache.tools.ant.Target.performTasks(Target.java:413) > > > > at > org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399) > > > > at > org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38) > > > > at > org.apache.tools.ant.Project.executeTargets(Project.java:1251) > > > > at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442) > > > > at > org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) > > > > at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) > > > > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > > > > at java.lang.reflect.Method.invoke(Method.java:597) > > > > at > org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) > > > > at org.apache.tools.ant.Task.perform(Task.java:348) > > > > at org.apache.tools.ant.Target.execute(Target.java:392) > > > > at org.apache.tools.ant.Target.performTasks(Target.java:413) > > > > at > org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399) > > > > at > org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38) > > > > at > org.apache.tools.ant.Project.executeTargets(Project.java:1251) > > > > at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442) > > > > at > org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) > > > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > > > > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > > > > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > > > > at java.lang.reflect.Method.invoke(Method.java:597) > > > > at > org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) > > > > at org.apache.tools.ant.Task.perform(Task.java:348) > > > > at org.apache.tools.ant.Target.execute(Target.java:392) > > > > at org.apache.tools.ant.Target.performTasks(Target.java:413) > > > > at > org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399) > > > > at > org.apache.tools.ant.Project.executeTarget(Project.java:1368) > > > > at > org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41) > > > > at > org.apache.tools.ant.Project.executeTargets(Project.java:1251) > > > > at org.apache.tools.ant.Main.runBuild(Main.java:811) > > > > at org.apache.tools.ant.Main.startAnt(Main.java:217) > > > > at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280) > > > > at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109) > > > > > > > > Total time: 20 seconds > > > > > > > > > > > > On Thu, Mar 22, 2012 at 23:23, Mark Heiges <mh...@ug...> wrote: > > > > I have confirmed that the ojdbc jar is required for the code to > compile. > > > > > > > > -Mark > > > > > > > > On Mar 22, 2012, at 10:09 AM, John Iodice wrote: > > > > > > > > > Hi Nicolas, > > > > > > > > > > That dbVendor setting looks right; I think that your configuration > is correct for a Postgres install (and that I was mistaken to think that > the install is looking for oracle.jdbc.OracleDriver because it's configured > to use Oracle). > > > > > > > > > > Looking in my own $GUS_HOME/lib/java/db_driver directory, I see > that I have both Oracle and Postgres drivers, though I only use Oracle. > Maybe both are required to compile the Java? These are the files I have > there: > > > > > > > > > > $ ls $GUS_HOME/lib/java/db_driver/ > > > > > ojdbc5.jar postgresql-8.3-603.jdbc3.jar > > > > > > > > > > I see that ojdbc5.jar does contain oracle/jdbc/OracleDriver.class. > I suggest you try downloading that jarfile. You can get it from here: > http://www.oracle.com/technetwork/database/enterprise-edition/jdbc-111060-084321.html > > > > > > > > > > -- John > > > > > > > > > > > > > > > > > > > > > > > |
From: Mark H. <mh...@ug...> - 2012-03-23 03:40:46
|
Check the dbiDsn setting in your gus.config. What you sent earlier (dbiDsn=dbi:Pg:dbname=<my_db_name>) looks correct to me; make sure that hasn't changed. The error is symptomatic of missing the 'dbname=' prefix On Mar 22, 2012, at 11:20 PM, Nicolas Joannin wrote: > Hi Mark, > > Thanks: indeed, I made the mistake of adjusting the PATH with $GUS_HOME/bin etc. before actually exporting GUS_HOME. > > I've rerun the build GUS install -append and it now has a new error: > perlGeneratedModel: > [echo] generating Perl Objects > [exec] GUS::ObjRelP::DbiDbHandle connect('varDB_2012','postgres',...) failed: missing "=" after "varDB_2012" in connection info string at /Users/Nicolas/GUS/gus_home/lib/perl/GUS/ObjRelP/DbiDatabase.pm line 173 > [exec] Can't bless non-reference value at /Users/Nicolas/GUS/gus_home/lib/perl/GUS/ObjRelP/DbiDbHandle.pm line 21. > > BUILD FAILED > /Users/Nicolas/GUS/project_home/install/build.xml:38: The following error occurred while executing this line: > /Users/Nicolas/GUS/project_home/GUS/build.xml:258: exec returned: 255 > > Thanks again for your help! > Best regards, > Nicolas > > > Full output: > > Nicolas-work-iMac:bin Nicolas$ ./build GUS install -append > Buildfile: /Users/Nicolas/GUS/project_home/install/build.xml > > install: > [echo] proj=GUS > [echo] comp= > > defaultComponentInstall: > [echo] . > [echo] Installing CBIL/Bio > > recordBuildState: > [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/.build.info > > defaultComponentInstall: > [echo] . > [echo] Installing CBIL/CSP > > defaultJavaCompile: > [javac] /Users/Nicolas/GUS/project_home/install/build.xml:332: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds > > recordBuildState: > [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/.build.info > > defaultComponentInstall: > [echo] . > [echo] Installing CBIL/Util > > recordBuildState: > [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/.build.info > > defaultComponentInstall: > [echo] . > [echo] Installing CBIL/Cider > > recordBuildState: > [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/.build.info > > defaultComponentInstall: > [echo] . > [echo] Installing CBIL/HQ > > recordBuildState: > [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/.build.info > > defaultComponentInstall: > [echo] . > [echo] Installing CBIL/TranscriptExpression > > recordBuildState: > [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/.build.info > > defaultComponentInstall: > [echo] . > [echo] Installing CBIL/ObjectMapper > > recordBuildState: > [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/.build.info > > defaultComponentInstall: > [echo] . > [echo] Installing GUS/Supported > > defaultJavaCompile: > [javac] /Users/Nicolas/GUS/project_home/install/build.xml:332: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds > > recordBuildState: > [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/.build.info > > defaultComponentInstall: > [echo] . > [echo] Installing GUS/Community > > recordBuildState: > [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/.build.info > > defaultComponentInstall: > [echo] . > [echo] Installing GUS/DBAdmin > > defaultJavaCompile: > [javac] /Users/Nicolas/GUS/project_home/install/build.xml:332: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds > > recordBuildState: > [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/.build.info > > defaultComponentInstall: > [echo] . > [echo] Installing GUS/GOPredict > > defaultJavaCompile: > [javac] /Users/Nicolas/GUS/project_home/install/build.xml:332: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds > > recordBuildState: > [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/.build.info > > defaultComponentInstall: > [echo] . > [echo] Installing GusSchema/Definition > > recordBuildState: > [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/.build.info > > defaultComponentInstall: > [echo] . > [echo] Installing GUS/DBAdmin > > defaultJavaCompile: > [javac] /Users/Nicolas/GUS/project_home/install/build.xml:332: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds > > recordBuildState: > [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/.build.info > > defaultComponentInstall: > [echo] . > [echo] Installing GUS/ObjRelP > > recordBuildState: > [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/.build.info > > perlGeneratedModel: > [echo] generating Perl Objects > [exec] GUS::ObjRelP::DbiDbHandle connect('varDB_2012','postgres',...) failed: missing "=" after "varDB_2012" in connection info string at /Users/Nicolas/GUS/gus_home/lib/perl/GUS/ObjRelP/DbiDatabase.pm line 173 > [exec] Can't bless non-reference value at /Users/Nicolas/GUS/gus_home/lib/perl/GUS/ObjRelP/DbiDbHandle.pm line 21. > > BUILD FAILED > /Users/Nicolas/GUS/project_home/install/build.xml:38: The following error occurred while executing this line: > /Users/Nicolas/GUS/project_home/GUS/build.xml:258: exec returned: 255 > > Total time: 20 seconds > > On Fri, Mar 23, 2012 at 12:00, Mark Heiges <mh...@ug...> wrote: > The includeantruntime warning is an ant 1.8 "feature". I'm pretty sure you can ignore that warning in this case, I don't see any abnormal repercussions from it, but we've not used that version of ant ourselves. You can google that warning for more information if you're curious. > > The generateGusObjects error makes me suspect that your PATH doesn't include $GUS_HOME/bin . You'll want something like > export PATH=$GUS_HOME/bin:$PROJECT_HOME/install/bin:$PATH > > At this point the schema is installed in your database (log in with a client and confirm). So the next time run "build GUS install -append" (without the -installDBSchema) and it should resume with the "generating Perl Objects". > > > On Mar 22, 2012, at 9:59 PM, Nicolas Joannin wrote: > > > Hi Mark, > > > > I got the code from the subversion repository, but that was a couple weeks ago, I think. > > I've just tried with the latest svn update. > > > > I started all from scratch: I deleted the GUS folder I was working in and replaced it with the new. > > I run the install a first time and encountered the same ojdbc5.jar problem. > > > > So I added that file to the proper directory and rerun the install. > > > > This time I get different errors (see full output below): > > > > defaultJavaCompile: > > [javac] /Users/Nicolas/GUS/project_home/install/build.xml:332: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds > > > > [InstallSchema] ERROR [main] (InstallSchemaTask.java:122) - Null version, skipping. Note: You will need to manually add a version number to the DB > > > > BUILD FAILED > > /Users/Nicolas/GUS/project_home/install/build.xml:38: The following error occurred while executing this line: > > /Users/Nicolas/GUS/project_home/GUS/build.xml:258: Execute failed: java.io.IOException: Cannot run program "generateGusObjects" (in directory "/Users/Nicolas/GUS/project_home/install"): error=2, No such file or directory > > > > The first one (with the "warning: 'includeantruntime'") occurs several times. > > > > Thanks for the quick responses! > > Best regards, > > Nicolas > > > > > > Here's the full output: > > > > Nicolas-work-iMac:bin Nicolas$ ./build GUS install -append -installDBSchema > > Buildfile: /Users/Nicolas/GUS/project_home/install/build.xml > > > > install: > > [echo] proj=GUS > > [echo] comp= > > > > defaultComponentInstall: > > [echo] . > > [echo] Installing CBIL/Bio > > > > recordBuildState: > > [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/.build.info > > > > defaultComponentInstall: > > [echo] . > > [echo] Installing CBIL/CSP > > > > defaultJavaCompile: > > [javac] /Users/Nicolas/GUS/project_home/install/build.xml:332: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds > > > > recordBuildState: > > [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/.build.info > > > > defaultComponentInstall: > > [echo] . > > [echo] Installing CBIL/Util > > > > recordBuildState: > > [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/.build.info > > > > defaultComponentInstall: > > [echo] . > > [echo] Installing CBIL/Cider > > > > recordBuildState: > > [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/.build.info > > > > defaultComponentInstall: > > [echo] . > > [echo] Installing CBIL/HQ > > > > recordBuildState: > > [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/.build.info > > > > defaultComponentInstall: > > [echo] . > > [echo] Installing CBIL/TranscriptExpression > > > > recordBuildState: > > [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/.build.info > > > > defaultComponentInstall: > > [echo] . > > [echo] Installing CBIL/ObjectMapper > > > > recordBuildState: > > [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/.build.info > > > > defaultComponentInstall: > > [echo] . > > [echo] Installing GUS/Supported > > > > defaultJavaCompile: > > [javac] /Users/Nicolas/GUS/project_home/install/build.xml:332: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds > > > > recordBuildState: > > [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/.build.info > > > > defaultComponentInstall: > > [echo] . > > [echo] Installing GUS/Community > > > > recordBuildState: > > [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/.build.info > > > > defaultComponentInstall: > > [echo] . > > [echo] Installing GUS/DBAdmin > > > > defaultJavaCompile: > > [javac] /Users/Nicolas/GUS/project_home/install/build.xml:332: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds > > > > recordBuildState: > > [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/.build.info > > > > defaultComponentInstall: > > [echo] . > > [echo] Installing GUS/GOPredict > > > > defaultJavaCompile: > > [javac] /Users/Nicolas/GUS/project_home/install/build.xml:332: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds > > > > recordBuildState: > > [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/.build.info > > > > defaultComponentInstall: > > [echo] . > > [echo] Installing GusSchema/Definition > > > > recordBuildState: > > [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/.build.info > > > > defaultComponentInstall: > > [echo] . > > [echo] Installing GUS/DBAdmin > > > > defaultJavaCompile: > > [javac] /Users/Nicolas/GUS/project_home/install/build.xml:332: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds > > > > recordBuildState: > > [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/.build.info > > > > InstallSchema: > > [InstallSchema] INFO [main] (InstallSchemaTask.java:79) - Reading database from /Users/Nicolas/GUS/project_home/GusSchema/Definition/config/gus_schema.xml > > [InstallSchema] INFO [main] (SchemaReader.java:48) - Reading Database > > [InstallSchema] INFO [main] (Database.java:161) - Resolving Database References > > [InstallSchema] INFO [main] (DatabaseValidator.java:57) - Validating Database: 'null' > > [InstallSchema] INFO [main] (InstallSchemaTask.java:87) - Overriding individual tablespace specifications with value "GUS" from property file > > [InstallSchema] INFO [main] (DatabaseValidator.java:57) - Validating Database: 'null' > > [InstallSchema] INFO [main] (SchemaWriter.java:33) - Writing Database > > [InstallSchema] INFO [main] (DatabaseValidator.java:57) - Validating Database: 'null' > > [InstallSchema] INFO [main] (SchemaWriter.java:33) - Writing Database > > [InstallSchema] ERROR [main] (InstallSchemaTask.java:122) - Null version, skipping. Note: You will need to manually add a version number to the DB > > [InstallSchema] ERROR [main] (InstallSchemaTask.java:122) - Null version, skipping. Note: You will need to manually add a version number to the DB > > > > defaultComponentInstall: > > [echo] . > > [echo] Installing GUS/ObjRelP > > > > componentPartCopySub: > > [copy] Copying 3 files to /Users/Nicolas/GUS/gus_home/bin > > > > componentPartCopySub: > > [mkdir] Created dir: /Users/Nicolas/GUS/gus_home/lib/perl/GUS/ObjRelP > > [copy] Copying 18 files to /Users/Nicolas/GUS/gus_home/lib/perl/GUS/ObjRelP > > > > componentPartCopySub: > > [mkdir] Created dir: /Users/Nicolas/GUS/gus_home/doc/GUS/ObjRelP > > [copy] Copying 3 files to /Users/Nicolas/GUS/gus_home/doc/GUS/ObjRelP > > > > recordBuildState: > > [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/.build.info > > > > perlGeneratedModel: > > [mkdir] Created dir: /Users/Nicolas/GUS/gus_home/lib/perl/GUS/Model/Core > > [mkdir] Created dir: /Users/Nicolas/GUS/gus_home/lib/perl/GUS/Model/DoTS > > [mkdir] Created dir: /Users/Nicolas/GUS/gus_home/lib/perl/GUS/Model/RAD > > [mkdir] Created dir: /Users/Nicolas/GUS/gus_home/lib/perl/GUS/Model/SRes > > [mkdir] Created dir: /Users/Nicolas/GUS/gus_home/lib/perl/GUS/Model/TESS > > [mkdir] Created dir: /Users/Nicolas/GUS/gus_home/lib/perl/GUS/Model/PROT > > [mkdir] Created dir: /Users/Nicolas/GUS/gus_home/lib/perl/GUS/Model/Study > > [echo] generating Perl Objects > > > > BUILD FAILED > > /Users/Nicolas/GUS/project_home/install/build.xml:38: The following error occurred while executing this line: > > /Users/Nicolas/GUS/project_home/GUS/build.xml:258: Execute failed: java.io.IOException: Cannot run program "generateGusObjects" (in directory "/Users/Nicolas/GUS/project_home/install"): error=2, No such file or directory > > at java.lang.ProcessBuilder.start(ProcessBuilder.java:460) > > at java.lang.Runtime.exec(Runtime.java:593) > > at org.apache.tools.ant.taskdefs.Execute$Java13CommandLauncher.exec(Execute.java:862) > > at org.apache.tools.ant.taskdefs.Execute.launch(Execute.java:481) > > at org.apache.tools.ant.taskdefs.Execute.execute(Execute.java:495) > > at org.apache.tools.ant.taskdefs.ExecTask.runExecute(ExecTask.java:631) > > at org.apache.tools.ant.taskdefs.ExecTask.runExec(ExecTask.java:672) > > at org.apache.tools.ant.taskdefs.ExecTask.execute(ExecTask.java:498) > > at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) > > at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) > > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > > at java.lang.reflect.Method.invoke(Method.java:597) > > at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) > > at org.apache.tools.ant.Task.perform(Task.java:348) > > at org.apache.tools.ant.Target.execute(Target.java:392) > > at org.apache.tools.ant.Target.performTasks(Target.java:413) > > at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399) > > at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38) > > at org.apache.tools.ant.Project.executeTargets(Project.java:1251) > > at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442) > > at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > > at java.lang.reflect.Method.invoke(Method.java:597) > > at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) > > at org.apache.tools.ant.Task.perform(Task.java:348) > > at org.apache.tools.ant.Target.execute(Target.java:392) > > at org.apache.tools.ant.Target.performTasks(Target.java:413) > > at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399) > > at org.apache.tools.ant.Project.executeTarget(Project.java:1368) > > at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41) > > at org.apache.tools.ant.Project.executeTargets(Project.java:1251) > > at org.apache.tools.ant.Main.runBuild(Main.java:811) > > at org.apache.tools.ant.Main.startAnt(Main.java:217) > > at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280) > > at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109) > > Caused by: java.io.IOException: error=2, No such file or directory > > at java.lang.UNIXProcess.forkAndExec(Native Method) > > at java.lang.UNIXProcess.<init>(UNIXProcess.java:53) > > at java.lang.ProcessImpl.start(ProcessImpl.java:91) > > at java.lang.ProcessBuilder.start(ProcessBuilder.java:453) > > ... 36 more > > > > Total time: 30 seconds > > > > > > > > On Fri, Mar 23, 2012 at 10:37, Mark Heiges <mh...@ug...> wrote: > > Hi Nicolas, Are you using code from the gus subversion repository? If so, do an svn update. This bug was fixed this morning. If not from subversion, where did you get your code? > > > > -Mark > > > > On Mar 22, 2012, at 9:24 PM, Nicolas Joannin wrote: > > > > > Good morning Mark, Rodrigo and John, > > > > > > Indeed, the ojdbc5.jar file helped to get further ahead :) > > > Unfortunately, there are still some errors (see below). > > > > > > Best regards, > > > Nicolas > > > > > > > > > > > > Nicolas-work-iMac:bin Nicolas$ ./build GUS install -append -installDBSchema > > > Buildfile: /Users/Nicolas/GUS/project_home/install/build.xml > > > > > > install: > > > [echo] proj=GUS > > > [echo] comp= > > > > > > defaultComponentInstall: > > > [echo] . > > > [echo] Installing CBIL/Bio > > > > > > recordBuildState: > > > [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/.build.info > > > > > > defaultComponentInstall: > > > [echo] . > > > [echo] Installing CBIL/CSP > > > > > > defaultJavaCompile: > > > [javac] /Users/Nicolas/GUS/project_home/install/build.xml:332: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds > > > > > > recordBuildState: > > > [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/.build.info > > > > > > defaultComponentInstall: > > > [echo] . > > > [echo] Installing CBIL/Util > > > > > > recordBuildState: > > > [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/.build.info > > > > > > defaultComponentInstall: > > > [echo] . > > > [echo] Installing CBIL/Cider > > > > > > recordBuildState: > > > [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/.build.info > > > > > > defaultComponentInstall: > > > [echo] . > > > [echo] Installing CBIL/HQ > > > > > > recordBuildState: > > > [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/.build.info > > > > > > defaultComponentInstall: > > > [echo] . > > > [echo] Installing CBIL/TranscriptExpression > > > > > > recordBuildState: > > > [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/.build.info > > > > > > defaultComponentInstall: > > > [echo] . > > > [echo] Installing CBIL/ObjectMapper > > > > > > recordBuildState: > > > [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/.build.info > > > > > > defaultComponentInstall: > > > [echo] . > > > [echo] Installing GUS/Supported > > > > > > defaultJavaCompile: > > > [javac] /Users/Nicolas/GUS/project_home/install/build.xml:332: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds > > > > > > recordBuildState: > > > [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/.build.info > > > > > > defaultComponentInstall: > > > [echo] . > > > [echo] Installing GUS/Community > > > > > > recordBuildState: > > > [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/.build.info > > > > > > defaultComponentInstall: > > > [echo] . > > > [echo] Installing GUS/DBAdmin > > > > > > defaultJavaCompile: > > > [javac] /Users/Nicolas/GUS/project_home/install/build.xml:332: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds > > > > > > recordBuildState: > > > [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/.build.info > > > > > > defaultComponentInstall: > > > [echo] . > > > [echo] Installing GUS/GOPredict > > > > > > defaultJavaCompile: > > > [javac] /Users/Nicolas/GUS/project_home/install/build.xml:332: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds > > > > > > recordBuildState: > > > [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/.build.info > > > > > > defaultComponentInstall: > > > [echo] . > > > [echo] Installing GusSchema/Definition > > > > > > recordBuildState: > > > [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/.build.info > > > > > > defaultComponentInstall: > > > [echo] . > > > [echo] Installing GUS/DBAdmin > > > > > > defaultJavaCompile: > > > [javac] /Users/Nicolas/GUS/project_home/install/build.xml:332: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds > > > > > > recordBuildState: > > > [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/.build.info > > > > > > InstallSchema: > > > [InstallSchema] INFO [main] (InstallSchemaTask.java:79) - Reading database from /Users/Nicolas/GUS/project_home/GusSchema/Definition/config/gus_schema.xml > > > [InstallSchema] INFO [main] (SchemaReader.java:48) - Reading Database > > > [InstallSchema] INFO [main] (Database.java:161) - Resolving Database References > > > [InstallSchema] INFO [main] (DatabaseValidator.java:57) - Validating Database: 'null' > > > [InstallSchema] INFO [main] (InstallSchemaTask.java:87) - Overriding individual tablespace specifications with value "GUS" from property file > > > [InstallSchema] INFO [main] (DatabaseValidator.java:57) - Validating Database: 'null' > > > [InstallSchema] INFO [main] (SchemaWriter.java:33) - Writing Database > > > [InstallSchema] INFO [main] (DatabaseValidator.java:57) - Validating Database: 'null' > > > [InstallSchema] INFO [main] (SchemaWriter.java:33) - Writing Database > > > > > > BUILD FAILED > > > /Users/Nicolas/GUS/project_home/install/build.xml:38: The following error occurred while executing this line: > > > /Users/Nicolas/GUS/project_home/GUS/build.xml:16: The following error occurred while executing this line: > > > /Users/Nicolas/GUS/project_home/GusSchema/build.xml:63: java.io.IOException: Error executing SQL: ' > > > > > > CREATE TABLE Core.AlgorithmInvocation ( > > > ALGORITHM_INVOCATION_ID NUMERIC(12,0) NOT NULL, > > > ALGORITHM_IMPLEMENTATION_ID NUMERIC(5,0) NOT NULL, > > > START_TIME TIMESTAMP NOT NULL, > > > END_TIME TIMESTAMP NOT NULL, > > > CPUS_USED NUMERIC(5,0) , > > > CPU_TIME FLOAT(126) , > > > RESULT VARCHAR(350) NOT NULL, > > > COMMENT_STRING VARCHAR(255) , > > > MODIFICATION_DATE TIMESTAMP NOT NULL, > > > USER_READ NUMERIC(1,0) NOT NULL, > > > USER_WRITE NUMERIC(1,0) NOT NULL, > > > GROUP_READ NUMERIC(1,0) NOT NULL, > > > GROUP_WRITE NUMERIC(1,0) NOT NULL, > > > OTHER_READ NUMERIC(1,0) NOT NULL, > > > OTHER_WRITE NUMERIC(1,0) NOT NULL, > > > ROW_USER_ID NUMERIC(12,0) NOT NULL, > > > ROW_GROUP_ID NUMERIC(4,0) NOT NULL, > > > ROW_PROJECT_ID NUMERIC(4,0) NOT NULL, > > > ROW_ALG_INVOCATION_ID NUMERIC(12,0) NOT NULL)' Error: ERROR: precision for type float must be less than 54 bits > > > at org.gusdb.dbadmin.util.JDBCStreamWriter.flush(JDBCStreamWriter.java:57) > > > at org.gusdb.dbadmin.writer.RelationalDatabaseWriter.writeTable(RelationalDatabaseWriter.java:67) > > > at org.gusdb.dbadmin.writer.RelationalDatabaseWriter.writeTables(RelationalDatabaseWriter.java:43) > > > at org.gusdb.dbadmin.writer.PostgresWriter.writeDatabase(PostgresWriter.java:68) > > > at org.gusdb.dbadmin.writer.SchemaWriter.write(SchemaWriter.java:34) > > > at org.gusdb.dbadmin.util.InstallSchemaTask.execute(InstallSchemaTask.java:99) > > > at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) > > > at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) > > > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > > > at java.lang.reflect.Method.invoke(Method.java:597) > > > at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) > > > at org.apache.tools.ant.Task.perform(Task.java:348) > > > at org.apache.tools.ant.Target.execute(Target.java:392) > > > at org.apache.tools.ant.Target.performTasks(Target.java:413) > > > at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399) > > > at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38) > > > at org.apache.tools.ant.Project.executeTargets(Project.java:1251) > > > at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442) > > > at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) > > > at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) > > > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > > > at java.lang.reflect.Method.invoke(Method.java:597) > > > at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) > > > at org.apache.tools.ant.Task.perform(Task.java:348) > > > at org.apache.tools.ant.Target.execute(Target.java:392) > > > at org.apache.tools.ant.Target.performTasks(Target.java:413) > > > at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399) > > > at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38) > > > at org.apache.tools.ant.Project.executeTargets(Project.java:1251) > > > at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442) > > > at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) > > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > > > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > > > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > > > at java.lang.reflect.Method.invoke(Method.java:597) > > > at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) > > > at org.apache.tools.ant.Task.perform(Task.java:348) > > > at org.apache.tools.ant.Target.execute(Target.java:392) > > > at org.apache.tools.ant.Target.performTasks(Target.java:413) > > > at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399) > > > at org.apache.tools.ant.Project.executeTarget(Project.java:1368) > > > at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41) > > > at org.apache.tools.ant.Project.executeTargets(Project.java:1251) > > > at org.apache.tools.ant.Main.runBuild(Main.java:811) > > > at org.apache.tools.ant.Main.startAnt(Main.java:217) > > > at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280) > > > at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109) > > > > > > Total time: 20 seconds > > > > > > > > > On Thu, Mar 22, 2012 at 23:23, Mark Heiges <mh...@ug...> wrote: > > > I have confirmed that the ojdbc jar is required for the code to compile. > > > > > > -Mark > > > > > > On Mar 22, 2012, at 10:09 AM, John Iodice wrote: > > > > > > > Hi Nicolas, > > > > > > > > That dbVendor setting looks right; I think that your configuration is correct for a Postgres install (and that I was mistaken to think that the install is looking for oracle.jdbc.OracleDriver because it's configured to use Oracle). > > > > > > > > Looking in my own $GUS_HOME/lib/java/db_driver directory, I see that I have both Oracle and Postgres drivers, though I only use Oracle. Maybe both are required to compile the Java? These are the files I have there: > > > > > > > > $ ls $GUS_HOME/lib/java/db_driver/ > > > > ojdbc5.jar postgresql-8.3-603.jdbc3.jar > > > > > > > > I see that ojdbc5.jar does contain oracle/jdbc/OracleDriver.class. I suggest you try downloading that jarfile. You can get it from here: http://www.oracle.com/technetwork/database/enterprise-edition/jdbc-111060-084321.html > > > > > > > > -- John > > > > > > > > > > > > > |
From: Nicolas J. <nic...@gm...> - 2012-03-23 03:20:50
|
Hi Mark, Thanks: indeed, I made the mistake of adjusting the PATH with $GUS_HOME/bin etc. before actually exporting GUS_HOME. I've rerun the build GUS install -append and it now has a new error: perlGeneratedModel: [echo] generating Perl Objects [exec] GUS::ObjRelP::DbiDbHandle connect('varDB_2012','postgres',...) failed: missing "=" after "varDB_2012" in connection info string at /Users/Nicolas/GUS/gus_home/lib/perl/GUS/ObjRelP/DbiDatabase.pm line 173 [exec] Can't bless non-reference value at /Users/Nicolas/GUS/gus_home/lib/perl/GUS/ObjRelP/DbiDbHandle.pm line 21. BUILD FAILED /Users/Nicolas/GUS/project_home/install/build.xml:38: The following error occurred while executing this line: /Users/Nicolas/GUS/project_home/GUS/build.xml:258: exec returned: 255 Thanks again for your help! Best regards, Nicolas Full output: Nicolas-work-iMac:bin Nicolas$ ./build GUS install -append Buildfile: /Users/Nicolas/GUS/project_home/install/build.xml install: [echo] proj=GUS [echo] comp= defaultComponentInstall: [echo] . [echo] Installing CBIL/Bio recordBuildState: [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/. build.info defaultComponentInstall: [echo] . [echo] Installing CBIL/CSP defaultJavaCompile: [javac] /Users/Nicolas/GUS/project_home/install/build.xml:332: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds recordBuildState: [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/. build.info defaultComponentInstall: [echo] . [echo] Installing CBIL/Util recordBuildState: [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/. build.info defaultComponentInstall: [echo] . [echo] Installing CBIL/Cider recordBuildState: [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/. build.info defaultComponentInstall: [echo] . [echo] Installing CBIL/HQ recordBuildState: [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/. build.info defaultComponentInstall: [echo] . [echo] Installing CBIL/TranscriptExpression recordBuildState: [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/. build.info defaultComponentInstall: [echo] . [echo] Installing CBIL/ObjectMapper recordBuildState: [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/. build.info defaultComponentInstall: [echo] . [echo] Installing GUS/Supported defaultJavaCompile: [javac] /Users/Nicolas/GUS/project_home/install/build.xml:332: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds recordBuildState: [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/. build.info defaultComponentInstall: [echo] . [echo] Installing GUS/Community recordBuildState: [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/. build.info defaultComponentInstall: [echo] . [echo] Installing GUS/DBAdmin defaultJavaCompile: [javac] /Users/Nicolas/GUS/project_home/install/build.xml:332: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds recordBuildState: [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/. build.info defaultComponentInstall: [echo] . [echo] Installing GUS/GOPredict defaultJavaCompile: [javac] /Users/Nicolas/GUS/project_home/install/build.xml:332: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds recordBuildState: [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/. build.info defaultComponentInstall: [echo] . [echo] Installing GusSchema/Definition recordBuildState: [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/. build.info defaultComponentInstall: [echo] . [echo] Installing GUS/DBAdmin defaultJavaCompile: [javac] /Users/Nicolas/GUS/project_home/install/build.xml:332: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds recordBuildState: [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/. build.info defaultComponentInstall: [echo] . [echo] Installing GUS/ObjRelP recordBuildState: [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/. build.info perlGeneratedModel: [echo] generating Perl Objects [exec] GUS::ObjRelP::DbiDbHandle connect('varDB_2012','postgres',...) failed: missing "=" after "varDB_2012" in connection info string at /Users/Nicolas/GUS/gus_home/lib/perl/GUS/ObjRelP/DbiDatabase.pm line 173 [exec] Can't bless non-reference value at /Users/Nicolas/GUS/gus_home/lib/perl/GUS/ObjRelP/DbiDbHandle.pm line 21. BUILD FAILED /Users/Nicolas/GUS/project_home/install/build.xml:38: The following error occurred while executing this line: /Users/Nicolas/GUS/project_home/GUS/build.xml:258: exec returned: 255 Total time: 20 seconds On Fri, Mar 23, 2012 at 12:00, Mark Heiges <mh...@ug...> wrote: > The includeantruntime warning is an ant 1.8 "feature". I'm pretty sure you > can ignore that warning in this case, I don't see any abnormal > repercussions from it, but we've not used that version of ant ourselves. > You can google that warning for more information if you're curious. > > The generateGusObjects error makes me suspect that your PATH doesn't > include $GUS_HOME/bin . You'll want something like > export PATH=$GUS_HOME/bin:$PROJECT_HOME/install/bin:$PATH > > At this point the schema is installed in your database (log in with a > client and confirm). So the next time run "build GUS install -append" > (without the -installDBSchema) and it should resume with the "generating > Perl Objects". > > > On Mar 22, 2012, at 9:59 PM, Nicolas Joannin wrote: > > > Hi Mark, > > > > I got the code from the subversion repository, but that was a couple > weeks ago, I think. > > I've just tried with the latest svn update. > > > > I started all from scratch: I deleted the GUS folder I was working in > and replaced it with the new. > > I run the install a first time and encountered the same ojdbc5.jar > problem. > > > > So I added that file to the proper directory and rerun the install. > > > > This time I get different errors (see full output below): > > > > defaultJavaCompile: > > [javac] /Users/Nicolas/GUS/project_home/install/build.xml:332: > warning: 'includeantruntime' was not set, defaulting to > build.sysclasspath=last; set to false for repeatable builds > > > > [InstallSchema] ERROR [main] (InstallSchemaTask.java:122) - Null > version, skipping. Note: You will need to manually add a version number > to the DB > > > > BUILD FAILED > > /Users/Nicolas/GUS/project_home/install/build.xml:38: The following > error occurred while executing this line: > > /Users/Nicolas/GUS/project_home/GUS/build.xml:258: Execute failed: > java.io.IOException: Cannot run program "generateGusObjects" (in directory > "/Users/Nicolas/GUS/project_home/install"): error=2, No such file or > directory > > > > The first one (with the "warning: 'includeantruntime'") occurs several > times. > > > > Thanks for the quick responses! > > Best regards, > > Nicolas > > > > > > Here's the full output: > > > > Nicolas-work-iMac:bin Nicolas$ ./build GUS install -append > -installDBSchema > > Buildfile: /Users/Nicolas/GUS/project_home/install/build.xml > > > > install: > > [echo] proj=GUS > > [echo] comp= > > > > defaultComponentInstall: > > [echo] . > > [echo] Installing CBIL/Bio > > > > recordBuildState: > > [propertyfile] Updating property file: > /Users/Nicolas/GUS/gus_home/config/.build.info > > > > defaultComponentInstall: > > [echo] . > > [echo] Installing CBIL/CSP > > > > defaultJavaCompile: > > [javac] /Users/Nicolas/GUS/project_home/install/build.xml:332: > warning: 'includeantruntime' was not set, defaulting to > build.sysclasspath=last; set to false for repeatable builds > > > > recordBuildState: > > [propertyfile] Updating property file: > /Users/Nicolas/GUS/gus_home/config/.build.info > > > > defaultComponentInstall: > > [echo] . > > [echo] Installing CBIL/Util > > > > recordBuildState: > > [propertyfile] Updating property file: > /Users/Nicolas/GUS/gus_home/config/.build.info > > > > defaultComponentInstall: > > [echo] . > > [echo] Installing CBIL/Cider > > > > recordBuildState: > > [propertyfile] Updating property file: > /Users/Nicolas/GUS/gus_home/config/.build.info > > > > defaultComponentInstall: > > [echo] . > > [echo] Installing CBIL/HQ > > > > recordBuildState: > > [propertyfile] Updating property file: > /Users/Nicolas/GUS/gus_home/config/.build.info > > > > defaultComponentInstall: > > [echo] . > > [echo] Installing CBIL/TranscriptExpression > > > > recordBuildState: > > [propertyfile] Updating property file: > /Users/Nicolas/GUS/gus_home/config/.build.info > > > > defaultComponentInstall: > > [echo] . > > [echo] Installing CBIL/ObjectMapper > > > > recordBuildState: > > [propertyfile] Updating property file: > /Users/Nicolas/GUS/gus_home/config/.build.info > > > > defaultComponentInstall: > > [echo] . > > [echo] Installing GUS/Supported > > > > defaultJavaCompile: > > [javac] /Users/Nicolas/GUS/project_home/install/build.xml:332: > warning: 'includeantruntime' was not set, defaulting to > build.sysclasspath=last; set to false for repeatable builds > > > > recordBuildState: > > [propertyfile] Updating property file: > /Users/Nicolas/GUS/gus_home/config/.build.info > > > > defaultComponentInstall: > > [echo] . > > [echo] Installing GUS/Community > > > > recordBuildState: > > [propertyfile] Updating property file: > /Users/Nicolas/GUS/gus_home/config/.build.info > > > > defaultComponentInstall: > > [echo] . > > [echo] Installing GUS/DBAdmin > > > > defaultJavaCompile: > > [javac] /Users/Nicolas/GUS/project_home/install/build.xml:332: > warning: 'includeantruntime' was not set, defaulting to > build.sysclasspath=last; set to false for repeatable builds > > > > recordBuildState: > > [propertyfile] Updating property file: > /Users/Nicolas/GUS/gus_home/config/.build.info > > > > defaultComponentInstall: > > [echo] . > > [echo] Installing GUS/GOPredict > > > > defaultJavaCompile: > > [javac] /Users/Nicolas/GUS/project_home/install/build.xml:332: > warning: 'includeantruntime' was not set, defaulting to > build.sysclasspath=last; set to false for repeatable builds > > > > recordBuildState: > > [propertyfile] Updating property file: > /Users/Nicolas/GUS/gus_home/config/.build.info > > > > defaultComponentInstall: > > [echo] . > > [echo] Installing GusSchema/Definition > > > > recordBuildState: > > [propertyfile] Updating property file: > /Users/Nicolas/GUS/gus_home/config/.build.info > > > > defaultComponentInstall: > > [echo] . > > [echo] Installing GUS/DBAdmin > > > > defaultJavaCompile: > > [javac] /Users/Nicolas/GUS/project_home/install/build.xml:332: > warning: 'includeantruntime' was not set, defaulting to > build.sysclasspath=last; set to false for repeatable builds > > > > recordBuildState: > > [propertyfile] Updating property file: > /Users/Nicolas/GUS/gus_home/config/.build.info > > > > InstallSchema: > > [InstallSchema] INFO [main] (InstallSchemaTask.java:79) - Reading > database from > /Users/Nicolas/GUS/project_home/GusSchema/Definition/config/gus_schema.xml > > [InstallSchema] INFO [main] (SchemaReader.java:48) - Reading Database > > [InstallSchema] INFO [main] (Database.java:161) - Resolving Database > References > > [InstallSchema] INFO [main] (DatabaseValidator.java:57) - Validating > Database: 'null' > > [InstallSchema] INFO [main] (InstallSchemaTask.java:87) - Overriding > individual tablespace specifications with value "GUS" from property file > > [InstallSchema] INFO [main] (DatabaseValidator.java:57) - Validating > Database: 'null' > > [InstallSchema] INFO [main] (SchemaWriter.java:33) - Writing Database > > [InstallSchema] INFO [main] (DatabaseValidator.java:57) - Validating > Database: 'null' > > [InstallSchema] INFO [main] (SchemaWriter.java:33) - Writing Database > > [InstallSchema] ERROR [main] (InstallSchemaTask.java:122) - Null > version, skipping. Note: You will need to manually add a version number > to the DB > > [InstallSchema] ERROR [main] (InstallSchemaTask.java:122) - Null > version, skipping. Note: You will need to manually add a version number > to the DB > > > > defaultComponentInstall: > > [echo] . > > [echo] Installing GUS/ObjRelP > > > > componentPartCopySub: > > [copy] Copying 3 files to /Users/Nicolas/GUS/gus_home/bin > > > > componentPartCopySub: > > [mkdir] Created dir: /Users/Nicolas/GUS/gus_home/lib/perl/GUS/ObjRelP > > [copy] Copying 18 files to > /Users/Nicolas/GUS/gus_home/lib/perl/GUS/ObjRelP > > > > componentPartCopySub: > > [mkdir] Created dir: /Users/Nicolas/GUS/gus_home/doc/GUS/ObjRelP > > [copy] Copying 3 files to > /Users/Nicolas/GUS/gus_home/doc/GUS/ObjRelP > > > > recordBuildState: > > [propertyfile] Updating property file: > /Users/Nicolas/GUS/gus_home/config/.build.info > > > > perlGeneratedModel: > > [mkdir] Created dir: > /Users/Nicolas/GUS/gus_home/lib/perl/GUS/Model/Core > > [mkdir] Created dir: > /Users/Nicolas/GUS/gus_home/lib/perl/GUS/Model/DoTS > > [mkdir] Created dir: > /Users/Nicolas/GUS/gus_home/lib/perl/GUS/Model/RAD > > [mkdir] Created dir: > /Users/Nicolas/GUS/gus_home/lib/perl/GUS/Model/SRes > > [mkdir] Created dir: > /Users/Nicolas/GUS/gus_home/lib/perl/GUS/Model/TESS > > [mkdir] Created dir: > /Users/Nicolas/GUS/gus_home/lib/perl/GUS/Model/PROT > > [mkdir] Created dir: > /Users/Nicolas/GUS/gus_home/lib/perl/GUS/Model/Study > > [echo] generating Perl Objects > > > > BUILD FAILED > > /Users/Nicolas/GUS/project_home/install/build.xml:38: The following > error occurred while executing this line: > > /Users/Nicolas/GUS/project_home/GUS/build.xml:258: Execute failed: > java.io.IOException: Cannot run program "generateGusObjects" (in directory > "/Users/Nicolas/GUS/project_home/install"): error=2, No such file or > directory > > at java.lang.ProcessBuilder.start(ProcessBuilder.java:460) > > at java.lang.Runtime.exec(Runtime.java:593) > > at > org.apache.tools.ant.taskdefs.Execute$Java13CommandLauncher.exec(Execute.java:862) > > at org.apache.tools.ant.taskdefs.Execute.launch(Execute.java:481) > > at org.apache.tools.ant.taskdefs.Execute.execute(Execute.java:495) > > at > org.apache.tools.ant.taskdefs.ExecTask.runExecute(ExecTask.java:631) > > at > org.apache.tools.ant.taskdefs.ExecTask.runExec(ExecTask.java:672) > > at > org.apache.tools.ant.taskdefs.ExecTask.execute(ExecTask.java:498) > > at > org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) > > at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) > > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > > at java.lang.reflect.Method.invoke(Method.java:597) > > at > org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) > > at org.apache.tools.ant.Task.perform(Task.java:348) > > at org.apache.tools.ant.Target.execute(Target.java:392) > > at org.apache.tools.ant.Target.performTasks(Target.java:413) > > at > org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399) > > at > org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38) > > at org.apache.tools.ant.Project.executeTargets(Project.java:1251) > > at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442) > > at > org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > > at java.lang.reflect.Method.invoke(Method.java:597) > > at > org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) > > at org.apache.tools.ant.Task.perform(Task.java:348) > > at org.apache.tools.ant.Target.execute(Target.java:392) > > at org.apache.tools.ant.Target.performTasks(Target.java:413) > > at > org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399) > > at org.apache.tools.ant.Project.executeTarget(Project.java:1368) > > at > org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41) > > at org.apache.tools.ant.Project.executeTargets(Project.java:1251) > > at org.apache.tools.ant.Main.runBuild(Main.java:811) > > at org.apache.tools.ant.Main.startAnt(Main.java:217) > > at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280) > > at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109) > > Caused by: java.io.IOException: error=2, No such file or directory > > at java.lang.UNIXProcess.forkAndExec(Native Method) > > at java.lang.UNIXProcess.<init>(UNIXProcess.java:53) > > at java.lang.ProcessImpl.start(ProcessImpl.java:91) > > at java.lang.ProcessBuilder.start(ProcessBuilder.java:453) > > ... 36 more > > > > Total time: 30 seconds > > > > > > > > On Fri, Mar 23, 2012 at 10:37, Mark Heiges <mh...@ug...> wrote: > > Hi Nicolas, Are you using code from the gus subversion repository? If > so, do an svn update. This bug was fixed this morning. If not from > subversion, where did you get your code? > > > > -Mark > > > > On Mar 22, 2012, at 9:24 PM, Nicolas Joannin wrote: > > > > > Good morning Mark, Rodrigo and John, > > > > > > Indeed, the ojdbc5.jar file helped to get further ahead :) > > > Unfortunately, there are still some errors (see below). > > > > > > Best regards, > > > Nicolas > > > > > > > > > > > > Nicolas-work-iMac:bin Nicolas$ ./build GUS install -append > -installDBSchema > > > Buildfile: /Users/Nicolas/GUS/project_home/install/build.xml > > > > > > install: > > > [echo] proj=GUS > > > [echo] comp= > > > > > > defaultComponentInstall: > > > [echo] . > > > [echo] Installing CBIL/Bio > > > > > > recordBuildState: > > > [propertyfile] Updating property file: > /Users/Nicolas/GUS/gus_home/config/.build.info > > > > > > defaultComponentInstall: > > > [echo] . > > > [echo] Installing CBIL/CSP > > > > > > defaultJavaCompile: > > > [javac] /Users/Nicolas/GUS/project_home/install/build.xml:332: > warning: 'includeantruntime' was not set, defaulting to > build.sysclasspath=last; set to false for repeatable builds > > > > > > recordBuildState: > > > [propertyfile] Updating property file: > /Users/Nicolas/GUS/gus_home/config/.build.info > > > > > > defaultComponentInstall: > > > [echo] . > > > [echo] Installing CBIL/Util > > > > > > recordBuildState: > > > [propertyfile] Updating property file: > /Users/Nicolas/GUS/gus_home/config/.build.info > > > > > > defaultComponentInstall: > > > [echo] . > > > [echo] Installing CBIL/Cider > > > > > > recordBuildState: > > > [propertyfile] Updating property file: > /Users/Nicolas/GUS/gus_home/config/.build.info > > > > > > defaultComponentInstall: > > > [echo] . > > > [echo] Installing CBIL/HQ > > > > > > recordBuildState: > > > [propertyfile] Updating property file: > /Users/Nicolas/GUS/gus_home/config/.build.info > > > > > > defaultComponentInstall: > > > [echo] . > > > [echo] Installing CBIL/TranscriptExpression > > > > > > recordBuildState: > > > [propertyfile] Updating property file: > /Users/Nicolas/GUS/gus_home/config/.build.info > > > > > > defaultComponentInstall: > > > [echo] . > > > [echo] Installing CBIL/ObjectMapper > > > > > > recordBuildState: > > > [propertyfile] Updating property file: > /Users/Nicolas/GUS/gus_home/config/.build.info > > > > > > defaultComponentInstall: > > > [echo] . > > > [echo] Installing GUS/Supported > > > > > > defaultJavaCompile: > > > [javac] /Users/Nicolas/GUS/project_home/install/build.xml:332: > warning: 'includeantruntime' was not set, defaulting to > build.sysclasspath=last; set to false for repeatable builds > > > > > > recordBuildState: > > > [propertyfile] Updating property file: > /Users/Nicolas/GUS/gus_home/config/.build.info > > > > > > defaultComponentInstall: > > > [echo] . > > > [echo] Installing GUS/Community > > > > > > recordBuildState: > > > [propertyfile] Updating property file: > /Users/Nicolas/GUS/gus_home/config/.build.info > > > > > > defaultComponentInstall: > > > [echo] . > > > [echo] Installing GUS/DBAdmin > > > > > > defaultJavaCompile: > > > [javac] /Users/Nicolas/GUS/project_home/install/build.xml:332: > warning: 'includeantruntime' was not set, defaulting to > build.sysclasspath=last; set to false for repeatable builds > > > > > > recordBuildState: > > > [propertyfile] Updating property file: > /Users/Nicolas/GUS/gus_home/config/.build.info > > > > > > defaultComponentInstall: > > > [echo] . > > > [echo] Installing GUS/GOPredict > > > > > > defaultJavaCompile: > > > [javac] /Users/Nicolas/GUS/project_home/install/build.xml:332: > warning: 'includeantruntime' was not set, defaulting to > build.sysclasspath=last; set to false for repeatable builds > > > > > > recordBuildState: > > > [propertyfile] Updating property file: > /Users/Nicolas/GUS/gus_home/config/.build.info > > > > > > defaultComponentInstall: > > > [echo] . > > > [echo] Installing GusSchema/Definition > > > > > > recordBuildState: > > > [propertyfile] Updating property file: > /Users/Nicolas/GUS/gus_home/config/.build.info > > > > > > defaultComponentInstall: > > > [echo] . > > > [echo] Installing GUS/DBAdmin > > > > > > defaultJavaCompile: > > > [javac] /Users/Nicolas/GUS/project_home/install/build.xml:332: > warning: 'includeantruntime' was not set, defaulting to > build.sysclasspath=last; set to false for repeatable builds > > > > > > recordBuildState: > > > [propertyfile] Updating property file: > /Users/Nicolas/GUS/gus_home/config/.build.info > > > > > > InstallSchema: > > > [InstallSchema] INFO [main] (InstallSchemaTask.java:79) - Reading > database from > /Users/Nicolas/GUS/project_home/GusSchema/Definition/config/gus_schema.xml > > > [InstallSchema] INFO [main] (SchemaReader.java:48) - Reading Database > > > [InstallSchema] INFO [main] (Database.java:161) - Resolving Database > References > > > [InstallSchema] INFO [main] (DatabaseValidator.java:57) - Validating > Database: 'null' > > > [InstallSchema] INFO [main] (InstallSchemaTask.java:87) - Overriding > individual tablespace specifications with value "GUS" from property file > > > [InstallSchema] INFO [main] (DatabaseValidator.java:57) - Validating > Database: 'null' > > > [InstallSchema] INFO [main] (SchemaWriter.java:33) - Writing Database > > > [InstallSchema] INFO [main] (DatabaseValidator.java:57) - Validating > Database: 'null' > > > [InstallSchema] INFO [main] (SchemaWriter.java:33) - Writing Database > > > > > > BUILD FAILED > > > /Users/Nicolas/GUS/project_home/install/build.xml:38: The following > error occurred while executing this line: > > > /Users/Nicolas/GUS/project_home/GUS/build.xml:16: The following error > occurred while executing this line: > > > /Users/Nicolas/GUS/project_home/GusSchema/build.xml:63: > java.io.IOException: Error executing SQL: ' > > > > > > CREATE TABLE Core.AlgorithmInvocation ( > > > ALGORITHM_INVOCATION_ID NUMERIC(12,0) NOT NULL, > > > ALGORITHM_IMPLEMENTATION_ID NUMERIC(5,0) NOT NULL, > > > START_TIME TIMESTAMP NOT NULL, > > > END_TIME TIMESTAMP NOT NULL, > > > CPUS_USED NUMERIC(5,0) , > > > CPU_TIME FLOAT(126) , > > > RESULT VARCHAR(350) NOT NULL, > > > COMMENT_STRING VARCHAR(255) , > > > MODIFICATION_DATE TIMESTAMP NOT NULL, > > > USER_READ NUMERIC(1,0) NOT NULL, > > > USER_WRITE NUMERIC(1,0) NOT NULL, > > > GROUP_READ NUMERIC(1,0) NOT NULL, > > > GROUP_WRITE NUMERIC(1,0) NOT NULL, > > > OTHER_READ NUMERIC(1,0) NOT NULL, > > > OTHER_WRITE NUMERIC(1,0) NOT NULL, > > > ROW_USER_ID NUMERIC(12,0) NOT NULL, > > > ROW_GROUP_ID NUMERIC(4,0) NOT NULL, > > > ROW_PROJECT_ID NUMERIC(4,0) NOT NULL, > > > ROW_ALG_INVOCATION_ID NUMERIC(12,0) NOT NULL)' Error: ERROR: > precision for type float must be less than 54 bits > > > at > org.gusdb.dbadmin.util.JDBCStreamWriter.flush(JDBCStreamWriter.java:57) > > > at > org.gusdb.dbadmin.writer.RelationalDatabaseWriter.writeTable(RelationalDatabaseWriter.java:67) > > > at > org.gusdb.dbadmin.writer.RelationalDatabaseWriter.writeTables(RelationalDatabaseWriter.java:43) > > > at > org.gusdb.dbadmin.writer.PostgresWriter.writeDatabase(PostgresWriter.java:68) > > > at > org.gusdb.dbadmin.writer.SchemaWriter.write(SchemaWriter.java:34) > > > at > org.gusdb.dbadmin.util.InstallSchemaTask.execute(InstallSchemaTask.java:99) > > > at > org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) > > > at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) > > > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > > > at java.lang.reflect.Method.invoke(Method.java:597) > > > at > org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) > > > at org.apache.tools.ant.Task.perform(Task.java:348) > > > at org.apache.tools.ant.Target.execute(Target.java:392) > > > at org.apache.tools.ant.Target.performTasks(Target.java:413) > > > at > org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399) > > > at > org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38) > > > at org.apache.tools.ant.Project.executeTargets(Project.java:1251) > > > at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442) > > > at > org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) > > > at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) > > > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > > > at java.lang.reflect.Method.invoke(Method.java:597) > > > at > org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) > > > at org.apache.tools.ant.Task.perform(Task.java:348) > > > at org.apache.tools.ant.Target.execute(Target.java:392) > > > at org.apache.tools.ant.Target.performTasks(Target.java:413) > > > at > org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399) > > > at > org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38) > > > at org.apache.tools.ant.Project.executeTargets(Project.java:1251) > > > at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442) > > > at > org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) > > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > > > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > > > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > > > at java.lang.reflect.Method.invoke(Method.java:597) > > > at > org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) > > > at org.apache.tools.ant.Task.perform(Task.java:348) > > > at org.apache.tools.ant.Target.execute(Target.java:392) > > > at org.apache.tools.ant.Target.performTasks(Target.java:413) > > > at > org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399) > > > at org.apache.tools.ant.Project.executeTarget(Project.java:1368) > > > at > org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41) > > > at org.apache.tools.ant.Project.executeTargets(Project.java:1251) > > > at org.apache.tools.ant.Main.runBuild(Main.java:811) > > > at org.apache.tools.ant.Main.startAnt(Main.java:217) > > > at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280) > > > at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109) > > > > > > Total time: 20 seconds > > > > > > > > > On Thu, Mar 22, 2012 at 23:23, Mark Heiges <mh...@ug...> wrote: > > > I have confirmed that the ojdbc jar is required for the code to > compile. > > > > > > -Mark > > > > > > On Mar 22, 2012, at 10:09 AM, John Iodice wrote: > > > > > > > Hi Nicolas, > > > > > > > > That dbVendor setting looks right; I think that your configuration > is correct for a Postgres install (and that I was mistaken to think that > the install is looking for oracle.jdbc.OracleDriver because it's configured > to use Oracle). > > > > > > > > Looking in my own $GUS_HOME/lib/java/db_driver directory, I see that > I have both Oracle and Postgres drivers, though I only use Oracle. Maybe > both are required to compile the Java? These are the files I have there: > > > > > > > > $ ls $GUS_HOME/lib/java/db_driver/ > > > > ojdbc5.jar postgresql-8.3-603.jdbc3.jar > > > > > > > > I see that ojdbc5.jar does contain oracle/jdbc/OracleDriver.class. I > suggest you try downloading that jarfile. You can get it from here: > http://www.oracle.com/technetwork/database/enterprise-edition/jdbc-111060-084321.html > > > > > > > > -- John > > > > > > > > > > > > > |
From: Mark H. <mh...@ug...> - 2012-03-23 03:00:29
|
The includeantruntime warning is an ant 1.8 "feature". I'm pretty sure you can ignore that warning in this case, I don't see any abnormal repercussions from it, but we've not used that version of ant ourselves. You can google that warning for more information if you're curious. The generateGusObjects error makes me suspect that your PATH doesn't include $GUS_HOME/bin . You'll want something like export PATH=$GUS_HOME/bin:$PROJECT_HOME/install/bin:$PATH At this point the schema is installed in your database (log in with a client and confirm). So the next time run "build GUS install -append" (without the -installDBSchema) and it should resume with the "generating Perl Objects". On Mar 22, 2012, at 9:59 PM, Nicolas Joannin wrote: > Hi Mark, > > I got the code from the subversion repository, but that was a couple weeks ago, I think. > I've just tried with the latest svn update. > > I started all from scratch: I deleted the GUS folder I was working in and replaced it with the new. > I run the install a first time and encountered the same ojdbc5.jar problem. > > So I added that file to the proper directory and rerun the install. > > This time I get different errors (see full output below): > > defaultJavaCompile: > [javac] /Users/Nicolas/GUS/project_home/install/build.xml:332: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds > > [InstallSchema] ERROR [main] (InstallSchemaTask.java:122) - Null version, skipping. Note: You will need to manually add a version number to the DB > > BUILD FAILED > /Users/Nicolas/GUS/project_home/install/build.xml:38: The following error occurred while executing this line: > /Users/Nicolas/GUS/project_home/GUS/build.xml:258: Execute failed: java.io.IOException: Cannot run program "generateGusObjects" (in directory "/Users/Nicolas/GUS/project_home/install"): error=2, No such file or directory > > The first one (with the "warning: 'includeantruntime'") occurs several times. > > Thanks for the quick responses! > Best regards, > Nicolas > > > Here's the full output: > > Nicolas-work-iMac:bin Nicolas$ ./build GUS install -append -installDBSchema > Buildfile: /Users/Nicolas/GUS/project_home/install/build.xml > > install: > [echo] proj=GUS > [echo] comp= > > defaultComponentInstall: > [echo] . > [echo] Installing CBIL/Bio > > recordBuildState: > [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/.build.info > > defaultComponentInstall: > [echo] . > [echo] Installing CBIL/CSP > > defaultJavaCompile: > [javac] /Users/Nicolas/GUS/project_home/install/build.xml:332: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds > > recordBuildState: > [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/.build.info > > defaultComponentInstall: > [echo] . > [echo] Installing CBIL/Util > > recordBuildState: > [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/.build.info > > defaultComponentInstall: > [echo] . > [echo] Installing CBIL/Cider > > recordBuildState: > [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/.build.info > > defaultComponentInstall: > [echo] . > [echo] Installing CBIL/HQ > > recordBuildState: > [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/.build.info > > defaultComponentInstall: > [echo] . > [echo] Installing CBIL/TranscriptExpression > > recordBuildState: > [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/.build.info > > defaultComponentInstall: > [echo] . > [echo] Installing CBIL/ObjectMapper > > recordBuildState: > [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/.build.info > > defaultComponentInstall: > [echo] . > [echo] Installing GUS/Supported > > defaultJavaCompile: > [javac] /Users/Nicolas/GUS/project_home/install/build.xml:332: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds > > recordBuildState: > [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/.build.info > > defaultComponentInstall: > [echo] . > [echo] Installing GUS/Community > > recordBuildState: > [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/.build.info > > defaultComponentInstall: > [echo] . > [echo] Installing GUS/DBAdmin > > defaultJavaCompile: > [javac] /Users/Nicolas/GUS/project_home/install/build.xml:332: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds > > recordBuildState: > [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/.build.info > > defaultComponentInstall: > [echo] . > [echo] Installing GUS/GOPredict > > defaultJavaCompile: > [javac] /Users/Nicolas/GUS/project_home/install/build.xml:332: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds > > recordBuildState: > [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/.build.info > > defaultComponentInstall: > [echo] . > [echo] Installing GusSchema/Definition > > recordBuildState: > [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/.build.info > > defaultComponentInstall: > [echo] . > [echo] Installing GUS/DBAdmin > > defaultJavaCompile: > [javac] /Users/Nicolas/GUS/project_home/install/build.xml:332: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds > > recordBuildState: > [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/.build.info > > InstallSchema: > [InstallSchema] INFO [main] (InstallSchemaTask.java:79) - Reading database from /Users/Nicolas/GUS/project_home/GusSchema/Definition/config/gus_schema.xml > [InstallSchema] INFO [main] (SchemaReader.java:48) - Reading Database > [InstallSchema] INFO [main] (Database.java:161) - Resolving Database References > [InstallSchema] INFO [main] (DatabaseValidator.java:57) - Validating Database: 'null' > [InstallSchema] INFO [main] (InstallSchemaTask.java:87) - Overriding individual tablespace specifications with value "GUS" from property file > [InstallSchema] INFO [main] (DatabaseValidator.java:57) - Validating Database: 'null' > [InstallSchema] INFO [main] (SchemaWriter.java:33) - Writing Database > [InstallSchema] INFO [main] (DatabaseValidator.java:57) - Validating Database: 'null' > [InstallSchema] INFO [main] (SchemaWriter.java:33) - Writing Database > [InstallSchema] ERROR [main] (InstallSchemaTask.java:122) - Null version, skipping. Note: You will need to manually add a version number to the DB > [InstallSchema] ERROR [main] (InstallSchemaTask.java:122) - Null version, skipping. Note: You will need to manually add a version number to the DB > > defaultComponentInstall: > [echo] . > [echo] Installing GUS/ObjRelP > > componentPartCopySub: > [copy] Copying 3 files to /Users/Nicolas/GUS/gus_home/bin > > componentPartCopySub: > [mkdir] Created dir: /Users/Nicolas/GUS/gus_home/lib/perl/GUS/ObjRelP > [copy] Copying 18 files to /Users/Nicolas/GUS/gus_home/lib/perl/GUS/ObjRelP > > componentPartCopySub: > [mkdir] Created dir: /Users/Nicolas/GUS/gus_home/doc/GUS/ObjRelP > [copy] Copying 3 files to /Users/Nicolas/GUS/gus_home/doc/GUS/ObjRelP > > recordBuildState: > [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/.build.info > > perlGeneratedModel: > [mkdir] Created dir: /Users/Nicolas/GUS/gus_home/lib/perl/GUS/Model/Core > [mkdir] Created dir: /Users/Nicolas/GUS/gus_home/lib/perl/GUS/Model/DoTS > [mkdir] Created dir: /Users/Nicolas/GUS/gus_home/lib/perl/GUS/Model/RAD > [mkdir] Created dir: /Users/Nicolas/GUS/gus_home/lib/perl/GUS/Model/SRes > [mkdir] Created dir: /Users/Nicolas/GUS/gus_home/lib/perl/GUS/Model/TESS > [mkdir] Created dir: /Users/Nicolas/GUS/gus_home/lib/perl/GUS/Model/PROT > [mkdir] Created dir: /Users/Nicolas/GUS/gus_home/lib/perl/GUS/Model/Study > [echo] generating Perl Objects > > BUILD FAILED > /Users/Nicolas/GUS/project_home/install/build.xml:38: The following error occurred while executing this line: > /Users/Nicolas/GUS/project_home/GUS/build.xml:258: Execute failed: java.io.IOException: Cannot run program "generateGusObjects" (in directory "/Users/Nicolas/GUS/project_home/install"): error=2, No such file or directory > at java.lang.ProcessBuilder.start(ProcessBuilder.java:460) > at java.lang.Runtime.exec(Runtime.java:593) > at org.apache.tools.ant.taskdefs.Execute$Java13CommandLauncher.exec(Execute.java:862) > at org.apache.tools.ant.taskdefs.Execute.launch(Execute.java:481) > at org.apache.tools.ant.taskdefs.Execute.execute(Execute.java:495) > at org.apache.tools.ant.taskdefs.ExecTask.runExecute(ExecTask.java:631) > at org.apache.tools.ant.taskdefs.ExecTask.runExec(ExecTask.java:672) > at org.apache.tools.ant.taskdefs.ExecTask.execute(ExecTask.java:498) > at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) > at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:597) > at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) > at org.apache.tools.ant.Task.perform(Task.java:348) > at org.apache.tools.ant.Target.execute(Target.java:392) > at org.apache.tools.ant.Target.performTasks(Target.java:413) > at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399) > at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38) > at org.apache.tools.ant.Project.executeTargets(Project.java:1251) > at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442) > at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:597) > at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) > at org.apache.tools.ant.Task.perform(Task.java:348) > at org.apache.tools.ant.Target.execute(Target.java:392) > at org.apache.tools.ant.Target.performTasks(Target.java:413) > at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399) > at org.apache.tools.ant.Project.executeTarget(Project.java:1368) > at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41) > at org.apache.tools.ant.Project.executeTargets(Project.java:1251) > at org.apache.tools.ant.Main.runBuild(Main.java:811) > at org.apache.tools.ant.Main.startAnt(Main.java:217) > at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280) > at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109) > Caused by: java.io.IOException: error=2, No such file or directory > at java.lang.UNIXProcess.forkAndExec(Native Method) > at java.lang.UNIXProcess.<init>(UNIXProcess.java:53) > at java.lang.ProcessImpl.start(ProcessImpl.java:91) > at java.lang.ProcessBuilder.start(ProcessBuilder.java:453) > ... 36 more > > Total time: 30 seconds > > > > On Fri, Mar 23, 2012 at 10:37, Mark Heiges <mh...@ug...> wrote: > Hi Nicolas, Are you using code from the gus subversion repository? If so, do an svn update. This bug was fixed this morning. If not from subversion, where did you get your code? > > -Mark > > On Mar 22, 2012, at 9:24 PM, Nicolas Joannin wrote: > > > Good morning Mark, Rodrigo and John, > > > > Indeed, the ojdbc5.jar file helped to get further ahead :) > > Unfortunately, there are still some errors (see below). > > > > Best regards, > > Nicolas > > > > > > > > Nicolas-work-iMac:bin Nicolas$ ./build GUS install -append -installDBSchema > > Buildfile: /Users/Nicolas/GUS/project_home/install/build.xml > > > > install: > > [echo] proj=GUS > > [echo] comp= > > > > defaultComponentInstall: > > [echo] . > > [echo] Installing CBIL/Bio > > > > recordBuildState: > > [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/.build.info > > > > defaultComponentInstall: > > [echo] . > > [echo] Installing CBIL/CSP > > > > defaultJavaCompile: > > [javac] /Users/Nicolas/GUS/project_home/install/build.xml:332: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds > > > > recordBuildState: > > [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/.build.info > > > > defaultComponentInstall: > > [echo] . > > [echo] Installing CBIL/Util > > > > recordBuildState: > > [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/.build.info > > > > defaultComponentInstall: > > [echo] . > > [echo] Installing CBIL/Cider > > > > recordBuildState: > > [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/.build.info > > > > defaultComponentInstall: > > [echo] . > > [echo] Installing CBIL/HQ > > > > recordBuildState: > > [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/.build.info > > > > defaultComponentInstall: > > [echo] . > > [echo] Installing CBIL/TranscriptExpression > > > > recordBuildState: > > [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/.build.info > > > > defaultComponentInstall: > > [echo] . > > [echo] Installing CBIL/ObjectMapper > > > > recordBuildState: > > [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/.build.info > > > > defaultComponentInstall: > > [echo] . > > [echo] Installing GUS/Supported > > > > defaultJavaCompile: > > [javac] /Users/Nicolas/GUS/project_home/install/build.xml:332: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds > > > > recordBuildState: > > [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/.build.info > > > > defaultComponentInstall: > > [echo] . > > [echo] Installing GUS/Community > > > > recordBuildState: > > [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/.build.info > > > > defaultComponentInstall: > > [echo] . > > [echo] Installing GUS/DBAdmin > > > > defaultJavaCompile: > > [javac] /Users/Nicolas/GUS/project_home/install/build.xml:332: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds > > > > recordBuildState: > > [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/.build.info > > > > defaultComponentInstall: > > [echo] . > > [echo] Installing GUS/GOPredict > > > > defaultJavaCompile: > > [javac] /Users/Nicolas/GUS/project_home/install/build.xml:332: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds > > > > recordBuildState: > > [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/.build.info > > > > defaultComponentInstall: > > [echo] . > > [echo] Installing GusSchema/Definition > > > > recordBuildState: > > [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/.build.info > > > > defaultComponentInstall: > > [echo] . > > [echo] Installing GUS/DBAdmin > > > > defaultJavaCompile: > > [javac] /Users/Nicolas/GUS/project_home/install/build.xml:332: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds > > > > recordBuildState: > > [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/.build.info > > > > InstallSchema: > > [InstallSchema] INFO [main] (InstallSchemaTask.java:79) - Reading database from /Users/Nicolas/GUS/project_home/GusSchema/Definition/config/gus_schema.xml > > [InstallSchema] INFO [main] (SchemaReader.java:48) - Reading Database > > [InstallSchema] INFO [main] (Database.java:161) - Resolving Database References > > [InstallSchema] INFO [main] (DatabaseValidator.java:57) - Validating Database: 'null' > > [InstallSchema] INFO [main] (InstallSchemaTask.java:87) - Overriding individual tablespace specifications with value "GUS" from property file > > [InstallSchema] INFO [main] (DatabaseValidator.java:57) - Validating Database: 'null' > > [InstallSchema] INFO [main] (SchemaWriter.java:33) - Writing Database > > [InstallSchema] INFO [main] (DatabaseValidator.java:57) - Validating Database: 'null' > > [InstallSchema] INFO [main] (SchemaWriter.java:33) - Writing Database > > > > BUILD FAILED > > /Users/Nicolas/GUS/project_home/install/build.xml:38: The following error occurred while executing this line: > > /Users/Nicolas/GUS/project_home/GUS/build.xml:16: The following error occurred while executing this line: > > /Users/Nicolas/GUS/project_home/GusSchema/build.xml:63: java.io.IOException: Error executing SQL: ' > > > > CREATE TABLE Core.AlgorithmInvocation ( > > ALGORITHM_INVOCATION_ID NUMERIC(12,0) NOT NULL, > > ALGORITHM_IMPLEMENTATION_ID NUMERIC(5,0) NOT NULL, > > START_TIME TIMESTAMP NOT NULL, > > END_TIME TIMESTAMP NOT NULL, > > CPUS_USED NUMERIC(5,0) , > > CPU_TIME FLOAT(126) , > > RESULT VARCHAR(350) NOT NULL, > > COMMENT_STRING VARCHAR(255) , > > MODIFICATION_DATE TIMESTAMP NOT NULL, > > USER_READ NUMERIC(1,0) NOT NULL, > > USER_WRITE NUMERIC(1,0) NOT NULL, > > GROUP_READ NUMERIC(1,0) NOT NULL, > > GROUP_WRITE NUMERIC(1,0) NOT NULL, > > OTHER_READ NUMERIC(1,0) NOT NULL, > > OTHER_WRITE NUMERIC(1,0) NOT NULL, > > ROW_USER_ID NUMERIC(12,0) NOT NULL, > > ROW_GROUP_ID NUMERIC(4,0) NOT NULL, > > ROW_PROJECT_ID NUMERIC(4,0) NOT NULL, > > ROW_ALG_INVOCATION_ID NUMERIC(12,0) NOT NULL)' Error: ERROR: precision for type float must be less than 54 bits > > at org.gusdb.dbadmin.util.JDBCStreamWriter.flush(JDBCStreamWriter.java:57) > > at org.gusdb.dbadmin.writer.RelationalDatabaseWriter.writeTable(RelationalDatabaseWriter.java:67) > > at org.gusdb.dbadmin.writer.RelationalDatabaseWriter.writeTables(RelationalDatabaseWriter.java:43) > > at org.gusdb.dbadmin.writer.PostgresWriter.writeDatabase(PostgresWriter.java:68) > > at org.gusdb.dbadmin.writer.SchemaWriter.write(SchemaWriter.java:34) > > at org.gusdb.dbadmin.util.InstallSchemaTask.execute(InstallSchemaTask.java:99) > > at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) > > at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) > > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > > at java.lang.reflect.Method.invoke(Method.java:597) > > at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) > > at org.apache.tools.ant.Task.perform(Task.java:348) > > at org.apache.tools.ant.Target.execute(Target.java:392) > > at org.apache.tools.ant.Target.performTasks(Target.java:413) > > at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399) > > at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38) > > at org.apache.tools.ant.Project.executeTargets(Project.java:1251) > > at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442) > > at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) > > at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) > > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > > at java.lang.reflect.Method.invoke(Method.java:597) > > at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) > > at org.apache.tools.ant.Task.perform(Task.java:348) > > at org.apache.tools.ant.Target.execute(Target.java:392) > > at org.apache.tools.ant.Target.performTasks(Target.java:413) > > at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399) > > at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38) > > at org.apache.tools.ant.Project.executeTargets(Project.java:1251) > > at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442) > > at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > > at java.lang.reflect.Method.invoke(Method.java:597) > > at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) > > at org.apache.tools.ant.Task.perform(Task.java:348) > > at org.apache.tools.ant.Target.execute(Target.java:392) > > at org.apache.tools.ant.Target.performTasks(Target.java:413) > > at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399) > > at org.apache.tools.ant.Project.executeTarget(Project.java:1368) > > at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41) > > at org.apache.tools.ant.Project.executeTargets(Project.java:1251) > > at org.apache.tools.ant.Main.runBuild(Main.java:811) > > at org.apache.tools.ant.Main.startAnt(Main.java:217) > > at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280) > > at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109) > > > > Total time: 20 seconds > > > > > > On Thu, Mar 22, 2012 at 23:23, Mark Heiges <mh...@ug...> wrote: > > I have confirmed that the ojdbc jar is required for the code to compile. > > > > -Mark > > > > On Mar 22, 2012, at 10:09 AM, John Iodice wrote: > > > > > Hi Nicolas, > > > > > > That dbVendor setting looks right; I think that your configuration is correct for a Postgres install (and that I was mistaken to think that the install is looking for oracle.jdbc.OracleDriver because it's configured to use Oracle). > > > > > > Looking in my own $GUS_HOME/lib/java/db_driver directory, I see that I have both Oracle and Postgres drivers, though I only use Oracle. Maybe both are required to compile the Java? These are the files I have there: > > > > > > $ ls $GUS_HOME/lib/java/db_driver/ > > > ojdbc5.jar postgresql-8.3-603.jdbc3.jar > > > > > > I see that ojdbc5.jar does contain oracle/jdbc/OracleDriver.class. I suggest you try downloading that jarfile. You can get it from here: http://www.oracle.com/technetwork/database/enterprise-edition/jdbc-111060-084321.html > > > > > > -- John > > > > > > |
From: Nicolas J. <nic...@gm...> - 2012-03-23 02:42:40
|
Hello, I just wanted to point out that the link to the Mailing-list archive on the gusdb.org documentation page <http://www.gusdb.org/documentation.php> is pointing to the wrong archive. When I follow that link, I get to a "MalaysiaLinuxDoc" archive<http://sourceforge.net/mailarchive/forum.php?forum_id=9903> ... Best regards, Nicolas |
From: Nicolas J. <nic...@gm...> - 2012-03-23 01:59:58
|
Hi Mark, I got the code from the subversion repository, but that was a couple weeks ago, I think. I've just tried with the latest svn update. I started all from scratch: I deleted the GUS folder I was working in and replaced it with the new. I run the install a first time and encountered the same ojdbc5.jar problem. So I added that file to the proper directory and rerun the install. This time I get different errors (see full output below): defaultJavaCompile: [javac] /Users/Nicolas/GUS/project_home/install/build.xml:332: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds [InstallSchema] ERROR [main] (InstallSchemaTask.java:122) - Null version, skipping. Note: You will need to manually add a version number to the DB BUILD FAILED /Users/Nicolas/GUS/project_home/install/build.xml:38: The following error occurred while executing this line: /Users/Nicolas/GUS/project_home/GUS/build.xml:258: Execute failed: java.io.IOException: Cannot run program "generateGusObjects" (in directory "/Users/Nicolas/GUS/project_home/install"): error=2, No such file or directory The first one (with the "warning: 'includeantruntime'") occurs several times. Thanks for the quick responses! Best regards, Nicolas Here's the full output: Nicolas-work-iMac:bin Nicolas$ ./build GUS install -append -installDBSchema Buildfile: /Users/Nicolas/GUS/project_home/install/build.xml install: [echo] proj=GUS [echo] comp= defaultComponentInstall: [echo] . [echo] Installing CBIL/Bio recordBuildState: [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/. build.info defaultComponentInstall: [echo] . [echo] Installing CBIL/CSP defaultJavaCompile: [javac] /Users/Nicolas/GUS/project_home/install/build.xml:332: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds recordBuildState: [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/. build.info defaultComponentInstall: [echo] . [echo] Installing CBIL/Util recordBuildState: [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/. build.info defaultComponentInstall: [echo] . [echo] Installing CBIL/Cider recordBuildState: [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/. build.info defaultComponentInstall: [echo] . [echo] Installing CBIL/HQ recordBuildState: [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/. build.info defaultComponentInstall: [echo] . [echo] Installing CBIL/TranscriptExpression recordBuildState: [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/. build.info defaultComponentInstall: [echo] . [echo] Installing CBIL/ObjectMapper recordBuildState: [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/. build.info defaultComponentInstall: [echo] . [echo] Installing GUS/Supported defaultJavaCompile: [javac] /Users/Nicolas/GUS/project_home/install/build.xml:332: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds recordBuildState: [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/. build.info defaultComponentInstall: [echo] . [echo] Installing GUS/Community recordBuildState: [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/. build.info defaultComponentInstall: [echo] . [echo] Installing GUS/DBAdmin defaultJavaCompile: [javac] /Users/Nicolas/GUS/project_home/install/build.xml:332: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds recordBuildState: [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/. build.info defaultComponentInstall: [echo] . [echo] Installing GUS/GOPredict defaultJavaCompile: [javac] /Users/Nicolas/GUS/project_home/install/build.xml:332: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds recordBuildState: [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/. build.info defaultComponentInstall: [echo] . [echo] Installing GusSchema/Definition recordBuildState: [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/. build.info defaultComponentInstall: [echo] . [echo] Installing GUS/DBAdmin defaultJavaCompile: [javac] /Users/Nicolas/GUS/project_home/install/build.xml:332: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds recordBuildState: [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/. build.info InstallSchema: [InstallSchema] INFO [main] (InstallSchemaTask.java:79) - Reading database from /Users/Nicolas/GUS/project_home/GusSchema/Definition/config/gus_schema.xml [InstallSchema] INFO [main] (SchemaReader.java:48) - Reading Database [InstallSchema] INFO [main] (Database.java:161) - Resolving Database References [InstallSchema] INFO [main] (DatabaseValidator.java:57) - Validating Database: 'null' [InstallSchema] INFO [main] (InstallSchemaTask.java:87) - Overriding individual tablespace specifications with value "GUS" from property file [InstallSchema] INFO [main] (DatabaseValidator.java:57) - Validating Database: 'null' [InstallSchema] INFO [main] (SchemaWriter.java:33) - Writing Database [InstallSchema] INFO [main] (DatabaseValidator.java:57) - Validating Database: 'null' [InstallSchema] INFO [main] (SchemaWriter.java:33) - Writing Database [InstallSchema] ERROR [main] (InstallSchemaTask.java:122) - Null version, skipping. Note: You will need to manually add a version number to the DB [InstallSchema] ERROR [main] (InstallSchemaTask.java:122) - Null version, skipping. Note: You will need to manually add a version number to the DB defaultComponentInstall: [echo] . [echo] Installing GUS/ObjRelP componentPartCopySub: [copy] Copying 3 files to /Users/Nicolas/GUS/gus_home/bin componentPartCopySub: [mkdir] Created dir: /Users/Nicolas/GUS/gus_home/lib/perl/GUS/ObjRelP [copy] Copying 18 files to /Users/Nicolas/GUS/gus_home/lib/perl/GUS/ObjRelP componentPartCopySub: [mkdir] Created dir: /Users/Nicolas/GUS/gus_home/doc/GUS/ObjRelP [copy] Copying 3 files to /Users/Nicolas/GUS/gus_home/doc/GUS/ObjRelP recordBuildState: [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/. build.info perlGeneratedModel: [mkdir] Created dir: /Users/Nicolas/GUS/gus_home/lib/perl/GUS/Model/Core [mkdir] Created dir: /Users/Nicolas/GUS/gus_home/lib/perl/GUS/Model/DoTS [mkdir] Created dir: /Users/Nicolas/GUS/gus_home/lib/perl/GUS/Model/RAD [mkdir] Created dir: /Users/Nicolas/GUS/gus_home/lib/perl/GUS/Model/SRes [mkdir] Created dir: /Users/Nicolas/GUS/gus_home/lib/perl/GUS/Model/TESS [mkdir] Created dir: /Users/Nicolas/GUS/gus_home/lib/perl/GUS/Model/PROT [mkdir] Created dir: /Users/Nicolas/GUS/gus_home/lib/perl/GUS/Model/Study [echo] generating Perl Objects BUILD FAILED /Users/Nicolas/GUS/project_home/install/build.xml:38: The following error occurred while executing this line: /Users/Nicolas/GUS/project_home/GUS/build.xml:258: Execute failed: java.io.IOException: Cannot run program "generateGusObjects" (in directory "/Users/Nicolas/GUS/project_home/install"): error=2, No such file or directory at java.lang.ProcessBuilder.start(ProcessBuilder.java:460) at java.lang.Runtime.exec(Runtime.java:593) at org.apache.tools.ant.taskdefs.Execute$Java13CommandLauncher.exec(Execute.java:862) at org.apache.tools.ant.taskdefs.Execute.launch(Execute.java:481) at org.apache.tools.ant.taskdefs.Execute.execute(Execute.java:495) at org.apache.tools.ant.taskdefs.ExecTask.runExecute(ExecTask.java:631) at org.apache.tools.ant.taskdefs.ExecTask.runExec(ExecTask.java:672) at org.apache.tools.ant.taskdefs.ExecTask.execute(ExecTask.java:498) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) at org.apache.tools.ant.Task.perform(Task.java:348) at org.apache.tools.ant.Target.execute(Target.java:392) at org.apache.tools.ant.Target.performTasks(Target.java:413) at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399) at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38) at org.apache.tools.ant.Project.executeTargets(Project.java:1251) at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) at org.apache.tools.ant.Task.perform(Task.java:348) at org.apache.tools.ant.Target.execute(Target.java:392) at org.apache.tools.ant.Target.performTasks(Target.java:413) at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399) at org.apache.tools.ant.Project.executeTarget(Project.java:1368) at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41) at org.apache.tools.ant.Project.executeTargets(Project.java:1251) at org.apache.tools.ant.Main.runBuild(Main.java:811) at org.apache.tools.ant.Main.startAnt(Main.java:217) at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280) at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109) Caused by: java.io.IOException: error=2, No such file or directory at java.lang.UNIXProcess.forkAndExec(Native Method) at java.lang.UNIXProcess.<init>(UNIXProcess.java:53) at java.lang.ProcessImpl.start(ProcessImpl.java:91) at java.lang.ProcessBuilder.start(ProcessBuilder.java:453) ... 36 more Total time: 30 seconds On Fri, Mar 23, 2012 at 10:37, Mark Heiges <mh...@ug...> wrote: > Hi Nicolas, Are you using code from the gus subversion repository? If so, > do an svn update. This bug was fixed this morning. If not from subversion, > where did you get your code? > > -Mark > > On Mar 22, 2012, at 9:24 PM, Nicolas Joannin wrote: > > > Good morning Mark, Rodrigo and John, > > > > Indeed, the ojdbc5.jar file helped to get further ahead :) > > Unfortunately, there are still some errors (see below). > > > > Best regards, > > Nicolas > > > > > > > > Nicolas-work-iMac:bin Nicolas$ ./build GUS install -append > -installDBSchema > > Buildfile: /Users/Nicolas/GUS/project_home/install/build.xml > > > > install: > > [echo] proj=GUS > > [echo] comp= > > > > defaultComponentInstall: > > [echo] . > > [echo] Installing CBIL/Bio > > > > recordBuildState: > > [propertyfile] Updating property file: > /Users/Nicolas/GUS/gus_home/config/.build.info > > > > defaultComponentInstall: > > [echo] . > > [echo] Installing CBIL/CSP > > > > defaultJavaCompile: > > [javac] /Users/Nicolas/GUS/project_home/install/build.xml:332: > warning: 'includeantruntime' was not set, defaulting to > build.sysclasspath=last; set to false for repeatable builds > > > > recordBuildState: > > [propertyfile] Updating property file: > /Users/Nicolas/GUS/gus_home/config/.build.info > > > > defaultComponentInstall: > > [echo] . > > [echo] Installing CBIL/Util > > > > recordBuildState: > > [propertyfile] Updating property file: > /Users/Nicolas/GUS/gus_home/config/.build.info > > > > defaultComponentInstall: > > [echo] . > > [echo] Installing CBIL/Cider > > > > recordBuildState: > > [propertyfile] Updating property file: > /Users/Nicolas/GUS/gus_home/config/.build.info > > > > defaultComponentInstall: > > [echo] . > > [echo] Installing CBIL/HQ > > > > recordBuildState: > > [propertyfile] Updating property file: > /Users/Nicolas/GUS/gus_home/config/.build.info > > > > defaultComponentInstall: > > [echo] . > > [echo] Installing CBIL/TranscriptExpression > > > > recordBuildState: > > [propertyfile] Updating property file: > /Users/Nicolas/GUS/gus_home/config/.build.info > > > > defaultComponentInstall: > > [echo] . > > [echo] Installing CBIL/ObjectMapper > > > > recordBuildState: > > [propertyfile] Updating property file: > /Users/Nicolas/GUS/gus_home/config/.build.info > > > > defaultComponentInstall: > > [echo] . > > [echo] Installing GUS/Supported > > > > defaultJavaCompile: > > [javac] /Users/Nicolas/GUS/project_home/install/build.xml:332: > warning: 'includeantruntime' was not set, defaulting to > build.sysclasspath=last; set to false for repeatable builds > > > > recordBuildState: > > [propertyfile] Updating property file: > /Users/Nicolas/GUS/gus_home/config/.build.info > > > > defaultComponentInstall: > > [echo] . > > [echo] Installing GUS/Community > > > > recordBuildState: > > [propertyfile] Updating property file: > /Users/Nicolas/GUS/gus_home/config/.build.info > > > > defaultComponentInstall: > > [echo] . > > [echo] Installing GUS/DBAdmin > > > > defaultJavaCompile: > > [javac] /Users/Nicolas/GUS/project_home/install/build.xml:332: > warning: 'includeantruntime' was not set, defaulting to > build.sysclasspath=last; set to false for repeatable builds > > > > recordBuildState: > > [propertyfile] Updating property file: > /Users/Nicolas/GUS/gus_home/config/.build.info > > > > defaultComponentInstall: > > [echo] . > > [echo] Installing GUS/GOPredict > > > > defaultJavaCompile: > > [javac] /Users/Nicolas/GUS/project_home/install/build.xml:332: > warning: 'includeantruntime' was not set, defaulting to > build.sysclasspath=last; set to false for repeatable builds > > > > recordBuildState: > > [propertyfile] Updating property file: > /Users/Nicolas/GUS/gus_home/config/.build.info > > > > defaultComponentInstall: > > [echo] . > > [echo] Installing GusSchema/Definition > > > > recordBuildState: > > [propertyfile] Updating property file: > /Users/Nicolas/GUS/gus_home/config/.build.info > > > > defaultComponentInstall: > > [echo] . > > [echo] Installing GUS/DBAdmin > > > > defaultJavaCompile: > > [javac] /Users/Nicolas/GUS/project_home/install/build.xml:332: > warning: 'includeantruntime' was not set, defaulting to > build.sysclasspath=last; set to false for repeatable builds > > > > recordBuildState: > > [propertyfile] Updating property file: > /Users/Nicolas/GUS/gus_home/config/.build.info > > > > InstallSchema: > > [InstallSchema] INFO [main] (InstallSchemaTask.java:79) - Reading > database from > /Users/Nicolas/GUS/project_home/GusSchema/Definition/config/gus_schema.xml > > [InstallSchema] INFO [main] (SchemaReader.java:48) - Reading Database > > [InstallSchema] INFO [main] (Database.java:161) - Resolving Database > References > > [InstallSchema] INFO [main] (DatabaseValidator.java:57) - Validating > Database: 'null' > > [InstallSchema] INFO [main] (InstallSchemaTask.java:87) - Overriding > individual tablespace specifications with value "GUS" from property file > > [InstallSchema] INFO [main] (DatabaseValidator.java:57) - Validating > Database: 'null' > > [InstallSchema] INFO [main] (SchemaWriter.java:33) - Writing Database > > [InstallSchema] INFO [main] (DatabaseValidator.java:57) - Validating > Database: 'null' > > [InstallSchema] INFO [main] (SchemaWriter.java:33) - Writing Database > > > > BUILD FAILED > > /Users/Nicolas/GUS/project_home/install/build.xml:38: The following > error occurred while executing this line: > > /Users/Nicolas/GUS/project_home/GUS/build.xml:16: The following error > occurred while executing this line: > > /Users/Nicolas/GUS/project_home/GusSchema/build.xml:63: > java.io.IOException: Error executing SQL: ' > > > > CREATE TABLE Core.AlgorithmInvocation ( > > ALGORITHM_INVOCATION_ID NUMERIC(12,0) NOT NULL, > > ALGORITHM_IMPLEMENTATION_ID NUMERIC(5,0) NOT NULL, > > START_TIME TIMESTAMP NOT NULL, > > END_TIME TIMESTAMP NOT NULL, > > CPUS_USED NUMERIC(5,0) , > > CPU_TIME FLOAT(126) , > > RESULT VARCHAR(350) NOT NULL, > > COMMENT_STRING VARCHAR(255) , > > MODIFICATION_DATE TIMESTAMP NOT NULL, > > USER_READ NUMERIC(1,0) NOT NULL, > > USER_WRITE NUMERIC(1,0) NOT NULL, > > GROUP_READ NUMERIC(1,0) NOT NULL, > > GROUP_WRITE NUMERIC(1,0) NOT NULL, > > OTHER_READ NUMERIC(1,0) NOT NULL, > > OTHER_WRITE NUMERIC(1,0) NOT NULL, > > ROW_USER_ID NUMERIC(12,0) NOT NULL, > > ROW_GROUP_ID NUMERIC(4,0) NOT NULL, > > ROW_PROJECT_ID NUMERIC(4,0) NOT NULL, > > ROW_ALG_INVOCATION_ID NUMERIC(12,0) NOT NULL)' Error: ERROR: > precision for type float must be less than 54 bits > > at > org.gusdb.dbadmin.util.JDBCStreamWriter.flush(JDBCStreamWriter.java:57) > > at > org.gusdb.dbadmin.writer.RelationalDatabaseWriter.writeTable(RelationalDatabaseWriter.java:67) > > at > org.gusdb.dbadmin.writer.RelationalDatabaseWriter.writeTables(RelationalDatabaseWriter.java:43) > > at > org.gusdb.dbadmin.writer.PostgresWriter.writeDatabase(PostgresWriter.java:68) > > at > org.gusdb.dbadmin.writer.SchemaWriter.write(SchemaWriter.java:34) > > at > org.gusdb.dbadmin.util.InstallSchemaTask.execute(InstallSchemaTask.java:99) > > at > org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) > > at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) > > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > > at java.lang.reflect.Method.invoke(Method.java:597) > > at > org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) > > at org.apache.tools.ant.Task.perform(Task.java:348) > > at org.apache.tools.ant.Target.execute(Target.java:392) > > at org.apache.tools.ant.Target.performTasks(Target.java:413) > > at > org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399) > > at > org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38) > > at org.apache.tools.ant.Project.executeTargets(Project.java:1251) > > at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442) > > at > org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) > > at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) > > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > > at java.lang.reflect.Method.invoke(Method.java:597) > > at > org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) > > at org.apache.tools.ant.Task.perform(Task.java:348) > > at org.apache.tools.ant.Target.execute(Target.java:392) > > at org.apache.tools.ant.Target.performTasks(Target.java:413) > > at > org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399) > > at > org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38) > > at org.apache.tools.ant.Project.executeTargets(Project.java:1251) > > at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442) > > at > org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > > at java.lang.reflect.Method.invoke(Method.java:597) > > at > org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) > > at org.apache.tools.ant.Task.perform(Task.java:348) > > at org.apache.tools.ant.Target.execute(Target.java:392) > > at org.apache.tools.ant.Target.performTasks(Target.java:413) > > at > org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399) > > at org.apache.tools.ant.Project.executeTarget(Project.java:1368) > > at > org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41) > > at org.apache.tools.ant.Project.executeTargets(Project.java:1251) > > at org.apache.tools.ant.Main.runBuild(Main.java:811) > > at org.apache.tools.ant.Main.startAnt(Main.java:217) > > at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280) > > at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109) > > > > Total time: 20 seconds > > > > > > On Thu, Mar 22, 2012 at 23:23, Mark Heiges <mh...@ug...> wrote: > > I have confirmed that the ojdbc jar is required for the code to compile. > > > > -Mark > > > > On Mar 22, 2012, at 10:09 AM, John Iodice wrote: > > > > > Hi Nicolas, > > > > > > That dbVendor setting looks right; I think that your configuration is > correct for a Postgres install (and that I was mistaken to think that the > install is looking for oracle.jdbc.OracleDriver because it's configured to > use Oracle). > > > > > > Looking in my own $GUS_HOME/lib/java/db_driver directory, I see that I > have both Oracle and Postgres drivers, though I only use Oracle. Maybe both > are required to compile the Java? These are the files I have there: > > > > > > $ ls $GUS_HOME/lib/java/db_driver/ > > > ojdbc5.jar postgresql-8.3-603.jdbc3.jar > > > > > > I see that ojdbc5.jar does contain oracle/jdbc/OracleDriver.class. I > suggest you try downloading that jarfile. You can get it from here: > http://www.oracle.com/technetwork/database/enterprise-edition/jdbc-111060-084321.html > > > > > > -- John > > > > > > |
From: Mark H. <mh...@ug...> - 2012-03-23 01:38:05
|
Hi Nicolas, Are you using code from the gus subversion repository? If so, do an svn update. This bug was fixed this morning. If not from subversion, where did you get your code? -Mark On Mar 22, 2012, at 9:24 PM, Nicolas Joannin wrote: > Good morning Mark, Rodrigo and John, > > Indeed, the ojdbc5.jar file helped to get further ahead :) > Unfortunately, there are still some errors (see below). > > Best regards, > Nicolas > > > > Nicolas-work-iMac:bin Nicolas$ ./build GUS install -append -installDBSchema > Buildfile: /Users/Nicolas/GUS/project_home/install/build.xml > > install: > [echo] proj=GUS > [echo] comp= > > defaultComponentInstall: > [echo] . > [echo] Installing CBIL/Bio > > recordBuildState: > [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/.build.info > > defaultComponentInstall: > [echo] . > [echo] Installing CBIL/CSP > > defaultJavaCompile: > [javac] /Users/Nicolas/GUS/project_home/install/build.xml:332: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds > > recordBuildState: > [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/.build.info > > defaultComponentInstall: > [echo] . > [echo] Installing CBIL/Util > > recordBuildState: > [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/.build.info > > defaultComponentInstall: > [echo] . > [echo] Installing CBIL/Cider > > recordBuildState: > [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/.build.info > > defaultComponentInstall: > [echo] . > [echo] Installing CBIL/HQ > > recordBuildState: > [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/.build.info > > defaultComponentInstall: > [echo] . > [echo] Installing CBIL/TranscriptExpression > > recordBuildState: > [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/.build.info > > defaultComponentInstall: > [echo] . > [echo] Installing CBIL/ObjectMapper > > recordBuildState: > [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/.build.info > > defaultComponentInstall: > [echo] . > [echo] Installing GUS/Supported > > defaultJavaCompile: > [javac] /Users/Nicolas/GUS/project_home/install/build.xml:332: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds > > recordBuildState: > [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/.build.info > > defaultComponentInstall: > [echo] . > [echo] Installing GUS/Community > > recordBuildState: > [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/.build.info > > defaultComponentInstall: > [echo] . > [echo] Installing GUS/DBAdmin > > defaultJavaCompile: > [javac] /Users/Nicolas/GUS/project_home/install/build.xml:332: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds > > recordBuildState: > [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/.build.info > > defaultComponentInstall: > [echo] . > [echo] Installing GUS/GOPredict > > defaultJavaCompile: > [javac] /Users/Nicolas/GUS/project_home/install/build.xml:332: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds > > recordBuildState: > [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/.build.info > > defaultComponentInstall: > [echo] . > [echo] Installing GusSchema/Definition > > recordBuildState: > [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/.build.info > > defaultComponentInstall: > [echo] . > [echo] Installing GUS/DBAdmin > > defaultJavaCompile: > [javac] /Users/Nicolas/GUS/project_home/install/build.xml:332: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds > > recordBuildState: > [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/.build.info > > InstallSchema: > [InstallSchema] INFO [main] (InstallSchemaTask.java:79) - Reading database from /Users/Nicolas/GUS/project_home/GusSchema/Definition/config/gus_schema.xml > [InstallSchema] INFO [main] (SchemaReader.java:48) - Reading Database > [InstallSchema] INFO [main] (Database.java:161) - Resolving Database References > [InstallSchema] INFO [main] (DatabaseValidator.java:57) - Validating Database: 'null' > [InstallSchema] INFO [main] (InstallSchemaTask.java:87) - Overriding individual tablespace specifications with value "GUS" from property file > [InstallSchema] INFO [main] (DatabaseValidator.java:57) - Validating Database: 'null' > [InstallSchema] INFO [main] (SchemaWriter.java:33) - Writing Database > [InstallSchema] INFO [main] (DatabaseValidator.java:57) - Validating Database: 'null' > [InstallSchema] INFO [main] (SchemaWriter.java:33) - Writing Database > > BUILD FAILED > /Users/Nicolas/GUS/project_home/install/build.xml:38: The following error occurred while executing this line: > /Users/Nicolas/GUS/project_home/GUS/build.xml:16: The following error occurred while executing this line: > /Users/Nicolas/GUS/project_home/GusSchema/build.xml:63: java.io.IOException: Error executing SQL: ' > > CREATE TABLE Core.AlgorithmInvocation ( > ALGORITHM_INVOCATION_ID NUMERIC(12,0) NOT NULL, > ALGORITHM_IMPLEMENTATION_ID NUMERIC(5,0) NOT NULL, > START_TIME TIMESTAMP NOT NULL, > END_TIME TIMESTAMP NOT NULL, > CPUS_USED NUMERIC(5,0) , > CPU_TIME FLOAT(126) , > RESULT VARCHAR(350) NOT NULL, > COMMENT_STRING VARCHAR(255) , > MODIFICATION_DATE TIMESTAMP NOT NULL, > USER_READ NUMERIC(1,0) NOT NULL, > USER_WRITE NUMERIC(1,0) NOT NULL, > GROUP_READ NUMERIC(1,0) NOT NULL, > GROUP_WRITE NUMERIC(1,0) NOT NULL, > OTHER_READ NUMERIC(1,0) NOT NULL, > OTHER_WRITE NUMERIC(1,0) NOT NULL, > ROW_USER_ID NUMERIC(12,0) NOT NULL, > ROW_GROUP_ID NUMERIC(4,0) NOT NULL, > ROW_PROJECT_ID NUMERIC(4,0) NOT NULL, > ROW_ALG_INVOCATION_ID NUMERIC(12,0) NOT NULL)' Error: ERROR: precision for type float must be less than 54 bits > at org.gusdb.dbadmin.util.JDBCStreamWriter.flush(JDBCStreamWriter.java:57) > at org.gusdb.dbadmin.writer.RelationalDatabaseWriter.writeTable(RelationalDatabaseWriter.java:67) > at org.gusdb.dbadmin.writer.RelationalDatabaseWriter.writeTables(RelationalDatabaseWriter.java:43) > at org.gusdb.dbadmin.writer.PostgresWriter.writeDatabase(PostgresWriter.java:68) > at org.gusdb.dbadmin.writer.SchemaWriter.write(SchemaWriter.java:34) > at org.gusdb.dbadmin.util.InstallSchemaTask.execute(InstallSchemaTask.java:99) > at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) > at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:597) > at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) > at org.apache.tools.ant.Task.perform(Task.java:348) > at org.apache.tools.ant.Target.execute(Target.java:392) > at org.apache.tools.ant.Target.performTasks(Target.java:413) > at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399) > at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38) > at org.apache.tools.ant.Project.executeTargets(Project.java:1251) > at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442) > at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) > at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:597) > at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) > at org.apache.tools.ant.Task.perform(Task.java:348) > at org.apache.tools.ant.Target.execute(Target.java:392) > at org.apache.tools.ant.Target.performTasks(Target.java:413) > at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399) > at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38) > at org.apache.tools.ant.Project.executeTargets(Project.java:1251) > at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442) > at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:597) > at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) > at org.apache.tools.ant.Task.perform(Task.java:348) > at org.apache.tools.ant.Target.execute(Target.java:392) > at org.apache.tools.ant.Target.performTasks(Target.java:413) > at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399) > at org.apache.tools.ant.Project.executeTarget(Project.java:1368) > at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41) > at org.apache.tools.ant.Project.executeTargets(Project.java:1251) > at org.apache.tools.ant.Main.runBuild(Main.java:811) > at org.apache.tools.ant.Main.startAnt(Main.java:217) > at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280) > at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109) > > Total time: 20 seconds > > > On Thu, Mar 22, 2012 at 23:23, Mark Heiges <mh...@ug...> wrote: > I have confirmed that the ojdbc jar is required for the code to compile. > > -Mark > > On Mar 22, 2012, at 10:09 AM, John Iodice wrote: > > > Hi Nicolas, > > > > That dbVendor setting looks right; I think that your configuration is correct for a Postgres install (and that I was mistaken to think that the install is looking for oracle.jdbc.OracleDriver because it's configured to use Oracle). > > > > Looking in my own $GUS_HOME/lib/java/db_driver directory, I see that I have both Oracle and Postgres drivers, though I only use Oracle. Maybe both are required to compile the Java? These are the files I have there: > > > > $ ls $GUS_HOME/lib/java/db_driver/ > > ojdbc5.jar postgresql-8.3-603.jdbc3.jar > > > > I see that ojdbc5.jar does contain oracle/jdbc/OracleDriver.class. I suggest you try downloading that jarfile. You can get it from here: http://www.oracle.com/technetwork/database/enterprise-edition/jdbc-111060-084321.html > > > > -- John > > |
From: Nicolas J. <nic...@gm...> - 2012-03-23 01:24:42
|
Good morning Mark, Rodrigo and John, Indeed, the ojdbc5.jar file helped to get further ahead :) Unfortunately, there are still some errors (see below). Best regards, Nicolas Nicolas-work-iMac:bin Nicolas$ ./build GUS install -append -installDBSchema Buildfile: /Users/Nicolas/GUS/project_home/install/build.xml install: [echo] proj=GUS [echo] comp= defaultComponentInstall: [echo] . [echo] Installing CBIL/Bio recordBuildState: [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/. build.info defaultComponentInstall: [echo] . [echo] Installing CBIL/CSP defaultJavaCompile: [javac] /Users/Nicolas/GUS/project_home/install/build.xml:332: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds recordBuildState: [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/. build.info defaultComponentInstall: [echo] . [echo] Installing CBIL/Util recordBuildState: [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/. build.info defaultComponentInstall: [echo] . [echo] Installing CBIL/Cider recordBuildState: [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/. build.info defaultComponentInstall: [echo] . [echo] Installing CBIL/HQ recordBuildState: [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/. build.info defaultComponentInstall: [echo] . [echo] Installing CBIL/TranscriptExpression recordBuildState: [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/. build.info defaultComponentInstall: [echo] . [echo] Installing CBIL/ObjectMapper recordBuildState: [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/. build.info defaultComponentInstall: [echo] . [echo] Installing GUS/Supported defaultJavaCompile: [javac] /Users/Nicolas/GUS/project_home/install/build.xml:332: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds recordBuildState: [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/. build.info defaultComponentInstall: [echo] . [echo] Installing GUS/Community recordBuildState: [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/. build.info defaultComponentInstall: [echo] . [echo] Installing GUS/DBAdmin defaultJavaCompile: [javac] /Users/Nicolas/GUS/project_home/install/build.xml:332: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds recordBuildState: [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/. build.info defaultComponentInstall: [echo] . [echo] Installing GUS/GOPredict defaultJavaCompile: [javac] /Users/Nicolas/GUS/project_home/install/build.xml:332: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds recordBuildState: [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/. build.info defaultComponentInstall: [echo] . [echo] Installing GusSchema/Definition recordBuildState: [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/. build.info defaultComponentInstall: [echo] . [echo] Installing GUS/DBAdmin defaultJavaCompile: [javac] /Users/Nicolas/GUS/project_home/install/build.xml:332: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds recordBuildState: [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/. build.info InstallSchema: [InstallSchema] INFO [main] (InstallSchemaTask.java:79) - Reading database from /Users/Nicolas/GUS/project_home/GusSchema/Definition/config/gus_schema.xml [InstallSchema] INFO [main] (SchemaReader.java:48) - Reading Database [InstallSchema] INFO [main] (Database.java:161) - Resolving Database References [InstallSchema] INFO [main] (DatabaseValidator.java:57) - Validating Database: 'null' [InstallSchema] INFO [main] (InstallSchemaTask.java:87) - Overriding individual tablespace specifications with value "GUS" from property file [InstallSchema] INFO [main] (DatabaseValidator.java:57) - Validating Database: 'null' [InstallSchema] INFO [main] (SchemaWriter.java:33) - Writing Database [InstallSchema] INFO [main] (DatabaseValidator.java:57) - Validating Database: 'null' [InstallSchema] INFO [main] (SchemaWriter.java:33) - Writing Database BUILD FAILED /Users/Nicolas/GUS/project_home/install/build.xml:38: The following error occurred while executing this line: /Users/Nicolas/GUS/project_home/GUS/build.xml:16: The following error occurred while executing this line: /Users/Nicolas/GUS/project_home/GusSchema/build.xml:63: java.io.IOException: Error executing SQL: ' CREATE TABLE Core.AlgorithmInvocation ( ALGORITHM_INVOCATION_ID NUMERIC(12,0) NOT NULL, ALGORITHM_IMPLEMENTATION_ID NUMERIC(5,0) NOT NULL, START_TIME TIMESTAMP NOT NULL, END_TIME TIMESTAMP NOT NULL, CPUS_USED NUMERIC(5,0) , CPU_TIME FLOAT(126) , RESULT VARCHAR(350) NOT NULL, COMMENT_STRING VARCHAR(255) , MODIFICATION_DATE TIMESTAMP NOT NULL, USER_READ NUMERIC(1,0) NOT NULL, USER_WRITE NUMERIC(1,0) NOT NULL, GROUP_READ NUMERIC(1,0) NOT NULL, GROUP_WRITE NUMERIC(1,0) NOT NULL, OTHER_READ NUMERIC(1,0) NOT NULL, OTHER_WRITE NUMERIC(1,0) NOT NULL, ROW_USER_ID NUMERIC(12,0) NOT NULL, ROW_GROUP_ID NUMERIC(4,0) NOT NULL, ROW_PROJECT_ID NUMERIC(4,0) NOT NULL, ROW_ALG_INVOCATION_ID NUMERIC(12,0) NOT NULL)' Error: ERROR: precision for type float must be less than 54 bits at org.gusdb.dbadmin.util.JDBCStreamWriter.flush(JDBCStreamWriter.java:57) at org.gusdb.dbadmin.writer.RelationalDatabaseWriter.writeTable(RelationalDatabaseWriter.java:67) at org.gusdb.dbadmin.writer.RelationalDatabaseWriter.writeTables(RelationalDatabaseWriter.java:43) at org.gusdb.dbadmin.writer.PostgresWriter.writeDatabase(PostgresWriter.java:68) at org.gusdb.dbadmin.writer.SchemaWriter.write(SchemaWriter.java:34) at org.gusdb.dbadmin.util.InstallSchemaTask.execute(InstallSchemaTask.java:99) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) at org.apache.tools.ant.Task.perform(Task.java:348) at org.apache.tools.ant.Target.execute(Target.java:392) at org.apache.tools.ant.Target.performTasks(Target.java:413) at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399) at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38) at org.apache.tools.ant.Project.executeTargets(Project.java:1251) at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) at org.apache.tools.ant.Task.perform(Task.java:348) at org.apache.tools.ant.Target.execute(Target.java:392) at org.apache.tools.ant.Target.performTasks(Target.java:413) at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399) at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38) at org.apache.tools.ant.Project.executeTargets(Project.java:1251) at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) at org.apache.tools.ant.Task.perform(Task.java:348) at org.apache.tools.ant.Target.execute(Target.java:392) at org.apache.tools.ant.Target.performTasks(Target.java:413) at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399) at org.apache.tools.ant.Project.executeTarget(Project.java:1368) at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41) at org.apache.tools.ant.Project.executeTargets(Project.java:1251) at org.apache.tools.ant.Main.runBuild(Main.java:811) at org.apache.tools.ant.Main.startAnt(Main.java:217) at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280) at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109) Total time: 20 seconds On Thu, Mar 22, 2012 at 23:23, Mark Heiges <mh...@ug...> wrote: > I have confirmed that the ojdbc jar is required for the code to compile. > > -Mark > > On Mar 22, 2012, at 10:09 AM, John Iodice wrote: > > > Hi Nicolas, > > > > That dbVendor setting looks right; I think that your configuration is > correct for a Postgres install (and that I was mistaken to think that the > install is looking for oracle.jdbc.OracleDriver because it's configured to > use Oracle). > > > > Looking in my own $GUS_HOME/lib/java/db_driver directory, I see that I > have both Oracle and Postgres drivers, though I only use Oracle. Maybe both > are required to compile the Java? These are the files I have there: > > > > $ ls $GUS_HOME/lib/java/db_driver/ > > ojdbc5.jar postgresql-8.3-603.jdbc3.jar > > > > I see that ojdbc5.jar does contain oracle/jdbc/OracleDriver.class. I > suggest you try downloading that jarfile. You can get it from here: > http://www.oracle.com/technetwork/database/enterprise-edition/jdbc-111060-084321.html > > > > -- John > > > |
From: Mark H. <mh...@ug...> - 2012-03-22 14:24:11
|
I have confirmed that the ojdbc jar is required for the code to compile. -Mark On Mar 22, 2012, at 10:09 AM, John Iodice wrote: > Hi Nicolas, > > That dbVendor setting looks right; I think that your configuration is correct for a Postgres install (and that I was mistaken to think that the install is looking for oracle.jdbc.OracleDriver because it's configured to use Oracle). > > Looking in my own $GUS_HOME/lib/java/db_driver directory, I see that I have both Oracle and Postgres drivers, though I only use Oracle. Maybe both are required to compile the Java? These are the files I have there: > > $ ls $GUS_HOME/lib/java/db_driver/ > ojdbc5.jar postgresql-8.3-603.jdbc3.jar > > I see that ojdbc5.jar does contain oracle/jdbc/OracleDriver.class. I suggest you try downloading that jarfile. You can get it from here: http://www.oracle.com/technetwork/database/enterprise-edition/jdbc-111060-084321.html > > -- John > > On Thu, Mar 22, 2012 at 9:28 AM, Nicolas Joannin <nic...@gm...> wrote: > Hi Rodrigo, > > I will not be able to test before tomorrow morning (it's almost bedtime for me here in Japan), but I will try modifying these settings when I get to work in the morning. > The settings that I have tried are as follow: > > dbVendor=Postgres > dbiDsn=dbi:Pg:dbname=<my_db_name> > jdbcDsn=jdbc:postgresql:<my_db_name> > > databaseLogin=<my_db_user_name> > databasePassword=<my_db_password> > > I set the dbiDsn and jdbcDsn like that because, according to what Google told me, it seemed that those settings where acceptable when the database was on the local machine. > Obviously, I'm rather new to dealing with databases in general, so it is highly possible that I misread or misunderstood what I read... However, just out of curiosity, are these settings totally and systematically wrong and I should never have tried them in the first place or may these settings have possibly worked in a different context? > > In any case, I greatly appreciate your help, both John and Rodrigo! > Best regards, > > Nicolas > > > On Thu, Mar 22, 2012 at 22:09, Rodrigo Jardim <jar...@gm...> wrote: > Hi John, > > follow: > > dbVendor=Postgres > dbiDsn=dbi:Pg:dbname=<your_database_name>;host=<your_database_server_ip> > jdbcDsn=jdbc:postgresql://<your_database_server_ip>/<your_database_name> > > # Login and Password to the RDBMS > databaseLogin=<your_database_user_name> > databasePassword=<your_database_password> > > Regards, > > > > 2012/3/22 Nicolas Joannin <nic...@gm...> > Hi John, > > I don't have access to my work machine at the moment, but I can tell you for sure that the dbvendor is set to Postgres. > > I am rather new at working with databases, so my research into the problem may be misguided... However, could it be linked to the version of the jdbc driver? At this link, they seem to say that for JVM v1.6, one should use a jdbc4, whereas the GUS install uses a jdbc3. The current MacOSX 10.6 uses JVM v1.6. > > Also, I wasn't quite sure what to put for the "jdbcDsn", so I ended up using jdbcDsn=jdbc:postgresql:<database_name>. > (I chose that after reading this page and because the database is on the local machine.) > > Otherwise, please let me know if there is any other information that may be useful. > Best regards, > Nicolas > > On Thu, Mar 22, 2012 at 21:20, John Iodice <io...@gm...> wrote: > Hi Nicolas, > > It seems odd that the install is looking for an Oracle driver when you're using Postgres. What's the value of the "dbVendor" property in your GUS config file? Is it set to "Postgres"? > > -- John > > On Thu, Mar 22, 2012 at 12:42 AM, Nicolas Joannin <nic...@gm...> wrote: > Hello, > > I'm trying to install GUS, but have encountered a problem I cannot figure out. > I have looked at the mailing list archive, but haven't found anything that helps. > > In the output I get from the terminal (see below), there is a warning about 'includeantruntime' that comes back several times. Other then that, it stops with '/Users/Nicolas/GUS/project_home/GusSchema/build.xml:63: Unable to locate class'. > > I'm working with the following: > Mac OSX 10.6.8 fully updated > Perl v5.14.2 built for darwin-thread-multi-2level (with 1 registered patch) > Ant version 1.8.3 > PostgreSQL 9.1.1 > > Let me know if you need more information. > > Thank you in advance for any help you can give me! > Best regards, > Nicolas > > > > > Here is the terminal output I got: > > Nicolas-work-iMac:bin Nicolas$ ./build GUS install -append -installDBSchema > Buildfile: /Users/Nicolas/GUS/project_home/install/build.xml > > install: > [echo] proj=GUS > [echo] comp= > > defaultComponentInstall: > [echo] . > [echo] Installing CBIL/Bio > > recordBuildState: > [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/.build.info > > defaultComponentInstall: > [echo] . > [echo] Installing CBIL/CSP > > defaultJavaCompile: > [javac] /Users/Nicolas/GUS/project_home/install/build.xml:332: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds > > recordBuildState: > [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/.build.info > > defaultComponentInstall: > [echo] . > [echo] Installing CBIL/Util > > recordBuildState: > [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/.build.info > > defaultComponentInstall: > [echo] . > [echo] Installing CBIL/Cider > > recordBuildState: > [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/.build.info > > defaultComponentInstall: > [echo] . > [echo] Installing CBIL/HQ > > recordBuildState: > [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/.build.info > > defaultComponentInstall: > [echo] . > [echo] Installing CBIL/TranscriptExpression > > recordBuildState: > [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/.build.info > > defaultComponentInstall: > [echo] . > [echo] Installing CBIL/ObjectMapper > > recordBuildState: > [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/.build.info > > defaultComponentInstall: > [echo] . > [echo] Installing GUS/Supported > > defaultJavaCompile: > [javac] /Users/Nicolas/GUS/project_home/install/build.xml:332: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds > > recordBuildState: > [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/.build.info > > defaultComponentInstall: > [echo] . > [echo] Installing GUS/Community > > recordBuildState: > [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/.build.info > > defaultComponentInstall: > [echo] . > [echo] Installing GUS/DBAdmin > > defaultJavaCompile: > [javac] /Users/Nicolas/GUS/project_home/install/build.xml:332: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds > > recordBuildState: > [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/.build.info > > defaultComponentInstall: > [echo] . > [echo] Installing GUS/GOPredict > > defaultJavaCompile: > [javac] /Users/Nicolas/GUS/project_home/install/build.xml:332: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds > > recordBuildState: > [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/.build.info > > defaultComponentInstall: > [echo] . > [echo] Installing GusSchema/Definition > > recordBuildState: > [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/.build.info > > defaultComponentInstall: > [echo] . > [echo] Installing GUS/DBAdmin > > defaultJavaCompile: > [javac] /Users/Nicolas/GUS/project_home/install/build.xml:332: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds > > recordBuildState: > [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/.build.info > > InstallSchema: > [InstallSchema] FATAL [main] (InstallSchemaTask.java:170) - Unable to locate class > [InstallSchema] java.lang.ClassNotFoundException: oracle.jdbc.OracleDriver > [InstallSchema] at org.apache.tools.ant.AntClassLoader.findClassInComponents(AntClassLoader.java:1365) > [InstallSchema] at org.apache.tools.ant.AntClassLoader.findClass(AntClassLoader.java:1315) > [InstallSchema] at org.apache.tools.ant.AntClassLoader.loadClass(AntClassLoader.java:1068) > [InstallSchema] at java.lang.ClassLoader.loadClass(ClassLoader.java:247) > [InstallSchema] at java.lang.Class.forName0(Native Method) > [InstallSchema] at java.lang.Class.forName(Class.java:169) > [InstallSchema] at org.gusdb.dbadmin.util.InstallSchemaTask.initialize(InstallSchemaTask.java:167) > [InstallSchema] at org.gusdb.dbadmin.util.InstallSchemaTask.execute(InstallSchemaTask.java:62) > [InstallSchema] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) > [InstallSchema] at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) > [InstallSchema] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > [InstallSchema] at java.lang.reflect.Method.invoke(Method.java:597) > [InstallSchema] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) > [InstallSchema] at org.apache.tools.ant.Task.perform(Task.java:348) > [InstallSchema] at org.apache.tools.ant.Target.execute(Target.java:392) > [InstallSchema] at org.apache.tools.ant.Target.performTasks(Target.java:413) > [InstallSchema] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399) > [InstallSchema] at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38) > [InstallSchema] at org.apache.tools.ant.Project.executeTargets(Project.java:1251) > [InstallSchema] at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442) > [InstallSchema] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) > [InstallSchema] at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) > [InstallSchema] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > [InstallSchema] at java.lang.reflect.Method.invoke(Method.java:597) > [InstallSchema] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) > [InstallSchema] at org.apache.tools.ant.Task.perform(Task.java:348) > [InstallSchema] at org.apache.tools.ant.Target.execute(Target.java:392) > [InstallSchema] at org.apache.tools.ant.Target.performTasks(Target.java:413) > [InstallSchema] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399) > [InstallSchema] at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38) > [InstallSchema] at org.apache.tools.ant.Project.executeTargets(Project.java:1251) > [InstallSchema] at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442) > [InstallSchema] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) > [InstallSchema] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > [InstallSchema] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > [InstallSchema] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > [InstallSchema] at java.lang.reflect.Method.invoke(Method.java:597) > [InstallSchema] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) > [InstallSchema] at org.apache.tools.ant.Task.perform(Task.java:348) > [InstallSchema] at org.apache.tools.ant.Target.execute(Target.java:392) > [InstallSchema] at org.apache.tools.ant.Target.performTasks(Target.java:413) > [InstallSchema] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399) > [InstallSchema] at org.apache.tools.ant.Project.executeTarget(Project.java:1368) > [InstallSchema] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41) > [InstallSchema] at org.apache.tools.ant.Project.executeTargets(Project.java:1251) > [InstallSchema] at org.apache.tools.ant.Main.runBuild(Main.java:811) > [InstallSchema] at org.apache.tools.ant.Main.startAnt(Main.java:217) > [InstallSchema] at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280) > [InstallSchema] at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109) > > BUILD FAILED > /Users/Nicolas/GUS/project_home/install/build.xml:38: The following error occurred while executing this line: > /Users/Nicolas/GUS/project_home/GUS/build.xml:16: The following error occurred while executing this line: > /Users/Nicolas/GUS/project_home/GusSchema/build.xml:63: Unable to locate class > > Total time: 18 seconds > > > > > ------------------------------------------------------------------------------ > This SF email is sponsosred by: > Try Windows Azure free for 90 days Click Here > http://p.sf.net/sfu/sfd2d-msazure > _______________________________________________ > Gusdev-gusdev mailing list > Gusdev-gusdev@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gusdev-gusdev > > > > > ------------------------------------------------------------------------------ > This SF email is sponsosred by: > Try Windows Azure free for 90 days Click Here > http://p.sf.net/sfu/sfd2d-msazure > _______________________________________________ > Gusdev-gusdev mailing list > Gusdev-gusdev@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gusdev-gusdev > > > > > -- > Atc, > Rodrigo Jardim > jar...@gm... > > > > > ------------------------------------------------------------------------------ > This SF email is sponsosred by: > Try Windows Azure free for 90 days Click Here > http://p.sf.net/sfu/sfd2d-msazure_______________________________________________ > Gusdev-gusdev mailing list > Gus...@li... > https://lists.sourceforge.net/lists/listinfo/gusdev-gusdev |
From: John I. <io...@gm...> - 2012-03-22 14:15:24
|
Hi Nicolas, That dbVendor setting looks right; I think that your configuration is correct for a Postgres install (and that I was mistaken to think that the install is looking for oracle.jdbc.OracleDriver because it's configured to use Oracle). Looking in my own $GUS_HOME/lib/java/db_driver directory, I see that I have both Oracle and Postgres drivers, though I only use Oracle. Maybe both are required to compile the Java? These are the files I have there: $ ls $GUS_HOME/lib/java/db_driver/ ojdbc5.jar postgresql-8.3-603.jdbc3.jar I see that ojdbc5.jar does contain oracle/jdbc/OracleDriver.class. I suggest you try downloading that jarfile. You can get it from here: http://www.oracle.com/technetwork/database/enterprise-edition/jdbc-111060-084321.html -- John On Thu, Mar 22, 2012 at 9:28 AM, Nicolas Joannin <nic...@gm...>wrote: > Hi Rodrigo, > > I will not be able to test before tomorrow morning (it's almost bedtime > for me here in Japan), but I will try modifying these settings when I get > to work in the morning. > The settings that I have tried are as follow: > > dbVendor=Postgres > dbiDsn=dbi:Pg:dbname=<my_db_name> > jdbcDsn=jdbc:postgresql:<my_db_name> > > databaseLogin=<my_db_user_name> > databasePassword=<my_db_password> > > I set the dbiDsn and jdbcDsn like that because, according to what Google > told me, it seemed that those settings where acceptable when the database > was on the local machine. > Obviously, I'm rather new to dealing with databases in general, so it is > highly possible that I misread or misunderstood what I read... However, > just out of curiosity, are these settings totally and systematically wrong > and I should never have tried them in the first place or may these settings > have possibly worked in a different context? > > In any case, I greatly appreciate your help, both John and Rodrigo! > Best regards, > > Nicolas > > > On Thu, Mar 22, 2012 at 22:09, Rodrigo Jardim <jar...@gm...>wrote: > >> Hi John, >> >> follow: >> >> dbVendor=Postgres >> dbiDsn=dbi:Pg:dbname=<your_database_name>;host=<your_database_server_ip> >> jdbcDsn=jdbc:postgresql://<your_database_server_ip>/<your_database_name> >> >> # Login and Password to the RDBMS >> databaseLogin=<your_database_user_name> >> databasePassword=<your_database_password> >> >> Regards, >> >> >> >> 2012/3/22 Nicolas Joannin <nic...@gm...> >> >>> Hi John, >>> >>> I don't have access to my work machine at the moment, but I can tell you >>> for sure that the dbvendor is set to Postgres. >>> >>> I am rather new at working with databases, so my research into the >>> problem may be misguided... However, could it be linked to the version of >>> the jdbc driver? At this link <http://jdbc.postgresql.org/download.html>, >>> they seem to say that for JVM v1.6, one should use a jdbc4, whereas the GUS >>> install uses a jdbc3. The current MacOSX 10.6 uses JVM v1.6. >>> >>> Also, I wasn't quite sure what to put for the "jdbcDsn", so I ended up >>> using jdbcDsn=jdbc:postgresql:<database_name>. >>> (I chose that after reading this page<http://jdbc.postgresql.org/documentation/83/connect.html>and because the database is on the local machine.) >>> >>> Otherwise, please let me know if there is any other information that may >>> be useful. >>> Best regards, >>> Nicolas >>> >>> On Thu, Mar 22, 2012 at 21:20, John Iodice <io...@gm...> wrote: >>> >>>> Hi Nicolas, >>>> >>>> It seems odd that the install is looking for an Oracle driver when >>>> you're using Postgres. What's the value of the "dbVendor" property in your >>>> GUS config file? Is it set to "Postgres"? >>>> >>>> -- John >>>> >>>> On Thu, Mar 22, 2012 at 12:42 AM, Nicolas Joannin < >>>> nic...@gm...> wrote: >>>> >>>>> Hello, >>>>> >>>>> I'm trying to install GUS, but have encountered a problem I cannot >>>>> figure out. >>>>> I have looked at the mailing list archive, but haven't found anything >>>>> that helps. >>>>> >>>>> In the output I get from the terminal (see below), there is a warning >>>>> about 'includeantruntime' that comes back several times. Other then that, >>>>> it stops with '/Users/Nicolas/GUS/project_home/GusSchema/build.xml:63: >>>>> Unable to locate class'. >>>>> >>>>> I'm working with the following: >>>>> Mac OSX 10.6.8 fully updated >>>>> Perl v5.14.2 built for darwin-thread-multi-2level (with 1 registered >>>>> patch) >>>>> Ant version 1.8.3 >>>>> PostgreSQL 9.1.1 >>>>> >>>>> Let me know if you need more information. >>>>> >>>>> Thank you in advance for any help you can give me! >>>>> Best regards, >>>>> Nicolas >>>>> >>>>> >>>>> >>>>> >>>>> Here is the terminal output I got: >>>>> >>>>> Nicolas-work-iMac:bin Nicolas$ ./build GUS install -append >>>>> -installDBSchema >>>>> Buildfile: /Users/Nicolas/GUS/project_home/install/build.xml >>>>> >>>>> install: >>>>> [echo] proj=GUS >>>>> [echo] comp= >>>>> >>>>> defaultComponentInstall: >>>>> [echo] . >>>>> [echo] Installing CBIL/Bio >>>>> >>>>> recordBuildState: >>>>> [propertyfile] Updating property file: >>>>> /Users/Nicolas/GUS/gus_home/config/.build.info >>>>> >>>>> defaultComponentInstall: >>>>> [echo] . >>>>> [echo] Installing CBIL/CSP >>>>> >>>>> defaultJavaCompile: >>>>> [javac] /Users/Nicolas/GUS/project_home/install/build.xml:332: >>>>> warning: 'includeantruntime' was not set, defaulting to >>>>> build.sysclasspath=last; set to false for repeatable builds >>>>> >>>>> recordBuildState: >>>>> [propertyfile] Updating property file: >>>>> /Users/Nicolas/GUS/gus_home/config/.build.info >>>>> >>>>> defaultComponentInstall: >>>>> [echo] . >>>>> [echo] Installing CBIL/Util >>>>> >>>>> recordBuildState: >>>>> [propertyfile] Updating property file: >>>>> /Users/Nicolas/GUS/gus_home/config/.build.info >>>>> >>>>> defaultComponentInstall: >>>>> [echo] . >>>>> [echo] Installing CBIL/Cider >>>>> >>>>> recordBuildState: >>>>> [propertyfile] Updating property file: >>>>> /Users/Nicolas/GUS/gus_home/config/.build.info >>>>> >>>>> defaultComponentInstall: >>>>> [echo] . >>>>> [echo] Installing CBIL/HQ >>>>> >>>>> recordBuildState: >>>>> [propertyfile] Updating property file: >>>>> /Users/Nicolas/GUS/gus_home/config/.build.info >>>>> >>>>> defaultComponentInstall: >>>>> [echo] . >>>>> [echo] Installing CBIL/TranscriptExpression >>>>> >>>>> recordBuildState: >>>>> [propertyfile] Updating property file: >>>>> /Users/Nicolas/GUS/gus_home/config/.build.info >>>>> >>>>> defaultComponentInstall: >>>>> [echo] . >>>>> [echo] Installing CBIL/ObjectMapper >>>>> >>>>> recordBuildState: >>>>> [propertyfile] Updating property file: >>>>> /Users/Nicolas/GUS/gus_home/config/.build.info >>>>> >>>>> defaultComponentInstall: >>>>> [echo] . >>>>> [echo] Installing GUS/Supported >>>>> >>>>> defaultJavaCompile: >>>>> [javac] /Users/Nicolas/GUS/project_home/install/build.xml:332: >>>>> warning: 'includeantruntime' was not set, defaulting to >>>>> build.sysclasspath=last; set to false for repeatable builds >>>>> >>>>> recordBuildState: >>>>> [propertyfile] Updating property file: >>>>> /Users/Nicolas/GUS/gus_home/config/.build.info >>>>> >>>>> defaultComponentInstall: >>>>> [echo] . >>>>> [echo] Installing GUS/Community >>>>> >>>>> recordBuildState: >>>>> [propertyfile] Updating property file: >>>>> /Users/Nicolas/GUS/gus_home/config/.build.info >>>>> >>>>> defaultComponentInstall: >>>>> [echo] . >>>>> [echo] Installing GUS/DBAdmin >>>>> >>>>> defaultJavaCompile: >>>>> [javac] /Users/Nicolas/GUS/project_home/install/build.xml:332: >>>>> warning: 'includeantruntime' was not set, defaulting to >>>>> build.sysclasspath=last; set to false for repeatable builds >>>>> >>>>> recordBuildState: >>>>> [propertyfile] Updating property file: >>>>> /Users/Nicolas/GUS/gus_home/config/.build.info >>>>> >>>>> defaultComponentInstall: >>>>> [echo] . >>>>> [echo] Installing GUS/GOPredict >>>>> >>>>> defaultJavaCompile: >>>>> [javac] /Users/Nicolas/GUS/project_home/install/build.xml:332: >>>>> warning: 'includeantruntime' was not set, defaulting to >>>>> build.sysclasspath=last; set to false for repeatable builds >>>>> >>>>> recordBuildState: >>>>> [propertyfile] Updating property file: >>>>> /Users/Nicolas/GUS/gus_home/config/.build.info >>>>> >>>>> defaultComponentInstall: >>>>> [echo] . >>>>> [echo] Installing GusSchema/Definition >>>>> >>>>> recordBuildState: >>>>> [propertyfile] Updating property file: >>>>> /Users/Nicolas/GUS/gus_home/config/.build.info >>>>> >>>>> defaultComponentInstall: >>>>> [echo] . >>>>> [echo] Installing GUS/DBAdmin >>>>> >>>>> defaultJavaCompile: >>>>> [javac] /Users/Nicolas/GUS/project_home/install/build.xml:332: >>>>> warning: 'includeantruntime' was not set, defaulting to >>>>> build.sysclasspath=last; set to false for repeatable builds >>>>> >>>>> recordBuildState: >>>>> [propertyfile] Updating property file: >>>>> /Users/Nicolas/GUS/gus_home/config/.build.info >>>>> >>>>> InstallSchema: >>>>> [InstallSchema] FATAL [main] (InstallSchemaTask.java:170) - Unable to >>>>> locate class >>>>> [InstallSchema] java.lang.ClassNotFoundException: >>>>> oracle.jdbc.OracleDriver >>>>> [InstallSchema] at >>>>> org.apache.tools.ant.AntClassLoader.findClassInComponents(AntClassLoader.java:1365) >>>>> [InstallSchema] at >>>>> org.apache.tools.ant.AntClassLoader.findClass(AntClassLoader.java:1315) >>>>> [InstallSchema] at >>>>> org.apache.tools.ant.AntClassLoader.loadClass(AntClassLoader.java:1068) >>>>> [InstallSchema] at >>>>> java.lang.ClassLoader.loadClass(ClassLoader.java:247) >>>>> [InstallSchema] at java.lang.Class.forName0(Native Method) >>>>> [InstallSchema] at java.lang.Class.forName(Class.java:169) >>>>> [InstallSchema] at >>>>> org.gusdb.dbadmin.util.InstallSchemaTask.initialize(InstallSchemaTask.java:167) >>>>> [InstallSchema] at >>>>> org.gusdb.dbadmin.util.InstallSchemaTask.execute(InstallSchemaTask.java:62) >>>>> [InstallSchema] at >>>>> org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) >>>>> [InstallSchema] at >>>>> sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) >>>>> [InstallSchema] at >>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) >>>>> [InstallSchema] at java.lang.reflect.Method.invoke(Method.java:597) >>>>> [InstallSchema] at >>>>> org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) >>>>> [InstallSchema] at org.apache.tools.ant.Task.perform(Task.java:348) >>>>> [InstallSchema] at >>>>> org.apache.tools.ant.Target.execute(Target.java:392) >>>>> [InstallSchema] at >>>>> org.apache.tools.ant.Target.performTasks(Target.java:413) >>>>> [InstallSchema] at >>>>> org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399) >>>>> [InstallSchema] at >>>>> org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38) >>>>> [InstallSchema] at >>>>> org.apache.tools.ant.Project.executeTargets(Project.java:1251) >>>>> [InstallSchema] at >>>>> org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442) >>>>> [InstallSchema] at >>>>> org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) >>>>> [InstallSchema] at >>>>> sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) >>>>> [InstallSchema] at >>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) >>>>> [InstallSchema] at java.lang.reflect.Method.invoke(Method.java:597) >>>>> [InstallSchema] at >>>>> org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) >>>>> [InstallSchema] at org.apache.tools.ant.Task.perform(Task.java:348) >>>>> [InstallSchema] at >>>>> org.apache.tools.ant.Target.execute(Target.java:392) >>>>> [InstallSchema] at >>>>> org.apache.tools.ant.Target.performTasks(Target.java:413) >>>>> [InstallSchema] at >>>>> org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399) >>>>> [InstallSchema] at >>>>> org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38) >>>>> [InstallSchema] at >>>>> org.apache.tools.ant.Project.executeTargets(Project.java:1251) >>>>> [InstallSchema] at >>>>> org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442) >>>>> [InstallSchema] at >>>>> org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) >>>>> [InstallSchema] at >>>>> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >>>>> [InstallSchema] at >>>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) >>>>> [InstallSchema] at >>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) >>>>> [InstallSchema] at java.lang.reflect.Method.invoke(Method.java:597) >>>>> [InstallSchema] at >>>>> org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) >>>>> [InstallSchema] at org.apache.tools.ant.Task.perform(Task.java:348) >>>>> [InstallSchema] at >>>>> org.apache.tools.ant.Target.execute(Target.java:392) >>>>> [InstallSchema] at >>>>> org.apache.tools.ant.Target.performTasks(Target.java:413) >>>>> [InstallSchema] at >>>>> org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399) >>>>> [InstallSchema] at >>>>> org.apache.tools.ant.Project.executeTarget(Project.java:1368) >>>>> [InstallSchema] at >>>>> org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41) >>>>> [InstallSchema] at >>>>> org.apache.tools.ant.Project.executeTargets(Project.java:1251) >>>>> [InstallSchema] at org.apache.tools.ant.Main.runBuild(Main.java:811) >>>>> [InstallSchema] at org.apache.tools.ant.Main.startAnt(Main.java:217) >>>>> [InstallSchema] at >>>>> org.apache.tools.ant.launch.Launcher.run(Launcher.java:280) >>>>> [InstallSchema] at >>>>> org.apache.tools.ant.launch.Launcher.main(Launcher.java:109) >>>>> >>>>> BUILD FAILED >>>>> /Users/Nicolas/GUS/project_home/install/build.xml:38: The following >>>>> error occurred while executing this line: >>>>> /Users/Nicolas/GUS/project_home/GUS/build.xml:16: The following >>>>> error occurred while executing this line: >>>>> /Users/Nicolas/GUS/project_home/GusSchema/build.xml:63: Unable to >>>>> locate class >>>>> >>>>> Total time: 18 seconds >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> ------------------------------------------------------------------------------ >>>>> This SF email is sponsosred by: >>>>> Try Windows Azure free for 90 days Click Here >>>>> http://p.sf.net/sfu/sfd2d-msazure <http://p.sf.net/sfu/sfd2d-msazure> >>>>> _______________________________________________ >>>>> Gusdev-gusdev mailing list >>>>> Gusdev-gusdev@lists.sourceforge.net<Gus...@li...> >>>>> https://lists.sourceforge.net/lists/listinfo/gusdev-gusdev<https://lists.sourceforge.net/lists/listinfo/gusdev-gusdev> >>>>> >>>>> >>>> >>> >>> >>> ------------------------------------------------------------------------------ >>> This SF email is sponsosred by: >>> Try Windows Azure free for 90 days Click Here >>> http://p.sf.net/sfu/sfd2d-msazure <http://p.sf.net/sfu/sfd2d-msazure> >>> _______________________________________________ >>> Gusdev-gusdev mailing list >>> Gusdev-gusdev@lists.sourceforge.net<Gus...@li...> >>> https://lists.sourceforge.net/lists/listinfo/gusdev-gusdev<https://lists.sourceforge.net/lists/listinfo/gusdev-gusdev> >>> >>> >> >> >> -- >> Atc, >> Rodrigo Jardim >> jar...@gm... >> >> >> > |
From: Nicolas J. <nic...@gm...> - 2012-03-22 13:28:52
|
Hi Rodrigo, I will not be able to test before tomorrow morning (it's almost bedtime for me here in Japan), but I will try modifying these settings when I get to work in the morning. The settings that I have tried are as follow: dbVendor=Postgres dbiDsn=dbi:Pg:dbname=<my_db_name> jdbcDsn=jdbc:postgresql:<my_db_name> databaseLogin=<my_db_user_name> databasePassword=<my_db_password> I set the dbiDsn and jdbcDsn like that because, according to what Google told me, it seemed that those settings where acceptable when the database was on the local machine. Obviously, I'm rather new to dealing with databases in general, so it is highly possible that I misread or misunderstood what I read... However, just out of curiosity, are these settings totally and systematically wrong and I should never have tried them in the first place or may these settings have possibly worked in a different context? In any case, I greatly appreciate your help, both John and Rodrigo! Best regards, Nicolas On Thu, Mar 22, 2012 at 22:09, Rodrigo Jardim <jar...@gm...>wrote: > Hi John, > > follow: > > dbVendor=Postgres > dbiDsn=dbi:Pg:dbname=<your_database_name>;host=<your_database_server_ip> > jdbcDsn=jdbc:postgresql://<your_database_server_ip>/<your_database_name> > > # Login and Password to the RDBMS > databaseLogin=<your_database_user_name> > databasePassword=<your_database_password> > > Regards, > > > > 2012/3/22 Nicolas Joannin <nic...@gm...> > >> Hi John, >> >> I don't have access to my work machine at the moment, but I can tell you >> for sure that the dbvendor is set to Postgres. >> >> I am rather new at working with databases, so my research into the >> problem may be misguided... However, could it be linked to the version of >> the jdbc driver? At this link <http://jdbc.postgresql.org/download.html>, >> they seem to say that for JVM v1.6, one should use a jdbc4, whereas the GUS >> install uses a jdbc3. The current MacOSX 10.6 uses JVM v1.6. >> >> Also, I wasn't quite sure what to put for the "jdbcDsn", so I ended up >> using jdbcDsn=jdbc:postgresql:<database_name>. >> (I chose that after reading this page<http://jdbc.postgresql.org/documentation/83/connect.html>and because the database is on the local machine.) >> >> Otherwise, please let me know if there is any other information that may >> be useful. >> Best regards, >> Nicolas >> >> On Thu, Mar 22, 2012 at 21:20, John Iodice <io...@gm...> wrote: >> >>> Hi Nicolas, >>> >>> It seems odd that the install is looking for an Oracle driver when >>> you're using Postgres. What's the value of the "dbVendor" property in your >>> GUS config file? Is it set to "Postgres"? >>> >>> -- John >>> >>> On Thu, Mar 22, 2012 at 12:42 AM, Nicolas Joannin < >>> nic...@gm...> wrote: >>> >>>> Hello, >>>> >>>> I'm trying to install GUS, but have encountered a problem I cannot >>>> figure out. >>>> I have looked at the mailing list archive, but haven't found anything >>>> that helps. >>>> >>>> In the output I get from the terminal (see below), there is a warning >>>> about 'includeantruntime' that comes back several times. Other then that, >>>> it stops with '/Users/Nicolas/GUS/project_home/GusSchema/build.xml:63: >>>> Unable to locate class'. >>>> >>>> I'm working with the following: >>>> Mac OSX 10.6.8 fully updated >>>> Perl v5.14.2 built for darwin-thread-multi-2level (with 1 registered >>>> patch) >>>> Ant version 1.8.3 >>>> PostgreSQL 9.1.1 >>>> >>>> Let me know if you need more information. >>>> >>>> Thank you in advance for any help you can give me! >>>> Best regards, >>>> Nicolas >>>> >>>> >>>> >>>> >>>> Here is the terminal output I got: >>>> >>>> Nicolas-work-iMac:bin Nicolas$ ./build GUS install -append >>>> -installDBSchema >>>> Buildfile: /Users/Nicolas/GUS/project_home/install/build.xml >>>> >>>> install: >>>> [echo] proj=GUS >>>> [echo] comp= >>>> >>>> defaultComponentInstall: >>>> [echo] . >>>> [echo] Installing CBIL/Bio >>>> >>>> recordBuildState: >>>> [propertyfile] Updating property file: >>>> /Users/Nicolas/GUS/gus_home/config/.build.info >>>> >>>> defaultComponentInstall: >>>> [echo] . >>>> [echo] Installing CBIL/CSP >>>> >>>> defaultJavaCompile: >>>> [javac] /Users/Nicolas/GUS/project_home/install/build.xml:332: >>>> warning: 'includeantruntime' was not set, defaulting to >>>> build.sysclasspath=last; set to false for repeatable builds >>>> >>>> recordBuildState: >>>> [propertyfile] Updating property file: >>>> /Users/Nicolas/GUS/gus_home/config/.build.info >>>> >>>> defaultComponentInstall: >>>> [echo] . >>>> [echo] Installing CBIL/Util >>>> >>>> recordBuildState: >>>> [propertyfile] Updating property file: >>>> /Users/Nicolas/GUS/gus_home/config/.build.info >>>> >>>> defaultComponentInstall: >>>> [echo] . >>>> [echo] Installing CBIL/Cider >>>> >>>> recordBuildState: >>>> [propertyfile] Updating property file: >>>> /Users/Nicolas/GUS/gus_home/config/.build.info >>>> >>>> defaultComponentInstall: >>>> [echo] . >>>> [echo] Installing CBIL/HQ >>>> >>>> recordBuildState: >>>> [propertyfile] Updating property file: >>>> /Users/Nicolas/GUS/gus_home/config/.build.info >>>> >>>> defaultComponentInstall: >>>> [echo] . >>>> [echo] Installing CBIL/TranscriptExpression >>>> >>>> recordBuildState: >>>> [propertyfile] Updating property file: >>>> /Users/Nicolas/GUS/gus_home/config/.build.info >>>> >>>> defaultComponentInstall: >>>> [echo] . >>>> [echo] Installing CBIL/ObjectMapper >>>> >>>> recordBuildState: >>>> [propertyfile] Updating property file: >>>> /Users/Nicolas/GUS/gus_home/config/.build.info >>>> >>>> defaultComponentInstall: >>>> [echo] . >>>> [echo] Installing GUS/Supported >>>> >>>> defaultJavaCompile: >>>> [javac] /Users/Nicolas/GUS/project_home/install/build.xml:332: >>>> warning: 'includeantruntime' was not set, defaulting to >>>> build.sysclasspath=last; set to false for repeatable builds >>>> >>>> recordBuildState: >>>> [propertyfile] Updating property file: >>>> /Users/Nicolas/GUS/gus_home/config/.build.info >>>> >>>> defaultComponentInstall: >>>> [echo] . >>>> [echo] Installing GUS/Community >>>> >>>> recordBuildState: >>>> [propertyfile] Updating property file: >>>> /Users/Nicolas/GUS/gus_home/config/.build.info >>>> >>>> defaultComponentInstall: >>>> [echo] . >>>> [echo] Installing GUS/DBAdmin >>>> >>>> defaultJavaCompile: >>>> [javac] /Users/Nicolas/GUS/project_home/install/build.xml:332: >>>> warning: 'includeantruntime' was not set, defaulting to >>>> build.sysclasspath=last; set to false for repeatable builds >>>> >>>> recordBuildState: >>>> [propertyfile] Updating property file: >>>> /Users/Nicolas/GUS/gus_home/config/.build.info >>>> >>>> defaultComponentInstall: >>>> [echo] . >>>> [echo] Installing GUS/GOPredict >>>> >>>> defaultJavaCompile: >>>> [javac] /Users/Nicolas/GUS/project_home/install/build.xml:332: >>>> warning: 'includeantruntime' was not set, defaulting to >>>> build.sysclasspath=last; set to false for repeatable builds >>>> >>>> recordBuildState: >>>> [propertyfile] Updating property file: >>>> /Users/Nicolas/GUS/gus_home/config/.build.info >>>> >>>> defaultComponentInstall: >>>> [echo] . >>>> [echo] Installing GusSchema/Definition >>>> >>>> recordBuildState: >>>> [propertyfile] Updating property file: >>>> /Users/Nicolas/GUS/gus_home/config/.build.info >>>> >>>> defaultComponentInstall: >>>> [echo] . >>>> [echo] Installing GUS/DBAdmin >>>> >>>> defaultJavaCompile: >>>> [javac] /Users/Nicolas/GUS/project_home/install/build.xml:332: >>>> warning: 'includeantruntime' was not set, defaulting to >>>> build.sysclasspath=last; set to false for repeatable builds >>>> >>>> recordBuildState: >>>> [propertyfile] Updating property file: >>>> /Users/Nicolas/GUS/gus_home/config/.build.info >>>> >>>> InstallSchema: >>>> [InstallSchema] FATAL [main] (InstallSchemaTask.java:170) - Unable to >>>> locate class >>>> [InstallSchema] java.lang.ClassNotFoundException: >>>> oracle.jdbc.OracleDriver >>>> [InstallSchema] at >>>> org.apache.tools.ant.AntClassLoader.findClassInComponents(AntClassLoader.java:1365) >>>> [InstallSchema] at >>>> org.apache.tools.ant.AntClassLoader.findClass(AntClassLoader.java:1315) >>>> [InstallSchema] at >>>> org.apache.tools.ant.AntClassLoader.loadClass(AntClassLoader.java:1068) >>>> [InstallSchema] at >>>> java.lang.ClassLoader.loadClass(ClassLoader.java:247) >>>> [InstallSchema] at java.lang.Class.forName0(Native Method) >>>> [InstallSchema] at java.lang.Class.forName(Class.java:169) >>>> [InstallSchema] at >>>> org.gusdb.dbadmin.util.InstallSchemaTask.initialize(InstallSchemaTask.java:167) >>>> [InstallSchema] at >>>> org.gusdb.dbadmin.util.InstallSchemaTask.execute(InstallSchemaTask.java:62) >>>> [InstallSchema] at >>>> org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) >>>> [InstallSchema] at >>>> sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) >>>> [InstallSchema] at >>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) >>>> [InstallSchema] at java.lang.reflect.Method.invoke(Method.java:597) >>>> [InstallSchema] at >>>> org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) >>>> [InstallSchema] at org.apache.tools.ant.Task.perform(Task.java:348) >>>> [InstallSchema] at >>>> org.apache.tools.ant.Target.execute(Target.java:392) >>>> [InstallSchema] at >>>> org.apache.tools.ant.Target.performTasks(Target.java:413) >>>> [InstallSchema] at >>>> org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399) >>>> [InstallSchema] at >>>> org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38) >>>> [InstallSchema] at >>>> org.apache.tools.ant.Project.executeTargets(Project.java:1251) >>>> [InstallSchema] at >>>> org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442) >>>> [InstallSchema] at >>>> org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) >>>> [InstallSchema] at >>>> sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) >>>> [InstallSchema] at >>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) >>>> [InstallSchema] at java.lang.reflect.Method.invoke(Method.java:597) >>>> [InstallSchema] at >>>> org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) >>>> [InstallSchema] at org.apache.tools.ant.Task.perform(Task.java:348) >>>> [InstallSchema] at >>>> org.apache.tools.ant.Target.execute(Target.java:392) >>>> [InstallSchema] at >>>> org.apache.tools.ant.Target.performTasks(Target.java:413) >>>> [InstallSchema] at >>>> org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399) >>>> [InstallSchema] at >>>> org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38) >>>> [InstallSchema] at >>>> org.apache.tools.ant.Project.executeTargets(Project.java:1251) >>>> [InstallSchema] at >>>> org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442) >>>> [InstallSchema] at >>>> org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) >>>> [InstallSchema] at >>>> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >>>> [InstallSchema] at >>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) >>>> [InstallSchema] at >>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) >>>> [InstallSchema] at java.lang.reflect.Method.invoke(Method.java:597) >>>> [InstallSchema] at >>>> org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) >>>> [InstallSchema] at org.apache.tools.ant.Task.perform(Task.java:348) >>>> [InstallSchema] at >>>> org.apache.tools.ant.Target.execute(Target.java:392) >>>> [InstallSchema] at >>>> org.apache.tools.ant.Target.performTasks(Target.java:413) >>>> [InstallSchema] at >>>> org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399) >>>> [InstallSchema] at >>>> org.apache.tools.ant.Project.executeTarget(Project.java:1368) >>>> [InstallSchema] at >>>> org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41) >>>> [InstallSchema] at >>>> org.apache.tools.ant.Project.executeTargets(Project.java:1251) >>>> [InstallSchema] at org.apache.tools.ant.Main.runBuild(Main.java:811) >>>> [InstallSchema] at org.apache.tools.ant.Main.startAnt(Main.java:217) >>>> [InstallSchema] at >>>> org.apache.tools.ant.launch.Launcher.run(Launcher.java:280) >>>> [InstallSchema] at >>>> org.apache.tools.ant.launch.Launcher.main(Launcher.java:109) >>>> >>>> BUILD FAILED >>>> /Users/Nicolas/GUS/project_home/install/build.xml:38: The following >>>> error occurred while executing this line: >>>> /Users/Nicolas/GUS/project_home/GUS/build.xml:16: The following error >>>> occurred while executing this line: >>>> /Users/Nicolas/GUS/project_home/GusSchema/build.xml:63: Unable to >>>> locate class >>>> >>>> Total time: 18 seconds >>>> >>>> >>>> >>>> >>>> >>>> ------------------------------------------------------------------------------ >>>> This SF email is sponsosred by: >>>> Try Windows Azure free for 90 days Click Here >>>> http://p.sf.net/sfu/sfd2d-msazure >>>> _______________________________________________ >>>> Gusdev-gusdev mailing list >>>> Gus...@li... >>>> https://lists.sourceforge.net/lists/listinfo/gusdev-gusdev >>>> >>>> >>> >> >> >> ------------------------------------------------------------------------------ >> This SF email is sponsosred by: >> Try Windows Azure free for 90 days Click Here >> http://p.sf.net/sfu/sfd2d-msazure >> _______________________________________________ >> Gusdev-gusdev mailing list >> Gus...@li... >> https://lists.sourceforge.net/lists/listinfo/gusdev-gusdev >> >> > > > -- > Atc, > Rodrigo Jardim > jar...@gm... > > > |
From: Rodrigo J. <jar...@gm...> - 2012-03-22 13:09:24
|
Hi John, follow: dbVendor=Postgres dbiDsn=dbi:Pg:dbname=<your_database_name>;host=<your_database_server_ip> jdbcDsn=jdbc:postgresql://<your_database_server_ip>/<your_database_name> # Login and Password to the RDBMS databaseLogin=<your_database_user_name> databasePassword=<your_database_password> Regards, 2012/3/22 Nicolas Joannin <nic...@gm...> > Hi John, > > I don't have access to my work machine at the moment, but I can tell you > for sure that the dbvendor is set to Postgres. > > I am rather new at working with databases, so my research into the problem > may be misguided... However, could it be linked to the version of the jdbc > driver? At this link <http://jdbc.postgresql.org/download.html>, they > seem to say that for JVM v1.6, one should use a jdbc4, whereas the GUS > install uses a jdbc3. The current MacOSX 10.6 uses JVM v1.6. > > Also, I wasn't quite sure what to put for the "jdbcDsn", so I ended up > using jdbcDsn=jdbc:postgresql:<database_name>. > (I chose that after reading this page<http://jdbc.postgresql.org/documentation/83/connect.html>and because the database is on the local machine.) > > Otherwise, please let me know if there is any other information that may > be useful. > Best regards, > Nicolas > > On Thu, Mar 22, 2012 at 21:20, John Iodice <io...@gm...> wrote: > >> Hi Nicolas, >> >> It seems odd that the install is looking for an Oracle driver when you're >> using Postgres. What's the value of the "dbVendor" property in your GUS >> config file? Is it set to "Postgres"? >> >> -- John >> >> On Thu, Mar 22, 2012 at 12:42 AM, Nicolas Joannin < >> nic...@gm...> wrote: >> >>> Hello, >>> >>> I'm trying to install GUS, but have encountered a problem I cannot >>> figure out. >>> I have looked at the mailing list archive, but haven't found anything >>> that helps. >>> >>> In the output I get from the terminal (see below), there is a warning >>> about 'includeantruntime' that comes back several times. Other then that, >>> it stops with '/Users/Nicolas/GUS/project_home/GusSchema/build.xml:63: >>> Unable to locate class'. >>> >>> I'm working with the following: >>> Mac OSX 10.6.8 fully updated >>> Perl v5.14.2 built for darwin-thread-multi-2level (with 1 registered >>> patch) >>> Ant version 1.8.3 >>> PostgreSQL 9.1.1 >>> >>> Let me know if you need more information. >>> >>> Thank you in advance for any help you can give me! >>> Best regards, >>> Nicolas >>> >>> >>> >>> >>> Here is the terminal output I got: >>> >>> Nicolas-work-iMac:bin Nicolas$ ./build GUS install -append >>> -installDBSchema >>> Buildfile: /Users/Nicolas/GUS/project_home/install/build.xml >>> >>> install: >>> [echo] proj=GUS >>> [echo] comp= >>> >>> defaultComponentInstall: >>> [echo] . >>> [echo] Installing CBIL/Bio >>> >>> recordBuildState: >>> [propertyfile] Updating property file: >>> /Users/Nicolas/GUS/gus_home/config/.build.info >>> >>> defaultComponentInstall: >>> [echo] . >>> [echo] Installing CBIL/CSP >>> >>> defaultJavaCompile: >>> [javac] /Users/Nicolas/GUS/project_home/install/build.xml:332: >>> warning: 'includeantruntime' was not set, defaulting to >>> build.sysclasspath=last; set to false for repeatable builds >>> >>> recordBuildState: >>> [propertyfile] Updating property file: >>> /Users/Nicolas/GUS/gus_home/config/.build.info >>> >>> defaultComponentInstall: >>> [echo] . >>> [echo] Installing CBIL/Util >>> >>> recordBuildState: >>> [propertyfile] Updating property file: >>> /Users/Nicolas/GUS/gus_home/config/.build.info >>> >>> defaultComponentInstall: >>> [echo] . >>> [echo] Installing CBIL/Cider >>> >>> recordBuildState: >>> [propertyfile] Updating property file: >>> /Users/Nicolas/GUS/gus_home/config/.build.info >>> >>> defaultComponentInstall: >>> [echo] . >>> [echo] Installing CBIL/HQ >>> >>> recordBuildState: >>> [propertyfile] Updating property file: >>> /Users/Nicolas/GUS/gus_home/config/.build.info >>> >>> defaultComponentInstall: >>> [echo] . >>> [echo] Installing CBIL/TranscriptExpression >>> >>> recordBuildState: >>> [propertyfile] Updating property file: >>> /Users/Nicolas/GUS/gus_home/config/.build.info >>> >>> defaultComponentInstall: >>> [echo] . >>> [echo] Installing CBIL/ObjectMapper >>> >>> recordBuildState: >>> [propertyfile] Updating property file: >>> /Users/Nicolas/GUS/gus_home/config/.build.info >>> >>> defaultComponentInstall: >>> [echo] . >>> [echo] Installing GUS/Supported >>> >>> defaultJavaCompile: >>> [javac] /Users/Nicolas/GUS/project_home/install/build.xml:332: >>> warning: 'includeantruntime' was not set, defaulting to >>> build.sysclasspath=last; set to false for repeatable builds >>> >>> recordBuildState: >>> [propertyfile] Updating property file: >>> /Users/Nicolas/GUS/gus_home/config/.build.info >>> >>> defaultComponentInstall: >>> [echo] . >>> [echo] Installing GUS/Community >>> >>> recordBuildState: >>> [propertyfile] Updating property file: >>> /Users/Nicolas/GUS/gus_home/config/.build.info >>> >>> defaultComponentInstall: >>> [echo] . >>> [echo] Installing GUS/DBAdmin >>> >>> defaultJavaCompile: >>> [javac] /Users/Nicolas/GUS/project_home/install/build.xml:332: >>> warning: 'includeantruntime' was not set, defaulting to >>> build.sysclasspath=last; set to false for repeatable builds >>> >>> recordBuildState: >>> [propertyfile] Updating property file: >>> /Users/Nicolas/GUS/gus_home/config/.build.info >>> >>> defaultComponentInstall: >>> [echo] . >>> [echo] Installing GUS/GOPredict >>> >>> defaultJavaCompile: >>> [javac] /Users/Nicolas/GUS/project_home/install/build.xml:332: >>> warning: 'includeantruntime' was not set, defaulting to >>> build.sysclasspath=last; set to false for repeatable builds >>> >>> recordBuildState: >>> [propertyfile] Updating property file: >>> /Users/Nicolas/GUS/gus_home/config/.build.info >>> >>> defaultComponentInstall: >>> [echo] . >>> [echo] Installing GusSchema/Definition >>> >>> recordBuildState: >>> [propertyfile] Updating property file: >>> /Users/Nicolas/GUS/gus_home/config/.build.info >>> >>> defaultComponentInstall: >>> [echo] . >>> [echo] Installing GUS/DBAdmin >>> >>> defaultJavaCompile: >>> [javac] /Users/Nicolas/GUS/project_home/install/build.xml:332: >>> warning: 'includeantruntime' was not set, defaulting to >>> build.sysclasspath=last; set to false for repeatable builds >>> >>> recordBuildState: >>> [propertyfile] Updating property file: >>> /Users/Nicolas/GUS/gus_home/config/.build.info >>> >>> InstallSchema: >>> [InstallSchema] FATAL [main] (InstallSchemaTask.java:170) - Unable to >>> locate class >>> [InstallSchema] java.lang.ClassNotFoundException: >>> oracle.jdbc.OracleDriver >>> [InstallSchema] at >>> org.apache.tools.ant.AntClassLoader.findClassInComponents(AntClassLoader.java:1365) >>> [InstallSchema] at >>> org.apache.tools.ant.AntClassLoader.findClass(AntClassLoader.java:1315) >>> [InstallSchema] at >>> org.apache.tools.ant.AntClassLoader.loadClass(AntClassLoader.java:1068) >>> [InstallSchema] at >>> java.lang.ClassLoader.loadClass(ClassLoader.java:247) >>> [InstallSchema] at java.lang.Class.forName0(Native Method) >>> [InstallSchema] at java.lang.Class.forName(Class.java:169) >>> [InstallSchema] at >>> org.gusdb.dbadmin.util.InstallSchemaTask.initialize(InstallSchemaTask.java:167) >>> [InstallSchema] at >>> org.gusdb.dbadmin.util.InstallSchemaTask.execute(InstallSchemaTask.java:62) >>> [InstallSchema] at >>> org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) >>> [InstallSchema] at >>> sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) >>> [InstallSchema] at >>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) >>> [InstallSchema] at java.lang.reflect.Method.invoke(Method.java:597) >>> [InstallSchema] at >>> org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) >>> [InstallSchema] at org.apache.tools.ant.Task.perform(Task.java:348) >>> [InstallSchema] at org.apache.tools.ant.Target.execute(Target.java:392) >>> [InstallSchema] at >>> org.apache.tools.ant.Target.performTasks(Target.java:413) >>> [InstallSchema] at >>> org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399) >>> [InstallSchema] at >>> org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38) >>> [InstallSchema] at >>> org.apache.tools.ant.Project.executeTargets(Project.java:1251) >>> [InstallSchema] at >>> org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442) >>> [InstallSchema] at >>> org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) >>> [InstallSchema] at >>> sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) >>> [InstallSchema] at >>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) >>> [InstallSchema] at java.lang.reflect.Method.invoke(Method.java:597) >>> [InstallSchema] at >>> org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) >>> [InstallSchema] at org.apache.tools.ant.Task.perform(Task.java:348) >>> [InstallSchema] at org.apache.tools.ant.Target.execute(Target.java:392) >>> [InstallSchema] at >>> org.apache.tools.ant.Target.performTasks(Target.java:413) >>> [InstallSchema] at >>> org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399) >>> [InstallSchema] at >>> org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38) >>> [InstallSchema] at >>> org.apache.tools.ant.Project.executeTargets(Project.java:1251) >>> [InstallSchema] at >>> org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442) >>> [InstallSchema] at >>> org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) >>> [InstallSchema] at >>> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >>> [InstallSchema] at >>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) >>> [InstallSchema] at >>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) >>> [InstallSchema] at java.lang.reflect.Method.invoke(Method.java:597) >>> [InstallSchema] at >>> org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) >>> [InstallSchema] at org.apache.tools.ant.Task.perform(Task.java:348) >>> [InstallSchema] at org.apache.tools.ant.Target.execute(Target.java:392) >>> [InstallSchema] at >>> org.apache.tools.ant.Target.performTasks(Target.java:413) >>> [InstallSchema] at >>> org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399) >>> [InstallSchema] at >>> org.apache.tools.ant.Project.executeTarget(Project.java:1368) >>> [InstallSchema] at >>> org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41) >>> [InstallSchema] at >>> org.apache.tools.ant.Project.executeTargets(Project.java:1251) >>> [InstallSchema] at org.apache.tools.ant.Main.runBuild(Main.java:811) >>> [InstallSchema] at org.apache.tools.ant.Main.startAnt(Main.java:217) >>> [InstallSchema] at >>> org.apache.tools.ant.launch.Launcher.run(Launcher.java:280) >>> [InstallSchema] at >>> org.apache.tools.ant.launch.Launcher.main(Launcher.java:109) >>> >>> BUILD FAILED >>> /Users/Nicolas/GUS/project_home/install/build.xml:38: The following >>> error occurred while executing this line: >>> /Users/Nicolas/GUS/project_home/GUS/build.xml:16: The following error >>> occurred while executing this line: >>> /Users/Nicolas/GUS/project_home/GusSchema/build.xml:63: Unable to >>> locate class >>> >>> Total time: 18 seconds >>> >>> >>> >>> >>> >>> ------------------------------------------------------------------------------ >>> This SF email is sponsosred by: >>> Try Windows Azure free for 90 days Click Here >>> http://p.sf.net/sfu/sfd2d-msazure >>> _______________________________________________ >>> Gusdev-gusdev mailing list >>> Gus...@li... >>> https://lists.sourceforge.net/lists/listinfo/gusdev-gusdev >>> >>> >> > > > ------------------------------------------------------------------------------ > This SF email is sponsosred by: > Try Windows Azure free for 90 days Click Here > http://p.sf.net/sfu/sfd2d-msazure > _______________________________________________ > Gusdev-gusdev mailing list > Gus...@li... > https://lists.sourceforge.net/lists/listinfo/gusdev-gusdev > > -- Atc, Rodrigo Jardim jar...@gm... |
From: Nicolas J. <nic...@gm...> - 2012-03-22 12:59:01
|
Hi John, I don't have access to my work machine at the moment, but I can tell you for sure that the dbvendor is set to Postgres. I am rather new at working with databases, so my research into the problem may be misguided... However, could it be linked to the version of the jdbc driver? At this link <http://jdbc.postgresql.org/download.html>, they seem to say that for JVM v1.6, one should use a jdbc4, whereas the GUS install uses a jdbc3. The current MacOSX 10.6 uses JVM v1.6. Also, I wasn't quite sure what to put for the "jdbcDsn", so I ended up using jdbcDsn=jdbc:postgresql:<database_name>. (I chose that after reading this page<http://jdbc.postgresql.org/documentation/83/connect.html>and because the database is on the local machine.) Otherwise, please let me know if there is any other information that may be useful. Best regards, Nicolas On Thu, Mar 22, 2012 at 21:20, John Iodice <io...@gm...> wrote: > Hi Nicolas, > > It seems odd that the install is looking for an Oracle driver when you're > using Postgres. What's the value of the "dbVendor" property in your GUS > config file? Is it set to "Postgres"? > > -- John > > On Thu, Mar 22, 2012 at 12:42 AM, Nicolas Joannin < > nic...@gm...> wrote: > >> Hello, >> >> I'm trying to install GUS, but have encountered a problem I cannot figure >> out. >> I have looked at the mailing list archive, but haven't found anything >> that helps. >> >> In the output I get from the terminal (see below), there is a warning >> about 'includeantruntime' that comes back several times. Other then that, >> it stops with '/Users/Nicolas/GUS/project_home/GusSchema/build.xml:63: >> Unable to locate class'. >> >> I'm working with the following: >> Mac OSX 10.6.8 fully updated >> Perl v5.14.2 built for darwin-thread-multi-2level (with 1 registered >> patch) >> Ant version 1.8.3 >> PostgreSQL 9.1.1 >> >> Let me know if you need more information. >> >> Thank you in advance for any help you can give me! >> Best regards, >> Nicolas >> >> >> >> >> Here is the terminal output I got: >> >> Nicolas-work-iMac:bin Nicolas$ ./build GUS install -append >> -installDBSchema >> Buildfile: /Users/Nicolas/GUS/project_home/install/build.xml >> >> install: >> [echo] proj=GUS >> [echo] comp= >> >> defaultComponentInstall: >> [echo] . >> [echo] Installing CBIL/Bio >> >> recordBuildState: >> [propertyfile] Updating property file: >> /Users/Nicolas/GUS/gus_home/config/.build.info >> >> defaultComponentInstall: >> [echo] . >> [echo] Installing CBIL/CSP >> >> defaultJavaCompile: >> [javac] /Users/Nicolas/GUS/project_home/install/build.xml:332: >> warning: 'includeantruntime' was not set, defaulting to >> build.sysclasspath=last; set to false for repeatable builds >> >> recordBuildState: >> [propertyfile] Updating property file: >> /Users/Nicolas/GUS/gus_home/config/.build.info >> >> defaultComponentInstall: >> [echo] . >> [echo] Installing CBIL/Util >> >> recordBuildState: >> [propertyfile] Updating property file: >> /Users/Nicolas/GUS/gus_home/config/.build.info >> >> defaultComponentInstall: >> [echo] . >> [echo] Installing CBIL/Cider >> >> recordBuildState: >> [propertyfile] Updating property file: >> /Users/Nicolas/GUS/gus_home/config/.build.info >> >> defaultComponentInstall: >> [echo] . >> [echo] Installing CBIL/HQ >> >> recordBuildState: >> [propertyfile] Updating property file: >> /Users/Nicolas/GUS/gus_home/config/.build.info >> >> defaultComponentInstall: >> [echo] . >> [echo] Installing CBIL/TranscriptExpression >> >> recordBuildState: >> [propertyfile] Updating property file: >> /Users/Nicolas/GUS/gus_home/config/.build.info >> >> defaultComponentInstall: >> [echo] . >> [echo] Installing CBIL/ObjectMapper >> >> recordBuildState: >> [propertyfile] Updating property file: >> /Users/Nicolas/GUS/gus_home/config/.build.info >> >> defaultComponentInstall: >> [echo] . >> [echo] Installing GUS/Supported >> >> defaultJavaCompile: >> [javac] /Users/Nicolas/GUS/project_home/install/build.xml:332: >> warning: 'includeantruntime' was not set, defaulting to >> build.sysclasspath=last; set to false for repeatable builds >> >> recordBuildState: >> [propertyfile] Updating property file: >> /Users/Nicolas/GUS/gus_home/config/.build.info >> >> defaultComponentInstall: >> [echo] . >> [echo] Installing GUS/Community >> >> recordBuildState: >> [propertyfile] Updating property file: >> /Users/Nicolas/GUS/gus_home/config/.build.info >> >> defaultComponentInstall: >> [echo] . >> [echo] Installing GUS/DBAdmin >> >> defaultJavaCompile: >> [javac] /Users/Nicolas/GUS/project_home/install/build.xml:332: >> warning: 'includeantruntime' was not set, defaulting to >> build.sysclasspath=last; set to false for repeatable builds >> >> recordBuildState: >> [propertyfile] Updating property file: >> /Users/Nicolas/GUS/gus_home/config/.build.info >> >> defaultComponentInstall: >> [echo] . >> [echo] Installing GUS/GOPredict >> >> defaultJavaCompile: >> [javac] /Users/Nicolas/GUS/project_home/install/build.xml:332: >> warning: 'includeantruntime' was not set, defaulting to >> build.sysclasspath=last; set to false for repeatable builds >> >> recordBuildState: >> [propertyfile] Updating property file: >> /Users/Nicolas/GUS/gus_home/config/.build.info >> >> defaultComponentInstall: >> [echo] . >> [echo] Installing GusSchema/Definition >> >> recordBuildState: >> [propertyfile] Updating property file: >> /Users/Nicolas/GUS/gus_home/config/.build.info >> >> defaultComponentInstall: >> [echo] . >> [echo] Installing GUS/DBAdmin >> >> defaultJavaCompile: >> [javac] /Users/Nicolas/GUS/project_home/install/build.xml:332: >> warning: 'includeantruntime' was not set, defaulting to >> build.sysclasspath=last; set to false for repeatable builds >> >> recordBuildState: >> [propertyfile] Updating property file: >> /Users/Nicolas/GUS/gus_home/config/.build.info >> >> InstallSchema: >> [InstallSchema] FATAL [main] (InstallSchemaTask.java:170) - Unable to >> locate class >> [InstallSchema] java.lang.ClassNotFoundException: >> oracle.jdbc.OracleDriver >> [InstallSchema] at >> org.apache.tools.ant.AntClassLoader.findClassInComponents(AntClassLoader.java:1365) >> [InstallSchema] at >> org.apache.tools.ant.AntClassLoader.findClass(AntClassLoader.java:1315) >> [InstallSchema] at >> org.apache.tools.ant.AntClassLoader.loadClass(AntClassLoader.java:1068) >> [InstallSchema] at >> java.lang.ClassLoader.loadClass(ClassLoader.java:247) >> [InstallSchema] at java.lang.Class.forName0(Native Method) >> [InstallSchema] at java.lang.Class.forName(Class.java:169) >> [InstallSchema] at >> org.gusdb.dbadmin.util.InstallSchemaTask.initialize(InstallSchemaTask.java:167) >> [InstallSchema] at >> org.gusdb.dbadmin.util.InstallSchemaTask.execute(InstallSchemaTask.java:62) >> [InstallSchema] at >> org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) >> [InstallSchema] at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown >> Source) >> [InstallSchema] at >> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) >> [InstallSchema] at java.lang.reflect.Method.invoke(Method.java:597) >> [InstallSchema] at >> org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) >> [InstallSchema] at org.apache.tools.ant.Task.perform(Task.java:348) >> [InstallSchema] at org.apache.tools.ant.Target.execute(Target.java:392) >> [InstallSchema] at >> org.apache.tools.ant.Target.performTasks(Target.java:413) >> [InstallSchema] at >> org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399) >> [InstallSchema] at >> org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38) >> [InstallSchema] at >> org.apache.tools.ant.Project.executeTargets(Project.java:1251) >> [InstallSchema] at >> org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442) >> [InstallSchema] at >> org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) >> [InstallSchema] at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown >> Source) >> [InstallSchema] at >> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) >> [InstallSchema] at java.lang.reflect.Method.invoke(Method.java:597) >> [InstallSchema] at >> org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) >> [InstallSchema] at org.apache.tools.ant.Task.perform(Task.java:348) >> [InstallSchema] at org.apache.tools.ant.Target.execute(Target.java:392) >> [InstallSchema] at >> org.apache.tools.ant.Target.performTasks(Target.java:413) >> [InstallSchema] at >> org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399) >> [InstallSchema] at >> org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38) >> [InstallSchema] at >> org.apache.tools.ant.Project.executeTargets(Project.java:1251) >> [InstallSchema] at >> org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442) >> [InstallSchema] at >> org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) >> [InstallSchema] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native >> Method) >> [InstallSchema] at >> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) >> [InstallSchema] at >> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) >> [InstallSchema] at java.lang.reflect.Method.invoke(Method.java:597) >> [InstallSchema] at >> org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) >> [InstallSchema] at org.apache.tools.ant.Task.perform(Task.java:348) >> [InstallSchema] at org.apache.tools.ant.Target.execute(Target.java:392) >> [InstallSchema] at >> org.apache.tools.ant.Target.performTasks(Target.java:413) >> [InstallSchema] at >> org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399) >> [InstallSchema] at >> org.apache.tools.ant.Project.executeTarget(Project.java:1368) >> [InstallSchema] at >> org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41) >> [InstallSchema] at >> org.apache.tools.ant.Project.executeTargets(Project.java:1251) >> [InstallSchema] at org.apache.tools.ant.Main.runBuild(Main.java:811) >> [InstallSchema] at org.apache.tools.ant.Main.startAnt(Main.java:217) >> [InstallSchema] at >> org.apache.tools.ant.launch.Launcher.run(Launcher.java:280) >> [InstallSchema] at >> org.apache.tools.ant.launch.Launcher.main(Launcher.java:109) >> >> BUILD FAILED >> /Users/Nicolas/GUS/project_home/install/build.xml:38: The following >> error occurred while executing this line: >> /Users/Nicolas/GUS/project_home/GUS/build.xml:16: The following error >> occurred while executing this line: >> /Users/Nicolas/GUS/project_home/GusSchema/build.xml:63: Unable to locate >> class >> >> Total time: 18 seconds >> >> >> >> >> >> ------------------------------------------------------------------------------ >> This SF email is sponsosred by: >> Try Windows Azure free for 90 days Click Here >> http://p.sf.net/sfu/sfd2d-msazure >> _______________________________________________ >> Gusdev-gusdev mailing list >> Gus...@li... >> https://lists.sourceforge.net/lists/listinfo/gusdev-gusdev >> >> > |
From: John I. <io...@gm...> - 2012-03-22 12:21:09
|
Hi Nicolas, It seems odd that the install is looking for an Oracle driver when you're using Postgres. What's the value of the "dbVendor" property in your GUS config file? Is it set to "Postgres"? -- John On Thu, Mar 22, 2012 at 12:42 AM, Nicolas Joannin <nic...@gm... > wrote: > Hello, > > I'm trying to install GUS, but have encountered a problem I cannot figure > out. > I have looked at the mailing list archive, but haven't found anything that > helps. > > In the output I get from the terminal (see below), there is a warning > about 'includeantruntime' that comes back several times. Other then that, > it stops with '/Users/Nicolas/GUS/project_home/GusSchema/build.xml:63: > Unable to locate class'. > > I'm working with the following: > Mac OSX 10.6.8 fully updated > Perl v5.14.2 built for darwin-thread-multi-2level (with 1 registered patch) > Ant version 1.8.3 > PostgreSQL 9.1.1 > > Let me know if you need more information. > > Thank you in advance for any help you can give me! > Best regards, > Nicolas > > > > > Here is the terminal output I got: > > Nicolas-work-iMac:bin Nicolas$ ./build GUS install -append -installDBSchema > Buildfile: /Users/Nicolas/GUS/project_home/install/build.xml > > install: > [echo] proj=GUS > [echo] comp= > > defaultComponentInstall: > [echo] . > [echo] Installing CBIL/Bio > > recordBuildState: > [propertyfile] Updating property file: > /Users/Nicolas/GUS/gus_home/config/.build.info > > defaultComponentInstall: > [echo] . > [echo] Installing CBIL/CSP > > defaultJavaCompile: > [javac] /Users/Nicolas/GUS/project_home/install/build.xml:332: > warning: 'includeantruntime' was not set, defaulting to > build.sysclasspath=last; set to false for repeatable builds > > recordBuildState: > [propertyfile] Updating property file: > /Users/Nicolas/GUS/gus_home/config/.build.info > > defaultComponentInstall: > [echo] . > [echo] Installing CBIL/Util > > recordBuildState: > [propertyfile] Updating property file: > /Users/Nicolas/GUS/gus_home/config/.build.info > > defaultComponentInstall: > [echo] . > [echo] Installing CBIL/Cider > > recordBuildState: > [propertyfile] Updating property file: > /Users/Nicolas/GUS/gus_home/config/.build.info > > defaultComponentInstall: > [echo] . > [echo] Installing CBIL/HQ > > recordBuildState: > [propertyfile] Updating property file: > /Users/Nicolas/GUS/gus_home/config/.build.info > > defaultComponentInstall: > [echo] . > [echo] Installing CBIL/TranscriptExpression > > recordBuildState: > [propertyfile] Updating property file: > /Users/Nicolas/GUS/gus_home/config/.build.info > > defaultComponentInstall: > [echo] . > [echo] Installing CBIL/ObjectMapper > > recordBuildState: > [propertyfile] Updating property file: > /Users/Nicolas/GUS/gus_home/config/.build.info > > defaultComponentInstall: > [echo] . > [echo] Installing GUS/Supported > > defaultJavaCompile: > [javac] /Users/Nicolas/GUS/project_home/install/build.xml:332: > warning: 'includeantruntime' was not set, defaulting to > build.sysclasspath=last; set to false for repeatable builds > > recordBuildState: > [propertyfile] Updating property file: > /Users/Nicolas/GUS/gus_home/config/.build.info > > defaultComponentInstall: > [echo] . > [echo] Installing GUS/Community > > recordBuildState: > [propertyfile] Updating property file: > /Users/Nicolas/GUS/gus_home/config/.build.info > > defaultComponentInstall: > [echo] . > [echo] Installing GUS/DBAdmin > > defaultJavaCompile: > [javac] /Users/Nicolas/GUS/project_home/install/build.xml:332: > warning: 'includeantruntime' was not set, defaulting to > build.sysclasspath=last; set to false for repeatable builds > > recordBuildState: > [propertyfile] Updating property file: > /Users/Nicolas/GUS/gus_home/config/.build.info > > defaultComponentInstall: > [echo] . > [echo] Installing GUS/GOPredict > > defaultJavaCompile: > [javac] /Users/Nicolas/GUS/project_home/install/build.xml:332: > warning: 'includeantruntime' was not set, defaulting to > build.sysclasspath=last; set to false for repeatable builds > > recordBuildState: > [propertyfile] Updating property file: > /Users/Nicolas/GUS/gus_home/config/.build.info > > defaultComponentInstall: > [echo] . > [echo] Installing GusSchema/Definition > > recordBuildState: > [propertyfile] Updating property file: > /Users/Nicolas/GUS/gus_home/config/.build.info > > defaultComponentInstall: > [echo] . > [echo] Installing GUS/DBAdmin > > defaultJavaCompile: > [javac] /Users/Nicolas/GUS/project_home/install/build.xml:332: > warning: 'includeantruntime' was not set, defaulting to > build.sysclasspath=last; set to false for repeatable builds > > recordBuildState: > [propertyfile] Updating property file: > /Users/Nicolas/GUS/gus_home/config/.build.info > > InstallSchema: > [InstallSchema] FATAL [main] (InstallSchemaTask.java:170) - Unable to > locate class > [InstallSchema] java.lang.ClassNotFoundException: oracle.jdbc.OracleDriver > [InstallSchema] at > org.apache.tools.ant.AntClassLoader.findClassInComponents(AntClassLoader.java:1365) > [InstallSchema] at > org.apache.tools.ant.AntClassLoader.findClass(AntClassLoader.java:1315) > [InstallSchema] at > org.apache.tools.ant.AntClassLoader.loadClass(AntClassLoader.java:1068) > [InstallSchema] at java.lang.ClassLoader.loadClass(ClassLoader.java:247) > [InstallSchema] at java.lang.Class.forName0(Native Method) > [InstallSchema] at java.lang.Class.forName(Class.java:169) > [InstallSchema] at > org.gusdb.dbadmin.util.InstallSchemaTask.initialize(InstallSchemaTask.java:167) > [InstallSchema] at > org.gusdb.dbadmin.util.InstallSchemaTask.execute(InstallSchemaTask.java:62) > [InstallSchema] at > org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) > [InstallSchema] at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown > Source) > [InstallSchema] at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > [InstallSchema] at java.lang.reflect.Method.invoke(Method.java:597) > [InstallSchema] at > org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) > [InstallSchema] at org.apache.tools.ant.Task.perform(Task.java:348) > [InstallSchema] at org.apache.tools.ant.Target.execute(Target.java:392) > [InstallSchema] at > org.apache.tools.ant.Target.performTasks(Target.java:413) > [InstallSchema] at > org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399) > [InstallSchema] at > org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38) > [InstallSchema] at > org.apache.tools.ant.Project.executeTargets(Project.java:1251) > [InstallSchema] at > org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442) > [InstallSchema] at > org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) > [InstallSchema] at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown > Source) > [InstallSchema] at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > [InstallSchema] at java.lang.reflect.Method.invoke(Method.java:597) > [InstallSchema] at > org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) > [InstallSchema] at org.apache.tools.ant.Task.perform(Task.java:348) > [InstallSchema] at org.apache.tools.ant.Target.execute(Target.java:392) > [InstallSchema] at > org.apache.tools.ant.Target.performTasks(Target.java:413) > [InstallSchema] at > org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399) > [InstallSchema] at > org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38) > [InstallSchema] at > org.apache.tools.ant.Project.executeTargets(Project.java:1251) > [InstallSchema] at > org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442) > [InstallSchema] at > org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) > [InstallSchema] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native > Method) > [InstallSchema] at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > [InstallSchema] at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > [InstallSchema] at java.lang.reflect.Method.invoke(Method.java:597) > [InstallSchema] at > org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) > [InstallSchema] at org.apache.tools.ant.Task.perform(Task.java:348) > [InstallSchema] at org.apache.tools.ant.Target.execute(Target.java:392) > [InstallSchema] at > org.apache.tools.ant.Target.performTasks(Target.java:413) > [InstallSchema] at > org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399) > [InstallSchema] at > org.apache.tools.ant.Project.executeTarget(Project.java:1368) > [InstallSchema] at > org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41) > [InstallSchema] at > org.apache.tools.ant.Project.executeTargets(Project.java:1251) > [InstallSchema] at org.apache.tools.ant.Main.runBuild(Main.java:811) > [InstallSchema] at org.apache.tools.ant.Main.startAnt(Main.java:217) > [InstallSchema] at > org.apache.tools.ant.launch.Launcher.run(Launcher.java:280) > [InstallSchema] at > org.apache.tools.ant.launch.Launcher.main(Launcher.java:109) > > BUILD FAILED > /Users/Nicolas/GUS/project_home/install/build.xml:38: The following error > occurred while executing this line: > /Users/Nicolas/GUS/project_home/GUS/build.xml:16: The following error > occurred while executing this line: > /Users/Nicolas/GUS/project_home/GusSchema/build.xml:63: Unable to locate > class > > Total time: 18 seconds > > > > > > ------------------------------------------------------------------------------ > This SF email is sponsosred by: > Try Windows Azure free for 90 days Click Here > http://p.sf.net/sfu/sfd2d-msazure > _______________________________________________ > Gusdev-gusdev mailing list > Gus...@li... > https://lists.sourceforge.net/lists/listinfo/gusdev-gusdev > > |
From: Nicolas J. <nic...@gm...> - 2012-03-22 04:43:03
|
Hello, I'm trying to install GUS, but have encountered a problem I cannot figure out. I have looked at the mailing list archive, but haven't found anything that helps. In the output I get from the terminal (see below), there is a warning about 'includeantruntime' that comes back several times. Other then that, it stops with '/Users/Nicolas/GUS/project_home/GusSchema/build.xml:63: Unable to locate class'. I'm working with the following: Mac OSX 10.6.8 fully updated Perl v5.14.2 built for darwin-thread-multi-2level (with 1 registered patch) Ant version 1.8.3 PostgreSQL 9.1.1 Let me know if you need more information. Thank you in advance for any help you can give me! Best regards, Nicolas Here is the terminal output I got: Nicolas-work-iMac:bin Nicolas$ ./build GUS install -append -installDBSchema Buildfile: /Users/Nicolas/GUS/project_home/install/build.xml install: [echo] proj=GUS [echo] comp= defaultComponentInstall: [echo] . [echo] Installing CBIL/Bio recordBuildState: [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/. build.info defaultComponentInstall: [echo] . [echo] Installing CBIL/CSP defaultJavaCompile: [javac] /Users/Nicolas/GUS/project_home/install/build.xml:332: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds recordBuildState: [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/. build.info defaultComponentInstall: [echo] . [echo] Installing CBIL/Util recordBuildState: [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/. build.info defaultComponentInstall: [echo] . [echo] Installing CBIL/Cider recordBuildState: [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/. build.info defaultComponentInstall: [echo] . [echo] Installing CBIL/HQ recordBuildState: [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/. build.info defaultComponentInstall: [echo] . [echo] Installing CBIL/TranscriptExpression recordBuildState: [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/. build.info defaultComponentInstall: [echo] . [echo] Installing CBIL/ObjectMapper recordBuildState: [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/. build.info defaultComponentInstall: [echo] . [echo] Installing GUS/Supported defaultJavaCompile: [javac] /Users/Nicolas/GUS/project_home/install/build.xml:332: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds recordBuildState: [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/. build.info defaultComponentInstall: [echo] . [echo] Installing GUS/Community recordBuildState: [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/. build.info defaultComponentInstall: [echo] . [echo] Installing GUS/DBAdmin defaultJavaCompile: [javac] /Users/Nicolas/GUS/project_home/install/build.xml:332: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds recordBuildState: [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/. build.info defaultComponentInstall: [echo] . [echo] Installing GUS/GOPredict defaultJavaCompile: [javac] /Users/Nicolas/GUS/project_home/install/build.xml:332: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds recordBuildState: [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/. build.info defaultComponentInstall: [echo] . [echo] Installing GusSchema/Definition recordBuildState: [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/. build.info defaultComponentInstall: [echo] . [echo] Installing GUS/DBAdmin defaultJavaCompile: [javac] /Users/Nicolas/GUS/project_home/install/build.xml:332: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds recordBuildState: [propertyfile] Updating property file: /Users/Nicolas/GUS/gus_home/config/. build.info InstallSchema: [InstallSchema] FATAL [main] (InstallSchemaTask.java:170) - Unable to locate class [InstallSchema] java.lang.ClassNotFoundException: oracle.jdbc.OracleDriver [InstallSchema] at org.apache.tools.ant.AntClassLoader.findClassInComponents(AntClassLoader.java:1365) [InstallSchema] at org.apache.tools.ant.AntClassLoader.findClass(AntClassLoader.java:1315) [InstallSchema] at org.apache.tools.ant.AntClassLoader.loadClass(AntClassLoader.java:1068) [InstallSchema] at java.lang.ClassLoader.loadClass(ClassLoader.java:247) [InstallSchema] at java.lang.Class.forName0(Native Method) [InstallSchema] at java.lang.Class.forName(Class.java:169) [InstallSchema] at org.gusdb.dbadmin.util.InstallSchemaTask.initialize(InstallSchemaTask.java:167) [InstallSchema] at org.gusdb.dbadmin.util.InstallSchemaTask.execute(InstallSchemaTask.java:62) [InstallSchema] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) [InstallSchema] at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) [InstallSchema] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [InstallSchema] at java.lang.reflect.Method.invoke(Method.java:597) [InstallSchema] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) [InstallSchema] at org.apache.tools.ant.Task.perform(Task.java:348) [InstallSchema] at org.apache.tools.ant.Target.execute(Target.java:392) [InstallSchema] at org.apache.tools.ant.Target.performTasks(Target.java:413) [InstallSchema] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399) [InstallSchema] at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38) [InstallSchema] at org.apache.tools.ant.Project.executeTargets(Project.java:1251) [InstallSchema] at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442) [InstallSchema] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) [InstallSchema] at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) [InstallSchema] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [InstallSchema] at java.lang.reflect.Method.invoke(Method.java:597) [InstallSchema] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) [InstallSchema] at org.apache.tools.ant.Task.perform(Task.java:348) [InstallSchema] at org.apache.tools.ant.Target.execute(Target.java:392) [InstallSchema] at org.apache.tools.ant.Target.performTasks(Target.java:413) [InstallSchema] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399) [InstallSchema] at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38) [InstallSchema] at org.apache.tools.ant.Project.executeTargets(Project.java:1251) [InstallSchema] at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442) [InstallSchema] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) [InstallSchema] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [InstallSchema] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [InstallSchema] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [InstallSchema] at java.lang.reflect.Method.invoke(Method.java:597) [InstallSchema] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) [InstallSchema] at org.apache.tools.ant.Task.perform(Task.java:348) [InstallSchema] at org.apache.tools.ant.Target.execute(Target.java:392) [InstallSchema] at org.apache.tools.ant.Target.performTasks(Target.java:413) [InstallSchema] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399) [InstallSchema] at org.apache.tools.ant.Project.executeTarget(Project.java:1368) [InstallSchema] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41) [InstallSchema] at org.apache.tools.ant.Project.executeTargets(Project.java:1251) [InstallSchema] at org.apache.tools.ant.Main.runBuild(Main.java:811) [InstallSchema] at org.apache.tools.ant.Main.startAnt(Main.java:217) [InstallSchema] at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280) [InstallSchema] at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109) BUILD FAILED /Users/Nicolas/GUS/project_home/install/build.xml:38: The following error occurred while executing this line: /Users/Nicolas/GUS/project_home/GUS/build.xml:16: The following error occurred while executing this line: /Users/Nicolas/GUS/project_home/GusSchema/build.xml:63: Unable to locate class Total time: 18 seconds |
From: Chris S. <sto...@pc...> - 2011-07-05 21:47:49
|
Hi Konika, I'm not familiar with the TRED database - I don't think there is a plugin for that from CBIL. I'll ask locally about more recent documents but there is this from the GUS web site: http://www.gusdb.org/documentation/3.5/users/usersguide.pdf Cheers, Chris On Jun 27, 2011, at 4:37 AM, chawla wrote: > HI > > Thanks to all, I have been able to install GUS successfully > > Though strangely it required > > oracle.jdbc.OracleDriver > > > but it worked after installing it. > > > To proceed now I want to learn how to load data in GUS databases > > Is there any guide one how to use the perl plugins / create mapping files..? > > For now I want to load data from TRED database- is there some direct > plugin for that? > > Thanks > > Konika > > > ------------------------------------------------------------------------------ > All of the data generated in your IT infrastructure is seriously valuable. > Why? It contains a definitive record of application performance, security > threats, fraudulent activity, and more. Splunk takes this data and makes > sense of it. IT sense. And common sense. > http://p.sf.net/sfu/splunk-d2d-c2 > _______________________________________________ > Gusdev-gusdev mailing list > Gus...@li... > https://lists.sourceforge.net/lists/listinfo/gusdev-gusdev |
From: Adhemar <az...@gm...> - 2011-06-27 13:41:02
|
Thanks Brian, It worked fine. -Adhemar 2011/6/24 Brian Brunk <br...@pc...> > Adhemar, my memory is that the default max is 10000 object in memory at > once which is usually sufficient as there is seldom transactions that would > exceed that. You can increase this default in the plugin by adding the > following line .. actually can use any of the objects for this but the > context has the algorighmInvocation object so this uses that. > > $ctx->{'self_inv'}->setMaximumNumberOfObjects(50000); > > This will increase the limit to 50,000 .. could make it larger if you need > to do so. Now that machines have more memory we should probably consider > increasing the default limit. It is there to keep developers from not > removing from the cache in each loop since the objects can't be garbage > collected until that is done. > > -Brian > > > On Jun 24, 2011, at 2:35 PM, Adhemar wrote: > > Hi, > The plugin ApiCommonData::Load::Plugin::InsertLowComplexityFeature also has > the problem with the maximum number of objects in the memory. > How can I fix this? > > The full log is attached and here is the error message: > > ERROR MESSAGE: You have exceeded the maximum number of allowable objects > in memory: > You must use the method 'undefPointerCache()' in each loop > to clear the cache and allow garbage collection!! > If you need > 10000 objects at one time, > then increase the default number with the method > 'setMaximumNumberOfObjects(<number>)' at > /storage/Data/db/SchistoDB/gusApps/gus_home/lib/perl/GUS/ObjRelP/DbiDatabase.pm > line 483 > > Thanks, > -Adhemar > > > <step.err> > ------------------------------------------------------------------------------ > All the data continuously generated in your IT infrastructure contains a > definitive record of customers, application performance, security > threats, fraudulent activity and more. Splunk takes this data and makes > sense of it. Business sense. IT sense. Common sense.. > > http://p.sf.net/sfu/splunk-d2d-c1_______________________________________________ > Gusdev-gusdev mailing list > Gus...@li... > https://lists.sourceforge.net/lists/listinfo/gusdev-gusdev > > > Brian P. Brunk, Ph.D. > EuPathDB Manager > 1403 Blockley Hall > Penn Center For Bioinformatics > University of Pennsylvania > Philadelphia PA 19104-6021 > Tel: 215-573-3118 > Fax: 215-573-3111 > > > > |
From: chawla <ch...@bi...> - 2011-06-27 08:55:40
|
HI Thanks to all, I have been able to install GUS successfully Though strangely it required oracle.jdbc.OracleDriver but it worked after installing it. To proceed now I want to learn how to load data in GUS databases Is there any guide one how to use the perl plugins / create mapping files..? For now I want to load data from TRED database- is there some direct plugin for that? Thanks Konika |
From: Brian B. <br...@pc...> - 2011-06-24 22:33:55
|
Adhemar, my memory is that the default max is 10000 object in memory at once which is usually sufficient as there is seldom transactions that would exceed that. You can increase this default in the plugin by adding the following line .. actually can use any of the objects for this but the context has the algorighmInvocation object so this uses that. $ctx->{'self_inv'}->setMaximumNumberOfObjects(50000); This will increase the limit to 50,000 .. could make it larger if you need to do so. Now that machines have more memory we should probably consider increasing the default limit. It is there to keep developers from not removing from the cache in each loop since the objects can't be garbage collected until that is done. -Brian On Jun 24, 2011, at 2:35 PM, Adhemar wrote: > Hi, > The plugin ApiCommonData::Load::Plugin::InsertLowComplexityFeature also has the problem with the maximum number of objects in the memory. > How can I fix this? > > The full log is attached and here is the error message: > > ERROR MESSAGE: You have exceeded the maximum number of allowable objects in memory: > You must use the method 'undefPointerCache()' in each loop > to clear the cache and allow garbage collection!! > If you need > 10000 objects at one time, > then increase the default number with the method 'setMaximumNumberOfObjects(<number>)' at /storage/Data/db/SchistoDB/gusApps/gus_home/lib/perl/GUS/ObjRelP/DbiDatabase.pm line 483 > > Thanks, > -Adhemar > > > <step.err>------------------------------------------------------------------------------ > All the data continuously generated in your IT infrastructure contains a > definitive record of customers, application performance, security > threats, fraudulent activity and more. Splunk takes this data and makes > sense of it. Business sense. IT sense. Common sense.. > http://p.sf.net/sfu/splunk-d2d-c1_______________________________________________ > Gusdev-gusdev mailing list > Gus...@li... > https://lists.sourceforge.net/lists/listinfo/gusdev-gusdev Brian P. Brunk, Ph.D. EuPathDB Manager 1403 Blockley Hall Penn Center For Bioinformatics University of Pennsylvania Philadelphia PA 19104-6021 Tel: 215-573-3118 Fax: 215-573-3111 |
From: Deborah P. <pi...@pc...> - 2011-06-07 15:27:47
|
The plugin has to have the undoTables subroutine to allow Undo.pm to work. Unfortunately I was almost done adding the subroutine when we lost connectivity. I will do that now and commit to svn. Debbie On 6/7/2011 11:12 AM, Adhemar wrote: > I've ran it using commit OFF so that nothing is actually inserted into > the database. > We chose this plugin because it loads not only the EST sequence but > also the libraries, contacts, and references. > If it eventually breaks we can use GUS::Community::Plugin::Undo. > But it would be nice to have the undo subroutine. > Thanks, > -Adhemar > > > 2011/6/7 Deborah Pinney <pi...@pc... > <mailto:pi...@pc...>> > > Did your previous run actually load any rows? You can check by > querying the dots.est table with row_alg_invocation_id = 122. If > there are any rows, they will have to be deleted, otherwise you > will have duplicate rows. Since use of this plugin has been > discontinued in the EuPath group, we have not yet added an undo > subroutine. I will add that now and resubmit to svn. > > Debbie > > > On 6/7/2011 10:12 AM, Deborah Pinney wrote: >> The plugin did not have an undefPointerCache(). I have added it. >> Please update from svn and set that step to ready. >> >> Debbie >> >> On 6/7/2011 9:57 AM, Rodrigo Jardim wrote: >>> I had this problem in InsertBlastSimilarities.pm and I put >>> $self->undefPointerCache(); in a loop in insertSubjects subroutine. >>> >>> Bye >>> >>> >>> >>> 2011/6/7 Deborah Pinney <pi...@pc... >>> <mailto:pi...@pc...>> >>> >>> This plugin is not used frequently. We use a different >>> plugin when loading from the dbEST mirror. In the past, we >>> used this plugin with the crypto EST file that the GA group >>> made but have not used it recently. >>> >>> I have seen this error but I do not recall seeing with this >>> plugin. >>> >>> I will take a look at the plugin to make sure it has an >>> undefPointerCache and increase the number if it does. >>> >>> Debbie >>> >>> >>> >>> On 6/6/2011 11:44 AM, Adhemar wrote: >>>> Hi, >>>> I'm trying to load ESTs using InsertDbESTFiles.pm but it >>>> fails after a while informing that it's not allowed to >>>> handle more than 10000 objects at one time. >>>> There's a copy of the whole output bellow. >>>> How to fix this? >>>> Thanks, >>>> Adhemar >>>> >>>> >>>> >>>> ga ApiCommonData::Load::Plugin::InsertDbESTFiles >>>> --inputFile >>>> /storage/Data/db/SchistoDB/data/manualDelivery/SchistoDB/SjapAnhui/EST/NCBI/2011-06-03/sequence.fixed.est >>>> --extDbName SjapAnhui_EstLibrary_RSRC --extDbRlsVer 2011-06-03 >>>> Mon Jun 6 12:32:15 2011 DSN >>>> dbi:Oracle:host=bagre.cebio.org >>>> <http://bagre.cebio.org>;sid=schistodb30 >>>> Mon Jun 6 12:32:15 2011 PLUGIN >>>> ApiCommonData::Load::Plugin::InsertDbESTFiles >>>> Mon Jun 6 12:32:15 2011 ARG algoinvo 1 >>>> Mon Jun 6 12:32:15 2011 ARG comment >>>> Mon Jun 6 12:32:15 2011 ARG commit 0 >>>> Mon Jun 6 12:32:15 2011 ARG debug 0 >>>> Mon Jun 6 12:32:15 2011 ARG extDbName >>>> SjapAnhui_EstLibrary_RSRC >>>> Mon Jun 6 12:32:15 2011 ARG extDbRlsVer 2011-06-03 >>>> Mon Jun 6 12:32:15 2011 ARG group >>>> Mon Jun 6 12:32:15 2011 ARG gusconfigfile >>>> /storage/Data/db/SchistoDB/gusApps/gus_home/config/gus.config >>>> Mon Jun 6 12:32:15 2011 ARG help >>>> Mon Jun 6 12:32:15 2011 ARG helpHTML >>>> Mon Jun 6 12:32:15 2011 ARG inputFile >>>> /storage/Data/db/SchistoDB/data/manualDelivery/SchistoDB/SjapAnhui/EST/NCBI/2011-06-03/sequence.fixed.est >>>> Mon Jun 6 12:32:15 2011 ARG project >>>> Mon Jun 6 12:32:15 2011 ARG restartFile >>>> Mon Jun 6 12:32:15 2011 ARG sqlVerbose 0 >>>> Mon Jun 6 12:32:15 2011 ARG user >>>> Mon Jun 6 12:32:15 2011 ARG verbose 0 >>>> Mon Jun 6 12:32:15 2011 ARG veryVerbose 0 >>>> Mon Jun 6 12:32:15 2011 ARG workflowstepid 0 >>>> Mon Jun 6 12:32:15 2011 AlgInvocationId 122 >>>> Mon Jun 6 12:32:15 2011 COMMIT commit off >>>> >>>> >>>> ERROR MESSAGE: You have exceeded the maximum number of >>>> allowable objects in memory: >>>> You must use the method 'undefPointerCache()' in each loop >>>> to clear the cache and allow garbage collection!! >>>> If you need > 10000 objects at one time, >>>> then increase the default number with the method >>>> 'setMaximumNumberOfObjects(<number>)' at >>>> /storage/Data/db/SchistoDB/gusApps/gus_home/lib/perl/GUS/ObjRelP/DbiDatabase.pm >>>> line 483 >>>> >>>> GUS::ObjRelP::DbiDatabase::addToPointerCache('GUS::ObjRelP::DbiDatabase=HASH(0x1c2c5338)', >>>> 'GUS::Model::DoTS::NASequenceRef=HASH(0x20a0a978)') called >>>> at >>>> /storage/Data/db/SchistoDB/gusApps/gus_home/lib/perl/GUS/Model/GusRow.pm >>>> line 28 >>>> >>>> GUS::Model::GusRow::new('GUS::Model::DoTS::NASequenceRef', >>>> 'HASH(0x20a0aa20)') called at >>>> /storage/Data/db/SchistoDB/gusApps/gus_home/lib/perl/ApiCommonData/Load/Plugin/InsertDbESTFiles.pm >>>> line 336 >>>> >>>> ApiCommonData::Load::Plugin::InsertDbESTFiles::getOrCreateReference('ApiCommonData::Load::Plugin::InsertDbESTFiles=HASH(0x1c2cacd8)', >>>> 'HASH(0x1d566110)') called at >>>> /storage/Data/db/SchistoDB/gusApps/gus_home/lib/perl/ApiCommonData/Load/Plugin/InsertDbESTFiles.pm >>>> line 212 >>>> >>>> ApiCommonData::Load::Plugin::InsertDbESTFiles::processEST('ApiCommonData::Load::Plugin::InsertDbESTFiles=HASH(0x1c2cacd8)', >>>> 'HASH(0x1d566110)', 345, 62) called at >>>> /storage/Data/db/SchistoDB/gusApps/gus_home/lib/perl/ApiCommonData/Load/Plugin/InsertDbESTFiles.pm >>>> line 159 >>>> >>>> ApiCommonData::Load::Plugin::InsertDbESTFiles::run('ApiCommonData::Load::Plugin::InsertDbESTFiles=HASH(0x1c2cacd8)', >>>> 'HASH(0x1d57af38)') called at >>>> /storage/Data/db/SchistoDB/gusApps/gus_home/lib/perl/GUS/PluginMgr/GusApplication.pm >>>> line 602 >>>> GUS::PluginMgr::GusApplication::__ANON__() called at >>>> /usr/local/lib/perl5/site_perl/5.12.3/Error.pm line 415 >>>> eval {...} called at >>>> /usr/local/lib/perl5/site_perl/5.12.3/Error.pm line 407 >>>> Error::subs::try('CODE(0x1d39cdf8)', >>>> 'HASH(0x1d57b5c8)') called at >>>> /storage/Data/db/SchistoDB/gusApps/gus_home/lib/perl/GUS/PluginMgr/GusApplication.pm >>>> line 632 >>>> >>>> GUS::PluginMgr::GusApplication::doMajorMode_RunOrReport('GUS::PluginMgr::GusApplication=HASH(0x1b7c1d80)', >>>> 'ApiCommonData::Load::Plugin::InsertDbESTFiles', 1) called >>>> at >>>> /storage/Data/db/SchistoDB/gusApps/gus_home/lib/perl/GUS/PluginMgr/GusApplication.pm >>>> line 502 >>>> >>>> GUS::PluginMgr::GusApplication::doMajorMode_Run('GUS::PluginMgr::GusApplication=HASH(0x1b7c1d80)', >>>> 'ApiCommonData::Load::Plugin::InsertDbESTFiles') called at >>>> /storage/Data/db/SchistoDB/gusApps/gus_home/lib/perl/GUS/PluginMgr/GusApplication.pm >>>> line 388 >>>> >>>> GUS::PluginMgr::GusApplication::doMajorMode('GUS::PluginMgr::GusApplication=HASH(0x1b7c1d80)', >>>> 'ApiCommonData::Load::Plugin::InsertDbESTFiles') called at >>>> /storage/Data/db/SchistoDB/gusApps/gus_home/lib/perl/GUS/PluginMgr/GusApplication.pm >>>> line 297 >>>> >>>> GUS::PluginMgr::GusApplication::parseAndRun('GUS::PluginMgr::GusApplication=HASH(0x1b7c1d80)', >>>> 'ARRAY(0x1b7e0b48)') called >>>> **** /projects/gusApps/gus_home/bin/ga on line 11 >>>> >>>> STACK TRACE: >>>> You have exceeded the maximum number of allowable objects >>>> in memory: >>>> You must use the method 'undefPointerCache()' in each loop >>>> to clear the cache and allow garbage collection!! >>>> If you need > 10000 objects at one time, >>>> then increase the default number with the method >>>> 'setMaximumNumberOfObjects(<number>)' at >>>> /storage/Data/db/SchistoDB/gusApps/gus_home/lib/perl/GUS/ObjRelP/DbiDatabase.pm >>>> line 483 >>>> >>>> GUS::ObjRelP::DbiDatabase::addToPointerCache('GUS::ObjRelP::DbiDatabase=HASH(0x1c2c5338)', >>>> 'GUS::Model::DoTS::NASequenceRef=HASH(0x20a0a978)') called >>>> at >>>> /storage/Data/db/SchistoDB/gusApps/gus_home/lib/perl/GUS/Model/GusRow.pm >>>> line 28 >>>> >>>> GUS::Model::GusRow::new('GUS::Model::DoTS::NASequenceRef', >>>> 'HASH(0x20a0aa20)') called at >>>> /storage/Data/db/SchistoDB/gusApps/gus_home/lib/perl/ApiCommonData/Load/Plugin/InsertDbESTFiles.pm >>>> line 336 >>>> >>>> ApiCommonData::Load::Plugin::InsertDbESTFiles::getOrCreateReference('ApiCommonData::Load::Plugin::InsertDbESTFiles=HASH(0x1c2cacd8)', >>>> 'HASH(0x1d566110)') called at >>>> /storage/Data/db/SchistoDB/gusApps/gus_home/lib/perl/ApiCommonData/Load/Plugin/InsertDbESTFiles.pm >>>> line 212 >>>> >>>> ApiCommonData::Load::Plugin::InsertDbESTFiles::processEST('ApiCommonData::Load::Plugin::InsertDbESTFiles=HASH(0x1c2cacd8)', >>>> 'HASH(0x1d566110)', 345, 62) called at >>>> /storage/Data/db/SchistoDB/gusApps/gus_home/lib/perl/ApiCommonData/Load/Plugin/InsertDbESTFiles.pm >>>> line 159 >>>> >>>> ApiCommonData::Load::Plugin::InsertDbESTFiles::run('ApiCommonData::Load::Plugin::InsertDbESTFiles=HASH(0x1c2cacd8)', >>>> 'HASH(0x1d57af38)') called at >>>> /storage/Data/db/SchistoDB/gusApps/gus_home/lib/perl/GUS/PluginMgr/GusApplication.pm >>>> line 602 >>>> >>>> GUS::PluginMgr::GusApplication::doMajorMode_RunOrReport('GUS::PluginMgr::GusApplication=HASH(0x1b7c1d80)', >>>> 'ApiCommonData::Load::Plugin::InsertDbESTFiles', 1) called >>>> at >>>> /storage/Data/db/SchistoDB/gusApps/gus_home/lib/perl/GUS/PluginMgr/GusApplication.pm >>>> line 502 >>>> >>>> GUS::PluginMgr::GusApplication::doMajorMode_Run('GUS::PluginMgr::GusApplication=HASH(0x1b7c1d80)', >>>> 'ApiCommonData::Load::Plugin::InsertDbESTFiles') called at >>>> /storage/Data/db/SchistoDB/gusApps/gus_home/lib/perl/GUS/PluginMgr/GusApplication.pm >>>> line 388 >>>> >>>> GUS::PluginMgr::GusApplication::doMajorMode('GUS::PluginMgr::GusApplication=HASH(0x1b7c1d80)', >>>> 'ApiCommonData::Load::Plugin::InsertDbESTFiles') called at >>>> /storage/Data/db/SchistoDB/gusApps/gus_home/lib/perl/GUS/PluginMgr/GusApplication.pm >>>> line 297 >>>> >>>> GUS::PluginMgr::GusApplication::parseAndRun('GUS::PluginMgr::GusApplication=HASH(0x1b7c1d80)', >>>> 'ARRAY(0x1b7e0b48)') called at >>>> /usr/local/lib/perl5/site_perl/5.12.3/Error.pm line 306 >>>> Error::subs::run_clauses('HASH(0x1d57b5c8)', 'You have >>>> exceeded the maximum number of allowable objects in ...', >>>> undef, 'ARRAY(0x1c08c988)') called at >>>> /usr/local/lib/perl5/site_perl/5.12.3/Error.pm line 426 >>>> Error::subs::try('CODE(0x1d39cdf8)', >>>> 'HASH(0x1d57b5c8)') called at >>>> /storage/Data/db/SchistoDB/gusApps/gus_home/lib/perl/GUS/PluginMgr/GusApplication.pm >>>> line 632 >>>> >>>> GUS::PluginMgr::GusApplication::doMajorMode_RunOrReport('GUS::PluginMgr::GusApplication=HASH(0x1b7c1d80)', >>>> 'ApiCommonData::Load::Plugin::InsertDbESTFiles', 1) called >>>> at >>>> /storage/Data/db/SchistoDB/gusApps/gus_home/lib/perl/GUS/PluginMgr/GusApplication.pm >>>> line 502 >>>> >>>> GUS::PluginMgr::GusApplication::doMajorMode_Run('GUS::PluginMgr::GusApplication=HASH(0x1b7c1d80)', >>>> 'ApiCommonData::Load::Plugin::InsertDbESTFiles') called at >>>> /storage/Data/db/SchistoDB/gusApps/gus_home/lib/perl/GUS/PluginMgr/GusApplication.pm >>>> line 388 >>>> >>>> GUS::PluginMgr::GusApplication::doMajorMode('GUS::PluginMgr::GusApplication=HASH(0x1b7c1d80)', >>>> 'ApiCommonData::Load::Plugin::InsertDbESTFiles') called at >>>> /storage/Data/db/SchistoDB/gusApps/gus_home/lib/perl/GUS/PluginMgr/GusApplication.pm >>>> line 297 >>>> >>>> GUS::PluginMgr::GusApplication::parseAndRun('GUS::PluginMgr::GusApplication=HASH(0x1b7c1d80)', >>>> 'ARRAY(0x1b7e0b48)') called at >>>> /projects/gusApps/gus_home/bin/ga line 11 >>>> >>>> >>>> DBD::Oracle::st execute failed: ORA-12899: value too large >>>> for column "CORE"."ALGORITHMINVOCATION"."RESULT" (actual: >>>> 2869, maximum: 350) (DBD ERROR: error possibly near <*> >>>> indicator at char 143 in ' >>>> UPDATE Core.AlgorithmInvocation >>>> SET >>>> modification_date = SYSDATE, >>>> end_time = SYSDATE, >>>> row_alg_invocation_id = :p1, >>>> result = :<*>p2 >>>> WHERE algorithm_invocation_id = :p3') [for Statement " >>>> UPDATE Core.AlgorithmInvocation >>>> SET >>>> modification_date = SYSDATE, >>>> end_time = SYSDATE, >>>> row_alg_invocation_id = ?, >>>> result = ? >>>> WHERE algorithm_invocation_id = ?" with ParamValues: >>>> :p1='122', :p2='You have exceeded the maximum number of >>>> allowable objects in memory: >>>> You must use the method 'undefPointerCache()' in each loop >>>> to clear the cache and allow garbage collection!! >>>> If you need > 10000 objects at one time, >>>> then increase the default number with the method >>>> 'setMaximumNumberOfObjects(<number>)' at >>>> /storage/Data/db/SchistoDB/gusApps/gus_home/lib/perl/GUS/ObjRelP/DbiDatabase.pm >>>> line 483 >>>> >>>> GUS::ObjRelP::DbiDatabase::addToPointerCache('GUS::ObjRelP::DbiDatabase=HASH(0x1c2c5338)', >>>> 'GUS::Model::DoTS::NASequenceRef=HASH(0x20a0a978)') called >>>> at >>>> /storage/Data/db/SchistoDB/gusApps/gus_home/lib/perl/GUS/Model/GusRow.pm >>>> line 28 >>>> >>>> GUS::Model::GusRow::new('GUS::Model::DoTS::NASequenceRef', >>>> 'HASH(0x20a0aa20)') called at >>>> /storage/Data/db/SchistoDB/gusApps/gus_home/lib/perl/ApiCommonData/Load/Plugin/InsertDbESTFiles.pm >>>> line 336 >>>> >>>> ApiCommonData::Load::Plugin::InsertDbESTFiles::getOrCreateReference('ApiCommonData::Load::Plugin::InsertDbESTFiles=HASH(0x1c2cacd8)', >>>> 'HASH(0x1d566110)...', :p3='122'] at >>>> /storage/Data/db/SchistoDB/gusApps/gus_home/lib/perl/GUS/ObjRelP/DbiDbHandle.pm >>>> line 147, <ESTs> line 149834. >>>> >>>> >>>> SQL ERROR!! involving >>>> >>>> UPDATE Core.AlgorithmInvocation >>>> SET >>>> modification_date = SYSDATE, >>>> end_time = SYSDATE, >>>> row_alg_invocation_id = ?, >>>> result = ? >>>> WHERE algorithm_invocation_id = ? >>>> Values: 122, You have exceeded the maximum number of >>>> allowable objects in memory: >>>> You must use the method 'undefPointerCache()' in each loop >>>> to clear the cache and allow garbage collection!! >>>> If you need > 10000 objects at one time, >>>> then increase the default number with the method >>>> 'setMaximumNumberOfObjects(<number>)' at >>>> /storage/Data/db/SchistoDB/gusApps/gus_home/lib/perl/GUS/ObjRelP/DbiDatabase.pm >>>> line 483 >>>> >>>> GUS::ObjRelP::DbiDatabase::addToPointerCache('GUS::ObjRelP::DbiDatabase=HASH(0x1c2c5338)', >>>> 'GUS::Model::DoTS::NASequenceRef=HASH(0x20a0a978)') called >>>> at >>>> /storage/Data/db/SchistoDB/gusApps/gus_home/lib/perl/GUS/Model/GusRow.pm >>>> line 28 >>>> >>>> GUS::Model::GusRow::new('GUS::Model::DoTS::NASequenceRef', >>>> 'HASH(0x20a0aa20)') called at >>>> /storage/Data/db/SchistoDB/gusApps/gus_home/lib/perl/ApiCommonData/Load/Plugin/InsertDbESTFiles.pm >>>> line 336 >>>> >>>> ApiCommonData::Load::Plugin::InsertDbESTFiles::getOrCreateReference('ApiCommonData::Load::Plugin::InsertDbESTFiles=HASH(0x1c2cacd8)', >>>> 'HASH(0x1d566110)') called at >>>> /storage/Data/db/SchistoDB/gusApps/gus_home/lib/perl/ApiCommonData/Load/Plugin/InsertDbESTFiles.pm >>>> line 212 >>>> >>>> ApiCommonData::Load::Plugin::InsertDbESTFiles::processEST('ApiCommonData::Load::Plugin::InsertDbESTFiles=HASH(0x1c2cacd8)', >>>> 'HASH(0x1d566110)', 345, 62) called at >>>> /storage/Data/db/SchistoDB/gusApps/gus_home/lib/perl/ApiCommonData/Load/Plugin/InsertDbESTFiles.pm >>>> line 159 >>>> >>>> ApiCommonData::Load::Plugin::InsertDbESTFiles::run('ApiCommonData::Load::Plugin::InsertDbESTFiles=HASH(0x1c2cacd8)', >>>> 'HASH(0x1d57af38)') called at >>>> /storage/Data/db/SchistoDB/gusApps/gus_home/lib/perl/GUS/PluginMgr/GusApplication.pm >>>> line 602 >>>> GUS::PluginMgr::GusApplication::__ANON__() called at >>>> /usr/local/lib/perl5/site_perl/5.12.3/Error.pm line 415 >>>> eval {...} called at >>>> /usr/local/lib/perl5/site_perl/5.12.3/Error.pm line 407 >>>> Error::subs::try('CODE(0x1d39cdf8)', >>>> 'HASH(0x1d57b5c8)') called at >>>> /storage/Data/db/SchistoDB/gusApps/gus_home/lib/perl/GUS/PluginMgr/GusApplication.pm >>>> line 632 >>>> >>>> GUS::PluginMgr::GusApplication::doMajorMode_RunOrReport('GUS::PluginMgr::GusApplication=HASH(0x1b7c1d80)', >>>> 'ApiCommonData::Load::Plugin::InsertDbESTFiles', 1) called >>>> at >>>> /storage/Data/db/SchistoDB/gusApps/gus_home/lib/perl/GUS/PluginMgr/GusApplication.pm >>>> line 502 >>>> >>>> GUS::PluginMgr::GusApplication::doMajorMode_Run('GUS::PluginMgr::GusApplication=HASH(0x1b7c1d80)', >>>> 'ApiCommonData::Load::Plugin::InsertDbESTFiles') called at >>>> /storage/Data/db/SchistoDB/gusApps/gus_home/lib/perl/GUS/PluginMgr/GusApplication.pm >>>> line 388 >>>> >>>> GUS::PluginMgr::GusApplication::doMajorMode('GUS::PluginMgr::GusApplication=HASH(0x1b7c1d80)', >>>> 'ApiCommonData::Load::Plugin::InsertDbESTFiles') called at >>>> /storage/Data/db/SchistoDB/gusApps/gus_home/lib/perl/GUS/PluginMgr/GusApplication.pm >>>> line 297 >>>> >>>> GUS::PluginMgr::GusApplication::parseAndRun('GUS::PluginMgr::GusApplication=HASH(0x1b7c1d80)', >>>> 'ARRAY(0x1b7e0b48)') called, 122 at >>>> /storage/Data/db/SchistoDB/gusApps/gus_home/lib/perl/GUS/ObjRelP/DbiDbHandle.pm >>>> line 166 >>>> >>>> GUS::ObjRelP::DbiDbHandle::death('GUS::ObjRelP::DbiDbHandle=HASH(0x1cf994e0)', >>>> '\x{a} SQL ERROR!! involving\x{a} \x{a} UPDATE >>>> Core.AlgorithmInvocatio...') called at >>>> /storage/Data/db/SchistoDB/gusApps/gus_home/lib/perl/GUS/ObjRelP/DbiDbHandle.pm >>>> line 150 >>>> >>>> GUS::ObjRelP::DbiDbHandle::sqlExec('GUS::ObjRelP::DbiDbHandle=HASH(0x1cf994e0)', >>>> 'GUS::ObjRelP::DbiDbHandle::st=HASH(0x1d9e8db8)', >>>> 'ARRAY(0x209b7700)', '\x{a} UPDATE >>>> Core.AlgorithmInvocation\x{a} SET >>>> \x{a}\x{9}modificat...') called at >>>> /storage/Data/db/SchistoDB/gusApps/gus_home/lib/perl/GUS/ObjRelP/DbiRow.pm >>>> line 731 >>>> >>>> GUS::ObjRelP::DbiRow::quote_and_update('GUS::Model::Core::AlgorithmInvocation=HASH(0x1c5d7e28)', >>>> 'HASH(0x1bc91080)', 'HASH(0x20a0a588)') called at >>>> /storage/Data/db/SchistoDB/gusApps/gus_home/lib/perl/GUS/ObjRelP/DbiRow.pm >>>> line 612 >>>> >>>> GUS::ObjRelP::DbiRow::update('GUS::Model::Core::AlgorithmInvocation=HASH(0x1c5d7e28)') >>>> called at >>>> /storage/Data/db/SchistoDB/gusApps/gus_home/lib/perl/GUS/Model/GusRow.pm >>>> line 1681 >>>> >>>> GUS::Model::GusRow::submit('GUS::Model::Core::AlgorithmInvocation=HASH(0x1c5d7e28)', >>>> 1) called at >>>> /storage/Data/db/SchistoDB/gusApps/gus_home/lib/perl/GUS/PluginMgr/GusApplication.pm >>>> line 1250 >>>> >>>> GUS::PluginMgr::GusApplication::closeInvocation('GUS::PluginMgr::GusApplication=HASH(0x1b7c1d80)', >>>> 'ApiCommonData::Load::Plugin::InsertDbESTFiles=HASH(0x1c2cacd8)', >>>> 'You have exceeded the maximum number of allowable objects >>>> in ...') called at >>>> /storage/Data/db/SchistoDB/gusApps/gus_home/lib/perl/GUS/PluginMgr/GusApplication.pm >>>> line 623 >>>> GUS::PluginMgr::GusApplication::__ANON__() called at >>>> /usr/local/lib/perl5/site_perl/5.12.3/Error.pm line 429 >>>> Error::subs::try('CODE(0x1d39cdf8)', >>>> 'HASH(0x1d57b5c8)') called at >>>> /storage/Data/db/SchistoDB/gusApps/gus_home/lib/perl/GUS/PluginMgr/GusApplication.pm >>>> line 632 >>>> >>>> GUS::PluginMgr::GusApplication::doMajorMode_RunOrReport('GUS::PluginMgr::GusApplication=HASH(0x1b7c1d80)', >>>> 'ApiCommonData::Load::Plugin::InsertDbESTFiles', 1) called >>>> at >>>> /storage/Data/db/SchistoDB/gusApps/gus_home/lib/perl/GUS/PluginMgr/GusApplication.pm >>>> line 502 >>>> >>>> GUS::PluginMgr::GusApplication::doMajorMode_Run('GUS::PluginMgr::GusApplication=HASH(0x1b7c1d80)', >>>> 'ApiCommonData::Load::Plugin::InsertDbESTFiles') called at >>>> /storage/Data/db/SchistoDB/gusApps/gus_home/lib/perl/GUS/PluginMgr/GusApplication.pm >>>> line 388 >>>> >>>> GUS::PluginMgr::GusApplication::doMajorMode('GUS::PluginMgr::GusApplication=HASH(0x1b7c1d80)', >>>> 'ApiCommonData::Load::Plugin::InsertDbESTFiles') called at >>>> /storage/Data/db/SchistoDB/gusApps/gus_home/lib/perl/GUS/PluginMgr/GusApplication.pm >>>> line 297 >>>> >>>> GUS::PluginMgr::GusApplication::parseAndRun('GUS::PluginMgr::GusApplication=HASH(0x1b7c1d80)', >>>> 'ARRAY(0x1b7e0b48)') called at >>>> /projects/gusApps/gus_home/bin/ga line 11 >>>> >>>> >>>> ------------------------------------------------------------------------------ >>>> Simplify data backup and recovery for your virtual environment with vRanger. >>>> Installation's a snap, and flexible recovery options mean your data is safe, >>>> secure and there when you need it. Discover what all the cheering's about. >>>> Get your free trial download today. >>>> http://p.sf.net/sfu/quest-dev2dev2 >>>> >>>> _______________________________________________ >>>> Gusdev-gusdev mailing list >>>> Gus...@li... <mailto:Gus...@li...> >>>> https://lists.sourceforge.net/lists/listinfo/gusdev-gusdev >>> >>> -- >>> Deborah Farin Pinney, Ph.D. >>> Data Analyst >>> 1428 Blockley Hall >>> Computational Biology and Informatics Laboratory >>> University of Pennsylvania >>> Philadelphia PA 19104-6021 >>> Tel: 215-573-3116 >>> Fax: 215-573-3111 >>> >>> >>> ------------------------------------------------------------------------------ >>> EditLive Enterprise is the world's most technically advanced >>> content >>> authoring tool. Experience the power of Track Changes, >>> Inline Image >>> Editing and ensure content is compliant with Accessibility >>> Checking. >>> http://p.sf.net/sfu/ephox-dev2dev >>> _______________________________________________ >>> Gusdev-gusdev mailing list >>> Gus...@li... >>> <mailto:Gus...@li...> >>> https://lists.sourceforge.net/lists/listinfo/gusdev-gusdev >>> >>> >>> >>> >>> -- >>> Atc, >>> Rodrigo Jardim >>> jar...@gm... <mailto:jar...@gm...> >>> >>> >> >> -- >> Deborah Farin Pinney, Ph.D. >> Data Analyst >> 1428 Blockley Hall >> Computational Biology and Informatics Laboratory >> University of Pennsylvania >> Philadelphia PA 19104-6021 >> Tel: 215-573-3116 >> Fax: 215-573-3111 >> >> >> ------------------------------------------------------------------------------ >> EditLive Enterprise is the world's most technically advanced content >> authoring tool. Experience the power of Track Changes, Inline Image >> Editing and ensure content is compliant with Accessibility Checking. >> http://p.sf.net/sfu/ephox-dev2dev >> >> >> _______________________________________________ >> Gusdev-gusdev mailing list >> Gus...@li... <mailto:Gus...@li...> >> https://lists.sourceforge.net/lists/listinfo/gusdev-gusdev > > -- > Deborah Farin Pinney, Ph.D. > Data Analyst > 1428 Blockley Hall > Computational Biology and Informatics Laboratory > University of Pennsylvania > Philadelphia PA 19104-6021 > Tel: 215-573-3116 > Fax: 215-573-3111 > > > ------------------------------------------------------------------------------ > EditLive Enterprise is the world's most technically advanced content > authoring tool. Experience the power of Track Changes, Inline Image > Editing and ensure content is compliant with Accessibility Checking. > http://p.sf.net/sfu/ephox-dev2dev > _______________________________________________ > Gusdev-gusdev mailing list > Gus...@li... > <mailto:Gus...@li...> > https://lists.sourceforge.net/lists/listinfo/gusdev-gusdev > > -- Deborah Farin Pinney, Ph.D. Data Analyst 1428 Blockley Hall Computational Biology and Informatics Laboratory University of Pennsylvania Philadelphia PA 19104-6021 Tel: 215-573-3116 Fax: 215-573-3111 |
From: Brian B. <br...@pc...> - 2011-06-07 15:24:17
|
Rodrigo, you have to be very careful about where you put this method as it makes all object relationships unreachable so unless you have them in a data structure, they are effectively gone and can thus be garbage collected. Should be added to an outer loop typically after a submit call for a logical set of data. Without looking at the code, it sounds dangerous to me to have it in the insertSubjects subroutine .. I would expect it to be at a higher level and call it once for each query sequence. -Brian On Jun 7, 2011, at 9:57 AM, Rodrigo Jardim wrote: > I had this problem in InsertBlastSimilarities.pm and I put $self->undefPointerCache(); in a loop in insertSubjects subroutine. > > Bye > > > > 2011/6/7 Deborah Pinney <pi...@pc...> > This plugin is not used frequently. We use a different plugin when loading from the dbEST mirror. In the past, we used this plugin with the crypto EST file that the GA group made but have not used it recently. > > I have seen this error but I do not recall seeing with this plugin. > > I will take a look at the plugin to make sure it has an undefPointerCache and increase the number if it does. > > Debbie > > > > On 6/6/2011 11:44 AM, Adhemar wrote: >> Hi, >> I'm trying to load ESTs using InsertDbESTFiles.pm but it fails after a while informing that it's not allowed to handle more than 10000 objects at one time. >> There's a copy of the whole output bellow. >> How to fix this? >> Thanks, >> Adhemar >> >> >> >> ga ApiCommonData::Load::Plugin::InsertDbESTFiles --inputFile /storage/Data/db/SchistoDB/data/manualDelivery/SchistoDB/SjapAnhui/EST/NCBI/2011-06-03/sequence.fixed.est --extDbName SjapAnhui_EstLibrary_RSRC --extDbRlsVer 2011-06-03 >> Mon Jun 6 12:32:15 2011 DSN dbi:Oracle:host=bagre.cebio.org;sid=schistodb30 >> Mon Jun 6 12:32:15 2011 PLUGIN ApiCommonData::Load::Plugin::InsertDbESTFiles >> Mon Jun 6 12:32:15 2011 ARG algoinvo 1 >> Mon Jun 6 12:32:15 2011 ARG comment >> Mon Jun 6 12:32:15 2011 ARG commit 0 >> Mon Jun 6 12:32:15 2011 ARG debug 0 >> Mon Jun 6 12:32:15 2011 ARG extDbName SjapAnhui_EstLibrary_RSRC >> Mon Jun 6 12:32:15 2011 ARG extDbRlsVer 2011-06-03 >> Mon Jun 6 12:32:15 2011 ARG group >> Mon Jun 6 12:32:15 2011 ARG gusconfigfile /storage/Data/db/SchistoDB/gusApps/gus_home/config/gus.config >> Mon Jun 6 12:32:15 2011 ARG help >> Mon Jun 6 12:32:15 2011 ARG helpHTML >> Mon Jun 6 12:32:15 2011 ARG inputFile /storage/Data/db/SchistoDB/data/manualDelivery/SchistoDB/SjapAnhui/EST/NCBI/2011-06-03/sequence.fixed.est >> Mon Jun 6 12:32:15 2011 ARG project >> Mon Jun 6 12:32:15 2011 ARG restartFile >> Mon Jun 6 12:32:15 2011 ARG sqlVerbose 0 >> Mon Jun 6 12:32:15 2011 ARG user >> Mon Jun 6 12:32:15 2011 ARG verbose 0 >> Mon Jun 6 12:32:15 2011 ARG veryVerbose 0 >> Mon Jun 6 12:32:15 2011 ARG workflowstepid 0 >> Mon Jun 6 12:32:15 2011 AlgInvocationId 122 >> Mon Jun 6 12:32:15 2011 COMMIT commit off >> >> >> ERROR MESSAGE: You have exceeded the maximum number of allowable objects in memory: >> You must use the method 'undefPointerCache()' in each loop >> to clear the cache and allow garbage collection!! >> If you need > 10000 objects at one time, >> then increase the default number with the method 'setMaximumNumberOfObjects(<number>)' at /storage/Data/db/SchistoDB/gusApps/gus_home/lib/perl/GUS/ObjRelP/DbiDatabase.pm line 483 >> GUS::ObjRelP::DbiDatabase::addToPointerCache('GUS::ObjRelP::DbiDatabase=HASH(0x1c2c5338)', 'GUS::Model::DoTS::NASequenceRef=HASH(0x20a0a978)') called at /storage/Data/db/SchistoDB/gusApps/gus_home/lib/perl/GUS/Model/GusRow.pm line 28 >> GUS::Model::GusRow::new('GUS::Model::DoTS::NASequenceRef', 'HASH(0x20a0aa20)') called at /storage/Data/db/SchistoDB/gusApps/gus_home/lib/perl/ApiCommonData/Load/Plugin/InsertDbESTFiles.pm line 336 >> ApiCommonData::Load::Plugin::InsertDbESTFiles::getOrCreateReference('ApiCommonData::Load::Plugin::InsertDbESTFiles=HASH(0x1c2cacd8)', 'HASH(0x1d566110)') called at /storage/Data/db/SchistoDB/gusApps/gus_home/lib/perl/ApiCommonData/Load/Plugin/InsertDbESTFiles.pm line 212 >> ApiCommonData::Load::Plugin::InsertDbESTFiles::processEST('ApiCommonData::Load::Plugin::InsertDbESTFiles=HASH(0x1c2cacd8)', 'HASH(0x1d566110)', 345, 62) called at /storage/Data/db/SchistoDB/gusApps/gus_home/lib/perl/ApiCommonData/Load/Plugin/InsertDbESTFiles.pm line 159 >> ApiCommonData::Load::Plugin::InsertDbESTFiles::run('ApiCommonData::Load::Plugin::InsertDbESTFiles=HASH(0x1c2cacd8)', 'HASH(0x1d57af38)') called at /storage/Data/db/SchistoDB/gusApps/gus_home/lib/perl/GUS/PluginMgr/GusApplication.pm line 602 >> GUS::PluginMgr::GusApplication::__ANON__() called at /usr/local/lib/perl5/site_perl/5.12.3/Error.pm line 415 >> eval {...} called at /usr/local/lib/perl5/site_perl/5.12.3/Error.pm line 407 >> Error::subs::try('CODE(0x1d39cdf8)', 'HASH(0x1d57b5c8)') called at /storage/Data/db/SchistoDB/gusApps/gus_home/lib/perl/GUS/PluginMgr/GusApplication.pm line 632 >> GUS::PluginMgr::GusApplication::doMajorMode_RunOrReport('GUS::PluginMgr::GusApplication=HASH(0x1b7c1d80)', 'ApiCommonData::Load::Plugin::InsertDbESTFiles', 1) called at /storage/Data/db/SchistoDB/gusApps/gus_home/lib/perl/GUS/PluginMgr/GusApplication.pm line 502 >> GUS::PluginMgr::GusApplication::doMajorMode_Run('GUS::PluginMgr::GusApplication=HASH(0x1b7c1d80)', 'ApiCommonData::Load::Plugin::InsertDbESTFiles') called at /storage/Data/db/SchistoDB/gusApps/gus_home/lib/perl/GUS/PluginMgr/GusApplication.pm line 388 >> GUS::PluginMgr::GusApplication::doMajorMode('GUS::PluginMgr::GusApplication=HASH(0x1b7c1d80)', 'ApiCommonData::Load::Plugin::InsertDbESTFiles') called at /storage/Data/db/SchistoDB/gusApps/gus_home/lib/perl/GUS/PluginMgr/GusApplication.pm line 297 >> GUS::PluginMgr::GusApplication::parseAndRun('GUS::PluginMgr::GusApplication=HASH(0x1b7c1d80)', 'ARRAY(0x1b7e0b48)') called >> **** /projects/gusApps/gus_home/bin/ga on line 11 >> >> STACK TRACE: >> You have exceeded the maximum number of allowable objects in memory: >> You must use the method 'undefPointerCache()' in each loop >> to clear the cache and allow garbage collection!! >> If you need > 10000 objects at one time, >> then increase the default number with the method 'setMaximumNumberOfObjects(<number>)' at /storage/Data/db/SchistoDB/gusApps/gus_home/lib/perl/GUS/ObjRelP/DbiDatabase.pm line 483 >> GUS::ObjRelP::DbiDatabase::addToPointerCache('GUS::ObjRelP::DbiDatabase=HASH(0x1c2c5338)', 'GUS::Model::DoTS::NASequenceRef=HASH(0x20a0a978)') called at /storage/Data/db/SchistoDB/gusApps/gus_home/lib/perl/GUS/Model/GusRow.pm line 28 >> GUS::Model::GusRow::new('GUS::Model::DoTS::NASequenceRef', 'HASH(0x20a0aa20)') called at /storage/Data/db/SchistoDB/gusApps/gus_home/lib/perl/ApiCommonData/Load/Plugin/InsertDbESTFiles.pm line 336 >> ApiCommonData::Load::Plugin::InsertDbESTFiles::getOrCreateReference('ApiCommonData::Load::Plugin::InsertDbESTFiles=HASH(0x1c2cacd8)', 'HASH(0x1d566110)') called at /storage/Data/db/SchistoDB/gusApps/gus_home/lib/perl/ApiCommonData/Load/Plugin/InsertDbESTFiles.pm line 212 >> ApiCommonData::Load::Plugin::InsertDbESTFiles::processEST('ApiCommonData::Load::Plugin::InsertDbESTFiles=HASH(0x1c2cacd8)', 'HASH(0x1d566110)', 345, 62) called at /storage/Data/db/SchistoDB/gusApps/gus_home/lib/perl/ApiCommonData/Load/Plugin/InsertDbESTFiles.pm line 159 >> ApiCommonData::Load::Plugin::InsertDbESTFiles::run('ApiCommonData::Load::Plugin::InsertDbESTFiles=HASH(0x1c2cacd8)', 'HASH(0x1d57af38)') called at /storage/Data/db/SchistoDB/gusApps/gus_home/lib/perl/GUS/PluginMgr/GusApplication.pm line 602 >> GUS::PluginMgr::GusApplication::doMajorMode_RunOrReport('GUS::PluginMgr::GusApplication=HASH(0x1b7c1d80)', 'ApiCommonData::Load::Plugin::InsertDbESTFiles', 1) called at /storage/Data/db/SchistoDB/gusApps/gus_home/lib/perl/GUS/PluginMgr/GusApplication.pm line 502 >> GUS::PluginMgr::GusApplication::doMajorMode_Run('GUS::PluginMgr::GusApplication=HASH(0x1b7c1d80)', 'ApiCommonData::Load::Plugin::InsertDbESTFiles') called at /storage/Data/db/SchistoDB/gusApps/gus_home/lib/perl/GUS/PluginMgr/GusApplication.pm line 388 >> GUS::PluginMgr::GusApplication::doMajorMode('GUS::PluginMgr::GusApplication=HASH(0x1b7c1d80)', 'ApiCommonData::Load::Plugin::InsertDbESTFiles') called at /storage/Data/db/SchistoDB/gusApps/gus_home/lib/perl/GUS/PluginMgr/GusApplication.pm line 297 >> GUS::PluginMgr::GusApplication::parseAndRun('GUS::PluginMgr::GusApplication=HASH(0x1b7c1d80)', 'ARRAY(0x1b7e0b48)') called at /usr/local/lib/perl5/site_perl/5.12.3/Error.pm line 306 >> Error::subs::run_clauses('HASH(0x1d57b5c8)', 'You have exceeded the maximum number of allowable objects in ...', undef, 'ARRAY(0x1c08c988)') called at /usr/local/lib/perl5/site_perl/5.12.3/Error.pm line 426 >> Error::subs::try('CODE(0x1d39cdf8)', 'HASH(0x1d57b5c8)') called at /storage/Data/db/SchistoDB/gusApps/gus_home/lib/perl/GUS/PluginMgr/GusApplication.pm line 632 >> GUS::PluginMgr::GusApplication::doMajorMode_RunOrReport('GUS::PluginMgr::GusApplication=HASH(0x1b7c1d80)', 'ApiCommonData::Load::Plugin::InsertDbESTFiles', 1) called at /storage/Data/db/SchistoDB/gusApps/gus_home/lib/perl/GUS/PluginMgr/GusApplication.pm line 502 >> GUS::PluginMgr::GusApplication::doMajorMode_Run('GUS::PluginMgr::GusApplication=HASH(0x1b7c1d80)', 'ApiCommonData::Load::Plugin::InsertDbESTFiles') called at /storage/Data/db/SchistoDB/gusApps/gus_home/lib/perl/GUS/PluginMgr/GusApplication.pm line 388 >> GUS::PluginMgr::GusApplication::doMajorMode('GUS::PluginMgr::GusApplication=HASH(0x1b7c1d80)', 'ApiCommonData::Load::Plugin::InsertDbESTFiles') called at /storage/Data/db/SchistoDB/gusApps/gus_home/lib/perl/GUS/PluginMgr/GusApplication.pm line 297 >> GUS::PluginMgr::GusApplication::parseAndRun('GUS::PluginMgr::GusApplication=HASH(0x1b7c1d80)', 'ARRAY(0x1b7e0b48)') called at /projects/gusApps/gus_home/bin/ga line 11 >> >> >> DBD::Oracle::st execute failed: ORA-12899: value too large for column "CORE"."ALGORITHMINVOCATION"."RESULT" (actual: 2869, maximum: 350) (DBD ERROR: error possibly near <*> indicator at char 143 in ' >> UPDATE Core.AlgorithmInvocation >> SET >> modification_date = SYSDATE, >> end_time = SYSDATE, >> row_alg_invocation_id = :p1, >> result = :<*>p2 >> WHERE algorithm_invocation_id = :p3') [for Statement " >> UPDATE Core.AlgorithmInvocation >> SET >> modification_date = SYSDATE, >> end_time = SYSDATE, >> row_alg_invocation_id = ?, >> result = ? >> WHERE algorithm_invocation_id = ?" with ParamValues: :p1='122', :p2='You have exceeded the maximum number of allowable objects in memory: >> You must use the method 'undefPointerCache()' in each loop >> to clear the cache and allow garbage collection!! >> If you need > 10000 objects at one time, >> then increase the default number with the method 'setMaximumNumberOfObjects(<number>)' at /storage/Data/db/SchistoDB/gusApps/gus_home/lib/perl/GUS/ObjRelP/DbiDatabase.pm line 483 >> GUS::ObjRelP::DbiDatabase::addToPointerCache('GUS::ObjRelP::DbiDatabase=HASH(0x1c2c5338)', 'GUS::Model::DoTS::NASequenceRef=HASH(0x20a0a978)') called at /storage/Data/db/SchistoDB/gusApps/gus_home/lib/perl/GUS/Model/GusRow.pm line 28 >> GUS::Model::GusRow::new('GUS::Model::DoTS::NASequenceRef', 'HASH(0x20a0aa20)') called at /storage/Data/db/SchistoDB/gusApps/gus_home/lib/perl/ApiCommonData/Load/Plugin/InsertDbESTFiles.pm line 336 >> ApiCommonData::Load::Plugin::InsertDbESTFiles::getOrCreateReference('ApiCommonData::Load::Plugin::InsertDbESTFiles=HASH(0x1c2cacd8)', 'HASH(0x1d566110)...', :p3='122'] at /storage/Data/db/SchistoDB/gusApps/gus_home/lib/perl/GUS/ObjRelP/DbiDbHandle.pm line 147, <ESTs> line 149834. >> >> >> SQL ERROR!! involving >> >> UPDATE Core.AlgorithmInvocation >> SET >> modification_date = SYSDATE, >> end_time = SYSDATE, >> row_alg_invocation_id = ?, >> result = ? >> WHERE algorithm_invocation_id = ? >> Values: 122, You have exceeded the maximum number of allowable objects in memory: >> You must use the method 'undefPointerCache()' in each loop >> to clear the cache and allow garbage collection!! >> If you need > 10000 objects at one time, >> then increase the default number with the method 'setMaximumNumberOfObjects(<number>)' at /storage/Data/db/SchistoDB/gusApps/gus_home/lib/perl/GUS/ObjRelP/DbiDatabase.pm line 483 >> GUS::ObjRelP::DbiDatabase::addToPointerCache('GUS::ObjRelP::DbiDatabase=HASH(0x1c2c5338)', 'GUS::Model::DoTS::NASequenceRef=HASH(0x20a0a978)') called at /storage/Data/db/SchistoDB/gusApps/gus_home/lib/perl/GUS/Model/GusRow.pm line 28 >> GUS::Model::GusRow::new('GUS::Model::DoTS::NASequenceRef', 'HASH(0x20a0aa20)') called at /storage/Data/db/SchistoDB/gusApps/gus_home/lib/perl/ApiCommonData/Load/Plugin/InsertDbESTFiles.pm line 336 >> ApiCommonData::Load::Plugin::InsertDbESTFiles::getOrCreateReference('ApiCommonData::Load::Plugin::InsertDbESTFiles=HASH(0x1c2cacd8)', 'HASH(0x1d566110)') called at /storage/Data/db/SchistoDB/gusApps/gus_home/lib/perl/ApiCommonData/Load/Plugin/InsertDbESTFiles.pm line 212 >> ApiCommonData::Load::Plugin::InsertDbESTFiles::processEST('ApiCommonData::Load::Plugin::InsertDbESTFiles=HASH(0x1c2cacd8)', 'HASH(0x1d566110)', 345, 62) called at /storage/Data/db/SchistoDB/gusApps/gus_home/lib/perl/ApiCommonData/Load/Plugin/InsertDbESTFiles.pm line 159 >> ApiCommonData::Load::Plugin::InsertDbESTFiles::run('ApiCommonData::Load::Plugin::InsertDbESTFiles=HASH(0x1c2cacd8)', 'HASH(0x1d57af38)') called at /storage/Data/db/SchistoDB/gusApps/gus_home/lib/perl/GUS/PluginMgr/GusApplication.pm line 602 >> GUS::PluginMgr::GusApplication::__ANON__() called at /usr/local/lib/perl5/site_perl/5.12.3/Error.pm line 415 >> eval {...} called at /usr/local/lib/perl5/site_perl/5.12.3/Error.pm line 407 >> Error::subs::try('CODE(0x1d39cdf8)', 'HASH(0x1d57b5c8)') called at /storage/Data/db/SchistoDB/gusApps/gus_home/lib/perl/GUS/PluginMgr/GusApplication.pm line 632 >> GUS::PluginMgr::GusApplication::doMajorMode_RunOrReport('GUS::PluginMgr::GusApplication=HASH(0x1b7c1d80)', 'ApiCommonData::Load::Plugin::InsertDbESTFiles', 1) called at /storage/Data/db/SchistoDB/gusApps/gus_home/lib/perl/GUS/PluginMgr/GusApplication.pm line 502 >> GUS::PluginMgr::GusApplication::doMajorMode_Run('GUS::PluginMgr::GusApplication=HASH(0x1b7c1d80)', 'ApiCommonData::Load::Plugin::InsertDbESTFiles') called at /storage/Data/db/SchistoDB/gusApps/gus_home/lib/perl/GUS/PluginMgr/GusApplication.pm line 388 >> GUS::PluginMgr::GusApplication::doMajorMode('GUS::PluginMgr::GusApplication=HASH(0x1b7c1d80)', 'ApiCommonData::Load::Plugin::InsertDbESTFiles') called at /storage/Data/db/SchistoDB/gusApps/gus_home/lib/perl/GUS/PluginMgr/GusApplication.pm line 297 >> GUS::PluginMgr::GusApplication::parseAndRun('GUS::PluginMgr::GusApplication=HASH(0x1b7c1d80)', 'ARRAY(0x1b7e0b48)') called, 122 at /storage/Data/db/SchistoDB/gusApps/gus_home/lib/perl/GUS/ObjRelP/DbiDbHandle.pm line 166 >> GUS::ObjRelP::DbiDbHandle::death('GUS::ObjRelP::DbiDbHandle=HASH(0x1cf994e0)', '\x{a} SQL ERROR!! involving\x{a} \x{a} UPDATE Core.AlgorithmInvocatio...') called at /storage/Data/db/SchistoDB/gusApps/gus_home/lib/perl/GUS/ObjRelP/DbiDbHandle.pm line 150 >> GUS::ObjRelP::DbiDbHandle::sqlExec('GUS::ObjRelP::DbiDbHandle=HASH(0x1cf994e0)', 'GUS::ObjRelP::DbiDbHandle::st=HASH(0x1d9e8db8)', 'ARRAY(0x209b7700)', '\x{a} UPDATE Core.AlgorithmInvocation\x{a} SET \x{a}\x{9}modificat...') called at /storage/Data/db/SchistoDB/gusApps/gus_home/lib/perl/GUS/ObjRelP/DbiRow.pm line 731 >> GUS::ObjRelP::DbiRow::quote_and_update('GUS::Model::Core::AlgorithmInvocation=HASH(0x1c5d7e28)', 'HASH(0x1bc91080)', 'HASH(0x20a0a588)') called at /storage/Data/db/SchistoDB/gusApps/gus_home/lib/perl/GUS/ObjRelP/DbiRow.pm line 612 >> GUS::ObjRelP::DbiRow::update('GUS::Model::Core::AlgorithmInvocation=HASH(0x1c5d7e28)') called at /storage/Data/db/SchistoDB/gusApps/gus_home/lib/perl/GUS/Model/GusRow.pm line 1681 >> GUS::Model::GusRow::submit('GUS::Model::Core::AlgorithmInvocation=HASH(0x1c5d7e28)', 1) called at /storage/Data/db/SchistoDB/gusApps/gus_home/lib/perl/GUS/PluginMgr/GusApplication.pm line 1250 >> GUS::PluginMgr::GusApplication::closeInvocation('GUS::PluginMgr::GusApplication=HASH(0x1b7c1d80)', 'ApiCommonData::Load::Plugin::InsertDbESTFiles=HASH(0x1c2cacd8)', 'You have exceeded the maximum number of allowable objects in ...') called at /storage/Data/db/SchistoDB/gusApps/gus_home/lib/perl/GUS/PluginMgr/GusApplication.pm line 623 >> GUS::PluginMgr::GusApplication::__ANON__() called at /usr/local/lib/perl5/site_perl/5.12.3/Error.pm line 429 >> Error::subs::try('CODE(0x1d39cdf8)', 'HASH(0x1d57b5c8)') called at /storage/Data/db/SchistoDB/gusApps/gus_home/lib/perl/GUS/PluginMgr/GusApplication.pm line 632 >> GUS::PluginMgr::GusApplication::doMajorMode_RunOrReport('GUS::PluginMgr::GusApplication=HASH(0x1b7c1d80)', 'ApiCommonData::Load::Plugin::InsertDbESTFiles', 1) called at /storage/Data/db/SchistoDB/gusApps/gus_home/lib/perl/GUS/PluginMgr/GusApplication.pm line 502 >> GUS::PluginMgr::GusApplication::doMajorMode_Run('GUS::PluginMgr::GusApplication=HASH(0x1b7c1d80)', 'ApiCommonData::Load::Plugin::InsertDbESTFiles') called at /storage/Data/db/SchistoDB/gusApps/gus_home/lib/perl/GUS/PluginMgr/GusApplication.pm line 388 >> GUS::PluginMgr::GusApplication::doMajorMode('GUS::PluginMgr::GusApplication=HASH(0x1b7c1d80)', 'ApiCommonData::Load::Plugin::InsertDbESTFiles') called at /storage/Data/db/SchistoDB/gusApps/gus_home/lib/perl/GUS/PluginMgr/GusApplication.pm line 297 >> GUS::PluginMgr::GusApplication::parseAndRun('GUS::PluginMgr::GusApplication=HASH(0x1b7c1d80)', 'ARRAY(0x1b7e0b48)') called at /projects/gusApps/gus_home/bin/ga line 11 >> >> >> ------------------------------------------------------------------------------ >> Simplify data backup and recovery for your virtual environment with vRanger. >> Installation's a snap, and flexible recovery options mean your data is safe, >> secure and there when you need it. Discover what all the cheering's about. >> Get your free trial download today. >> http://p.sf.net/sfu/quest-dev2dev2 >> >> _______________________________________________ >> Gusdev-gusdev mailing list >> Gus...@li... >> https://lists.sourceforge.net/lists/listinfo/gusdev-gusdev > > -- > Deborah Farin Pinney, Ph.D. > Data Analyst > 1428 Blockley Hall > Computational Biology and Informatics Laboratory > University of Pennsylvania > Philadelphia PA 19104-6021 > Tel: 215-573-3116 > Fax: 215-573-3111 > > ------------------------------------------------------------------------------ > EditLive Enterprise is the world's most technically advanced content > authoring tool. Experience the power of Track Changes, Inline Image > Editing and ensure content is compliant with Accessibility Checking. > http://p.sf.net/sfu/ephox-dev2dev > _______________________________________________ > Gusdev-gusdev mailing list > Gus...@li... > https://lists.sourceforge.net/lists/listinfo/gusdev-gusdev > > > > > -- > Atc, > Rodrigo Jardim > jar...@gm... > > > ------------------------------------------------------------------------------ > EditLive Enterprise is the world's most technically advanced content > authoring tool. Experience the power of Track Changes, Inline Image > Editing and ensure content is compliant with Accessibility Checking. > http://p.sf.net/sfu/ephox-dev2dev_______________________________________________ > Gusdev-gusdev mailing list > Gus...@li... > https://lists.sourceforge.net/lists/listinfo/gusdev-gusdev Brian P. Brunk, Ph.D. EuPathDB Manager 1403 Blockley Hall Penn Center For Bioinformatics University of Pennsylvania Philadelphia PA 19104-6021 Tel: 215-573-3118 Fax: 215-573-3111 |