When I run my web application using Tomcat as a service
under windows 2000 (Tomcat 3.1.1) I'm running into a strange
message.
My app runs an eternal .cmd file to populate some
directories. One of the lines in the cmd file is
xcopy InitialProject\*.* Projects\%1 /E
This works fine when Tomcat is not a service, but when it
is a service, the server machine twice puts up a message
box with:
"There is no disk in the drive. Please insert a disk in the
drive \Device\Harddisk\DR1."
If I hit "Continue" it goes on to work just fine.
If I put in two xcopy statements the message comes up
four times, so it seems to be a result of the two xcopy
arguments.
Changing the argument paths to explicit paths doesn't
help. E.g.,
xcopy C:\Tomcat\XXX\InitialProject\*.* C:\Tomcat\XXX\Projects\%1 /E
Other commands (e.g., mkdir) don't seem to have any
problem.
Any idea how to fix this?
Thanks,
Frank Lawlor
Athens Group, Inc.
(512) 345-0600 x151
Athens Group, an employee-owned consulting firm integrating technology
strategy and software solutions.