Markus a écrit :
Ok, when I set clientAuth to want the Exception getting SSL Cert
goes away. (Wtf is this documented?).
Yes it is documented:
http://tomcat.apache.org/tomcat-5.5-doc/ssl-howto.html
Section 'Edit the Tomcat Configuration File'
But I still get the 403 - Access
denied error.
Hi Patrick,
although I lack any Tomcat knowledge as well as MAC OS experience
I think that is a mere scripting issue.
The syntax errors you produced after your commenting out of the
OS check must be a follow on.
I think you only missed to comment every line from the case
block,
so the case line
Hi all,
is somebody know a good link that show why Tomcat 5.5 is better than Tomcat 4.1
?
Note : My interest is only the performances on dynamic requests (not the new
features, nor the static pages).
Thanks in advance.
-
To
Hi. Any help would be much appreciated on this problem, which has appeared
since catalina 5.5.12. (WinXP SP2, Sun JDK 1.5.0_06, Eclipse 3.2M4)
As part of my startup routine, my first servlet reconfigures logging:
Logger.getRootLogger().removeAllAppenders();
Hi.
I've been checking the Sun Java System Application Server Platform
Edition 8.2. And, what was my surprise when i didn't find a reload
function for the web apps! I mean, in tomcat you can reload webapps
manually (with the manager, for example) without stopping anything.
In JSAS 8.2 you can
Hi,
in the thread Tomcat-5.5.12 less robust than 5.0.28 I told about
problems with the scaling of tomcat. We have more incoming calls to
tomcat than tomcat can handle. Windows 2003 seems to have problems to
distribute the threads to the cpu if the number of threads is bigger
than 50. The cpu load
You can configure something like tomcat's autodeploy
Sorry for the mistake. I mean tomcat's context reloadable attribute.
(Set to true if you want Catalina to monitor classes
in /WEB-INF/classes/ and /WEB-INF/lib for changes, and automatically
reload the web application if a change is
That obviously means, that the port 8080 is kind of closed in your local
network, try to contact your admin, maybe he knows more.
Danny
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
hello,
I have developped a J2EE application, based on tomcat that is streaming
dynamic content into a JSP page. To do that I'm using the
writer.write(v); command and do a response.flushbuffer()
these 2 actions are in a try and catch. When I test my application only
using tomcat and I kill
I'm using isapi_redirect.dll 1.2.15 on IIS-6 Windows 2003 server and
seems that isapi_redirect is not respecting the case-senitivitie of all
the header lines.
Is there someone else how is having this problem. And how can i solve
this problem?
Here is a small part of my logging:
Logging of the
Hi
I'm working on a webapplikation using JNDI to lookup for a database
connection. Actually it works for several times and then it stopps and I
don't get an connection. I analysed it and found out that Method
getConnnection has a problem.
Here is my code:
protected Connection
Hi,
I'm in the process of upgrading my tc 4.1 to 5.5 and I discover that my
maven goals for precompiling jsps does not work any more eventough I
referenced the new libs for jasper etc. I get java.lang.ClassCastException
in the jsp-compiler.. doen't say more than that unfortunately. Funny thing
is
Hello Tomcatters,
finally I solved my Tomcat docs perusal ignorance owed
difficulties,
and could successfully make Tomcat highly available.
Only thing that was required after installation of a recent JRE
and untarring of the Tomcat binary tarball into my DRBD/LVM mount
were very minute
i have a problem in Tomcat jsp
when i use j_security_check it gives me following error.
The request sent by the client was syntactically incorrect (Invalid direct
reference to form login page
why this so
my web.xml
?xml version=3D 1.0 encoding=3DISO-8859-1?
web-app
Hallo
I solved the problem. It is embarrasing to me but in some cases I didn't
close the connection. So therefore I had this problem.
Thanks.
2006/2/3, Hans Sowa [EMAIL PROTECTED]:
Hi
I'm working on a webapplikation using JNDI to lookup for a database
connection. Actually it works for
Hello again,
still being in my Tomcat infancy I need to edit various Tomcat
config files,
which sadly are all XML and not as tangible to human editing
customs.
How easy can it occur that one forgets a closing tag or mispells
or only uses wrong case for a tag's attribute.
I need and want to edit
This mean you tried to access login form directly. This is not allowed
in j2ee specifications.
Access to login form should only be triggered by server on demand. You
can't force a login.
To access login page, simply put a link to saraf/index.html (simple example)
Prashant Saraf a écrit :
i have a
i created a link which connect to login.jsp then also it not works:(
On 2/3/06, David Delbecq [EMAIL PROTECTED] wrote:
This mean you tried to access login form directly. This is not allowed
in j2ee specifications.
Access to login form should only be triggered by server on demand. You
can't
Since they use commons logging, I´ve had to call
LogManager.getLogManager().readConfiguration(InputStream is); in order to
make the logging engine
load my configurations and let me log where I wish.
But that affects in a global way. If I have only one context running,
everything is fine, but
I recently came across this problem also (i've read some of the later
mails in this discussion also and I'm answering to those too) with a
tomcat 5.5.12 installation and using the ext3 filesystem.
anyway, my setup is using jsvc from the commons daemon project, and the
catalina.out file is
Once again, login form can only be accessed on demand by server. This
mean access to you login.jsp will only occur as a result of a jsp
forward internal to server at the first time you enter a secure area.
You can't either access j_security_check either login.jsp directly. The
required data in
Does anybody out there know anything about jcoverage ???
_Confidentiality notice: Whilst this company has procedures in place and
makes every effort to safeguard both Inbound and Outbound Emails, we cannot
guarantee that attachments are Virus - Free or compatible with your systems and
therefore
A quick overview of how authentication works might be helpful here.
Here's the sequence of events:
1) User requests a secured resource
2) The server internally redirects the user to login.jsp (note: the
client NEVER directly requests login.jsp)
3) The user enters his/her credentials and
There is no guarantee regarding the start order of webapps. This is
primarily due to the threaded nature of tomcat. Your best bet is to
have the dependent webapp(s) intelligently handle the case where the
first one isn't available yet. It'll make for a much more robust and
scaleable design.
My servlet that verifies presented client certificates is getting socket
read timeout errors:
INFO: : i/o exception: java.net.SocketTimeoutException:
Read timed out Feb 2, 2006 7:24:14 PM
org.apache.catalina.core.StandardWrapperValve invoke WARNING:
Servlet.service() for servlet
form method=POST action='%= response.encodeURL(j_security_check) %'
-- that's the error
put this instead
form method=POST action='j_security_check'
Prashant Saraf a écrit :
as i am new i refer tomcat 's jsp-example
my structure of webapp
webapps-|
|
saraf
According to the Tomcat User Guide, only two callbacks are supported:
NameCallback and PasswordCallback. I have an app that has to have
another call back: ClientCallback. In other words my login window looks
like this:
Clietn : ||
User:||
Password:||
I am
From: Lionel Farbos [mailto:[EMAIL PROTECTED]
Subject: Why TC 5.5 vs TC4.1 (perf reasons)
is somebody know a good link that show why Tomcat 5.5 is
better than Tomcat 4.1 ?
Don't know of any documented 4.1 vs. 5.5 studies, but Peter Lin
published an interesting paper comparing static
Hi,
is it possible to share logfiles between different web applications
running on different tomcat instances?
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
still it not works
it again focous on login page and if i again given detail gives following
error
The requested resource (/saraf/protected/j_security_check) is not available
is this somthig related to web.xml or i have add some in config/server.xml
Ok.
login.jsp and error.jsp probably shouldn't be located in the protected
folder. They are meant to be seen by the unauthenticated users.
index.html definitely shouldn't link to login.jsp. Link it to
protected/index.jsp instead.
Your web.xml specs a url pattern of saraf/*. It should be
i think problem should be web.xml but still it gives following problem
1)You are logged in as remote user *null* in session *
2AD5AC97008551CE1EDD510E06AE6E1F
*WHICH SHOULD NOT*
* 2)how should tomcat know that protected is protected
we have made some performance tests and found out that tomcat 5(
5.0.25) is faster with tag heavy pages, probably because of the tag
pooling.
Leon
On 2/3/06, Caldarale, Charles R [EMAIL PROTECTED] wrote:
From: Lionel Farbos [mailto:[EMAIL PROTECTED]
Subject: Why TC 5.5 vs TC4.1 (perf reasons)
From: Alan Honczar [mailto:[EMAIL PROTECTED]
Subject: need suggestion about jdk 1.4 logging in Tomcat
I need a suggestion about java logging within a context.
I´d like to have a way to isolate the jdk1.4 log between
Tomcat contexts.
You didn't bother to tell us what Tomcat version you're
Yes. A FileAppender (log4j) which points to the same file. I even log all
clustered application messages to the same file, but I do include a constant
string in the layout which mentions which cluster member logged it.
See
now the question I have is now, how can I here setup jsvc so that it
uses logrotation,
As far as I'm aware catalina.out can't be rotated. For the Tomcat servers
I maintain I've written a script that stops/moves catalina.out/gzips
catalina.out/starts Tomcat every Sunday night at 4am. Not the
Everything that correspond to the security-constraint on your web.xml is
'protected' and need authentification.
When you are authenticated, field request.getRemoteUser() is not null
anymore.
Be carefull,
url-pattern/saraf/*/url-pattern
in security constraint mean the secure area is
no route to host is a dns or network problem. it would not be in the
catalina.out do a ps on apache...you will probably find that the default
fedora setup (unless you did not set up web server on installation) is
to install and run apache on boot-up which would be on port 80.
[EMAIL
http://tomcat.apache.org/faq/logging.html#catalina.out
-Tim
Joost de Heer wrote:
now the question I have is now, how can I here setup jsvc so that it
uses logrotation,
As far as I'm aware catalina.out can't be rotated. For the Tomcat servers
I maintain I've written a script that stops/moves
Laurent
I don't know if tomcat standalone can do this, however,
I would deploy tomcat with Jboss and use jboss deployer where you can choose
between different scheme.
According to jboss doc
implicit behvior is defined by:
Urlcomparator policy
Russian doll policy
Explicit behavior is defined by
Hi,
I have security for a web application managed by a DataSource
database realm. Using tomcat 5.5.14 this works fine but in 5.5.15
there seems to be a problem.
My application's web.xml contains
security-constraint
web-resource-collection
web-resource-nameportalBase
Glen Mazza wrote:
And another is to define the error page in your web.xml:
error-page
error-code500/error-code
location/myPage.jsp/location
/error-page
I would save these for generic HTTP error codes, or generic Java
exceptions (NullPointerErrors, ClassCastExceptions, perhaps),
OK, so it isn't the java version. I've ensured JAVA_HOME is correct and
that the PATH is pointing to the right version. All the jars are running
through 1.4.2.
I'm stumped. I've gone through various docs/faqs and can't find anything
that helps. I know port 8443 can be activated because I
Are you using Solaris? Is it possible that your MTU at the OS level
wasn't set to a large number?
ND
-Original Message-
From: James Rome [mailto:[EMAIL PROTECTED]
Sent: Friday, February 03, 2006 9:30 AM
To: Tomcat Users List
Subject: socket read errors
My servlet that verifies
On 2/3/06, Mott Leroy [EMAIL PROTECTED] wrote:
Glen Mazza wrote:
And another is to define the error page in your web.xml:
error-page
error-code500/error-code
location/myPage.jsp/location
/error-page
I would save these for generic HTTP error codes, or generic Java
Len Popp wrote:
You can use an error-page directive in web.xml to send uncaucht
exceptions to an error page:
error-page
exception-typejava.lang.Exception/exception-type
location/error/location
/error-page
Thanks Len, but I want to do more than catch them, I want to also report
on
[EMAIL PROTECTED] wrote:
I need and want to edit these files manually since I can't use
GUI tools nor can I connect to a management URI by a rendering
browser.
The best I could use was a bare ascii user agent such as e.g.
lynx.
The issues this could arise are the aforementioned typos.
So I need
Yes, I did not bother... sorry.
I was using 4.0 and 5.0, not 5.5.
I upgraded Tomcat to 5.5 and tested my application.
Fisrt of all, I commented my call to LogManager.readConfiguration(InputStream),
and put my logging.properties under WEB-INF/classes in order lo let Tomcat read
the file.
Mike,
In our JAVA_HOME/jre/lib/security/java.security the following exists:
ssl.KeyManagerFactory.algorithm=IbmX509
ssl.TrustManagerFactory.algorithm=IbmX509
We have no JAVA_HOME/jre/lib/deploy.jar or jsse.jar.
Our error log says SunX509 while the above obviously has IbmX509. I'm
guessing
Thanks for the tips Ralph. I'm certain it's a script issue.
As a work-around I copied the bin/*.sh scripts from the latest version of
tomcat 5.5 and copied them to my tomcat 5.5.9 bin and all is working.
Thanks!
On 2/3/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Hi Patrick,
although I
I don't know if that will take care of it, but I would try changing the
catalina.properties (tomcat/conf)
it has some references to sun. There may be some access problems on
the IBM classes or packages that need to be set in heremaybe just
adding the equivalent IBM packages may solve the
I have just downloaded and installed tomcat 5.5.15 and configured SSL and
Client Authentication. I have about a dozen different CRL lists I need to
authenticate against. I have read little bits and pieces about CRL list
support from different postings here and there like having to recompile with
Oliver Kohll wrote:
Hi,
I have security for a web application managed by a DataSource database
realm. Using tomcat 5.5.14 this works fine but in 5.5.15 there seems to
be a problem.
The problem seems to be the role-name*/role-name line. If I put a
specific role in, users in that role
Hi all;
For those of you that have read The
http://www.amazon.com/gp/product/0316346624/sr=1-1/qid=1138589404/ref=pd_bb
s_1/002-3569767-9990453?%5Fencoding=UTF8 Tipping Point, this will make
sense (I think). For those that haven't, a maven is a person that trys just
about every interesting
- select count(*) as c from [postings on tomcat.apache.org] group by email
order by c desc, and then figure out which are the clued-in, and which are
the clueless
- repeat, with other listservs
-Original Message-
From: David Thielen [mailto:[EMAIL PROTECTED]
Sent: Friday, February
If one were being sarcastic and jaded (although a bit realistic at the
same time unfortunately):
select count(first_name) as c from [postings on tomcat.apache.org] where
unemployed='T' and not_married='T' and no_kids='T'
Since most of us with regular jobs don't generally have time to play with
You can also implement custom LoginModule according to the JAAS
specification. JAAS tutorial and LoginModule example is included in the
JDK documentation.
| -Original Message-
| From: Arash Bijanzadeh [mailto:[EMAIL PROTECTED]
| Sent: Thursday, February 02, 2006 7:21 AM
| To:
Are you using Solaris? Is it possible that your MTU at the OS level
wasn't set to a large number?
Well, It is a Solaris server talking to my Linux server.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands,
Okay, I know that Tomcat is your basic open-source product, and that
excellent support already comes from the community.
But as I am sure some of you know, that's a tough sell to corporate
execs sometimes.
So, if you were going to purchase support for Tomcat, who would you
purchase it from? What
Hi,
I'm writing a library that will be used by multiple webapps in
Tomcat and wondering what are the tradeoffs between each of the logging
libraries to use with this library. The 3 I'm considering are
commons-logging, log4j, and JDK logger class... should it matter which
one I use if the
Kirt,
http://mokisystems.com
-Matt
Kirt Dankmyer wrote:
Okay, I know that Tomcat is your basic open-source product, and that
excellent support already comes from the community.
But as I am sure some of you know, that's a tough sell to corporate
execs sometimes.
So, if you were going to
Hello Jason,
Jason Novotny wrote:
I'm writing a library that will be used by multiple webapps in
Tomcat and wondering what are the tradeoffs between each of the
logging libraries to use with this library. The 3 I'm considering are
commons-logging, log4j, and JDK logger class... should it
Bill Barker wrote:
Building the dll should be easy enough, if you have access to MSVC.
Attaching the debugger is a PITA.
Thanks for the hint about the debugger. I would have wasted hours on
it I am sure.
Probably easier to add lots of debugging logging statements than to attach
the debugger
Call them up, ask for James.
Kirt Dankmyer wrote:
They offer Tomcat support? I find no mention of it on their website...
On 2/3/06, Matthew Whisenhunt [EMAIL PROTECTED] wrote:
Kirt,
http://mokisystems.com
-Matt
Kirt Dankmyer wrote:
Okay, I know that Tomcat is your basic
Bruno Georges wrote:
There is a guy from MS whose online blog helped me a lot when writing ISAPI
filters, David Wang, you can find him on:
http://blogs.msdn.com/david.wang/default.aspx
Many thanks for this tip. This guy's blog has been incredibly useful.
I highly recommend it for anyone
tomcat-juli.jar works fine under Tomcat5.0 too.
I could not put x4juli.jar running... the WAR of the sample application did not
open. The properties did not work at first, and after fixed, did not work at
all. I will stop spending time on it, all right Boris?
Thank you all!
Do anyone know of
I've been investigating why some of my tomcat servers run out of file
handles when ther'es a problem with the database and connections start
backing up. I've discovered some things that have me scratching my
head, and I'm hoping someone can help me come up with at least an
explanation, maybe even
Dennis,
Yes, exactly the same issue.
A myFaces list subscriber tried my war within his Standalone Tomcat and
it worked as expected (the managed beans functioned correctly). And I
verified that this was true by connecting to his server and running my
war.
So I'm figuring that the only
Please try this in Jetty or Resin as well John. The root cause of some bugs
has blown me away, but I just have a hard time thinking the servlet container
is reponsible for this. Oh, and please make sure you let folks back in myfaces
land know what the cause was. TIA.
Dennis Byrne
Dennis,
Unfortunately, I don't have Jetty or Resin (not sure what they are even
exactly).
I thought I'd post the question here as the problem seems to be pointing
to an embedded Tomcat idiosyncroncy, rather than a myFaces issue. I
posted the result of the most recent test on the myFaces list
Jetty and Resin both are/have java servlet containers. They are free. Also,
Tomcat ( at least 5.5.9 ) comes with a commons-el.jar . Make sure the same
version is in both environments.
Dennis Byrne
-Original Message-
From: John [mailto:[EMAIL PROTECTED]
Sent: Friday, February 3, 2006
Sorry, there was a thread about jsp errors, but i thought this was
different enough to warrant a new thread.
I'm having trouble programatically retrieving the root cause of a JSP
Exception. Basically, if a NullPointerException is thrown on a JSP page,
I want to know that this exception was
Hi,
I am using Tomcat-5.5.8 on Cygwin. I have written my own ContextListener
class (called ApplicationStart) that implements ServletContextListener.
The class is compiled and is present in my WEB-INF/classes folder in the
proper package. When I start Tomcat, I get the following error:
Not positive, but I believe that Jboss also offers support for just Tomcat.
I attended a webinar a while back and it appears a number of the Tomcat
developers are also affiliated with Jboss.
HTH - Richard
-Original Message-
From: Kirt Dankmyer [mailto:[EMAIL PROTECTED]
Sent: Friday,
hi all,
I've been trying to set up SSL using the Verisign free trial certificate
without success. The self-cert using instructions per the tomcat5.5-ssl-how.
was easy and straightforward, but the instructions for how to use a verisign
certificate did not work. I have followed those instructions
From: John [mailto:[EMAIL PROTECTED]
Subject: Managed beans not instantiated with embedded Tomcat 5.5.15
The web application makes use of managed beans
This web application works fine when run in a Stand Alone
Tomcat that is not embedded.
When the web application is run within our
hi all,
I've been trying to set up SSL using the Verisign free trial certificate
without success. The self-cert using instructions per the tomcat5.5-ssl-how.
was easy and straightforward, but the instructions for how to use a verisign
certificate did not work. I have followed those instructions
From: Patrick Lacson [mailto:[EMAIL PROTECTED]
Subject: Definitive Guide for setting up SSL for Tomcat
This is where I need your help. I followed the Tomcat instructions (
http://tomcat.apache.org/tomcat-5.5-doc/ssl-howto.html) to
the letter and have been unsuccessful.
You didn't
He's not talking about mBeans, he means JSF managed beans. Thanks though.
Dennis Byrne
-Original Message-
From: Caldarale, Charles R [mailto:[EMAIL PROTECTED]
Sent: Friday, February 3, 2006 06:21 PM
To: 'Tomcat Users List'
Subject: RE: Managed beans not instantiated with embedded Tomcat
Does this have anything to do with the format of my CSR being in JKS and the
format of the cert that Verisign uses in PKCS12?
On 2/3/06, Patrick Lacson [EMAIL PROTECTED] wrote:
So sorry guys about the dupe emails.
I have tomcat 5.5.9 and no APR on windows xp
--
Patrick
--
Patrick
On 2/3/06, Mott Leroy [EMAIL PROTECTED] wrote:
Sorry, there was a thread about jsp errors, but i thought this was
different enough to warrant a new thread.
I'm having trouble programatically retrieving the root cause of a JSP
Exception. Basically, if a NullPointerException is thrown on a JSP
Well the issue has been resolved.
Apparently, it was not due to Tomcat being embedded at all.
It was due to multiple versions of myfaces and sun jars within the
WEB-INF/lib directory of the war file.
Thanks to Volker Weber on the myFaces list for finding the problem. He
removed duplicate jars
82 matches
Mail list logo