Re: Apache 2.x and Tomcat 4.x - AJP or mod_webapp

2002-09-25 Thread Scott Jones
Hi Matt, I've got mulitple instances of Tomcat running with Apache using AJP (on linux, but should work basically the same on windows). 1.) You need to configure your apache to do virtual hosts (have you done this yet). 2.) Set up your workers.properties file (used and read by apache to

Re: DBCP Database Connection pooling in TC4

2002-04-22 Thread Scott Jones
-04-20 at 08:46, Chad Johnson wrote: Hey, Well I was able to get this setup rolling this morning. Thanks in advance for anywork you might have put into my question. -Chad Johnson -- Scott Jones On-Site Manager, Inc. [EMAIL PROTECTED] 8-ONSITEMGR (866-748-3647) -- To unsubscribe: mailto

Re: DBCP Database Connection pooling in TC4

2002-04-22 Thread Scott Jones
and is based on the same commons-pool code used in BasicDataSource. john mcnally Scott Jones wrote: Hi Chad, Didn't get your emails until this morning -- are you experiencing the same problems that I was talking about? Basically, it seems like a new connection pool is getting set

DBCP Database Connection pooling in TC4

2002-04-19 Thread Scott Jones
Hi everyone, I followed Craig's instructions about how to setup DBCP with Tomcat 4.0 (I've got 4.0.1 right now) to do your connection pooling (as an alternate to using the Tyrex implementation) at: http://marc.theaimsgroup.com/?l=tomcat-userm=101631189730747w=2 I've got it up and running,

[TC4.0.1] DataSource thru JNDI -- change Factory?

2002-04-05 Thread Scott Jones
compatibility with Cocoon 2) and Sun's JDK 1.4. Cheers, Scott Jones server.xml (cropped to the relevant part) === Context path= docBase=ROOT debug=0 Resource name=jdbc/onsite auth=Container type=javax.sql.DataSource/ !-- I'm not sure if the type

[TC4.01] Session Not Established on Mac IE?

2002-03-06 Thread Scott Jones
Hello, I just got off the phone with the first person using Mac OS to use our website since we upgraded to Tomcat 4.0.1 (from Tomcat 3.3). He was unable to log into our site using Internet Explorer 5 on OS 9. We still had an instance on a development machine that used Tomcat 3.3, on which he

Session.getAttribute gives null when it shouldn't?

2002-03-04 Thread Scott Jones
Hello, I've just upgraded to Tomcat 4.0.1 (I'm using Cocoon 2, and wasn't able to get everything working with 4.0.2). I've just received an error from one user (my error page stores errors, and their stacktraces), where they had a session.getAttribute(something) that returned null where

Re: cocoon2.0.1 under tomcat4.0.2LE jdk1.4

2002-02-15 Thread Scott Jones
Moving those jar files (xerces, xml-apis, and batik-libs) into common/lib changed the error that I got but still didn't solve everything. Apparently, cocoon 2.0.1 doesn't work under JDK 1.4 (rc or final), so I checked out cocoon 2 from cvs. This still didn't work under 4.0.2, so I moved on to

Re: cocoon2.0.1 under tomcat4.0.2LE jdk1.4

2002-02-13 Thread Scott Jones
Hi Remy, I noticed that you fixed this problem on Bugzilla: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6374 Do you expect that there may be another release soon to fix this problem, or would you recommend that I go ahead and build tomcat straight out of CVS now so that I can use cocoon

mod_jk Load Balancing with TC4?

2002-01-14 Thread Scott Jones
Hello, We are using Tomcat 3.3 in production with ajp load-balancing, and are hoping to move to tomcat 4 sometime, but will need the load-balancing available. I was just looking through the documentation on the official website, and noticed that the load-balancing is actually included in the

[TC 3.2.3] SendRedirect + Mozilla problems

2001-09-25 Thread Scott Jones
Hello, My JSP application uses sendRedirect to redirect people to different pages after processing forms. When using Mozilla 0.9.2, 0.9.3, or 0.9.4 I get a bunch of headers up at the top of my page. If I refresh the page, then they go away... When I was using Tomcat 3.2.1, this problem

Destination Port for mod_jk

2001-09-12 Thread Scott Jones
Hello, I'm setting a pair of machines, one of which is running tomcat, and the other of which is running apache. I am using ajp13 to connect the two machines, and am trying to configure an iptables firewall on the apache machine (the tomcat machine will be next). The roadblock that I'm running

Re: Destination Port for mod_jk

2001-09-12 Thread Scott Jones
I've gotten around it for now my making an iptables chain that accepts inputs where the source address is my tomcat machine and where the source port is the port specified in server.xml... However, I'd still like to get this working based on destination port as well, so if anybody has any

Re: how to connect tomcat with apache running on different m/c

2001-09-07 Thread Scott Jones
. More information about this error may be available in the server error log. Apache/1.3.20 Server at localhost Port 80 but the html/gif pages are served properly kindly suggest what to do now ? thanks --- Scott Jones [EMAIL PROTECTED] wrote: You need to set up server.xml

Fallbacks for load-balanced mod_jk workers

2001-09-06 Thread Scott Jones
Hello, I am setting up a set of boxes as follows. There are two machines running Apache 1.3.19 and then there are three machines running tomcat 3.2.3. I have a worker linking each of the apache machines to each tomcat server (for a total of 6 tomcat instances). What I'm wondering is say for

Re: how to connect tomcat with apache running on different m/c

2001-09-06 Thread Scott Jones
You need to set up server.xml on the machine that will be running tomcat so that it'll be listening on whatever port. For example: Connector className=org.apache.tomcat.service.PoolTcpConnector Parameter name=handler value=org.apache.tomcat.service.connector.Ajp13ConnectionHandler/\

Re: Apache Default Document is .jsp?

2001-06-19 Thread Scott Jones
Yeah, I thought so too, but it needed the dummy file in the static directory before it actually worked for me. I will check into using mod_rewrite -- sounds like a good idea. Thanks to both of you. :) -Scott - Original Message - From: Dmitri Colebatch [EMAIL PROTECTED] To: [EMAIL

Apache Default Document is .jsp?

2001-06-18 Thread Scott Jones
Hello, I'm getting ready to setup tomcat and Apache on seperate machines. Before getting started on that project, on my development machine, I set the default DocumentRoot for apache to a different directory (for static content) than my webapp (which will eventually sit on a different machine).

Re: Install problems in FreeBSD 4.2

2001-05-25 Thread Scott Jones
Hi Lance, I experienced the same problem on RedHat 7.1. I solved it with a few environment variables: export LD_ASSUME_KERNEL=2.2.5 export LD_LIBRARY_PATH=$JAVA_HOME/jre/lib/i386/hotspot:$JAVA_HOME/jre/lib/i386/nati ve_threads:$JAVA_HOME/jre/lib/i386 That did it for me, I don't know if it'd

Re: ***** URGENT: UNSUBSCRIBING FROM THE TOMCAT-USER LIST *****

2001-05-16 Thread Scott Jones
Outlook does indeed include the headers, they just don't make them obvious to you. If you right click on the message in your list, you should be able to choose Properties and then choose the Details tab. That should give you the full message source, and you can find out what email account your

Re: AW: Custom error pages!!

2000-12-14 Thread Scott Jones
I'm trying to set up a custom error page for Cocoon Tomcat. So, I've disabled the internal Cocoon error handling, and then I tried to add an error-page descriptor to web-xml. Ideally, I'd like to re-direct to a jsp file that then would report the error to me by email. error-page

Re: Apache Tomcat running in different machine.

2000-12-05 Thread Scott Jones
Hi Nabil, Also if anyone could let me know if he's using Tomcat + Apache on Linux (and everythingh is fine!) wich version and configuration he's using. I'm running Tomcat 3.2 (final) on RedHat 7.0 with Apache 1.3.12, and everything is working great. (and I bet that the majority of the

Re: Making Tomcat start first

2000-11-28 Thread Scott Jones
Hi, I've attached the script that I place in my /etc/rc.d/init.d directory for use with starting/stopping/restarting tomcat. For RedHat, you'll already have an entry in /etc/rc.d/init.d for apache (I think it's /etc/rc.d/init.d/httpd?). This is correct. On my installations, there are

Re: Need database recommendation

2000-11-27 Thread Scott Jones
Hi Cathy, Oracle is a great DBMS; however, it is somewhat difficult to manage and set-up if you are not a DBA. You may also want to check out IBM's DB2, which is less expensive, and (in my experience) faster and much easier to develop an application around. In addition, DB2 supports the SQL 92

Re: Sharing session state on IIS...

2000-11-09 Thread Scott Jones
I'd use a cookie on this problem (unless your session is storing sensitive information). You could always encrypt it to some degree too... Also, you could write your information to disk or to a database, and then read it into your Java application. Or do you only get to control the Java code?