Re: Design advice needed.

2003-11-03 Thread Antony Paul
Can u pls mention what is that Oracle feature ?. Reading the data again is time consuming. - Original Message - From: Johan Kok [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Monday, November 03, 2003 12:17 PM Subject: RE: Design advice needed. Anthony, Did you

RE: Design advice needed.

2003-11-03 Thread Johan Kok
Wish I could, it's been eight years since I was did any DBA/DB development work. Either go to the manual, or contact a oracle list. -Original Message- From: Antony Paul [mailto:[EMAIL PROTECTED] Sent: 03 November 2003 09:10 To: Tomcat Users List; [EMAIL PROTECTED] Subject: Re: Design

need help

2003-11-03 Thread S.Gokul
Hi, I have installed tomcat 5 in my machine running windows 98. Is it compatible with 98 or do I have to do anything else to run it. Regards, S.Gokul

Re: need help

2003-11-03 Thread Kwok Peng Tuck
Make sure you have a JDK in your machine and that JAVA_HOME env variable points to it. Then click on the startup script to run tomcat. Should be able to run. S.Gokul wrote: Hi, I have installed tomcat 5 in my machine running windows 98. Is it compatible with 98 or do I have to do anything else

Re: need help

2003-11-03 Thread S.Gokul
Hi, I do have jdk1.3 installed and I have made the changes in the startup.bat file in the tomcat bin folder. But still I am not able to run it. It starts up and then after a few seconds it closes the tomcat window. I think its throwing some java exception. Can u help me out. Regards, S.Gokul

AW: need help

2003-11-03 Thread Nitschke Michael
Open it in a command window, there you could maybe see the error. Or look in the logs directory there is normally a stdout and stderr file. This out put should catch all errors throwen. Mike -Ursprüngliche Nachricht- Von: S.Gokul [mailto:[EMAIL PROTECTED] Gesendet: Montag, 03. November

Re: need help

2003-11-03 Thread Kwok Peng Tuck
Hello Gokul, It's helpful if we can see the exception, so you might want to run the script file catalina.bat located in the bin directory. Run it with:catalina run This makes tomcat run in the current window and you will be able to see the exceptions. I'm not really sure if jdk1.3

Re: need help

2003-11-03 Thread Basavaraju P. Banakar
correct me if I'm wrong Tomcat 5 requires JDK 1.4 I remember reading that java.nio packages are used from JDK1.4 - Basu.. - Original Message - From: Kwok Peng Tuck [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Monday, November 03, 2003 2:20 PM

Re: need help

2003-11-03 Thread Kwok Peng Tuck
Heh, you are quick dude. So maybe he does need JDK 1.4 :D Basavaraju P. Banakar wrote: correct me if I'm wrong Tomcat 5 requires JDK 1.4 I remember reading that java.nio packages are used from JDK1.4 - Basu.. - Original Message - From: Kwok Peng Tuck [EMAIL PROTECTED]

Re: need help

2003-11-03 Thread Peter Harrison
On Mon, 03 Nov 2003 21:42, S.Gokul wrote: Hi, I do have jdk1.3 installed and I have made the changes in the startup.bat file in the tomcat bin folder. But still I am not able to run it. It starts up and then after a few seconds it closes the tomcat window. I think its throwing some java

Re: Design advice needed.

2003-11-03 Thread achana
Ummm, didn't want to butt in, but why r u multi-threading a read, then write to Oracle? Without using roll locking, wouldn't it be the right thing to do using synchronized thread e.g. like this import java.io.*; public class ModifyAccountBalance { DespositThread Deposit1, Deposit2; Deposit1 =

Re: Design advice needed.

2003-11-03 Thread Jean-Louis
Hi, you can use a timestamp and write for example : update ... where ... and timestamp = 'the timestamp read by the select statement and saved in your application' And then check the number of rows updated. Antony Paul a écrit : Can u pls mention what is that Oracle feature ?. Reading the

Re: Tomcat 3.3 performance issues

2003-11-03 Thread Gonzo
We solved such a Problem. The Problem was that the apache server forked too many and this crushed the ajp connector. Take a look at the configuration file server.xml from tomcat and check the attributes for your AjpConnector. The values (maxProcessors + acceptCount) must be greater than the

Re: Design advice needed.

2003-11-03 Thread Antony Paul
It is not a scenario of threading at all. I found a document related to this at http://theserverside.com/patterns/thread.jsp?thread_id=6894 - Original Message - From: [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Monday, November 03, 2003 1:18 PM Subject: Re: Design

Re: Design advice needed.

2003-11-03 Thread Antony Paul
But this requires adding a column to every table. I found two ways of doing this. 1. Using time stamp. It requires adding a column to table. 2. Checking data for equality before updating. It requires querying database again. Any alternative way. thanks for the replies Antony Paul -

RE: Tomcat JK Connector DLLs for IIS in IIS 6.0/Win2k3SBS - Won't Load!

2003-11-03 Thread Sarel Bester
Hi Richard I have to admit (in utter embarrassment) that I suddenly saw the picture . . . .:). I was looking at the Properties of Web Sites and the Default Web Site. I was looking so hard I didn't the Web Services Extensions right beneath Web Sites. My servlet now work perfect through port 80.

problems with dbcp

2003-11-03 Thread Edson Alves Pereira
Hello folks, i followed what is written in tomcat-4.1.x´s JDNI DataSource documentation, but i getting this error: java.sql.SQLException: DBCP could not obtain an idle db connection, pool exhausted The machanism is not returning my connection to pool, what do i should do? Do i

Re: problems with dbcp

2003-11-03 Thread Florian Ebeling
Hi, you probably do nor close some statement, resultSet or connection. When using CP one has to do this always explicitly. Tyrex is an alternative CP implementation which has been replaced by DBCP. Edson Alves Pereira wrote: Hello folks, i followed what is written in tomcat-4.1.x´s

RE: problems with dbcp

2003-11-03 Thread Edson Alves Pereira
But removeAbandoned and removeAbandonedTimeout doesn´t close all ResultSet, Statement and Connections even if they are forsaken? -- De: Florian Ebeling[SMTP:[EMAIL PROTECTED] Responder:Tomcat Users List Enviada: segunda-feira, 3 de novembro de 2003 9:51

Re: Virtual Files

2003-11-03 Thread Duncan
Thanks guys - works great. Rodrigo Ruiz wrote: Well, if you don't precompile JSPs,there is another way to map a JSP: servlet servlet-nameMyServlet/servlet-name jsp-file/MyPage.jsp/jsp-file /servlet jakarta wrote: You can set up mappings to jsp pages servlet

DBCP error

2003-11-03 Thread Andrey . Rogov
Help me, please, to set Tomcat DBCP ! Configuration: Tomcat 4.1.27, Oracle 9i. 1. Struts DBCP works well. 2. Files classes12.jar, commons-collections, -pool, -dbcp has been removed from WEB-INF/lib into commons\lib . 3. web.xml resource-ref descriptionDatabase

Can't create TCP/IP socket

2003-11-03 Thread Michael Hanke
Hi together, I'm pretty new in this group - so please excuse if my question was answered before! I'm using Tomcat 4.1 , ActiveState Perl 5.8 and MySQL 4.0.13 on Win2000 I want to connect to the SQL-database with a small Perl script. The script runs perfectly on commandline but when it is

Re: problems with dbcp

2003-11-03 Thread Florian Ebeling
Ok. That's the same point I am currently trying to solve. I intentionally leave connections open, but they don't get freed. Perhaps someone else could comment here? -Florian my settings in server.xml--- Resource name=jdbc/TomcatDS auth=Container

RE: problems with dbcp

2003-11-03 Thread Peter Guyatt
Hi, Why dont you override the finialize method so that when your objects fall out of scope and are garbage collected then you close the connections ? Thanks Pete -Original Message- From: Florian Ebeling [mailto:[EMAIL PROTECTED] Sent: 03 November 2003 13:27 To: Tomcat Users

Deploying TOMCAT on live production server

2003-11-03 Thread Steve Jenkins
Hi, Wonder if anyone can help. I keep reading that one should not deploy TOMCAT on its' own on a live production server, that you should use Apache as the main webserver redirecting through to TOMCAT - but I don't find anywhere that says why. Why shouldn't you put just TOMCAT on a live

Re: Deploying TOMCAT on live production server

2003-11-03 Thread Tim Funk
http://jakarta.apache.org/tomcat/faq/connectors.html#integrate -Tim Steve Jenkins wrote: Hi, Wonder if anyone can help. I keep reading that one should not deploy TOMCAT on its' own on a live production server, that you should use Apache as the main webserver redirecting through to TOMCAT - but

Re: Deploying TOMCAT on live production server

2003-11-03 Thread Florian Ebeling
Hi, Apache is faster for static content and has shorter startup times. And HTTP implemenation is probably more mature in a pure HTTP server like apache. Steve Jenkins wrote: Hi, Wonder if anyone can help. I keep reading that one should not deploy TOMCAT on its' own on a live production

Re: jk2 as a static library

2003-11-03 Thread Mark W. Webb
thanks for the info. I thought I looked at the INSTALL file and did not see anything. UNIXalways :) Christopher Schultz wrote: Mark, Thanks for getting back to me. Where can I get instructions for doing this? I can only find instructions for compiling the mod_jk2 as a shared object.

Cannot create JDBC driver of class '' for connect URL 'null'

2003-11-03 Thread Omkar Joshi
Hi, Am arunning application on tomcat 4.1.24 I want to use DBCP for my connection with oracle. I have created a .xml file for the application in weapps folder. the code for the file is. Context className=org.apache.catalina.core.StandardContext path=/NIMS docBase=D:/Tomcat/webapps/NIMS debug=9

Re: problems with dbcp

2003-11-03 Thread Florian Ebeling
one cannot count on the finalizer to do this job. DB connections eat up resources (memory, client licenses), and you never know when they get reclaimed by the finalizer (if at all). So setting a timeout for each connection is definitly a good idea, I guess. -Florian Peter Guyatt wrote: Hi,

RE: [ANN] Apache Tomcat 4.1.29 Stable and Apache Tomcat 5.0.14 Beta released

2003-11-03 Thread Shapira, Yoav
Hi, FYI, people, please don't use [ANN] threads for problem discussion. Yoav Shapira Millennium ChemInformatics -Original Message- From: Sriram N [mailto:[EMAIL PROTECTED] Sent: Sunday, November 02, 2003 9:24 PM To: Tomcat Users List; [EMAIL PROTECTED] Subject: Re: [ANN] Apache Tomcat

RE: JNDI problem using 4.1.27

2003-11-03 Thread Anderson, James H [IT]
Sure, here it is. -Original Message- From: Vincent Aumont [mailto:[EMAIL PROTECTED] Sent: Saturday, November 01, 2003 6:15 PM To: Tomcat Users List Subject: Re: JNDI problem using 4.1.27 Could you post your server.xml file? You attachment did not make it to the list. -Vincent.

RE: Deploying TOMCAT on live production server

2003-11-03 Thread Shapira, Yoav
Howdy, Apache is faster for static content and has shorter startup times. And HTTP implemenation is probably more mature in a pure HTTP server like apache. Shorter startup times for Apache, yes. More mature HTTP server, yes. The FAQ Senor Funk pointed to is very good reading. But please, can

RE: Does anyone use Maven to build Tomcat ?

2003-11-03 Thread Shapira, Yoav
Howdy, Start with the jakarta-commons maven builds. They're great (and I'm not saying that because I wrote a couple of them ;)) to learn from, as they exercise many features of Maven. Building the full tomcat distribution is tricky. You might want to start with a Maven build for the core

RE: Design advice needed.

2003-11-03 Thread Angus Mezick
This is what TopLink uses for optimistitic locking. Just don't forget to update the timestamp in the update. --Angus -Original Message- From: Jean-Louis [mailto:[EMAIL PROTECTED] Sent: Monday, November 03, 2003 4:43 AM To: Tomcat Users List Subject: Re: Design advice needed.

RE: Opinions

2003-11-03 Thread Shapira, Yoav
Howdy, feature natively. Jakarta Commons' deamon is a unix-only solution (I imagine it uses JNI). So its's possible, but not portable. Still an advanced language... -Vincent. Aarrggh, Monday morning and I'm already annoyed. Where did you get the idea commons-daemon is unix only? It works on

RE: Problems launching Tomcat 4.1.29...

2003-11-03 Thread Shapira, Yoav
Howdy, It appears that Tomcat 4.1.29 brings the MBeans architecture (from Tomcat 5.x) into its invocation process. I'm not sure if it was intentional to bring the MBeans architecture into Tomcat 4.1.x or not... A change of this magnitude doesn't happen accidentally ;) I discovered this when I

RE: Servlet context in tomcat cluster.

2003-11-03 Thread Shapira, Yoav
Howdy, The same code putting the object in the context will execute on all machines in the cluster. So while it won't be the same ServletContext object (it'd be a different memory address in a different JVM instance), the context will have the same attributes because your code executing in the

JNDIRealm Configuration

2003-11-03 Thread Hart, Justin
Does anybody have an example JDNIRealm configuration (server.xml web.xml). I feel like I'm just taking stabs in the dark with these files... Currently I can get it to pop up a window and ask for your username/password. I use my NT username and password and it rejects them. I think that I

Re: Opinions

2003-11-03 Thread Rodrigo Ruiz
Jejeje, people (in general) should buy better monitors. It looks like they skip more than one line when reading on-line docs ;-) Shapira, Yoav wrote: Howdy, feature natively. Jakarta Commons' deamon is a unix-only solution (I imagine it uses JNI). So its's possible, but not portable. Still

Re: HOW CAN I USE THREADS IN TOMCAT

2003-11-03 Thread IvanLatysh
Hello, Prince! You wrote to Tomcat Users List [EMAIL PROTECTED] on Sat, 1 Nov 2003 13:21:42 +0530: P Hi, P I need to send a mail automatically at 10 minutes interval. how can P i do this? how can i activate threads in tomcat? Tomcat is a Java application, there are no difference of using

RE: Where to get JMS for Tomcat?

2003-11-03 Thread Shapira, Yoav
Howdy, OpenJMS is GREAT. Been using it production for systems with significant (not super heavy, but about 10 messages/minute to both topics and queues) with tomcat, no problems at all. And it doesn't require a huge app server, it's got a small footprint, easy client jar to use within tomcat.

RE: Which version of xerces, Tomcat 4.1.24 is using?

2003-11-03 Thread Shapira, Yoav
Howdy, soapboxI would like to see the java community begin naming their jars with the version, the same way the linux community labels their tarballs. Thank you/soapbox That's what I thought so manny times! The ecplise guys do it already. Many projects already do, including within jakarta.

problem in widows with tomcat 4.1.27 -29

2003-11-03 Thread Dionisio Ruiz de Zarate
I am trying for runningtomcatinmy windows 2003 server and into one XP(spanish version). when i tryto load the adminpage http://localhost:8080/admin/login.jsp appears this error: how can i solve this? the jvm isthe 1.4.2_02 form windows thanks ERROR: HTTP Status 500 -

Re: Redirecting request.

2003-11-03 Thread IvanLatysh
Hello, Vincent! You wrote to Tomcat Users List [EMAIL PROTECTED] on Sat, 01 Nov 2003 15:17:39 -0800: VA Have you considered Apache's mod_rewrite? I am not running Apache, Tomcat only. How I can redirect incoming request from one virtual host to another. For example I have : host.dm,

Content Type

2003-11-03 Thread Duncan
I have a file running as a jsp but with a differant extension (.pms). When a user requests this file in IE/Netscape. I want it to download as a file rather than being opened as text by the browser. I have tried adding: response.setContentType(application/octet-stream); but this only seems to work

RE: Content Type

2003-11-03 Thread Shapira, Yoav
Howdy, Add the content-disposition:attachment header. Yoav Shapira Millennium ChemInformatics -Original Message- From: Duncan [mailto:[EMAIL PROTECTED] Sent: Monday, November 03, 2003 9:48 AM To: [EMAIL PROTECTED] Subject: Content Type I have a file running as a jsp but with a

Re: Content Type

2003-11-03 Thread Tim Funk
http://jakarta.apache.org/tomcat/faq/misc.html#saveas -Tim Duncan wrote: I have a file running as a jsp but with a differant extension (.pms). When a user requests this file in IE/Netscape. I want it to download as a file rather than being opened as text by the browser. I have tried adding:

RE: Content Type

2003-11-03 Thread Chris Milner
Damn, too slow! -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: 03 November 2003 14:51 To: Tomcat Users List Subject: RE: Content Type Howdy, Add the content-disposition:attachment header. Yoav Shapira Millennium ChemInformatics -Original Message-

RE: Content Type

2003-11-03 Thread Chris Milner
try adding this header: This is it in ASP, so just add this header: Response.AddHeader content-disposition, attachment; filename=yourfile.pms Chris. -Original Message- From: Duncan [mailto:[EMAIL PROTECTED] Sent: 03 November 2003 14:48 To: [EMAIL PROTECTED] Subject: Content Type I have

Re: [ANN] Apache Tomcat 4.1.29 Stable and Apache Tomcat 5.0.14 Beta released

2003-11-03 Thread Jean-Francois Arcand
BTW, if you are building using the CVS branch, just look at jakarta-tomcat-5/build.property.default and search for Xerces. You will get the version used. -- Jeanfrancois Sriram N wrote: Luigi, Creating a Maven script would be a great idea. Since I've never used Maven before, this should give

Re: need help

2003-11-03 Thread Jean-Francois Arcand
No that's not true. you *don't* need 1.4. Should work with 1.3.x Open your catalina.bat file and add a line at the end of the script: pause Then start your script and post the exception you are seeing here. -- Jeanfrancois Basavaraju P. Banakar wrote: correct me if I'm wrong Tomcat 5

SSL

2003-11-03 Thread dkell
I am having trouble with the configuration of Tomcat for SSL. I have requested a certificate from Verisign and I have imported both my Chain Certificate and my signed certificate from Versign. All works well except for Once I access my tomcat site I get a prompt stating the Security certificate

JavaGroups: InMemoryReplicationManager vs. Tomcat 5: SimpleTcpReplicationManager

2003-11-03 Thread Karthik Duddala
I was going through the source code for SimpleTcpReplicationManager in Tomcat 5.0.12 and noticed that the requestCompleted method always (on setAttribute or removeAttrbute with useDirtyFlag=true)replicates the whole session instead of the implementation in InMemoryReplicationManager where the

Re: Deploying TOMCAT on live production server

2003-11-03 Thread Jean-Francois Arcand
That's not true. Do your own tests and see if Apache + Tomcat or just Tomcat fullfill your requirement. Tomcat 4.1.x in some case is as good as Apache/Tomcat. -- Jeanfrancois Florian Ebeling wrote: Hi, Apache is faster for static content and has shorter startup times. And HTTP implemenation

Re: SSL

2003-11-03 Thread Jean-Francois Arcand
[EMAIL PROTECTED] wrote: I am having trouble with the configuration of Tomcat for SSL. I have requested a certificate from Verisign and I have imported both my Chain Certificate and my signed certificate from Versign. All works well except for Once I access my tomcat site I get a prompt

new Tomcat Service Manager (free)

2003-11-03 Thread David Boyer
The past two weeks have netted some significant additions: Version 0.2.0.7 (November 3): -Added Help for starting the configured service manually from a command line so all stdout and stderr info is available in the console window. -Additional How To and Troubleshooting documentation Version

RE: SSL

2003-11-03 Thread dkell
But I have never had this problem working with any other webserver. Plus Verisign is a trusted root on my browser. Thanks -Original Message- From: Jean-Francois Arcand [mailto:[EMAIL PROTECTED] Sent: Monday, November 03, 2003 10:18 AM To: Tomcat Users List

Re: Problems launching Tomcat 4.1.29...

2003-11-03 Thread Jean-Francois Arcand
Shapira, Yoav wrote: Howdy, It appears that Tomcat 4.1.29 brings the MBeans architecture (from Tomcat 5.x) into its invocation process. I'm not sure if it was intentional to bring the MBeans architecture into Tomcat 4.1.x or not... A change of this magnitude doesn't

Re: Content Type

2003-11-03 Thread epyonne
Hello All, I vaguely remember someone has asked this similar question before, if so, but please allow me to ask it again. What is Tomcat's limitation on multiple connection to database? I have a simple servlet application that connects to Oracle database for data. Since it is a very simple

Tomcat connection limitation

2003-11-03 Thread epyonne
Oops, sorry, I forgot to change the subject line. - Original Message - From: epyonne [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Monday, November 03, 2003 09:28 AM Subject: Re: Content Type Hello All, I vaguely remember someone has asked this similar question

Re: Basic and Form authhentication in the same webapp (revisited). Request for opinions

2003-11-03 Thread Jean-Francois Arcand
Vincent Aumont wrote: Hello, I need your opinion on a solution I found to allow a single webapp to support two authentication modes. The application Im working on has two types of clients: HTML and WML. The controller (Struts) can forward a request to the appropriate JSP, depending on the

Re: Opinions

2003-11-03 Thread Vincent Aumont
No need to be annoyed (or to buy a bigger monitor). This post was about Java's portability and the notion of process ownership. My point was that you can't have native support for this feature because not all OS's support it. That's why you have to include native code for a particular S. I

RE: RE: Connection Apache - Tomcat

2003-11-03 Thread por
This is the workers.properties, worker.list=ajp13 worker.ajp13.port=8009 worker.ajp13.host=localhost worker.ajp13.type=ajp13 Where do I check the servlet mappings? Thanks, -Peter -Original Message- From: Asif Chowdhary [EMAIL PROTECTED] Sent: Mon, 3 Nov 2003 10:18:01 -0500

Re: Basic and Form authhentication in the same webapp (revisited). Request for opinions

2003-11-03 Thread Vincent Aumont
How do you manage the case when someone else deploy a web app that requires basic authentication using the browser? If Tomcat is used only by your app, then your solution seems correct. An HTML browser will never require Basic Auth. The downside if this solution is that it ties me to Tomcat.

Re: problems with dbcp

2003-11-03 Thread Florian Ebeling
Hi, Edson Alves Pereira wrote: Hello folks, i followed what is written in tomcat-4.1.x´s JDNI DataSource documentation, but i getting this error: java.sql.SQLException: DBCP could not obtain an idle db connection, pool exhausted Edson, which Tomcat versions do you use? I was puzzled why

Re: HOW CAN I USE THREADS IN TOMCAT

2003-11-03 Thread Mufaddal Khumri
Hi, I have an instance of MyMailScheduler - mmsched in a ContextListener class for my webapp. mmsched spawns threads to do some work regarding sending emails. In my contextDestroy method I do : mmsched = null; I was under the impression that if tomcat was shutdown or the webapp was stopped my

Re: Basic and Form authhentication in the same webapp (revisited). Request for opinions

2003-11-03 Thread Jean-Francois Arcand
Vincent Aumont wrote: How do you manage the case when someone else deploy a web app that requires basic authentication using the browser? If Tomcat is used only by your app, then your solution seems correct. An HTML browser will never require Basic Auth. ?? Why? I'm missing something

RE: DBCP error

2003-11-03 Thread Edson Alves Pereira
And what about the exception? Which is the message? -- De: [EMAIL PROTECTED]:[EMAIL PROTECTED] Responder:Tomcat Users List Enviada: segunda-feira, 3 de novembro de 2003 10:11 Para: Tomcat Users List Assunto: DBCP error Help me, please, to set

RE: problems with dbcp

2003-11-03 Thread Edson Alves Pereira
That´s true, but i thought that DBCP would close everything for me! I can do that. The point here is, DBCP configuration tells: i´ll close all resources for you and it´s not! -- De: Peter Guyatt[SMTP:[EMAIL PROTECTED] Responder:Tomcat Users List Enviada:

RE: problems with dbcp

2003-11-03 Thread Edson Alves Pereira
I have here tomcat-4.1.24. -- De: Florian Ebeling[SMTP:[EMAIL PROTECTED] Responder:Tomcat Users List Enviada: segunda-feira, 3 de novembro de 2003 12:52 Para: Tomcat Users List Assunto: Re: problems with dbcp Hi, Edson Alves Pereira wrote:

Re: Content Type

2003-11-03 Thread Larry McFarlane
We had a similar situation that required us to up the connections on mySQL. I imagine that you would have the same settings in Oracle as we did with mySQL. I don't think it's a Tomcat thing as much as an Oracle thing. I'm unfamiliar with Oracle and have to digresss at this point... On

Re: Basic and Form authhentication in the same webapp (revisited). Request for opinions

2003-11-03 Thread Vincent Aumont
An HTML browser will never require Basic Auth. ?? Why? I'm missing something here.in web.xml, what do you do if I chose BASIC instead of FORM? If your browser can accept HTML, then it can use FORM authentication. It is documented that you must use FORM authentication in web.xml when

RE: Tomcat won't start

2003-11-03 Thread Nathan Mcminn
The problem posted below appears to be caused by Tomcat not being able to find catalina.jar. This file should be (and is) located in catalina_home/server/lib. Anybody know why Tomcat would have problems finding it? One of our servers running Tomcat as started experiencing an odd problem.

RE: RE: RE: Connection Apache - Tomcat

2003-11-03 Thread por
This is my web.xml entry.. servlet servlet-namekDBServlet/servlet-name servlet-class org.apache.catalina.servlets.DBServlet /servlet-class init-param param-namedebug/param-name param-value0/param-value /init-param

RE: RE: RE: Connection Apache - Tomcat

2003-11-03 Thread Asif Chowdhary
Add this to your workers.properties file [uri:/kDBServlet/*] info=My kDB Servlet Mapping context=/kDBServlet debug=20 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, November 03, 2003 11:19 AM To: [EMAIL PROTECTED] Subject: RE: RE: RE: Connection Apache

Re: Deploying TOMCAT on live production server

2003-11-03 Thread Steve Jenkins
Thanks to one and all for their responses, particularly for the URL: http://jakarta.apache.org/tomcat/faq/connectors.html#integrate My final question is - is deploying TOMCAT on its' own secure enough? Or is deploying just Apache secure enough? Thanks, Steve. - Original Message - From:

Re: problems with dbcp

2003-11-03 Thread Florian Ebeling
I have here tomcat-4.1.24. Then you should certainly try an upgrade. 29 uses DBCP 1.1, which was released like 2 weeks ago or something. But only dbcp.jar does not suffiece, commons-collection (or -pool, cant remember) has changed also. I took the whole new tomcat. -Florian Edson Alves

Re: Tomcat won't start

2003-11-03 Thread Giorgio Franceschetti
I have had a similar problema, but on win XP. The problem was due to the fact that I had set the JAVA_HOME and the CATALINA_HOME as session variable and not like system ones. Don't know if this is the case, but Good luck! Giorgio Nathan Mcminn wrote: The problem posted below appears to

Re: HOW CAN I USE THREADS IN TOMCAT

2003-11-03 Thread Mufaddal Khumri
Hi, The problem is that stop / suspend are deprecated. The destroy() method has yet not been implemented ? What does one do then? I have a solution - Keep a reference to the instances of the threads spawned in a hashtable. In contextDestroy make all these references null . Will this solution

RE: RE: RE: Connection Apache - Tomcat

2003-11-03 Thread Lee, Paul NYC
You have to declare and map every servlet in web.xml like below. Also, check out the documentation and the tomcat examples for more info. servlet servlet-name servletToJsp /servlet-name servlet-class servletToJsp /servlet-class servlet-mapping servlet-name

Re: Deploying TOMCAT on live production server

2003-11-03 Thread Tim Funk
It depends. One would argue that tomcat by itself is more secure because 1) Its only one thing to defend 2) Don't need to worry about any apache exploits OTOH 1) Apache has been hardened - its exploits are rare and when exposed are quickly fixed. (Tomcat's eploits are also quickly fixed too) 2)

Re: Re[2]: Virtual host and app

2003-11-03 Thread Dominique Batard
Hi You may have an other instance of Tomcat running. You really have troubles with Host and Context (You should avoid spaces in your directory names) If you need a PruebaJavier virtual Host and a default Context (/) : Host name=PruebaJavier debug=0 appBase=C:\Program Files\Apache Software

Solution: Tomcat 5 Problem with finding servlet class

2003-11-03 Thread Paresh Varatkar
The Configuration of Tomcat 5 can be done as follows. If you have the jars which need specific arrangement. 1 You have to compile application with servlet standards Tomcat 5 are using. 2 Change catalina.properties file Add your path there. 3 Change catalina.xml if its important to you the order in

RE: Tomcat won't start

2003-11-03 Thread Nathan Mcminn
I don't think that is the problem. The startup script has no problem reading JAVA_HOME or CATALINA_HOME. It is only after bootstrap.jar is executed and the server.xml file is read that the problem occurs. It is almost like the classloader that is being used cannot see catalina.jar in

RE: RE: RE: RE: Connection Apache - Tomcat

2003-11-03 Thread por
this is what I added... servlet servlet-nameDBServlet/servlet-name servlet-classDBServlet/servlet-class /servlet servlet-mapping servlet-nameDBServlet/servlet-name url-pattern/servlet/WEB-INF/classes/url-pattern /servlet-mapping I also noticed this line in catalina.out. Is this

Re: Tomcat won't start

2003-11-03 Thread Giorgio Franceschetti
Probably it is not that, but I had a similar problem and I edited the startup file to echo the values of the variables. It showed what I expected. The problem is that tomcat is started in another shell. This new shell doesn't have its parent's environment variables, only the ones set globally.

JNDIRealm

2003-11-03 Thread Hart, Justin
Realm className=org.apache.catalina.realm.JNDIRealm connectionURL=ldap://[Windows 2000 Domain Controller]:389 userBase=CN=Users,dc=[domain name],dc=com userSearch=(userPrincipalName={0}) userRoleName=member roleBase=CN=Users,dc=[domain name],dc=com roleName=cn roleSearch=(member={0})

RE: Tomcat and PHP

2003-11-03 Thread Hart, Justin
Why not connect Tomcat to Apache, and use mod-php? -Original Message- From: Joao Medeiros [mailto:[EMAIL PROTECTED] Sent: Monday, November 03, 2003 12:08 PM To: Tomcat Users List Subject: Tomcat and PHP Hi folks, I was wondering if anyone has any experience with Tomcat serving PHP...

Re: xhtml and Internet Explorer

2003-11-03 Thread Marius Scurtescu
Hi, Yes, I totally agree that this issue should be brought up with the JSP specification. I will look into that. Even if the suggestion is accepted it will be quite a while until a specification will deal with this issue and then even longer until there is going to be a Tomcat implementation

Tomcat connection limitation [repost]

2003-11-03 Thread epyonne
Does anyone know if Tomcat has limitation on servlet object instantiation and database connection, without using connection pooling? We have the option to use Oracle 9i AS because we have the enterprise license. I am just wondering if it will be an overkill when a Tomcat standalone can do the

Re: (JDBC Connections (was: Content Type)

2003-11-03 Thread Christopher Schultz
epyonne, What is Tomcat's limitation on multiple connection to database? Tomcat has no limit on DB connections. Unless you are using a Realm, Tomcat does not have any control over db connections. I have a simple servlet application that connects to Oracle database for data. Since it is a very

How to go through Apache to have Tomcat act for SSL

2003-11-03 Thread Peel Gauthier
I want to protect some URLs with ssl and liked to use web.xml security constraints (CONFIDENTIAL). Evrything is OK with Tomcat alone (port 8080 and 8433, redirect with sslextension ...) But I can't make it work with Apache in front. I use mod_jk2. How to tell mod_jk2 to transmit both http and

Re[2]: DBCP error

2003-11-03 Thread Andrey . Rogov
THank you for answer ! Error message is : java.sql.SQLException cannot load JDBC driver class 'null' . org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource java:529 ) org.apache.commons.dbcp.BasicDataSource.getConnection( BasicDataSource java:312 ) Andrey . EAP

JNDIRealm...more

2003-11-03 Thread Hart, Justin
My server.xml now looks like this : Realm className=org.apache.catalina.realm.JNDIRealm debug=99 connectionURL=A good active directory server userBase=dc=MY DOMAIN NAME,dc=com userRoleName=member roleName=cn

Re[4]: Virtual host and app

2003-11-03 Thread Javier
On 03/11/2003 at 17:56 Dominique Batard wrote: Having deployed your app under webapps (you shouldn't with virtual hosts) , you can also access it within localhost : http://localhost:8080/PruebaJavier/ (this is possible only because you've used the webapps absolute URL in appBase) If you want a

RE: RE: RE: RE: Connection Apache - Tomcat

2003-11-03 Thread Lee, Paul NYC
Url-pattern is what you will type in your url to access the servlet. So according to your info below, you will access your servlet with something like http://localhost:8080/servlet/WEB-INF/classes. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday,

Re: Does anyone use Maven to build Tomcat ?

2003-11-03 Thread Ted Weatherly
Hi Sriram, I sorta use Maven to build Tomcat. I basically use Maven to call ant and the build proceeds as normal using the build.xml file. The advantage, though, is that all my jar depencencies are centralized: they are all listed in my project.xml, and they are all downloaded to a common

RE: RE: RE: RE: Connection Apache - Tomcat

2003-11-03 Thread Peter O'Reilly
I was set up correctly so, www.ip.com:8080 always brought back the tomcat default page and the examples work. I want to be able to click a submit button and run a servlet, I tried this, P ALIGN=CENTERFONT SIZE=3 /FONT/P FORM NAME=sell_login METHOD=GET ACTION=../servlet/BookDBServlet

Re: [inbox] Tomcat connection limitation [repost]

2003-11-03 Thread IvanLatysh
Hello, epyonne! You wrote to Tomcat Users List [EMAIL PROTECTED] on Mon, 3 Nov 2003 11:30:30 -0600: e Does anyone know if Tomcat has limitation on servlet object e instantiation and database connection, without using connection e pooling? Generally speaking the limit is a Java heap size.

  1   2   >