|
From: Hubert F. <Hub...@ab...> - 2010-01-08 07:38:15
|
using the redirector (UNC, mapped drive) requires you to run the service with a user account with access to the remote host. If needed, don't use mapped drive (too much problems) but UNC path. The only way to have UNC path work with the "system" account is to establish a "null session share" to the remote host, but you probably won't do that because this would mean "no security" Hubert >>> mof <mo...@la...> 08.01.2010 02:45 >>> Yes indeed P: is a mapped network drive. But even UNC paths didn't work but it gave me the idea to move the whole directory onto a local drive. It worked perfectly after that. Thanks for your help. Mof. On Thu, 07 Jan 2010 18:51:21 -0500, "John Lewis" <4dw...@sn...> wrote: > I bet P: is a mapped network drive. If so, try the UNC path (ie. > \\hostname\SIPServer\lib\wrapper.jar). > > mof mof-at-labf.org |wrapper-user/Example Allow| wrote: >> Hi guys, >> >> I'm having a problem where my application will run fine when I run it as >> a >> console app: >> >> wrapper -c ../conf/wrapper.conf >> >> but will fail when run as a service: >> >> wrapper -t ../conf/wrapper.conf >> >> Here are the relevant parts of the wrapper.conf: >> >> wrapper.java.command=java >> wrapper.java.command.loglevel=INFO >> wrapper.java.mainclass=org.tanukisoftware.wrapper.WrapperSimpleApp >> wrapper.java.classpath.1=p:\SIPServer\lib\wrapper.jar >> wrapper.java.classpath.2=p:\SIPServer\bin\SIPServer.jar >> >> wrapper.java.library.path.1=P:\SIPServer\lib\ >> wrapper.java.additional.auto_bits=TRUE >> >> wrapper.app.parameter.1=org.labf.MobileSIPServer >> >> wrapper.debug=TRUE >> wrapper.console.format=PM >> wrapper.console.loglevel=INFO >> wrapper.logfile=P:\SIPServer\logs\wrapper.log >> wrapper.logfile.format=LPTM >> wrapper.logfile.loglevel=INFO >> wrapper.logfile.maxsize=0 >> wrapper.logfile.maxfiles=0 >> wrapper.syslog.loglevel=INFO >> wrapper.ignore_sequence_gaps=TRUE >> wrapper.console.title=SIPServer >> wrapper.ntservice.name=SIPServer >> wrapper.ntservice.displayname=SIP Server Integration Service >> wrapper.ntservice.description=SIP Server Integration Service >> wrapper.ntservice.dependency.1= >> wrapper.ntservice.starttype=AUTO_START >> wrapper.ntservice.interactive=false >> >> And the error from the logs is: >> STATUS | wrapper | 2010/01/07 17:27:45 | Starting the SIP Server >> Integration Service service... >> ERROR | wrapper | 2010/01/07 17:27:45 | Unable to start the service - >> The >> system cannot find the path specified. (0x3) >> >> I've tried relative paths, and then full paths and they both failed with >> the same error message. >> Anyone have any idea what the problem could be? >> >> Thanks, >> Mof. >> >> ------------------------------------------------------------------------------ >> This SF.Net email is sponsored by the Verizon Developer Community >> Take advantage of Verizon's best-in-class app development support >> A streamlined, 14 day to market process makes app distribution fast and >> easy >> Join now and get one step closer to millions of Verizon customers >> http://p.sf.net/sfu/verizon-dev2dev >> _______________________________________________ >> Wrapper-user mailing list >> Wra...@li... >> https://lists.sourceforge.net/lists/listinfo/wrapper-user >> > > ------------------------------------------------------------------------------ > This SF.Net email is sponsored by the Verizon Developer Community > Take advantage of Verizon's best-in-class app development support > A streamlined, 14 day to market process makes app distribution fast and > easy > Join now and get one step closer to millions of Verizon customers > http://p.sf.net/sfu/verizon-dev2dev > _______________________________________________ > Wrapper-user mailing list > Wra...@li... > https://lists.sourceforge.net/lists/listinfo/wrapper-user ------------------------------------------------------------------------------ This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev _______________________________________________ Wrapper-user mailing list Wra...@li... https://lists.sourceforge.net/lists/listinfo/wrapper-user |