|
From: Leif M. <le...@ta...> - 2004-01-31 03:26:38
|
Jeffrey, My answer is the same as to your previous yesterday. The SF servers have been acting up the last few days. It may just be taking some time for the replies to come through. I'll CC you on this reply. The problem is most likely the following configuration. wrapper.ntservice.process_priority=HIGH As explained in the docs, this would explain why your user processes are not able to stop the service. Try commenting out that line and rerunning. Let me know what happens. That shouldn't change the fact that your app is using 100% CPU, but it should let you control it. This mail says that the Wrapper uses 100% CPU when running as a service. What happens when you run the Wrapper in console mode? Could you then take a look at your task manager and verify which process is eating all that CPU. The Wrapper or java process. They will both be running at the same priority. In my experience, I have never seen the Wrapper process even register. The Java process will only use CPU if the user code is doing so. The Wrapper classes are also very light weight. If that does not point you toward the solution, then please set the following property to enable debug output and then post the resulting log file. On list if small or to me directly if large. wrapper.debug=true Cheers, Leif Jeffrey Hawley wrote: > Hello All~ > > I have recently configured PointBase Database to run as an NT service > using wrapper. I have included my wrapper.conf file below and after > installing PointBase I had to create the bin, conf and lib directories > to store the appropriate files. I am running this on a Windows XP > platform, but will evcentaully be placing it on a Windows Server 2003 > platform. Wrapper installs the service fine, but when I start the > service it uses 97% of my CPU resources. > I usually start the PointBase Server from the command prompt which > allows admins to view current connections, list current system locks, > and stop the server(how i currently kill it). Any help is much > appreciated. Thanks in advance - Jeff. > > #******************************************************************** > # Wrapper Properties > #******************************************************************** > wrapper.java.command=C:\j2sdk1.4.1_04\bin\java > wrapper.java.mainclass=org.tanukisoftware.wrapper.WrapperSimpleApp > wrapper.java.classpath.1=C:\pointbase\lib\wrapper.jar > wrapper.java.classpath.2=C:\pointbase\lib\wrappertest.jar > wrapper.java.classpath.3=C:\pointbase\lib\pbembedded47ev.jar > wrapper.java.classpath.4=C:\pointbase\lib\pbtools47ev.jar > wrapper.java.classpath.5=C:\pointbase\lib\POsqlserver47ev.jar > wrapper.java.classpath.6=C:\pointbase\lib\POutil47ev.jar > wrapper.java.classpath.7=C:\pointbase\lib\pbunisyncCore47ev.jar > wrapper.java.classpath.8=C:\pointbase\lib\pbunisyncMIDPClient47ev.jar > wrapper.java.classpath.9=C:\pointbase\lib\pbunisyncSQLServer47ev.jar > wrapper.java.classpath.10=C:\pointbase\lib\pbunisyncTools47ev.jar > wrapper.java.classpath.11=C:\pointbase\tools\unisync\lax.jar > wrapper.java.library.path.1=C:\pointbase\lib > wrapper.java.additional.1=-Dpointbase.ini=C:\pointbase\tools\serveroption\pointbase.ini > > wrapper.java.initmemory=3 > wrapper.java.maxmemory=64 > wrapper.app.parameter.1=com.pointbase.net.netServer > > #******************************************************************** > # Wrapper Logging Properties > #******************************************************************** > wrapper.console.format=PM > wrapper.console.loglevel=INFO > wrapper.logfile=C:\pointbase\logs\wrapper.log > wrapper.logfile.format=LPTM > wrapper.logfile.loglevel=INFO > wrapper.logfile.maxsize=0 > wrapper.logfile.maxfiles=0 > wrapper.syslog.loglevel=NONE > > #******************************************************************** > # Wrapper NT Service Properties > #******************************************************************** > wrapper.ntservice.name=PointBaseDB > wrapper.ntservice.displayname=PointBaseDB > wrapper.ntservice.description=Runs the PointBase database as an NT > Service > wrapper.ntservice.dependency.1= > wrapper.ntservice.starttype=AUTO_START > wrapper.ntservice.interactive=false > wrapper.ntservice.process_priority=HIGH > wrapper.ntservice.interactive=false |