Hi all,
This is a core Java language issue but its roots are in servlets.
I have a servlet (running on Tomcat v4.0.3), MyServlet, which
calls Class.forName(XXX) in it's init() method.
Now class XXX has a static initializer that opens a file for
output and keeps it open. Later, I change the
I bet you're not setting the MIME type of the response correctly (can't
remember the API call off the top of my head). But the default is not
text/html, and Mozilla correctly asks the user what to do. Internet
Explorer treis to guess the content type from the stream, so you can
often get away
Hi Tony,
Here is my notion:
What you're using is tomcat automatic class reloading. When you compile
class MyServlet tomcat
drop it's current class loader and creates a new one which loads all your
classes again.
I think, if you should try to remove you class XXX outside of
web-inf/classes and
put
i have set multipart/form-data tag in my html form
tag. i need to get a form filled in by the visitors
and also an attachment on the same form (file upload).
i am using oreilly classes. problem is when i try to
get data + file on the server using MultipartRequest
class of oreilly i get the error
Unfortunately I believe that's what static initialization is.
It's not totally clear whether this will help you, but here's a link
that describes the order things are done in:
http://www.javaworld.com/javaworld/jw-11-2001/jw-1102-java101.html
cheers
fillup
At Tuesday, 7 May 2002, you wrote:
Assuming the browser is not just giving you a cached page, in the servlet,
if you log the contents of _instance just before return _instance; do you
see the new data?
ChrisC
-Original Message-
From: Pykalainen, Eero [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 23, 2002 8:34 PM
Hi,
I had many problems with classloaders using tomcat 3.3.1.
I think you shouldn't be suprised by the LinkageError, cause you actually
load this class twice, once by the context class loader and second by the
apps
class loader.
What I don't remember is the hirarcy between these two class loaders
Hi all,
if you have just received message starting with 'A funny web site' -- do
not open it! This message has been sent by a virus!!!
I hope this is not too late...
Yours,
Sergei
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
I'm late with this reply but thanks!
Le Vendredi 03 Mai 2002 12:26, Ion Larranaga a écrit :
Hi,
There's no way to add new exception types to the doPost method. However,
you could do something like:
public void doPost(HttpServletRequest
Subject: Re: mod_webapp.dll
From: Bruno V [EMAIL PROTECTED]
===
You can find it here : http://www.acg-gmbh.de/mod_jk/
Other guides, how-to about Apache + Tomcat + connectors :
http://bruno.vernay.free.fr/HowTo/bWebServerHowTo/ch05.html
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
Subject: Re: Can't build mod_webapp.so
From: Bruno V [EMAIL PROTECTED]
===
You should check : http://www.pubbitch.org/jboss.html
Other guides and tutorial about Apache + tomcat + connectors :
http://bruno.vernay.free.fr/HowTo/bWebServerHowTo/ch05.html
--
To unsubscribe, e-mail:
I am refering packages and text from
http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.0.3/rpms/
and I did setup of tomcat4 and apache, I can see servlets using tomcat4's web
server but after putting mod_jk connector when I restart httpd ( i.e apache ) I get
following error.
Sorry for my Off-Topic question but I couldn't find a solution.
I am reading news messages offline with Outlook Express and I have a
problem;
When I synchronized the news server and my local box Deleted/Outdated
messages are also deleted from my local box. I want to preserve the old
messages in
I think you're talking about struts...
AFAIK a taglibrary is not directly related to a servlet, but a tag handler
has access to the request, where struts sets an attribute for each
datasource, which name is corrisponding to datasource's key attribute:
HttpServletRequest req =
Hello,
Because I am curious about how these technologies are used in the real
world. I would like to know how do you professionals use as your rule of
thumb wether or not you are going build web based application using
Enterprise Javabeans or a standalone jsp applications.
Why
Hi,
this is a problem with the build.xml scripts. I had the same problem, too. Your
apache seems to be compiled with -EAPI, e.g. for mod_ssl. I don't know if there
is a compiled dso with EAPI enabled. I build the connectors on my own with cvs
repository from jakarta-tomcat-connectors. You
Title: Problem with Tomcat 4.1.0 IIS
Hello,
I have recently upgraded to Tomcat 4.1.0
Also upgraded my isapi_redirect.dll with the version located in http://jakarta.apache.org/builds/jakarta-tomcat/release/v3.3/bin/win32/i386/
I have IIS as web server and Tomcat listening to redirections
During runtime when I change a class file, tomcat
4.0.3 is supposed to reload that class(due to
reloadable=true in server.xml). But instead, I
get some JVM Bind error.
Does anybody have any clue about this error.
thanks.
kb
__
Do You Yahoo!?
Hi Raj,
thanks for your detailed mail which was very helpful. I had followed the
same.,
but i had another question. The certificate from verisign has been placed
as instructed , but how do i enable the client i.e browser in my case for
the
same . does anything specific has to be done?
prior to
Hello all:
When a user enter in my site sessions are used to store user data. I get the
session using (request.getSession(true);). When users leave the site the session is
invalidated (request.getSession().invalidate();). But, if users enter again from the
same browser instance each call
Older browser versions (for exemple IE4 ...) don't support 128 bit
encryption rate. Is there a way to configure tomcat to deny all requests
from clients, that are not capable of using 128 bit encryption rate.
The SSL connection, using the configuration as described in SSL How To,
reduces the
I have a strange JSP problem with Tomcat 4. When I start Tomcat everything
is fine and the JSP's are working OK. But when I load a particular JSP which
always fails all other JSP's then stop working even the examples, and just
display an empty html page, here is the html:
!DOCTYPE HTML PUBLIC
Hi all,
I have a problem and I don't know whre is the cause.
My context is /xxx: in this context I have a servlet. This servlet takesas
parametr an url in IP form (nn1.nn2.nn3.nn4).
At the end of the servlet I do:
response.sendRedirect(response.encodeRedirectURL(url + ? + querystring));
If
Hi,
I am experiencing the exact same problem. Here is my post to the struts list:
Hi,
Has anyone encountered the following situation using form-based auth in catalina?
1. login successfully using 'j_security_check';
2. the next request happens to be to an unsecured url (e.g. /do/frontpage
Hi Steve,
I had included the security constraint in web.xml, but still
the request goes thru without ssl. what mistake am i making?
what is the login-config? do i have to include that too.
i was also not clear abt the redirectPort bit - where cud i get
more help?
You could try just:
response.sendRedirect(http://; + url + ? + querystring);
ChrisC
-Original Message-
From: Laura [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 07, 2002 7:53 PM
To: [EMAIL PROTECTED]
Subject: Urgent send redirect
Hi all,
I have a problem and I don't know
Try Pan or KNode...
-prabhakar
Sorry for my Off-Topic question but I couldn't find a solution.
I am reading news messages offline with Outlook Express and I have a
problem;
When I synchronized the news server and my local box Deleted/Outdated
messages are also deleted from my local box. I
Hello
I'm using
Tomcat 4.03
Apache 1.3.23
J2SDK 1.4
RH 7.2
In this server are running 4 private tomcat instances, and 6 sites in
a shared instance.
What I saw while I was doing a top, its the HUGE number of processes
running, usually goes over 2200 processes.
I set a cronjob to restart to
this is not a bug. All u have to do is set some attribute in session
after successfull login and then check that attribute in each servlet.
If the attribute is there in session proceed otherwise throw the login
screen.
-Original Message-
From: Garzon Maldonado, Jesus Javier
Chris Shen wrote:
this is a bizzare one. i've placed all my classes under the web-inf/classes
with the appropriate class structure and everything, and it was working fine
on my tomcat 3.3. yet, after i migrated it to 4.03, i tried to run it the
first time and compiled it, and i kept on getting:
Tomcat 4.0.3 will wait forever for web applications to
shutdown any non-daemon threads they created. If a
web application leaves such a thread running, Tomcat won't
shut down.
Cheers,
Larry
-Original Message-
From: Leland Chen [mailto:[EMAIL PROTECTED]]
Sent: Monday, May 06, 2002
Hi all,
my system is this: I have a solaris machine (2GB RAM) with apache 1.3.19 and
two instances of Tomcat 4.0.3 in a load balancer configuration.
I started all three days ago: this morning I have found the two Tomcat dead.
All my servlets didn't respond and all the system was dead.
It's
Hi,
Tomcat runs good when I launch a servlet for the first time. But when I
launch this servlet for the second time, Tomcat print the result of the
first ( in fact Tomcat runs the prior result page saved in IE).
Thanks
Jc
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional
Hi,
I am using TC 4.0.3 with JDK 1.4 connected to apache with webapp
connector.
Every thing works find except when i call two or more JSP within a
frameset !
Did someone experience the same problem and how can I fixe it.
Thanks in advance,
Regards,
Vince
PS : My files...
httpd.conf :
The classloader diagram is found at:
http://jakarta.apache.org/tomcat/tomcat-3.3-doc/tomcat-ug.html#configuring_classes
Because Tomcat 3.3.x uses the JDK delagation model for
classloading, classes in the apps classloader take priority
over WEB-INF/classes and WEB-INF/lib. I don't think your
has the problem being solved???
-Original Message-
From: Diego, Emil [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 17, 2002 1:18 AM
To: 'Tomcat Users List'
Subject: RE: Problem loading MySQL drivers.
Where did you set the classpath ?
-Original Message-
From: Panos
Hi,
I was using Tomcat 3.2.1 and switched to Catalina 4.0.3 (both on Windows
2000). Now my browser (IE6.0 on Windows 2000) gets no cookies anymore. It
seems that the session management ist now handled using URL rewritting and I
don't know why.
When I test my web application using Tomcat, I get
which browser r u using???
Is it IE. If yes remove the temporary files and set the Pages to keep
in history to zero
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 07, 2002 5:43 PM
To: [EMAIL PROTECTED]
Subject: servlet works good the first time,
sorry if this is an annoying starter question but i have so far not been
able to retrieve the list faq.
i have IIS5 , J2SE 1.4 , J2EE 1.3.1 , tomcat 4.0.3 , and isapi_redirect.dll
installed on W2K server SP2.
isapi_redirect was downloaded from
But the question is, If I invalidate one session I can't use the same browser to login
again, because the session is created every time I call request.getSession(true),
nevertheless if I don't terminate the session, and the session never time out, then
the server will store large amounts of
i'm ok with you but I have to do that each time I think there is an
other way to do it from a servlet or a jsp. Like in asp with the header.
Jc
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Hi Larry,
As I understand the additionalJars attribute, it can actually state jars
outside
the WEB-INF/lib or WEB-INF/classes that will be reloaded by tomcat when one
of the jars in changed.
Is it also relevant for Catalina ?
(Is there a way to state jars to be reloaded there too ?)
Tamir
you can move it to \common\lib which is loaded by a different class loader,
but then it will be visible to all contexts.
Using a static initializer like that will also cause problems if you try to
use the manager to control your app since manager drops the classloader and
creates a new one when
you could also try setting the HTTP Expires header to something definitely
in the past, like 1/1/1980
something like response.setHeader(Expires,1/1/1980);
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 07, 2002 8:13 AM
To: [EMAIL PROTECTED]
Hello all,
I have an application using jsps, servlets and applets runing under Tomcat
4.03 and Struts 1.0 (win2k server).
My application is located under C:\Tomcat4\webapps\applications\ and all
jsp files are there. Some jsps launch applets through jsp:plugin tags.
Applets are packaged in jars
I haven't actually tested the additionalJars feature with
respect to reloading. It was orignally added with non-changing
jars in mind, jasper.jar specifically. You may have to also
specify use11Loader=true for jar reloading to work.
I'm not aware of an equivalent feature in Tomcat 4.x.
Cheers,
Howdy,
Check for non-daemon threads still running somewhere in your apps, or
3rd party code you apps use. Tomcat 4.0.2 eliminated the System.exit()
call in the shutdown code, for better compliance with embedded tomcat
users.
There's a thread about System.exit(), check the archives ;) See also
Hi Charlie,
That's a good idea.
When I wrote my answer, what I had in mind is loading of jni using
System.LoadLibrary, which
can't be unloaded (Afaik ???)
Tnx.
-Original Message-
From: Cox, Charlie [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 07, 2002 3:05 PM
To: 'Tomcat Users List'
jake,
your explanation is excellent. I completely understand whats going on
now.. but again a quick question.. In jetspeed, we have template files under
Web-inf directory but the template directory is mapped in
jetspeedResources.properties file. So i should be able to access the
templates
Hi Kris, the jar that contains the applet and related classes *must* be
accessible by the browser. If not the browser could not load it and extract
the applet (throwing the java.io.FileNotFoundException).
-Messaggio originale-
Da: Kris Kras [mailto:[EMAIL PROTECTED]]
Inviato: martedì 7
Hi Larry,
Tnx for your information,
I'm afraid I can't use this feature as It's not compatible with
other version of tomcat...
Tamir
-Original Message-
From: Larry Isaacs [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 07, 2002 3:10 PM
To: 'Tomcat Users List'
Subject: RE: Classloader
here's what I use.
public static void upload
(
HttpServletRequest request,
String uploadFolder
) throws IOException
{
String cType = request.getContentType();
if (cType != null
cType.toLowerCase().startsWith(multipart/form-data))
{
MultipartRequest
Have you set the type of the form to Multipart?
laura
Alle 15:40, martedì 7 maggio 2002, hai scritto:
here's what I use.
public static void upload
(
HttpServletRequest request,
String uploadFolder
) throws IOException
{
String cType = request.getContentType();
I have the same problem.
I found this link, is this the error your getting?
http://www.tek-tips.com/gfaqs.cfm/lev2/3/lev3/22/spid/65/sfid/1552
I moved to mod_jk and all works ok.
-Original Message-
From: Vincent Lambert [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 07, 2002 7:11 AM
To:
my problem is solved thanx tim anyway.
actually i just renamed my java file and recompiled it
and it worked. Wonder what is with IE ... was it using
cache data. Netscape was very descent and every
changes i made where detected by it in every request
that i made. wonder what the problem is
Try something like:
response.setHeader(Cache-Control, no-cache);
response.setHeader(Pragma, no-cache);
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 07, 2002 8:13 AM
To: [EMAIL PROTECTED]
Subject: servlet works good the first time, but not
Thank you Alessio,
does this mean that if I put the jar files in WEB-INF/lib directory they
will be invisible to the browser? The WEB-INF/lib directory is a
subdirectory off of the Root directory called applications, which is the
directory hosting the jsp files launching the applets and as such
I'm having problems trying to compile mod_jk with the following:
/jakarta-tomcat-connectors-4.1.0-src/jk/native/apache-2.0/ ./build-unix.conf
I'm getting undefined reference ... messages.
Any help is appreciated!
Thanks,
Anthony
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For
I set all my browsers to not cache pages when developing.
It has bitten me many times...
-Original Message-
From: # Lalit Nagpal # [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 07, 2002 8:59 AM
To: Tomcat Users List
Subject: RE: someone plz help
my problem is solved thanx tim
hye
i am using oreilly classes (MultipartRequest class)
provided by jason hunter. Is it possible for me to
show to the user who is uploading file to my server
the upload status (progress bar etc, anything). I just
do not want the user to feel that the upload is not
working and cancel the submit
Thank you Alessio,
does this mean that if I put the jar files in WEB-INF/lib directory they
will be invisible to the browser? The WEB-INF/lib directory is a
subdirectory off of the Root directory called applications, which is the
directory hosting the jsp files launching the applets and as such
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hello,
once I start my Tomcat the first application that is viewed is slow to be
executed by Tomcat. Is there any way to improve the load of a particular
application ?
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For
Assuming that there aren't any other problems lurking in the darkness,
installing the j2sdk should fix the problem.
Remember, .jsp pages are REALLY templates used by Tomcat to automatically
build and compile servlets. Without the j2sdk, Tomcat can't compile the
servlets, and .jsp pages won't
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Post the JSP code
Le Mardi 07 Mai 2002 12:48, Collins, Jim a écrit :
I have a strange JSP problem with Tomcat 4. When I start Tomcat everything
is fine and the JSP's are working OK. But when I load a particular JSP
which always fails all other
Thank you Alessio for the clarification,
Regards
Kris
-Original Message-
From: Alessio Fiore [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 07, 2002 10:12 AM
To: 'Tomcat Users List'
Subject: R: Help with hiding resources
Thank you Alessio,
does this mean that if I put the jar files in
Hi,
My questions will look pretty stupid to the experts, so to avoid bugging
everyone on this list, I¹d suggest that if you want to answer them, you can
address me directly at [EMAIL PROTECTED]
I tried to build an html form linked via JSP to a Java Bean. I then tried to
access the object
What is the problem that you are having?
I had a problem in a similar context with sessions. This is because the
first url I would goto was domain.com and then I would get redirected to
server.domain.com...
Abe
-Original Message-
From: Vincent Lambert [mailto:[EMAIL PROTECTED]]
Sent:
It is not the JSP itself that is causing the problem because in some cases I
can run it. I have a servlet that I use to launch all other servlets that
are typically located on NFS not under the WebRoot. When I load a JSP I copy
the JSP to the WebRoot and then instantiate JspServlet and get this
I was hoping of something within the Tomcat configuration itself since we
don't use an index.jsp file. To be more specific about my problem, Whenever
a servlet calls another servlet in Tomcat it isn't intercepting the
/servlet/ directive and replacing it with /spike/servlet/ which is what it
I am having problems reading a resource file I placed in
/var/tomcat4/common/lib. I also tried placing it in
/var/tomcat4/common/classes.
I wrote a small JSP which lists the classpath and I notice it prints out as
/var/tomcat/common/lib (missing the 4). Does anyone know where this is
set?
I've observed the same phenomenon.
It's just a theory, but I suspect it might have to do with Internet Explorer
6 itself. I think Microsoft quietly changed IE6's default cookie-acceptance
behavior to automatically reject all cookies from sites not meeting its
criteria for auto-acceptance. Taking
I'm developing a Web App on Tomcat 3.2.4 (and Struts 1.0.2) and I've
been using URL rewriting throughout to make everything nice and
relocateable. As has been pointed out before on this list, the first
time a browser accesses the web-app, the session id cookie is set but
cannot yet be retrieved
Hi,
I was looking for the postigs under How to enforce SSL - if
anybody cud throw some light, as iwas unable to locate it.
thanx!
-Original Message-
From: Steve D George [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 30, 2002 3:48 PM
To: Tomcat Users List
Subject: Re: TOMCAT
Apache is not responding any more...
-Message d'origine-
De : Abraham Fathman [mailto:[EMAIL PROTECTED]]
Envoye : mardi 7 mai 2002 16:31
A : 'Tomcat Users List'
Objet : RE: Frameset problem
What is the problem that you are having?
I had a problem in a similar context with sessions.
I'm looking for a jar file that has the mod_jk 2 connector. I know it's
bundled in the Tomcat 3 release, but I don't want to download the whole
thing just to get a few class files:( Can anybody point me to a quick
location where I can grab the class files? I'd prefer not to build them
from
Hi List,
we are using
Tomcat 4.0.1
mod_webapp / WARP-Connector
Apache 1.3
The servlet we are using is a CMS-System (opencms). When we are changing
Web-Content in the CMS-database we see the changes in tomcat (Port 8080)
immediately, but not in the Pages served by Apache.
The problem is, that
Hello joshua,
Well, actually, all you've done here is specify a context called
servlet which has it's docbase sitting on the file system as
/spike/servlet. This would assume that you are on a Unix system and
you have a directory called spike off the root of your sytem with a
directory called
I'm hardly a guru, so you probably want to investigate further. However, it
looks to me like your login page is protected by your security constraint.
I don't know if that's the problem. I do know that my login page is outside
of my url pattern and I just have to log in one time.
Regards,
If I were you I'd check the error logs or the jvm.stdout or whatever. It
could be that there is a problem creating the connection to the database to
authenticate the user. If this is the case there should be error messages
indicating problems connecting to the database.
-Original
What OS? I have been using FRAMESET with multiple JSPs (including some that define
APPLETS) for a while with no problems. But I have been using mod_jk (this is on Win
NT and Win 2K) to connect to Apache (1.3.23 and 1.3.24).
Roger Whitcomb
Computer Associates
Senior Software Engineer
Do you have a CATALINA_HOME environment variable set? That might cause
this...
[EMAIL PROTECTED] 05/07/02 09:21AM
I am having problems reading a resource file I placed in
/var/tomcat4/common/lib. I also tried placing it in
/var/tomcat4/common/classes.
I wrote a small JSP which lists the
Ah... ok, I just assumed that Tomcat-Standalone established the baseline
values that got inherited by the Tomcat-Apache service and were used
absent a conflicting value there.
There's still one problem, though... I changed the appBase in the
Tomcat-Apache section to an absolute path
the startup scripts (under 4.X) for tomcat do not use the System classpath
setting
by default. In a production environment I'm fine with putting my jars
in the common\lib directory but in development I want to be able
to add my source tree to the classpath tomcat uses. once I do this by
changing
Yeah, I figured that out a bit later. The problem seems to be that Tomcat is
just ignoring the call to /servlet/Whatever.
The situation is like this, I'm trying to get as specific as possible now.
The code looks like this:
form name=insertForm action=/servlet/CatalogServlet onSubmit=return
I too have been using framesets with no problem, in fact one page with a
frameset is a jsp page.
What error are you getting?
Regards,
Richard
At 12:08 PM 2002-05-07 -0400, you wrote:
What OS? I have been using FRAMESET with multiple JSPs (including some
that define APPLETS) for a while with
You are right. With IE6, cookies must be accompanied by a privacy policy,
which is a basic xml file. If this policy is not supplied, then IE6 won't
allow tomcat to even set a session cookie.
There is a place at w3c.org where you can answer a bunch of questions and it
will generate the policy
Why not put your source in the WEB-INF/classes directory of your context
or put them in any other directory, and use ant to build and have it
build the classes into that directory?
Larry
[EMAIL PROTECTED] 05/07/02 10:12AM
Does anyone have a solution other than having to make a new jar file
Dear People,
I am trying to invoke Windows Media Player from within a Java Servlet environment
using Tomcat however I can only invoke the application but I CAN'T seem to
automatically get it to play any content. I have to physically type in the path and
then WIndows media player will play it.
Yes, CATALINA_HOME is set to /var/tomcat4
Here is my simple jsp
%@ page language=java %
%@ page import = java.util.* %
%@ page import = java.io.* %
% Properties prop = System.getProperties(); %
Java class path:
Hello joshua,
Well, take a look at the form action:
action=/servlet/CatalogServlet
This isn't even a servlet to servlet call. This is a browser to
servlet call. On top of that, you are telling the form to be
sumbmitted to http://our.server.com:8080/servlet/CatalogServlet
This tells Tomcat
I presume you are trying to run the code on the server?
If so, I did it (with winamp) by creating a play list then calling
this:
Runtime.getRuntime().exec(mp3PlayerPath + +
tmp.getAbsolutePath());
I suspect that the WiMP has a similar type of command line that would
do the same thing.
Hello Helen,
The media player is a client side thing. It has no clue whatsoever
that you sent the media content via a servlet or a static file. You
just have to make sure that when you send the content in the response
that you set the appropriate mime-type. If the user has media player
Does tomcat4 do logging cleanup, such as removing accumulated backup logs and trimming
the catalina.out log?
Where may I find documentation on how this is done? How do I configure the parameter
that controls the amount of disk
space dedicated to this task?
Thanks,
Bill Quinlan
Hello all,
I have a fairly complex web application that appears to have a memory issue.
I've come to this conclusion by making requests to my application while
watching 'top' output. In an attempt to track this down, I made the servlet
simpler by stripping out functionality. I continued doing
Thanks, I went ahead and told the developers that they were just going to
have to fix their code to be correct. Ideally we didn't want to change the
code, we just wanted to kludge tomcat to work with the original call
(backwards compatibility issue with the code). Thanks again.
Josh
-
Greetings:
I am wondering/hoping that it is possible to control HTTP directory access
for Tomcat via either the server's root web.xml or server.xml. Is this
possible with a STAND-ALONG Tomcat?
For example...
The system knows, automatically, to deny access to the ./WEB-INF/ directory.
How does
hi,
I'm having trouble getting pooled database connections using JNDI resources in
Tomcat 40
I've tried the example from Tomcat's documentation (JNDI - how-to) and it
worked fine for the DataSource objects
now I'm trying to use ConnectionPoolDataSource and it's just not working
I've tried
Any hep will be greatly appreciated.
-Original Message-
From: Sankaranarayanan (Ganesh) Ganapathy
Sent: Monday, May 06, 2002 3:05 PM
To: '[EMAIL PROTECTED]'
Subject: Choosing between standard Tomcat 4.0.3 and jdk1.4 LE
Hi All,
I want to user tomcat with jdk
The application security constraints are in
its web.xml, not server.xml.
Does anyone know if reload is supposed to
process the web.xml?
Frank Lawlor
Athens Group, Inc.
(512) 345-0600 x151
Athens Group, an employee-owned consulting firm integrating technology
strategy and software solutions.
Thank you all for the replies. The unfortunate part of this is
that my servlet runs in a shared Tomcat environment so I don't
have the luxury of putting classes/JARs wherever I want.
I *will* be able to but some code in the destroy() method to
inform the XXX class that it should close the file.
1 - 100 of 113 matches
Mail list logo