I have two different installations of JBoss on my development system, and to switch from one to the other, I only have to change my JBOSS_HOME env variable.
I am (and have been) using JBoss 3.2.1 with Jetty for MONTHS to a year, and have NEVER had this problem. Whenever I use 3.2.3 with Tomcat, I start getting these errors, whether my web.xml is configured to use JIKES or regular javac to do jsp compiles. Its as if somehow the whole xxx_jsp.java file IS TRUNCATED somehow before the compiler gets done with it....
Here's my application startup echo:
JBoss Bootstrap Environment
JBOSS_HOME: /Applications/jboss-3.2.3
JAVA: /Library/Java/Home/bin/java
JAVA_OPTS: -Dprogram.name=run.sh -Xms384m -Xmx640m
CATALINA_OPTS: -Dbuild.compiler.emacs=true
CLASSPATH: /Applications/jboss-3.2.3/bin/run.jar:/Library/Java/Home/../Classes/classes.jar
================================================================================
16:11:00,450 INFO [Server] Starting JBoss (MX MicroKernel)...
16:11:00,454 INFO [Server] Release ID: JBoss [WonderLand] 3.2.3 (build: CVSTag=JBoss_3_2_3 date=200311301445)
16:11:00,456 INFO [Server] Home Dir: /Applications/jboss-3.2.3
16:11:00,459 INFO [Server] Home URL: file:/Applications/jboss-3.2.3/
16:11:00,461 INFO [Server] Library URL: file:/Applications/jboss-3.2.3/lib/
16:11:00,463 INFO [Server] Patch URL: null
16:11:00,490 INFO [Server] Server Name: default
16:11:00,492 INFO [Server] Server Home Dir: /Applications/jboss-3.2.3/server/default
16:11:00,493 INFO [Server] Server Home URL: file:/Applications/jboss-3.2.3/server/default/
16:11:00,494 INFO [Server] Server Data Dir: /Applications/jboss-3.2.3/server/default/data
16:11:00,495 INFO [Server] Server Temp Dir: /Applications/jboss-3.2.3/server/default/tmp
16:11:00,496 INFO [Server] Server Config URL: file:/Applications/jboss-3.2.3/server/default/conf/
16:11:00,497 INFO [Server] Server Library URL: file:/Applications/jboss-3.2.3/server/default/lib/
16:11:00,498 INFO [Server] Root Deployment Filename: jboss-service.xml
16:11:00,504 INFO [Server] Starting General Purpose Architecture (GPA)...
16:11:01,037 INFO [ServerInfo] Java version: 1.4.2_03,Apple Computer, Inc.
16:11:01,039 INFO [ServerInfo] Java VM: Java HotSpot(TM) Client VM 1.4.2-34,"Apple Computer, Inc."
16:11:01,048 INFO [ServerInfo] OS-System: Mac OS X 10.3.2,ppc
This is extremely frustrating as I would LOVE to use JIKES and new features in JB3.2.3, but I can't move it to production with BLATANT compilation errors like this.