Installing tomcat 5 on BSD 5
I'm trying to install tomcat onto a new FreeBSD system but I am getting an error when I try to start the server. After modifying setclasspath.sh to output more information and to use classes.zip, I ran catalina.sh and got the following output: # ./catalina.sh run Using CATALINA_BASE: /usr/local/jakarta-tomcat-5.0.18 Using CATALINA_HOME: /usr/local/jakarta-tomcat-5.0.18 Using CATALINA_TMPDIR: /usr/local/jakarta-tomcat-5.0.18/temp Using JAVA_HOME: /usr/local/jdk1.1.8 Using CLASSPATH: /usr/local/jdk1.1.8/lib/classes.zip:/usr/local/jakarta-tomcat-5.0.18/ bin/bootstrap.jar:/usr/local/jakarta-tomcat-5.0.18/bin/commons-logging- api.jar Error loading class org.apache.catalina.startup.Bootstrap: Bad major version number My java version is 1.1.8. Will Tomcat 5 run under this version of java? (I'm starting to think no) -- The ability to destroy a planet is insignificant next to the power of the Force. -Darth Vader, Sith Lord. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Installing tomcat 5 on BSD 5
Do you know which versions of java are required for each of the versions of Tomcat (3, 4, 5)? Specifically, which will run under 1.1.8? Upgrading my java is not a trivial task, I will have to compile my own copy of jdk. -- It is pointless to resist. - Darth Vader, Sith Lord On Feb 12, 2004, at 7:43 AM, Arnab Chakravarty wrote: Bad major version numbers are result of classes compiled on 2 different version of jdk. Please upgrade you jvm and then see if it helps (preferable jdk1.4 and up). Arnab C -Original Message- From: Thomas Cherry [mailto:[EMAIL PROTECTED] Sent: Thursday, February 12, 2004 5:42 PM To: Tomcat Users List Subject: Installing tomcat 5 on BSD 5 I'm trying to install tomcat onto a new FreeBSD system but I am getting an error when I try to start the server. After modifying setclasspath.sh to output more information and to use classes.zip, I ran catalina.sh and got the following output: # ./catalina.sh run Using CATALINA_BASE: /usr/local/jakarta-tomcat-5.0.18 Using CATALINA_HOME: /usr/local/jakarta-tomcat-5.0.18 Using CATALINA_TMPDIR: /usr/local/jakarta-tomcat-5.0.18/temp Using JAVA_HOME: /usr/local/jdk1.1.8 Using CLASSPATH: /usr/local/jdk1.1.8/lib/classes.zip:/usr/local/jakarta-tomcat-5.0.18/ bin/bootstrap.jar:/usr/local/jakarta-tomcat-5.0.18/bin/commons-logging- api.jar Error loading class org.apache.catalina.startup.Bootstrap: Bad major version number My java version is 1.1.8. Will Tomcat 5 run under this version of java? (I'm starting to think no) -- The ability to destroy a planet is insignificant next to the power of the Force. -Darth Vader, Sith Lord. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: How do I build mod_jk.so
Why do I care if the lib is static or not? Recompiling Apache sounds like a lot of work just because I want to compile mod_jk, and to be honest, this does not really seam to answer my questions. Why would I even bother with the ant build and not just compile what is in the native2 directory? -- Fear is the path to the Dark Side. Fear leads to anger, anger leads to hate, hate leads to suffering-- Yoda, Jedi Master On Jan 29, 2004, at 3:54 AM, OUTTERS Guillaume wrote: Thomas Cherry wrote: I was expecting to have a mod_jk.so file (which made me question why ant was the build tool) but have not found it. I had this same problem on Solaris. I finally found that it couldn't generate a mod_jk2.so (dynamic library), only a static one (mod_jk2.a) because Apache didn't provide it dynamic libraries ($HTTPD_DIR/lib/libapr-0.so and $HTTPD_DIR/lib/libaprutil-0.so). I had only their static version, so mod_jk2 detected that and created everything in static. I recompiled Apache with a bunch of options (join lines as necessary): export HTTPD_DIR=/usr/local/httpd-2.0.48 ./configure --prefix=$HTTPD_DIR --enable-module=most --enable-shared=most --without-gdbm --without-berkeley-db --with-mpm=worker --with-pcre --enable-so --enable-rule=SHARED_CORE --enable-static=no --enable-shared=yes make , most of which must be unuseful but well it worked. I've heard that another static-compiled library on Linux could have this effect (but I don't remember which one, wondering if it is not PCRE), and that disabling it was the right solution. -- Guillaume Outters - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] smime.p7s Description: S/MIME cryptographic signature
Re: How do I build mod_jk.so
How can I tell if apache is already compiled with this option? -- It is pointless to resist. - Darth Vader, Sith Lord On Jan 29, 2004, at 4:10 AM, [EMAIL PROTECTED] wrote: while building apache use ./configure --enable-so option to make apache accept shared libraries.. u can also make change to httpd.conf file(i suppose,not sure) where u have a entry for like Shared library=no..make that to yes..and then make mod_jk.so Pavan Kumar Tata Consultancy Services Mailto: [EMAIL PROTECTED] Website: http:// www.tcs.comInterScan_Disclaimer.txt-- --- 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]
Re: How do I build mod_jk.so
When I try this on my system, I get the following error: could not find /usr/sbin/apxs configure: error: You must specify a valid --with-apxs path but this script does exist. I know it exists, because I had to fix it (was pointing to a bad path). -- It is pointless to resist. - Darth Vader, Sith Lord On Jan 29, 2004, at 4:28 AM, Joost Veldkamp wrote: I have a similar problem on Debian 3.0/stable. When i compile it, the .so file is not generated with no errors, the only error i can find is when I try to compile it with apxs manualy. Warning! dlname not found in /usr/local/apache2/modules/mod_jk2.la. compile options: ./configure \ --with-java-home=/usr/local/java \ --with-jni \ --with-tomcat41=/usr/local/tomcat \ --with-apxs2=/usr/local/apache2/bin/apxs \ --with-apr-include=/usr/local/apr/include/apr-0 However, if use the same setup on a Debian unstable system, everything compiles fine. I can't copy the binaries to the stable system because it uses a different libc. Does anyone know how i can locate the source of this problem? -- J On Thu, 2004-01-29 at 09:54, OUTTERS Guillaume wrote: Thomas Cherry wrote: I was expecting to have a mod_jk.so file (which made me question why ant was the build tool) but have not found it. I had this same problem on Solaris. I finally found that it couldn't generate a mod_jk2.so (dynamic library), only a static one (mod_jk2.a) because Apache didn't provide it dynamic libraries ($HTTPD_DIR/lib/libapr-0.so and $HTTPD_DIR/lib/libaprutil-0.so). I had only their static version, so mod_jk2 detected that and created everything in static. I recompiled Apache with a bunch of options (join lines as necessary): export HTTPD_DIR=/usr/local/httpd-2.0.48 ./configure --prefix=$HTTPD_DIR --enable-module=most --enable-shared=most --without-gdbm --without-berkeley-db --with-mpm=worker --with-pcre --enable-so --enable-rule=SHARED_CORE --enable-static=no --enable-shared=yes make , most of which must be unuseful but well it worked. I've heard that another static-compiled library on Linux could have this effect (but I don't remember which one, wondering if it is not PCRE), and that disabling it was the right solution. - 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]
Re: How do I build mod_jk.so
Is in not possible to use mod_jk.so files compiled by other people? I just want to know why it's so hard to find a binary. -- Don't underestimate the Force. - Darth Vader, Sith Lord. On Jan 29, 2004, at 6:05 AM, Joost Veldkamp wrote: Ok, good news, i copied the libtool(v 1.5) from the jk/native2 over the apache version(1.4.3), did a new clean make, and the .so was generated. -- Joost On Thu, 2004-01-29 at 10:54, [EMAIL PROTECTED] wrote: change the option # Whether or not to build shared libraries. build_libtool_libs=no in apache/build/libtool to # Whether or not to build shared libraries. build_libtool_libs=yes this worked for me... Pavan Kumar Tata Consultancy Services Mailto: [EMAIL PROTECTED] Website: http://www.tcs.com __ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: How do I build mod_jk.so
Intel (i686) Mandake 9.0 (which is probable the src of my problems (I wish I choice Debian or BSD)) # httpd -v Server version: Apache-AdvancedExtranetServer/1.3.26 (Mandrake Linux/6mdk) Server built: Sep 6 2002 19:52:32 -- Fear is the path to the Dark Side. Fear leads to anger, anger leads to hate, hate leads to suffering-- Yoda, Jedi Master On Jan 29, 2004, at 7:18 AM, Dima Gutzeit wrote: What is your OS and Apache versions ? - Original Message - From: Thomas Cherry [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Thursday, January 29, 2004 2:10 PM Subject: Re: How do I build mod_jk.so Is in not possible to use mod_jk.so files compiled by other people? I just want to know why it's so hard to find a binary. -- Don't underestimate the Force. - Darth Vader, Sith Lord. On Jan 29, 2004, at 6:05 AM, Joost Veldkamp wrote: Ok, good news, i copied the libtool(v 1.5) from the jk/native2 over the apache version(1.4.3), did a new clean make, and the .so was generated. -- Joost On Thu, 2004-01-29 at 10:54, [EMAIL PROTECTED] wrote: change the option # Whether or not to build shared libraries. build_libtool_libs=no in apache/build/libtool to # Whether or not to build shared libraries. build_libtool_libs=yes this worked for me... Pavan Kumar Tata Consultancy Services Mailto: [EMAIL PROTECTED] Website: http://www.tcs.com __ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
How do I build mod_jk.so
OK, first of all I tried to download mod_jk for linux and I could not find it. Maybe it exists, but I have always found Apache's download page to be lacking. So I downloaded the source code (jk2). I did what the README file said but found it to be wrong so I did what I could to get ant to compile the project but now I don't know what to do. I was expecting to have a mod_jk.so file (which made me question why ant was the build tool) but have not found it. Could someone tell me what I have done wrong. All I want to do is connect Apache and Tomcat and at ever step of the process I hit a road block. All documentation on the subject seems to be missing key information like how to actually build a connector) and I am starting to believe that the Tomcat project is is serious disarray. I hope I can be proved wrong. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Apache-tomcat integration
I am almost done configuring my site, but I have just a few more question (for now). I am using ajp13 to connect tomcat 4 with apache 1.3. Apache is running on port 81 and I want to know if have to do anything different when configuring server.xml as a result of my web site running on the non-standard port. Also, in my Service name=Tomcat-Apache tag block, there is no mention of ajp. Is this ok? Last, here is a few lines from my apache log: [Sat Aug 3 09:21:36 2002] [notice] Apache-AdvancedExtranetServer/1.3.22 (Mandrake Linux/1.1mdk) mod_jk mod_perl/1.26 configured -- resuming normal operations [Sat Aug 3 09:21:36 2002] [notice] Accept mutex: sysvsem (Default: sysvsem) [Sat Aug 3 09:21:40 2002] [error] [client 192.168.1.1] File does not exist: /var/www/html/examples/jsp/dates/date.jsp I assume that this means that apache is loading mod_jk, but why can it not find the examples directory? -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Apache/Tomcat Connectors List
Well, I installed the rpm version. Is it just not possible to use the RPM version of tomcat with apache? This is really frustrating to follow everyone's advice and not have it work. Now (after reading your webpage) I get a new error: java.lang.ClassNotFoundException: org.apache.ajp.tomcat4.config.ApacheConfig Should I uninstall the rpm and go get a binary? Which jar does ApacheConfig live in? on 08/02/2002 10:06 AM, [EMAIL PROTECTED] at [EMAIL PROTECTED] wrote: I don't know what to tell you. I built a tomcat 4 + apache 1.3 + mod_jk installation on Tuesday, and my server.xml has no definition for port 8109 at all. Period. Note that I don't use RPMs or any other sort of packages if I can help it. I built apache from source, mod_jk from source, and used the tomcat binary install (not the RPM). I only made 4 changes to my server.xml (I can post a diff if you like): 1) I changed name parameter in my Host container to match the ServerName in my httpd.conf. This also matches the host parameter in my workers.properties file 2) I added a Server-level Listener directive, per the tomcat docs 3) I added a Host-level Listener directive, per the tomcat docs 4) I added one Context for my web application That's it, and it works great with mod_jk. Everything I did is documented to death, step by step, in my HOWTO: http://www.johnturner.com/howto/apache-tomcat-howto.html As far as picking connectors goes, you just have to pick one and configure apache to use it. That's all. Deleting the unused connector configs in server.xml is not necessary to get apache working with tomcat. Tomcat comes with AJP and WARP enabled in server.xml by default...this is transparent to the user. In a production environment, you might want to delete the connectors that you aren't using, but again, it's not required to do this to get tomcat to work with apache. Hope this helps. John Turner [EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Apache-tomcat integration
Sorry for the delay, I have been busy. Ok, I have a mandrake system with Apache 1.3 and tomcat 4.01. I have a copy of mod_jk from tomcat 3.x and was thinking that I could reuse the same lib. I started configuring apache and tomcat but it does not seem to work so I am including the content of my config files in this letter. If someone could look at these settings and tell me what I did wrong, that would be great. Thanks. Last line in httpd.conf: Include /etc/tomcat4/conf/mod_jk.conf contents of /etc/tomcat4/conf/mod_jk.conf: LoadModule jk_module libexec/mod_jk.so JkWorkersFile /etc/tomcat4/conf/jk/workers.properties JkLogFile /var/tomcat4/logs/mod_jk.log JkLogLevel info AddModule mod_env.c JkMount /*.jsp ajp13 JkMount /servlet/* ajp13 JkMount /admin ajp13 JkMount /admin/* ajp13 JkMount /examples ajp13 JkMount /examples/* ajp13 JkMount /examples/servlet/* ajp13 JkMount /examples/jsp/* ajp13 #IfModule !mod_jk.c #/IfModule contents of /etc/tomcat4/conf/jk/workers.properties: workers.tomcat_home=/etc/tomcat4 workers.java_home=/usr/java/current ps=/ worker.list=ajp13 worker.ajp13.port=8009 worker.ajp13.host=localhost worker.ajp13.type=ajp13 worker.ajp13.lbfactor=1 contents of /etc/tomcat4/conf/tomcat4.conf: JAVA_HOME=/usr/java/current CATALINA_HOME=/var/tomcat4 JASPER_HOME=/var/tomcat4 TOMCAT_USER=tomcat On Friday, July 26, 2002, at 09:39 PM, tomcat-user-digest- [EMAIL PROTECTED] wrote: From: Turner, John [EMAIL PROTECTED] Date: Fri Jul 26, 2002 04:24:52 PM US/Eastern To: 'Tomcat Users List' [EMAIL PROTECTED] Subject: RE: Apache-tomcat integration It would help if you could give us more information, such as target operating system, etc. In general, there are all sorts of resources available, such as this one from the tomcat site: http://jakarta.apache.org/tomcat/tomcat-4.0-doc/config/ajp.html and this one, also from the tomcat site: http://jakarta.apache.org/tomcat/tomcat-4.0-doc/config/index.html Some people have found the resources here to be helpful: http://www.galatea.com/flashguides/index John Turner [EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Apache-tomcat integration
Apache runs just fine and I find it on the port I expect however tomcat does not run as I expect. http://my.host.com:8080/examples dose not respond. I do find a lot of java apps running when I do ps -U tomcat. Here are my error files: Apache_log.date.txt: 2002-07-31 17:21:06 [org.apache.catalina.connector.warp.WarpConnector] Error accepting requests java.net.SocketException: Socket closed at java.net.PlainSocketImpl.socketAccept(Native Method) at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:343) at java.net.ServerSocket.implAccept(ServerSocket.java:438) at java.net.ServerSocket.accept(ServerSocket.java:409) at org.apache.catalina.connector.warp.WarpConnector.run(WarpConnector.java) at java.lang.Thread.run(Thread.java:536) Catalina_log.date.txt: 2002-07-31 17:23:16 HttpConnector Opening server socket on all host IP addresses 2002-07-31 17:23:28 HttpConnector[8180] Starting background thread 2002-07-31 17:23:28 HttpProcessor[8180][0] Starting background thread 2002-07-31 17:23:28 Ajp13Connector[8109] Opening server socket on all host IP addresses 2002-07-31 17:23:28 Ajp13Connector[8109] Starting background thread 2002-07-31 17:23:28 Ajp13Processor[8109][0] Starting background thread Localhost_examples_log.date.txt: 2002-07-31 17:23:22 WebappLoader[/examples]: Deploying class repositories to work directory /var/tomcat4/work/localhost/examples 2002-07-31 17:23:22 WebappLoader[/examples]: Reloading checks are enabled for this Context 2002-07-31 17:23:22 StandardManager[/examples]: Seeding random number generator class java.security.SecureRandom 2002-07-31 17:23:22 StandardManager[/examples]: Seeding of random number generator has been completed 2002-07-31 17:23:24 ContextConfig[/examples]: Added certificates - request attribute Valve 2002-07-31 17:23:24 ContextConfig[/examples]: Configured an authenticator for method FORM 2002-07-31 17:23:24 ContextListener: contextInitialized() 2002-07-31 17:23:24 SessionListener: contextInitialized() 2002-07-31 17:23:24 ContextListener: attributeReplaced('org.apache.catalina.WELCOME_FILES', '[Ljava.lang.String;@385660') 2002-07-31 17:23:24 StandardWrapper[/examples:default]: Loading container servlet default 2002-07-31 17:23:24 default: init 2002-07-31 17:23:24 StandardWrapper[/examples:invoker]: Loading container servlet invoker 2002-07-31 17:23:24 invoker: init 2002-07-31 17:23:24 jsp: init Localhost_log.date.txt: 2002-07-31 17:23:27 StandardHost[localhost]: Installing web application at context path /webdav from URL file:/var/tomcat4/webapps/webdav 2002-07-31 17:23:27 WebappLoader[/webdav]: Deploying class repositories to work directory /var/tomcat4/work/localhost/webdav 2002-07-31 17:23:27 StandardManager[/webdav]: Seeding random number generator class java.security.SecureRandom 2002-07-31 17:23:27 StandardManager[/webdav]: Seeding of random number generator has been completed 2002-07-31 17:23:27 ContextConfig[/webdav]: Added certificates - request attribute Valve 2002-07-31 17:23:27 StandardWrapper[/webdav:default]: Loading container servlet default 2002-07-31 17:23:27 default: init 2002-07-31 17:23:27 StandardWrapper[/webdav:invoker]: Loading container servlet invoker 2002-07-31 17:23:27 invoker: init 2002-07-31 17:23:27 jsp: init Mod_jk.log: [jk_uri_worker_map.c (430)]: In jk_uri_worker_map_t::map_uri_to_worker, wrong parameters on 08/01/2002 9:31 AM, [EMAIL PROTECTED] at [EMAIL PROTECTED] wrote: From: Ralph Einfeldt [EMAIL PROTECTED] Date: Thu, 1 Aug 2002 12:17:13 +0200 To: Tomcat Users List [EMAIL PROTECTED] Subject: AW: Apache-tomcat integration Yes it's possible to use mod_jk from 3.3. Zhis informatin is better than your previous post, but I'm missing an description of the error(s). - Is apache running at all. (ps aux | grep bin/apache) - Is tomcat running at all. (ps aux | grep tomcat) - Is apache listening on the ports you expect (netstat -a) - Is tomcat listening on the ports you expect (netstat -a) - can you get static resources - can you get dynamic resources through port 8080 (Use the port from the settings for the HttpConnector in server.xml) From: Turner, John [EMAIL PROTECTED] Date: Thu, 1 Aug 2002 08:13:43 -0400 To: 'Tomcat Users List' [EMAIL PROTECTED] Subject: RE: Apache-tomcat integration Sorry, there isn't enough info here to really tell. 1) does apache work on it's own? 2) do the tomcat examples work on port 8080: http://your.host.com:8080/examples ? If both one and two are true, I would make sure things like apache ServerName in httpd.conf match the Host name in server.xml. Also, I notice that your workers.properties file looks incomplete...there should be a host name there as well. I posted a HOWTO for a RH Linux system, it may help even though you are running on Mandrake. Nothing in my HOWTO is OS-specific, as far as I know: http://www.johnturner.com/howto/apache-tomcat-howto.html John Turner [EMAIL PROTECTED] -- To unsubscribe, e-mail:
Re: RE: Apache-tomcat integration
Here is my server.xml file. As far as I know it's stock. For bandwidth reasons I striped all the comments and included it as an attachment. As an update, I do get tomcat on port 8180. on 08/01/2002 1:41 PM, [EMAIL PROTECTED] at [EMAIL PROTECTED] wrote: The WARP connector can't bind to its socket. The default WARP connector socket is 8008. Is there something else on that socket? Another connector? Which connector do you want to use? Tomcat binds up both the AJP and WARP socket by default, but which connector have you chosen to use with apache? You might want to post your server.xml, looks like something isn't happy in there. John Turner [EMAIL PROTECTED] server.xml Description: application/applefile Server port=8005 shutdown=SHUTDOWN debug=0 Service name=Tomcat-Standalone Connector className=org.apache.catalina.connector.http.HttpConnector port=8180 minProcessors=1 maxProcessors=5 enableLookups=true redirectPort=8543 acceptCount=10 debug=0 connectionTimeout=6/ Connector className=org.apache.ajp.tomcat4.Ajp13Connector port=8109 minProcessors=1 maxProcessors=5 acceptCount=10 debug=0/ 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 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 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 /parameter /ResourceParams /Context /Host /Engine /Service Service name=Tomcat-Apache Connector className=org.apache.catalina.connector.warp.WarpConnector port=8008 minProcessors=1 maxProcessors=5 enableLookups=true acceptCount=10 debug=0/ Engine className=org.apache.catalina.connector.warp.WarpEngine name=Apache debug=0 appBase=webapps 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]
RE: Apache-tomcat integration
Here is my server.xml file. As far as I know it's stock. For bandwidth reasons I striped all the comments. As an update, I do get tomcat on port 8180. Server port=8005 shutdown=SHUTDOWN debug=0 Service name=Tomcat-Standalone Connector className=org.apache.catalina.connector.http.HttpConnector port=8180 minProcessors=1 maxProcessors=5 enableLookups=true redirectPort=8543 acceptCount=10 debug=0 connectionTimeout=6/ Connector className=org.apache.ajp.tomcat4.Ajp13Connector port=8109 minProcessors=1 maxProcessors=5 acceptCount=10 debug=0/ 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 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 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 /parameter /ResourceParams /Context /Host /Engine /Service Service name=Tomcat-Apache Connector className=org.apache.catalina.connector.warp.WarpConnector port=8008 minProcessors=1 maxProcessors=5 enableLookups=true acceptCount=10 debug=0/ Engine className=org.apache.catalina.connector.warp.WarpEngine name=Apache debug=0 appBase=webapps Logger className=org.apache.catalina.logger.FileLogger prefix=apache_log. suffix=.txt timestamp=true/ Realm className=org.apache.catalina.realm.MemoryRealm / /Engine /Service /Server on 08/01/2002 1:41 PM, [EMAIL PROTECTED] at [EMAIL PROTECTED] wrote: The WARP connector can't bind to its socket. The default WARP connector socket is 8008. Is there something else on that socket? Another connector? Which connector do you want to use? Tomcat binds up both the AJP and WARP socket by default, but which connector have you chosen to use with apache? You might want to post your server.xml, looks like something isn't happy in there. John Turner [EMAIL PROTECTED] -- End of Forwarded Message server.xml Description: application/applefile -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Apache-tomcat integration
I don't get it. The comments is the file say that 8109 is the default. What I want to use is AJP. This is in my server.xml: Service name=Tomcat-Apache Connector className=org.apache.catalina.connector.warp.WarpConnector port=8008 minProcessors=1 maxProcessors=5 enableLookups=true acceptCount=10 debug=0/ Engine className=org.apache.catalina.connector.warp.WarpEngine name=Apache debug=0 appBase=webapps Logger className=org.apache.catalina.logger.FileLogger prefix=apache_log. suffix=.txt timestamp=true/ Realm className=org.apache.catalina.realm.MemoryRealm / /Engine /Service Does this mean that I don't have tomcat configured to use AJP. What you pointing out is in the stand alone code. Do I even need that? What do I do to make apache call tomcat when it is asked to serve a JSP file? On Thursday, August 1, 2002, at 06:08 PM, tomcat-user-digest- [EMAIL PROTECTED] wrote: From: Turner, John [EMAIL PROTECTED] Date: Thu Aug 01, 2002 03:41:53 PM US/Eastern To: 'Tomcat Users List' [EMAIL PROTECTED] Subject: RE: RE: Apache-tomcat integration Which connector did you choose to use? AJP or WARP? Your server.xml shows some changes on the port numbers. For example, the AJP connector is showing 8109 instead of 8009 (the default). Did you carry that change through the other configuration files, like workers.properties (if you chose AJP)? John Turner [EMAIL PROTECTED] -- Don't give in to hate- that leads to the dark side. -Obi-Wan, Jedi Knight -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Apache-tomcat integration
Where can I get documentation on how to integrate tomcat with apache? I looked on the site, but I can't find a definitive answer (at least in my opinion). Thanks. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: NIGHTMARE
I agree. I gave up trying to get tomcat and apache to talk together and would have loved better documentation, and perhaps examples that work. Don't get me wrong, I love tomcat, I just want to put my vote in for better docs. on 4/8/02 10:56 AM, Javier A. Leyba at [EMAIL PROTECTED] wrote: On 08/04/2002 at 11:48 Martin Mauri wrote: Do what you want. I feel sorry about you. You're losing the best and calling Tomcat a crap tells you're a loser. I've installed Tomcat in 5 minutes. Hi Martin I could say yes and no. I think Tomcat is great, but installatin is not so easy as Apache with PHP and documentation about installing sucks. I guess people need more clear examples to do simple configuration tasks till get the idea. I've installed Tomcat in my XP in 10 minutes but I'm trying to get virtual hosts working from 3 days ago. I'm frustrated and feel myself like a newbie, but I´m not a newbie (damn !) IMHO jl -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: Tomcat changing file ownership
My startup script resets the permissions. The real question I think is does tomcat require all it's files to be owned by the tomcat user? on 3/11/02 9:41 AM, John Wadkin at [EMAIL PROTECTED] wrote: Ted, If I understand your question correctly, you want to find a way to alter the default file permissions for the TomCat user? The only thing I can think of is umask, which sets the default permissions. In Solaris (C shell): umask 000 Sets (I think!) read and write for all (user, group, other) on files, and full permissions on directories. Try putting the command in catalina.sh or the tomcat user's login script. Thanks, John Quote for the week: The stupid neither forgive nor forget; the naive forgive and forget; the wise forgive but do not forget. Thomas Szasz, The Second Sin (1973) -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
405 error?
I am trying to set up a new servlet on my tomcat 3.3 server. Can anyone tell me why I may be getting this error? Error: 405 Location: /tom/servlet/tomServ HTTP method GET is not supported by this URL -- If you strike me down, I shall become more powerful than you can possibly imagine. -Obi-Wan, Jedi Knight -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: Hey what happened to the tomcat forum?
Do you mean the lack of messages? On Sunday, February 17, 2002, at 05:13 PM, smashingwebs wrote: Hey what happened to the tomcat forum? Or am I being obtuse? -- Don't underestimate the Force. - Darth Vader, Sith Lord. -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: mod_jk help needed here
I looked at your site. Thanks, but here is a question. What is the difference between: Connector className=org.apache.ajp.tomcat3.Ajp13Connector port=8009 minProcessors=5 maxProcessors=75 acceptCount=10 debug=0/ and Ajp13connector port=8009 / My distribution did not have the first one in the servlet.xml file that I could just uncomment. When I remove what I had and user your Connector tag, I get nothing. I can not ever uses port 8080. also, how can I tell who (apache or tomcat) is to blame for non communication? In other words, how can I tell if apache is not sending or if tomcat is not receiving? On Saturday, February 16, 2002, at 03:32 AM, Donald Lee wrote: Tom, here is a link to my help file regarding mod_jk. Let me know if it's not what you needed or is somehow in error and I will fix it. I know what your going through I have been there. http://64.108.105.4/mod_jk.html If that doesn't work by the time you get this message just go to http://the-don.cjb.net and click on my mod_jk link. I'm not static yet. -- Don't give in to hate- that leads to the dark side. -Obi-Wan, Jedi Knight -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: mod_jk help needed here
Also, in my mod_jk.log file, I get this error when I try to have apache open a jsp file: [jk_uri_worker_map.c (430)]: In jk_uri_worker_map_t::map_uri_to_worker, wrong parameters What does this mean? On Saturday, February 16, 2002, at 08:55 AM, Thomas Cherry wrote: I looked at your site. Thanks, but here is a question. What is the difference between: Connector className=org.apache.ajp.tomcat3.Ajp13Connector port=8009 minProcessors=5 maxProcessors=75 acceptCount=10 debug=0/ and Ajp13connector port=8009 / My distribution did not have the first one in the servlet.xml file that I could just uncomment. When I remove what I had and user your Connector tag, I get nothing. I can not ever uses port 8080. also, how can I tell who (apache or tomcat) is to blame for non communication? In other words, how can I tell if apache is not sending or if tomcat is not receiving? -- Don't underestimate the Force. - Darth Vader, Sith Lord. -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
mod_jk help needed here
I have tried really hard for two days now, and I just can not seem to figure out how to get tomcat and apache to work together. Here are some questions that I have: Do I need a RequestInterseptor in my server.xml file. What are all the files that need to be changed? So far I have: httpd.conf - calls mod_jk.conf server.xml - tomcat mod_jk.conf - loads mod_jk.so and maps paths to ajp13 workers.properties - sets up tomcat's ports any more files? I can use tomcat if I go to port 8080 put not if I use apache. I set everything up. What could I be doing wrong? Which settings should I share with you? Thanks in advance. -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
NYNY
Lets try to keep traffic down to let those who need information or communication with loved ones use the bandwidth. Lets have no traffic for 24 hours. Thanks. -- My ally is the Force, and a powerful ally it is. -Yoda, Jedi Master
mac question from yesterday
was the mac question posted yesterday ever answered?
Re: mac question from yesterday
somebody ask a question about images not showing up under a few mac browsers, and I wanted to know if this person solved the problem. It could have been two days ago, but I really thought that it was yesterday. - Original Message - From: Pier Fumagalli [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, September 06, 2001 11:48 AM Subject: Re: mac question from yesterday Thomas Cherry [EMAIL PROTECTED] wrote: was the mac question posted yesterday ever answered? Errr... I didn't see any mac-related question... Pier (typing on a mac!)
Re: Any idea?
Yea, join the developer network you @#$@$, then you get it for free. This is a respectable list. Don't do this sort of thing here. On Thursday, August 23, 2001, at 06:02 PM, Sasha Tartchinski wrote: Has anywone know where can i download and burn Microsoft Office XP. Thanks. -- Don't give in to hate- that leads to the dark side. -Obi-Wan, Jedi Knight
Re: how does index.html come up?
I have the same question, but I want to reproduce the action. Say I have a servlet at pathtotomcat/WebApps/myServlet and I can access that servlet with http://localhost:8080/myServlet?. What do I have to do so that I can access http://localhost:8080/mySelvlet/login.html and not have the server run? On Thursday, June 21, 2001, at 05:55 PM, alex chang wrote: I just recently downloaded the tomcat 3.3m3 zip to my Windows 2000 desktop. When I go to http://localhost:8080, how does it know to go to the index.html file in my wepapps/ROOT directory? (I'm assuming this *is* where it's going?) In my server.xml file, I don't see a Context tag like I've been reading about. But near the end of that file it says something about how ContectXmlReader reads all the context definitions. Near the top I do see: ContectXmlReader config=conf/apps.xml But in that conf directory I don't see an apps.xml. However I do see: apps-127.0.0.1.xml apps-admin.xml apps-examples.xml Is the apps-127.0.0.1.xml being read somehow? Can someone explain the process of what happens from the time you enter localhost:8080 in your browser, to how the page gets served up? Thanks! -alex __ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail http://personal.mail.yahoo.com/ -- Don't give in to hate- that leads to the dark side. -Obi-Wan, Jedi Knight