|
From: Melinda S. <Me...@sh...> - 2013-06-13 16:30:48
|
I'm basically a new user to your product. I started a new job about 6 months ago and the product has been working fine. However, this last weekend our system admin installed our application on an upgraded Windows server, Windows 2008 R2 64-bit. We've encountered a couple of weird incidents/problems with the wrapper product. Any help/direction would be appreciated. 1. Copy of our wrapper.conf file: #******************************************************************** # Wrapper Properties #******************************************************************** # Java Application #wrapper.java.command=C:/Program Files/Java/jre1.6.0_04/bin/java #wrapper.java.command=C:/Program Files/Java/jre1.5.0_14/bin/javaw.exe #wrapper.java.command=C:/Program Files (x86)/Java/jre1.6.0_14/bin/javaw.exe wrapper.java.command=C:/Program Files/Java/jdk1.6.0_14/jre/bin/javaw.exe # 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=com.sharpbancsystems.XXX.XXXoReports # Java Classpath (include wrapper.jar) Add class path elements as # needed starting from 1 wrapper.java.classpath.1=lib/wrapper.jar wrapper.java.classpath.2=lib/activation.jar wrapper.java.classpath.3=lib/XXXReports.jar wrapper.java.classpath.4=lib/jdom.jar wrapper.java.classpath.5=lib/sftp.jar wrapper.java.classpath.6=lib/mysql-connector-java-3.1.12-bin.jar wrapper.java.classpath.7=lib/sqljdbc.jar wrapper.java.classpath.8=lib/sqljdbc1.2.jar wrapper.java.classpath.9=lib/xercesImpl-2.6.2.jar wrapper.java.classpath.10=lib/util.jar wrapper.java.classpath.11=lib/mail.jar wrapper.java.classpath.12=lib/mailapi.jar wrapper.java.classpath.13=lib/pop3.jar wrapper.java.classpath.14=lib/smtp.jar wrapper.java.classpath.15=lib/dsn.jar wrapper.java.classpath.16=lib/imap.jar wrapper.java.classpath.17=lib/pool.jar wrapper.java.classpath.18=lib/common.jar wrapper.java.classpath.19=lib/jpos-1.5.0.jar wrapper.java.classpath.20=lib/jsch-0.1.40.jar wrapper.java.classpath.21=lib/commons-lang3-3.0.1.jar wrapper.java.classpath.22=. #wrapper.java.classpath.19=lib/mysql-connector-java-3.1.12-bin.jar #wrapper.java.classpath.20=. #wrapper.java.classpath.31=. # Java Library Path (location of Wrapper.DLL or libwrapper.so) wrapper.java.library.path.1=lib # Java Additional Parameters wrapper.java.additional.1=-server wrapper.java.additional.1=-Dcom.sun.management.jmxremote wrapper.java.additional.2=-Dorg.tanukisoftware.wrapper.WrapperManager.mbean=true # Initial Java Heap Size (in MB) #wrapper.java.initmemory=64 # Maximum Java Heap Size (in MB) wrapper.java.maxmemory=1024 # Application parameters. Add parameters as needed starting from 1 #wrapper.app.parameter.1=<YourMainClass> wrapper.ping.interval=30 wrapper.ping.timeout=30 #******************************************************************** # Wrapper Logging Properties #******************************************************************** wrapper.debug=TRUE # 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=DEBUG # Log file to use for wrapper output logging. wrapper.logfile=logs/ATMoPOSt-wrapper.YYYYMMDD.log # Format of output for the log file. (See docs for formats) wrapper.logfile.format=LPZM # Log Level for log file output. (See docs for log levels) wrapper.logfile.loglevel=STATUS # 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=500k # 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=30 wrapper.logfile.rollmode=DATE # Log Level for sys/event log output. (See docs for log levels) wrapper.syslog.loglevel=NONE #******************************************************************** # Wrapper Windows Properties #******************************************************************** # Title to use when running as a console wrapper.console.title=XXXoReports #******************************************************************** # Wrapper Windows NT/2000/XP Service Properties #******************************************************************** # WARNING - Do not modify any of these properties 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=XXXoReports # Display name of the service wrapper.ntservice.displayname=XXXoReports # Description of the service wrapper.ntservice.description=XXX software from Sharp BancSystems # Service dependencies. Add dependencies as needed starting from 1 #wrapper.ntservice.dependency.1=MSSQLSERVER # Mode in which the service is installed. AUTO_START or DEMAND_START wrapper.ntservice.starttype=AUTO_START # Allow the service to interact with the desktop. wrapper.ntservice.interactive=false 2. Copy of our XXXServer.xml file that is located in the C:\XXXoReports\conf directory : <XXXServer> <Shutdown>true</Shutdown> <ServerID>3</ServerID> <SleepTime>2000</SleepTime> <GCInterval>21600000</GCInterval> <StatInterval>1800000</StatInterval> <DownloadLocation>download/PBF</DownloadLocation> <SSHKeyRoot>download/Keys</SSHKeyRoot> <DBServerType>sqlserver</DBServerType> <DBServer>99.99.99.99</DBServer> <DBName>XXX</DBName> <DBUser>NotUsed</DBUser> <DBPass>NotUsed</DBPass> <PositiveBalanceDir>load</PositiveBalanceDir> <LogName>logs//XXXoReports</LogName> <LogRollMode>2</LogRollMode> <LogMaxSize>500K</LogMaxSize> <LogMaxFiles>30</LogMaxFiles> <LogCompress>true</LogCompress> <XXXLogName>logs//XXXoHB</XXXLogName> <XXXLogRollMode>2</XXXLogRollMode> <XXXLogMaxSize>500K</XXXLogMaxSize> <XXXLogMaxFiles>30</XXXLogMaxFiles> <XXXLogCompress>true</XXXLogCompress> <FromEmail>XX...@sh...</FromEmail> <SMTPServer>99.999.999.999</SMTPServer> <SQLLogName>logs//XXX-sql</SQLLogName> <SQLLogRollMode>2</SQLLogRollMode> <SQLLogMaxSize>500K</SQLLogMaxSize> <SQLLogMaxFiles>30</SQLLogMaxFiles> <SQLLogCompress>true</SQLLogCompress> <SQLFromEmail>xx...@sh...</SQLFromEmail> <SQLSMTPServer>99.999.99.999</SQLSMTPServer> </XXXServer> 3. 3 questions: a. In the conf file when we try to comment out the current path to the JDK and uncomment the line above it, the conf file changes itself back to the current config noted above after we start the service. Why would that happen? b. In the XXXServer.xml file above, when I try to change the value of the <Shutdown> to false, after we start the service the value in this file gets changed back to true and the service stops. Again, why would that happen? c. Will this version of the wrapper run in a 64-bit server? If not, is this why we're getting this weird behavior? Again, any help/direction would be greatly appreciated. Just an FYI, for security reasons, I changed some of the values of the conf and XXXServer.xml files denoted above. Thanks. Melinda Savoy Sharp BancSystems Senior Java Developer * E: me...@sh...<mailto:me...@sh...> * O: 817.438.2161 "We understand that e-mail is a simple and cost effective method of communication, however items such as requests and inquiries needing immediate attention should not be sent via e-mail. Also, sensitive personal and account information like account numbers, Social Security numbers, passwords, or PIN numbers should not be sent by e-mail. Because an e-mail message may not be immediately reviewed by a company representative, you should contact the company by telephone, or in person for items needing immediate attention. Furthermore, this e-mail and any attached files may contain confidential and/or privileged material for the sole use of the intended recipient. Any review, use, distribution or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorized to receive this e-mail for the recipient), please contact the sender by reply e-mail and delete all copies of this email" |