|
From: Sal I. <sal...@sy...> - 2003-10-25 03:22:00
|
Can't browse to NT service using wrapperI suggest you look at wrapper.log and the catalina log files for any errors. At any rate, here is the wrapper 3.0.2 wrapper.conf we use to run catalina. Note that we place wrapper.exe in the jakarta-tomcat-4.0.1/bin directory and wrapper.conf in the jakarta-tomcat-4.0.1/conf directory. Good luck. #******************************************************************** # Wrapper parameters #******************************************************************** # Java Application wrapper.java.command=java.exe # Java Main class wrapper.java.mainclass=com.silveregg.wrapper.WrapperSimpleApp # Java Classpath (include wrapper.jar) Add class path elements as # needed starting from 1 wrapper.java.classpath.1=../bin/bootstrap.jar wrapper.java.classpath.2=../bin/resources wrapper.java.classpath.3=../bin wrapper.java.classpath.4=../common/lib/*.jar wrapper.java.classpath.5=../lib/wrapper.jar wrapper.java.classpath.6=../../jdk/lib/tools.jar ## Java Library Path (location of Wrapper.DLL or libwrapper.so) # Tomcat dll's wrapper.java.library.path.1=../bin # Wrapper dll's wrapper.java.library.path.2=../lib #jre dll's wrapper.java.library.path.3=../../jdk/lib wrapper.java.library.path.4=../../jdk/bin # Java Additional Parameters wrapper.java.additional.1=-Dcatalina.base=.. wrapper.java.additional.2=-Dcatalina.home=.. wrapper.java.additional.3=-Dcom.syncvoice.commons.logging.logger.class=com.s yncvoice.commons.logging.logger.Log4JLogger wrapper.java.additional.4=-Dorg.xml.sax.driver=org.apache.xerces.parsers.SAX Parser wrapper.java.additional.5=-Djavax.net.ssl.trustStore=../../supportWatchdog/e tc/.keystore wrapper.java.additional.6=-Dsun.net.inetaddr.ttl=86400 # Initial Java Heap Size (in MB) wrapper.java.initmemory=48 # Maximum Java Heap Size (in MB) wrapper.java.maxmemory=1024 # Application parameters. Add parameters as needed starting from 1 wrapper.app.parameter.1=org.apache.catalina.startup.Bootstrap wrapper.app.parameter.2=start # Port which the native wrapper code will attempt to connect to wrapper.port=1778 #******************************************************************** # Wrapper Logging parameters #******************************************************************** # Format of output for the console. (See docs for formats) wrapper.console.format=PM # Log Level for console output. (See docs for log levels) wrapper.console.loglevel=INFO # Log file to use for wrapper output logging. wrapper.logfile=../../logs/appServer/Wrapper.log # Format of output for the log file. (See docs for formats) wrapper.logfile.format=LPTM # Log Level for log file output. (See docs for log levels) wrapper.logfile.loglevel=INFO # Maximum size that the log file will be allowed to grow to before # the log is rolled. Size is specified in bytes. The default value # of 0, disables log rolling. May abbreviate with the 'k' (kb) or # 'm' (mb) suffix. For example: 10m = 10 megabytes. wrapper.logfile.maxsize=1m # Maximum number of rolled log files which will be allowed before old # files are deleted. The default value of 0 implies no limit. wrapper.logfile.maxfiles=10 # Log Level for sys/event log output. (See docs for log levels) wrapper.syslog.loglevel=NONE #******************************************************************** # Wrapper NT Service parameters #******************************************************************** # WARNING - Do not modify any of these parameters when an application # using this configuration file has been installed as a service. # Please uninstall the service before modifying this section. The # service can then be reinstalled. # Name of the service wrapper.ntservice.name=VXTrackerApplicationServer # Display name of the service wrapper.ntservice.displayname=VXTrackerApplicationServer # Description of the service wrapper.ntservice.description=VXTrackerApplicationServer # Service dependencies. Add dependencies as needed starting from 1 wrapper.ntservice.dependency.1=MySql # Mode in which the service is installed. AUTO_START or DEMAND_START wrapper.ntservice.starttype=AUTO_START # Priority at which the service is run. NORMAL, LOW, HIGH, or # REALTIME wrapper.ntservice.process_priority=NORMAL # Allow the service to interact with the desktop. wrapper.ntservice.interactive=true -----Original Message----- From: wra...@li... [mailto:wra...@li...]On Behalf Of Hardee, Brenda G NAVSAFECEN Sent: Friday, October 24, 2003 11:42 AM To: wra...@li... Subject: [Wrapper-user] Can't browse to NT service using wrapper I recently installed wrapper ver 3.0.5 for win32 on a win2000 box. I used it to install Tomcat4.0 Servlet/JSP container as a service so that the tomcat app would not have to run minimized. I cannot browse (using i.e.) to Tomcat when running it as a service. If I run Tomcat from the startup script I can browse to it. Yes, I HAVE checked to be sure the service is running and it is set to automatic. Can anyone give me some help? |