which connector directory?
In http://jakarta.apache.org/builds/ I find source for connectors in jakarta-tomcat-connectors/* and in jakarta-tomcat-4.0/release/v4.1.12/src/jakarta-tomcat-connectors-4.1.12-src.tar.gz Which am I supposed to use? Are the connectors in the Tomcat 4.0 release directory being moved to jakarta-tomcat-connectors/* ? -- Thad Humphries ...no religious test shall ever be required Web Development Manager as a qualification to any office or public Phone: 540/675-3015, x225trust under the United States. -Article VI -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Problem with Tomcat 4.0.2 hanging
Tomcat 4.0.5? 4.1.12? I was never able to get my application to work under Tomcat 4.0.2--JSPs would constantly error on classpath problems. But it's worked fine under 4.0.1, 4.0.3, 4.0.4, 4.0.5, and 4.1.12. I have no idea why. On Thu, 2002-10-03 at 12:28, [EMAIL PROTECTED] wrote: I'm actually having the problem again right this second. I went into the server and did a ps aux. I found about 60 tomcat processes running. Is this normal? I've been struggling with this for over a week. Any advice, suggestions, etc. that you might have would be greatly appreciated. -- Thad Humphries ...no religious test shall ever be required Web Development Manager as a qualification to any office or public Phone: 540/675-3015, x225trust under the United States. -Article VI -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
putting workers2.properties in $CATALINA_HOME/conf
The docs (http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk2/configweb.html) says to put workers2.properties in ${serverRoot}/conf/workers2.properties, where ${serverRoot} is something like /opt/apache. And although the Installation section is blank (did someone say documentation?), I figured out to put LoadModule jk2_module modules/mod_jk2.so in my httpd.conf file. So, I've got Apache 2 and Tomcat 4.1 working with jk2. Great! Question: How can I put workers2.properties in $CATALINA_HOME/conf and get it read by Apache 2 (or 1.3) on startup? On most installs around here, the root user is responsible for everything under Apache and the web app administrator runs Tomcat so I'd like to put workers2.properties in the Tomcat tree. -- Thad Humphries ...no religious test shall ever be required Web Development Manager as a qualification to any office or public Phone: 540/675-3015, x225trust under the United States. -Article VI -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: SSL and mod_jk Problems on Tomcat 4.0.5 + Apache 1.3.26 (onLinux RH 7.3)
I'm having a similar problem! I have one web page containing a jsp:plugin for an applet. If served from Tomcat 4.0.5, loads fine in all browsers but if served from Tomcat 4.1.12, it won't see a parameter in Mozilla 1.0/1.1/Netscape 6.2. In IE 6, it's okay. Moreover, the generated HTML *looks* the same in all cases. Has anyone else seen this? On Wed, 2002-10-02 at 15:19, Gustavo Vegas wrote: Hello again, Ok, this is getting a little weird. I have been using mozilla (1.1 and 1.0) to display the pages that I am having problems with. I tried using IE (6.X) on a different box, and the problem goes away! This is bizarre. Is there any connection as to how a given request from a browser may break this connection? ... -- Thad Humphries ...no religious test shall ever be required Web Development Manager as a qualification to any office or public Phone: 540/675-3015, x225trust under the United States. -Article VI -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Documentation
I'll throw in what I can. Most of my TC docs consist of URLs and hardcopy that I've collected here and there from the web, along with my notes. Put me on your list... If nothing else, it will help me to learn more aobut Tomcat... On Mon, 2002-09-30 at 17:01, Robert L Sowders wrote: Since most of the questions to tomcat-users list concern installation and configuration issues it demonstrates that there is a real need for Tomcat to have a documentation project that it's users can contribute to. Right now most of the documentation consists of the xdocs which are pretty good, but can be so much more. The developers obviously have little time to maintain the present documentation and there is such an apparent need that I wonder why a project for the documentation has not been started. There are many doc-projects out there to emulate. I especially like the one that the apache folks have running, the new xml documentation for Apache 2.0 is probably the best I've seen. I'm sure that many people would be willing to devote some time to organizing and maintaining input from the community into a resource that would benefit everyone. I for one would be willing to contribute, but right now there is nothing an nowhere to submit to. Should the developers of Tomcat initiate a project for the documentation? Or should we? The Apache folks seem to have solved this issue, it remains to be solved for Tomcat. Have a look at some examples of opensouce projects which have solved their documentation problems: http://httpd.apache.org/docs-project/ http://www.freebsd.org/docproj/ http://www.debian.org/doc/ddp http://developer.gnome.org/projects/gdp/ http://www.mulberrytech.com/dsssl/dsssldoc/index.html http://pm-doc.sourceforge.net/ http://zdp.zope.org/ http://www.tldp.org/ rls -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- Thad Humphries ...no religious test shall ever be required Web Development Manager as a qualification to any office or public Phone: 540/675-3015, x225trust under the United States. -Article VI -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: The right path; in more way than one.
I know that Tomcat's docs *say* this and that the JSP servlet specs call for this but it has not been my experience! As I have *twice* pointed out here (to no ones acknowledgement), I have an application that runs fine under Tomcat 4.0.? but not under 4.1.12. It fails on objects in xerces.jar. xerces.jar implements SAX1 and I have always included it in my WEB-INF/lib directory thouggh it was in common/lib of Tomcat 4.0. I use Xerces/SAX1 (Xerces 1.4.2) with xalan.jar (Xalan 1.2.2). Tomcat 4.1.12 used SAX2 from xmlParserAPIs.jar in common/endorsed. I am getting failures from Xalan 1 because (evidently) Tomcat is sending objects from here vs. the older Xerces in my WEB-INF/lib directory. Yes, yes, I know that this needs to be updated. However, the Xalan API is radically different. For now, conversion is impossible due to short resources and no few customer complexities. On Tue, 2002-10-01 at 02:20, Andreas Probst wrote: Hi Ed, I'm not sure, what your question is. Let me try to answer like this: Tomcat will look for class files and jars in the various classes and libs directories. Read pathto/tomcat-doc/class- loader-howto.html to know exactly. You can have your application's directory anywhere, if you configure a context in server.xml. If you put it under webapps you don't have to configure a context. For deploying your app it's probably the best to use Ant. Read the app developer's guide (pathto/tomcat-doc/appdev/index.html) to get to know best practices of the development process. In case Tomcat complains about JAVA_HOME: In autoexec.bat it might be better to set the DOS 8.3 pathname. Go to e: and type dir to get to know the 8.3 name of jsdk1.4.0. (Something with ~) Hope this helps. Andreas Hello and Help I need to have Tomcat working on my machine but I can't getting get the right path in my browser. So here Goes My System is Windows 98 Tomcat version is 4.0.4 My Java editor is JCreator 2.5 jdk is 1.4 The install directory is D:\ApacheTomcat4\ My system directory is D:\windows autoexec.bat settings set JAVA_HOME=E:\j2sdk1.4.0 set $CATALINA_HOME=D:\ApacheTomcat4 set CATALINA_HOME=D:\ApacheTomcat4 I set the port to 8088 so; http:// localhost:8088/index.html pulls up the splash screen, and in fact is where I got the addresses. Questions: Is there a command or port that will get Tomcat to tell me where it thinks the class files will be? What setting can I change to get Tomcat to look in a specific directory so I can tell the compiler to put the output the class file? Are there any advanced tip sheets for install and configuration? Please respond with all revenant information. The need is urgent. You have my personal Regards, Ed They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety. ...Benjamin Franklin, Historical Review of Pennsylvania, 1759 -- 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] -- Thad Humphries ...no religious test shall ever be required Web Development Manager as a qualification to any office or public Phone: 540/675-3015, x225trust under the United States. -Article VI -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: webapp.so building problem -- apxs unworkable
I found that I had to upgrade my automake (1.7) and autoconf (2.54) to the latest versions in order to build the new connectors. Check http://www.gnu.org/ for the latest versions. On Thu, 2002-09-26 at 18:40, haixi liu wrote: Hello, I am having this problem when trying to build webapp.so for my tomcat4.1.12 to work with apache 1.3.26. I downloaded connector package at http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.1.12/src/jakarta-tomcat-connectors-4.1.12-src.tar.gz After untar the file, I went into the webapp directory. ./support/buildconf.sh executed fine. When I tried: ./configure --with-apxs=/usr/local/apache/bin/apxs I got the following: == Configuring WebApp Module + checking build system type... i686-pc-linux-gnu + checking host system type... i686-pc-linux-gnu + checking for sources directory path... /home/gims/files/webapp + checking for build directory path... /home/gims/files/webapp Checking Apache APXS + checking for apxs name... /usr/local/apache/bin/apxs + checking for apxs directory path... /usr/local/apache/bin + checking for apxs... /usr/local/apache/bin/apxs + checking for apxs availability... /usr/local/apache/bin/apxs + checking for apxs version... /usr/local/apache/bin/apxs (1.3) + checking for apxs sanity... error configure: error: apxs is unworkable I could not figure out what's going on. Could any of you help me on this? My system is RH 7.3. Thanks a lot Haixi _ MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- Thad Humphries ...no religious test shall ever be required Web Development Manager as a qualification to any office or public Phone: 540/675-3015, x225trust under the United States. -Article VI -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Tomcat 4.1.12 doesn't use my applications WEB-INF/lib
I have an application written well over a year ago that uses Xerces 1.4 and Xalan 1.2 for its XML parser and XSL translations. I know that this will have to be updated someday but because of short resources and no few customer complexities, we can't at this time. The application runs fine under Tomcat 3.2.x, Tomcat 4.0.x, and WebLogic 6.1. However, the older XML causes problems with Tomcat 4.1. Here's one case (for example): Tomcat 4.1 seems to be using the org/xml/sax/InputSource.class from jakarta-tomcat-4.1.12/common/endorsed/xmlParserAPIs.jar vs. myapp/WEB-INF/lib/xerces.jar's org/xml/sax/InputSource.class (efforts to create a InputSource to create a Xalan 1.2 org.apache.xalan.xslt.XSLTInputSource error with Incompatible object argument for function call). We are using Xerces 2 for all newer applications and would like to move up to Tomcat 4.1. How can I run this older application in Tomcat 4.1? I'd rather not have to swap back and forth or run a 2d Tomcat. -- Thad Humphries ...no religious test shall ever be required Web Development Manager as a qualification to any office or public Phone: 540/675-3015, x225trust under the United States. -Article VI -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Start Apache/Jakarta-Tomcat as Non-root user
In the example below, Jim Coble also set CATALINA_HOME and JAVA_HOME in his S40tomcat script. On Mon, 2002-09-30 at 10:12, Matt Raible wrote: I've modified your script for RedHat Linux 7.3, but my tomcat instance still won't start on bootup. I can execute ./S40tomcat, enter the tomcat user's password and everything works fine. Any ideas or log files I can check? #!/bin/bash # # Matt Raible 29 Sep 2002 # For use on RedHat Linux - tested on v7.3 case $1 in start) su tomcat /usr/local/tomcat1/bin/startup.sh sleep 5 ;; stop) su tomcat /usr/local/tomcat1/bin/shutdown.sh ;; *) echo Usage: $0 {start|stop} exit 1 ;; esac exit 0 -Original Message- From: Jim Coble [mailto:[EMAIL PROTECTED]] Sent: Saturday, September 28, 2002 8:11 AM To: Tomcat Users List Subject: Re: Start Apache/Jakarta-Tomcat as Non-root user I accomplished this yesterday on Solaris 8 using the following script called at system startup (linked to S40tomcat in rc3.d) ... Replace tomcat after the two su commands with the user you want Tomcat to run as and, of course, change the paths as appropriate for your system. You'll also need to make sure your tomcat user has appropriate permissions on your tomcat directories. --Jim #!/sbin/sh # # Jim Coble 09 Jun 02 # Modified 27 Sep 02 to try to get to run as user tomcat CATALINA_HOME=/usr/local/tomcat;export CATALINA_HOME JAVA_HOME=/usr/java;export JAVA_HOME case $1 in start) su tomcat /usr/local/tomcat/bin/startup.sh sleep 5 ;; stop) su tomcat /usr/local/tomcat/bin/shutdown.sh ;; *) echo Usage: $0 {start|stop} exit 1 ;; esac exit 0 == Jim Coble Senior Technology Specialist Center for Instructional Technology Email: [EMAIL PROTECTED] Voice: 919-660-5974 Fax: 919-660-5923 Box 90198, Duke University Durham, NC 27708-0198 == ... -- Thad Humphries ...no religious test shall ever be required Web Development Manager as a qualification to any office or public Phone: 540/675-3015, x225trust under the United States. -Article VI -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Using SAX1 (Xerces 1.4 Xalan 1.2) in TC 4.1
I have an application written well over a year ago that uses Xerces 1.4 and Xalan 1.2 for its XML parser and XSL translations. I know that this will have to be updated someday but because of short resources and some customer complexities, we can't at this time. The application runs fine under Tomcat 3.2.x, Tomcat 4.0.x, and WebLogic 6.1. However, the older XML causes problems with Tomcat 4.1. I see that 4.1 includes Xerces 2 but I thought classes in my WEB-INF/classes and WEB-INF/lib were supposed to override that (or be checked first). However, most of my JSPs and servlets calling to Xerces 1 errors. We are using Xerces 2 for all newer applications and would like to move up to Tomcat 4.1. How can I run this older application in Tomcat 4.1? I'd rather not have to swap back and forth or run a 2d Tomcat. -- Thad Humphries ...no religious test shall ever be required Web Development Manager as a qualification to any office or public Phone: 540/675-3015, x225trust under the United States. -Article VI -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: building connectors for 4.1.12
Wowzers, that's slick! Thanks. I tried it from my jk/native/apache-1.3 with apxs from Apache 1.3.22 and that built mod_jk.so. But from jk/native/apache-2.0 with apxs from Apache 2.0.40, I only got a mod_jk.o, no *.so file. Do you know what gives? Also, where can I find docs about apxs? Up till now, it's always been magic but I can see that I might need to learn a bit more about it. On Thu, 2002-09-26 at 09:53, White, Jonathan R CONT JW9242C wrote: try compiling with apxs directly. I had problems as well. Something like this (from the jk/native/apache_1.3 directory): apxs -Wc,-O3 -I ../common -I /usr/java/include \ -I /usr/java/include/solaris \ -c mod_jk.c ../common/*c Then copy the mod_jk.so file to the libexec directory. You may have to adjust your include directories for your system Jonathan -Original Message- From: Thad Humphries [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 25, 2002 4:10 PM To: [EMAIL PROTECTED] Subject: building connectors for 4.1.12 Why does building connectors have to be such a pain? It never seems to go smoothly for me... My current problem is the connectors from jakarta-tomcat-connectors-4.1.12-src.tar.gz, specifically mod_jk (I am running RedHat 6.2, Apache 2.0.40, and libtool 1.4.2) I run buildconf.sh: $ ./buildconf.sh libtoolize --force --automake --copy aclocal automake -a --foreign -i --copy automake: configure.in: installing `scripts/build/unix/install-sh' error while copying automake: configure.in: installing `scripts/build/unix/mkinstalldirs' error while copying automake: configure.in: installing `scripts/build/unix/missing' error while copying configure.in: 22: required file `scripts/build/unix/ltconfig' not found autoconf Like the BUILDING file says, ignore errors from automake but configure doesn't work: $ ./configure --with-apxs=/usr/local/apache2/bin/apxs checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking whether make sets ${MAKE}... yes checking for working aclocal... found checking for working autoconf... found checking for working automake... found checking for working autoheader... found checking for working makeinfo... found checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking for ranlib... ranlib checking for gcc... gcc checking for C compiler default output... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for ld used by GCC... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD-compatible nm... /usr/bin/nm -B checking whether ln -s works... yes scripts/build/unix/ltconfig: scripts/build/unix/ltconfig: No such file or directory configure: error: libtool configure failed I see in tomcat-dev that ltconfig and other files were removed from CVS as excessive... since they are autogenerated (http://www.mail-archive.com/tomcat-dev@jakarta.apache.org/msg 26834.html) Exactly where are they autogenerated? What step do I need to add? -- Thad Humphries ...no religious test shall ever be required Web Development Manager as a qualification to any office or public Phone: 540/675-3015, x225trust under the United States. -Article VI -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: building connectors for 4.1.12
Got it! Gosh, how I love the bleeding edge! I had to upgrade automake from 1.4 to 1.7, which necessitate upgrading autoconf from 2.53 to 2.54. *That* finally allowed jk/buildconf.sh to run without error and thus creating a jk/configure that would run. At last! A jk/native/apache-2.0/mod_jk.so file! Yo! Any developers out there! It might help to add a TOOL.txt file that gives the versions of the tools you are using. On Thu, 2002-09-26 at 11:09, White, Jonathan R CONT JW9242C wrote: I haven't tried building it for apache2 ... sorry. As far as apxs documentation goes, on unix type: man apxs (make sure apache-path/man is in your MANPATH) -- Thad Humphries ...no religious test shall ever be required Web Development Manager as a qualification to any office or public Phone: 540/675-3015, x225trust under the United States. -Article VI -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
building connectors for 4.1.12
Why does building connectors have to be such a pain? It never seems to go smoothly for me... My current problem is the connectors from jakarta-tomcat-connectors-4.1.12-src.tar.gz, specifically mod_jk (I am running RedHat 6.2, Apache 2.0.40, and libtool 1.4.2) I run buildconf.sh: $ ./buildconf.sh libtoolize --force --automake --copy aclocal automake -a --foreign -i --copy automake: configure.in: installing `scripts/build/unix/install-sh' error while copying automake: configure.in: installing `scripts/build/unix/mkinstalldirs' error while copying automake: configure.in: installing `scripts/build/unix/missing' error while copying configure.in: 22: required file `scripts/build/unix/ltconfig' not found autoconf Like the BUILDING file says, ignore errors from automake but configure doesn't work: $ ./configure --with-apxs=/usr/local/apache2/bin/apxs checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking whether make sets ${MAKE}... yes checking for working aclocal... found checking for working autoconf... found checking for working automake... found checking for working autoheader... found checking for working makeinfo... found checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking for ranlib... ranlib checking for gcc... gcc checking for C compiler default output... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for ld used by GCC... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD-compatible nm... /usr/bin/nm -B checking whether ln -s works... yes scripts/build/unix/ltconfig: scripts/build/unix/ltconfig: No such file or directory configure: error: libtool configure failed I see in tomcat-dev that ltconfig and other files were removed from CVS as excessive... since they are autogenerated (http://www.mail-archive.com/tomcat-dev@jakarta.apache.org/msg26834.html) Exactly where are they autogenerated? What step do I need to add? -- Thad Humphries ...no religious test shall ever be required Web Development Manager as a qualification to any office or public Phone: 540/675-3015, x225trust under the United States. -Article VI -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Tomcat 4.01, IIS, and isapi_redirector.dll
I have found several sites for integrating Tomcat 3.2.x with IIS using isapi_redirect.dll. I find some for integrating Tomcat 4.01 with IIS using isapi_redirect.dll. The latter require creating workers.properties and uriworkermap.properties (and maybe other things) that aren't part of Tomcat 4.01 on UNIX (but were in 3.2). Also, the Tomcat 4.0 tree has a binary isapi_redirector.dll (**not** isapi_redirect.dll). Is *this* the warp connector? How do I setup Tomcat 4.01 and IIS to use this connector? Is it a simplier setup than 3.2 was? -- Thad Humphries ...no religious test shall ever be required Web Development Manager as a qualification to any office or public Phone: 540/675-3015, x225trust under the United States. -Article VI -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: PLEASE REMOVE THE VIRUS BEFORE MAILING THE LIST...
Maybe users shouldn't use Microsoft products! At least for email... On Tue, 2002-01-29 at 10:45, Randy Layman wrote: I would like to point out that the virus was sent by members of the list. Would Virus filtering of the list be useful? Yes. Would it be cost-effective? No. (Since Jakarta has no real income to spend on this). Randy -- Thad Humphries ...no religious test shall ever be required Web Development Manager as a qualification to any office or public Phone: 540/675-3015, x225trust under the United States. -Article VI -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: configure script in mod_webapp source
Yep! It was missing when I went looking. I used the configure script from the mod_webapp for Tomcat 4.0 (which I can send you if you cant find it). On Fri, 2002-01-25 at 15:38, Lars Andersen wrote: I have downloaded the mod_webapp source tarball. The README.txt mentions a ./configure script, which is not included. Is this an error or can this file be obtained elsewhere? -- Thad Humphries ...no religious test shall ever be required Web Development Manager as a qualification to any office or public Phone: 540/675-3015, x225trust under the United States. -Article VI -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: mod_webapp building help
There is a README.txt file in the directory. Use that to learn how to point to apxs, etc. When I last downloaded the 4.0.1 source, the configure script was missing. I had to copy that out of my copy of the 4.0 source. I built mod_webapp on Sun Solaris 2.7 just last week. There were some tricks in doing it. First, I had to install a number of GNU tools on my SPARC (I got them from http://www.sunfreeware.com/). Second, I edited the configure script (again, the one from 4.0). I changed line 2505 from if {TEST} i! ${local_target} = apr to if ${TEST} ${local_target} = apr Lastly, I had to edit the Makefile.in to point to /usr/local/bin/libtool since the configure script did not properly @@LIBTOOL@@. All that finally built a mod_webapp.so for Solaris 2.7 and that has been working for me with Tomcat 4.0.1. On Wed, 2002-01-23 at 14:35, Rahadul Kabir wrote: can someone please tell me how to build Webapp-module from the source. is there any documentation about this on the Jakarta page. thanks. --rahad -- Thad Humphries ...no religious test shall ever be required Web Development Manager as a qualification to any office or public Phone: 540/675-3015, x225trust under the United States. -Article VI -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: mod_webapp building help
I didn't try to rebuild all of Tomcat. All I built mod_webapp from webapp-module-1.0.1-tc401-src.tar.gz On Wed, 2002-01-23 at 15:03, Lloyd Meinholz wrote: The TEST thing seems to be fixed in the latest nightly build (20021119) and in the 4.0.2-b2 src download page. I'm having other problems on Sparc Solaris 8. I get the following messages: *** Warning: This library needs some functionality provided by -lwebapp. *** I have the capability to make that library automatically link in when *** you link to this library. But I can only do this if you have a *** shared version of the library, which you do not appear to have. *** Warning: libtool could not satisfy all declared inter-library *** dependencies of module mod_webapp. Therefore, libtool will create *** a static module, that should work as long as the dlopening *** application is linked with the -dlopen flag. Did you have this problem or have any idea how to fix it? I have a libwebapp.a and libwebapp.la built but no .so and I don't know how to build one and I'm not even sure that's what's being refered to by -lwebapp. Did you have this problem or do you have any idea how to solve it? Thanks, Lloyd ... -- Thad Humphries ...no religious test shall ever be required Web Development Manager as a qualification to any office or public Phone: 540/675-3015, x225trust under the United States. -Article VI -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: mod_webapp building help
Oh, sorry. I never saw that message under 4.0.1. And I did not use the --with-tomcat flag, only (IIRC) the --with-apxs tag. On Wed, 2002-01-23 at 15:45, Lloyd Meinholz wrote: That message was generated by make in the webapp-module-1.0.2-tc402 source. It didn't have anything to do with tomcat other than I used the --with-tomcat flag to configure. -- Thad Humphries ...no religious test shall ever be required Web Development Manager as a qualification to any office or public Phone: 540/675-3015, x225trust under the United States. -Article VI -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
source for mod_jk ??
Where can I download the latest source for mod_jk.so? I once build mod_jk.so for Solaris to use with Tomcat 3.2.1. I'm testing an application in three Tomcat versions--3.2.4, 3.3a, and 4.01. I would like to build the latest version of mod_jk.so for 3.3a but I cannot find the source. I assume there are some difference between 3.2.x and 3.3a as the file sized under Linux are different. -- Thad Humphries ...no religious test shall ever be required Web Development Manager as a qualification to any office or public Phone: 540/675-3015, x225trust under the United States. -Article VI -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Building mod_webapp on Solaris 7
I am trying to build mod_webapp.so for Solaris 7 (the mod_webapp Solaris 8 binary fails with library error on 7). I've tried both mod_webapp 4.0 and 4.01 but get the same errors. Can anyone help me? BTW, I found *no* configure script in the 4.01 source to I've tried the one from 4.0. Also, I loaded this SPARC box with the latest Gnu tools (gawk, m4, libtools, etc.) from http://www.sunfreeware.com/. I start with a fresh build of Apache 1.3.22 using ./configure --shadow=/home/thad/apache_1.3.22.basic \ --enable-module=most \ --enable-shared=max I then cd to my webapp-module directory and run ./configure \ --with-apxs=/home/thad/apache_1.3.22.basic/src.sun4u-sun-solaris2.270/support/apxs which seems to run okay except (1) here are a number of APR configure: blanks and (2) near the end I see Finishing up checking for APR compilation flags... ok checking for Makefile targets... /usr/bin/test[8]: lib: unknown test operator /usr/bin/test[8]: apr: unknown test operator lib apr apache-1.3 creating ./config.status creating ./Makefile creating ./Makedefs creating ./lib/Makefile creating ./java/Constants.java creating ./apache-1.3/Makefile All done. Now you can issue make. Good luck. So there appears to be some problem. Make fails utterly: $ make make[]: Entering directory lib make[]: Invoking make build make[]: Generating pr_warp_defs.h from /home/thad/webapp-module-1.0.1-tc401/j ava/Constants.java sh: LIBTOOL@: not found *** Error code 1 make: Fatal error: Command failed for target `wa_main.lo' Current working directory /home/thad/webapp-module-1.0.1-tc401/lib *** Error code 1 make: Fatal error: Command failed for target `template' Current working directory /home/thad/webapp-module-1.0.1-tc401 *** Error code 1 make: Fatal error: Command failed for target `lib-build' Any ideas? It doesn't seem that the Makefile built correctly. I see several line like @$(MAKE) template MFLG=$(MAKEFLAGS) MDIR=$(APR_SRCDIR) MTGT=all There is no 'template' target that I see. Shouldn't 'template' be the name of something? (Sometimes I think makefiles are like virgin birth--too complex to understand to just accept them.) -- Thad Humphries ...no religious test shall ever be required Web Development Manager as a qualification to any office or public Phone: 540/675-3015, x225trust under the United States. -Article VI -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: Spaces in TOMCAT_HOME
Try putting it in quotes: c:\Program Files\Apache Group\jakarta-tomcat-3.2.3 Hoggatt Matt - mahogg wrote: Is it impossible to run tomcat as an NT service if there are spaces in TOMCAT_HOME? For example, I want my tomcat path to be c:\Program Files\Apache Group\jakarta-tomcat-3.2.3, but it won't work because of the spaces. Any work arounds? ... -- - Thad Humphries ...no religious test shall ever be required Web Development Manager as a qualification to any office or public Phone: 540/675-3015, x225 trust under the United States. -Article VI
Re: tomcat has to be restarted every few hours (resent, mailserver errors)
Eric-- I had the same problem--an application that ran fine in Linux (RedHat 6.2) and would lock up on Solaris 2.7 and 2.6. Both systems with JDK 1.3.1, Tomcat 3.2.3, Apache 1.3.20. It would eventually stall and require restarting. Sometimes it would go several hours. Sometimes it would lock up on the 2d or 3d access. I never conclusively resolved where the problem was coming from but I have seemed to fix it. My index.jsp was loading a session bean and several frames that used the bean. From the next exceptions that were being thrown, I guessed there was a race condition on loading the bean in JVM on Solaris. I rewrote the application to call the session bean only once in the initial index.jsp and its frames. Since then it has run fine--repeated new user hits and no lockups. [EMAIL PROTECTED] wrote: Hi all, On my RH 6.2 system, with 1 G RAM, I notice that after Tomcat 3.2.3 has been running for a few hours, when visitors click on links on the site, they will get errors like 404 page not found, or unable to compile jsp page, or an error has occurred in the java compiler, please file a bug report to Sun, or Java out of memory errors. For any given page, the error message may change to another after one clicks on refresh. The longer Tomcat is up, the more pages are affected. Only solution is to restart Tomcat. Any help on this? We're using jdk 1.1.8 (have to) Eric -- - Thad Humphries ...no religious test shall ever be required Web Development Manager as a qualification to any office or public Phone: 540/675-3015, x225 trust under the United States. -Article VI
Re: tomcat 3.2.3 confusion with mod_jk/ajpv13
Add instead !-- Apache AJP13 support. Added IAW http://jakarta.apache.com/tomcat/jakarta-tomcat/src/doc/mod_jk-howto.html -- Connector className=org.apache.tomcat.service.PoolTcpConnector Parameter name=handler value=org.apache.tomcat.service.connector.Ajp13ConnectionHandler/ Parameter name=port value=8009/ /Connector Jason Novotny wrote: I want to use the latest stable release of Tomcat with support for SSL and Apache, so I've downloaded 3.2.3. Reading the docs, I find that mod_jk is intended to be an eventual replacement for mod_jserv and has better support for SSL. However, I see no mention of Ajp13 in my server.xml file and reading the mod_jk howto it claims I should add RequestInterceptor className=org.apache.tomcat.modules.server.Ajp13Interceptor port=8009/ to my server.xml. But when I startup Tomcat, it fails with a class not found error. Looking deeper into webserver.jar I find 3 Ajp13 files: org/apache/tomcat/service/connector/{Ajp13ConnectionHandler.java, Ajp13ConnectorRequest.java, Ajp13ConnectorResponse.java}, but I have no idea how to add the appropiate entry in server.xml. Am I to guess that Ajp13 isn't ready for primetime with Tomcat 3.2.3 or is the mod_jk document in desparate need of an update?? Thanks, Jason ... -- - Thad Humphries ...no religious test shall ever be required Web Development Manager as a qualification to any office or public Phone: 540/675-3015, x225 trust under the United States. -Article VI
Re: File path question
You can do this with a relative path. In other words, don't start it with a /. For example, I have an application myapp in $TOMCAT_HOME/webapps/myapp. If a JSP in myapp requests a Javascript, image, or anything else in the same directory, it's just 'script language=JavaScript1.3 src=./myscript.js' or 'script language=JavaScript1.3 src=myscript.js'. If the requesting JSP was in a lower diretory, say myapp/test, the I use 'script language=JavaScript1.3 src=../myscript.js' Ramesh Yerneni wrote: Can someone tell how to provide location of a file without giving complete path in jsp? I am including javascript file in jsp for validations. I couldn't get it to work unless if I give the complete path which is what I am trying to avoid. TIA ... - Thad Humphries ...no religious test shall ever be required Web Development Manager as a qualification to any office or public Phone: 540/675-3015, x225 trust under the United States. -Article VI
Re: Filepath quesiton
It's not scr--it's src. It should read script src=orgedit.js/script Ramesh Yerneni wrote: In my jsp file tried to replace script scr=c:\aims\src\jsp\orgedit.js/script with and it doesn't work. The .js file and .jsp file are in same directory. What intrigues me more is in the same jsp the following line works %@include file=footer.jsp % For some reason I can't get .js files to work without giving full path where as included jsp are loaded properly wihtout full path. Anybody knows why? ... -- - Thad Humphries ...no religious test shall ever be required Web Development Manager as a qualification to any office or public Phone: 540/675-3015, x225 trust under the United States. -Article VI
Re: IE and downloading a binary file
Friend, if you ever find out, please let me know--I've been searching for a solution to this IE feature for over four years now!! I've fallen back on telling the user in my documentation to use the browser's save function (in the case of text, images, etc.) or the save of the application opened in the browser window (in the case of Excel, Word, etc.). Jez, I wish Mozilla would finally get it together... Zsolt Koppany wrote: Hi, My servlet has to get the Browsers to download binary file independently of their contents. For this purpose I use response.setContentType(application/octet-stream) and I write the content of the file into the output stream of the server. it works fine with Netscape and partly with IE. The problem is that IE obviously ignores setContentType() and depending of the file sometime it tries to show the content of the file instead of downloading it. How can I force IE to download the file? Zsolt -- - Thad Humphries ...no religious test shall ever be required Web Development Manager as a qualification to any office or public Phone: 540/675-3015, x225 trust under the United States. -Article VI
Re: Filepath quesiton
If you are running Apache, have you added AddType application/x-javascript .js to your httpd.conf file? If not Apache, does your web server recognize .js files if requested from an HTML page? Ramesh Yerneni wrote: Sorry, that was a typo, I have it as src, still doesn't work. Thank you for trying to help... Original Message Follows From: Thad Humphries [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: Filepath quesiton Date: Thu, 30 Aug 2001 11:38:36 -0400 It's not scr--it's src. It should read script src=orgedit.js/script Ramesh Yerneni wrote: In my jsp file tried to replace script scr=c:\aims\src\jsp\orgedit.js/script with and it doesn't work. The .js file and .jsp file are in same directory. What intrigues me more is in the same jsp the following line works %@include file=footer.jsp % For some reason I can't get .js files to work without giving full path where as included jsp are loaded properly wihtout full path. Anybody knows why? ... -- - Thad Humphries ...no religious test shall ever be required Web Development Manager as a qualification to any office or public Phone: 540/675-3015, x225 trust under the United States. -Article VI _ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp -- - Thad Humphries ...no religious test shall ever be required Web Development Manager as a qualification to any office or public Phone: 540/675-3015, x225 trust under the United States. -Article VI
Re: IE and downloading a binary file
If you do get the latest service pack, don't get SP2 for IE! I understand that it removes support for old-style plugins, including the Java 2 plugin as loaded by the jsp:plugin tag. I guess that is Microsloth's way of saying, So, there, Sun! [EMAIL PROTECTED] wrote: We ran into this same problem here a while ago. Here's a couple (unhelpful) Microsoft Knowledge Base articles regarding the problem: http://support.microsoft.com/support/kb/articles/Q267/9/91.Asp http://support.microsoft.com/support/kb/articles/Q281/1/19.ASP They recommend upgrading to IE5.5 SP1, but that didn't even seem to work right here. ... -- - Thad Humphries ...no religious test shall ever be required Web Development Manager as a qualification to any office or public Phone: 540/675-3015, x225 trust under the United States. -Article VI
RE: welcome file in web.xml with pre-compiled jsp's?
/servlet-name url-pattern /loggingFrame.jsp /url-pattern /servlet-mapping servlet-mapping servlet-name loggingSaveCancel /servlet-name url-pattern /loggingSaveCancel.jsp /url-pattern /servlet-mapping servlet-mapping servlet-name login /servlet-name url-pattern /login.jsp /url-pattern /servlet-mapping servlet-mapping servlet-name messages /servlet-name url-pattern /messages.jsp /url-pattern /servlet-mapping servlet-mapping servlet-name parameters /servlet-name url-pattern /parameters.jsp /url-pattern /servlet-mapping servlet-mapping servlet-name parametersFrame /servlet-name url-pattern /parametersFrame.jsp /url-pattern /servlet-mapping servlet-mapping servlet-name parametersSaveCancel /servlet-name url-pattern /parametersSaveCancel.jsp /url-pattern /servlet-mapping servlet-mapping servlet-name serialNosFrame /servlet-name url-pattern /serialNosFrame.jsp /url-pattern /servlet-mapping servlet-mapping servlet-name serialNos /servlet-name url-pattern /serialNos.jsp /url-pattern /servlet-mapping servlet-mapping servlet-name snapshot /servlet-name url-pattern /snapshot.jsp /url-pattern /servlet-mapping servlet-mapping servlet-name snapshotFilter /servlet-name url-pattern /snapshotFilter.jsp /url-pattern /servlet-mapping servlet-mapping servlet-name snapshotFrame /servlet-name url-pattern /snapshotFrame.jsp /url-pattern /servlet-mapping servlet-mapping servlet-name telnet /servlet-name url-pattern /telnet.jsp /url-pattern /servlet-mapping servlet-mapping servlet-name telnetFrame /servlet-name url-pattern /telnetFrame.jsp /url-pattern /servlet-mapping servlet-mapping servlet-name telnetInstr /servlet-name url-pattern /telnetInstr.jsp /url-pattern /servlet-mapping servlet-mapping servlet-name trace /servlet-name url-pattern /trace.jsp /url-pattern /servlet-mapping servlet-mapping servlet-name traceFrame /servlet-name url-pattern /traceFrame.jsp /url-pattern /servlet-mapping servlet-mapping servlet-name traceSaveCancel /servlet-name url-pattern /traceSaveCancel.jsp /url-pattern /servlet-mapping !-- Struts Tag Library Descriptor -- taglib taglib-uri /WEB-INF/struts-bean.tld /taglib-uri taglib-location /WEB-INF/struts-bean.tld /taglib-location /taglib taglib taglib-uri /WEB-INF/struts-html.tld /taglib-uri taglib-location /WEB-INF/struts-html.tld /taglib-location /taglib taglib taglib-uri /WEB-INF/struts-logic.tld /taglib-uri taglib-location /WEB-INF/struts-logic.tld /taglib-location /taglib taglib taglib-uri /WEB-INF/struts-template.tld /taglib-uri taglib-location /WEB-INF/struts-template.tld /taglib-location /taglib taglib taglib-uri /WEB-INF/app.tld /taglib-uri taglib-location /WEB-INF/app.tld /taglib-location /taglib /web-app - Thad Humphries ...no religious test shall ever be required Web Development Manager as a qualification to any office or public Phone: 540/675-3015, x225 trust under the United States. -Article VI
Re: Does response.sendRedirect() work in tomcat3.3?
We're using Tomcat 3.2.3 and are using response.sendRedirect() from a servlet without difficulty. At 14:32 8/23/2001 -0500, you wrote: When using tomcat 3.2.1 with apache, no matter what trick we tried, we could not get response.sendRedirect() to work properly, the page printed up garbage 90% of the time. Is anyone using response.sendRedirect() in their jsp code with 3.3 connected to apache? - Thad Humphries ...no religious test shall ever be required Web Development Manager as a qualification to any office or public Phone: 540/675-3015, x225 trust under the United States. -Article VI
Re: Mozilla and Tomcat
Beware! Mozilla 0.9.3 solved a major bug we were encountering with earlier versions of 0.9.x--session information was getting lost when the an applet was loaded with the Java plug-in (http://bugzilla.mozilla.org/show_bug.cgi?id=79851). At 13:03 8/23/2001 -0700, you wrote: Once I got rid of 0.9.3 and reinstalled 0.9.2 life was good again. I've since upgraded to Tomcat 4.0b7 and am staying with Mozilla 0.9.2 and life is still good. Cool, some corroboration that 0.9.3 has some issues remaining to be worked out =) - r - Thad Humphries ...no religious test shall ever be required Web Development Manager as a qualification to any office or public Phone: 540/675-3015, x225 trust under the United States. -Article VI
Re: Solaris Problem
Roy, I am mixed success with Tomcat and Solaris. In all cases, we're running Solaris 2.7 (properly patched), JDK 1.3.1, and Tomcat 3.2.3 with mod_jk. We've two applications. Fortunately, our web product (a thin-client document imaging and workflow application) runs like a top. My other application--a smaller, custom job--tends to hang on Solaris with Tomcat and I'm not sure why (works fine on Linux with Tomcat and on Solaris with WebLogic). No crash, no stack trace, just stops running. Other Tomcat served pages (like the examples) continue to work. I asked yesterday about the possibility of the Tomcat hang being due to a race condition in the creation of session beans. I got not response but today am rewriting my application to remove that possiblity just in case. We'll see... At 12:11 8/22/2001 -0300, you wrote: I would like to know if anyone out there is successfully using Tomcat with Solaris and if so what version of Solaris and what jdk version. - Thad Humphries ...no religious test shall ever be required Web Development Manager as a qualification to any office or public Phone: 540/675-3015, x225 trust under the United States. -Article VI
bean creation race conditions?
As I mentioned yesterday, I have an application that stalls on Solaris 2.7 (properly patched) along with Apache 1.3.20, Tomcat 3.2.3, mod_jk, and JDK 1.3.1. It runs fine on Linux with Tomcat. The application starts with an index.jsp file that requests a bean with jsp:useBean. The index.jsp then loads two frames, both of which use the same bean. I assumed that the index.jsp would create the bean before it loaded the other pages and this seems to be the case on Linux. But could this be creating a race condition on Solaris that causes it to stall from time to time? Do I need to relook these pages to see if there is a way around this? - Thad Humphries ...no religious test shall ever be required Web Development Manager as a qualification to any office or public Phone: 540/675-3015, x225 trust under the United States. -Article VI
Re: Tomcat 3.2.2 stalls on Solaris
Yes. I installed all the patches. Just now double checking myself, I see two libthread patches for 2.7: 106980-13 and 106541-12 or later and I have -16 of each. At 16:30 8/20/2001 -0400, you wrote: Did you apply Solaris patches before installing JDK 1.3.1 ? There are several Solaris patches to fix threading problems. Check the patches tar file which comes with 1.3.1 and then list installed patches, and see if you are up to date... Jan P.S., Of course it can me a zillion other things... On Mon, 20 Aug 2001, Thad Humphries wrote: We have an application that was built on Tomcat 3.2.3, Apache 1.3.20, and RedHat Linux 6.2 and 7.1. It has also been tested on WinNT with IIS 4.0 and Tomcat 3.2.3 and JRun 3.1. It runs fine in these environments (all with JDK 1.3.1). My problem is with Solaris with Tomcat. I've installed JDK 1.3.1 on Solaris 2.7 along with Apache 1.3.20 and Tomcat 3.2.3. About the 3 time I access the application, it stalls trying to create a Timer in an object that we maintain in our session (the Timer tells the session object to periodically clean out things we keep cached in memory). The session code creation looks like this: public OasSession ( OAS pOas ) { oas = pOas; timer = new Timer ( 60*1000, new ActionListener () { public void actionPerformed ( ActionEvent pEvent ) { OasSession.this.purgeCheck(); } } ); timer.start(); } If I comment out the timer code (leaving only the 'oas = pOAS;' it all runs fine. Leave it in, and Tomcat just spins--this method never exits. Interestingly, the application runs fine (without commenting out the code above) on the same Sparc box under with WebLogic 6.0 (SP2) and the JDK 1.3.0 from BEA. Any ideas? Is there a problem with threads on the Solaris' 1.3.1 JVM? - Thad Humphries ...no religious test shall ever be required Web Development Manager as a qualification to any office or public Phone: 540/675-3015, x225 trust under the United States. -Article VI Jan K. Labanowski|phone: 614-292-9279, FAX: 614-292-7168 Ohio Supercomputer Center|Internet: [EMAIL PROTECTED] 1224 Kinnear Rd, |http://www.ccl.net/chemistry.html Columbus, OH 43212-1163 |http://www.osc.edu/ - Thad Humphries ...no religious test shall ever be required Web Development Manager as a qualification to any office or public Phone: 540/675-3015, x225 trust under the United States. -Article VI
Re: Best IDE for Servlet Development?
I've tried several IDEs in Linux: JBuilder -- free version; learning curve too steep w/out docs. Never sure what was happening. Forte IE -- **Powerful** but slow. Editor so-so. Couldn't sign jars from inside IDE. Petty annoyances, like having to re-add files to JARs when rebuilding removed them. Won't remember JAR contents. Only one project open at a time. Can *only* edit Java related files in you project (Want to check something in that C++ server program you're porting? Sorry, can't open it. Need to see another file? Add it to package first.). CodeWarrior -- Plus: Very like the Metrowerks Mac IDE which I cut my teeth on back when it was Lightspeed C Pascal. Multiple projects open at once. Edits *any* text file in Mac, DOS, or UNIX format. Minus: Like the Mac product! (I'd like a more Linux look feel. Leaves .AppleDouble directories everywhere. SOLUTION: Ant and the NEdit text editor. Full control for whatever I want! At 03:54 4/28/2001 -0700, you wrote: Hi, I just downloaded the trial version for Forte for Java 2.0 Internet Edition and it seems like a good servlet development kit because of the integrated tomcat server. I was wondering if anyone was using other IDE's for servlet development and if they had any thoughts about what was the best IDE and why? Thanks Curtis -- Thad Humphries If the misery of our poor be caused not Web Development Manager by the laws of nature but by our institu- Phone: 540/675-3015, ext. 225tions, great is our sin. Charles Darwin
Re: inputstream
I have found this differs between the JRE on the platform. In my experience, BufferedInputStream in IE 5.5 (no plugin) would get corrupted so I had to read the full value returned by URLConnection.getContentLength(). With Netscape 4.7, no plugin, I read chunks as determined by BufferedInputStream.available(). I think the Netscape approach is how it should work. At 11:51 4/30/2001 -0400, you wrote: hi everyone, i'm trying to use a form to upload a file from the webpage to my server. i don't want to store the file on myserver, i just want to receive the file data and send it somewhere else right away. i know that i have to parse the received data to eliminate the boundaries and th content type,etc. do you know the max size that i can receive on the standardInputStream thanks for any suggestions Georges -- Thad Humphries If the misery of our poor be caused not Web Development Manager by the laws of nature but by our institu- Phone: 540/675-3015, ext. 225tions, great is our sin. Charles Darwin
Re: Apache, Tomcat, Ajp12 and SSL_CLIENT_S_DN
At 09:27 4/27/2001 -0700, you wrote: But AJP13 only sends a few SSL environment params, not all of them as would be nice. David What are the SSL environment params? Are they specific to mod_ssl or do they apply in other SSL environments (like IIS)? -- Thad Humphries Microsoft... What do you want Web Development Manager to reinstall today? Phone: 540/675-3015, ext. 225- Unknown
Re: mod_jk.conf-auto problem
You might check where mod_jk.so is located. Though it reads LoadModule jk_module libexec/mod_jk.so in mod_jk.conf-auto, RedHat 6.2 installs all .so modules in /usr/lib/apache which is linked to /etc/httpd/modules. Notice that 'libexec' is no part of this! Without writing your own mod_jk.conf, you can create /etc/httpd/libexec and copy mod_jk.so into it. At 09:10 4/26/2001 -0700, you wrote: I am having problems connecting Tomcat with Apache. Binaries Apache 1.3.19 Tomcat 3.2.1 Linux 7 error: Syntax error on line 8 of /usr/local/tomcat/conf/mod_jk.conf-auto: Invalid command 'LoadModule', perhaps mis-spelled or defined by a module not included in the server configuration mod_jk.so is a Linux binary in placed in libexec Thanks! a.l. [EMAIL PROTECTED] -- Get your FREE download of MSN Explorer at http://explorer.msn.comhttp://explorer.msn.com -- Thad Humphries If the misery of our poor be caused not Web Development Manager by the laws of nature but by our institu- Phone: 540/675-3015, ext. 225tions, great is our sin. Charles Darwin
Re: ADMIN Section
Hey, very cool... except that my 3.2.2b3 server says it's 3.2.2b2. H... guess that's one for the developers... -- Thad Humphries If the misery of our poor be caused not Web Development Manager by the laws of nature but by our institu- Phone: 540/675-3015, ext. 225tions, great is our sin. Charles Darwin
Re: mod_jk default protocol in Tomcat-3.2.1
You can't modify the -auto files. What I did was to copy mod_jk.conf-auto to mod_jk.conf and edit the application I wanted for ajp13. At 14:45 4/25/2001 -0400, you wrote: Is there a way to specify the default protocol that will be used when creating mod_jk.conf-auto? It always uses AJP12 and I think AJP13 would probably be better. -Steve Tarpon Springs, FL -- Thad Humphries If the misery of our poor be caused not Web Development Manager by the laws of nature but by our institu- Phone: 540/675-3015, ext. 225tions, great is our sin. Charles Darwin
JSPs and PATH_INFO
Is there any way to get a JSP to recognize response.getPathInfo() (a.k.a., a CGI's PATH_INFO) the same way a servlet does? When I call http://localhost/examples/servlet/RequestInfoExample/blahblahblah I get a path info of 'blahblahblah' but if http://localhost/examples/jsp/snp/snoop.jsp/blahblahblah I get a 404 File not found on examples/jsp/snp/snoop.jsp/blahblahblah -- Thad Humphries 'Open Systems' means no fences. And Web Development Manager no fences means no need for Gates. Phone: 540/675-3015, ext. 225 - Sun Microsystems
extension headers and SSL
Summary: We've got Tomcat 3.2.1 with mod_jk.so working under SSL except for one thing (details below). Any one have any ideas what might be missing? Details: We are developing a J2EE application with Apache 1.3.12 (and above) and Tomcat 3.2.1 on Linux and Solaris. In places the UI relies on XHTML generated from JSPs, in other places on applets. Several portions of our application uses HTTP headers to pass information between the JSPs and the applets: The JSP will call response.setHeader( "my-custom-header", someString ); and the applet gets this value by calling URLConnection c = someURL.openConnection(); ... String someString = c.getHeaderField( "my-custom-header" ); This approach is okay with the HTTP/1.1 spec as an extension header (para. 7.1). When I run this code one Apache-Tomcat, all is well--my applet sees what the JSP sets. We've installed Stronghold 3.0 on a Solaris box. Tomcat 3.2.1 has also been installed, configured, and tested with Stronghold using mod_jk. The above method of passing information works fine with Stronghold only so long as SSL is not used. Connecting via http:// works fine. However, when connecting with SSL, via https://, the URLConnection.getHeaderField() method returns null. Can anyone help us out here? I think this should be allowable under SSL as it is without it. Is there something I need to add to my configuration? Thanks for your help. ------ Thad Humphries "If the misery of our poor be caused not Web Development Manager by the laws of nature but by our institu- Phone: 540/675-3015, ext. 225tions, great is our sin." Charles Darwin