java-compiler for Mac?
I know this is a bit of topic here but a friend asks me if there is a java-compiler (jdk or whatever) that runs on a macintosh? Anybody knows anything more about java and mac? Any tip/suggestion/help is welcome! Greetings, Gunter. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Turn off caching
I'm still looking for a solution for my question below? Any help is welcome pls! Greetings, Gunter. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Gunter D'Hondt Sent: maandag 12 augustus 2002 12:04 To: 'Tomcat Users List' Subject: Turn off caching Is it possible to turn off the caching of precompiled jsp pages in tomcat4? i would need this becoz in developer's fase it's not very usefull that tomcat caches everything when using jsp pages that include other jsp page etc. Greetings, Gunter. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Turn off caching
Ralph, that works perfect but the problem is that I cannot use this method when using a version manager tool becoz it would always believe that all scripts are updated and we cannot see which scripts are being changed. currently we are using your solution but I'm looking for a better one... thnx anyway! Gunter -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Ralph Einfeldt Sent: dinsdag 13 augustus 2002 13:42 To: Tomcat Users List Subject: AW: Turn off caching Didn't my prevoius suggestions work for you ? RE Von: Ralph Einfeldt RE Gesendet: Donnerstag, 8. August 2002 14:44 RE An: 'Tomcat Users List' RE Betreff: AW: How to clean the cache of Tomcat? RE RE I would just touch all jsp files: RE RE find ${CATALINA_BASE}/webapp -name *.jsp -exec touch {} \; RE RE (Or just use touch on the page that makes the include) RE RE Another option (that I haven't tried) is to remove the content RE of the work directory: RE RE rm -rf ${CATALINA_BASE}/work/localhost/* RE -Ursprüngliche Nachricht- Von: Gunter D'Hondt [mailto:[EMAIL PROTECTED]] Gesendet: Dienstag, 13. August 2002 13:33 An: 'Tomcat Users List' Betreff: RE: Turn off caching I'm still looking for a solution for my question below? Any help is welcome pls! -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Gunter D'Hondt Sent: maandag 12 augustus 2002 12:04 To: 'Tomcat Users List' Subject: Turn off caching Is it possible to turn off the caching of precompiled jsp pages in tomcat4? i would need this becoz in developer's fase it's not very usefull that tomcat caches everything when using jsp pages that include other jsp page etc. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] attachment: winmail.dat -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Turn off caching
Ralph, We have three environments: a development environment where we develop/test our sites and a test and production environment at our clients. Copying the files from develop environment to the test environment at our clients is being done by making update zipfiles which only include the changed scripts that we find by sorting all the scripts by date/time. And only the scripts in the development environment are being checked in a version control. Now I want the test and production environment to use caching ofcourse but not in the development environment. Greetings, Gunter -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Ralph Einfeldt Sent: dinsdag 13 augustus 2002 14:27 To: Tomcat Users List Subject: AW: Turn off caching Sorry didn't think about that, because we don't run our sites directly from the workspace of our version management. We have jobs that copy the files from the workspace to the runtime environment so we can do what we want in the runtime environment without impacting our buildmanagement. Which of the two approaches do you use ? I would guess that the second one shouldn't mess up your version management. (At least everything under the work directory shouldn't be a part of your build) -Ursprüngliche Nachricht- Von: Gunter D'Hondt [mailto:[EMAIL PROTECTED]] Gesendet: Dienstag, 13. August 2002 13:53 An: 'Tomcat Users List' Betreff: RE: Turn off caching that works perfect but the problem is that I cannot use this method when using a version manager tool becoz it would always believe that all scripts are updated and we cannot see which scripts are being changed. currently we are using your solution but I'm looking for a better one... thnx anyway! -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] attachment: winmail.dat -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Turn off caching
Is it possible to turn off the caching of precompiled jsp pages in tomcat4? i would need this becoz in developer's fase it's not very usefull that tomcat caches everything when using jsp pages that include other jsp page etc. Greetings, Gunter. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Tomcat 4 Suse 8
Same here Tomcat 4.01 works with Suse 8.0 although I'm having problems using the mod_webapp connector with Apache 1.3.23 but standalone Tomcat is working perfect! Gunter -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Jay Gardner Sent: vrijdag 2 augustus 2002 08:01 To: Tomcat Users List Subject: RE: Tomcat 4 Suse 8 I am running TC4.0.4 on SuSE 8.0 without problems. --JG -Original Message- From: Januski, Ken [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 01, 2002 5:25 PM To: Tomcat Users List Subject: RE: Tomcat 4 Suse 8 Steve, I know it's possible. I mainly run Tomcat on W2K right now but have also experimented with it on Suse 8.0. Unfortunately I must have screwed something up because it's no longer working. But I'm sure I did have it working for awhile, nothing sophisticated but at least I know it can work. Sorry I can't give you much more info than that. Ken -Original Message- From: Steve Russell [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 01, 2002 1:38 PM To: Tomcat Users List Subject: Tomcat 4 Suse 8 I gave up on trying to get Tomcat 4 to work with Suse 7.2 Has anyone gotten tomcat 4.* to work on suse 8? Steve -- 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: RE: Premature packet header end exception
I'm experiencing the same problem... see message Cannot do ./configure with the webapp on Linux machine Have you tried building your own mod_webapp.so? Are you using Suse Linux? It's seems to be specific for Suse... Need a solution fast too so keep me informed pls! Gunter -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Felix Schumacher Sent: woensdag 31 juli 2002 08:19 To: Tomcat Users List Subject: AW: RE: Premature packet header end exception Hi, I asked the same question and still have not an acceptable answer, but that this is a feature not a bug. Well, the message is printed if the tomcat side of webapp gets an invalid packet. The tomcat side will cancel the connection gracefully, as I am told. It seems that the apache side is doing something wrong or loosing the connection. But I do hope someone would look closer into this problem. Bye Felix -- Original Nachricht -- Yes, I continue to get this error. I have searched through about the past year's messages on this list, and also with google, and I have not found an answer. If you know the problem/answer, please share! One way or another I have to get this working soon, so I will respond with any solution. Scott On Wed, 2002-03-06 at 15:20, Chris Geyer wrote: Ok, a little more detail might be necessary: I am running Tomcat 4.0.1 on Linux connecting to a mysql database. All of my JSP pages are served without error, so I don't know where the error below is coming from. I never receive an error while browsing the site, however this error shows up sporadically throughout the /usr/local/jakarta-tomcat-4.0.1/logs/apache_log... files. Any ideas on what could be causing this problem? Has anyone experienced a similar problem? Error message: 2002-03-06 17:14:37 [org.apache.catalina.connector.warp.WarpConnection] Exception on socket java.io.IOException: Premature packet header end at org.apache.catalina.connector.warp.WarpConnection.recv(WarpConnection.java:2 37) at org.apache.catalina.connector.warp.WarpRequestHandler.handle(WarpRequestHand ler.java:112) at org.apache.catalina.connector.warp.WarpConnection.run(WarpConnection.java:19 4) at java.lang.Thread.run(Thread.java:484) Thanks for the help, chris -Original Message- From: Chris Geyer [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 05, 2002 11:41 AM To: [EMAIL PROTECTED] Subject: Premature packet header end exception I continue to get this error throughout my apache_log.2002-mm-dd.txt files: 2002-03-05 11:16:05 [org.apache.catalina.connector.warp.WarpConnection] Exception on socket java.io.IOException: Premature packet header end at org.apache.catalina.connector.warp.WarpConnection.recv(WarpConnection.java:2 37) at org.apache.catalina.connector.warp.WarpRequestHandler.handle(WarpRequestHand ler.java:112) at org.apache.catalina.connector.warp.WarpConnection.run(WarpConnection.java:19 4) at java.lang.Thread.run(Thread.java:484) What is causing this and how do I fix it? Thanks, chris -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] Online Fotoalben - jetzt kostenlos bei http://www.ePost.de -- 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]
Cannot do ./configure with the webapp on Linux machine
Hi, I using Suse Linux 8.0 and already installed Apache 1.3 and Tomcat 4.0 successfully. Now I'm trying to get mod_webapp configured. This gives me the error: 2002-07-30 12:37:05 [org.apache.catalina.connector.warp.WarpConnection] Exception on socket java.io.IOException: Premature packet header end at org.apache.catalina.connector.warp.WarpConnection.recv(WarpConnection.java:2 37) at org.apache.catalina.connector.warp.WarpRequestHandler.handle(WarpRequestHand ler.java:112) at org.apache.catalina.connector.warp.WarpConnection.run(WarpConnection.java:19 4) at java.lang.Thread.run(Thread.java:484) Since I haven't compiled the mod_webapp.so myself I thought let's do that becoz I'm getting the following error when running apachectl configtest: torvald1:/tmp/webapp-module-1.0-tc40 # apachectl configtest [Tue Jul 30 14:41:06 2002] [warn] Loaded DSO /usr/lib/apache/mod_webapp.so uses plain Apache 1.3 API, this module might crash u nder EAPI! (please recompile it with -DEAPI) Syntax OK torvald1:/tmp/webapp-module-1.0-tc40 # But I'm getting problems when doing ./configure with the sources: torvald1:/tmp/webapp-module-1.0-tc40 # torvald1:/tmp/webapp-module-1.0-tc40 # ls -la total 296 drwxr-xr-x 11 nobody nobody664 Jul 30 14:24 . drwxrwxrwt 12 root root 1256 Jul 30 14:30 .. -rwxr--r--1 nobody nobody 10244 Jul 19 2001 .DS_Store -rwxr--r--1 nobody nobody103 Aug 31 2001 .cvsignore -rwxr--r--1 nobody nobody 5527 Sep 17 2001 INSTALL.txt -rwxr--r--1 nobody nobody 4494 Sep 17 2001 LICENSE.txt -rwxr--r--1 nobody nobody 7994 Sep 17 2001 Makedefs.in -rwxr--r--1 nobody nobody 6349 Sep 17 2001 Makefile.in -rwxr--r--1 nobody nobody 6300 Sep 17 2001 Makefile.win -rwxr--r--1 nobody nobody 4494 Sep 17 2001 README.txt drwxr-xr-x2 nobody nobody176 Jul 30 13:41 apache-1.3 drwxr-xr-x2 nobody nobody144 Jul 30 13:41 apache-2.0 drwxr-xr-x 22 nobody nobody 1032 Jul 30 14:25 apr -rw-r--r--1 root root 1553 Jul 30 14:24 config.log -rwxr-xr-x1 nobody nobody 125598 Jul 30 14:29 configure -rwxr--r--1 nobody nobody 19982 Sep 17 2001 configure.in -rwxr--r--1 nobody nobody 80284 Jul 30 14:22 configure.old drwxr-xr-x2 nobody nobody232 Jul 30 13:41 docs drwxr-xr-x2 nobody nobody200 Jul 30 13:41 include drwxr-xr-x2 nobody nobody544 Jul 30 13:41 java drwxr-xr-x2 nobody nobody440 Jul 30 13:41 lib drwxr-xr-x2 nobody nobody 72 Jul 30 13:41 nsapi drwxr-xr-x2 nobody nobody488 Jul 30 13:41 support torvald1:/tmp/webapp-module-1.0-tc40 # autoconf /usr/bin/m4: configure.in: 142: Non-numeric argument to built-in `divert' /usr/bin/m4: configure.in: 372: Non-numeric argument to built-in `divert' torvald1:/tmp/webapp-module-1.0-tc40 # ./configure --with-apxs : command not found : command not found : command not found checking for test... /usr/bin/test : command not found : command not found '/configure: line 2773: syntax error near unexpected token `in '/configure: line 2773: ` case ${enableval} in torvald1:/tmp/webapp-module-1.0-tc40 # # Does anybody know what the problem can be overhere? Greetings, Gunter D'Hondt SOFICO NV BELGIUM
RE: Cannot do ./configure with the webapp on Linux machine
I've tried it with the EAPI parameter but this is the result: torvald1:/tmp/webapp-module-1.0-tc40 # ./configure --with-apxs --enable-DEAPI : command not found : command not found : command not found checking for test... /usr/bin/test : command not found : command not found '/configure: line 2773: syntax error near unexpected token `in '/configure: line 2773: ` case ${enableval} in torvald1:/tmp/webapp-module-1.0-tc40 # So the problem still occurs... can anybody help me? Gunter -Original Message- From: franzR [mailto:[EMAIL PROTECTED]] Sent: dinsdag 30 juli 2002 15:44 To: Tomcat Users List; [EMAIL PROTECTED] Subject: AW: Cannot do ./configure with the webapp on Linux machine You've to enable the EAPI for an Apache-1.3 by parameterizing this property before you start the configuration; Example: ./configure --with-apxs=... --enable-EAPI More things can be found in the documentation (native/BUILDING)! franzR -Ursprüngliche Nachricht- Von: Gunter D'Hondt [mailto:[EMAIL PROTECTED]] Gesendet: Dienstag, 30. Juli 2002 14:40 An: 'Tomcat Users List' Betreff: Cannot do ./configure with the webapp on Linux machine Hi, I using Suse Linux 8.0 and already installed Apache 1.3 and Tomcat 4.0 successfully. Now I'm trying to get mod_webapp configured. This gives me the error: 2002-07-30 12:37:05 [org.apache.catalina.connector.warp.WarpConnection] Exception on socket java.io.IOException: Premature packet header end at org.apache.catalina.connector.warp.WarpConnection.recv(WarpConnection.java:2 37) at org.apache.catalina.connector.warp.WarpRequestHandler.handle(WarpRequestHand ler.java:112) at org.apache.catalina.connector.warp.WarpConnection.run(WarpConnection.java:19 4) at java.lang.Thread.run(Thread.java:484) Since I haven't compiled the mod_webapp.so myself I thought let's do that becoz I'm getting the following error when running apachectl configtest: torvald1:/tmp/webapp-module-1.0-tc40 # apachectl configtest [Tue Jul 30 14:41:06 2002] [warn] Loaded DSO /usr/lib/apache/mod_webapp.so uses plain Apache 1.3 API, this module might crash u nder EAPI! (please recompile it with -DEAPI) Syntax OK torvald1:/tmp/webapp-module-1.0-tc40 # But I'm getting problems when doing ./configure with the sources: torvald1:/tmp/webapp-module-1.0-tc40 # torvald1:/tmp/webapp-module-1.0-tc40 # ls -la total 296 drwxr-xr-x 11 nobody nobody664 Jul 30 14:24 . drwxrwxrwt 12 root root 1256 Jul 30 14:30 .. -rwxr--r--1 nobody nobody 10244 Jul 19 2001 .DS_Store -rwxr--r--1 nobody nobody103 Aug 31 2001 .cvsignore -rwxr--r--1 nobody nobody 5527 Sep 17 2001 INSTALL.txt -rwxr--r--1 nobody nobody 4494 Sep 17 2001 LICENSE.txt -rwxr--r--1 nobody nobody 7994 Sep 17 2001 Makedefs.in -rwxr--r--1 nobody nobody 6349 Sep 17 2001 Makefile.in -rwxr--r--1 nobody nobody 6300 Sep 17 2001 Makefile.win -rwxr--r--1 nobody nobody 4494 Sep 17 2001 README.txt drwxr-xr-x2 nobody nobody176 Jul 30 13:41 apache-1.3 drwxr-xr-x2 nobody nobody144 Jul 30 13:41 apache-2.0 drwxr-xr-x 22 nobody nobody 1032 Jul 30 14:25 apr -rw-r--r--1 root root 1553 Jul 30 14:24 config.log -rwxr-xr-x1 nobody nobody 125598 Jul 30 14:29 configure -rwxr--r--1 nobody nobody 19982 Sep 17 2001 configure.in -rwxr--r--1 nobody nobody 80284 Jul 30 14:22 configure.old drwxr-xr-x2 nobody nobody232 Jul 30 13:41 docs drwxr-xr-x2 nobody nobody200 Jul 30 13:41 include drwxr-xr-x2 nobody nobody544 Jul 30 13:41 java drwxr-xr-x2 nobody nobody440 Jul 30 13:41 lib drwxr-xr-x2 nobody nobody 72 Jul 30 13:41 nsapi drwxr-xr-x2 nobody nobody488 Jul 30 13:41 support torvald1:/tmp/webapp-module-1.0-tc40 # autoconf /usr/bin/m4: configure.in: 142: Non-numeric argument to built-in `divert' /usr/bin/m4: configure.in: 372: Non-numeric argument to built-in `divert' torvald1:/tmp/webapp-module-1.0-tc40 # ./configure --with-apxs : command not found : command not found : command not found checking for test... /usr/bin/test : command not found : command not found '/configure: line 2773: syntax error near unexpected token `in '/configure: line 2773: ` case ${enableval} in torvald1:/tmp/webapp-module-1.0-tc40 # # Does anybody know what the problem can be overhere? Greetings, Gunter D'Hondt SOFICO NV BELGIUM -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
NoSuchFieldError
Does anybody know what this error means? See the root cause (NoSuchFieldError: jasperlog). I've added a few classes under my web-inf Greetings, Gunter. javax.servlet.ServletException: Servlet.init() for servlet jsp threw exception at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:94 6) at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:655) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja va:214) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja va:190) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase .java:475) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 64) at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:2 46) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 64) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180 ) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve. java:170) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 64) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170 ) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 64) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 64) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java :174) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java: 1027) at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1125 ) at java.lang.Thread.run(Thread.java:536) root cause java.lang.NoSuchFieldError: jasperLog at org.apache.jasper.servlet.JspServlet.init(JspServlet.java:297) at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:91 8) at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:655) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja va:214) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja va:190) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase .java:475) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 64) at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:2 46) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 64) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180 ) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve. java:170) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 64) at
Compatibility between Tomcat4.04 and JDK1.22
Is Tomcat4.0.4 compatible with Sun JDK 1.22? Gunter -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Gunter D'Hondt Sent: vrijdag 19 juli 2002 16:06 To: 'Tomcat Users List' Subject: RE: Apache/Tomcat/Mod_jk = setKeepAlive() in Ajp13Connector.run = NoSuchMethodError Where can I find the JDK1.3 or JDK1.4 coz on java.sun.com I can only find the J2SE 1.3 1.4? Gunter -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Sullivan, Mark E Sent: vrijdag 19 juli 2002 15:47 To: 'Tomcat Users List' Subject: RE: Apache/Tomcat/Mod_jk = setKeepAlive() in Ajp13Connector.run = NoSuchMethodError this error: java.lang.NoSuchMethodError: java.net.Socket: method setKeepAlive(Z), is caused because the method java.net.Socket.setKeepAlive() is not in jdk1.2.2. You'll have to upgrade to jdk1.3 -Original Message- From: Gunter D'Hondt [mailto:[EMAIL PROTECTED]] Sent: Friday, July 19, 2002 3:15 AM To: 'Tomcat Users List' Subject: RE: Apache/Tomcat/Mod_jk = setKeepAlive() in Ajp13Connector.run = NoSuchMethodError Is there anybody who had the same problem and can help me out coz I'm out of possibilities now... Greetings, Gunter -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Ralph Einfeldt Sent: vrijdag 19 juli 2002 09:51 To: Tomcat Users List Subject: AW: Apache/Tomcat/Mod_jk = setKeepAlive() in Ajp13Connector.run = NoSuchMethodError As i'm not a user of mod_jk, I won't burn my mouth. Maybe this link helps to answer your question: http://village.flashnet.it/users/fn048069/files/readme/jakarta.txt -Ursprüngliche Nachricht- Von: Gunter D'Hondt [mailto:[EMAIL PROTECTED]] Gesendet: Freitag, 19. Juli 2002 09:30 An: 'Tomcat Users List' Betreff: RE: Apache/Tomcat/Mod_jk = setKeepAlive() in Ajp13Connector.run = NoSuchMethodError I removed the WarpConnector but still the same error occurs... do I have to place a ajp13 connector in my Service name=Tomcat-Apache? -- 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: Compatibility between Tomcat4.04 and JDK1.22
That's what I thought too but why am I getting this error then: java.lang.NoSuchMethodError: java.net.Socket: method setKeepAlive(Z) As you can see below, others have said to upgrade to jdk1.3+ becoz the method setKeepAlive() is not in jdk1.22. My problem is that my current configuration doesn't allow me to use another jdk version so I've got to use jdk1.22. The only thing I can conclude is that it's not compatible with jdk1.22 then. Greetings, Gunter -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of IT-INDIA.com Sent: woensdag 24 juli 2002 04:01 To: Tomcat Users List; [EMAIL PROTECTED] Subject: Re: Compatibility between Tomcat4.04 and JDK1.22 yes, it is tomcat 4.04 is compatible with JDK 1.2+ sam - Original Message - From: Gunter D'Hondt [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Tuesday, July 23, 2002 6:24 AM Subject: Compatibility between Tomcat4.04 and JDK1.22 Is Tomcat4.0.4 compatible with Sun JDK 1.22? Gunter -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Gunter D'Hondt Sent: vrijdag 19 juli 2002 16:06 To: 'Tomcat Users List' Subject: RE: Apache/Tomcat/Mod_jk = setKeepAlive() in Ajp13Connector.run = NoSuchMethodError Where can I find the JDK1.3 or JDK1.4 coz on java.sun.com I can only find the J2SE 1.3 1.4? Gunter -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Sullivan, Mark E Sent: vrijdag 19 juli 2002 15:47 To: 'Tomcat Users List' Subject: RE: Apache/Tomcat/Mod_jk = setKeepAlive() in Ajp13Connector.run = NoSuchMethodError this error: java.lang.NoSuchMethodError: java.net.Socket: method setKeepAlive(Z), is caused because the method java.net.Socket.setKeepAlive() is not in jdk1.2.2. You'll have to upgrade to jdk1.3 -Original Message- From: Gunter D'Hondt [mailto:[EMAIL PROTECTED]] Sent: Friday, July 19, 2002 3:15 AM To: 'Tomcat Users List' Subject: RE: Apache/Tomcat/Mod_jk = setKeepAlive() in Ajp13Connector.run = NoSuchMethodError Is there anybody who had the same problem and can help me out coz I'm out of possibilities now... Greetings, Gunter -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Ralph Einfeldt Sent: vrijdag 19 juli 2002 09:51 To: Tomcat Users List Subject: AW: Apache/Tomcat/Mod_jk = setKeepAlive() in Ajp13Connector.run = NoSuchMethodError As i'm not a user of mod_jk, I won't burn my mouth. Maybe this link helps to answer your question: http://village.flashnet.it/users/fn048069/files/readme/jakarta.txt -Ursprüngliche Nachricht- Von: Gunter D'Hondt [mailto:[EMAIL PROTECTED]] Gesendet: Freitag, 19. Juli 2002 09:30 An: 'Tomcat Users List' Betreff: RE: Apache/Tomcat/Mod_jk = setKeepAlive() in Ajp13Connector.run = NoSuchMethodError I removed the WarpConnector but still the same error occurs... do I have to place a ajp13 connector in my Service name=Tomcat-Apache? -- 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] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Apache/Tomcat/Mod_jk = setKeepAlive() in Ajp13Connector.run = NoSuchMethodError
Hello, I'm working with nt4, apache2.0.39,tomcat4.04,jdk1.22,mod_jk1.2 and I can start everything up but when browsing to a jsp page gives me the following error: Starting service Tomcat-Standalone Apache Tomcat/4.0.4 Starting service Tomcat-Apache Apache Tomcat/4.0.4 java.lang.NoSuchMethodError: java.net.Socket: method setKeepAlive(Z)V not found at org.apache.ajp.tomcat4.Ajp13Connector.run(Ajp13Connector.java, Compiled Code) at java.lang.Thread.run(Thread.java:479) Below I've placed my httpd.conf, workers.properties, server.xml and mod_jk.log Greetings, Gunter. My httpd.conf: IfModule !mod_jk.c LoadModule jk_module c:/Apache/modules/mod_jk.dll /IfModule JkWorkersFile c:/progra~1/apache~1.0/conf/jk/workers.properties JkLogFile c:/progra~1/apache~1.0/logs/mod_jk.log JkLogLevel debug JkMount /dynapage/* ajp13 JkMount /*.jsp ajp13 JkMount /examples/* ajp13 My workers.properties: workers.catalina_home=c:\progra~1\apache~1.0 workers.tomcat_home=c:\progra~1\apache~1.0 workers.java_home=C:\jdk122 ps=\ worker.list=ajp13 worker.ajp13.port=8009 worker.ajp13.host=localhost worker.ajp13.type=ajp13 #worker.ajp13.lbfactor=1 #worker.ajp14.port=8010 #worker.ajp14.host=localhost #worker.ajp14.type=ajp14 #worker.ajp14.secretkey=secret #worker.ajp14.credentials=myveryrandomentropy #worker.ajp14.lbfactor=1 worker.loadbalancer.type=lb worker.loadbalancer.balanced_workers=ajp13 worker.inprocess.type=jni worker.inprocess.class_path=$(workers.tomcat_home)$(ps)lib$(ps)tomcat.jar worker.inprocess.cmd_line=start worker.inprocess.jvm_lib=C:\jdk122\jre\bin\classic\jvm.dll worker.inprocess.stdout=$(workers.tomcat_home)$(ps)logs$(ps)inprocess.stdout worker.inprocess.stderr=$(workers.tomcat_home)$(ps)logs$(ps)inprocess.stderr My server.xml: Server port=8005 shutdown=SHUTDOWN debug=0 Listener className=org.apache.ajp.tomcat4.config.ApacheConfig modJk=c:\Apache\modules\ / Service name=Tomcat-Standalone Connector className=org.apache.ajp.tomcat4.Ajp13Connector port=8009 minProcessors=5 maxProcessors=75 acceptCount=10 debug=0/ Connector className=org.apache.catalina.connector.http.HttpConnector port=8080 minProcessors=5 maxProcessors=75 enableLookups=true redirectPort=8443 acceptCount=10 debug=0 connectionTimeout=6/ Engine name=Standalone defaultHost=localhost debug=0 Logger className=org.apache.catalina.logger.FileLogger prefix=catalina_log. suffix=.txt timestamp=true/ Realm className=org.apache.catalina.realm.MemoryRealm / Host name=localhost debug=0 appBase=webapps unpackWARs=true Listener className=org.apache.ajp.tomcat4.config.ApacheConfig append=true / Valve className=org.apache.catalina.valves.AccessLogValve directory=logs prefix=localhost_access_log. suffix=.txt pattern=common/ Logger className=org.apache.catalina.logger.FileLogger directory=logs prefix=localhost_log. suffix=.txt timestamp=true/ Context path=/manager docBase=manager debug=0 privileged=true/ Context path=/examples docBase=examples debug=0 reloadable=true crossContext=true Logger className=org.apache.catalina.logger.FileLogger prefix=localhost_examples_log. suffix=.txt timestamp=true/ Ejb name=ejb/EmplRecord type=Entity home=com.wombat.empl.EmployeeRecordHome remote=com.wombat.empl.EmployeeRecord/ Environment name=maxExemptions type=java.lang.Integer value=15/ Parameter name=context.param.name value=context.param.value override=false/ Resource name=jdbc/EmployeeAppDb auth=SERVLET type=javax.sql.DataSource/ ResourceParams name=jdbc/EmployeeAppDb parameternameuser/namevaluesa/value/parameter parameternamepassword/namevalue/value/parameter parameternamedriverClassName/name valueorg.hsql.jdbcDriver/value/parameter parameternamedriverName/name valuejdbc:HypersonicSQL:database/value/parameter /ResourceParams Resource name=mail/Session auth=Container type=javax.mail.Session/ ResourceParams name=mail/Session parameter namemail.smtp.host/name valuelocalhost/value
RE: Apache/Tomcat/Mod_jk = setKeepAlive() in Ajp13Connector.run = NoSuchMethodError
I removed the WarpConnector but still the same error occurs... do I have to place a ajp13 connector in my Service name=Tomcat-Apache? Gunter -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Ralph Einfeldt Sent: vrijdag 19 juli 2002 09:23 To: Tomcat Users List Subject: AW: Apache/Tomcat/Mod_jk = setKeepAlive() in Ajp13Connector.run = NoSuchMethodError The first thing that puzzles me is that you have org.apache.catalina.connector.warp.WarpConnector in server.xml although you are talking about mod_jk. I don't have an idea how this might cause your error message. -Ursprüngliche Nachricht- Von: Gunter D'Hondt [mailto:[EMAIL PROTECTED]] Gesendet: Freitag, 19. Juli 2002 09:09 An: 'Tomcat Users List' Betreff: Apache/Tomcat/Mod_jk = setKeepAlive() in Ajp13Connector.run = NoSuchMethodError I'm working with nt4, apache2.0.39,tomcat4.04,jdk1.22,mod_jk1.2 and I can start everything up but when browsing to a jsp page gives me the following error: snip/ Connector className=org.apache.catalina.connector.warp.WarpConnector port=8008 minProcessors=5 maxProcessors=75 enableLookups=true appBase=webapps 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_log. suffix=.txt timestamp=true/ Realm className=org.apache.catalina.realm.MemoryRealm / /Engine /Service /Server -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] attachment: winmail.dat -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Apache/Tomcat/Mod_jk = setKeepAlive() in Ajp13Connector.run = NoSuchMethodError
Is there anybody who had the same problem and can help me out coz I'm out of possibilities now... Greetings, Gunter -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Ralph Einfeldt Sent: vrijdag 19 juli 2002 09:51 To: Tomcat Users List Subject: AW: Apache/Tomcat/Mod_jk = setKeepAlive() in Ajp13Connector.run = NoSuchMethodError As i'm not a user of mod_jk, I won't burn my mouth. Maybe this link helps to answer your question: http://village.flashnet.it/users/fn048069/files/readme/jakarta.txt -Ursprüngliche Nachricht- Von: Gunter D'Hondt [mailto:[EMAIL PROTECTED]] Gesendet: Freitag, 19. Juli 2002 09:30 An: 'Tomcat Users List' Betreff: RE: Apache/Tomcat/Mod_jk = setKeepAlive() in Ajp13Connector.run = NoSuchMethodError I removed the WarpConnector but still the same error occurs... do I have to place a ajp13 connector in my Service name=Tomcat-Apache? -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] attachment: winmail.dat -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Cannot load mod_jk.dll into server!
I've tried it all but still I'm getting this error. Hasn't anybody else got this message and found a solution to it? I've tried installed mod_webapp first but that gave me the same error so now I'm trying with mod_jk but also with no luck. how can I connect my apache with tomcat then? I'm out of possibilities... Help me out pls! Gunter -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Jacob Kjome Sent: donderdag 11 juli 2002 15:05 To: Tomcat Users List Subject: RE: Cannot load mod_jk.dll into server! Hi Gunter, Try the following which I know works (change the paths to suit your setup) put the following in Apache's httpd.conf: Include C:/Program Files/Apache Group/Jakarta/tomcat-4.1.7/conf/jk/mod_jk.conf put the following in Tomcat's mod_jk.conf: IfModule !mod_jk.c LoadModule jk_module modules/mod_jk.dll /IfModule JkWorkersFile c:/Progra~1/Apache~1/Jakarta/tomcat-4.1.7/conf/jk/workers.properties JkLogFile c:/Progra~1/Apache~1/Jakarta/tomcat-4.1.7/logs/mod_jk.log JkLogLevel info VirtualHost localhost ServerName localhost JkMount /webdav ajp13 JkMount /webdav/* ajp13 JkMount /tomcat-docs ajp13 JkMount /tomcat-docs/* ajp13 JkMount /examples ajp13 JkMount /examples/* ajp13 JkMount /manager ajp13 JkMount /manager/* ajp13 /VirtualHost Put the following in your workers.properties: workers.tomcat_home=$(CATALINA_HOME) workers.java_home=$(JAVA_HOME) ps=\ worker.list=ajp13, ajp14 worker.ajp13.port=8009 worker.ajp13.host=localhost worker.ajp13.type=ajp13 worker.ajp13.lbfactor=1 worker.ajp13.cachesize=8 worker.ajp14.port=8011 worker.ajp14.host=localhost worker.ajp14.type=ajp14 worker.ajp14.secretkey=mysupersecretkey worker.ajp14.credentials=mysuperveryrandomentropy worker.ajp14.lbfactor=1 worker.ajp14.cachesize=8 worker.loadbalancer.type=lb worker.loadbalancer.balanced_workers=ajp13 worker.inprocess.type=jni worker.inprocess.class_path=$(workers.tomcat_home)$(ps)server${ps}lib$(ps)ca talina.jar worker.inprocess.cmd_line=start worker.inprocess.jvm_lib=$(workers.java_home)$(ps)jre$(ps)bin$(ps)server$(ps )jvm.dll worker.inprocess.stdout=$(workers.tomcat_home)$(ps)logs$(ps)inprocess.stdout worker.inprocess.stderr=$(workers.tomcat_home)$(ps)logs$(ps)inprocess.stderr There you go. If that doesn't work, something else is wrong. Jake At 10:28 AM 7/11/2002 +0200, you wrote: I've tried several possible ways of writing C:\Apache\modules\mod_jk.dll but with no luck. But when I check the file properties of the dll then I can see that Last accessed is always set to the datetime when I last ran apache -t so I think this should mean that apache DOES find the dll but cannot load it properly... Can anybody help me out? Gunter -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Ralph Einfeldt Sent: donderdag 11 juli 2002 10:08 To: Tomcat Users List Subject: AW: Cannot load mod_jk.dll into server! Obviously your mod_jk.conf is found. One guess: Make shure that c:\Apache\modules\mod_jk.dll is exactly equal to the real path (including case), normally windows isn't case sensitive but some applications are. (Can't remember if this is a problem for apache, my last install of apache under windows is to long ago) -Ursprüngliche Nachricht- Von: Gunter D'Hondt [mailto:[EMAIL PROTECTED]] Gesendet: Donnerstag, 11. Juli 2002 09:38 An: 'Tomcat Users List' Betreff: RE: Cannot load mod_jk.dll into server! IfModule !mod_jk.c LoadModule jk_module c:\Apache\modules\mod_jk.dll /IfModule JkWorkersFile c:\progra~1\apache~1.0\conf\jk\workers.properties JkLogFile c:\progra~1\apache~1.0\logs\mod_jk.log JkLogLevel info VirtualHost localhost ServerName localhost JkMount /webdav ajp13 JkMount /webdav/* ajp13 JkMount /tomcat-docs ajp13 JkMount /tomcat-docs/* ajp13 JkMount /examples ajp13 JkMount /examples/* ajp13 JkMount /manager ajp13 JkMount /manager/* ajp13 /VirtualHost Gunter -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Ralph Einfeldt Sent: donderdag 11 juli 2002 09:33 To: Tomcat Users List Subject: AW: Cannot load mod_jk.dll into server! Can you show us your LoadModule directive ? The log doesn't complain about not finding mod_jk.conf but mod_jk.dll. -Ursprüngliche Nachricht- Von: Gunter D'Hondt [mailto:[EMAIL PROTECTED]] Gesendet: Donnerstag, 11. Juli 2002 09:22 An: 'Tomcat Users List' Betreff: Cannot load mod_jk.dll into server! C:\Apache\binapache -t Syntax error on line 4 of C:/Program Files/Apache Tomcat 4.0/conf/auto/mod_jk.conf: Cannot load C:/Apache/modules/mod_jk.dll into server: The specified module could not be found. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED
RE: Cannot load mod_jk.dll into server!
Thanks for the tip but that also didn't fix it... it has full control for admins and everyone... i start apache and tomcat manually from the prompt so i'm using an admin user... Any other tips? Gunter -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Ralph Einfeldt Sent: vrijdag 12 juli 2002 08:29 To: Tomcat Users List Subject: AW: Cannot load mod_jk.dll into server! Just a shot in the dark: Have you verified, that the user that runs tomcat has the right to read that file? (As the access time changes, I assume that he has at least enough rights to read the directory) -Ursprüngliche Nachricht- Von: Gunter D'Hondt [mailto:[EMAIL PROTECTED]] Gesendet: Freitag, 12. Juli 2002 08:22 An: 'Tomcat Users List' Betreff: RE: Cannot load mod_jk.dll into server! I've tried it all but still I'm getting this error. Hasn't anybody else got this message and found a solution to it? -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] attachment: winmail.dat -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Correct version of mod_jk.dll for Apache 2.0.39
Who can send the correct version mod_jk.dll for Apache 2.0.39??? As I can see a lot of people are experiencing the same problem probably coz of the wrong (older) version of mod_jk.dll so if someone is running apache2.0.39 with mod_jk.dll running okay then send us your apache/modules/mod_jk.dll pls! Gunter -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Frederick Aubert Sent: vrijdag 12 juli 2002 13:44 To: Tomcat Users List Subject: Re: Cannot load mod_jk.dll into server! Hi, I am experiencing more or less the same problem. I just got an hand on a mod_jk version (120kb) and Apache is telling me it can't load it properly (module not found) although the mod_jk.dll is correctly located and the path is set to match its location... However a couple of monthes ago, I did succeed with Apache 2.0.35 and Tomcat 4.0.4. But now when I upgraded to Apache 2.0.39 and Tomcat 4.1.7 it doesn't work anymore. Besides when I am using the mod_jk.dll I used to use (70kb) then I am being told to check for a newer version of the mod_jk.dll. Does it make any sense? If anyone succeeded, or did succeed with any other connector under these settings, then please write me ;O) Sincerely, Frederick Aubert PS: my settings are pretty much the same as the one Jacob's suggested... Hi Gunter, Try the following which I know works (change the paths to suit your setup) put the following in Apache's httpd.conf: Include C:/Program Files/Apache Group/Jakarta/tomcat-4.1.7/conf/jk/mod_jk.conf put the following in Tomcat's mod_jk.conf: IfModule !mod_jk.c LoadModule jk_module modules/mod_jk.dll /IfModule JkWorkersFile c:/Progra~1/Apache~1/Jakarta/tomcat-4.1.7/conf/jk/workers.properties JkLogFile c:/Progra~1/Apache~1/Jakarta/tomcat-4.1.7/logs/mod_jk.log JkLogLevel info VirtualHost localhost ServerName localhost JkMount /webdav ajp13 JkMount /webdav/* ajp13 JkMount /tomcat-docs ajp13 JkMount /tomcat-docs/* ajp13 JkMount /examples ajp13 JkMount /examples/* ajp13 JkMount /manager ajp13 JkMount /manager/* ajp13 /VirtualHost Put the following in your workers.properties: workers.tomcat_home=$(CATALINA_HOME) workers.java_home=$(JAVA_HOME) ps=\ worker.list=ajp13, ajp14 worker.ajp13.port=8009 worker.ajp13.host=localhost worker.ajp13.type=ajp13 worker.ajp13.lbfactor=1 worker.ajp13.cachesize=8 worker.ajp14.port=8011 worker.ajp14.host=localhost worker.ajp14.type=ajp14 worker.ajp14.secretkey=mysupersecretkey worker.ajp14.credentials=mysuperveryrandomentropy worker.ajp14.lbfactor=1 worker.ajp14.cachesize=8 worker.loadbalancer.type=lb worker.loadbalancer.balanced_workers=ajp13 worker.inprocess.type=jni worker.inprocess.class_path=$(workers.tomcat_home)$(ps)server${ps}lib$(ps)ca ta lina.jar worker.inprocess.cmd_line=start worker.inprocess.jvm_lib=$(workers.java_home)$(ps)jre$(ps)bin$(ps)server$(ps )j vm.dll worker.inprocess.stdout=$(workers.tomcat_home)$(ps)logs$(ps)inprocess.stdout worker.inprocess.stderr=$(workers.tomcat_home)$(ps)logs$(ps)inprocess.stderr There you go. If that doesn't work, something else is wrong. Jake At 10:28 AM 7/11/2002 +0200, you wrote: I've tried several possible ways of writing C:\Apache\modules\mod_jk.dll but with no luck. But when I check the file properties of the dll then I can see that Last accessed is always set to the datetime when I last ran apache -t so I think this should mean that apache DOES find the dll but cannot load it properly... Can anybody help me out? Gunter -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Ralph Einfeldt Sent: donderdag 11 juli 2002 10:08 To: Tomcat Users List Subject: AW: Cannot load mod_jk.dll into server! Obviously your mod_jk.conf is found. One guess: Make shure that c:\Apache\modules\mod_jk.dll is exactly equal to the real path (including case), normally windows isn't case sensitive but some applications are. (Can't remember if this is a problem for apache, my last install of apache under windows is to long ago) -Ursprüngliche Nachricht- Von: Gunter D'Hondt [mailto:[EMAIL PROTECTED]] Gesendet: Donnerstag, 11. Juli 2002 09:38 An: 'Tomcat Users List' Betreff: RE: Cannot load mod_jk.dll into server! IfModule !mod_jk.c LoadModule jk_module c:\Apache\modules\mod_jk.dll /IfModule JkWorkersFile c:\progra~1\apache~1.0\conf\jk\workers.properties JkLogFile c:\progra~1\apache~1.0\logs\mod_jk.log JkLogLevel info VirtualHost localhost ServerName localhost JkMount /webdav ajp13 JkMount /webdav/* ajp13 JkMount /tomcat-docs ajp13 JkMount /tomcat-docs/* ajp13 JkMount /examples ajp13 JkMount /examples/* ajp13 JkMount /manager ajp13 JkMount /manager/* ajp13 /VirtualHost Gunter -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Ralph Einfeldt Sent: donderdag 11 juli
RE: Cannot load mod_jk.dll into server!
guess: Make shure that c:\Apache\modules\mod_jk.dll is exactly equal to the real path (including case), normally windows isn't case sensitive but some applications are. (Can't remember if this is a problem for apache, my last install of apache under windows is to long ago) -Ursprüngliche Nachricht- Von: Gunter D'Hondt [mailto:[EMAIL PROTECTED]] Gesendet: Donnerstag, 11. Juli 2002 09:38 An: 'Tomcat Users List' Betreff: RE: Cannot load mod_jk.dll into server! IfModule !mod_jk.c LoadModule jk_module c:\Apache\modules\mod_jk.dll /IfModule JkWorkersFile c:\progra~1\apache~1.0\conf\jk\workers.properties JkLogFile c:\progra~1\apache~1.0\logs\mod_jk.log JkLogLevel info VirtualHost localhost ServerName localhost JkMount /webdav ajp13 JkMount /webdav/* ajp13 JkMount /tomcat-docs ajp13 JkMount /tomcat-docs/* ajp13 JkMount /examples ajp13 JkMount /examples/* ajp13 JkMount /manager ajp13 JkMount /manager/* ajp13 /VirtualHost Gunter -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Ralph Einfeldt Sent: donderdag 11 juli 2002 09:33 To: Tomcat Users List Subject: AW: Cannot load mod_jk.dll into server! Can you show us your LoadModule directive ? The log doesn't complain about not finding mod_jk.conf but mod_jk.dll. -Ursprüngliche Nachricht- Von: Gunter D'Hondt [mailto:[EMAIL PROTECTED]] Gesendet: Donnerstag, 11. Juli 2002 09:22 An: 'Tomcat Users List' Betreff: Cannot load mod_jk.dll into server! C:\Apache\binapache -t Syntax error on line 4 of C:/Program Files/Apache Tomcat 4.0/conf/auto/mod_jk.conf: Cannot load C:/Apache/modules/mod_jk.dll into server: The specified module could not be found. -- 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] --- (`-''-/).___..--''`-._ `6_ 6 ) `-. ( ).`-.__.`) Frederick Aubert (_Y_.)' ._ ) `._ `. ``-..-' _..`--'_..-_/ /--'_.' ,'[EMAIL PROTECTED] (il),-'' (li),' ((!.-' --- -- 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: Correct version of mod_jk.dll for Apache 2.0.39
YES!!! The mod_jk.dll on the link below is the one that works for me and I'm using 2.0.39! The mod_jk.dll that I was using was 120kb while this one is about 70kb Gunter -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Nikolas A. Rathert Sent: vrijdag 12 juli 2002 13:56 To: Tomcat Users List Subject: Re: Correct version of mod_jk.dll for Apache 2.0.39 Is this not the newest version for Win32 based systems? http://www.acg-gmbh.de/mod_jk/ Cheers, Nick Did you finally switch to the other Apache Version? Gunter D'Hondt wrote: Who can send the correct version mod_jk.dll for Apache 2.0.39??? As I can see a lot of people are experiencing the same problem probably coz of the wrong (older) version of mod_jk.dll so if someone is running apache2.0.39 with mod_jk.dll running okay then send us your apache/modules/mod_jk.dll pls! Gunter -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Frederick Aubert Sent: vrijdag 12 juli 2002 13:44 To: Tomcat Users List Subject: Re: Cannot load mod_jk.dll into server! Hi, I am experiencing more or less the same problem. I just got an hand on a mod_jk version (120kb) and Apache is telling me it can't load it properly (module not found) although the mod_jk.dll is correctly located and the path is set to match its location... However a couple of monthes ago, I did succeed with Apache 2.0.35 and Tomcat 4.0.4. But now when I upgraded to Apache 2.0.39 and Tomcat 4.1.7 it doesn't work anymore. Besides when I am using the mod_jk.dll I used to use (70kb) then I am being told to check for a newer version of the mod_jk.dll. Does it make any sense? If anyone succeeded, or did succeed with any other connector under these settings, then please write me ;O) Sincerely, Frederick Aubert PS: my settings are pretty much the same as the one Jacob's suggested... Hi Gunter, Try the following which I know works (change the paths to suit your setup) put the following in Apache's httpd.conf: Include C:/Program Files/Apache Group/Jakarta/tomcat-4.1.7/conf/jk/mod_jk.conf put the following in Tomcat's mod_jk.conf: IfModule !mod_jk.c LoadModule jk_module modules/mod_jk.dll /IfModule JkWorkersFile c:/Progra~1/Apache~1/Jakarta/tomcat-4.1.7/conf/jk/workers.properties JkLogFile c:/Progra~1/Apache~1/Jakarta/tomcat-4.1.7/logs/mod_jk.log JkLogLevel info VirtualHost localhost ServerName localhost JkMount /webdav ajp13 JkMount /webdav/* ajp13 JkMount /tomcat-docs ajp13 JkMount /tomcat-docs/* ajp13 JkMount /examples ajp13 JkMount /examples/* ajp13 JkMount /manager ajp13 JkMount /manager/* ajp13 /VirtualHost Put the following in your workers.properties: workers.tomcat_home=$(CATALINA_HOME) workers.java_home=$(JAVA_HOME) ps=\ worker.list=ajp13, ajp14 worker.ajp13.port=8009 worker.ajp13.host=localhost worker.ajp13.type=ajp13 worker.ajp13.lbfactor=1 worker.ajp13.cachesize=8 worker.ajp14.port=8011 worker.ajp14.host=localhost worker.ajp14.type=ajp14 worker.ajp14.secretkey=mysupersecretkey worker.ajp14.credentials=mysuperveryrandomentropy worker.ajp14.lbfactor=1 worker.ajp14.cachesize=8 worker.loadbalancer.type=lb worker.loadbalancer.balanced_workers=ajp13 worker.inprocess.type=jni worker.inprocess.class_path=$(workers.tomcat_home)$(ps)server${ps}lib$(ps)ca ta lina.jar worker.inprocess.cmd_line=start worker.inprocess.jvm_lib=$(workers.java_home)$(ps)jre$(ps)bin$(ps)server$(ps )j vm.dll worker.inprocess.stdout=$(workers.tomcat_home)$(ps)logs$(ps)inprocess.stdout worker.inprocess.stderr=$(workers.tomcat_home)$(ps)logs$(ps)inprocess.stderr There you go. If that doesn't work, something else is wrong. Jake At 10:28 AM 7/11/2002 +0200, you wrote: I've tried several possible ways of writing C:\Apache\modules\mod_jk.dll but with no luck. But when I check the file properties of the dll then I can see that Last accessed is always set to the datetime when I last ran apache -t so I think this should mean that apache DOES find the dll but cannot load it properly... Can anybody help me out? Gunter -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Ralph Einfeldt Sent: donderdag 11 juli 2002 10:08 To: Tomcat Users List Subject: AW: Cannot load mod_jk.dll into server! Obviously your mod_jk.conf is found. One guess: Make shure that c:\Apache\modules\mod_jk.dll is exactly equal to the real path (including case), normally windows isn't case sensitive but some applications are. (Can't remember if this is a problem for apache, my last install of apache under windows is to long ago) -Ursprüngliche Nachricht- Von: Gunter D'Hondt [mailto:[EMAIL PROTECTED]] Gesendet: Donnerstag, 11. Juli 2002 09:38 An: 'Tomcat Users List' Betreff: RE: Cannot load mod_jk.dll into server! IfModule !mod_jk.c LoadModule jk_module c:\Apache\modules\mod_jk.dll /IfModule JkWorkersFile c:\progra~1\apache
NoSuchMethod at Ajp13Connector.run()
Now that I finally got the mod_jk running with my apache2.0.39 and tomcat4.0.4 now I'm getting this error in my tomcat dos box: java.lang.NoSuchMethodError: java.net.Socket: method setKeepAlive(Z)V not found at org.apache.ajp.tomcat4.Ajp13Connector.run(Ajp13Connector.java, Compiled Code) at java.lang.Thread.run(Thread.java:479) I can see the apache/htdocs but when I try http://localhost/examples/ I'm getting this error... I just followed the guide on www.galatea.com/flashguides/apache-tomcat-24-win32.xml Greetings, Gunter -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Cannot load mod_jk.dll into server!
I've copied mod_jk.dll into c:\apache\modules\ and added the include statement in my httpd.conf for the tomcat\conf\auto\mod_jk.conf but when running apache -t I get this: C:\Apache\binapache -t Syntax error on line 4 of C:/Program Files/Apache Tomcat 4.0/conf/auto/mod_jk.conf: Cannot load C:/Apache/modules/mod_jk.dll into server: The specified module could not be found. My include statement after the loadmodule statements: Include c:\progra~1\apache~1.0\conf\auto\mod_jk.conf Is apache having troubles with the / and \? I'm following the guide on http://www.galatea.com/flashguides/apache-tomcat-24-win32.xml and adjusted Tomcat already which starts up fine but Apache not. Soft: nt4, apache2.0.39, tomcat4.0.4, jdk1.22 Gunter -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Cannot load mod_jk.dll into server!
This is the file that tomcat generated automatically (I've changed all \ with / and backwards but still the same problem occurs without restarting tomcat) (I haven't got a mod_jk.c or mod_jk.so file): ## Auto generated on Thu Jul 11 09:16:58 CEST 2002## IfModule !mod_jk.c LoadModule jk_module c:\Apache\modules\mod_jk.dll /IfModule JkWorkersFile c:\progra~1\apache~1.0\conf\jk\workers.properties JkLogFile c:\progra~1\apache~1.0\logs\mod_jk.log JkLogLevel info VirtualHost localhost ServerName localhost JkMount /webdav ajp13 JkMount /webdav/* ajp13 JkMount /tomcat-docs ajp13 JkMount /tomcat-docs/* ajp13 JkMount /examples ajp13 JkMount /examples/* ajp13 JkMount /manager ajp13 JkMount /manager/* ajp13 /VirtualHost Gunter -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Ralph Einfeldt Sent: donderdag 11 juli 2002 09:33 To: Tomcat Users List Subject: AW: Cannot load mod_jk.dll into server! Can you show us your LoadModule directive ? The log doesn't complain about not finding mod_jk.conf but mod_jk.dll. -Ursprüngliche Nachricht- Von: Gunter D'Hondt [mailto:[EMAIL PROTECTED]] Gesendet: Donnerstag, 11. Juli 2002 09:22 An: 'Tomcat Users List' Betreff: Cannot load mod_jk.dll into server! C:\Apache\binapache -t Syntax error on line 4 of C:/Program Files/Apache Tomcat 4.0/conf/auto/mod_jk.conf: Cannot load C:/Apache/modules/mod_jk.dll into server: The specified module could not be found. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] attachment: winmail.dat -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Cannot load mod_jk.dll into server!
I've tried several possible ways of writing C:\Apache\modules\mod_jk.dll but with no luck. But when I check the file properties of the dll then I can see that Last accessed is always set to the datetime when I last ran apache -t so I think this should mean that apache DOES find the dll but cannot load it properly... Can anybody help me out? Gunter -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Ralph Einfeldt Sent: donderdag 11 juli 2002 10:08 To: Tomcat Users List Subject: AW: Cannot load mod_jk.dll into server! Obviously your mod_jk.conf is found. One guess: Make shure that c:\Apache\modules\mod_jk.dll is exactly equal to the real path (including case), normally windows isn't case sensitive but some applications are. (Can't remember if this is a problem for apache, my last install of apache under windows is to long ago) -Ursprüngliche Nachricht- Von: Gunter D'Hondt [mailto:[EMAIL PROTECTED]] Gesendet: Donnerstag, 11. Juli 2002 09:38 An: 'Tomcat Users List' Betreff: RE: Cannot load mod_jk.dll into server! IfModule !mod_jk.c LoadModule jk_module c:\Apache\modules\mod_jk.dll /IfModule JkWorkersFile c:\progra~1\apache~1.0\conf\jk\workers.properties JkLogFile c:\progra~1\apache~1.0\logs\mod_jk.log JkLogLevel info VirtualHost localhost ServerName localhost JkMount /webdav ajp13 JkMount /webdav/* ajp13 JkMount /tomcat-docs ajp13 JkMount /tomcat-docs/* ajp13 JkMount /examples ajp13 JkMount /examples/* ajp13 JkMount /manager ajp13 JkMount /manager/* ajp13 /VirtualHost Gunter -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Ralph Einfeldt Sent: donderdag 11 juli 2002 09:33 To: Tomcat Users List Subject: AW: Cannot load mod_jk.dll into server! Can you show us your LoadModule directive ? The log doesn't complain about not finding mod_jk.conf but mod_jk.dll. -Ursprüngliche Nachricht- Von: Gunter D'Hondt [mailto:[EMAIL PROTECTED]] Gesendet: Donnerstag, 11. Juli 2002 09:22 An: 'Tomcat Users List' Betreff: Cannot load mod_jk.dll into server! C:\Apache\binapache -t Syntax error on line 4 of C:/Program Files/Apache Tomcat 4.0/conf/auto/mod_jk.conf: Cannot load C:/Apache/modules/mod_jk.dll into server: The specified module could not be found. -- 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] attachment: winmail.dat -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: help with apache tomcat webserver
Let the personA do a ping to your ip... if that works then it's strange... if not then it's a network problem... ping 64.161.27.180 or let him do a telnet 64.161.27.180 8080 Gunter -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Jonathan Zhang Sent: vrijdag 12 juli 2002 07:23 To: Tomcat Users List Subject: Re: help with apache tomcat webserver yeah it is odd. I am not even changing any context yet. In the log files, I can not find the ip of the person(who's in hk) who's trying to access my site. But oddly another person also in hk could access my site. I don't understand this random behavior. What's more odd is that I can access personA's site and she's running the same tomcat webserver, but personA cannot access my site. what's wrong? thank you for the help - Original Message - From: Eddie Bush [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Thursday, July 11, 2002 9:56 PM Subject: Re: help with apache tomcat webserver That's kind of odd. I was able to pull your server up and run the number guess game. To me, that indicates you have things set up right (at least for the ROOT application). Is this the context you're having problems with? What do you find in the log files? I'd look in the log files and see if you can determine anything from what you find there. HTH, Eddie Jonathan Zhang wrote: Everything is in default condition as provided by apache tomcat 4.0. People in foreign countries such as hk and china can not view it while people in US can. if it helps here's my ip addr: http://64.161.27.180:8080/index.html thanks for the help -jonathan -- 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: Where to place .jars
I've never experienced any probs with jars made in Sybase EAS and we are running the application server for a while now on multiple projects with success, so I could only recommend it Gunter -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Shapira, Yoav Sent: woensdag 10 juli 2002 14:31 To: Tomcat Users List Subject: RE: Where to place .jars Howdy, You may have to unpack your 3rd party jars, and repack them with only the classes you want. This is a sucky (official technical term) situation, as one shouldn't fuss around with 3rd party jars ;( However, I know other people have run into this with Sybase EAS jars and this is the solution that worked for them. As an aside, I have a deep and profound dislike for that product (Sybase EAS) and refuse to use it for anything, having watch it fail on numerous projects. Yoav Shapira Millennium ChemInformatics -Original Message- From: Makota, Tarik [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 09, 2002 5:46 PM To: '[EMAIL PROTECTED]' Subject: Where to place .jars Hi, I'm runing Tomcat 4.0.4 and have a problem once I place 3-rd party .jars into CLASSLOADER path. These are Sybase EAServer jars. It appears that these jars contain the same classes as found in tomcat. So depending on where I place these jars i get varios messages xmlParser, null object etc. I tried all of the directories CLASSLOADER takes in consideration but no luck. WEB-INF/classes /WEB-INF/lib/*.jar Bootstrap classes of JVM System class loader classses $CATALINA_HOME/common/classes $CATALINA_HOME/common/lib/*.jar $CATALINA_HOME/classes $CATALINA_HOME/lib/*.jar Any suggestions? Thanks Tarik -- To unsubscribe, e-mail: mailto:tomcat-user- [EMAIL PROTECTED] For additional commands, e-mail: mailto:tomcat-user- [EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] attachment: winmail.dat -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: webapp_module = apache problem when starting
I've re-installed Apache and under a directory without any spaces and I still get this problem: C:\Apache\binapache -t Syntax error on line 173 of C:/Apache/conf/httpd.conf: Cannot load C:/Apache/modules/mod_webapp.so into server: The specified module co uld not be found. What's the difference between mod_webapp and mod_jk? Gunter -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of robert rowntree Sent: vrijdag 5 juli 2002 18:20 To: [EMAIL PROTECTED] Subject: RE: webapp_module = apache problem when starting you've got spaces in your path! you may want to check the lists about how to deal with a path to your mod_webapp.so where spaces are involved. see: http://www.galatea.com/flashguides/index and select from the list of links your exact combination under the windows sections for the connector implementation, there are notes about tricky paths with spaces in them. BTW - im using AJP connector on Win2k ( mod_jk.dll ) and it is working. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] Original message: I configured Apache 2.0.39 correctly and Tomcat 4.0.4 (Win NT4) Now I'm changing the httpd.conf of Apache with LoadModule webapp_module modules/mod_webapp.so AddModule mod_webapp.c and I've placed the mod_webapp.so in the \modules directory and also the libapr.dll in the same directory but when starting Apache I get the following: C:\PROGRA~1\Apache Group\Apache2\binapache Syntax error on line 173 of C:/Program Files/Apache Group/Apache2/conf/httpd.conf: Cannot load C:/Program Files/Apache Group/Apache2/modules/mod_webapp.so into server: The specified module could not be found. Am I placing the dll in the wrong directory or what? Greetings, Gunter. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
webapp_module = apache problem when starting
I configured Apache 2.0.39 correctly and Tomcat 4.0.4 (Win NT4) Now I'm changing the httpd.conf of Apache with LoadModule webapp_module modules/mod_webapp.so AddModule mod_webapp.c and I've placed the mod_webapp.so in the \modules directory and also the libapr.dll in the same directory but when starting Apache I get the following: C:\PROGRA~1\Apache Group\Apache2\binapache Syntax error on line 173 of C:/Program Files/Apache Group/Apache2/conf/httpd.conf: Cannot load C:/Program Files/Apache Group/Apache2/modules/mod_webapp.so into server: The specified module could not be found. Am I placing the dll in the wrong directory or what? Greetings, Gunter. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Installation successfull but still problems!
I've installed Tomcat 4.0 as described in the running.txt file and http://localhost:8080/ gives me the welcome page back. And if I try the Servlet Examples it works good but the JSP Examples (for example: http://localhost:8080/examples/jsp/num/numguess.jsp) always gives me the error below. What can I do to fix this? The error I get in my browser: type Exception report message Internal Server Error description The server encountered an internal error (Internal Server Error) that prevented it from fulfilling this request. exception javax.servlet.ServletException: sun/tools/javac/Main at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:481) 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:243) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja va:190) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase .java:475) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 64) at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:2 46) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 64) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180 ) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve. java:170) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 64) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170 ) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 64) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 64) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java :174) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java: 1027) at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1125 ) at java.lang.Thread.run(Unknown Source) root cause java.lang.NoClassDefFoundError: sun/tools/javac/Main at org.apache.jasper.compiler.SunJavaCompiler.compile(SunJavaCompiler.java:136) at org.apache.jasper.compiler.Compiler.compile(Compiler.java:272) at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:548) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspSe rvlet.java:176) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.ja va:188) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:381) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:473) 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:243) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at
RE: Installation successfull but still problems!
I've did that but now I'm getting: org.apache.jasper.JasperException: Unable to compile class for JSPerror: Invalid class file format in C:\Program Files\Java\j2re1.4.0_01\lib\rt.jar(java/lang/Object.class). The major.minor version '48.0' is too recent for this tool to understand. C:\Program Files\Apache Tomcat 4.0\work\Standalone\localhost\examples\jsp\num\numguess$jsp.java:0: Class java.lang.Object not found in class javax.servlet.GenericServlet. package org.apache.jsp; ^ I've added the tools.jar to the lib directory from jdk and added it to my classpath. Greetings, Gunter -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Anoop Kumar V Sent: donderdag 4 juli 2002 12:20 To: 'Tomcat Users List' Subject: RE: Installation successfull but still problems! Pls include tools.jar in ur classpath and then everything wd be fine.. -anoop -Original Message- From: Gunter D'Hondt [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 04, 2002 3:32 PM To: 'Tomcat Users List' Subject: Installation successfull but still problems! I've installed Tomcat 4.0 as described in the running.txt file and http://localhost:8080/ gives me the welcome page back. And if I try the Servlet Examples it works good but the JSP Examples (for example: http://localhost:8080/examples/jsp/num/numguess.jsp) always gives me the error below. What can I do to fix this? The error I get in my browser: type Exception report message Internal Server Error description The server encountered an internal error (Internal Server Error) that prevented it from fulfilling this request. exception javax.servlet.ServletException: sun/tools/javac/Main at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:481) 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:243) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja va:190) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase .java:475) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 64) at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:2 46) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 64) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180 ) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve. java:170) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 64) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170 ) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 64) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 64) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java :174) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java: 1027) at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1125 ) at java.lang.Thread.run(Unknown Source) root cause java.lang.NoClassDefFoundError: sun/tools/javac/Main at org.apache.jasper.compiler.SunJavaCompiler.compile(SunJavaCompiler.java:136) at org.apache.jasper.compiler.Compiler.compile(Compiler.java:272) at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:548
RE: Installation successfull but still problems!
I've changed it to progra~1 in my classpath but still the problem remains: org.apache.jasper.JasperException: Unable to compile class for JSPerror: Invalid class file format in C:\Progra~1\Java\j2re1.4.0_01\lib\rt.jar(java/lang/Object.class). The major.minor version '48.0' is too recent for this tool to understand. C:\Program Files\Apache Tomcat 4.0\work\Standalone\localhost\examples\jsp\num\numguess$jsp.java:0: Class java.lang.Object not found in class javax.servlet.GenericServlet. package org.apache.jsp; I've got JAVA_HOME and CATALINA_HOME set up (all with progra~1) and the tools.jar is in %JAVA_HOME%\lib\tools.jar. Another problem that I've got is when starting the service Apache Tomcat I get an internal NT error. What is the reason of this error? I can manually start tomcat with the startup/shutdown commands without any probs. Gunter -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Anoop Kumar V Sent: donderdag 4 juli 2002 12:40 To: 'Tomcat Users List' Subject: RE: Installation successfull but still problems! Ok..i guess i know the prob.. try using progra~1 in ur classpath in place of program files, or else include th ewhole path within double quotes . This shd do the trick. -anoop -Original Message- From: Gunter D'Hondt [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 04, 2002 4:06 PM To: 'Tomcat Users List' Subject: RE: Installation successfull but still problems! I've did that but now I'm getting: org.apache.jasper.JasperException: Unable to compile class for JSPerror: Invalid class file format in C:\Program Files\Java\j2re1.4.0_01\lib\rt.jar(java/lang/Object.class). The major.minor version '48.0' is too recent for this tool to understand. C:\Program Files\Apache Tomcat 4.0\work\Standalone\localhost\examples\jsp\num\numguess$jsp.java:0: Class java.lang.Object not found in class javax.servlet.GenericServlet. package org.apache.jsp; ^ I've added the tools.jar to the lib directory from jdk and added it to my classpath. Greetings, Gunter -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Anoop Kumar V Sent: donderdag 4 juli 2002 12:20 To: 'Tomcat Users List' Subject: RE: Installation successfull but still problems! Pls include tools.jar in ur classpath and then everything wd be fine.. -anoop -Original Message- From: Gunter D'Hondt [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 04, 2002 3:32 PM To: 'Tomcat Users List' Subject: Installation successfull but still problems! I've installed Tomcat 4.0 as described in the running.txt file and http://localhost:8080/ gives me the welcome page back. And if I try the Servlet Examples it works good but the JSP Examples (for example: http://localhost:8080/examples/jsp/num/numguess.jsp) always gives me the error below. What can I do to fix this? The error I get in my browser: type Exception report message Internal Server Error description The server encountered an internal error (Internal Server Error) that prevented it from fulfilling this request. exception javax.servlet.ServletException: sun/tools/javac/Main at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:481) 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:243) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja va:190) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase .java:475) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 64) at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:2 46) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 64) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180 ) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve. java:170
RE: Installation successfull but still problems!
I've got JDK1.2 running for use with Jaguar application server (Sybase EAS). I cannot remove those environment settings since they are being used by other programs. Can't I install JDK1.4 next to it and let only Tomcat use the JDK1.4 and not the JDK1.2? In my environment variables I've got a JDK_LATEST and JRE_LATEST which refer to the JDK1.2 version. Also in my classpath the jar files of JDK1.2 are included. Gunter -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Ralph Einfeldt Sent: donderdag 4 juli 2002 13:53 To: Tomcat Users List Subject: AW: Installation successfull but still problems! Sounds as if the java compiler that is used by tomcat is an older version than the java that contains the the rt.jar. Do you have an older jdk/jre version on your computer ? If so are you shure you deleted all traces from the environment and the registry ? -Ursprüngliche Nachricht- Von: Gunter D'Hondt [mailto:[EMAIL PROTECTED]] Gesendet: Donnerstag, 4. Juli 2002 13:40 An: 'Tomcat Users List' Betreff: RE: Installation successfull but still problems! org.apache.jasper.JasperException: Unable to compile class for JSPerror: Invalid class file format in C:\Progra~1\Java\j2re1.4.0_01\lib\rt.jar(java/lang/Object.class). The major.minor version '48.0' is too recent for this tool to understand. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] attachment: winmail.dat -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Installation successfull but still problems!
I've been cleaning up my pc coz I've had 1.1.8, 1.2 (twice), 1.3 and 1.4 of JDK installed which doesn't make it easier ofcoz... Now I've only got JDK 1.22 installed which is being used by Jaguar and JDK 1.4 which I would like to use for Tomcat. The JAVA_HOME is set up correctly and the registry settings Java Runtime settings are also set correct. Can anybody help me out? Gunter -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Ralph Einfeldt Sent: donderdag 4 juli 2002 14:40 To: Tomcat Users List Subject: AW: Installation successfull but still problems! AFAIK there are some registry keys that are use by java, if one shows to the wrong version, there is nothing that tomcat do about that. I'm not using jdk and tomcat under windows, so I can't give you more advice. -Ursprüngliche Nachricht- Von: Gunter D'Hondt [mailto:[EMAIL PROTECTED]] Gesendet: Donnerstag, 4. Juli 2002 14:00 An: 'Tomcat Users List' Betreff: RE: Installation successfull but still problems! I've got JDK1.2 running for use with Jaguar application server (Sybase EAS). I cannot remove those environment settings since they are being used by other programs. Can't I install JDK1.4 next to it and let only Tomcat use the JDK1.4 and not the JDK1.2? In my environment variables I've got a JDK_LATEST and JRE_LATEST which refer to the JDK1.2 version. Also in my classpath the jar files of JDK1.2 are included. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] attachment: winmail.dat -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]