Ok,
My mistake. I mixed the examples in the source file the wrong way.
But now it gives me the same error as when I try to configure it without
load balancer:
[Fri Jan 27 08:24:52 2006] [1532:3412] [debug] jk_uri_worker_map.c (475):
Found a wildchar match wlb -> /*.jsp
[Fri Jan 27 08:24:52 2006]
Fenlason, Josh wrote:
I'm running into a problem with the APR connector not shutting down
properly. Tomcat runs fine and there are no errors on shutdown, but if
I shut Tomcat down and start it up again I get a socket bind failed
error in the catalina log (attached). I have to wait for several
Carpentier Luc (Uniway) wrote:
I even found contradictory information.
In the docs it states that the workers should not be defined in the
workers.list when you are using load balancing, but in the examples I found
on the internet, they were defined in the workers.list (and yes I tried it
but it
Hello,
I am using the jk1.2.15 connector to connect the apache 2.0.55 webserver to
tomcat 5.5.15 on a windows 2003 server.
However, I am not getting any luck with the connector.
I googled for hours on the internet, but nothing that matches.
I even found contradictory information.
In the docs it s
It's kind of nice to see this discussion on this board, because it can
serve as a way for Tomcat developers to think about what features really
help and what features don't. I'm going to avoid M$ bashing cause it's
not productive, but I think it's wise to look at the effect "creature
features"
Hi All,
I had setup Tomcat 5.0.x in a school environment for students to write
their servlet programs. With
and some little scripts that make use of tomcat manager, all students
can deploy/undeploy/reload their own application at their will.
Recently, I was going to upgrade our Tomcat ser
Michael-
Did you you want a DOM, JAXP or SAX Parser in which case you should try?
http://xerces.apache.org/xerces2-j/
If you want to do XSLT Transformations and XPath traversals try Xalan
http://xml.apache.org/xalan-j/
Last time I heard microsofts MSXML parser only supported DOM and didnt
suppo
Will mod_jk3 implement the AJPv13 Extension Protocol? That's what would
best meet my requirements.
What's behind my questions is that there's a short outage when I deploy
a webapp on JBoss, particularly using "farm" deployment, where JBoss has
to copy the war to all the machines in the cluster. I
Hey Tony,
Thanks for sharing your experiences with .NET. I
appreciate your candor and taking the time. One thing
I didn't see you mention in the core support for XML.
Do you know how much of an advantage this is compared
to the the way in which Java works with XML.
BTW, I visited the dotnet teams
Hi;
I have requests that are not getting logged. My setup is IIS 6.0 and tomcat
where tomcat is called from IIS via an ISAPI filter. What the below log
shows is:
1) /store/pages/demo.faces is requested. This is a JSF page served from
Tomcat
2) demo.faces has includes for windward.css and wind
Thanks - works perfectly.
-Chris
On Jan 26, 2006, at 6:04 PM, Tim Lucia wrote:
Here's how I've done it from a .jsp:
<% response.reset();response.setContentType("text/comma-separated-
values;
charset=UTF-8");response.setHeader("Content-
disposition","attachment;filenam
e=csvoutput.csv");%>
Khawaja Shams wrote:
> has anyone had any luck in concurrently running two instance of tomcat
> together?
Yes.
> What about an instance of JBoss and a stand alone tomcat? The
> reason why I need to do this is that some of the applications are
> conflicting with each other and cannot run tog
Hello,
has anyone had any luck in concurrently running two instance of tomcat
together? What about an instance of JBoss and a stand alone tomcat? The
reason why I need to do this is that some of the applications are
conflicting with each other and cannot run together in JBoss. Since JBoss
is
Here's how I've done it from a .jsp:
<% response.reset();response.setContentType("text/comma-separated-values;
charset=UTF-8");response.setHeader("Content-disposition","attachment;filenam
e=csvoutput.csv");%>
Skip the response.reset() if running from inside a servlet...
Tim
-Original Me
Can anyone tell me how to send a stream as a CSV (comma seperated
file) rather than as an HTML page? I curently am sending the data as
a Response.
Thanks,
-Chris
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
David Durham wrote:
Hi-
I'm using apache-tomcat-5.5.15 that I downloaded about 15 minutes ago.
My installation is just to unzip to a directory, and run startup.bat.
Strangely, the logger is set to debug somehow. The end the startup
script because of a ton of digester DEBUG log statements g
Hi-
I'm using apache-tomcat-5.5.15 that I downloaded about 15 minutes ago. My
installation is just to unzip to a directory, and run startup.bat. Strangely,
the logger is set to debug somehow. The end the startup script because of a
ton of digester DEBUG log statements going to the console.
I'm specifically trying to get the APR connector to work. Thanks
though.
I'm blind. There is a log entry for "AjpAprProtocol destroy."
Unfortunately, it still isn't shutting down properly.
,
Josh.
> -Original Message-
> From: Mike Sabroff [mailto:[EMAIL PROTECTED]
> Sent: Thursday, Jan
Dan -
Thanks very much for all this - looks like it should work with mod_jk too!
I'll let you know how I get on.
Jon
-Original Message-
From: Didier McGillis [mailto:[EMAIL PROTECTED]
Sent: 26 January 2006 19:32
To: users@tomcat.apache.org
Subject: RE: mod_jk configuration directives in
Try switching to a ajp1.3 connector - "cyote" if you can...AJP are
fairly new and problematic from what I have seen and heard
Fenlason, Josh wrote:
I'm running into a problem with the APR connector not shutting down
properly. Tomcat runs fine and there are no errors on shutdown, but
if I shut
Title: Message
I'm running into a
problem with the APR connector not shutting down properly. Tomcat runs
fine and there are no errors on shutdown, but if I shut Tomcat down and start it
up again I get a socket bind failed error in the catalina log
(attached). I have to wait for several min
The clue here is you can hit http://www.site.com:8009/examples with a
browser. Your connector for port 8009 may not be properly configured to
use the AJP 1.3 protocol. It should look similar to this in server.xml:
--David
Mike Sabroff wrote:
> So what makes you think you are not using localh
kill -9 (unix) task manager (windows)
Shankar Unni wrote:
Koneru, Narendra wrote:
When the port that I specify to start tomcat is in use, then I want
tomcat to go down after printing a message. What I observed is that
tomcat prints the message on the screen that there is a bind exception
but t
Koneru, Narendra wrote:
When the port that I specify to start tomcat is in use, then I want
tomcat to go down after printing a message. What I observed is that
tomcat prints the message on the screen that there is a bind exception
but tomcat server does not go down.
Do you have some servlet m
Hi,
I will try to fix this. Please post a bugzilla record with here at
Apache (please post the id in this thread).
Another good place for this special bug is
http://developer.berlios.de/bugs/?group_id=5430
of x4juli - http://www.x4juli.org
which will suffer from the same problem (I have to chec
--- Andrew Chapman <[EMAIL PROTECTED]>
wrote:
> Whilst investigating a strange bug some of our
> customers were experiencing
> using links in Excel to our web application I
> discovered that the root of it
> was this strange behaviour in Excel.
>
> After monitoring the http requests I discovered
"module not included in the server configuration"this is the key
mod_jk is a third party module and is not in the apache distribution.
It must be downloaded and compiled.
Best way is to compile it into the apache executable. You will have to
go to the tomcat docs and maybe google to find info
Koneru, Narendra wrote:
Hi,
When the port that I specify to start tomcat is in use, then I want
tomcat to go down after printing a message. What I observed is that
tomcat prints the message on the screen that there is a bind exception
but tomcat server does not go down. How do make sure that to
Dear all,
To start, I am using Tomcat 5.5.12 on Windows XP Pro.
I've been trying to configure Tomcat to read a document base on a
network drive. However, I am seeing in the logs the error:
java.lang.IllegalArgumentException: Document base M:\workspace\ir8\web
does not exist or is not readab
So what makes you think you are not using localhost?
Neal Whitley wrote:
I have mod_jk / tomcat and apache somewhat working together but I am
getting an error when displaying pages via the connector.
Tomcat is set up and works. I can hit:
http://www.site.com:8080/examples/
or
http://www.site.
Boris,
I tried your logging.properties with the addition of the .handlers to no
effect.
On one of the other servers (where we use a custom realm) I moved the
realm into the ROOT.xml file - same affect (e.g. file created, but log
info goes to catalina.date.log).
Perhaps it's a "feature". :-)
> -
Hi,
I don't have any idea about the Linux environment.
But, I got a OutOfMemoryError due to permgen space on
windows/Tomcat5.0.30 environment and
this is what I have done.
set CATALINA_OPTS in catalina.bat if Tomcat is started using startup.bat
set CATALINA_OPTS=-Xms128m -Xmx512m -XX:MaxPer
Hi,
When the port that I specify to start tomcat is in use, then I want
tomcat to go down after printing a message. What I observed is that
tomcat prints the message on the screen that there is a bind exception
but tomcat server does not go down. How do make sure that tomcat goes
down after realiz
Just a curiosity any performance issues in storing the project outside of
the tomcat webapps directory?
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
I did mod_jk2 with Virtual Host, and while its not the same I think that
doing VH will not be a problem once you get an idea of how it should/can be
setup.
THIS IS PSEUDO, DO NOT TAKE AS GOSPEL TRUTH !!! NO SUPPORT! :p
-- workers.properties file --
# Setting Tomcat & Java Home
Hello Craig,
Raymond, Craig (US SSA) wrote:
The logging.properties files are clones of the example at the bottom of
the Tomcat 5.5 docs logging.htm page, with the exception of the
..FileHandler.prefix being changed. They reside as below for all three
servers (where ServerRootDir is different fo
Sorry, Adrian - out of ideas, and Googling around for the error messages
doesn't help much.
I would certainly try updating mod_jk to the latest version, or recompiling
from the version shipped with whichever Tomcat distribution you're using,
all the while keeping your fingers crossed! However, it
> From: Randy Paries [mailto:[EMAIL PROTECTED]
> Subject: moving from tomcat 5.0.24 to 5.5.15, haviing
> problems with root app
>
> my server.xml is pretty as left as is (will inlcude if requested)
There are differences between 5.0 and 5.5 - make sure you read the docs
and look at the comments
Rename unitnet.xml to ROOT.xml
George Sexton
MH Software, Inc.
http://www.mhsoftware.com/
Voice: 303 438 9585
> -Original Message-
> From: Randy Paries [mailto:[EMAIL PROTECTED]
> Sent: Thursday, January 26, 2006 12:03 PM
> To: users@tomcat.apache.org
> Subject: moving from tomcat 5.0
More info::
when i go to
Tomcat Web Application Manager
my app is listed as Path /unitnet and it used to be listed /
Thanks
Randy
On 1/26/06, Randy Paries <[EMAIL PROTECTED]> wrote:
> Hello,
> I have been running 5.0.24 forever and it has been running fine, so i
> have not touched it
>
> I n
Hello,
I have been running 5.0.24 forever and it has been running fine, so i
have not touched it
I need to upgrade to 5.5.15
I got to be missing something simple.
my server.xml is pretty as left as is (will inlcude if requested)
then in /usr/java/jakarta-tomcat/conf/Catalina/localhost
i have 3
Hello,
I've just found this message, with no solution, in the archive:
http://marc.theaimsgroup.com/?l=tomcat-user&m=105163335014996&w=2
It is exactly my problem:
I use apache authentification (basic) and the remote_user variable is
passing to tomcat. In a struts action i can get the variable
I am having some problems with session timeouts. I set the session-timeout
property to 15 minutes in the Tomcat global web.xml and also in my application
web.xml. However, Tomcat is not always timing out when sessions are inactive
more than 15 minutes.
On some systems, it behaves as I expect. W
Could you please provide a little more details, on what kind of
program you are doing, how you are starting it right now, and how is
tomcat involved?
generally
-Xmx128m -Xmx256m, are parameters to java call, besides you can't
have two different values for the same parameter! (I think the first
on
Whilst investigating a strange bug some of our customers were experiencing
using links in Excel to our web application I discovered that the root of it
was this strange behaviour in Excel.
After monitoring the http requests I discovered that clicking a hyperlink in
Excel creates the following mult
Thanks for the information...
In our mod_jk log we have the following showing up:
[Wed Jan 25 13:21:33 2006] [jk_ajp_common.c (1401)]: ERROR: Receiving
from tomcat failed, recoverable operation. err=1
[Wed Jan 25 13:21:33 2006] [jk_ajp_common.c (836)]:
ajp_connection_tcp_get_message: Error -
The logging.properties files are clones of the example at the bottom of
the Tomcat 5.5 docs logging.htm page, with the exception of the
..FileHandler.prefix being changed. They reside as below for all three
servers (where ServerRootDir is different for each server):
F:/InetPub/ServerRootDir/WEB-I
Hi,
Thanks for the link.
When i start my program, the Runtime Maximum Heap Size is 66650112 bytes
~=64MB. I believe I should increase this value to atleast 256 MB. But how do I
go about doing this? I understand that I need to add an option -Xmx128m
-Xmx256m, but to what and how!
Kindl
Adrian -
I haven't met this problem, but a few things occurred to me after reading
your message:
1. Don't forgot you could probably (depending on your config) always use
mod_proxy instead of mod_jk, just as a temporary measure.
2. Sometimes browsers are set to have only 2 or 3 concurrent conne
Hello Craig,
> In the server.xml are three s defined, two of which have a realm
> defined in the host tag. The third has the realm defined in its
> ROOT.xml context tag. Each has a logging.properties file in its
> WEB-INF/classes directory.
Good, best chance to have individual logging for same l
--- Tony LaPaso <[EMAIL PROTECTED]> wrote:
> Certainly -- $5,000 and it's yours!
> --
> Tony LaPaso
>
>
>
> - Original Message -
> From: "Leon Rosenberg"
> <[EMAIL PROTECTED]>
> To: "Tomcat Users List"
> Sent: Wednesday, January 25, 2006 4:00 AM
> Subject: Re: From Java to C#, ASP.NET
Hello,
We recently setup mod_jk on a server running Red Hat 9. We are having
some odd problems with the new setup. For some reason, everything works
fine for the first 2 clicks when testing the process (running the
examples webapp thru Apache 2.0.40). However, when we click something
(anyt
> From: Aparna Ramakrishnan [mailto:[EMAIL PROTECTED]
> Subject: help to solve 'OutOfMemoryError'
>
> What changes do I need to make to avoid this
> OutOfMemoryError?
The question is too generic for anyone to provide a concrete answer.
Start here:
http://tomcat.apache.org/faq/memory.html
Do so
I am in the middle of converting a web server from Tomcat 5.0.25 to
5.5.15, and I am using JULI.
In the server.xml are three s defined, two of which have a realm
defined in the host tag. The third has the realm defined in its
ROOT.xml context tag. Each has a logging.properties file in its
WEB
> From: news [mailto:[EMAIL PROTECTED] On Behalf Of Danny Lee
> Subject: Sharing classes between applications
>
> Well, what do you think, is this a good idea, to share the
> classes and if yes, how can I do it :)
Unless the two apps actually need to share data, don't do it. You end
up introdu
Hi guys,
I have a general question about sharing classes between two WebApps in
Tomcat.
In my case I have a Shop app and an now a new Admin app, which really
can use lot of stuff allready implemented in the Shop. Of course
copy-paste do work, but I supose copying-pasting after each update ma
Hello,
Thanks for the help ... I have got this working now ... the problem was that
another web app deployed in the nodes was blocking for session data as part
of the server startup. I noticed that the war file was in fact getting
copied from the master node to the other nodes but to the war-t
Il giorno gio, 26/01/2006 alle 06.23 -0500, Kevan Miller ha scritto:
> Davide,
> If you're using Axis, you might be interested in two Axis issues that
> I uncovered. They both caused ClassLoader memory leaks within
> Geronimo. The problems are described here:
> http://issues.apache.org/jira/br
Hello Peter,
I set the deployDir to the webapps directory in all the nodes - I still get
the same log message and the webapp is only deployed to the master node and
not to all the other nodes?
Thanks,
Julie.
On Thursday 26 Jan 2006 11:33, Peter Rossbach wrote:
> Please, set the deployDir to y
Please, set the deployDir to your webapps dir.
Peter
Am 26.01.2006 um 11:55 schrieb Julie McCabe:
Hello Peter,
My deploy dir is $CATALINA_HOME/war-deploy it is not the webapps
directory.
The temp, deploy and watch directories are all read/writeable.
I added the logging in the conf dir but
On Jan 26, 2006, at 4:28 AM, Davide Romanini wrote:
Il giorno mer, 25/01/2006 alle 11.12 -0800, Wade Chandler ha scritto:
Don't use shared libraries and you shouldn't have this
problem. If all of the statics are in your WEB-INF
directory then you won't have an issue with unloading
classes an
On Thu, 26 Jan 2006, Davide Romanini wrote:
| Il giorno mer, 25/01/2006 alle 11.12 -0800, Wade Chandler ha scritto:
|
| > Don't use shared libraries and you shouldn't have this
| > problem. If all of the statics are in your WEB-INF
| > directory then you won't have an issue with unloading
| > cl
Hello Peter,
My deploy dir is $CATALINA_HOME/war-deploy it is not the webapps directory.
The temp, deploy and watch directories are all read/writeable.
I added the logging in the conf dir but it did not produce any extra output -
I dont think the logging was picked up. I then followed the doc
hello
I am running a java program which makes a HttpURLConnection randomly, using
Tomcat 5. I use Asterisk-JAVA API. After the program runs for an hour, it
returns a java.lang.OutOfMemoryError and the HttpURLConnection is not
established, but again it returns to normal and the UrlConnection wo
| > It's a known problem caused by a lot of different
| > situations. It's sad
| > that a lot of important applications suffer of this
| > problem. I'm working
| > with Axis, and just trying to reload the bundled
| > webapp never release
| > the old WebappClassloader.
| >
| > I think this is seri
Il giorno mer, 25/01/2006 alle 11.12 -0800, Wade Chandler ha scritto:
> Don't use shared libraries and you shouldn't have this
> problem. If all of the statics are in your WEB-INF
> directory then you won't have an issue with unloading
> classes and class loaders.
>
It would be great if could b
66 matches
Mail list logo