Well from your comments and for point #1, what's the name & location of the applet? It should be locatable within your mod_jk settings as well.
I recently had some problems with a particular configuration of mod_jk and the following tag worked fine for me (in the workers2.properties file): [uri:$/jsp-examples/*] Worker=ajp13:site:8009 The $ before the root context made the difference... Regards! PS. I've noticed you mention mod_jk2 but then mod_jk 1.2 in your text. Which one is it? If 1.2, have you considered upgrading to mod_jk2? Jos� Ernesto Echeverr�a -----Original Message----- From: Eugene [mailto:[EMAIL PROTECTED] Sent: S�bado, 14 de Agosto de 2004 03:53 p.m. To: Tomcat Users List Subject: Re[2]: [tomcat] Help with mod_jk2 and security on Win 2003 Thank you for reply! Yes its working on 8080, and its working if I am running just Tomcat without Apache, I am deploying it in the "webapp/myapp" folder of TC. I've tryed to run this app on ports from 8009 to 8100 (just for fun:)) - it works fine on any of these ports (actually I dont see any difference). Thanks in advance! > Before going deeply into your config, I'd ask if your app runs well > without the mod_jk2 using the (standard) 8080 port. At least that way > we can figure out if the problem has to do with your tomcat > configuration or with your > mod_jk2 configuration. > > > Jos� Ernesto Echeverr�a > [EMAIL PROTECTED] > Tel. (503)8859011 > > >> -----Original Message----- >> From: Eugene [mailto:[EMAIL PROTECTED] >> Sent: Viernes, 13 de Agosto de 2004 09:47 p.m. >> To: Tomcat Users List >> Subject: [tomcat] Help with mod_jk2 and security on Win 2003 >> >> Hi to all! First of all - thank you for this list! It helps to >> individuals like I am to keep their job:) I am newbie, so maybe my >> questions too silly for you, but anyway I must to ask. >> >> >> I am running Apache 2.0.50+Tomcat 5.0.27-mod_jk 1.2 on Win 2003, JDK >> 1.4.2_05. >> >> 1) I dont have a problems to deploy and run it with mod_jk 1.2, but >> when I am trying to configure mod_jk 2 it fails. >> It returns "java.io.FileNotFoundException" when I am trying to start app. >> my app is in the WEB-INF/classes/MyApp.class (as always:)) >> >> BTW, Tomcat starts and runs perfectly - stderr is clear, I am trying >> to test it with standard jsp-examples - all works, but when I am >> trying to open the same page which works with mod_jk 1.2 with applet >> tag - it returns error with mod_jk 2. The error log of Apache sais >> the same thing - applet not found. What am I doing wrong??? Help me >> please to figure it out. My apps directory located in the same folder >> that jsp-examples folder, in web.xml servlet mapping looks has the >> same locations like for example, plugin servlet from examples: >> <servlet-mapping> >> <servlet-name> >> MyApp >> </servlet-name> >> <url-pattern> >> /MyApp >> </url-pattern> >> </servlet-mapping> >> >> >> 2) The second question is about security - I am running my server >> under the second administrator account with reassigned rights (so its >> not administrator anymore but it has more power then advanced user >> which is not enough for me). So the question is - does anybody can >> give tips/instructions/links to documentaton HowTo exactly I must >> configure my Windows to run with Apache and Tomcat without give to >> user so much power like I have now??? I have experienced attacks on >> my server so I dont have so much money to repair it again. Please >> help me with this if you know how - ASAP. >> >> These are my conofiguration key moments:) I am mounting my app >> directory in httpd.conf (in Virtual Host section) like >> this: >> ==============Start================ >> <Location "/*.jsp"> >> JkUriSet group ajp13:site.com:8009 >> </Location> >> <Location "/*.jspx"> >> JkUriSet group ajp13:site.com:8009 </Location> <Location "/*.do"> >> JkUriSet group ajp13:site.com:8009 </Location> >> ===============End================= >> >> My <Host /> in server.xml mounts apps base like this: >> ==============Start================ >> appBase="C:\apache_home\apache-2\htdocs" >> ===============End================= >> >> my wokers2.properties contains this: >> ==============Start================ >> [uri:/*.jsp] >> group=ajp13:site.com:8009 >> [uri:/*.jspx] >> group=ajp13:site.com:8009 >> [uri:/*.do] >> group=ajp13:site.com:8009 >> [uri:/jsp-examples/*] >> group=ajp13:site.com:8009 >> [uri:/myapp-folder/*] >> group=ajp13:site.com:8009 >> ===============End================= >> >> Thank you very much in advance!!! >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
