|
From: Rodrigo V. <rv...@i4...> - 2007-08-28 14:53:49
|
=20 Hi guys... this is my first post in this mail list. I hope i can explain = well my problem. I'm running a java application in a Debian 64 server, and my application needs to create several log files. This files are very important to me. But this is the problem, if i run the app without the wrapper all the = loggers are generated, but when i use the wrapper, i can see in the wrapper log = that the configuration for log4j is loaded but then nothing is write to the = files. I was using the same application in Windows XP/Vista/2003 and it runs = without any problem. I already check if the user has permission to write in the = log file location and all is ok. Can anybody help me is kind of urgent... Thanks! These are my configuration files. WRAPPER.CONF # Java Application wrapper.java.command=3Djava # 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 # Java Classpath (include wrapper.jar) Add class path elements as # needed starting from 1 wrapper.java.classpath.1=3D../lib/wrapper.jar wrapper.java.classpath.2=3D../../../../lib/args4j-2.0.1.jar wrapper.java.classpath.3=3D../../../../lib/chartcreator-1.2.0-RC1.jar wrapper.java.classpath.4=3D../../../../lib/com4j.jar wrapper.java.classpath.5=3D../../../../lib/commons-lang-2.2.jar wrapper.java.classpath.6=3D../../../../lib/commons-logging.jar wrapper.java.classpath.7=3D../../../../lib/compress.jar wrapper.java.classpath.8=3D../../../../lib/i411ad-commons.jar wrapper.java.classpath.9=3D../../../..//lib/i411ad-listener.jar wrapper.java.classpath.10=3D../../../../lib/i411ad-native.jar wrapper.java.classpath.11=3D../../../../lib/ISWbem.jar wrapper.java.classpath.12=3D../../../../lib/jcommon-1.0.0-rc1.jar wrapper.java.classpath.13=3D../../../../lib/jdom.jar wrapper.java.classpath.14=3D../../../../lib/jfreechart-1.0.0-rc1.jar wrapper.java.classpath.15=3D../../../../lib/jmml.jar wrapper.java.classpath.16=3D../../../../lib/junit.jar wrapper.java.classpath.17=3D../../../../lib/log4j-1.2.7.jar wrapper.java.classpath.18=3D../../../../lib/oscache-2.3.2.jar wrapper.java.classpath.19=3D../../../../lib/tlbimp.jar wrapper.java.classpath.20=3D../../../../lib/xercesImpl.jar wrapper.java.classpath.21=3D../../../../lib/xml-apis.jar wrapper.java.classpath.22=3D../../../../lib/xpp3-1.1.3.4d_b4_min.jar wrapper.java.classpath.23=3D../../../../lib/xstream-1.1.3.jar # AD config files needed in claspath wrapper.java.classpath.24=3D../../../../conf/is/ # DE5 API reference wrapper.java.classpath.25=3D../../../../../web/WEB-INF/lib/i411de.jar # Here put all custom jars nedded wrapper.java.classpath.26=3D../../../../../web/WEB-INF/lib/activation-1.0= .2.jar wrapper.java.classpath.27=3D../../../../../web/WEB-INF/lib/antlr.jar wrapper.java.classpath.28=3D../../../../../web/WEB-INF/lib/commons-cli-1.= 0.jar wrapper.java.classpath.29=3D../../../../../web/WEB-INF/lib/commons-codec-= 1.3.ja r wrapper.java.classpath.30=3D../../../../../web/WEB-INF/lib/commons-io-1.0= .jar wrapper.java.classpath.31=3D../../../../../web/WEB-INF/lib/commons-jxpath= -1.1.j ar wrapper.java.classpath.32=3D../../../../../web/WEB-INF/lib/commons-loggin= g-1.0. 4.jar wrapper.java.classpath.33=3D../../../../../web/WEB-INF/lib/jakarta-oro-2.= 0.6.ja r wrapper.java.classpath.34=3D../../../../../web/WEB-INF/lib/javamail-1.3ea= .jar wrapper.java.classpath.35=3D../../../../../web/WEB-INF/lib/jcommon-0.9.1.= jar wrapper.java.classpath.36=3D../../../../../web/WEB-INF/lib/jdom.jar wrapper.java.classpath.37=3D../../../../../web/WEB-INF/lib/kxml.jar wrapper.java.classpath.38=3D../../../../../web/WEB-INF/lib/log4j-1.2.7.ja= r wrapper.java.classpath.39=3D../../../../../web/WEB-INF/lib/ognl-2.6.5.jar= wrapper.java.classpath.40=3D../../../../../web/WEB-INF/lib/oscache-2.3.2.= jar wrapper.java.classpath.41=3D../../../../../web/WEB-INF/lib/pvcommons.jar wrapper.java.classpath.42=3D../../../../../web/WEB-INF/lib/sample.jar wrapper.java.classpath.43=3D../../../../../web/WEB-INF/lib/truelicense.ja= r wrapper.java.classpath.44=3D../../../../../web/WEB-INF/lib/truexml.jar wrapper.java.classpath.45=3D../../../../../web/WEB-INF/lib/xalan.jar wrapper.java.classpath.46=3D../../../../../web/WEB-INF/lib/xercesImpl.jar= wrapper.java.classpath.47=3D../../../../../web/WEB-INF/lib/xml-apis.jar //SO Custom jars wrapper.java.classpath.48=3D../../../../lib/jsch.jar wrapper.java.classpath.49=3D../../../../lib/adCustoms.jar # Java Library Path (location of Wrapper.DLL or libwrapper.so) wrapper.java.library.path.1=3D../lib # Java Additional Parameters wrapper.java.additional.1=3D # Initial Java Heap Size (in MB) #wrapper.java.initmemory=3D3 # Maximum Java Heap Size (in MB) wrapper.java.maxmemory=3D512 # Application parameters. Add parameters as needed starting from 1 wrapper.app.parameter.1=3Dcom.i411.ad.listener.server.Server #******************************************************************** # Wrapper Logging Properties #******************************************************************** # Format of output for the console. (See docs for formats) wrapper.console.format=3DPM # Log Level for console output. (See docs for log levels) wrapper.console.loglevel=3DNONE # Log file to use for wrapper output logging. wrapper.logfile=3D../../../../../logs/de5_ss_service.log # Format of output for the log file. (See docs for formats) wrapper.logfile.format=3DLPTM # Log Level for log file output. (See docs for log levels) wrapper.logfile.loglevel=3DDEBUG # 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 =3D 10 megabytes. wrapper.logfile.maxsize=3D0 # 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=3D0 # Log Level for sys/event log output. (See docs for log levels) wrapper.syslog.loglevel=3DNONE #******************************************************************** # Wrapper Windows Properties #******************************************************************** # Title to use when running as a console wrapper.console.title=3DDE5 Index Engine Listener #******************************************************************** # 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=3Dde5_index_engine # Display name of the service wrapper.ntservice.displayname=3DDE5 Index Engine Listener # Description of the service wrapper.ntservice.description=3DDE5 Index Engine Listener # Service dependencies. Add dependencies as needed starting from 1 wrapper.ntservice.dependency.1=3D # Mode in which the service is installed. AUTO_START or DEMAND_START wrapper.ntservice.starttype=3DDEMAND_START # Allow the service to interact with the desktop. wrapper.ntservice.interactive=3Dfalse wrapper.ntservice.process_priority=3DREALTIMEs Rodrigo G. Vega i411 Argentina rv...@i4... =20 Este mensaje es confidencial. Si usted ha recibido este e-mail por = error, por favor comun=EDquenoslo inmediatamente v=EDa e-mail y tenga la amabilidad = de eliminarlo de su sistema; no deber=E1 copiar el mensaje ni divulgar su contenido a ninguna persona. Muchas gracias. =20 This message is confidential. If you have received it by mistake please = let us know by e-mail immediately and delete it from your system; you should = also not copy the message nor disclose its contents to anyone. Many thanks. |