4 Replies Latest reply on Oct 9, 2003 10:17 AM by David Hoots

    Tomcat can't compile JSP

    lfinis Newbie

      Hi,

      I'm using Ecliple 2.1 with JBOSS 3.2.2 and Tomcat 4.1.24 on XP
      I can separately run JBOSS+Tomcat from command prompt, but when i start them from Eclipse, Tomcat fails to compile the very first JSP. (Internal error). From examining error stack trace i see that tomcat tries to create process "javac.exe" with too lengthy classpath. It seems that the classpath is getting truncated.
      Has anybody had similar problem?

      I have attached log to this post. here are excerpts from it:

      Exception compiling Error running javac.exe compiler
      22:38:25,359 ERROR [Engine] Exception:
      Error running javac.exe compiler

      ....

      Caused by: java.io.IOException: CreateProcess: javac.exe -classpath C:\java_env\jboss\jboss-3.2.2RC1_tomcat-4.1.24\bin\run.jar;C:\java_env\jboss\jboss-3.2.2RC1_tomcat-4.1.24\server\default\deploy\http-invoker.sar;C:\java_env\jboss\jboss-3.2.2RC1_tomcat-4.1.24\server\default\lib\jnpserver.jar;C:\java_env\jboss\jboss-3.2.2RC1_tomcat-4.1.24\server\default\tmp\deploy\tmp61258jbossmq-destinations-service.xml;C:\java_env\jboss\jboss-3.2.2RC1_tomcat-4.1.24\server\default\lib\activation.jar;C:\java_env\jboss\jboss-3.2.2RC1_tomcat-4.1.24\server\default\tmp\deploy\tmp61245servlets-default.jar;C:\java_env\jboss\jboss-3.2.2RC1_tomcat-4.1.24\server\default\deploy\http-invoker.sar\invoker.war;C:\java_env\jboss\jboss-3.2.2RC1_tomcat-4.1.24\server\default\tmp\deploy\tmp61252jboss-xa-jdbc.rar-contents\jboss-xa-jdbc.jar;C:\java_env\jboss\jboss-3.2.2RC1_tomcat-4.1.24\server\default\tmp\deploy\tmp61234naming-resources.jar;C:\java_env\jboss\jboss-3.2.2RC1_tomcat-4.1.24\server\default\lib\jpl-pattern.jar;C:\java_env\jboss\jboss-3.2.2RC1_tomcat-4.1.24\server\defa?

      ....

      Thanks in advance,
      Leonid.