i test the tomcat and apache in the tomcat ad apache have been instaled
machine.
when i restart the tomcat appears in the catalina.out log file this (if
you can help me....):
24-mar-2004 13:35:51 org.apache.coyote.http11.Http11Protocol destroy
INFO: Stoping http11 protocol on 8080 Catalina:type=ThreadPool,name=http8080
24-mar-2004 13:35:59 org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on port 8080
Starting service Tomcat-Standalone
Apache Tomcat/4.1.30
24-mar-2004 13:36:01 org.apache.struts.util.PropertyMessageResources <init>
INFO: Initializing, config='org.apache.struts.util.LocalStrings',
returnNull=true
24-mar-2004 13:36:01 org.apache.struts.util.PropertyMessageResources <init>
INFO: Initializing, config='org.apache.struts.action.ActionResources',
returnNull=true
24-mar-2004 13:36:01 org.apache.struts.util.PropertyMessageResources <init>
INFO: Initializing, config='org.apache.webapp.admin.ApplicationResources',
returnNull=true
24-mar-2004 13:36:04 org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on port 8080
24-mar-2004 13:36:04 org.apache.jk.common.ChannelSocket init
INFO: JK2: ajp13 listening on /0.0.0.0:8009
24-mar-2004 13:36:04 org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/69
config=/opt/jakarta/tomcat/conf/jk2.properties
Stopping service Tomcat-Standalone
24-mar-2004 13:46:35 org.apache.coyote.http11.Http11Protocol destroy
INFO: Stoping http11 protocol on 8080 Catalina:type=ThreadPool,name=http8080
> one thing I find frustrating about mod_jk is the logging code:
> it only reports the errocode, not the strerror.
>
> You got 101 as errno, it's possible to convert this code to human
> readable string with a small c program:
>
> tsterror.c:
>
> #include <error.h>
> #include <string.h>
> int main () {
>
> puts(strerror(101));
>
> }
>
> ( Compile with gcc -o tsterror tsterror.c )
>
> Gives you "Network is unreachable", currently I don't have glue why you
> get this error. If you restart apache the hostname:port of the ajp
> connector is reported in the mod_jk log, perhaps it is useful to verify
> the hostname:port.
>
> Hope this helps,
>
> --
> Staf Wagemakers
>
> email: staf at patat.org
> homepage: http://staf.patat.org
>
>
> On Wed, Mar 24, 2004 at 05:15:03PM +0100, Dionisio Ruiz de Zarate wrote:
>> i make teklnet to the localhost 8009 and:
>>
>> server:/# telnet localhost 8009
>> Trying ::1...
>> Connected to localhost.
>> Escape character is '^]'.
>>
>>
>>
>> the connection is not refused
>> whit the same configuration, the same configuration files, i have put
>> the
>> tomcat 4.1.27 and its mod_jk.so file and it runs well, but with the
>> 4.1.30, compiling it mod_jk.so file, it doesn't run.
>> can you help me?
>> thanks
>>
>>
>> > ok, looks good.
>> >
>> > Are you sure that the ajp13 connector is enabled in tomcat?
>> >
>> > Try to telnet to localhost port 8009, and see if you get a response.
>> >
>> > $ telnet localhost 8009
>> > Trying 127.0.0.1...
>> > Connected to stafbox.
>> > Escape character is '^]'.
>> >
>> > If you get "connection refused" or something like that, the tomcat
>> > ajp13 connector isn't enabled. ( or tomcat isn't running at all ;-)
>> >
>> > Hope this helps
>> >
>> >
>> > --
>> > Staf Wagemakers
>> >
>> > email: staf at patat.org
>> > homepage: http://staf.patat.org
>> >
>> > On Wed, Mar 24, 2004 at 03:22:58PM +0100, Dionisio Ruiz de Zarate
>> wrote:
>> >> i have those lines in my workers.properties file
>> >> worker.list=ajp13
>> >> worker.ajp13.port=8009
>> >> worker.ajp13.host=localhost
>> >> worker.ajp13.type=ajp13
>> >>
>> >> > What have you specified in your workers.properties? Normally you
>> >> should
>> >> > have:
>> >> >
>> >> > worker.list=ajp13
>> >> > ...
>> >> > worker.ajp13.port=8009
>> >> > worker.ajp13.host=localhost
>> >> > worker.ajp13.type=ajp13
>> >> > ...
>> >> >
>> >> >
>> >> > The ajp13 connector must be enabled in your server.xml.
>> >> > Try to telnet localhost 8009 to be sure.
>> >> >
>> >> > kind regards,
>> >> >
>> >> > --
>> >> > Staf Wagemakers
>> >> >
>> >> > email: staf at patat.org
>> >> > homepage: http://staf.patat.org
>> >> >
>> >> > On Wed, Mar 24, 2004 at 02:13:20PM +0100, Dionisio Ruiz de Zarate
>> >> wrote:
>> >> >> Hello i have one great problem. I am trying for solvig it during
>> one
>> >> >> week
>> >> >> and i canot solve it.
>> >> >>
>> >> >> i have one linux machie (suse 9) with the 1.4.2_03 jdk instaled.
>> >> >> the machine has the apache 2.0.48.
>> >> >> i have download and install the tomcat 4.1.30 and i have the
>> >> connectors
>> >> >> source download and compile the mod_jk.
>> >> >>
>> >> >> i have start the tomcat and the apache 2 and appeaars the bellos
>> >> errors
>> >> >> in
>> >> >> the log files.
>> >> >>
>> >> >> i put the conf files bellow.
>> >> >>
>> >> >> can you help me for solving this problem please?
>> >> >> thanks
>> >> >>
>> >> >> in the apache conf file i have:
>> >> >> JkWorkersFile "/opt/jakarta/tomcat/conf/workers.properties"
>> >> >> JkLogFile "/opt/jakarta/tomcat/logs/mod_jk.log"
>> >> >> JkLogLevel debug
>> >> >> JkMount /*.jsp ajp13
>> >> >>
>> >> >> ERRORS:
>> >> >>
>> >> >>
>> >> >> int he apache log file:
>> >> >> 192.168.0.250 - - [24/Mar/2004:13:28:52 +0100] "GET /index.jsp
>> >> HTTP/1.1"
>> >> >> 500 1063 "http://www.domain.com/" "Mozilla/5.0 (compatible;
>> >> >> Konqueror/3.1;
>> >> >> Linux)"
>> >> >>
>> >> >> in the tomcat mod_jk.log file:
>> >> >> [Wed Mar 24 13:28:52 2004] [jk_ajp_common.c (1318)]: Error
>> >> connecting
>> >> >> to
>> >> >> tomcat. Tomcat is probably not started or is listening on the
>> wrong
>> >> >> port.
>> >> >> worker=ajp13 failed errno = 101
>> >> >>
>> >> >>
>> >> >> ---------------------------------------------------------------------
>> >> >> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> >> >> For additional commands, e-mail:
>> [EMAIL PROTECTED]
>> >> >>
>> >> >>
>> >> >
>> >> >
>> >> > ---------------------------------------------------------------------
>> >> > To unsubscribe, e-mail: [EMAIL PROTECTED]
>> >> > For additional commands, e-mail:
>> [EMAIL PROTECTED]
>> >> >
>> >> >
>> >>
>> >>
>> >> ---------------------------------------------------------------------
>> >> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> >> For additional commands, e-mail: [EMAIL PROTECTED]
>> >>
>> >>
>> >
>> >
>> > ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: [EMAIL PROTECTED]
>> > For additional commands, e-mail: [EMAIL PROTECTED]
>> >
>> >
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]