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
--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 mod
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 starte
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 thi
Well, it should be relatively simple. Add the following to your web.xml:
jsp
*.html
Nix.
From: Dola Woolfe
To: Tom Cat
Sent: Thursday, May 14, 2009 8:43:47 PM
Subject: .html pages as .jsp pages
Hi,
I need to give my jsp files the
> 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 th
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 use
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
li
> 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 = nameSpac
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
Sent: Tuesday, January 8, 2008 7:51:45 AM
Subject: How Do I do (Can I do) Apache like redirects in Tomcat
Hi,
I w
> 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 th
> 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
> > > " width=" > > 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' form? What's wrong with `height="${DATA_PHOTO_HEIGHT}"`?
The an
Thank you all who responded.
> I think the following should do you
>
> " width=" 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, Johnny Kewl <[EMAIL PROTECTED]> wrote:
> >
> > Hi Nikola, never done it, bu
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 metho
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 "Thre
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 PROTEC
> 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)
> >use
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. and
> 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).
> I downloaded Tomcat 6 (the alpha I presume) the zipped version and I I
> noticed there was no directory for shared/lib, common/ and no
> conf/Catalina. I Googled and read the doc and got no clue if there is
> some changes in the lib structure which you should be aware of.
This was discussed he
> 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
> Before asking about an optimized multithreaded e-mail application on a
> mailinglist for
> a webserver you should make it clear what you are doing. Maybe the
> non-optimized
> singlethreaded e-mail loop is fast enough for you. It wil save you a lot of
> time debugging.
How about using Mail AP
> > 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 wil
> 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 element in yo
> 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
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
quest
> 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 i
Jul 18, 2006 10:19:11 AM org.apache.jk.common.ChannelSocketacceptConnections
WARNING: Exception executing accept
java.net.SocketException: Invalid argument
OK, so is there anything in jk.config, since this is caused by JK?
Nix.
-
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 requ
--- Tim Funk <[EMAIL PROTECTED]> wrote:
> Personally - I like having apache in front of tomcat because I find it easier
>
> to do CGI, static content directory aliasing, and the volume of available
> modules to be very convenient. It also allows my site to be up with a higher
> uptime since I c
--- 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 j
--- 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? Coul
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 some
--- 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
--- 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 t
> *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 a
--- "Caldarale, Charles R" <[EMAIL PROTECTED]> wrote:
> > From: Alex Jalali [mailto:[EMAIL PROTECTED]
> > Subject: Re: TomCat + mod_jk performance
> >
> > If you have lots of static html pages then apache is much better at
> > handling them.
>
> Have you actually measured this on the current ve
--- 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
--- Reinhard Moosauer <[EMAIL PROTECTED]> wrote:
> Hi List,
>
> it seemed clear to me, that this construct:
>
>
> ... (some inner logic)
>
>
> should be equivalent to this one:
No. It is roughly equvalent to (see my corrections):
> <%
> for (Iterator it=t.getRecords(); it.hasN
> 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'
--- Tony Smith <[EMAIL PROTECTED]> wrote:
> in my jsp, there is something like:
>
> value="${plateDetailEditForm.plateDetail.name}" />
>
>
> How can I get this element in javascript? the
> following code does not work:
>
> var name =
> document.getElementByName("plateDetail.name").value;
>
--- Manuel Nicolas Ortu�o <[EMAIL PROTECTED]>
wrote:
>
> LoadModule jk_module modules/mod_jk.so
>
Dynamic loading.
> I don't have LoadModule mod_access
> #httpd -l
> core.c
> mod_access.c
This means mod_access is statically built in and there
is no way of turning it off (not that you
> 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 d
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 qu
Samara, Fadi N Mr ACSIM/ASPEX wrote:
Classification: UNCLASSIFIED
Caveats: NONE
-Original Message-
From: Tom Burke [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 17, 2006 10:19 AM
To: Tomcat Users List
Subject: Encrypting/Protecting JSP/Struts source code
My company is has develop
Florian Lindner wrote:
Hello,
I'm searching for the best concept of how to use and save hierarchical data.
I have a structure like PC file system with meta data. There a folder objects
and files objects of different types. Every object have data like
permissions, date and author. And they have
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
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 w
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
buggi
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 J
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 p
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:
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, 2005
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 conf
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:
main.faces
As well as the following JSF servlet configurations:
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 :), bu
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 details.
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 5.5.1
Developer Developer wrote:
Hello All,
my web.xml generated from RAD does not work in the Web Sphere Application
Server, While the web.xml generated from ecplise 3.1 works fine.
I guess the problem lies somewhere in the header information.
These 3 lines are from ECplise that work Correctly.
http
ALEX HYDE wrote:
Okay. Thanks for that guys. I guess I was being a bit
optimistic. So images basically can't be written
straight to the response? Thanks alot for that both of
you.
No, but HTTP/1.1 allows for permanent connections, which can save the
bandwidth (for not negotiating connection
Robert Sösemann wrote:
Hello,
we have a really tricky problem while running our web-application:
The JVM crashes from time to time for no apparent reason.
There seems to be no direct relation to any user-action,
method-call or whatever.
We've checked the JVM crash dumps, but were not able
Peter Johnson wrote:
Nix, I am fully aware of all of this (regarding security permissions
etc) ... I am not trying to solve a problem but rather open a
discussion with the community on how people prefer to structure their
systems. Some run only Tomcat, some run multiple servers with Apache
an
Peter Johnson wrote:
It is possible for Apache to be compromised without Tomcat being
compromised e.g. an overflow in Apache. So if Apache (or other service
on the front box) is compromised and the systems are tiered then the
intruder can only impersonate local actions. If all tiers reside on
Peter Johnson wrote:
Hi All,
I was discussing with someone two common system architectures for a
web application environment and thought I'd extend it to the Tomcat
community to see their views / thoughts.
If we consider that there are 5 servers available, what is the best
way to utilise t
69 matches
Mail list logo