RE: Database pool

2001-09-11 Thread David DELGRANCHE

It 's hard to reply you without more details: what is your database? Which language do 
you use? On which plateform?

-Message d'origine-
De: Alexandre Victoor [SMTP:[EMAIL PROTECTED]]
Date:   mardi 11 septembre 2001 16:49
A:  [EMAIL PROTECTED]
Objet:  Database pool

Hello,
This is perhaps off-topic, I am looking for an open-source database 
connection pool.
Any good advises?
Thanks

Alexandre






RE: newbie question

2001-09-05 Thread David DELGRANCHE

Hi,

There is no manipulation to do to your servlets if you want to migrate 
from JServ to Tomcat. Tomcat is just a application server. You need to 
install Tomcat and configure Apache to work with it by default. After, just 
create a directory for your servlets and put them there!  There is no 
change in code to do!

David.

-Message d'origine-
De: echaiguer abderrahim [SMTP:[EMAIL PROTECTED]]
Date:   mercredi 5 septembre 2001 15:32
A:  [EMAIL PROTECTED]
Objet:  newbie question



Hi ,

I just decided to move to the J2EE architecture. I was previously working
with Apache / Jserv . I was wondering if there is an easy
to migrate all my servlets  to Tomcat without  a lot of code manipulation.

Thanks,
Abde




SQL Error

2001-08-31 Thread David DELGRANCHE

Hi

I have a question perhaps more on JDBC than on tomcat but perhaps someone 
could help me.
I call a servlet using Tomcat 3.2.2. My servlet is doing an Oracle 
Database access using  JDBC. I have to iterate many time in it. It seems 
that after several iteration my servlet is bugging. I have an exception 
telling me:
java.sql.SQLException: Must be logged on to server

In each iteration, I use the same PreparedStatement. I create a ResultSet 
for each iteration and kill it after.

I don't know how to interprete this message and how to fix the bug!

Can someone help me?

Thanks

David DELGRANCHE
[EMAIL PROTECTED]
Tel: 02.99.05.34.25
Fax: 02.99.05.34.05
Sogitec Industries  
24, avenue Lavoisier
ZI du Champ Niguel
35174 BRUZ CEDEX





RE: Book

2001-08-31 Thread David DELGRANCHE

Hi Victor,

I think there is no book for the moment. There is a working group to write 
a book on tomcat, but I think they don't have finished yet. There is 
onlythis possibility, you won't find a book in the library!!!

You only have the documentation!

-Message d'origine-
De: Victor Martinez [SMTP:[EMAIL PROTECTED]]
Date:   vendredi 31 aout 2001 11:58
A:  [EMAIL PROTECTED]
Objet:  Book


Does anybody knows a book about Tomcat? I?m looking for one and i haven?t
seen anything...


Un saludo.


Victor Martinez Conte ([EMAIL PROTECTED])
Analista funcional

Ariceta  Asociados  http://www.ariceta.com
Grupo IT Deusto
Alberto Alcocer 24, 7a Planta 28036 - Madrid
Tel: 91 457 63 04  Fax: 91 457 92 17





Tomcat v3.2.1 and Win 2k

2001-08-29 Thread David DELGRANCHE

Hi all,

I just would like to know if there are some known problems installing and 
running Tomcat 3.2.1 on Windows 2000?

Thanks!

David DELGRANCHE
[EMAIL PROTECTED]
Tel: 02.99.05.34.25
Fax: 02.99.05.34.05
Sogitec Industries  
24, avenue Lavoisier
ZI du Champ Niguel
35174 BRUZ CEDEX





Tomcat book

2001-06-21 Thread David DELGRANCHE

Does anybody know where I can find a book about Tomcat: installation, 
configuration, use ? I need one to prepare a course
Thanks a lot
David.








RE: Tomcat.log

2001-06-18 Thread David DELGRANCHE

This file is under the logs only if there are problems during start. If this file does 
not exist, there is no error!

-Message d'origine-
De: Rajeshwar Rao.V [SMTP:[EMAIL PROTECTED]]
Date:   lundi 18 juin 2001 10:58
A:  '[EMAIL PROTECTED]'
Objet:  Tomcat.log

Hi all,
when start Tomcat, on the console I came across mthis message.

*Starting tomcat. Check logs/tomcat.log for error messages*

But in the Tomcat environment, i did not find file called tomcat.log.
where it is going?
please clarify

-raj-




RE: Tomcat-Apache configuration

2001-06-18 Thread David DELGRANCHE

Just read the documentation on Tomcat all these things are explained!

-Message d'origine-
De: Shicheng TIAN(CMS) [SMTP:[EMAIL PROTECTED]]
Date:   lundi 18 juin 2001 15:34
A:  [EMAIL PROTECTED]
Objet:  Tomcat-Apache configuration


Hello there,
We have installed Tomcat 4.0 on our PC running Win2000;
Tomcat works fine itself.

We have the following two queries and would like to get advice from the list:

1. How to configure Tomcat so that it can work together
with the Web server running at the same PC, which is Apache 1.3,
i.e. Apache would pass servlet calls to Tomcat which would process the calls
and then return the result bact to Apache?

2. Tomcat is installed on the PC at: C:\tomcat and its doc root at:
C:\tomcat\webapps\ROOT;
we wonder how to configure a remote mapping so that we can put some test
files/code on
another drive of the same PC, e.g. on the D drive at: D:\Test

Thanks,

Shicheng 




Tomcat tutorial

2001-06-15 Thread David DELGRANCHE

Hi all,

I'm looking for a complete explanation of all the possibilities of Tomcat, 
in order to write a course. Does anyone know where I can find these 
informations?
thanks for help
David.







Tomcat Book

2001-06-15 Thread David DELGRANCHE

Hi all,

Does anybody know if there is a book explaining Tomcat? Or a tutorial 
somewhere on the net?
thanks a lot


David DELGRANCHE
[EMAIL PROTECTED]  
tel. 02.99 05.34.25 
Fax: 02.99.05.34.05
Sogitec Industries
24, Avenue Lavoisier
ZI du Champ Niguel
35174 BRUZ CEDEX






Tomcat as a service

2001-06-06 Thread David DELGRANCHE

Hi all,

I'm discovering Tomcat on NT. It seems to work fine but I have a problem: 
Is there a way to force Tomcat to start as a service and without openning a 
new window?
Perhaps this is a stupid question, but I thank you for help!
David.

David DELGRANCHE
[EMAIL PROTECTED]  
tel. 02.99 05.34.25 
Fax: 02.99.05.34.05
Sogitec Industries
24, Avenue Lavoisier
ZI du Champ Niguel
35174 BRUZ CEDEX






RE: Tomcat as a service

2001-06-06 Thread David DELGRANCHE

OK but how can I start tomcat as a service?

-Message d'origine-
De: Krishna Kant T [SMTP:[EMAIL PROTECTED]]
Date:   mercredi 6 juin 2001 10:15
A:  [EMAIL PROTECTED]
Objet:  Re: Tomcat as a service

after u install tomcat as a service with name xxx use
net start xxx
to start
and
net stop xxx
to stop


-krishnakant

David DELGRANCHE wrote:

 Hi all,

 I'm discovering Tomcat on NT. It seems to work fine but I have a problem:
 Is there a way to force Tomcat to start as a service and without openning a
 new window?
 Perhaps this is a stupid question, but I thank you for help!
 David.

 David DELGRANCHE
 [EMAIL PROTECTED]
 tel. 02.99 05.34.25
 Fax: 02.99.05.34.05
 Sogitec Industries
 24, Avenue Lavoisier
 ZI du Champ Niguel
 35174 BRUZ CEDEX




RE: tomcat+apache

2001-05-30 Thread David DELGRANCHE

You just have to start apache before starting Tomcat!

David.

-Message d'origine-
De: unplug [SMTP:[EMAIL PROTECTED]]
Date:   mercredi 30 mai 2001 10:35
A:  tomcat-user
Objet:  tomcat+apache

Hi all,

  Just install tomcat3.2.2 and mod_jk.so.  However, when I restart 
tomcat and then apache, I found the following message in mod_jk.log

[jk_uri_worker_map.c (335)]: jk_uri_worker_map_t::uri_worker_map_close,
NULL parameter
[jk_uri_worker_map.c (185)]: In
jk_uri_worker_map_t::uri_worker_map_free, NULL parameters

  What do they mean??  How do I configure to remove the message??

Rgds,
unplug




Retrieving Binary and non-binary information from a servlet

2001-05-28 Thread David DELGRANCHE

Hi,

Does anyone can explain me how to retrieve binary and non-binary information 
from a servlet using Tomcat. Does JSDK 2.2 supports that?
Thanks a lot for hel^p
David.

David DELGRANCHE
[EMAIL PROTECTED]  
tel. 02.99 05.34.25 
Fax: 02.99.05.34.05
Sogitec Industries
24, Avenue Lavoisier
ZI du Champ Niguel
35174 BRUZ CEDEX






Multipart Request

2001-05-28 Thread David DELGRANCHE

Hi

I have a servlet which has two parameters, a binary one and a non-binary 
one. I used to work with JServ and an O'Reilly package to do multipart 
Request, so I could pass binary and non-binary informations in the same 
HttpServletRequest. I wanted using Tomcat and JSDK 2.2 to replace JServ and 
O'Reilly package without success.
Does anyone could help me? Is it possible to do so?
Thanks for reply


David DELGRANCHE
[EMAIL PROTECTED]  
tel. 02.99 05.34.25 
Fax: 02.99.05.34.05
Sogitec Industries
24, Avenue Lavoisier
ZI du Champ Niguel
35174 BRUZ CEDEX






Please Unsubscribe

2001-04-25 Thread David DELGRANCHE

Please can someone unsubscribe me from the list?
Thanks!

David DELGRANCHE
[EMAIL PROTECTED]  
Tel: 02.99 05.34.25 
Fax: 02.99.05.34.05
Sogitec Industries
24, Avenue Lavoisier
ZI du Champ Niguel
35174 BRUZ CEDEX






RE: URL to catch servlets

2001-04-24 Thread David DELGRANCHE

Thanks Noel, It's exactly what I wanted to know
Thanks a lot!

-Message d'origine-
De: Noel E. Lecaros [SMTP:[EMAIL PROTECTED]]
Date:   mardi 24 avril 2001 15:55
A:  [EMAIL PROTECTED]
Objet:  Re: URL to catch servlets

Hi, David

You didn't specify whehter you were using mod_jserv or mod_jk.  On mod_jk
anyway, I add the following line into /tomcat/conf/mod_jk.conf:

JkMount/workDirectory/*ajp12

and then I put this into Apache's httpd.conf:

Include/tomcat/conf/mod_jk.conf

When Tomcat starts up, a file named mod_jk.conf-auto is generated.  I used
this file as the basis for mod_jk.conf.

Note that this configuration will cause Apache to forward ALL requests
beginning with /workDirectory to your web app, including static content.

Regards,
Noel Lecaros

David DELGRANCHE wrote:

 Hi all,

 I'm using Tomcat 3.2.1 with Apache on WinNT. I have defined in the
 server.xml conf file the directory I wanted to put my servlets. I named it
 workDirectory. All my servlets are in the subdirectory:
 workDirectory/web-inf/classes/ and I can access them by
 http://localhost/workDirectory/servlet/nameOfServlet.
 What I would like to do is to access them by the following URL:
 http://localhost/workDirectory/nameOfServlet
 Does anyone know which modifications I have to do in the Tomcat
 Configuration to do this?
 Thanks for help
 David.

 David DELGRANCHE
 [EMAIL PROTECTED]
 Tel: 02.99 05.34.25
 Fax: 02.99.05.34.05
 Sogitec Industries
 24, Avenue Lavoisier
 ZI du Champ Niguel
 35174 BRUZ CEDEX




URL to catch servlets

2001-04-23 Thread David DELGRANCHE

Hi all,

I'm using Tomcat 3.2.1 with Apache on WinNT. I have defined in the 
server.xml conf file the directory I wanted to put my servlets. I named it 
workDirectory. All my servlets are in the subdirectory: 
workDirectory/web-inf/classes/ and I can access them by 
http://localhost/workDirectory/servlet/nameOfServlet.
What I would like to do is to access them by the following URL: 
http://localhost/workDirectory/nameOfServlet
Does anyone know which modifications I have to do in the Tomcat 
Configuration to do this?
Thanks for help
David.

David DELGRANCHE
[EMAIL PROTECTED]  
Tel: 02.99 05.34.25 
Fax: 02.99.05.34.05
Sogitec Industries
24, Avenue Lavoisier
ZI du Champ Niguel
35174 BRUZ CEDEX






mod_jserv vs mod_jk

2001-04-20 Thread David DELGRANCHE

Hi all,

I'm starting using Tomcat 3.2.1. I installed it on NT with Apache 1.3.9. I 
used modJServ to glue Tomcat and Apache. It seems listenning the differents 
mails that everybody is ok to say that using mod_jk is better. OK ! But it 
seems that installing mod_jk is more difficult than with modJServ (just a 
dll puted in the modules directory of Apache). Does anyone can explain me 
how to install mod_jk? Do I have to compile mod_jk?
Hope someone will answer me!
Thanks

David.

David DELGRANCHE
[EMAIL PROTECTED]  
Tel: 02.99 05.34.25 
Fax: 02.99.05.34.05
Sogitec Industries
24, Avenue Lavoisier
ZI du Champ Niguel
35174 BRUZ CEDEX






JServ or mod_jk ?

2001-04-19 Thread David DELGRANCHE

Hi all,

I'm new to Tomcat. I installed it as it is specified in the docs. I'm 
working on NT. I put the ApacheModuleJServ.dll in my modules/ directory. I 
would like to know if it can improve my installation if I replace JServ by 
JK? And if this is the case, which changements do I have to do to replace 
it? Where can I find the mod_jk.dll ?
Thanks for help

David.
David DELGRANCHE
[EMAIL PROTECTED]  
Tel: 02.99 05.34.25 
Fax: 02.99.05.34.05
Sogitec Industries
24, Avenue Lavoisier
ZI du Champ Niguel
35174 BRUZ CEDEX






RE: problem running tomcat -- a newbie's question

2001-04-19 Thread David DELGRANCHE

OK I had the same problem at te beginning. It seems that your apache server 
and tomcat are working on the same port.
Just have a look at the tomcat-apache.conf file. It is specified the port 
used by tomcat: "ApJServDefaultPort 8007".
In your httpd.conf file you have probably defined the apache port on the 
same : "Port 8007". So you have to change one (Apache or Tomcat) to be able 
to run both.

Hope this helps

David.

David DELGRANCHE
[EMAIL PROTECTED]  
Tel: 02.99 05.34.25 
Fax: 02.99.05.34.05
Sogitec Industries
24, Avenue Lavoisier
ZI du Champ Niguel
35174 BRUZ CEDEX



-Message d'origine-
De: Xiaofeng Chen [SMTP:[EMAIL PROTECTED]]
Date:   jeudi 19 avril 2001 16:11
A:  [EMAIL PROTECTED]
Objet:  problem running tomcat -- a newbie's question

 Fichier: ATT00049.txt; charset = Windows-1252 Fichier: ATT00050.htm; 
charset = Windows-1252




Servlet jar files

2001-04-18 Thread David DELGRANCHE

Hi all,

I would like to put all my servlet files in a jar file and then put the 
jar file in the classes/ directory. By doing this, Tomcat doesn't find my 
servlet and send me a HTTP 404 error. Does anyone how to specifiy to Tomcat 
that the servlets are in a jar file?
Thanks a lot
David.




Problem with connection pool

2001-04-18 Thread David DELGRANCHE

Hi all,

I'm using tomcat 3.2.1 with Apache. When I try running a servlet which 
makes an Oracle access, I have a 503 error telling me that it's impossible 
to create the connection pool.  My DB is on another server. Does this can 
be the problem? Does anyone already had this type of problem?
thanks for help
David.




Positionning archives used by the servlets

2001-04-18 Thread David DELGRANCHE

Hi all

I have the following problem. I want to run servlets which access to a 
OracleDB on another machine. I put the JDBC driver (file classes111.zip) in 
the lib on the same level than the classes one. When running I have a 503 
error. the servlet isn't able to access the other machine. Do I put my 
driver in the wrong place? Is there a specific way to handle that sort of 
appl;ication architecture?
I used to work with JServ and didn't had that problem. What is the 
difference between JServ and Tomcat that unables me to do the same things?
Thanks for help

David.




Positionning servlets source to use Tomcat

2001-04-17 Thread David DELGRANCHE

Hi all,

I'm a new user of Tomcat. I had an Apache server with JServ to execute 
servlets. It semmes that I had problems using JServ so I'm trying using 
Tomcat. I have installed it on my Apache server. I'm able to execute the 
examples servlets, so my installation seems to be OK.
In order to use my own servlets, I have to configure Tomcat to recognize 
them. In the Tomcatdocs, it is written in the "Development Processes" that 
I have to create a project, etc... Is there a simplier way to use Tomcat? 
If I create a directory in the webapps one and the a Web-inf subdirectory 
to put in my servlets isn't it enough if I add a Context tage in the 
servler.xml configuration file?
Anyone can help me?
Thanks a lot

    david.

David DELGRANCHE
[EMAIL PROTECTED]  
Tel: 02.99 05.34.25 
Fax: 02.99.05.34.05
Sogitec Industries
24, Avenue Lavoisier
ZI du Champ Niguel
35174 BRUZ CEDEX






Tomcat and multipart request

2001-04-17 Thread David DELGRANCHE

Hi all,

I want to use Tomcat to do multipart request. I used to work with JServ 
and had difficulties to do multipart request. Is it possible to do it with 
Tomcat. if it's the case, what version of JSDK do I have to use?
thanks for help
David.

David DELGRANCHE
[EMAIL PROTECTED]  
Tel: 02.99 05.34.25 
Fax: 02.99.05.34.05
Sogitec Industries
24, Avenue Lavoisier
ZI du Champ Niguel
35174 BRUZ CEDEX






Newbie with TomCat

2001-04-06 Thread David DELGRANCHE

Hi all,

I'm new using tomcat. I used to use Apache JServ1.2 for my application. I 
have about 70 differents servlets with about 50 users. So you can imagine 
the number of connections I can have to my Oracle DataBase.
Does anyone can tell me if Tomcat can support this use?
Do you think this is a good solution in my use case?
Thanks for help
David.

David DELGRANCHE
[EMAIL PROTECTED]  
Tel: 02.99 05.34.25 
Fax: 02.99.05.34.05
Sogitec Industries
24, Avenue Lavoisier
ZI du Champ Niguel
35174 BRUZ CEDEX






TomCat installation

2001-04-06 Thread David DELGRANCHE

Hi all,

I've just downloaded TomCat 3.1.1 to use it on Solaris and on Windows too. 
It seems there is no installation instructions. So I have several 
questions:
- How do I have to specify to Apache Server to workwith TomCat?
- It seems there is a web.xml file in which they have put some servlets 
caracteristics. Do I have to put in it all the informations on my servlets? 
How do I have to install TomCat?

thanks for help

David.

David DELGRANCHE
[EMAIL PROTECTED]  
Tel: 02.99 05.34.25 
Fax: 02.99.05.34.05
Sogitec Industries
24, Avenue Lavoisier
ZI du Champ Niguel
35174 BRUZ CEDEX






RE: Apache + Tomcat Configuration

2001-04-06 Thread David DELGRANCHE

Dear Michael,

I just reach the TomCat mailing List this morning and even if I'm using 
mailing list for a long time, I'm a little bit supprised by your behaviour. 
What is exactly your role on this list? Trying sharing knowledge like a lot 
of people or just controlling all the mails that are posted? It seems that 
you have nothing else to do than being boring with people. A mailing list 
is something alive. Even if there can be mails that doesn't match exactly 
the subject, a lot of people could find them interesting.
Hope people on this list are more open-minded than you are!

David.

-Message d'origine-
De: Michael Wentzel [SMTP:[EMAIL PROTECTED]]
Date:   vendredi 6 avril 2001 15:20
A:  '[EMAIL PROTECTED]'
Objet:  RE: Apache + Tomcat Configuration

 I am trying to setup Apache + Tomcat to run JSP and Servlets
 on Win. 2000. I
 am using Apache 1.3.19, and Tomcat 3.2.1.

 I created my own directory in
 %TOMCAT_HOME%/webapps/mytest, copied the structure from
 %TOMCAT_HOME%/webapps/examples such as WEB-INF, META-INF I put my
 servlets .class files in the ../mytest/WEB-INF/classes/aaa.class.

 I did some configurations in Tomcat: Server.xml, Tomcat-Apache.conf,
 Tomcat.conf; and in Apache: httpd.conf

 Now I can use Apache + Tomcat to run my JSP files, BUT I can
 ONLY  run  the
 system provided  sample Servlets files. I CAN'T run my own
 Servelts files no
 matter where I put the .class files.

 Could you give me a help for the configuration as my
 assignment is almost
 due  ?

First, posting the same question multiple times will not expedite a
faster response to your question.  People might just get ticked off
and not reply at all.

Now, I will pose a couple questions:
1.  How are you trying to access your servlets? (/mytest/servlets/aaa,
mytest/aaa, etc...)
2.  What are your configurations, in your webapps web.xml, for your
servlets?
3.  What is the exact error message you are receiving? 404? 500? etc...

The more information you can provide the faster a solution can be found.


---
Michael Wentzel
Software Developer
Software As We Think - http://www.aswethink.com