|
From: Leif M. <le...@ta...> - 2003-05-08 11:40:52
|
Suo, Most people have gotten things working setting up an account. A few things for you to check. When you set the wrapper.ntservice.account and wrapper.ntservice.password properties, id you uninstall and then reinstall the service. This is important or the changes will not take effect. (This is probable ok because you said you verified the settings in the control panel.) You say that the service is started, it is not running as the correct user? How are you verifying this? If there was a problem with the user then the service would not start. Under XP, you can see the user that a service is running as by opening the Task Manager and enabling the User Name column. Most services run as SERVICE. Most likely the user is the one that is specified in your wrapper.ntservice.account property. If both of the above are true, then what exactly are you trying to do? Is the network drive mapped to a local drive. Ie R:/ or something or are you accessing the network drive directly? //machine/dir If it is the later, try the first? Just an idea, not sure it will make a difference. I only have access to 2000 and XP servers. So I am unable to test NT directly. Do you have the ability to test on an XP or 2000 server? There is nothing I am doing that is widows-version specific, but who knows... Cheers, Leif Suo Anders wrote: >Hi! >I have a java app that monitor and reads/deletes files from a directory that is mapped from a UNIX >server. I have a user set up with the proper privileges to access the directory. When I run my Java app through the debbugger or as a console app, there is no problem. However, as I install the app as a NT service, it can't access the directory. I use the wrapper.ntservice.account and wrapper.ntservice.password properties of the conf-file to set the user that the service should run as, and looking at the installed service hrough control panel->services, it seems OK. But when I start the service, it still doesn't seem to run as the correct user. >I've seen that some other users of the Wrapper have come across problems similar to mine but I haven't found the proper solution! >OS is Win NT Server, Wrapper version 3.0.2. >Please help! > >Regards, >Anders > > |