Using Tomcat cgi with Orbeon

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Using Tomcat cgi with Orbeon

mjgraham
Hi,

I want to enable cgi in Tomcat and use it with my Orbeon Forms-based app
so I follow the Tomcat instructions and create a subdirectory called cgi
under the WEB-INF of my application. However, when I come to call it at:
http://localhost:8080/myapp/cgi-bin/test.pl, I'm getting an Orbeon
PresentationServer Page Not Found exception. This looks like Orbeon is
overriding the Tomcat mapping to the CGI directory. How can I get this
all to function properly.

   Cheers,

   Matthew



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Using Tomcat cgi with Orbeon

Erik Bruchez
Administrator
Matthew,

 > I want to enable cgi in Tomcat and use it with my Orbeon Forms-based
 > app so I follow the Tomcat instructions and create a subdirectory
 > called cgi under the WEB-INF of my application. However, when I come
 > to call it at: http://localhost:8080/myapp/cgi-bin/test.pl, I'm
 > getting an Orbeon PresentationServer Page Not Found exception. This
 > looks like Orbeon is overriding the Tomcat mapping to the CGI
 > directory. How can I get this all to function properly.

Wow, I did not know Tomcat supported CGI, but it appears to be the
case:

   http://tomcat.apache.org/tomcat-5.5-doc/cgi-howto.html

Try commenting out all the servlet mappings in the Orbeon Forms
web.xml, and see whether CGI works after that (Orbeon Forms shouldn't
work anymore though). If so, then the fun part will be to figure out
how to modify the Orbeon Forms web.xml to not swallow the Tomcat
settings in conf/web.xml. Worst case scenario, you should be able to
just copy over the CGI servlet config and mapping to the Orbeon Forms
web.xml.

-Erik

--
Orbeon Forms - Web Forms for the Enterprise Done the Right Way
http://www.orbeon.com/




--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws