Return-Path: Delivered-To: apmail-geronimo-user-archive@www.apache.org Received: (qmail 11646 invoked from network); 29 May 2008 17:24:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 29 May 2008 17:24:51 -0000 Received: (qmail 89677 invoked by uid 500); 29 May 2008 17:24:52 -0000 Delivered-To: apmail-geronimo-user-archive@geronimo.apache.org Received: (qmail 89302 invoked by uid 500); 29 May 2008 17:24:51 -0000 Mailing-List: contact user-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: user@geronimo.apache.org List-Id: Delivered-To: mailing list user@geronimo.apache.org Received: (qmail 89285 invoked by uid 99); 29 May 2008 17:24:51 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 May 2008 10:24:51 -0700 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [98.136.44.63] (HELO smtp108.prem.mail.sp1.yahoo.com) (98.136.44.63) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 29 May 2008 17:24:01 +0000 Received: (qmail 6155 invoked from network); 29 May 2008 17:24:17 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Received:X-YMail-OSG:X-Yahoo-Newman-Property:Message-Id:From:To:In-Reply-To:Content-Type:Mime-Version:Subject:Date:References:X-Mailer; b=ezU4H1pmyTV8ZseTceQiDN7bCvsJpSeHpjlnsGp4GuGPCp8rPxfItJXpG8vHQDNZ4QhEpAejPj9lGA9/ADUm8HTOBn2K9iPCxdAZvSqO0AMoTPQUt37/LltFy/DZVcoq7uO0od+TqrJWI8kV4JHz7nQOmV/EaaGhaDP4WVpy9Nw= ; Received: from unknown (HELO ?10.11.55.42?) (david_jencks@63.105.20.225 with plain) by smtp108.prem.mail.sp1.yahoo.com with SMTP; 29 May 2008 17:24:13 -0000 X-YMail-OSG: VTQRt2sVM1kGF5RmaInCSUGPXO0T8qPFoCFPPoJX0VCbgjE.b72MshtOoSO6gGbvC2Ga0nG6RbYbqbv.mRYij3T1y9Q9WnD8yJQ0ro6gladB15.dh5a2Ucjc8lc- X-Yahoo-Newman-Property: ymail-3 Message-Id: From: David Jencks To: user@geronimo.apache.org In-Reply-To: <985469.78090.qm@web53201.mail.re2.yahoo.com> Content-Type: multipart/alternative; boundary=Apple-Mail-13--301068729 Mime-Version: 1.0 (Apple Message framework v919.2) Subject: Re: Main class used to start and stop the geronimo server? Date: Thu, 29 May 2008 10:24:08 -0700 References: <985469.78090.qm@web53201.mail.re2.yahoo.com> X-Mailer: Apple Mail (2.919.2) X-Virus-Checked: Checked by ClamAV on apache.org --Apple-Mail-13--301068729 Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit 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 > 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 >>> 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. >> > > > --Apple-Mail-13--301068729 Content-Type: text/html; charset=US-ASCII Content-Transfer-Encoding: quoted-printable 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. 
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(Progress= BarStartupMonitor.java:183)
INFO   | jvm = 1    | 2008/05/27 14:59:48 = |       at = org.apache.geronimo.system.main.ProgressBarStartupMonitor.serverStartFaile= d(ProgressBarStartupMonitor.java:151)
INFO   | jvm = 1    | 2008/05/27 14:59:48 = |       at = org.apache.geronimo.system.main.EmbeddedDaemon.doStartup(EmbeddedDaemon.ja= va: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(MainCon= figurationBootstrapper.java:45)
INFO   | jvm = 1    | 2008/05/27 14:59:48 = |       at = org.apache.geronimo.cli.AbstractCLI.executeMain(AbstractCLI.java:67)
IN= FO   | jvm 1    | 2008/05/27 14:59:48 = |       at = org.apache.geronimo.cli.daemon.DaemonCLI.main(DaemonCLI.java:30)
INFO&n= bsp;  | 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(DelegatingMethodAccessorIm= pl.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 = <kevan.miller@gmail.com>
To:<= span class=3D"Apple-converted-space"> user@geronimo.apache.org
S= ent: 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.
Good idea...



-------- Original Message = --------
Subject: Main class = used to start and stop the geronimo server?
From: MShah <moni_sparkle@yahoo.com>
<= /blockquote>
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-t= he-geronimo-server--tp17441475s134p17441475.html
Sent from the Apache Geronimo - Users mailing list = archive at = Nabble.com.


<= br>

= --Apple-Mail-13--301068729--