0 Replies Latest reply on Aug 10, 2006 11:37 AM by Knut Klünker

    CGI cannot execute script

    Knut Klünker Newbie

      Hi all,
      how can I configure tomcat that it can execute script (*.exe) not using perl.
      I get the following error:
      java.io.IOException: CreateProcess: perl 'file-URL' error=2
      java.lang.ProcessImpl.create(Native Method)
      java.lang.ProcessImpl.(Unknown Source)
      java.lang.ProcessImpl.start(Unknown Source)
      java.lang.ProcessBuilder.start(Unknown Source)
      java.lang.Runtime.exec(Unknown Source)
      java.lang.Runtime.exec(Unknown Source)
      org.apache.catalina.servlets.CGIServlet$CGIRunner.run(CGIServlet.java:1720)
      org.apache.catalina.servlets.CGIServlet.doGet(CGIServlet.java:597)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
      Tomcat always wants to use perl, but perl doesn't works.
      Can somebody help?
      thanxs
      delta296