apachectl startssl complains about _default_443 (amongst other things...)

2003-07-27 Thread achana
Hi. I compiled mod_ssl into my apache2 and got openssl to generate server.key into .../conf/server.key and server.crt into .../conf/server.crt Then I modified httpd.conf Include /path/to/ssl.conf Also, I commented out all the explicitly named virtual hosts in ... because I expect troubles t

RE: Re[2]: Running Tomcat as Non-Root

2003-07-27 Thread Ralph Einfeldt
No, this shouldn't be a problem if you setup tomcat correctly. http://jakarta.apache.org/tomcat/tomcat-4.1-doc/proxy-howto.html (Note: I havn't tried it on my own) Most documentation that I found about the configuration of tomcat for running as non root on port < 1024 are missing this point: ht

Strange request.setAttribute() problem

2003-07-27 Thread Charles So
Hello, I come across a problem with TC4.1.24 and hope fellow list users can help me... I set a variable in a servlet by calling: request.setAttribute("itemnumber", Integer.valueOf(Integer.toString(itemnumber))); A JSP will then detect if this variable exists or not by: if ( request.getPar

Re: web.xml:session-timeout error

2003-07-27 Thread Tang Guangyu
Please pay attention to position of tag of web.xml. In Servlet2.3 DTD, should be placed after tag. Check http://java.sun.com/dtd/web-app_2_3.dtd for more detail. - Original Message - From: "john-paul delaney" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Monday,

RE: extend j_security_check - filter or event listener?

2003-07-27 Thread Craig Berry
I handled this situation by having logged-in users have a UserModel object in the session. In a filter that catches all servlet requests, I check if request.getAuthenticatedUser returns non-null and there is no UserModel obj in the session. If this occurs, I know that a new user just logged in

extend j_security_check - filter or event listener?

2003-07-27 Thread Sasha Borodin
Hey All, I'm looking for advise on how to approach a problem: I would like to use Container Managed Authentication for a multitude or reasons; however, I need to be able to perform additional "login" tasks upon authentication. My first though was to force the "next page" after j_security_check d

Re: Re[2]: Tomcat: SSL client authentication

2003-07-27 Thread Bill Barker
>From your 1., your client cert is self-signed, not signed by your CA cert. Since this amounts to telling the server "I am Dmitry, because I said so", it's a security-risk to accept self-signed client certs, so most HTTPS servers won't accept them. (Of course, it is also the same security-risk to

JNDIRealm: Authentication Failing

2003-07-27 Thread Adam Sherman
I am trying to get JNDIRealm to authenticate against my LDAP tree: debug="200" connectionURL="ldap://localhost:389"; userBase="ou=People,dc=tritus,dc=ca" userSearch="(mail={0})" roleBase="ou=Groups,dc=tritus,dc=ca" roleName="cn" roleSea

Re: NullPointerException/Connection pool gets exhausted very quickly

2003-07-27 Thread Anton Tagunov
Hello Lior! LS> with conn.close() at the bottom of each page conn.close() at the bottom not enough, what you need is conn= .. try{ }finally{ conn.close(); } LS> and initCtx.close() to release the connections has nothing to do with closing connections -Anton

Re[2]: Tomcat refresh configuration

2003-07-27 Thread Anton Tagunov
Hello Bill! BB> response.setDateHeader("Expires", 1); probably response.setHeader("Expires", -1); to prevent caching? -Anton - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re[2]: Running Tomcat as Non-Root

2003-07-27 Thread Anton Tagunov
Hello Ralph! RE> You can run a java service on ports < 1024 without being root with RE> portmappers, proxies, iptables and several other tools Hmm.., but won't this make the request.getRequestURI() and alike create incorrect URL-s, like http://smth.smth.smth:8080/aaa/b.jsp instead of http://s

Re: Where are translated classes stored in Tomcat 5??

2003-07-27 Thread Tim Funk
Since your using windows. Use windows explorer to find *.java in the $catalina_home\work dir. If nothing is there - then the Sun folks are doing something different with the tomcat installation and I can't be of help. In that case, you'll need to dig through each of the config/startup files. (*

Re: web.xml:session-timeout error

2003-07-27 Thread Tim Funk
Get a validationg XML parser and run your web.xml through it. Your web.xml is not valid with respect to the DTD. -Tim john-paul delaney wrote: Hello List... I've upgraded to 4.1.24 (from a 4.1.x earlier version) and now the following error reported in my catalina.out log. (it's caused by this

[OT] How to print Jakarta documents

2003-07-27 Thread Chiming Huang
Hi, Please advise what is the best way to print Jakarta documents (specifically, JNDI Datasource HOW-TO)? It was chopped off the right edge even when I try to print the "print-friendly version". It seems to be fine if I try to print them in landscape. Is there a way to print them in portrai

Where are translated classes stored in Tomcat 5??

2003-07-27 Thread Julien Martin
Hello again, I can't find any trace of the translated classes in the $catalina_home\work directory for the web application I am working on. How do I configure tomcat in order for the translated files to go there? Note that I am using jwsdp 1.2. Thanks in adavance, Julien. - Original Message

Announce Log4J Web Interface

2003-07-27 Thread Nathan Coast
Hi, The first release of LogWeb is now available. A fully functional web interface for the runtime configuration of log4j within servlet containers and j2ee application servers. LogWeb is freely available at http://www.codeczar.com/projects/logweb/ All configurable behaviour of Log4J is avai

RE: SingleSignOn on within an aliased Host

2003-07-27 Thread Scott Stewart
Bill, Thanks for your reply! However, I have discovered an interesting twist to my scenario that doesn't make sense to me given your explanation below. FYI - I am currently running Tomcat 4.1.x and Apache 2 on a RHL platform. Now, for the interesting/puzzling part: if I initially connect via h

web.xml:session-timeout error

2003-07-27 Thread john-paul delaney
Hello List... I've upgraded to 4.1.24 (from a 4.1.x earlier version) and now the following error reported in my catalina.out log. (it's caused by this timeout setting in web.xml: 30 ) however, I didn't have this problem before. Any ideas? Thanks /j-p. Apache Tom

Re[2]: Tomcat: SSL client authentication

2003-07-27 Thread Dmitry S.Rogulin
But (as I pointed out in 3.,4. and 6) I have client cert and CA cert. The latter I imported to the cacert. I tried to do the same without Tomact but with very simple HTTP(s) server and got the same result. So I suggest that I did something wrong with creating/importing certs. But what's wrong? B

error with "make testcert"

2003-07-27 Thread achana
Hi, all. I am trying to create a self signed certificate for a test before buying one. Some time back, I downloaded and created ../libtool-1.4.2, not in any PATH for obvious reasons. In order to create certificate : # make testcert I got following error : make : *** no rule to make target *** 'test