|
From: Leif M. <lei...@ta...> - 2013-08-27 16:14:25
|
Kajal Is there a reason why you are using such an old version? The 'Z' format was added in 3.2.2. There have been a lot of other improvements since 2006. :-) Please see the documentation for more information: http://wrapper.tanukisoftware.com/doc/english/prop-logfile-format.html Cheers, Leif On Wed, Aug 21, 2013 at 11:42 PM, Mahindrakar, Kajal <Kaj...@ve...> wrote: > I am using Wrapper version 3.2.1 on Windows 7 Enterprise. Following are the > contents from wrapper.conf file > > > > #******************************************************************** > > # Wrapper Properties > > #******************************************************************** > > # Java Application > > wrapper.java.command=%I360_JAVA_HOME%/bin/java > > > > # 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.witness.sa.extraction.core.ExtractionService > > > > # Java Classpath (include wrapper.jar) Add class path elements as > > # needed starting from 1 > > wrapper.java.classpath.1=../lib/wrapper.jar;../lib/Extraction-Engine.jar;../lib/commons-logging-1.1.jar;../lib/log4j-1.2.13.jar;../conf/log4j.properties;../lib/org.springframework.aop-3.1.2.RELEASE.jar;../lib/aopalliance.jar;../lib/org.springframework.jdbc-3.1.2.RELEASE.jar;../lib/org.springframework.core-3.1.2.RELEASE.jar;../lib/org.springframework.expression-3.1.2.RELEASE.jar;../lib/org.springframework.beans-3.1.2.RELEASE.jar;../lib/org.springframework.context-3.1.2.RELEASE.jar;../lib/org.springframework.transaction-3.1.2.RELEASE.jar;../lib/org.springframework.context.support-3.1.2.RELEASE.jar;../lib/org.springframework.asm-3.1.2.RELEASE.jar;../conf/ExtractionConfig.xml;../lib/commons-dbcp-1.2.1.jar;../lib/commons-discovery.jar;../lib/commons-pool-1.3.jar;../lib/sqljdbc.jar;../lib/quartz-all-1.8.4.jar;../lib/slf4j-log4j12-1.6.0.jar;../lib/slf4j-api-1.6.0.jar;../lib/jaxme2-0.5.1.jar;../lib/jaxme2-rt-0.5.1.jar;../lib/xml-apis.jar;../lib/jaxmeapi-0.5.1.jar;../lib/jaxmexs-0.5.1.jar;../lib/jaxmepm-0.5.1.jar;../lib/jaxmejs-0.5.1.jar;../lib/Extraction-XML.jar;../lib/commons-io-2.0.1.jar;../lib/jdom.jar;../lib/jaxen-full.jar;../lib/ant.jar;../lib/saxpath.jar;../lib/JXMLComm.jar;../lib/jdom.jar;../lib/ant.jar;;../lib/XmlSchema-1.3.2.jar;../lib/activation-1.1.jar;../lib/axiom-api-1.2.5.jar;../lib/axis2-adb-1.3.jar;../lib/axis2-kernel-1.3.jar;../lib/wsdl4j-1.6.2.jar;../lib/axiom-dom-1.2.5.jar;../lib/axiom-impl-1.2.5.jar;../lib/commons-codec-1.3.jar;../lib/stax-api-1.0.1.jar;../lib/wstx-asl-3.2.1.jar;../lib/Tidy.jar;../lib/classes12.jar;../lib/c3p0-0.9.1.2.jar;../lib/c3p0-oracle-thin-extras-0.9.1.2.jar;../lib/commons-codec-1.3.jar;../lib/commons-collections-3.2.1.jar;../lib/commons-httpclient-3.0.1.jar;../lib/bcprov-ext-jdk15-140.jar;../lib/bcprov-ext-jdk15-140.jar;../lib/configuration.jar;../lib/xbean.jar;../lib/xbean_xpath.jar;../lib/saxon9.jar;../lib/saxon9-dom.jar;../lib/jsr173_1.0_api.jar;../lib/AlarmConfig.jar;../lib/WitnessCommon.jar;../lib/dom4j.jar;../lib/commonEjbTierUtils.jar;../lib/coreEjbTierUtils.jar;../lib/xercesImpl.jar;../lib/JRegistryKey.jar > > > > # Java Library Path (location of Wrapper.DLL or libwrapper.so) > > wrapper.java.library.path.1=.; > > wrapper.java.library.path.2=%IMPACT360SOFTWAREDIR%/ContactStore; > > > > # Environment variables > > set.SPRING_CONF_PATH=../conf/ExtractionConfig.xml; > > set.WITS_SA_DIR=%IMPACT360DATADIR%/ExtractionEngine > > > > # Java Additional Parameters > > wrapper.ignore_sequence_gaps=TRUE > > wrapper.java.additional.1=-server > > wrapper.java.additional.2=-Dcom.mchange.v2.c3p0.management.ManagementCoordinator=com.mchange.v2.c3p0.management.NullManagementCoordinator > > #wrapper.java.additional.3=-javaagent:%IMPACT360SOFTWAREDIR%/ExtractionEngine/lib/jacocoagent.jar=dumponexit=true,output=file,append=true,destfile=%IMPACT360DATADIR%/Logs/IEM/coreData.exec > > > > # Java service wraper PID file.. > > wrapper.java.pidfile=./extraction.java.pid > > > > #******************************************************************** > > # Wrapper Logging Properties > > #******************************************************************** > > # Format of output for the console. (See docs for formats) > > wrapper.console.format=PM > > > > # Log file to use for wrapper output logging. > > wrapper.logfile=%IMPACT360DATADIR%/Logs/IEM/wrapper.log > > > > # Format of output for the log file. (See docs for formats) > > wrapper.logfile.format=LPZM > > > > #wrapper.debug=true > > > > # 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=ExtractionService > > > > #******************************************************************** > > # 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=Recorder Import Export Engine > > > > # Display name of the service > > wrapper.ntservice.displayname=Recorder Import Export Engine > > > > # Description of the service > > wrapper.ntservice.description=Recorder Import Export Engine > > > > > > # Mode in which the service is installed. AUTO_START or DEMAND_START > > wrapper.ntservice.starttype=DEMAND_START > > > > # Allow the service to interact with the desktop. > > wrapper.ntservice.interactive=false > > > > # Allow the JVM to shutdown when the Extraction exe is killed.. > > wrapper.on_exit.default=SHUTDOWN > > > > > > My log file(contents below) does not get formatted to include millisecond > time when I user LPZM. LPTM format works but I need time up to milliseconds > > > > STATUS | wrapper | --> Wrapper Started as Console > > STATUS | wrapper | Launching a JVM... > > INFO | jvm 1 | WinSvcTest MAIN called > > INFO | jvm 1 | Wrapper (Version 3.2.1) > http://wrapper.tanukisoftware.org > > INFO | jvm 1 | > > INFO | jvm 1 | Extraction Service Starting > > INFO | jvm 1 | Starting application.... > > INFO | jvm 1 | Application base > directory:C:\Impact360\Software\ExtractionEngine > > INFO | jvm 1 | Loading Log4J property configurator > > INFO | jvm 1 | log4j:WARN No appenders could be found for logger > (com.witness.sa.extraction.v11.utils.V11Utils). > > INFO | jvm 1 | log4j:WARN Please initialize the log4j system properly. > > INFO | jvm 1 | Chose log backend JNI > > > > Does my conf file need some additional changes? > > > > Thanks, > > Kajal |