Using servlet, I was successful in executing a dos batch file that copies files from a mapped drive to my machine. But this is using JBuilder4 in my machine. But when I deployed it with iPlanet as my web server, it cannot access the same mapped drive.
"O" is the mapped drive
the command prompt displays shows
C:/server-root/https-server.instance/config> O:
Access is denied.
But when I do this manually, like opening a dos window and changing directory up to config folder, then changing drive to letter O, it works fine. By the way, I'm working on Windows NT4 system.
Could this be a network problem, webserver...?
Thank you,
Noel
popoy143@aol.com
-
Urgent help needed, please! (5 messages)
- Posted by: Noel Bernardez
- Posted on: June 13 2001 14:56 EDT
Threaded Messages (5)
- Urgent help needed, please! by Gregory Bragg on June 13 2001 15:34 EDT
- Urgent help needed, please! by Trever Shick on June 13 2001 19:58 EDT
- Urgent help needed, please! by Gregory Bragg on June 14 2001 08:45 EDT
-
Urgent help needed, please! by Noel Bernardez on June 14 2001 10:52 EDT
- Urgent help needed, please! by Gregory Bragg on June 14 2001 11:21 EDT
-
Urgent help needed, please! by Noel Bernardez on June 14 2001 10:52 EDT
- Urgent help needed, please! by Gregory Bragg on June 14 2001 08:45 EDT
-
Urgent help needed, please![ Go to top ]
- Posted by: Gregory Bragg
- Posted on: June 13 2001 15:34 EDT
- in response to Noel Bernardez
Check to see what userid the webserver is running under on the NT box and see if it has permission to access the mapped drive. I think you'll find that it doesn't have the neccessary permissions so go ask your NT administrator to give that id access.
Greg. -
Urgent help needed, please![ Go to top ]
- Posted by: Trever Shick
- Posted on: June 13 2001 19:58 EDT
- in response to Noel Bernardez
I've seen this before. The problem I came across was the fact that the server is running with a different user that doesn't have the drive as a default mapping.
-
Urgent help needed, please![ Go to top ]
- Posted by: Gregory Bragg
- Posted on: June 14 2001 08:45 EDT
- in response to Trever Shick
Yeah that could be it too... -
Urgent help needed, please![ Go to top ]
- Posted by: Noel Bernardez
- Posted on: June 14 2001 10:52 EDT
- in response to Gregory Bragg
Well, Trever and Gregg, I do appreciate your help on this. But, Gregg, I've tried what you have suggested. But NT is probably checking the access of the web server which I believe is the "anonymous user" which Microsoft uses too in their IIS. But Trever, could you elaborate more on what you are suggesting. Thanks. -
Urgent help needed, please![ Go to top ]
- Posted by: Gregory Bragg
- Posted on: June 14 2001 11:21 EDT
- in response to Noel Bernardez
Unfortunately I don't have any experience with IIS but I had a similiar experience with Weblogic not being able to create any files in a directory local to the server on it's own harddrive! It turned out that the userid that the NT server logged onto the network with didn't have the necessary permissions to create or read files in that particular directory.
What I did to resolve it was right click on the directory affected, select "Properties", "Security" tab, "Permissions" button and then added the userid, set the access rights and save the settings using the "Apply" button. The similiar procedure can be done for shared network drives however your NT administrator has to give the userid affected access to that shared resource. If it is the "anonymous user" it might need the access but I have a feeling it is actually the logon userid of the NT server itself that is the one that has to be set.
A bit of warning though... Giving the anonymous user access to a shared resource can be somewhat of a security risk that you may not want to manage...
Greg.