Hi,
I read about this in the Oreilly's Book - Tomcat The Definitive Guide.
Thanks for the information.
Satish
- Original Message -
From: "Shapira, Yoav" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>; "Satish Talim"
<[EMAIL PROTECTED]>
Sent: Monday, August 04, 2003 8:41
In case anyone else runs into the following error message:
Error: DBCP borrowObject failed: java.sql.SQLException: Server connection
failure during >transaction
The cause of the error was the mysql user I was using to access the database didn't
have permission to access it.
The JNIDI Datasourc
Hi,
I am a newby to JSP's, but I already love it.
The Situation:
--
1. ServletServer = Tomcat 4 (Standalone)
2. Name of JSP = whoKnows.war
3. Using to deploy = Tomcats-Manager-Interface (FileUpload)
4. Servlet-Mapping (in whoKnows's web.xml) to = /foo/bar
5. Host of VirtuellServer = l
Hi Everyone,
I have set up apache 2, tomcat 4.18 to connect to each other. I think I'm
most of the way there but I have on problem.
If I have an index.html file in my c:\tomcat\webapps\nnmall2 directory, and
then I have my web.xml file that has a welcome-file entry for index.html
like the one bel
Greetings,
I sent this query to the Axis user list last week, but never received any
replys. Perhaps it was the wrong list. Hopefully someone on the Tomcat list will
know the answer?
I've written an Axis client/service pair that uses "soapConnection.call()" to
send SOAP attachments to the servi
Help anyone?
Hello Everyone,
I recently installed mod_ssl on an Apache 2.0.44/Tomcat 4.0.3/Debian 2.4.18
machine. I used openssl to create certificate and key and most of the web
application works fine. The only part that seems broken is when
sendRedirect() is used. I used something along the lin
1. Delete Tomcat from the IDE.
2. Delete the $TOMCAT_HOME/conf/.nbattrs file and try replacing server.xml
with original Tomcat installation file (attached)...
I asked about Netbeans/Tomcat integration last week but apparently it is
still a mistery ;-)
Good luck!!! Hope this helps...
Hi Yoav,
Ok, now my listener class implements a HttpSessionActivationListener and
neither of the function;
sessionDidActivate or sessionWillPassivate are being called. Do I need
anything special to implement this and so that Did Activate and will
Passivate events fire?
I am running on Tomcat4.1.1
Bingo! Thats pretty tight. I hadn't thought of using regexp, but I'll
give this a try, it seems pretty logical. I didn't realize someone had
contributed a forEach task.
I'd still like to hear about if theres any work ongoing in relation to
JspC and precompilation of entire webapplications in To
Dear friends,
I am a newbie and have to set up a secure enviroment between tomcat and
apache.
Can someone tell me which is the stable production ssl version of
tomcat and apache? Is there a ssl version of mod_jk or mod_j2 connector? If
no which connector should we use? Where can I get a
Mark,
I have a working solution for pre-compiling jsp, that I am using successfully with all
our tomcat installations. The target looks
like :
I think so. My needs are:
1- user authentication
2- user authorization by roles
The question is: if i work with tomcat-user.xml, how can i customize an
on-line real-time
authentication process ( like a browser form )?
Euclides.
-Mensagem original-
De: Shapira, Yoav [mailto:[EMAIL PROTECTE
Howdy,
Look for the web.xml file where there's a element with that
netbeans class, and remove the definition (and any filter-mapping
elements related to it) from the web.xml file.
Just doing a clean install of tomcat is another option: it's quick and
easy.
Yoav Shapira
Millennium ChemInformatic
Howdy,
You mean like tomcat-users.xml where you can define roles and users?
Yoav Shapira
Millennium ChemInformatics
>-Original Message-
>From: Jose Euclides da Silva Junior - DATAPREVRJ
>[mailto:[EMAIL PROTECTED]
>Sent: Monday, August 04, 2003 4:01 PM
>To: '[EMAIL PROTECTED]'
>Subject:
How do I get rid of it? I can always reinstall tomcat, but I sure don't
want to.
I installed netbeans 3.5 on Linux. Somehow it screwed up my Tomcat
server configuration. I wasn't using it with tomcat, just debugging a
stand alone java program. When I went to start Tomcat, it doesn't with
this
Hi guys,
my application should ask for user's authentication and then, associate him
to some skills. My question is easy: what is the easiest way to make it
possible on TomCat's environment? Is there any xml tag?
Thanks in advance, Euclides.
---
If you use apache - you'd be better off since apache will return the 404 much
quicker. ;)
-Tim
Abhinav Gautam wrote:
Well, I analyzed my logs using Sawmill, and it said that there was a Nimda
attack. I guess as Tim said it was DOSed and not really exploited. No
I don't have an IIS front-end. I u
Hi everyone, I have been attempting to connect apache and tomcat. Apache 2,
tomcat 4.1.18. I think that I have most thing set up (it's very confusing)
but I'm getting this error when tomcat starts. It looks to me that I'm,
missing a class called LogFactory, but I never saw instructions anywhere
abo
Well, I analyzed my logs using Sawmill, and it said that there was a Nimda
attack. I guess as Tim said it was DOSed and not really exploited. No
I don't have an IIS front-end. I used to be running Apache on Tomcat, but
now after the incident I have Tomcat handle all requests directly.
thnx
On M
Well, there isn't much information in the tomcat's tomcat.log and error.log.
It didn't provide any hint on which particular part of the server or which
particular servlet did something and made the server shut down.
what's the general approach people would use to find out the source of the
pro
I have it as service rt now. and service stops once you log off.
From: "Shapira, Yoav" <[EMAIL PROTECTED]>
Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Subject: RE: Tomcat 5.0.2 Service
Date: Mon, 4 Aug 2003 12:11:20 -0400
Howdy,
How do you have it
Howdy,
Search the list archives on AIMS for "shutdown thread daemon" and you'll
see many threads with this information.
Read the VM documentation on using CTRL-BREAK (or SIGQUIT) to get a
thread dump. This will show you what the lingering processes are, so
you can kill them.
Yoav Shapira
Millen
Hi,
thanks for your answer first.
I think i?ve removed the database now, but I still have a similiar problem
with a mailsession to an imap-server I create in
ContextListener.contextInitialized(). I put this session into the
servlet-cotext to easily write mails or provide mailbox-creation during
ru
Hello Everyone,
I recently installed mod_ssl on an Apache 2.0.44/Tomcat 4.0.3/Debian 2.4.18
machine. I used openssl to create certificate and key and most of the web
application works fine. The only part that seems broken is when
sendRedirect() is used. I used something along the lines of:
res.sen
Howdy,
I'm sorry, I meant use an activation listener instead of the context
listener to invalidate them. That should work. contextDestroyed() is
too late as all the session handling has already happened.
Yoav Shapira
Millennium ChemInformatics
>-Original Message-
>From: Shapira, Yoav
Howdy,
It could be that my advice was slightly off in terms of timing: try to
substitute a SessionActivationListener instead of the SessionListener,
and using the sessionWillPassivate event to invalidate.
Although come to think of it, that will be too late as well as the
container has already dec
Tomcat is immune to the nimbda/cod red/{IIS variant} attack. (Except for
being DOS'd)
-Tim
Abhinav Gautam wrote:
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
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]
>Subje
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 met
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
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 Mess
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 give
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
server
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
th
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 should
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 o
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
singleto
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 Tomc
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 th
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
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]
Sent:
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 Sniffe
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
--
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 pr
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
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
/dodo
/WEB-INF/jsp/csajsp.tld
and I call it in my jsp file in the following way:
<%@ taglib uri="/dodo" pr
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]
For
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
/dodo
/WEB-INF/jsp/csajsp.tld
and I call it in my jsp file in the following way:
<%@ taglib uri="/dodo" pr
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]
> Sen
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 me
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 FAX:(757)
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:
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
A question regarding Tomcat connection pooling - according to the JNDI
Datasource HOW-TO, the parameter for username should be placed in the
section thusly:
username
/parameter>
But I've also seen this parameter also called just "user". According to
the docs, "Resource parameters are d
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
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 interes
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
> T
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
>
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
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 is
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]
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 alr
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 g
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]
>Subje
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 in
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
___
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 th
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
reas
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, does
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 r
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]
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
---
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
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
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 mea
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
> 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
>
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 ChemInformati
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, email
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 differ
Hi
Replace & for & 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: "Emmanu
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 t
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
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 com
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 not
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 conte
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
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 a
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.
>S
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
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 jdbc/EmployeeAppD
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
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
"Shap
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 i
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 clo
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 th
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,
>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 a
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 Be
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 argu
1 - 100 of 125 matches
Mail list logo