Hi all,
First, here is the global configuration on a centos machine:
apache: httpd-2.0.52-19
tomcat: 6.0.13
mod_jk: 1.2.22
I'm currently working on a webapp where we have some pages generated
with perl scripts.
The first step was to configure tomcat CGIservlet and now cgi are
successfully execut
carefully
JkWorkersFile /etc/httpd/conf/workers.properties
JkLogFile /var/log/httpd/mod_jk.log
JkLogLevel debug
JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "
JkOptions +ForwardKeySize +ForwardURICompat -ForwardDirectories
JkRequestLogFormat "%w %V %T"
JkMount /Context/* worker1
tHandler for .cgi etc.) if you want
Tomcat to handle cgi.
Regards,
Rainer
Yannick Haudry wrote:
> here is the worker.properties file:
> ps=/
> worker.list=worker1
>
> worker.worker1.port=8009
> worker.worker1.host=localhost
> worker.worker1.type=ajp13
> worker.worker1.lbfa
Hi all,
I'm using CGI servlet in Tomcat 5 without any problem, but with Tomcat
6 I get this error when deploying my web application:
java.lang.SecurityException: Servlet of class
org.apache.catalina.servlets.CGIServlet is privileged and cannot be
loaded by this web application
In Tomcat 6, I no
ok, now it works !
thanks for your answer Martin
Yannick
On 1/23/07, Martin Dubuc <[EMAIL PROTECTED]> wrote:
Not sure if this is all that is required, but in the Context section
of the webapp context.xml file, you need to add privileged=true
property.
Martin
On 1/23/07, Yannick
If your datasource is not managed through your container but
application driven, I guess Lambda probe (which is a great
application) will not be able to give you information about it ? Is
there a way to programmatically log the number of connections in use,
etc ... ?
Thanks
Yannick
On 2/19/07, D
Hi,
maybe there is a better way, but at least I guess you can use Ant to
automate all that in one task.
Yannick
On 9/4/07, Angelo Chen <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I use Tomcat 5.5, I installed it in an ubuntu, I have to start it as root
> with startup.sh. to deplay a war file during d
Create a simple index.jsp and declare it as your welcome file in web.xml:
index.jsp
In this jsp, make use of a logic redirect to actually redirect to your
action through a global ActionForward:
<%@ taglib uri="http://struts.apache.org/tags-logic"; prefix="logic" %>
Then update your struts-co