RE: Being lost in the mailing list
Klaus, Was there a reason you did not use the preconfigured Java 1.4, Tomcat 5.0.19 and JK connectors that come with SuSE Pro 9.1? These are listed under the SuSE YAST Install Software panel. Just select RPM groups Productivity-Networking-Web-FrontEnds. The SuSE prepared README (/usr/share/doc/packages/jakarta-tomcat/README.SuSE) gives a great explanation of how to configure Apache and Tomcat. This is a bit different than just just expanding the archives, but you get the following benefits: 1) Tomcat is integrated into the Linux file structure (i.e. config files are under /etc/apache2, /etc/sysconfig/j2ee, etc; shared files are under /usr/share/tomcat, doc is under /usr/share/doc/packages/jakarta-tomcat,...) 2) Tomcat is installed as a daemon that can be stopped/started/restarted with rctomcat. 3) SuSE does provide security patches for their packages also that can be automatically applied with their Online Update utility. HTH - Richard -Original Message- From: Klaus-F. Kaal [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 08, 2005 12:52 AM To: Tomcat Users List Subject: Re: Being lost in the mailing list Hi Doug, sorry, that I had to shout out, but I can see that every specialist gets tons of eMails every day. And if he or she does not answer straight away to some mails, the others will be dumped in a bin and ... lost. And nobody answered by mails since days... Thanks for your reply. I have aquired a dedicated server with Suse 9.1 preconfigured. It came with Apache 2.0.48, which is working well. I installed - JDK 1.4 - Tomcat 5.0.28 - The latest binary package from mod_JK2 Apache and Tomcat are working well individually. The logs are showing, that Tomcat accepts mod_JK2 well and is prepared to communicate on port 8009. It also creates the /conf/auto/mod_jk.conf, which I show later in this text. Apache is not showing anything in the log. It just states that it did not find the document in its normal public_html space, when I try to call a JSP page. But, I havn't modified the log-level (by the way, where can I do that??). There are soo many how-to's which are all doing different things. I tried to find the essence from several. I must say at this point: I hate to compile packages when I can use binaries. So, I did not follow how-to's which asked me to do that. All other infos are given below. Can you do something with this info? Thanks for any help or hint! Klaus Parsons Technical Services schrieb: There are plenty. You have to be patient. And yes you can get lost. I have several times. Now, where was I? Oh! A few questions for you. Why are you using Apache? What how-to did you follow? Are you using mod-jk or mod-jk2 ? Doug - Original Message - From: Klaus-F. Kaal [EMAIL PROTECTED] To: Tomcat Users List tomcat-user@jakarta.apache.org Sent: Monday, March 07, 2005 6:58 PM Subject: Being lost in the mailing list Hi, I tired to get an answer to my serious questions for quite a while ( I assume, if a question is not answered within a few days, it will be lost ). This mailing-list did not react to my problems. Are there no knowledgeable people out there? To connect Apache to Tomcat should not be a real problem. I just need a little hint to be successful and - I swear - to help other people with my knowledge. But I feel lost. Are alle people circeling around exotic themes? Maybe someone just gives a link where to ask for anwers. Would be very kind and helful. Klaus - My previous questions - Apache still seems to ignore my mod_jk. _In my Tomcat log, I can see:_ INFO: JK2: ajp13 listening on /0.0.0.0:8009 06.03.2005 00:54:10 org.apache.jk.server.JkMain start INFO: Jk running ID=0 time=5/43 config=/usr/tomcat/conf/jk2.properties _I included my automatically created mod_jk.conf into the httpd.conf:_ Include /usr/tomcat/conf/auto/mod_jk.conf This mod_jk.conf looks like this: IfModule !mod_jk.c LoadModule jk_module /usr/lib/apache2-prefork/mod_jk.so /IfModule JkWorkersFile /etc/apache2/workers2.properties JkLogFile /usr/tomcat/logs/mod_jk.log JkLogLevel emerg _The workers2.properties is here:_ [channel.socket:localhost:8009] port=8009 host=127.0.0.1 [ajp13:localhost:8009] channel=channel.socket:localhost:8009 [uri:/jsp-examples/*] worker=ajp13.localhost:8009 [uri:www.technologyserver.com/*.jsp] worker=ajp13:localhost:8009 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Being lost in the mailing list
Klaus-F. Kaal wrote: Hi Doug, sorry, that I had to shout out, but I can see that every specialist gets tons of eMails every day. And if he or she does not answer straight away to some mails, the others will be dumped in a bin and ... lost. And nobody answered by mails since days... Thanks for your reply. I have aquired a dedicated server with Suse 9.1 preconfigured. It came with Apache 2.0.48, which is working well. I installed - JDK 1.4 - Tomcat 5.0.28 - The latest binary package from mod_JK2 Apache and Tomcat are working well individually. The logs are showing, that Tomcat accepts mod_JK2 well and is prepared to communicate on port 8009. It also creates the /conf/auto/mod_jk.conf, which I show later in this text. Apache is not showing anything in the log. It just states that it did not find the document in its normal public_html space, when I try to call a JSP page. But, I havn't modified the log-level (by the way, where can I do that??). There are soo many how-to's which are all doing different things. I tried to find the essence from several. I must say at this point: I hate to compile packages when I can use binaries. So, I did not follow how-to's which asked me to do that. All other infos are given below. Can you do something with this info? Thanks for any help or hint! Klaus - My previous questions - Apache still seems to ignore my mod_jk. _In my Tomcat log, I can see:_ INFO: JK2: ajp13 listening on /0.0.0.0:8009 06.03.2005 00:54:10 org.apache.jk.server.JkMain start INFO: Jk running ID=0 time=5/43 config=/usr/tomcat/conf/jk2.properties _I included my automatically created mod_jk.conf into the httpd.conf:_ Include /usr/tomcat/conf/auto/mod_jk.conf This mod_jk.conf looks like this: IfModule !mod_jk.c LoadModule jk_module /usr/lib/apache2-prefork/mod_jk.so /IfModule JkWorkersFile /etc/apache2/workers2.properties JkLogFile /usr/tomcat/logs/mod_jk.log JkLogLevel emerg _The workers2.properties is here:_ [channel.socket:localhost:8009] port=8009 host=127.0.0.1 [ajp13:localhost:8009] channel=channel.socket:localhost:8009 [uri:/jsp-examples/*] worker=ajp13.localhost:8009 [uri:www.technologyserver.com/*.jsp] worker=ajp13:localhost:8009 At first glance, I don't see any JkMount directives. You have to explicitly define what should be passed to the mod_jk worker with a JkMount. I would ask why you have chosen mod_jk2? It is no longer being developed by Apache. I would recommend using mod_jk. There is an excellent tutorial on configuration for Apache on Apache's website. http://jakarta.apache.org/tomcat/connectors-doc/howto/apache.html -- Justin Crabtree Java Programmer Ozarks Technical Community College 447-7533 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Being lost in the mailing list
Klaus, I think I may have spotted it ... does this file exist ? /usr/lib/apache2-prefork/mod_jk.so I suspect that the module isn't being loaded into Apache. Now you say that you are using mod_jk2 (which is fine, I do too) however it looks like you are using mod_jk. If the above file does exist then check for the presence of a LoadModule line in the Apache 2 config loading the above file. PJ Klaus-F. Kaal wrote: Hi Peter, I can imagine that the gurus get tons of eMails with difficult and silly questions. And as there is limited time, they can't answer them all. I believe they keep answering the freshly incoming ones. Since I am really in problems and did not get an answer over days, I thought, I was lost in the cant do this bin and it's better to shout out to get attention. Believe me: that is not my normal style. I aquired a dedicated server and got it with Suse 9.1 preinstalled. Apache 2.0.48 was on it. It uses virtual hostst. Apart from that it seems to be not special. But it runs without problems (as far as I can judge from the logs) I installed - Java 1.4 - Tomcat 5.0.28 - mod_jk2 from the latest binary distribution Independently, Apache and Tomcat work well. Tomcat reports in the logs that it listens on port 8009 for mod_jk communication. It also created /conf/auto/mod_jk.conf, the content of which, I show later in this text. Apache does not shift incoming JSP calls to mod_jk. It just states that it could not find the document in the normal public_html space. Can you do something with this info? Thanks a lot for your hints. Klaus Peter Johnson schrieb: Klaus, Taking a tone with people gives you less chance of a response. Are you doing any url rewriting in Apache? PJ Klaus-F. Kaal wrote: _In my Tomcat log, I can see:_ INFO: JK2: ajp13 listening on /0.0.0.0:8009 06.03.2005 00:54:10 org.apache.jk.server.JkMain start INFO: Jk running ID=0 time=5/43 config=/usr/tomcat/conf/jk2.properties _I included my automatically created mod_jk.conf into the httpd.conf:_ Include /usr/tomcat/conf/auto/mod_jk.conf This mod_jk.conf looks like this: IfModule !mod_jk.c LoadModule jk_module /usr/lib/apache2-prefork/mod_jk.so /IfModule JkWorkersFile /etc/apache2/workers2.properties JkLogFile /usr/tomcat/logs/mod_jk.log JkLogLevel emerg _The workers2.properties is here:_ [channel.socket:localhost:8009] port=8009 host=127.0.0.1 [ajp13:localhost:8009] channel=channel.socket:localhost:8009 [uri:/jsp-examples/*] worker=ajp13.localhost:8009 [uri:www.technologyserver.com/*.jsp] worker=ajp13:localhost:8009 Apache and Tomcat are working fine, independently. But when I try to call a JSP on port 80, Apache states that it cannot find the file. What am I doing wrong?? Thanks for your help. Klaus - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Being lost in the mailing list
Klaus-F. Kaal [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi Peter, I can imagine that the gurus get tons of eMails with difficult and silly questions. And as there is limited time, they can't answer them all. I believe they keep answering the freshly incoming ones. Since I am really in problems and did not get an answer over days, I thought, I was lost in the cant do this bin and it's better to shout out to get attention. Believe me: that is not my normal style. I aquired a dedicated server and got it with Suse 9.1 preinstalled. Apache 2.0.48 was on it. It uses virtual hostst. Apart from that it seems to be not special. But it runs without problems (as far as I can judge from the logs) I installed - Java 1.4 - Tomcat 5.0.28 - mod_jk2 from the latest binary distribution Well, there is your problem. The mod_jk.conf generated by ApacheConfig is for mod_jk. It's totally useless with mod_jk2. For mod_jk2, you have to set up the configuration by hand. Independently, Apache and Tomcat work well. Tomcat reports in the logs that it listens on port 8009 for mod_jk communication. It also created /conf/auto/mod_jk.conf, the content of which, I show later in this text. Apache does not shift incoming JSP calls to mod_jk. It just states that it could not find the document in the normal public_html space. Can you do something with this info? Thanks a lot for your hints. Klaus Peter Johnson schrieb: Klaus, Taking a tone with people gives you less chance of a response. Are you doing any url rewriting in Apache? PJ Klaus-F. Kaal wrote: _In my Tomcat log, I can see:_ INFO: JK2: ajp13 listening on /0.0.0.0:8009 06.03.2005 00:54:10 org.apache.jk.server.JkMain start INFO: Jk running ID=0 time=5/43 config=/usr/tomcat/conf/jk2.properties _I included my automatically created mod_jk.conf into the httpd.conf:_ Include /usr/tomcat/conf/auto/mod_jk.conf This mod_jk.conf looks like this: IfModule !mod_jk.c LoadModule jk_module /usr/lib/apache2-prefork/mod_jk.so /IfModule JkWorkersFile /etc/apache2/workers2.properties JkLogFile /usr/tomcat/logs/mod_jk.log JkLogLevel emerg _The workers2.properties is here:_ [channel.socket:localhost:8009] port=8009 host=127.0.0.1 [ajp13:localhost:8009] channel=channel.socket:localhost:8009 [uri:/jsp-examples/*] worker=ajp13.localhost:8009 [uri:www.technologyserver.com/*.jsp] worker=ajp13:localhost:8009 Apache and Tomcat are working fine, independently. But when I try to call a JSP on port 80, Apache states that it cannot find the file. What am I doing wrong?? Thanks for your help. Klaus - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Being lost in the mailing list
Klaus, Taking a tone with people gives you less chance of a response. Are you doing any url rewriting in Apache? PJ Klaus-F. Kaal wrote: Hi, I tired to get an answer to my serious questions for quite a while ( I assume, if a question is not answered within a few days, it will be lost ). This mailing-list did not react to my problems. Are there no knowledgeable people out there? To connect Apache to Tomcat should not be a real problem. I just need a little hint to be successful and - I swear - to help other people with my knowledge. But I feel lost. Are alle people circeling around exotic themes? Maybe someone just gives a link where to ask for anwers. Would be very kind and helful. Klaus - My previous questions Hi, I solved that problem. I had to implement this Listeners in server.xml: Listener className=org.apache.jk.config.ApacheConfig ^M modJk= /usr/lib/apache2-prefork/mod_jk.so ^M workersConfig= /etc/apache2/workers2.properties / ^M That did it. But still it is not working. *SO HERE IS MY NEXT QUESTION:* - Apache still seems to ignore my mod_jk. _In my Tomcat log, I can see:_ INFO: JK2: ajp13 listening on /0.0.0.0:8009 06.03.2005 00:54:10 org.apache.jk.server.JkMain start INFO: Jk running ID=0 time=5/43 config=/usr/tomcat/conf/jk2.properties _I included my automatically created mod_jk.conf into the httpd.conf:_ Include /usr/tomcat/conf/auto/mod_jk.conf This mod_jk.conf looks like this: IfModule !mod_jk.c LoadModule jk_module /usr/lib/apache2-prefork/mod_jk.so /IfModule JkWorkersFile /etc/apache2/workers2.properties JkLogFile /usr/tomcat/logs/mod_jk.log JkLogLevel emerg _The workers2.properties is here:_ [channel.socket:localhost:8009] port=8009 host=127.0.0.1 [ajp13:localhost:8009] channel=channel.socket:localhost:8009 [uri:/jsp-examples/*] worker=ajp13.localhost:8009 [uri:www.technologyserver.com/*.jsp] worker=ajp13:localhost:8009 Apache and Tomcat are working fine, independently. But when I try to call a JSP on port 80, Apache states that it cannot find the file. What am I doing wrong?? Thanks for your help. Klaus Klaus-F. Kaal schrieb: Hi, I am about to interface Apache / Tomcat. At several places it is recommended to use the mod_jk.auto-conf in the tomcat/conf directory. I got Tomcat 5.0, but this version does not produce the file as described. Can anybody tell me how I can persuade Tomcat to produce this file. Thanks for your help Klaus - 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]
Re: Being lost in the mailing list
There are plenty. You have to be patient. And yes you can get lost. I have several times. Now, where was I? Oh! A few questions for you. Why are you using Apache? What how-to did you follow? Are you using mod-jk or mod-jk2 ? Doug - Original Message - From: Klaus-F. Kaal [EMAIL PROTECTED] To: Tomcat Users List tomcat-user@jakarta.apache.org Sent: Monday, March 07, 2005 6:58 PM Subject: Being lost in the mailing list Hi, I tired to get an answer to my serious questions for quite a while ( I assume, if a question is not answered within a few days, it will be lost ). This mailing-list did not react to my problems. Are there no knowledgeable people out there? To connect Apache to Tomcat should not be a real problem. I just need a little hint to be successful and - I swear - to help other people with my knowledge. But I feel lost. Are alle people circeling around exotic themes? Maybe someone just gives a link where to ask for anwers. Would be very kind and helful. Klaus - My previous questions Hi, I solved that problem. I had to implement this Listeners in server.xml: Listener className=org.apache.jk.config.ApacheConfig ^M modJk= /usr/lib/apache2-prefork/mod_jk.so ^M workersConfig= /etc/apache2/workers2.properties / ^M That did it. But still it is not working. *SO HERE IS MY NEXT QUESTION:* - Apache still seems to ignore my mod_jk. _In my Tomcat log, I can see:_ INFO: JK2: ajp13 listening on /0.0.0.0:8009 06.03.2005 00:54:10 org.apache.jk.server.JkMain start INFO: Jk running ID=0 time=5/43 config=/usr/tomcat/conf/jk2.properties _I included my automatically created mod_jk.conf into the httpd.conf:_ Include /usr/tomcat/conf/auto/mod_jk.conf This mod_jk.conf looks like this: IfModule !mod_jk.c LoadModule jk_module /usr/lib/apache2-prefork/mod_jk.so /IfModule JkWorkersFile /etc/apache2/workers2.properties JkLogFile /usr/tomcat/logs/mod_jk.log JkLogLevel emerg _The workers2.properties is here:_ [channel.socket:localhost:8009] port=8009 host=127.0.0.1 [ajp13:localhost:8009] channel=channel.socket:localhost:8009 [uri:/jsp-examples/*] worker=ajp13.localhost:8009 [uri:www.technologyserver.com/*.jsp] worker=ajp13:localhost:8009 Apache and Tomcat are working fine, independently. But when I try to call a JSP on port 80, Apache states that it cannot find the file. What am I doing wrong?? Thanks for your help. Klaus Klaus-F. Kaal schrieb: Hi, I am about to interface Apache / Tomcat. At several places it is recommended to use the mod_jk.auto-conf in the tomcat/conf directory. I got Tomcat 5.0, but this version does not produce the file as described. Can anybody tell me how I can persuade Tomcat to produce this file. Thanks for your help Klaus - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- *Klaus-F. Kaal* Geschäftsführer *TIMO/logic/ GmbH* Singener Str. 42d D-78256 Steisslingen phone +49 7738 97096 fax +49 7738 97094 web www.timologic.com http://www.timologic.com/ mail [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Being lost in the mailing list
Hi Doug, sorry, that I had to shout out, but I can see that every specialist gets tons of eMails every day. And if he or she does not answer straight away to some mails, the others will be dumped in a bin and ... lost. And nobody answered by mails since days... Thanks for your reply. I have aquired a dedicated server with Suse 9.1 preconfigured. It came with Apache 2.0.48, which is working well. I installed - JDK 1.4 - Tomcat 5.0.28 - The latest binary package from mod_JK2 Apache and Tomcat are working well individually. The logs are showing, that Tomcat accepts mod_JK2 well and is prepared to communicate on port 8009. It also creates the /conf/auto/mod_jk.conf, which I show later in this text. Apache is not showing anything in the log. It just states that it did not find the document in its normal public_html space, when I try to call a JSP page. But, I havn't modified the log-level (by the way, where can I do that??). There are soo many how-to's which are all doing different things. I tried to find the essence from several. I must say at this point: I hate to compile packages when I can use binaries. So, I did not follow how-to's which asked me to do that. All other infos are given below. Can you do something with this info? Thanks for any help or hint! Klaus Parsons Technical Services schrieb: There are plenty. You have to be patient. And yes you can get lost. I have several times. Now, where was I? Oh! A few questions for you. Why are you using Apache? What how-to did you follow? Are you using mod-jk or mod-jk2 ? Doug - Original Message - From: Klaus-F. Kaal [EMAIL PROTECTED] To: Tomcat Users List tomcat-user@jakarta.apache.org Sent: Monday, March 07, 2005 6:58 PM Subject: Being lost in the mailing list Hi, I tired to get an answer to my serious questions for quite a while ( I assume, if a question is not answered within a few days, it will be lost ). This mailing-list did not react to my problems. Are there no knowledgeable people out there? To connect Apache to Tomcat should not be a real problem. I just need a little hint to be successful and - I swear - to help other people with my knowledge. But I feel lost. Are alle people circeling around exotic themes? Maybe someone just gives a link where to ask for anwers. Would be very kind and helful. Klaus - My previous questions - Apache still seems to ignore my mod_jk. _In my Tomcat log, I can see:_ INFO: JK2: ajp13 listening on /0.0.0.0:8009 06.03.2005 00:54:10 org.apache.jk.server.JkMain start INFO: Jk running ID=0 time=5/43 config=/usr/tomcat/conf/jk2.properties _I included my automatically created mod_jk.conf into the httpd.conf:_ Include /usr/tomcat/conf/auto/mod_jk.conf This mod_jk.conf looks like this: IfModule !mod_jk.c LoadModule jk_module /usr/lib/apache2-prefork/mod_jk.so /IfModule JkWorkersFile /etc/apache2/workers2.properties JkLogFile /usr/tomcat/logs/mod_jk.log JkLogLevel emerg _The workers2.properties is here:_ [channel.socket:localhost:8009] port=8009 host=127.0.0.1 [ajp13:localhost:8009] channel=channel.socket:localhost:8009 [uri:/jsp-examples/*] worker=ajp13.localhost:8009 [uri:www.technologyserver.com/*.jsp] worker=ajp13:localhost:8009
Re: Being lost in the mailing list
Hi Peter, I can imagine that the gurus get tons of eMails with difficult and silly questions. And as there is limited time, they can't answer them all. I believe they keep answering the freshly incoming ones. Since I am really in problems and did not get an answer over days, I thought, I was lost in the cant do this bin and it's better to shout out to get attention. Believe me: that is not my normal style. I aquired a dedicated server and got it with Suse 9.1 preinstalled. Apache 2.0.48 was on it. It uses virtual hostst. Apart from that it seems to be not special. But it runs without problems (as far as I can judge from the logs) I installed - Java 1.4 - Tomcat 5.0.28 - mod_jk2 from the latest binary distribution Independently, Apache and Tomcat work well. Tomcat reports in the logs that it listens on port 8009 for mod_jk communication. It also created /conf/auto/mod_jk.conf, the content of which, I show later in this text. Apache does not shift incoming JSP calls to mod_jk. It just states that it could not find the document in the normal public_html space. Can you do something with this info? Thanks a lot for your hints. Klaus Peter Johnson schrieb: Klaus, Taking a tone with people gives you less chance of a response. Are you doing any url rewriting in Apache? PJ Klaus-F. Kaal wrote: _In my Tomcat log, I can see:_ INFO: JK2: ajp13 listening on /0.0.0.0:8009 06.03.2005 00:54:10 org.apache.jk.server.JkMain start INFO: Jk running ID=0 time=5/43 config=/usr/tomcat/conf/jk2.properties _I included my automatically created mod_jk.conf into the httpd.conf:_ Include /usr/tomcat/conf/auto/mod_jk.conf This mod_jk.conf looks like this: IfModule !mod_jk.c LoadModule jk_module /usr/lib/apache2-prefork/mod_jk.so /IfModule JkWorkersFile /etc/apache2/workers2.properties JkLogFile /usr/tomcat/logs/mod_jk.log JkLogLevel emerg _The workers2.properties is here:_ [channel.socket:localhost:8009] port=8009 host=127.0.0.1 [ajp13:localhost:8009] channel=channel.socket:localhost:8009 [uri:/jsp-examples/*] worker=ajp13.localhost:8009 [uri:www.technologyserver.com/*.jsp] worker=ajp13:localhost:8009 Apache and Tomcat are working fine, independently. But when I try to call a JSP on port 80, Apache states that it cannot find the file. What am I doing wrong?? Thanks for your help. Klaus