You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Adam Denenberg <ad...@dberg.org> on 2003/02/28 23:29:28 UTC
Internal Server Error
Hey ,
I am using apache 1.3.X with tomcat 4.1.18 on solaris 7 and sun JDK 1.4.
I am getting an internal server error with the folloing jk error in my
mod_jk.log file
[Fri Feb 28 17:15:43 2003] [jk_uri_worker_map.c (558)]
jk_uri_worker_map_t::map_uri_to_worker, Found a suffix match ajp13 ->
*.jsp
[Fri Feb 28 17:15:43 2003] [jk_worker.c (132)]: Into wc_get_worker_for_name
ajp13
[Fri Feb 28 17:15:43 2003] [jk_worker.c (136)]: wc_get_worker_for_name,
done did not found a worker
My workers.properties file is
workers.tomcat_home=/usr/local/tomcat
workers.java_home=/usr/local/java
ps=/
worker.list=ajp13
worker.ajp13.port=8009
worker.ajp13.host=localhost
worker.ajp13.type=ajp13
worker.ajp13.lbfactor=1
and my httpd.conf section is
JkWorkersFile /usr/local/apache/conf/workers.properties
Alias /examples /usr/local/tomcat/webapps/examples
JkLogFile logs/jk.log
JkLogLevel debug
JkMount /examples/*.jsp ajp13
JkMount /*.jsp ajp13
And server.xml relevant is ..
<Connector className="org.apache.ajp.tomcat4.Ajp13Connector"
port="8009" minProcessors="5" maxProcessors="75"
acceptCount="10" debug="0"/>
The jk2/coyote on 8009 connector was commented out.
Static content looks fine, however when trying to access a .jsp file, it
fails with an internal server error and the message above.
Anyone seen this problem or can diagnose why I would get it? I cant figure
it for the life of me.
thanks
Adam
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
Re: Internal Server Error
Posted by Adam Denenberg <ad...@dberg.org>.
Still tested this 100 times and it still only works directly to tomcat at
8080 but not through mod_jk. Are there any additions to the server.xml file
that need to be made to make this work properly?
It doesn¹t appear the connection even gets to tomcat since the logs don¹t
show anything. I am still unlcear why mod_jk is unable to "find a worker"
as it complains about? Anyone know what would cause that?
thanks
Adam
On 2/28/03 5:29 PM, "Adam Denenberg" <ad...@dberg.org> wrote:
> Hey ,
>
> I am using apache 1.3.X with tomcat 4.1.18 on solaris 7 and sun JDK 1.4.
>
> I am getting an internal server error with the folloing jk error in my
> mod_jk.log file
>
> [Fri Feb 28 17:15:43 2003] [jk_uri_worker_map.c (558)]
> jk_uri_worker_map_t::map_uri_to_worker, Found a suffix match ajp13 ->
> *.jsp
> [Fri Feb 28 17:15:43 2003] [jk_worker.c (132)]: Into wc_get_worker_for_name
> ajp13
> [Fri Feb 28 17:15:43 2003] [jk_worker.c (136)]: wc_get_worker_for_name,
> done did not found a worker
>
> My workers.properties file is
>
> workers.tomcat_home=/usr/local/tomcat
> workers.java_home=/usr/local/java
> ps=/
> worker.list=ajp13
> worker.ajp13.port=8009
> worker.ajp13.host=localhost
> worker.ajp13.type=ajp13
> worker.ajp13.lbfactor=1
>
> and my httpd.conf section is
>
> JkWorkersFile /usr/local/apache/conf/workers.properties
> Alias /examples /usr/local/tomcat/webapps/examples
> JkLogFile logs/jk.log
> JkLogLevel debug
> JkMount /examples/*.jsp ajp13
> JkMount /*.jsp ajp13
>
> And server.xml relevant is ..
>
> <Connector className="org.apache.ajp.tomcat4.Ajp13Connector"
> port="8009" minProcessors="5" maxProcessors="75"
> acceptCount="10" debug="0"/>
>
> The jk2/coyote on 8009 connector was commented out.
>
> Static content looks fine, however when trying to access a .jsp file, it
> fails with an internal server error and the message above.
>
> Anyone seen this problem or can diagnose why I would get it? I cant figure
> it for the life of me.
>
> thanks
> Adam
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
Re: Internal Server Error
Posted by Adam Denenberg <ad...@dberg.org>.
Yeah sorry should have included that. Everything works fine on the normal
tomcat port of 8080. Its going through mod_jk that it breaks.
thanks
Adam
On 2/28/03 5:30 PM, "Mike Jackson" <mj...@cdi-hq.com> wrote:
> I'll ask the obvious question, is tomcat running?
>
> --mikej
> -=-----
> mike jackson
> mjackson@cdi-hq.com
>
>> -----Original Message-----
>> From: Adam Denenberg [mailto:adam@dberg.org]
>> Sent: Friday, February 28, 2003 2:29 PM
>> To: tomcat-user@jakarta.apache.org
>> Subject: Internal Server Error
>>
>>
>> Hey ,
>>
>> I am using apache 1.3.X with tomcat 4.1.18 on solaris 7 and sun JDK 1.4.
>>
>> I am getting an internal server error with the folloing jk error in my
>> mod_jk.log file
>>
>> [Fri Feb 28 17:15:43 2003] [jk_uri_worker_map.c (558)]
>> jk_uri_worker_map_t::map_uri_to_worker, Found a suffix match ajp13 ->
>> *.jsp
>> [Fri Feb 28 17:15:43 2003] [jk_worker.c (132)]: Into
>> wc_get_worker_for_name
>> ajp13
>> [Fri Feb 28 17:15:43 2003] [jk_worker.c (136)]: wc_get_worker_for_name,
>> done did not found a worker
>>
>> My workers.properties file is
>>
>> workers.tomcat_home=/usr/local/tomcat
>> workers.java_home=/usr/local/java
>> ps=/
>> worker.list=ajp13
>> worker.ajp13.port=8009
>> worker.ajp13.host=localhost
>> worker.ajp13.type=ajp13
>> worker.ajp13.lbfactor=1
>>
>> and my httpd.conf section is
>>
>> JkWorkersFile /usr/local/apache/conf/workers.properties
>> Alias /examples /usr/local/tomcat/webapps/examples
>> JkLogFile logs/jk.log
>> JkLogLevel debug
>> JkMount /examples/*.jsp ajp13
>> JkMount /*.jsp ajp13
>>
>> And server.xml relevant is ..
>>
>> <Connector className="org.apache.ajp.tomcat4.Ajp13Connector"
>> port="8009" minProcessors="5" maxProcessors="75"
>> acceptCount="10" debug="0"/>
>>
>> The jk2/coyote on 8009 connector was commented out.
>>
>> Static content looks fine, however when trying to access a .jsp file, it
>> fails with an internal server error and the message above.
>>
>> Anyone seen this problem or can diagnose why I would get it? I
>> cant figure
>> it for the life of me.
>>
>> thanks
>> Adam
>>
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
RE: Internal Server Error
Posted by Mike Jackson <mj...@cdi-hq.com>.
I'll ask the obvious question, is tomcat running?
--mikej
-=-----
mike jackson
mjackson@cdi-hq.com
> -----Original Message-----
> From: Adam Denenberg [mailto:adam@dberg.org]
> Sent: Friday, February 28, 2003 2:29 PM
> To: tomcat-user@jakarta.apache.org
> Subject: Internal Server Error
>
>
> Hey ,
>
> I am using apache 1.3.X with tomcat 4.1.18 on solaris 7 and sun JDK 1.4.
>
> I am getting an internal server error with the folloing jk error in my
> mod_jk.log file
>
> [Fri Feb 28 17:15:43 2003] [jk_uri_worker_map.c (558)]
> jk_uri_worker_map_t::map_uri_to_worker, Found a suffix match ajp13 ->
> *.jsp
> [Fri Feb 28 17:15:43 2003] [jk_worker.c (132)]: Into
> wc_get_worker_for_name
> ajp13
> [Fri Feb 28 17:15:43 2003] [jk_worker.c (136)]: wc_get_worker_for_name,
> done did not found a worker
>
> My workers.properties file is
>
> workers.tomcat_home=/usr/local/tomcat
> workers.java_home=/usr/local/java
> ps=/
> worker.list=ajp13
> worker.ajp13.port=8009
> worker.ajp13.host=localhost
> worker.ajp13.type=ajp13
> worker.ajp13.lbfactor=1
>
> and my httpd.conf section is
>
> JkWorkersFile /usr/local/apache/conf/workers.properties
> Alias /examples /usr/local/tomcat/webapps/examples
> JkLogFile logs/jk.log
> JkLogLevel debug
> JkMount /examples/*.jsp ajp13
> JkMount /*.jsp ajp13
>
> And server.xml relevant is ..
>
> <Connector className="org.apache.ajp.tomcat4.Ajp13Connector"
> port="8009" minProcessors="5" maxProcessors="75"
> acceptCount="10" debug="0"/>
>
> The jk2/coyote on 8009 connector was commented out.
>
> Static content looks fine, however when trying to access a .jsp file, it
> fails with an internal server error and the message above.
>
> Anyone seen this problem or can diagnose why I would get it? I
> cant figure
> it for the life of me.
>
> thanks
> Adam
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org