|
From: Parker, G. <Gar...@ci...> - 2006-05-15 13:35:03
|
Hi Everyone, I'm running snipsnap (http://snipsnap.org/space/start) and placing the = posted content on a network drive and wanted to make this a Windows = service for availability. I'm using integration Method1 = (WrapperSimpleApp) In service mode I get the following in the browser: http://myserver:myport/space HTTP ERROR: 404 %2Fspace+Not+Found RequestURI=3D/space Powered by Jetty:// <http://jetty.mortbay.org> In console mode everything works fine, and everything works fine on the = local file system both in console mode and in service mode. I can't use UNC syntax because SnipSnap seems unhappy with this, so have = a mapped drive whic is active at the time of these observations. I'm = not running the service under the system account, and am using the same = account for both the service mode and console mode. I've also tried = setting debug on, and working directory with no appreciable effect. Any ideas? Here's my wrapper.conf: #******************************************************************** # Wrapper Properties #******************************************************************** # Java Application wrapper.java.command=3D%JAVA_HOME%\bin\java wrapper.working.dir=3DC:\snipsnap\snipsnap-1.0b3-uttoxeter wrapper.debug=3DTRUE # 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=3Dlib/wrapper.jar wrapper.java.classpath.2=3D%JAVA_HOME%/lib/tools.jar wrapper.java.classpath.3=3Dlib/snipsnap.jar # Java Library Path (location of Wrapper.DLL or libwrapper.so) wrapper.java.library.path.1=3Dlib # Java Additional Parameters #wrapper.java.additional.1=3D-Dprogram.name=3Drun.bat # Initial Java Heap Size (in MB) #wrapper.java.initmemory=3D3 # Maximum Java Heap Size (in MB) wrapper.java.maxmemory=3D128 # Application parameters. Add parameters as needed starting from 1 wrapper.app.parameter.1=3Dorg.snipsnap.server.SnipSnapLauncher #wrapper.app.parameter.2=3D-root = "//myfileshareserver/Share/Technology/DCMTS/Documentation/Projects/Next/N= extSnipSnapWiki/content" #wrapper.app.parameter.2=3D-root "c:\snipsnap\content" wrapper.app.parameter.2=3D-root = "S:\Technology\DCMTS\Documentation\Projects\Next\NextSnipSnapWiki\content= " #******************************************************************** # 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=3DINFO # Log file to use for wrapper output logging. wrapper.logfile=3Dlogs/wrapper.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=3DINFO # 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=3DNext SnipSnap Wiki #******************************************************************** # 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=3DNext SnipSnap Wiki # Display name of the service wrapper.ntservice.displayname=3DNext SnipSnap Wiki # Description of the service wrapper.ntservice.description=3DNext SnipSnap Wiki # 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=3DAUTO_START # Allow the service to interact with the desktop. wrapper.ntservice.interactive=3Dfalse Parkie=20 =20 This e-mail, its content and any files transmitted with it are intended = solely for the addressee(s) and may be legally privileged and/or = confidential. If you are not the named addressee you should not = disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this = e-mail by mistake and delete this e-mail from your system. E-mail = transmission cannot be guaranteed to be secure or error-free as = information could be intercepted, corrupted, lost, destroyed, arrive = late or incomplete, or contain viruses. The sender therefore does not = accept liability for any errors or omissions in the contents of this = message and any attachments which arise as a result of e-mail = transmission. If verification is required please request a hard-copy version. This = message is provided for information purposes and should not be construed = as a solicitation or offer to buy or sell any securities or related = financial instruments. |