Dear All:
The 'Udate Worker' button does not respond after installing mod_jk 1.2.16
It was working with 1.2.15 release.
Thanks
--
View this message in context:
http://www.nabble.com/%27Update-Worker%27-button-with-mod_jk-1.2.16-tf1893298.html#a5177759
Sent from the Tomcat - User forum at
Hi,
Is there anyone out there who has been able to configure more than 1550M for
Tomcat 5.0 on a Windows advanced server installation. The server has a total
of 4Gb of memory. We are just not able to cross a border.
Config of Tomcat memory takes place via the Tomcat configuration buttons.
Perhaps
Mohan2005 wrote:
Dear All:
The 'Udate Worker' button does not respond after installing mod_jk 1.2.16
It was working with 1.2.15 release.
Not true. 'Update Worker' and 'Update Balancer'
buttons works just fine.
--
Mladen.
While it is useful and important to understand the theoretical differences,
you should try all three methods and pick the one which performs the best
for your application under the expected load. I used JMeter to test our
application and settled on T[raffic] as that gets the most requests done in
Hello,
Is there a good and detailed manual (thus not the manual on Tomcat website)
or any other documentation/info for clustering 2 tomcat servers? What I want
is 2 servers with tomcat installed to be clustered for failover and
loadbalancing.
We are using now tomcat 5.5.7 on a windows platform.
How can I obtain the name of the web application name my listener servlet is
running under in Java?
AFAIK, it depends on the listener. Listeners implementing
ServletRequestListener can retrieve it from the request; for others I
don't see a clear way.
--David
asaf.lahav wrote:
How can I obtain the name of the web application name my listener servlet is
running under in Java?
asaf.lahav wrote:
How can I obtain the name of the web application name my listener servlet is
running under in Java?
request.getContextPath();
Greetings.
-
To start a new topic, e-mail: users@tomcat.apache.org
To
Hi List,
I am using a form-based login in my Tomcat application. My intention was to
use https on the login form page, but once the user is logged in, http would
be ok for further interaction (my main concern was not to send the password
in the clear).
I had hoped to obtain this behavior with
Good morning.
I'm hoping someone has experience configuring Tomcat 4 and GC. We
recently upgraded our version of Tomcat from 3 to 4, and are now
experiencing periodic outages. Our problem comes when a Full GC runs.
What we've seen that a Full GC is run more and more frequently to the
point of
Frankly I'd suggest moving to the latest JDK 5.0 release, 1.4.0 is a
pretty old and creaking version of the JVM really. GC has undergone
huge changes in Sun's JVM from 1.4.0 to their current 1.5.0_06 release.
I also do wonder why you upgraded from tomcat 3 to tomcat 4. Whats
wrong with tomcat
Hello,
First, I'm sorry for my bad English, I am French.
So, I developed a Framework using JDK 5.0 and its javaagent option and the ASM
api in order to modify the loaded classes. The application test work well.
I want to deploy this framework on a web application with Tomcat5 but when I
put
On 7/5/06, MW Janssen [EMAIL PROTECTED] wrote:
Is there a good and detailed manual (thus not the manual on Tomcat website)
Are you referring to:
http://tomcat.apache.org/tomcat-5.5-doc/cluster-howto.html ?
Following it enabled me to set up a 2-node cluster for the first time
in a few
On Wed, 5 Jul 2006 13:13:23 +0200
MW Janssen [EMAIL PROTECTED] wrote:
Hello,
Is there a good and detailed manual (thus not the manual on Tomcat
website) or any other documentation/info for clustering 2 tomcat
servers? What I want is 2 servers with tomcat installed to be
clustered for
I just used the online docs (marginally) and the comments in server.xml --
no problems at all (well, except for a few bugs which have now been fixed,
and are waiting for 5.5.18)
Tim
-Original Message-
From: Sean O'Reilly [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 05, 2006 9:17 AM
Hello,
Over the holiday, I created a war file for a small application and
deployed it to $TOMCAT_HOME/webapps
Inside the war file was a index.jsp page. So when I called the
application for the first time from a browser I did like so.
http://localhost:8080/webappname/index.jsp - and it
On 7/4/06, Alec Swan [EMAIL PROTECTED] wrote:
I need to reference Styles.css from Test.jsp in such a way that it works in
static as well as in deployed mode. Note that for this to work in the static
mode (no web servers or servlet containers) all paths should be relative.
Therefore, when I
he hassan,
I cant do it in 2 minutes:)
Can you send how you did it? I mean what is your server.xml settings, how
did you install the different tomcat instances (shared catalina_home
possible??) etc.
First i want to do it on my testserver (one machine), later on i will use 2
different servers (are
Hi
There!
I
have a problem with a legacy Tomcat application running on a windows
environment where the Old Gen heap space is gradually hitting close to 100%,
where it becomes immune to immediate garbage collection and causes the application
to become unusable.
The
environment details
I need help getting Tomcat to process JSTL tags when an ear is
deployed to JBoss 4.0.4 with Tomcat 5.5.17.
The same application that works with JBoss 4.0.1 and Jetty 5.1.4 does
not work with JBoss 4.0.4 with Tomcat 5.5.17. JSTL tags are sent to
the client's browser unprocessed.
Tomcat does
Hi,
unfortunatly I get still the same behauviour... I receive only 8K of data,
although I sent more. I have used Tomcat-5.5.17. Maybe it is useful: I use the
Apache Webserver of the Xampp project.
Where I can try to find the problem? Do I have to set some configurations in
apache? I have
The only solution I found so far is the following:
String webAppName = event.getServletContext().getServletContextName();
It simply retrieving the display name element
(display-nameMyAppName/display-name) defined in the web.xml file.
I would like to know if anyone has a better idea.
Right, that just returns the display-name, not the actual context name.
Wait for Servlet 2.5?
asaf.lahav wrote:
The only solution I found so far is the following:
String webAppName = event.getServletContext().getServletContextName();
It simply retrieving the display name element
On 7/5/06, MW Janssen [EMAIL PROTECTED] wrote:
Can you send how you did it? I mean what is your server.xml settings, how
did you install the different tomcat instances (shared catalina_home
possible??) etc.
OK, I already had two test instances of 5.5.17 running on separate
machines, using
On 7/4/06, Sergei P. Volin [EMAIL PROTECTED] wrote:
I've never seen it before - Tomcat compiles a couple of my JSPs on every
request! Why? How can it be?
Have you checked whether:
1) some other process is touching them and updating the timestamp
2) the timestamp is in the future
? Either of
i posted a bunch of stuff to this list a week or two ago, search for
cluster or something similar to find it.
pid
Hassan Schroeder wrote:
On 7/5/06, MW Janssen [EMAIL PROTECTED] wrote:
Can you send how you did it? I mean what is your server.xml settings, how
did you install the different
Does not work means that the tags don't get processed.
There are no error logs.
The tags show up in the html page that's delivered to the client.
On Jul 5, 2006, at 10:38 AM, Pid wrote:
error logs?
config files?
define does not work with some more precision and we might be
able to
help...
Hello,
thanks for your help. I have now used this method call to manipulate the header
and it works:-))
request.getCoyoteRequest().getMimeHeaders().addValue(Authorization).setString(Basic
am9jaGVuYjpqb2NoZW5i);
Many thanks
Regards
Jochen
Web designers don't run web servers or servlet containers on their machines. (I
call their environment static). They just create web pages using Dreamweaver
and preview them in different browsers. So, in my running example Test.jsp
would have the following relative link ../../css/Styles.css in
Config files are straight out of the box as Tomcat is deployed under
JBoss 4.0.4.
The web.xml file for the application has the obligatory:
jsp-config
taglib
taglib-urihttp://java.sun.com/jsp/jstl/core/taglib-uri
/taglib
On 7/5/06, Alec Swan [EMAIL PROTECTED] wrote:
Web designers don't run web servers or servlet containers on their machines. (I call
their environment static).
I understand -- and I think that's a bad idea. But whatever.
So, in my running example Test.jsp would have the following relative
Can you reproduce the problem easily?
What's your configuration, and what kind of update did you try?
What output appears in the mod_jk log file fpr JkLogLevel trace?
Rainer
Mladen Turk wrote:
Mohan2005 wrote:
Dear All:
The 'Udate Worker' button does not respond after installing mod_jk
Well, I did have a problem with trunkated XML files (unless I was sending them
directly to Tomcat's HTTP connector), and your problem description looked very
familiar. The patch worked for me, that is why I mentioned it.
Do you get log file/catalina.out entries?
Regards,
Martina
-Original
I don't have the logs in front of me right now, but I will send them later
today. In any case I don't understand why this works in your case. What URL do
you use to access your Test.jsp? I would assume it's
http://localhost:8080/testapp/jsp/Test.jsp. Therefore, if this jsp page
references
Mohan2005 wrote:
Specifies what method load balancer is using for electing best worker. If
method is set to R[equest] balancer will use number of requests to find the
best worker. If set to T[raffic] balancer will use the network traffic
between JK and Tomcat to find the best worker. If set to
Thank you sir, for helping us again.
Mohan2005 wrote:
Specifies what method load balancer is using for electing best worker.
If
method is set to R[equest] balancer will use number of requests to find
the
best worker. If set to T[raffic] balancer will use the network traffic
between JK and
In your Test.jsp, why don't you have something similar to:
stylesheet type=text/css
location=${pageContext.request.contextPath}/css/Styles.css /
I'm of course assuming tomcat 5.x.x and the web.xml file is declared for
servlet spec 2.4. This should work whether the running tomcat instance
David, the problem is that there is no servlet container or web server running
on the local machine. I need the JSP page to load the CSS page correctly
whether it's deployed on tomcat or not.
David Smith [EMAIL PROTECTED] wrote: In your Test.jsp, why don't you have
something similar to:
And the taglibs are definitely being imported on the page in question?
Richard Doust wrote:
Config files are straight out of the box as Tomcat is deployed under
JBoss 4.0.4.
The web.xml file for the application has the obligatory:
jsp-config
taglib
Can you execute an arbitrary JSP scriptlet in the page, or does that get
ignored too?
Pid wrote:
And the taglibs are definitely being imported on the page in question?
Richard Doust wrote:
Config files are straight out of the box as Tomcat is deployed under
JBoss 4.0.4.
The web.xml file
From: Frank Murray [mailto:[EMAIL PROTECTED]
I get the error msg -bash: setenv: command not found
Ah, the good old Bourne / csh gotcha - well, one of many :-).
export JAVA_HOME=...
Or
JAVA_HOME=...
export JAVA_HOME
- Peter
What version of the servlet API are you specifying in the web.xml of the
application?
Mark
On 05/07/06, Pid [EMAIL PROTECTED] wrote:
Can you execute an arbitrary JSP scriptlet in the page, or does that get
ignored too?
Pid wrote:
And the taglibs are definitely being imported on the page in
I couldn't remember if bash supports export JAVA_HOME= or not. I
remember sh does not and ksh does, but bash...
Peter Crowther wrote:
From: Frank Murray [mailto:[EMAIL PROTECTED]
I get the error msg -bash: setenv: command not found
Ah, the good old Bourne / csh gotcha - well, one of
On 7/5/06, Alec Swan [EMAIL PROTECTED] wrote:
In any case I don't understand why this works in your case.
Now that I have more coffee in me, me neither :-) It really shouldn't, and
I'm at another location now, so I can't revisit that, but...
The problem is that relative to the container
Yes. Definitely.
As I said, the code works in JBoss 4.0.1 with Jetty 5.1.4.
I'm thinking that there's some kind of conflict with a jar file
somewhere. Some class loader issue at run-time. It would be nice if
some of the software would let me know about it.
I'm just trying to check all of the
2.4
On Jul 5, 2006, at 12:34 PM, Mark Sutton wrote:
What version of the servlet API are you specifying in the web.xml
of the
application?
Mark
On 05/07/06, Pid [EMAIL PROTECTED] wrote:
Can you execute an arbitrary JSP scriptlet in the page, or does
that get
ignored too?
Pid wrote:
I'm going to finish what I'm doing with jars and then find out the
answer to this question.
On Jul 5, 2006, at 12:23 PM, Pid wrote:
Can you execute an arbitrary JSP scriptlet in the page, or does
that get
ignored too?
Pid wrote:
And the taglibs are definitely being imported on the page in
You are right, the problem is with the way JSPs are deployed. I do use the
first servlet-mapping pattern, which does NOT match the full path, but rather
the context path /testapp.
I like your idea of using filters to rewrite CSS paths. Could you give me a
hint on how to do that best?
Thanks.
I have a different perspective on using consistent environments across
development and design teams. I think it will be unreasonable to expect
designers to change a CSS file, update the WAR file and redeploy it on the
local Tomcat instane just to see how CSS changes affected the look of the
We would like to log some Tomcat metrics that are available via JMX. I
would like to find a tool to log specified attributes at certain
intervals so we can review them later. Ultimately we would like to
characterize the load on some of the Tomcat servers, session counts /
requests per minute /
On 7/5/06, Alec Swan [EMAIL PROTECTED] wrote:
I like your idea of using filters to rewrite CSS paths. Could you give
me a hint on how to do that best?
Actually, if you're in a hurry, you could just use the URL Rewrite Filter
-- see http://tuckey.org/urlrewrite/ -- an incredibly handy tool
Dear Sir:
Issue:
'Update Worker' does not respond/is hung when trying to use Disabled/Stopped
options.
workers.properties file as follows...
#
# workers.properties
#
# In Unix, we use forward slashes:
ps=/
# list the workers by name
#worker.list=lab2a, lab2b, lab2c, lab2d, lab2e, lab2e,
Hi Hung,
I am trying to install SSL certificate with Tomcat 5.5.15. I obtained the
private key from verisign.I am trying to configur it in Tomcat. At present
Tomcat5.5.15+apache2 with mod_jk connector(ajp13) is working very fine. I am
able to browse my site with http://testserver. without
Beautiful! I'll give it a try!
Thanks.
Hassan Schroeder [EMAIL PROTECTED] wrote: On 7/5/06, Alec Swan wrote:
I like your idea of using filters to rewrite CSS paths. Could you give
me a hint on how to do that best?
Actually, if you're in a hurry, you could just use the URL Rewrite Filter
--
I have some good news. I'm deploying an ear that contains a war that
has this problem.
I have another war that depends on some of the code that's in the
ear. I thought I'd wait until I got the ear working before trying the
war.
I decided on a lark to see what happens with the war. It works
This is a good Idea.
We already use Jmeter to test GC performance.
thanks for the tip.
but we have a variation of classes and customer behavious which is difficult
to simulate with jmeter.
we run load tests with one heavy class.
--
View this message in context:
More good news. It appears that it's really only one page that has
this problem!! (Or one that I've found so far.)
I'm amazed that I didn't see this at first. Now I have to figure out
what's wrong with that page.
On Jul 5, 2006, at 12:23 PM, Pid wrote:
Can you execute an arbitrary JSP
It looks like the problem has to do with the extension of the jsp
source file. It doesn't have the jsp extension, it's got a jspf
extension.
I have about 4 of them, and they all have the same problem.
Now I just have to figure out how to tell Tomcat to treat a .jspf
file as a .jsp file.
Hassan Schroeder wrote:
On 7/4/06, Sergei P. Volin [EMAIL PROTECTED] wrote:
I've never seen it before - Tomcat compiles a couple of my JSPs on every
request! Why? How can it be?
Have you checked whether:
1) some other process is touching them and updating the timestamp
2) the timestamp
On 7/5/06, Sergei P. Volin [EMAIL PROTECTED] wrote:
1) some other process is touching them and updating the timestamp
2) the timestamp is in the future
The other thing that I noticed in my server is that the server clock is
15 min slow a day. Can it be the reason?..
That means that if
Hassan Schroeder wrote:
1) some other process is touching them and updating the timestamp
2) the timestamp is in the future
The other thing that I noticed in my server is that the server clock is
15 min slow a day. Can it be the reason?..
That means that if you drop a changed JSP on the
On 7/5/06, Speulman, Elly [EMAIL PROTECTED] wrote:
Is there anyone out there who has been able to configure more than 1550M for
Tomcat 5.0 on a Windows advanced server installation. The server has a total
of 4Gb of memory. We are just not able to cross a border.
Config of Tomcat memory takes
I am trying to use JNDI to externalize some configuration properties in
a web application.
These properties are strings and are environment specific. Because they
are impacted by the environment the web application is deployed on, I do
not want to include them in the web.xml.
In reading the
Hi,
as a reminder: I will summarize test feedback for mod_jk 1.2.16 late
friday, and provided positive test results the Apache Tomcat project
will proceed to vote on the final release. Until now only about 10
downloads happened, so we need more users to participate!
To ensure a quality release
Thank you.
fjm
On Jul 4, 2006, at 4:45 PM, Avi Deitcher wrote:
Frank,
See http://www.mcsr.olemiss.edu/unixhelp/environment/env3d.html
It has been too many years since I did bash, but if I remember
correctly, basically, just to JAVA_HOME=/System/etc; export
JAVA_HOME
However, why not
Thank you.
fjm
On Jul 5, 2006, at 12:33 PM, Peter Crowther wrote:
From: Frank Murray [mailto:[EMAIL PROTECTED]
I get the error msg -bash: setenv: command not found
Ah, the good old Bourne / csh gotcha - well, one of many :-).
export JAVA_HOME=...
Or
JAVA_HOME=...
export JAVA_HOME
Hello,
I think you found a real bug. Could you please try the following patch:
Index: jk_status.c
===
--- jk_status.c (revision 418136)
+++ jk_status.c (working copy)
@@ -755,13 +755,9 @@
i = status_bool(wd,
asaf.lahav wrote:
How can I obtain the name of the web application name my listener servlet is
running under in Java?
There is no such thing as a listener servlet but there are a bunch of
different Listener classes. Which one are you trying to use?
Mark
dirk ooms wrote:
Is there a way to do this or am i missing something?
Not without writing some custom code. Your first security-constraint
will be ignored unless the user directly requests the login page
(which will give a different error).
Mark
When starting a new thread (ie sending a message to the list about a
new topic) please do not reply to an existing message and change the
subject line. To many of the list archiving services and mail clients
used by list subscribers this makes your new message appear as part
of the old thread.
ngolehung84 wrote:
Hi,
I'm using Tomcate 5.5.15. I have just configured SSL successful. Now I want
tthat the Server will authenticate the Client by Client Certificate or
Username/Password!
Each web application can only use one authentication method. The
methods supported are BASIC, DIGEST,
Speulman, Elly wrote:
Hi,
Is there anyone out there who has been able to configure more than 1550M for
Tomcat 5.0 on a Windows advanced server installation. The server has a total
of 4Gb of memory. We are just not able to cross a border.
Config of Tomcat memory takes place via the Tomcat
[EMAIL PROTECTED] wrote:
What am I missing?
From http://tomcat.apache.org/tomcat-5.5-doc/jndi-resources-howto.html
quote
Tomcat 5 maintains a separate namespace of global resources for the
entire server. These are configured in the GlobalNameingResources
element of $CATALINA_HOME/conf/server.xml.
Hi!
May I know which specification that describe the web.xml contents?
And where can we download it?
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands,
wolverine my wrote:
Hi!
May I know which specification that describe the web.xml contents?
And where can we download it?
Depends on the version of Tomcat
3.x 2.2
4.x 2.3
5.x 2.4
All available from
http://java.sun.com/products/servlet/reference/api/index.html
Mark
Hi!
I have servlet, that logs it's debugging information to System.out
Now I found, that all data from all webapps goes to one log file in
/var/log/.. file. I decide to redirect System.out to separate log file of an
application, but fails.
I have add these lines to server.xml:
Host name=...
Sorry. Of course, my context tag has the swallowOutput turned into true.
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
wolverine my wrote:
Hi!
May I know which specification that describe the web.xml contents?
Depends. Tomcat supports a few of the Servlet and JSP specs (maybe all
of them). You specify which one you're using in the web.xml itself. As
I recall, Servlets 2.3 has a DTD while Servlets 2.4 has
Dear Sir:
I did this, recompiled and installed.
Its working perfectly now.
Thanks for the help.
Since this version has fixed the 2^32 - 1 number in Busy column, is it safe
to assume that the Busy number in the new version is dead accurate and can
be used as a load balancing method 'B' without
Several people now tried it and the code is much cleaner, so chances are
very good, that the busy part is correct now. Of course, the version is
not finally released now, so the user base of it is still pretty small.
If this is so important for you, you should neverthelese use some script
to
80 matches
Mail list logo