-Original Message-
From: Shankar Unni
Try an entity instead of xinclude? Not many parsers are good for
xinclude as yet (a mainly uninformed statement). Entity
resolution is
easier if the parser is setup correctly.
Oh, that's what we are doing now,
Actually I have the same problem. I can deploy expanded web apps no
probs, but I've never been able to deploy a WAR... browser always wants
to download it.
Is there a TC setting that tells it to deploy WARs?
Shapira, Yoav [EMAIL PROTECTED] 5/10/2004 2:32:20 am
Hi,
Oh, it's very definitely
There's a filter that does URL rewriting already, urlrewrite ,
mod_rewrite would be okay but who wants to run mod_jk - apache as
his/her development environments.
http://tuckey.org/urlrewrite/
The only problem then is generating the links. I think the original
question was posted on the
I solved my problem:
The cause is quite simple:
I deleted the leading whitespace from my web.xml file.
The lesson I learned: VALIDATE your xml files before using them.
Here is an online checker in case you need one:
http://www.stg.brown.edu/service/xmlvalid/
May the rest of the community never
He said he had a hardware load balancer so the tomcat one is irrelevant.
The main doc on the jakarta site is
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/cluster-howto.html, which explains
what the clustering does but not much details about getting it working.
To get the basic cluster
Here are 2 interesting articles:
http://www.onjava.com/pub/a/onjava/2004/03/31/clustering.html
http://www.onjava.com/pub/a/onjava/2004/04/14/clustering.html?page=1
Since you do have a hardware load balancer, the article may not make
much sense. However, if your concern is mainly session
Hi,
Is there any free API around that allows uploading of files to the
server (tomcat or weblogic) via a servlet from a main application
program? (instead of from a web browser)
Anything from the jakarta fileupload project that can be reused here?
Regards,
Wee Jim, Sng
Capco
t: +65 6395 6973
Hi all,
I've been using the manager application to deploy/undeploy my webapp.
I've put the context descriptor file (context.xml) in my META-INF
dir and everything *seems* to run just fine.
However, in the console window I'm getting a lot on noise - starting
with this... (note, my context is
-Original Message-
From: Sng Wee Jim
Is there any free API around that allows uploading of files
to the server (tomcat or weblogic) via a servlet from a
main application program? (instead of from a web browser)
Anything from the jakarta
Hello:
Can any one please explain the behaviour of session time out with Tomcat ? For
example, if I specify a session time out of 30 minutes in web.xml and and then set
session.setMaxInactiveInterval to 45 minutes in a page, then will it mean that only
the page where I set it as 45
Hi,
I have a doubt regarding configuring the HTTP port. I know that this can be
done in the conf/server.xml. But my doubt is whether this can be overridden by giving
it as a startup parameter of tomcat. Kindly advise.
Thanks and Regards,
Satya
This can be done in tomcat5. For example:
Connector port=${my_port} address=${my_address}
maxThreads=150 minSpareThreads=25 maxSpareThreads=75
enableLookups=false redirectPort=8443 acceptCount=100
debug=0
disableUploadTimeout=true
I didn't suggest a ServerAlias as in the bug report. The method below works
very well for me and it is much easier to manage with all my vhost config in
httd.conf and not spread out among different files.
Charlie
-Original Message-
From: Joseph Shraibman [mailto:[EMAIL PROTECTED]
On Tue, Oct 05, 2004 at 07:55:02AM +0100, Pawson, David wrote:
::Oh, that's what we are doing now, but entity resolution
::doesn't have a concept of relative paths.
: Does your parser support xml:base?
: That makes relative paths work.
True; but what would the base path be? You've
On Tue, Oct 05, 2004 at 10:48:11AM +0200, Christian Ruediger wrote:
: I solved my problem:
: The cause is quite simple:
: I deleted the leading whitespace from my web.xml file.
Thanks for the solution; for the sake of the archives, could you
please clarify?
What leading whitespace, and in what
session.setMaxInactiveInterval is applied to the current session.
If you have different timeouts in pages, the last visited page
with an explicit call to session.setMaxInactiveInterval wins.
-Original Message-
From: Kannan V [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 05, 2004
Dear All,
I'm facing 2 different problems when I'm trying to configure clustering of 2 tomcat
servers on 2 different LINUX machines which have identical hardware configuration.
First case:
On both the machines, I've uncommented the cluster block in the server.xml. On one
machine, I could
Thank you all who sent help.
We have a large number of jsp pages.
Our problem was fixed by setting the MaxPermSize ( -XX:MaxPermSize=256m
).
We plan to retool our pages and make them html served by apache, with an
iframe to a single jsp page that will handle the dynamic content.
Take Care.
This sounds like a networking issue. Is multicasting allowed on your network?
-Original Message-
From: Vijaya [mailto:[EMAIL PROTECTED]
Sent: 05 October 2004 13:24
To: [EMAIL PROTECTED]
Subject: Tomcat 5.0.27 Clustering and session replication
Dear All,
I'm facing 2 different problems
Hi,
It sure looks like ApplicationHttpRequest.getRequest() returned itself
a
copy of itself...
If you really want to track this down, you can prove (or disprove) the
above by building your own tomcat that does a toString() call on the
request of AppliationHttpRequest.getRequest. You'll see
looks like you need to enable multicast on your second machine
Filip
- Original Message -
From: Vijaya [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, October 05, 2004 7:24 AM
Subject: Tomcat 5.0.27 Clustering and session replication
Dear All,
I'm facing 2 different problems
Hi,
I'm using Tomcat 5.0.28 on Win98. I've created a very
simple web app consists of just two java files:
Does your webapp have a web.xml? Where are HelloServlet and Biz
located?
writer.close();
This is an aside, and irrelevant to this thread, but you shouldn't close
the
Shall we need to manually enable multicasting? I doubt becos I've not done
this explicitly on the first machine.
- Original Message -
From: Filip Hanik - Dev [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Tuesday, October 05, 2004 6:35 PM
Subject: Re: Tomcat 5.0.27
If these questions are asked on the main list,
others can learn too?
-Original Message-
From: Caroline Jen
I am trying to upload files from clients machine.
I understand that we must specify METHOD=post and
ENCTYPE=multipart/form-data in the FORM tag.
Hello,
I have a problem with installing an application at root level in Tomcat. I have an
application with a specified context:
Context docBase=myApp path= workDir=work/Catalina/localhost/myApp
I thought that leaving the path empty and removing the ROOT application was enough to
install the
Hi,
Context docBase=myApp path=
workDir=work/Catalina/localhost/myApp
This is fine. You probably don't need to specify workDir explicitly
since you're just using the default anyways.
I thought that leaving the path empty and removing the ROOT application
was
enough to install the application
Thanks for your fast reply but I still can't get it to work. When looking in the
manager I can see that an application has been deployed to Context (/) and another to
the Context (/myApp). When looking at the / no document base or path is visible.
When trying to look at the /myApp I get an
Remember, your app is /, but the directory is actuall _. If you use tomcat
manager to deploy your war, the uploaded war is at manager's work dir under
name of _.war and the compiled classes etc are located at work dir's _
-Original Message-
From: kax [mailto:[EMAIL PROTECTED]
Sent:
Hi,
Can you post your entire server.xml, and the myApp/WEB-INF/web.xml file? You are
deploying in the simplest way, by restarting the server, right? Not using Ant or the
Manager webapp?
Yoav Shapira
Millennium Research Informatics
-Original Message-
From: kax [mailto:[EMAIL
Do you just not use ActionForm, David?
Michael McGrady
Pawson, David wrote:
If these questions are asked on the main list,
others can learn too?
-Original Message-
From: Caroline Jen
I am trying to upload files from clients machine.
I understand that we must specify
Hi,
Here are the files. No I'm not using the manager. I just drop the war in the webapp
folder using autoDeploy=true.
Thanks
/Kax
From: Shapira, Yoav [EMAIL PROTECTED]
Date: 2004/10/05 ti PM 02:06:19 GMT
To: Tomcat Users List [EMAIL PROTECTED]
Ämne: RE: RE: Root application in Tomcat
In your configuration, apache has no way of knowing that /ServletTest needs
to be forwarded to Tomcat. Try adding something like:
[uri:/ServletTest]
group=lb
And see if that works. If it does, you can then figure out a more efficient
way for apache to redirect servlets. So you don't have to
Hi,
With autoDeploy set to true, you'll get duplicate deployment, as you've noted. Turn
it off so that only the explicitly declared Context (the one with path=) is deployed.
Yoav Shapira
Millennium Research Informatics
-Original Message-
From: kax [mailto:[EMAIL PROTECTED]
Sent:
Hi,
I would also suggest adding a factory element to each ResourceParams in your
d-test.xml file, and setting auth=Container for them to be complete.
In addition, don't use Parameter unless you have to: that stuff can and should be
included as context parameters in your web.xml. That approach
Hi,
I'm using mod_jk2 to link apache 2.0.48 to Tomcat 4.1.24. Recently I started
getting the following messages after starting Tomcat but I'm not sure what I
changed to cause this. What causes them?
INFO: server has been restarted or reset this connection
Oct 5, 2004 3:10:49 PM
On Tue, 5 Oct 2004 07:04:11 -0500, QM [EMAIL PROTECTED] wrote:
On Tue, Oct 05, 2004 at 10:48:11AM +0200, Christian Ruediger wrote:
: I solved my problem:
: The cause is quite simple:
: I deleted the leading whitespace from my web.xml file.
Thanks for the solution; for the sake of the
Hi
I have developed a J2EE Application (1.3 specs), using Struts 1.1 Framework.
It also uses Tiles, as integrated into the Struts Framework. The application
is built on Tomcat 4.1.27, and works well on the development env. However,
the production env /host uses Tomcat 4.0.5, and it's where it
Hi,
Tomcat 4.0.5 is not a good choice for a production system, because it's
not a stable release. 4.0.6 was a stable release.
Beyond that, I suggest you check out the status pages on the Tomcat
site, which urge you to update to a more recent and supported branch,
such as Tomcat 5.0.
Yoav
Dangerous Attachment has been Removed. The file price.cpl has been removed because
of a virus. It was infected with the W32/Bagle.AZ-net virus. File quarantined as:
.
http://www.fortinet.com/VirusEncyclopedia/search/encyclopediaSearch.do?method=quickSearchDirectlyvirusName=W32%2FBagle.AZ-net
Pawson, David wrote:
Does your parser support xml:base?
My parser? We're talking about the xerces parser embedded in Tomcat,
reading the configuration files for Tomcat and its webapps (not a parser
used by an application hosted by Tomcat).
If there's any way to control the instantiation or
Thanks to all who sent a reply to my inquiry.
I have seen and read (and am re-reading) the Tomcat Clustering HOW-TO, but
that info seems very limited. I'm looking for real-life information from
people who have actually set this up in a Windows 2000 environment,
specifically (forgot to mention
Good Afternoon,
I am having problem in automating Tomcat (4.1.30) startup and shutdown on
HP-UX B.11.11 platform. I have created a script named tomcat in
/sbin/init.d directory. I can start up and shut down Tomcat by running
this script manually with the super user (root) account. But, it
Thank you very much. Your instruction solved my problem.
Thank you again.
-Original Message-
From: Lee, Paul NYC [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 05, 2004 7:22 AM
To: 'Tomcat Users List'
Subject: RE: How to make Apache direct Servlet to Tomcat
In your configuration,
Thanks for the response QM. I've attached the
server.xml file, but I can tell you that I haven't
changed it at all. It is the default file from Tomcat
5.0.28. I deploy my app using a context configuration
file located in:
$CATALINA_HOME/conf/[enginename]/[hostname]/
I did notice that
Hi everyone.
I've just made my application work with an SQL Server Datasource, wich is written
below. It's working fine, but there's one problem (or not), so I want to ask you folks.
As you can see I put at the parameter maxConnections a value of 3.
Then I made a test, getting a Connection from
That´s because DBCP when reach its limit it create a new connection
to suplay the demand, after all connection without use are released your
current connections come back to 3 connection in pool as you setted to 3 max
connection alive in the pool.
Regards,
Edson
Thanks, you 've been very clear.
- Original Message -
From: Edson Alves Pereira [EMAIL PROTECTED]
To: 'Tomcat Users List' [EMAIL PROTECTED]
Sent: Tuesday, October 05, 2004 4:25 PM
Subject: RES: DBCP Parameters
That´s because DBCP when reach its limit it create a new connection
to
Does Tomcat 5.5.2 and the Ant Manager DeployTask have a problem deploying
a WAR file? Manager WAR upload works, as does dropping a WAR in the webapps
folder directly, but deploy fails with the Ant Manager DeployTask. After
the Ant Manager deployment attempt, neither the WAR nor the application
Hi,
If you're willing to try out 5.5.3 tomorrow morning, that'd be great ;)
Yoav Shapira
Millennium Research Informatics
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 05, 2004 3:37 PM
To: [EMAIL PROTECTED]
Subject: Tomcat 5.5.2, Windows XP,
I have a taglib and the resultant relevant code in _blah_blah_jsp.java
is given below. For some reason I frequently get an
ClassNotFoundException on com.crackwillow.tag.ImgTag from this code.
After the code, I give the error message. Any idea why this is happening?
private boolean
Yoav:
My pleasure!
Derek
--- Tomcat Users List [EMAIL PROTECTED]
wrote:
Hi,
If you're willing to try out 5.5.3 tomorrow morning, that'd
be great ;)
Yoav Shapira
Millennium Research Informatics
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL
Hi,
Does your CNFE (by the way, is it actually a CNFE or a
NoClassDefFoundError -- I think it's the latter, looking at the stack
trace, and the distinction is significant) occur when you've reloaded
your app? In other words, if instead of reloading you restart Tomcat
each time to deploy a new
I've set up both windows and unix/linux clusters. Using multicast, it only send out
the ping every few minutes so I can't imagine either a CPU or a network problem with
this. The session replication is entirely down to how often the sessions are updated
and how big they are.
For me, getting
Sorry, you are right. NCDFE rather than CNFE. I should be more
careful. Usually I am. If I refresh the page, the class is found. I
am going to try the reloading. I restarted Tomcat and got the same
error. I am using a frameset, by the way. Sometimes one frame of the
frameset fails due
Shapira, Yoav wrote:
Hi,
Does your CNFE (by the way, is it actually a CNFE or a
NoClassDefFoundError -- I think it's the latter, looking at the stack
trace, and the distinction is significant) occur when you've reloaded
your app? In other words, if instead of reloading you restart Tomcat
each
Thanks for the reply - this is the type of user experience input I'm looking
for!
I'm in a all or nothing situation where I need to make this work as soon as
possible without too much time for meddling - if it doesn't work
straightaway, I'll have to roll back to the current configuration of
As for how often the sessions are updated, I
don't know. I'd like it to be often enough that if a user was shifted
he asked how often are your sessions updated? not the cluster :)
The cluster will replicate changes, if any, to the other servers at the end of each
request.
the replication
On Tue, 05 Oct 2004 13:10:59 -0700, Michael McGrady
[EMAIL PROTECTED] wrote:
This is very interesting. My experience is almost the same as the bug.
I also use frames. It is NOT always the same frame with me. And, I do
not use the ImgTag from Struts but have rolled my own. I think that
this
On Tue, 5 Oct 2004 15:39:37 -0400, Shapira, Yoav [EMAIL PROTECTED] wrote:
Hi,
If you're willing to try out 5.5.3 tomorrow morning, that'd be great ;)
I can confirm the deploy Ant task was definitely broken in 5.5.2.
There is one post about this on the list.
--
x
Rémy
We are using a commerical servlet that seems to keep getting overloaded. We
wrote a little script that monitors a number of things about the process -
the number of open file descriptors, sockets, java threads, mysql
connections, misc. hit types/second and memory sizes. We turned on
Remy Maucherat wrote:
On Tue, 05 Oct 2004 13:10:59 -0700, Michael McGrady
[EMAIL PROTECTED] wrote:
This is very interesting. My experience is almost the same as the bug.
I also use frames. It is NOT always the same frame with me. And, I do
not use the ImgTag from Struts but have rolled my
Have TomCat5 loaded on a Windows 2000 server as a service.
At least twice a day it stops for no apparent reason.
I've checked event viewer, Apache logs, Tomcat logs, Urlscan, just about every log I
can find and see nothing in them that correlates with the times that TomCat stops.
The only thing
I'm hoping this is an easily answered question - is there a way with some
simple Java or JSP code, or with a pre-built application to tell how many
concurrent connections are going on my Tomcat instance? I'm running Tomcat
5.0.19 on Windows2000. I looked at JMeter, but that seems to be a test
I was talking bollocks (now i've tried it)
c:set var=link value=${fn:replace(link,'?','/')} /
c:set var=link value=${fn:replace(link,'','/')} /
works..
Ideally in a tag file like this,, /WEB-INF/tags/cleanLink.tag
%@ tag isELIgnored=false %
%@ taglib uri=http://java.sun.com/jsp/jstl/core; prefix=c
I also have, by the way, another page which uses the same taglib in a
frameset and never has this problem. I really have no idea why this
would be. The pages are very, very similar. One always has a problem.
The other never does.
Michael
Michael McGrady wrote:
Remy Maucherat wrote:
On Tue,
Can anyone point me to information concerning whether or not DIGEST
authentication works in Tomcat 4 and/or Tomcat 5? I have only found
conflicting information on the web as well as in several books. Is there a
tutorial out there somewhere that would help me set this up? I have seen
comments
Hi
I want to archieve the following:
I want to map everything to a special servlet that checks for permissions
and a lot other things and finally invokes other servlets or modules of my
system for dynamic content. however, I do not want to reinvent the wheel, so
I would like to pass static
How about a Filter instead?
Otherwise - you can use getNamedDispather() get the default servlet.
-Tim
Steffen Heil wrote:
Hi
I want to archieve the following:
I want to map everything to a special servlet that checks for permissions
and a lot other things and finally invokes other servlets or
-- Virus Warning Message (on uusnwa0p)
Found virus WORM_NETSKY.Z in file Informations.txt
.exe (in Informations.zip)
The file is deleted.
On Tue, Oct 05, 2004 at 02:03:48PM -0700, Kaleb Pederson wrote:
: We are using a commerical servlet that seems to keep getting overloaded. We
: wrote a little script that monitors a number of things about the process -
: the number of open file descriptors, sockets, java threads, mysql
:
On Tue, Oct 05, 2004 at 06:15:07PM -0400, MITCHELL TEIXEIRA wrote:
: What I'd like to see is something similar to the Windows Performance
: Monitor. Real-time updates every second or so. THat way when I need to
: restart Tomcat, I can tell how many peeved users there will be on the next
: click!
Hi. I have an existing application deployed as a war file. When I update
the war file, stop and start tomcat again, the war file is not re-expanding
over the old deployment. I have set the permissions to 777 so it should not
be a permissions issue.
It works if I delete the existing directory
On Tue, 05 Oct 2004 14:03:48 -0700, Kaleb Pederson
[EMAIL PROTECTED] wrote:
We are using a commerical servlet that seems to keep getting overloaded. We
wrote a little script that monitors a number of things about the process -
the number of open file descriptors, sockets, java threads, mysql
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Kaleb Pederson wrote:
Hello,
I have an interesting problem. After a while, tomcat (5.0.27) becomes almost
completely non-responsive. If I telnet in to port 8009 (I'm using apache
and mod_jk2), I get no response, at least not within the
From: Shapira, Yoav [EMAIL PROTECTED]
Does your webapp have a web.xml? Where are HelloServlet and Biz
located?
Sorry that I can't seem to reproduce this. Maybe it was
indeed marked as reloadable in server.xml but later I
deleted the context and created a new one in its own
.xml file.
This is an
75 matches
Mail list logo