0 Replies Latest reply on Apr 13, 2005 12:38 AM by Abhishek Asthana

    JSP pages not being shown by JBoss

    Abhishek Asthana Newbie

      Hi,
      I am facing a strange problem. I am using JBoss 3.2.1 and when ever I try to call a JSP page from a servlet I get this error:

      Error compiling file: C:\DOCUME~1\Abhishek\LOCALS~1\Temp\Jetty_0_0_0_0_8080__DepotOnline\/DepotGeneralDetails_jsp.java [javac] Compiling 1 source file

      Exception compiling Error running javac.exe compiler

      09:15:35,336 WARN [jbossweb] WARNING: Exception:
      Error running javac.exe compiler
      at org.apache.tools.ant.taskdefs.compilers.DefaultCompilerAdapter.executeExternalCompile(DefaultCompilerAdapter.java:451)
      at org.apache.tools.ant.taskdefs.compilers.JavacExternal.execute(JavacExternal.java:81)
      at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:842)
      at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:682)
      .
      .
      .
      .
      .
      .
      .
      Caused by: java.io.IOException: CreateProcess: javac.exe -classpath "C:\jboss-3.2.1\bin\run.jar;C:\jboss-3.2.1\bin\shutdown.jar;C:\jboss-3.2.1\client\jboss-j2ee.jar;C:\jboss-3.2.1\server\all\lib\javax.servlet.jar;C:\jboss-3.2.1\lib\concurrent.jar;C:\jboss-3.2.1\lib\gnu-regexp.jar;C:\jboss-3.2.1\lib\jboss-system.jar;C:\jboss-3.2.1\lib\commons-httpclient.jar;C:\jboss-3.2.1\lib\getopt.jar;C:\jboss-3.2.1\lib\jboss-boot.jar;C:\jboss-3.2.1\lib\jboss-common.jar;C:\jboss-3.2.1\lib\jboss-jmx.jar;C:\jboss-3.2.1\lib\log4j-boot.jar;C:\jboss-3.2.1\lib\jdom.jar;C:\jboss-3.2.1\lib\webdavlib.jar;C:\jboss-3.2.1\lib\xercesImpl.jar;C:\jboss-3.2.1\lib\xml-apis.jar;C:\jboss-3.2.1\server\all\lib\jboss.jar;C:\jboss-3.2.1\server\all\lib\jsse.jar;C:\jboss-3.2.1\server\all\lib\jboss-jaas.jar;C:\jboss-3.2.1\server\all\lib\jboss-j2ee.jar;C:\jboss-3.2.1\server\all\lib\jts.jar;C:\jboss-3.2.1\server\all\lib\jboss-management.jar;C:\jboss-3.2.1\server\all\lib\jbossmqha.jar;C:\jboss-3.2.1\server\all\lib\jbossmq.jar;C:\jboss-3.2.1\server\all\lib\jbosssx.jar;C:\jboss-3.2.1\se?
      at java.lang.Win32Process.create(Native Method)
      at java.lang.Win32Process.(Unknown Source)
      at java.lang.Runtime.execInternal(Native Method)
      at java.lang.Runtime.exec(Unknown Source)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      at java.lang.reflect.Method.invoke(Unknown Source)
      at org.apache.tools.ant.taskdefs.Execute$Java13CommandLauncher.exec(Execute.java:646)
      at org.apache.tools.ant.taskdefs.Execute.launch(Execute.java:416)
      at org.apache.tools.ant.taskdefs.Execute.execute(Execute.java:427)
      at org.apache.tools.ant.taskdefs.compilers.DefaultCompilerAdapter.executeExternalCompile(DefaultCompilerAdapter.java:448)
      ... 32 more
      --- Nested Exception ---
      java.io.IOException: CreateProcess: javac.exe -classpath "C:\jboss-3.2.1\bin\run.jar....................
      ..
      .
      .
      .
      .
      .
      .
      09:15:35,346 ERROR [STDERR] Error running javac.exe compiler
      09:15:35,346 ERROR [STDERR] at org.apache.tools.ant.taskdefs.compilers.DefaultCompilerAdapter.executeExternalCompile(DefaultCompilerAdapter.java:451)
      09:15:35,346 ERROR [STDERR] at org.apache.tools.ant.taskdefs.compilers.JavacExternal.execute(JavacExternal.java:81)
      09:15:35,346 ERROR [STDERR] at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:842)........
      .
      .
      .
      .
      .
      .
      Actually it's a very long error message I am not writing it completely due to rules of this forum.
      Can anyone please help me. I can't fathom the problem.
      Thanks,
      Asty.