Apache HTTPD Tomcat: Where does mod_jk step in?

2002-12-30 Thread Johnson, Garrett
Ladies and Gentlemen: I'm using Apache 2.0.43 and Tomcat 4.1.12 with JK on Win2K. I'm using the JkMount directives to send all requests to /servlets/ and /*.jsp to Tomcat. However, I need to know where in the server processing JK actually intercepts those requests and shoots them off to tomcat,

Apache HTTPD 2.0 / Tomcat 4.1 Workflow?

2002-12-16 Thread Johnson, Garrett
I'm curious: What is the workflow sequence when one has Apache and Tomcat running together? Assuming an environment of: Apache 2.0 (@ port 80) Tomcat 4.1 (@ port 8080) mod_jk 1.2 (ajp 1.3) Win2K Pro I understand that that Apache is listening at a particular location, (let's assume for the

Difficult sections in server.xml and web.xml...

2002-12-13 Thread Johnson, Garrett
Ladies and Gentlemen: I'm afraid I can't seem to wrap my head around a few things in the web.xml and server.xml files in configuring Tomcat: In server.xml: * What does the Host node mean? If I set Host name=localhost does that make a difference than if I set it for Host name=foobar? Does the

RE: urgent !!!!problem with availability of port !

2002-12-11 Thread Johnson, Garrett
To chage the port: 1. Open server.xml file in your $TOMCAT_HOME/conf/ directory. 2. Find the section describing the main Tomcat Connector: ...Connector className=org.apache.coyote.tomcat4.CoyoteConnector port=80... 3. Alter the port attribute. -Original Message- From: neha shah

Tomcat/HTTPD Integration

2002-12-11 Thread Johnson, Garrett
Ladies and Gentlemen: I've got 2 problems here: 1. I've got a webapp sitting in the /webapps/ROOT directory, and I'd like to be able to access it using Apache HTTPD instead of Tomcat's built-in server. However, the way it's set up now, simply typing in http://www.myserver.com will bring up my

Using response.sendRedirect() with POST

2002-12-11 Thread Johnson, Garrett
Is there any way to encode parameters into a redirected response WITHOUT just encoding them into the URL like this: response.sendRedirect( /errorpage.jsp?errorcode=12 ); I'd like for it to be transparent to the user, using post, or some other invisible method like the request.setAttribute(

Config changes for speed?

2002-12-11 Thread Johnson, Garrett
When running Tomcat 4.1 from essentially the default Win2K binary install, what configuration settings should be changed if I've finished debugging and testing, and just want the app. to go as fast as possible? I'm only concerned with speed, I've got the app set up at this point... This is

Tomcat Checking Class Files

2002-12-11 Thread Johnson, Garrett
Is there any way to tell Tomcat to check for changed class files so that I can recompile my classes, and have the changes propogate out to the application WITHOUT rebooting the server? What about the same situation with JSP's? -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional

Tomcat/HTTPD Integration

2002-12-10 Thread Johnson, Garrett
Ladies and Gentlemen: I've got 2 problems here: 1. I've got a webapp sitting in the /webapps/ROOT directory, and I'd like to be able to access it using Apache HTTPD instead of Tomcat's built-in server. However, the way it's set up now, simply typing in http://www.myserver.com will bring up my

RE: Tomcat/HTTPD Integration

2002-12-10 Thread Johnson, Garrett
I'm sorry, I didn't make this clear. I should've discussed my environment: Win2K Apache 2.0 Tomcat 4.1 mod_jk installed. The question I have is, what am I missing? I've changed the httpd.conf file, and now at the end it has: LoadModule jk_module modules/mod_jk.dll JkWorkersFile

RE: Ship java app to windows box

2002-12-10 Thread Johnson, Garrett
There are a lot of reasons why one would prefer java over asp, but why not just take this position with the IT people: TOUGH. The fact is, they're IT. If you, as a developer decide, as part of your job, that a problem cannot be solved without using java, then they, as IT people, as part of

Cannot Run Servlets, only JSP's

2002-12-09 Thread Johnson, Garrett
I'm running through the O'Reilly (onjava.com) tutorial on deploying applications in Tomcat, and I can't seem to get servlets to work. I render JSP's just fine, but once I request a servlet, I get a an HTTP Status 404 error: The requested resource (/onjava/servlet/com.onjava.login) is not

RE: Cannot Run Servlets, only JSP's, Part II

2002-12-09 Thread Johnson, Garrett
Oh, yeah: My system information: Win2K, SP3 Tomcat 4.1 listening on Port 8080 -Original Message- From: Johnson, Garrett Sent: Monday, December 09, 2002 11:59 AM To: 'Tomcat Users List' Subject: Cannot Run Servlets, only JSP's I'm running through the O'Reilly (onjava.com) tutorial

RE: Cannot Run Servlets, only JSP's (Attn: Troy)

2002-12-09 Thread Johnson, Garrett
this? TOMCAT_HOME/webapps/onjava/WEB-INF/com/onjava/ thanks. ~ t r o y ~ -Original Message- From: Johnson, Garrett [mailto:[EMAIL PROTECTED]] Sent: Monday, December 09, 2002 11:59 AM To: 'Tomcat Users List' Subject: Cannot Run Servlets, only JSP's I'm running through the O'Reilly (onjava.com

RE: Cannot Run Servlets, only JSP's, Part II (Attn: Mark)

2002-12-09 Thread Johnson, Garrett
url-patternservlet/example1/url-pattern /servlet-mapping /mde/ just my two cents . . . . --- Johnson, Garrett [EMAIL PROTECTED] wrote: Oh, yeah: My system information: Win2K, SP3 Tomcat 4.1 listening on Port 8080 I'm running through the O'Reilly (onjava.com) tutorial on deploying

Obviating the index.xxxx file in the webapp directory

2002-12-09 Thread Johnson, Garrett
Ladies and Gentlemen, How do I get rid of index.html or index.jsp as the default page for my root directory? That is to say, if I deploy an application to CATALINA_HOME/webapps/ROOT, and I want someone to be able to go to www.mywebpage.com and NOT have the URL get converted to

RE: Layout/setup for a web-app...help?

2002-12-09 Thread Johnson, Garrett
Patrick, I just dealt with this same problem. The problem is that the servlet invoker class is disabled as of Tomcat 4.1.x by default. You need to specifically reference your servlet in your webapps/mywebapp/web.xml file, with the following xml under the root element: servlet

RE: trying to use jar file in jsp page.

2002-12-09 Thread Johnson, Garrett
JAR files do not go in the /WEB-INF/classes directory. They go in the /WEB-INF/lib directory. -Original Message- From: Turner, John [mailto:[EMAIL PROTECTED]] Sent: Monday, December 09, 2002 2:45 PM To: 'Tomcat Users List' Subject: RE: trying to use jar file in jsp page. Sorry, my

Error with THIS web.xml file:

2002-12-09 Thread Johnson, Garrett
This is my web.xml file: ?xml version=1.0 encoding=ISO-8859-1? !DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN http://java.sun.com/dtd/web-app_2_3.dtd; web-app display-nameCarpool Database/display-name descriptionUtility to mitigate the

RE: Problems with starting Tomcat 4.1.12 - PLEASE HELP

2002-12-09 Thread Johnson, Garrett
Did you install Tomcat as a service, the reccomended way if you did the binary install? If so, you should start it from the services control panel. -Original Message- From: Siobhan Quigley [mailto:[EMAIL PROTECTED]] Sent: Monday, December 09, 2002 7:02 PM To: Tomcat Users List Subject:

RE: Error with THIS web.xml file:

2002-12-09 Thread Johnson, Garrett
*, ejb-ref*, ejb-local-ref*) -- Tim Moore / Blackboard Inc. / Software Engineer 1899 L Street, NW / 5th Floor / Washington, DC 20036 Phone 202-463-4860 ext. 258 / Fax 202-463-4863 -Original Message- From: Johnson, Garrett [mailto:[EMAIL PROTECTED]] Sent: Monday, December 09, 2002 7

MySQL JAR File Location

2002-12-06 Thread Johnson, Garrett
Ladies and Gentlemen: Where should I drop a copy of the JDBC Driver .jar file that I need to connect to MySQL from Tomcat? I understand there are a variety of classloaders, invoked on a number of different directories. Obviously, I could just dump it into %JAVA_HOME%\jre\lib\ext, but what if I

RE: MySQL JAR File Location

2002-12-06 Thread Johnson, Garrett
[mailto:[EMAIL PROTECTED]] Sent: Friday, December 06, 2002 12:21 PM To: 'Tomcat Users List' Subject: Re: MySQL JAR File Location Johnson, Garrett writes: Ladies and Gentlemen: Where should I drop a copy of the JDBC Driver .jar file that I need to connect to MySQL from Tomcat? I understand

Concurrent Connection Limits

2002-12-03 Thread Johnson, Garrett
Ladies and Gentlemen: I need to know: Are there limits, ASIDE from those imposed by Apache HTTPD / Tomcat, imposed by WINDOWS 2000 on the number of concurrent connections it can accept? I'm running my application on Win2K Pro, but am afraid once it goes live I'll have to upgrade to Win2K

Configuring Apache 2.0.43 and Tomcat 4.1 on Windows 2000

2002-12-02 Thread Johnson, Garrett
I'm having some problems making Apache call Tomcat for it's servlet calls, and was hoping someone could help me: My environment: 1) Apache HTTPD 2.0.43 2) Tomcat 4.1 3) mod_jk.dll has been copied into the C:\Apache\Apache2\modules\ directory 4) httpd.conf, (in C:\Apache\Apache2\conf,) has

RE: Configuring Apache 2.0.43 and Tomcat 4.1 on Windows 2000

2002-12-02 Thread Johnson, Garrett
First of all, Josh, thanks -- That at least got Apache started. The problem now is that when I attempt to use apache as the go-between for serving up servlets and jsp's from tomcat it still can't seem to instantiate a worker thread: Calling the URL: