Hi Steve,
Am Montag, 23. Mai 2005 00:39 schrieb Steve Kirk:
I started replying to yr post including my full config, had nearly
finished, then saw the problem - I had a leading space in the 'url'
value within the Resource tag of my context.xml file. Grrr! I
[...]
Thanks very much to both
Hi Nuno,
Am Freitag, 20. Mai 2005 16:17 schrieb Nuno Martins:
While deploying a war in tomcat 4.1.31, this message appears in logs
every 15 seconds
*HostConfig[localhost]: Deploying discovered web applications*
How can I disable this warning?
Is it a warning or just an info? I could
Hi Steve,
Am Sonntag, 22. Mai 2005 22:58 schrieb Steve Kirk:
Thanks again Nix, but latest mysql driver is *definitely* in
%catalina_home%\common\lib :
Did you check that the MySQL driver is only there and not additionally
in a second directory, i.e. WEB-INF/lib, which could confuse Tomcat?
Hi Brandon,
Am Freitag, 20. Mai 2005 23:01 schrieb Brandon Dove:
I recently upgraded from 5.5.4 - 5.5.9. Now when starting my
app I get the error:
May 20, 2005 4:28:10 PM org.apache.catalina.core.StandardContext
filterStart
SEVERE: Exception starting filter addressFilter
Hi Woodchuck,
Am Mittwoch, 18. Mai 2005 21:46 schrieb Woodchuck:
another (simple) way to think about the difference is that Apache
serves static web pages, whereas Tomcat *can* do some server-side
processing and serve dynamic web pages.
all else being equal (and with no mods installed on
Hi Angelov,
Am Freitag, 20. Mai 2005 15:53 schrieb Angelov, Rossen:
Hi,
Does anybody know why Tomcat always redirects to absolute links?
I looked at the implementation and the sendRedirect calls the
toAbsolute method which always constructs an absolute URL.
Is there any way to make Tomcat
Hi,
Am Freitag, 20. Mai 2005 17:22 schrieb Nikola Milutinovic:
Steve Kirk wrote:
This most commonly means that the definition of the DataSource
resource lacks driver definition. Could it be that you've missed the
fact that DataSource JNDI resource setup definition has changed in TC
5.5? It
Hi Vasil,
Vasil Stefanov schrieb:
Another thing that wander me is that I can run Tomcat 5.5.x on Fedore Core
with JRE only installed but when I run Tomcat on Windows with JRE
installed I receive a message that a JDK is required.
Which Tomcat version do you run on Windows? To my knowledge,
Hi,
Am Montag, 16. Mai 2005 16:33 schrieb Woodchuck:
i've read the class loader how-to and also searched the archives but
haven't found any answers for my current problem -- which is that my
application-specific jars (under WEB-INF/lib) don't seem to get
loaded at all.
for instance, i have
Am Montag, 16. Mai 2005 18:01 schrieb Dakota Jack:
Getting rid of the thirty or so deadend emails from this would be
nice?
I set up a pop filter for these mails. Works fine. :-)
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
Hi Chris,
Am Dienstag, 17. Mai 2005 17:55 schrieb Chris:
I'm upgrading tomcat from 5.0.28 to 5.5.9 and I'm getting a class not
found error for org.apache.catalina.logger.FileLogger In 5.0.28,
this class was in the catalina jar, but it's not in 5.5.9. Is there
something else I need to
Hi Mandar,
Am Dienstag, 17. Mai 2005 17:08 schrieb Mandar Vaidya:
Hi,
Does anyone know how to stop these emails ? I'm getting too many
emails like this
Just configure your e-mail programme properly. :-) Since I first noticed
that there is a continous flood of these mails, I have quickly
Hi Gabriel,
Am Dienstag, 17. Mai 2005 20:28 schrieb Gabriel Belingueres:
Hi,
I need to deny the access to my web app's directory listing in
Tomcat 4.1.x.
How do I do that?
TIA,
Gabriel
I don't have running Tomcat 4.1 here to have a look at the web.xml but
in Tomcat 5+, you can add the
Hi Vamsee,
Am Montag, 16. Mai 2005 09:00 schrieb Vamsee Kanakala:
I have setup the mod_jk on Apache2 and it is forwarding the
requests to tomcat 5.5.9 correctly. However, if I click any of the
links in my tomcat webapp, the port 8080 is showing up. Is there any
way I can avoid
Hi Tomislav,
Am Sonntag, 15. Mai 2005 16:10 schrieb t.n.a.:
Lutz Zetzsche wrote:
As regards performance, running Apache in front of Tomcat is not
preferable. A standalone Tomcat is faster than a Tomcat behind an
Apache.
I'm not speaking from my own experiance, but I've done some reading
Hi Philip,
Am Samstag, 14. Mai 2005 14:38 schrieb Philip Cote:
I'm having a hard time getting the admin tool up and running on
Tomcat 5.5.7 on Fedora Core Linux. When I try to link to it from the
localhost root page, I get a messge telling me I need to install the
admin package. Very well.
Hi Suri,
Am Samstag, 14. Mai 2005 17:05 schrieb suri.jagadish:
How do I configure the tomcat for the default port 80 for answering
the http request for the ip address in the net
It is not recommended to run Tomcat as root. If you would configure to
listen to port 80 instead of port 8080, you
Am Samstag, 14. Mai 2005 18:47 schrieb t.n.a.:
Basically, I haven't heard once someone suggest you run it directly
on
:80 for a number of reasons (run as root, performance, availability
: of modules etc.).
As regards performance, running Apache in front of Tomcat is not
preferable. A
Hi Stanislav,
Stanislav Bauer schrieb:
I'm trying to connect Apache with TC to serve www.domain.com for
instance. I have a
VirtualHost
ServerName www.domain.com
DocumentRoot /.../webapps/domain
JkMount /domain worker1
JkMount /domain/* worker1
JkAutoAlias
Hi Stanislav,
Stanislav Bauer schrieb:
In apaches httpd.conf I also added index.jsp to the DirectoryIndex.
oh, bad idea!
As Apache shouldn't serve jsp pages itself, you shouldn't instruct Apache
to look for an index.jsp in case of a request like
http://www.domain.com/dir/.
Remove index.jsp
Hi John,
Boocock, John (CSS) schrieb:
If I go to www.domain.com/context/index.jsp I get a page as expected
If I go to www.domain.com//context/index.jsp I get the source code, also
this isn't just on one context or the index.jsp file, we run quite a few
contexts and it consistently displays
Hi Stanislav,
Stanislav Bauer schrieb:
Hmm, when I remove index.jsp then I get just a directory listing.
Concerning the mining, how should the structure be then? Where should
DocumentRoot normaly point to?
I thought it works that way:
1) Take the pages from DocumentRoot
2) If it is *.jsp
Hi Stanislav,
Stanislav Bauer schrieb:
I have now a config that seams to work but:
1) I have a second domain pointing to the same IP, say www.domain2.com
2) I put JkMount /domain/* worker1 into IfModule mod_jk.c, where I
have also JkWorkersFile aso
3) Now if I write www.domain2.com/domain I
Hi Stanislav,
Stanislav Bauer schrieb:
So I'm working now with just one domain :-), say www.domain.com. But
instead to go directly to the jsp-webapp I have to write
www.domain.com/contextname/ with virtualhost like this:
VirtualHost
ServerName www.domain.com
JkMount /contextname/*
Hi Bagus,
Am Donnerstag, 12. Mai 2005 00:38 schrieb Bagus:
I've now set up Tomcat 5.5.4 and have installed
mysql-standard-4.1.9-unknown-freebsd4.7-i386 on my Freebsd 5.3 box
intel box.
I've loaded some databases and tables into the database.
How do I get them to work together with jsp?
Hi Bogus,
Am Donnerstag, 12. Mai 2005 00:52 schrieb Bagus:
Here's a more general question about Tomcat.
I'm used to using apache to set up virtual hosts, but when Tomcat
installed, http://localhost/ now goes to my tomcat installation. So
how does one set up multiple virtual hosts with
Hi Ajay,
Am Donnerstag, 12. Mai 2005 10:14 schrieb Ajay Brar:
i installed tomcat 5.5 on my winxp. i start the service but when i
try and access it at http://localhost:8080 i get a 'Cannot find
Server' error page on IE.
i have tried disabling my firewall but still cant access the tomcat
Hi Sebastian,
Am Donnerstag, 12. Mai 2005 16:57 schrieb Millies, Sebastian:
Can a client recapture his Tomcat session after he
has accidentally closed the browser, provided that
the session object still exists on the server?
Would this be a browser-specific thing? After all,
I guess I'd
Hi Lapo,
Am Donnerstag, 12. Mai 2005 17:10 schrieb Lapo TIN:
I would like to limit tomcat features as much as possible for
avoiding undesiderables external accesses to the web server. I want
that only 2 servlets have to run on HTTPS, port 8443. And these two
servlets are simply replying to a
Hi Tim,
Am Donnerstag, 12. Mai 2005 17:20 schrieb Tim Diggins:
Using IP sounds a bit scary as a lookup - think of all the users with
equivalent IP addresses (because of NATing routers/firewalls, etc.).
Plus it would be a strikes me it would be a nightmare to test...
But, if instead you
Hi Vincent,
Am Freitag, 13. Mai 2005 00:35 schrieb Vincent Yau:
Today, I got hold of 2 boxes that I need to setup tomcat. Both are
Linux. One with Kernel 2.4, the other is 2.6.10. I have a 3rd box
with Tomcat up and running that I setup a few months ago (version
5.0.28).
So I downloaded
Hi Peter,
Am Freitag, 13. Mai 2005 01:02 schrieb PAlvin:
Thanks, but it still doesn't work! I removed the RewriteRule from
httpd.conf and added the welcome-file-list section to the web.xml
file. Now, when I go to my vanilla domain (www.smartmicro.com) I
get this message:
Forbidden
You
Hi Bagus,
Am Freitag, 13. Mai 2005 04:04 schrieb Bagus:
Wow, great.
That worked like a charm. After following your simple instructions,
your script listed my database tables. Amazing!
Many thanks for the compliment. :-) I have worked this out for me from
the various how-tos. The problem is
Hi Jens,
Am Mittwoch, 11. Mai 2005 08:17 schrieb Altrock, Jens:
Ok tried it again.. first some more information:
I am using Tomcat 5.0.28 on Redhat Fedora Core 3, installed in
/usr/local/tomcat
I created a XML file called application.xml in
/usr/local/tomcat/conf/Catalina/localhost
where
Hi Mandar,
Am Dienstag, 10. Mai 2005 20:13 schrieb Mandar Vaidya:
I was trying for the second option,
Here is how my server.xml file
Engine defaultHost=techserv name=Catalina
Host appBase=webapps name=techserv
Logger
Hi Jens,
Am Mittwoch, 11. Mai 2005 09:01 schrieb Altrock, Jens:
-Ursprüngliche Nachricht-
Von: Lutz Zetzsche [mailto:[EMAIL PROTECTED]
Gesendet: Mittwoch, 11. Mai 2005 08:50
An: Tomcat Users List
Betreff: Re: Restrict access to webapps for IPs
Hi Jens,
Am Mittwoch, 11
Hi Lars,
Am Dienstag, 10. Mai 2005 18:00 schrieb Lars Ohlén:
Is there any easy way to restrict the access to a specifc webapp by
require login?
Yes. :-) It is a little bit time-consuming to tell it in detail. So I
just show you how it is configured for the Manager application by
default:
Hi Janet,
Am Mittwoch, 11. Mai 2005 10:48 schrieb Janet Fraser:
I'm running Jakarta Apache Tomcat 5.0.19 (successfully) on a Windows
2003 Server. I've been trying to figure out how to add PHP to the
mix, but everything I've read says that I need to add a LoadModule
directive to my httpd.conf
Am Mittwoch, 11. Mai 2005 18:26 schrieb Mufaddal Khumri:
Thank you for the reply. I am trying to set in web.xml using:
env-entry
env-entry-nameMY_ENV_VAR/env-entry-name
env-entry-valueC:/config/one.xml/env-entry-value
env-entry-typejava.lang.String/env-entry-type
/env-entry
Hi Jens,
Altrock, Jens schrieb:
That's what I already read, but there's never said in which config files
to put that in, nor are there any examples... or didn't I see them too?
What you are looking for is the RemoteAddrValve valve:
Hi Jens,
Altrock, Jens schrieb:
Ok, got that. But do I need to install the regular expressions library?
To my practical knowledge, the RemoteAddrValve will work out of the box.
You don't have to install additional libraries to get it work.
And how to say that I want a whole subnet to be
Hi Jens,
Altrock, Jens schrieb:
Hm... won't work :(
I added to noe of the apps in webapps/name_of_app/WEB-INF/web.xml the
following:
Valve className=org.apache.catalina.valves.RemoteAddrValve
allow=192.100.46.*/
right after the web-app tag in the xml file.
But people can access that
Hi,
Raghupathy,Gurumoorthy schrieb:
Nopt in web.xml but in server.xml in your context/context
As regards the server.xml, this depends on the Tomcat version, you are
using. The documentation emphasizes:
Please note that for tomcat 5, unlike tomcat 4.x, it is NOT recommended
to place Context
Hi Mandar,
Mandar Vaidya schrieb:
I'm trying to change hostname on the tomcat server from localhost to
my
server name. After I change it in server.xml, I'm able to go to
http://servername:8080 url, but I'm not able to go to
http://servername:8080/admin . It gives me error.
Hi Omar,
Am Dienstag, 10. Mai 2005 18:33 schrieb Marquez, Omar:
Tomcat 5.5.9 running on Linux Fedora core 2
Tomcat upgraded from version 5.0.27 to version 5.5.9 + Admin app
Version 5.5.9 seems to run faster, however we cannot redeploy
applications, when a war file on the webapps folder is
Hi Mufaddal,
Am Dienstag, 10. Mai 2005 21:33 schrieb Mufaddal Khumri:
I have Tomcat 5.5 running as a service on Windows XP. Where in Tomcat
can I set an environment variable?
I can set an environment variable by going to Control Panel - System
- Advanced - Environment variables, but I want
Hi Dhiren,
Am Montag, 9. Mai 2005 07:36 schrieb Dhiren Bhatia:
Hi all,
I'm getting a the following ClassCastException running Tomcat 5.5.9
with MySQL
java.lang.ClassCastException:
org.apache.tomcat.dbcp.dbcp.BasicDataSource
Here's the relevant code:
*Java code:*
Hi Harry,
Am Montag, 9. Mai 2005 20:53 schrieb Harry Mantheakis:
Browsers should (and mostly do, I think) respect the encoding you
specify when setting the response content-type (and the meta-tag
content-type) so you can simply assume (in your filter) that your
form-data will be in UTF-8.
Hi Michol,
Am Donnerstag, 5. Mai 2005 22:49 schrieb Murray, Michol:
After I finish committing my changes for creating a user using the
Tomcat Web server administration tool, if I have users logged in to
my site I notice that all the users are logged out. What would cause
this?
Do you use the
Hi Phil,
Am Freitag, 6. Mai 2005 21:51 schrieb Phil Manheim:
I recently installed Crystal Reports XI on one of my servers. This
included an installation of Tomcat. I am trying to log in to both
the administration and manager consoles, but cannot get it to work.
I have added the following
Hi Phil
Am Freitag, 6. Mai 2005 22:54 schrieb Phil Manheim:
I did add those two lines as well. Is that all that is necessary to
add new roles? Do I need to define those roles or their rights
somewhere?
No, if you have defined in the server.xml that the tomcat-users.xml will
be used for
Hi Mário,
Am Donnerstag, 5. Mai 2005 20:30 schrieb Mário Gamito:
Hi,
Sorry for this newbie question :(
I've just installed Tomcat 5.5 for Linux and so far so good,
except... that i've installed also Tomcat Administration module (not
the Manager one) and it asks me for a login and a
Hi Stefan,
Am Donnerstag, 28. April 2005 09:07 schrieb Stefan Parnet:
The problem is:
1. Tomcat 5.5 (without compatibility packages) runs only with Java
1.5 (JRE!)
2. The built in Java compiler to compile JSPs (and only JSPs) is the
Eclipse JDT Compiler !!! JAVA 1.4 !!!
== So Servlets
Hi Dave,
Am Donnerstag, 28. April 2005 09:56 schrieb Pawson, David:
tc 5028 on Redhat.
catalina.out shows
28-Apr-2005 07:55:35 org.apache.coyote.http11.Http11Protocol init
SEVERE: Error initializing endpoint
java.net.BindException: Address already in use:80
Cleared by rebooting the
Hi Stefan,
Am Mittwoch, 27. April 2005 15:20 schrieb Stefan Parnet:
Hello,
I installed Tomcat 5.5.9 and want to use Java 1.5 in my JSPs. Since
Tomcat 5.5 uses the Eclipse JDT Compiler (Java 1.4), it cannot
compile my JSPs.
So I want the tomcat to compile the JSP's with the Sun JDK 1.5
Hi Stefan,
Am Mittwoch, 27. April 2005 16:14 schrieb Stefan Parnet:
I have the environment variables JAVA_HOME and JRE_HOME already set
to the JDK, but Tomcat still compiles JSPs with its built in Eclipse
JDT Java compiler.
This fact is mentioned in the Release Notes. There is also mentioned
56 matches
Mail list logo