|
From: Jian Lu <jl...@vb...> - 2005-06-28 21:42:47
|
I have modified gus_schema.xml for different tableapaces and commented
that line of Java code. The installation is successful.
Michael Saffitz wrote:
>You'll also need to comment out line 95 in
>$PROJECT_HOME/GUS/Schema/src/java/org/gusdb/schema/InstallSchemaTask.java
>
>This is experimental and "not supported"
>
>Just out of curiosity, why do you want more than one tablespace?
>
>--Mike
>
>
>On 6/27/05 3:38 PM, "Jian Lu" <jl...@vb...> wrote:
>
>
>
>>Yes, that is only change I made. Before I had ant 1.6.4.
>>
>>So if I modify the gus_shema.xml for different tablespaces, the
>>installation will skip tablespace defined in gus.config. Is that right?
>>
>>
>>Michael Saffitz wrote:
>>
>>
>>
>>>Hi Jian,
>>>
>>>That's very strange-- I'm running with ant 1.6.2 here without issue. Just
>>>to confirm-- the only change you made was to move to ant 1.6.5?
>>>
>>>GUS 3.5 by default installs into a single tablespace (as defined in the
>>>gus.config file). If you want it to install into more than one, you'd need
>>>to update the gus_schema.xml to use the proper tablespaces for the relevant
>>>objects, and comment out the lines in the DBAdmin sources that do tablespace
>>>name translation.
>>>
>>>If having more than one tablespace is a feature you'd like, submit a feature
>>>request in the issue tracker.
>>>
>>>Also, since you had a failed install, you'll need to make sure that any
>>>objects that were created (i.e. Users) are deleted before trying again.
>>>
>>>I'll create an issue to make sure that the documentation is updated to
>>>include more details about configuring the tablespaces.
>>>
>>>--Mike
>>>
>>>On 6/27/05 3:17 PM, "Jian Lu" <jl...@vb...> wrote:
>>>
>>>
>>>
>>>
>>>
>>>>I ran installation again under apache-ant 1.6.5. It went through for
>>>>schema installation. I had the following error:
>>>>
>>>>[InstallSchema] INFO: Writing Database
>>>>
>>>>BUILD FAILED
>>>>/home/brcgusts/GUS/project_home/install/build.xml:28: The following
>>>>error occurred while executing this line:
>>>>/home/brcgusts/GUS/project_home/GUS/build.xml:92: java.io.IOException:
>>>>Error executing SQL: '
>>>>ALTER USER PROT QUOTA UNLIMITED ON GUS' Error: ORA-00959: tablespace
>>>>'GUS' does not exist
>>>>
>>>>It sounds like looking for tablespace called GUS which defined within
>>>>gus.config file:
>>>>
>>>># Username, group, and project info from the relevant Core tables
>>>>
>>>>userName=$ENV{USER}
>>>>group=dba
>>>>project=GUS
>>>>
>>>>tablespace=GUS
>>>>
>>>>My question: does GUS 3.5 uses only one tablespace called GUS? As I
>>>>know, GUS 3.0 has at least 12 tablespaces. Please clarify it. Thanks.
>>>>
>>>>
>>>>
>>>>-------------------------------------------------------
>>>>SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
>>>>from IBM. Find simple to follow Roadmaps, straightforward articles,
>>>>informative Webcasts and more! Get everything you need to get up to
>>>>speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
>>>>_______________________________________________
>>>>Gusdev-gusdev mailing list
>>>>Gus...@li...
>>>>https://lists.sourceforge.net/lists/listinfo/gusdev-gusdev
>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>>
>>>
>
>
>
|
|
From: Haiming W. <hw...@ug...> - 2005-06-27 15:40:09
|
GUS 3.5 installation was running very smoothly during my test. It took about 30 minutes and most of time is spent in generating perl and java objects. Excellent works by the GUS team. I use ant 1.6.5, java 1.5.0. However, I think java 1.4.2 and ant 1.6.4 should work as well. I don't have $CLASSPATH in my environment variables. I suggest that either change it to 'CLASSPATH=.:$GUS_HOME/gus_home/lib/java' or comment out. -Haiming On Mon, 2005-06-27 at 11:07, Jian Lu wrote: > Here is my system env. > > ANT_HOME=/home/gmod/gus/all_software/apache-ant > PROJECT_HOME=/home/brcgusts/GUS/project_home > JAVA_HOME=/usr/lib/java > CLASSPATH=$GUS_HOME/gus_home/lib/java > > $java -version > java version "1.4.2_04" > Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_04-b05) > Java HotSpot(TM) Client VM (build 1.4.2_04-b05, mixed mode) > > apache-ant: 1.6.4 > > Could you let me know your system env? > > Thanks. > > Jian > > Haiming Wang wrote: > > I am guessing that although you have commons logging in your compile > > classpath it isn't in your runtime. Please check both Java and Ant > > version, especially Ant (1.6.1 or above). > > > > Also, echo $CLASSPATH to see if there are other commons-logging.jar > > before the GUS's commons-logging.jar. > > > > I hope this is helpful. > > > > -Haiming > > > > > > > > On Sun, 2005-06-26 at 16:19, Jian Lu wrote: > > > > > Hi Mike, > > > The commons-logging.jar is in my $GUS_HOME/lib/java. > > > Jian > > > > > > Michael Saffitz wrote: > > > > > > > Hi Jian, > > > > > > > > Can you confirm that the commons-logging.jar is in your $GUS_HOME/lib/java > > > > (it should have been installed from $PROJECT_HOME/GUS/DBAdmin/lib/java/ > > > > > > > > Thanks, > > > > > > > > Mike > > > > > > > > On 6/25/05 5:02 PM, "Jian Lu" <jl...@vb...> wrote: > > > > > > > > > > > > > > > > > I downloaded the official release, followed the installation instruction > > > > > and failed to install. Please advise. Thank you. > > > > > > > > > > build GUS install -append -installDBSchema > > > > > [WritePropertyFiles] Jun 25, 2005 3:02:40 PM > > > > > org.gusdb.install.WritePropertyFileTask writeInstallProp > > > > > [WritePropertyFiles] INFO: Recreating install.prop file > > > > > [WritePropertyFiles] Jun 25, 2005 3:02:40 PM > > > > > org.gusdb.install.WritePropertyFileTask writePluginProp > > > > > [WritePropertyFiles] INFO: Recreating GUS-PluginMgr.prop file > > > > > [copy] Copying 1 file to /home/brcgusts/GUS/gus_home/config > > > > > [copy] Copying 1 file to /home/brcgusts/GUS/gus_home/config > > > > > [echo] . > > > > > [echo] Installing CBIL/Bio > > > > > [echo] . > > > > > [echo] Installing CBIL/CSP > > > > > [echo] . > > > > > [echo] Installing CBIL/Util > > > > > [echo] . > > > > > [echo] Installing CBIL/HQ > > > > > [echo] . > > > > > [echo] Installing CBIL/ObjectMapper > > > > > [concat] No existing files and no nested text, doing nothing > > > > > [echo] . > > > > > [echo] Installing GUS/Supported > > > > > [echo] . > > > > > [echo] Installing GUS/Community > > > > > [echo] . > > > > > [echo] Installing GUS/DBAdmin > > > > > [echo] . > > > > > [echo] Installing GUS/GOPredict > > > > > [echo] . > > > > > [echo] Installing GUS/Schema > > > > > [InstallSchema] Jun 25, 2005 3:02:46 PM > > > > > org.gusdb.schema.InstallSchemaTask execute > > > > > [InstallSchema] INFO: Reading database from > > > > > /home/brcgusts/GUS/project_home/GUS/Schema/gus_schema.xml > > > > > [InstallSchema] Jun 25, 2005 3:02:46 PM > > > > > org.gusdb.dbadmin.reader.SchemaReader doRead > > > > > [InstallSchema] INFO: Reading Database > > > > > [InstallSchema] Jun 25, 2005 3:02:46 PM > > > > > org.apache.commons.digester.Digester startElement > > > > > [InstallSchema] SEVERE: Begin event threw error > > > > > [InstallSchema] java.lang.NoClassDefFoundError: > > > > > org/apache/commons/logging/LogFactory > > > > > [InstallSchema] at > > > > > > > > > > > > > > > > > > > org.apache.commons.beanutils.ConvertUtilsBean.<init>(ConvertUtilsBean.java:130> > > > > ) > > > > > > > > > > > > > [InstallSchema] at > > > > > org.apache.commons.beanutils.BeanUtilsBean.<init>(BeanUtilsBean.java:110) > > > > > [InstallSchema] at > > > > > org.apache.commons.beanutils.BeanUtilsBean$1.initialValue(BeanUtilsBean.java:6 > > > > > 8) > > > > > [InstallSchema] at > > > > > org.apache.commons.beanutils.ContextClassLoaderLocal.get(ContextClassLoaderLoc > > > > > al.java:80) > > > > > [InstallSchema] at > > > > > org.apache.commons.beanutils.BeanUtilsBean.getInstance(BeanUtilsBean.java:78) > > > > > [InstallSchema] at > > > > > org.apache.commons.beanutils.BeanUtils.populate(BeanUtils.java:298) > > > > > [InstallSchema] at > > > > > > > > > > > > > > > > > > > org.apache.commons.digester.SetPropertiesRule.begin(SetPropertiesRule.java:217> > > > > ) > > > > > > > > > > > > > [InstallSchema] at > > > > > org.apache.commons.digester.Rule.begin(Rule.java:152) > > > > > [InstallSchema] at > > > > > org.apache.commons.digester.Digester.startElement(Digester.java:1286) > > > > > [InstallSchema] at > > > > > org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source) > > > > > [InstallSchema] at > > > > > org.apache.xerces.impl.dtd.XMLDTDValidator.startElement(Unknown Source) > > > > > [InstallSchema] at > > > > > org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unknown > > > > > Source) > > > > > [InstallSchema] at > > > > > org.apache.xerces.impl.XMLDocumentScannerImpl$ContentDispatcher.scanRootElemen > > > > > tHook(Unknown > > > > > Source) > > > > > [InstallSchema] at > > > > > org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatche > > > > > r.dispatch(Unknown > > > > > Source) > > > > > [InstallSchema] at > > > > > org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown > > > > > Source) > > > > > [InstallSchema] at > > > > > org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) > > > > > [InstallSchema] at > > > > > org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) > > > > > [InstallSchema] at > > > > > org.apache.xerces.parsers.XMLParser.parse(Unknown Source) > > > > > [InstallSchema] at > > > > > org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) > > > > > [InstallSchema] at > > > > > org.apache.commons.digester.Digester.parse(Digester.java:1591) > > > > > [InstallSchema] at > > > > > org.gusdb.dbadmin.reader.XMLReader.readDatabase(XMLReader.java:43) > > > > > [InstallSchema] at > > > > > org.gusdb.dbadmin.reader.SchemaReader.doRead(SchemaReader.java:50) > > > > > [InstallSchema] at > > > > > org.gusdb.dbadmin.reader.SchemaReader.read(SchemaReader.java:38) > > > > > [InstallSchema] at > > > > > org.gusdb.schema.InstallSchemaTask.execute(InstallSchemaTask.java:89) > > > > > [InstallSchema] at > > > > > org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275) > > > > > [InstallSchema] at org.apache.tools.ant.Task.perform(Task.java:364) > > > > > [InstallSchema] at > > > > > org.apache.tools.ant.Target.execute(Target.java:341) > > > > > [InstallSchema] at > > > > > org.apache.tools.ant.Target.performTasks(Target.java:369) > > > > > [InstallSchema] at > > > > > org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216) > > > > > [InstallSchema] at > > > > > org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExec > > > > > utor.java:37) > > > > > [InstallSchema] at > > > > > org.apache.tools.ant.Project.executeTargets(Project.java:1068) > > > > > [InstallSchema] at > > > > > org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:382) > > > > > [InstallSchema] at > > > > > org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275) > > > > > [InstallSchema] at org.apache.tools.ant.Task.perform(Task.java:364) > > > > > [InstallSchema] at > > > > > org.apache.tools.ant.Target.execute(Target.java:341) > > > > > [InstallSchema] at > > > > > org.apache.tools.ant.Target.performTasks(Target.java:369) > > > > > [InstallSchema] at > > > > > org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216) > > > > > [InstallSchema] at > > > > > org.apache.tools.ant.Project.executeTarget(Project.java:1185) > > > > > [InstallSchema] at > > > > > org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.jav > > > > > a:40) > > > > > [InstallSchema] at > > > > > org.apache.tools.ant.Project.executeTargets(Project.java:1068) > > > > > [InstallSchema] at org.apache.tools.ant.Main.runBuild(Main.java:668) > > > > > [InstallSchema] at org.apache.tools.ant.Main.startAnt(Main.java:187) > > > > > [InstallSchema] at > > > > > org.apache.tools.ant.launch.Launcher.run(Launcher.java:246) > > > > > [InstallSchema] at > > > > > org.apache.tools.ant.launch.Launcher.main(Launcher.java:67) > > > > > > > > > > BUILD FAILED > > > > > /home/brcgusts/GUS/project_home/install/build.xml:28: The following > > > > > error occurred while executing this line: > > > > > java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory > > > > > > > > > > Total time: 6 seconds > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > > > > from IBM. Find simple to follow Roadmaps, straightforward articles, > > > > informative Webcasts and more! Get everything you need to get up to > > > > speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click > > > > _______________________________________________ > > > > Gusdev-gusdev mailing list > > > > Gus...@li... > > > > https://lists.sourceforge.net/lists/listinfo/gusdev-gusdev > > > > > > > > > > > > > > ------------------------------------------------------- > > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > > from IBM. Find simple to follow Roadmaps, straightforward articles, > > informative Webcasts and more! Get everything you need to get up to > > speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click > > _______________________________________________ > > Gusdev-gusdev mailing list > > Gus...@li... > > https://lists.sourceforge.net/lists/listinfo/gusdev-gusdev > > > |