RE: SSL/Apache and Proxy
The funny thing is that the Doc wanted to be removed from this aweful blog not barely a day before it was found to be useful; I wish I had a filter for posts from this type of user. ~Charlie The significant problems we have can not be solved at the same level of thinking with which we created them. ~Albert Einstein -Original Message- From: André Warnier [mailto:[EMAIL PROTECTED] Sent: Monday, December 08, 2008 2:19 PM To: Tomcat Users List Subject: Re: SSL/Apache and Proxy Dear Doctor, With the kind of postings you did previously on this forum, you could consider yourself lucky to get any answers at all. A bit of basic civility would certainly not hurt your future prospects. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This footnote confirms that this email message has been scanned by PineApp Mail-SeCure for the presence of malicious code, vandals computer viruses. This footnote confirms that this email message has been scanned by PineApp Mail-SeCure for the presence of malicious code, vandals computer viruses. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat tuning
I have played with max threads, min spare threads max spare threads in sever.xml in performance tuning. The defaults from a tomcat install were dreadfully low for the load testing I was doing. I also have increased the java memory available to Tomcat during that same testing. I got performance increases with respect to load capacity, obviously so, with all of these settings and what I found to be the best. I do not know of any documents that directly speak to performance tuning; but would love to know if there are any also. Cheers Charlie The significant problems we have cannot be solved at the same level of thinking with which we created them. ~ Albert Einstein -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 16, 2008 10:41 AM To: users@tomcat.apache.org Subject: Tomcat tuning Importance: High Tomcat : 5.0.28 Java : 1.4.2 SR8 Apache : 2.2.4 Mod_jk : 1.2.25 Hi everybody, is there any doc. about the tuning of tomcat ? Best Regards Jean-Louis Matéo - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This footnote confirms that this email message has been scanned by PineApp Mail-SeCure for the presence of malicious code, vandals computer viruses. --- This message is a CONFIDENTIAL communication. If you are not the intended recipient, please do not read, copy, or use it, and do not disclose it to others. Please notify the sender of the delivery error by replying to this message, and then delete it from your system. Thank you. This footnote confirms that this email message has been scanned by PineApp Mail-SeCure for the presence of malicious code, vandals computer viruses. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat tuning
That makes complete sense to me Charles, and pretty much exactly what lead me to those settings; I could not agree more. Performance testing/tuning is entirely dependant upon what you are trying to do and identification of the weakest/most unstable link, even if it does end up being your own code. :) Charlie Wingate [EMAIL PROTECTED] The significant problems we have cannot be solved at the same level of thinking with which we created them. ~ Albert Einstein -Original Message- From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 16, 2008 11:44 AM To: Tomcat Users List Subject: RE: Tomcat tuning From: Charlie Wingate [mailto:[EMAIL PROTECTED] Subject: RE: Tomcat tuning I do not know of any documents that directly speak to performance tuning The reason for that is performance tuning depends almost entirely on the applications being run, not on the container itself. You discovered that you needed more threads and heap for your load testing; but increasing those in a different environment may well reduce performance. You have to monitor and measure your own workload, determine the bottlenecks specific to your situation, and address them. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This footnote confirms that this email message has been scanned by PineApp Mail-SeCure for the presence of malicious code, vandals computer viruses. --- This message is a CONFIDENTIAL communication. If you are not the intended recipient, please do not read, copy, or use it, and do not disclose it to others. Please notify the sender of the delivery error by replying to this message, and then delete it from your system. Thank you. This footnote confirms that this email message has been scanned by PineApp Mail-SeCure for the presence of malicious code, vandals computer viruses. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Starting Tomcat with JMX support
I'm an idiotI got itno bat file needed. Thank you charles. (needed to set the option. Charlie Wingate [EMAIL PROTECTED] The significant problems we have cannot be solved at the same level of thinking with which we created them. ~ Albert Einstein -Original Message- From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] Sent: Friday, January 25, 2008 4:15 PM To: Tomcat Users List Subject: RE: Starting Tomcat with JMX support From: Charlie Wingate [mailto:[EMAIL PROTECTED] Subject: RE: Starting Tomcat with JMX support I found that, but am I calling that in a bat as switch after the tomcat5.exe? I'll bite: why are you doing that? If you want to run Tomcat from a .bat script, startup.bat should be the one used; the tomcat5.exe program is there only to establish Tomcat as a service. Changing the JVM options for said service is best done by the tomcat5w.exe program, under the Java tab. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This footnote confirms that this email message has been scanned by PineApp Mail-SeCure for the presence of malicious code, vandals computer viruses. --- This message is a CONFIDENTIAL communication. If you are not the intended recipient, please do not read, copy, or use it, and do not disclose it to others. Please notify the sender of the delivery error by replying to this message, and then delete it from your system. Thank you. This footnote confirms that this email message has been scanned by PineApp Mail-SeCure for the presence of malicious code, vandals computer viruses. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Starting Tomcat with JMX support
I found that, but am I calling that in a bat as switch after the tomcat5.exe? So it looks like Tomcat5.exe set CATALINA_OPTS=-Dcom.sun.management.jmxremote \ -Dcom.sun.management.jmxremote.port=%my.jmx.port% \ -Dcom.sun.management.jmxremote.ssl=false \ -Dcom.sun.management.jmxremote.authenticate=false ? Charlie Wingate [EMAIL PROTECTED] The significant problems we have cannot be solved at the same level of thinking with which we created them. ~ Albert Einstein -Original Message- From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] Sent: Friday, January 25, 2008 4:04 PM To: Tomcat Users List Subject: RE: Starting Tomcat with JMX support From: Charlie Wingate [mailto:[EMAIL PROTECTED] Subject: Starting Tomcat with JMX support I was wondering how I would start Tomcat such that I can actually access the Jconsole for the JVM powering it? It's in the doc: http://tomcat.apache.org/tomcat-6.0-doc/monitoring.html If you're monitoring on-platform, all you need is the -Dcom.sun.management.jmxremote setting. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This footnote confirms that this email message has been scanned by PineApp Mail-SeCure for the presence of malicious code, vandals computer viruses. --- This message is a CONFIDENTIAL communication. If you are not the intended recipient, please do not read, copy, or use it, and do not disclose it to others. Please notify the sender of the delivery error by replying to this message, and then delete it from your system. Thank you. This footnote confirms that this email message has been scanned by PineApp Mail-SeCure for the presence of malicious code, vandals computer viruses. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Starting Tomcat with JMX support
Hi All, I was wondering how I would start Tomcat such that I can actually access the Jconsole for the JVM powering it? I know my PID for the Java instance and I have found that the management agent is not enabled on this process. How do I enable? ( I have googled but all I seem to find are real old tomcat docs and linux scripts to start tomcat. There does not seem to be a bat file to start tomcat that came with my Tomcat and I do not know the syntax to start tomcat via a bin file with the JMX enabled) Please help. Thank you Charlie Wingate Portal System Engineer Valco Data Systems 10 Manor Parkway Salem, NH 03079 [EMAIL PROTECTED] Main Valco phone: (603) 898-2288 --- This message is a CONFIDENTIAL communication. If you are not the intended recipient, please do not read, copy, or use it, and do not disclose it to others. Please notify the sender of the delivery error by replying to this message, and then delete it from your system. Thank you. This footnote confirms that this email message has been scanned by PineApp Mail-SeCure for the presence of malicious code, vandals computer viruses.
RE: Applets and Sessions
Thank you David; that explanation sent me in a new direction of thinking and it has helped quite a bit. Charlie Wingate [EMAIL PROTECTED] The significant problems we have cannot be solved at the same level of thinking with which we created them. ~ Albert Einstein -Original Message- From: david delbecq [mailto:[EMAIL PROTECTED] Sent: Monday, January 21, 2008 4:12 PM To: Tomcat Users List Subject: Re: Applets and Sessions Applet are client side, they are not related to tomcat. If you applet request ressources from server, the fact it creates or not session depend on the way it access it and on the fact ressource requires or not a user session. Charlie Wingate a écrit : Hi All, At every user instance of an applet is there a session started as reported by tomcat manager for that application? Charlie --- This message is a CONFIDENTIAL communication. If you are not the intended recipient, please do not read, copy, or use it, and do not disclose it to others. Please notify the sender of the delivery error by replying to this message, and then delete it from your system. Thank you. This footnote confirms that this email message has been scanned by PineApp Mail-SeCure for the presence of malicious code, vandals computer viruses. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This footnote confirms that this email message has been scanned by PineApp Mail-SeCure for the presence of malicious code, vandals computer viruses. --- This message is a CONFIDENTIAL communication. If you are not the intended recipient, please do not read, copy, or use it, and do not disclose it to others. Please notify the sender of the delivery error by replying to this message, and then delete it from your system. Thank you. This footnote confirms that this email message has been scanned by PineApp Mail-SeCure for the presence of malicious code, vandals computer viruses. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Applets and Sessions
Hi All, At every user instance of an applet is there a session started as reported by tomcat manager for that application? Charlie --- This message is a CONFIDENTIAL communication. If you are not the intended recipient, please do not read, copy, or use it, and do not disclose it to others. Please notify the sender of the delivery error by replying to this message, and then delete it from your system. Thank you. This footnote confirms that this email message has been scanned by PineApp Mail-SeCure for the presence of malicious code, vandals computer viruses.
RE: ISAPI redirector log file not being written
Have you tried the registry entries? Charlie Wingate [EMAIL PROTECTED] The significant problems we have cannot be solved at the same level of thinking with which we created them. ~ Albert Einstein -Original Message- From: pmarchwiak [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 09, 2008 10:19 AM To: users@tomcat.apache.org Subject: ISAPI redirector log file not being written Isapi_redirect.dll is not writing to its log file. I have Tomcat 5.5 installed on a Windows Server 2003 box and I am using the ISAPI redirector to redirect some requests from IIS. I am using the isapi_redirect.properties file for my configuration (as opposed to the registry settings) and my worker properties and worker mount file are being read just fine. Is there a permissions setting that I am missing? I have allowed full control for the user IUSR_MACHINE_NAME on this file and it makes no difference. Does anyone have any ideas about what could be wrong here? Thanks. -- View this message in context: http://www.nabble.com/ISAPI-redirector-log-file-not-being-written-tp1471 3815p14713815.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This footnote confirms that this email message has been scanned by PineApp Mail-SeCure for the presence of malicious code, vandals computer viruses. --- This message is a CONFIDENTIAL communication. If you are not the intended recipient, please do not read, copy, or use it, and do not disclose it to others. Please notify the sender of the delivery error by replying to this message, and then delete it from your system. Thank you. This footnote confirms that this email message has been scanned by PineApp Mail-SeCure for the presence of malicious code, vandals computer viruses. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: mod_jk to remote host
Logs and config files would help here. Substitute out real ips with Xs or fake ones; or just post them. In any event it is difficult for anyone to provide help based on the information you have provided. ~Charlie The significant problems we have cannot be solved at the same level of thinking with which we created them. - Albert Einstein -Original Message- From: John Richard Moser [mailto:[EMAIL PROTECTED] Sent: Monday, November 26, 2007 12:28 PM To: users@tomcat.apache.org Subject: mod_jk to remote host Hi I have a mod_jk connector that works on localhost. I am trying to change the host to the remote IP address and configure it on another server (port 8009 is open) but I'm getting nowhere. The error log consistently says the worker name=tomcat_ajp does not exist but I put it in worker.list= and configured it appropriately. Any help? Note: Tomcat itself is NOT installed locally on that machine. Also tcpdump on the remote machine shows no attempt to access the remote machine from the Web server. -- Bring back the Firefox plushy! http://digg.com/linux_unix/Is_the_Firefox_plush_gone_for_good https://bugzilla.mozilla.org/show_bug.cgi?id=322367 - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This footnote confirms that this email message has been scanned by PineApp Mail-SeCure for the presence of malicious code, vandals computer viruses. --- This message is a CONFIDENTIAL communication. If you are not the intended recipient, please do not read, copy, or use it, and do not disclose it to others. Please notify the sender of the delivery error by replying to this message, and then delete it from your system. Thank you. This footnote confirms that this email message has been scanned by PineApp Mail-SeCure for the presence of malicious code, vandals computer viruses. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat causing high CPU load
There is a kill.exe (older version in resource kits) and a newer taskkill.exe included with XP on; but neither of them will provide a stack dump/trace. Although they are very useful as tools and parts. :) ~Charlie The significant problems we have cannot be solved at the same level of thinking with which we created them. - Albert Einstein -Original Message- From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 06, 2007 9:28 AM To: Tomcat Users List Subject: RE: Tomcat causing high CPU load From: Andrew Miehs [mailto:[EMAIL PROTECTED] Subject: Re: Tomcat causing high CPU load Kill -3 TOMCAT PID ps auxwh The OP is running on Windows... - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This footnote confirms that this email message has been scanned by PineApp Mail-SeCure for the presence of malicious code, vandals computer viruses. --- This message is a CONFIDENTIAL communication. If you are not the intended recipient, please do not read, copy, or use it, and do not disclose it to others. Please notify the sender of the delivery error by replying to this message, and then delete it from your system. Thank you. This footnote confirms that this email message has been scanned by PineApp Mail-SeCure for the presence of malicious code, vandals computer viruses. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Help with Tomcat IIS
Lol, My whole job is a sad tone as the company can not seem to make up its' mind about .net or java. So some stuff is asp and other stuff java; thus mixed I am left. :) ~Charlie The significant problems we have cannot be solved at the same level of thinking with which we created them. - Albert Einstein -Original Message- From: myrealbruno [mailto:[EMAIL PROTECTED] Sent: Friday, October 26, 2007 6:23 AM To: Tomcat Users List Subject: Re: Help with Tomcat IIS Hi, I think the mailing list archives are full of people with IIS - or Apache - fronting Tomcat. There is a very good article that explains the technical reasons http://people.apache.org/~mturk/docs/article/ftwai.html Also, there might be cases where the reasons are political, or when the environment is very heterogenous, or combinations of the two. (The last sentence should be read with a sad tone) Hope it helps, b. - Original Message - From: Jacob Rhoden [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Thursday, October 25, 2007 12:38 AM Subject: Re: Help with Tomcat IIS Wow, this is the first time I have heard of someone wanting to use Tomcat with IIS. Most IIS people would be using .NET. (I am interested to hear from people if its possible and why you would do it) Is there a speciffic reason you need to connect it to IIS? Did you know that tomcat can be used without Apache or IIS? Simply edit the server.xml file so that it listens on port 80 instead of port 8080. This makes configuration much easier. However I understand if you do have a specific reason to use IIS. Best Regards, Jacob Demetris Zavorotnichenko wrote: I have been banging my head about this for a long time and haven't figured it out yet. I have a 64 Bit Machine with Windows Server 2003 (64 bit) What version of Tomcat should I install in order to be able to connect it to IIS 6 And What Jakata connector version should I use? Which would be compatible with all this. Please help me out on this. I have been through the tutorials a hundred times and I got confused since there are SO many Directories with different Jakata Connectors for different versions. Please if someone could write down this things (in short) - since I know the procedure of setting this up Please help me here. ---AV Spam Filtering by M+Guardian - Risk Free Email (TM)--- - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This footnote confirms that this email message has been scanned by PineApp Mail-SeCure for the presence of malicious code, vandals computer viruses. --- This message is a CONFIDENTIAL communication. If you are not the intended recipient, please do not read, copy, or use it, and do not disclose it to others. Please notify the sender of the delivery error by replying to this message, and then delete it from your system. Thank you. This footnote confirms that this email message has been scanned by PineApp Mail-SeCure for the presence of malicious code, vandals computer viruses. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Help with Tomcat IIS
Tony, When the decisions are made based on an evaluative process and the best suited is chosen I am all in. For me it seems platform choice is mostly based on who thunk up the idea and cast it into requirements and not on logical rationality. But hey, it pays the bills. :) ~Charlie The significant problems we have cannot be solved at the same level of thinking with which we created them. - Albert Einstein -Original Message- From: Tony Fountain [mailto:[EMAIL PROTECTED] Sent: Friday, October 26, 2007 9:22 AM To: Tomcat Users List; myrealbruno Subject: RE: Help with Tomcat IIS I do not agree with the statement about it being a sad tone. 95% of our shop is .NET / IIS / MSSQL, however we are intergrating another product into our applications that is written in Java and requires a J2EE compliant application server to run, thus here I am :). I understand the thoughts and practices of streamlining the technologies in your shop but being too strict about it also limits your options. There is valid consideration that needs to be made to the best tool for the job as well. We spent about 6 months evaluating a variety of tools and in this case, the ones that were .NET based fell very short of the product we ended up choosing. /soapbox Tony -Original Message- From: myrealbruno [mailto:[EMAIL PROTECTED] Sent: Friday, October 26, 2007 6:23 AM To: Tomcat Users List Subject: Re: Help with Tomcat IIS Hi, I think the mailing list archives are full of people with IIS - or Apache - fronting Tomcat. There is a very good article that explains the technical reasons http://people.apache.org/~mturk/docs/article/ftwai.html Also, there might be cases where the reasons are political, or when the environment is very heterogenous, or combinations of the two. (The last sentence should be read with a sad tone) Hope it helps, b. - Original Message - From: Jacob Rhoden [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Thursday, October 25, 2007 12:38 AM Subject: Re: Help with Tomcat IIS Wow, this is the first time I have heard of someone wanting to use Tomcat with IIS. Most IIS people would be using .NET. (I am interested to hear from people if its possible and why you would do it) Is there a speciffic reason you need to connect it to IIS? Did you know that tomcat can be used without Apache or IIS? Simply edit the server.xml file so that it listens on port 80 instead of port 8080. This makes configuration much easier. However I understand if you do have a specific reason to use IIS. Best Regards, Jacob Demetris Zavorotnichenko wrote: I have been banging my head about this for a long time and haven't figured it out yet. I have a 64 Bit Machine with Windows Server 2003 (64 bit) What version of Tomcat should I install in order to be able to connect it to IIS 6 And What Jakata connector version should I use? Which would be compatible with all this. Please help me out on this. I have been through the tutorials a hundred times and I got confused since there are SO many Directories with different Jakata Connectors for different versions. Please if someone could write down this things (in short) - since I know the procedure of setting this up Please help me here. ---AV Spam Filtering by M+Guardian - Risk Free Email (TM)--- - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This Email has been scanned for all viruses by PAETEC Email Scanning Services, utilizing MessageLabs proprietary SkyScan infrastructure. For more information on a proactive anti-virus service working around the clock, around the globe, visit http://www.paetec.com. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This footnote confirms that this email message has been scanned by PineApp Mail-SeCure for the presence of malicious code, vandals computer viruses. --- This message is a CONFIDENTIAL communication. If you are not the intended recipient, please do not read, copy, or use it, and do not disclose it to others. Please notify the sender of the delivery error by replying to this message, and then delete it from your system. Thank you.
RE: IIS6 and Tomcat 5.5
Hi Dave, A couple things about this post... 1st Read at least the introduction @ the following link http://www.catb.org/~esr/faqs/smart-questions.html 2nd I am assuming you are trying to serve the front end of a Tomcat installation with IIS using the ISAPI redirector. What DLL version are you using? Are you using the Tomcat Native runtime Library? Are you running IIS 6 in IIS 5 isolation mode? 3rd How about a look at your workers properties file and mapping file? 4th Is Tomcat getting the request? (I bet noas it never leaves IIStry isolation mode) 5th Go back and finish reading all the information from the link in item 1. Cheers ~Charlie The significant problems we have cannot be solved at the same level of thinking with which we created them. - Albert Einstein -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 09, 2007 10:42 AM To: users@tomcat.apache.org Subject: IIS6 and Tomcat 5.5 The only thing that I can see missing from my setup is that when I make a request for a URL served by the isapi_redirector, I dont see a corresponding get for /jakarta/isapi_redirector.dll from IIS. I have green lights everywhere, I have the logging turned up on the filter, and I'm seeing that requests are coming through, and isapi_redirector knows they are for him (unless forwarding escaped URI means something else) no other errors on startup, so I am tempted to think that things are looking OK. Here is my uriworkermap.properties file: /jsp-examples/*=patnc1 /portal/*=patnc1 Here is my workers.properties file: worker.list=patnc1 worker.patnc1.type=ajp13 worker.patnc1.host=localhost worker.patnc1.port=8009 Here's the log from the redirector, when I do a request for /jsp-examples/index.html [Tue Oct 09 09:35:30.111 2007] [3084:3124] [debug] jk_isapi_plugin.c (1199): Filter started [Tue Oct 09 09:35:30.111 2007] [3084:3124] [debug] jk_isapi_plugin.c (1266): Virtual Host redirection of /localhost:88/jsp-examples/index.html [Tue Oct 09 09:35:30.111 2007] [3084:3124] [debug] jk_uri_worker_map.c (597): Attempting to map URI '/localhost:88/jsp-examples/index.html' from 2 maps [Tue Oct 09 09:35:30.111 2007] [3084:3124] [debug] jk_uri_worker_map.c (609): Attempting to map context URI '/jsp-examples/*=patnc1' source 'uriworkermap' [Tue Oct 09 09:35:30.111 2007] [3084:3124] [debug] jk_uri_worker_map.c (609): Attempting to map context URI '/portal/*=patnc1' source 'uriworkermap' [Tue Oct 09 09:35:30.111 2007] [3084:3124] [debug] jk_isapi_plugin.c (1273): Default redirection of /jsp-examples/index.html [Tue Oct 09 09:35:30.111 2007] [3084:3124] [debug] jk_uri_worker_map.c (597): Attempting to map URI '/jsp-examples/index.html' from 2 maps [Tue Oct 09 09:35:30.111 2007] [3084:3124] [debug] jk_uri_worker_map.c (609): Attempting to map context URI '/jsp-examples/*=patnc1' source 'uriworkermap' [Tue Oct 09 09:35:30.111 2007] [3084:3124] [debug] jk_uri_worker_map.c (624): Found a wildchar match '/jsp-examples/*=patnc1' [Tue Oct 09 09:35:30.111 2007] [3084:3124] [debug] jk_isapi_plugin.c (1286): check if [/jsp-examples/index.html] is points to the web-inf directory [Tue Oct 09 09:35:30.111 2007] [3084:3124] [debug] jk_isapi_plugin.c (1303): [/jsp-examples/index.html] is a servlet url - should redirect to patnc1 [Tue Oct 09 09:35:30.111 2007] [3084:3124] [debug] jk_isapi_plugin.c (1345): fowarding escaped URI [/jsp-examples/index.html] Here's the IIS log for the same request... 2007-10-09 14:35:30 W3SVC1267602825 127.0.0.1 GET /jsp-examples/index.html - 88 - 127.0.0.1 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.2;+SV1;+PATNC,+Inc.+STL+ MO+USA;+.NET+CLR+1.1.4322;+.NET+CLR+2.0.50727) 404 2 1260 Can anyone provide a clue as to what I need to do from here? Thanks for any and all assistance with this! David Buttrick Programming Manager Parents As Teachers National Center 2228 Ball Drive St. Louis, MO 63146 314-432-4330 x 282 [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This footnote confirms that this email message has been scanned by PineApp Mail-SeCure for the presence of malicious code, vandals computer viruses. --- This message is a CONFIDENTIAL communication. If you are not the intended recipient, please do not read, copy, or use it, and do not disclose it to others. Please notify the sender of the delivery error by replying to this message, and then delete it from your system. Thank you. This
RE: IIS6 and Tomcat 5.5
Hi David, Depending on the Runtime and the Dll version(s) you are using this wont work at all. The Isapi you should be using was released in late july and the latest runtime works with it. The runtime is found in the TC bin and is called tcnative.dll. Essentially, grab the latest version of each. I got this working only after also placing IIS 6 into IIS 5 isolation mode. The isapi filter does not seem to like something about the way IIS 6 handles it; as a result it just does not work. Outside of that it looks like you have things correct. Although the versions are off the following article pretty much covers it well. (JK2 is deprecated) http://www.roktech.net/devblog/enclosures/iis6-Tomcat5-JK2.pdf ~Charlie The significant problems we have cannot be solved at the same level of thinking with which we created them. - Albert Einstein -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 09, 2007 1:19 PM To: users@tomcat.apache.org Subject: RE: IIS6 and Tomcat 5.5 Thanks for the responses. When isapi_redirect says that he's forwarding the request URI - is that not where I'm supposed to see the request for /jakarta/isapi_redirect.dll My understanding is that you see the request itself hits IIS, then it get processed by the filter, then if appropriate, the filter forwards the request by making a request to /jakarta/isapi_redirect.dll. So, I see everything in the logs except for the request to /jakarta/isapi_redirect.dll. It looks like that means that first phase of the request is handled, but the filter never generates the request to tomcat - is that right? Could that be a permissions thing? I looked at permissions on my isapi_redirect, and I allowed execute for the IIS_WPG group. So, I've read the Apache docs on doing this, and I've looked cursorily at the wiki that is linked to the tomcat connector page, that has the extra step about allowing the web service. I even remember reading the document that tells you to put the webserver in isolation mode. Also, where do you find the tomcat native runtime? I was looking at this to do later, as I'm still having trouble making it work! Thanks David -Original Message- From: Charlie Wingate [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 09, 2007 11:28 AM To: Tomcat Users List Subject: RE: IIS6 and Tomcat 5.5 My Bad you did put in the workermap and propfiles. Follow the isolation mode in IIS path. ~Charlie The significant problems we have cannot be solved at the same level of thinking with which we created them. - Albert Einstein -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 09, 2007 10:42 AM To: users@tomcat.apache.org Subject: IIS6 and Tomcat 5.5 The only thing that I can see missing from my setup is that when I make a request for a URL served by the isapi_redirector, I dont see a corresponding get for /jakarta/isapi_redirector.dll from IIS. I have green lights everywhere, I have the logging turned up on the filter, and I'm seeing that requests are coming through, and isapi_redirector knows they are for him (unless forwarding escaped URI means something else) no other errors on startup, so I am tempted to think that things are looking OK. Here is my uriworkermap.properties file: /jsp-examples/*=patnc1 /portal/*=patnc1 Here is my workers.properties file: worker.list=patnc1 worker.patnc1.type=ajp13 worker.patnc1.host=localhost worker.patnc1.port=8009 Here's the log from the redirector, when I do a request for /jsp-examples/index.html [Tue Oct 09 09:35:30.111 2007] [3084:3124] [debug] jk_isapi_plugin.c (1199): Filter started [Tue Oct 09 09:35:30.111 2007] [3084:3124] [debug] jk_isapi_plugin.c (1266): Virtual Host redirection of /localhost:88/jsp-examples/index.html [Tue Oct 09 09:35:30.111 2007] [3084:3124] [debug] jk_uri_worker_map.c (597): Attempting to map URI '/localhost:88/jsp-examples/index.html' from 2 maps [Tue Oct 09 09:35:30.111 2007] [3084:3124] [debug] jk_uri_worker_map.c (609): Attempting to map context URI '/jsp-examples/*=patnc1' source 'uriworkermap' [Tue Oct 09 09:35:30.111 2007] [3084:3124] [debug] jk_uri_worker_map.c (609): Attempting to map context URI '/portal/*=patnc1' source 'uriworkermap' [Tue Oct 09 09:35:30.111 2007] [3084:3124] [debug] jk_isapi_plugin.c (1273): Default redirection of /jsp-examples/index.html [Tue Oct 09 09:35:30.111 2007] [3084:3124] [debug] jk_uri_worker_map.c (597): Attempting to map URI '/jsp-examples/index.html' from 2 maps [Tue Oct 09 09:35:30.111 2007] [3084:3124] [debug] jk_uri_worker_map.c (609): Attempting to map context URI '/jsp-examples/*=patnc1' source 'uriworkermap' [Tue Oct 09 09:35:30.111 2007] [3084:3124] [debug] jk_uri_worker_map.c (624): Found a wildchar match '/jsp-examples/*=patnc1' [Tue Oct 09 09:35:30.111 2007] [3084:3124] [debug] jk_isapi_plugin.c
RE: New to Apache
Hi Tony, I am not sure where at the website you can find documentation but I use Win2k3 and Tomcat 5.5 and have found that the Native runtime library for W2k3 gives a big performance boost. The file is tcnative-1.dll and I think the latest version is 1.1.9.0; Google it and you should be able to find a download location. As for performance measurements and methodologies I am at a loss but looking into that myself soon. ~Charlie The significant problems we have cannot be solved at the same level of thinking with which we created them. - Albert Einstein -Original Message- From: Tony Fountain [mailto:[EMAIL PROTECTED] Sent: Monday, October 01, 2007 11:01 AM To: Tomcat Users List Subject: RE: New to Apache Mark, I did not hijack a thread. I started this one myself. Thanks, Tony Fountain Benefit Concepts, Inc. (419) 244-9936 x9010 (office) (419) 249-7221 (fax) -Original Message- From: Mark Thomas [mailto:[EMAIL PROTECTED] Sent: Thursday, September 27, 2007 11:23 PM To: Tomcat Users List Subject: Re: New to Apache Please don't hi-jack threads. Mark - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This Email has been scanned for all viruses by PAETEC Email Scanning Services, utilizing MessageLabs proprietary SkyScan infrastructure. For more information on a proactive anti-virus service working around the clock, around the globe, visit http://www.paetec.com. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This footnote confirms that this email message has been scanned by PineApp Mail-SeCure for the presence of malicious code, vandals computer viruses. --- This message is a CONFIDENTIAL communication. If you are not the intended recipient, please do not read, copy, or use it, and do not disclose it to others. Please notify the sender of the delivery error by replying to this message, and then delete it from your system. Thank you. This footnote confirms that this email message has been scanned by PineApp Mail-SeCure for the presence of malicious code, vandals computer viruses. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Apache connectors for tomcat
You may find this link helpful.it works if your using the same versions as the article. But I think JK2 has been 'deprecated'. http://www.roktech.net/devblog/enclosures/iis6-Tomcat5-JK2.pdf ~Charlie The significant problems we have cannot be solved at the same level of thinking with which we created them. - Albert Einstein -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, September 28, 2007 3:25 AM To: users@tomcat.apache.org Subject: Apache connectors for tomcat Hi, Which is the recommended connector for Apache now? mod_jk or mod_proxy_ajp (with balancer) ? rahul -- 1. e4 _ - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This footnote confirms that this email message has been scanned by PineApp Mail-SeCure for the presence of malicious code, vandals computer viruses. --- This message is a CONFIDENTIAL communication. If you are not the intended recipient, please do not read, copy, or use it, and do not disclose it to others. Please notify the sender of the delivery error by replying to this message, and then delete it from your system. Thank you. This footnote confirms that this email message has been scanned by PineApp Mail-SeCure for the presence of malicious code, vandals computer viruses. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Apache connectors for tomcat
I'm confused.Doesn't mod_jk use ajp1.3 on the tomcat side? Was that with or without the native runtime library? ~Charlie The significant problems we have cannot be solved at the same level of thinking with which we created them. - Albert Einstein -Original Message- From: Tony Anecito [mailto:[EMAIL PROTECTED] Sent: Friday, September 28, 2007 12:56 PM To: Tomcat Users List Subject: Re: Apache connectors for tomcat I had heard that mod_jk was faster so I switched from ajp to mod_jk and sure enough mod_jk was 10% faster for me. -Tony --- Christopher Schultz [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Filip, Filip Hanik - Dev Lists wrote: personal preference in this order mod_proxy_http, mod_jk, mod_proxy_ajp I'm interested: why choose mod_proxy_http over mod_jk? - -chris -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFG/SZ19CaO5/Lv0PARAsm5AJ47ndEuIqfmT9LHA27Kl17MI13lhgCggyzy UVl1HP68RySRkjuxjAKBb9M= =rFt2 -END PGP SIGNATURE- - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Building a website is a piece of cake. Yahoo! Small Business gives you all the tools to get online. http://smallbusiness.yahoo.com/webhosting - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This footnote confirms that this email message has been scanned by PineApp Mail-SeCure for the presence of malicious code, vandals computer viruses. --- This message is a CONFIDENTIAL communication. If you are not the intended recipient, please do not read, copy, or use it, and do not disclose it to others. Please notify the sender of the delivery error by replying to this message, and then delete it from your system. Thank you. This footnote confirms that this email message has been scanned by PineApp Mail-SeCure for the presence of malicious code, vandals computer viruses. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Apache connectors for tomcat
Mod_jk and Mod_jk2 are different animals..JK2 is deprecated. The reason I mention it is that it is easy to assume that JK2 is the latest and greatest given the naming convention. Mod_jk 1.2.25 was released late july and IS the latest in the mod_jk project; to my knowledge anyway. ~Charlie The significant problems we have cannot be solved at the same level of thinking with which we created them. - Albert Einstein -Original Message- From: Tony Anecito [mailto:[EMAIL PROTECTED] Sent: Friday, September 28, 2007 10:19 AM To: Tomcat Users List Subject: RE: Apache connectors for tomcat Not sure about the interface/protocol being depricated since there was just a new release of mod_jk 1.2.25? Also, someone put some effort into improvments into it 2.2.6 of Apache. I also noticed a 10% performance improvement in request response times using mod_jk which I was told about and proven for my web services implementation using Tomcat. Finally what to do about load balanceing if Mod_jk goes away does someone have an answer to that? Regards, -Tony --- Charlie Wingate [EMAIL PROTECTED] wrote: You may find this link helpful.it works if your using the same versions as the article. But I think JK2 has been 'deprecated'. http://www.roktech.net/devblog/enclosures/iis6-Tomcat5-JK2.pdf ~Charlie The significant problems we have cannot be solved at the same level of thinking with which we created them. - Albert Einstein -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, September 28, 2007 3:25 AM To: users@tomcat.apache.org Subject: Apache connectors for tomcat Hi, Which is the recommended connector for Apache now? mod_jk or mod_proxy_ajp (with balancer) ? rahul -- 1. e4 _ - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This footnote confirms that this email message has been scanned by PineApp Mail-SeCure for the presence of malicious code, vandals computer viruses. --- This message is a CONFIDENTIAL communication. If you are not the intended recipient, please do not read, copy, or use it, and do not disclose it to others. Please notify the sender of the delivery error by replying to this message, and then delete it from your system. Thank you. This footnote confirms that this email message has been scanned by PineApp Mail-SeCure for the presence of malicious code, vandals computer viruses. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Luggage? GPS? Comic books? Check out fitting gifts for grads at Yahoo! Search http://search.yahoo.com/search?fr=oni_on_mailp=graduation+giftscs=bz - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This footnote confirms that this email message has been scanned by PineApp Mail-SeCure for the presence of malicious code, vandals computer viruses. --- This message is a CONFIDENTIAL communication. If you are not the intended recipient, please do not read, copy, or use it, and do not disclose it to others. Please notify the sender of the delivery error by replying to this message, and then delete it from your system. Thank you. This footnote confirms that this email message has been scanned by PineApp Mail-SeCure for the presence of malicious code, vandals computer viruses. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e
FW: Redirection Problem
Hi All, I have had a side conversation with Bertrand.donnet and a big thanks goes out to him/her. He found a solution and wonderful instructions on how to set up the JK_mod with Tomcat 5, IIS6.0, and the native runtime library. The email sent to me is pasted below; with his/her contact removed. (Didn't know if he/she would want/care for me to post it). My original post is at the very end. Cheers Ok, thanks for your answer. I have investigated last night and found a great PDF solving the problem. It seems that you have to switch IIS 6 to IIS 5 isolation mode. Everything is well documented in this PDF. Read the intro and jump directly to page 14. The IIS part is up-to-date even if the rest is not. In my case (JDK 6u2 + JBOSS 4.2.1 + JK 1.2.25 + IIS 6.0 + W2K3) it works fine now. Perhaps a good idea to add the link on your post but i don't remember the site. hope it helps http://www.roktech.net/devblog/enclosures/iis6-Tomcat5-JK2.pdf ~Charlie The significant problems we have cannot be solved at the same level of thinking with which we created them. - Albert Einstein From: Charlie Wingate Sent: Tuesday, September 11, 2007 11:28 AM To: 'users@tomcat.apache.org' Subject: Redirection Problem Hi All, I am rather new to these help forums so please bear with me; I have always been able to find what I needed by searching the net and more specifically the Apache site, up until now that is. My problem is that the redirector catches the request, matches it, and forwards the escaped uri but the browser displays a 404 not found error. I have included what I think is the relevant information and things I have tried. Any insight that could be provided would be greatly appreciated. Server OS= Win2k3 sp2 Web Server= IIS6.0 Tomcat= 5.5.20 Native runtime library in Tomcat= 1.1.9.0 Isapi_redirect.dll=1.2.25.0 In IIS I have the following configured. Webservice Extension: Named=jakarta and pointing to c:\tomcat 5.5\bin\Jakarta Isapi Redirector\bin\isapi_redirect.dll Virtual Directory: Named=Jakarta, local path= c:\tomcat 5.5\bin\Jakarta Isapi Redirector\bin, directory security is set to enable anonymous access as the IUSR account on the local machine, Execute permissions are set to= scripts and executables, the app pool is set to the default app pool. Default App pool is set to use an identity of IWAM on the local machine. The folder permissions for c:\tomcat 5.5\bin\Jakarta Isapi Redirector\bin and the entire webapps folder in tomcat include the IUSR and IWAM accounts with full access and child propagation of the permissions. In Tomcat I have And ajp1.3 listener on port 8009. I have verified that is up via the stdout during tomcat load. I have also run a netstat and found that 8009 is actively being used by tomcat. The exact server.xml entry for it is as follows Connector protocol=AJP/1.3 Port=8009 enableLookups=false redirectPort=8443 / I have servlets-examples and a custom application called dgportal successfully deployed and accessible via an explicit 8080 port call on the url. I have omitted the registry settings I am using as they can be found in the iaspi log. Any ideas on what I should try next Logs Isapi_redirect.log [Tue Sep 11 10:45:15.642 2007] [3572:4604] [debug] jk_util.c (530): log time stamp format is '[%a %b %d %H:%M:%S.%Q %Y] ' [Tue Sep 11 10:45:15.642 2007] [3572:4604] [debug] jk_shm.c (169): Initialized shared memory size=28800 free=28672 addr=0x1b6 [Tue Sep 11 10:45:15.642 2007] [3572:4604] [debug] jk_isapi_plugin.c (1698): Using registry. [Tue Sep 11 10:45:15.658 2007] [3572:4604] [debug] jk_isapi_plugin.c (1701): Using log file C:\Tomcat 5.5\bin\Jakarta Isapi Redirector\log\isapi_redirect.log. [Tue Sep 11 10:45:15.658 2007] [3572:4604] [debug] jk_isapi_plugin.c (1702): Using log level 1. [Tue Sep 11 10:45:15.658 2007] [3572:4604] [debug] jk_isapi_plugin.c (1703): Using extension uri /jakarta/isapi_redirect.dll. [Tue Sep 11 10:45:15.658 2007] [3572:4604] [debug] jk_isapi_plugin.c (1704): Using worker file C:\Tomcat 5.5\bin\Jakarta Isapi Redirector\conf\workers.properties.minimal. [Tue Sep 11 10:45:15.658 2007] [3572:4604] [debug] jk_isapi_plugin.c (1705): Using worker mount file C:\Tomcat 5.5\bin\Jakarta Isapi Redirector\conf\uriworkermap.properties. [Tue Sep 11 10:45:15.658 2007] [3572:4604] [debug] jk_isapi_plugin.c (1707): Using rewrite rule file . [Tue Sep 11 10:45:15.658 2007] [3572:4604] [debug] jk_isapi_plugin.c (1709): Using uri select 3. [Tue Sep 11 10:45:15.658 2007] [3572:4604] [debug] jk_map.c (495): Adding property '/admin/*' with value 'wlb' to map. [Tue Sep 11 10:45:15.658 2007] [3572:4604] [debug] jk_map.c (495): Adding
Rookie Question Please help
Charlie Wingate Systems Engineer [EMAIL PROTECTED] Valco Data Systems 10 Manor Parkway Salem, NH 03087 Main: 603-898-2288 Fax: 603-898-2188 The significant problems we have cannot be solved at the same level of thinking with which we created them. - Albert Einstein --- This message is a CONFIDENTIAL communication. If you are not the intended recipient, please do not read, copy, or use it, and do not disclose it to others. Please notify the sender of the delivery error by replying to this message, and then delete it from your system. Thank you. This footnote confirms that this email message has been scanned by PineApp Mail-SeCure for the presence of malicious code, vandals computer viruses. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Rookie Question Please help
I got it. This was a real rookie mistake, it is JDBC not JBC on the url string. ~Charlie The significant problems we have cannot be solved at the same level of thinking with which we created them. - Albert Einstein -Original Message- From: Charlie Wingate [mailto:[EMAIL PROTECTED] Sent: Friday, September 14, 2007 9:59 AM To: users@tomcat.apache.org Subject: Rookie Question Please help Hi, Thanks in advance for an insight you can give me. I am trying to convert my web app to use SQL05 from SQL2K. I have almost got it, I have one error left! I keep getting the error no suitable driver found even though I have verified multiple times that I have sqljdbc.jar in WEB-INF\lib of the web app. I could not find a META-INF file that points to this or the older SQL2k driver(s) either. (I have pasted the tomcat window below) Anyone have a clue? SEVERE: A FATAL ERROR has occurred which should not have happened under any circ umstance. Please notify the Torque developers [EMAIL PROTECTED] e.org and give as many details as possible (including the error stack trace). java.lang.Error: Error in BasePeer.initTableSchema(TURBINE_USER): No suitable dr iver found for jbc:sqlserver://172.17.20.81:1433;DatabaseName=DGDJSEC_TEST at org.apache.torque.util.BasePeer.initTableSchema(BasePeer.java:274) at org.apache.torque.util.BasePeer.initTableSchema(BasePeer.java:249) at org.apache.jetspeed.om.security.turbine.TurbineUserPeer.clinit(Unkn own Source) at org.apache.jetspeed.om.security.turbine.BaseTurbineUser.clinit(Unkn own Source) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Unknown Source) at org.apache.jetspeed.om.security.turbine.BaseTurbineUserPeer.initClass (Unknown Source) at org.apache.jetspeed.om.security.turbine.BaseTurbineUserPeer.clinit( Unknown Source) at org.apache.jetspeed.services.security.turbine.TurbineUserManagement.g etUser(Unknown Source) at org.apache.jetspeed.services.JetspeedUserManagement.getUser(Unknown S ource) at org.apache.jetspeed.services.security.turbine.TurbineAuthentication.g etAnonymousUser(Unknown Source) at org.apache.jetspeed.services.JetspeedAuthentication.getAnonymousUser( Unknown Source) at org.apache.jetspeed.services.JetspeedSecurity.getAnonymousUser(Unknow n Source) at org.apache.jetspeed.modules.actions.TemplateSessionValidator.doPerfor m(Unknown Source) at org.apache.jetspeed.modules.actions.JetspeedSessionValidator.doPerfor m(Unknown Source) at org.apache.turbine.modules.Action.perform(Action.java:87) at org.apache.turbine.modules.ActionLoader.exec(ActionLoader.java:122) at org.apache.turbine.Turbine.doGet(Turbine.java:521) at javax.servlet.http.HttpServlet.service(HttpServlet.java:689) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl icationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF ilterChain.java:173) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDisp atcher.java:672) at org.apache.catalina.core.ApplicationDispatcher.processRequest(Applica tionDispatcher.java:463) at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationD ispatcher.java:398) at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDis patcher.java:301) at org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.j ava:688) at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.jav a:658) at org.apache.jsp.index_jsp._jspService(index_jsp.java:45) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper .java:334) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:3 14) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl icationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF ilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV alve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV alve.java:178) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j ava:126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j ava:105) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal ve.java:107
Redirection Problem
Hi All, I am rather new to these help forums so please bear with me; I have always been able to find what I needed by searching the net and more specifically the Apache site, up until now that is. My problem is that the redirector catches the request, matches it, and forwards the escaped uri but the browser displays a 404 not found error. I have included what I think is the relevant information and things I have tried. Any insight that could be provided would be greatly appreciated. Server OS= Win2k3 sp2 Web Server= IIS6.0 Tomcat= 5.5.20 Native runtime library in Tomcat= 1.1.9.0 Isapi_redirect.dll=1.2.25.0 In IIS I have the following configured. Webservice Extension: Named=jakarta and pointing to c:\tomcat 5.5\bin\Jakarta Isapi Redirector\bin\isapi_redirect.dll Virtual Directory: Named=Jakarta, local path= c:\tomcat 5.5\bin\Jakarta Isapi Redirector\bin, directory security is set to enable anonymous access as the IUSR account on the local machine, Execute permissions are set to= scripts and executables, the app pool is set to the default app pool. Default App pool is set to use an identity of IWAM on the local machine. The folder permissions for c:\tomcat 5.5\bin\Jakarta Isapi Redirector\bin and the entire webapps folder in tomcat include the IUSR and IWAM accounts with full access and child propagation of the permissions. In Tomcat I have And ajp1.3 listener on port 8009. I have verified that is up via the stdout during tomcat load. I have also run a netstat and found that 8009 is actively being used by tomcat. The exact server.xml entry for it is as follows Connector protocol=AJP/1.3 Port=8009 enableLookups=false redirectPort=8443 / I have servlets-examples and a custom application called dgportal successfully deployed and accessible via an explicit 8080 port call on the url. I have omitted the registry settings I am using as they can be found in the iaspi log. Any ideas on what I should try next Logs Isapi_redirect.log [Tue Sep 11 10:45:15.642 2007] [3572:4604] [debug] jk_util.c (530): log time stamp format is '[%a %b %d %H:%M:%S.%Q %Y] ' [Tue Sep 11 10:45:15.642 2007] [3572:4604] [debug] jk_shm.c (169): Initialized shared memory size=28800 free=28672 addr=0x1b6 [Tue Sep 11 10:45:15.642 2007] [3572:4604] [debug] jk_isapi_plugin.c (1698): Using registry. [Tue Sep 11 10:45:15.658 2007] [3572:4604] [debug] jk_isapi_plugin.c (1701): Using log file C:\Tomcat 5.5\bin\Jakarta Isapi Redirector\log\isapi_redirect.log. [Tue Sep 11 10:45:15.658 2007] [3572:4604] [debug] jk_isapi_plugin.c (1702): Using log level 1. [Tue Sep 11 10:45:15.658 2007] [3572:4604] [debug] jk_isapi_plugin.c (1703): Using extension uri /jakarta/isapi_redirect.dll. [Tue Sep 11 10:45:15.658 2007] [3572:4604] [debug] jk_isapi_plugin.c (1704): Using worker file C:\Tomcat 5.5\bin\Jakarta Isapi Redirector\conf\workers.properties.minimal. [Tue Sep 11 10:45:15.658 2007] [3572:4604] [debug] jk_isapi_plugin.c (1705): Using worker mount file C:\Tomcat 5.5\bin\Jakarta Isapi Redirector\conf\uriworkermap.properties. [Tue Sep 11 10:45:15.658 2007] [3572:4604] [debug] jk_isapi_plugin.c (1707): Using rewrite rule file . [Tue Sep 11 10:45:15.658 2007] [3572:4604] [debug] jk_isapi_plugin.c (1709): Using uri select 3. [Tue Sep 11 10:45:15.658 2007] [3572:4604] [debug] jk_map.c (495): Adding property '/admin/*' with value 'wlb' to map. [Tue Sep 11 10:45:15.658 2007] [3572:4604] [debug] jk_map.c (495): Adding property '/manager/*' with value 'wlb' to map. [Tue Sep 11 10:45:15.658 2007] [3572:4604] [debug] jk_map.c (495): Adding property '/jsp-examples/*' with value 'wlb' to map. [Tue Sep 11 10:45:15.658 2007] [3572:4604] [debug] jk_map.c (495): Adding property '/servlets-examples/*' with value 'wlb' to map. [Tue Sep 11 10:45:15.658 2007] [3572:4604] [debug] jk_map.c (495): Adding property '/ValcoAdmin/*' with value 'wlb' to map. [Tue Sep 11 10:45:15.658 2007] [3572:4604] [debug] jk_map.c (495): Adding property '/dgportal-og-sql/*' with value 'wlb' to map. [Tue Sep 11 10:45:15.658 2007] [3572:4604] [debug] jk_map.c (495): Adding property '/dgportal/*' with value 'wlb' to map. [Tue Sep 11 10:45:15.658 2007] [3572:4604] [debug] jk_map.c (495): Adding property '/dgportal/*.js' with value 'wlb' to map. [Tue Sep 11 10:45:15.658 2007] [3572:4604] [debug] jk_map.c (495): Adding property '/dgportal/*.jsp' with value 'wlb' to map. [Tue Sep 11 10:45:15.658 2007] [3572:4604] [debug] jk_map.c (495): Adding property '/connector/*' with value 'wlb' to map. [Tue Sep 11 10:45:15.658 2007] [3572:4604] [debug] jk_map.c (495): Adding property '/jkmanager' with value 'jkstatus' to map. [Tue Sep 11 10:45:15.658 2007] [3572:4604] [debug] jk_uri_worker_map.c (671): Loading urimaps from C:\Tomcat