Test
As requested. _ FREE pop-up blocking with the new MSN Toolbar get it now! http://toolbar.msn.com/go/onm00200415ave/direct/01/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat5 - MySql5.0.0a - apache2.0 - XP - JNDI connection problems
I apologize - but I haven't been receiving any of the tomcat-user lists emails to my previous email account. I have since switched to this one. Anyway... Tom K. - asked: Are you using jstl tags to connect to your database? Looking at your error, I noted the path http://java.sun.com/jsp/jstl/sql You are using the preview version of mySQL (Version 5), has connectorJ been tested with it...I don't know, I'm just asking. My response: I'm a newbie on the configuration so I was just following http://jakarta.apache.org/tomcat/tomcat-5.0-doc/jndi-datasource-examples-howto.html I would have no idea if it has been tested - how could I find out? My previous email: I am following: http://jakarta.apache.org/tomcat/tomcat-5.0-doc/jndi-datasource-examples-howto.html I am running windows XP - have apache 2.0.48 and Tomcat 5.0.19 up and running with j2sdk1.4.2_04. I am also running MySql5.0.0a Under $CATALINA_HOME/comon/lib mysql-connector-java-3.0.11-stable-bin commons-collections.3.0.jar commons-dbcp-1.1.jar commons-pool-1.1.jar When I run the test code - test.jsp I get the following error: Exception report: org.apache.jasper.JasperException: The absolute uri: http://java.sun.com/jsp/jstl/sql cannot be resolved in either web.xml or the jar files deployed with this application org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHand ler.java:94) org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java :404) org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java :154) org.apache.jasper.compiler.TagLibraryInfoImpl.generateTLDLocation(TagLib raryInfoImpl.java:359) org.apache.jasper.compiler.TagLibraryInfoImpl.init(TagLibraryInfoImpl. java:190) org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:458) org.apache.jasper.compiler.Parser.parseDirective(Parser.java:523) org.apache.jasper.compiler.Parser.parseElements(Parser.java:1577) org.apache.jasper.compiler.Parser.parse(Parser.java:171) org.apache.jasper.compiler.ParserController.doParse(ParserController.jav a:258) org.apache.jasper.compiler.ParserController.parse(ParserController.java: 139) org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:237) org.apache.jasper.compiler.Compiler.compile(Compiler.java:456) org.apache.jasper.compiler.Compiler.compile(Compiler.java:439) org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.ja va:553) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.ja va:291) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248) javax.servlet.http.HttpServlet.service(HttpServlet.java:856) What is wrong with my configuration? Step 2. server.xml configuration says /Context tag of the examples context and the /Host My server.xml doesn't have Context tags should there be one? Step 3. web.xml configuration - Do I make/add these changes to the web.xml under $CATALINA\ROOT\WEB-INF or under a subdirectory called /DBTest/?? Step 4. test code says deploy your web app into $CATALINA_HOME/webapps either as a warfile called DBTest.war orinto a subdirectory called DBTest. So, I created a directory called DBTest and just put the test.jsp file into that directory - doesn't that qualify as deploying?? Thanks for any help to fix my configuration. Tim - Do you Yahoo!? Yahoo! Small Business $15K Web Design Giveaway - Enter today
Re: Tomcat5 - MySql5.0.0a - apache2.0 - XP - JNDI connection problems - Doug - Parsons Technical Services
I apologize - but I haven't been receiving any of the tomcat-user lists emails to my previous email account. I could only see responses in the mailing list archive. I have since switched to this email address and the mailing list is working fine. Anyway... Doug - Parsons Technical Services responses were: I am running windows XP - have apache 2.0.48 and Tomcat 5.0.19 up and running with j2sdk1.4.2_04. I am also running MySql5.0.0a I recommend for the purpose of testing to access Tomcat directly if possible. MySQL version may cause issues as noted by Tom. Once everything else is fixed, we'll see. I am a newbie at configuration and Tomcat - what do you mean by directly? And how do I check or change this? ... What is wrong with my configuration? To answer this it is much easier if we can see them. Which files do you want and do I just attach them to the email or paste them into the email? Do you want the whole file or just parts? (They will look like a brand new install with the following changes as lined out on this page: http://jakarta.apache.org/tomcat/tomcat-5.0-doc/jndi-datasource-examples-howto.html ) Step 2. server.xml configuration says /Context tag of the examples context and the /Host My server.xml doesn't have Context tags should there be one? Yes and no. To keep things simple and to start you down the path of Tomcat knowledge, for now create the context section as shown in the example. Later you can move it to context.xml. Look up the context section under server configuration for more detail. Sounds like I can leave it where it is and look into a context.xml file later on. Step 3. web.xml configuration - Do I make/add these changes to the web.xml under $CATALINA\ROOT\WEB-INF or under a subdirectory called /DBTest/?? Under /DBTest/WEB-INF/ in the web.xml for your app. I'll make these changes tomorrow am and test. (I'm not near my machine...) Step 4. test code says deploy your web app into $CATALINA_HOME/webapps either as a warfile called DBTest.war orinto a subdirectory called DBTest. So, I created a directory called DBTest and just put the test.jsp file into that directory - doesn't that qualify as deploying?? No. IMHO You need to create the file structure and the web.xml. Not sure what else as I use .war files. Ok - newbie question - Can you point me to what my file structure should look like or else how to create a .war file? I am guessing that it will mimic one of the main directories. For completeness and reference - my previous email: I am following: http://jakarta.apache.org/tomcat/tomcat-5.0-doc/jndi-datasource-examples-howto.html I am running windows XP - have apache 2.0.48 and Tomcat 5.0.19 up and running with j2sdk1.4.2_04. I am also running MySql5.0.0a Under $CATALINA_HOME/comon/lib mysql-connector-java-3.0.11-stable-bin commons-collections.3.0.jar commons-dbcp-1.1.jar commons-pool-1.1.jar When I run the test code - test.jsp I get the following error: Exception report: org.apache.jasper.JasperException: The absolute uri: http://java.sun.com/jsp/jstl/sql cannot be resolved in either web.xml or the jar files deployed with this application org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHand ler.java:94) org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java :404) org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java :154) org.apache.jasper.compiler.TagLibraryInfoImpl.generateTLDLocation(TagLib raryInfoImpl.java:359) org.apache.jasper.compiler.TagLibraryInfoImpl.init(TagLibraryInfoImpl. java:190) org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:458) org.apache.jasper.compiler.Parser.parseDirective(Parser.java:523) org.apache.jasper.compiler.Parser.parseElements(Parser.java:1577) org.apache.jasper.compiler.Parser.parse(Parser.java:171) org.apache.jasper.compiler.ParserController.doParse(ParserController.jav a:258) org.apache.jasper.compiler.ParserController.parse(ParserController.java: 139) org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:237) org.apache.jasper.compiler.Compiler.compile(Compiler.java:456) org.apache.jasper.compiler.Compiler.compile(Compiler.java:439) org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.ja va:553) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.ja va:291) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248) javax.servlet.http.HttpServlet.service(HttpServlet.java:856) What is wrong with my configuration? Step 2. server.xml configuration says /Context tag of the examples context and the /Host My server.xml doesn't have Context tags should there be one? Step 3. web.xml configuration - Do I make/add these changes to the web.xml under
Tomcat5 - MySql5.0.0a - apache2.0 - XP - JNDI connection problems
I am following: http://jakarta.apache.org/tomcat/tomcat-5.0-doc/jndi-datasource-examples-howto.html I am running windows XP - have apache 2.0.48 and Tomcat 5.0.19 up and running with j2sdk1.4.2_04. I am also running MySql5.0.0a Under $CATALINA_HOME/comon/lib mysql-connector-java-3.0.11-stable-bin commons-collections.3.0.jar commons-dbcp-1.1.jar commons-pool-1.1.jar When I run the test code - test.jsp I get the following error: Exception report: org.apache.jasper.JasperException: The absolute uri: http://java.sun.com/jsp/jstl/sql cannot be resolved in either web.xml or the jar files deployed with this application org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:94) org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:404) org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:154) org.apache.jasper.compiler.TagLibraryInfoImpl.generateTLDLocation(TagLibraryInfoImpl.java:359) org.apache.jasper.compiler.TagLibraryInfoImpl.init(TagLibraryInfoImpl.java:190) org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:458) org.apache.jasper.compiler.Parser.parseDirective(Parser.java:523) org.apache.jasper.compiler.Parser.parseElements(Parser.java:1577) org.apache.jasper.compiler.Parser.parse(Parser.java:171) org.apache.jasper.compiler.ParserController.doParse(ParserController.java:258) org.apache.jasper.compiler.ParserController.parse(ParserController.java:139) org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:237) org.apache.jasper.compiler.Compiler.compile(Compiler.java:456) org.apache.jasper.compiler.Compiler.compile(Compiler.java:439) org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:553) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:291) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248) javax.servlet.http.HttpServlet.service(HttpServlet.java:856) What is wrong with my configuration? Step 2. server.xml configuration says /Context tag of the examples context and the /Host My server.xml doesn't have Context tags should there be one? Step 3. web.xml configuration - Do I make/add these changes to the web.xml under $CATALINA\ROOT\WEB-INF or under a subdirectory called /DBTest/?? Step 4. test code says deploy your web app into $CATALINA_HOME/webapps either as a warfile called DBTest.war orinto a subdirectory called DBTest. So, I created a directory called DBTest and just put the test.jsp file into that directory - doesn't that qualify as deploying?? Thanks for any help to fix my configuration. Tim _ MSN Toolbar provides one-click access to Hotmail from any Web page FREE download! http://toolbar.msn.com/go/onm00200413ave/direct/01/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Hey Jeffrey
I tried it both ways. And it did not work. George Flatman -Original Message- From: Rasputin [mailto:[EMAIL PROTECTED]] On Behalf Of Rasputin Sent: Saturday, December 28, 2002 4:46 PM To: Tomcat Users List; [EMAIL PROTECTED] Subject: Re: Hey Jeffrey * Gman [EMAIL PROTECTED] [1221 00:21]: Syntax Error on line 985 of C:/Apache/conf/httpd.conf: Invalid command 'JkWorkersFile' Perhaps it is mis-spelled or defined by a module not included in the server configuration. Obvisouly the worker file is not where it is supposed to be hehehe. No, that means Apache doesn't understand what a JkWorkersFile is - which means you haven't loaded mod_jk properly. Have you got an uncommented LoadModule in httpd.conf ? -- Rasputin :: Jack of All Trades - Master of Nuns -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Hey Jeffrey
I still can't get Apache to run when I add the following lines. # Configure mod_jk # #JkWorkersFile C:/Apache/conf/workers.properties--path to where I placed the workers.properties file. #JkLogFile C:/Apache/apache/logs/mod_jk.log--path to where the log files will and should be created. #JkLogLevel info--? #JkMount /examples/* ajp13--? George Flatman -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Hey Jeffrey
I was unable to get any of the apachectl configtest from the apache bin directory, There were not any errors in the Apache error log, just the normal startup and shutdown entries. George Flatman -Original Message- From: PELOQUIN,JEFFREY (HP-Boise,ex1) [mailto:[EMAIL PROTECTED]] Sent: Friday, December 27, 2002 10:38 AM To: 'Tomcat Users List' Subject: RE: Hey Jeffrey You can try one of two things place the workers and log files in C:\ as maybe there is some path problem. or change the /'s to \'s. usual apache does not care but maybe mod_jk does were you able to run the apachectl configtest from the apache bin directory or see any errors in the error log? -Original Message- From: Gman [mailto:[EMAIL PROTECTED]] Sent: Friday, December 27, 2002 11:22 AM To: 'Tomcat Users List' Subject: Hey Jeffrey I still can't get Apache to run when I add the following lines. # Configure mod_jk # #JkWorkersFile C:/Apache/conf/workers.properties--path to where I placed the workers.properties file. #JkLogFile C:/Apache/apache/logs/mod_jk.log--path to where the log files will and should be created. #JkLogLevel info--? #JkMount /examples/* ajp13--? George Flatman -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Hey Jeffrey
Hey Jeffrey , Here is the only error i got. Syntax Error on line 985 of C:/Apache/conf/httpd.conf: Invalid command 'JkWorkersFile' Perhaps it is mis-spelled or defined by a module not included in the server configuration. Obvisouly the worker file is not where it is supposed to be hehehe. George Flatman -Original Message- From: PELOQUIN,JEFFREY (HP-Boise,ex1) [mailto:[EMAIL PROTECTED]] Sent: Friday, December 27, 2002 11:41 AM To: 'Tomcat Users List' Subject: RE: Hey Jeffrey I went and stared at a computer that had an old version of apache on it. there used to be a config test drop down you could access from the start button on windows Start -- Programs -- Apache Http Server -- Configure Apache Server -- Test Configuration That should run a check of your http conf file for you. Without some sort of error message it will be difficult to determine what is wrong with the setup. -Original Message- From: Gman [mailto:[EMAIL PROTECTED]] Sent: Friday, December 27, 2002 12:20 PM To: 'Tomcat Users List' Subject: RE: Hey Jeffrey I was unable to get any of the apachectl configtest from the apache bin directory, There were not any errors in the Apache error log, just the normal startup and shutdown entries. George Flatman -Original Message- From: PELOQUIN,JEFFREY (HP-Boise,ex1) [mailto:[EMAIL PROTECTED]] Sent: Friday, December 27, 2002 10:38 AM To: 'Tomcat Users List' Subject: RE: Hey Jeffrey You can try one of two things place the workers and log files in C:\ as maybe there is some path problem. or change the /'s to \'s. usual apache does not care but maybe mod_jk does were you able to run the apachectl configtest from the apache bin directory or see any errors in the error log? -Original Message- From: Gman [mailto:[EMAIL PROTECTED]] Sent: Friday, December 27, 2002 11:22 AM To: 'Tomcat Users List' Subject: Hey Jeffrey I still can't get Apache to run when I add the following lines. # Configure mod_jk # #JkWorkersFile C:/Apache/conf/workers.properties--path to where I placed the workers.properties file. #JkLogFile C:/Apache/apache/logs/mod_jk.log--path to where the log files will and should be created. #JkLogLevel info--? #JkMount /examples/* ajp13--? George Flatman -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Question
I am trying to setup Tomcat version 4.18 With Apache 2.0.43 and I am confused on how to set it up I added the module and include line like the documentation said, after that Apache would not start. Any help would be greatly appreciated. George Gman Flatman -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Question
Here are the only lines I have added t my http.conf below LoadModule jk2_module modules/mod_jk2.so And Include /Tomcat 4.1/conf/jk/mod_jk.conf-auto that's all I have done. George Gman Flatman -Original Message- From: Laxmikanth M.S. [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 26, 2002 2:56 AM To: Tomcat Users List Subject: RE: Question check the line which u added in htpd.conf .. check the path for workers.properties Regards Laxmikanth M S Off : 91-80-6610330 extn 1256 http://www.sonata-software.com Coming together is the beginning, staying together is progress and working together is Success What lies behind us and what lies before us are tiny matters compared to what lies within us - Emerson -Original Message- From: Gman [SMTP:[EMAIL PROTECTED]] Sent: Thursday, December 26, 2002 2:16 PM To: [EMAIL PROTECTED] Subject: Question I am trying to setup Tomcat version 4.18 With Apache 2.0.43 and I am confused on how to set it up I added the module and include line like the documentation said, after that Apache would not start. Any help would be greatly appreciated. George Gman Flatman -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] * Disclaimer: The information in this e-mail and any attachments is confidential / privileged. It is intended solely for the addressee or addressees. If you are not the addressee indicated in this message, you may not copy or deliver this message to anyone. In such case, you should destroy this message and kindly notify the sender by reply email. Please advise immediately if you or your employer does not consent to Internet email for messages of this kind. * -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
So lost and confused
I have tried to add the module mod_jk.so I have even tried mod_jk-2.0.43.dll in my apache http.conf and nothing works. I have been to the following web sites. http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/connectors.html http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/index.html http://www.johnturner.com/howto/apache-tomcat-howto.html And now I am even more confused and I can't figure what the hell to do. I have Apache 2.0.43 currently running perfect(no easy task). I have installed Tomcat 4.18 to run the java servlets I want to use. Is there an idiots guide in simple english to get Apache to work with Tomcat? Or is there another way to run Java that is simpler? I have even attached my Apache http.conf file for viewing and laughing purposes. Any help getting this to work would be greatly appreciated. George Flatman httpd.conf Description: Binary data -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: So lost and confused
Hey Thanks, yes Jeffrey I commented those lines out so Apache would run. I am so confused I went to link you provide and found 3 entries 2 with question marks so I grabbed the one the did not have question marks. And when I downloaded the mod_jk.dll but the file It downloaded from that website was called mod_jk2_4_1_12.dll. Should I rename that file to mo_jk.dll and then update the paths to point to that one? I uninstalled and then reinstalled Tomcat in a folder called C:\Tomcat4.1 like you said. There is no mod_jk.conf-auto file in the Tomcat\conf\jk\mod_jk.conf-auto. There is no \jk directory under Tomcat\conf. -Original Message- From: PELOQUIN,JEFFREY (HP-Boise,ex1) [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 26, 2002 10:36 AM To: 'Tomcat Users List' Subject: RE: So lost and confused your http.conf has these lines commented out and thus inactive but from what I see in a previous post this is most likley due to apache not starting and I assume you purposefully commented them out. #LoadModule jk2_module modules/mod_jk2-2.0.43.dll #Include /Tomcat 4.1/conf/jk/mod_jk.conf-auto Have your tried downloading mod_jk.dll from http://www.johnturner.com/howto/apache-tomcat-howto.html and using that? also the space you have in the directory path may be an issue. I do not do much apache/tomcat on windows but I have seen spaces in the path beeing listed as a concern. There was even a post earlier today that mentioned it with regard to mod_jk. try renaming Tomcat 4.1 to Tomcat4.1. also what is inside the /Tomcat 4.1/conf/jk/mod_jk.conf-auto file? that looks like something generated for use by mod_jk and not mod_jk2. Jeff -Original Message- From: Gman [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 26, 2002 11:18 AM To: 'Tomcat Users List' Subject: So lost and confused I have tried to add the module mod_jk.so I have even tried mod_jk-2.0.43.dll in my apache http.conf and nothing works. I have been to the following web sites. http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/connectors.html http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/index.html http://www.johnturner.com/howto/apache-tomcat-howto.html And now I am even more confused and I can't figure what the hell to do. I have Apache 2.0.43 currently running perfect(no easy task). I have installed Tomcat 4.18 to run the java servlets I want to use. Is there an idiots guide in simple english to get Apache to work with Tomcat? Or is there another way to run Java that is simpler? I have even attached my Apache http.conf file for viewing and laughing purposes. Any help getting this to work would be greatly appreciated. George Flatman -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: So lost and confused
Ok, I got all that but I do not know which mod_jk to use and can I shorten their name to mod_jk.dll? The 2 mod_jk files I have are called mod_jk-2.0.43.dll and mod_jk2_4_1_12.dll I think I will use the later but my concenr Is that if I shorten the name it should still work right? George Flatman -Original Message- From: PELOQUIN,JEFFREY (HP-Boise,ex1) [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 26, 2002 11:12 AM To: 'Tomcat Users List' Subject: RE: So lost and confused I would grab the one for 4.1.10. The question marks most likely refer to a question as to the version of apache it was compiled against. You will only get Tomcat\conf\jk\mod_jk.conf-auto, if you configure tomcat to generate it for you. Let us not worry about that for the moment so for mod_jk.dll for your http.conf you should have something like this # Load mod_jk # LoadModule jk_module modules/name of downloaded file # Configure mod_jk # JkWorkersFile path/to/apache/conf/workers.properties JkLogFile path/to/apache/logs/mod_jk.log JkLogLevel info JkMount /examples/* ajp13 I like the files local to apache rather than tomcat but they can go anywhere place the attached workers.properties in path/to/apache/conf/ change I set worker.ajp13.port=8009, which is the default and it matches what i have in the server.xml below I commented out my lines for these two but you may need them, they are sometimes optional. If you need them change the path to point to your java and tomcat installations worker.tomcat_home=/opt_apps/jakarta-tomcat-4.1.18 to point to the root of your tomcat install worker.java_home=/opt/java1.3 to where your java is in your server.xml you need Connector className=org.apache.coyote.tomcat4.CoyoteConnector port=8009 minProcessors=5 maxProcessors=75 enableLookups=false redirectPort=8443 acceptCount=10 debug=0 connectionTimeout=0 useURIValidationHack=false protocolHandlerClassName=org.apache.jk.server.JkCoyoteHandler/ or Connector className=org.apache.ajp.tomcat4.Ajp13Connector port=8009 minProcessors=5 maxProcessors=75 acceptCount=10 debug=0/ -Original Message- From: Gman [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 26, 2002 11:51 AM To: 'Tomcat Users List' Subject: RE: So lost and confused Hey Thanks, yes Jeffrey I commented those lines out so Apache would run. I am so confused I went to link you provide and found 3 entries 2 with question marks so I grabbed the one the did not have question marks. And when I downloaded the mod_jk.dll but the file It downloaded from that website was called mod_jk2_4_1_12.dll. Should I rename that file to mo_jk.dll and then update the paths to point to that one? I uninstalled and then reinstalled Tomcat in a folder called C:\Tomcat4.1 like you said. There is no mod_jk.conf-auto file in the Tomcat\conf\jk\mod_jk.conf-auto. There is no \jk directory under Tomcat\conf. -Original Message- From: PELOQUIN,JEFFREY (HP-Boise,ex1) [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 26, 2002 10:36 AM To: 'Tomcat Users List' Subject: RE: So lost and confused your http.conf has these lines commented out and thus inactive but from what I see in a previous post this is most likley due to apache not starting and I assume you purposefully commented them out. #LoadModule jk2_module modules/mod_jk2-2.0.43.dll #Include /Tomcat 4.1/conf/jk/mod_jk.conf-auto Have your tried downloading mod_jk.dll from http://www.johnturner.com/howto/apache-tomcat-howto.html and using that? also the space you have in the directory path may be an issue. I do not do much apache/tomcat on windows but I have seen spaces in the path beeing listed as a concern. There was even a post earlier today that mentioned it with regard to mod_jk. try renaming Tomcat 4.1 to Tomcat4.1. also what is inside the /Tomcat 4.1/conf/jk/mod_jk.conf-auto file? that looks like something generated for use by mod_jk and not mod_jk2. Jeff -Original Message- From: Gman [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 26, 2002 11:18 AM To: 'Tomcat Users List' Subject: So lost and confused I have tried to add the module mod_jk.so I have even tried mod_jk-2.0.43.dll in my apache http.conf and nothing works. I have been to the following web sites. http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/connectors.html http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/index.html http://www.johnturner.com/howto/apache-tomcat-howto.html And now I am even more confused and I can't figure what the hell to do. I have Apache 2.0.43 currently running perfect(no easy task). I have installed Tomcat 4.18 to run the java servlets I want to use. Is there an idiots guide in simple english to get Apache to work with Tomcat? Or is there another way to run Java that is simpler? I have even attached my Apache http.conf file for viewing and laughing purposes. Any help getting this to work would be greatly
RE: So lost and confused
Ok I am doing this in steps so if it does not work I won't be more confused. I have added the following line only to my http.conf LoadModule jk2_module modules/mod_jk2-2.0.43.dll---this is the file I download from http://www.johnturner.com/howto/apache-tomcat-howto.html should I try another one? Or what should I do next? Sorry to be a pain;o George Flatman -Original Message- From: PELOQUIN,JEFFREY (HP-Boise,ex1) [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 26, 2002 11:12 AM To: 'Tomcat Users List' Subject: RE: So lost and confused I would grab the one for 4.1.10. The question marks most likely refer to a question as to the version of apache it was compiled against. You will only get Tomcat\conf\jk\mod_jk.conf-auto, if you configure tomcat to generate it for you. Let us not worry about that for the moment so for mod_jk.dll for your http.conf you should have something like this # Load mod_jk # LoadModule jk_module modules/name of downloaded file # Configure mod_jk # JkWorkersFile path/to/apache/conf/workers.properties JkLogFile path/to/apache/logs/mod_jk.log JkLogLevel info JkMount /examples/* ajp13 I like the files local to apache rather than tomcat but they can go anywhere place the attached workers.properties in path/to/apache/conf/ change I set worker.ajp13.port=8009, which is the default and it matches what i have in the server.xml below I commented out my lines for these two but you may need them, they are sometimes optional. If you need them change the path to point to your java and tomcat installations worker.tomcat_home=/opt_apps/jakarta-tomcat-4.1.18 to point to the root of your tomcat install worker.java_home=/opt/java1.3 to where your java is in your server.xml you need Connector className=org.apache.coyote.tomcat4.CoyoteConnector port=8009 minProcessors=5 maxProcessors=75 enableLookups=false redirectPort=8443 acceptCount=10 debug=0 connectionTimeout=0 useURIValidationHack=false protocolHandlerClassName=org.apache.jk.server.JkCoyoteHandler/ or Connector className=org.apache.ajp.tomcat4.Ajp13Connector port=8009 minProcessors=5 maxProcessors=75 acceptCount=10 debug=0/ -Original Message- From: Gman [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 26, 2002 11:51 AM To: 'Tomcat Users List' Subject: RE: So lost and confused Hey Thanks, yes Jeffrey I commented those lines out so Apache would run. I am so confused I went to link you provide and found 3 entries 2 with question marks so I grabbed the one the did not have question marks. And when I downloaded the mod_jk.dll but the file It downloaded from that website was called mod_jk2_4_1_12.dll. Should I rename that file to mo_jk.dll and then update the paths to point to that one? I uninstalled and then reinstalled Tomcat in a folder called C:\Tomcat4.1 like you said. There is no mod_jk.conf-auto file in the Tomcat\conf\jk\mod_jk.conf-auto. There is no \jk directory under Tomcat\conf. -Original Message- From: PELOQUIN,JEFFREY (HP-Boise,ex1) [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 26, 2002 10:36 AM To: 'Tomcat Users List' Subject: RE: So lost and confused your http.conf has these lines commented out and thus inactive but from what I see in a previous post this is most likley due to apache not starting and I assume you purposefully commented them out. #LoadModule jk2_module modules/mod_jk2-2.0.43.dll #Include /Tomcat 4.1/conf/jk/mod_jk.conf-auto Have your tried downloading mod_jk.dll from http://www.johnturner.com/howto/apache-tomcat-howto.html and using that? also the space you have in the directory path may be an issue. I do not do much apache/tomcat on windows but I have seen spaces in the path beeing listed as a concern. There was even a post earlier today that mentioned it with regard to mod_jk. try renaming Tomcat 4.1 to Tomcat4.1. also what is inside the /Tomcat 4.1/conf/jk/mod_jk.conf-auto file? that looks like something generated for use by mod_jk and not mod_jk2. Jeff -Original Message- From: Gman [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 26, 2002 11:18 AM To: 'Tomcat Users List' Subject: So lost and confused I have tried to add the module mod_jk.so I have even tried mod_jk-2.0.43.dll in my apache http.conf and nothing works. I have been to the following web sites. http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/connectors.html http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/index.html http://www.johnturner.com/howto/apache-tomcat-howto.html And now I am even more confused and I can't figure what the hell to do. I have Apache 2.0.43 currently running perfect(no easy task). I have installed Tomcat 4.18 to run the java servlets I want to use. Is there an idiots guide in simple english to get Apache to work with Tomcat? Or is there another way to run Java that is simpler? I have even attached my Apache http.conf file for viewing
RE: So lost and confused
Ok Jeffrey, No that worked I have Apache up and running now. Whets next sir? George Flatman -Original Message- From: PELOQUIN,JEFFREY (HP-Boise,ex1) [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 26, 2002 12:45 PM To: 'Tomcat Users List' Subject: RE: So lost and confused try one of the files from http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk/release/v1 .2.1 /bin/win32/ like mod_jk-2.0.43.dll This should ensure that you get a jk and not a jk2 file. While jk2 should work I have never configured the tomcat side for jk2 use. -Original Message- From: Gman [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 26, 2002 1:33 PM To: 'Tomcat Users List' Subject: RE: So lost and confused Ok I am doing this in steps so if it does not work I won't be more confused. I have added the following line only to my http.conf LoadModule jk2_module modules/mod_jk2-2.0.43.dll---this is the file I download from http://www.johnturner.com/howto/apache-tomcat-howto.html should I try another one? Or what should I do next? Sorry to be a pain;o George Flatman -Original Message- From: PELOQUIN,JEFFREY (HP-Boise,ex1) [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 26, 2002 11:12 AM To: 'Tomcat Users List' Subject: RE: So lost and confused I would grab the one for 4.1.10. The question marks most likely refer to a question as to the version of apache it was compiled against. You will only get Tomcat\conf\jk\mod_jk.conf-auto, if you configure tomcat to generate it for you. Let us not worry about that for the moment so for mod_jk.dll for your http.conf you should have something like this # Load mod_jk # LoadModule jk_module modules/name of downloaded file # Configure mod_jk # JkWorkersFile path/to/apache/conf/workers.properties JkLogFile path/to/apache/logs/mod_jk.log JkLogLevel info JkMount /examples/* ajp13 I like the files local to apache rather than tomcat but they can go anywhere place the attached workers.properties in path/to/apache/conf/ change I set worker.ajp13.port=8009, which is the default and it matches what i have in the server.xml below I commented out my lines for these two but you may need them, they are sometimes optional. If you need them change the path to point to your java and tomcat installations worker.tomcat_home=/opt_apps/jakarta-tomcat-4.1.18 to point to the root of your tomcat install worker.java_home=/opt/java1.3 to where your java is in your server.xml you need Connector className=org.apache.coyote.tomcat4.CoyoteConnector port=8009 minProcessors=5 maxProcessors=75 enableLookups=false redirectPort=8443 acceptCount=10 debug=0 connectionTimeout=0 useURIValidationHack=false protocolHandlerClassName=org.apache.jk.server.JkCoyoteHandler/ or Connector className=org.apache.ajp.tomcat4.Ajp13Connector port=8009 minProcessors=5 maxProcessors=75 acceptCount=10 debug=0/ -Original Message- From: Gman [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 26, 2002 11:51 AM To: 'Tomcat Users List' Subject: RE: So lost and confused Hey Thanks, yes Jeffrey I commented those lines out so Apache would run. I am so confused I went to link you provide and found 3 entries 2 with question marks so I grabbed the one the did not have question marks. And when I downloaded the mod_jk.dll but the file It downloaded from that website was called mod_jk2_4_1_12.dll. Should I rename that file to mo_jk.dll and then update the paths to point to that one? I uninstalled and then reinstalled Tomcat in a folder called C:\Tomcat4.1 like you said. There is no mod_jk.conf-auto file in the Tomcat\conf\jk\mod_jk.conf-auto. There is no \jk directory under Tomcat\conf. -Original Message- From: PELOQUIN,JEFFREY (HP-Boise,ex1) [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 26, 2002 10:36 AM To: 'Tomcat Users List' Subject: RE: So lost and confused your http.conf has these lines commented out and thus inactive but from what I see in a previous post this is most likley due to apache not starting and I assume you purposefully commented them out. #LoadModule jk2_module modules/mod_jk2-2.0.43.dll #Include /Tomcat 4.1/conf/jk/mod_jk.conf-auto Have your tried downloading mod_jk.dll from http://www.johnturner.com/howto/apache-tomcat-howto.html and using that? also the space you have in the directory path may be an issue. I do not do much apache/tomcat on windows but I have seen spaces in the path beeing listed as a concern. There was even a post earlier today that mentioned it with regard to mod_jk. try renaming Tomcat 4.1 to Tomcat4.1. also what is inside the /Tomcat 4.1/conf/jk/mod_jk.conf-auto file? that looks like something generated for use by mod_jk and not mod_jk2. Jeff -Original Message- From: Gman [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 26, 2002 11:18 AM To: 'Tomcat Users List' Subject: So lost and confused I have tried to add
RE: So lost and confused
Ok I have the loadmodule line loaded and Apache is currently up and running where should I put the those other lines you said needed to add? George Flatman -Original Message- From: PELOQUIN,JEFFREY (HP-Boise,ex1) [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 26, 2002 1:13 PM To: 'Tomcat Users List' Subject: RE: So lost and confused place the attached workers.properties in your conf directory of apache add these lines to your http.conf if they are not there already # Load mod_jk # LoadModule jk_module modules/name of downloaded file # Configure mod_jk # JkWorkersFile path/to/apache/conf/workers.properties JkLogFile path/to/apache/logs/mod_jk.log JkLogLevel info JkMount /examples/* ajp13 make sure you can restart apache after you do that once apache is able to start we will configure tomcat -Original Message- From: Gman [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 26, 2002 2:00 PM To: 'Tomcat Users List' Subject: RE: So lost and confused Ok Jeffrey, No that worked I have Apache up and running now. Whets next sir? George Flatman -Original Message- From: PELOQUIN,JEFFREY (HP-Boise,ex1) [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 26, 2002 12:45 PM To: 'Tomcat Users List' Subject: RE: So lost and confused try one of the files from http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk/release/v1 .2.1 /bin/win32/ like mod_jk-2.0.43.dll This should ensure that you get a jk and not a jk2 file. While jk2 should work I have never configured the tomcat side for jk2 use. -Original Message- From: Gman [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 26, 2002 1:33 PM To: 'Tomcat Users List' Subject: RE: So lost and confused Ok I am doing this in steps so if it does not work I won't be more confused. I have added the following line only to my http.conf LoadModule jk2_module modules/mod_jk2-2.0.43.dll---this is the file I download from http://www.johnturner.com/howto/apache-tomcat-howto.html should I try another one? Or what should I do next? Sorry to be a pain;o George Flatman -Original Message- From: PELOQUIN,JEFFREY (HP-Boise,ex1) [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 26, 2002 11:12 AM To: 'Tomcat Users List' Subject: RE: So lost and confused I would grab the one for 4.1.10. The question marks most likely refer to a question as to the version of apache it was compiled against. You will only get Tomcat\conf\jk\mod_jk.conf-auto, if you configure tomcat to generate it for you. Let us not worry about that for the moment so for mod_jk.dll for your http.conf you should have something like this # Load mod_jk # LoadModule jk_module modules/name of downloaded file # Configure mod_jk # JkWorkersFile path/to/apache/conf/workers.properties JkLogFile path/to/apache/logs/mod_jk.log JkLogLevel info JkMount /examples/* ajp13 I like the files local to apache rather than tomcat but they can go anywhere place the attached workers.properties in path/to/apache/conf/ change I set worker.ajp13.port=8009, which is the default and it matches what i have in the server.xml below I commented out my lines for these two but you may need them, they are sometimes optional. If you need them change the path to point to your java and tomcat installations worker.tomcat_home=/opt_apps/jakarta-tomcat-4.1.18 to point to the root of your tomcat install worker.java_home=/opt/java1.3 to where your java is in your server.xml you need Connector className=org.apache.coyote.tomcat4.CoyoteConnector port=8009 minProcessors=5 maxProcessors=75 enableLookups=false redirectPort=8443 acceptCount=10 debug=0 connectionTimeout=0 useURIValidationHack=false protocolHandlerClassName=org.apache.jk.server.JkCoyoteHandler/ or Connector className=org.apache.ajp.tomcat4.Ajp13Connector port=8009 minProcessors=5 maxProcessors=75 acceptCount=10 debug=0/ -Original Message- From: Gman [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 26, 2002 11:51 AM To: 'Tomcat Users List' Subject: RE: So lost and confused Hey Thanks, yes Jeffrey I commented those lines out so Apache would run. I am so confused I went to link you provide and found 3 entries 2 with question marks so I grabbed the one the did not have question marks. And when I downloaded the mod_jk.dll but the file It downloaded from that website was called mod_jk2_4_1_12.dll. Should I rename that file to mo_jk.dll and then update the paths to point to that one? I uninstalled and then reinstalled Tomcat in a folder called C:\Tomcat4.1 like you said. There is no mod_jk.conf-auto file in the Tomcat\conf\jk\mod_jk.conf-auto. There is no \jk directory under Tomcat\conf. -Original Message- From: PELOQUIN,JEFFREY (HP-Boise,ex1) [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 26, 2002 10:36 AM To: 'Tomcat Users List' Subject: RE: So lost and confused your http.conf has these lines commented
RE: So lost and confused
Virtual Host? I do not have that setup that I know of. George Flatman -Original Message- From: PELOQUIN,JEFFREY (HP-Boise,ex1) [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 26, 2002 1:22 PM To: 'Tomcat Users List' Subject: RE: So lost and confused the other lines can for the moment go at the end of your http.conf they should eventualy go into the any virtual host you will be using -Original Message- From: Gman [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 26, 2002 2:12 PM To: 'Tomcat Users List' Subject: RE: So lost and confused Ok I have the loadmodule line loaded and Apache is currently up and running where should I put the those other lines you said needed to add? George Flatman -Original Message- From: PELOQUIN,JEFFREY (HP-Boise,ex1) [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 26, 2002 1:13 PM To: 'Tomcat Users List' Subject: RE: So lost and confused place the attached workers.properties in your conf directory of apache add these lines to your http.conf if they are not there already # Load mod_jk # LoadModule jk_module modules/name of downloaded file # Configure mod_jk # JkWorkersFile path/to/apache/conf/workers.properties JkLogFile path/to/apache/logs/mod_jk.log JkLogLevel info JkMount /examples/* ajp13 make sure you can restart apache after you do that once apache is able to start we will configure tomcat -Original Message- From: Gman [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 26, 2002 2:00 PM To: 'Tomcat Users List' Subject: RE: So lost and confused Ok Jeffrey, No that worked I have Apache up and running now. Whets next sir? George Flatman -Original Message- From: PELOQUIN,JEFFREY (HP-Boise,ex1) [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 26, 2002 12:45 PM To: 'Tomcat Users List' Subject: RE: So lost and confused try one of the files from http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk/release/v1 .2.1 /bin/win32/ like mod_jk-2.0.43.dll This should ensure that you get a jk and not a jk2 file. While jk2 should work I have never configured the tomcat side for jk2 use. -Original Message- From: Gman [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 26, 2002 1:33 PM To: 'Tomcat Users List' Subject: RE: So lost and confused Ok I am doing this in steps so if it does not work I won't be more confused. I have added the following line only to my http.conf LoadModule jk2_module modules/mod_jk2-2.0.43.dll---this is the file I download from http://www.johnturner.com/howto/apache-tomcat-howto.html should I try another one? Or what should I do next? Sorry to be a pain;o George Flatman -Original Message- From: PELOQUIN,JEFFREY (HP-Boise,ex1) [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 26, 2002 11:12 AM To: 'Tomcat Users List' Subject: RE: So lost and confused I would grab the one for 4.1.10. The question marks most likely refer to a question as to the version of apache it was compiled against. You will only get Tomcat\conf\jk\mod_jk.conf-auto, if you configure tomcat to generate it for you. Let us not worry about that for the moment so for mod_jk.dll for your http.conf you should have something like this # Load mod_jk # LoadModule jk_module modules/name of downloaded file # Configure mod_jk # JkWorkersFile path/to/apache/conf/workers.properties JkLogFile path/to/apache/logs/mod_jk.log JkLogLevel info JkMount /examples/* ajp13 I like the files local to apache rather than tomcat but they can go anywhere place the attached workers.properties in path/to/apache/conf/ change I set worker.ajp13.port=8009, which is the default and it matches what i have in the server.xml below I commented out my lines for these two but you may need them, they are sometimes optional. If you need them change the path to point to your java and tomcat installations worker.tomcat_home=/opt_apps/jakarta-tomcat-4.1.18 to point to the root of your tomcat install worker.java_home=/opt/java1.3 to where your java is in your server.xml you need Connector className=org.apache.coyote.tomcat4.CoyoteConnector port=8009 minProcessors=5 maxProcessors=75 enableLookups=false redirectPort=8443 acceptCount=10 debug=0 connectionTimeout=0 useURIValidationHack=false protocolHandlerClassName=org.apache.jk.server.JkCoyoteHandler/ or Connector className=org.apache.ajp.tomcat4.Ajp13Connector port=8009 minProcessors=5 maxProcessors=75 acceptCount=10 debug=0/ -Original Message- From: Gman [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 26, 2002 11:51 AM To: 'Tomcat Users List' Subject: RE: So lost and confused Hey Thanks, yes Jeffrey I commented those lines out so Apache would run. I am so confused I went to link you provide and found 3 entries 2 with question marks so I grabbed the one the did not have question marks. And when I downloaded the mod_jk.dll but the file It downloaded from
RE: So lost and confused
Ok Jeffrey, I placed the lines below and now Apache won't start. # Configure mod_jk # #JkWorkersFile C:/Apache/conf/workers.properties--actual path to where I placed the workers.properties file. #JkLogFile C:/Apache/apache/logs/mod_jk.log--actual path to where the log files will and should be created. #JkLogLevel info--? #JkMount /examples/* ajp13--? I commented them out and Apache runs fine. George Flatman -Original Message- From: PELOQUIN,JEFFREY (HP-Boise,ex1) [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 26, 2002 1:13 PM To: 'Tomcat Users List' Subject: RE: So lost and confused place the attached workers.properties in your conf directory of apache add these lines to your http.conf if they are not there already # Load mod_jk # LoadModule jk_module modules/name of downloaded file # Configure mod_jk # JkWorkersFile path/to/apache/conf/workers.properties JkLogFile path/to/apache/logs/mod_jk.log JkLogLevel info JkMount /examples/* ajp13 make sure you can restart apache after you do that once apache is able to start we will configure tomcat -Original Message- From: Gman [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 26, 2002 2:00 PM To: 'Tomcat Users List' Subject: RE: So lost and confused Ok Jeffrey, No that worked I have Apache up and running now. Whets next sir? George Flatman -Original Message- From: PELOQUIN,JEFFREY (HP-Boise,ex1) [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 26, 2002 12:45 PM To: 'Tomcat Users List' Subject: RE: So lost and confused try one of the files from http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk/release/v1 .2.1 /bin/win32/ like mod_jk-2.0.43.dll This should ensure that you get a jk and not a jk2 file. While jk2 should work I have never configured the tomcat side for jk2 use. -Original Message- From: Gman [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 26, 2002 1:33 PM To: 'Tomcat Users List' Subject: RE: So lost and confused Ok I am doing this in steps so if it does not work I won't be more confused. I have added the following line only to my http.conf LoadModule jk2_module modules/mod_jk2-2.0.43.dll---this is the file I download from http://www.johnturner.com/howto/apache-tomcat-howto.html should I try another one? Or what should I do next? Sorry to be a pain;o George Flatman -Original Message- From: PELOQUIN,JEFFREY (HP-Boise,ex1) [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 26, 2002 11:12 AM To: 'Tomcat Users List' Subject: RE: So lost and confused I would grab the one for 4.1.10. The question marks most likely refer to a question as to the version of apache it was compiled against. You will only get Tomcat\conf\jk\mod_jk.conf-auto, if you configure tomcat to generate it for you. Let us not worry about that for the moment so for mod_jk.dll for your http.conf you should have something like this # Load mod_jk # LoadModule jk_module modules/name of downloaded file # Configure mod_jk # JkWorkersFile path/to/apache/conf/workers.properties JkLogFile path/to/apache/logs/mod_jk.log JkLogLevel info JkMount /examples/* ajp13 I like the files local to apache rather than tomcat but they can go anywhere place the attached workers.properties in path/to/apache/conf/ change I set worker.ajp13.port=8009, which is the default and it matches what i have in the server.xml below I commented out my lines for these two but you may need them, they are sometimes optional. If you need them change the path to point to your java and tomcat installations worker.tomcat_home=/opt_apps/jakarta-tomcat-4.1.18 to point to the root of your tomcat install worker.java_home=/opt/java1.3 to where your java is in your server.xml you need Connector className=org.apache.coyote.tomcat4.CoyoteConnector port=8009 minProcessors=5 maxProcessors=75 enableLookups=false redirectPort=8443 acceptCount=10 debug=0 connectionTimeout=0 useURIValidationHack=false protocolHandlerClassName=org.apache.jk.server.JkCoyoteHandler/ or Connector className=org.apache.ajp.tomcat4.Ajp13Connector port=8009 minProcessors=5 maxProcessors=75 acceptCount=10 debug=0/ -Original Message- From: Gman [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 26, 2002 11:51 AM To: 'Tomcat Users List' Subject: RE: So lost and confused Hey Thanks, yes Jeffrey I commented those lines out so Apache would run. I am so confused I went to link you provide and found 3 entries 2 with question marks so I grabbed the one the did not have question marks. And when I downloaded the mod_jk.dll but the file It downloaded from that website was called mod_jk2_4_1_12.dll. Should I rename that file to mo_jk.dll and then update the paths to point to that one? I uninstalled and then reinstalled Tomcat in a folder called C:\Tomcat4.1 like you said. There is no mod_jk.conf-auto file in the Tomcat\conf\jk\mod_jk.conf-auto. There is no \jk directory
RE: So lost and confused
I tried it again with the lines uncommented and it showed no errors in the logs. And I don't have the commands in the bin folder. George Flatman -Original Message- From: PELOQUIN,JEFFREY (HP-Boise,ex1) [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 26, 2002 1:47 PM To: 'Tomcat Users List' Subject: RE: So lost and confused what errors appeared in your error.log file for apache? with them uncommented you might also might want to try running from the command prompt in the directory C:\Apache\bin\apachectl configtest or wherever the bin directory is for your server this will tell also give you the errors in to http.conf -Original Message- From: Gman [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 26, 2002 2:35 PM To: 'Tomcat Users List' Subject: RE: So lost and confused Ok Jeffrey, I placed the lines below and now Apache won't start. # Configure mod_jk # #JkWorkersFile C:/Apache/conf/workers.properties--actual path to where I placed the workers.properties file. #JkLogFile C:/Apache/apache/logs/mod_jk.log--actual path to where the log files will and should be created. #JkLogLevel info--? #JkMount /examples/* ajp13--? I commented them out and Apache runs fine. George Flatman -Original Message- From: PELOQUIN,JEFFREY (HP-Boise,ex1) [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 26, 2002 1:13 PM To: 'Tomcat Users List' Subject: RE: So lost and confused place the attached workers.properties in your conf directory of apache add these lines to your http.conf if they are not there already # Load mod_jk # LoadModule jk_module modules/name of downloaded file # Configure mod_jk # JkWorkersFile path/to/apache/conf/workers.properties JkLogFile path/to/apache/logs/mod_jk.log JkLogLevel info JkMount /examples/* ajp13 make sure you can restart apache after you do that once apache is able to start we will configure tomcat -Original Message- From: Gman [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 26, 2002 2:00 PM To: 'Tomcat Users List' Subject: RE: So lost and confused Ok Jeffrey, No that worked I have Apache up and running now. Whets next sir? George Flatman -Original Message- From: PELOQUIN,JEFFREY (HP-Boise,ex1) [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 26, 2002 12:45 PM To: 'Tomcat Users List' Subject: RE: So lost and confused try one of the files from http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk/release/v1 .2.1 /bin/win32/ like mod_jk-2.0.43.dll This should ensure that you get a jk and not a jk2 file. While jk2 should work I have never configured the tomcat side for jk2 use. -Original Message- From: Gman [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 26, 2002 1:33 PM To: 'Tomcat Users List' Subject: RE: So lost and confused Ok I am doing this in steps so if it does not work I won't be more confused. I have added the following line only to my http.conf LoadModule jk2_module modules/mod_jk2-2.0.43.dll---this is the file I download from http://www.johnturner.com/howto/apache-tomcat-howto.html should I try another one? Or what should I do next? Sorry to be a pain;o George Flatman -Original Message- From: PELOQUIN,JEFFREY (HP-Boise,ex1) [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 26, 2002 11:12 AM To: 'Tomcat Users List' Subject: RE: So lost and confused I would grab the one for 4.1.10. The question marks most likely refer to a question as to the version of apache it was compiled against. You will only get Tomcat\conf\jk\mod_jk.conf-auto, if you configure tomcat to generate it for you. Let us not worry about that for the moment so for mod_jk.dll for your http.conf you should have something like this # Load mod_jk # LoadModule jk_module modules/name of downloaded file # Configure mod_jk # JkWorkersFile path/to/apache/conf/workers.properties JkLogFile path/to/apache/logs/mod_jk.log JkLogLevel info JkMount /examples/* ajp13 I like the files local to apache rather than tomcat but they can go anywhere place the attached workers.properties in path/to/apache/conf/ change I set worker.ajp13.port=8009, which is the default and it matches what i have in the server.xml below I commented out my lines for these two but you may need them, they are sometimes optional. If you need them change the path to point to your java and tomcat installations worker.tomcat_home=/opt_apps/jakarta-tomcat-4.1.18 to point to the root of your tomcat install worker.java_home=/opt/java1.3 to where your java is in your server.xml you need Connector className=org.apache.coyote.tomcat4.CoyoteConnector port=8009 minProcessors=5 maxProcessors=75 enableLookups=false redirectPort=8443 acceptCount=10 debug=0 connectionTimeout=0 useURIValidationHack=false protocolHandlerClassName=org.apache.jk.server.JkCoyoteHandler/ or Connector className=org.apache.ajp.tomcat4.Ajp13Connector port=8009 minProcessors=5 maxProcessors
JDBC Realm not working with NT service
hello, my tomcat 3.3 application works fine as a stand-alone application using JDBC Realm authentication. When i run it as an NT service using the supplied jk_nt_service tool.. the authentication fails with the message below. For some reason it is not sending the user to the database, although it does correctly get the user name in the error message (not last line below). Anyone else have this problem? thanks Gareth = 2002-01-02 11:28:56 - JDBCRealm: There was an SQLException while in checkConnection: {0} - java.sql.SQLException: [Microsoft][ODBC SQL Server Driver][SQL Server]Login failed for user '\'. at sun.jdbc.odbc.JdbcOdbc.createSQLException(JdbcOdbc.java:6031) at sun.jdbc.odbc.JdbcOdbc.standardError(JdbcOdbc.java:6188) at sun.jdbc.odbc.JdbcOdbc.SQLDriverConnect(JdbcOdbc.java:2458) at sun.jdbc.odbc.JdbcOdbcConnection.initialize(JdbcOdbcConnection.java:320) at sun.jdbc.odbc.JdbcOdbcDriver.connect(JdbcOdbcDriver.java:163) at java.sql.DriverManager.getConnection(DriverManager.java:517) at java.sql.DriverManager.getConnection(DriverManager.java:199) at org.apache.tomcat.modules.aaa.JDBCRealm.checkConnection(Unknown Source) at org.apache.tomcat.modules.aaa.JDBCRealm.getCredentials(Unknown Source) at org.apache.tomcat.modules.aaa.RealmBase.checkPassword(Unknown Source) at org.apache.tomcat.modules.aaa.RealmBase.authenticate(Unknown Source) at org.apache.tomcat.core.Request.getRemoteUser(Unknown Source) at org.apache.tomcat.modules.aaa.AccessInterceptor.authorize(Unknown Source) at org.apache.tomcat.core.ContextManager.internalService(Unknown Source) at org.apache.tomcat.core.ContextManager.service(Unknown Source) at org.apache.tomcat.modules.server.Http10Interceptor.processConnection(Unknown Source) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(Unknown Source) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(Unknown Source) at java.lang.Thread.run(Thread.java:484) 2002-01-02 11:28:56 - JDBCRealm: Authentication unsuccessful for user lloydg __ Do You Yahoo!? Send your FREE holiday greetings online! http://greetings.yahoo.com -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: JDBC Realm not working with NT service
i tried this, also put them in the jdk/lib that is my JAVA_HOME, but i get the same problem. Did you run into the same problem and solve it with that jar? thanks G --- Guido Medina [EMAIL PROTECTED] wrote: copy the jsse 1.0.2 jar files inside C:\Program Files\JavaSoft\JRE\lib\Ext that's it... -Original Message- From: gman [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 02, 2002 1:16 PM To: [EMAIL PROTECTED] Subject: JDBC Realm not working with NT service hello, my tomcat 3.3 application works fine as a stand-alone application using JDBC Realm authentication. When i run it as an NT service using the supplied jk_nt_service tool.. the authentication fails with the message below. For some reason it is not sending the user to the database, although it does correctly get the user name in the error message (not last line below). Anyone else have this problem? thanks Gareth = 2002-01-02 11:28:56 - JDBCRealm: There was an SQLException while in checkConnection: {0} - java.sql.SQLException: [Microsoft][ODBC SQL Server Driver][SQL Server]Login failed for user '\'. at sun.jdbc.odbc.JdbcOdbc.createSQLException(JdbcOdbc.java:6031) at sun.jdbc.odbc.JdbcOdbc.standardError(JdbcOdbc.java:6188) at sun.jdbc.odbc.JdbcOdbc.SQLDriverConnect(JdbcOdbc.java:2458) at sun.jdbc.odbc.JdbcOdbcConnection.initialize(JdbcOdbcConnection.java:320) at sun.jdbc.odbc.JdbcOdbcDriver.connect(JdbcOdbcDriver.java:163) at java.sql.DriverManager.getConnection(DriverManager.java:517) at java.sql.DriverManager.getConnection(DriverManager.java:199) at org.apache.tomcat.modules.aaa.JDBCRealm.checkConnection(Unknown Source) at org.apache.tomcat.modules.aaa.JDBCRealm.getCredentials(Unknown Source) at org.apache.tomcat.modules.aaa.RealmBase.checkPassword(Unknown Source) at org.apache.tomcat.modules.aaa.RealmBase.authenticate(Unknown Source) at org.apache.tomcat.core.Request.getRemoteUser(Unknown Source) at org.apache.tomcat.modules.aaa.AccessInterceptor.authorize(Unknown Source) at org.apache.tomcat.core.ContextManager.internalService(Unknown Source) at org.apache.tomcat.core.ContextManager.service(Unknown Source) at org.apache.tomcat.modules.server.Http10Interceptor.processConnection(Unknown Source) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(Unknown Source) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(Unknown Source) at java.lang.Thread.run(Thread.java:484) 2002-01-02 11:28:56 - JDBCRealm: Authentication unsuccessful for user lloydg __ Do You Yahoo!? Send your FREE holiday greetings online! http://greetings.yahoo.com -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] __ Do You Yahoo!? Send your FREE holiday greetings online! http://greetings.yahoo.com -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]