Hi all,
in server.xml we have defined a JNDIRealm pointing our ldap of users and
group.
It works.
In order to have the couple authentication and authorization in an
Apache front end server (with mod_jk for the Tomcat's, with reverse
proxy for other as's), I'd like to know if you can suggest a
Hi all,
I am using tomcat 5.5 and I am trying to implement a filter.
Now, I have setted the xmlValidation to true. This causing some
strange sax errors:
-
2006-03-08 16:47:27,324 [main] ERROR
org.apache.commons.digester.Digester - Parse Error at line
1. Apache - mod_jk.log
[Wed Mar 08 15:34:40 2006] [error] jk_child_init::mod_jk.c (2312):
Attachning shm:/etc/apache2/logs/jk-runtime-status errno=2
First one is solved.
By default, directory for this log is /etc/apache2/logs/ and apache
does not have enough permission to create the log file.
hey friends,
I am trying to make tomcat 4.1.31 run on centos4.0 with ssl .The java
version on my system is JDK1.4.2_06
java version 1.4.2_06
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_06-b03)
Java HotSpot(TM) Client VM (build 1.4.2_06-b03, mixed mode)
I first generated the
Hi there
I authenticate my users against Active directory Windows 2003.
This is the configuration:
Realm name=TEST_Realm
className=org.apache.catalina.realm.JNDIRealm
debug=99
Franck Borel wrote:
Hi all,
I am using tomcat 5.5 and I am trying to implement a filter.
Now, I have setted the xmlValidation to true. This causing some
strange sax errors:
-
2006-03-08 16:47:27,324 [main] ERROR
Hi All,
Has Tomcat got an equivelent of Apache's HTTP's Redirect Match?
Thanks alot
-
Yahoo! Photos NEW, now offering a quality print service from just 8p a photo.
2006/3/9, ALEX HYDE [EMAIL PROTECTED]:
Hi All,
Has Tomcat got an equivelent of Apache's HTTP's Redirect Match?
I can't ensure what dou you mean. do you want to redirect the http
request by the url that if http://localhost/test redirect to
http://www.microsoft.com ?
I don't know weather the
You could start by not hijack an existing thread. Please repost your
question in a new thread.
--David
Khawaja Shams wrote:
Hello,
If I am using BASIC authentication, how can I log users out? I tried
doing session.Invalidate, but as described above, it seems like the browser
is caching the
Hi Markus,
thank you very much. Who is able to read has some advantages :-).
Ok, this resovle my problem and now it works.
Greetings
- Franck
Franck Borel wrote:
Hi all,
I am using tomcat 5.5 and I am trying to implement a filter.
Now, I have setted the xmlValidation to true. This
i had a webapps but different role of user,
n another webapp users same user from fist webapp but a specifc role user.
On 3/9/06, Alex Jalali [EMAIL PROTECTED] wrote:
Hello all,
Whatr is best way to create loging authentication if u had multipal login
form/pages.
please help me out.
We have suddenly started to get the exception
org.apache.tomcat.util.threads.ThreadPool logFull. The server have been
running for several months without any interruptions and suddenly it
started to appear. We have restarted Tomcat several times (even with a
machine reboot) but it doesn't help. It
Hello Marcus,
Von: Marcus Andersson [EMAIL PROTECTED]
We have suddenly started to get the exception
org.apache.tomcat.util.threads.ThreadPool logFull. The server have been
running for several months without any interruptions and suddenly it
started to appear. We have restarted Tomcat several
Update:
When we have reached a certain state Tomcat suddenly seems to skip to
close the output stream. We have discovered this somewhat unscientific
by doing a request to Tomcat with a browser. We get the response (we see
it in the browser) but for some reason Firefox believes there is more to
Hi,
I don't want to run tomcat as a service. I'd like to run it either
through ivoking java directly or running startup.bat. However, I
don't see catalina.out under these circumstances and I need to log the
standard output. Is this possible?
Thanks,
Ben
Hi,
I'd like to compile the mod_jk connector 1.2.15 on solaris 8.
I followed the instructions given at the Jakarta Tomcat Connector page.
I downloaded the sources from
http://archive.apache.org/dist/jakarta/tomcat-connectors/jk/source/jk-1.2.15/
I extracted the archive
-Original Message-
From: Boris Unckel [mailto:[EMAIL PROTECTED]
OS: Redhat Enterprise Linux 4 (3.4.3-9.el4 is something
we've found as
well)
Tomcat: 5.5.7
JAVA: 1.5.0_02
please post the full stacktrace.
Sorry about that. The strange thing is that we don't see very much in
You can avoid the headache of building and use the binary
http://www.apache.org/dist/tomcat/tomcat-connectors/jk/binaries/solaris/jk-1.2.15/
On 9 Mar 2006 at 14:32, Salvatore Panto wrote:
Hi,
I'd like to compile the mod_jk connector 1.2.15 on solaris 8.
I followed the instructions
yes, I noticed there is this binary but I thought it's only for apache
1.3 and I use apache 2.0.54.
Steve Ochani wrote:
You can avoid the headache of building and use the binary
http://www.apache.org/dist/tomcat/tomcat-connectors/jk/binaries/solaris/jk-1.2.15/
On 9 Mar 2006 at 14:32,
HI Gurus ,
I am getting following error in tomcat 5 .0.16 can anyone tell me what
could be the resson?
my server.xml has a context WWSF/dca and the docbase=newdca however i
my webapplication deployment descriptor is web.xml
thanks
Regrads
Birendar S Waldiya
EROOR
ar 9, 2006 4:36:32 PM
Check for this file ..
D:\ASF\Tomcat5\conf\Catalina\localhost\WWSF
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 09, 2006 6:17 PM
To: Tomcat Users List
Subject: Tomacat startup error
HI Gurus ,
I am getting following error in tomcat 5
well, at that location there is only one binary file:
mod_jk-1.2.15-solaris8-sparc-apache-1.3.33.so
does it work for apache 2 too?
thanks
Salvatore Panto wrote:
yes, I noticed there is this binary but I thought it's only for apache
1.3 and I use apache 2.0.54.
Steve Ochani wrote:
You
Hi,
we are testing a new server, to check whether we can achieve higher
performance/hardware cost ratio.
The new toy is a 4-cpu double core opteron:
processor : 0
vendor_id : AuthenticAMD
cpu family : 15
model : 33
model name : Dual Core AMD Opteron(tm) Processor
From: Leon Rosenberg [mailto:[EMAIL PROTECTED]
Subject: Performance tricks with multiple tomcat instances
One of my assumption for relative bad performance is the gc. If I
install 2 or 4 tomcat instances on the same machine, I assume that if
I'm lucky the gc in the separate VMs will run
Hi.
I use TomCat 5.5. on Windows and need to print the HTTPResponse stream
that i send
It is only a short text (50 characters or so) and i need to see it to
help me with the debugging.
Hope you can help me out!
Best regards
Øyvind
Thanx Chuck,
so with 4 tomcats I should reduce the number of gc threads to 2 per vm
and with 2 tomcats to 4 for vm to have the same number of threads as
with single tomcat, and hope that shorter gc runs will increase
overall performance?
What do you think, is it adviseable to have multiple
Using sniffer may be useful, ethereal for example. If you don't want
to use sniffer you may consider some plugins/extensions for web
browser. For example HttpWatch for IE (proprietary) or Live HTTP
Headers firefox extension for FF. It's really useful sometimes ;)
On 3/9/06, Øyvind Møller
If I were to add my two cents, I would say the OS scheduler, the bus,
memory access all will play their part.
ie, I think you will get more juice out of 8 single CPU machines each
running a tomcat, than one machine with 8 CPU's, as your 8cpu machine
will not have 8 parallel buses, 8 drives, 8
From: Leon Rosenberg [mailto:[EMAIL PROTECTED]
Subject: Re: Performance tricks with multiple tomcat instances
so with 4 tomcats I should reduce the number of gc threads to 2 per vm
and with 2 tomcats to 4 for vm to have the same number of threads as
with single tomcat, and hope that
I know ... it's not a good Combo
IIS 6 + Apache tomcat 5.5.15 + SQL Server 2000 ? ( Windows 2003 Server )
but... let's crash and burn ;)
Checking in the web site i see that i can install the Apache-Tomcat and that
works properly ( First time i work with Windows 2003 ).
What i'm
I have read and sometimes participated in these postings and answers in
hopes of either finding answers to problems I am having or might have in
the future and found it a well organized and contained group.
I am disappointed though, in that I have posted a question in hopes of
help with a
On 3/9/06, Filip Hanik - Dev Lists [EMAIL PROTECTED] wrote:
If I were to add my two cents, I would say the OS scheduler, the bus,
memory access all will play their part.
ie, I think you will get more juice out of 8 single CPU machines each
running a tomcat, than one machine with 8 CPU's, as
hi all
i just installed tomcat 5.5 that ships without admin ui - so i downloaded
that also.
but: where and how to install?? i do not find any dodumentation for that
issue, so please hlp.
thx
Hi everybody!
I have a problem with libraries in shared/lib. I am using tomcat
5.0.28. I have some libraries of the application, (for example
spring-aop.jar..). When I have these libraries in application: in
..WEB-INF/lib they are loaded ok.
When I put them in common/Lib of tomcat, they are
I know ... it's not a good Combo
IIS 6 + Apache tomcat 5.5.15 + SQL Server 2000 ? ( Windows 2003 Server ) but... let's crash and burn ;)
Hi,
I've done this combo before using the jTDS driver from
http://jtds.sourceforge.net/
If you notice, all of the examples on the URL you give are
On 3/9/06, Caldarale, Charles R [EMAIL PROTECTED] wrote:
From: Leon Rosenberg [mailto:[EMAIL PROTECTED]
Subject: Re: Performance tricks with multiple tomcat instances
so with 4 tomcats I should reduce the number of gc threads to 2 per vm
and with 2 tomcats to 4 for vm to have the same
The Tomcat mailing list, like Tomcat itself, and like most open-source
projects in general, are volunteer efforts. People will answer what
they feel they can, when they can. You should start by having no
expectation of getting an answer because you in fact may not, because no
one knows the
http://www.catb.org/~esr/faqs/smart-questions.html
:-)
Leon
On 3/9/06, Mike Sabroff [EMAIL PROTECTED] wrote:
I have read and sometimes participated in these postings and answers in
hopes of either finding answers to problems I am having or might have in
the future and found it a well
We have used both JTDS and JDBC to connect Tomcat to SQL2000. JTDS seems to
be more memory efficient. It is also far stricter in how data types are
cast. Stored Procedures that worked fine with JDBC sometimes did not
properly with JTDS. I think the issue (I am not doing the java work) is
that
Sorry you feel that way. I read your email. Never seen anything like
it in any of my installs and there isn't much info to base a diagnosis
on. So I didn't reply. If you want help, write better questions and
offer more info.
--David
Mike Sabroff wrote:
I have read and sometimes
Leon Rosenberg wrote:
On 3/9/06, Filip Hanik - Dev Lists [EMAIL PROTECTED] wrote:
If I were to add my two cents, I would say the OS scheduler, the bus,
memory access all will play their part.
ie, I think you will get more juice out of 8 single CPU machines each
running a tomcat, than one
Hehe, thanks for boiling my response down to a single line Leon! :) LOL
Frank
Leon Rosenberg wrote:
http://www.catb.org/~esr/faqs/smart-questions.html
:-)
Leon
On 3/9/06, Mike Sabroff [EMAIL PROTECTED] wrote:
I have read and sometimes participated in these postings and answers in
hopes of
Given the extreme lack of any info to base a diagnosis on, I'd say you
have a library in your webapp generating this to standard out. My MySQL
install does not do this.
--David
Mike Sabroff wrote:
I am not sure if this is a Tomcat issue or a MySql issue.
I get these trace messages in
Mike Sabroff ha scritto:
I am not sure if this is a Tomcat issue or a MySql issue.
I get these trace messages in catalina.out:
Wed Mar 08 07:48:48 CST 2006 TRACE:
about 800 to 1000 lines of them, each time I connect to the database.
I have googled and searched but can find nothing on the cause
On 3/9/06, Filip Hanik - Dev Lists [EMAIL PROTECTED] wrote:
he he, thats where bladeservers come in, of course, they are not cheap,
and you'd probably need a SAN! ;)
yeah... and this is the point where the tco skyrockets ;:-)
Filip
Leon
On 3/9/06, Frank W. Zammetti [EMAIL PROTECTED] wrote:
Hehe, thanks for boiling my response down to a single line Leon! :) LOL
You're welcome :-)
saw the post, pasted the link, hit reply. If I'd had language skills
so far developed as yours I would probably write the long explanation
lines too.
-Original Message-
From: Leon Rosenberg [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 09, 2006 10:28 AM
To: Tomcat Users List
Subject: Re: Performance tricks with multiple
tomcat instances
On 3/9/06, Filip Hanik - Dev Lists [EMAIL PROTECTED] wrote:
If I were to add my two
http://tomcat.apache.org/download-55.cgi#5.5.16-beta
http://tomcat.apache.org/download-55.cgi#5.5.15
both need JDK 1.4 Compatability Package
In the RUNNING.txt it is just called COMPAT
However I believe it should be written
CompatIbility
Thanks
Thanks for the responses to this post! And by the way, funny how I got
answers to my original post after posting this...amaizing, and I am
truly sincere in thanking you for the link.
http://www.catb.org/~esr/faqs/smart-questions.html
good stuff!
Mike
Leon Rosenberg wrote:
On 3/9/06, Frank
Thanks Dave, I will scour my webapps to see if this is true, since I do
have some common jars to all my webapps
Mike
David Smith wrote:
Given the extreme lack of any info to base a diagnosis on, I'd say you
have a library in your webapp generating this to standard out. My MySQL
install does
actually not using log4j, just thought it might be a way to redefine
what I log.
thx
Antonio Petrelli wrote:
Mike Sabroff ha scritto:
I am not sure if this is a Tomcat issue or a MySql issue.
I get these trace messages in catalina.out:
Wed Mar 08 07:48:48 CST 2006 TRACE:
about 800 to 1000
Fairly regularly I have a page resquest visible on the 'Server Status' of
the Tomcat Manager that never ends. I have tomcat set to timeout sockets
after 120 seconds, and have mod_jk set to do the same. It always stalls at
4192K sent (is this a magic number?). I tried increasing the output
there are two answers, one easy and one difficult
Easy answer: mod_proxy, you'll be up and running in five minutes,
Hard answer: try upgrading jk, or downgrade, play around with the
configs, and spend the next few days fiddling :)
here is a great article on proxying capabilities with apache
Any idea what this means? At 1:52 our Tomcat just stopped serving
pages. Help.. my boss is *pissed* and I have no
idea how to address this. I re-started Tomcat and I'm back in
service... but WHY DID IT HAPPEN?
Thanks in advance. Pete
Mar 9, 2006 1:52:12 AM org.apache.jk.core.MsgContext
This one should help :
http://forum.java.sun.com/thread.jspa?threadID=596489messageID=3798801
On 3/9/06, [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
hi all
i just installed tomcat 5.5 that ships without admin ui - so i downloaded
that also.
but: where and how to install?? i do not find any
I have a web site which has been running a while and which uses a custom tag
to display the contents of a set of folders. If I add a new directory or file
the tag correctly displays the new content the next time the browser is
refreshed.
What I would like to do is move the folder contents from
It looks like the socket closed for some reason. You might want to try
catching the exception and doing some clean up so that your app doesn't die.
The connection is lost but you may be able to recover so that you can keep
servicing requests from other connections.
One way to test this would be
Can't this exception be the result of the user hitting the STOP button, or
simply closing the browser? I.e., this can happen all the time. Are you
certain this is the exact cause of death?
From the stack trace (unless you've filtered it) it appears your code is
complete, and the response is
You are probably right and if that is the case, it should be easy to
reproduce in your testing area and you can work on making your servlet more
bullet proof.
Robert S. Harper
Information Access Technology, Inc.
-Original Message-
From: Tim Lucia [mailto:[EMAIL PROTECTED]
Sent:
This is a good tool to use
http://sourceforge.net/project/showfiles.php?group_id=55568release_id=115444
Hi.
I use TomCat 5.5. on Windows and need to print the HTTPResponse stream
that i send
It is only a short text (50 characters or so) and i need to see it to
help me with the debugging.
On 3/9/06, Justin Greene [EMAIL PROTECTED] wrote:
-Original Message-
From: Leon Rosenberg [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 09, 2006 10:28 AM
To: Tomcat Users List
Subject: Re: Performance tricks with multiple
tomcat instances
On 3/9/06, Filip Hanik - Dev
From: Leon Rosenberg [mailto:[EMAIL PROTECTED]
Subject: Re: Performance tricks with multiple tomcat instances
I mean, as long as you are one cpu machine you can be
sure that your threads are never really concurrent and
atomic operations remain atomic (like ++) but in case
of 2 cpus you
I'm using AXIS API in my Web Services, and everytime I make a new request,
Tomcat (or AXIS I don't know exactly) creates a HTTP Session, but I don't
need to use Session on my web services.
It's possible to make Tomcat don't create session on requests for the web
services, or tomcat aways create
-Original Message-
From: Leon Rosenberg [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 09, 2006 3:06 PM
To: Tomcat Users List
Subject: Re: Performance tricks with multiple
tomcat instances
On 3/9/06, Justin Greene [EMAIL PROTECTED] wrote:
-Original Message-
From:
We have a fairly large client/server app that we converted to a java webapp.
The original app was in powerbuilder. there were 2 types of rules applied to
field rendering:
1) any rule that could be handled when the screen loaded was handled via
screen level events, e.g., if a screen had fields
Or if your situation allows run Tomcat without Apache.
Doug
- Original Message -
From: Filip Hanik - Dev Lists [EMAIL PROTECTED]
To: Tomcat Users List users@tomcat.apache.org
Sent: Thursday, March 09, 2006 12:00 PM
Subject: Re: Is this tomcat or my app?
there are two answers, one
On 3/9/06, Caldarale, Charles R [EMAIL PROTECTED] wrote:
From: Leon Rosenberg [mailto:[EMAIL PROTECTED]
Subject: Re: Performance tricks with multiple tomcat instances
I mean, as long as you are one cpu machine you can be
sure that your threads are never really concurrent and
atomic
On 3/9/06, Caldarale, Charles R [EMAIL PROTECTED] wrote:
From: Leon Rosenberg [mailto:[EMAIL PROTECTED]
Subject: Re: Performance tricks with multiple tomcat instances
I mean, as long as you are one cpu machine you can be
sure that your threads are never really concurrent and
atomic
Have you looked into aspect oriented programming? You should be able accomplish
your objectives using it. One example open source effort is the Spring
framework. Good luck.
- andy
John MccLain [EMAIL PROTECTED] wrote: We have a fairly large client/server
app that we converted to a java
From: Leon Rosenberg [mailto:[EMAIL PROTECTED]
Subject: Re: Performance tricks with multiple tomcat instances
In particular, assignment to variables of any type except
long or double is atomic.
Note this is _assignment_ not arithmetic. Depending on the capabilities
of the underlying
I have a Tomcat 5.5.12 install that is working well (it is a stand-alone
install under Windows 2003 server). I was given a request to make this
install fully FIPS 140-2 compliant, specifically requiring that Tomcat
not allow SSL 3.0 protocol connections (TLS only). My config specifies
Its always better to not have fat clients and put as much of the logic on
the server side.
You say that this is a webapp client? So that means that your forms are
static. So your only choice is to use script language that runs on client
machine. This is also a bad thing. Since you don't know
The docs state:
socket_timeout default 0
Socket timeout in seconds used for communication channel between JK and
remote host. If remote host does not respond inside that timeout the JK will
generate an error, and retry again. If set to value zero (default) the JK
will wait for infinite on all
You should consider looking at AJAX for this type of processing.
With AJAX you can store rules and processes in the user session object.
Changes can be made to happen without refreshing the whole page. It eliminates
a lot of request/response processing. Also consider fragment caching your
Hi,
I have been trying to store session informations in the disk by using Context
.. Manager .. Store . I am constantly getting error below for JDBC
connection string and I do have tried amp; instead of , then I get connnection
is null error. I have posted my Context from my server.xml file. I
did you try to replace with amp; in the connectionURL?
Filip
[EMAIL PROTECTED] wrote:
Hi,
I have been trying to store session informations in the disk by using Context
.. Manager .. Store . I am constantly getting error below for JDBC
connection string and I do have tried amp; instead of ,
From: Leon Rosenberg [mailto:[EMAIL PROTECTED]
Subject: Re: Performance tricks with multiple tomcat instances
Hmm, I always thought operations which are declared atomic
are guaranted to be executed at once, for example addition.
Addition is normally not atomic; assignment normally is.
Caldarale, Charles R wrote:
The select capability isn't required to implement the behavior I
described. Once the request is read in over the wire, the request
object is passed off to a worker thread, and the reader thread goes back
for another one. I'm going to have to dig deeper into the
From: Filip Hanik - Dev Lists [mailto:[EMAIL PROTECTED]
Subject: Re: Performance tricks with multiple tomcat instances
the select (non blocking) capability would be required
if you wanna do keep alive connections with less threads
than connections
that is why BEA early on did what Tomcat
Caldarale, Charles R wrote:
From: Filip Hanik - Dev Lists [mailto:[EMAIL PROTECTED]
Subject: Re: Performance tricks with multiple tomcat instances
the select (non blocking) capability would be required
if you wanna do keep alive connections with less threads
than connections
that is why BEA
From: Filip Hanik - Dev Lists [mailto:[EMAIL PROTECTED]
Subject: Re: Performance tricks with multiple tomcat instances
Tomcat APR will use one thread per connection. but APR also has non
blocking option.
Does Tomcat use the non-blocking option? (I haven't looked at the APR
code at all.)
Caldarale, Charles R wrote:
From: Filip Hanik - Dev Lists [mailto:[EMAIL PROTECTED]
Subject: Re: Performance tricks with multiple tomcat instances
Tomcat APR will use one thread per connection. but APR also has non
blocking option.
Does Tomcat use the non-blocking option? (I haven't
I need to create a site with SSL using a self signed certificate and BASIC
authentication. I downloaded and installed Tomcat 5.5.15, with JDK1.5.5_05
on an XP Pro machine.
I followed the instructions in the SSL Configuration HOW-TO section in the
online documentation, creating my keystore and
From: Robert Thomas [mailto:[EMAIL PROTECTED]
Subject: HTTPS on Tomcat 5.5.15
I downloaded and installed Tomcat 5.5.15, with JDK1.5.5_05
on an XP Pro machine.
If you picked up the .exe download, it includes the APR connector in
bin/tcnative-1.dll, and this uses OpenSSL rather than JSSE.
Please ignore. I changed the ports to 80 and 443, and the problem seems to
have disappeared.
-Original Message-
From: Robert Thomas [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 09, 2006 6:02 PM
To: users@tomcat.apache.org
Subject: HTTPS on Tomcat 5.5.15
I need to create a site
Jeff Krug [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
I have a Tomcat 5.5.12 install that is working well (it is a stand-alone
install under Windows 2003 server). I was given a request to make this
install fully FIPS 140-2 compliant, specifically requiring that Tomcat
not
Just in case someone else comes across this error, I found this code in
the mysql connectorj
Jdk14Logger.java:
private void logInternal(int level, Object msg, Throwable
exception) {
StringBuffer msgBuf = new StringBuffer();
msgBuf.append(new
Justin Greene wrote:
The docs state:
socket_timeout default 0
Socket timeout in seconds used for communication channel between JK and
remote host. If remote host does not respond inside that timeout the JK will
generate an error, and retry again. If set to value zero (default) the JK
will wait
Hi,
How can I get list of users from tomcat-users.xml? Is there any API
provided for this purpose?
Thanks in advance,
A Srivani.
Dear John
As posted there are different way of supporting your requierements.
Also AJAX came to mind until I attended yesterday a presentation from Christian
Bauer on JBoss SEAM project. Christian works with Gaving King (hibernate lead)
on this project.
I suggest you have a look at it on JBoss
90 matches
Mail list logo