how should/can I set up a test case???
Maarten
-Oorspronkelijk bericht-
Van: Filip Hanik - Dev Lists [mailto:[EMAIL PROTECTED]
Verzonden: vrijdag 10 maart 2006 18:16
Aan: Tomcat Users List
Onderwerp: Re: classloader problem
do you have a good test case for us, cause this shouldn't
line 43 contains
/servlet
It corresponds to the following section:
*servlet*
*servlet-name*default*/servlet-name*
*servlet-class*
org.apache.catalina.servlets.DefaultServlet
*/servlet-class*
*init-param*
*param-name*debug*/param-name*
Maybe u could try the this DOCTYPE tag instead
!DOCTYPE web-app
PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN
http://java.sun.com/dtd/web-app_2_3.dtd;
hope this helps
F.S.
- Original Message -
From: David Delbecq [EMAIL PROTECTED]
To: Tomcat Users List
Nope, downgrading to 2.3 servlet specs does not solve problem.
foo shyn a écrit :
Maybe u could try the this DOCTYPE tag instead
!DOCTYPE web-app
PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN
http://java.sun.com/dtd/web-app_2_3.dtd;
hope this helps
F.S.
- Original
Could any one pls get me the detail in flow of Digest Authentication.
regds
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Just change the 'default' to something else like default.test , and
check whether the error repeats
David Delbecq wrote:
Nope, downgrading to 2.3 servlet specs does not solve problem.
foo shyn a écrit :
Maybe u could try the this DOCTYPE tag instead
!DOCTYPE web-app
PUBLIC -//Sun
The solution I found to this kind of issue* was to setup virtual hosting
in tomcat. Provided that your tomcat your apache install are on the
same machine, this is actually straightforward, just add an extra Host
element to your server.xml representing imlearning.de with its own
webapps dir...
Yes, renaming this does solve the problem, but i can't see in servlet
specs where it's stated 'default' is not a valid logical name for a servlet.
Vinu Varghese a écrit :
Just change the 'default' to something else like default.test , and
check whether the error repeats
David Delbecq wrote:
http://www.google.com/search?q=tomcat+5.5+upgrade
first link looks useful
http://www.brandxdev.net/misc/tomcat_upgrade_50_55.site
hmm
e-Denton Subscriber wrote:
Hi!
I am still using Tomcat 5.028 and am considering moving to the latest
version. Can someone steer me to some good
what is favicon.ico? what its significance?
thanks,
kishore
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi Guys,
Hi everyone. I am new to this mailing list and I have a configuration
problem.
I searched through the web and googled around but I couldn't get a
satisfactory reply. I also went through the mailing list, but I couldn't
come across anything specific to my need.
We are about to
default is a valid servlet name, but it is already defined in
$CATALINA_HOME/conf/web.xml. So we can't use that name in our web.xmls
Just check the introduction section inside that file.
:-)
- Regards
Vinu
David Delbecq wrote:
Yes, renaming this does solve the problem, but i can't see in
what is favicon.ico? what its significance?
thanks,
kishore
-
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
* Pusukuri, Kishore_Kumar wrote (13/03/06 10:41):
what is favicon.ico? what its significance?
This link might help:
http://www.google.co.uk/search?q=favicon.ico
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
Hello.
I'm trying to make Tomcat server response to some kind of request as
fast as possible. As far as I understood I can stop processing of
request using a valve registered in the Engine pipeline.
I wrote the following code:
public class testValve extends org.apache.catalina.valves.ValveBase {
(not really a tomcat question...)
See http://www.chami.com/html-kit/services/favicon/help/
On 3/13/06, Pusukuri, Kishore_Kumar [EMAIL PROTECTED] wrote:
what is favicon.ico? what its significance?
thanks,
kishore
-
-
To
Content in webapp should take precedence on content of
$CATALINA_HOME/conf/web.xml as stated in servlet specs about implicit
mappings. At least that's how i understand the specs. The container is
allowed to add it's own servlet and mapping but, except for implicit
mappings defined in specs, they
actually in our web application we have a search feature , if we are
using that in logs we found that some functions such as user
authentication and getting path informations etc are called twice
..second time if I LOG the above details in path info I am getting
favicon.ico ...
could u tell me,
Perhaps because, in the version without valve, you benchmarking tool use
the expected behaviour of browsers when they have an active cache:
request 'if-modified-since', to which tomcat will respond a 'not modified'.
Rumata a écrit :
Hello.
I'm trying to make Tomcat server response to some kind
It's image shown by browser next to site url and in title bar.
Pusukuri, Kishore_Kumar a écrit :
what is favicon.ico? what its significance?
thanks,
kishore
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands,
Well, I don't think so.
1. The benchmark tool was taken from this site:
http://www.caucho.com/articles/jsp_benchmark.xtp it's written in C and
doesn't seem to understand caching.
2. Nothing changed after I added following lines to my servlet
response.setHeader(Cache-Control,no-cache);
Hi
Just check this :
http://www.dm.fh-muenchen.de/tomcat-docs/architecture/startup/serverStartup.txt,
it says , first it will process the default web.xml (conf/web.xml) then
the applications web.xml (WEB-INF/web.xml)
- Regards
Vinu
David Delbecq wrote:
Content in webapp should take
If you are planning to use apache anyway, then you could use mod_rewrite
for this (see apache docs on mod_rewrite - but basically rewrite
(internally) the a.abc.com to abc.com/a and connect abc.com/a via
mod_jk to tomcat /a and then tomcat doesn't need to know about the
rewrite).
don't
If you read around, you'll find that IE automatically (and
non-standardly) asks for (GETs) favicon.ico in various standard places -
even if you have no links to it from your served html.
Sounds like your servlet mapping is including some of these favicon.ico
requests. So I'd tighten up your
Hi!
We have managed to do that but with a side effect that Tomcat loads each
webapp several times. This is an example config.
Host name=www.aaa.com appBase=webapps unpackWARs=true
autoDeploy=false xmlValidation=false xmlNamespaceAware=false
Context path= docBase=aaa debug=0
Hi,
the reason why I put jars in common/lib is that the war file is very
heavy with all the jars included in it. As solution, I puted jars in
tomcat directories.
By definition, in shared/Lib you can put application jars that will be
available between applications, but I only see jars if I
Iratxe Etxeberria Sainz-Ezquerra wrote:
the reason why I put jars in common/lib is that the war file is very
heavy with all the jars included in it.
So what's wrong with this?
As solution, I puted jars in tomcat directories.
By definition, in shared/Lib you can put application jars that will
Hi!
We have a webapp running on 2003 Server, Tomcat 5.5.9 and JDK 1.5.0_03.
We're now moving to Linux and the app seems to work fine without
load. But after just a couple of minutes running with load the server
stops loading the start page (it loads - but it's blank!). No error
messages
Hi,
and what about to write a servlet filter?
I have my test domain with several virtual hosts IN CNAME to localhost
(or any other IP where is Tomcat listening) in my DNS. I wrote an
simple filter which parses virtual host name (request.getLocalName()
-- always contains full computer name from
Greetings everyone,
I am using Tomcat 5.0.19 on Fedora Linux, Core 2. My catalina.out shows the
ugly exceptions during shutdown.
Some Googling revealed that session serialization can be disabled by added
the following XML snipett in the context.xml:
Manager pathname=/
I was
You should consider implementing the finalize() method in your session bean to
close the connection nicely. In theory a well behaved JDBC driver should clean
up after itself. I don't like relying on theory. If you open the connection in
your session bean, close it there.
Earnie!
-Original
On my site the users edit pages using a multipart form. There are
differences between the way the content is being decoded on the server
depending on the OS. (My guess). The uploaded content is stored in XML
files and must then later be displayed to the user. I have spent the
weekend trying to
When there is no clue on what the content encoding of a form is and no
default value, most framework end-up using the platform default
encoding (for debian system, it seems to be iso-8859-1). The problem is
most browser do not send the content encoding along with the form, so
the solution is
From: Earnie Dyke [mailto:[EMAIL PROTECTED]
Subject: RE: Time out on sessions with AJP13
You should consider implementing the finalize() method in
your session bean to close the connection nicely.
If there's any possible way of avoiding finalize(), don't use it. The
presence of a
Hi All,
I recently upgraded tomcat from 5.5.9 to 5.5.15.
When I try to run the run-tester target in the unit test suite in tomcat
5.5.15, 4 of the test cases in the ErrorPage suite always fails.(The
test cases passes in 5.5.9)
The output comes like this:
ErrorPage:
[tester] OK [GET
Chuck makes a good point about the overhead of the finalize() method. I think
the problem was however not with open result sets and statements but with a
connection itself. Using a finally clause to ensure that result sets and
statements are closed is a must but it the intention is to persist
It's not just IE. Firefox, Opera, Safari, etc. also fetch favicon.ico
- probably every browser that hits your site. If your webapp is set up
as the root webapp then it will receive these requests, and you should
either handle them or ignore them.
--
Len
On 3/13/06, Tim Diggins [EMAIL PROTECTED]
Serlet Jean-Claude wrote:
Third and last send of this message : i didn't get any answer until to
day
http://tomcat.apache.org/faq/tomcatuser.html#why
The application does'nt use connexion pooling : one physical connexion is
used for each user
A connection pool would help you here.
Having just looked into the same thing, I found the following two articles to be
an extremely useful introduction:
http://www.rassoc.com/gregr/weblog/stories/2002/07/09/webServicesSecurityHttpDigestAuthenticationWithoutActiveDirectory.html
http://www.xml.com/lpt/a/2003/12/17/dive.html
And as
Jeyabalan, Prakash wrote:
Could any one pls get me the detail in flow of Digest Authentication.
http://www.ietf.org/rfc/rfc2617.txt?number=2617
Mark
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:
Hello,
Has anyone had the following problem: Tomcat refuses to shutdown and
stops listening on port 8005 for the shutdown connection even though it is
still listening on 8080? With the latest version of tomcat, I get nothing
when I do ps -ef|grep tomcat. Is there any other way to find the
What version of Tomcat are you using? Are you using the native APR
connector? There is a bug in the native shutdown code in 5.5.15, but
it's fixed in 5.5.16.
,
Josh.
-Original Message-
From: Khawaja Shams [mailto:[EMAIL PROTECTED]
Sent: Monday, March 13, 2006 2:27 PM
To: Tomcat
It sounds like you're running into the native connector shutdown issue I
had a while back.
http://marc.theaimsgroup.com/?l=tomcat-userm=113925257718848w=2
This problem is fixed in 5.5.16 which looks like it will be voted stable
very soon. You could run with out the native connector until and
I'm using tomcat 4.1.29, and seeing socket exceptions. I have a struts
action chain where a controller action distributes requests to child
actions. At the action return of the forward, the socket exception occurs.
Any ideas? Thanks.
Bruce D. Pease
Java Developer
CruiseOne/Cruises, Inc.
Hello,
Thank you for responding. I am using 5.5.15. I shutdown using
TOMCAT_HOME/bin/shutdown.sh. Do I need to upgrade to the latest version to
get this to work? Thanks again.
Regards,
Khawaja Shams
On 3/13/06, Fenlason, Josh [EMAIL PROTECTED] wrote:
What version of Tomcat are you using?
Hello,
I thought the topic was relevant, and the people involved in this
discussion would know the answer. I did not know this is considered
hijacking a thread. I appologize for the inconvenience, and I will repost
in a new thread.
Khawaja
On 3/9/06, David Smith [EMAIL PROTECTED] wrote:
Hi,
After 3 years of using JBuilder, I have conclued that
it is unusable. It was almost unusable in version 9,
but became worse with every version.
I'm back in Emacs and started learning Ant. I'm
working with the standard build.xml example and the
command
ant -v jspc -Dtomcat.home=C:/Dola/tomcat
On 13 Mar 2006 at 14:25, Dola Woolfe wrote:
Hi,
After 3 years of using JBuilder, I have conclued that
it is unusable. It was almost unusable in version 9,
but became worse with every version.
Sorry to get offtopic a bit but
I'm curious, what problems did you have with JBuilder that made it
--- Steve Ochani [EMAIL PROTECTED] wrote:
On 13 Mar 2006 at 14:25, Dola Woolfe wrote:
Hi,
After 3 years of using JBuilder, I have conclued
that
it is unusable. It was almost unusable in version
9,
but became worse with every version.
Sorry to get offtopic a bit but
I'm
FWIW, I switched from JBuilder to Eclipse several years ago, and could not
be happier. I recall a few hours of frustration at the start, but I don't
recall exactly what. Eclipse has a decent Emacs keystroke mode which is a
requirement for me...
Tim
-Original Message-
From: Dola Woolfe
My previous java IDE was UltraEdit (a text editor), and batch files for
compilation and deployment. I tried both NetBeans and Eclipse, and
actually liked NetBeans a bit better, but not enough better to overcome
the appeal of a rapidly-evolving open-source solution like Eclipse,
which other
Hi,
Reposting my question in case i missed out the crowded session(sent it out
on friday night and get no response :p)..
Thanx
Hi guys,
Lately i'd been trying to deploy my apps remotely using the Tomcat Manager
and Administrator. I found that if :
1) i upload my war file first, then go to the
Hello
Does anyone one know how I can run normal web sites on Tomcat? By normal I
mean sites that are produced using a tool like Microsoft's front page, or
Dream weaver. The web masters of these sites want to publish their site
changes using FTP. They do not have the ability to create WAR
Hi Andrew
Tomcat is not a 'general purpose' web server - rather, it is a 'Java web
application' server and is specifically designed to support a number of
standards for serving Java web-based applications (eg, the 'servlet
spec'). If you need to run a 'mixed' set of web applications, including
Hi guys,
Thank you all for your answers. I have not tested the settings yet. I just
replied to acknowledge your replies. I will also reply on how the solution
worked for me in my next post.
Thank you all for the prompt reply.
Thank You,
Kumar
Cyberspace Limited
Hong Kong
-Original
the setup can be trivial, if you pair one apache to one tomcat, and use
mod_proxy.
you should be up and running fairly quickly.
Filip
Alan Chaney wrote:
Hi Andrew
Tomcat is not a 'general purpose' web server - rather, it is a 'Java
web application' server and is specifically designed to
Hi, (previous thread got sidetracked)
I'm working with the standard build.xml example and
the
command
ant -v jspc -Dtomcat.home=C:/Dola/tomcat
-Dwebapp.path=C:/Dola/tomcat/webbapps/projecta
causes the following error when executed from the
C:\Dola\MyProject directory:
does the directory C:/Dola/tomcat/webbapps/projecta exist? ie, is the
war already exploded?
also, there is another mechanism to precompile your JSP files, the
solution below, will compile the files just as Tomcac would runtime, and
you will not lose the ability to recompile JSP files post
Please recommend proper values for the following mod_jk/workers.properties
parameters for a 12 node(worker) cluster
currently lbfactor for all workers is set to 1
We are having issues with improper load balancing (Buys/request to workers
not balanced properly) and nodes/workers getting
Hi !
I'd like to now how to upload war file in Tomcat.
I had one war file but i am not sure how to upload it.
Is there any way to upload it over Administartion tool?
-
Yahoo! Mail
Bring photos to life! New PhotoMail makes sharing a breeze.
I am using Tomcat 5.5.9 version
foo shyn [EMAIL PROTECTED] wrote: u can upload it through Tomcat
Managerbtw what version of the Tomcat
u're using??
- Original Message -
From: Nenad Bosanac
To:
Sent: Tuesday, March 14, 2006 2:22 PM
Subject: How to upload war file
Hi !
I'd
Hello,
In our web app I as a developer want to know when the error 500 occurred
(either because of OutOfMemory or whatever). So, I defined a custom
error page in my web.xml and put there email sending logic. It is easy
for me to get the error code, but can I access the actual exception
stack
Hello!
In manager application in the applications list section there is a place,
where detailed statistics is listed:
Processing time: 0 s Max time: 5 ms Request count: 60 Error count: 0 Load time:
1 ms Classloading time: 0 ms
What kind of errors are mentioned in Error count field?
This
63 matches
Mail list logo