-
1. Re: Jikes + JBoss 3.0
jules Jul 31, 2002 9:03 PM (in response to markwolfe)somewhere in the jetty distrib (probably org.mortbay.jetty.jar) you should find a webdefault.xml.
(this will be in the jetty-plugin.sar or jbossweb.sar).
This specifies the standard default servlets, mappings etc for all webapps.
There are comments in there about how to enable Jikes JSP compilation.
Changing this file will do it for all webapps - alternatively, you could put the Jasper stuff explicitly into a single webapp's web.xml and set the Jikes stuff just there.
whichever suits you best,
Jules
P.S.
Let me know if this worked for you and I will add it to my FAQ :
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/jboss/contrib/jetty/FAQ?rev=HEAD&content-type=text/vnd.viewcvs-markup -
2. Re: Jikes + JBoss 3.0
oz_ko Oct 7, 2002 8:02 AM (in response to markwolfe)It's a little painful but it works - see also
http://jetty.mortbay.org/jetty/doc/JettyWithJikes.html
You need to add all the required classes/jars for compilation which is a bit long winded but it should your webdefault.xml in org.mortbay.jetty.jar should look something like:
<servlet-name>JSP</servlet-name>
<servlet-class>org.apache.jasper.servlet.JspServlet</servlet-class>
<init-param>
<param-name>jspCompilerPlugin</param-name>
<param-value>org.apache.jasper.compiler.JikesJavaCompiler</param-value>
</init-param>
<init-param>
<param-name>classpath</param-name>
<param-value>C:/jdk1.4.0_02/jre/lib/rt.jar;C:/jboss/jboss-3.0.2/server/default/lib/javax.servlet.jar;C:/jboss/jboss-3.0.2/server/default/deploy/jbossweb.sar/org.apache.jasper.jar;C:/jboss/jboss-3.0.2/server/default/deploy/jbossweb.sar/org.jboss.jetty.jar;C:/jboss/jboss-3.0.2/server/default/deploy/jbossweb.sar/org.mortbay.j2ee.jar</param-value>
</init-param>
<load-on-startup>0</load-on-startup> -
3. Re: Jikes + JBoss 3.0
jules Oct 9, 2002 5:20 AM (in response to markwolfe)Thanks, I'll put that in the FAQ.
I will be moving the webdefault.xml out of it's jar and into the sar, to give easier access soon - then this will become simpler.
Jules -
4. Re: Jikes + JBoss 3.0
friek Dec 12, 2002 12:20 PM (in response to markwolfe)How does one do this in 3.0.3? There is no webdefaults.xml, in a jar or otherwise that I can find.
-
5. Re: Jikes + JBoss 3.0
federico_boschetti Dec 26, 2002 7:29 PM (in response to markwolfe)I tried following this method: now I have only a problem with the accented vowels in the HTML produced by jboss.
Are there other ways to configure jikes and classpath on jboss-3.0.4?
Tnx