Well, it turns out Hypersonic can't connect when I use the one
below. How weird is that? The server starts, but the JDBC driver can't
connect, even though there's no path in the URL. Maybe there would need
to be? So anyway, I'm back to the one that does a cd in the
script. Sigh.
Aaron
On Fri, 27 Oct 2000, Brandon Campbell wrote:
> I would suggest one change to the script below.
>
> # Minimal jar file to get JBoss started.
> CLASSPATH=$JAR:$CLASSPATH
>
> If CLASSPATH is empty or doesn't originally exists, then the below script causes
>problems.
>
> Brandon
>
>
> >>> [EMAIL PROTECTED] 10/27/00 09:45AM >>>
> Wait, my mistake. It's the CLASSPATH of $CLASSPATH:run.jar that
> breaks, since if you run it from a different directory, there is no
> "run.jar". So let me try a different fix:
>
> JAR=run.jar
> DIR=`echo $0 | sed -e "s/\(.*\)run\.sh/\1/"`
> if [ ${DIR:-""} != "" ] ; then
> JAR=$DIR$JAR
> fi
>
> # Minimal jar file to get JBoss started.
> CLASSPATH=$CLASSPATH:$JAR
>
> Aaron
>
> On Fri, 27 Oct 2000, Rickard [iso-8859-1] +berg wrote:
> > Hey
> >
> > Aaron Mulder wrote:
> > > Yes - the Class-Path entries in run.jar.
> >
> > Are you sure? I think they are relative to run.jar and not from where
> > one accessed run.jar...
> >
> > /Rickard
> >
> >
>
>
>
>
>