Hello Remy,
I did not pretend to be whining. Sorry if it souded like that.
And thank you very much for your response: I find it really useful.
First, thank you for confirming my worries about JMeter not being the
best available load testing tool.
** [OT] Do you know of a better (free if
Results of 3x19-hour daze of trying to get 4.1.29
working with IIS. Uncovered several major errors in
both IIS HOW-TO and the Workers HOW-TO.
There are three section to this email;
'General Complaints', 'IIS HOW-TO', and 'Workers HOW-TO'.
General complaints: (in no particular order)
1) The
I see quite a few httpd 500s in the httpd access.logs without corresponding
entries in the tomcat access.log. I am using Apache 2.0.42, mod_jk2, and
Tomcat 4.1.24.
Any suggestions on how I can debug these?
Thanks
_
Groove on the
Hi,
I am new to the java webapp development. I want to store some user data for my app in
a client side cookie rather than as a server side object and referencing it with a
sessionId. One of the main reasons for that is - we will be running multiple servers
load balancing. Since the
You might look into implementing the
javax.servlet.hhtp.HttpSessionBindingListener interface, this will allow
you to act when an object is added/removed from the session. Simply put,
you could write valueBound/UnBound methods that set Cookies into the
HttpResponse.
-Mark
[EMAIL PROTECTED]
Thanks Mark - the problem with using HTTPSessionBindingListener is that the unbound
event is not triggered unless someone calls the session.removeAttribute() or
session.setAttribute(name, null). So there is no way for me to set the cookie from the
unbound() event without explicitly calling one
Hi,
I've been tackling this problem since September, I'm hoping someone can
shed some light here.
I want a directory listing of my files e.g;
http://www.somesite.com/directory/ --outputs a dir listing.
I am using mod_jk2 with Apache 2.0.4x.
If I comment out the LoadModule mod_jk2 I can get a
Hello!
I have 3 tomcat instances on 1 computer.
I use tomcat 4.1.24 with mod_jk2 and apache 2.40
I have used clustering. It did not help.
(http://www.apache.org/~fhanik/ ,
http://www.javagroups.com/javagroupsnew/docs/papers.html).
Does anybody knows good clustering mechanism which works on
With the functionality you desire, stay away from the Session classes as
defined in the servlet API. Any developer will be greatly confused if they
try to read your code created by your description below since you are mixing
well known terminology and assumptions.
Instead, look into Filters
Hi,
I have the following problem with tomcat 4.1.27: my java classes cannot
be found. When I request a JSP which uses a java class, I get messages
like this:
File not found:
'http://134.xxx.yyy.zzz:8080/learnweb/servlet/learnweb.module.admin.userinterface.web.AdminGroupServlet'
In this case
Hi,
I have to move my tutorial listed on the Apache Tomcat Connector FAQ page.
I'm wondering who I should contact. I couldn't find the contact info on
the FAQ. I guess it's not Frequent enough:) I believe I remember Tim
Funk starting it, but maybe it's changed now. I don't have a new URL yet,
Rob,
I have written a PersistenceManager class that handles all database
access and uses the SQLData interface to map java objects to
User Defined Types in the oracle database. Every request now
has to create a new instance of the persistencemanager so there is
no sharing whatsoever. I would like
Tim,
% sudo -u nobody /path/to/startup.sh
This seems to work. Pros, Cons?
I don't have a ton of experience with sudo, but it seems like a good
idea -- you can lock down the operations that a user is capable of
doing, etc.
I have production machines that startup tomcat on boot, and I have
Hi
I have a strange problem.
On my jsp pages use utf-8 encoding. Because of problems in my struts application I use
the tomcat-example-encoding-filter and set it in web.xml to utf-8 and to processing
all requests . It works , tomcat starts normally . When I submit a form i can get the
request
I have install sucess fully tomcat5.0.14
and oracle8i server. but when I am going to connect
those two there was a problem (exception).
You have omitted the most important part of this question: the stack
trace. Please submit that and we'll take a look.
-chris
Simon,
Can you tell me what the following means please:-
javax.management.InstanceNotFoundException: MBeanServer cannot find MBean
with ObjectName
What's the log message immediately before this? The log file usually
says something like:
ServerLifecycleListener: Creating MBean for [Some
Roeland,
does one exist and where can I get a example?
The version for 3.x has huge differences and my Tomcat 4.1.29 does not have
one (contrary to all the dox). I'm also following the IIS HOW-TO and finding
huge descrepencies.
The workers.properties file has more to do with the connector that
Roeland,
From an unrelated thread:
You don't pretend to win the coveted Whiner Of The Month award
with this, I hope. There's a lot of competition, you know.
I think this post gets my vote for this coveted award. Everyone: you
have only 7 days left to submit your entries!
There are three
Tim,
With the functionality you desire, stay away from the Session classes as
defined in the servlet API.
I completely agree.
Instead, look into Filters and HttpServletRequestWrapper and
HttpServletResponse wrapper.
Ideally, you'd create some helper classes which do the gets and sets on
the
Atreya,
I want a directory listing of my files.
I am using
mod_jk2 with Apache 2.0.4x. If I comment out the LoadModule mod_jk2 I
can get a directory listing. But if not, I get a 404 error in Apache
and then I get a 404 error page generated by Tomcat.
It looks like Tomcat is handling the
That's the weird part.
My workers2.properties uri directive is just for .jsps. It is as follows:
[uri:www.mysite.com/*.jsp]
group=ajp13:/usr/local/apache2/logs/jk2.socket
So I'm not sure why directory requests get forwarded to Tomcat.
Christopher Schultz wrote:
Atreya,
I want a directory
Bartek,
But then when I do something with these
parameters and my mysql database I get then them wrong encoded and
all data read from mysql are wrong encoded .
Hmmm... if you use your Java code to insert some text into the DB, does
it look okay when you read it back out using the mysql
Werner,
I have the following problem with tomcat 4.1.27: my java classes
cannot be found. When I request a JSP which uses a java class, I get
messages like this:
File not found:
'http://134.xxx.yyy.zzz:8080/learnweb/servlet/learnweb.module.admin.userinterface.web.AdminGroupServlet'
Can you post
Atreya,
That's the weird part.
My workers2.properties uri directive is just for .jsps. It is as follows:
[uri:www.mysite.com/*.jsp]
group=ajp13:/usr/local/apache2/logs/jk2.socket
So I'm not sure why directory requests get forwarded to Tomcat.
Hmmm.. that *is* odd.
And you say that if you
The sun JDK 1.4.2 release mucks encoding up...
I went back to 1.4.1 and all was fine.
-Dave
At 07:45 PM 11/23/2003, bwasko wrote:
Hi
I have a strange problem.
On my jsp pages use utf-8 encoding. Because of problems in my struts
application I use the tomcat-example-encoding-filter and set it in
J D [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
I see quite a few httpd 500s in the httpd access.logs without
corresponding
entries in the tomcat access.log. I am using Apache 2.0.42, mod_jk2, and
Tomcat 4.1.24.
Any suggestions on how I can debug these?
A lot of these are
David,
The sun JDK 1.4.2 release mucks encoding up...
I went back to 1.4.1 and all was fine.
How does JDK 1.4.2 muck up the encoding? I'm using 1.4.2, my
file.encoding appears to be UTF-8, and I have no problem with any of
the text that I store in my MySQL database.
-chris
Does anyone have any scripts to start and stop tomcat during system boot
and shutdown?
Environment Solaris 8 sparc
Tomcat 4.1.29
Apache 1.3
Thanks
-Tom
Thanks a lot for the info.
I need more explanation. I thought that Tomcat creates a new thread to
serve the new request and continues execution of the current servlet thread
after a forward() or redirect(). Now you mean that only after the forward()
method is completed the control returns
Hi,
In terms of URI directives that is the only one. I don't have a
specific directive in httpd.conf to include workers2.properties, that
file gets loaded automatically when I load the jk2 module.
Also I don't have any JkMount directives in my httpd.conf file.
I wonder if anyone is able to
Hi,
I'm running tomcat version 4.X on HPUX system as a standalone server. I have read
the CGI howto for tomcat and I have enabled CGI capability on the server.
My question is - How can I define additional directory that contains CGI scripts
other than the default one that comes with
I thought I should not be the only one with this issue, but I searched the tomcat-user
and tomcat-dev mailing lists and could not find a good answer. There are some changes
made between tomcat4.0.4 and tomcat4.1.18 and I can see the exact discussions on the
tomcat-dev list (under the thread
Hi,
Can anyone point me to a how-to please.
Regards,
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi,
What do you use to balance the load between the apaches ?
-We are using the mod_jk to load balance between apaches. The load is not high during
the other week days but only twice in a week.
Some things you have to keep in mind:
- mod_jk isn't perfect in balancing the load for one Apache
34 matches
Mail list logo