RE: RE: Premature packet header end exception

2002-07-31 Thread Gunter D'Hondt
I'm experiencing the same problem... see message Cannot do ./configure with the webapp on Linux machine Have you tried building your own mod_webapp.so? Are you using Suse Linux? It's seems to be specific for Suse... Need a solution fast too so keep me informed pls! Gunter -Original

URL configuration.

2002-07-31 Thread RNivas
I am having application running on Tomcat at port 8080. every time i access the application i am getting URL like http://ip-adress:8080/start.jsp I am having one registered domain name www.123domain.com How can I access my application like www.123domain.com/start.jsp My server running at

RE: URL configuration.

2002-07-31 Thread Toby Saville
change the port that your HTTP10Connector runs on. This can be done in the tomcat_install/conf/server.xml file. Search for the Http10Connector directive. hope it works. -t0bes -Original Message- From: RNivas [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 31, 2002 5:10 PM To:

How can i connect Apache to Tomcat in different machines?

2002-07-31 Thread Luigi Savini
I have Apache Web Server on host 172.24.96.56 and Jakarta Tomcat 4.0.4 on host 172.24.96.57 Apache connects to Tomcat by mod_jk. In my workers.properties i have specified the following code: worker.ajp13.port=8009 worker.ajp13.host=172.24.96.57

Re: How to do stop-start fast?

2002-07-31 Thread Aleksi Kallio
After a couple of fixes the script started working, but Tomcat still hangs. So I guess netstat can't be used for that. Anyway, I have a simple sleep 3 hack that works perfectly, so this is not an issue... Something like this may work (just a quick hack so there may be typos) --start cut

RE: How can i connect Apache to Tomcat in different machines?

2002-07-31 Thread Toby Saville
The apache-tomcat HOWTO suggests the following: VirtualHost 9.148.16.139 ServerName www.virtualhost.com DocumentRoot path-to-your-docbase ApJServMount /servlet ajp12://localhost:8007/vhostExamples /VirtualHost Now if you modify this to work with mod_jk and your IP's, you

Urgent: Where can I get a full document on install, config and set Tomcat on redhat Linux?

2002-07-31 Thread Prudence Leung
Hi, all, Can anyone tell me Where can I get a full docuement on install,config and set Tomcat4.0.4 on redhat linux 7.2!! Many Thanks!!! Prudence -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: i can't acces absolute symbolic link created with ln -s command on LINUX

2002-07-31 Thread Irina Lishchenko
I have reproduced this situation and have the same problem here I have made a link to Tomcat examples directory. ln -s /path/to/tomcat/webapps/examples example So with FollowSymLinks and Indexes options I see the direcory context, see static files, but as soon as I try to get jsp page I have

How to set the content type from JSP?

2002-07-31 Thread Zsolt Koppany
Hi, how can I set the content type from JSP? Zsolt -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: Connect Java Profiler to Tomcat

2002-07-31 Thread Michael Niemaz
It's kind of easy with OptimizeIt since they provide the script. --mike Steinar Bang wrote: Zhenxin Wang [EMAIL PROTECTED]: I wonder anyone has done hooking up a Java Profiler such as OptimizeIt or JProbe. I've asked the same question on different newsgroups, but got

RE: How to set the content type from JSP?

2002-07-31 Thread Barney Hamish
%@ page contentType=... % Check the jsp syntax! http://java.sun.com/products/jsp/ -Original Message- From: Zsolt Koppany [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 31, 2002 10:51 AM To: [EMAIL PROTECTED] Subject: How to set the content type from JSP? Hi, how can I set the

Tomcat 4.0.3 and IIS Strange Problem

2002-07-31 Thread abhishek srivastava
Hello All, I am using Tomcat 4.0.3 integrated with IIS. I am very happily working with a HTML brower for so long without any problem. Now If I use a PDA simulator browser (Microsoft Pocket PC SDK 2002) then tomcat throws the following error. java.lang.NumberFormatException at

Realm reuse howto!

2002-07-31 Thread Meder Bakirov
Hello mighty all! I just wanted to ask: is it possible to reuse realms in my own jsps or servlets? I have configured form-based authentication, using JDBCRealm. I have a login.jsp with necessary fields. After an authorization, can I reuse (e.g. call them using getParameter() or by another

Re: Realm reuse howto!

2002-07-31 Thread Ben Walding
1. Storing passwords in the database is considered bad form, consider using a one way hash like MD5. 2. Is the user name a unique key? (I've seen systems that consider using user / password as the unique key... and it's a feature!) 3. If the answer to 2 is yes, you can just do

jk2 and virtual hosts

2002-07-31 Thread Simon Stewart
I've installed Apache 2.0.39, Tomcat 4.0.4 and jk2 from cvs and I'm seeing some strange behaviour. My Apache setup has numerous virtual hosts, most of which don't require Tomcat at all, though the default host does. Tomcat is configured with several Hosts and Aliases in server.xml, and is only

RE: Suppression of directory listing in Tomcat

2002-07-31 Thread Andrew Conrad
%CATALINA%\conf\web.xml servlet init-param param-namelistings/param-name param-valuefalse/param-value /init-param /servlet - Andrew Conrad -Original Message- From: Nikolas A. Rathert [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July

RE: Suppression of directory listing in Tomcat

2002-07-31 Thread Andy Eastham
Nikolas, Go to www.moreservlets.com and look at the sample chapter on web.xml. It's an excellent resource and section 5.7 explains what you want. Cheers, Andy -Original Message- From: Nikolas A. Rathert [mailto:[EMAIL PROTECTED]] Sent: 31 July 2002 11:25 To: [EMAIL PROTECTED]

AW: Suppression of directory listing in Tomcat

2002-07-31 Thread Ralph Einfeldt
Have a look at the DefaultServlet in web.xml. It has an entry like this: init-param param-namelistings/param-name param-valuetrue/param-value /init-param Change true to false. (Also have a look at the welcome-file-list in web.xml) Ralph Einfeldt Uptime Internet Solution Center GmbH

RE: tomcat 4.0.4 and j2sdk1.4.0_01 ?

2002-07-31 Thread Andrew Conrad
4.0.4 is the most current production build. I wouldn't use the LE version because it doesn't come with everything, specifically the commons-DBCP package (I _think_ it's missing) which should come in handy if you would like to pool your SQL Server connections. I have not run into any _bugs_ as

RE: Add arbitrary path to classpath?

2002-07-31 Thread Andrew Conrad
Paul, All the class loading information you want can be found here http://jakarta.apache.org/tomcat/tomcat-4.0-doc/class-loader-howto.html Basically, inside your WEB-INF folders you have a classes and lib folder to place classes and libraries (jar's). - Andrew Conrad -Original

4.1.7 DataSource.getConnection()

2002-07-31 Thread O'Gara, Damian
Title: 4.1.7 DataSource.getConnection() Hi hope someone can help. I've been using Tomcat 4.0-dev successfully for a while but have just moved to 4.1.7 beta. I am getting Oracle connections using a javax.sql.DataSource.getConnection but now get the following error java.sql.SQLException:

RE: Urgent: Where can I get a full document on install, config and set Tomcat on redhat Linux?

2002-07-31 Thread Turner, John
The Tomcat website is usually a good place to check: http://jakarta.apache.org/tomcat/tomcat-4.0-doc/index.html John Turner [EMAIL PROTECTED] -Original Message- From: Prudence Leung [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 31, 2002 3:48 AM To: Tomcat Users List Subject: Urgent:

RE: URL configuration.

2002-07-31 Thread Turner, John
If you want to use tomcat stand-alone (no separate webserver), change the port in server.xml. If you want to use tomcat in conjunction with a webserver (Apache, IIS, iPlanet, etc) you will need a connector so that servlet and JSP requests on port 80 are sent to tomcat. John Turner [EMAIL

RE: RE: Premature packet header end exception

2002-07-31 Thread Mark Annal
As I remember, this message is caused when an Apache httpd child process dies. This could be through normal load management when idle children are terminated or the child has exceeded its allotted number of HTTP connections and is killed off. Each httpd child process has a connection to the

Manager App / ManagedBean is not found with PersistentManager

2002-07-31 Thread franzR
I've activated the Manager functionality in the server's configuration for tomcat, however, this application cannot be started due to the following exception: java.lang.Exception: ManagedBean is not found with PersistentManager at

Re: URL configuration.

2002-07-31 Thread Michael E. Locasto
This may be a bit basic, but besides setting the port to 80 in server.xml, make sure you've got a valid DNS record to point your domainname to that IP address. I got the impression from your message that they weren't linked. Regards, Michael - Original Message - From: Turner, John

Re: AW: Suppression of directory listing in Tomcat

2002-07-31 Thread Nikolas A. Rathert
Ralph, in my web.xml is nothing but this: ?xml version=1.0 encoding=UTF-8? !DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.2//EN http://java.sun.com/j2ee/dtds/web-app_2_2.dtd; web-app id=WebApp display-nameKamAdminWeb/display-name welcome-file-list

log4j in tomcat

2002-07-31 Thread Koes, Derrick
If I start Tomcat as an NT service I get the WARNings that no log4j appenders could be found. If I start Tomcat from the start menu everything works as expected and I get my logs. Has anyone seen this behavior? Is there an explanation? I'm guessing some kind of timing issue.

Re: Finding the servlets

2002-07-31 Thread Michael E. Locasto
Toby, Not sure about the 'reserved' bit, but webapps is the default starting point for Tomcat to look for directories that conform to the specs. Each subdirectory should be a complete Context. I'm not sure if the name 'webapps' is actually specified, but that is beside the point. Tomcat will

AW: AW: Suppression of directory listing in Tomcat

2002-07-31 Thread Ralph Einfeldt
Have you looked at all your web.xml files ? ${CATALINA_BASE}/conf/web.xml ${CATALINA_BASE}/webapps/webapp-name/WEB-INF/web.xml In the default installation of tomcat 4.0 it's defined in the web-app element. BTW: Which tomcat version are you talking about ? Ralph Einfeldt Uptime Internet

Re: AW: AW: Suppression of directory listing in Tomcat - Problemsolved

2002-07-31 Thread Nikolas A. Rathert
Thank you, Ralph! Of course I didn't look at all web.xml files ;) I had to change the first you mentioned below. But instead of an error page there is just only the notice that the resource is not available. That's pretty okay for me. I am using 4.0.3 on a stupid windoze box. Thanks, Nick

Re: Suppression of directory listing in Tomcat

2002-07-31 Thread Nikolas A. Rathert
Thanks, that is it. I did not see that you meant the web.xml residing within /conf. ;) Andrew Conrad wrote: %CATALINA%\conf\web.xml servlet init-param param-namelistings/param-name param-valuefalse/param-value /init-param /servlet - Andrew

Help Apache2.0 with Tomcat4 (mod_jk or mod_jk2 or mod_webapp ?)

2002-07-31 Thread Heligon Sandra
Hi, I am working on a web application. I used the default Tomcat4.0.4 configuration until now. (standalone mode execution). I would like to use Apache and Tomcat together but I don't understand what I must do. The configuration is

RE: Classpath Woes...

2002-07-31 Thread Michael Remijan
Hi, Another great example of why I strongly advocate *against* the use if ide's!! Mike -Original Message- From: Ben Boule [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 30, 2002 5:06 PM To: '[EMAIL PROTECTED]' Subject: Classpath Woes... Hi, I was wondering if anyone could help me

tomcat 401 not responding!!!

2002-07-31 Thread Hoang C. Truong
Hello everyone, All of a sudden, I can't startup tomcat. It was working fine. After I shutdown, nothing seems to work any more. I see this message in logs/catalina.out Starting service Tomcat-Standalone Apache Tomcat/4.0.1 Normally, I would see much more than this. CAN ANY ONE HELP?

Re: Help Apache2.0 with Tomcat4 (mod_jk or mod_jk2 or mod_webapp?)

2002-07-31 Thread Nikolas A. Rathert
Hi, see below your questions, please Heligon Sandra wrote: Hi, I am working on a web application. I used the default Tomcat4.0.4 configuration until now. (standalone mode execution). I would like to use Apache and Tomcat together but I don't

Re: tomcat 401 not responding!!!

2002-07-31 Thread Nishant_Awasthi
Can you send me more details what exactly you see...in error message? Nishant Awasthi Corporate Systems Development Progressive Insurance

Re: tomcat 401 not responding!!!

2002-07-31 Thread Nikolas A. Rathert
mm, too few information. What OS are you running on that machine? If it is windoze try to reboot it. Hoang C. Truong wrote: Hello everyone, All of a sudden, I can't startup tomcat. It was working fine. After I shutdown, nothing seems to work any more. I see this message in

RE: Help Apache2.0 with Tomcat4 (mod_jk or mod_jk2 or mod_webapp ?)

2002-07-31 Thread Turner, John
My advice is to use mod_jk. Mod_jk2 is still new, and there are some issues with mod_webapp that prevent it from being ready for production in my opinion. These may help: http://www.acg-gmbh.de/mod_jk/ (you need the mod_jk.dll file from here)

RE: Help Apache2.0 with Tomcat4 (mod_jk or mod_jk2 or mod_webapp ?)

2002-07-31 Thread Turner, John
FYI The Galatea Flashguides link is dead, has been for a couple of days. John Turner [EMAIL PROTECTED] -Original Message- From: Nikolas A. Rathert [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 31, 2002 9:02 AM To: Tomcat Users List Subject: Re: Help Apache2.0 with Tomcat4 (mod_jk

RE: Classpath Woes...

2002-07-31 Thread Ben Boule
Tomcat 3.3.1, downloaded as a binary, installed in a new directory on Solaris 8. No changes were made to the Tomcat configuration, other than things like turning on debug flags in server.xml, etc... Ben -Original Message- From: Larry Isaacs [mailto:[EMAIL PROTECTED]] Sent: Tuesday,

putting custom code in front of Struts Main Servlet

2002-07-31 Thread Chris Ruegger
This is a bit off topic but we are using Tomcat with Struts. We want to be able to always execute some code before the Struts servlet is invoked, to check for things like lost session, permission, etc. What is the best way to do this? I'm thinking either have a servlet that we send everything

RE: Re[2]: REPOST: Document.importNode not working-works fine in modified JSDK2.1

2002-07-31 Thread Cox, Charlie
actually, there are three versions. you should get rid of the older 2 because they may be conflicting. you should also get rid of other duplicates(xalan,xml-apis,regexp,xmldb?). you have no way of knowing which version of xerces is loaded first - only the first version loaded(may be the old or

RE: putting custom code in front of Struts Main Servlet

2002-07-31 Thread Michael Remijan
What I did is extend the org.apache.struts.action.ActionServlet override the init() method and then in WEB-INF/web.xml use the name of your class for the servlet-class.../servlet-class entry. Mike -Original Message- From: Chris Ruegger [mailto:[EMAIL PROTECTED]] Sent: Wednesday,

Re: tomcat 401 not responding!!!

2002-07-31 Thread Hoang C. Truong
Hello, I am running it On Solaris 8. I just noticed that tomcat finally response after 15 minutes later. I really don't get it. Can you help? Thanks, -Hoang --- Nikolas A. Rathert [EMAIL PROTECTED] wrote: mm, too few information. What OS are you running on that machine? If it is

RE: tomcat 401 not responding!!!

2002-07-31 Thread Turner, John
You will get a MUCH FASTER response if you can provide more information such as relevant portions of log files, etc. Posting that tomcat doesn't work and that it's urgent doesn't help anyone help you. John Turner [EMAIL PROTECTED] -Original Message- From: Hoang C. Truong

RE: tomcat 401 not responding!!!

2002-07-31 Thread Shapira, Yoav
Hi, Edit your server.xml, so that everywhere you see debug=n is changed to debug=99. Reboot machine. Try to restart tomcat again. This time you should have more information in the various tomcat log files. If you still run into problems, let us know again and please attach output from those

RE: Connection between TOMCAT and DB2 ???

2002-07-31 Thread Turner, John
Try renaming your .zip files to .jar files. Just change the extension from .zip to .jar without changing the files themselves. John Turner [EMAIL PROTECTED] -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 31, 2002 9:22 AM To: [EMAIL

share session between webapps

2002-07-31 Thread Michael Remijan
... Is there technique to share a session, or objects within the session between web applications? What I want to do is login or register at a site and if the user moves to a different webapp, I want to be able to determine, by looking for an object in the user's session, that they are

RE: tomcat 401 not responding!!!

2002-07-31 Thread Collins, Jim
I have had similar problems running Tomcat 4.1.3 on Solaris 8. Every so often an application that I have deployed using the manager servlet stops responding for about 8 minutes. -Original Message- From: Hoang C. Truong [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 31, 2002 9:19 AM

RE: Classpath Woes...

2002-07-31 Thread Larry Isaacs
Ben, Does the /examples webapp works fine and only your webapp is exibiting this behavior? If so, does your web.xml re-map *.jsp to the JspServlet? Cheers, Larry -Original Message- From: Ben Boule [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 31, 2002 9:11 AM To: 'Tomcat Users

make and Apache 2

2002-07-31 Thread Billingham, Walter 475
Hello, I am relatively new at this whole apxs and make from a build file thing, when I do a make on the mod_jk.so build, what exact file does it use? I have like four make files, like Makefile, Makefile.apxs, Makefile.in, Makefile.apxs.in. Thanks for the help, Trask. To follow the

RE: putting custom code in front of Struts Main Servlet

2002-07-31 Thread jeff . guttadauro
This also depends on when you want the code executed. I believe overriding init will only make that code execute when the servlet is first created. If you want code executed on every call to the process method, someone here did it by overriding the processPreprocess (method name? - have to

RE: make and Apache 2

2002-07-31 Thread Turner, John
If it's GNU make, the default when typing just make is Makefile (with a capital M). John Turner [EMAIL PROTECTED] -Original Message- From: Billingham, Walter 475 [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 31, 2002 9:37 AM To: '[EMAIL PROTECTED]' Subject: make and Apache 2

RE: Classpath Woes...

2002-07-31 Thread Ben Boule
Thanks Larry! Yes, *.jsp was mapped to JspServlet in the web.xml file. I believe this was copied out of some Struts boilerplate or something. Removing these mappings fixed the problem. Thanks again, Ben Boule -Original Message- From: Larry Isaacs [mailto:[EMAIL PROTECTED]] Sent:

RE: Connection between TOMCAT and DB2 ???

2002-07-31 Thread Nishant_Awasthi
Hello John, It was a nice thinking but I didn't worked. It is not finding the driver even now...I tried printing the classpath..though it shows the all 3 .jar files included but it is working only in %SQLLIB%\bin directory that is if I try to run my file by keeping it in %SQLLIB%\bin directory

Internal server Error - Read of HTTP Request POST parameters failed

2002-07-31 Thread François Gauvin
I’ve got this exception on our company web server. = java.lang.RuntimeException: Read of HTTP Request POST parameters failed: read content length Can someone have an idea about what is the cause of this exception. Here's all the stack trace :

RE: Help Apache2.0 with Tomcat4 (mod_jk or mod_jk2 or mod_webapp ?)

2002-07-31 Thread Heligon Sandra
Before posting the message I read the http://www.acg-gmbh.de/mod_jk/ but I thought that the mod_jk.dll was not good in relation to the notes. It was an error from me. But It doesn't work. I can start Apache an Tomcat but I can not run my web applications. When I start Tomcat no web application

AW: Internal server Error - Read of HTTP Request POST parameters failed

2002-07-31 Thread Ralph Einfeldt
That means tomcat couldn't read as many bytes from a post request as where declared in the header of the request. I guess from the log messages that you run tomcat standalone. In this case this normally indicates that the client had an error or was stopped while sending the request. If I'm

RE: log4j in tomcat

2002-07-31 Thread Charles N. Harvey III
I think I know what the problem is. To add log4j to Tomcat you added an extra parameter to either startup.bat or catalina.bat right? (I can't remember which one.) So when you start Tomcat from the start menu it reads the change you made in the file. Thing is, when Tomcat starts as a service

RE: Connection between TOMCAT and DB2 ???

2002-07-31 Thread Sullivan, Mark E
Who's DB2 jdbc driver are you trying to use? If you're using the IBM implementation, you can either load the COM.ibm.db2.jdbc.net.DB2Driver or the COM.ibm.db2.jdbc.app.DB2Driver If you use the wrong one, you will get a No suitable driver exception. The correct one depends on the situation, and

RE: Help Apache2.0 with Tomcat4 (mod_jk or mod_jk2 or mod_webapp ?)

2002-07-31 Thread Turner, John
Hold on!!! Slow down. You are jumping all over the place. Take things one at a time and you will get this working. First: do the tomcat examples work? Do you get successful results at this URL: http://localhost:8080/examples ? Second: does Apache work? Do you get a successful page when

RE: Connection between TOMCAT and DB2 ???

2002-07-31 Thread Michael Remijan
... Here's a thought. are the drivers for DB2 100% java native. I'm remembering a problem a colleage of mind had using the the jdbc drivers for a database named Progress. It turns out they were not 100% java and relied on calls to native libraries. If you're running on windows it'll be a

JDBC: Socket closed connection reset by peer

2002-07-31 Thread Håkon Hansen
Hi. I'm using PostgreSQL (7.2) as backend database for my application and for the JDBCRealm. After some time (typically during night), I get SQLExceptions caused by the socket being either closed or reset by peer. Anybody having (had) similar problems (and solved them)? Versions are Tomcat

RE: Connection between TOMCAT and DB2 ???

2002-07-31 Thread Sullivan, Mark E
you also have to have the 'IBM JDBC APPLET SERVER' running. -Original Message- From: Michael Remijan [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 31, 2002 9:14 AM To: Tomcat Users List Subject: RE: Connection between TOMCAT and DB2 ??? ... Here's a thought. are the drivers for

Raising Context Manager from the dead

2002-07-31 Thread Rick Reumann
Me, being the idiot I am I accidentally deleted the manager directory under webapps on Tomcat4.0.4 on winNT running Tomcat as a service. I had another version of Tomcat4.0.4 running with the same directory structure so I copied that manager over into this directory on the machine where I deleted

Re: Raising Context Manager from the dead

2002-07-31 Thread Nikolas A. Rathert
Did you reload it? What happens if you try to access http://yourhost/manager/list ? Rick Reumann wrote: Me, being the idiot I am I accidentally deleted the manager directory under webapps on Tomcat4.0.4 on winNT running Tomcat as a service. I had another version of Tomcat4.0.4 running with

RE: Internal server Error - Read of HTTP Request POST parameters failed

2002-07-31 Thread François Gauvin
Thanks for your help, it was really appreciate. François Gauvin Programmeur Web Wanted Technologies Inc. 350, boul. Charest Est, 4ème Étage Québec (Québec) Canada G1K 3H5 Téléphone : (418) 523-6663, #233 -Original Message- From: Ralph Einfeldt [mailto:[EMAIL

Tomcat 4.1.x, Apache 1.3.x, mod_jk.dll

2002-07-31 Thread Paul landolt
I've seen a lot of discussions and documentation references for connecting TC and apache, but they tend to be for Apache2 or for Tomcat 4.0.x Does anybody have a successful configuration for Connecting Apache 1.3.x with Tomcat 4.1.x that they would like to share? Using a Windows mod_jk.dll or

RE: Tomcat 4.1.x, Apache 1.3.x, mod_jk.dll

2002-07-31 Thread Turner, John
What is different about tomcat 4.1.x that makes a HOWTO for 4.0.x unusable? I'm just curious...I am wrapping up a fairly large and detailed HOWTO for apache 1.3.x + tomcat 4.0.4 + mod_jk on RH Linux 7.2 and would like to know what I might be missing. John Turner [EMAIL PROTECTED]

Re[2]: Raising Context Manager from the dead

2002-07-31 Thread Rick Reumann
On Wednesday, July 31, 2002, 10:19:13 AM, Nikolas wrote: NAR Did you reload it? What happens if you try to access NAR http://yourhost/manager/list ? When you say 'reload it' what exactly do you mean? When I go to http://localhost:8080/manger/list I get the nice page can not be

RE: Re[2]: Raising Context Manager from the dead

2002-07-31 Thread Shapira, Yoav
Hi, I don't know how complicated your setup is, so this suggestion may be irrelevant. But if you copy your server.xml, web.xml, tomcat-users.xml, catalina.sh, and just your webapp directory (and everything in it), onto a new installation of tomcat, would that work? Assuming it's the exact same

RE: Connection between TOMCAT and DB2 ???

2002-07-31 Thread Nishant_Awasthi
Hello Mark, I am currently using COM.ibm.db2.jdbc.app.DB2Driver driver to run my simple java program for establishing DB2-Tomcat connectivity. I tried changing it to COM.ibm.db2.jdbc.net.DB2Driver still it says, No suitable driver I think my tomcat is not able to find out db2java.zip file

Re: Raising Context Manager from the dead

2002-07-31 Thread Nikolas A. Rathert
So, your copied your manager folder. There is just a WEB-INF with a web.xml in it, right? And you did not delete any of the entries in server.xml concerning /manager (context path for manager). Your server is running and you are able to see the port 8080 examples, right? So as there does not

RE: Connection between TOMCAT and DB2 ???

2002-07-31 Thread Michael Remijan
.. I'm going to bet it's because of Program Files try putting it in a directory without spaces or use progra~1 in place of Program Files mike/ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 31, 2002 9:35 AM To: Tomcat Users List Subject:

RE: Connection between TOMCAT and DB2 ???

2002-07-31 Thread Nishant_Awasthi
Mike I don't understand by what you mean by 100% java native. But yes I am sure that if I run my java code by placing my java file in C:\Program Files\SQLLIB\bin directory it works absolutely fine hence I can say it is java native to DB2 directory. But I cannot make the same file run from

RE: Connection between TOMCAT and DB2 ???

2002-07-31 Thread Nishant_Awasthi
Hello Mark, Both of the servers DB2 JDBC Applet Server and DB2 JDBC Applet Server - Control Center are running... Nishant Awasthi Corporate Systems Development Progressive Insurance

Re[2]: Raising Context Manager from the dead

2002-07-31 Thread Rick Reumann
On Wednesday, July 31, 2002, 10:35:52 AM, Nikolas wrote: NAR So, your copied your manager folder. There is just a WEB-INF with NAR a web.xml in it, right? Yes that's all that is in the manager folder. NAR And you did not delete any of the entries NAR in server.xml concerning

AW: Connection between TOMCAT and DB2 ???

2002-07-31 Thread Ralph Einfeldt
The only place outside the tomcat directories where tomcat will find additional jars is ${JAVA_HOME}/jre/lib/ext. If you can't place the jar file there you have to copy or link the file to a tomcat lib directory. Ralph Einfeldt; Uptime Internet Solution Center GmbH Hamburg, Germany Hosting,

RE: Connection between TOMCAT and DB2 ???

2002-07-31 Thread Sullivan, Mark E
If your db2driver.zip/jar file was not being found, then it would through a ClassNotFoundException. Your error is due to using an invalid connection string for the kind of driver you are using. For example, using the following combination will through a no suitable driver exeception:

RE: Connection between TOMCAT and DB2 ???

2002-07-31 Thread Michael Remijan
No, It should be as simple as dropping the xxx.jar file (if it's xxx.zip rename it to xxx.jar!) into the %TOMCAT_HOME%/common/lib directory. I would do/verify the following 1) put tomcat in a directory structure where the names of the directories don't contain spaces 2) make sure TOMCAT_HOME

Re: AW: Connection between TOMCAT and DB2 ???

2002-07-31 Thread Nishant_Awasthi
Hello Ralph Thanks for your suggestion. I tried putting runtime.jar, db2java.jar and sqlj.jar files in %JAVA_HOME%/jre/lib/ext directory. and also in %TOMCAT_HOME%/common/lib directory and restarted TOMCAT but it still couldn't find the driver when I try to run the compiled java file it says No

RE: Connection between TOMCAT and DB2 ???

2002-07-31 Thread Turner, John
and 7.5) verify that the connection string inside the code is correct John Turner [EMAIL PROTECTED] -Original Message- From: Michael Remijan [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 31, 2002 10:52 AM To: Tomcat Users List Subject: RE: Connection between TOMCAT and DB2 ??? No,

Embedded Tomcat and manage requests and responses at the connectorlevel

2002-07-31 Thread Eriam Schaffter
Hi all What I would like to do is to get *all* http requests and manage them trough another connector then the one that passes them to the filesystem. Example: a http request comes and it's a GET /Test instead of trying to fetch the local Test directory I want to redirect this to another

RE: AW: Connection between TOMCAT and DB2 ???

2002-07-31 Thread Turner, John
If the JAR files are in TOMCAT_HOME/common/lib, and you get the No Suitable Driver error, there is something wrong with your connection string, or with how you are connecting, as someone else suggested. I had the same exact problem with the SQL Server 2000 drivers (same error message) and after

RE: Connection between TOMCAT and DB2 ???

2002-07-31 Thread O'Gara, Damian
Title: RE: Connection between TOMCAT and DB2 ??? Hi Tomcat only looks for .jar files and not .zip Rename your .zip to .jar Damian -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: 31 July 2002 15:35 To: Tomcat Users List Subject: RE: Connection between

Re: Raising Context Manager from the dead

2002-07-31 Thread Nikolas A. Rathert
You also restarted your server and put something like that: user name=root password=root roles=manager/ in tomcat-users.xml? I don't know what else could be. :) Rick Reumann wrote: On Wednesday, July 31, 2002, 10:35:52 AM, Nikolas wrote: NAR So, your copied your manager folder.

RE: Connection between TOMCAT and DB2 ???

2002-07-31 Thread Nishant_Awasthi
Hello Mark I think you are right Mark when You say that, it is do finding the db2jaa.jar/zip file but question is why it is not getting COM.ibm.db2.jdbc.app.DB2Driver which is placed in db2java.zip/db2java.zip.jar file. This is the source code of the file I am trying to run undr tomcat

RE: Connection between TOMCAT and DB2 ???

2002-07-31 Thread Sullivan, Mark E
look here: http://www-3.ibm.com/software/data/db2/java/v5/faq.html#q7 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 31, 2002 9:59 AM To: Tomcat Users List Subject: RE: Connection between TOMCAT and DB2 ??? Hello Mark I think you are

RE: Connection between TOMCAT and DB2 ???

2002-07-31 Thread Nishant_Awasthi
Hello Michael, I am doing exactly what you said. I have placed my .zip files which I rename as .jar files and placed them in c:\jakarta-tomcat-4.0.3\common\lib. I had all my tomcat environment variables properly set and tomcat runs fine... but When I run the java file on

RE: Connection between TOMCAT and DB2 ???

2002-07-31 Thread Nishant_Awasthi
Hello John This is the source code of the file I am trying to run under tomcat Is there any problem with connection string ??? It is working fine in %SQLLIB%\bin directory Here's the code import java.sql.*; import java.lang.*; import java.io.*; public class Ndb2servlet{ public static

Upgrading xerces.jar

2002-07-31 Thread Chris Ruegger
What do people do when they want to upgrade their version of xerces.jar? Looks like I can just put the latest version in $CATALINA_HOME/common/lib. If I put it in the WEB-INF/lib of my webapp, will that override Tomcat's default Xerces JAR file? Also, is there a way to find out the version of

AW: Embedded Tomcat and manage requests and responses at the connectorlevel

2002-07-31 Thread Ralph Einfeldt
Is there any reason why you want to treat this on the connector level ? What about defining a filter that is configured to catch all requests ? I think that's much less coding, it independend of the servlet container you use (not only from other vendors but also newer version of tomcat might

RE: Help Apache2.0 with Tomcat4 (mod_jk or mod_jk2 or mod_webapp ?)

2002-07-31 Thread Heligon Sandra
Sorry I am new with Apache-Tomcat and I find the configuration little hard. I followed the previous mail of nikolas to change server.xml, httpd.conf, workers.properties files. To start with a basic Tomcat configuration. My server.xml file is the following: Server port=8005 shutdown=SHUTDOWN

RE: Upgrading xerces.jar

2002-07-31 Thread Shapira, Yoav
Hi, I'll go from back to front: Also, is there a way to find out the version of xerces given a JAR file? Look at the manifest, if present. If not, look at the compilation dates of the files inside the JAR and compare with compilation dates inside JARs of known versions. So this isn't always

RE: Connection between TOMCAT and DB2 ???

2002-07-31 Thread Nishant_Awasthi
Hello Damien, I have already converted my .zip files to.jar files. I think as majority of the responses says..there is some problem with the connection string and driver URL I should look into it.. Any suggestions on this Class.forName(COM.ibm.db2.jdbc.net.DB2Driver); String url =

Re: Performace: Tomcat 4.0.x vs. Tomcat 4.1.x

2002-07-31 Thread peter lin
from my own experience with a test application, there are significant benefits. In particular, you will the greatest improvement with 4.1.8 w/ jdk1.4. The rough numbers for the improvement with my JSTL web application is 2-6 times faster wiht 4.1.8. To qualify this difference, look at

RE: Connection between TOMCAT and DB2 ???

2002-07-31 Thread Turner, John
I don't have any experience with DB2, so I'm not sure how much help I can be. Two things I noticed: you don't check for valid values or null for userid and passwd. Are the usernames and passwords you are using valid on that database? Also, according to this URL:

RE: Performace: Tomcat 4.0.x vs. Tomcat 4.1.x

2002-07-31 Thread Shapira, Yoav
Hi, I love these questions ;) Define large ;) The general answer is it depends on your applications. Some are better suited to take advantage of tomcat and/or JVM performance enhancements. In general, one would hope performance only improves with new releases. For example, tomcat 4.1 has a

RE: Connection between TOMCAT and DB2 ???

2002-07-31 Thread Sexton, George
The one time I used it, my driver class was: COM.ibm.db2.jdbc.app.DB2Driver -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: 31 July, 2002 9:22 AM To: Tomcat Users List Subject: RE: Connection between TOMCAT and DB2 ??? Hello Damien, I have already

  1   2   >