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
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-
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]
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
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
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
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
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
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
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
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
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
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
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
-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
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
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
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-
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
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
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.
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
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.
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
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
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
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
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-
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:
, 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
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
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
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
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
34 matches
Mail list logo