[Cosmo-dev] JRE and/or SDK for server bundle?
Elliot Lee
osafoundation at intelliot.com
Tue Jun 27 15:56:07 PDT 2006
(oops, Gmail didn't send to the list)
On 6/27/06, Brian Moseley <bcm at osafoundation.org> wrote:
> On 6/28/06, Elliot Lee <osafoundation at intelliot.com> wrote:
> > this is what I got before I had the JDK, and only had the JRE:
> >
> >
> > C:\osaf-server-bundle-0.4-0.2rc1\bin>osafsrvctl run
>
> it looks like you are running the unix startup script using the
> windows command shell. try using osafsrvctl.bat and see if that helps
> - or use cygwin and run osafsrvctl.
I always thought that the way Microsoft Windows and DOS work, you
always type the name of the batch file or the executable without the
file extension. that is, you could always type just 'edit' to run
'edit.com' or 'cleanup' to run 'cleanup.bat'.
keeping the file extension would work too, but it was never necessary
because MS-DOS uses the file extension to determine whether the file
is executable or not, so it would never execute a file that had no
extension. the way I typed it above does work when I point JAVA_HOME
to a JDK.
I'll verify that later, but I'm pretty sure that's how it works.
>
> > "Logging derby output to C:\osaf-server-bundle-0.4-0.2rc1\logs\derby.log"
> > "Using OSAFSRV_HOME: C:\osaf-server-bundle-0.4-0.2rc1"
> > The JAVA_HOME environment variable is not defined correctly
> > This environment variable is needed to run this program
> > NB: JAVA_HOME should point to a JDK not a JRE
>
> there was a bug in older versions of tomcat that made it do this. are
> you sure that your build is using tomcat 5.5.9?
oh.. I'm using osaf-server-bundle-0.4-0.2rc1 which looks like it's
older than the latest. my build is using the version of tomcat that
came in that bundle.
thanks,
elliot
More information about the cosmo-dev
mailing list