Maurice Yarrow wrote:
I'm fronting tomcat 5.0.28 with apache 2.0.59 through mod_proxy.
I am not seeing loss of session persistence: here are the values
of HttpSession.getId(), as seen in a typical succession of the
servlets, and also, one of the JSP's:
SelectPubImgSetServlet:
Darryl Miles wrote:
Also, I've put in /etc/profile.local the line ulimit -n 8192,
hoping it will help.
WARNING: If you are unix the JVM uses the select() then increasing the
ulimit above the default 1024 maybe dangerous.
Is it dangerous in Linux also?
--
Mladen Adamovic
Hi.
After upgrading a two-node failover cluster with RHEL4 from U3 to U4, we
have suddenly started experiencing big issues with Tomcat. The service
either crashes suddenly with error 6 or 11, or immediately with a
NoClassDefFoundError:
---8---
*** glibc detected *** double free or corruption
I prepared one bash script which aim is to reboot the computer if its
web server is down for approx. 30 minutes.
I think that bash script might be useful for others on this list, so I'm
posting it here.
But, I'm not sure what is the best way to run that script.
I'm using Suse 9.3 on the server.
The Changelog mentions:
Added %R JkRequestLogFormat option for Apache 1 and Apache 2. (mturk)
In the Apache documentation however this new option is not documented. Could
somebody explain (and document) what it does?
regards Henk Fictorie
--
View this message in context:
JSP lifecycle documentation tells me that there should be .java
files named _0002fpageName_jsp.java. I don't have such files
(no java files at all).
I did a brand new Tomcat installation and executed one JSP
example but there is only a tldCache.ser file in work\Catalina\
localhost\jsp-examples.
I've found the .java and .class files in a new sample application.
I still don't understand if the compiled class files are used after
Tomcat restart or if the JSP files will get compiled again.
I'm asking because my application (Matrix from MatrixOne) is
very slow after restarting Tomcat.
What happens when a HttpSession times out in a cluster, wrt
HttpSessionListeners ?
Will the HttpSessionListener be notified with a HttpSessionEvent on
_each_ node or only on the node that decides to destroy the session ?
JSR-154 (Servlet 2.4 spec) [1] says:
SRV.10.7 Distributed Containers
In
From: Darren Hall [mailto:[EMAIL PROTECTED]
You are correct. When hitting Tomcat directly, the session
remains intact.
When using mod_proxy to forward requests to Apache the
session is lost.
Is this a common issue? How can I go about correcting this?
I'll have to open that up to the
Henk Fictorie wrote:
The Changelog mentions:
Added %R JkRequestLogFormat option for Apache 1 and Apache 2. (mturk)
It logs the real worker 'R'oute name
(In case of loadbalancer the elected worker).
In the Apache documentation however this new option is not documented. Could
somebody
Hi
Can anyone tell me how to completely disable the Restart Persistence
feature handling in Tomcat 5.5.17?
Regards
Roland Rabben
Bosse Klykken wrote:
Hi.
After upgrading a two-node failover cluster with RHEL4 from U3 to U4, we
have suddenly started experiencing big issues with Tomcat. The service
either crashes suddenly with error 6 or 11, or immediately with a
NoClassDefFoundError:
Hi,
I am a tomcat newbie, and have the task of setting up a development
environment in Tomcat.
I have a site which is up and running on the live server, but I can't
get it to work in the development environment.
I have the latest version, Apache Tomcat 5.5.17, and have set it up to
use
Having worked in environments where servers get rebooted at odd times for
unknown reasons I'll ask the dumb question
What happens to the other processes that are running when the server is
rebooted?
What happens to the logs?
I think you may have what Leon called a 'resource allocation issue'
Some initial thoughts:
1. Check folder permissions and be sure tomcat has read access on the
WEB-INF/lib folder.
2. Be sure the jar file containing XPathException (xalan.jar) is really
in WEB-INF/lib, common/lib, or shared/lib. The location will depend on
the class attempting to throw a
Pid wrote:
After upgrading a two-node failover cluster with RHEL4 from U3 to U4, we
have suddenly started experiencing big issues with Tomcat. The service
either crashes suddenly with error 6 or 11, or immediately with a
NoClassDefFoundError:
java.lang.NoClassDefFoundError:
from my doc I see that
6 is 'no such device or address'
11 is 'try again'
so this error points to a system administration function
are you referring to a device that is not mounted?
are you referring to a Link that is 'unlinked'?
Hard to determine specifics if we don't see your script
Tak Tak,
For using mod_proxy, have you also added proxy_name and proxy_port
attributes to the connector receiving proxied requests? Those will need
to be set so tomcat can create the session cookie correctly.
Additionally, you might want to be sure all your links are run through
response.encodeURL(
Is no one interested in some money on the side? I am not looking for
volunteer charity work. You would be paid for your help.
Charles Killmer
720 St Germain. Suite 200
Saint Cloud, MN 56303
Phone: 320.251.4700 x107
Toll Free : 877.797.4700 x107
Fax: 320.251.5030
Martin Gainty wrote:
I think you may have what Leon called a 'resource allocation issue' that may
not be corrected until you actually look at the code
to determine who or what is grabbing all of the file handles (and not closing
them)
Yeah, but if one uses
BufferedReader br=new
From: Charles P. Killmer [mailto:[EMAIL PROTECTED]
Is no one interested in some money on the side? I am not looking for
volunteer charity work. You would be paid for your help.
Sure I'm interested, but MN is 6 timezones and a day's travel away.
- Peter
thats probably true (depends on what lies under the
bufferedreader/stream, you probably mean a file?)
But its generally extremely bad taste to rely on gc when you can fix
it by adding a three-liner.
that would also expain why your open files become closed after
System.gc() is called.
However,
On 9/25/06, Charles P. Killmer [EMAIL PROTECTED] wrote:
Is no one interested in some money on the side? I am not looking for
volunteer charity work. You would be paid for your help.
Here's one option: http://www.virtuas.com/tomcat
I know of Virtuas through Matt Raible, who works mostly
Thanks David,
For using mod_proxy, have you also added proxy_name and proxy_port
attributes to the connector receiving proxied requests? Those will need
to be set so tomcat can create the session cookie correctly.
I don't believe I'm setting any of these things. Correct me if I'm wrong,
Thanks David,
1. Yup, tomcat has permission to read the folder and xalan.jar
2. xalan.jar is in the WEB-INF/lib folder.
3. I think the exception is thrown by a JSP
page,ChooseContinentFromXML_jsp . I've put the stack trace below.
What else could be affecting it?
ERROR 2006-09-25
Thanks Wendy.
Charles Killmer
720 St Germain. Suite 200
Saint Cloud, MN 56303
Phone: 320.251.4700 x107
Toll Free : 877.797.4700 x107
Fax: 320.251.5030
http://www.netgainhosting.com
[EMAIL PROTECTED]
Confidentiality Notice: This e-mail message, including any
attachments, is
have you consciously decided that you're using tomcat with an http mode
connector instead of an ajp connector?
also, you're duplicating the proxy by doing
ProxyPass /flc ...
as well as
RewriteCond %{REQUEST_URI} !^/flc...
Darren Hall wrote:
Thanks David,
For using mod_proxy, have
No.
In server.xml (tomcat's config file), the Connector / element
receiving proxied requests from Apache HTTPd needs
proxyName=www.mysite.com and proxyPort=80 to properly handle cookies
and writing URLs.
There are commented examples of this in the original server.xml file
distributed
Hello all,
Ok, I've gotten the mod_jk to work internally.
But, What I want to do is have an apache box forward
request through a firewall to a jboss application box,
then have jboss return through the firewall to the
apache box. How do I accomplish this?
Thanks for any thought's.
Brian
I'm using mod_jk. I currently have it working in a dev
environment. Apache Web server --- jboss application
server.
I need to move to Production:
Apache -- [FireWall] -- jboss
When I first tried this everything failed. We opened
port 8009 on the FW to allow incoming traffic and
outgoing
Hi all,
how can I install the Administration Web Application for Tomcat 5.5.17?
Thanks
Raffo
Hi
I know, reasking the same question if there was no answer, is no good style.
However I had problems using apache-lists earlier and I don't know wether my
mail made it to the list.
So could anyone please respond, that the mail itself made it?
(Solutions to my problem are welcome as well :D )
Hi Steffen,
I can see your post.
Ben
On 9/25/06, Steffen Heil [EMAIL PROTECTED] wrote:
Hi
I know, reasking the same question if there was no answer, is no good style.
However I had problems using apache-lists earlier and I don't know wether my
mail made it to the list.
So could anyone please
Download the Administration Web Application from this site
http://tomcat.apache.org/download-55.cgi. Then un zip/tar it over the
tomcat install directory. Restart tomcat and off you go.
Ben
On 9/25/06, Raffaele Viola [EMAIL PROTECTED] wrote:
Hi all,
how can I install the Administration Web
I've already done the un-tar over the tomcat install directory. I try to
access by remote host but nothing.
Raffo
On 9/25/06, ben short [EMAIL PROTECTED] wrote:
Download the Administration Web Application from this site
http://tomcat.apache.org/download-55.cgi. Then un zip/tar it over the
I got your message through the list, Steffen.
I don't know how to help you, though.
Sorry.
Darren
Hi
I know, reasking the same question if there was no answer, is no good
style. However I had problems using apache-lists earlier and I don't know
wether my mail made it to the list. So
Are the permissions for the new files ok?
Ben
On 9/25/06, Raffaele Viola [EMAIL PROTECTED] wrote:
I've already done the un-tar over the tomcat install directory. I try to
access by remote host but nothing.
Raffo
On 9/25/06, ben short [EMAIL PROTECTED] wrote:
Download the Administration Web
Mr. Lau,
Thank you very much for this batch file, it was a great help in
getting tomcat 5.5.17 running on my 64bit win2k3 install.
May I ask if you would possibly add some java memory management
options to the batch file so that it may take advantage of the 64bit
jvm?
With great appreciation
Ah yes,
I have
user username=admin password= roles=admin,manager /
In my tomcat-users.xml.
Ben
On 9/25/06, Raffaele Viola [EMAIL PROTECTED] wrote:
It seems start to work after I add into the tomcat-user.xml file the row
role rolename=admin/
and give to the user administrator this role.
In server.xml (tomcat's config file), the Connector / element
receiving proxied requests from Apache HTTPd needs
proxyName=www.mysite.com and proxyPort=80 to properly handle cookies
and writing URLs.
There are commented examples of this in the original server.xml file
distributed
From: Darren Hall [mailto:[EMAIL PROTECTED]
(with one change -
the connector port in the new connector element I specified
is 8080, and I
also have the default element still uncommented also using
port 8080. Will this create a conflict?)
I'm a little surprised it works at all. Use one
Hi -- we've recently had problems with Tomcat on one server getting
overloaded and then refusing further requests. What happens is that
more and more request-processing threads get stuck on some slow
operation (eg. database query, opening a socket to another server),
until eventually Tomcat's
I moved my port to 8081 and I still see the same behavior. *sigh*
I'm still getting no positive results. I'm now thinking this issue involves
one of two things. 1) Mod proxy and the way I've configured it; or 2) the
rewrite rules I do on each request to and from my domain.
This is my first time
Can this behavior be accomplished with mod proxy alone (meaning I can
remove mod rewrite from the picture completely)? Could this rewrite be
causing me to lose the session between Apache and Tomcat?
*ding ding ding*
We have a winner! I removed the rewrite rules from my httpd-vhosts.conf file
On 9/25/06, Darren Hall [EMAIL PROTECTED] wrote:
... The client does not want to see urls with an identifier on the end
of them (i.e. www.abcdomain.com/abc), yet I need the identifier to correctly
send the request to the correct container in Tomcat (meaning the abc app
lives under the /abc
I suggest you have a look at jboss.com.
JBoss offers JBoss Operations Network which collect metrics using agent
technology.
You can monitor tomcat, apache, jboss as, jca, jms , etc..
Best Regards
Bruno Georges
Glencore International AG
Tel. +41 41 709 3204
Fax +41 41 709 3000
-
What you're seeing is normal servlet/JSP processing. After you restart
Tomcat, the classloader has to load the servlet/JSP. Once it has done
this, the servlet/JSP is cached so it doesn't need to be reloaded. The
JSP files shouldn't be compiled again unless they change. The server
should check
If you're on Windows, open the registry editor and go to the key
HKLM/SOFTWARE/Apache Software Foundation/Procrun
2.0/Tomcat5/Parameters/Java/JVM. This key should have the value of your
JAVA_HOME.
---
Tracy Nelson / Nelnet Business Solutions
402 / 617-9449
| -Original Message-
| From:
I just looked, but couldn't find the list of supported platforms for
tomcat 5.5.x. I'm specifically looking to see if it will run ok on a
Fedora core 4 server.
Dave
-
To start a new topic, e-mail: users@tomcat.apache.org
From: David Kerber [mailto:[EMAIL PROTECTED]
Subject: Platform list
I just looked, but couldn't find the list of supported platforms for
tomcat 5.5.x. I'm specifically looking to see if it will run ok on a
Fedora core 4 server.
Tomcat is pure Java; ergo, if your platform supports Java
Oops, I knew that GGG. Thanks for jerking my d'oh chain!
Caldarale, Charles R wrote:
From: David Kerber [mailto:[EMAIL PROTECTED]
Subject: Platform list
I just looked, but couldn't find the list of supported platforms for
tomcat 5.5.x. I'm specifically looking to see if it will run ok on
On 9/25/06, Brian [EMAIL PROTECTED] wrote:
I'm using mod_jk. I currently have it working in a dev
environment. Apache Web server --- jboss application
server.
I need to move to Production:
Apache -- [FireWall] -- jboss
When I first tried this everything failed. We opened
port 8009 on the FW
On Mon, Sep 25, 2006 at 01:19:58PM -0500, Caldarale, Charles R wrote:
From: David Kerber [mailto:[EMAIL PROTECTED]
Subject: Platform list
I just looked, but couldn't find the list of supported platforms for
tomcat 5.5.x. I'm specifically looking to see if it will run ok on a
From: Eric Haszlakiewicz [mailto:[EMAIL PROTECTED]
Subject: Re: Platform list
Isn't there some new feature with native APR code being used
for something?
The Apache Portable Runtime (APR) is an optional connector mechanism
that you can build and install for your platform (pre-built
Thanks David,
So are you suggesting that the something weird is on
the Jboss configuration side?
Thanks, B
--- David Rees [EMAIL PROTECTED] wrote:
On 9/25/06, Brian [EMAIL PROTECTED] wrote:
I'm using mod_jk. I currently have it working in a
dev
environment. Apache Web server --- jboss
Hi Hassan
Maurice here.
Yeah, I've been following this thread, and at this moment
I'm stepping into this discussion because:
My tomcat has four host elements: the primary (localhost - tomcat/webapps)
as usual, plus three development hosts:
devel.mydomain.net - tomcat/webappsDevel
Thanks Maurice. I'll need to look into this.
The one difficulty I have NOT seen is losing the session ID.
I do get session ID persistence where it is permitted (across http page
transitions, across https page transitions, and across http-https page
transition)
Maurice Yarrow
The loss of
On 9/25/06, Maurice Yarrow [EMAIL PROTECTED] wrote:
And, fronting with Apache 2.0, and using mod_proxy, I just had one heck
of a time getting this to work right. I used httpd VirtualHost...
sections
but there was a heck of a lot of configuration to do.
OK, two points --
1) it's not clear
Hi Hassan
Yes, thanks for sharing this point: not particularly onerous.
And I would have to say that the original mechanism I used
just for www.mydomain.net was not too much of a problem
other that the javascript URL args (which will not in browser expand
relative paths to include the
Darren
Thanks for explaining what you did. I may also take a look at
your method. I like not to leave stones unturned, so to speak...
But it would appear that no matter which way you do it, it will
have complexity if what you are trying to connect is itself a
resonably complex and real-world
I'm trying to perform a simple cluster setup with Tomcat 5.5 and been
running into some problems.
Here's the link to the tutorial that I'm trying to follow:
http://tomcat.apache.org/tomcat-5.5-doc/cluster-howto.html.
Below is an excerpt of the stack trace, I'm using the balancer application
Hi people,
I need your help, I install the tomcat 5.5.17 in my sever, and I have two
context in webapps: /portal and /intranet, when I start the tomcat the two
application run ok, but I need set the default context (
http://localhost:8080) that call the /portal context, Someone can help me?
in
From: Gabriel França Campolina [mailto:[EMAIL PROTECTED]
Subject: How set a default context
but I need set the default context (http://localhost:8080)
that call the /portal context
Delete the existing webapps/ROOT directory, and rename your portal app to ROOT
in the webapps directory. It
Hello, again, Hassan
I'd like to ask a couple of questions about your
| tomcat
httpd -- mod_proxy_ajp === | tomcat
| tomcat
setup. And the reason that I'm
On 9/25/06, Brian [EMAIL PROTECTED] wrote:
So are you suggesting that the something weird is on
the Jboss configuration side?
No, I'm suggestions that something is wrong with your firewall. Are
you sure Apache is getting through via mod_jk?
-Dave
Hi,
Using TC5, I can not see why my log is showing:
192.168.3.26 - - [26/Sep/2006:14:06:44 +1000] GET
/dir/gf/locationManager.js HTTP/1.1 304 -
192.168.3.26 - - [26/Sep/2006:14:06:44 +1000] GET /dir/gf/i18n.js
HTTP/1.1 304 -
and many more like it, particularly after I stop the server, remove
Tracy,
thanks for clarification.
How long will Tomcat cache a loaded JSP?
And is there a way to tell Tomcat or the classloader to load every
single JSP after startup?
Do you have an example of such a script? (ATM I have no idea how
to do this)
Thanks,
Frank
Do you
Tracy Nelson-2 wrote:
67 matches
Mail list logo