From: Chris T. <cmt...@gm...> - 2005-11-17 18:30:05
|
I changed jdbc connection string to ws17.itcomplab.missouri.edu:1521<http://ws17.itcomplab.missouri.edu:1521/> :ws17 <http://ws17.itcomplab.missouri.edu/> and get: BUILD FAILED /home/oracle/GUS/project_home/install/build.xml:28: The following error occurred while executing this line: /home/oracle/GUS/project_home/GUS/build.xml:92: Unable to connect to database my db is on the same machine/account I'm running the install script(?) on. Does the jdbc connection string have to deal with this somehow. Do I have t= o have # 1521 port open? Thanks, chris On 11/16/05, Michael Saffitz <msa...@pc...> wrote: > > > Hi Chris, > > That last part of your JDBC connection string should be the SID of > the database-- it looks like you've got the hostname repeated. Hope > this helps. > > --Mike > > On Nov 15, 2005, at 5:08 PM, Chris Topinka wrote: > > > ok. now I get to the point of: > > > > [InstallSchema] SEVERE: Unable to connect to database. > > DSN=3D'jdbc:oracle:thin:@ws17.itcomplab.missouri.edu: > > 1521:ws17.itcomplab.missouri.edu <http://ws17.itcomplab.missouri.edu>' > > [InstallSchema] java.sql.SQLException: Listener refused the > > connection with the following error: > > [InstallSchema] ORA-12505, TNS:listener does not currently know of > > SID given in connect descriptor > > [InstallSchema] The Connection descriptor used by the client was: > > [InstallSchema] ws17.itcomplab.missouri.edu<http://ws17.itcomplab.misso= uri.edu> > : > > 1521:ws17.itcomplab.missouri.edu <http://ws17.itcomplab.missouri.edu> > > > > > > How can I make sure this is set right? > > > > Thanks, > > > > Chris > > > > On 11/15/05, Steve Fischer <sfi...@pc...> wrote: > > $PROJECT_HOME i think > > > > steve > > > > Chris Topinka wrote: > > > > > I run ant cmd from build.pl with --noconfig at cmd line and get: > > > > > > Buildfile: /install/build.xml does not exist! > > > Build failed > > > > > > > > > what variable is setting the path to build.xml? > > > > > > Thanks, > > > > > > Chris > > > > > > On 11/10/05, *Chris Topinka* <cmt...@gm... > > > <mailto:cmt...@gm...>> wrote: > > > > > > when I run ant cmd from cmd line I get: > > > > > > \Exception in thread "main" java.lang.NoClassDefFoundError : > > > org/apache/tools/ant/launch/Launcher > > > > > > does this mean I need certain libraries on my $CLASSPATH? Which > > > ones and where are they? > > > > > > I'm using 2.4.21-15.EL RedHat but have installed my own java and > > > ant because I don't have root. > > > > > > > > > On 11/10/05, *Angel Pizarro* < an...@ma... > > > <mailto: an...@ma...>> wrote: > > > > > > Try: > > > > > > $ build GUS install -append -returnErrStatus - > > installDBSchema > > > > > > This may give you a useful error message. Other than > > that, try > > > un-commenting line line 41 in build.pl to see the ant > > command > > > that is > > > run and try cutting/pasting this command to get even more > > > verbose output > > > from straight from ant. > > > > > > > > > > > > > > > Chris Topinka wrote: > > > > > >> PATH=3D/home/oracle/usr/local/SunWappserver/jdk/jre/bin:/home/ > > oracle/usr/local/apache-ant-1.6.5/bin:/home/oracle/GUS/gus_home/ > > bin:/home/oracle/GUS/project_home/install/bin:/usr/kerberos/bin:/ > > usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/opt/oracle/product/ > > 9.2.0/bin:/sbin:/usr/local/java/bin:/home/oracle/bin > > > > > >> > > >> > > >> this is my $PATH > > >> > > >> which java and which ant now returns the bins that I want and > > >> installed in my home (I don't have root > > > unfortunately). Before which > > >> had old ant and no java. > > >> > > >> Now when I run build it exits immediately with no output. > > >> > > >> What does build require exactly? In what order? > > >> > > >> Is there a simpler way to get the xml schema onto my oracle db? > > >> > > >> Thanks > > >> On 11/8/05, *msa...@pc... > > > <mailto:msa...@pc... > <mailto: > > > msa...@pc... <mailto:msa...@pc...>>* > > >> < msa...@pc... <mailto:msa...@pc...> > > > <mailto:msa...@pc... > > > <mailto: msa...@pc...>>> wrote: > > >> > > >> Hi Chris, > > >> > > >> I would double check your version of Ant. I believe 1.6.2 is > > >> required. Also, > > >> if on Linux, make sure you're using the copy you think > > > you are-- > > >> RedHat for a > > >> while included a non-compatible version of Ant. Do > > > 'which ant' to > > >> display the > > >> version in use. Also, make sure there is no > > > /etc/ant.conf file. > > >> > > >> --Mike > > >> > > >> Quoting Chris Topinka < cmt...@gm... > > > <mailto:cmt...@gm...> > > >> <mailto:cmt...@gm... <mailto: cmt...@gm...>>>: > > >> > > >> > When I run: > > >> > > > >> > build GUS install -append -installDBSchema > > >> > > > >> > I immediately get: > > >> > ant [options] [target [target2 [target3] ...]] > > >> > > > >> > and then 'build' terminates > > >> > > > >> > I couldn't find anything in the list archives with this > > > output. > > >> Is there a > > >> > better way to search for this in the archives for > > > future reference? > > >> > > > >> > I installed Ant myself, so this could very likely be > > > the problem. > > >> > -- > > >> > Christopher M. Topinka > > >> > NLM-BHIRT Predoctoral Fellow in Computer Science > > >> > 113 Life Sciences Center > > >> > University of Missouri > > >> > Columbia, MO 65211 > > >> > (573)-823-0616 > > >> > cmt...@mi... <mailto:cmt...@mi... > > > > <mailto: cmt...@mi... <mailto:cmt...@mi...>> > > >> > > > >> > > >> > > >> > > >> > > >> > > >> > > >> -- > > >> Christopher M. Topinka > > >> NLM-BHIRT Predoctoral Fellow in Computer Science > > >> 113 Life Sciences Center > > >> University of Missouri > > >> Columbia, MO 65211 > > >> (573)-823-0616 > > >> cmt...@mi... <mailto:cmt...@mi...> <mailto: > > > cmt...@mi... <mailto:cmt...@mi...>> > > > > > > > > > > > > -- > > > > > > Angel Pizarro > > > Director, Bioinformatics Facility > > > Institute for Translational Medicine and Therapeutics > > > University of Pennsylvania > > > 806 BRB II/III > > > 421 Curie Blvd. > > > Philadelphia, PA 19104-6160 > > > > > > P: 215-573-3736 > > > F: 215-573-9004 > > > > > > > > > > > > ------------------------------------------------------- > > > SF.Net email is sponsored by: > > > Tame your development challenges with Apache's Geronimo App > > > Server. Download > > > it for free - -and be entered to win a 42" plasma tv or your > > > very own > > > Sony(tm)PSP. Click here to play: > > > http://sourceforge.net/geronimo.php > > > _______________________________________________ > > > Gusdev-gusdev mailing list > > > Gus...@li... > > > <mailto: Gus...@li...> > > > https://lists.sourceforge.net/lists/listinfo/gusdev-gusdev > > > < https://lists.sourceforge.net/lists/listinfo/gusdev- > > gusdev> > > > > > > > > > > > > > > > -- > > > > > > Christopher M. Topinka > > > NLM-BHIRT Predoctoral Fellow in Computer Science > > > 113 Life Sciences Center > > > University of Missouri > > > Columbia, MO 65211 > > > (573)-823-0616 > > > cmt...@mi... <mailto: cmt...@mi...> > > > > > > > > > > > > > > > -- > > > Christopher M. Topinka > > > NLM-BHIRT Predoctoral Fellow in Computer Science > > > 113 Life Sciences Center > > > University of Missouri > > > Columbia, MO 65211 > > > (573)-823-0616 > > > cmt...@mi... <mailto:cmt...@mi...> > > > > > > > > > > -- > > Christopher M. Topinka > > NLM-BHIRT Predoctoral Fellow in Computer Science > > 113 Life Sciences Center > > University of Missouri > > Columbia, MO 65211 > > (573)-823-0616 > > cmt...@mi... > > -- Christopher M. Topinka NLM-BHIRT Predoctoral Fellow in Computer Science 113 Life Sciences Center University of Missouri Columbia, MO 65211 (573)-823-0616 cmt...@mi... |