RE: Performance issue

2004-10-06 Thread Nitschke Michael
It could be that you catch a maximum open handles error. If you are using the standard linux distribution it is set to 1200 connections. And if you have 500 users and every user opens an connection you are up to 1000 and the remaining 200 are very quickly used up. The result is that all java app's

RE: Tomcat Admin Tools Page

2004-08-31 Thread Nitschke Michael
At the install routine you should be asked about an admin password. This should work together with name admin. If not, look in the tomcat/conf directory and there should be a file called tomcat_users.xml it contains all user/role/passwords for your installation mike -Original Message-

RE: Is it possible to force Tomcat to drop a servlet?

2004-08-31 Thread Nitschke Michael
I know now way to do it. You should do your clean-up in a method called destroy(), its called at the time tomcat unloads the servlet. mfg Michael Nitschke -Original Message- From: Varley, Roger [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 31, 2004 11:53 AM To: [EMAIL PROTECTED]

RE: Is it possible to force Tomcat to drop a servlet?

2004-08-31 Thread Nitschke Michael
Excange the now to no in the last mail from me. mfg Michael Nitschke -Original Message- From: Nitschke Michael Sent: Tuesday, August 31, 2004 12:41 PM To: Tomcat Users List Subject: RE: Is it possible to force Tomcat to drop a servlet? I know now way to do it. You should do your clean

RE: application deploys twice

2004-08-20 Thread Nitschke Michael
I had the problem too, but in Tomcat 4.1.27 When I removed on of the two application everything was gone. I had to make a new installation of Tomcat, and copied an old version of the webapps dir and server.xml over the new and now its working with on application. I mean that's not the was to

RE: Java Class is not compiling

2004-07-27 Thread Nitschke Michael
It seams you are new to Java too. The error messages say that the compiler could not find the jar file javax.jar, or servlet.jar depends on your java version. The package statement at the first line is necessary to group java classes in domains that have the same functionality or fit tematiclly

RE: Connection pool exhausted

2004-06-02 Thread Nitschke Michael
It looks like you are not returning the connection in a propper way. I mean just to close the resultset is not enough. I use another connection pool, but I also get this kind of exception. You have to obtain the statement form the resultset. The connection from the statement. Then close the

RE: stopping-restarting Tomcat

2004-06-02 Thread Nitschke Michael
Reloadable does the job only if the servlet changes, if you want to add another servlet you still have to Stop tomcat change the web.xml and start it again, afterwards the reloadable would work again. But you could workaround the web.xml problem I you enable the Invoker servlet. mfg Michael

RequestDispatcher.forward() forgets requestUri

2004-05-25 Thread Nitschke Michael
I use RequestDispatcher.forward(path) and the original requestUri get lost. If it is suppoused to do so, is there a way to get the original requestUri after the forward? Mit freundlichen Grüßen Michael Nitschke MBI Institut für Marketingberatung AG Hietzinger

RE: RequestDispatcher.forward() forgets requestUri

2004-05-25 Thread Nitschke Michael
buffer that has not been committed, the content must be cleared before the target servlet's service method is called. If the response has been committed, an IllegalStateException must be thrown. Yoav Shapira Millennium Research Informatics -Original Message- From: Nitschke Michael

RE: RequestDispatcher.forward() forgets requestUri

2004-05-25 Thread Nitschke Michael
Im using the Invokerservlet. mfg Michael Nitschke -Original Message- From: Nitschke Michael Sent: Tuesday, May 25, 2004 3:54 PM To: Tomcat Users List Subject: RE: RequestDispatcher.forward() forgets requestUri But in the API is written that this Abbributes are reset between requests

RE: RequestDispatcher resource not available

2004-05-21 Thread Nitschke Michael
I do a combination now. I enabled the Invoker and put a mapping in the web.xml for it. I use the RequestDispatcher to forward to the other servlets via the invoker. I enabled the reloading feature of the context. And everything works as I need it. mfg Michael Nitschke -Original

RequestDispatcher resource not available

2004-05-19 Thread Nitschke Michael
We are now using just on servlet which gets all the request and map's them to other classes bei Classinvocation. But we would now benefit from the servlet abillitys and are now reworking the system to switch to RequestDispatcher. The problem is now that I could not find the right path to

AW: RequestDispatcher resource not available

2004-05-19 Thread Nitschke Michael
not available Hi, - Define and map all your servlets in web.xml. - Use the servlet-mapping url-pattern as your argument to the getRequestDisptcher call. Yoav Shapira Millennium Research Informatics -Original Message- From: Nitschke Michael [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 19

AW: RequestDispatcher resource not available

2004-05-19 Thread Nitschke Michael
-Ursprüngliche Nachricht- Von: Shapira, Yoav [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 19. Mai 2004 15:41 An: Tomcat Users List Betreff: RE: RequestDispatcher resource not available Hi, There lies the problem i don't know which servlets i would get, and i don't want to

AW: RequestDispatcher resource not available

2004-05-19 Thread Nitschke Michael
mfg Michael Nitschke -Ursprüngliche Nachricht- Von: QM [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 19. Mai 2004 15:59 An: Tomcat Users List Betreff: Re: RequestDispatcher resource not available : There lies the problem i don't know which servlets i would get, and i don't : want to

RE: RequestDispatcher resource not available

2004-05-19 Thread Nitschke Michael
We want to add servlets in the running system, just by saying now you can OK. That certainly narrows down your possibilities. Drastically The mappings are stored in the database but would be cached in the servletContext and could be dynamically reloaded. Cool. The application now caches about

RE: RequestDispatcher resource not available

2004-05-19 Thread Nitschke Michael
Standard sun 1.4 jvm and a dualprocessor 1.5GHz, 1.5GB Ram Raid5 I think Database is running on a sun dualprocessor speed and Ram I don't know. But we are considering a Sun with the newest linux-kernel for up to 2Million concurrent processes. mfg Michael Nitschke -Original Message-

AW: Tomcat dies with no error.

2004-03-23 Thread Nitschke Michael
This looks like there is somewhere an System.exit() hidden in your code. -Ursprüngliche Nachricht- Von: Adam Brundrett [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 23. März 2004 10:18 An: [EMAIL PROTECTED] Betreff: Tomcat dies with no error. We are using Tomcat 4.1.29 on a Solaris 9

AW: Increase The Heap

2003-11-18 Thread Nitschke Michael
Maybe there are other problems too. Did you try to analyse your application with a profiler? It shows where possible bottlenecks are hidden. Hope it helps Mike -Ursprüngliche Nachricht- Von: Scott Purcell [mailto:[EMAIL PROTECTED] Gesendet: Montag, 17. November 2003 18:09 An: [EMAIL

AW: Apache+Tomcat+Windows, how?

2003-11-11 Thread Nitschke Michael
Did you tried it? I think and i read it on this list, that this is a bug/mistake in the description and it should mean 2.0.43 and above. But read the archive before you try it. Mike -Ursprüngliche Nachricht- Von: Yeray Santana Borges [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 11.

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

AW: Test mail list

2003-10-30 Thread Nitschke Michael
No ;) -Ursprüngliche Nachricht- Von: LEONARDO MARTINEZ [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 30. Oktober 2003 15:17 An: [EMAIL PROTECTED] Betreff: Test mail list Testing U can see me? Atte. Leonardo Martínez Paz.

AW: Programming Question?

2003-10-29 Thread Nitschke Michael
I assume you are in the wrong list, this is for special tomcat problems not for common programming problems. I suggest you use a database if the datavolume is high enough, if there are only 5 forms a day that get filled out, you could save it in a text file on the server. I prefer not to save

AW: how to write file download program

2003-10-09 Thread Nitschke Michael
You know that you are on a java oriented list, and i assume that not much of the members are php-experienced. Mike -Ursprüngliche Nachricht- Von: bin cai [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 09. Oktober 2003 12:08 An: Tomcat Users List Betreff: how to write file download

AW: Urgent help, please!Best practices using Connection Pool

2003-10-09 Thread Nitschke Michael
I could remember that there was a mail today that answered your question. The pool provides an wrapper for the connection object that you receive, this means you call getConnection and you do not get the real connection instead you recive an object implementing the Connection functionality with

AW: Tomcat Admin Password

2003-09-25 Thread Nitschke Michael
In *tomcathome*/conf/ is a file named tomcat_users.xml there are all passwords, usernames and roles stored. Ito should be very easy to figure them out. -Ursprüngliche Nachricht- Von: N.B.Bopanna [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 25. September 2003 13:26 An: [EMAIL

AW: Apache 2, Tomcat 5, mod_jk?

2003-09-17 Thread Nitschke Michael
mod_jk2 is a rework/reimplementation of mod_jk and is expected to work with Apache 2 and tomcat 4. there are some good tutorials and howtos, for linking apache and tomcat together, around. We used this : http://cnr.berkeley.edu/~salazar/apache_tomcat.html Mike -Ursprüngliche Nachricht-

AW: Exception in Tomcat?

2003-09-12 Thread Nitschke Michael
If the connection is not proper established this error occurs. The easiest was to fix it is to catch the exception in your application, so your application would not die at every occurrence. Surround the socket write statement with the catch construct. -Ursprüngliche Nachricht- Von:

AW: AW: Exception in Tomcat?

2003-09-12 Thread Nitschke Michael
, 2003-09-12 at 13:22, Nitschke Michael wrote: If the connection is not proper established this error occurs. The easiest was to fix it is to catch the exception in your application, so your application would not die at every occurrence. Surround the socket write statement with the catch construct

AW: jdbcodbc database connection problem (access-DB,jsp,tomcat,eclipse)!

2003-09-04 Thread Nitschke Michael
It looks like you didnt correctly (typemissmatch, caps or something like that) register the data soruce in windows. It could be that you misspelled the settings at the instantiation of your database driver. Hope it helps Mike -Ursprüngliche Nachricht- Von: Jon Wingfield [mailto:[EMAIL

about web.xml and servlet mapping and reloading

2003-08-19 Thread Nitschke Michael
I try to dynamically create and change servlet mapping in the web.xml in full production mode and then reload/reread the web.xml to update the mapping, but as i read in the manage application: quoteNOTE: The /WEB-INF/web.xml web application configuration file is not reread on a reload. If you

AW: about web.xml and servlet mapping and reloading

2003-08-19 Thread Nitschke Michael
Nitschke Michael wrote: I try to dynamically create and change servlet mapping in the web.xml in full production mode and then reload/reread the web.xml to update the mapping, but as i read in the manage application: quoteNOTE: The /WEB-INF/web.xml web application configuration file is not reread

AW: about web.xml and servlet mapping and reloading

2003-08-19 Thread Nitschke Michael
still be required with a context stop/start -Tim Nitschke Michael wrote: I try to dynamically create and change servlet mapping in the web.xml in full production mode and then reload/reread the web.xml to update the mapping, but as i read in the manage application: quoteNOTE: The /WEB-INF