where's workers2.properties
Hi I've installed Tomcat 4.1.12. Supposedly, there should be a file called workers2.properties in the conf directory. It's missing. Where can I get it? Marcel -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Tomcat/IIS intergration - once again ;-(
Hi David David Brown wrote: Hello Marcel, i took a peek at your (and your friends') website and it seems to be built by some smart and eager guys (nice site!). so why the m$ ii$? u seem to know a lot of linux and ur upstream provider: Genotec AG Swiss Network has a lot of linux boxes in their system. I hardly know anything of Linux. My own website is hosted on a W2K system for I want to use ASP. i am just curious why the preference of iis over apache? i'm I have no preference of IIS over Apache. The case is the following: At work we're developing workflow solutions with W4 (www.w4global.com). It runs on Linux/NT with Oracle/SQL and any combination of web server/app server. We're using Tomcat as 'app server' and IIS or Apache as web server. This results in three different dev environments for me. NT/SQL/IIS/Tomcat, NT/Oracle/IIS/Tomcat, and Linux/Oracle/Apache/Linux. However, I have to admit that I'm by far more familiar with IIS than with Apache. not at all familiar w/ iis config but it would seem to me that the java side of tc would still have to be the same regardless of platform. adding a new web apps (if using ant) is easy if u define and compile a .war/.jar combo that is expanded by the tc server when either: bounced, autoreloaded or http://localhost:8080/manager/intall?path=MyOwnTest_Java. I don't understand your tc directory structure: $CATALINA_HOME\webapps\MyOwnTest_Java\Public. do u have an Well, W4 generates an app which contains several subdirectories under MyOwnTest_Java (Public, WEB-INF, and others). index.jsp located in the Public directory is the entry point. application context defined as: MyOwnTest_Java/Public? i don't understand ur url: localhost/MyOwnTest_Java/Public/index.jsp? do u mean to state: http://localhost:8080/MyOwnTest_Java/Public/index.jsp? Yes I do. Also, you stated: they only work if called on the Tomcat port directly. do u mean port 8080? tc's default port that the server Yes I do listens on is port 8080 unless u redefine this in server.xml. in either case the port is necessary. tc servlets and jsp(s) r not invoked exactly like cgi-bin executables. the final analysis is: if u have defined ur .war/.jar correctly and tc server has expanded these files mentioned properly u should be able to invoke ur webapp MyOwnTest_Java as: http://localhost:8080/MyOwnTest_java (assume As I mentioned in my first posting this works. But the whole point of Tomcat/web server integration is that your web server is running on port 80 and that it will simply forward servlet/jsp request to Tomcat. This allows for the url http://localhost/MyOwnTest_Java/Public/index.jsp without explicitly defining port 8080 (or whatever Tomcat listens on). their is a jsp or servlet defined at that uri). hope this helps, david. Marcel -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Tomcat/IIS intergration - once again ;-(
Hi all Tomcat is running fine and so is IIS. The integration seemed to be successful for all examples are running through http://localhost/examples/an_so_on on the IIS port. HOWEVER, the web apps I added myself refuse to show up - they only work if called on the Tomcat port directly. Concrete: There's a web app called MyOwnTest_Java with jsp files in $CATALINA_HOME\webapps\MyOwnTest_Java\Public. As you can see the uri map has been added to the properties file. But once a request is made for localhost/MyOwnTest_Java/Public/index.jsp the match fails. Where is the problem here??? Cheers Marcel Isapi.log = [Fri Nov 29 08:39:51 2002] [jk_isapi_plugin.c (806)]: Using registry. [Fri Nov 29 08:39:51 2002] [jk_isapi_plugin.c (808)]: Using log file C:\Program Files\Apache Group\Tomcat4.0\logs\iis_redirect.log. [Fri Nov 29 08:39:51 2002] [jk_isapi_plugin.c (809)]: Using log level 0. [Fri Nov 29 08:39:51 2002] [jk_isapi_plugin.c (810)]: Using extension uri /jakarta/isapi_redirect.dll. [Fri Nov 29 08:39:51 2002] [jk_isapi_plugin.c (811)]: Using worker file C:\Program Files\Apache Group\Tomcat4.0\conf\ntiis\workers.properties. [Fri Nov 29 08:39:51 2002] [jk_isapi_plugin.c (812)]: Using worker mount file C:\Program Files\Apache Group\Tomcat4.0\conf\ntiis\uriworkermap.properties. [Fri Nov 29 08:39:51 2002] [jk_uri_worker_map.c (159)]: Into jk_uri_worker_map_t::uri_worker_map_alloc [Fri Nov 29 08:39:51 2002] [jk_uri_worker_map.c (199)]: Into jk_uri_worker_map_t::uri_worker_map_open [Fri Nov 29 08:39:51 2002] [jk_uri_worker_map.c (217)]: jk_uri_worker_map_t::uri_worker_map_open, rule map size is 7 [Fri Nov 29 08:39:51 2002] [jk_uri_worker_map.c (273)]: Into jk_uri_worker_map_t::uri_worker_map_open, match rule /MyOwnTask_Java/servlet/=ajp13 was added [Fri Nov 29 08:39:51 2002] [jk_uri_worker_map.c (262)]: Into jk_uri_worker_map_t::uri_worker_map_open, suffix rule /MyOwnTask_Java/.jsp=ajp13 was added [Fri Nov 29 08:39:51 2002] [jk_uri_worker_map.c (262)]: Into jk_uri_worker_map_t::uri_worker_map_open, suffix rule /examples/jsp/.jsp=ajp13 was added [Fri Nov 29 08:39:51 2002] [jk_uri_worker_map.c (273)]: Into jk_uri_worker_map_t::uri_worker_map_open, match rule /examples/servlet/=ajp13 was added [Fri Nov 29 08:39:51 2002] [jk_uri_worker_map.c (273)]: Into jk_uri_worker_map_t::uri_worker_map_open, match rule /manager/=ajp13 was added [Fri Nov 29 08:39:51 2002] [jk_uri_worker_map.c (273)]: Into jk_uri_worker_map_t::uri_worker_map_open, match rule /webdav/=ajp13 was added [Fri Nov 29 08:39:51 2002] [jk_uri_worker_map.c (302)]: Into jk_uri_worker_map_t::uri_worker_map_open, there are 6 rules [Fri Nov 29 08:39:51 2002] [jk_uri_worker_map.c (324)]: jk_uri_worker_map_t::uri_worker_map_open, done [Fri Nov 29 08:39:51 2002] [jk_worker.c (82)]: Into wc_open [Fri Nov 29 08:39:51 2002] [jk_worker.c (207)]: Into build_worker_map, creating 2 workers [Fri Nov 29 08:39:51 2002] [jk_worker.c (213)]: build_worker_map, creating worker ajp12 [Fri Nov 29 08:39:51 2002] [jk_worker.c (138)]: Into wc_create_worker [Fri Nov 29 08:39:51 2002] [jk_worker.c (152)]: wc_create_worker, about to create instance ajp12 of ajp12 [Fri Nov 29 08:39:51 2002] [jk_ajp12_worker.c (264)]: Into ajp12_worker_factory [Fri Nov 29 08:39:51 2002] [jk_worker.c (161)]: wc_create_worker, about to validate and init ajp12 [Fri Nov 29 08:39:51 2002] [jk_ajp12_worker.c (182)]: Into jk_worker_t::validate [Fri Nov 29 08:39:51 2002] [jk_ajp12_worker.c (194)]: In jk_worker_t::validate for worker ajp12 contact is localhost:8007 [Fri Nov 29 08:39:51 2002] [jk_worker.c (177)]: wc_create_worker, done [Fri Nov 29 08:39:51 2002] [jk_worker.c (223)]: build_worker_map, removing old ajp12 worker [Fri Nov 29 08:39:51 2002] [jk_worker.c (213)]: build_worker_map, creating worker ajp13 [Fri Nov 29 08:39:51 2002] [jk_worker.c (138)]: Into wc_create_worker [Fri Nov 29 08:39:51 2002] [jk_worker.c (152)]: wc_create_worker, about to create instance ajp13 of ajp13 [Fri Nov 29 08:39:51 2002] [jk_ajp13_worker.c (922)]: Into ajp13_worker_factory [Fri Nov 29 08:39:51 2002] [jk_worker.c (161)]: wc_create_worker, about to validate and init ajp13 [Fri Nov 29 08:39:51 2002] [jk_ajp13_worker.c (443)]: Into jk_worker_t::validate [Fri Nov 29 08:39:51 2002] [jk_ajp13_worker.c (456)]: In jk_worker_t::validate for worker ajp13 contact is localhost:8009 [Fri Nov 29 08:39:51 2002] [jk_ajp13_worker.c (482)]: Into jk_worker_t::init [Fri Nov 29 08:39:51 2002] [jk_worker.c (177)]: wc_create_worker, done [Fri Nov 29 08:39:51 2002] [jk_worker.c (223)]: build_worker_map, removing old ajp13 worker [Fri Nov 29 08:39:51 2002] [jk_worker.c (235)]: build_worker_map, done [Fri Nov 29 08:39:51 2002] [jk_worker.c (102)]: wc_open, done[Fri Nov 29 08:41:44 2002] [jk_isapi_plugin.c (555)]: HttpFilterProc started [Fri Nov 29 08:41:44 2002] [jk_isapi_plugin.c (600)]: In HttpFilterProc Virtual Host redirection of
HttpExtensionProc error, could not get a worker for name ajp12
i followed andrew bruno's instructions (http://www.vacodi.com/howto/tomcat/iisnt/index.html) on how to integrate tomcat 4.0.1 with iis5. i've done that several times before on older systems - so i call myself an 'experienced integrator'. i've encountered all sort of problems and was always able to solve them the one way or the other. this time, however, i don't a clue. i would appreciate very much if you could have look into this issue. in the iis_redirect.log it says: HttpExtensionProc error, could not get a worker for name ajp12 ok, sounds easy. there must be a reference to ajp12 in workers.properties or uriworkermap.properties i thought. i checked those files several times word by word but ajp12 is cleanly commented or never stated. i also checked server.xml and netstat -a for the presence of an ajp13 connector on port 8009 - it's open and running. also, all the rest like ISAPI running, virt dir jakarta, registry entries etc seem to be ok. any clue? thank you so much for your help marcel the properties and the isapi log can be found at www.frightanic.com/tomcat_iis_problem.zip -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
ajp13 problems (IIS and TC 4.0)
Hi all I've successfully set up TC 4.0 to work with IIS 5.0 as an NT service. Most of times all works fine and requests are being transfered to TC via IIS. However, from time to time jsp pages or servlets are not being displayed. My browser gives me a page not found message. If I request the URL a second time the request is successful. My logs tell me that I'm having a problem with socket timeouts. Where are those timeout settings deployed? catalina log === 2001-11-02 13:54:58 Ajp13Processor[8009][4] process: ajp13.receiveNextRequest java.net.SocketTimeoutException: Read timed out at java.net.SocketInputStream.socketRead0(Native Method) at java.net.SocketInputStream.read(Unknown Source) at org.apache.ajp.Ajp13.readN(Ajp13.java:849) at org.apache.ajp.Ajp13.receive(Ajp13.java:889) at org.apache.ajp.Ajp13.receiveNextRequest(Ajp13.java:285) at org.apache.ajp.tomcat4.Ajp13Processor.process(Ajp13Processor.java:339) at org.apache.ajp.tomcat4.Ajp13Processor.run(Ajp13Processor.java:424) at java.lang.Thread.run(Unknown Source) isapi log === [jk_ajp13_worker.c (204)]: connection_tcp_get_message: Error - jk_tcp_socket_recvfull failed [jk_ajp13_worker.c (622)]: Error reading request [jk_isapi_plugin.c (554)]: HttpExtensionProc error, service() failed [jk_ajp13_worker.c (609)]: Error sending request body [jk_isapi_plugin.c (554)]: HttpExtensionProc error, service() failed -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
TC4 classpath when NT_Service
Hi all Which classpath does TC4 use when it's started as the (default) NT Service? The one specified in catalina.bat or the one in the system env? Got a NoClassDef found Exception when asking for a class that is in my system env classpath from a servlet. Marcel
Re: TC4 classpath when NT_Service
Hi all Which classpath does TC4 use when it's started as the (default) NT Service? The one specified in catalina.bat or the one in the system env? Got a NoClassDef found Exception when asking for a class that is in my system env classpath from a servlet. None of them, actually. The classpath used is specified in the Windows registry. HKLM/SYSTEM/CurrentControlSet/Services/Apache Tomcat/Parameters/JVM Option Number 0 Remy that would then be $Catalina_Home/bin/bootstrap.jar??? As classpath?? What about all the other classes required from the JRE?
Re: TC4 classpath when NT_Service
Hi all Which classpath does TC4 use when it's started as the (default) NT Service? The one specified in catalina.bat or the one in the system env? Got a NoClassDef found Exception when asking for a class that is in my system env classpath from a servlet. None of them, actually. The classpath used is specified in the Windows registry. HKLM/SYSTEM/CurrentControlSet/Services/Apache Tomcat/Parameters/JVM Option Number 0 Remy that would then be $Catalina_Home/bin/bootstrap.jar??? As classpath?? What about all the other classes required from the JRE? There are none. The install process copies tools.jar from the JDK, and the other system classes are automatically included. Remy Does this mean that when my app needs extra classes they either have to be in the app directory itself or in the $Catalina_Home/common/classes? Marcel
tomcat ajp13 errors(henri where are you?)
Hi all I've set up Tomcat 4.0 with IIS 5.0 and both servers run perfectly as individuals (examples work). And now... integrating Henri Gomez offers files (http://jakarta.apache.org/~hgomez/ajp13-tc4.0/) and instructions for ajp13 and Tomcat 4.0. So, I followed his instructions and afterwards the tc3.3 - iis howto (http://jakarta.apache.org/tomcat/tomcat-3.3-doc/tomcat-iis-howto.html) . HOWEVER, I must have made a minor but crucial mistake during the setup. All checks (in howto) seem to be fine. iis log: 19:12:24 127.0.0.1 GET /jakarta/isapi_redirect.dll 500 isapi log: [jk_connect.c (143)]: jk_open_socket, connect() failed errno = 61 [jk_ajp13_worker.c (174)]: In jk_endpoint_t::connect_to_tomcat, failed errno = 61 [jk_ajp13_worker.c (587)]: Error connecting to the Tomcat process. [jk_isapi_plugin.c (554)]: HttpExtensionProc error, service() failed in workers.properties: worker.ajp13.port=8009 worker.ajp13.host=localhost worker.ajp13.type=ajp13 in uriworkermap.properties: /servlet/*=ajp13 /examples/*=ajp13 in server.xml: Connector className=org.apache.ajp.tomcat4.Ajp13Connector port=8009 minProcessors=5 maxProcessors=75 acceptCount=10 debug=0 / Any hints greatly appreciated!! Cheers, Marcel
Tomcat-Standalone? what else..
hi all the term Tomcat-Standalone is everywhere. what does standalone in this context mean? tomcat is the one and only webserver (container) on the system (no apache/iis etc present)? what would it be if it is NOT standalone? thanks marcel
Re: AJP 1.3 connector
i used superbot (www.sparkleware.com/superbot) to download everything from a specific url. doing this you can grab everything from http://cvs.apache.org/viewcvs/jakarta-tomcat-connectors/ - Original Message - From: Arnaud Héritier [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, September 26, 2001 12:03 PM Subject: AJP 1.3 connector hi guys !! Wanting to connect Tomcat 4.0 with Apache 1.3.20 on a Win NT, I'm searching for the AJP 1.3 connector. I saw that there's not yet a distrib of it, and that I should download sources from CVS. I've a problem because I'm behins a firewall which doesn't allow me to do it. I didn't find sources of the jakarta-tomcat-connectors module nor in the night builds and nor in the releases. Is there anyone who can send me sources from the module jakarta-tomcat-connectors in order to build it. thanks arno
Re: How to unsubscribe?
http://jakarta.apache.org/site/mail2.html #tomcat/unsubscribe - Original Message - From: Søren Neigaard [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, September 25, 2001 7:50 PM Subject: How to unsubscribe? Could anyone please guide me :)