Version 26

    This page is under construction please check the documentation.




    You may also have a look to Tomcat and Build native.

    Using cgi with jbossweb:

    To use cgi check that you have $JBOSS_HOME/server/default/deploy/jbossweb.sar/servlets-cgi.jar

    If not you have to copy the TC (5.5.17) servlets-cgi.renametojar to $JBOSS_HOME/server/default/deploy/jbossweb.sar/servlets-cgi.jar.

    Then you have to modify server/default/deploy/jbossweb.sar/conf/web.xml to uncomment the cgi parameters:




    and the mapping:




    Make sure you copy you cgi executables at the right place: server/default/deploy/jbossweb.sar/ROOT.war/WEB-INF/cgi in the above example.

    Remeber cgi could be very insafe and uses a process to run that often forks the JVM before executing the script.