Why would you?
FavIcon is meant as attributes of pages, more specifically pages of whole
sites.
You can potentially have different FavIcons for different parts of your web
site, but that is not common. Resources, which PDF is, have no reason for
having a favourite icon. It would be the same
: 303 438 9585
-Original Message-
From: Nikola Milutinovic [mailto:alok...@yahoo.com]
Sent: Monday, September 14, 2009 11:26 AM
To: Tomcat Users List; Tomcat Users List
Subject: Re: Windwos Integrated Authentication using AD and Tomcat (no
prompt to the users)
There is also a module
There is also a module from Quest Software, using Kerberos authentication, but
it costs mega $.
Has anyone considered writing a TC realm for Kerberos?
Before MS ADS came into popular use, Kerberos was a rare beast, but now it is
more present. And it much better than NTLM, which is why MS
Why exactly would you want connection pool to be closed by TC?
I understand your point of view - you have that one web application and it is
using the pool and you are seeing something that looks like a leak.
Take a look from Tomcat's perspective. It has a JNDI bound resource, DataSource
in
Well, it should be relatively simple. Add the following to your web.xml:
servlet-mapping
servlet-namejsp/servlet-name
url-pattern*.html/url-pattern
/servlet-mapping
Nix.
From: Dola Woolfe dolac...@yahoo.com
To: Tom Cat
I must say that the nature of your questions leaves me with some concern
about the content of your guide...
Hmmm, I wont bite but I will provide a little more information on what I am
doing.
The guide is specifically being written for Tomcat on Windows, which in my
searching of the web
Hi all.
Jumping in a bit late, but...
You have 3 options for plugging TC into Apache's URL space:
1. mod_proxy + mod_proxy_http
2. mod_proxy + mod_proxy_ajp
3. mod_jk
Solution 1 is a simple proxy, works like a charm, except for one thing - it
WILL NOT give you the identity of authenticated
JSTL is not a part of TC. Use Maven2 to assemble your application so it
includes the desired version of JSTL. Or Ant.
Nix.
From: Alexander Hartner [EMAIL PROTECTED]
To: users@tomcat.apache.org
Sent: Friday, October 17, 2008 3:14:45 PM
Subject: Re: Iterations
Hi all.
This is just a question out of curiousity. Is there a balancer solution that
can allow for controlled migration/upgrade of nodes?
To explain, suppose you have Apache/mod_jk and you have N Tomcats in balance
over that setup, same web application on all of them. Now, suppose you would
Hi, i have an html page that has a javascript function that opens an outlook
mail window .the function is pretty basic:
function OpenOutlookDoc()
{try{
var outlookApp = new ActiveXObject(Outlook.Application);
var nameSpace = outlookApp.getNameSpace(MAPI);
mailFolder =
There is a project called URL Filter doing just that.
http://tuckey.org/urlrewrite/
Nix.,
- Original Message
From: Rob Tanner [EMAIL PROTECTED]
To: Tomcat Users List users@tomcat.apache.org
Sent: Tuesday, January 8, 2008 7:51:45 AM
Subject: How Do I do (Can I do) Apache like redirects
someone refresh me why
CLASSPATH=/usr/share/java
is inadequate, and
CLASSPATH=/usr/share/java/ecj.jar is required?
CLASSPATH is a list of resource locations where JVM can search for Java classes
and other resources. A resource can be either a directory or a JAR, which is
just a ZIP of the
img src=${imageUrl} alt=Author photo height=c:out
value=${DATA_PHOTO_HEIGHT}/ width=c:out
value=${DATA_PHOTO_WIDTH}/ /
(sigh) I feared as much. It is just that I hate JSTL tags inside another
tag's attributes.
Why would you use `src=${imageUrl}` and then use the clumsy
'c:out'
Also you talk about the DATA_PHOTO_HEIGHT and DATA_PHOTO_WIDTH
properties being static propertys of the AuthorController class. Why
not create a Constant object called PHOTO or something. make the
height and width proper static on that, then pass that into the model.
Then you can use the
Hi all.
This is not really TC related, but more JSP and EL question, but I thought I'd
ask.
I would like to have an elegant way of using constants from Java classes in EL.
This is a relatively good illustration of what I am talking about. Take, for
instance, a Spring controller. It has a
Thank you all who responded.
I think the following should do you
img src=${imageUrl} alt=Author photo height=c:out
value=${DATA_PHOTO_HEIGHT}/ width=c:out
value=${DATA_PHOTO_WIDTH}/ /
(sigh) I feared as much. It is just that I hate JSTL tags inside another tag's
attributes.
On 6/22/07,
Hi all.
This may have been asked before, but I couldn't find the answer. Perhaps it
should be in the FAQ.
I have installed TC 5.5 as Windows service. Tomcat Monitor application (the one
that sits among tray icons) that is used to start, stop and configure service,
also features a command
You have quite a bit of memory in your 'Old Generation'. You need to
determine what you're allocating that isn't being released.
Not true, see below.
Heap Usage:
PS Young Generation
Eden Space:
capacity = 10223616 (9.75MB)
used =
Actually, there is already a project URL Filter for Java Web applications,
basically does what mod_rewrite and mod_proxy give you. Maybe not in so many
details, but it is going to save our hide on our next project. :-)
Nix.
- Original Message
From: Caldarale, Charles R [EMAIL
Hi.
Just installed JDK 6 and Tomcat 6.0. JDK is installed under REGULAR path:
C:\Program Files\Java\jre1.6.0. Runs fine.
Let me just say that I have always installed JDK on Windows under expected
path, in Program Files. Both ZIP and service versions ran with no problem. This
was true of 5.
Installing from source is super simple. It's a pretty basic untar,
configure, make, install kinda package, and always results in the
binary that is appropriate for your setup. You just need to make sure
that you have a C compiler handy (which, as I recall, Solaris does not
always have).
But as Mark's loggers are 'static', don't they have the same
semantics WRT serialization as 'instance transient' ?
Should be. After deserialization, all static fields should be (re-)initialized,
thus, leading to logger being present, class-wide.
If so, Mark's would seem more efficient to
Im a Project Manager, not a techie but we had the same problem and had to
increase the perm gen to the following: Tomcat sets it at default at 64MB.
Perm Gen Memory: 150 MB
Max Perm Gen: 256 MB
Perm gen is memory reserved for class loading and is directly proportional to
the number/size of
Apparently our fat client can issue either a POST or a PUT request. The
client developer has a slight preference for PUT. I must admit to not
being familiar with HTTP PUTs - are there any downside to using PUTs
(aside from having to override doPut())?
I don't think your code will not be
I set mod_jk to log level debug, and saw it was
telling apache 2No.Host.matches.server.name.
This simply means that Apache is accepting a request for one Virtual Host an
that host is not configured in TC. This issue can be as trivial as not defining
the actual hostname as a Host element in
Could this person (inject other undesirable word) please consider the
fact that women are in the user's group also.
--
I fail to see any reason for the subject. It is not spam and it is a real
Two using their work email. These low lifes are so entertaining.
On 7/21/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
http://www.globaladrenaline.com/hbs/images/QN---Blue-Footed-Boobie-1.jpg
--
Charles Knell
[EMAIL PROTECTED] - email
Why was this one labeled as a low life? I
I had a similar issue in the past that I overcome by having the servlet
start a separate thread that was producing the report,
And a jsp page refreshing every 10 seconds or so checking for completion.
That is, of course, the asynchronous application design. Sometimes it is
necessary, but it
I currently have a Flash file which uses the ExternalInterface.call function to
call some JavaScript functions I have on a JSP page running in Jetspeed 2. When
I publish the file to an HTML in Flash and just view it on my computer it works
great, but I have tried making a JSP page out of it and
--- Kim Albee [EMAIL PROTECTED] wrote:
yes -- but what is the difference? i'm running Fedora Core 3 on a single
processor Linux box, running Apache 2.x
what does prefork mean? vs. worker?
Basically,
PreFork is the old MPM from Apache 1.3 series and forks one process for each
new request.
--- Peter Neu [EMAIL PROTECTED] wrote:
Hello,
I'm stopping restarting tomcat ervery night with a cron job. I do this
because we have many applications running and sometimes we need to simply
clean the system.
The cron job invokes a shell script which then starts tomcat with jsvc. Up
Hi all.
Just one opinion, if it hasn't been said before. Do not mix Java and PHP.
PHP is inherently thread un-safe. Basically the PHP code itself is, AFAIK, OK
(thread safe), but all those myriads of 3rd-party libraries providing needed
functionality to the myriads of PHP extensions can, and
--- Leon Rosenberg [EMAIL PROTECTED] wrote:
Ok, my fault,
read page and java in one sentence - map to Java Page - Java
Server Page. Must be a circuit error in the brain.
Anyway, does it mean, that a proper configured JVM on an opteron
processor, will be significantly faster? Could be very
--- Manish Agrawal [EMAIL PROTECTED] wrote:
Hi,
I have a web applications using sturts framework. The application allow
users to upload data files on server. The application is running on Apache
Tomcat 5.0 server. I am using Commons File Upload 1.0 for uploading files.
Struts has it's own
*exception*
java.io.IOException: null
net.php.servlet.send(Native Method)
net.php.servlet.service(servlet.java:207)
net.php.servlet.service(servlet.java:236)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
This exception is not only generic, but it is also
--- Leon Rosenberg [EMAIL PROTECTED] wrote:
On 3/27/06, Per Johnsson [EMAIL PROTECTED] wrote:
Hi!
One good thing you could do is make sure you have the APR installed
(Apache Portal Runtime) apr.apache.org.
APR = Apache Portable Runtime library
Why???
Well, it can spead things up,
--- Giorgio Clavelli [EMAIL PROTECTED] wrote:
Hi,
I'm not an exper at all, but I try to put my 2 cents.
The fact that your app can connect successfully after the server restart,
suggests that you should have your app's context.xml (or whatever it is
called) not in the server.xml but in the
--- Reinhard Moosauer [EMAIL PROTECTED] wrote:
Hi List,
it seemed clear to me, that this construct:
c:forEach items=${t.records} var=x
... (some inner logic)
/c:forEach
should be equivalent to this one:
No. It is roughly equvalent to (see my corrections):
%
for
There are any form of change the loading order or i
would need reinstall apache.
Re-intalling will do you no good. You'd still end up
with the same Apache. Re-building it, would, but that
can be quite a task. Finding a newer version,
differently compiled, might also be a good idea.
Anyway, I'm
--- Tony Smith [EMAIL PROTECTED] wrote:
in my jsp, there is something like:
html:text property=plateDetail.name
value=${plateDetailEditForm.plateDetail.name} /
How can I get this element in javascript? the
following code does not work:
var name =
In the catalina.out I stumbled over these entries.
Feb 6, 2006 4:55:17 PM
org.apache.catalina.core.AprLifecycleListener
lifecycleEvent
INFO: The Apache Tomcat Native library which allows
optimal
performance in production environments was not found
on the
java.library.path:
Leon Rosenberg wrote:
On 1/27/06, Duan, Nick [EMAIL PROTECTED] wrote:
Spawning your own threads in a web app is usually not recommended.
Why?
Well, you have to take care of them manually or some code has to do it.
If forgotten, those threads can stop TC from shutting down
Rob Gregory wrote:
Good comments, but how would you encrypt the config files when Struts needs
these to run out code (hence before I can decrypt). While I personally
prefer Cocoon over struts these are pretty much 'Sister' projects so the
same solution would help me also.
This is a valid
Kristian Rink wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi all;
playing around with tomcat in order to both learn using the package and
create a small web site there, I'm currently left with a problem which,
though probably being small (and not really related to tomcat), keeps
Martin Dubuc wrote:
I am defining a number of JNDI resources in the
server.xml file in the GlobalNamingResources section.
As part of defining JDBC resources in this section,
the username and password attributes are specified.
The password is specified as clear text. I am
wondering if there are
Caldarale, Charles R wrote:
From: Anto Paul [mailto:[EMAIL PROTECTED]
Subject: Re: Web-application and Tomcat icon
On 11/29/05, Aladin Alaily [EMAIL PROTECTED] wrote:
I would like to know how I can replace that icon with my own... or
better yet, no put any icon at all.
The icon
Terry Allen wrote:
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:613)
There can be two
Terry Allen wrote:
Anything in the logs for this new setup?
Nix.
Hi again,
Okay, I've included the last log entries from a few logs as listed
below - the other logs in that directory contain only information
about startup notification etc... apologies if this is not the right
way to
Anthony Carlos wrote:
Just out of curiosity, what is JAVA_HOME?
JAVA_HOME is an environment variable, that should contain the path to
the installed JDK or JRE. Since you're using TC 5.5, you can point
JAVA_HOME to a JRE (5.5 comes with Eclipse Java Compiler). Older
versions had to have a
Terry Allen wrote:
Hi again,
Out of that Catalina.out log I mentioned earlier, the last few log
lines read like so:
INFO: Stopping Coyote HTTP/1.1 on http-8080
Nov 20, 2005 7:24:02 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
Nov 20,
Dhaval Patel wrote:
My question is, is it possible to put only webapps on P_FAT32 while tomcat
install files are in P_NTFS and P_RES and configured tomcat to read P_FAT32
webapps directory as appbase in host node of server.xml? Have anyone done
anything like this before? Only thing I am
Tim Dean wrote:
Hello,
I am trying to configure a welcome file list in my Tomcat-deployed
web app so that a Java Server Faces (JSF) view is used as the welcome
file. My web.xml file contains the following:
welcome-file-list
welcome-filemain.faces/welcome-file
Bill Barker wrote:
Currently mod_jk doesn't support unix sockets (ditto for mod_proxy_ajp :).
To use unix sockets currently, you must use (the currently unsupported)
mod_jk2.
However, there is some intial support for them in the new APR Connector.
It's not complete (and so not usable :),
Oliver Hookins wrote:
I've been trying to find some decent documentation on setting up
Tomcat to communicate with mod_jk2 and Apache over unix sockets. So
far what I've found suggests I only need to alter jk2.properties with
details of the socket, and workers2.properties with the same
Sara Hugh wrote:
Please help me out !!
I try to setup debugging on tomcat 5.5.12 and Eclipse
3.1.
For Eclipse, the setting is same as previous
version, but for Tomcat 5.5.12, the script file for
windows (catalina.bat) does not exist. How do I set
JPDA_TRANSPORT and other values for tomcat
55 matches
Mail list logo