Re: trying to solve mod_jk with tomcat 1.3 mistery....

2004-04-01 Thread David Smith
Did you ever get an answer to this? I had a very similar problem while working with virtual hosts and where to place the different directives in the httpd.conf file. Got it working by placing all but the JkMount directives in the top level of the httpd.conf right after the LoadModules section

Re: any standart way to keep passwords encripted???

2004-04-02 Thread David Smith
CL's, change passwords on a routine basis, minimum privilege, etc, ...). Just my three cents on the matter. It's Friday -- time for happy hour. --David Smith, CISSP Emerson Cargnin wrote: How can I mantain databases passwords without : - Being put in the code (arg) - Being in plain

Re: Bad Class Version while compiling JSP Files on Tomcat

2004-04-07 Thread David Smith
Hi. Sounds to me like your jar files are compiled under different JDKs. Be sure when you install j2sdk1.4.2 to completely replace all files in the JDK directory. I'd actually go so far as to clean install in a separate directory (ie /usr/java/j2sdk1.4.2_04) and then symlink j2sdk to it. Set

Re: Connecting the HTTP Server and Tomcat

2004-04-07 Thread David Smith
Hi. Can you post the relevant parts of your httpd.conf file? Also, I missed this in the thread if it was mentioned, but what version of Apache are you working with? I ask, because it looks like from my setup that Apache ditched the AddModule directive in Apache 2.0.xx. LoadModule needs to be

Re: Connecting the HTTP Server and Tomcat

2004-04-08 Thread David Smith
.c file) loaded when I did the apachectl -l. I am working on getting that loaded now -Original Message- From: David Smith [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 07, 2004 3:19 PM To: Tomcat Users List Subject: Re: Connecting the HTTP Server and Tomcat Hi. Can you post the relevant

Re: java.mail.Session TC5 woes

2004-04-22 Thread David Smith
Do you have both mail.jar and activation.jar in your WEB-INF/lib or common/lib folder? Both are available free from Sun's website. --David Mark Lowe wrote: I've been googling around and I gather its a problem but I haven't found a solution yet. Are there any nooks and cranies to using java m

Re: DB connection pool problem

2004-05-04 Thread David Smith
I'm a bit confused on your code: try{ // load the driver class file //Class.forName("com.mysql.jdbc.Driver").newInstance(); //establishing the connection if(con == null){ ll.add("Inside 1st try. Connection object found to be null");

Re: DB connection pool problem

2004-05-04 Thread David Smith
e.getConnection() if dataSource != null. --David David Smith wrote: I'm a bit confused on your code: try{ // load the driver class file //Class.forName("com.mysql.jdbc.Driver").newInstance(); //establishing the connection if(con =

Re: Long running JDBC session

2004-05-04 Thread David Smith
You could try writing your queries so fewer are done. 3000 "quick" queries is 3000 command parses + 3000 actual query executions. That's a lot of work for the database engine. Fewer queries (1 if possible) would drastically increase performance. --David Carlos-Roberto Queiroz wrote:

Re: Include file?

2004-05-07 Thread David Smith
Server.xml is for the most part a standard xml file and what Hassan is suggesting is a very standard way of including external files in XML. At the very top of your file, before anything (except maybe the line if it exists) put in a DOCTYPE tag as described below. The entity tag within it wil

Re: Startup Problems

2004-05-10 Thread David Smith
May 10, 2004 11:02:30 AM org.apache.catalina.core.StandardHost start INFO: XML validation disabled May 10, 2004 11:02:31 AM org.apache.commons.digester.Digester endElement SEVERE: End event threw exception I would say from the excerpt above you have an error in your server.xml file in one of your

Re: Tomcat as 'root' insecure? (again)

2004-05-25 Thread David Smith
Let's see if I can offer a direct answer. I don't believe tomcat is insecure, but there are always those holes that haven't been found yet and a chance that the bad guys will find them first. The best practice approach to system security is to run all processes (tomcat included) at the minimu

Re: Tomcat as 'root' insecure? (again)

2004-05-26 Thread David Smith
r, and up till now we've always run Tomcat as root. I don't see a jvsc-script or directory. Do I need to upgrade to TC5 to be able to use the script? Roger Barnet Wagman wrote: David Smith wrote: Let's see if I can offer a direct answer. I don't believe tomcat is insecure, bu

Re: problems connecting to networked odbc data source

2004-06-07 Thread David Smith
Check the archives -- jdbc-odbc bridge is a bad idea. It's never been stable to my knowlege. I'd recommend either a real MS SQL server or some other database server with a good JDBC driver. --David ilasno wrote: hello, here's my setup. i have a development linux server running debian, tomcat

Re: How do I associate a web app with a specific IP (connector)?

2004-06-07 Thread David Smith
I did this with two ... sections each with their own tags and appBase values in their respective .. tags. It's probably over the top, but I wanted to be absolutely sure my high security apps were only talking through a SSH encrypted tunnel to the Apache server (different machine). I'm sure

Re: unable to connect to mysql db on localhost

2004-06-09 Thread David Smith
I think this error message is fairly telling of your problem: org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory, cause: java.sql.SQLException: Cannot connect to MySQL server on localhost:3306. Is there a MySQL server running on the machine/port you are trying to

Re: AW: IP Adresses

2004-06-09 Thread David Smith
Use the address attribute of your connector to make the connector listen on only one IP. --David Gunnar Pörschke wrote: :-( this is how to configure remote ip adresses. This doesn't help at all... I need to configure the ip adress for my (local) tomcat itself Tomcat currently listen to all

Re: [Fwd: tomcat url rewriting protblem]

2004-06-09 Thread David Smith
You do realize this is very off topic as it's an Apache httpd issue, not a Tomcat issue. The question would be better asked on an Apache web server list. At anyrate, I think you need to have the proper flags set at the end of the RewriteRule: RewriteEngine On RewriteLog "/logs/rewrite.log" Re

Re: error starting tomcat

2004-06-09 Thread David Smith
There's probably a reference to it or a reference to a symlink in your server.xml's ... section. Tomcat5 should own this file or be a member of a group that owns it and has read access to it. --David Werner van Mook wrote: It is not complaining about the port number. I've seen the error if you

Re: error starting tomcat

2004-06-09 Thread David Smith
Check your system log files. I'll bet Fedora's doing this via some sort of security cron job. --David Werner van Mook wrote: Nope does not work. Somehow it seems to delete the newly created file. I've also tried to make the normal tomcat-user.xml file tomcat5 accessable. It changes it back to r

Query about remote_user header & Tomcat 5.0.16

2004-02-02 Thread David Smith
I've googled to every relevant doc I can find on this and can't seem to locate a reason for it. Hopefully someone on the list can help. Here's the setup: Apache 1.3.28 web server acts as a front-end to the public. It has a special home-grown authentication module for use here at Cornell used

Re: Installing Tomcat 5 from JPackage

2004-02-05 Thread David Smith
It was my impression that the Tomcat available from JPackage was built with JDK 1.3. If it was built with 1.4, it wouldn't need all those dependencies. I avoid it for that reason. Once up on a time, rpms were available from the jakarta site. I used them with at most one or two other package

RE: Does anyone have successfully build mod_jk2 on RH9 with Tomcat 4.1.xx, please share

2004-02-11 Thread David Smith
I use Mandrake and it's not too far off of RH as far as package structure. Did you install the apache2-devel package? I believe that's needed to get apxs on your system. I built mod_jk with apxs on my Mandrake 9.2 system no problem. --David you should be able to compile from the mod_jk2 sou

Re: Another Try at MySQL Connection Pooling

2004-02-11 Thread David Smith
I'm using this setup on a linux box and the only thing I can see different is your URL. I'm not familiar with the named pipes method of accessing MySQL from Tomcat. My URL is of this format: jdbc:mysql://[server name]:3306/[database name]?autoReconnect=true Also, did you place the mysql-connn

Re: IIS5 and Tomcat5

2004-02-13 Thread David Smith
Feb 12, 2004 2:41:59 PM org.apache.commons.digester.Digester fatalError SEVERE: Parse Fatal Error at line 360 column 9: The element type "Context" must be terminated by the matching end-tag "". org.xml.sax.SAXParseException: The element type "Context" must be terminated by the matching end-tag "".

Re: Tomcat 3.3.1 vs Tomcat 4.1.29

2004-02-18 Thread David Smith
I'm hoping you are either: a) Not running them at the same time or b) changing the port numbers they are listening on so they don't try taking the same port numbers already being used by other running tomcat services. I suspect a collision of Tomcat's trying to grab the same ports. If this is

Re: attributes of the element web-app?

2004-02-24 Thread David Smith
I'm surprised you didn't get some kind of error in the logs. DTDs also require a specific order to the elements. You appear to have put your icon element at the end when the DTD snippet you quoted clearly requires it at the beginning. Try it at the beginning and see what you get. --David Ge

Re: JNDI Datasource Reference in DD Not Necessary?

2004-03-09 Thread David Smith
getting nowhere... (which is a pain) I've managed to create a straight JDBC connection though so I know that the DB is accepting connections on the relevant user. TIA -- Regards David Smith --- "A monkey in every office" signature.asc Description: This is a digitally signed message part

Re: JNDI Datasource Reference in DD Not Necessary?

2004-03-09 Thread David Smith
long it is taking me to get going (I dread to think what it will be like installing this live with the client, but I'll save that happy thought for later) As ever any help much appreciated... (and if the person who helps me to get this working is ever in London I'll stand them a

Re: JNDI Datasource Reference in DD Not Necessary?

2004-03-09 Thread David Smith
n the DOCs for the MySQL DBCP Example is change the DB name. I've got the server.xml config (from the example) in the $CATALINA_HOME/conf/Catalina/localhost/app_name.xml file instead as it seems the most logical place for it (no contexts in the server.xml in TC 5 it would seem) I'm clearl

Re: JNDI Datasource Reference in DD Not Necessary?

2004-03-09 Thread David Smith
ntext and connection is currently defined in .xml Have to say I don't feel i'm getting any closer with this at the moment... I may start the whole thing again tomorrow morning and just build the example to see if i can get it working... any other suggestions ? (Cheers for all the hel

RE: JNDI Datasource Reference in DD Not Necessary?

2004-03-09 Thread David Smith
> i have never heard of this config file: > $CATALINA_HOME/conf/Catalina/localhost/.xml Well in the localhost directory I have an .xml for each Web App in the system, it contains a context tag (going from memory at the moment as I'm not in front of the server) > i defined the resource in server.x

Re: JNDI Datasource Reference in DD Not Necessary?

2004-03-10 Thread David Smith
> i assume you have tomcat 5 and apache 2 linked together, right? If so, what > connector did you use to link Apache 2 and Tomcat 5? mod_jk2 but in this instance, i'm not using Apache and i'm calling my test code via localhost:8080 -- David Smith &

RE: JNDI Datasource Reference in DD Not Necessary?

2004-03-10 Thread David Smith
ileges being wrong for the MySQL user (the connection was using the server domain name rather than localhost) once that was sorted out (MySQL privileges change in this case) the example then worked. Anyway, as I said at the top thanks to anyone that passed on some tips. ;-) Off to do the rest of

Re: JNDI Datasource Reference in DD Not Necessary?

2004-03-10 Thread David Smith
27;d got some stuff from a book, some from links etc. however i worked through the how-to this morning and got it working (although as far as i'm concerned the doco could do with an update regarding the use of server.xml and Catalina/localhost/.xml Cheers for the help -- David Smith <

Re: Login by parameters (no prompts)

2004-03-22 Thread David Smith
Hi. Time to go from lurker to contributer: Ummm that's not conformant to RFC spec and it's being discontinued in IE (90+% of your clients right there). I wouldn't recommend putting username/password info in the URL anyway. -David Jacob Kjome wrote: Well, if it were BASIC Auth, then you

Re: Login by parameters (no prompts)

2004-03-22 Thread David Smith
or all the feedback. Jonathan. David Smith <[EMAIL PROTECTED]> 03/22/2004 02:36 PM Please respond to "Tomcat Users List" To: Tomcat Users List <[EMAIL PROTECTED]> cc: Subject:Re: Login by parameters (no prompts) Hi. Time to go from lurker to c

Re: Login by parameters (no prompts)

2004-03-22 Thread David Smith
ey may even have written their own solution for polling the downloadable data (as I've seen done in the past). *sigh* The best solution would be to authenticate and download in a single request. But how? Thanks. Jonathan. David Smith <[EMAIL PROTECTED]> 03/22/2004 03:04 PM Pl

Re: JK Connector versus mod_proxy

2004-03-29 Thread David Smith
I use mod_proxy all the time with no problem well that is until my last webapp project. The good is you can map your webapp in anywhere and even in several places in the main site with a little help from mod_rewrite. The bad is user credentials from an authentication module in Apache are

Re: connexion tomcat/mysql: IP vs localhost

2004-03-29 Thread David Smith
Are you sure it's not MySQL being funny? Try going in to mysql as root and executing this query: select user, host from mysql.user ; Take a look at the host field for the user tomcat is logging in as. If it specifies anything other than %, you may end up having to put in a row for every iden

Re: connexion tomcat/mysql: IP vs localhost

2004-03-29 Thread David Smith
Well, then I'm not sure what to tell you. I use mysql all the time and have never had such an issue (Mandrake Linux 9.2, Tomcat 5.0.19, Apache 2.0). Very strange. Are there any firewalls or internet connection sharing programs at work? --David Guillaume Roger wrote: David Smith a

Re: JK Connector versus mod_proxy

2004-03-29 Thread David Smith
ncountered any gotchas with using (and more appropriately configuring) mod_jk? Last time I tried, I had all sorts of problems with data not rendering correctly, it was incredibly frustrating and awkward. Anyway, just wondering... thanks, Frank - Original Message - From: "David Smith&quo

Re: Connecting Apache and Tomcat

2004-03-30 Thread David Smith
I have this working (Apache 2.0.47, Tomcat 5.0.19, mod_jk) under Mandrake 9.2. Post relevant configuations (httpd.conf, mod_jk worker files, etc., ...) and most definitely the exact log file messages. Also, the output of 'netstat -tlnp' (execute as root) would help show what ports are open an

Re: webapps directory required for Warp?

2002-02-27 Thread David Smith
One option I believe should work is to put the full path of the app in the WebAppDeploy directive. ex.: WebAppDeploy /var/www/webapp/myapp conn /myapp --David On Tuesday 26 February 2002 03:34 pm, you wrote: > Warp. I have mod_webapp.so and libapr.dll in my Apache "modules" > directory. I ha

Re: Unable to compile class for JSP

2002-02-27 Thread David Smith
In fwLine.java (assuming you wrote the class), there needs to be a package line for the class at the top of the file something like: package com.mycompany.myproject.fwLine ; And this has to be reflected in the path under WEB-INF/classes to your fwLine.class file as in: WEB-INF/classes/com/myc

Re: Tomcat startup.bat does not work?

2002-03-05 Thread David Smith
But default "out of the box" Tomcat actually opens 3 ports. Did you change all of them?? Port 1 is the shutdown port 8005, Port 2 is the web service port 8080 (RPM: 8180), and Port 3 is the Warp connector (8008 I believe). Also try to determine what ports are in use by other services on your

Re: Tomcat 4 Realms and MySQL

2002-03-06 Thread David Smith
Just a note about the connection URL. MySQL requires an amperstand between the user and password parameters. So a correct URL (encoded for XML) will be: connectionURL="jdbc:mysql://localhost/tomcatusers?user=tet&password=test" Hope it helps... --David On Tuesday 05 March 2002 02:17 pm, you

Re: Tomcat & Mysql

2002-03-06 Thread David Smith
I just posted to another thread on this eact problem issue. The example MySQL realm in server.xml is wrong. MySQL uses an amperstand character (&) between the user and password parameters in the URL. Here is the correct URL for making a connection to a MySQL database: connectionURL="jdbc:my

Re: Upgrade to JDK1.4 --> unable to compile JSPs

2002-03-07 Thread David Smith
I saw this issue with Cocoon 2. The cocoon.war file includes javac.jar in WEB-INF/lib which is not compatible with jdk 1.4. Something very similar might be happening here. Check the directories for a tools equivalent .jar file built for use with jdk1.3. Hope this helps... --David On Thurs

Re: XML output, I need help.

2002-03-13 Thread David Smith
This sounds like IE's old ignore the mime type issue. Does the requested URL end in .xml? If not, IE may not recognize it as an xml file even with correct mime typing. Just a thought. --David On Tuesday 12 March 2002 09:35 pm, you wrote: > Hi, guys, > > I tried to write a XML format output

Re: what port should I use for mod_webapp

2001-09-25 Thread David Smith
ed to taking the default 80 when not defined. I'm not sure why, but then again, mod_webapp is still very new and is bound to be a little rough around the edges. That's my experience. --David Smith On Monday 24 September 2001 11:47 pm, you wrote: > I managed to get Apache and Tomcat

Re: Unable to set CLASSPATH dynamically

2001-09-26 Thread David Smith
the long name on the right. --David Smith On Wednesday 26 September 2001 09:34 am, you wrote: > Just installed tomcat 3.2.3 on my Win95 PC. I set up JAVA_HOME, set path > to JAVA_HOME\bin, and set TOMCAT_HOME to c:\jakarta\jakarta-tomcat-3.2.3. > When I run startup.bat here is what

Re: two tomcat-apache connections?

2001-09-27 Thread David Smith
l use the same connection. It's all described briefly, but effectively in the INSTALL.TXT file that comes with mod_webapp (the CVS source at least). --David Smith On Wednesday 26 September 2001 03:01 pm, you wrote: > red hat linux 7.1, apache 1.3.20 with mod_webapp, jakarta-tomcat 4.0 &

Re: catalina.bat

2001-09-27 Thread David Smith
Have you tried a pause command in the catalina.bat? Place it right after the point where things die and it should keep the window open. Or you could checking the log file 'catalina.out' which should also have any errors from startup. --David Smith On Wednesday 26 September 200

Re: tomcat3.0-4.0 conversion problem with JSP's

2001-10-01 Thread David Smith
we can see what's happening. --David Smith On Monday 01 October 2001 10:47 am, you wrote: > Hello List! > > I'm having some difficulty in my conversion from Tomcat 3 to Tomcat 4. > Although 3 has been stable, we've never been able to get multiple Vhosts > running und

Re: Using jsp / servlets for main web site?

2001-10-01 Thread David Smith
Pier Fumagalli is one of the major people working on that project and I haven't seen much of any posts from him in a while. Last I knew there were one or two major bugs still in need of resolution before 1.0 release. Good luck! --David Smith On Monday 01 October 2001 10:05 am, you wrote: &

Re: Using jsp / servlets for main web site?

2001-10-01 Thread David Smith
ap.xmap to figure out how files are handled. Try deploying Cocoon2 to something like /xml_test instead and try it out. If that works, then you're probably a lot closer to the answer. --David Smith On Monday 01 October 2001 12:51 pm, you wrote: > Out of the box, huh? I untar'ed tomc

Re: Using jsp / servlets for main web site?

2001-10-01 Thread David Smith
xpert advice. --David Smith On Monday 01 October 2001 03:37 pm, you wrote: > I just started over from scratch and have everything working right except > for c2. I've google'd the 'net as much as I can google and haven't found a > solution. I've tried several th

Re: Tc 3.2.3 & SSL/HTTPS config

2001-10-18 Thread David Smith
Info on how SSL works is off topic here and there are some very good papers on the net on the subject. I did a short search with Google (search terms: SSL encryption protocol) and found a reasonable intro paper from Netsape on the subject. It's at least enough to get your feet wet. As far as

Re: newbie question: Setting up MySql JDBC with Tomcat 4.0

2001-10-23 Thread David Smith
uot;s in the call to getConnection example: ... = DriverManager.getConnection( connectionURL, "user", "pass" ) ; -- last thing I see is that MySQL seems to like a semi-colon at the end of all SQL statements. Hope this help you out. --David Smith On Monday 22 October 2001 03:54 pm

Re: URGENT, Tomcat & MySQL problems

2001-10-23 Thread David Smith
r WEB-INF/lib should work depending on whether you want it available to all apps or just one. Hope this helps you. --David Smith On Tuesday 23 October 2001 11:57 am, you wrote: > Hi guys, > I am getting the following error: > > javax.servlet.ServletException: No suitable dr

Re: how to keep form data

2001-10-25 Thread David Smith
rward the user to the next page. Obviously do a quick check and if there is no form data skip the processing. If there's a problem, then just take the submitted form data and enter it back in the form with value="<%= ... %>" attributes. --David Smith On Wednesday 24 Oc

Error in mod-webapp nightly snapshot

2001-10-25 Thread David Smith
mport (at least for Tomcat 4.0.1) 'org.apache.catalina.net.ServerSocketFactory' I made the change in the snapshot I downloaded and it built without a hitch. --David Smith

Re: Tomcat 4 with Postgres 7.1

2001-10-31 Thread David Smith
ect and authenticate with password test, you've just done exactly what the JDBC driver is going to do and everything should be set. Just make sure you secure your db before making it available to the world with effective passwords, privileges, and a firewall. Hope this helps clear it up a bit

Re: TOMCAT 3.2 -> 4.0, JDBC, MySQL

2001-10-31 Thread David Smith
There's not enough info to tell, but it looks like the MySQL driver and TC 4.0.1 are working correctly. Are you using the security manager that comes with TC 4?? If so, you need to modify catalina.policy to allow this connection. --David Smith On Wednesday 31 October 2001 09:51 am

Re: ClassNotFoundException when using war file (Tomcat 3.2.3)

2001-10-31 Thread David Smith
r Options' menu item of My Computer. --David Smith On Wednesday 31 October 2001 11:01 am, you wrote: > The examples that gets shipped with the tomcat.zip file also uses Web-inf > > > [EMAIL PROTECTED] wrote: > > I'm new to tomcat but shouldn't it bet WEB-I

Re: TOMCAT 3.2 -> 4.0, JDBC, MySQL

2001-10-31 Thread David Smith
nd password) and see what you get. --David Smith On Wednesday 31 October 2001 11:33 am, you wrote: > Hi David, > > > I've started tc 4.0 with the init script. I'm not sure whether tomcat is > started with -security or not. > Which modifications are needed? How do

Re: MySQL jdbc connection url [ + server.xml bug]

2001-11-01 Thread David Smith
server.xml file. Works like a charm. The encoding does not have to be done in regular JSP or java files. Only XML files like server.xml require this. Everywhere else, just use an & character. --David Smith On Thursday 01 November 2001 11:16 am, you wrote: > At 1:51 PM +0100 11/1/01,

Re: admin pages.

2001-11-01 Thread David Smith
ion of the TC version you use and yours could be different. Definitely restart Tomcat if you use the memory realm and edit tomcat-users.xml since this file is only read once at startup. --David Smith On Thursday 01 November 2001 01:45 pm, you wrote: > I have tried manager, tomcat, tomca

Re: ....how to get tomcat running ? .........

2001-11-02 Thread David Smith
for a stack space in the Linux environment. Couldn't tell you the exact bug parade number, but it's posted at Sun's site. I've heard it's fixed in JDK 1.4, but I haven't tried it. --David Smith On Friday 02 November 2001 01:41 pm, you wrote: > I am running into t

Re: Tying tomcat and apache together

2001-11-12 Thread David Smith
t for the time being, mod_jk may be the best option for people running TC 4.0.1 in the Win* environment. Docs and binaries are available in the TC 3.3 section of the Jakarta site I think. --David Smith On Monday 12 November 2001 12:50 pm, you wrote: > I'm new to the user list and I'

Re: How get Cocoon 1.8.1 with Tomcat 4.0.1 working?

2001-11-13 Thread David Smith
ocoon directory and restart TC or use the manager app to load the new app. Try to access them from your browser. Good luck and hope this helps. --David Smith On Monday 12 November 2001 07:53 pm, you wrote: > Hello all, > > I have installed Tomcat 4.0.1 > and Cocoon 1.8.2. I have d

Re: Quick clarification

2001-11-13 Thread David Smith
as root to serve requests on 80 and that's a nasty security problem. --David Smith On Tuesday 13 November 2001 02:45 am, you wrote: > When requesting a jsp are you using a port request? > > Apache by default is set up on port 80 (the default port for all > webservers) i.e. http://l

Re: Trouble connecting Apache 1.3 & Tomcat 4 w/ mod_webApp

2001-11-15 Thread David Smith
port. The way your config is below, there should only be one with both WebAppDeploy lines referencing it. This might be the source of your error. Good luck and hope this helps some. --David Smith On Thursday 15 November 2001 12:09 pm, you wrote: > FreeBSD, Tomcat 4, Apache 1.3.19 > >

Re: what does this error mean?

2001-11-15 Thread David Smith
it. I have a only a little experience using mod_jk (I use mod_webapp), but when I saw your cornell email address, I thought I'd try to help if possible. Anyway, good luck tracking it down. --David Smith On Thursday 15 November 2001 11:24 am, you wrote: > [Thu Nov 15 11:18:53 2001]

Re: AJP and Tomcat 4.0

2001-11-15 Thread David Smith
Sounds like you have TC 4.0. Check TC 4.0.1. It has the connector line in it and commented out by default. --David Smith On Thursday 15 November 2001 01:48 pm, you wrote: > I KNOW this is probably a FAQ, though I cannot find the answer I need. > > I found a couple of message

Re: Configuration of Domino JDBC Driver...

2001-11-19 Thread David Smith
wall and take other security measures to make sure only authorized access is allowed to the database server. 4) The Domino web server does not have to be running. Generating and sending web content are the exclusive responsibility of Tomcat and/or Apache (or whatever webserver you're running)

Re: [repost] loading class files

2001-11-19 Thread David Smith
B-INF/classes to work correctly. JSPs, static content, and client-side applets should all be outside the WEB-INF folder for proper operation. This is defined in the spec and is required for all applications conforming to it. Hope this clears some mystery. --David Smith On Monday 19 November 2001

Re: Mapping "/servlet/" URLs to Tomcat 4.0.1 from Apache via mod_webapp

2001-11-19 Thread David Smith
oint you in the right direction. Hope this helps. --David Smith On Sunday 18 November 2001 07:22 pm, you wrote: > Greetings everyone, > > While still using Tomcat 3.2.1 and Apache 1.3.12 on the web server I > maintain, I have been asked to reproduce a similar environment on a >

Re: New tomcat user questions

2001-11-19 Thread David Smith
it sits where I think it belongs and poolman.jar still sees it. The sym link idea may not work if you're on a different platform (ie Windows) though. --David Smith On Monday 19 November 2001 05:08 am, you wrote: > Hi all, > > I'm running Tomcat 4.01 on Redhat 7.2 instal

Re: Location of jdbc driver

2001-11-26 Thread David Smith
ns are exhausted. After placing the .jar file, restart Tomcat so it can find the jar file. Should work after that. Hope this helps. --David Smith On Wednesday 21 November 2001 09:23 pm, you wrote: > Hi ya, > > Let's share this with the others ;-), and I think this should

Re: JSP compilation error.

2001-11-27 Thread David Smith
Have you taken a look at the .java file that's generated from the .jsp file? It's located in $CATALINA_BASE/work and should give you more insight into what's happening. --David On Monday 26 November 2001 11:08 am, you wrote: > Hi there, > Tomcat 4.0.1 on Solaris (SunOS 5.6), JDK 1.3.1, trying

Re: TC 4.0 newbie - servlet app won't run

2001-11-27 Thread David Smith
Have you taken a look at the global web.xml file? It's located in $CATALINA_BASE/conf and contains some default mappings. One of those I believe takes care of finding HelloWorldExample.class for the examples context. At any rate you might find it an interesting read as these settings are av

Re: [repost] loading class files

2001-11-27 Thread David Smith
nd is > > required for all applications conforming to it. > > Hope this clears some mystery. > > --David Smith > > I cannot find any place in the spec that says that > JSPs, etc. cannot be under WEB-INF. I have seen > many suggestions that this is a good place to put

Re: [repost] loading class files

2001-11-27 Thread David Smith
used on the server > > > side should be in a package structure under > > > WEB-INF/classes to work correctly. JSPs, > > > static content, and client-side applets should > > > all be outside the WEB-INF folder for proper > > > operation. This is defined

Re: PROBLEMS INSTALLING TOMCAT

2001-11-28 Thread David Smith
I don't particularly work with Tomcat on a Windows machine, but you might want to consider removing the ; at the end of the JAVA_HOME and TOMCAT_HOME environment variables. It may be causing problems in the startup.bat and shutdown.bat files. --David On Wednesday 28 November 2001 03:18 pm,

Re: STARTING TOMCAT

2001-11-29 Thread David Smith
Number one place to take a look is catalina.out in the $CATALINA_HOME/logs directory. If the TC is failing on start, it'll show there. --David On Thursday 29 November 2001 11:46 am, you wrote: > IS THERE ANY CONFIRMATION THAT YOU CAN GET THAT TOMCAT IS ACTUALLY > RUNNING APART FROM TRYING > ht

Re: Tomcat 4.0/JDBC driver configuration?

2001-11-29 Thread David Smith
Take a look at the JNDI howto in the TC 4 web site. It does a reasonably good job of describing how to set things up. For the location of classes12.jar, there are three place it could be placed: WEB-INF/lib of your web app for use by that app only $CATALINA_BASE/lib for use by all apps, but not

Re: OKAY: HERE GOES. THIS IS GETTING INTERESTING. Re: Tomcat 4.0/JDBC driver configuration?

2001-11-30 Thread David Smith
uhgg. This is asking for trouble in the worst way. There are three standard places for the JDBC driver in Tomcat and it should only exist in one to avoid version conflicts with updated JDBC drivers later on. WEB-INF/lib of the app will make it available to that app only $CATALINA_BASE/lib

Re: tomcat 4.0

2001-12-03 Thread David Smith
Just a note on the URL after you get the driver working: > connectionURL="jdbc:mysql://localhost/authority?user=test;password=test" The connection URL should have an amperstand encoded instead of a semicolon before password. It's unique to MySQL's JDBC driver and isn't done with any others th

Re: Turbine+mod_webapp problems with file upload (multipart data)

2001-12-03 Thread David Smith
This looks like a bug that was fixed in the nightlies for mod_webapp. You might want to download the source and build it for a better, more stable version. --David On Monday 03 December 2001 03:53 pm, you wrote: > This weekend I installed mod_webapp and pointed it to Tomcat 4.0.1 and > thing

Re: Apache & Tomcat 4.0.1

2001-12-04 Thread David Smith
Yes, mod_jk does work with TC 4.0.1. I would download the binary for TC 3.3 and use the mod_jk in that dist. The docs that come with TC 3.3 don't really apply to TC 4.0.1 though. Instead, check the server.xml in TC 4.0.1 for instructions around the entry for the AJP 13 connector. The Apache

Re: Apache & Tomcat 4.0.1

2001-12-04 Thread David Smith
: > Thanks! This is good to know. One thing to consider, is the the web_apps > module uses the the warp connector, which is suppose to have better > performance. I have not done any benchmarking, or read about any. I just > going off of the documentation that I have read. > > David

Re: Apache & Tomcat 4.0.1

2001-12-05 Thread David Smith
; I started using mod_jk today ... I would like to see the > /examples/jsp/index.html page but it will not load? > > -Original Message- > From: David Smith [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, December 04, 2001 3:19 PM > To: Tomcat Users List > Subject: Re: Apache &am

Re: Filter-Tag Problems with TC 4.0.1

2001-12-06 Thread David Smith
You have to follow the exact order as specified in the DTD. The xml parser is picky on this point. Check the DTD and your web.xml file to make sure there aren't any elements before that should be after and so forth. --David On Wednesday 05 December 2001 05:53 pm, you wrote: > Hi everyone, >

Re: Cannot connect Servlet/JSP running in Tomcat to MySQL Database

2001-12-06 Thread David Smith
Is your Tomcat using the security manager?? That would explain the error message. If so, you'll have to allow access to the datasource in catalina.policy. Otherwise it should work. --David On Wednesday 05 December 2001 05:19 pm, you wrote: > Hi, I am unable to connect a servlet or jsp runni

Re: ONE More Time! why does Tomcat 4 work this way

2001-12-07 Thread David Smith
The mod_webapp material found their might be fairly old. I haven't looked in a while, so I can't say with any certainty. I downloaded source for mod_webapp from the following page: http://nagoya.apache.org/~pier/snapshots/ It has nightly packages complete with all that's needed to build mod_

Re: Setting up a DB

2001-12-07 Thread David Smith
Take a look at this how-to at the jakarta web site: http://jakarta.apache.org/tomcat/tomcat-4.0-doc/jndi-resources-howto.html --David On Friday 07 December 2001 07:50 am, you wrote: > Hi All, > > I'm pretty new at using Tomcat and related Technologies, I have one hope > fully small question. Wh

Re: is it possible to access files not under webapps/ using mod_webapp

2001-12-17 Thread David Smith
If you have a recent build of mod_webapp, you should be able to specify the full path in the WebAppDeply directive. Pier added this after version 1.0, so you definitely need a recent build. Example: WebAppDeploy d:/data/tomcat/root conn /root (or whatever) --David On Monday 17 December 200

Re: Forbidden error, you are unable to access /examples from this server: please help, very urgent

2001-07-26 Thread David Smith
Just a thought on this thread and I've been guilty of this one as well, but you might also want to check directory and file permissions. If the user apache is running under does not have at least read permissions, the whole thing will fail regardless of settings in any .conf file. On Thursday

  1   2   3   4   >