You can subscribe to this list here.
| 2002 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(5) |
Oct
(13) |
Nov
(16) |
Dec
(29) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2003 |
Jan
(38) |
Feb
(51) |
Mar
(51) |
Apr
(115) |
May
(82) |
Jun
(30) |
Jul
(50) |
Aug
(68) |
Sep
(57) |
Oct
(160) |
Nov
(80) |
Dec
(78) |
| 2004 |
Jan
(71) |
Feb
(75) |
Mar
(108) |
Apr
(87) |
May
(79) |
Jun
(70) |
Jul
(69) |
Aug
(39) |
Sep
(52) |
Oct
(47) |
Nov
(50) |
Dec
(32) |
| 2005 |
Jan
(22) |
Feb
(122) |
Mar
(46) |
Apr
(76) |
May
(31) |
Jun
(51) |
Jul
(61) |
Aug
(70) |
Sep
(37) |
Oct
(46) |
Nov
(57) |
Dec
(83) |
| 2006 |
Jan
(55) |
Feb
(81) |
Mar
(51) |
Apr
(67) |
May
(77) |
Jun
(43) |
Jul
(106) |
Aug
(64) |
Sep
(47) |
Oct
(64) |
Nov
(60) |
Dec
(12) |
| 2007 |
Jan
(50) |
Feb
(93) |
Mar
(49) |
Apr
(56) |
May
(40) |
Jun
(63) |
Jul
(40) |
Aug
(47) |
Sep
(54) |
Oct
(37) |
Nov
(54) |
Dec
(37) |
| 2008 |
Jan
(35) |
Feb
(39) |
Mar
(26) |
Apr
(14) |
May
(23) |
Jun
(51) |
Jul
(43) |
Aug
(26) |
Sep
(29) |
Oct
(31) |
Nov
(24) |
Dec
(16) |
| 2009 |
Jan
(21) |
Feb
(30) |
Mar
(74) |
Apr
(26) |
May
(26) |
Jun
(43) |
Jul
(23) |
Aug
(23) |
Sep
(15) |
Oct
(27) |
Nov
(37) |
Dec
(10) |
| 2010 |
Jan
(16) |
Feb
(28) |
Mar
(16) |
Apr
(45) |
May
(8) |
Jun
(68) |
Jul
(45) |
Aug
(44) |
Sep
(51) |
Oct
(7) |
Nov
(20) |
Dec
(21) |
| 2011 |
Jan
(14) |
Feb
(17) |
Mar
(7) |
Apr
(7) |
May
(48) |
Jun
(23) |
Jul
(5) |
Aug
(33) |
Sep
(22) |
Oct
(14) |
Nov
(14) |
Dec
(5) |
| 2012 |
Jan
|
Feb
(10) |
Mar
(12) |
Apr
(51) |
May
(10) |
Jun
(8) |
Jul
(14) |
Aug
(22) |
Sep
(9) |
Oct
(24) |
Nov
(14) |
Dec
(13) |
| 2013 |
Jan
(12) |
Feb
(4) |
Mar
(14) |
Apr
(19) |
May
(2) |
Jun
(5) |
Jul
(13) |
Aug
(10) |
Sep
(4) |
Oct
(11) |
Nov
(13) |
Dec
(2) |
| 2014 |
Jan
(3) |
Feb
(14) |
Mar
(5) |
Apr
(10) |
May
(10) |
Jun
(11) |
Jul
(10) |
Aug
(3) |
Sep
(13) |
Oct
(22) |
Nov
(14) |
Dec
(32) |
| 2015 |
Jan
(8) |
Feb
(2) |
Mar
(17) |
Apr
(1) |
May
(24) |
Jun
|
Jul
(4) |
Aug
|
Sep
(9) |
Oct
(9) |
Nov
(5) |
Dec
(2) |
| 2016 |
Jan
(8) |
Feb
(6) |
Mar
(6) |
Apr
(9) |
May
(3) |
Jun
(2) |
Jul
(7) |
Aug
(6) |
Sep
|
Oct
|
Nov
(1) |
Dec
(6) |
| 2017 |
Jan
(9) |
Feb
(8) |
Mar
(6) |
Apr
|
May
|
Jun
(3) |
Jul
(13) |
Aug
(10) |
Sep
(8) |
Oct
|
Nov
(6) |
Dec
|
| 2018 |
Jan
|
Feb
(5) |
Mar
(7) |
Apr
(2) |
May
|
Jun
|
Jul
(3) |
Aug
(2) |
Sep
(9) |
Oct
(1) |
Nov
(1) |
Dec
(1) |
| 2019 |
Jan
(9) |
Feb
|
Mar
|
Apr
(10) |
May
(3) |
Jun
|
Jul
(7) |
Aug
(1) |
Sep
|
Oct
(2) |
Nov
|
Dec
|
| 2020 |
Jan
(1) |
Feb
(1) |
Mar
(1) |
Apr
|
May
|
Jun
(3) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(1) |
Dec
|
| 2021 |
Jan
(1) |
Feb
(2) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(1) |
Oct
|
Nov
|
Dec
(3) |
| 2022 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(1) |
Dec
|
| 2023 |
Jan
(3) |
Feb
|
Mar
(1) |
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2024 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
(1) |
Jun
(1) |
Jul
(1) |
Aug
|
Sep
(1) |
Oct
|
Nov
(1) |
Dec
|
| 2025 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
(1) |
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(1) |
| 2026 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|
From: Martin D. <mda...@se...> - 2008-10-22 08:56:24
|
Hi, I need to create dependency between windows services on 2 machines with windows server. Create dependency between windows services on the same host is trivial issue, but does someone of you know how to create dependency between win.services on 2 hosts? I'm not sure if it's possible to do this... Thanks in advance for all ideas Martin |
|
From: Leif M. <le...@ta...> - 2008-10-17 05:36:37
|
Uwe, Is this a new message? It looks like a repost of the issue we resolved a few days ago. Go ahead and ignore it if it is. Cheers, Leif On Wed, Oct 15, 2008 at 10:38 PM, Uwe Lynen <uw...@ly...> wrote: > Below is the console output - It works correctly, but when I use the > installtomcat-nt batch file I get a response that the Tomcat service is > installed; however, the service won't start. > I get the error 1053 not responding in a timely fashion. > > I have also attached the wrapper.conf file. I added all the additional > entries from the ECHO output of the catalina batch file. > > > Microsoft Windows [Version 5.2.3790] > (C) Copyright 1985-2003 Microsoft Corp. > > C:\Documents and Settings\Administrator.LYNSERVER>cd tomcat6\bin > The system cannot find the path specified. > > C:\Documents and Settings\Administrator.LYNSERVER>cd \tomcat6\bin > > C:\Tomcat6\bin>tomcat > wrapper | --> Wrapper Started as Console > wrapper | Java Service Wrapper Community Edition 3.3.1 > wrapper | Copyright (C) 1999-2008 Tanuki Software, Inc. All Rights > Reserved. > > wrapper | http://wrapper.tanukisoftware.org > wrapper | > wrapper | Launching a JVM... > jvm 1 | WrapperManager: Initializing... > jvm 1 | 15-Oct-2008 8:33:59 AM > org.apache.catalina.core.AprLifecycleListener > init > jvm 1 | INFO: The APR based Apache Tomcat Native library which allows > optimal > performance in production environments was not found on the > java.library.path: > .\lib > jvm 1 | 15-Oct-2008 8:34:00 AM org.apache.coyote.http11.Http11Protocol > init > jvm 1 | INFO: Initializing Coyote HTTP/1.1 on http-80 > jvm 1 | 15-Oct-2008 8:34:00 AM org.apache.catalina.startup.Catalina load > jvm 1 | INFO: Initialization processed in 1147 ms > jvm 1 | 15-Oct-2008 8:34:00 AM org.apache.catalina.core.StandardService > start > > jvm 1 | INFO: Starting service Catalina > jvm 1 | 15-Oct-2008 8:34:00 AM org.apache.catalina.core.StandardEngine > start > jvm 1 | INFO: Starting Servlet Engine: Apache Tomcat/6.0.16 > jvm 1 | 15-Oct-2008 8:34:04 AM org.apache.catalina.core.StandardContext > addAp > plicationListener > jvm 1 | INFO: The listener > "com.liferay.portal.spring.context.PortalContextLo > aderListener" is already configured for this context. The duplicate > definition h > as been ignored. > jvm 1 | 15-Oct-2008 8:34:04 AM org.apache.catalina.core.StandardContext > addAp > plicationListener > jvm 1 | INFO: The listener > "com.liferay.portal.servlet.PortalSessionListener" > is already configured for this context. The duplicate definition has been > ignor > ed. > jvm 1 | 15-Oct-2008 8:34:04 AM org.apache.catalina.core.StandardContext > addAp > plicationListener > jvm 1 | INFO: The listener > "com.liferay.portal.kernel.servlet.PortletSessionL > istenerManager" is already configured for this context. The duplicate > definition > has been ignored. > jvm 1 | 15-Oct-2008 8:34:04 AM org.apache.catalina.core.StandardContext > addAp > plicationListener > jvm 1 | INFO: The listener > "com.liferay.portal.kernel.servlet.SerializableSes > sionAttributeListener" is already configured for this context. The duplicate > def > inition has been ignored. > jvm 1 | 15-Oct-2008 8:34:04 AM org.apache.catalina.core.StandardContext > addAp > plicationListener > jvm 1 | INFO: The listener > "com.liferay.portal.servlet.SharedSessionAttribute > Listener" is already configured for this context. The duplicate definition > has b > een ignored. > jvm 1 | 15-Oct-2008 8:34:04 AM org.apache.catalina.core.StandardContext > addAp > plicationListener > jvm 1 | INFO: The listener > "com.sun.portal.container.service.ServiceManagerCo > ntextListenerImpl" is already configured for this context. The duplicate > definit > ion has been ignored. > jvm 1 | 15-Oct-2008 8:34:04 AM org.apache.catalina.core.StandardContext > addAp > plicationListener > jvm 1 | INFO: The listener > "com.sun.portal.portletcontainer.impl.PortletConta > inerContextListenerImpl" is already configured for this context. The > duplicate d > efinition has been ignored. > jvm 1 | Loading > jar:file:/C:/Tomcat6/webapps/ROOT/WEB-INF/lib/portal-impl.jar > !/system.properties > jvm 1 | Loading > jar:file:/C:/Tomcat6/webapps/ROOT/WEB-INF/lib/portal-impl.jar > !/portal.properties > jvm 1 | 08:34:12,625 INFO [DynamicDialect:81] Determining dialect for > MySQL > 5 > jvm 1 | 08:34:12,656 INFO [DynamicDialect:109] Using dialect > org.hibernate.d > ialect.MySQLDialect > jvm 1 | 08:34:15,734 INFO [PortalImpl:228] Portal lib url > /C:/Tomcat6/webapp > s/ROOT/WEB-INF/lib/portal-impl.jar!/com/liferay/portal/util/PortalImpl.class > jvm 1 | 08:34:15,734 INFO [PortalImpl:263] Portal lib directory > /C:/Tomcat6/ > webapps/ROOT/WEB-INF/lib/ > jvm 1 | Starting Liferay Portal 5.1.1 (Calvin / Build 5101 / August 11, > 2008) > > jvm 1 | 08:34:33,406 INFO [ServerDetector:76] Detected server tomcat > jvm 1 | 08:34:33,937 INFO [HotDeployUtil:76] Initializing hot deploy > manager > 9956648 > jvm 1 | 08:34:34,218 INFO [AutoDeployDir:76] Auto deploy scanner started > for > C:\Documents and Settings\Administrator.LYNSERVER\liferay\deploy > jvm 1 | 15-Oct-2008 8:34:37 AM org.apache.catalina.core.StandardContext > addAp > plicationListener > jvm 1 | INFO: The listener > "com.liferay.portal.kernel.servlet.PortletContextL > istener" is already configured for this context. The duplicate definition > has be > en ignored. > jvm 1 | 15-Oct-2008 8:34:37 AM org.apache.catalina.core.StandardContext > addAp > plicationListener > jvm 1 | INFO: The listener > "com.liferay.portal.kernel.servlet.ThemeContextLis > tener" is already configured for this context. The duplicate definition has > been > ignored. > jvm 1 | 08:34:37,875 INFO [ThemeHotDeployListener:92] Registering themes > for > liferay-jedi-theme > jvm 1 | 08:34:39,546 INFO [ThemeHotDeployListener:104] Themes for > liferay-je > di-theme registered successfully > jvm 1 | 08:34:39,562 INFO [ThemeHotDeployListener:92] Registering themes > for > liferay-jedi-theme > jvm 1 | 08:34:39,609 INFO [ThemeHotDeployListener:104] Themes for > liferay-je > di-theme registered successfully > jvm 1 | 15-Oct-2008 8:34:42 AM org.apache.coyote.http11.Http11Protocol > start > jvm 1 | INFO: Starting Coyote HTTP/1.1 on http-80 > jvm 1 | 15-Oct-2008 8:34:42 AM org.apache.jk.common.ChannelSocket init > jvm 1 | INFO: JK: ajp13 listening on /0.0.0.0:8009 > jvm 1 | 15-Oct-2008 8:34:42 AM org.apache.jk.server.JkMain start > jvm 1 | INFO: Jk running ID=0 time=0/31 config=null > jvm 1 | 15-Oct-2008 8:34:42 AM org.apache.catalina.startup.Catalina start > jvm 1 | INFO: Server startup in 42409 ms > > > Regards, > Uwe Lynen > > > -----Original Message----- > From: Leif Mortenson [mailto:le...@ta...] > Sent: October 15, 2008 1:44 AM > To: uw...@ly...; wra...@li... > Subject: Re: [Wrapper-user] Set up Wrapper but can't get it to work > > Uwe, > It looks like you are close to getting things working. The Wrapper is > actually launching the JVM and your application correctly. But the > application itself is complaining because it is not receiving the > correct parameters. This is most likely a simple configuration > problem. > > If you add the following property to your wrapper.conf file, you will > be able to see the Java command generated by the Wrapper to launch the > JVM. This should make it more obvious what the problem is. > wrapper.java.command.loglevel=INFO > http://wrapper.tanukisoftware.org/doc/english/prop-java-command-loglevel.htm > l > > If you reply with your wrapper.conf file, I can also take a look at it for > you. > > When testing this, I would suggest first getting it working in a > command prompt and only then attempt to run as a service. This > usually makes it much easier to debug because all of the log output is > visible on the command window. > > Cheers, > Leif > > > On Wed, Oct 15, 2008 at 5:20 AM, Uwe Lynen <uw...@ly...> wrote: >> Here is the output when I try to run it as a console. Using Tomcat 6 >> >> I'm also confused about the server thing. I'm trying to run this on a >> Windows 2003 server. Do I need to purchase the Standard Edition as a >> minimum? >> >> >> >> Microsoft Windows [Version 5.2.3790] >> >> (C) Copyright 1985-2003 Microsoft Corp. >> >> >> >> >> >> C:\Tomcat6\bin>tomcat >> >> wrapper | --> Wrapper Started as Console >> >> wrapper | Java Service Wrapper Community Edition 3.3.1 >> >> wrapper | Copyright (C) 1999-2008 Tanuki Software, Inc. All Rights >> Reserved. >> >> >> >> wrapper | http://wrapper.tanukisoftware.org >> >> wrapper | >> >> wrapper | Launching a JVM... >> >> jvm 1 | WrapperManager: Initializing... >> >> jvm 1 | usage: java org.apache.catalina.startup.Catalina [ -config >> {pathname} ] [ -nonaming ] { start | stop } >> >> jvm 1 | 14-Oct-2008 2:23:38 PM org.apache.catalina.startup.Catalina >> stopServer >> >> jvm 1 | SEVERE: Catalina.stop: >> >> jvm 1 | java.net.ConnectException: Connection refused: connect >> >> >> >> >> >> >> >> Regards, >> >> Uwe Lynen____________________ >> >> Tel: 416 690-1973 >> >> Fx: 416 690-2434 >> >> Cell: 647 272-6740 >> >> Personal e-mail: uw...@ly... >> >> Office: uw...@p-... >> >> >> >> ------------------------------------------------------------------------- >> This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge >> Build the coolest Linux based applications with Moblin SDK & win great >> prizes >> Grand prize is a trip for two to an Open Source event anywhere in the > world >> http://moblin-contest.org/redirect.php?banner_id=100&url=/ >> _______________________________________________ >> Wrapper-user mailing list >> Wra...@li... >> https://lists.sourceforge.net/lists/listinfo/wrapper-user >> >> > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Wrapper-user mailing list > Wra...@li... > https://lists.sourceforge.net/lists/listinfo/wrapper-user > > |
|
From: Kiss T. <kis...@gm...> - 2008-10-16 09:18:02
|
Hi, I am evaluating Nexus Maven repository http://nexus.sonatype.org/ wich has Wrapper (Version 3.2.3). Unfortunately often get restarted or more precisely stopped even if I increased the timeout value. DEBUG | wrapperp | 2008/10/16 10:31:09 | read a packet PING : ok DEBUG | wrapper | 2008/10/16 10:31:09 | Got ping response from JVM DEBUG | wrapperp | 2008/10/16 10:31:13 | send a packet PING : ping DEBUG | wrapperp | 2008/10/16 10:31:13 | read a packet PING : ok DEBUG | wrapper | 2008/10/16 10:31:13 | Got ping response from JVM DEBUG | wrapperp | 2008/10/16 10:41:13 | read a packet STOP : 0 DEBUG | wrapper | 2008/10/16 10:41:13 | JVM requested a shutdown. (0) DEBUG | wrapper | 2008/10/16 10:41:13 | wrapperStopProcess(0) called. DEBUG | wrapper | 2008/10/16 10:41:13 | Sending stop signal to JVM DEBUG | wrapperp | 2008/10/16 10:41:13 | send a packet STOP : NULL DEBUG | wrapperp | 2008/10/16 10:41:14 | read a packet LOG(INFO) : Stopping the Plexus Container. DEBUG | wrapper | 2008/10/16 10:41:14 | Got a log message from JVM: Stopping the Plexus Container. DEBUG | wrapperp | 2008/10/16 10:41:14 | read a packet LOG(INFO) : Plexus Container stopped. DEBUG | wrapper | 2008/10/16 10:41:14 | Got a log message from JVM: Plexus Container stopped. DEBUG | wrapperp | 2008/10/16 10:41:14 | read a packet STOPPED : 0 DEBUG | wrapper | 2008/10/16 10:41:14 | JVM signalled that it was stopped. DEBUG | wrapperp | 2008/10/16 10:41:14 | socket read no code (closed?). DEBUG | wrapperp | 2008/10/16 10:41:15 | server listening on port 32001. DEBUG | wrapper | 2008/10/16 10:41:15 | JVM exited normally. DEBUG | wrapper | 2008/10/16 10:41:15 | Signal trapped. Details: DEBUG | wrapper | 2008/10/16 10:41:15 | signal number=17 (SIGCHLD), source="unknown" DEBUG | wrapper | 2008/10/16 10:41:15 | Received SIGCHLD, checking JVM process status. DEBUG | wrapper | 2008/10/16 10:41:15 | JVM process exited with a code of 1, setting the wrapper exit code to 1. STATUS | wrapper | 2008/10/16 10:41:15 | <-- Wrapper Stopped Looking into the debug log, I see that the sending of the ping is getting stopped. Not the ping-back. I have a Red Hat Enterprise Linux server v 5.1 running inside a virtual machine. The processor load is near zero, there is no process to bother my process. Except the enlarging of the timeout written in the FAQ and http://sourceforge.net/mailarchive/forum.php?thread_name=d049fb4f0809031947t267aa72fhb4d7965a936d811a%40mail.gmail.com&forum_name=wrapper-user I see no solution yet. The latter thread says that the JVM is the problem My jvm is Java HotSpot(TM) Client VM (build 1.5.0_13-b05, mixed mode, sharing) I don't think so that the JVM is the problem... Regards, Tibor |
|
From: Leif M. <le...@ta...> - 2008-10-16 03:21:50
|
Uwe, Great. Glad you have things working. Your initial wrapper.log said that the native file was missing, so the tcnative-1.dll was most likely missing. Cheers, Leif On Thu, Oct 16, 2008 at 12:05 PM, Uwe Lynen <uw...@ly...> wrote: > HURRAY IT WORKS!!!! > The service now starts automatically. I have rebooted the server and the > TOMCAT service started correctly. > > I'm not 100% sure of exactly what I did. The only significant thing I did > was copy the 2 APR files to both the BIN and LIB directories. It is possible > that I may have neglected to copy the openssl.exe file as well as the > tcnative-1.dll file initially. > > > Regards, > Uwe Lynen > > > -----Original Message----- > From: Leif Mortenson [mailto:le...@ta...] > Sent: October 15, 2008 11:43 AM > To: uw...@ly... > Cc: wra...@li... > Subject: Re: [Wrapper-user] Set up Wrapper but can't get it to work > > Uwe, > The log output you sent appears to show that Tomcat is starting up. > There are some warnings, but it says it is started at the bottom of > the log. > > There is a warning about a missing Tomcan JNI (native) library. The > default is to load that from the current working directory. Look in > the tomcat installation for a .dll file. It may be in the Tomcat root > or bin directory. You then want to add library path entries as > appropriate. > > The wrapper.conf file you sent does not appear to have any obvious > problems. If you also posted the echo output you get from the default > tomcat startup script, I may be able to see if anything else is > incorrect. > > Cheers, > Leif > > On Wed, Oct 15, 2008 at 10:38 PM, Uwe Lynen <uw...@ly...> wrote: >> Below is the console output - It works correctly, but when I use the >> installtomcat-nt batch file I get a response that the Tomcat service is >> installed; however, the service won't start. >> I get the error 1053 not responding in a timely fashion. >> >> I have also attached the wrapper.conf file. I added all the additional >> entries from the ECHO output of the catalina batch file. >> >> >> Microsoft Windows [Version 5.2.3790] >> (C) Copyright 1985-2003 Microsoft Corp. >> >> C:\Documents and Settings\Administrator.LYNSERVER>cd tomcat6\bin >> The system cannot find the path specified. >> >> C:\Documents and Settings\Administrator.LYNSERVER>cd \tomcat6\bin >> >> C:\Tomcat6\bin>tomcat >> wrapper | --> Wrapper Started as Console >> wrapper | Java Service Wrapper Community Edition 3.3.1 >> wrapper | Copyright (C) 1999-2008 Tanuki Software, Inc. All Rights >> Reserved. >> >> wrapper | http://wrapper.tanukisoftware.org >> wrapper | >> wrapper | Launching a JVM... >> jvm 1 | WrapperManager: Initializing... >> jvm 1 | 15-Oct-2008 8:33:59 AM >> org.apache.catalina.core.AprLifecycleListener >> init >> jvm 1 | INFO: The APR based Apache Tomcat Native library which allows >> optimal >> performance in production environments was not found on the >> java.library.path: >> ..\lib >> jvm 1 | 15-Oct-2008 8:34:00 AM org.apache.coyote.http11.Http11Protocol >> init >> jvm 1 | INFO: Initializing Coyote HTTP/1.1 on http-80 >> jvm 1 | 15-Oct-2008 8:34:00 AM org.apache.catalina.startup.Catalina > load >> jvm 1 | INFO: Initialization processed in 1147 ms >> jvm 1 | 15-Oct-2008 8:34:00 AM org.apache.catalina.core.StandardService >> start >> >> jvm 1 | INFO: Starting service Catalina >> jvm 1 | 15-Oct-2008 8:34:00 AM org.apache.catalina.core.StandardEngine >> start >> jvm 1 | INFO: Starting Servlet Engine: Apache Tomcat/6.0.16 >> jvm 1 | 15-Oct-2008 8:34:04 AM org.apache.catalina.core.StandardContext >> addAp >> plicationListener >> jvm 1 | INFO: The listener >> "com.liferay.portal.spring.context.PortalContextLo >> aderListener" is already configured for this context. The duplicate >> definition h >> as been ignored. >> jvm 1 | 15-Oct-2008 8:34:04 AM org.apache.catalina.core.StandardContext >> addAp >> plicationListener >> jvm 1 | INFO: The listener >> "com.liferay.portal.servlet.PortalSessionListener" >> is already configured for this context. The duplicate definition has been >> ignor >> ed. >> jvm 1 | 15-Oct-2008 8:34:04 AM org.apache.catalina.core.StandardContext >> addAp >> plicationListener >> jvm 1 | INFO: The listener >> "com.liferay.portal.kernel.servlet.PortletSessionL >> istenerManager" is already configured for this context. The duplicate >> definition >> has been ignored. >> jvm 1 | 15-Oct-2008 8:34:04 AM org.apache.catalina.core.StandardContext >> addAp >> plicationListener >> jvm 1 | INFO: The listener >> "com.liferay.portal.kernel.servlet.SerializableSes >> sionAttributeListener" is already configured for this context. The > duplicate >> def >> inition has been ignored. >> jvm 1 | 15-Oct-2008 8:34:04 AM org.apache.catalina.core.StandardContext >> addAp >> plicationListener >> jvm 1 | INFO: The listener >> "com.liferay.portal.servlet.SharedSessionAttribute >> Listener" is already configured for this context. The duplicate definition >> has b >> een ignored. >> jvm 1 | 15-Oct-2008 8:34:04 AM org.apache.catalina.core.StandardContext >> addAp >> plicationListener >> jvm 1 | INFO: The listener >> "com.sun.portal.container.service.ServiceManagerCo >> ntextListenerImpl" is already configured for this context. The duplicate >> definit >> ion has been ignored. >> jvm 1 | 15-Oct-2008 8:34:04 AM org.apache.catalina.core.StandardContext >> addAp >> plicationListener >> jvm 1 | INFO: The listener >> "com.sun.portal.portletcontainer.impl.PortletConta >> inerContextListenerImpl" is already configured for this context. The >> duplicate d >> efinition has been ignored. >> jvm 1 | Loading >> jar:file:/C:/Tomcat6/webapps/ROOT/WEB-INF/lib/portal-impl.jar >> !/system.properties >> jvm 1 | Loading >> jar:file:/C:/Tomcat6/webapps/ROOT/WEB-INF/lib/portal-impl.jar >> !/portal.properties >> jvm 1 | 08:34:12,625 INFO [DynamicDialect:81] Determining dialect for >> MySQL >> 5 >> jvm 1 | 08:34:12,656 INFO [DynamicDialect:109] Using dialect >> org.hibernate.d >> ialect.MySQLDialect >> jvm 1 | 08:34:15,734 INFO [PortalImpl:228] Portal lib url >> /C:/Tomcat6/webapp >> > s/ROOT/WEB-INF/lib/portal-impl.jar!/com/liferay/portal/util/PortalImpl.class >> jvm 1 | 08:34:15,734 INFO [PortalImpl:263] Portal lib directory >> /C:/Tomcat6/ >> webapps/ROOT/WEB-INF/lib/ >> jvm 1 | Starting Liferay Portal 5.1.1 (Calvin / Build 5101 / August 11, >> 2008) >> >> jvm 1 | 08:34:33,406 INFO [ServerDetector:76] Detected server tomcat >> jvm 1 | 08:34:33,937 INFO [HotDeployUtil:76] Initializing hot deploy >> manager >> 9956648 >> jvm 1 | 08:34:34,218 INFO [AutoDeployDir:76] Auto deploy scanner > started >> for >> C:\Documents and Settings\Administrator.LYNSERVER\liferay\deploy >> jvm 1 | 15-Oct-2008 8:34:37 AM org.apache.catalina.core.StandardContext >> addAp >> plicationListener >> jvm 1 | INFO: The listener >> "com.liferay.portal.kernel.servlet.PortletContextL >> istener" is already configured for this context. The duplicate definition >> has be >> en ignored. >> jvm 1 | 15-Oct-2008 8:34:37 AM org.apache.catalina.core.StandardContext >> addAp >> plicationListener >> jvm 1 | INFO: The listener >> "com.liferay.portal.kernel.servlet.ThemeContextLis >> tener" is already configured for this context. The duplicate definition > has >> been >> ignored. >> jvm 1 | 08:34:37,875 INFO [ThemeHotDeployListener:92] Registering > themes >> for >> liferay-jedi-theme >> jvm 1 | 08:34:39,546 INFO [ThemeHotDeployListener:104] Themes for >> liferay-je >> di-theme registered successfully >> jvm 1 | 08:34:39,562 INFO [ThemeHotDeployListener:92] Registering > themes >> for >> liferay-jedi-theme >> jvm 1 | 08:34:39,609 INFO [ThemeHotDeployListener:104] Themes for >> liferay-je >> di-theme registered successfully >> jvm 1 | 15-Oct-2008 8:34:42 AM org.apache.coyote.http11.Http11Protocol >> start >> jvm 1 | INFO: Starting Coyote HTTP/1.1 on http-80 >> jvm 1 | 15-Oct-2008 8:34:42 AM org.apache.jk.common.ChannelSocket init >> jvm 1 | INFO: JK: ajp13 listening on /0.0.0.0:8009 >> jvm 1 | 15-Oct-2008 8:34:42 AM org.apache.jk.server.JkMain start >> jvm 1 | INFO: Jk running ID=0 time=0/31 config=null >> jvm 1 | 15-Oct-2008 8:34:42 AM org.apache.catalina.startup.Catalina > start >> jvm 1 | INFO: Server startup in 42409 ms >> >> >> Regards, >> Uwe Lynen >> >> >> -----Original Message----- >> From: Leif Mortenson [mailto:le...@ta...] >> Sent: October 15, 2008 1:44 AM >> To: uw...@ly...; wra...@li... >> Subject: Re: [Wrapper-user] Set up Wrapper but can't get it to work >> >> Uwe, >> It looks like you are close to getting things working. The Wrapper is >> actually launching the JVM and your application correctly. But the >> application itself is complaining because it is not receiving the >> correct parameters. This is most likely a simple configuration >> problem. >> >> If you add the following property to your wrapper.conf file, you will >> be able to see the Java command generated by the Wrapper to launch the >> JVM. This should make it more obvious what the problem is. >> wrapper.java.command.loglevel=INFO >> > http://wrapper.tanukisoftware.org/doc/english/prop-java-command-loglevel.htm >> l >> >> If you reply with your wrapper.conf file, I can also take a look at it for >> you. >> >> When testing this, I would suggest first getting it working in a >> command prompt and only then attempt to run as a service. This >> usually makes it much easier to debug because all of the log output is >> visible on the command window. >> >> Cheers, >> Leif >> >> >> On Wed, Oct 15, 2008 at 5:20 AM, Uwe Lynen <uw...@ly...> wrote: >>> Here is the output when I try to run it as a console. Using Tomcat 6 >>> >>> I'm also confused about the server thing. I'm trying to run this on a >>> Windows 2003 server. Do I need to purchase the Standard Edition as a >>> minimum? >>> >>> >>> >>> Microsoft Windows [Version 5.2.3790] >>> >>> (C) Copyright 1985-2003 Microsoft Corp. >>> >>> >>> >>> >>> >>> C:\Tomcat6\bin>tomcat >>> >>> wrapper | --> Wrapper Started as Console >>> >>> wrapper | Java Service Wrapper Community Edition 3.3.1 >>> >>> wrapper | Copyright (C) 1999-2008 Tanuki Software, Inc. All Rights >>> Reserved. >>> >>> >>> >>> wrapper | http://wrapper.tanukisoftware.org >>> >>> wrapper | >>> >>> wrapper | Launching a JVM... >>> >>> jvm 1 | WrapperManager: Initializing... >>> >>> jvm 1 | usage: java org.apache.catalina.startup.Catalina [ -config >>> {pathname} ] [ -nonaming ] { start | stop } >>> >>> jvm 1 | 14-Oct-2008 2:23:38 PM org.apache.catalina.startup.Catalina >>> stopServer >>> >>> jvm 1 | SEVERE: Catalina.stop: >>> >>> jvm 1 | java.net.ConnectException: Connection refused: connect >>> >>> >>> >>> >>> >>> >>> >>> Regards, >>> >>> Uwe Lynen____________________ >>> >>> Tel: 416 690-1973 >>> >>> Fx: 416 690-2434 >>> >>> Cell: 647 272-6740 >>> >>> Personal e-mail: uw...@ly... >>> >>> Office: uw...@p-... >>> >>> >>> >>> ------------------------------------------------------------------------- >>> This SF.Net email is sponsored by the Moblin Your Move Developer's >> challenge >>> Build the coolest Linux based applications with Moblin SDK & win great >>> prizes >>> Grand prize is a trip for two to an Open Source event anywhere in the >> world >>> http://moblin-contest.org/redirect.php?banner_id=100&url=/ >>> _______________________________________________ >>> Wrapper-user mailing list >>> Wra...@li... >>> https://lists.sourceforge.net/lists/listinfo/wrapper-user >>> >>> >> > > > |
|
From: Uwe L. <uw...@ly...> - 2008-10-16 03:05:28
|
HURRAY IT WORKS!!!! The service now starts automatically. I have rebooted the server and the TOMCAT service started correctly. I'm not 100% sure of exactly what I did. The only significant thing I did was copy the 2 APR files to both the BIN and LIB directories. It is possible that I may have neglected to copy the openssl.exe file as well as the tcnative-1.dll file initially. Regards, Uwe Lynen -----Original Message----- From: Leif Mortenson [mailto:le...@ta...] Sent: October 15, 2008 11:43 AM To: uw...@ly... Cc: wra...@li... Subject: Re: [Wrapper-user] Set up Wrapper but can't get it to work Uwe, The log output you sent appears to show that Tomcat is starting up. There are some warnings, but it says it is started at the bottom of the log. There is a warning about a missing Tomcan JNI (native) library. The default is to load that from the current working directory. Look in the tomcat installation for a .dll file. It may be in the Tomcat root or bin directory. You then want to add library path entries as appropriate. The wrapper.conf file you sent does not appear to have any obvious problems. If you also posted the echo output you get from the default tomcat startup script, I may be able to see if anything else is incorrect. Cheers, Leif On Wed, Oct 15, 2008 at 10:38 PM, Uwe Lynen <uw...@ly...> wrote: > Below is the console output - It works correctly, but when I use the > installtomcat-nt batch file I get a response that the Tomcat service is > installed; however, the service won't start. > I get the error 1053 not responding in a timely fashion. > > I have also attached the wrapper.conf file. I added all the additional > entries from the ECHO output of the catalina batch file. > > > Microsoft Windows [Version 5.2.3790] > (C) Copyright 1985-2003 Microsoft Corp. > > C:\Documents and Settings\Administrator.LYNSERVER>cd tomcat6\bin > The system cannot find the path specified. > > C:\Documents and Settings\Administrator.LYNSERVER>cd \tomcat6\bin > > C:\Tomcat6\bin>tomcat > wrapper | --> Wrapper Started as Console > wrapper | Java Service Wrapper Community Edition 3.3.1 > wrapper | Copyright (C) 1999-2008 Tanuki Software, Inc. All Rights > Reserved. > > wrapper | http://wrapper.tanukisoftware.org > wrapper | > wrapper | Launching a JVM... > jvm 1 | WrapperManager: Initializing... > jvm 1 | 15-Oct-2008 8:33:59 AM > org.apache.catalina.core.AprLifecycleListener > init > jvm 1 | INFO: The APR based Apache Tomcat Native library which allows > optimal > performance in production environments was not found on the > java.library.path: > ..\lib > jvm 1 | 15-Oct-2008 8:34:00 AM org.apache.coyote.http11.Http11Protocol > init > jvm 1 | INFO: Initializing Coyote HTTP/1.1 on http-80 > jvm 1 | 15-Oct-2008 8:34:00 AM org.apache.catalina.startup.Catalina load > jvm 1 | INFO: Initialization processed in 1147 ms > jvm 1 | 15-Oct-2008 8:34:00 AM org.apache.catalina.core.StandardService > start > > jvm 1 | INFO: Starting service Catalina > jvm 1 | 15-Oct-2008 8:34:00 AM org.apache.catalina.core.StandardEngine > start > jvm 1 | INFO: Starting Servlet Engine: Apache Tomcat/6.0.16 > jvm 1 | 15-Oct-2008 8:34:04 AM org.apache.catalina.core.StandardContext > addAp > plicationListener > jvm 1 | INFO: The listener > "com.liferay.portal.spring.context.PortalContextLo > aderListener" is already configured for this context. The duplicate > definition h > as been ignored. > jvm 1 | 15-Oct-2008 8:34:04 AM org.apache.catalina.core.StandardContext > addAp > plicationListener > jvm 1 | INFO: The listener > "com.liferay.portal.servlet.PortalSessionListener" > is already configured for this context. The duplicate definition has been > ignor > ed. > jvm 1 | 15-Oct-2008 8:34:04 AM org.apache.catalina.core.StandardContext > addAp > plicationListener > jvm 1 | INFO: The listener > "com.liferay.portal.kernel.servlet.PortletSessionL > istenerManager" is already configured for this context. The duplicate > definition > has been ignored. > jvm 1 | 15-Oct-2008 8:34:04 AM org.apache.catalina.core.StandardContext > addAp > plicationListener > jvm 1 | INFO: The listener > "com.liferay.portal.kernel.servlet.SerializableSes > sionAttributeListener" is already configured for this context. The duplicate > def > inition has been ignored. > jvm 1 | 15-Oct-2008 8:34:04 AM org.apache.catalina.core.StandardContext > addAp > plicationListener > jvm 1 | INFO: The listener > "com.liferay.portal.servlet.SharedSessionAttribute > Listener" is already configured for this context. The duplicate definition > has b > een ignored. > jvm 1 | 15-Oct-2008 8:34:04 AM org.apache.catalina.core.StandardContext > addAp > plicationListener > jvm 1 | INFO: The listener > "com.sun.portal.container.service.ServiceManagerCo > ntextListenerImpl" is already configured for this context. The duplicate > definit > ion has been ignored. > jvm 1 | 15-Oct-2008 8:34:04 AM org.apache.catalina.core.StandardContext > addAp > plicationListener > jvm 1 | INFO: The listener > "com.sun.portal.portletcontainer.impl.PortletConta > inerContextListenerImpl" is already configured for this context. The > duplicate d > efinition has been ignored. > jvm 1 | Loading > jar:file:/C:/Tomcat6/webapps/ROOT/WEB-INF/lib/portal-impl.jar > !/system.properties > jvm 1 | Loading > jar:file:/C:/Tomcat6/webapps/ROOT/WEB-INF/lib/portal-impl.jar > !/portal.properties > jvm 1 | 08:34:12,625 INFO [DynamicDialect:81] Determining dialect for > MySQL > 5 > jvm 1 | 08:34:12,656 INFO [DynamicDialect:109] Using dialect > org.hibernate.d > ialect.MySQLDialect > jvm 1 | 08:34:15,734 INFO [PortalImpl:228] Portal lib url > /C:/Tomcat6/webapp > s/ROOT/WEB-INF/lib/portal-impl.jar!/com/liferay/portal/util/PortalImpl.class > jvm 1 | 08:34:15,734 INFO [PortalImpl:263] Portal lib directory > /C:/Tomcat6/ > webapps/ROOT/WEB-INF/lib/ > jvm 1 | Starting Liferay Portal 5.1.1 (Calvin / Build 5101 / August 11, > 2008) > > jvm 1 | 08:34:33,406 INFO [ServerDetector:76] Detected server tomcat > jvm 1 | 08:34:33,937 INFO [HotDeployUtil:76] Initializing hot deploy > manager > 9956648 > jvm 1 | 08:34:34,218 INFO [AutoDeployDir:76] Auto deploy scanner started > for > C:\Documents and Settings\Administrator.LYNSERVER\liferay\deploy > jvm 1 | 15-Oct-2008 8:34:37 AM org.apache.catalina.core.StandardContext > addAp > plicationListener > jvm 1 | INFO: The listener > "com.liferay.portal.kernel.servlet.PortletContextL > istener" is already configured for this context. The duplicate definition > has be > en ignored. > jvm 1 | 15-Oct-2008 8:34:37 AM org.apache.catalina.core.StandardContext > addAp > plicationListener > jvm 1 | INFO: The listener > "com.liferay.portal.kernel.servlet.ThemeContextLis > tener" is already configured for this context. The duplicate definition has > been > ignored. > jvm 1 | 08:34:37,875 INFO [ThemeHotDeployListener:92] Registering themes > for > liferay-jedi-theme > jvm 1 | 08:34:39,546 INFO [ThemeHotDeployListener:104] Themes for > liferay-je > di-theme registered successfully > jvm 1 | 08:34:39,562 INFO [ThemeHotDeployListener:92] Registering themes > for > liferay-jedi-theme > jvm 1 | 08:34:39,609 INFO [ThemeHotDeployListener:104] Themes for > liferay-je > di-theme registered successfully > jvm 1 | 15-Oct-2008 8:34:42 AM org.apache.coyote.http11.Http11Protocol > start > jvm 1 | INFO: Starting Coyote HTTP/1.1 on http-80 > jvm 1 | 15-Oct-2008 8:34:42 AM org.apache.jk.common.ChannelSocket init > jvm 1 | INFO: JK: ajp13 listening on /0.0.0.0:8009 > jvm 1 | 15-Oct-2008 8:34:42 AM org.apache.jk.server.JkMain start > jvm 1 | INFO: Jk running ID=0 time=0/31 config=null > jvm 1 | 15-Oct-2008 8:34:42 AM org.apache.catalina.startup.Catalina start > jvm 1 | INFO: Server startup in 42409 ms > > > Regards, > Uwe Lynen > > > -----Original Message----- > From: Leif Mortenson [mailto:le...@ta...] > Sent: October 15, 2008 1:44 AM > To: uw...@ly...; wra...@li... > Subject: Re: [Wrapper-user] Set up Wrapper but can't get it to work > > Uwe, > It looks like you are close to getting things working. The Wrapper is > actually launching the JVM and your application correctly. But the > application itself is complaining because it is not receiving the > correct parameters. This is most likely a simple configuration > problem. > > If you add the following property to your wrapper.conf file, you will > be able to see the Java command generated by the Wrapper to launch the > JVM. This should make it more obvious what the problem is. > wrapper.java.command.loglevel=INFO > http://wrapper.tanukisoftware.org/doc/english/prop-java-command-loglevel.htm > l > > If you reply with your wrapper.conf file, I can also take a look at it for > you. > > When testing this, I would suggest first getting it working in a > command prompt and only then attempt to run as a service. This > usually makes it much easier to debug because all of the log output is > visible on the command window. > > Cheers, > Leif > > > On Wed, Oct 15, 2008 at 5:20 AM, Uwe Lynen <uw...@ly...> wrote: >> Here is the output when I try to run it as a console. Using Tomcat 6 >> >> I'm also confused about the server thing. I'm trying to run this on a >> Windows 2003 server. Do I need to purchase the Standard Edition as a >> minimum? >> >> >> >> Microsoft Windows [Version 5.2.3790] >> >> (C) Copyright 1985-2003 Microsoft Corp. >> >> >> >> >> >> C:\Tomcat6\bin>tomcat >> >> wrapper | --> Wrapper Started as Console >> >> wrapper | Java Service Wrapper Community Edition 3.3.1 >> >> wrapper | Copyright (C) 1999-2008 Tanuki Software, Inc. All Rights >> Reserved. >> >> >> >> wrapper | http://wrapper.tanukisoftware.org >> >> wrapper | >> >> wrapper | Launching a JVM... >> >> jvm 1 | WrapperManager: Initializing... >> >> jvm 1 | usage: java org.apache.catalina.startup.Catalina [ -config >> {pathname} ] [ -nonaming ] { start | stop } >> >> jvm 1 | 14-Oct-2008 2:23:38 PM org.apache.catalina.startup.Catalina >> stopServer >> >> jvm 1 | SEVERE: Catalina.stop: >> >> jvm 1 | java.net.ConnectException: Connection refused: connect >> >> >> >> >> >> >> >> Regards, >> >> Uwe Lynen____________________ >> >> Tel: 416 690-1973 >> >> Fx: 416 690-2434 >> >> Cell: 647 272-6740 >> >> Personal e-mail: uw...@ly... >> >> Office: uw...@p-... >> >> >> >> ------------------------------------------------------------------------- >> This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge >> Build the coolest Linux based applications with Moblin SDK & win great >> prizes >> Grand prize is a trip for two to an Open Source event anywhere in the > world >> http://moblin-contest.org/redirect.php?banner_id=100&url=/ >> _______________________________________________ >> Wrapper-user mailing list >> Wra...@li... >> https://lists.sourceforge.net/lists/listinfo/wrapper-user >> >> > |
|
From: Leif M. <le...@ta...> - 2008-10-15 15:50:26
|
Uwe, The log output you sent appears to show that Tomcat is starting up. There are some warnings, but it says it is started at the bottom of the log. There is a warning about a missing Tomcan JNI (native) library. The default is to load that from the current working directory. Look in the tomcat installation for a .dll file. It may be in the Tomcat root or bin directory. You then want to add library path entries as appropriate. The wrapper.conf file you sent does not appear to have any obvious problems. If you also posted the echo output you get from the default tomcat startup script, I may be able to see if anything else is incorrect. Cheers, Leif On Wed, Oct 15, 2008 at 10:38 PM, Uwe Lynen <uw...@ly...> wrote: > Below is the console output - It works correctly, but when I use the > installtomcat-nt batch file I get a response that the Tomcat service is > installed; however, the service won't start. > I get the error 1053 not responding in a timely fashion. > > I have also attached the wrapper.conf file. I added all the additional > entries from the ECHO output of the catalina batch file. > > > Microsoft Windows [Version 5.2.3790] > (C) Copyright 1985-2003 Microsoft Corp. > > C:\Documents and Settings\Administrator.LYNSERVER>cd tomcat6\bin > The system cannot find the path specified. > > C:\Documents and Settings\Administrator.LYNSERVER>cd \tomcat6\bin > > C:\Tomcat6\bin>tomcat > wrapper | --> Wrapper Started as Console > wrapper | Java Service Wrapper Community Edition 3.3.1 > wrapper | Copyright (C) 1999-2008 Tanuki Software, Inc. All Rights > Reserved. > > wrapper | http://wrapper.tanukisoftware.org > wrapper | > wrapper | Launching a JVM... > jvm 1 | WrapperManager: Initializing... > jvm 1 | 15-Oct-2008 8:33:59 AM > org.apache.catalina.core.AprLifecycleListener > init > jvm 1 | INFO: The APR based Apache Tomcat Native library which allows > optimal > performance in production environments was not found on the > java.library.path: > ..\lib > jvm 1 | 15-Oct-2008 8:34:00 AM org.apache.coyote.http11.Http11Protocol > init > jvm 1 | INFO: Initializing Coyote HTTP/1.1 on http-80 > jvm 1 | 15-Oct-2008 8:34:00 AM org.apache.catalina.startup.Catalina load > jvm 1 | INFO: Initialization processed in 1147 ms > jvm 1 | 15-Oct-2008 8:34:00 AM org.apache.catalina.core.StandardService > start > > jvm 1 | INFO: Starting service Catalina > jvm 1 | 15-Oct-2008 8:34:00 AM org.apache.catalina.core.StandardEngine > start > jvm 1 | INFO: Starting Servlet Engine: Apache Tomcat/6.0.16 > jvm 1 | 15-Oct-2008 8:34:04 AM org.apache.catalina.core.StandardContext > addAp > plicationListener > jvm 1 | INFO: The listener > "com.liferay.portal.spring.context.PortalContextLo > aderListener" is already configured for this context. The duplicate > definition h > as been ignored. > jvm 1 | 15-Oct-2008 8:34:04 AM org.apache.catalina.core.StandardContext > addAp > plicationListener > jvm 1 | INFO: The listener > "com.liferay.portal.servlet.PortalSessionListener" > is already configured for this context. The duplicate definition has been > ignor > ed. > jvm 1 | 15-Oct-2008 8:34:04 AM org.apache.catalina.core.StandardContext > addAp > plicationListener > jvm 1 | INFO: The listener > "com.liferay.portal.kernel.servlet.PortletSessionL > istenerManager" is already configured for this context. The duplicate > definition > has been ignored. > jvm 1 | 15-Oct-2008 8:34:04 AM org.apache.catalina.core.StandardContext > addAp > plicationListener > jvm 1 | INFO: The listener > "com.liferay.portal.kernel.servlet.SerializableSes > sionAttributeListener" is already configured for this context. The duplicate > def > inition has been ignored. > jvm 1 | 15-Oct-2008 8:34:04 AM org.apache.catalina.core.StandardContext > addAp > plicationListener > jvm 1 | INFO: The listener > "com.liferay.portal.servlet.SharedSessionAttribute > Listener" is already configured for this context. The duplicate definition > has b > een ignored. > jvm 1 | 15-Oct-2008 8:34:04 AM org.apache.catalina.core.StandardContext > addAp > plicationListener > jvm 1 | INFO: The listener > "com.sun.portal.container.service.ServiceManagerCo > ntextListenerImpl" is already configured for this context. The duplicate > definit > ion has been ignored. > jvm 1 | 15-Oct-2008 8:34:04 AM org.apache.catalina.core.StandardContext > addAp > plicationListener > jvm 1 | INFO: The listener > "com.sun.portal.portletcontainer.impl.PortletConta > inerContextListenerImpl" is already configured for this context. The > duplicate d > efinition has been ignored. > jvm 1 | Loading > jar:file:/C:/Tomcat6/webapps/ROOT/WEB-INF/lib/portal-impl.jar > !/system.properties > jvm 1 | Loading > jar:file:/C:/Tomcat6/webapps/ROOT/WEB-INF/lib/portal-impl.jar > !/portal.properties > jvm 1 | 08:34:12,625 INFO [DynamicDialect:81] Determining dialect for > MySQL > 5 > jvm 1 | 08:34:12,656 INFO [DynamicDialect:109] Using dialect > org.hibernate.d > ialect.MySQLDialect > jvm 1 | 08:34:15,734 INFO [PortalImpl:228] Portal lib url > /C:/Tomcat6/webapp > s/ROOT/WEB-INF/lib/portal-impl.jar!/com/liferay/portal/util/PortalImpl.class > jvm 1 | 08:34:15,734 INFO [PortalImpl:263] Portal lib directory > /C:/Tomcat6/ > webapps/ROOT/WEB-INF/lib/ > jvm 1 | Starting Liferay Portal 5.1.1 (Calvin / Build 5101 / August 11, > 2008) > > jvm 1 | 08:34:33,406 INFO [ServerDetector:76] Detected server tomcat > jvm 1 | 08:34:33,937 INFO [HotDeployUtil:76] Initializing hot deploy > manager > 9956648 > jvm 1 | 08:34:34,218 INFO [AutoDeployDir:76] Auto deploy scanner started > for > C:\Documents and Settings\Administrator.LYNSERVER\liferay\deploy > jvm 1 | 15-Oct-2008 8:34:37 AM org.apache.catalina.core.StandardContext > addAp > plicationListener > jvm 1 | INFO: The listener > "com.liferay.portal.kernel.servlet.PortletContextL > istener" is already configured for this context. The duplicate definition > has be > en ignored. > jvm 1 | 15-Oct-2008 8:34:37 AM org.apache.catalina.core.StandardContext > addAp > plicationListener > jvm 1 | INFO: The listener > "com.liferay.portal.kernel.servlet.ThemeContextLis > tener" is already configured for this context. The duplicate definition has > been > ignored. > jvm 1 | 08:34:37,875 INFO [ThemeHotDeployListener:92] Registering themes > for > liferay-jedi-theme > jvm 1 | 08:34:39,546 INFO [ThemeHotDeployListener:104] Themes for > liferay-je > di-theme registered successfully > jvm 1 | 08:34:39,562 INFO [ThemeHotDeployListener:92] Registering themes > for > liferay-jedi-theme > jvm 1 | 08:34:39,609 INFO [ThemeHotDeployListener:104] Themes for > liferay-je > di-theme registered successfully > jvm 1 | 15-Oct-2008 8:34:42 AM org.apache.coyote.http11.Http11Protocol > start > jvm 1 | INFO: Starting Coyote HTTP/1.1 on http-80 > jvm 1 | 15-Oct-2008 8:34:42 AM org.apache.jk.common.ChannelSocket init > jvm 1 | INFO: JK: ajp13 listening on /0.0.0.0:8009 > jvm 1 | 15-Oct-2008 8:34:42 AM org.apache.jk.server.JkMain start > jvm 1 | INFO: Jk running ID=0 time=0/31 config=null > jvm 1 | 15-Oct-2008 8:34:42 AM org.apache.catalina.startup.Catalina start > jvm 1 | INFO: Server startup in 42409 ms > > > Regards, > Uwe Lynen > > > -----Original Message----- > From: Leif Mortenson [mailto:le...@ta...] > Sent: October 15, 2008 1:44 AM > To: uw...@ly...; wra...@li... > Subject: Re: [Wrapper-user] Set up Wrapper but can't get it to work > > Uwe, > It looks like you are close to getting things working. The Wrapper is > actually launching the JVM and your application correctly. But the > application itself is complaining because it is not receiving the > correct parameters. This is most likely a simple configuration > problem. > > If you add the following property to your wrapper.conf file, you will > be able to see the Java command generated by the Wrapper to launch the > JVM. This should make it more obvious what the problem is. > wrapper.java.command.loglevel=INFO > http://wrapper.tanukisoftware.org/doc/english/prop-java-command-loglevel.htm > l > > If you reply with your wrapper.conf file, I can also take a look at it for > you. > > When testing this, I would suggest first getting it working in a > command prompt and only then attempt to run as a service. This > usually makes it much easier to debug because all of the log output is > visible on the command window. > > Cheers, > Leif > > > On Wed, Oct 15, 2008 at 5:20 AM, Uwe Lynen <uw...@ly...> wrote: >> Here is the output when I try to run it as a console. Using Tomcat 6 >> >> I'm also confused about the server thing. I'm trying to run this on a >> Windows 2003 server. Do I need to purchase the Standard Edition as a >> minimum? >> >> >> >> Microsoft Windows [Version 5.2.3790] >> >> (C) Copyright 1985-2003 Microsoft Corp. >> >> >> >> >> >> C:\Tomcat6\bin>tomcat >> >> wrapper | --> Wrapper Started as Console >> >> wrapper | Java Service Wrapper Community Edition 3.3.1 >> >> wrapper | Copyright (C) 1999-2008 Tanuki Software, Inc. All Rights >> Reserved. >> >> >> >> wrapper | http://wrapper.tanukisoftware.org >> >> wrapper | >> >> wrapper | Launching a JVM... >> >> jvm 1 | WrapperManager: Initializing... >> >> jvm 1 | usage: java org.apache.catalina.startup.Catalina [ -config >> {pathname} ] [ -nonaming ] { start | stop } >> >> jvm 1 | 14-Oct-2008 2:23:38 PM org.apache.catalina.startup.Catalina >> stopServer >> >> jvm 1 | SEVERE: Catalina.stop: >> >> jvm 1 | java.net.ConnectException: Connection refused: connect >> >> >> >> >> >> >> >> Regards, >> >> Uwe Lynen____________________ >> >> Tel: 416 690-1973 >> >> Fx: 416 690-2434 >> >> Cell: 647 272-6740 >> >> Personal e-mail: uw...@ly... >> >> Office: uw...@p-... >> >> >> >> ------------------------------------------------------------------------- >> This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge >> Build the coolest Linux based applications with Moblin SDK & win great >> prizes >> Grand prize is a trip for two to an Open Source event anywhere in the > world >> http://moblin-contest.org/redirect.php?banner_id=100&url=/ >> _______________________________________________ >> Wrapper-user mailing list >> Wra...@li... >> https://lists.sourceforge.net/lists/listinfo/wrapper-user >> >> > |
|
From: Uwe L. <uw...@ly...> - 2008-10-15 13:40:56
|
Below is the console output - It works correctly, but when I use the installtomcat-nt batch file I get a response that the Tomcat service is installed; however, the service won't start. I get the error 1053 not responding in a timely fashion. I have also attached the wrapper.conf file. I added all the additional entries from the ECHO output of the catalina batch file. Microsoft Windows [Version 5.2.3790] (C) Copyright 1985-2003 Microsoft Corp. C:\Documents and Settings\Administrator.LYNSERVER>cd tomcat6\bin The system cannot find the path specified. C:\Documents and Settings\Administrator.LYNSERVER>cd \tomcat6\bin C:\Tomcat6\bin>tomcat wrapper | --> Wrapper Started as Console wrapper | Java Service Wrapper Community Edition 3.3.1 wrapper | Copyright (C) 1999-2008 Tanuki Software, Inc. All Rights Reserved. wrapper | http://wrapper.tanukisoftware.org wrapper | wrapper | Launching a JVM... jvm 1 | WrapperManager: Initializing... jvm 1 | 15-Oct-2008 8:33:59 AM org.apache.catalina.core.AprLifecycleListener init jvm 1 | INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: ..\lib jvm 1 | 15-Oct-2008 8:34:00 AM org.apache.coyote.http11.Http11Protocol init jvm 1 | INFO: Initializing Coyote HTTP/1.1 on http-80 jvm 1 | 15-Oct-2008 8:34:00 AM org.apache.catalina.startup.Catalina load jvm 1 | INFO: Initialization processed in 1147 ms jvm 1 | 15-Oct-2008 8:34:00 AM org.apache.catalina.core.StandardService start jvm 1 | INFO: Starting service Catalina jvm 1 | 15-Oct-2008 8:34:00 AM org.apache.catalina.core.StandardEngine start jvm 1 | INFO: Starting Servlet Engine: Apache Tomcat/6.0.16 jvm 1 | 15-Oct-2008 8:34:04 AM org.apache.catalina.core.StandardContext addAp plicationListener jvm 1 | INFO: The listener "com.liferay.portal.spring.context.PortalContextLo aderListener" is already configured for this context. The duplicate definition h as been ignored. jvm 1 | 15-Oct-2008 8:34:04 AM org.apache.catalina.core.StandardContext addAp plicationListener jvm 1 | INFO: The listener "com.liferay.portal.servlet.PortalSessionListener" is already configured for this context. The duplicate definition has been ignor ed. jvm 1 | 15-Oct-2008 8:34:04 AM org.apache.catalina.core.StandardContext addAp plicationListener jvm 1 | INFO: The listener "com.liferay.portal.kernel.servlet.PortletSessionL istenerManager" is already configured for this context. The duplicate definition has been ignored. jvm 1 | 15-Oct-2008 8:34:04 AM org.apache.catalina.core.StandardContext addAp plicationListener jvm 1 | INFO: The listener "com.liferay.portal.kernel.servlet.SerializableSes sionAttributeListener" is already configured for this context. The duplicate def inition has been ignored. jvm 1 | 15-Oct-2008 8:34:04 AM org.apache.catalina.core.StandardContext addAp plicationListener jvm 1 | INFO: The listener "com.liferay.portal.servlet.SharedSessionAttribute Listener" is already configured for this context. The duplicate definition has b een ignored. jvm 1 | 15-Oct-2008 8:34:04 AM org.apache.catalina.core.StandardContext addAp plicationListener jvm 1 | INFO: The listener "com.sun.portal.container.service.ServiceManagerCo ntextListenerImpl" is already configured for this context. The duplicate definit ion has been ignored. jvm 1 | 15-Oct-2008 8:34:04 AM org.apache.catalina.core.StandardContext addAp plicationListener jvm 1 | INFO: The listener "com.sun.portal.portletcontainer.impl.PortletConta inerContextListenerImpl" is already configured for this context. The duplicate d efinition has been ignored. jvm 1 | Loading jar:file:/C:/Tomcat6/webapps/ROOT/WEB-INF/lib/portal-impl.jar !/system.properties jvm 1 | Loading jar:file:/C:/Tomcat6/webapps/ROOT/WEB-INF/lib/portal-impl.jar !/portal.properties jvm 1 | 08:34:12,625 INFO [DynamicDialect:81] Determining dialect for MySQL 5 jvm 1 | 08:34:12,656 INFO [DynamicDialect:109] Using dialect org.hibernate.d ialect.MySQLDialect jvm 1 | 08:34:15,734 INFO [PortalImpl:228] Portal lib url /C:/Tomcat6/webapp s/ROOT/WEB-INF/lib/portal-impl.jar!/com/liferay/portal/util/PortalImpl.class jvm 1 | 08:34:15,734 INFO [PortalImpl:263] Portal lib directory /C:/Tomcat6/ webapps/ROOT/WEB-INF/lib/ jvm 1 | Starting Liferay Portal 5.1.1 (Calvin / Build 5101 / August 11, 2008) jvm 1 | 08:34:33,406 INFO [ServerDetector:76] Detected server tomcat jvm 1 | 08:34:33,937 INFO [HotDeployUtil:76] Initializing hot deploy manager 9956648 jvm 1 | 08:34:34,218 INFO [AutoDeployDir:76] Auto deploy scanner started for C:\Documents and Settings\Administrator.LYNSERVER\liferay\deploy jvm 1 | 15-Oct-2008 8:34:37 AM org.apache.catalina.core.StandardContext addAp plicationListener jvm 1 | INFO: The listener "com.liferay.portal.kernel.servlet.PortletContextL istener" is already configured for this context. The duplicate definition has be en ignored. jvm 1 | 15-Oct-2008 8:34:37 AM org.apache.catalina.core.StandardContext addAp plicationListener jvm 1 | INFO: The listener "com.liferay.portal.kernel.servlet.ThemeContextLis tener" is already configured for this context. The duplicate definition has been ignored. jvm 1 | 08:34:37,875 INFO [ThemeHotDeployListener:92] Registering themes for liferay-jedi-theme jvm 1 | 08:34:39,546 INFO [ThemeHotDeployListener:104] Themes for liferay-je di-theme registered successfully jvm 1 | 08:34:39,562 INFO [ThemeHotDeployListener:92] Registering themes for liferay-jedi-theme jvm 1 | 08:34:39,609 INFO [ThemeHotDeployListener:104] Themes for liferay-je di-theme registered successfully jvm 1 | 15-Oct-2008 8:34:42 AM org.apache.coyote.http11.Http11Protocol start jvm 1 | INFO: Starting Coyote HTTP/1.1 on http-80 jvm 1 | 15-Oct-2008 8:34:42 AM org.apache.jk.common.ChannelSocket init jvm 1 | INFO: JK: ajp13 listening on /0.0.0.0:8009 jvm 1 | 15-Oct-2008 8:34:42 AM org.apache.jk.server.JkMain start jvm 1 | INFO: Jk running ID=0 time=0/31 config=null jvm 1 | 15-Oct-2008 8:34:42 AM org.apache.catalina.startup.Catalina start jvm 1 | INFO: Server startup in 42409 ms Regards, Uwe Lynen -----Original Message----- From: Leif Mortenson [mailto:le...@ta...] Sent: October 15, 2008 1:44 AM To: uw...@ly...; wra...@li... Subject: Re: [Wrapper-user] Set up Wrapper but can't get it to work Uwe, It looks like you are close to getting things working. The Wrapper is actually launching the JVM and your application correctly. But the application itself is complaining because it is not receiving the correct parameters. This is most likely a simple configuration problem. If you add the following property to your wrapper.conf file, you will be able to see the Java command generated by the Wrapper to launch the JVM. This should make it more obvious what the problem is. wrapper.java.command.loglevel=INFO http://wrapper.tanukisoftware.org/doc/english/prop-java-command-loglevel.htm l If you reply with your wrapper.conf file, I can also take a look at it for you. When testing this, I would suggest first getting it working in a command prompt and only then attempt to run as a service. This usually makes it much easier to debug because all of the log output is visible on the command window. Cheers, Leif On Wed, Oct 15, 2008 at 5:20 AM, Uwe Lynen <uw...@ly...> wrote: > Here is the output when I try to run it as a console. Using Tomcat 6 > > I'm also confused about the server thing. I'm trying to run this on a > Windows 2003 server. Do I need to purchase the Standard Edition as a > minimum? > > > > Microsoft Windows [Version 5.2.3790] > > (C) Copyright 1985-2003 Microsoft Corp. > > > > > > C:\Tomcat6\bin>tomcat > > wrapper | --> Wrapper Started as Console > > wrapper | Java Service Wrapper Community Edition 3.3.1 > > wrapper | Copyright (C) 1999-2008 Tanuki Software, Inc. All Rights > Reserved. > > > > wrapper | http://wrapper.tanukisoftware.org > > wrapper | > > wrapper | Launching a JVM... > > jvm 1 | WrapperManager: Initializing... > > jvm 1 | usage: java org.apache.catalina.startup.Catalina [ -config > {pathname} ] [ -nonaming ] { start | stop } > > jvm 1 | 14-Oct-2008 2:23:38 PM org.apache.catalina.startup.Catalina > stopServer > > jvm 1 | SEVERE: Catalina.stop: > > jvm 1 | java.net.ConnectException: Connection refused: connect > > > > > > > > Regards, > > Uwe Lynen____________________ > > Tel: 416 690-1973 > > Fx: 416 690-2434 > > Cell: 647 272-6740 > > Personal e-mail: uw...@ly... > > Office: uw...@p-... > > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Wrapper-user mailing list > Wra...@li... > https://lists.sourceforge.net/lists/listinfo/wrapper-user > > |
|
From: Leif M. <le...@ta...> - 2008-10-15 05:47:01
|
Uwe, I replied to your "Set up Wrapper but can't get it to work" post. This looks like the same question. I suggest getting things working in a Command prompt before trying to run as a service. It makes it much easier to debug any problems and 90% of problems will show up in console mode as well. Cheers, Leif On Wed, Oct 15, 2008 at 9:30 AM, Uwe Lynen <uw...@ly...> wrote: > I had a couple of typos in the config file. > > The app now works running in a console; however, even though I've added the > .waitforstartmain=true the service won't start. > > Wrapper reports the service as installed but when trying to start it you get > error 1053….the service did not respond to the start…… > > > > > > Regards, > > Uwe Lynen____________________ > > Tel: 416 690-1973 > > Fx: 416 690-2434 > > Cell: 647 272-6740 > > Personal e-mail: uw...@ly... > > Office: uw...@p-... > > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Wrapper-user mailing list > Wra...@li... > https://lists.sourceforge.net/lists/listinfo/wrapper-user > > |
|
From: Leif M. <le...@ta...> - 2008-10-15 05:43:50
|
Uwe, It looks like you are close to getting things working. The Wrapper is actually launching the JVM and your application correctly. But the application itself is complaining because it is not receiving the correct parameters. This is most likely a simple configuration problem. If you add the following property to your wrapper.conf file, you will be able to see the Java command generated by the Wrapper to launch the JVM. This should make it more obvious what the problem is. wrapper.java.command.loglevel=INFO http://wrapper.tanukisoftware.org/doc/english/prop-java-command-loglevel.html If you reply with your wrapper.conf file, I can also take a look at it for you. When testing this, I would suggest first getting it working in a command prompt and only then attempt to run as a service. This usually makes it much easier to debug because all of the log output is visible on the command window. Cheers, Leif On Wed, Oct 15, 2008 at 5:20 AM, Uwe Lynen <uw...@ly...> wrote: > Here is the output when I try to run it as a console. Using Tomcat 6 > > I'm also confused about the server thing. I'm trying to run this on a > Windows 2003 server. Do I need to purchase the Standard Edition as a > minimum? > > > > Microsoft Windows [Version 5.2.3790] > > (C) Copyright 1985-2003 Microsoft Corp. > > > > > > C:\Tomcat6\bin>tomcat > > wrapper | --> Wrapper Started as Console > > wrapper | Java Service Wrapper Community Edition 3.3.1 > > wrapper | Copyright (C) 1999-2008 Tanuki Software, Inc. All Rights > Reserved. > > > > wrapper | http://wrapper.tanukisoftware.org > > wrapper | > > wrapper | Launching a JVM... > > jvm 1 | WrapperManager: Initializing... > > jvm 1 | usage: java org.apache.catalina.startup.Catalina [ -config > {pathname} ] [ -nonaming ] { start | stop } > > jvm 1 | 14-Oct-2008 2:23:38 PM org.apache.catalina.startup.Catalina > stopServer > > jvm 1 | SEVERE: Catalina.stop: > > jvm 1 | java.net.ConnectException: Connection refused: connect > > > > > > > > Regards, > > Uwe Lynen____________________ > > Tel: 416 690-1973 > > Fx: 416 690-2434 > > Cell: 647 272-6740 > > Personal e-mail: uw...@ly... > > Office: uw...@p-... > > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Wrapper-user mailing list > Wra...@li... > https://lists.sourceforge.net/lists/listinfo/wrapper-user > > |
|
From: Uwe L. <uw...@ly...> - 2008-10-15 00:30:46
|
I had a couple of typos in the config file. The app now works running in a console; however, even though I've added the .waitforstartmain=true the service won't start. Wrapper reports the service as installed but when trying to start it you get error 1053..the service did not respond to the start.. Regards, Uwe Lynen____________________ Tel: 416 690-1973 Fx: 416 690-2434 Cell: 647 272-6740 Personal e-mail: uw...@ly... Office: uw...@p-... |
|
From: Uwe L. <uw...@ly...> - 2008-10-14 21:21:34
|
Here is the output when I try to run it as a console. Using Tomcat 6 I'm also confused about the server thing. I'm trying to run this on a Windows 2003 server. Do I need to purchase the Standard Edition as a minimum? Microsoft Windows [Version 5.2.3790] (C) Copyright 1985-2003 Microsoft Corp. C:\Tomcat6\bin>tomcat wrapper | --> Wrapper Started as Console wrapper | Java Service Wrapper Community Edition 3.3.1 wrapper | Copyright (C) 1999-2008 Tanuki Software, Inc. All Rights Reserved. wrapper | http://wrapper.tanukisoftware.org wrapper | wrapper | Launching a JVM... jvm 1 | WrapperManager: Initializing... jvm 1 | usage: java org.apache.catalina.startup.Catalina [ -config {pathname} ] [ -nonaming ] { start | stop } jvm 1 | 14-Oct-2008 2:23:38 PM org.apache.catalina.startup.Catalina stopServer jvm 1 | SEVERE: Catalina.stop: jvm 1 | java.net.ConnectException: Connection refused: connect Regards, Uwe Lynen____________________ Tel: 416 690-1973 Fx: 416 690-2434 Cell: 647 272-6740 Personal e-mail: uw...@ly... Office: uw...@p-... |
|
From: Stas O. <sta...@gm...> - 2008-10-14 20:45:39
|
Thanks for the update, Leif. Stas. 2008/10/14 Leif Mortenson <le...@ta...> > Stas, > Currently, the Wrapper is not doing anything special with the process > priorities. It appears that the OS launches all "top-level" processes > at the same level. Ie the Wrapper, or Java when run standalone. Then > child processes are given a lower priority. When Java is run under > the Wrapper, this means that it is getting a slightly lower priority > than it would if it was run standalone. > > We are looking into options to work around this. > > Cheers, > Leif > > On Mon, Oct 6, 2008 at 4:00 AM, Stas Oskin <sta...@gm...> wrote: > > Hi Lee. > > > > You mean that the wrapper actually gets a higher priority then the JVM it > > launches? > > > > Regards. > > > > 2008/10/5 Leif Mortenson <le...@ta...> > >> > >> Stas, > >> I was able to to check the default priorities using the following > command: > >> ps -eo pid,tid,class,rtprio,ni,pri,psr,pcpu,stat,wchan:14,comm > >> > >> On Ubuntu, the Wrapper is defaulting to a nice level of 0 and a > >> real-time priority of 24, but the JVM is set to a nice level of 0 and > >> a real-time priority of 19. > >> According to the nice manual however, the range of possible values is > >> -20 (most favorable) to 19 (least favorable) > >> > >> If I set the PRIORITY in the script to 5 then the nice levels both get > >> set to 5, but the real-time priorities are 19 and 15 respectively. > >> This is actually lower priority. > >> Setting priorities to a value higher than 0 requires root privilege. > >> > >> If do so and set it to -5, then the nice levels are both -5, and the > >> real-time priorities are 29 and 26 respectively. > >> > >> So quick answer, the default is 0. I need to look into the real-time > >> priority more on my end. you are probable seeing the lower priority > >> do to this difference in real-time priorities between the top level > >> wrapper process and its child java process. I had not noticed this > >> before. > >> > >> Cheers, > >> Leif > >> > >> On Wed, Oct 1, 2008 at 11:30 PM, Stas Oskin <sta...@gm...> > wrote: > >> > Hi Leif. > >> > > >> > Thanks, I see. > >> > > >> > Do you have any idea how to find current priority level (so I could > >> > increase > >> > 1 by 1). > >> > > >> > Regards. > >> > > >> > 2008/10/1 Leif Mortenson <le...@ta...> > >> >> > >> >> Stas, > >> >> On linux, open your wrapper shell script in an editor and modify the > >> >> PRIORITY value found in the settings section towards the top. These > >> >> are standard nice levels, so look at "man nice" for details. > >> >> > >> >> Cheers, > >> >> Leif > >> >> > >> >> On Wed, Oct 1, 2008 at 9:44 PM, Stas Oskin <sta...@gm...> > >> >> wrote: > >> >> > Hi Leif. > >> >> > > >> >> > 2008/10/1 Leif Mortenson <le...@ta...> > >> >> >> > >> >> >> Stas, > >> >> >> That's great news. The memory leaks were in the Java code? What > >> >> >> are > >> >> >> you maximum memory settings set to? Are they low enough that the > >> >> >> entire JVM will fit in memory without any swapping along side the > OS > >> >> >> and other apps being used? Java performs very poorly when its > >> >> >> memory > >> >> >> is being swapped out. (Not a Wrapper issue) > >> >> > > >> >> > The leaks were in JNI code and quickly took the whole memory. This > >> >> > caused > >> >> > Java to swap. > >> >> > > >> >> >> > >> >> >> About the CPU, I reread this thread but I don't think you ever > told > >> >> >> me > >> >> >> what platform you are running on. That will make a big > difference. > >> >> >> Under UNIX, there is a setting in the shell script which allows > you > >> >> >> to > >> >> >> specify a "nice" level to control the priority. > >> >> > > >> >> > We use Linux - CentOS distro. What setting we should look to? > >> >> > > >> >> >> > >> >> >> On Windows, it is done using the > >> >> >> wrapper.ntservice.process_priority=NORMAL property. Please be > sure > >> >> >> to > >> >> >> read the warnings in the documentation. > >> >> >> > >> >> >> > >> >> >> > >> >> >> > http://wrapper.tanukisoftware.org/doc/english/prop-ntservice-process-priority.html > >> >> >> > >> >> >> Normally on most platforms, the OS gives priority to the Windowing > >> >> >> system and those processes to make them more responsive. That is > >> >> >> why > >> >> >> on UNIX, it is good to run servers in a headless environment. > >> >> > > >> >> > Hmm, we running the server without any X installed, strictly via > >> >> > console > >> >> > - > >> >> > is this what you call headless? > >> >> > > >> >> > Actually, this is the main app the server was targeted to, so we > >> >> > indeed > >> >> > prefer to give it all the priority we can (without hanging the OS > of > >> >> > course). > >> >> > > >> >> > Regards. > >> >> > > >> >> > > >> >> > > >> >> > > ------------------------------------------------------------------------- > >> >> > This SF.Net email is sponsored by the Moblin Your Move Developer's > >> >> > challenge > >> >> > Build the coolest Linux based applications with Moblin SDK & win > >> >> > great > >> >> > prizes > >> >> > Grand prize is a trip for two to an Open Source event anywhere in > the > >> >> > world > >> >> > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > >> >> > _______________________________________________ > >> >> > Wrapper-user mailing list > >> >> > Wra...@li... > >> >> > https://lists.sourceforge.net/lists/listinfo/wrapper-user > >> >> > > >> >> > > >> >> > >> >> > >> >> > ------------------------------------------------------------------------- > >> >> This SF.Net email is sponsored by the Moblin Your Move Developer's > >> >> challenge > >> >> Build the coolest Linux based applications with Moblin SDK & win > great > >> >> prizes > >> >> Grand prize is a trip for two to an Open Source event anywhere in the > >> >> world > >> >> http://moblin-contest.org/redirect.php?banner_id=100&url=/ > >> >> _______________________________________________ > >> >> Wrapper-user mailing list > >> >> Wra...@li... > >> >> https://lists.sourceforge.net/lists/listinfo/wrapper-user > >> > > >> > > >> > > ------------------------------------------------------------------------- > >> > This SF.Net email is sponsored by the Moblin Your Move Developer's > >> > challenge > >> > Build the coolest Linux based applications with Moblin SDK & win great > >> > prizes > >> > Grand prize is a trip for two to an Open Source event anywhere in the > >> > world > >> > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > >> > _______________________________________________ > >> > Wrapper-user mailing list > >> > Wra...@li... > >> > https://lists.sourceforge.net/lists/listinfo/wrapper-user > >> > > >> > > >> > >> > ------------------------------------------------------------------------- > >> This SF.Net email is sponsored by the Moblin Your Move Developer's > >> challenge > >> Build the coolest Linux based applications with Moblin SDK & win great > >> prizes > >> Grand prize is a trip for two to an Open Source event anywhere in the > >> world > >> http://moblin-contest.org/redirect.php?banner_id=100&url=/ > >> _______________________________________________ > >> Wrapper-user mailing list > >> Wra...@li... > >> https://lists.sourceforge.net/lists/listinfo/wrapper-user > > > > ------------------------------------------------------------------------- > > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > > Build the coolest Linux based applications with Moblin SDK & win great > > prizes > > Grand prize is a trip for two to an Open Source event anywhere in the > world > > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > > _______________________________________________ > > Wrapper-user mailing list > > Wra...@li... > > https://lists.sourceforge.net/lists/listinfo/wrapper-user > > > > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Wrapper-user mailing list > Wra...@li... > https://lists.sourceforge.net/lists/listinfo/wrapper-user > |
|
From: Leif M. <le...@ta...> - 2008-10-14 06:52:47
|
Stas, Currently, the Wrapper is not doing anything special with the process priorities. It appears that the OS launches all "top-level" processes at the same level. Ie the Wrapper, or Java when run standalone. Then child processes are given a lower priority. When Java is run under the Wrapper, this means that it is getting a slightly lower priority than it would if it was run standalone. We are looking into options to work around this. Cheers, Leif On Mon, Oct 6, 2008 at 4:00 AM, Stas Oskin <sta...@gm...> wrote: > Hi Lee. > > You mean that the wrapper actually gets a higher priority then the JVM it > launches? > > Regards. > > 2008/10/5 Leif Mortenson <le...@ta...> >> >> Stas, >> I was able to to check the default priorities using the following command: >> ps -eo pid,tid,class,rtprio,ni,pri,psr,pcpu,stat,wchan:14,comm >> >> On Ubuntu, the Wrapper is defaulting to a nice level of 0 and a >> real-time priority of 24, but the JVM is set to a nice level of 0 and >> a real-time priority of 19. >> According to the nice manual however, the range of possible values is >> -20 (most favorable) to 19 (least favorable) >> >> If I set the PRIORITY in the script to 5 then the nice levels both get >> set to 5, but the real-time priorities are 19 and 15 respectively. >> This is actually lower priority. >> Setting priorities to a value higher than 0 requires root privilege. >> >> If do so and set it to -5, then the nice levels are both -5, and the >> real-time priorities are 29 and 26 respectively. >> >> So quick answer, the default is 0. I need to look into the real-time >> priority more on my end. you are probable seeing the lower priority >> do to this difference in real-time priorities between the top level >> wrapper process and its child java process. I had not noticed this >> before. >> >> Cheers, >> Leif >> >> On Wed, Oct 1, 2008 at 11:30 PM, Stas Oskin <sta...@gm...> wrote: >> > Hi Leif. >> > >> > Thanks, I see. >> > >> > Do you have any idea how to find current priority level (so I could >> > increase >> > 1 by 1). >> > >> > Regards. >> > >> > 2008/10/1 Leif Mortenson <le...@ta...> >> >> >> >> Stas, >> >> On linux, open your wrapper shell script in an editor and modify the >> >> PRIORITY value found in the settings section towards the top. These >> >> are standard nice levels, so look at "man nice" for details. >> >> >> >> Cheers, >> >> Leif >> >> >> >> On Wed, Oct 1, 2008 at 9:44 PM, Stas Oskin <sta...@gm...> >> >> wrote: >> >> > Hi Leif. >> >> > >> >> > 2008/10/1 Leif Mortenson <le...@ta...> >> >> >> >> >> >> Stas, >> >> >> That's great news. The memory leaks were in the Java code? What >> >> >> are >> >> >> you maximum memory settings set to? Are they low enough that the >> >> >> entire JVM will fit in memory without any swapping along side the OS >> >> >> and other apps being used? Java performs very poorly when its >> >> >> memory >> >> >> is being swapped out. (Not a Wrapper issue) >> >> > >> >> > The leaks were in JNI code and quickly took the whole memory. This >> >> > caused >> >> > Java to swap. >> >> > >> >> >> >> >> >> About the CPU, I reread this thread but I don't think you ever told >> >> >> me >> >> >> what platform you are running on. That will make a big difference. >> >> >> Under UNIX, there is a setting in the shell script which allows you >> >> >> to >> >> >> specify a "nice" level to control the priority. >> >> > >> >> > We use Linux - CentOS distro. What setting we should look to? >> >> > >> >> >> >> >> >> On Windows, it is done using the >> >> >> wrapper.ntservice.process_priority=NORMAL property. Please be sure >> >> >> to >> >> >> read the warnings in the documentation. >> >> >> >> >> >> >> >> >> >> >> >> http://wrapper.tanukisoftware.org/doc/english/prop-ntservice-process-priority.html >> >> >> >> >> >> Normally on most platforms, the OS gives priority to the Windowing >> >> >> system and those processes to make them more responsive. That is >> >> >> why >> >> >> on UNIX, it is good to run servers in a headless environment. >> >> > >> >> > Hmm, we running the server without any X installed, strictly via >> >> > console >> >> > - >> >> > is this what you call headless? >> >> > >> >> > Actually, this is the main app the server was targeted to, so we >> >> > indeed >> >> > prefer to give it all the priority we can (without hanging the OS of >> >> > course). >> >> > >> >> > Regards. >> >> > >> >> > >> >> > >> >> > ------------------------------------------------------------------------- >> >> > This SF.Net email is sponsored by the Moblin Your Move Developer's >> >> > challenge >> >> > Build the coolest Linux based applications with Moblin SDK & win >> >> > great >> >> > prizes >> >> > Grand prize is a trip for two to an Open Source event anywhere in the >> >> > world >> >> > http://moblin-contest.org/redirect.php?banner_id=100&url=/ >> >> > _______________________________________________ >> >> > Wrapper-user mailing list >> >> > Wra...@li... >> >> > https://lists.sourceforge.net/lists/listinfo/wrapper-user >> >> > >> >> > >> >> >> >> >> >> ------------------------------------------------------------------------- >> >> This SF.Net email is sponsored by the Moblin Your Move Developer's >> >> challenge >> >> Build the coolest Linux based applications with Moblin SDK & win great >> >> prizes >> >> Grand prize is a trip for two to an Open Source event anywhere in the >> >> world >> >> http://moblin-contest.org/redirect.php?banner_id=100&url=/ >> >> _______________________________________________ >> >> Wrapper-user mailing list >> >> Wra...@li... >> >> https://lists.sourceforge.net/lists/listinfo/wrapper-user >> > >> > >> > ------------------------------------------------------------------------- >> > This SF.Net email is sponsored by the Moblin Your Move Developer's >> > challenge >> > Build the coolest Linux based applications with Moblin SDK & win great >> > prizes >> > Grand prize is a trip for two to an Open Source event anywhere in the >> > world >> > http://moblin-contest.org/redirect.php?banner_id=100&url=/ >> > _______________________________________________ >> > Wrapper-user mailing list >> > Wra...@li... >> > https://lists.sourceforge.net/lists/listinfo/wrapper-user >> > >> > >> >> ------------------------------------------------------------------------- >> This SF.Net email is sponsored by the Moblin Your Move Developer's >> challenge >> Build the coolest Linux based applications with Moblin SDK & win great >> prizes >> Grand prize is a trip for two to an Open Source event anywhere in the >> world >> http://moblin-contest.org/redirect.php?banner_id=100&url=/ >> _______________________________________________ >> Wrapper-user mailing list >> Wra...@li... >> https://lists.sourceforge.net/lists/listinfo/wrapper-user > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Wrapper-user mailing list > Wra...@li... > https://lists.sourceforge.net/lists/listinfo/wrapper-user > > |
|
From: Stas O. <sta...@gm...> - 2008-10-10 09:18:07
|
Hi Leif. Any comment on the below? Regards. ---------- Forwarded message ---------- From: Stas Oskin <sta...@gm...> Date: 2008/10/5 Subject: Re: [Wrapper-user] Jar works with console, throws exceptions when launched via start? To: wra...@li... Hi Lee. You mean that the wrapper actually gets a higher priority then the JVM it launches? Regards. 2008/10/5 Leif Mortenson <le...@ta...> Stas, > I was able to to check the default priorities using the following command: > ps -eo pid,tid,class,rtprio,ni,pri,psr,pcpu,stat,wchan:14,comm > > On Ubuntu, the Wrapper is defaulting to a nice level of 0 and a > real-time priority of 24, but the JVM is set to a nice level of 0 and > a real-time priority of 19. > According to the nice manual however, the range of possible values is > -20 (most favorable) to 19 (least favorable) > > If I set the PRIORITY in the script to 5 then the nice levels both get > set to 5, but the real-time priorities are 19 and 15 respectively. > This is actually lower priority. > Setting priorities to a value higher than 0 requires root privilege. > > If do so and set it to -5, then the nice levels are both -5, and the > real-time priorities are 29 and 26 respectively. > > So quick answer, the default is 0. I need to look into the real-time > priority more on my end. you are probable seeing the lower priority > do to this difference in real-time priorities between the top level > wrapper process and its child java process. I had not noticed this > before. > > Cheers, > Leif > > On Wed, Oct 1, 2008 at 11:30 PM, Stas Oskin <sta...@gm...> wrote: > > Hi Leif. > > > > Thanks, I see. > > > > Do you have any idea how to find current priority level (so I could > increase > > 1 by 1). > > > > Regards. > > > > 2008/10/1 Leif Mortenson <le...@ta...> > >> > >> Stas, > >> On linux, open your wrapper shell script in an editor and modify the > >> PRIORITY value found in the settings section towards the top. These > >> are standard nice levels, so look at "man nice" for details. > >> > >> Cheers, > >> Leif > >> > >> On Wed, Oct 1, 2008 at 9:44 PM, Stas Oskin <sta...@gm...> > wrote: > >> > Hi Leif. > >> > > >> > 2008/10/1 Leif Mortenson <le...@ta...> > >> >> > >> >> Stas, > >> >> That's great news. The memory leaks were in the Java code? What > are > >> >> you maximum memory settings set to? Are they low enough that the > >> >> entire JVM will fit in memory without any swapping along side the OS > >> >> and other apps being used? Java performs very poorly when its memory > >> >> is being swapped out. (Not a Wrapper issue) > >> > > >> > The leaks were in JNI code and quickly took the whole memory. This > >> > caused > >> > Java to swap. > >> > > >> >> > >> >> About the CPU, I reread this thread but I don't think you ever told > me > >> >> what platform you are running on. That will make a big difference. > >> >> Under UNIX, there is a setting in the shell script which allows you > to > >> >> specify a "nice" level to control the priority. > >> > > >> > We use Linux - CentOS distro. What setting we should look to? > >> > > >> >> > >> >> On Windows, it is done using the > >> >> wrapper.ntservice.process_priority=NORMAL property. Please be sure > to > >> >> read the warnings in the documentation. > >> >> > >> >> > >> >> > http://wrapper.tanukisoftware.org/doc/english/prop-ntservice-process-priority.html > >> >> > >> >> Normally on most platforms, the OS gives priority to the Windowing > >> >> system and those processes to make them more responsive. That is why > >> >> on UNIX, it is good to run servers in a headless environment. > >> > > >> > Hmm, we running the server without any X installed, strictly via > console > >> > - > >> > is this what you call headless? > >> > > >> > Actually, this is the main app the server was targeted to, so we > indeed > >> > prefer to give it all the priority we can (without hanging the OS of > >> > course). > >> > > >> > Regards. > >> > > >> > > >> > > ------------------------------------------------------------------------- > >> > This SF.Net email is sponsored by the Moblin Your Move Developer's > >> > challenge > >> > Build the coolest Linux based applications with Moblin SDK & win great > >> > prizes > >> > Grand prize is a trip for two to an Open Source event anywhere in the > >> > world > >> > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > >> > _______________________________________________ > >> > Wrapper-user mailing list > >> > Wra...@li... > >> > https://lists.sourceforge.net/lists/listinfo/wrapper-user > >> > > >> > > >> > >> > ------------------------------------------------------------------------- > >> This SF.Net email is sponsored by the Moblin Your Move Developer's > >> challenge > >> Build the coolest Linux based applications with Moblin SDK & win great > >> prizes > >> Grand prize is a trip for two to an Open Source event anywhere in the > >> world > >> http://moblin-contest.org/redirect.php?banner_id=100&url=/ > >> _______________________________________________ > >> Wrapper-user mailing list > >> Wra...@li... > >> https://lists.sourceforge.net/lists/listinfo/wrapper-user > > > > ------------------------------------------------------------------------- > > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > > Build the coolest Linux based applications with Moblin SDK & win great > > prizes > > Grand prize is a trip for two to an Open Source event anywhere in the > world > > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > > _______________________________________________ > > Wrapper-user mailing list > > Wra...@li... > > https://lists.sourceforge.net/lists/listinfo/wrapper-user > > > > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Wrapper-user mailing list > Wra...@li... > https://lists.sourceforge.net/lists/listinfo/wrapper-user > |
|
From: Stas O. <sta...@gm...> - 2008-10-05 19:04:15
|
Hi Lee. You mean that the wrapper actually gets a higher priority then the JVM it launches? Regards. 2008/10/5 Leif Mortenson <le...@ta...> > Stas, > I was able to to check the default priorities using the following command: > ps -eo pid,tid,class,rtprio,ni,pri,psr,pcpu,stat,wchan:14,comm > > On Ubuntu, the Wrapper is defaulting to a nice level of 0 and a > real-time priority of 24, but the JVM is set to a nice level of 0 and > a real-time priority of 19. > According to the nice manual however, the range of possible values is > -20 (most favorable) to 19 (least favorable) > > If I set the PRIORITY in the script to 5 then the nice levels both get > set to 5, but the real-time priorities are 19 and 15 respectively. > This is actually lower priority. > Setting priorities to a value higher than 0 requires root privilege. > > If do so and set it to -5, then the nice levels are both -5, and the > real-time priorities are 29 and 26 respectively. > > So quick answer, the default is 0. I need to look into the real-time > priority more on my end. you are probable seeing the lower priority > do to this difference in real-time priorities between the top level > wrapper process and its child java process. I had not noticed this > before. > > Cheers, > Leif > > On Wed, Oct 1, 2008 at 11:30 PM, Stas Oskin <sta...@gm...> wrote: > > Hi Leif. > > > > Thanks, I see. > > > > Do you have any idea how to find current priority level (so I could > increase > > 1 by 1). > > > > Regards. > > > > 2008/10/1 Leif Mortenson <le...@ta...> > >> > >> Stas, > >> On linux, open your wrapper shell script in an editor and modify the > >> PRIORITY value found in the settings section towards the top. These > >> are standard nice levels, so look at "man nice" for details. > >> > >> Cheers, > >> Leif > >> > >> On Wed, Oct 1, 2008 at 9:44 PM, Stas Oskin <sta...@gm...> > wrote: > >> > Hi Leif. > >> > > >> > 2008/10/1 Leif Mortenson <le...@ta...> > >> >> > >> >> Stas, > >> >> That's great news. The memory leaks were in the Java code? What > are > >> >> you maximum memory settings set to? Are they low enough that the > >> >> entire JVM will fit in memory without any swapping along side the OS > >> >> and other apps being used? Java performs very poorly when its memory > >> >> is being swapped out. (Not a Wrapper issue) > >> > > >> > The leaks were in JNI code and quickly took the whole memory. This > >> > caused > >> > Java to swap. > >> > > >> >> > >> >> About the CPU, I reread this thread but I don't think you ever told > me > >> >> what platform you are running on. That will make a big difference. > >> >> Under UNIX, there is a setting in the shell script which allows you > to > >> >> specify a "nice" level to control the priority. > >> > > >> > We use Linux - CentOS distro. What setting we should look to? > >> > > >> >> > >> >> On Windows, it is done using the > >> >> wrapper.ntservice.process_priority=NORMAL property. Please be sure > to > >> >> read the warnings in the documentation. > >> >> > >> >> > >> >> > http://wrapper.tanukisoftware.org/doc/english/prop-ntservice-process-priority.html > >> >> > >> >> Normally on most platforms, the OS gives priority to the Windowing > >> >> system and those processes to make them more responsive. That is why > >> >> on UNIX, it is good to run servers in a headless environment. > >> > > >> > Hmm, we running the server without any X installed, strictly via > console > >> > - > >> > is this what you call headless? > >> > > >> > Actually, this is the main app the server was targeted to, so we > indeed > >> > prefer to give it all the priority we can (without hanging the OS of > >> > course). > >> > > >> > Regards. > >> > > >> > > >> > > ------------------------------------------------------------------------- > >> > This SF.Net email is sponsored by the Moblin Your Move Developer's > >> > challenge > >> > Build the coolest Linux based applications with Moblin SDK & win great > >> > prizes > >> > Grand prize is a trip for two to an Open Source event anywhere in the > >> > world > >> > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > >> > _______________________________________________ > >> > Wrapper-user mailing list > >> > Wra...@li... > >> > https://lists.sourceforge.net/lists/listinfo/wrapper-user > >> > > >> > > >> > >> > ------------------------------------------------------------------------- > >> This SF.Net email is sponsored by the Moblin Your Move Developer's > >> challenge > >> Build the coolest Linux based applications with Moblin SDK & win great > >> prizes > >> Grand prize is a trip for two to an Open Source event anywhere in the > >> world > >> http://moblin-contest.org/redirect.php?banner_id=100&url=/ > >> _______________________________________________ > >> Wrapper-user mailing list > >> Wra...@li... > >> https://lists.sourceforge.net/lists/listinfo/wrapper-user > > > > ------------------------------------------------------------------------- > > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > > Build the coolest Linux based applications with Moblin SDK & win great > > prizes > > Grand prize is a trip for two to an Open Source event anywhere in the > world > > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > > _______________________________________________ > > Wrapper-user mailing list > > Wra...@li... > > https://lists.sourceforge.net/lists/listinfo/wrapper-user > > > > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Wrapper-user mailing list > Wra...@li... > https://lists.sourceforge.net/lists/listinfo/wrapper-user > |
|
From: Stas O. <sta...@gm...> - 2008-10-05 19:02:24
|
Sorry, Leif. ---------- Forwarded message ---------- From: Stas Oskin <sta...@gm...> Date: 2008/10/5 Subject: Re: [Wrapper-user] Jar works with console, throws exceptions when launched via start? To: wra...@li... Hi Lee. You mean that the wrapper actually gets a higher priority then the JVM it launches? Regards. 2008/10/5 Leif Mortenson <le...@ta...> Stas, > I was able to to check the default priorities using the following command: > ps -eo pid,tid,class,rtprio,ni,pri,psr,pcpu,stat,wchan:14,comm > > On Ubuntu, the Wrapper is defaulting to a nice level of 0 and a > real-time priority of 24, but the JVM is set to a nice level of 0 and > a real-time priority of 19. > According to the nice manual however, the range of possible values is > -20 (most favorable) to 19 (least favorable) > > If I set the PRIORITY in the script to 5 then the nice levels both get > set to 5, but the real-time priorities are 19 and 15 respectively. > This is actually lower priority. > Setting priorities to a value higher than 0 requires root privilege. > > If do so and set it to -5, then the nice levels are both -5, and the > real-time priorities are 29 and 26 respectively. > > So quick answer, the default is 0. I need to look into the real-time > priority more on my end. you are probable seeing the lower priority > do to this difference in real-time priorities between the top level > wrapper process and its child java process. I had not noticed this > before. > > Cheers, > Leif > > On Wed, Oct 1, 2008 at 11:30 PM, Stas Oskin <sta...@gm...> wrote: > > Hi Leif. > > > > Thanks, I see. > > > > Do you have any idea how to find current priority level (so I could > increase > > 1 by 1). > > > > Regards. > > > > 2008/10/1 Leif Mortenson <le...@ta...> > >> > >> Stas, > >> On linux, open your wrapper shell script in an editor and modify the > >> PRIORITY value found in the settings section towards the top. These > >> are standard nice levels, so look at "man nice" for details. > >> > >> Cheers, > >> Leif > >> > >> On Wed, Oct 1, 2008 at 9:44 PM, Stas Oskin <sta...@gm...> > wrote: > >> > Hi Leif. > >> > > >> > 2008/10/1 Leif Mortenson <le...@ta...> > >> >> > >> >> Stas, > >> >> That's great news. The memory leaks were in the Java code? What > are > >> >> you maximum memory settings set to? Are they low enough that the > >> >> entire JVM will fit in memory without any swapping along side the OS > >> >> and other apps being used? Java performs very poorly when its memory > >> >> is being swapped out. (Not a Wrapper issue) > >> > > >> > The leaks were in JNI code and quickly took the whole memory. This > >> > caused > >> > Java to swap. > >> > > >> >> > >> >> About the CPU, I reread this thread but I don't think you ever told > me > >> >> what platform you are running on. That will make a big difference. > >> >> Under UNIX, there is a setting in the shell script which allows you > to > >> >> specify a "nice" level to control the priority. > >> > > >> > We use Linux - CentOS distro. What setting we should look to? > >> > > >> >> > >> >> On Windows, it is done using the > >> >> wrapper.ntservice.process_priority=NORMAL property. Please be sure > to > >> >> read the warnings in the documentation. > >> >> > >> >> > >> >> > http://wrapper.tanukisoftware.org/doc/english/prop-ntservice-process-priority.html > >> >> > >> >> Normally on most platforms, the OS gives priority to the Windowing > >> >> system and those processes to make them more responsive. That is why > >> >> on UNIX, it is good to run servers in a headless environment. > >> > > >> > Hmm, we running the server without any X installed, strictly via > console > >> > - > >> > is this what you call headless? > >> > > >> > Actually, this is the main app the server was targeted to, so we > indeed > >> > prefer to give it all the priority we can (without hanging the OS of > >> > course). > >> > > >> > Regards. > >> > > >> > > >> > > ------------------------------------------------------------------------- > >> > This SF.Net email is sponsored by the Moblin Your Move Developer's > >> > challenge > >> > Build the coolest Linux based applications with Moblin SDK & win great > >> > prizes > >> > Grand prize is a trip for two to an Open Source event anywhere in the > >> > world > >> > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > >> > _______________________________________________ > >> > Wrapper-user mailing list > >> > Wra...@li... > >> > https://lists.sourceforge.net/lists/listinfo/wrapper-user > >> > > >> > > >> > >> > ------------------------------------------------------------------------- > >> This SF.Net email is sponsored by the Moblin Your Move Developer's > >> challenge > >> Build the coolest Linux based applications with Moblin SDK & win great > >> prizes > >> Grand prize is a trip for two to an Open Source event anywhere in the > >> world > >> http://moblin-contest.org/redirect.php?banner_id=100&url=/ > >> _______________________________________________ > >> Wrapper-user mailing list > >> Wra...@li... > >> https://lists.sourceforge.net/lists/listinfo/wrapper-user > > > > ------------------------------------------------------------------------- > > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > > Build the coolest Linux based applications with Moblin SDK & win great > > prizes > > Grand prize is a trip for two to an Open Source event anywhere in the > world > > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > > _______________________________________________ > > Wrapper-user mailing list > > Wra...@li... > > https://lists.sourceforge.net/lists/listinfo/wrapper-user > > > > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Wrapper-user mailing list > Wra...@li... > https://lists.sourceforge.net/lists/listinfo/wrapper-user > |
|
From: Leif M. <le...@ta...> - 2008-10-05 09:05:00
|
Stas, I was able to to check the default priorities using the following command: ps -eo pid,tid,class,rtprio,ni,pri,psr,pcpu,stat,wchan:14,comm On Ubuntu, the Wrapper is defaulting to a nice level of 0 and a real-time priority of 24, but the JVM is set to a nice level of 0 and a real-time priority of 19. According to the nice manual however, the range of possible values is -20 (most favorable) to 19 (least favorable) If I set the PRIORITY in the script to 5 then the nice levels both get set to 5, but the real-time priorities are 19 and 15 respectively. This is actually lower priority. Setting priorities to a value higher than 0 requires root privilege. If do so and set it to -5, then the nice levels are both -5, and the real-time priorities are 29 and 26 respectively. So quick answer, the default is 0. I need to look into the real-time priority more on my end. you are probable seeing the lower priority do to this difference in real-time priorities between the top level wrapper process and its child java process. I had not noticed this before. Cheers, Leif On Wed, Oct 1, 2008 at 11:30 PM, Stas Oskin <sta...@gm...> wrote: > Hi Leif. > > Thanks, I see. > > Do you have any idea how to find current priority level (so I could increase > 1 by 1). > > Regards. > > 2008/10/1 Leif Mortenson <le...@ta...> >> >> Stas, >> On linux, open your wrapper shell script in an editor and modify the >> PRIORITY value found in the settings section towards the top. These >> are standard nice levels, so look at "man nice" for details. >> >> Cheers, >> Leif >> >> On Wed, Oct 1, 2008 at 9:44 PM, Stas Oskin <sta...@gm...> wrote: >> > Hi Leif. >> > >> > 2008/10/1 Leif Mortenson <le...@ta...> >> >> >> >> Stas, >> >> That's great news. The memory leaks were in the Java code? What are >> >> you maximum memory settings set to? Are they low enough that the >> >> entire JVM will fit in memory without any swapping along side the OS >> >> and other apps being used? Java performs very poorly when its memory >> >> is being swapped out. (Not a Wrapper issue) >> > >> > The leaks were in JNI code and quickly took the whole memory. This >> > caused >> > Java to swap. >> > >> >> >> >> About the CPU, I reread this thread but I don't think you ever told me >> >> what platform you are running on. That will make a big difference. >> >> Under UNIX, there is a setting in the shell script which allows you to >> >> specify a "nice" level to control the priority. >> > >> > We use Linux - CentOS distro. What setting we should look to? >> > >> >> >> >> On Windows, it is done using the >> >> wrapper.ntservice.process_priority=NORMAL property. Please be sure to >> >> read the warnings in the documentation. >> >> >> >> >> >> http://wrapper.tanukisoftware.org/doc/english/prop-ntservice-process-priority.html >> >> >> >> Normally on most platforms, the OS gives priority to the Windowing >> >> system and those processes to make them more responsive. That is why >> >> on UNIX, it is good to run servers in a headless environment. >> > >> > Hmm, we running the server without any X installed, strictly via console >> > - >> > is this what you call headless? >> > >> > Actually, this is the main app the server was targeted to, so we indeed >> > prefer to give it all the priority we can (without hanging the OS of >> > course). >> > >> > Regards. >> > >> > >> > ------------------------------------------------------------------------- >> > This SF.Net email is sponsored by the Moblin Your Move Developer's >> > challenge >> > Build the coolest Linux based applications with Moblin SDK & win great >> > prizes >> > Grand prize is a trip for two to an Open Source event anywhere in the >> > world >> > http://moblin-contest.org/redirect.php?banner_id=100&url=/ >> > _______________________________________________ >> > Wrapper-user mailing list >> > Wra...@li... >> > https://lists.sourceforge.net/lists/listinfo/wrapper-user >> > >> > >> >> ------------------------------------------------------------------------- >> This SF.Net email is sponsored by the Moblin Your Move Developer's >> challenge >> Build the coolest Linux based applications with Moblin SDK & win great >> prizes >> Grand prize is a trip for two to an Open Source event anywhere in the >> world >> http://moblin-contest.org/redirect.php?banner_id=100&url=/ >> _______________________________________________ >> Wrapper-user mailing list >> Wra...@li... >> https://lists.sourceforge.net/lists/listinfo/wrapper-user > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Wrapper-user mailing list > Wra...@li... > https://lists.sourceforge.net/lists/listinfo/wrapper-user > > |
|
From: Stas O. <sta...@gm...> - 2008-10-01 14:31:08
|
Hi Leif. Thanks, I see. Do you have any idea how to find current priority level (so I could increase 1 by 1). Regards. 2008/10/1 Leif Mortenson <le...@ta...> > Stas, > On linux, open your wrapper shell script in an editor and modify the > PRIORITY value found in the settings section towards the top. These > are standard nice levels, so look at "man nice" for details. > > Cheers, > Leif > > On Wed, Oct 1, 2008 at 9:44 PM, Stas Oskin <sta...@gm...> wrote: > > Hi Leif. > > > > 2008/10/1 Leif Mortenson <le...@ta...> > >> > >> Stas, > >> That's great news. The memory leaks were in the Java code? What are > >> you maximum memory settings set to? Are they low enough that the > >> entire JVM will fit in memory without any swapping along side the OS > >> and other apps being used? Java performs very poorly when its memory > >> is being swapped out. (Not a Wrapper issue) > > > > The leaks were in JNI code and quickly took the whole memory. This caused > > Java to swap. > > > >> > >> About the CPU, I reread this thread but I don't think you ever told me > >> what platform you are running on. That will make a big difference. > >> Under UNIX, there is a setting in the shell script which allows you to > >> specify a "nice" level to control the priority. > > > > We use Linux - CentOS distro. What setting we should look to? > > > >> > >> On Windows, it is done using the > >> wrapper.ntservice.process_priority=NORMAL property. Please be sure to > >> read the warnings in the documentation. > >> > >> > http://wrapper.tanukisoftware.org/doc/english/prop-ntservice-process-priority.html > >> > >> Normally on most platforms, the OS gives priority to the Windowing > >> system and those processes to make them more responsive. That is why > >> on UNIX, it is good to run servers in a headless environment. > > > > Hmm, we running the server without any X installed, strictly via console > - > > is this what you call headless? > > > > Actually, this is the main app the server was targeted to, so we indeed > > prefer to give it all the priority we can (without hanging the OS of > > course). > > > > Regards. > > > > ------------------------------------------------------------------------- > > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > > Build the coolest Linux based applications with Moblin SDK & win great > > prizes > > Grand prize is a trip for two to an Open Source event anywhere in the > world > > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > > _______________________________________________ > > Wrapper-user mailing list > > Wra...@li... > > https://lists.sourceforge.net/lists/listinfo/wrapper-user > > > > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Wrapper-user mailing list > Wra...@li... > https://lists.sourceforge.net/lists/listinfo/wrapper-user > |
|
From: Leif M. <le...@ta...> - 2008-10-01 13:59:26
|
Stas, On linux, open your wrapper shell script in an editor and modify the PRIORITY value found in the settings section towards the top. These are standard nice levels, so look at "man nice" for details. Cheers, Leif On Wed, Oct 1, 2008 at 9:44 PM, Stas Oskin <sta...@gm...> wrote: > Hi Leif. > > 2008/10/1 Leif Mortenson <le...@ta...> >> >> Stas, >> That's great news. The memory leaks were in the Java code? What are >> you maximum memory settings set to? Are they low enough that the >> entire JVM will fit in memory without any swapping along side the OS >> and other apps being used? Java performs very poorly when its memory >> is being swapped out. (Not a Wrapper issue) > > The leaks were in JNI code and quickly took the whole memory. This caused > Java to swap. > >> >> About the CPU, I reread this thread but I don't think you ever told me >> what platform you are running on. That will make a big difference. >> Under UNIX, there is a setting in the shell script which allows you to >> specify a "nice" level to control the priority. > > We use Linux - CentOS distro. What setting we should look to? > >> >> On Windows, it is done using the >> wrapper.ntservice.process_priority=NORMAL property. Please be sure to >> read the warnings in the documentation. >> >> http://wrapper.tanukisoftware.org/doc/english/prop-ntservice-process-priority.html >> >> Normally on most platforms, the OS gives priority to the Windowing >> system and those processes to make them more responsive. That is why >> on UNIX, it is good to run servers in a headless environment. > > Hmm, we running the server without any X installed, strictly via console - > is this what you call headless? > > Actually, this is the main app the server was targeted to, so we indeed > prefer to give it all the priority we can (without hanging the OS of > course). > > Regards. > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Wrapper-user mailing list > Wra...@li... > https://lists.sourceforge.net/lists/listinfo/wrapper-user > > |
|
From: Stas O. <sta...@gm...> - 2008-10-01 12:45:15
|
Hi Leif. 2008/10/1 Leif Mortenson <le...@ta...> > Stas, > That's great news. The memory leaks were in the Java code? What are > you maximum memory settings set to? Are they low enough that the > entire JVM will fit in memory without any swapping along side the OS > and other apps being used? Java performs very poorly when its memory > is being swapped out. (Not a Wrapper issue) > The leaks were in JNI code and quickly took the whole memory. This caused Java to swap. > > About the CPU, I reread this thread but I don't think you ever told me > what platform you are running on. That will make a big difference. > Under UNIX, there is a setting in the shell script which allows you to > specify a "nice" level to control the priority. We use Linux - CentOS distro. What setting we should look to? > On Windows, it is done using the > wrapper.ntservice.process_priority=NORMAL property. Please be sure to > read the warnings in the documentation. > > http://wrapper.tanukisoftware.org/doc/english/prop-ntservice-process-priority.html > > Normally on most platforms, the OS gives priority to the Windowing > system and those processes to make them more responsive. That is why > on UNIX, it is good to run servers in a headless environment. > Hmm, we running the server without any X installed, strictly via console - is this what you call headless? Actually, this is the main app the server was targeted to, so we indeed prefer to give it all the priority we can (without hanging the OS of course). Regards. |
|
From: Leif M. <le...@ta...> - 2008-10-01 04:48:14
|
Stas, That's great news. The memory leaks were in the Java code? What are you maximum memory settings set to? Are they low enough that the entire JVM will fit in memory without any swapping along side the OS and other apps being used? Java performs very poorly when its memory is being swapped out. (Not a Wrapper issue) About the CPU, I reread this thread but I don't think you ever told me what platform you are running on. That will make a big difference. Under UNIX, there is a setting in the shell script which allows you to specify a "nice" level to control the priority. On Windows, it is done using the wrapper.ntservice.process_priority=NORMAL property. Please be sure to read the warnings in the documentation. http://wrapper.tanukisoftware.org/doc/english/prop-ntservice-process-priority.html Normally on most platforms, the OS gives priority to the Windowing system and those processes to make them more responsive. That is why on UNIX, it is good to run servers in a headless environment. Cheers, Leif On Wed, Oct 1, 2008 at 4:53 AM, Stas Oskin <sta...@gm...> wrote: > Hi Leif. > > Eventually we sorted it out. There were huge mem-leaks which apparently just > were more visible with wrapper, as the app run as a background process. > > Which brings me to my current issue - probably not purely related to > wrapper, but perhaps which can be solved with it. > > I noticed that my app takes about 10% less of CPU when running under > wrapper, which (as it's a real time app) immediately visible on the results. > I presume that it's because the background processes get less priority then > the foreground. > > My question is, how it's possible to give the app same priority as to the > foreground processes? > > Regards. > > > 2008/9/17 Leif Mortenson <le...@ta...> >> >> Stas, >> This is also not something that we normally see. Which process is >> consuming the CPU? Is it your Java process? >> >> A couple years ago another user had a similar problem. It turned out >> to be caused by a path problem where a configuration file was failing >> to be opened. That was throwing an exception which was being caught >> and ignored. Then the whole thing was in a loop without any delays. >> The result was that the program thrashed consuming 100% CPU. >> >> The log information requested in reply to your other email may help >> show the cause of this problem as well. >> >> Cheers, >> Leif >> >> > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Wrapper-user mailing list > Wra...@li... > https://lists.sourceforge.net/lists/listinfo/wrapper-user > > |
|
From: Stas O. <sta...@gm...> - 2008-09-30 19:53:45
|
Hi Leif. Eventually we sorted it out. There were huge mem-leaks which apparently just were more visible with wrapper, as the app run as a background process. Which brings me to my current issue - probably not purely related to wrapper, but perhaps which can be solved with it. I noticed that my app takes about 10% less of CPU when running under wrapper, which (as it's a real time app) immediately visible on the results. I presume that it's because the background processes get less priority then the foreground. My question is, how it's possible to give the app same priority as to the foreground processes? Regards. 2008/9/17 Leif Mortenson <le...@ta...> > Stas, > This is also not something that we normally see. Which process is > consuming the CPU? Is it your Java process? > > A couple years ago another user had a similar problem. It turned out > to be caused by a path problem where a configuration file was failing > to be opened. That was throwing an exception which was being caught > and ignored. Then the whole thing was in a loop without any delays. > The result was that the program thrashed consuming 100% CPU. > > The log information requested in reply to your other email may help > show the cause of this problem as well. > > Cheers, > Leif > > > |
|
From: <hb...@gm...> - 2008-09-25 14:08:25
|
I have implemented a web serivce. It looks like this:
MyService service = new MyService();
Endpoint endpoint = Endpoint.create(service);
endpoint.publish("http://localhost:8080:/myservice");
Running the code directly in a jvm it works great. When it runs with the service wrapper the service starts and is listening on the port 8080. When a client connects on port 8080 there will never come an answer.
There is no firewall running. A portviewer shows me that the service is listening on port 8080, after a client connects the port status is "established". After 3 minutes the client disconnects with a timeout error message.
Any ideas?
Thanks in advance,
Chriss
--
Ist Ihr Browser Vista-kompatibel? Jetzt die neuesten
Browser-Versionen downloaden: http://www.gmx.net/de/go/browser
|
|
From: Leif M. <le...@ta...> - 2008-09-23 15:30:04
|
Emmett, The Wrapper simply launches the JVM without doing anything special. If the proper command line is being generated then it should work. You can verify the generated command line by enabling debug output with wrapper.debug=true or just the command line like this: wrapper.java.command.loglevel=INFO I would suggest doing this when running as a console application first. Move on to the case of running as a service once you get that working. Services run in a different security context. That should not be a problem when connecting with a socket however. Cheers, Leif On Wed, Sep 17, 2008 at 7:43 PM, Emmett Walsh <emm...@gm...> wrote: > Is it possible to remotely debug the Java service wrapper using eclipse and > JPDA ? > e.g. > wrapper.java.additional.9=-Xdebug > wrapper.java.additional.10=-Xnoagent > wrapper.java.additional.11=-Djava.compiler=NONE > wrapper.java.additional.12=-Xrunjdwp:transport\=dt_socket,server\=y,suspend\=y,address\=5005 > I cannot seem to get it to work > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Wrapper-user mailing list > Wra...@li... > https://lists.sourceforge.net/lists/listinfo/wrapper-user > > |
|
From: Leif M. <le...@ta...> - 2008-09-22 20:56:35
|
Shashidhar, The parameters that can be passed to JVMs of different platforms can be quite different. I would suggest reading over the documentation for the specific JVMs you are using on each platform for an explanation of what exactly these parameters do on each platform. Sincerely, Leif Mortenson Tanuki Software On Wed, Sep 17, 2008 at 4:27 PM, Shashidhar Gaurav Misra <Sha...@ar...> wrote: > Hi Leif, > > > > By removing the parameters -Xss128k and -XX:NewRatio=3 I am able to start > my Jboss Server. But I am not able to understand as why these parameters are > not working on Solaris machine whereas the same parameters work on Linux > machines. > > > > Pls suggest. > > > > Thanks > > Shashidhar > > > > ________________________________ > > From: wra...@li... > [mailto:wra...@li...] On Behalf Of Shashidhar > Gaurav Misra > Sent: Tuesday, September 16, 2008 8:01 PM > To: wra...@li... > Subject: Re: [Wrapper-user] Java service wrapper not able to load the > springdeployer on Solaris 64-bit > > > > Hi Leif, > > > > When I am trying to start my Jboss using run.sh (comes along with Jboss) > then I am not getting this error. The error comes only when I am trying to > start my Jboss server using wrapper. I have taken a snapshot of java command > line in both the cases but I don't see much difference. > > > > When starting Jboss using run.sh > > > > JBOSS_HOME: /usr/local/jboss > > JAVA: /usr/java/bin/java > > JAVA_OPTS: -server -Xms128m -Xmx128m -Dsun.rmi.dgc.client.gcInterval=3600000 > -Dsun.rmi.dgc.server.gcInterval=3600000 -Dprogram.name=run.sh > > CLASSPATH: /usr/local/jboss/bin/run.jar:/usr/java/lib/tools.jar > > > > When starting Jboss using wrapper > > > > TATUS | wrapper | 2008/09/16 09:22:21 | --> Wrapper Started as Daemon > > INFO | wrapper | 2008/09/16 09:22:21 | Command[0] : /usr/java/bin/java > > INFO | wrapper | 2008/09/16 09:22:21 | Command[1] : -Dprogram.name=run.sh > > INFO | wrapper | 2008/09/16 09:22:21 | Command[2] : -Dmy.hostname=abc > > INFO | wrapper | 2008/09/16 09:22:21 | Command[3] : > -Djava.endorsed.dirs=/usr/local/jboss/lib/endorsed > > INFO | wrapper | 2008/09/16 09:22:21 | Command[8] : > -Djava.awt.headless=true > > INFO | wrapper | 2008/09/16 09:22:21 | Command[10] : > -Ddrools.compiler=JANINO > > INFO | wrapper | 2008/09/16 09:22:21 | Command[11] : -server > > INFO | wrapper | 2008/09/16 09:22:21 | Command[12] : -Xss128k > > INFO | wrapper | 2008/09/16 09:22:21 | Command[13] : > -Dnode.platform.model=sun4u > > INFO | wrapper | 2008/09/16 09:22:21 | Command[15] : > -Dsun.rmi.dgc.server.gcInterval=3600000 > > INFO | wrapper | 2008/09/16 09:22:21 | Command[16] : > -Dsun.rmi.dgc.client.gcInterval=3600000 > > INFO | wrapper | 2008/09/16 09:22:21 | Command[24] : -XX:MaxPermSize=128m > > INFO | wrapper | 2008/09/16 09:22:21 | Command[25] : > -Dsecurity.services.mode=enabled > > INFO | wrapper | 2008/09/16 09:22:21 | Command[26] : -XX:NewRatio=3 > > INFO | wrapper | 2008/09/16 09:22:21 | Command[27] : -Xms128m > > INFO | wrapper | 2008/09/16 09:22:21 | Command[28] : -Xmx128m > > INFO | wrapper | 2008/09/16 09:22:21 | Command[29] : > -Djava.library.path=/usr/local/jboss/lib > > INFO | wrapper | 2008/09/16 09:22:21 | Command[30] : -classpath > > INFO | wrapper | 2008/09/16 09:22:21 | Command[31] : > /usr/local/jboss/lib/wrapper.jar:/usr/local/jboss/bin/run.jar:/usr/ja > > va/lib/tools.jar:/usr/local/jboss/server/default/lib/commons-lang-2.3.jar:/usr/local/jboss/server/default/lib/joda-time-1.4.j > > ar:/usr/local/jboss/server/default/lib/snmp-support.jar:/usr/local/jboss/cbs_workflow > > INFO | wrapper | 2008/09/16 09:22:21 | Command[32] : > -Dwrapper.key=0gfBDmkCcjEcotd4 > > INFO | wrapper | 2008/09/16 09:22:21 | Command[33] : -Dwrapper.port=18100 > > INFO | wrapper | 2008/09/16 09:22:21 | Command[34] : > -Dwrapper.jvm.port.min=31000 > > INFO | wrapper | 2008/09/16 09:22:21 | Command[35] : > -Dwrapper.jvm.port.max=31999 > > INFO | wrapper | 2008/09/16 09:22:21 | Command[36] : -Dwrapper.pid=9451 > > INFO | wrapper | 2008/09/16 09:22:21 | Command[37] : > -Dwrapper.version=3.2.3 > > INFO | wrapper | 2008/09/16 09:22:21 | Command[38] : > -Dwrapper.native_library=wrapper > > INFO | wrapper | 2008/09/16 09:22:21 | Command[39] : > -Dwrapper.service=TRUE > > INFO | wrapper | 2008/09/16 09:22:21 | Command[40] : > -Dwrapper.cpu.timeout=10 > > INFO | wrapper | 2008/09/16 09:22:21 | Command[41] : -Dwrapper.jvmid=1 > > INFO | wrapper | 2008/09/16 09:22:21 | Command[42] : > org.tanukisoftware.wrapper.WrapperSimpleApp > > INFO | wrapper | 2008/09/16 09:22:21 | Command[43] : org.jboss.Main > > > > > > I tried removing the parameters -Xss128k and -XX:NewRatio=3 but then I am > getting some other error. Not sure why these parameters are being passed but > some of my services are not able to start up which are otherwise getting > started when using run.sh. > > > > The same configuration for wrapper.conf is working fine on Linux. > > > > Please suggest. > > > > Thanks > > Shashidhar > > > > -----Original Message----- > From: wra...@li... > [mailto:wra...@li...] On Behalf Of Leif > Mortenson > Sent: Tuesday, September 16, 2008 8:04 AM > To: wra...@li... > Subject: Re: [Wrapper-user] Java service wrapper not able to load the > springdeployer on Solaris 64-bit > > > > Shashidhar, > > The Wrapper launches the JVM with a command line generated from the > > Wrapper.conf. It does not do anything which would affect the way > > JBoss or any other application runs once it has been launched. My > > guess is that there are some differences between the wrapper.conf that > > you created and the default shell script that comes with JBoss. > > > > I would suggest setting the following property then comparing the > > output Java command line with the command line generated by your JBoss > > distribution. Most likely there is a system.property being passed in > > which is missing or has an incorrect value. > > wrapper.java.command.loglevel=INFO > > > > Another thing to check is the current working directory. The Wrapper > > forces the default working directory to the location of the wrapper > > binary. This may not be the same as what the JBoss script is working > > from. > > > > A third thing to check is the version of Java that is being run. You > > can see this by setting the wrapper.debug=true property. I have seen > > cases where due to path problems a different version of java was being > > run than was intended. > > > > Cheers, > > Leif > > > > On Mon, Sep 15, 2008 at 6:56 PM, Shashidhar Gaurav Misra > > <Sha...@ar...> wrote: > >> Hi, > >> > >> > >> > >> I am using the Java service wrapper community version 3.3.0 (32-bit) for > >> running my application as a Unix daemon on a Solaris machine. > >> > >> My application is a Jboss server with some services deployed and running. > >> > >> > >> > >> OS Details > >> > >> 64-bit sparcv9 > >> > >> > >> > >> My problem is that the wrapper is not able to deploy a spring descriptor. >> I > >> am getting following error when I am trying to start my Jboss server. > >> > >> > >> > >> INFO | jvm 1 | 2008/08/07 05:04:24 | 05:04:23,771 ERROR >> [MainDeployer] > >> Could not create deployment: file:/usr/local/jbos > >> > >> s/server/default/deploy/deploy.last/Myservice.sar/Authentication.spring/ > >> > >> INFO | jvm 1 | 2008/08/07 05:04:24 | java.lang.NoClassDefFoundError: > >> org/springframework/beans/factory/ListableBeanFacto > >> > >> ry > >> > >> > >> > >> I have my spring descriptor under > >> > >> /usr/local/jboss/server/default/deploy/deploy.last/ Myservice.sar > >> /Authentication.spring/META-INF > >> > >> > >> > >> My spring jars are present under > >> > >> /usr/local/jboss/server/default/deploy/jboss-spring.deployer > >> > >> > >> > >> The same thing works for other OS for e.g. Linux, AIX etc > >> > >> > >> > >> > >> > >> Please suggest in case if I need to use some other version of the wrapper. > >> Is there any workaround for this? > >> > >> > >> > >> Thanks & Regards > >> > >> Shashidhar > >> > >> > > ________________________________ > "DISCLAIMER: This message is proprietary to Aricent and is intended solely > for the use of the individual to whom it is addressed. It may contain > privileged or confidential information and should not be circulated or used > for any purpose other than for what it is intended. If you have received > this message in error,please notify the originator immediately. If you are > not the intended recipient, you are notified that you are strictly > prohibited from using, copying, altering, or disclosing the contents of this > message. Aricent accepts no responsibility for loss or damage arising from > the use of the information transmitted by this email including damage from > virus." > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Wrapper-user mailing list > Wra...@li... > https://lists.sourceforge.net/lists/listinfo/wrapper-user > > |