I am using the Java Service Wrapper and followed all the instructions listed at 
http://cwiki.apache.org/GMOxDOC21/configuring-geronimo-as-a-windows-service.html
However when I use the wrapper to start the server I get the following error:
 
STATUS | wrapper  | 2008/05/27 14:59:44 | --> Wrapper Started as Daemon
STATUS | wrapper  | 2008/05/27 14:59:44 | Launching a JVM...
INFO   | jvm 1    | 2008/05/27 14:59:45 | Wrapper (Version 3.2.3) 
http://wrapper.tanukisoftware.org
INFO   | jvm 1    | 2008/05/27 14:59:45 |   Copyright 1999-2006 Tanuki 
Software, Inc.  All Rights Reserved.
INFO   | jvm 1    | 2008/05/27 14:59:45 |
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)
Any tips on resolving this will be much appreciated.
Best regards,
Monisha




----- Original Message ----
From: Kevan Miller <[EMAIL PROTECTED]>
To: [email protected]
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: [email protected]



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.


      

Reply via email to