1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

bat file launching

Discussion in 'Plesk for Windows - 8.x and Older' started by Nicolas Gibelin, Oct 29, 2009.

  1. Nicolas Gibelin

    Nicolas Gibelin Guest

    0
     
    Hello,

    Here is my problem :

    I'm developing a web portal on Windows Server 2003. The test sections are tested directly on IIS and accessed via the server's IP but the official and stable version is accessible only through our domain managed by Plesk 8.6

    In the new version of the portal, I have to launch a bat file (FOP) which creates a pdf thanks to a xml and a xsl file. This bat file calls some jars.

    In the development version, there is no problem, pdf generated but as soon as i host the portal through Plesk, the bat file is launched but the pdf is not generated anymore. I made some tests :

    - The bat file is launched, no problem, it executes and even can write some txt files in the directory where I want the pdf to be created.
    - The command line is correct. I've extracted it and tested it manually in cmd.exe and it works perfectly.
    - The directory has the write permissions. In .NET, I can create a directory and write a xml file in it but when I call the bat file to create the pdf, it does not work so the problem must come from the bat autorisations ?

    Recently, an error has been raised, telling me that the bat file could not open "C:\Program Files\Java\jre6\lib\i386\jvm.cfg". I've set some permissions but it still doesn't work.

    Since the problem comes with the Plesk hosting (as far as i know), do you know anything about this ?

    Thank you
     
Loading...