I am trying to get apache2.2 to connect with Tomcat 6 both running on one XP
machine. Apache starts fine on its own, but when I add these lines to
httpd.conf, apache fails to start:
LoadModulejk_module C:/Program Files/Apache Software
Foundation/Apache2.2/modules/mod_jk.so
-Original Message-
From: removeps-gro...@yahoo.com [mailto:removeps-gro...@yahoo.com]
How to have multiple loggers with shared code also using the logger?
This is more of a log4j question that a Tomcat one. From a brief look at the
log4j sources it looks as if you'll need a custom
What is the recommended way if any, of restarting the http Connector ? i.e.
is there an api for achieving this?
thanks,
Mike
Nathan Potter wrote:
I mapped one of my servlets to be the default servlet:
servlet-mapping
servlet-namehyrax/servlet-name
url-pattern*/url-pattern
/servlet-mapping
And since it doesn't serve static content like the Tomcat
DefaultServlet, I'm not seeing the
Hi there,
I have a rather interesting / complex problem..creating a connection to
CA-IDMS from Tomcat using JDBC type 4 drivers (CA provide the type 4
driver).
We have a zSeries 9 IBM mainframe running CA-IDMS r16.1, and I need to
connect to the IDMS from Tomcat (running on Linux) using the
johnrock wrote:
[...]
Maybe you are just the (guess) 10 millionth user to get hit by the
stupid stupid idea of someone in the distant past to allow spaces in
file paths ?
Try to put the paths between quotes, just for checking.
Like :
LoadModulejk_module C:/Program Files/Apache Software
Hi.
Christopher Schultz wrote:
André,
André Warnier wrote:
an existing webapp reads from a socket connected to an external program.
The input stream is created as follows :
fromApp = socket.getInputStream();
The read is as follows :
StringBuffer buf = new StringBuffer(2000);
int ic;
Dear Mike,
What is the recommended way if any, of restarting the http
Connector ? i.e.
is there an api for achieving this?
You asked before. I suggested you use JMX. Have you made any headway
in that direction?
--
Kees Jan
http://java-monitor.com/forum/
kjkos...@kjkoster.org
Hi Rusty,
Thanks for this valuable script. I run on Fedora but should be okay by
little tweaking. Will try this script and will update if this okay to me :)
On Mon, Jan 12, 2009 at 12:26 AM, Rusty Wright rusty.wri...@gmail.comwrote:
I made this by modifying one for a different service.
It's
Feris-
remember to edit $CATALINA_HOME/conf/catalina.policy and specify at minimum
'execute' permissions for the folder containing the scripts
Martin
__
Disclaimer and confidentiality note
Everything in this e-mail and any attachments relates to
From: removeps-gro...@yahoo.com [mailto:removeps-gro...@yahoo.com]
Subject: How to have multiple loggers with shared code also
using the logger?
How to have multiple loggers with shared code also using the logger?
In ${catalina.home}/lib there is a jar file that contains class MyLog.
From: Angelo Chen [mailto:angelochen...@yahoo.com.hk]
Subject: logging
any way to remove thos [Loaded...] logs? Thanks,
That's not a message from Tomcat but rather from the JVM. If you don't want to
see them, then don't specify -verbose:class on the JVM command line used to
start Tomcat.
Our website has several hundred JSP pages, many of them with dynamic
includes;
when we modify a page that is more popular (accessed more often) than
others,
the change will not be reflected. Less popular pages have no problem to
reflect
the changes. It's definitely not a browser cache
-Original Message-
From: Martin Gainty [mailto:mgai...@hotmail.com]
Sent: 13 January 2009 14:18
To: Tomcat Users List
Subject: RE: Linux Runtime Script
Feris-
remember to edit $CATALINA_HOME/conf/catalina.policy and specify at
minimum 'execute' permissions for the folder
Our current versions are as follows:
Apache Web Server 2.0.58
Apache Tomcat 5.5.17
Java 1.4.2_11
We would like to upgrade our Apache Web Server to 2.2.11. Could we keep
the rest of the above the same?
- Thanks in advance for your time,
Steve
The
From: Thales [mailto:jwal...@hotmail.com]
Subject: Configuring Tomcat -- moving to another directory
The directories are:
C:\jbin\jdk1.6.0_07
C:\jbin\Tomcat6.0
Where is the configuration information for tomcat?
When you install Tomcat as a Windows service, the path information is kept in
Hi Jan,
Initially I was trying to make modifications inside the connector code.
This worked but since it is not documented I was concerned about undesirable
side effects. I've also managed to simply refresh the serversocketfactory -
this also worked but again, the same concern arises. Now I'm
Hello
As we are not providing any log4j configuration for individual web app, I
guess, Tomcat is directing all the log4j log messages in the code to system.out
which in turn is being written to catalina.out
Agree that it may not be a good idea to direct log messages from all web apps
to a
Well, thank you very much for pointing this out to me. Wrapping the paths in
quotes did solve the problem. Of course I should have known it was something
so trivial since I spent about 8 hours trying every possibility I could
think of to no avail..its always the stupid things that you can't
From: Jay [mailto:difficult...@yahoo.com]
Subject: RE: Logging configuration in Tomcat
I guess, Tomcat is directing all the log4j log messages
in the code to system.out which in turn is being written
to catalina.out
You laboring under a misconception - Tomcat doesn't interact with log4j at
Send reply to: Tomcat Users List users@tomcat.apache.org
Subject:Apache Web Server 2.2.11 compatibility with Tomcat 5.5.17?
Date sent: Tue, 13 Jan 2009 08:55:31 -0600
From: Curry, Steve scu...@cfindustries.com
To: users@tomcat.apache.org
Our current versions are as follows:
Jay wrote:
Hello
As we are not providing any log4j configuration for individual web app, I
guess, Tomcat is directing all the log4j log messages in the code to
system.out which in turn is being written to catalina.out
Agree that it may not be a good idea to direct log messages from
What's the simplest way to support Expect: 100-continue requests in a servlet
running on Tomcat 6?
My current solution is to look for the expect header, check whether its
value is 100-continue and if it is, then I get a BufferedReader from the
request [request.getReader()] and dump the contents
Ok. What I am asking is, is there a mechanism to roll catalina.out based on
size of the file.
Thanks
--- On Tue, 1/13/09, Caldarale, Charles R chuck.caldar...@unisys.com wrote:
From: Caldarale, Charles R chuck.caldar...@unisys.com
Subject: RE: Logging configuration in Tomcat
To: Tomcat Users
From: Jay [mailto:difficult...@yahoo.com]
Subject: RE: Logging configuration in Tomcat
Ok. What I am asking is, is there a mechanism to roll
catalina.out based on size of the file.
You're missing the point. If you configure log4j properly AND your webapps do
not make direct use of
Filip,
I am having the exact issue that is referred to in the link below. I have
tried the recommended workarounds but I am still seeing the problem.
Could you please let me know if this is a bug that has been resolved in new
versions? We are running tomcat 6.0.14.
The posting has no further
hi Nick,
the issue in the email was caused by a dead lock in 6.0.14 and was later
resolved.
Upgrading to 6.0.18 should take care of the problem
Filip
Nick Ascione wrote:
Filip,
I am having the exact issue that is referred to in the link below. I have
tried the recommended workarounds but I
Thanks Filip.
On Tue, Jan 13, 2009 at 2:50 PM, Filip Hanik - Dev Lists devli...@hanik.com
wrote:
hi Nick,
the issue in the email was caused by a dead lock in 6.0.14 and was later
resolved.
Upgrading to 6.0.18 should take care of the problem
Filip
Nick Ascione wrote:
Filip,
I am
Hi,
I am experiencing a problem with the JK connector.
I have a customer that uses insanely long URLs for his Tomcat application.
Here is the configuration:
IIS 5
JK 1.2.26 (also tested with 1.2.27 and 1.2.14)
By opening one of these URLs, if more than 2102 bytes long, the browser
shows this
What we are observing is: 1) Client initiates the POST with the 'Expect:
100-continue' header, 2) Tomcat responds with '100 Continue', 3) Tomcat
calls the servlet. Now once we are in our servlet, unless we explicitly read
from the request's BufferedReader, the client will not send the remainder
If your JDBC driver has a DataSource, then check to see if it has a
javax.naming.spi.ObjectFactory implementation, this is the one you would
specify in the factory=some.impl.DataSourceFactory attribute, for example.
Some drivers don't have factories, and then you simply use Tomcat's own
That is how it is with every single request.
Tomcat will never read a body unless the servlet initiates the action.
So to read a body you can either
- read the input stream
- read the reader
- issue a request.getParameter (if the body is form encoded, tomcat will
read the body and parse the
Dear Mike,
You mentioned JMX - would I be able to use JMX in such a way that it
would
allow me to restart the connector programatically upon a url request
into my
web app?
I wrote some sample code that does just that, have a look at
http://java-monitor.com/forum/showthread.php?t=169
Thanks Chuck
Here are the environment details
Apache Tomcat/4.1.27
JVM/JDK: 1.4.2_06
Platform:
OS Red Hat Enterprise Linux AS release 3 (Taroon Update 5)
Where Can I get the JVM setting configured for running Tomcat?
Are you refering to setenv.sh ?
CATALINA_OPTS='-Xms512M -Xmx1536M
Please
To answer my own questions :)
1 As soon as I created the /usr/logs directory the error from the
mod_jk.log disappeared and the jk-runtime-status is written into the
directory with the .lock file happily.
2. I made the mistake to put an unneeded slash after the /apps on the
reverse
From: Prakash Nathan1 [mailto:mrap...@yahoo.com]
Subject: RE: Tomcat shutdown script initiates Heap dump collection
Where Can I get the JVM setting configured for running Tomcat?
Are you refering to setenv.sh ?
CATALINA_OPTS='-Xms512M -Xmx1536M
That is one variable you can use; the other
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chuck,
Caldarale, Charles R wrote:
I don't believe there's any configuration mechanism for this
capability. You can implement an HttpSessionListener in conjunction
with a fairly simple filter or valve for the webapps of interest to
limit the
Why is it what I'm trying to do not working though? It seems that my
MyLog.getLogger function does find the correct logger name, and that
Logger.getLogger() is always using the the first log4j.properties that was
found.
Yeah, I had tried something like this, namely to have a class
From: removeps-gro...@yahoo.com [mailto:removeps-gro...@yahoo.com]
Subject: RE: How to have multiple loggers with shared code
also using the logger?
Why is it what I'm trying to do not working though? It seems
that my MyLog.getLogger function does find the correct logger
name, and that
Thanks, Filip.
Upon further investigation, we've discovered that our POSTs were bigger than
the default maxPostSize value (2MB). The call to getParameter(foo) was
returning null and doing a trace showed that the client was not sending the
body.
It appears that Tomcat is returning 100 Continue
I have defined two roles (admin, user)
security-role
role-nameuser/role-name
/security-role
security-role
role-nameadministrator/role-name
/security-role
each of these roles needs to access into separate modules in my webapp. For
achieving this, I have the
Nathan Ashworth wrote:
Thanks, Filip.
Upon further investigation, we've discovered that our POSTs were bigger than
the default maxPostSize value (2MB). The call to getParameter(foo) was
returning null and doing a trace showed that the client was not sending the
body.
good catch
It appears
42 matches
Mail list logo