Mark Thomas [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Mark Thomas wrote:
You will need to send the war directly to me rather than to the list
as it will get stripped out.
OK. Test war received. IIS installed (I'd be lost without VMWare).
ISAPI 1.2.15 installed. ISAPI
Mark
The are few good, comprehensive ressources on the web for ISAPI filters,
MSDN provides API documentation and code examples, but the most helpful was
[for my problems] to look at the .h [isapi, winnet,..] from visual studio.
There is a guy from MS whose online blog helped me a lot when
Good Morning Bill (at least in my TZ that is),
many thanks for clarifying what Http10Connector stands for.
Of course I should have known that it refers to version 1.0 of
the HTTP.
I admid that I should be reading more of the docs of the Tomcat
project,
and probably have an occassional glance at
Hi Mike,
yesterday I already found out (thanks to a hint from Tim Funk)
that in the official Apache Tomcat tarball
a version.sh wrapper script is included.
Having had a deko at the file also revealed to be nothing more
than a mere invocation of catalina.sh script with the argument
version,
Hi,
I have a tomcat with ± 10 web-applications. Is there a maximum or some guidance
in the number of web-apps you can put in one instance of Tomcat?
And i start tomcat with the options -Xmx1024m -Xms1024m -- is there some
information or articles about how tomcat is spreading all this memory
From: Roel De Nijs [mailto:[EMAIL PROTECTED]
I have a tomcat with ± 10 web-applications. Is there a
maximum or some guidance in the number of web-apps you can
put in one instance of Tomcat?
Tomcat itself uses relatively little memory per-webapp (a few megabytes,
depending on version).
Hello,
I got this problem that the catalina.out file gets to big. It grows to
a size of approx. 2 gig and then tomcat just crashes.
Does anyone know how configure tomcat so that catalina.out only get a size
of 100 MB and then replaces it by a new empty catalina.out? The old one
should be saved
Hi Tim,
yes, at least the later Tomcat release of HP has such a
ServerInfo.properties method
# find /opt/hpws/tomcat -type f -name catalina.jar|xargs -n1 jar
tf|grep -F ServerInfo.properties
org/apache/catalina/util/ServerInfo.properties
# cd /tmp
# find /opt/hpws/tomcat -type f -name
Good Morning,
Does anyone know how configure tomcat so that catalina.out only get a size
of 100 MB and then replaces it by a new empty catalina.out? The old one
should be saved under a different name.
There is information missing:
Which Tomcat Version?
Which logging API is in use?
Assuming
Hello,
sorry, I just clean forgot to tell the version its 5.5.9.
I discovered the tomcat-juli.jar in the bin directory
so I suppose its in use. Although I never used it so far.
So the idea is to switch x4juli.jar and I get the same functionality
as in log4J? That's great because I'm using it
Ok, when I set clientAuth to want the Exception getting SSL Cert
goes away. (Wtf is this documented?). But I still get the 403 - Access
denied error.
Here is how I added the users certificate to my realm:
web.xml:
security-constraint
web-resource-collection
The problem we are confronted with: all our web-apps are running fine in our
test-environment, even if workload is simulated to be very high. If we go to
production environment (which is an exact copy of the test-environment) then
tomcat gives OOME, sometimes 3-4 times a day. And it looks to be
Good Morning Pete,
although I have no Tomcat knowledge whatsoever
(only subscribed to the list in order to learn more and seek for
an answer to my trivia questions)
the fact that your Tomcat crashes when a logfile reached the 2 GB
boundary
in my opinion has nothing to do with Tomcat but rather
Thanks Tim, I have yet to post an intelligent question.
You answered my real question though.
Just for good measure I'll mention the book was O'Reilly's Java
Enterprise Best Practices... ah and the _interface_ was
javax.sql.ConnnectionPoolDataSource . Yeah, weird in the example they
actually
Hi-
If you're using Ant, you might try adding a concat task to combine
generated_web.xml with predefined header and footer files.
-Terence M. Bandoian
Subject:
automating use of webXmlFragment result - how to do?
From:
Olinga K. Abbott [EMAIL PROTECTED]
Date:
Wed, 1 Feb 2006 14:58:27
Hello Ralph,
well it's SUSE ES 9. The filesystem is Reiserfs. The system was set up
recently. The server got multiple processors. But I can't tell you more
cause I don't have access to it again until monday.
cheers,
Pete
--- Ursprüngliche Nachricht ---
Von: [EMAIL PROTECTED]
An:
This has been fixed in the tomcat 5.0.X line months ago with the inclusion of
the version.bat and version.sh scripts. (Which call catalina.sh version).
We can't help it if OS vendors repackage tomcat and omit those files.
-Tim
[EMAIL PROTECTED] wrote:
Hi Tim,
yes, at least the later Tomcat
sorry, I just clean forgot to tell the version its 5.5.9.
I discovered the tomcat-juli.jar in the bin directory
so I suppose its in use. Although I never used it so far.
So the idea is to switch x4juli.jar and I get the same functionality
as in log4J? That's great because I'm using it to
Close() on a pooled connection is almost certainly releasing it, rather then
actually closing it (it would depend on the pooling implementation.)
org.apache.commons.dbcp.PoolableConnection, for example, has a
reallyClose() method which closes the underlying connection.
The resource... probably
Which are you using? Log4j already has a RollingFileAppender (size or date
based, your choice) which rolls logs automatically. Or, you can use
logrotate on linux.
http://logging.apache.org/log4j/docs/api/org/apache/log4j/DailyRollingFileAp
pender.html
Hi,
I need to implement my custom authenticator to do some extra comfig i user
session beside the authentication. How can I achive this? Is there a way to
do authentication besides rigid j_check_security?
--
from debian manifesto:
Debian Linux is a brand-new kind of Linux distribution.
Rather
Obviously something is different. Given tomcat and the web-app are the
same, I would guess environmental differences exist between test and
production. Do both have the same set of services? Same OS? OOM errors
can also indicate a lack of system resources such as file handles.
Just throwing
Have You thought about a request filter? All it has to do is watch for
authenticated sessions that are missing some critical session
attributes. Fill in the missing info as needed.
-David
Arash Bijanzadeh wrote:
Hi,
I need to implement my custom authenticator to do some extra comfig i user
Hi all,
On Solaris 10, I am using Tomcat 5.5.15. I downloaded apr-1.2.2 and produced
the libtcnative-1.so which has been placed in /usr/local/apr/lib.
I have also added to CATALINA_OPTS the instruction:
-Djava.library.path=/usr/local/apr/lib
setenv CATALINA_OPTS '-Xms256m -Xmx512m
Hi,
Is it possible to have a custom Authenticator in tomcat 4.1? I can't find
any information about it, only for 5x. I have tried configuring a
WEB-INF/context.xml with a valve referencing my authenticator class, works
well in tomcat 5.5, but not in 4.1 (which is currently the version we are
From: Roel De Nijs [mailto:[EMAIL PROTECTED]
Subject: Betr.: RE: Memory Management between different webapps
The problem we are confronted with: all our web-apps are
running fine in our test-environment, even if workload is
simulated to be very high. If we go to production environment
that's the stack trace i get when i try the mentioned code.
regards, markus
//--
2006-02-02 13:41:33 StandardWrapperValve[jsp]: Servlet.service() for servlet
jsp threw exception
javax.servlet.ServletException: ORA-01722: invalid number
at
Ugh, reiserfs is a journalling filesystem and should have no
problems with files larger than 2 GB.
To be on the safe side you could however check here for all
things reiserfs (got the URL from the manpage of mkreiserfs)
http://www.namesys.com/
We also happen to have a SEL9 box running.
There I
Its a database error [ ORA-01722: invalid number] coming from oracle. Looks
like your trying do shove a nonnumber into a fields which is a number.
This is a developer coding error. (not tomcat)
-Tim
Markus kalle wrote:
that's the stack trace i get when i try the mentioned code.
regards,
Not to mention the fact that JBoss uses Tomcat as its JSP engine. Tomcat is not
going away any time soon.
Earnie!
-Original Message-
From: David Kerber [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 02, 2006 8:10 AM
To: Tomcat Users List
Subject: Re: The Future of Tomcat
Roel De
Tim Funk wrote:
Sweet sweet flame fodder. Tomcat is as alive as the community of
developers that are willing to work on it (like any open source project).
I guess you could consider it flame fuel, but it's also a legitimate
question, IMO. Your answer below looks good to me.
Tomcat did
Apache is a legal entity which is composed of many developers who work on a
variety of software projects in a variety of programming languages. Some
projects are related to one another, others are not.
Apache != httpd. httpd was the first Apache project.
-Tim
David Kerber wrote:
Apache and
Tim Funk wrote:
Apache is a legal entity which is composed of many developers who work
on a variety of software projects in a variety of programming
languages. Some projects are related to one another, others are not.
Apache != httpd. httpd was the first Apache project.
True, but the HTTP
Dear friends,
I have the following goal:
create a pack containing my web-application and also a runnable Tomcat
server.
the cliente should be able to run my application whithout any previously
installed Tomcat server... just download my product and start it through
some line command or shell
Richard,
Is that all there is in the log? You may want to change to log level in the
redirector to trace to get more info.
Our biggest problem was with the firewall. IIS runs on one side and
JBoss/Tomcat on the other.
Earnie!
-Original Message-
From: Richard Burman [mailto:[EMAIL
They are both running on the same machine and it doesn't have a firewall
installed.
Here is a more extensive snippet from the log file:
[Thu Feb 02 11:57:38 2006] [5684:1588] [debug] jk_shm.c (134):
Initialized shared memory size=67584 free=65536 addr=0xfe
[Thu Feb 02 11:57:38 2006]
D'oh!! It's okay, I've just spotted the problem. I had put
'workers.properties' in the registry, not 'worker.properties'. I suspect
it will work now.
Thanks for looking, anyway!
Cheers,
Richard.
-Original Message-
From: Richard Burman [mailto:[EMAIL PROTECTED]
Sent: 02 February 2006
That could do it.
Earnie!
-Original Message-
From: Richard Burman [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 02, 2006 10:38 AM
To: Tomcat Users List
Subject: RE: Tomcat under IIS using isapi_redirect.dll
D'oh!! It's okay, I've just spotted the problem. I had put
Hmm... No, that's not it. Still getting exactly the same error. Where
exactly is this 'The specified module could not be found' coming from?
Is it the redirector that is failing or is Tomcat somehow giving an
incorrect response?
Are these two lines an error or informational?
[Thu Feb 02 15:40:31
True, but the HTTP server is still what most people think of when they
hear the name Apache.
Probably same people, that think of Applets or Javascript when they
hear the word Java?
Dave
Leon :-)
-
To unsubscribe, e-mail:
Hi folks,
I'm using Tomcat and CMA with JAAS.
In my application there are several possible reason why a user can not
login (wrong password, user expired, user locked, etc) and I need to
present a message with the information to user on the JSP page. So I
need to propagate the exception from the
or they think coffee and/or island :-)
[EMAIL PROTECTED] 2/02/2006 16:50:03
True, but the HTTP server is still what most people think of when they
hear the name Apache.
Probably same people, that think of Applets or Javascript when they
hear the word Java?
Dave
Leon :-)
Does your application require to add or to the end of the
isapi_redirect.dll so it is isapi_redirector.dll? My application
specifically required me to do so or it would not work.
Criss Blackwell
Enterprise Services
Highline Community College
2400 S. 240th St. M/S 26-1
Des Moines, WA
The two lines are informational. It tells you that it matched the URI with a
worker. Can you post your workers and uriworkers properties files?
Earnie!
-Original Message-
From: Richard Burman [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 02, 2006 10:49 AM
To: Tomcat Users List
why not simply take the tomcat download (normal version), unpack it,
put your webapp into it, pack it and offer for download for the
client?
On 2/2/06, Felipe Gaúcho [EMAIL PROTECTED] wrote:
Dear friends,
I have the following goal:
create a pack containing my web-application and also a
Roel De Nijs wrote:
or they think coffee and/or island :-)
[EMAIL PROTECTED] 2/02/2006 16:50:03
True, but the HTTP server is still what most people think of when they
hear the name Apache.
Probably same people, that think of Applets or Javascript when they
hear the word
worker.properties
worker.list=NetSearchWorker
worker.NetSearchWorker.port=8019
worker.NetSearchWorker.host=localhost
worker.NetSearchWorker.type=ajp13
uriworkermap.properties
/NetSearch/*=NetSearchWorker
/NetSearch/*.jsp=NetSearchWorker
/NetSearch/servlet/*=NetSearchWorker
-Original
Hi All,
Once I have apr installed, what is the configuration change that I need to
do to let tomcat know to use apr?
Thanks
Using the Jasper2 task and pointing it to my web.xml, the generated
fragment is automatically merged into the right spot of web.xml.
Here's how I specify the Jasper2 task. You'll obviously have to set your
attributes according to your setup. The two key attributes are
webxmlfragment and
Those evil people at Sun with their weird and often difficult to use
javascript!! *shakes fist*
Now ECMAScript THAT'S a different story...
=P
-Original Message-
From: Roel De Nijs [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 02, 2006 10:52 AM
To: users@tomcat.apache.org
Is the port 8019 correct. Usually Tomcat AJP connector is listening on 8009.
From the log snippet, it is finding a worker based on the URI.
Earnie!
-Original Message-
From: Richard Burman [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 02, 2006 11:38 AM
To: Tomcat Users List
Yeah, I had to change the port because something else on my machine is
holding port 8009, but I've changed it in both the worker.properties and
the server.xml connector so it should work? I've just modified the
ports back to the normal 8009 and got it all running but I'm still
seeing the same
Hello all,
I did searchs on the net but still could not find a clear solution,
os: solaris 10
java: 1.3.1.11
apache: 1.3.29
when trying to build jakarta-tomcat-connectors-1.2.15, got following
error messages during the make
Making all in apache-1.3
make: Fatal error in reader: Makefile, line
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Antonio W. Lagnada
Subject: APR in Tomcat 5.5
Once I have apr installed, what is the configuration change
that I need to do to let tomcat know to use apr?
None, assuming the APR native library is installed in the proper
Hello! I'm brand-new to Tomcat and am under the gun to learn it quickly.
The short story: My University hired our Software Vendor to upgrade our
administrative web software. We also hired them to move us from iPlanet to
Jakarta Tomcat 5.0.28. Currently we can access our web software on port
From: Jeffery G. Summers [mailto:[EMAIL PROTECTED]
Subject: Port 8443 won't become active
Our webserver is an IBM P615C AIX 5.2 box. I have attempted
the following to enable port 8443:
1) keytool -genkey -alias tomcat -keyalg RSA
2) Edited server.xml and uncommented the port 8443
From: Jeffery G. Summers [mailto:[EMAIL PROTECTED]
Our webserver is an IBM P615C AIX 5.2 box.
Whose JVM and what version?
- Peter
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
Hi,
I use an Tomcat 4.1.31 wit IBM JDK 1.4.1 and i want Implement JSSE on my
Tomcat
I have add Sun jsse.jar on $JAVA_HOME/jre/lib/ext but i have following
error, where is my mistake ??
Regards
Philippe
- Root Cause -
java.security.NoSuchAlgorithmException: Class com.ibm.jsse.bd
great it means tomcat really dont't need any installer.. that windows
intaller is just a windows-like manner to get tomcat working... great..
On 2/2/06, Caldarale, Charles R [EMAIL PROTECTED] wrote:
From: Felipe Gaúcho [mailto:[EMAIL PROTECTED]
Subject: Re: the best way to distribute
In your Connector definition add the attriute:
debug=6
This will turn on debugging on the Tomcat side. You should see message
in your Tomcat log then.
Can you connect to the app by going straight at Tomcat?
Earnie!
-Original Message-
From: Richard Burman [mailto:[EMAIL PROTECTED]
We're using version 1.4.2. When we used SunONE (iPlanet) we had 1.3.1 and
that old directory still exists (/usr/java131). I think the old directory
can be blown away since we have everything we need with /usr/java14 and have
removed the apps that had to use the previous version.
-Original
When we contracted our upgrades the consultant installed version 1.4.2 but
when I just ran java -version the box tells me that 1.3.1 is the one
running in memory! I've never stopped/started java, etc. and I plan on
making the consultant finish the job on this...but, if I want to try it does
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Antonio W. Lagnada
Subject: Re: APR in Tomcat 5.5
Thanks. I'm assuming I need to append it to LD_LIBRARY_PATH as such:
LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/usr/local/apr
If you already have something in that environment
I am using form based authentication in my application. I would like to know
if it is possible to install a Servlet filter on j_security_check.
I have tried to install one, but it never gets invoked. Here is my filter
definition in application web.xml:
filter
Hi All,
As far as I know there's only one place to set the keystore in tomcat (
server.xml).
Connector port=443 maxHttpHeaderSize=8192
maxThreads=150 minSpareThreads=25 maxSpareThreads=75
enableLookups=false disableUploadTimeout=true
You can't install a filter on j_security_check
-Tim
Martin Dubuc wrote:
I am using form based authentication in my application. I would like to know
if it is possible to install a Servlet filter on j_security_check.
I have tried to install one, but it never gets invoked. Here is my
SSL requires a dedicated Connector bound to a dedicated IP address to work.
This is because the certificate exchange takes place before the HTTP request
transmits the desired HOST name.
George Sexton
MH Software, Inc.
http://www.mhsoftware.com/
Voice: 303 438 9585
-Original Message-
Yes, it is generically possible... I have the following mapping in one of
my apps:
filter-mapping
filter-nameInitialLoginFilter/filter-name
url-pattern/j_security_check/url-pattern
/filter-mapping
This runs on Websphere though, so maybe there is some limitation with
Tomcat. In
Well, there you go Martin :)
Tim, is this something peculiar to Tomcat that doesn't allow it? As I
mentioned in my previous post, I in fact do this in an app running on
Websphere. Or, maybe its a case of Websphere letting me do something it
really shouldn't?
--
Frank W. Zammetti
Founder and
If you want to be spec compliant. There is a bugzilla entry with respect to
this and confirmation by the expert group that Tomcat's behavior is correct.
-Tim
Frank W. Zammetti wrote:
Well, there you go Martin :)
Tim, is this something peculiar to Tomcat that doesn't allow it? As I
The error is for com.ibm.jsse.bd not com.sun.jsse or whatever. Youneed
IBM's jsse it appears
Philippe Couas wrote:
Hi,
I use an Tomcat 4.1.31 wit IBM JDK 1.4.1 and i want Implement JSSE on my
Tomcat
I have add Sun jsse.jar on $JAVA_HOME/jre/lib/ext but i have following
error, where is my
Interesting. Thanks for that info!
--
Frank W. Zammetti
Founder and Chief Software Architect
Omnytex Technologies
http://www.omnytex.com
AIM: fzammetti
Yahoo: fzammetti
MSN: [EMAIL PROTECTED]
On Thu, February 2, 2006 3:04 pm, Tim Funk said:
If you want to be spec compliant. There is a
Sriram Subramanian wrote:
Hi,
I am installing Tomcat 5.5.9 as a windows service
using the service.bat script. I need to set the jvm
file encoding to UTF-8, which I did using the
following syntax -
===
%EXECUTABLE% //IS//%SERVICE_NAME% --JavaHome
%JAVA_HOME% --StartPath
Sriram Subramanian wrote:
Mark, I see your point related to file encoding
changes working on select OS/JVM combinations, why is
probably why setting LANG=en_US.UTF-8 in catalina.sh
does the trick on Unix. There's got to be some
workaround for Windows.
My aim is to force Tomcat to use UTF-8.
Hi Jeff,
when I had this problem it was caused by the presence of a file named
tcnative-1.dll in the ~/Tomcat 5.5/bin directory. When I removed that .dll
file, everything worked as described in the Tomcat documentation for SSL.
--Tony C.
-- Original message
You can use jakarta commons dbcp http://jakarta.apache.org/commons/dbcp/.
There is a basic datasource and examples on how to create it.
mas
Rick Col wrote:
Hi, guys:
I am stuck here with this problem. I created a Java
project on
Eclipse, the reason is I have to use my own framework
that won't
Thanks, Mark:
Basic datasource is a good resource. This is really
pointing me to the right direction.
--- Mark Shifman [EMAIL PROTECTED] wrote:
You can use jakarta commons dbcp
http://jakarta.apache.org/commons/dbcp/.
There is a basic datasource and examples on how to
create it.
mas
Mike Sabroff [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
The error is for com.ibm.jsse.bd not com.sun.jsse or whatever. Youneed
IBM's jsse it appears
Yup. Ditch the Sun jar, and specify algorithm=IbmX509 on the Connector.
Philippe Couas wrote:
Hi,
I use an Tomcat
Hi Mark, and others,
So I did find a way to set the encoding for the JVM
(and hence Tomcat 5.5 which uses this jvm and runs as
a windows service). Just add another update statement
in service.bat:
//US//SelectFederation ++JvmOptions
-Dfile.encoding=UTF-8
Regards,
Sriram
--- Mark Thomas [EMAIL
Mott Leroy wrote:
I am on Tomcat 5.0.x
I am familiar with a couple ways to capture errors that occur on the JSP
side. One way is to use the error page tag:
%@ page errorPage=MyErrorPage.jsp %
Chapter 10 on exception handling, Beginning JavaServer Pages (Wrox
Books, 2005), I think would
Yes, TC stands for TomCat.
Well, this confirms that the version is one of 3.3.0, 3.3.1, or 3.3.1a.
Most likely the later (since most people upgraded to that). You can find
out for sure which by doing a HEAD request to anything but a JSP page: It
will be in the 'Server:' header.
There isn't
Hi all
I am a newbie to tomcat.
I installed jarkarta tomcat 5.5.9 with fedoracore3 OS. I already have
j2sdk1.5.2 installed on it.
I downloaded and configured tomcat from
http://www.coreservlets.com/Apache-Tomcat-Tutorial/tomcat5.5-files/jakarta-=
82 matches
Mail list logo