Re: CRL on Tomcat Tomcat/5.5.15

2006-02-03 Thread Bill Barker
"Dobson Paul L Contr 84 MSUG/GBMLBR" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] >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 bit

Re: Re: Re: APR Connector Shutdown Problem

2006-02-03 Thread Bill Barker
I was doing a cut-and paste from the code in Httpd. In tcnative, 's' is it's internal socket structure, and the APR socket is s->sock. "Fenlason, Josh" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] I added the following line to tomcat-native.1.1.1/jni/native/src/network.c (added a

RE: Managed beans not instantiated with embedded Tomcat 5.5.15

2006-02-03 Thread John
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 from

Re: jasper exception and root cause

2006-02-03 Thread Len Popp
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

Re: Definitive Guide for setting up SSL for Tomcat

2006-02-03 Thread Patrick Lacson
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 --

RE: Managed beans not instantiated with embedded Tomcat 5.5.15

2006-02-03 Thread Caldarale, Charles R
> From: Dennis Byrne [mailto:[EMAIL PROTECTED] > Subject: Re: Managed beans not instantiated with embedded > Tomcat 5.5.15 > > He's not talking about mBeans, he means JSF managed beans. Oops. Thanks for the clarification. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWIS

Re: Definitive Guide for setting up SSL for Tomcat

2006-02-03 Thread Patrick Lacson
So sorry guys about the dupe emails. I have tomcat 5.5.9 and no APR on windows xp -- Patrick

Re: Managed beans not instantiated with embedded Tomcat 5.5.15

2006-02-03 Thread Dennis Byrne
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 Tom

RE: Definitive Guide for setting up SSL for Tomcat

2006-02-03 Thread Caldarale, Charles R
> 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 sp

Re: Catalina vs. jsvc stand alone daemon

2006-02-03 Thread Warren Pace
> > From: <[EMAIL PROTECTED]> > Date: 2006/02/03 Fri AM 07:16:32 EST > To: > Subject: Catalina vs. jsvc stand alone daemon > > Hello Tomcatters, > > finally I solved my Tomcat docs perusal ignorance owed > difficulties, > and could successfully make Tomcat highly available. > Only thing that w

Definitive Guide for setting up SSL for Tomcat

2006-02-03 Thread Patrick Lacson
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

Definitive Guide for setting up SSL for Tomcat

2006-02-03 Thread Patrick Lacson
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

RE: Managed beans not instantiated with embedded Tomcat 5.5.15

2006-02-03 Thread Caldarale, Charles R
> 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 ou

Definitive Guide for setting up SSL for Tomcat

2006-02-03 Thread Patrick Lacson
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

RE: Commercial Support?

2006-02-03 Thread Richard Mixon
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, Feb

ServletContextListener: NoClassDefFoundError

2006-02-03 Thread Joshi, Rahul R
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: ---

jasper exception and root cause

2006-02-03 Thread Mott Leroy
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 thr

Re: Managed beans not instantiated with embedded Tomcat 5.5.15

2006-02-03 Thread Dennis Byrne
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, 20

RE: Managed beans not instantiated with embedded Tomcat 5.5.15

2006-02-03 Thread John
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 yeste

Re: Managed beans not instantiated with embedded Tomcat 5.5.15

2006-02-03 Thread Dennis Byrne
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 >-Orig

RE: Managed beans not instantiated with embedded Tomcat 5.5.15

2006-02-03 Thread John
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 differenc

Tomcat 5.0.25 running out of file handles

2006-02-03 Thread Barry Roberts
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

Re: Managed beans not instantiated with embedded Tomcat 5.5.15

2006-02-03 Thread Dennis Byrne
Is this the same deal you posted on the MyFaces mailing list? http://www.mail-archive.com/users%40myfaces.apache.org/msg16075.html Where did this end up going? Dennis Byrne >-Original Message- >From: John [mailto:[EMAIL PROTECTED] >Sent: Friday, February 3, 2006 03:50 PM >To: users@tomc

Managed beans not instantiated with embedded Tomcat 5.5.15

2006-02-03 Thread John
I have Tomcat 5.5.15 embedded within our Java server application. Tomcat is serving a JSF web application bundled as a war file. 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

RES: need suggestion about jdk 1.4 logging in Tomcat

2006-02-03 Thread Alan Honczar
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 a

Security risk w/ identical Filter/Servlet mappings

2006-02-03 Thread Dennis Byrne
Some of the MyFaces users have noticed it is possible to access secure resources (like the deployment descriptor) when the front controller is mapped to the same URL pattern as the Filter. fooServlet /foo/* fooFilter /foo/* Consider the following 3 line doFil

Re: Desperate for help with isapi_redirect.dll

2006-02-03 Thread Mark Thomas
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 look

Re: Commercial Support?

2006-02-03 Thread Matthew Whisenhunt
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 open-

Re: Desperate for help with isapi_redirect.dll

2006-02-03 Thread Mark Thomas
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 debug

Re: logging my own library in tomcat's shared classpath

2006-02-03 Thread Boris Unckel
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 matt

Re: Commercial Support?

2006-02-03 Thread Kirt Dankmyer
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 open-source product, and that > > excellent support alr

Re: Commercial Support?

2006-02-03 Thread Matthew Whisenhunt
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 pur

logging my own library in tomcat's shared classpath

2006-02-03 Thread Jason Novotny
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

Commercial Support?

2006-02-03 Thread Kirt Dankmyer
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

RE: socket read errors

2006-02-03 Thread James Rome
"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, e-

request.getHeader() gives null

2006-02-03 Thread Anoop kumar V
HI All, I am using Tomcat5. I have a simple jsp displaying the header information that I have set in another jsp page. For some reason I can see all the default headers except the headers that I have set in this jsp. I am doing a jsp:forward to go to the next page which displays the header informa

RE: Custom Authenticator

2006-02-03 Thread Stefan Baramov
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: users@tomcat

RE: [Friday] - finding the Mavens in the Java world

2006-02-03 Thread Frank W. Zammetti
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 al

RE: [Friday] - finding the Mavens in the Java world

2006-02-03 Thread Daniel Blumenthal
- "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, Februar

[Friday] - finding the Mavens in the Java world

2006-02-03 Thread David Thielen
Hi all; For those of you that have read The Tipping Point, this will make sense (I think). For those that haven't, a maven is a person that trys just about every interesting p

Re: auth-constraint in web.xml in tomcat 5.5.15

2006-02-03 Thread Mark Thomas
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 * line. If I put a > specific role in, users in that role can log in but

CRL on Tomcat Tomcat/5.5.15

2006-02-03 Thread Dobson Paul L Contr 84 MSUG/GBMLBR
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

Re: Port 8443 won't become active (UNCLASSIFIED)

2006-02-03 Thread Mike Sabroff
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 p

Re: catalina.sh on os x

2006-02-03 Thread Patrick Lacson
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, > > althou

RE: Port 8443 won't become active (UNCLASSIFIED)

2006-02-03 Thread Jeffery G. Summers
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 that

Re: Why TC 5.5 vs TC4.1 (perf reasons)

2006-02-03 Thread Leon Rosenberg
well we documented it in wiki, which is of course not public, but i can attach some tables from there: Testresults sendMessage 16.06.2004 ServletcontainerHostRequests/sec Tomcat 4lime57 Tomcat 5lime63 Resin 3.0.5 lime49-50 Resin 3.0.

RES: need suggestion about jdk 1.4 logging in Tomcat

2006-02-03 Thread Alan Honczar
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. Every

Re: Valadation of Tomcat config files

2006-02-03 Thread Glen Mazza
[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

Re: Best practice for Capturing JSP Errors

2006-02-03 Thread Mott Leroy
Len Popp wrote: You can use an directive in web.xml to send uncaucht exceptions to an error page: java.lang.Exception /error Thanks Len, but I want to do more than catch them, I want to also report on them -- is the exception accessible on the resulting page?

Re: Port 8443 won't become active (UNCLASSIFIED)

2006-02-03 Thread Mike Sabroff
JAVA_HOME/jre/lib/security/java.security:ssl.KeyManagerFactory.algorithm=SunX509 JAVA_HOME/jre/lib/deploy.jar - found in here JAVA_HOME/jre/lib/jsse.jar - and here This is the default for a normal sun installation. What IBM does is unknown, but if tomcat sees the IBM release and NOT the Sun/jav

Re: Best practice for Capturing JSP Errors

2006-02-03 Thread Len Popp
On 2/3/06, Mott Leroy <[EMAIL PROTECTED]> wrote: > Glen Mazza wrote: > > >> And another is to define the error page in your web.xml: > >> > >> > >> 500 > >> /myPage.jsp > >> > >> > > > > I would save these for generic HTTP error codes, or generic Java > > exceptions (NullPointerErrors,

RE: Port 8443 won't become active (UNCLASSIFIED)

2006-02-03 Thread Jeffery G. Summers
Yes. Based on Tomcat 5's documentation, we did the following: keytool -genkey -alias tomcat -keyalg RSA We edited the server.xml file and uncommented the port 8443 connector and restarted Tomcat. At that point (according to the docs) port 8443 should be active. Previously we tried going throug

RE: Port 8443 won't become active (UNCLASSIFIED)

2006-02-03 Thread Samara, Fadi N Mr ACSIM/ASPEX
Classification: UNCLASSIFIED Caveats: NONE Have you generated key pairs yet ? -Original Message- From: Jeffery G. Summers [mailto:[EMAIL PROTECTED] Sent: Friday, February 03, 2006 11:24 AM To: 'Tomcat Users List' Subject: RE: Port 8443 won't become active OK, so it isn't the java ver

RE: socket read errors

2006-02-03 Thread Duan, Nick
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 presente

Re: socket read errors

2006-02-03 Thread James Rome
I found out what is causing this. My read is done with the following code: BufferedReader rdr = new BufferedReader( new InputStreamReader(input)); String rdstr; while ((rdstr = rdr.readLine()) != null) { sb.append(rdstr + "\n"); } I always get the full presented certificate, but

RE: Port 8443 won't become active

2006-02-03 Thread Jeffery G. Summers
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 chang

Re: Best practice for Capturing JSP Errors

2006-02-03 Thread Mott Leroy
Glen Mazza wrote: And another is to define the error page in your web.xml: 500 /myPage.jsp I would save these for generic HTTP error codes, or generic Java exceptions (NullPointerErrors, ClassCastExceptions, perhaps), things are more likely the result of errors in coding than

auth-constraint in web.xml in tomcat 5.5.15

2006-02-03 Thread Oliver Kohll
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 portalBase Application /* *

Re: Why TC 5.5 vs TC4.1 (perf reasons)

2006-02-03 Thread Lionel Farbos
Thank you Leon, but, do you have a doc on theses testes ? On Fri, 3 Feb 2006 16:00:25 +0100 Leon Rosenberg <[EMAIL PROTECTED]> wrote: > 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

Re: Deployment order strategy

2006-02-03 Thread Bruno Georges
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 Ex

Re: Problem in j_security_check

2006-02-03 Thread Prashant Saraf
filnaly it done thanks 4 all On 2/3/06, David Delbecq <[EMAIL PROTECTED]> wrote: > > 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, >

Re: Catalina.out gets to big-> Server crashes

2006-02-03 Thread Tim Funk
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

Re: Strange problem with tomcat Please help

2006-02-03 Thread Mike Sabroff
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 PROTECTED]

Re: Problem in j_security_check

2006-02-03 Thread David Delbecq
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, /saraf/* in security constraint mean the secure area is http:///saraf/saraf/* If your secure

Re: Catalina.out gets to big-> Server crashes

2006-02-03 Thread Joost de Heer
> 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 mo

RE: logfile sharing

2006-02-03 Thread Tim Lucia
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 http://logging.apache.org/log4j/docs/api/org/apache/log4j/FileAppender.ht

RE: need suggestion about jdk 1.4 logging in Tomcat

2006-02-03 Thread Caldarale, Charles R
> 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 y

Re: Why TC 5.5 vs TC4.1 (perf reasons)

2006-02-03 Thread Leon Rosenberg
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 rea

Re: Problem in j_security_check

2006-02-03 Thread Prashant Saraf
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

Re: Problem in j_security_check

2006-02-03 Thread David Smith
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 /

Re: Problem in j_security_check

2006-02-03 Thread Prashant Saraf
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

logfile sharing

2006-02-03 Thread Andreas Daab
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]

RE: Why TC 5.5 vs TC4.1 (perf reasons)

2006-02-03 Thread Caldarale, Charles R
> 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 d

Callback (JAAS)

2006-02-03 Thread Stefan Baramov
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

Re: Problem in j_security_check

2006-02-03 Thread David Delbecq
<-- that's the error put this instead Prashant Saraf a écrit : >as i am new i refer tomcat 's jsp-example >my structure of webapp > >webapps-| > | > saraf > | > index.html(which link to login.jsp) > | > protected >

socket read errors

2006-02-03 Thread James Rome
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 P

Re: Problem in j_security_check

2006-02-03 Thread Prashant Saraf
as i am new i refer tomcat 's jsp-example my structure of webapp webapps-| | saraf | index.html(which link to login.jsp) | protected | login.jsp,error.jsp,index.jsp. my login.jsp

Re: Problem in j_security_check

2006-02-03 Thread David Smith
Can you post your login.jsp and let us know if this webapp is ROOT or not? --David Prashant Saraf wrote: i did same now it gives following error The requested resource (/saraf/protected/j_security_check) is not available. Do i need edit server.xml or any other file. On 2/3/06, David Smith <[E

Re: Deployment order strategy

2006-02-03 Thread David Smith
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.

Deployment order strategy

2006-02-03 Thread LE CALVE, Laurent
> I have 3 different .war files to deploy under Tomcat 5.5 > I deploy under Tomcat (under webapps) these 3 files with Eclipse 3.2 and the > order they start under Tomcat is very important for me because they > communicate between them with WebServices. > > When Tomcat starts, I want that Tomc

Re: Problem in j_security_check

2006-02-03 Thread Prashant Saraf
i did same now it gives following error The requested resource (/saraf/protected/j_security_check) is not available. Do i need edit server.xml or any other file. On 2/3/06, David Smith <[EMAIL PROTECTED]> wrote: > > A quick overview of how authentication works might be helpful here. > Here's the s

Re: Problem in j_security_check

2006-02-03 Thread David Smith
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 submi

Jcoverage

2006-02-03 Thread Hooper, Paul
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

Re: Problem in j_security_check

2006-02-03 Thread David Delbecq
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 serv

Tomcat don't send the response

2006-02-03 Thread Marco Aurélio Seraphim da Silva
Hello All! I'm using Tomcat 5.0.28, with JVM 1.4.2_10-b03, under Windows 2000 Server, and some times the Tomcat appears like don't receive the request from the browser or Web Service (AXIS). When it happens, I press CTRL+C on the Tomcat Prompt Screen and everything became normal. When the problem

Re: Catalina.out gets to big-> Server crashes

2006-02-03 Thread Christian Andersson
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 defi

Re: need suggestion about jdk 1.4 logging in Tomcat

2006-02-03 Thread Boris Unckel
> 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,

Re: Problem in j_security_check

2006-02-03 Thread Prashant Saraf
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 > c

Re: Problem in j_security_check

2006-02-03 Thread David Delbecq
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

Valadation of Tomcat config files

2006-02-03 Thread Ralph.Grothe
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 th

Re: problem with JNDI

2006-02-03 Thread Hans Sowa
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 fo

Problem in j_security_check

2006-02-03 Thread Prashant Saraf
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 http://java.sun.com/xml/ns/j2ee " xmlns:xsi=3D"http://www.w3.org/2001/X

Catalina vs. jsvc stand alone daemon

2006-02-03 Thread Ralph.Grothe
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 adaptations

need suggestion about jdk 1.4 logging in Tomcat

2006-02-03 Thread Alan Honczar
Hi, 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. In my own lines of code, I create a JDK1.4 logger with an associated name, Handler and Formatter. This way, I have one log file per context. My problem is when

Problem precompiling jsps, please help

2006-02-03 Thread Andreas Rehn
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

problem with JNDI

2006-02-03 Thread Hans Sowa
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 lookupJNDIConnectio

Problem with isapi_redirect.dll connector

2006-02-03 Thread Carlos Rutenfrans
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

Re: Strange problem with tomcat Please help

2006-02-03 Thread rrshwrk
ok, i got it. sees like it was some firewall problem. i stopped iptables service and it worked! On 2/3/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > But, http://otherpc:8080 is working? > > On 2/3/06, Danny Lee <[EMAIL PROTECTED] > wrote: > > > > That obviously means, that the port 8080 is

Re: Strange problem with tomcat Please help

2006-02-03 Thread rrshwrk
But, http://otherpc:8080 is working? On 2/3/06, Danny Lee <[EMAIL PROTECTED]> wrote: > > 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 > > > -

mod_jk - Apache flush stream issues

2006-02-03 Thread Dirk Slootmaekers
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

  1   2   >