WARNING: Error registering contexts
Dear Tomcat, Operating system: SunOS 5.8 JDK: j2sdk1.4.2_01 Tomcat: 5.0.28 Logged in as root, upon startup, I am getting the following exception from my tomcat container: Sep 20, 2005 1:59:17 PM org.apache.coyote.http11.Http11Protocol start INFO: Starting Coyote HTTP/1.1 on http-5028 Sep 20, 2005 1:59:17 PM org.apache.coyote.http11.Http11Protocol start INFO: Starting Coyote HTTP/1.1 on http-8080 Sep 20, 2005 1:59:17 PM org.apache.coyote.tomcat5.MapperListener init WARNING: Error registering contexts java.util.ConcurrentModificationException at java.util.HashMap$HashIterator.nextEntry(HashMap.java:782) at java.util.HashMap$EntryIterator.next(HashMap.java:824) at java.util.HashMap.putAllForCreate(HashMap.java:424) at java.util.HashMap.clone(HashMap.java:656) at mx4j.server.DefaultMBeanRepository.clone(DefaultMBeanRepository.java:56) at mx4j.server.MBeanServerImpl.findMBeansByPattern(MBeanServerImpl.java:160 3) at mx4j.server.MBeanServerImpl.queryObjectNames(MBeanServerImpl.java:1568) at mx4j.server.MBeanServerImpl.queryMBeans(MBeanServerImpl.java:1512) at org.apache.coyote.tomcat5.MapperListener.init(MapperListener.java:115) at org.apache.coyote.tomcat5.CoyoteConnector.start(CoyoteConnector.java:153 7) at org.apache.catalina.core.StandardService.start(StandardService.java:489) at org.apache.catalina.core.StandardServer.start(StandardServer.java:2313) at org.apache.catalina.startup.Catalina.start(Catalina.java:556) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav a:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor Impl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:287) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:425) Sep 20, 2005 1:59:17 PM org.apache.coyote.http11.Http11Protocol start INFO: Starting Coyote HTTP/1.1 on http-80 Sep 20, 2005 1:59:17 PM org.apache.coyote.tomcat5.MapperListener init WARNING: Error registering contexts java.util.ConcurrentModificationException at java.util.HashMap$HashIterator.nextEntry(HashMap.java:782) at java.util.HashMap$EntryIterator.next(HashMap.java:824) at java.util.HashMap.putAllForCreate(HashMap.java:424) at java.util.HashMap.clone(HashMap.java:656) at mx4j.server.DefaultMBeanRepository.clone(DefaultMBeanRepository.java:56) at mx4j.server.MBeanServerImpl.findMBeansByPattern(MBeanServerImpl.java:160 3) at mx4j.server.MBeanServerImpl.queryObjectNames(MBeanServerImpl.java:1568) at mx4j.server.MBeanServerImpl.queryMBeans(MBeanServerImpl.java:1512) at org.apache.coyote.tomcat5.MapperListener.init(MapperListener.java:115) at org.apache.coyote.tomcat5.CoyoteConnector.start(CoyoteConnector.java:153 7) at org.apache.catalina.core.StandardService.start(StandardService.java:489) at org.apache.catalina.core.StandardServer.start(StandardServer.java:2313) at org.apache.catalina.startup.Catalina.start(Catalina.java:556) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav a:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor Impl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:287) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:425) Sep 20, 2005 1:59:17 PM org.apache.jk.common.ChannelSocket init INFO: JK2: ajp13 listening on /0.0.0.0:8009 Sep 20, 2005 1:59:17 PM org.apache.jk.server.JkMain start INFO: Jk running ID=0 time=2/74 config=/opt/gsp/tomcat-5.0.28/conf/jk2.properties Sep 20, 2005 1:59:18 PM org.apache.catalina.startup.Catalina start INFO: Server startup in 376219 ms Please help, Dominic
lost session
Hi I don't know if this list is the right one, but I'd like to find some information about my session problem : I'm using tomcat 5.0.27 on win2000, j2sdk-1.4.2_04 My problem is that I have a jsp including custom tags, everything is fine when the jsp shows in IE6. But when I want to edit this page with MS-Word 2003 using the IE edit button, Word reloads the page, and the custom tags are empty because the session is lost. (in fact it' a new session, and Word loads the jsp twice). Does anybody have a solution to this problem ? Dom
Re: Re[4]: Virtual host and app
Hi in your web app web.xml (see web-app_2_3.dtd) : welcome-file-list welcome-fileyour-servlet-name/welcome-file welcome-fileindex.jsp/welcome-file welcome-fileindex.html/welcome-file /welcome-file-list Dom - Original Message - From: Javier [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Monday, November 03, 2003 7:17 PM Subject: Re[4]: Virtual host and app On 03/11/2003 at 17:56 Dominique Batard wrote: Having deployed your app under webapps (you shouldn't with virtual hosts) , you can also access it within localhost : http://localhost:8080/PruebaJavier/ (this is possible only because you've used the webapps absolute URL in appBase) If you want a pjkt virtual Host and a PruebaJavier Context : Host name=pjkt debug=0 appBase=C:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\PruebaJavier unpackWARs=true autoDeploy=true Context path=/PruebaJavier reloadable=true docBase=. / /Host Ok, thanks...it worked ! The only thing nobody answer is: which is the equivalent setting for Apache DirectoryIndex ? I mean that if the user write in url just http://pjkt:8080 I want to have configured a default servlet to show (as is index.php in my php applications). Thanks in advance jl - 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]
TC 4.1.16 : java.lang.ClassNotFoundException: compressionFilters.CompressionFilter
: attributeReplaced('org.apache.catalina.WELCOME_FILES', '[Ljava.lang.String;@1687e7c') 2002-12-08 12:23:43 SessionListener: contextDestroyed() 2002-12-08 12:23:43 ContextListener: contextDestroyed() Dom -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: TC 4.1.16 : java.lang.ClassNotFoundException: compressionFilters.CompressionFilter
I had installed not from the zip file, but from the tar.gz file ! Dom - Original Message - From: Dom [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, December 08, 2002 12:41 PM Subject: TC 4.1.16 : java.lang.ClassNotFoundException: compressionFilters.CompressionFilter Win2K, j2sdk1.4.1_01, TC 4.1.16 fresh install from zip When I start TC, I get in examples_log : 2002-12-08 12:23:43 WebappLoader[/examples]: Deploying class repositories to work directory D:\jakarta-tomcat-4.1.16-LE-jdk14\work\Standalone\localhost\examples 2002-12-08 12:23:43 WebappLoader[/examples]: Deploy class files /WEB-INF/classes to d:\jakarta-tomcat-4.1.16-LE-jdk14\webapps\examples\WEB-INF\classes 2002-12-08 12:23:43 WebappLoader[/examples]: Reloading checks are enabled for this Context 2002-12-08 12:23:43 ContextConfig[/examples]: Configuration d'un authentificateur (authenticator) pour la méthode FORM 2002-12-08 12:23:43 StandardManager[/examples]: Alimentation de la classe du générateur de nombre aléatoire java.security.SecureRandom 2002-12-08 12:23:43 StandardManager[/examples]: L'alimentation du générateur de nombre aléatoire est terminé 2002-12-08 12:23:43 ContextListener: contextInitialized() 2002-12-08 12:23:43 SessionListener: contextInitialized() 2002-12-08 12:23:43 StandardContext[/examples]: Exception au démarrage du filtre Compression Filter java.lang.ClassNotFoundException: compressionFilters.CompressionFilter at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.jav a:1428) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.jav a:1274) at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilter Config.java:252) at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFil terConfig.java:314) at org.apache.catalina.core.ApplicationFilterConfig.init(ApplicationFilterCon fig.java:120) at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:31 58) at org.apache.catalina.core.StandardContext.start(StandardContext.java:3602) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188) at org.apache.catalina.core.StandardHost.start(StandardHost.java:738) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:347) at org.apache.catalina.core.StandardService.start(StandardService.java:497) at org.apache.catalina.core.StandardServer.start(StandardServer.java:2189) at org.apache.catalina.startup.Catalina.start(Catalina.java:512) at org.apache.catalina.startup.Catalina.execute(Catalina.java:400) at org.apache.catalina.startup.Catalina.process(Catalina.java:180) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39 ) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl .java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203) 2002-12-08 12:23:43 StandardContext[/examples]: Exception au démarrage du filtre Set Character Encoding java.lang.ClassNotFoundException: filters.SetCharacterEncodingFilter at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.jav a:1428) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.jav a:1274) at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilter Config.java:252) at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFil terConfig.java:314) at org.apache.catalina.core.ApplicationFilterConfig.init(ApplicationFilterCon fig.java:120) at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:31 58) at org.apache.catalina.core.StandardContext.start(StandardContext.java:3602) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188) at org.apache.catalina.core.StandardHost.start(StandardHost.java:738) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:347) at org.apache.catalina.core.StandardService.start(StandardService.java:497) at org.apache.catalina.core.StandardServer.start(StandardServer.java:2189) at org.apache.catalina.startup.Catalina.start(Catalina.java:512) at org.apache.catalina.startup.Catalina.execute(Catalina.java:400) at org.apache.catalina.startup.Catalina.process(Catalina.java:180) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39 ) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl .java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203) 2002
building mod_jk2 with TC 4.1.15
I've build mod_jk2 with tomcat 4.1.15 using connectors-4.1.15 and connectors-jk2-2.0.1 Why are mod_jk2.so and jkjni.so sizes more than twice what they where while building them wit tomcat 4.1.12 ? 1.4M and 1.2M instead of 692k and 578k I've got the same trouble with TC 4.1.14 Dom -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org
Re: Compile jk2: make breaks
Hi JP I had the same trouble making mod_jk2 on a Mandrake 7.2 Only solution found : link libapr-0.so to libapr.so in your $APACHE2_HOME/lib for me in /usr/local/apache2/lib ln -s libapr-0.so libapr.so and make again Dom - Original Message - From: john-paul delaney [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, October 15, 2002 11:14 PM Subject: Compile jk2: make breaks Hello List... I'm trying to setup (compile from source) mod_jk2 with apache2 tomcat 4.1.12-LE. Following the instructions on the mod_jk howto on the jakarta website, I've run into a problem. When I run make from the connectors jk/native2 directory, I get the following error: /usr/bin/ld: cannot find -lapr collect2: ld returned 1 exit status make[1]: *** [../../../build/jk2/apache2/jkjni.la] Error 1 make[1]: Leaving directory `/bak/jakarta-tomcat-connectors-4.1.12-src/jk/native2/server/apache2' make: *** [jk2-build] Error 1 What is lapr (something to do with apache portable runtime)? How do I install it? I've searched on the web but found little info, and there doesn't appear to be any docs in the connectors source download. thanks /j-p. JUSTATEST Art Online http://www.justatest.com -- 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: BROKEN: Tomcat 4.1.2 + RedHat 8.0
HI How funny ! I just upgraded from RH7.3 to RH 8 Tomcat 4.1.12, j2sdk1.4.1, Apache 2.0.43 And I see only one thread dedicated to tomcat, using top. But a regular %cpu and %mem, no trouble. Can anyone explain this mistery ? Dom - Original Message - From: Jason McCormick [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Wednesday, October 16, 2002 8:55 PM Subject: Re: BROKEN: Tomcat 4.1.2 + RedHat 8.0 After waiting for awhile (2+ Minutes), Tomcat appears to start but still only appears to be a single thread. Is this normal? On Wednesday 16 October 2002 14:41, Jason McCormick wrote: I running into problems getting Tomcat 4.1.2 started on a clean install of RedHat 8. The initial boot threat starts and appears to deplopy the applications (According to the logs) but it only starts a single thread which runs at 99% CPU. Requests to port 8080 to get the examples context from the HTTP/1.1 server hangs. There are no startup errors with Tomcat (See below). I've tried both JDK 1.4 and JDK 1.4.1 to rule out a JVM problem. Startup Logs: - [root@ash bin]# ./catalina.sh run Using CATALINA_BASE: /opt/tomcat Using CATALINA_HOME: /opt/tomcat Using CATALINA_TMPDIR: /opt/tomcat/temp Using JAVA_HOME: /opt/jdk Oct 16, 2002 2:36:40 PM org.apache.commons.modeler.Registry loadRegistry INFO: Loading registry information Oct 16, 2002 2:36:40 PM org.apache.commons.modeler.Registry getRegistry INFO: Creating new Registry instance Oct 16, 2002 2:36:42 PM org.apache.commons.modeler.Registry getServer INFO: Creating MBeanServer Oct 16, 2002 2:36:45 PM org.apache.coyote.http11.Http11Protocol init INFO: Initializing Coyote HTTP/1.1 on port 8080 Starting service Tomcat-Standalone Apache Tomcat/4.1.12 Oct 16, 2002 2:37:01 PM org.apache.coyote.http11.Http11Protocol start INFO: Starting Coyote HTTP/1.1 on port 8080 Oct 16, 2002 2:37:01 PM org.apache.jk.common.ChannelSocket init INFO: JK2: ajp13 listening on tcp port 8009 Oct 16, 2002 2:37:01 PM org.apache.jk.server.JkMain start INFO: Jk running ID=0 time=3/63 config=/opt/tomcat/conf/jk2.properties - Can anyone help? -- Jason McCormick Network/Systems Administrator Lexi-Comp, Inc. Phone: 330-650-6506 x239 Fax: 330-656-4307 Email: [EMAIL PROTECTED] Public Key: http://bamboo.lexi.com/~jmccormick/public-keys.php -- 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: tomcat 4.1.12 with apache2.0.42 and mod_jk
Hi all I've been able to build mod_jk2 on MDK 7.2 using JK2 2.0.1 (http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk2/release/v2.0 .1) But I still get ... /usr/bin/ld: cannot find -lapr collect2: ld returned 1 exit status make[1]: *** [../../../build/jk2/apache2/jkjni.la] Erreur 1 make[1]: Quitte le répertoire `/usr/local/src/jakarta-tomcat-connectors-jk2-2.0.1-src/jk/native2/server/ap ache2' make: *** [jk2-build] Erreur 1 jkjni.so doesn't exists Does this mean that I won't use sockets ? Dom - Original Message - From: Dom [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Sunday, October 06, 2002 6:47 PM Subject: Re: tomcat 4.1.12 with apache2.0.42 and mod_jk Sorry Linux MDK 7.2 w kernel 2.4.18 automake 1.4-p5 autoconf 2.54 libtool 1.4.2 Doing : ./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-tomcat41=/usr/lo cal/jakarta-tomcat-4.1.12-LE-jdk14 --with-apxs=/usr/local/apache/bin/apxs I get : ... checking for ranlib... ranlib checking for BSD-compatible nm... /usr/bin/nm -B checking whether ln -s works... yes ltconfig: you must specify a host type if you use `--no-verify' Try `ltconfig --help' for more information. configure: error: libtool configure failed I had replaced the stock MDK autoconf and libtool, cause while making mod_jk2 : ... /usr/bin/ld: cannot find -lapr collect2: ld returned 1 exit status make[1]: *** [../../../build/jk2/apache2/jkjni.la] Erreur 1 But now it's worse, I'm lost Dom - Original Message - From: Turner, John [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Thursday, October 03, 2002 7:43 PM Subject: RE: tomcat 4.1.12 with apache2.0.42 and mod_jk Someone might have a slight chance of answering your question if you were to be so gracious as to post the error messages that you get when trying the build. John -Original Message- From: Dom [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 03, 2002 1:36 PM To: Tomcat Users List Subject: Re: tomcat 4.1.12 with apache2.0.42 and mod_jk Hi I've been able to build Apache2.0.40 and mod_jk2 together, but not Apache2.0.42 and mod_jk2 on a MDK 7.2 system with TC 4.1.12. I've got no problem on a RH 7.3. Why ? - Original Message - From: Henri Gomez [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, October 03, 2002 3:03 PM Subject: Re: tomcat 4.1.12 with apache2.0.42 and mod_jk Hum, Having a Redhat box and not using rpm is strange, btw if you have build an Apache 2.0.42 on your system, you should be able to build mod_jk 1.2.0 : http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk/ release/v1.2.0 /doc/jk/aphowto.html -- 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]
Re: tomcat 4.1.12 with apache2.0.42 and mod_jk
Sorry Linux MDK 7.2 w kernel 2.4.18 automake 1.4-p5 autoconf 2.54 libtool 1.4.2 Doing : ./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-tomcat41=/usr/lo cal/jakarta-tomcat-4.1.12-LE-jdk14 --with-apxs=/usr/local/apache/bin/apxs I get : ... checking for ranlib... ranlib checking for BSD-compatible nm... /usr/bin/nm -B checking whether ln -s works... yes ltconfig: you must specify a host type if you use `--no-verify' Try `ltconfig --help' for more information. configure: error: libtool configure failed I had replaced the stock MDK autoconf and libtool, cause while making mod_jk2 : ... /usr/bin/ld: cannot find -lapr collect2: ld returned 1 exit status make[1]: *** [../../../build/jk2/apache2/jkjni.la] Erreur 1 But now it's worse, I'm lost Dom - Original Message - From: Turner, John [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Thursday, October 03, 2002 7:43 PM Subject: RE: tomcat 4.1.12 with apache2.0.42 and mod_jk Someone might have a slight chance of answering your question if you were to be so gracious as to post the error messages that you get when trying the build. John -Original Message- From: Dom [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 03, 2002 1:36 PM To: Tomcat Users List Subject: Re: tomcat 4.1.12 with apache2.0.42 and mod_jk Hi I've been able to build Apache2.0.40 and mod_jk2 together, but not Apache2.0.42 and mod_jk2 on a MDK 7.2 system with TC 4.1.12. I've got no problem on a RH 7.3. Why ? - Original Message - From: Henri Gomez [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, October 03, 2002 3:03 PM Subject: Re: tomcat 4.1.12 with apache2.0.42 and mod_jk Hum, Having a Redhat box and not using rpm is strange, btw if you have build an Apache 2.0.42 on your system, you should be able to build mod_jk 1.2.0 : http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk/ release/v1.2.0 /doc/jk/aphowto.html -- 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]
Re: tomcat 4.1.12 with apache2.0.42 and mod_jk
Hi I've been able to build Apache2.0.40 and mod_jk2 together, but not Apache2.0.42 and mod_jk2 on a MDK 7.2 system with TC 4.1.12. I've got no problem on a RH 7.3. Why ? - Original Message - From: Henri Gomez [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, October 03, 2002 3:03 PM Subject: Re: tomcat 4.1.12 with apache2.0.42 and mod_jk Hum, Having a Redhat box and not using rpm is strange, btw if you have build an Apache 2.0.42 on your system, you should be able to build mod_jk 1.2.0 : http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk/release/v1.2.0 /doc/jk/aphowto.html -- 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]
problem making mod_jk2 with Apache 2.0.42
Hi I can't compile mod_jk2 on MDK 7.2 from jakarta-tomcat-connectors-4.1.12-src with Apache 2.0.42. I had successfully build it with 2.0.39 and 2.0.40 The error is : /usr/bin/ld: cannot find -lapr collect2: ld returned 1 exit status make[1]: *** [../../../build/jk2/apache2/jkjni.la] Erreur 1 In fact, in build/jk2/apache2, mod_jk2.so exists, but not jkjni.so What can I do ? Dom -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: mod_jk2, virtual hosts, JkUriSet
Hi I don't specify it anywhere, neither with 2.0.40 nor 1.3.26 ! I suppose mod_jk2 looks for a conf/workers2.properties, then after having read it, if it finds a : [config:] file=anotherplace/myworkers.properties in it, loads this last one as the real properties file Could someone confirm or not ??? Dom - Original Message - From: Eugene Gluzberg [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Monday, September 23, 2002 6:11 PM Subject: Re: mod_jk2, virtual hosts, JkUriSet How do I specify the location of workers2.properties for apache 1.3? Dom wrote: You're right, it was a typo error as I had changed the real virtual hosts name ! Dom - Original Message - From: Mladen Turk [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Cc: Dom [EMAIL PROTECTED]; Dmitry Letin [EMAIL PROTECTED] Sent: Sunday, September 22, 2002 12:05 PM Subject: RE: mod_jk2, virtual hosts, JkUriSet Could you guys thest against the current CVS. -Original Message- From: Dom [mailto:[EMAIL PROTECTED]] [uri:/host1.net/*.jsp] info=host1.net default context. group=lb debug=0 [uri:/host2.net/*.jsp] info=host2.net default context. group=lb debug=0 This is wrong!!! All the host definition _must_ not start with the forward slash. So... HOSTNAME/URI (this is how we figure out what is the host and what is the uri). Correct one would be: [uri:host1.net] info=host1.net hostname definition. [uri:host2.net] info=host2.net hostname definition. #Now you can make all the mappings [uri:host1.net/*.jsp] info=host1.net extension mapping. [uri:host2.net/*.jsp] info=host2.net extension mapping. MT. -- 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: mod_jk2, virtual hosts, JkUriSet
You're right, it was a typo error as I had changed the real virtual hosts name ! Dom - Original Message - From: Mladen Turk [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Cc: Dom [EMAIL PROTECTED]; Dmitry Letin [EMAIL PROTECTED] Sent: Sunday, September 22, 2002 12:05 PM Subject: RE: mod_jk2, virtual hosts, JkUriSet Could you guys thest against the current CVS. -Original Message- From: Dom [mailto:[EMAIL PROTECTED]] [uri:/host1.net/*.jsp] info=host1.net default context. group=lb debug=0 [uri:/host2.net/*.jsp] info=host2.net default context. group=lb debug=0 This is wrong!!! All the host definition _must_ not start with the forward slash. So... HOSTNAME/URI (this is how we figure out what is the host and what is the uri). Correct one would be: [uri:host1.net] info=host1.net hostname definition. [uri:host2.net] info=host2.net hostname definition. #Now you can make all the mappings [uri:host1.net/*.jsp] info=host1.net extension mapping. [uri:host2.net/*.jsp] info=host2.net extension mapping. MT. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: mod_jk2, virtual hosts, JkUriSet
Hi jk2 freaks I've applied Dmitry patch on jakarta-tomcat-connectors-4.1.11-src, and now virtual hosts are working without using JkUriSet. (JkUriSet was not avalaible with Apache 1.3) I now can use Apache 2.0.40 or Apache 1.3.26 + TOMCAT 4.1.11 and virtual hosts using only workers2.properties and jk2.properties. Next step, using unix sockets Dom - Original Message - From: Dmitry Letin [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Saturday, September 21, 2002 3:43 AM Subject: Re: mod_jk2, virtual hosts, JkUriSet I finally found the bug (or whatever it is) that caused problems: in source file jk/native2/server/apache2/mod_jk2.c in line 680 (I have revision 1.49) that reads: uriEnv = workerEnv-uriMap-mapUri(env, workerEnv-uriMap,NULL,r-uri); NULL should be replaced to r-server-server_hostname (without the quotes of course) This NULL - was the reason for invalid handling of virtual hosts. I have not tested this a lot yet, but virtual hosts are dispached properly now :-) :-) This fix is for apache2 only. I actually typed manually the stuff above - could not do copy/paste - hope I made no typos Recompile mod_jk2.so after this change - and all works Dmitry Hello all, I'm having the same problem, and I've been banging my head against it on and off for about a week with no more success than anyone else... Essentially, we're all trying to map the root of different virtual hosts to a different context within tomcat, right? I started looking elsewhere and found that Resin's apache module utilizes the ServerName directive within a VirtualHost block to select different web apps... If it's a make-or-break deal, you might want to look there. Another workaround possibility that I'm toying with now is to use mod_rewrite within apache to redirect *.jsp requests from http://www.vhost1.com to http://www.vhost1.com/vh1/ and map the /vh1/*.jsp uri to the proper context. It just seems virtual host support via mod_jk2 is not possible without duct tape and bubble gum, which is a shame because the unix socket feature is fantastic... Ah, for the good old days of JServ/JSSI... - Original Message - From: Dmitry Letin [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Thursday, September 19, 2002 6:46 PM Subject: RE: mod_jk2, virtual hosts, JkUriSet Hi Robert, In my config files I of course use real domains. I did try to use only workers2.properties files for configuration. It seems that virtual host part is ignored, so that these are the same when jk2 selects worker: # The virtual host part seems to be ignored anyway # [uri:www.vhost1.com:80/*.jsp] - not working as well [uri:www.vhost1.com/*.jsp] worker=ajp13:localhost:8009 # The virtual host part seems to be ignored anyway # [uri:www.vhost2.com:80/*.jsp] - not working as well [uri:www.vhost2.com/*.jsp] worker=ajp13:localhost:8013 My problem comes from the fact that the virtual host part in uri seems to be ignored when jk2 selects a worker, and only url path is cheched by jk2 code. Because that part is the same it is dispached to the same tomcat instance. I do have proper entries in my /etc/hosts file (I'm on Linux) and I did try this as well [uri:142.54.3.10:80] alias=www.vhost1.com:80 It did not help. I promise to write a how-to on this if I manage to solve this problem :-) But I have doubts I can solve it :-( Dmitry -Original Message- From: Robert L Sowders [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 19, 2002 6:32 PM To: Tomcat Users List Subject: Re: mod_jk2, virtual hosts, JkUriSet Forgot to mention, Here's a snip from the default workers2.properties file from the src [uri:127.0.0.1:8003] info=Example virtual host. Make sure myVirtualHost is in /etc/hosts to test it alias=myVirtualHost:8003 On a windows machine the hosts file is in c:\WinNT\system32\drivers\etc You'll also have to define the connector in the server.xml file. Robert L Sowders [EMAIL PROTECTED] 09/19/2002 02:48 PM Please respond to Tomcat Users List To: Tomcat Users List [EMAIL PROTECTED] cc: Subject:Re: mod_jk2, virtual hosts, JkUriSet H, looks like you got some funny domains for those VirtualHosts as well as some nonstandard JkUriSet statements. You probably have a problem with one or both. Others have been successful. http://www.mail-archive.com/tomcat-user@jakarta.apache.org/msg66171.html Make your virtual hosts as fully qualified domains and make your JkUriSet commands like the example. Leave the port selection up to the workers2.properties file. Regardless of how you do it, after you are successful a nice step by step How To would be appreciated by all. rls Dmitry Letin [EMAIL PROTECTED] 09/19/2002 01:24 PM Please respond to Tomcat Users List
Re: mod_jk2, virtual hosts, JkUriSet
Hi Dave RH 7.3, Apache 2.0.40, TC 4.1.11, j2sdk1.4.1 fcs - httpd.conf ( I use a vhosts.conf) : Nothing special, the regular : NameVirtualHost 10.0.0.11:80 VirtualHost 10.0.0.11:80 ServerName host1.net ... VirtualHost 10.0.0.11:80 ServerName host2.net ... - workers2.properties (complete for 2 v.hosts, only managing jsp's using lb load balancer) [shm] file=${serverRoot}/logs/shm.file size=1048576 [lb:lb] info=Default load balancer. debug=0 # Example socket channel, override port and host. [channel.socket:localhost:8009] port=8009 lb_factor=1 group=lb host=10.0.0.11 disabled=0 # define the worker [ajp13:localhost:8009] channel=channel.socket:localhost:8009 [uri:/host1.net/*.jsp] info=host1.net default context. group=lb debug=0 [uri:/host2.net/*.jsp] info=host2.net default context. group=lb debug=0 # Map /jkstatus to the status worker. # define the worker [status:status] # Uri mapping [uri:/jkstatus/*] worker=status:status - jk2.properties Stock : all lines commented - server.xml Stock, only added v. hosts Host name=host1.net ... Host name=host2.net ... And, of course, the patch from Dmitry, or the http://www.mail-archive.com/tomcat-dev%40jakarta.apache.org/msg33556.html one before compiling the connectors, both are working fine. My configure : ./configure --with-apxs=/usr/local/apache/bin/apxs --with-apxs2=/usr/local/a pache2/bin/apxs --with-tomcat41=/usr/local/jakarta-tomcat-4.1.11-LE-jdk14 Hope it will help you Dom - Original Message - From: Short, Dave [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Saturday, September 21, 2002 10:30 PM Subject: RE: mod_jk2, virtual hosts, JkUriSet Would you mind posting your Apache 2.0.40 httpd.conf and workers.properties files, Tomcat 4.1.11 server.xml and jk2.properties files? I'm still not able get this thing working. All I want to do is have two Apache virtual hosts pointing to one Tomcat 4.1.10 instance. This is driving me crazy... -Original Message- From: Dom [mailto:[EMAIL PROTECTED]] Sent: September 21, 2002 2:02 AM To: Tomcat Users List Subject: Re: mod_jk2, virtual hosts, JkUriSet Hi jk2 freaks I've applied Dmitry patch on jakarta-tomcat-connectors-4.1.11-src, and now virtual hosts are working without using JkUriSet. (JkUriSet was not avalaible with Apache 1.3) I now can use Apache 2.0.40 or Apache 1.3.26 + TOMCAT 4.1.11 and virtual hosts using only workers2.properties and jk2.properties. Next step, using unix sockets Dom - Original Message - From: Dmitry Letin [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Saturday, September 21, 2002 3:43 AM Subject: Re: mod_jk2, virtual hosts, JkUriSet I finally found the bug (or whatever it is) that caused problems: in source file jk/native2/server/apache2/mod_jk2.c in line 680 (I have revision 1.49) that reads: uriEnv = workerEnv-uriMap-mapUri(env, workerEnv-uriMap,NULL,r-uri); NULL should be replaced to r-server-server_hostname (without the quotes of course) This NULL - was the reason for invalid handling of virtual hosts. I have not tested this a lot yet, but virtual hosts are dispached properly now :-) :-) This fix is for apache2 only. I actually typed manually the stuff above - could not do copy/paste - hope I made no typos Recompile mod_jk2.so after this change - and all works Dmitry Hello all, I'm having the same problem, and I've been banging my head against it on and off for about a week with no more success than anyone else... Essentially, we're all trying to map the root of different virtual hosts to a different context within tomcat, right? I started looking elsewhere and found that Resin's apache module utilizes the ServerName directive within a VirtualHost block to select different web apps... If it's a make-or-break deal, you might want to look there. Another workaround possibility that I'm toying with now is to use mod_rewrite within apache to redirect *.jsp requests from http://www.vhost1.com to http://www.vhost1.com/vh1/ and map the /vh1/*.jsp uri to the proper context. It just seems virtual host support via mod_jk2 is not possible without duct tape and bubble gum, which is a shame because the unix socket feature is fantastic... Ah, for the good old days of JServ/JSSI... - Original Message - From: Dmitry Letin [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Thursday, September 19, 2002 6:46 PM Subject: RE: mod_jk2, virtual hosts, JkUriSet Hi Robert, In my config files I of course use real domains. I did try to use only workers2.properties files for configuration. It seems that virtual host part is ignored, so that these are the same when jk2 selects worker: # The virtual host part seems to be ignored anyway # [uri:www.vhost1.com:80/*.jsp] - not working as well [uri:www.vhost1.com/*.jsp] worker=ajp13:localhost
Re: mod_jk2, virtual hosts, JkUriSet
Hi I'm using JkUriSet statements as in http://www.mail-archive.com/tomcat-user@jakarta.apache.org/msg66171.html with my RH7.3, j2sdk1.4.1 fcs, Apache 2.0.40 and TC 4.1.10 with virtual hosts and they works fine. By the way, is there a way to compile mod_jk2 for Apache 1.3.26 ? The make builds the build/jk2/apache13 but not mod_jk2.so : looking for APR libs. Dom - Original Message - From: Robert L Sowders [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Thursday, September 19, 2002 11:48 PM Subject: Re: mod_jk2, virtual hosts, JkUriSet H, looks like you got some funny domains for those VirtualHosts as well as some nonstandard JkUriSet statements. You probably have a problem with one or both. Others have been successful. http://www.mail-archive.com/tomcat-user@jakarta.apache.org/msg66171.html Make your virtual hosts as fully qualified domains and make your JkUriSet commands like the example. Leave the port selection up to the workers2.properties file. Regardless of how you do it, after you are successful a nice step by step How To would be appreciated by all. rls Dmitry Letin [EMAIL PROTECTED] 09/19/2002 01:24 PM Please respond to Tomcat Users List To: [EMAIL PROTECTED] cc: Subject:mod_jk2, virtual hosts, JkUriSet Hi, Has anybody managed to successfully connect apache virtual hosts to different instances of tomcat using mod_jk2? I spent several days looking at all available documentation, mail archives and a bit of source code but could not make a working solution. I have no problem connecting to a single TomcatInstance. Problems start when I need to connect to two separate instances. I did check docs in http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/index.html and found them not helpful. For simplicity: I need to connect /*.jsp from apache VirtualHost1 to TomcatInstance1 and /*.jsp from apache VirtualHost2 to TomcatInstance2 I would greatly appreciate if somebody could send required fragments from a WORKING config files: httpd.conf, workers2.conf and jk2.properties. From jakarta-tomcat-connectors/jk/native2/server/apache2/mod_jk2.c I found: * Example: * VirtualHost foo.com * Location /examples * JkUriSet worker ajp13 * /Location * /VirtualHost * * This is the best way to define a webapplication in apache. It is * scalable ( using apache native optimizations, you can have hundreds * of hosts and thousands of webapplications ), 'natural' to any * apache user. Does it work properly at all? In my case I have: VirtualHost vh1 Location /*.jsp JkUriSet worker ajp13:localhost:8009 /Location /VirtualHost VirtualHost vh2 Location /*.jsp JkUriSet worker ajp13:localhost:8013 /Location /VirtualHost But in the end all requests (even from vh1) are routed to worker ajp13:localhost:8013 But I expected them to be routed to ajp13:localhost:8009 Looks like a bug to me. Thanks, Dmitry Letin -- 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: mod_jk2, virtual hosts, JkUriSet
Hi John Your website shows mod_jk2.so for Apache 1.3.26, TC 4.1.10 and RH 7.2, but not RH 7.3 ! Dom - Original Message - From: Turner, John [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Friday, September 20, 2002 7:37 PM Subject: RE: mod_jk2, virtual hosts, JkUriSet There's a mod_jk2.so on my website for Apache 1.3.26: http://www.johnturner.com/howto I haven't had a chance to test it, so caveat emptor. John -Original Message- From: Dom [mailto:[EMAIL PROTECTED]] Sent: Friday, September 20, 2002 1:35 PM To: Tomcat Users List Subject: Re: mod_jk2, virtual hosts, JkUriSet Hi I'm using JkUriSet statements as in http://www.mail-archive.com/tomcat-user@jakarta.apache.org/msg 66171.html with my RH7.3, j2sdk1.4.1 fcs, Apache 2.0.40 and TC 4.1.10 with virtual hosts and they works fine. By the way, is there a way to compile mod_jk2 for Apache 1.3.26 ? The make builds the build/jk2/apache13 but not mod_jk2.so : looking for APR libs. Dom - Original Message - From: Robert L Sowders [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Thursday, September 19, 2002 11:48 PM Subject: Re: mod_jk2, virtual hosts, JkUriSet H, looks like you got some funny domains for those VirtualHosts as well as some nonstandard JkUriSet statements. You probably have a problem with one or both. Others have been successful. http://www.mail-archive.com/tomcat-user@jakarta.apache.org/msg 66171.html Make your virtual hosts as fully qualified domains and make your JkUriSet commands like the example. Leave the port selection up to the workers2.properties file. Regardless of how you do it, after you are successful a nice step by step How To would be appreciated by all. rls Dmitry Letin [EMAIL PROTECTED] 09/19/2002 01:24 PM Please respond to Tomcat Users List To: [EMAIL PROTECTED] cc: Subject:mod_jk2, virtual hosts, JkUriSet Hi, Has anybody managed to successfully connect apache virtual hosts to different instances of tomcat using mod_jk2? I spent several days looking at all available documentation, mail archives and a bit of source code but could not make a working solution. I have no problem connecting to a single TomcatInstance. Problems start when I need to connect to two separate instances. I did check docs in http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/index.html and found them not helpful. For simplicity: I need to connect /*.jsp from apache VirtualHost1 to TomcatInstance1 and /*.jsp from apache VirtualHost2 to TomcatInstance2 I would greatly appreciate if somebody could send required fragments from a WORKING config files: httpd.conf, workers2.conf and jk2.properties. From jakarta-tomcat-connectors/jk/native2/server/apache2/mod_jk2.c I found: * Example: * VirtualHost foo.com * Location /examples * JkUriSet worker ajp13 * /Location * /VirtualHost * * This is the best way to define a webapplication in apache. It is * scalable ( using apache native optimizations, you can have hundreds * of hosts and thousands of webapplications ), 'natural' to any * apache user. Does it work properly at all? In my case I have: VirtualHost vh1 Location /*.jsp JkUriSet worker ajp13:localhost:8009 /Location /VirtualHost VirtualHost vh2 Location /*.jsp JkUriSet worker ajp13:localhost:8013 /Location /VirtualHost But in the end all requests (even from vh1) are routed to worker ajp13:localhost:8013 But I expected them to be routed to ajp13:localhost:8009 Looks like a bug to me. Thanks, Dmitry Letin -- 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]
Re: mod_jk2, virtual hosts, JkUriSet
I've downloaded and tried it using SuperSnoop.jsp in one of my virtual host Funny result : see the attached html doc With Apache 2.0.40 my compiled mod_jk2.so, the result was ok Dom - Original Message - From: Turner, John [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Friday, September 20, 2002 8:13 PM Subject: RE: mod_jk2, virtual hosts, JkUriSet I highly doubt it makes any difference. Isn't it worth downloading and trying it? If it works, let me (us) know. John -Original Message- From: Dom [mailto:[EMAIL PROTECTED]] Sent: Friday, September 20, 2002 2:08 PM To: Tomcat Users List Subject: Re: mod_jk2, virtual hosts, JkUriSet Hi John Your website shows mod_jk2.so for Apache 1.3.26, TC 4.1.10 and RH 7.2, but not RH 7.3 ! Dom - Original Message - From: Turner, John [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Friday, September 20, 2002 7:37 PM Subject: RE: mod_jk2, virtual hosts, JkUriSet There's a mod_jk2.so on my website for Apache 1.3.26: http://www.johnturner.com/howto I haven't had a chance to test it, so caveat emptor. John -- 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: mod_jk2, virtual hosts, JkUriSet
Same tomcat from different virtual hosts in same Apache httpd.conf : VirtualHost ixemel.net ... Location /examples JkUriSet worker ajp13 /Location /VirtualHost I also tried : workers2.properties : [lb:lb] info=Default load balancer. debug=0 # Example socket channel, override port and host. [channel.socket:localhost:8009] port=8009 lb_factor=1 group=lb host=10.0.0.11 disabled=0 # define the worker [ajp13:localhost:8009] channel=channel.socket:localhost:8009 [uri:/ixemel.net] info=ixemel.net default context. group=lb debug=0 httpd.conf : JkUriSet worker lb Works fine too Dom - Original Message - From: Dmitry Letin [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: Dom [EMAIL PROTECTED] Sent: Friday, September 20, 2002 8:51 PM Subject: RE: mod_jk2, virtual hosts, JkUriSet Hi Dom, did you actually put this verbatim into httpd.conf: JkUriSet worker ajp13? Do you try to connect to the same tomcat from different virtual hosts or each virtual host connects to a separate tomcat instance? Dmitry -Original Message- From: Dom [mailto:[EMAIL PROTECTED]] Sent: Friday, September 20, 2002 1:35 PM To: Tomcat Users List Subject: Re: mod_jk2, virtual hosts, JkUriSet Hi I'm using JkUriSet statements as in http://www.mail-archive.com/tomcat-user@jakarta.apache.org/msg66171.html with my RH7.3, j2sdk1.4.1 fcs, Apache 2.0.40 and TC 4.1.10 with virtual hosts and they works fine. By the way, is there a way to compile mod_jk2 for Apache 1.3.26 ? The make builds the build/jk2/apache13 but not mod_jk2.so : looking for APR libs. Dom - Original Message - From: Robert L Sowders [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Thursday, September 19, 2002 11:48 PM Subject: Re: mod_jk2, virtual hosts, JkUriSet H, looks like you got some funny domains for those VirtualHosts as well as some nonstandard JkUriSet statements. You probably have a problem with one or both. Others have been successful. http://www.mail-archive.com/tomcat-user@jakarta.apache.org/msg66171.html Make your virtual hosts as fully qualified domains and make your JkUriSet commands like the example. Leave the port selection up to the workers2.properties file. Regardless of how you do it, after you are successful a nice step by step How To would be appreciated by all. rls Dmitry Letin [EMAIL PROTECTED] 09/19/2002 01:24 PM Please respond to Tomcat Users List To: [EMAIL PROTECTED] cc: Subject:mod_jk2, virtual hosts, JkUriSet Hi, Has anybody managed to successfully connect apache virtual hosts to different instances of tomcat using mod_jk2? I spent several days looking at all available documentation, mail archives and a bit of source code but could not make a working solution. I have no problem connecting to a single TomcatInstance. Problems start when I need to connect to two separate instances. I did check docs in http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/index.html and found them not helpful. For simplicity: I need to connect /*.jsp from apache VirtualHost1 to TomcatInstance1 and /*.jsp from apache VirtualHost2 to TomcatInstance2 I would greatly appreciate if somebody could send required fragments from a WORKING config files: httpd.conf, workers2.conf and jk2.properties. From jakarta-tomcat-connectors/jk/native2/server/apache2/mod_jk2.c I found: * Example: * VirtualHost foo.com * Location /examples * JkUriSet worker ajp13 * /Location * /VirtualHost * * This is the best way to define a webapplication in apache. It is * scalable ( using apache native optimizations, you can have hundreds * of hosts and thousands of webapplications ), 'natural' to any * apache user. Does it work properly at all? In my case I have: VirtualHost vh1 Location /*.jsp JkUriSet worker ajp13:localhost:8009 /Location /VirtualHost VirtualHost vh2 Location /*.jsp JkUriSet worker ajp13:localhost:8013 /Location /VirtualHost But in the end all requests (even from vh1) are routed to worker ajp13:localhost:8013 But I expected them to be routed to ajp13:localhost:8009 Looks like a bug to me. Thanks, Dmitry Letin -- 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]
Re: mod_jk2, virtual hosts, JkUriSet
Sorry I had forgoten LoadModule jk2_module ... But once corrected, I've got [warn] Loaded DSO libexec/mod_jk2.so uses plain Apache 1.3 API, this module might crash under EAPI! (please recompile it with -DEAPI) Create config for main host Syntax error on line 139 of /usr/local/apache/conf/vhosts.conf: Invalid command 'JkUriSet', perhaps mis-spelled or defined by a module not included in the server configuration /etc/init.d/httpd start: httpd ssl could not be started Dom - Original Message - From: Turner, John [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Friday, September 20, 2002 8:13 PM Subject: RE: mod_jk2, virtual hosts, JkUriSet I highly doubt it makes any difference. Isn't it worth downloading and trying it? If it works, let me (us) know. John -Original Message- From: Dom [mailto:[EMAIL PROTECTED]] Sent: Friday, September 20, 2002 2:08 PM To: Tomcat Users List Subject: Re: mod_jk2, virtual hosts, JkUriSet Hi John Your website shows mod_jk2.so for Apache 1.3.26, TC 4.1.10 and RH 7.2, but not RH 7.3 ! Dom - Original Message - From: Turner, John [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Friday, September 20, 2002 7:37 PM Subject: RE: mod_jk2, virtual hosts, JkUriSet There's a mod_jk2.so on my website for Apache 1.3.26: http://www.johnturner.com/howto I haven't had a chance to test it, so caveat emptor. John -- 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: mod_jk2, virtual hosts, JkUriSet
about httpd.conf : VirtualHost ixemel.net ... Location /examples JkUriSet worker ajp13 /Location /VirtualHost In my case, it is VirtualHost ixemel.net ... Location /examples JkUriSet worker ajp13:localhost:8009 /Location /VirtualHost - Original Message - From: Dom [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Friday, September 20, 2002 11:29 PM Subject: Re: mod_jk2, virtual hosts, JkUriSet Same tomcat from different virtual hosts in same Apache httpd.conf : VirtualHost ixemel.net ... Location /examples JkUriSet worker ajp13 /Location /VirtualHost I also tried : workers2.properties : [lb:lb] info=Default load balancer. debug=0 # Example socket channel, override port and host. [channel.socket:localhost:8009] port=8009 lb_factor=1 group=lb host=10.0.0.11 disabled=0 # define the worker [ajp13:localhost:8009] channel=channel.socket:localhost:8009 [uri:/ixemel.net] info=ixemel.net default context. group=lb debug=0 httpd.conf : JkUriSet worker lb Works fine too Dom - Original Message - From: Dmitry Letin [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: Dom [EMAIL PROTECTED] Sent: Friday, September 20, 2002 8:51 PM Subject: RE: mod_jk2, virtual hosts, JkUriSet Hi Dom, did you actually put this verbatim into httpd.conf: JkUriSet worker ajp13? Do you try to connect to the same tomcat from different virtual hosts or each virtual host connects to a separate tomcat instance? Dmitry -Original Message- From: Dom [mailto:[EMAIL PROTECTED]] Sent: Friday, September 20, 2002 1:35 PM To: Tomcat Users List Subject: Re: mod_jk2, virtual hosts, JkUriSet Hi I'm using JkUriSet statements as in http://www.mail-archive.com/tomcat-user@jakarta.apache.org/msg66171.html with my RH7.3, j2sdk1.4.1 fcs, Apache 2.0.40 and TC 4.1.10 with virtual hosts and they works fine. By the way, is there a way to compile mod_jk2 for Apache 1.3.26 ? The make builds the build/jk2/apache13 but not mod_jk2.so : looking for APR libs. Dom - Original Message - From: Robert L Sowders [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Thursday, September 19, 2002 11:48 PM Subject: Re: mod_jk2, virtual hosts, JkUriSet H, looks like you got some funny domains for those VirtualHosts as well as some nonstandard JkUriSet statements. You probably have a problem with one or both. Others have been successful. http://www.mail-archive.com/tomcat-user@jakarta.apache.org/msg66171.html Make your virtual hosts as fully qualified domains and make your JkUriSet commands like the example. Leave the port selection up to the workers2.properties file. Regardless of how you do it, after you are successful a nice step by step How To would be appreciated by all. rls Dmitry Letin [EMAIL PROTECTED] 09/19/2002 01:24 PM Please respond to Tomcat Users List To: [EMAIL PROTECTED] cc: Subject:mod_jk2, virtual hosts, JkUriSet Hi, Has anybody managed to successfully connect apache virtual hosts to different instances of tomcat using mod_jk2? I spent several days looking at all available documentation, mail archives and a bit of source code but could not make a working solution. I have no problem connecting to a single TomcatInstance. Problems start when I need to connect to two separate instances. I did check docs in http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/index.html and found them not helpful. For simplicity: I need to connect /*.jsp from apache VirtualHost1 to TomcatInstance1 and /*.jsp from apache VirtualHost2 to TomcatInstance2 I would greatly appreciate if somebody could send required fragments from a WORKING config files: httpd.conf, workers2.conf and jk2.properties. From jakarta-tomcat-connectors/jk/native2/server/apache2/mod_jk2.c I found: * Example: * VirtualHost foo.com * Location /examples * JkUriSet worker ajp13 * /Location * /VirtualHost * * This is the best way to define a webapplication in apache. It is * scalable ( using apache native optimizations, you can have hundreds * of hosts and thousands of webapplications ), 'natural' to any * apache user. Does it work properly at all? In my case I have: VirtualHost vh1 Location /*.jsp JkUriSet worker ajp13:localhost:8009 /Location /VirtualHost VirtualHost vh2 Location /*.jsp JkUriSet worker ajp13:localhost:8013 /Location /VirtualHost But in the end all requests (even from vh1) are routed to worker ajp13:localhost:8013 But I expected them to be routed to ajp13:localhost:8009 Looks like a bug to me. Thanks, Dmitry Letin -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto
Re: Virtual hosts using Apache 2.0.40, Tomcat 4.1.10 and mod_jk2
Hi I'm having the same trouble using Apache 2.0.40, Tomcat 4.1.10 and mod_jk2 with virtual hosts It works without problem without v.h., but the only doc I've found about mod_jk2 doesn't talk about v.h.( http://www.apache.org/~jfclere/jk2_docs/configweb.html) Maybe mod_jk2 isn't ready for v.h ? (I don't have any trouble with the same configuration but mod_jk instead of mod_jk2) Dom - Original Message - From: Short, Dave [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Tuesday, September 17, 2002 7:30 PM Subject: Virtual hosts using Apache 2.0.40, Tomcat 4.1.10 and mod_jk2 Can anyone please provide a working configuration for Apache 2.0.40 virtual hosts with Tomcat 4.1.10 (running in-process) and mod_jk2? Defining a virtual host in Apache, redirecting to Tomcat (via workers.properties), defining a virtual host and context in the server.xml file isn't working somehow. The examples example works just fine when defined without a virtual host in Apache. When defined as a virtual host, Tomcat seems unable to find Java classes and import files. No errors are written anywhere (that I can find) and the jsp executes ok, but any Java classes are not called. If I run the date example form a non virtual host Apache, everything works. When running the same example with an Apache virtual host set up, the date jsp is executed but the date class it calls is not invoked. The date example boiler plate text is displayed without values. Any help would be greatly appreciated. -- 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: Tomcat and Crystal Reports (Urgent)
They say that new version 9.0 is fully supporting java. Didn't MicroSoft pay their last bill ? Dom - Original Message - From: Randy Secrist [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Thursday, August 29, 2002 6:41 AM Subject: Re: Tomcat and Crystal Reports (Urgent) The last version of Crystal reports I used was version 7.0. I didn't think they had any java support at that time. Has this changed? Randy - Original Message - From: Amit Lonkar [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, August 28, 2002 9:32 PM Subject: Tomcat and Crystal Reports (Urgent) Hi All!! Has any one been able to deploy crystal reports on Tomcat server. If yes, please let me know how you have done it. Thanks A Lot Amit Lonkar Want to sell your car? advertise on Yahoo Autos Classifieds. It's Free!! visit http://in.autos.yahoo.com -- 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]
4.1.x MBeanServer is not available
Whenever I start tomcat 4.1.3 or 4.1.6 or 4.1.7 on NT and Linux, or trying to launch admin, I get this error : 5 juil. 2002 20:11:50 org.apache.coyote.http11.Http11Protocol init INFO: Initializing Coyote HTTP/1.1 on port 8080 Starting service Tomcat-Standalone Apache Tomcat/4.1.7-LE-jdk14 5 juil. 2002 20:12:20 org.apache.coyote.http11.Http11Protocol start INFO: Starting Coyote HTTP/1.1 on port 8080 javax.servlet.UnavailableException: MBeanServer is not available at org.apache.webapp.admin.ApplicationServlet.initServer(ApplicationServlet.jav a:206) at org.apache.webapp.admin.ApplicationServlet.getServer(ApplicationServlet.java :138) at org.apache.webapp.admin.TomcatTreeBuilder.buildTree(TomcatTreeBuilder.java:1 28) at org.apache.webapp.admin.SetUpTreeAction.perform(SetUpTreeAction.java:165) at org.apache.struts.action.ActionServlet.processActionPerform(ActionServlet.ja va:1787) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1586) at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:492) at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application FilterChain.java:247) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh ain.java:193) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja va:260) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok eNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja va:191) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok eNext(StandardPipeline.java:643) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase .java:527) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok eNext(StandardPipeline.java:641) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2350) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180 ) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok eNext(StandardPipeline.java:643) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve. java:170) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok eNext(StandardPipeline.java:641) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:171 ) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok eNext(StandardPipeline.java:641) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java :174) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok eNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:405) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne ction(Http11Protocol.java:380) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:508) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav a:533) at java.lang.Thread.run(Thread.java:536) And in the admin page : HTTP Status 500 - type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception org.apache.jasper.JasperException: Cannot find message resources under key org.apache.struts.action.MESSAGE at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:2 46) ... But I don't get these problems with win2000 Dom -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: I GIVE UP !!! mod_jk2 + apache 2.0.39 ????
Hi I gave up too to compile mod_jk2 and use it with Apache 2.0.39 But I've been able to compile mod_jk on jakarta-tomcat-connectors-4.1.6-src and run it successfully with Apache 2.0.39 and Tomcat 4.1.6 on RH 7.3 by following the instructions found at http://www.galatea.com/flashguides/apache-tomcat-24-unix.xml Hope it will help Dom - Original Message - From: Yoav [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Wednesday, July 03, 2002 11:59 AM Subject: I GIVE UP !!! mod_jk2 + apache 2.0.39 Hiya all, All I'm trying to do is to have my apache 2.0.39 working with tomcat on linux and Solaris 8. (Not that we have a choice with that security hole in 2.0.36) Is there A N Y W H E R E one of the following ??? 1) A decent HOW-TO on compiling jakarta-tomcat-connectors-4.0.4-src.tar.gz - or - 2) A binary distribution of mod_jk2.so for linux / Solaris *compiled for 2.0.39* Thanks! -- 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]
errors compiling mod_jk for Apache 2.0.39
When I try to compile mod_jk in 4.1.3 connectors for Apache 2.0.39 on RH 7.3, I get the following errors : /usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../crt1.o: In function `_start': /usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../crt1.o(.text+0x18): undefined reference to `main' mod_jk.lo: In function `ws_start_response': /apps/jakarta-tomcat-connectors-4.1.3-src/jk/native/apache-2.0/mod_jk.c:225: undefined reference to `apr_psprintf' /apps/jakarta-tomcat-connectors-4.1.3-src/jk/native/apache-2.0/mod_jk.c:229: undefined reference to `apr_pstrdup' etc... collect2: ld returned 1 exit status apxs:Error; Command failed with rc=65536 Dom -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Off Topic: Free J2EE IDE: Which one?
Hi You can try Eclipse at http://www.eclipse.org + the Tomcat plugin at : http://www.sysdeo.com/eclipse/tomcatPlugin.html + the JBoss plugin from Genuitec at http://www.genuitec.com (they also offer Weblogic and Websphere eclipse plugins) or eclipse IBM evolution WSAD, beta for free Dom - Original Message - From: hanasaki [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Wednesday, March 20, 2002 3:27 PM Subject: Re: Off Topic: Free J2EE IDE: Which one? Let's start with; have you done the research on the web? - jpda - www.javasoft.com - reading the Tomcat Startup scripts - jpda attaching in netbeans - The docs and dubug menus Chris Pheby wrote: Can you give any more explicit instructions for how to do this?? It would be extremely useful! Thanks in advance. Chris -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of hanasaki Sent: 19 March 2002 17:33 To: Tomcat Users List Subject: Re: Off Topic: Free J2EE IDE: Which one? You can integrate Tomcat 4 yourself ;) Change the startup scripts to support JPDA Attach with Netbeans For soruce debugging you will need to mount the Tomcat directories in your netbeans project Chris Pheby wrote: I am using netbeans right now (for Servlets not J2EE). Tomcat 4 integration is not here yet, but in practice this has yet to prove a problem. The draft versions of the forthcoming Using Netbeans oreilly book are on the netbeans site and really speeded learning the editor for me. Chris. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Bing Zhang Sent: 19 March 2002 16:35 To: '[EMAIL PROTECTED]' Subject: Off Topic: Free J2EE IDE: Which one? I am trying to use a free IDE to do J2EE development, mainly servlet and EJB. The development will be on Windows NT/2000. Deployment is on linux. Three tools come to my mind: Forte Java Community Edition (I am supprised that almost nobody mention this tool), Eclipse from IBM and NetBean. I feel short time evaluation does not give me enough insight, though I have downloaded both Forte and Eclopse. Hope anyone ever used the above tools in real life give me some guidance. Any of the above tools let me debug servlet or even EJB locally? How about remotely? Any other server I need to set up beside the IDE to effectively do J2EE? Thanks, Bing Zhang -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- = = [EMAIL PROTECTED] = = Spam : Unhealthy and High in Sodium and Cholesterol = = -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- = = [EMAIL PROTECTED] = = Spam : Unhealthy and High in Sodium and Cholesterol = = -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
linux + tomcat 3 memory leaks ?
I've installed Tomcat 3.3 in my linux box After a fresh boot, tomcat launched and NO web application running, I can see that the tomcat user memory is growing regulary by watching Top. Why ? Mandake Linux 7.2 with 2.4.16 kernel (not 2.2.16) Apache 1.3.19 Tomcat 3.3 IBMJava2-13 Dom -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: somebody trying hack me, what they really wanted?
My linux server has been attacked too for a couple of weeks. I don't care Dom - Original Message - From: Jim Urban [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Thursday, December 13, 2001 7:07 PM Subject: RE: somebody trying hack me, what they really wanted? You was hacked by one of those Nimba type worm viruses. Be glad you were not running IIS, you could have been in big trouble. Jim -Original Message- From: Evgeniy Strokin [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 13, 2001 12:05 PM To: [EMAIL PROTECTED] Subject: somebody trying hack me, what they really wanted? Hi, tonight, somebody had tried hack our Tomcat 3.2.3 in win2000. Here is the log: 2001-12-13 01:18:35 - Ctx( ): 404 R( + /scripts/root.exe + null) null 2001-12-13 01:18:36 - Ctx( ): 404 R( + /MSADC/root.exe + null) null 2001-12-13 01:18:42 - Ctx( ): 404 R( + /c/winnt/system32/cmd.exe + null) null 2001-12-13 01:18:46 - Ctx( ): 404 R( + /d/winnt/system32/cmd.exe + null) null 2001-12-13 01:18:47 - Ctx( ): 404 R( /scripts/..%255c../winnt/system32/cmd.exe) null 2001-12-13 01:18:50 - Ctx( ): 404 R( /_vti_bin/..%255c../..%255c../..%255c../wi nnt/system32/cmd.exe) null 2001-12-13 01:18:51 - Ctx( ): 404 R( /_mem_bin/..%255c../..%255c../..%255c../wi nnt/system32/cmd.exe) null 2001-12-13 01:19:00 - Ctx( ): 404 R( /msadc/..%255c../..%255c../..%255c/..%c1%1 c../..%c1%1c../..%c1%1c../winnt/system32/cmd.exe) null 2001-12-13 01:19:00 - Ctx( ): 404 R( + /scripts/..??../winnt/system32/cmd.exe + null) null 2001-12-13 01:19:01 - Ctx( ): 404 R( /scripts/..%c0%2f../winnt/system32/cmd.exe ) null 2001-12-13 01:19:31 - ContextManager: SocketException reading request, ignored - java.net.SocketException: Connection reset by peer: JVM_recv in socket input st ream read at java.net.SocketInputStream.socketRead(Native Method) at java.net.SocketInputStream.read(Unknown Source) at java.io.BufferedInputStream.fill(Unknown Source) at java.io.BufferedInputStream.read(Unknown Source) at org.apache.tomcat.service.http.HttpRequestAdapter.doRead(HttpRequestA dapter.java:115) at org.apache.tomcat.core.BufferedServletInputStream.doRead(BufferedServ letInputStream.java:106) at org.apache.tomcat.core.BufferedServletInputStream.read(BufferedServle tInputStream.java:128) at javax.servlet.ServletInputStream.readLine(ServletInputStream.java:138 ) at org.apache.tomcat.service.http.HttpRequestAdapter.readNextRequest(Htt pRequestAdapter.java:129) at org.apache.tomcat.service.http.HttpConnectionHandler.processConnectio n(HttpConnectionHandler.java:198) at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java: 416) at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java :501) at java.lang.Thread.run(Unknown Source) 2001-12-13 01:50:41 - Ctx( ): 404 R( + /scripts/root.exe + null) null 2001-12-13 01:50:41 - Ctx( ): 404 R( + /MSADC/root.exe + null) null 2001-12-13 01:51:09 - ContextManager: SocketException reading request, ignored - java.net.SocketException: Connection reset by peer: JVM_recv in socket input st ream read at java.net.SocketInputStream.socketRead(Native Method) at java.net.SocketInputStream.read(Unknown Source) at java.io.BufferedInputStream.fill(Unknown Source) at java.io.BufferedInputStream.read(Unknown Source) at org.apache.tomcat.service.http.HttpRequestAdapter.doRead(HttpRequestA dapter.java:115) at org.apache.tomcat.core.BufferedServletInputStream.doRead(BufferedServ letInputStream.java:106) at org.apache.tomcat.core.BufferedServletInputStream.read(BufferedServle tInputStream.java:128) at javax.servlet.ServletInputStream.readLine(ServletInputStream.java:138 ) at org.apache.tomcat.service.http.HttpRequestAdapter.readNextRequest(Htt pRequestAdapter.java:129) at org.apache.tomcat.service.http.HttpConnectionHandler.processConnectio n(HttpConnectionHandler.java:198) at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java: 416) at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java :501) at java.lang.Thread.run(Unknown Source) 2001-12-13 06:08:24 - Ctx( ): 404 R( + /scripts/root.exe + null) null 2001-12-13 06:08:24 - Ctx( ): 404 R( + /MSADC/root.exe + null) null 2001-12-13 06:08:25 - Ctx( ): 404 R( + /c/winnt/system32/cmd.exe + null) null 2001-12-13 06:08:25 - Ctx( ): 404 R( + /d/winnt/system32/cmd.exe + null) null 2001-12-13 06:08:25 - Ctx( ): 404 R( /scripts/..%255c../winnt/system32/cmd.exe) null 2001-12-13 06:08:25 - Ctx( ): 404 R( /_vti_bin/..%255c../..%255c../..%255c../wi nnt/system32/cmd.exe) null 2001-12-13 06:08:26 - Ctx( ): 404 R( /_mem_bin/..%255c../..%255c../..%255c../wi nnt/system32/cmd.exe) null
Re: Eclipse IDE
I'm using WSAD beta too for the last 2 or 3 months developping web apps for Tomcat 4 You don't have to care where it puts your class files, as it deploys them automaticaly in your TOMCAT_HOME webapps directory ! Dom - Original Message - From: Reto Badertscher [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Thursday, December 13, 2001 8:31 PM Subject: AW: Eclipse IDE Hello, give IntelliJ' idea a try (www.intellij.com). Reto -Ursprungliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Gesendet: Donnerstag, 13. Dezember 2001 20:12 An: [EMAIL PROTECTED] Betreff: Eclipse IDE I have been evaluating the new Eclipse IDE (http://www.eclipse.org) and trying to get it to debug my servlets running in Tomcat. One of the quirks about the Eclipse IDE is that it doesn't allow me to specify a build folder outside of the project hierarchy (so I can't post my classes to the webapps folder in Tomcat). One of the suggestions from Eclipse users was to develop my source directly in the webapps folder, but this violates the separation of source and deployment (http://jakarta.apache.org/tomcat/tomcat-4.0-doc/appdev/source.html). I was wondering if anyone has experience integrating Eclipse with Tomcat and what directory structure they're using. Thanks. - Brian -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: mod_webapp file upload fix
where can I get mod_webapp cvs ? I can't fint it anymore. Dom - Original Message - From: Brian Adams [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Wednesday, December 12, 2001 9:39 PM Subject: RE: mod_webapp file upload fix I think people were getting latest from cvs and compiling there own. you may try that. B -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 12, 2001 3:00 PM To: [EMAIL PROTECTED] Subject: mod_webapp file upload fix Is there a new binary release of mod_webapp (for Linux) that fixes the binary file upload problem? Later, -- \ Craig Cowboy McDaniel /_\ Software Engineer /_/_\ n + 1, Inc. /_/_/_\ [EMAIL PROTECTED] /_/_/_/_\ (502) 479-5557 MICROSOFT: Most Intelligent Customers Realize Our Software Only Fools Teenagers -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Session management and multiple Tomcat Apache instances
Hi I'd like to know how can I manage sessions (HttpSession) of multiple users in an as possible simple way, if I use multiple Tomcat and Apache instances on multiple servers, using Apache and Tomcat load balancers workers, in a SSO like configuration ? Dom -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Where is 4.0.1 ?
Watching Tomcat 4 download site, I only find Jakarta-tomcat-4.0 binaries (17-Sep-2001) Where are the October Jakarta-tomcat-4.0.1 binaries ? Dom -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
tomcat 4 jsvc
Does anybody knows how to start tomcat 4 as non root on port 80 under linux using jsvc ? I get an error code 2 Dom
Re: mod_webapp deploy
Hi Manri !! So the answer was only to embed my virtual host and context in : Engine className=org.apache.catalina.connector.warp.WarpEngine name=Apache debug=0 It works now !! how did you gess that ??? Dom - Original Message - From: Manri Offermann [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, September 29, 2001 1:46 PM Subject: Re: mod_webapp deploy I have been struggling with this too. It really deserves some documentation: - get the source of mod_webapp.so and compile it. this is how I configured it server.xml: Service name=Tomcat-Apache Connector className=org.apache.catalina.connector.warp.WarpConnector port=8008 minProcessors=5 maxProcessors=75 enableLookups=true acceptCount=10 debug=0/ Engine className=org.apache.catalina.connector.warp.WarpEngine name=Apache debug=0 Logger className=org.apache.catalina.logger.FileLogger prefix=apache. suffix=.txt timestamp=true/ Realm className=org.apache.catalina.realm.MemoryRealm / . Host name=dell debug=0 appBase=webapps unpackWARs=true Logger className=org.apache.catalina.logger.FileLogger directory=logs prefix=localhost_log. suffix=.txt timestamp=true/ Context path= docBase=/home/eastbeem/www debug=0 reloadable=true/ /Host /Engine /Service httpd.conf: == LoadModule webapp_module /usr/lib/apache/mod_webapp.so AddModule mod_webapp.c NameVirtualHost 192.168.123.33 VirtualHost 192.168.123.33 ServerName dell DocumentRoot /home/eastbeem/www WebAppConnection warpConnection warp localhost:8008 WebAppDeploy /home/eastbeem/www warpConnection / Location /WEB-INF/ AllowOverride None deny from all /Location /VirtualHost hope this helps, manri - Original Message - From: Dom [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, September 29, 2001 7:28 PM Subject: mod_webapp deploy I'm trying to use Tomcat 4 with Apache 1.3 and mod_webapp Is there somwhere some howto or doc about that subject, I think it deserves more than 3 lines of rematks in server.xml. I try to use a web app in a virtual host, but deploy gives an error, as it tries to deploy it in $TOMCAT_HOME/webapps instead of the virtual host appBase and context docBase
tomcat 4 standalone virtual host
Is it possible to manage virtual hosts with tomcat 4 standalone ? When I start Tomcat, I get in catalina out : Starting service Tomcat-Standalone Apache tomcat/4.0 java.lang.NullPointerException at org.apache.catalina.startup.HostConfig.deployApps(Unknown Source) ... If I start Tomcat without the virtual host, I get Starting service Tomcat-Standalone Apache tomcat/4.0 Starting service Tomcat-Apache Apache tomcat/4.0 Using Tomcat 3.2 and Apache 1.3.19, I had no trouble managing this virtual host And trying to compile mod_webapp, after ./configure I get : APR buildconf : autoconf not found (Linux MDK 7.2 with kernel 2.4.9) Dom
Re: Crystal Reports
Maybe you should have a look at Crystal-Clear from www.inetsoftware.de They have a complete java API to serve Crystal Report .rpt, and servlets too. I use it with Tomcat without trouble. Dom - Original Message - From: Bill May To: [EMAIL PROTECTED] Sent: Wednesday, July 18, 2001 12:58 PM Subject: Crystal Reports G'Day, A question Is it possible to configure Tomcat to serve Crystal Report (.rpt files) With Apache this is achieved by calling an executable in the cgi-bin directory I suppose the question is Does Tomcat support cgi scripts ? Cheers Bill May Power Solutions DTD Pty LtdDid you know PSD offer Data Cleansing services which help to identify duplicate patient records Phone: 0413 560 677email: [EMAIL PROTECTED]Web Site: www.power-solutions.com.au
Re: JSP website hosting ?
Hi Maybe you're french (I'm french) but I answer in english I own a server, which I use for research and development of JSP and databases, here in Paris Linux, Apache, Tomcat 3.2.2, PHP4, MySql, Postgresql, IBM DB2, etc ... If you're interested, write me back Dom - Original Message - From: SIMONIN Alexandre [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, June 08, 2001 1:53 PM Subject: JSP website hosting ? Hi, My apologies if this may not be the ideal place for such question... I'm looking for a company which could host two sites written in JSP ? One site has a .fr extension and the other a .com. Any suggestions ? Thanks in advance Alexandre