---
HARBOR: http://coolharbor.100free.com/index.htm
Now Tomcat is also a cool application server
---
- Original Message -
From: Johnny Kewl
I set the tcpListenAddress to the server IP address, and it is working
now. Yay!
-Original Message-
From: Clifford Bryant [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 16, 2007 12:00 AM
To: Tomcat Users List
Subject: RE: CAS Clustering Not Working
The CAS Clustering document says to
David kerber wrote:
Running TC 5.5.15 on Windows server 2003, JRE 1.5.0_12.
Where do I start looking to try to fix the exception below? I get this
on most startups of Tomcat. I know it's related to reloading sessions
that were saved on the previous shutdown, and I've fixed a few
I'll try to make this as short and clear as I can. I have an instalation of
Apache 2.2.6 and tomcat 6.0.14. On the apache side we have instaled the
kerberos mod for authentication. that one is installed ok, we have a php file
that prints out the headers and remoteuser has the correct value. I
Hi,
I’m trying to bend tomcat in my own application. Therefore I’m using the
Embedded Tomcat version 5.5.23.
I have started only a server, engine, host and context, so I have a server
without the sockets etc. this because it has to become a test-application
for the web-app of the company.
I found that issue is around minIdle settings.
When I had following settings:
maxActive = 50
maxIdle = 30
minIdle=30
factory=org.apache.commons.dbcp.BasicDataSourceFactory
maxWait=1
timeBetweenEvictionRunsMillis=90
numTestsPerEvictionRun=50
minEvictableIdleTimeMillis=180
Hans van Zijst wrote:
Hi,
Since I updated my system last week, mod_jk doesn't work anymore. Tomcat starts
up just fine, no errors or warnings. I checked that the AJP1.3 connector runs,
it listens on port 8009. Apache runs fine as well, but as soon as I connect to
the URL I mapped to Tomcat,
Hi All,
I have been working with tomcat and log4j for a while and it worked
perfectly. Now I have updated all my web apps to use commons logging. I
have discovered that the Tomcat developers have absolutly no idea how to
do something right when it comes to commons logging and I am curious to
Thanks for the comments, I ended up writing a little servlet filter. I
forgot to mention that I had a filter mapping /* on the root context, so
that /someuri was being caught by the root context first, so I needed a
filter to bypass this. We're also not proxying through apache.
Cheers
Daniel
Hi Rainer,
Thanks for the reply.
[EMAIL PROTECTED] 16-10-2007 12:11:54
This is my configuration:
Linux (Debian Lenny, i386)
Tomcat 5.5
Apache 2.2.6
mod_jk 1.2.25
Fine.
What's your platform (OS)?
I run Linux, kernel 2.6.22 on an i386, with Sun's SDK 1.5, update 12 and Tomcat
5.5.25.
Martyn Hiemstra wrote:
Hi All,
I have been working with tomcat and log4j for a while and it worked
perfectly. Now I have updated all my web apps to use commons logging. I
have discovered that the Tomcat developers have absolutly no idea how to
do something right when it comes to commons
Mark,
Thank you for your reply. I am aware that Glassfish is not Tomcat. However,
it seems to me that since the class in question is managed by Apache that
there must have been some level of collaboration between the two teams and a
reasonable assumption on my part that Apache may have been
Good Morning
http://localhost/
I mirrored your configuration:
RewriteEngine On
RewriteLogLevel 3
RewriteRule ^/confluence/ - [R,L]
RewriteRule ^(.*)$ /confluence/$1 [R,L,NE]
DocumentRoot /var/www/confluence/confluence
Directory /
Options FollowSymLinks
AllowOverride None
/Directory
Directory
Hi Pid,
Thanks for your response. Please forgive my initial response. After
reading so much about how JCL isnt working correctly under Tomcat I was
getting frustrated. Having to spend 2 days getting it to work without
success is for every programmer frustrating.
I found this website:
Hi Martin,
The problem is not in mod_rewrite, but in mod_jk. The mod_rewrite has worked
like a charm from the beginning, mod_jk has stopped working little more than a
week ago.
Kind regards,
Hans
[EMAIL PROTECTED] 17-10-2000 14:22:31
Good Morning
http://localhost/
I mirrored your
Martyn Hiemstra wrote:
Hi Pid,
Thanks for your response. Please forgive my initial response. After
reading so much about how JCL isnt working correctly under Tomcat I was
getting frustrated. Having to spend 2 days getting it to work without
success is for every programmer frustrating.
I
Hans van Zijst wrote:
How does that file look like? Are the paths OK? Does that file really
get read in?
The mod_jk.log is posted above. If I need to see the messages you
posted, I assume that somehow the workers.properties is not being read
during startup. This is how mod_jk is loaded in
Mark,
I did some further digging and d/l'd the source for Glassfish. I have found
that Glassfish indeed does include a version of Jasper that appears to have
been modified. This confirms some of my thinking in my previous response.
However, it does leave me with an uncomfortable feeling. I'm not
Hi,
[EMAIL PROTECTED] 16-10-2007 14:52:45
Tomcat errors should be irrelevant at this stage, your mod_jk doesn't
initialize correctly, even before trying to context tomcat.
You could double check, if the Apache user can really read
/etc/apache2/workers.properties.
Yup, Apache can find
Fran Varin wrote:
Mark,
Thank you for your reply. I am aware that Glassfish is not Tomcat. However,
it seems to me that since the class in question is managed by Apache that
there must have been some level of collaboration between the two teams
Tomcat was originated with a code donation
Hi Pid,
Thanks for all your answers. Since I have been working on this problem
for some while I will give it a break for a few days and then continue
again with a fresh view. I'll look over everything, this time assuming
the error is on my behalf. When I round up the points you have stated:
Hmm, seems like attachments are filtered out :)
See below. I switched logging to trace, restarted Apache and did the
request. This is the log.
[Tue Oct 16 15:11:44.732 2007] [8966:3078547120] [debug] open_jklog::mod_jk.c
(2652): log time stamp format is '[%a %b %d %H:%M:%S.%Q %Y] '
[Tue Oct
Mark,
Thank you for your note, it does clear up the confusion over this quite a
bit. Regarding your comment that patches are always welcome. I am interested
in pursuing this with the Jasper code base. What channels do I need to go
through to open up a clear line of communication/assistance with
I'm really puzzled. Somehow a lot of standard startup messages are
missing. As long as they are not there, it might not be helpful to look
for additional reasons, why the worker is not working.
Did you define a JkLogFile (and JkLogLevel) inside the global server?
Are you using one of the two
How do I configure Tomcat to provide a page redirect from the context of
a servlet to the default start page i.e.:
/myapp/ to go to - /myapp/home
Thanks
Peter
-
To start a new topic, e-mail: users@tomcat.apache.org
To
On Tue, 2007-10-16 at 15:37 +0200, Hans van Zijst wrote:
Hmm, seems like attachments are filtered out :)
See below. I switched logging to trace, restarted Apache and did the
request. This is the log.
[Tue Oct 16 15:11:59.287 2007] [8973:3068496784] [debug]
add a myapp/index.jsp that does the redirect
En l'instant précis du 16/10/07 16:13, Peter Stavrinides s'exprimait en
ces termes:
How do I configure Tomcat to provide a page redirect from the context
of a servlet to the default start page i.e.:
/myapp/ to go to - /myapp/home
Thanks
Peter Stavrinides wrote:
How do I configure Tomcat to provide a page redirect from the context of
a servlet to the default start page i.e.:
/myapp/ to go to - /myapp/home
add home to the list of 'welcome' files in your web.xml
welcome-file-list
welcome-fileindex.jsp/welcome-file
Thanks!
Pid wrote:
Peter Stavrinides wrote:
How do I configure Tomcat to provide a page redirect from the context of
a servlet to the default start page i.e.:
/myapp/ to go to - /myapp/home
add home to the list of 'welcome' files in your web.xml
welcome-file-list
Hi Ben,
Yes, Tomcat is listening on port 8009 on both interfaces (external IP and
localhost). I can telnet to it. Apache however doesn't try to connect, I
verified that with a network sniffer.
I don't use SELinux, as I don't know enough about it yet.
Kind regards,
Hans
[EMAIL PROTECTED]
Isn't it http://issues.apache.org/jira/browse/DBCP-28 ? Connection leak ...
It was fixed in DBCP 1.2.2.
You may want to read through the Release History of DBCP for other
bugs that have been already found and fixed,
http://commons.apache.org/dbcp/changes-report.html
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Fran,
Fran Varin wrote:
What channels do I need to go
through to open up a clear line of communication/assistance with this?
Report a bug/enhancement. Post a patch. You'll get a response: believe me.
I'm
willing to put some of my time in on it
I have an existing application that accesses JBoss with the jndi info
defined in the jndi.properties file.
I want to make a web enabled version of that application. I have copied
the access code from my application into my servlet. When I run the
servlet I get :
Hello,
is anyone able to help me with this? I can't get SSL to work on Tomcat
5.5.25,
I am still getting the Invalid keystore format or class not found error.
Anyone response
is greatly appreciated.
Thank you.
Cheers,
Werner.
- Original Message -
From: Werner Schalk [EMAIL
not sure how you can use the NIO connector in Tomcat 5.5.25, it wasn't
added until Tomcat 6.0
Filip
Werner Schalk wrote:
Hello,
is anyone able to help me with this? I can't get SSL to work on Tomcat
5.5.25,
I am still getting the Invalid keystore format or class not found
error. Anyone
Last night we upgraded our JVM from 1.4 to 1.5. After the upgrade, the
server still works, however we're getting an exception thrown repeatedly:
- Error unregistering mbean
javax.management.RuntimeOperationsException: Object name cannot be null
at
users@tomcat.apache.org
We have an application that has a pretty large session size ( 400K).
This is causing issues for scalability and makes session replication
for fail over quite impractical.
What can be used to drill down live and generate a runtime report
(perhaps a graph too) showing what
I use
www.yourkit.com
Filip
hanasaki jiji wrote:
users@tomcat.apache.org
We have an application that has a pretty large session size ( 400K).
This is causing issues for scalability and makes session replication
for fail over quite impractical.
What can be used to drill down live and generate
We use Lambda Probe
http://www.lambdaprobe.org
here
-Mensagem original-
De: hanasaki jiji [mailto:[EMAIL PROTECTED]
Enviada em: terça-feira, 16 de outubro de 2007 15:53
Para: users@tomcat.apache.org
Assunto: How to? debug large session size? drill down and tools / over 400K is
too
Using Tomcat 5.5 on Linux.
I've set my environment variable with export
JAVA_OPTS='-Djava.library.path=/path/to/my/sharedobjectfolder'
After restarting tomcat and hitting my servlet (which depends on the .so
file in the folder above) I get an UnsatisfiedLinkError no X found in
I should have mentioned we are using websphere ... looks like there is
no support
http://forums.yourkit.com/viewtopic.php?t=216highlight=ibm
Other thoughts?
On 10/16/07, Milanez, Marcus [EMAIL PROTECTED] wrote:
We use Lambda Probe
http://www.lambdaprobe.org
here
-Mensagem
We run across tomcat, websphere, BEA and currently are only working in
websphere. Others to follow.
On 10/16/07, hanasaki jiji [EMAIL PROTECTED] wrote:
I should have mentioned we are using websphere ... looks like there is
no support
http://forums.yourkit.com/viewtopic.php?t=216highlight=ibm
I believe there is a
-Djava.awt.headless=true
or something like that, so that it doesn't try to load your X windows
environment
Filip
David Marshall wrote:
Using Tomcat 5.5 on Linux.
I've set my environment variable with export
JAVA_OPTS='-Djava.library.path=/path/to/my/sharedobjectfolder'
Filip :
Thanks. I didn't literally mean X. The library it won't load is
called Netica. I just changed it to X to be more general. I hope I'm
not just creating confusion for everyone.
thanks
dm
Filip Hanik - Dev Lists wrote:
I believe there is a
-Djava.awt.headless=true
or something
yeah, changing the error message wont help anyone, especially yourself :)
make sure that your -D parameter actually took in effect, and that you
didn't put it in the wrong place. easiest way to check, have a JSP print
out the system property for you
Filip
David Marshall wrote:
Filip :
and that your library is valid, and that you are calling
System.loadLibrary with the correct name
Filip
David Marshall wrote:
Filip :
Thanks. I didn't literally mean X. The library it won't load is
called Netica. I just changed it to X to be more general. I hope
I'm not just
You may consider upgrading from Tomcat 5.0 to Tomcat 5.5.
+ It implements the same version of the specification (Servlets
2.4/JSP 2.0), thus there must be no impact for your webapp.
+ It is designed to run on JVM 1.5 in its default configuration.
(Running with JVM 1.4 requires additional
I have read the posts on chunking not being able to be disabled in tomcat
5.5.x. This is unfortunate. However, I am not setting or writing the
reponse code, axis2 1.3 is. I have disabled chunking in axis2 as
recommended by commenting out the transfer endoding like below. However,
the
I'm not doing a System.loadLibrary. The library is needed by a
third-party jar that I am using. SInce it works from within Eclipse I
know that their jar and the shared object (.so file) work correctly
together and that the shared object is indeed in the correct location on
library path.
Hi folks,
Besides using native2ascii, would someone please recommend me how to make
tocmat to work with UTF-8 properties files, thanks!
Billy Ng
Is your third-party jar placed into the shared libraries folder as it should be?
See
http://wiki.apache.org/tomcat/HowTo#head-a4b7185ee95d0cf14a48f92c08d1eb66b561139d
http://forum.java.sun.com/thread.jspa?threadID=780109
See also
http://java.sun.com/docs/books/jni/html/design.html
chapters
Yes. its in TOMCAT_HOME/shared/lib
Konstantin Kolinko wrote:
Is your third-party jar placed into the shared libraries folder as it should be?
See
http://wiki.apache.org/tomcat/HowTo#head-a4b7185ee95d0cf14a48f92c08d1eb66b561139d
http://forum.java.sun.com/thread.jspa?threadID=780109
See also
I have tried editing the tomcat scripts (catalina.sh) to set JAVA_OPTS
in there and it didn't solve the problem.
Currently I set the JAVA_OPTS in my user .bashrc and .bash_profile. So
when I run the startup script the user is me ( I have to run the script with
sudo). I'm verifying that
The results of printing System.getProperty(java.library.path) in the
jsp does show the correct path to my shared object
Looking forward to your results with JSP.
2007/10/17, David Marshall [EMAIL PROTECTED]:
I'm not doing a System.loadLibrary. The library is needed by a
third-party
Our application serves request for mobile device (cellular phone). We
need to find a way to keep track of how many byte were read from the
request and sent in the response. We need to whole size of the
request/response not just the Content-Length (GET /TestValve/apps
HTTP/1.1 ... headers,
Hi,
I am looking for a way to suppress the server header in the HTTP Response. I
am using Tomcat version 559. Any help is appreciated.
Thanks,
J
Hi there,
Thanks a lot for this meaningful info.
I too have a similar requirement:
running the Tomcat on 64 bit OS Windows server 2003 / 64 bit Xeon 1.6GHz,
8G RAM
I followed the commands below given in your thread.
I installed the 64 bit JRE from Sun, Installed 32 bit tomcat.
Edited all the
Hi there,
Is there any reason why you would not want to use compression on a
Connector?
Thanks in advance.
Mike
Fax.com
The New Way To Fax!
http://www.fax.com/ www.fax.com
Confidential: This electronic message and all contents contain information
from Fax.com, Inc. which may
Pid wrote:
David kerber wrote:
Running TC 5.5.15 on Windows server 2003, JRE 1.5.0_12.
Where do I start looking to try to fix the exception below? I get this
on most startups of Tomcat. I know it's related to reloading sessions
that were saved on the previous shutdown, and I've fixed a
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Mike,
Mike Cronin wrote:
Is there any reason why you would not want to use compression on a
Connector?
The mod_jk connector does not support any compression, so you obviously
don't mean that one.
The HTTP(s) connectors both support gzip
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
David,
David Kerber wrote:
From the deafening silence in response to my post, I guess there's no
standard places to start looking to correct this?
This is a very strange error. If you change class definitions for the
objects being serialized, you
Yup, upgrading is probably the best answer.
Depending on which version of 5.0 you have, you might also be able to work
around it by setting request.registerRequests=false on the Connector /
element in server.xml. In any case, the error is harmless, besides taking
up space in the log file.
Does the native library consist of a single .so file, or there are several ones?
See the second NOTE MEG here:
http://wrapper.tanukisoftware.org/doc/english/prop-java-library-path-n.html
It is about requirements for LD_LIBRARY_PATH if there are several libraries.
Does your printenv mention the
As Filip has already pointed out, the Nio Connector is only available with
TC 6.0.x+.
Otherwise, I can's suggest much except to set
JAVA_OPTS=-Djavax.net.debug=ssl before launching Tomcat. You could also set
the logging level to DEBUG (which is FINE for JUL logging) for the category
64 matches
Mail list logo