Hi
In Java 1.3, the default encoding is set to ISO-8859-1
which includes all the Country(German) special characters
In Java 1.4, the default encoding is set to ASCII
which converts all German special characters to '?'
The fix for this problem was just setting an environment variable
I am really having a bad time using Apache Tomcat for the first time...
But I won't give up... Just need help...
I have a JSP page that works with a javabean (a simple test page), just
look at the code:
%@ page contentType=text/html; charset=iso-8859-1 language=java
import=java.sql.* errorPage=
Pedro, unjar-ed classes go under WEB-INF/classes/{SOME PACKAGENAME},
jar files
go under WEB-INF/lib
Your java beans will never be found if they just reside under WEB-INF .
Pedro Silva wrote:
I am really having a bad time using Apache Tomcat for the first time...
But I won't give up... Just
Yes, but they are in WEB-INF/classes/mybeans (MYBEANS is the package
name) and I still get the same error...
Pedro Honório Silva
[EMAIL PROTECTED]
-Original Message-
From: Kwok Peng Tuck [mailto:[EMAIL PROTECTED]
Sent: segunda-feira, 4 de Agosto de 2003 8:15
To: Tomcat Users List
Also did you import your classes in the @page import directive ? I
only see a java.lang, could be the source of the problem.
Sekhmet wrote:
Yes, but they are in WEB-INF/classes/mybeans (MYBEANS is the package
name) and I still get the same error...
Pedro Honório Silva
[EMAIL PROTECTED]
??? Maybe...
But do I have to import my own classes? If so what is the purpose of
having the Bean code separated from the JSP code?
Pedro Honório Silva
[EMAIL PROTECTED]
-Original Message-
From: Kwok Peng Tuck [mailto:[EMAIL PROTECTED]
Sent: segunda-feira, 4 de Agosto de 2003 8:25
To:
The bean should be in the Tomcat/ROOT/WEB-INF/classes/mybeans directory
not Tomcat/ROOT/WEB-INF/mybeans. Classes underneath web-inf is the
directory for classes. Also, perhaps try removing the contentType
directive at the top of the page as it is unnecessary. Oh and also you
have put
My email-client (M$-OE) is currently breaked down, and repeat the last
message.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
My email-client (M$-OE) is currently breaked down, and repeat the last
message.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi All.
Problem : Netscape 6.2 would not redirectfrom http://my.first.com to
https://my.secure.dom
I have two vhost entries, first one listens on port 80 and secure one on
443.
My bjective : from the first web-site, creae a link to a secure one in
index.html using an anchor e.g. A HRED=http://my
Hello,
I try to connect to Oracle 8.1.7 using a DataSource (Tomcat 4.1.24).
In the code, my datasource object is not null (Oracle driver have been founded) but on
getConnection method I have the
following error message :
java.sql.SQLException: Cannot create JDBC driver of class
Good day,
We are moving over from IIS to Jakarta, but my knowledge of the product is
null.
I googled around for help, but can not seem to find anything starting from
scratch. Does anybody know of a good place to start teaching yourself the
product? Need to define three separate sites from the
Hi folks,
we encountered that Tomcat (or, Coyote) omits encoded space characters
(%20-chars) when parsing a request (tested on 4.0.4, 4.1.7 and 4.1.24).
So a request containing a param like ...PARAM=this%20is%20a%20test... ends
up in PARAM=thisisatest.
A config issue? A bug ?
--
Hi folks,
We have a weird problem where a JSP seems to be executing twice and we are
getting duplicate records in our database. The data is coming from a HTML
form and upon submit a subsequent JSP page is called that performs the SQL
insert, etc. We are also getting duplicate log messages so
n Java 1.3, the default encoding is set to ISO-8859-1
which includes all the German special characters
In Java 1.4, the default encoding is set to ASCII
which converts all German special characters to '?'
set CATALINA_OPTS=-Dfile.encoding=ISO-8859-1 in tomcat
-Original Message-
From:
Adrian,
If you do not want anothe rows created every time the page is submitted,
then you are going to have to implement something to stop this. TOMCAT will
not do this for you.
Without knowing the requirements for the form, stopping multiple rows being
generated could be as simple as:
- Assign
Hello,
when I stop tomcat using shutdown.sh there are still many tomcat-processes
running in linux. Is this normal or do I have a configuration problem
(contexts are not closed properly)?
I use a connection pool to a Mysql-database in my application
(BasicDatasourceFactory). Do I have to close
Dear Philipp
Since your question is regarding tomcat on linux, so I thought it best
to put my question to you as well. I have downloaded the rpm file for
the SDK or jdk 1.4. When I see the file on linux machine, I see
___.rpm.bin
How do I install it ? Any suggestions ?
Hi folks,
we encountered that Tomcat (or, Coyote) omits encoded space characters
(%20-chars) when parsing
a request (tested on 4.0.4, 4.1.7 and 4.1.24). So a request containing a
param like ...PARAM=this%20is%20a%20test... ends up in PARAM=thisisatest. A
config issue? A bug ?
--
COMPUTERBILD
Hi,
When i reload a webapp in tomcat 4.1.27
(win2000/jdk1.4.1) and load a jsp from that webapp I
get the message:
Compiling 1 source file
[javac] C:\Apache-tomcat\temp\check_jsp.java:7:
package com.blablabla..
it can't find the jars included in the webapp lib
directory. When i
I?d try sh ./__.rpm.bin
-Ursprungliche Nachricht-
Von: Zille Hassan [mailto:[EMAIL PROTECTED]
Gesendet: Montag, 4. August 2003 13:33
An: Tomcat Users List
Betreff: RE: Many java-processes left after shutdown.sh
Dear Philipp
Since your question is regarding tomcat on linux, so
Hi,
this being my first post I regret if any formalities are offended.
I have just upgraded from Tomcat 4.0.3 and jdk1.4.0 to Tomcat 4.1.27
(tried 5.0.5 as well) and jdk1.4.2 on a Windows NT machine. Previously I
used the isapi_redirect.dll to redirect request from IIS but has now
installed
I think this is due to the content-length (in the HTTP header) generated by
Tomcat.
Since my file is larger than 2G, and I believe Tomcat is using int32 to
generate the content-length, therefore, I get negative value.
am i right?
- Original Message -
From: Robert Wray [EMAIL PROTECTED]
Sorry... I haven't seen that 'driverName' attribute has chenged in 'url'
Hello,
I try to connect to Oracle 8.1.7 using a DataSource (Tomcat 4.1.24).
In the code, my datasource object is not null (Oracle driver have been founded) but
on getConnection method I have the
following error
Hi Bill,
Would I be right in assuming that you're inferring a user is submitting the
form multiple times by clicking the submit button/link more than once? Or
are you perhaps suggesting the browser is sending multiple requests without
user intervention to the server hence the reason why the
Dear Philipp
Thanks for the help regarding the installation of JDK. Now one more
thing, I am sure you would be able to help me out there as well
I have got this installer for Tomcat 4.0. How do I install it, the file
is called __tar.gz, I can view whats inside the compressed folder
but don't
Zillie,
What I have done, is extract the file in the /var directory to
/var/Jakarta-tomcat4.0, then just edit the Catalina.sh file to fit your
environment.
You can extract it by right clicking on the file in X and say extract.
Regards
Werner vd Merwe
SAICOM Cpt
Linux user #322423
-Original
Hello,
I try to connect to Oracle 8.1.7 using a DataSource (Tomcat 4.1.24).
In the code, my datasource object is not null (Oracle driver have been founded) but on
getConnection method I have the following error message :
org.apache.commons.dbcp.DbcpException: java.sql.SQLException: invalid
Howdy,
But do I have to import my own classes? If so what is the purpose of
having the Bean code separated from the JSP code?
Yes, you have to import your classes so the JVM knows what classes
you're using.
The point of separation is two-fold (probably more):
- Other components can use the
Howdy,
I googled around for help, but can not seem to find anything starting
from
scratch. Does anybody know of a good place to start teaching yourself
the
product? Need to define three separate sites from the main site. E.g.
www.ourdomain.com/site1-site3
Each site would likely be a web
Howdy,
Has anyone got any clues on JVM tuning for Tomcat on Windows 2000, Sun
141
I would venture at least a few people on this list have clues. But it's
impossible to help you without a clue about your webapp.
Yoav Shapira
This e-mail, including any attachments, is a confidential business
Howdy,
Since your question is regarding tomcat on linux, so I thought it best
to put my question to you as well. I have downloaded the rpm file for
the SDK or jdk 1.4. When I see the file on linux machine, I see
___.rpm.bin
How do I install it ? Any suggestions ?
Bad idea: start another thread
Howdy,
when I stop tomcat using shutdown.sh there are still many
tomcat-processes
running in linux. Is this normal or do I have a configuration problem
(contexts are not closed properly)?
I use a connection pool to a Mysql-database in my application
(BasicDatasourceFactory). Do I have to close
Howdy,
I would point out a couple of things, since you posted this code as an
example, but they are subjective.
I have a servlet that is loaded at the time tomcat starts.
The container is free to destroy and reload this servlet as it deems
necessary. Accordingly, use a ServletContextListener
Hmm well only a profiler could tell me that; I was more looking for some
(subsequently discovered) things such as you should reseize the young
generation to be much larger than the default 25% and so on; there are
some rules of thumb such as this which I was looking for!
cheers
Pete
Howdy,
Can anyone expand on this further and explain how to use a Log4j logger
reference in beans that do not have a notion of what the underlying
servlet
context is? The only way I can see how to get this to work is to pass
the
logger reference as an argument in the bean's constructor.
You
Hi,
I've got a little problem with tomcat examples.
When I go to Tomcat Administration and look at
Tomcat Server/Service/Host/Context(/examples)/Resources/Data Sources
I can see:
JNDI NameJDBC Driver Class
jdbc/EmployeeAppDb org.hsql.jdbcDriver
But when I click on
Howdy,
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent: Monday, August 04, 2003 9:27 AM
To: Tomcat Users List
Subject: RE: JVM tuning
Hmm well only a profiler could tell me that; I was more looking for
some
(subsequently discovered) things such as you should
Howdy,
-Original Message-
From: Lee Peik Feng [mailto:[EMAIL PROTECTED]
Sent: Monday, August 04, 2003 8:02 AM
To: Tomcat Users List
Subject: Re: What is that maximum file size tomcat can serve?
I think this is due to the content-length (in the HTTP header)
generated by
Tomcat.
Since my
Well not really; we know that we are running Tomcat, a web container which
has its own (fixed) characteristics. It is a server side app which is
processing non state based transactions which are thus highly like to
involve a lot of objects being created and destroyed without too many
hanging
Howdy,
Well not really; we know that we are running Tomcat, a web container
which
has its own (fixed) characteristics. It is a server side app which is
processing non state based transactions which are thus highly like to
involve a lot of objects being created and destroyed without too many
Can you post the stack trace, versions used, and your config? Standalone vs
jk ...
I tried tomcat5 with its standalone http connector with a 2,349,092,191 byte
file and all was ok for me.
I would expect the same result from tomcat 4.1
-Tim
Lee Peik Feng wrote:
I think this is due to the
I recommend a server admin book. There was a recent flame war about this.
Check the user archives.
http://jakarta.apache.org/tomcat/faq/
-Tim
Werner vd Merwe wrote:
Good day,
We are moving over from IIS to Jakarta, but my knowledge of the product is
null.
I googled around for help, but can
Yup a bug.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22096
-Tim
Edwin Eversdijk wrote:
Hi,
When i reload a webapp in tomcat 4.1.27
(win2000/jdk1.4.1) and load a jsp from that webapp I
get the message:
Compiling 1 source file
[javac] C:\Apache-tomcat\temp\check_jsp.java:7:
package
Ah sorry I should really have said that I was focusing specifically on
memory managment; general performance tuning is a completely different
matter in which I do agree with you! On the memory front however I would
stand by the fact that most tomcat webapps (big or small) would benefit
from a
Hello,
I've done my best to review the archives to resolve my problem, but I've
not found a solution there so I'm posting it.
I'm stuck back on Tomcat 4.1.24 (LE) and I'm encountering some issues
with JSP Precompilation using Ant and JSPC. First let me outline my problem.
Most messages I've read
Hi
Replace for amp; to get a valifd XML
Bye
El Dom 03 Ago 2003 06:39, engp0510 escribió:
Thanks very much!
Y, I have tried. But always throw org.xml.sax.SAXParseException said a ;
is needed to end the quote of password.
Any advice?
- Original Message -
From: Emmanuel G.
Sorry Steve,
one information isnt right! First, using Sniffer to monitor all http
traffic, i found out one important news: the authentication app's plugin
works with Session object instead of Cookie object. What kind of information
would you like to receive about it? Does Session object work
Hi all,
I have a web application that runs -depending on the content of a
property file - in different
modes. But the application can only run in either one of these modes at
a time.
I want to be able to run the web application in serveral modes at the
same time
(e.g to test different DBs,
Howdy,
You could have different tomcat instances, each with a copy of the app
that has different property file settings. Or you could deploy the app
multiple times with different names to one tomcat instance (e.g.
webapps/MyApp-Test, webapp/MyApp-Dev) etc.
Yoav Shapira
Millennium
one information isnt right! First, using Sniffer to monitor all http
traffic, i found out one important news: the authentication app's plugin
works with Session object instead of Cookie object. What kind of information
would you like to receive about it? Does Session object work different
I told you wrong about how to set the memory limits when running as a
service. You can set the memory options in the Windows registry using
regedit.
In regedit, open HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\Apache
Tomcat 4.1\Parameters
Add a string value named: JVM Option Number 3 and set
Hello,
In our company, we are using Tomcat Version 4.0.1 and Java 2 SDK, Standard
Edition Version 1.4.0
a. I read that if one uses 'catalina nonaming
start' instead of
'startup', it would help disable the use of JNDI within Tomcat.
(1) Is this feature available with Tomcat 4.0.1 ?
(2) Does it
I have a question for John Turner about a statement in the book Apache Tomcat
Security.
Page 12 says:
As discussed earlier, running publicly available web services as root or superuser is
typically a bad idea, so the solution is to avoid using Tomcat as a stand-alone web
server on port 80 by
Howdy,
In our company, we are using Tomcat Version 4.0.1 and Java 2 SDK,
Standard
Edition Version 1.4.0
If possible, update to 4.1.27 and JDK 1.4.2.
a. I read that if one uses 'catalina nonaming
start' instead of
'startup', it would help disable the use of JNDI within Tomcat.
(1) Is this
Hi,
Does anyone know if it's possible to secure the connection (AJP or
otherwise) between Apache and Tomcat? I'm currently using mod_jk. I'm
most interested in SSL (or other encryption) between the two rather than
the JServ-style secret key mechanism.
Thanks,
Carl
Hi, does anybody here know about a good tutorial on JSP, specially working
with sessions?
thanks.
Martin
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Tomcatters,
I am running Tomcat 4.1.24 on Windows NT 4.0. When I get a runtime error in my
servlet, I'm getting stack traces on the console instead of in the log. Is there a
way to force all output to the log. I have a log specified that it writes to while
the container loads, but for some
Martin,
Check this out, it should help...
http://java.sun.com/j2ee/tutorial/1_3-fcs/doc/Servlets11.html#63281
Raffi
-Original Message-
From: Martin Mauri [mailto:[EMAIL PROTECTED]
Sent: Monday, August 04, 2003 11:23 AM
To: Tomcat Users List
Subject: tutorial question
Hi,
Howdy,
I am running Tomcat 4.1.24 on Windows NT 4.0. When I get a runtime
error
in my servlet, I'm getting stack traces on the console instead of in
the
log. Is there a way to force all output to the log. I have a log
specified that it writes to while the container loads, but for some
reason,
Thanks Ian,
We actually already have a shell script that does this too. I was hoping
to get some details on how to make the jspc and tomcat behaviors more
consistent with each other so that I could move away from this strategy
and use the compiler directly.
Unfortunately, its often the case
Hey there,
I have windows XP, tomcat 5.0 and jdk1.4.1_01. when I log out from the
system, tomcat stops itself. Do you have any idea how I can configure tomcat
or some other services so that it can run after logging off windows.
Thanks,
Vikas
I am trying to clean-up ( invalidate ) all the session when Tomcat is
restarted for any reason. I have the following Tag in my server.xml. The
session created for my web application still seem to persist, is there
another place or way the session is being store or persisted?
Please help, thanks
Howdy,
How do you have it configured now?
Also, if you could use 5.0.6 for your testing instead that'd be great!
Yoav Shapira
Millennium ChemInformatics
-Original Message-
From: vikas jain [mailto:[EMAIL PROTECTED]
Sent: Monday, August 04, 2003 12:06 PM
To: [EMAIL PROTECTED]
Subject:
Howdy,
Consider a container-independent approach instead: write an
HttpSessionListener that's also a ServletContextListener. Have it keep
a static list of HttpSession objects, adding the session to the list on
its creation and removing on its destruction. Then, have the
contextDestroyed method
In fact, I'm curious to the status of this in 5.0 and the directions
that this will take in the future, I may be willing to do a little work
to add work directory compilation to the capabilities of JspC, if they
do not already exist.
-Mark
Mark R. Diggory wrote:
Thanks Ian,
We actually
Hi,
...If tomcat is running behind apache httpd? I just want to get rid of
.htaccess files.
Bests
daniel
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Our Tomcat server just shut down by itself. It caused an application error(
0xc05 ) in Java.exe and shut down.
Any ideas or directions about what could cause this ?
Our platform is Apache 1.3.9, Tomcat 3.3, JDK 1.3, and FOP 0.20.4 running on
NT servers. Well, I know this configuration
Howdy,
Hmmm... Any information in the logs?
Yoav Shapira
Millennium ChemInformatics
-Original Message-
From: Bing Zhang [mailto:[EMAIL PROTECTED]
Sent: Monday, August 04, 2003 12:36 PM
To: '[EMAIL PROTECTED]'
Subject: Problem: Tomcat server went down ...
Our Tomcat server just shut
The Apache Tomcat Bible from Wiley.
-Original Message-
From: Werner vd Merwe [mailto:[EMAIL PROTECTED]
Sent: Monday, August 04, 2003 5:27 AM
To: Tomcat Users List
Subject: Docs
Good day,
We are moving over from IIS to Jakarta, but my knowledge of
the product is
null.
I
Wouldn't AdaptiveSizePolicy help? (saves you the work of Java Heap usage
analyzing :-) :
I use this on my 2x proc machine.
-XX:UseParallelGC -XX:+UseAdaptiveSizePolicy
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent: Monday, August 04, 2003 9:55 AM
To:
The way to do this is using stunnel. (From what I heard) I have never tried
to do this but google might be helpful.
-Tim
Carl Walker wrote:
Hi,
Does anyone know if it's possible to secure the connection (AJP or
otherwise) between Apache and Tomcat? I'm currently using mod_jk. I'm
most
One thing: UPGRADE TOMCAT FAST!
44M isn't much memory, how much do you have available?
-Original Message-
From: Satish Talim [mailto:[EMAIL PROTECTED]
Sent: Monday, August 04, 2003 11:04 AM
To: Tomcat Users List
Subject: Some questions
Hello,
In our company, we are using
A question regarding Tomcat connection pooling - according to the JNDI
Datasource HOW-TO, the parameter for username should be placed in the
ResourceParams section thusly:
parameter
nameusername/name
value/value
/parameter
But I've also seen this parameter also called just user.
Can someone explain how to configure a Tomcat server that is running as a
Windows service to be debugable via dt_socket?
Thank you
John
Isnt the adaptive sizing only relevant to much larger memory
configurations (Im running this JVM with a max heap of 1-1.5Gb?
Pete
Angus Mezick [EMAIL PROTECTED]
04/08/2003 17:51
Please respond to Tomcat Users List
To: Tomcat Users List [EMAIL PROTECTED]
cc:
Does the name of the JvmRoute in server.xml have to equal the name of
the host in worker2.properties when linking apache and tomcat to get
proper session affinity?
Angus Mezick
GuideStar - Philanthropic Research Inc.
427 Scotland St.
Williamsburg, Virginia 23185
PHONE: (757)299-4631 x35
I am trying to get connection pooling working with Tomcat 4.1.24-LE.
Below is some relevant code. Tomcat starts up just fine. I have all my
JAR files I need in the right place. If I create my own connection
using JDBC it all works just fine. But using a connection pool is
failing. The error
Ok, so if I set to 512M it isn't that effective? Would this be better
in a 2xproc 512M heap environment:
ConcurrentGC with ParNewGC (ParNewGC on Multi-CPU machines):
-XX:+UseConcMarkSweepGC -XX:+UseParNewGC
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent:
Hi I wrote some custom taglibs, but I get the
following error:
org.apache.jasper.JasperException: File /dodo not
found
I have the following configuration in my web.xml
taglib
taglib-uri/dodo/taglib-uri
taglib-location/WEB-INF/jsp/csajsp.tld/taglib-location
/taglib
and I call it
I remember reading where oen can send a kill signal with Unix that will
cause the JVM to do a thread dump before exiting. Does this sound
familiar to anyone?
Ben Ricker
Wellinx.com
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
Hi I wrote some custom taglibs, but I get the
following error:
org.apache.jasper.JasperException: File /dodo not
found
I have the following configuration in my web.xml
taglib
taglib-uri/dodo/taglib-uri
taglib-location/WEB-INF/jsp/csajsp.tld/taglib-location
/taglib
and I call it
Gregg Bolinger wrote:
I am trying to get connection pooling working with Tomcat 4.1.24-LE.
Below is some relevant code. Tomcat starts up just fine. I have all my
JAR files I need in the right place. If I create my own connection
using JDBC it all works just fine. But using a connection
Howdy,
I remember reading where oen can send a kill signal with Unix that will
cause the JVM to do a thread dump before exiting. Does this sound
familiar to anyone?
Send a CTRL-BREAK (SIGQUIT) to the JVM and it'll show you what it's
doing ;) I've tried it on Solaris 8, Win 2000, without a
kill -s 3 PID
(Or very similar)
-Tim
Ben Ricker wrote:
I remember reading where oen can send a kill signal with Unix that will
cause the JVM to do a thread dump before exiting. Does this sound
familiar to anyone?
Ben Ricker
Wellinx.com
thanks, Steve.
-Mensagem original-
De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Enviada em: segunda-feira, 4 de agosto de 2003 11:52
Para: 'Tomcat Users List'
Assunto: Re: RES: Cookie problem max age problem - Best practice to
solve it
one information isnt right! First, using
You might be right. I don't have the commons-dbpc.jar file. Why isn't
this included with the Binary release of Tomcat and where can I get it?
I can't find it with all the other Commons downloads.
Thanks
Gregg
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
I thought I saw a bug report similar to this that had to do something with
jdk1.4.2. Try using 1.4.1 or lower and see what happens.
-Tim
Jesús Antonio Sánchez A. wrote:
Hi I wrote some custom taglibs, but I get the
following error:
org.apache.jasper.JasperException: File /dodo not
found
I have
I'll do that, thanks
--- Tim Funk [EMAIL PROTECTED] wrote:
I thought I saw a bug report similar to this that
had to do something with
jdk1.4.2. Try using 1.4.1 or lower and see what
happens.
-Tim
Jesús Antonio Sánchez A. wrote:
Hi I wrote some custom taglibs, but I get the
I found out you also need the commom-pool.jar file also. Why does
Tomcat provide Connection Pooling but doesn't distribute all necessary
files to do so with the Binary release? These 2 jar files are not
specific to the database, so you would think Tomcat would come with
them. Not to mention
Hello All!
Our team here has written a simple Connection Pool
class that is a singleton.
I've noticed that whenever Tomcat reloads my webapps
context (when I add a new class or something like
that), that it the next call to the Connection Pool
get instance method doesn't see the previous
Simple solution, don't use the LE version. Use the full version. Your
problems will disappear.
-Original Message-
From: Gregg Bolinger [mailto:[EMAIL PROTECTED]
Sent: Monday, August 04, 2003 2:07 PM
To: 'Tomcat Users List'
Subject: RE: Connection Pooling HELP
I found out you
Thanks. But if this is the case, the download documentation might need
some updating. The documentation used to specify that if you have JDK
1.4.x you only needed the LE version. It said nothing about commons jar
files. And now, I can't find anything anywhere that specifies which one
you
A singleton is only a singleton to the classloader it lives in. A webapp is
loaded in its own classloader, so when it is start/stopped or reloaded - a
new classloader is made. And so is a brand new set of singletons.
The easy workaround is to create a ServletContextListener which listens for
After looking through the archives more (why is it
that you always find something after you've asked.) I
found this message:
http://mikal.org/interests/java/tomcat/archive/view?mesg=51529
That's exactly what I want to do. However the server
is running Tomcat 3.3.1a. Short of updating the
Hi,
can anyone tell me what happens if a user requests a servlet which might
take 5 seconds to complete the request, and the user starts hitting reload
a number of times? (I know the typical programming answer is 'why?! why
would the user do such a thing?' but I am afraid I'm gonna have to
All requests will keep executing. The user should get the last result.
Hitting reload forces the browser to drop its connection and open
another one to the server I think. The server doesn't know the
connection has gone AWOL until it tries to send data to the client.
--Angus
-Original
Hello,
Thanks everyone for help on the Tomcat with Virtual Hosting thread.
After analyzing the log files it seems that there was a Nimda worm attack
on the Tomcat webserver. Does any one have a fix for this?
Any help would be highly appreciated.
Thanks.
-abhinav
Hi Yoav,
Thank you for you suggestion, I have it implemented and seem to be
having some problem with it. Below is the code I have in my listener. I
have collection of Session Objects and I am adding an removing the
Sessions from the collection as required but, when I get to my
contextDestroyed
Howdy,
How did you reach this conclusion? Do you have an IIS front-end or are
you running tomcat stand-alone?
Yoav Shapira
Millennium ChemInformatics
-Original Message-
From: Abhinav Gautam [mailto:[EMAIL PROTECTED]
Sent: Monday, August 04, 2003 3:22 PM
To: [EMAIL PROTECTED]
Subject:
1 - 100 of 128 matches
Mail list logo