On 6/14/05, ajay kumar [EMAIL PROTECTED] wrote:
Hi Everybody,
This is Ajay Kumar.I implemented DBCP through tomcat
container.Some times when i run the webpages it is giving the
following Exception:
org.apache.commons.dbcp.DbcpException: java.sql.SQLException: Server
Tomcat really uses File.deleteOnExit()?
This method has a known memory leak (not only on win32) for quite some time.
See:
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4513817
Ed Hamilton wrote:
Thanks, Robson, for the reply.
I have all the latest versions of everything:
Tomcat: 5.5.9
Am Montag, 13. Juni 2005 16:24 schrieb Markus Schönhaber:
Am Montag, 13. Juni 2005 16:01 schrieb Christian Stalp:
But at the Moment I get an error that this is not allowed for a Servlet
which seems logical to me. So I have to change the catalina.policy.
The question is now: how?
What I
Ajay,
That's a mySQL error message.
In the jdbc url you can add parameters to automate reconnection:
extract-from-doco
autoReconnect should the driver attempt to re-connect if the
connection dies? (true/false) - false
maxReconnects if autoReconnect is enabled, how many times should the
Hello all,
I have an application successfully running on Tomcat 5.0.x, today I
tried to migrate to 5.5.x. The application starts up successfully, but
it is not working correctly.
in catalina.out i see
== begin cut =
Executing JSP precompilation/check.
Error while
tomcat-user
hello! everybody.
can someone tell me how tomcat use jmx and mx4j?
[EMAIL PROTECTED]
2005-06-14
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
tomcat-user
hello! everybody.
can someone tell me how tomcat use jmx and mx4j?
[EMAIL PROTECTED]
2005-06-14
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
Hello,
In a security-contraint section of my web.xml, i'll like to state that any
authentified user is allowed to access, no matter his role. I search the net
and found suggestion about using
auth-constraint
role-name*/role-name
/auth-constraint
or
QM wrote:
On Mon, Jun 13, 2005 at 11:04:03AM +0200, Holger Klawitter wrote:
: what might be the reasion that
: wget http://theUser:[EMAIL PROTECTED]/someURL
: is working, whereas
: wget --http-user=theUser --http-passwd=thePass http://theHost/someURL
: yields Authorization failed (401)?
My tomcat instance is now running 10 webapps and will
most likely get more, in the region of 15. My service
provider configures my server with 64MB heap space.
Question is, what affects the memory usage? Purely the
number of hits (ie active sessions) or the number of
webapps as well? Should my
Both active sessions and the number of webapps will fill up your heap. Within
64MB I think you will struggle to run 15-20 webapps but without knowing the
exact size of them all and the amount of hits you expect I couldn't say for
sure.
Ta
Matt
-Original Message-
From: Charl Gerber
The webapps are small: the actuall jars are about 2MB.
Traffic is relative lowkey, a few thousand hits per
day AT MOST (more likely less).
Each .war at the moment has its own struts and jstl
jars. Would it help if I move them to the common/lib
directory? I put them seperately at first because I
Hi all,
I am having problems with the jakarta-connector version 1.2.13 and tomcat 5.5.9.
The apache version is Apache/2.0.46 (White Box).
I have the following configuration in httpd.conf:
IfModule !mod_jk.c
LoadModule jk_module /usr/lib/httpd/modules/mod_jk.so
/IfModule
JkWorkersFile
If Tomcat does run out of memory, what will happen?
Will a user just temporarily not be able to access the
apps until another session becomes available, or will
it crash and I have to restart?
Will 128MB be fine?
--- Dale, Matt [EMAIL PROTECTED] wrote:
Both active sessions and the number
When do you share jars (struts, log4j, jstl, etc) for
webapps in the common/lib directory and when does each
app need its own copy of the jars?
Log4j we've found by trail and error is better to have
a jar per webapp, as the loggers seems to overwrite
each other, but which commonly used jars
I think struts would not support gracefully to be put in common/lib
Le Mardi 14 Juin 2005 11:46, Charl Gerber a écrit :
The webapps are small: the actuall jars are about 2MB.
Traffic is relative lowkey, a few thousand hits per
day AT MOST (more likely less).
Each .war at the moment has its
I suspected that, as each web-app needs its own
instance to be configured with mappings etc
--- delbd [EMAIL PROTECTED] wrote:
I think struts would not support gracefully to be
put in common/lib
Le Mardi 14 Juin 2005 11:46, Charl Gerber a écrit :
The webapps are small: the actuall
Hi all,
I am having problems with the jakarta-connector version 1.2.13 and tomcat 5.5.9.
The apache version is Apache/2.0.46 (White Box).
I have the following configuration in httpd.conf:
IfModule !mod_jk.c
LoadModule jk_module /usr/lib/httpd/modules/mod_jk.so
/IfModule
JkWorkersFile
Holger Klawitter wrote:
There is one indeed interesting difference, both requests end up with a
different (each one is reproducable) auth string:
Sorry, didnt follow the conversion and thus it might be complete wrong
what comes into my mind, but:
Do you have some special character in your
Are there any special chars in theUser and/or thePass that could
possibly escaped in the URL and/or by the shell?
E.g. Umlauts, Whitespace, %, ...
Or are you really literally writing
wget http://theUser:[EMAIL PROTECTED]/someURL
?
Holger Klawitter wrote:
QM wrote:
On Mon, Jun 13, 2005 at
They need to be in common/lib when they need to be accessed by tomcat itself as
well as the webapps. shared/lib would just be the webapps. I don't know about
struts and jstl but you'd more than likely need a log4j in each webapp to get
seperate webapp logging.
Ta
Matt
-Original
yep, shared/lib.
I suspect struts also needs to be in every webapp, but
its gets tricky when you consider all the jars struts
require, eg commons-related stuff.
--- Dale, Matt [EMAIL PROTECTED] wrote:
They need to be in common/lib when they need to be
accessed by tomcat itself as well as
Dear List,
I'm after some external advice on how best to configure Tomcat and our web
application.
The web application is intended to run 5 international country web sites. The
code base is aware of its need to run different sites, and uses various
parameters in calling backend services to
Never. I share jars. I wish I hadn't.
When you upgrade JSTL, struts, etc - all get the upgrade for free - but that
means ultra stable apps which haven't been touched in years may magically
break.
[Exception - log4j ... I like have a common/lib log4j]
-Tim
Charl Gerber wrote:
When do you
Hi all,
I am having problems with the jakarta-connector version 1.2.13 and tomcat 5.5.9.
The apache version is Apache/2.0.46 (White Box).
I have the following configuration in httpd.conf:
IfModule !mod_jk.c
LoadModule jk_module /usr/lib/httpd/modules/mod_jk.so
/IfModule
JkWorkersFile
If you share log4j, wouldn't it mean that if two
web-apps both use eg com.foo.Bar, they cannot be
configured to log to different logfiles and that the
com.foo.Bar logger (with appenders) is shared between
webapps?
--- Tim Funk [EMAIL PROTECTED] wrote:
Never. I share jars. I wish I hadn't.
If the functionality is the same for all the sites and only the parameters
are different, then one webapp makes sense. This will be acceptable if the
same people control the look and functionality for all 5 domains/sites. If
different parties have a decision in look/functionality of each site
I think so. But IIRC, if you have a log4j in common/lib and WEB-INF/lib - the
WEB-INF/lib will be used for that webapp. So you can place logging in a
different file for that webapp and class.
-Tim
Charl Gerber wrote:
If you share log4j, wouldn't it mean that if two
web-apps both use eg
64MB is tight. But class definitions (IIRC) do not go onto the heap so you
could have a lot of classes without any worries.
But I recommend
- Not using sessions (or severely limiting its use)
- Tweak your server.xml to not have any of the examples, etc
- Be very careful in creating large
Thanks. All things I will look into.
I have to use sessions, as users logon to the apps,
but it will probably help if I bring the session
timeout down to 5 or 10 minutes
--- Tim Funk [EMAIL PROTECTED] wrote:
64MB is tight. But class definitions (IIRC) do not
go onto the heap so you
Hi all,
I am having problems with the jakarta-connector version 1.2.13 and
tomcat 5.5.9.
The apache version is Apache/2.0.46 (White Box).
I have the following configuration in httpd.conf:
IfModule !mod_jk.c
LoadModule jk_module /usr/lib/httpd/modules/mod_jk
.so
/IfModule
JkWorkersFile
The best place to search for this info is in the library website. You found
the problem of log4j by trail / error? if you had read the log4j doc, it's
written explicitly, do not put log4j in the shared lib of your container or
you won't be able to have a different config per webapp.
For
As you may never know where the Error occured, it may be some tools of the
webapp are left in an unconsistent state (transactions not closed,
inconsistent session, jsp not compiled and so on).
So restarting is probably needed.
Le Mardi 14 Juin 2005 11:49, Charl Gerber a écrit :
If Tomcat does
Tim Funk wrote:
Never. I share jars. I wish I hadn't.
When you upgrade JSTL, struts, etc - all get the upgrade for free -
but that means ultra stable apps which haven't been touched in years
may magically break.
You're absolutely right Tim. If it works, don't fix it. And there is
nothing
Brereton, Stephen wrote:
how exactly does the servlet get called? Are you using the web server?
-Original Message-
From: teknokrat [mailto:[EMAIL PROTECTED]
Sent: 13 June 2005 18:44
To: tomcat-user@jakarta.apache.org
Subject: Re: can anyone make sense of this
Brereton, Stephen wrote:
Amen brother!
Sharing jars between web apps is just a Bad Idea (tm).
Disk is cheap, and so is the time required to copy a jar.
...unless you are an ISP with 1000+ web apps running on a sinlge box,
then it *might* be OK, but even then, I would stop and think very
carefully before doing it.
Ein grant-Eintrag im Policy-File könnte dann so aussehen:
grant codeBase file:${catalina.home}/webapps/my_exec/- {
permission java.io.FilePermission Pfad zum aszuführenden Programm,
execute;
};
And the /my_exec/-, is that the context-path?
That means I can call my Servlet whatever I
Charl Gerber wrote:
When do you share jars (struts, log4j, jstl, etc) for
webapps in the common/lib directory and when does each
app need its own copy of the jars?
Log4j we've found by trail and error is better to have
a jar per webapp, as the loggers seems to overwrite
each other, but which
You will get an OutOfMemoryException for that particular request, all requests
for memory will fail until some memory is freed up so it's likely that when you
get to the max, some/many/all of your users may be affected.
From the sounds of it 128MB would be more appropriate to your situation
Hi,
I have an application using Apache 2.0.54, Tomcat 5.0.27 Struts 1.1 on a
Windows 2003 SP1 box.
*.jsp and *.do get forwarded to Tomcat for processing.
When a particular folder is requested in a URL with no filename, I want a
struts action to get called. For example
Wow...where to begin...to answer in very general terms...
What affects memory usage?
The short answer is everything, and includes the two points you listed
below.
The long answer is it depends...how many concurrent sessions will each
webapp require...what size do you anticipate each session
Wow...where to begin...to answer in very general terms...
What affects memory usage?
The short answer is everything, and includes the two points you listed
below.
The long answer is it depends...how many concurrent sessions will each
webapp require...what size do you anticipate each session
Christoph Kutzinski wrote:
wget --http-user=theUser --http-passwd=thePass http://theHost/someURL
vs.
wget http://theUser:[EMAIL PROTECTED]/someURL
with BASIC auth
Or are you really literally writing
wget http://theUser:[EMAIL PROTECTED]/someURL
of course not :-)
There was no shell escaping
Then put those libs in WEB-INF/lib too
Le Mardi 14 Juin 2005 14:31, teknokrat a écrit :
Charl Gerber wrote:
When do you share jars (struts, log4j, jstl, etc) for
webapps in the common/lib directory and when does each
app need its own copy of the jars?
Log4j we've found by trail and
I did it.
I made this entry in catalina-policy:
// Mein Eintrag zum ausführen eines Prozesses:
grant codeBase file:${catalina.home}/webapps/my_exec/- {
permission java.io.FilePermission /home/chris/c/file-test,execute;
};
Then I wrote this servlet:
[code]
import java.io.*;
import
I think it's odd that /index.do is coming through from Apache and it throws an
error.
Known alternatives are URL rewriting and creating a JSP that contains a call to
the action using a redirect/forward. There's an example of doing this in the
struts-example webapp where they forward using
On 6/14/05, [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
Hi,
I have an application using Apache 2.0.54, Tomcat 5.0.27 Struts 1.1 on a
Windows 2003 SP1 box.
*.jsp and *.do get forwarded to Tomcat for processing.
When a particular folder is requested in a URL with no filename, I want a
Am Dienstag, 14. Juni 2005 14:27 schrieb Christian Stalp:
Ein grant-Eintrag im Policy-File könnte dann so aussehen:
grant codeBase file:${catalina.home}/webapps/my_exec/- {
permission java.io.FilePermission Pfad zum aszuführenden
Programm, execute;
};
And the /my_exec/-, is that
Frank,
First of all, thanks for the detailed information. At about the same
time your response came through, I also managed to locate similar info
from Marty Hall's web site
(http://courses.coreservlets.com/Course-Materials/msajsp.html).
Using both sources of information, I made the following
Thank you Luc -
My JkMount directives are inside an an included file, which is itself inside a
virtualhost directive in httpd.conf, almost at the bottom of section 3. Why
wouldn't this work? The idea was, if we decide to host more than one of these
on the same system, we can put the JkMount
Am Dienstag, 14. Juni 2005 14:52 schrieb Christian Stalp:
I did it.
I made this entry in catalina-policy:
// Mein Eintrag zum ausführen eines Prozesses:
grant codeBase file:${catalina.home}/webapps/my_exec/- {
permission java.io.FilePermission /home/chris/c/file-test,execute;
};
Is
We need to restart the tomcat service each week automatically using the Windows
2000 Scheduling Process. I've tried running startup.bat, startup.sh with no
luck. The 'Service' process is 'jk_nt_service.exe Tomcat', of which I've tried
in the 'run' process of the Scheduler. None of these
From: Tim Funk [mailto:[EMAIL PROTECTED]
Subject: Re: Tomcat memory question
But class definitions (IIRC) do not go onto the heap so you
could have a lot of classes without any worries.
Actually, an instance of java.lang.Class is created for each
classloader/class combination, and these
Hi,
Well, I never made any research on Jk with Virtual Hosting, but I think
this might help. It's a reply I gave to someone who asked for
configuration instructions with Tomcat 5.5, Apache 2 and Jk. Hope it
helps !
First, in httpd.conf, load your module :
LoadModule jk_module
Holger Klawitter wrote:
Christoph Kutzinski wrote:
wget --http-user=theUser --http-passwd=thePass http://theHost/someURL
vs.
wget http://theUser:[EMAIL PROTECTED]/someURL
with BASIC auth
Or are you really literally writing
wget http://theUser:[EMAIL PROTECTED]/someURL
of course not :-)
==
Date: Tue, 14 Jun 2005 11:43:04 +0100 (BST)
From: Charl Gerber [EMAIL PROTECTED]
To: Tomcat Users List tomcat-user@jakarta.apache.org
Subject: RE: [Q] when to share jars
==
yep, shared/lib.
I suspect struts also needs to be in every
Repost, hadn't heard anything...
Anyone have a code example of talking to the JMX Http interface
pragmatically? With latest MX4J or JMXRI?
Thanks Bill,
So if I can only use the http method, then I assume I should be able to
make the code work using the newer MX4J HTTPConnector? Or am I
Is the path really correct? Is the webapp's directory really named
my_exec?
Try to use the absolute pathname of your webapp's directory, i. e.
something like
grant codeBase file:/opt/tomcat-4.1/webapps/my_exec_or_whatever/- ...
Is the file really executable for the account tomcat runs
We need to restart the tomcat service each week automatically using the Windows
2000 Scheduling Process. I've tried running startup.bat, startup.sh with no
luck. The 'Service' process is 'jk_nt_service.exe Tomcat', of which I've tried
in the 'run' process of the Scheduler. None of these
Just use an auto-configuration script provided by Tomcat
http://jakarta.apache.org/tomcat/connectors-doc/howto/apache.html
Look at 'Installation' - 'Using Tomcat auto-configure' section**
http://jakarta.apache.org/tomcat/connectors-doc/howto/apache.html
Thank you Luc -
My JkMount directives
Greg Scott wrote:
-Message d'origine-
De : Greg Scott [mailto:[EMAIL PROTECTED]
Envoyé : 11 juin 2005 23:41
À : tomcat-user@jakarta.apache.org
Cc : [EMAIL PROTECTED]; Joan Kinnischtzke; Michael R Ponicki Objet : Paths for
JkMount
Hello -
I am working on a proof of concept
In a follow-up to my previous thread, I have now made
a small jsp that prints the free memory using
Runtime.freeMemory().
This however runs down to 0 quite quickly with no
users connected (just my one session) and then jumps
up to somewhere about have the allocated memory
runs down to 0 and
How can you determine all the loaded webapps and
active sessions across all webapps using the Catalina
(or other Tomcat) API? The Javadoc does not seem to
provide a sort of utility class with static methods to
get this info.
Thanks
Charl
From: Charl Gerber [mailto:[EMAIL PROTECTED]
Subject: Tomcat and Runtime.freeMemory()
But why does the free memory not remain consistant if
there is no server activity?
There is _always_ some server activity, if for nothing else than
listening for comm traffic and various timing
Classification: UNCLASSIFIED
Caveats: NONE
I haven't removed any files and the default files and the Default page
is listed above the iisstart.htm. My application is using tomcat now but
needs to be redirected to IIS. The isapi filter is green and pointing
up. I have also checked the registry
net stop tomcat
net start tomcat
Viorel Dragomir
.
..
---
- Original Message -
From: John Sorensen
To: tomcat-user@jakarta.apache.org
Sent: Tuesday, June 14, 2005 15:40
Subject: How to Schedule a startup of Tomcat in
What is the best way to detect two people being logged in concurrently using
the same account? This is one aspect of my efforts to restrict fraudulent
access. Again, I don't want to use Acegi since it seems to break the rest of
my app. So, what's the best way to do this 'traditionally'?
Thanks!
Thanks, Chuck, that was it. I didn't have it set either way, so adding the
parameter and setting it false got rid of the issue.
Tomcat still accesses winnt\system32 every 10 seconds for some reason, but I
can live with it.
Ed
You are not the first to see this. I am not sure what is going on and I
have raised it with the infrastructure team. For now, subscribers can
ignore these messages.
Mark
[EMAIL PROTECTED]
Markus Schönhaber wrote:
Hello!
I recieved this message even though I am subscribed to the Tomcat Users
Yeah, it's in the file mentioned, but I have no idea if it ever gets called.
I think watchedresource creates a temp file via this routine, based on
some profiling work I did, but it will take a better Tomcat user/developer
than me to isolate it.
Ed
-Original Message-
From: Christoph
From: Ed Hamilton [mailto:[EMAIL PROTECTED]
Subject: RE: Tomcat file activity every 10 seconds
Tomcat still accesses winnt\system32 every 10 seconds for
some reason, but I can live with it.
You must be running Tomcat as a service, and that's the default working
directory. You can change
So there is no way to determine how much memory you
*really* have free?
--- Caldarale, Charles R
[EMAIL PROTECTED] wrote:
From: Charl Gerber [mailto:[EMAIL PROTECTED]
Subject: Tomcat and Runtime.freeMemory()
But why does the free memory not remain consistant
if
there is no server
By the way, having read the bug report discussion, I think it's a bit
misleading to say that File.deleteOnExit HAS a memory leak - it's more
accurate to say that __by definition__, it IS a memory leak for a long
running system. But at the same time, it only leaks a fixed amount of
memory in
If you have to know and don't care about the performance impact you can
always do:
System.gc();
Runtime.freeMemory();
It's not pretty and I don't recommend doing it but it should give you
the answer you are looking for.
Mark
Charl Gerber wrote:
So there is no way to determine how much
thanks its an option, at least. :)
--- Mark Thomas [EMAIL PROTECTED] wrote:
If you have to know and don't care about the
performance impact you can
always do:
System.gc();
Runtime.freeMemory();
It's not pretty and I don't recommend doing it but
it should give you
the answer
From: Charl Gerber [mailto:[EMAIL PROTECTED]
Subject: RE: Tomcat and Runtime.freeMemory()
So there is no way to determine how much memory you
*really* have free?
The base of the sawtooth shown by a heap profiler is it.
Programattically, it can be a bit tricky when capabilities such as
Concurrent GC are in use. You can try to force a
garbage collection,
but that's a rather expensive action to take just to
see a number.
If you do it maybe once or twice a day, it will be
ok... purely to (initially) determine the memory
requirements of the webapps.
- Chuck
THIS
Don't know if this is an optimum solution, but it should work:
Keep a List or Vector of IDs for active users in a shared,
application-level object (probably ServletContext);
When someone logs in, search the List for the submitted ID: if not present,
continue with login sequence; if present,
This will prevent users from having more than one session at a time
for sure. You would probably want to remove the id from the list when
a duplicate is detected to prevent users from having to wait for their
initial session to timeout in the event that they closed their browser
without properly
Can anyone tell me how to use email from tomcat?
I was given that task to do before my summer
internship starts. I did numerous google searches,
and checked out Tomcat books at the bookstore. I
haven't found anything helpful besides this list.
Thanks.
Jenny Yang
Dream your dreams with
hihi Ed,
i have windows 2003 server, IIS 6.0, Tomcat 5.5.9 and i have
redirection working fine. i used to have windows 2000, IIS 5.0, Tomcat
4.1 and i also had redirection working fine in that setup as well.
my question to you is, how are you setting up the JK connector? are
you doing it
Look at the JavaMail api.
Its quite easy to incorporate that into a webapp
running under TomCat.
--- Jenny Yang [EMAIL PROTECTED] wrote:
Can anyone tell me how to use email from tomcat?
I was given that task to do before my summer
internship starts. I did numerous google searches,
and
Jenny:
Try this: http://java.sun.com/products/javamail/
Click on Technical Articles Tips
This is off topic and not a specific Tomcat question. However, it is a
good place to start.
-Anthony
On Jun 14, 2005, at 1:55 PM, Jenny Yang wrote:
Can anyone tell me how to use email from tomcat?
I
Hi Jenny,
First off, congrats on the internship! Hope you enjoy it. Now, more to
the point: you're looking for the JavaMail package.
Read about how to use it in Tomcat here (you'll have to become
familiar with JNDI, but that's a Good Thing ):
Bottom line is that the only libraries you should put in shared/lib
are ones that you know are stable and won't be changing much, if at
all (can anybody really know this?). Every application that depends
on a shared library gets impacted when you upgrade the shared library.
If there are several
And I presume you'd need to get/persist this java object to a database,
if you fancied scaling beyond a single application server? (Or am I
missing something?)
Andre Van Klaveren wrote:
This will prevent users from having more than one session at a time
for sure. You would probably want to
Hi Everybody!
I'm triying to implement p3p in a Tomcat/Jsp platform.
Actually i'm setting the http header by the request.Addheader method.
There's any other way to set the http header with Tomcat?
Thks
-
To unsubscribe,
Hi everyone,
I have looked through the archives and the
installation guide, however I am having difficulties
installing the admin package for 5.5.9. Does anyone
have a link to the step by step guid;e to install this
package?
Thanks.
JR
__
From: J R [mailto:[EMAIL PROTECTED]
Subject: Admin Package
Does anyone have a link to the step by step guid;e to
install this package?
Not to be too facetious, but:
1) Download.
2) Unzip.
That's really all there is to it. Just make sure you use the same base
directory for the admin
Hi all;
How can I do to change the default pool size for SingleThreadModel servlets?
Regards.
Martín.
--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 267.6.6 - Release Date: 08/06/2005
That was pretty easy.
Thanks Charles.
JR
--- Caldarale, Charles R
[EMAIL PROTECTED] wrote:
From: J R [mailto:[EMAIL PROTECTED]
Subject: Admin Package
Does anyone have a link to the step by step guid;e
to
install this package?
Not to be too facetious, but:
1) Download.
2)
Hi all
What are the different extension mechanism for Tomcat or in other
words how do we extend Tomcat. Can we write some plug-in in Tomcat
environment.
From what I have gathered till now it looks like Tomcat's server.xml
file can be customized for className attibute etc. Apart from this
what
So the proper location for a Cluster element is inside
a Host element?
Host
Does this mean I need to
have a separate Cluster element for each virtual host?
yes, unfortunately, the better solution is to do the virtual hosting in your
apache server.
That way you only need one cluster config.
Jenny Yang wrote:
Can anyone tell me how to use email from tomcat?
Tomcat doesn't do email, but it does Java and Java
does email.
Search the Web for JavaMail tutorial
Paul Singleton
--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.323 / Virus Database:
Pawan;
I suggest you start a new thread instead of replying this way.
Regards.
Martín.
-Mensaje original-
De: Pawan Choudhary [mailto:[EMAIL PROTECTED]
Enviado el: Martes, 14 de Junio de 2005 05:17 p.m.
Para: Tomcat Users List
Asunto: Re: HowTo Change Pool MaxSize for
On Tue, June 14, 2005 9:26 am, Gagnon, Joseph M \(US SSA\) said:
Very simple stuff. However, when I try to login (by loading the
login.jsp page), I get the following error from Tomcat:
HTTP Status 404 - /SPID_JSP/j_security_check
A HttpSessionListener implements a sessionDestroyed() method, which
receives a HttpSessionEvent object from the servlet container when a
session is about to be invalidated (the timing undoubtedly depends upon
the container); the HttpSessionEvent object has a getSession() method,
which returns
We use a vendor-supplied application that is bundled with Tomcat 4.1.29.
Although we have configured it with an SSL-capable HTTP/1.1 Connector on
port 443, we still have a connector listening on port 80 that allows
cleartext connections to the server as well.
Is there a configuration possible by
OK, now I'm more confused. First some background (for those of you who
haven't seen the entire history).
1. I have defined a role and added myself as a user in that role to
the tomcat-users.xml file (in [tomcat install dir]/conf). The role is
defined as spid_jsp. (SPID is just the name of an
Gagnon, Joseph M (US SSA) wrote:
snip
2. I have placed a WEB-INF directory under my test application
directory ([tomcat install dir]/webapps/ROOT/SPID_JSP) and put a web.xml
file in it. (SPID_JSP is where the JSP and HTML files reside.)
snip
You will need to fix this before anything
1 - 100 of 122 matches
Mail list logo