General J2EE: Copying files from server to a shared drive using DOS Batch invo

  1. Hi,

    I am using jboss-3.2.1_tomcat-4.1.24 on Windows 2000 Server, I have a DOS batcfile which

    copies a certain file which is uploaded on the server and puts it on a shared drive, the

    batch process is invoked by Java. When I run Jboss in the fronted (the jboss console is

    "ON") the batch runs and the file gets copied on the shared drive properly. The problem

    arises only when I run Jboss as a service, the batch process does not copy the file to the

    shared drive. The server is on SERVER LAN.

    Please HELP.

  2. What's the error? Any stack trace?