|
From: Kumar S. <ku...@ho...> - 2003-12-03 21:45:16
|
Hi! Before I shoot my question, let me tell you that its a wonderful piece = of software, and very easy to use as well. I ran into a problem and that = took 80% of time figuring it out. I am mentioning my experience and = maybe if you deem fit they can make their way to troubleshooting = section. TestApp.bat was working flawlessly, but the wrapper wont start. I have a = WIN2K box. I was using an enviroment variable %JAVA_HOME% and the = service seemed not to be able to get the environment variable. As soon = as I replaced it with actual location, it worked fine. And now the problem I havent quite figured out a solution to. I have an = application that sleeps (think Thread.sleep) during non 9-5 hours and = also on weekends. With the configuration that I have attached below, I = was hoping the wrapper wont attempt to restart. But it did five times in = a row and the service shutdown. Could you please help me out here as to = how I can prevent the wrapper from restarting? Thanks, Kumar #******************************************************************** # Wrapper Properties #******************************************************************** # Java Application wrapper.java.command=3DC:\jdks\j2sdk1.4.2_02\bin\java #debug property. wrapper.debug=3Dtrue #ping interval in seconds wrapper.ping.interval=3D3600 # wait for a day before restarting wrapper.ping.timeout=3D86400 # Java Main class. This class must implement the WrapperListener = interface # or guarantee that the WrapperManager class is initialized. Helper # classes are provided to do this for you. See the Integration section # of the documentation for details. wrapper.java.mainclass=3Dorg.tanukisoftware.wrapper.WrapperSimpleApp |