geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jack Cai <greensi...@gmail.com>
Subject Re: Geronimo Service
Date Tue, 25 Aug 2009 15:16:30 GMT
As an alternative, you can also use Apache Commons Daemon to run Geronimo as
a service. See [1].

[1]
http://cwiki.apache.org/GMOxDOC22/running-geronimo-as-a-windows-service.html

-Jack

On Sat, Aug 22, 2009 at 4:25 AM, Jarek Gawor <jgawor@gmail.com> wrote:

> If the debug output is correct, I think JSW is trying to execute
> "C:\Java\jrrt-1.6.0\bin" which of course won't work. This probably
> should be "C:\Java\jrrt-1.6.0\bin\java". I think your configuration
> might be slightly wrong.
>
> Jarek
>
> On Fri, Aug 21, 2009 at 12:25 PM, Russell
> Collins<Russell.Collins@mclaneat.com> wrote:
> > I am trying to install the Geronimo Server on windows vista.  I have
> gotten
> > the service to properly install on Windows XP and Windows 2003 server
> > machines so I do know the procedures.  I am getting a permissions denied
> > message when trying to start the service.  Here is an excerpt from the
> log.
> >
> >
> >
> > DEBUG  | wrapper  | 2009/08/21 11:10:36 | Allocating a console for the
> > service.
> >
> > DEBUG  | wrapper  | 2009/08/21 11:10:36 | Found console window.
> >
> > STATUS | wrapper  | 2009/08/21 11:10:36 | --> Wrapper Started as Service
> >
> > STATUS | wrapper  | 2009/08/21 11:10:36 | Java Service Wrapper Community
> > Edition 32-bit 3.3.5
> >
> > STATUS | wrapper  | 2009/08/21 11:10:36 |   Copyright (C) 1999-2009
> Tanuki
> > Software, Ltd.  All Rights Reserved.
> >
> > STATUS | wrapper  | 2009/08/21 11:10:36 |
> > http://wrapper.tanukisoftware.org
> >
> > STATUS | wrapper  | 2009/08/21 11:10:36 |
> >
> > DEBUG  | wrapper  | 2009/08/21 11:10:36 | Using tick timer.
> >
> > DEBUG  | wrapperp | 2009/08/21 11:10:36 | server listening on port 32000.
> >
> > DEBUG  | wrapper  | 2009/08/21 11:10:36 | Classpath element,
> > wrapper.java.classpath.4, does not exist:
> > ../lib/geronimo-cli-2.0-SNAPSHOT.jar
> >
> > DEBUG  | wrapper  | 2009/08/21 11:10:36 | Classpath element,
> > wrapper.java.classpath.5, does not exist:
> > ../lib/geronimo-kernel-2.0-SNAPSHOT.jar
> >
> > DEBUG  | wrapper  | 2009/08/21 11:10:36 | Classpath element,
> > wrapper.java.classpath.6, does not exist:
> > ../lib/geronimo-transformer-2.0-SNAPSHOT.jar
> >
> > DEBUG  | wrapper  | 2009/08/21 11:10:36 | Classpath element,
> > wrapper.java.classpath.11, does not exist: ../lib/xpp3-1.1.3.3.jar
> >
> > DEBUG  | wrapper  | 2009/08/21 11:10:36 | Classpath element,
> > wrapper.java.classpath.12, does not exist: ../lib/xstream-1.1.3.jar
> >
> > DEBUG  | wrapper  | 2009/08/21 11:10:36 | Ping settings:
> > wrapper.ping.interval=5, wrapper.ping.interval.logged=1,
> > wrapper.ping.timeout=30
> >
> > STATUS | wrapper  | 2009/08/21 11:10:36 | Launching a JVM...
> >
> > DEBUG  | wrapper  | 2009/08/21 11:10:36 | command:
> "C:\Java\jrrt-1.6.0\bin"
> > -javaagent:"C:/geronimo2.1.4/bin/jpa.jar"
> > -Djava.ext.dirs="C:/geronimo2.1.4/lib/ext;C:/Java/jrrt-1.6.0/jre/lib/ext"
> >
> -Djava.endorsed.dirs="C:/geronimo2.1.4/lib/endorsed;C:/Java/jrrt-1.6.0/jre/lib/endorsed"
> > -Dorg.apache.geronimo.base.dir="C:/geronimo2.1.4"
> > -Djava.io.tmpdir="C:/geronimo2.1.4/var/temp" -Djava.library.path="../lib"
> > -classpath
> >
> "../lib/wrapper.jar;../bin/server.jar;../bin/shutdown.jar;../lib/geronimo-cli-2.0-SNAPSHOT.jar;../lib/geronimo-kernel-2.0-SNAPSHOT.jar;../lib/geronimo-transformer-2.0-SNAPSHOT.jar;../lib/commons-cli-1.0.jar;../lib/commons-logging-1.0.4.jar;../lib/cglib-nodep-2.1_3.jar;../lib/log4j-1.2.14.jar;../lib/xpp3-1.1.3.3.jar;../lib/xstream-1.1.3.jar"
> > -Dwrapper.key="NZM-Ctvm4QOW4W43" -Dwrapper.port=32000
> > -Dwrapper.jvm.port.min=31000 -Dwrapper.jvm.port.max=31999
> > -Dwrapper.debug="TRUE" -Dwrapper.pid=5792 -Dwrapper.version="3.3.5"
> > -Dwrapper.native_library="wrapper" -Dwrapper.service="TRUE"
> > -Dwrapper.cpu.timeout="10" -Dwrapper.jvmid=1
> > org.tanukisoftware.wrapper.WrapperSimpleApp
> > org.apache.geronimo.cli.daemon.DaemonCLI
> >
> > FATAL  | wrapper  | 2009/08/21 11:10:36 | Unable to execute Java command.
> > Access is denied. (0x5)
> >
> > FATAL  | wrapper  | 2009/08/21 11:10:36 |     "C:\Java\jrrt-1.6.0\bin"
> > -javaagent:"C:/geronimo2.1.4/bin/jpa.jar"
> > -Djava.ext.dirs="C:/geronimo2.1.4/lib/ext;C:/Java/jrrt-1.6.0/jre/lib/ext"
> >
> -Djava.endorsed.dirs="C:/geronimo2.1.4/lib/endorsed;C:/Java/jrrt-1.6.0/jre/lib/endorsed"
> > -Dorg.apache.geronimo.base.dir="C:/geronimo2.1.4"
> > -Djava.io.tmpdir="C:/geronimo2.1.4/var/temp" -Djava.library.path="../lib"
> > -classpath
> >
> "../lib/wrapper.jar;../bin/server.jar;../bin/shutdown.jar;../lib/geronimo-cli-2.0-SNAPSHOT.jar;../lib/geronimo-kernel-2.0-SNAPSHOT.jar;../lib/geronimo-transformer-2.0-SNAPSHOT.jar;../lib/commons-cli-1.0.jar;../lib/commons-logging-1.0.4.jar;../lib/cglib-nodep-2.1_3.jar;../lib/log4j-1.2.14.jar;../lib/xpp3-1.1.3.3.jar;../lib/xstream-1.1.3.jar"
> > -Dwrapper.key="NZM-Ctvm4QOW4W43" -Dwrapper.port=32000
> > -Dwrapper.jvm.port.min=31000 -Dwrapper.jvm.port.max=31999
> > -Dwrapper.debug="TRUE" -Dwrapper.pid=5792 -Dwrapper.version="3.3.5"
> > -Dwrapper.native_library="wrapper" -Dwrapper.service="TRUE"
> > -Dwrapper.cpu.timeout="10" -Dwrapper.jvmid=1
> > org.tanukisoftware.wrapper.WrapperSimpleApp
> > org.apache.geronimo.cli.daemon.DaemonCLI
> >
> > ADVICE | wrapper  | 2009/08/21 11:10:36 |
> >
> > ADVICE | wrapper  | 2009/08/21 11:10:36 |
> > ------------------------------------------------------------------------
> >
> > ADVICE | wrapper  | 2009/08/21 11:10:36 | Advice:
> >
> > ADVICE | wrapper  | 2009/08/21 11:10:36 | Access denied errors when
> > attempting to launch the Java process are
> >
> > ADVICE | wrapper  | 2009/08/21 11:10:36 | usually caused by strict access
> > permissions assigned to the directory
> >
> > ADVICE | wrapper  | 2009/08/21 11:10:36 | in which Java is installed.
> >
> > ADVICE | wrapper  | 2009/08/21 11:10:36 | Unless you have configured the
> > Wrapper to run as a different user with
> >
> > ADVICE | wrapper  | 2009/08/21 11:10:36 | wrapper.ntservice.account
> > property, the Wrapper and its JVM will be
> >
> > ADVICE | wrapper  | 2009/08/21 11:10:36 | as the SYSTEM user by default
> when
> > run as a service.
> >
> > ADVICE | wrapper  | 2009/08/21 11:10:36 |
> > ------------------------------------------------------------------------
> >
> > ADVICE | wrapper  | 2009/08/21 11:10:36 |
> >
> > FATAL  | wrapper  | 2009/08/21 11:10:36 | Critical error: wait for JVM
> > process failed
> >
> >
> >
> >
> >
> > Here are the specs of what I am using:
> >
> >
> >
> > Apache Geronimo 2.1.4
> >
> > Java Version 1.6.0_11 from JRockit
> >
> >
> >
> > Also note that I am able to manually start everything perfectly so it is
> > definitely something that needs to be worked out on my machine.  Thank
> you
> > for any help you can give me.
> >
> >
> >
> >
> >
> >
> >
> > Russell Collins
> >
> >
>

Mime
View raw message