  | Mailing List | | Home | | Forum Home | | JBoss - Java Application Server | | Struts - A MVC web framework | | Tomcat - JSP/Servlet container | | iText - An open source PDF Java Library | | JDOM - JDOM XML Parser | | J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition | | J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog | | Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology | | JSP - A mailing list about Java Server Pages specification and reference | |
Struts & Hibernate
|
|
|
  | | | Problems with REX and mod_jk2 | Problems with REX and mod_jk2 2004-01-05 - By Max Masetti
Back hi,
I've compiled mod_jk2 2.0.2 for apache 2 (0.48) (Tomcat 4.1.24) and trying to use regular expressions to configure uris into workers2.properties like in:
[uri:$/test/\w*] worker=ajp13:localhost:8009 context=/test debug=10
or something harder (but usefull) like:
[uri:$/test/(?!\w*\.(gif|jpg)$)]
I guessed that to specify a rex it must be prefixed by a $.
Normal uris works well, but rex-uri seem to be recognized correctly but to cause a segmentation fault as reported in error_log:
[notice] uriEnv.parseName() parsing /test/\w* regexp [notice] uriEnv.setAttribute() the worker directive is deprecated. Use 'group' instead. [notice] jk2_init() Found child 7680 in scoreboard slot 0 ... [notice] Apache/2.0.48 (Unix) mod_jk2/2.0.2 configured -- resuming normal operations [notice] child pid 7684 exit signal Segmentation fault (11) [notice] child pid 7683 exit signal Segmentation fault (11) [notice] child pid 7682 exit signal Segmentation fault (11) [notice] child pid 7681 exit signal Segmentation fault (11) [notice] child pid 7680 exit signal Segmentation fault (11)
and nothing works.
After that, from log, I guess apache forks continuously trying to start some connection to tomcat and these childs die after some line of log.
There is someone that can help me?
thanks in advance
max
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------ To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected) For additional commands, e-mail: tomcat-user-help@(protected)
|
|
 |