You could precompile the jsps as one workaround. You could also move the tmp directory location by setting the jboss.server.temp.dir system property to point to the new location.
-- xxxxxxxxxxxxxxxxxxxxxxxx Scott Stark Chief Technology Officer JBoss Group, LLC xxxxxxxxxxxxxxxxxxxxxxxx
Sulik, Lori wrote:
Hiya folks,
I've been searching for an answer to this problem, but have been unable to
find a solution -- I'm hoping someone here can point me at the right
direction.. My apologies if this has already been addressed, or if it's
considered a n00b question...
We're using jboss 3.2.1 with the integrated tomcat 4.1.24.. All works hunky-dory on every platform except AIX.
On AIX, we get back the error:
19:33:56,141 INFO [Engine] Error compiling file:
/some/path/loginbody_jsp.java [javac] Compiling 1 source file
[javac] Warning: UNIXProcess.forkAndExec native error: The
parameter or environment lists are too long.
It then proceeds to list a classpath, that as far as I can tell, contains just about *every* file that exists in the server/Name directory tree, *including* all of the deployed files in the 'server/Name/tmp' tree. (including *all* files.. xml files, jars, etc). At last count, the CP alone was over 50k chars -- no wonder AIX is throwing a hissy fit, eh?
Now, I *thought* that our jsp's would be compiled via jasper, so I edited: server/Name/deploy/jbossweb-tomcat.sar/web.xml
and added the 'classpath' param-value to the JSP page compiler section: <servlet> <servlet-name>jsp</servlet-name> [...] <init-param> <param-name>classpath</param-name> <param-value>/my/fake/jarfile.jar</param-value> </init-param> [...] </servlet>
I see lots of log messages in the server/*/log/server.log, that it's at least *reading* that new classpath entry that I added, however, our jsps *still* don't compile, nor does the humongously long classpath that it spews into the logfile reference my (obviously bogus) /my/fake/jarfile.jar..
So, the million dollar question(s): 1. Is there a way to shorten/override that auto-generated-but-humongously-long JSP classpath? (if so, please share!!!!) 2. Is that jbossweb-tomcat.sar/web.xml 'classpath' attribute supposed to be how I override it?!? (if so, why doesn't it seem to be using it?) 3. Would moving that deploy 'tmp' directory to another location, outside of the server/Name tree, shorten the classpath being used when compiling the jsps? (if so, please explain how to do so :)
Thank you for any guidance you can give.
Lori Sulik
------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
