Hi,
I had installed PHP 5.2.2 with Apache 2.0.59 to use Control-M WebAccess 6.2.01,
but I had a problem because in the WebAccess when I clicked in any link of the
page the WebAccess log out.
Due to this I had to install PHP 4.3.9. After installing PHP 4.3.9 I tried to
start Apache and I get
Dear Mon Cab,
Given the results below it looks like this is not a daylight savings
time issue. In fact its extremely odd behavior. Both Tomcat and
the OS have the correct time, and yet when Tomcat compiles the JSP,
the java and class files in the work directory have a create /
modified
gloria.agu...@accenture.com schrieb:
I had installed PHP 5.2.2 with Apache 2.0.59 to use Control-M
WebAccess 6.2.01, but I had a problem because in the WebAccess
when I clicked in any link of the page the WebAccess log out.
This is off-topic here; please take it to a suitable PHP forum or
Yes. That fixed it. Thankyou Kees.
For some reason, the issue was with my WinSCP client.
When I edited a jsp and then looked at the jsp file timestamp on the remote
machine with WinSCP it showed the timestamp as my the current time (local and
remote system times are the same).
gloria.agu...@accenture.com schrieb:
# ./apachectl start
Syntax error on line 232 of /opt/hpws/apache/conf/httpd.conf:
Cannot load /opt/hpws/apache/modules/libphp4.so into server:
'/opt/hpws/apache/modules/libphp4.so' is not a valid load
module: Bad magic
Dear Mon Cab,
Yes. That fixed it. Thankyou Kees.
Glad to help.
For some reason, the issue was with my WinSCP client.
When I edited a jsp and then looked at the jsp file timestamp on the
remote machine with WinSCP it showed the timestamp as my the current
time (local and remote
Thanks Kees
It looks like this is a known issue with the WinSCP client. The issue is with
UTC vs DST, and seems to result from an assumption as to whether the remote
server adjusts for DST or not. It results in WinSCP both displaying incorrect
timestamps for files on the server, as well as
praveen83 wrote:
Hi folks,
I have some files in the one of the web application (say sample) but these
files can be opened from other system without any authentication.
example:
http://192.168.100.1:8080/sample/MEL2/IC/2008/APR/MEL2_IC_2008_APR_EMP12301.pdf.
so please any guide me how
sunil chandran wrote:
Hello all,
I am getting an error daily in tomcat 4.1.24 version.
Yet again, Tomcat 4.1.x is not supported. You need to upgrade.
SEVERE: All threads are busy, waiting. Please increase maxthreads or check
the servlet status 75 75.Stopping service tomcat-standalone
Hello,
I need help to configure my apache webserver and my tomcat by mod_jk using
ssl. I have installed a certificate in my tomcat keystore. It works fine
when I call my webapp directly from tomcat.
Now I have the aim that my webapp is served by the apache webserver. I
configure the webserver
Hi,
Sorry If this is not interesting. I couldn't find all of the console contents
in log files. If not available in log files can I manage the console to read
the full contents somehow?. FYI I use old tomcat bundled with liferay
tomcat(5.0) and I cannot upgrade due to some team policies.
Hello,
I need help to configure my apache webserver and my tomcat by mod_jk using
ssl. I have installed a certificate in my tomcat keystore. It works fine
when I call my webapp directly from tomcat.
Now I have the aim that my webapp is served by the apache webserver. I
configure the webserver
(IANA certificate expert)
It is not clear to me do you have control over Glassfish server or not.
If you do, just generate self-signed certificate for the Glassfish one
more time, giving IP address instead of FQDN for CN.
If you don't, than you need to check does certifiate have
On 14/08/2009 00:56, hruesga wrote:
No, BMC has no idea regarding why tomcat behaves like this way, actually they
only support BMC Applications does not give any reference from other apps
(including webservers)
OK...
Well since you haven't demonstrated that there's either a problem with
On 14/08/2009 10:05, Christoph Thodte wrote:
Hello,
I need help to configure my apache webserver and my tomcat by mod_jk using
ssl. I have installed a certificate in my tomcat keystore. It works fine
when I call my webapp directly from tomcat.
Now I have the aim that my webapp is served by the
By the way what i'm requesting is information, this information is gained
from the catalina.out log file, so if any of you need the full trace of log
please advice.
Pid-6 wrote:
On 14/08/2009 00:56, hruesga wrote:
No, BMC has no idea regarding why tomcat behaves like this way, actually
Christoph Thodte wrote:
Hello,
I need help to configure my apache webserver and my tomcat by mod_jk using
ssl. I have installed a certificate in my tomcat keystore. It works fine
when I call my webapp directly from tomcat.
Now I have the aim that my webapp is served by the apache
Dear Tomcat experts,
I've been trying to figure out how to change the default webapp in
Tomcat 6.0.18 from 'ROOT' to 'uPortal'. I want it such that, when a user
enters http://www.myportal.ac.uk/ into their browser they get uPortal
rather than the default out-of-the-box Tomcat landing page.
Nick Fielding wrote:
I've been trying to figure out how to change the default webapp in
Tomcat 6.0.18 from 'ROOT' to 'uPortal'.
- The uPortal.war could be renamed to ROOT.war, however, I would
rather much prefer to keep uPortal in the 'uPortal' webapp directory.
- I'd like to
Thanks for your reply Mark.
I feared this might be the case. I'm thinking deploying uPortal into the ROOT
webapp might be our best option.
Thanks again,
Nick
University of the West of England, Bristol
-Original Message-
From: Mark Thomas [mailto:ma...@apache.org]
Sent: 14 August
On 14/08/2009 11:09, hruesga wrote:
By the way what i'm requesting is information, this information is gained
from the catalina.out log file, so if any of you need the full trace of log
please advice.
See below:
- We have reached the max number proxies in the pool; wait for one to
become
Our application deployed in Tomcat running in Windows 2003 server is very
slow. Whenever the user tries page navigation, more CPU is used (15 - 25%)
in the server and it seems only 2 cores out of 8 in the processor is used by
Tomcat.
Can any one suggest me how to fix this issue? FYI, while
2009/8/14 shivram.raj sr1...@soton.ac.uk:
Our application deployed in Tomcat running in Windows 2003 server is very
slow. Whenever the user tries page navigation, more CPU is used (15 - 25%)
in the server and it seems only 2 cores out of 8 in the processor is used by
Tomcat.
How many
Hi,
yes, sorry, I think I didn´t look for the error in google very well :-(
Thank you for your help. I compiled in 64 bits and then I started Apache.
For other people with this problem in HP-UX 11.23 i64 and with the make
compiling in 32 bits, the solution was:
- add the variable
BerMO wrote:
I've install tomcat 6.0.16 on AIX and try to start it up but when tomcat
started it's immediately shutdown.
The catalina.out is show below, please help
Jul 29, 2008 11:54:45 AM org.apache.catalina.core.AprLifecycleListener
init
INFO: The APR based Apache Tomcat Native
poster: read erics how to ask questions the smart way specifically
Choose your forum carefullyBe sensitive in choosing where you ask your
question. You are
likely to be ignored, or written off as a loser, if you:
post your question to a forum where it's off topic
as you already know ..this is a
Kees Jan Koster wrote:
Dear Mon Cab,
Yes. That fixed it. Thankyou Kees.
Glad to help.
For some reason, the issue was with my WinSCP client.
When I edited a jsp and then looked at the jsp file timestamp on the
remote machine with WinSCP it showed the timestamp as my the current
time
Nick Fielding wrote:
(Note by the way that there is a FAQ for that in the Tomcat Wiki, and
numerous previous threads on the issue).
1) stop Tomcat
2) make a copy of webapps/ROOT, just in case you want later to revert
3) delete ROOT, and whatever is below it
4) rename webapps/uPortal to
echo catalina.out (without the outside quotes) works for us.
Dan
-Original Message-
From: Susan Richards [mailto:richa...@matc.edu]
Sent: Friday, August 14, 2009 8:53 AM
To: users@tomcat.apache.org
Subject: Clearing the catalina.out file
Do I need to stop the web server in order to
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Eric,
On 8/13/2009 11:39 AM, Eric B. wrote:
That being said, I was leaning towards using the NIO connector for my
installation. However, I was pretty surprised and shocked when reading
Tomcat - The Definitive Guide 2nd Edition by Jason Brittain
catalina.out
Why type more ;-)
HTH
Serge
On Fri, Aug 14, 2009 at 3:58 PM, Dan Denton dden...@remitpro.com wrote:
echo catalina.out (without the outside quotes) works for us.
Dan
-Original Message-
From: Susan Richards [mailto:richa...@matc.edu]
Sent: Friday, August 14, 2009
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
André,
On 8/13/2009 6:39 PM, André Warnier wrote:
vik111 wrote:
Hi. I am developing a website where on the homepage there will be 50+
images
displayed, hence performance of my app is imperative. I have read about
browser caching and was
What about stopping the web server? Required? Thanks for the answers.
Serge Fonville serge.fonvi...@gmail.com 8/14/2009 9:13 AM
catalina.out
Why type more ;-)
HTH
Serge
On Fri, Aug 14, 2009 at 3:58 PM, Dan Denton dden...@remitpro.com wrote:
echo catalina.out (without the outside
2009/8/14 André Warnier a...@ice-sa.com:
But since I am also a heavy user of WinSCP, connecting to my various Apache
and Tomcat machines, and I also see that same issue (some server sometimes
showing me server files with a timestamp off by one hour more or less), and
this has been puzzling me
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Sunil,
On 8/13/2009 1:11 AM, sunil chandran wrote:
Now installing tomcat 4.1.40 what all changes will be required in my sevice..
no change in application?
You are very unlikely to require any webapp changes.
maybe installation and
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Josh,
On 8/13/2009 2:38 PM, Josh Gooding wrote:
So I navigated to https://(domain).com and low and behold it works :).
Glad it's working for you.
Next few questions:
Well, it's your thread, so I guess hijacking isn't that big of a deal...
#1 -
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Peter,
On 8/14/2009 7:52 AM, Peter Crowther wrote:
How many concurrent requests are you sending, and how are you sending
them? If you're testing your app using a single Web browser, most
browsers will not send more than two concurrent requests to
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Mon,
On 8/14/2009 1:18 AM, Mon Cab wrote:
import java.util.*;
public class DateTest {
public static void main(String[] args) {
System.out.println(Date = + new Date());
System.out.println(Calendar = + Calendar.getInstance());
}
}
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
André,
On 8/14/2009 9:08 AM, André Warnier wrote:
My systems are using NTP to synchronise their time, workstations too.
But I still see this discrepancy.
I think Kees Jan was saying that NTP is just generally a good idea, not
that it has anything
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Susan,
On 8/14/2009 10:19 AM, Susan Richards wrote:
What about stopping the web server? Required? Thanks for the answers.
This seems like an easy thing to just try. Have you?
- -chris
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (MingW32)
No, but I will do it with a test server first since no one knows the answer.
Christopher Schultz ch...@christopherschultz.net 8/14/2009 9:47 AM
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Susan,
On 8/14/2009 10:19 AM, Susan Richards wrote:
What about stopping the web server? Required?
Susan,
Tomcat does not lock the file, since it is write only, clearing it has no
impact on the service.
I recall having a catalina.out that reached 4GB withon the hour due to a
read only filesystem.
Clearing it while it is running had no impact.
Googling also tends to be helpful...
HTH
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Susan,
On 8/14/2009 11:06 AM, Susan Richards wrote:
No, but I will do it with a test server first since no one knows the answer.
It's not that nobody knows the answer: it's that actually /trying/ to do
it takes less time than posting to the mailing
Hi,
We currently have a context configuration
(conf/Catalina/localhost/partnerco.xml) file that contains the following :
Context debug=1 docBase=/data/webapps/enroll/agent
path=/enroll/partnerco reloadable=true override=true
Parameter name=redirectURL value=/agent/enroll.do?partner=PC
If I had time to learn how logrotate works I wouldn't need to post to the list
and waste your time, but if you're going to reply to a question, why answer
only part of it? If you know the answer, why spend the time telling me to try
it out? I will have learned either way and won't have to ask
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Andre John,
On 8/14/2009 11:37 AM, andre John Mas wrote:
How can I get back this functionality, without having to change the
application architecture? I have tried moving the context file to:
conf/Catalina/localhost/enroll/partnerco.xml
but
Susan,
If I had time to learn how logrotate works I wouldn't need to post to the
list and waste your time, but if you're going to reply to a question, why
answer only part of it? If you know the answer, why spend the time telling
me to try it out? I will have learned either way and won't
If you use tomcat with Eclipse, can you email me please? clen...@comcast.net
Thanks
Chris
On Fri, Aug 14, 2009 at 11:23, Christopher
Schultzch...@christopherschultz.net wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Susan,
On 8/14/2009 11:06 AM, Susan Richards wrote:
No, but I will do it with a test server first since no one knows the answer.
It's not that nobody knows
Logrotate isn't going to work because the file is never re-set. Typically,
when you use LogRotate with something like apache you send a command to
re-start it.
In Unix, if you erase a file that's still open, that file will be removed
from the directory but it will exist and consume space until
Date: Fri, 14 Aug 2009 11:44:37 -0400
From: ch...@christopherschultz.net
To: users@tomcat.apache.org
Subject: Re: Sub paths and context (migrating Tomcat 5.0 to 5.5)
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Andre John,
On 8/14/2009 11:37 AM, andre John Mas wrote:
How can I
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Susan,
On 8/14/2009 11:37 AM, Susan Richards wrote:
If I had time to learn how logrotate works I wouldn't need to post
to the list and waste your time, but if you're going to reply to a
question, why answer only part of it?
Logrotate's operation
Another issue to consider is that Tomcat runs a single instance of Java
VM, but often runs multiple webapps. If each webapp takes the approach
that it can set the default timezone to its liking, you'll find that
you get a mixed bag based on which webapp was the last to reload. At
least
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
George,
On 8/14/2009 12:48 PM, George Sexton wrote:
Logrotate isn't going to work because the file is never re-set.
Typically, when you use LogRotate with something like apache you send
a command to re-start it.
Sure it will. Check the
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Len,
On 8/14/2009 12:27 PM, Len Popp wrote:
Testing it *properly* would take far longer than asking an expert
See my other post: testing is trivial.
if it happens that some expert already knows the answer.
Fair enough. I guess my complaint is
2009/8/14 André Warnier a...@ice-sa.com:
This is really off-topic here, being WinSCP more than anything else.
But since I am also a heavy user of WinSCP, connecting to my various Apache
and Tomcat machines, and I also see that same issue (some server sometimes
showing me server files with a
Just a word of warning: your mileage might vary with SSL/APR. We deployed our
app using tomcat 5.5 with the following valve implemented in the context:
Valve className=org.apache.catalina.authenticator.SSLAuthenticator
securePagesWithPragma=false /
and found that every page was being marked
Need some help or advice..
For Security reasons,
We need to do logging for IP,username, etc(AUDIT).
We need to log success and failed attempts.
We don't want to modify the internal classes(unless it's impossible).
We are using the FORM auth-method, we POST to j_security_check. We have
I was able to change the expiration on the cookie with a one line change
to org.apache.catalina.connector.Request and it works like I need it to.
What is the official way to request an enhancement to allow this to be
configurable?
mitch
Mitch Claborn wrote:
The answer is: yes, there are times
Chris,
-Original Message-
From: Christopher Schultz [mailto:ch...@christopherschultz.net]
Sent: Friday, August 14, 2009 10:59 AM
To: Tomcat Users List
Subject: Re: Clearing the catalina.out file
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
George,
On 8/14/2009 12:48 PM,
From: George Sexton [mailto:geor...@mhsoftware.com]
Subject: RE: Clearing the catalina.out file
On one of my production servers, I erased catalina.out.
Exactly how? What's been under discussion here is a truncation operation, not
an unlink.
- Chuck
THIS COMMUNICATION MAY CONTAIN
I have some suggestions to those who are concerned about catalina.out:
1. Just don't write to stdout. Tomcat produces very little output
to stdout. Your web application can avoid doing it. Finally,
Tomcat provides a swallowOutput option for webapps so that
System.out and System.err end
rm catalina.out
You're right. He truncated it.
It looks like neither one of us is reading the entire message. I said if you
erase the file, it's held open. This is accurate. He responded with a way of
truncating the file, and that works too.
George Sexton
MH Software, Inc.
From: George Sexton [mailto:geor...@mhsoftware.com]
Subject: RE: Clearing the catalina.out file
rm catalina.out
Which is an unlink, not an erase; all the suggestions so far have been for
truncation.
An inode and its associated data blocks are never discarded until the busy
count goes to
Here's what I originally wrote and Chris responded to:
In Unix, if you erase a file that's still open, that file will be removed
from the directory but it will exist and consume space until the application
closes it. The holding application can continue to put data in it. So, if
you want to
From: George Sexton [mailto:geor...@mhsoftware.com]
Subject: RE: Clearing the catalina.out file
You'll note that what I wrote about erasing files is exactly
in line with what you just wrote.
I think the confusion lies with the use of the ambiguous term erase; I (and
others that I've asked)
Thanks Chris, I appreciate it!
On Fri, Aug 14, 2009 at 10:30 AM, Christopher Schultz
ch...@christopherschultz.net wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Josh,
On 8/13/2009 2:38 PM, Josh Gooding wrote:
So I navigated to https://(domain).com and low and behold it works :).
Christopher Schultz wrote:
It sounds like WinSCP is assumes that everyone uses the same DST rules
and applies them blindly. No amount of date synchronization can make
WinSCP less stupid :)
To the defense of WinSCP, it is not a stupid program in general, at the
contrary. That is why this time
Hello,
I'm seeing IOExceptions when writing/flushing my Comet servlet
OutputStream. The fist exception is difficult to pinpoint, but it seems
it raises and ERROR event which ultimately enacts a event.close(). This
in turn results in the following stack trace for subsequent operations:
Konstantin Kolinko wrote:
WinSCP documentation:
http://winscp.net/eng/docs/timestamp
FAQ pages (they point back to documentation, though):
http://winscp.net/eng/docs/faq_win_timestamp
http://winscp.net/eng/docs/faq_timestamp
Thanks. I had not seen those, and they do seem reasonable. Seems
don't clip the stack trace please, do you have the full one?
On 08/14/2009 03:24 PM, Jason Ward wrote:
Hello,
I'm seeing IOExceptions when writing/flushing my Comet servlet
OutputStream. The fist exception is difficult to pinpoint, but it
seems it raises and ERROR event which ultimately
andre John Mas wrote:
Date: Fri, 14 Aug 2009 11:44:37 -0400
From: ch...@christopherschultz.net
To: users@tomcat.apache.org
Subject: Re: Sub paths and context (migrating Tomcat 5.0 to 5.5)
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Andre John,
On 8/14/2009 11:37 AM, andre John Mas
Hi everyone,
I run uPortal 2.53 on Ubuntu with java-1.5.0-sun-1.5.0.18, tomcat5.5.25,
Apache2, mod_jk. I have run uPortal for over two years using the Ubuntu
install of Tomcat 5.0. A few weeks ago I restarted Tomcat 5.0 and got a
rendering error from uPortal. Since this is our live site, I
Daniel Stephens wrote:
Need some help or advice..
For Security reasons,
We need to do logging for IP,username, etc(AUDIT).
We need to log success and failed attempts.
We don't want to modify the internal classes(unless it's impossible).
We are using the FORM auth-method, we POST
Mitch Claborn wrote:
I was able to change the expiration on the cookie with a one line change
to org.apache.catalina.connector.Request and it works like I need it to.
What is the official way to request an enhancement to allow this to be
configurable?
The correct way is to open a bugzilla
On 14/08/2009 19:32, Mitch Claborn wrote:
I was able to change the expiration on the cookie with a one line change
to org.apache.catalina.connector.Request and it works like I need it to.
What is the official way to request an enhancement to allow this to be
configurable?
Doesn't
Eric B. wrote:
I have some suggestions to those who are concerned about catalina.out:
1. Just don't write to stdout. Tomcat produces very little output
to stdout. Your web application can avoid doing it. Finally,
Tomcat provides a swallowOutput option for webapps so that
System.out and
Eric B. wrote:
Hi,
I'm trying to get Tomcat to log the output each context individually in its
own log file.
I tried using the swallowOutput in my context object definition, but am
getting some really weird results from it. My webapp uses log4j to do its
logging with its own log4j.xml
Kristen Walker wrote:
Hi everyone,
snip /
Please don't hijack threads.
Mark
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org
Filip - everything below that is from our (proprietary) classes. I'll
see if I can extract it into a standalone project or at least clean it
to the point where I can distribute. Hope to get that to you on Monday.
As I said tho, the crux of the problem is coming from the first ioex
which
Apologies for hijacking a previous thread - hopefully this post will start a new
thread.
Hi everyone,
I run uPortal 2.53 on Ubuntu with java-1.5.0-sun-1.5.0.18, tomcat5.5.25,
Apache2, mod_jk. I have run uPortal for over two years using the Ubuntu
install of Tomcat 5.0. A few weeks ago I
On Fri, Aug 14, 2009 at 5:21 PM, kwal...@sbceo.org wrote:
Caused by: org.springframework.dao.DataAccessResourceFailureException:
RDBMServices sql error trying to get connection to uportal; nested exception
is org.apache.commons.dbcp.SQLNestedException: Cannot get a connection, pool
exhausted
ok, if the stack trace comes from an async thread, then it just means
the CometEvent is closed and has been recycled
Filip
On 08/14/2009 06:01 PM, Jason Ward wrote:
Filip - everything below that is from our (proprietary) classes. I'll
see if I can extract it into a standalone project or at
Sorry if this is a stupid question, I am pretty new to this, but how do I set
the db connection pool size to 1?
Thanks,
Kristen
Quoting Hassan Schroeder hassan.schroe...@gmail.com:
On your test/staging server, set your db connection pool size to 1
and exercise the site; if there's a
On Fri, Aug 14, 2009 at 6:04 PM, kwal...@sbceo.org wrote:
how do I set the db connection pool size to 1?
Resource
name=jdbc/PortalDb
maxActive=1
maxIdle=1
/
--
Hassan Schroeder hassan.schroe...@gmail.com
twitter: @hassan
dbcp parameters are located in a *.jocl file located on your classpath
(WEB-INF/classes)
which should look something like
object class=org.apache.commons.dbcp.PoolableConnectionFactory
xmlns=http://apache.org/xml/xmlns/jakarta/commons/jocl;
!-- the first argument is the ConnectionFactory --
Mark Thomas ma...@apache.org wrote in message
news:4a85f872.7040...@apache.org...
Eric B. wrote:
Based on that configuration (and swallowOutput documentation) I would
expect
that all logging from my root context would therefor go through
6root.org.apache.juli.FileHandler log file.
On 08/14/2009 09:57 PM, Eric B. wrote:
Mark Thomasma...@apache.org wrote in message
news:4a85f872.7040...@apache.org...
Eric B. wrote:
Based on that configuration (and swallowOutput documentation) I would
expect
that all logging from my root context would therefor go through
88 matches
Mail list logo