I think you need to include -long or --long or geronimo keeps doing
weird console specific attempts to rewrite the current line. I don't
think you'd have this problem with g 2.1 or later but you might have
other issues running gshell from jsw (I don't know if anyone has tried
this yet).
thanks
david jencks
On May 29, 2008, at 9:27 AM, Moni wrote:
I am using the following command to start the geronimo server.
/usr/local/jrockit-R27.5.0-jdk1.6.0_03/jre/bin/java -javaagent:/usr/
local/geronimo/bin/jpa.jar -Dorg.apache.geronimo.base.dir=/usr/local/
geronimo -Djava.endorsed.dirs=/usr/local/geronimo/lib/endorsed:/usr/
local/jrockit-R27.5.0-jdk1.6.0_03/jre/lib/endorsed -
Djava.io.tmpdir=var/temp -jar /usr/local/geronimo/bin/server.jar
However when I use the Java Service Wrapper to start the server I am
getting the exception pasted below. I have been informed in the
discussion forums for Java Service Wrapper that I am probably not
specifying all the parameters to start the server. That is what is
giving the start up error. Could you please look into it and let me
know if I am missing any geronimo start up parameters. Any feedback
will be much appreciated.
INFO | jvm 1 | 2008/05/27 14:59:48 | Booting Geronimo Kernel
(in Java 1.6.0_03)...
INFO | jvm 1 | 2008/05/27 14:59:48 | Starting Geronimo
Application Server v2.0.2
INFO | jvm 1 | 2008/05/27 14:59:48 |
INFO | jvm 1 | 2008/05/27 14:59:48 | WrapperSimpleApp:
Encountered an error running main:
java.lang.StringIndexOutOfBoundsException: String index out of
range: -11
INFO | jvm 1 | 2008/05/27 14:59:48 |
java.lang.StringIndexOutOfBoundsException: String index out of
range: -11
INFO | jvm 1 | 2008/05/27 14:59:48 | at
java.lang.String.substring(String.java:1938)
INFO | jvm 1 | 2008/05/27 14:59:48 | at
org
.apache
.geronimo
.system
.main
.ProgressBarStartupMonitor.repaint(ProgressBarStartupMonitor.java:183)
INFO | jvm 1 | 2008/05/27 14:59:48 | at
org
.apache
.geronimo
.system
.main
.ProgressBarStartupMonitor
.serverStartFailed(ProgressBarStartupMonitor.java:151)
INFO | jvm 1 | 2008/05/27 14:59:48 | at
org
.apache
.geronimo.system.main.EmbeddedDaemon.doStartup(EmbeddedDaemon.java:
201)
INFO | jvm 1 | 2008/05/27 14:59:48 | at
org
.apache
.geronimo.system.main.EmbeddedDaemon.execute(EmbeddedDaemon.java:78)
INFO | jvm 1 | 2008/05/27 14:59:48 | at
org
.apache
.geronimo
.kernel
.util
.MainConfigurationBootstrapper
.main(MainConfigurationBootstrapper.java:45)
INFO | jvm 1 | 2008/05/27 14:59:48 | at
org.apache.geronimo.cli.AbstractCLI.executeMain(AbstractCLI.java:67)
INFO | jvm 1 | 2008/05/27 14:59:48 | at
org.apache.geronimo.cli.daemon.DaemonCLI.main(DaemonCLI.java:30)
INFO | jvm 1 | 2008/05/27 14:59:48 | at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
INFO | jvm 1 | 2008/05/27 14:59:48 | at
sun
.reflect
.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
INFO | jvm 1 | 2008/05/27 14:59:48 | at
sun
.reflect
.DelegatingMethodAccessorImpl
.invoke(DelegatingMethodAccessorImpl.java:25)
INFO | jvm 1 | 2008/05/27 14:59:48 | at
java.lang.reflect.Method.invoke(Method.java:597)
INFO | jvm 1 | 2008/05/27 14:59:48 | at
org
.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:
240)
INFO | jvm 1 | 2008/05/27 14:59:48 | at
java.lang.Thread.run(Thread.java:619)
STATUS | wrapper | 2008/05/27 14:59:50 | <-- Wrapper Stopped
Thanks and regards,
Monisha
----- Original Message ----
From: Kevan Miller <[EMAIL PROTECTED]>
To: user@geronimo.apache.org
Sent: Saturday, May 24, 2008 9:40:22 AM
Subject: Re: Main class used to start and stop the geronimo server?
On May 24, 2008, at 11:13 AM, Mark Aufdencamp wrote:
Someone recently, within the the last 2 months, posted a Linux
service
start/stop script for Geronimo. I just tried to Google it for you,
but
didn't find it quickly. Perhaps someone else can find it and it
can get
added to the documentation as a sibling to the Windows Java Service
Wrapper.
http://www.nabble.com/Looking-for-init.d---rc.d-script-tt17113713.html#a17113713
Good idea...
--kevan
-------- Original Message --------
Subject: Main class used to start and stop the geronimo server?
From: MShah <[EMAIL PROTECTED]>
Date: Fri, May 23, 2008 5:41 pm
To: user@geronimo.apache.org
Hi,
I am trying to start geronimo automatically on linux using the java
service wrapper and in the conf file I need to specify the main
class needed
to start and stop the geronimo process instance.
Can anyone please let me know that the main class is that is used
to start
the geronimo server instance and what is the main class used to
stop the
server?
Any input will be appreciated.
Thanks,
Monisha
--
View this message in context:
http://www.nabble.com/Main-class-used-to-start-and-stop-the-geronimo-server--tp17441475s134p17441475.html
Sent from the Apache Geronimo - Users mailing list archive at
Nabble.com.