Labels

Thursday, January 23, 2014

SEVERE: Servlet.service() for servlet cgi threw exception

SEVERE: Servlet.service() for servlet cgi threw exception
java.io.IOException: CreateProcess: perl "E:\XXXXXc\apache-tomcat-6.0.37-windows-x64\apache-tomcat-6.0.37\webapps\ROOT\WEB-INF\cgi\xxxx.pl" error=2
    at java.lang.ProcessImpl.create(Native Method)
    at java.lang.ProcessImpl.<init>(Unknown Source)
    at java.lang.ProcessImpl.start(Unknown Source)
    at java.lang.ProcessBuilder.start(Unknown Source)
    at java.lang.Runtime.exec(Unknown Source)
    at org.apache.catalina.servlets.CGIServlet$CGIRunner.run(CGIServlet.java:1647)
    at org.apache.catalina.servlets.CGIServlet.doGet(CGIServlet.java:609)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:861)
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:606)
    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
    at java.lang.Thread.run(Unknown Source)


3 comments:

  1. Hello gtulasidhar

    What is the solution for the above issues

    Revanth

    ReplyDelete
  2. Hello Revanth,
    Just we need to set class-path for JAVA.....let me know if you need any help


    Thanks,
    Tulasidhat

    ReplyDelete
  3. ok gtulasidhar

    If there is any issue with java CLASSPATH , server wiill not come up .

    But the above error is some thing with web app issue .


    Thanks
    Revanth

    ReplyDelete