How to Build Tomcat 4.1.x or 5.0.x on Windows?

2005-10-15 Thread James W. Anderson
I downloaded the source zip for both Tomcat 4.1.3 and 5.0.30 and have been struggling for three days now to get a build to work. I'm using the Sun J2SE 1.5 JDK and Ant 1.6.5. I followed the build instructions on the Tomcat web site and downloaded all of the required files, and have been slowly ma

Re: Tomcat user principal

2005-10-15 Thread Wendy Smoak
From: "Brad O'Hearne" <[EMAIL PROTECTED]> I would have expected that designation of the user class name would have resulted in my being returned the class I specified for the user class name from the requestion.getUserPrincpal() method, but it doesn't. What version of Tomcat are you using? A

Re: Tomcat user principal

2005-10-15 Thread Brad O'Hearne
Wendy, Thanks for the reply. Here is my realm setup in my Tomcat server.xml: appName="imap" userClassNames="com.redbarnsoftware.web.security.UserPrincipal" roleClassNames="com.redbarnsoftware.web.security.RolePrincipal" debug="99" /> I would have expected that designatio

Re: Tomcat user principal

2005-10-15 Thread Wendy Smoak
From: "Brad O'Hearne" <[EMAIL PROTECTED]> I am using the JAASRealm for Tomcat 5.x, and in my JAAS module, I am storing my own Principal subclass as the user principal. In my subsequent servlets, when I invoke the request.getUserPrincipal() method, I am not returned my user principal, but I am in

Tomcat user principal

2005-10-15 Thread Brad O'Hearne
I am using the JAASRealm for Tomcat 5.x, and in my JAAS module, I am storing my own Principal subclass as the user principal. In my subsequent servlets, when I invoke the request.getUserPrincipal() method, I am not returned my user principal, but I am instead returned a GenericPrincipal. It a

Dynamic jsp includes

2005-10-15 Thread j r
All, This is perhaps a very easy question for many of you, but here it goes: What has changed from tomcat 4.1.30 to tomcat 5.5 that would make dynamic jsp includes not work? I have tried setting the following settings to ensure that it works: development=false, reloading=true, checkInterval=900

Re: JDBC Realm - am I missing something

2005-10-15 Thread David Delbecq
Le Samedi 15 Octobre 2005 13:38, Graham Reeds a écrit : >I have a number of apps running on my Tomcat system some are tests and >some aren't but I might have spotted a problem of which I am sure >someone else would of ran into long before now: >If I need to authenticate for more than one app agains

Re: Hijacking the coyote connector

2005-10-15 Thread Bill Barker
There should never be a reason to replace the Connector in Tomcat, since all it does is serve as a bridge. Also, in TC 5.5.x, the Connector is strongly integrated with the container code, so it is is almost certainly more trouble than it is worth to try. The recommended way to do what it sound

Re: SSL Error : Please HELP

2005-10-15 Thread Bill Barker
You can pass the option '-Djavax.net.debug=ssl:handshake' to the Tomcat startup, (either set JAVA_OPTS to it if you are using startup.bat, or add it via the tomcat5w.exe GUI if you are using the service). It will give you tons of information about the SSL negotiations from the Tomcat side. If

jsp and application server

2005-10-15 Thread henry human
Hi, I am using sun application server and I have a smal hello World jsp file. Where shall i put this file in server to be accessed? Where i find a good and easy tutorial to understand how could be a web -project created and haw could be this project accessed in application server? Best regard

Re: where is "catalina.out" defined and enabled?

2005-10-15 Thread andy gordon
Philip, Great Question! Go look at http://tomcat.apache.org/tomcat-5.5-doc/logging.html This should help. The Tomcat folks have implemented log4j which you can use to redirect the output from the CMD window to a log file. Give this a try. Its easy to set up. There may be others ways to accom

JDBC Realm - am I missing something

2005-10-15 Thread Graham Reeds
I have a number of apps running on my Tomcat system some are tests and some aren't but I might have spotted a problem of which I am sure someone else would of ran into long before now: If I need to authenticate for more than one app against different schemas that are held in the same database wh

Re: remove myself from list failure attached

2005-10-15 Thread Graham Reeds
Attached to every email: - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTE

RE: Illegal Field Name Error

2005-10-15 Thread Asad Habib
Thank you for all your input, everyone. This problem has been resolved. Apparently, struts.jar was not being built previously and so some of the referenced classes were not defined. Thanks, once again. - Asad On Sat, 15 Oct 2005, Asad Habib wrote: Hello. Here is the code for registration.Re

RE: Illegal Field Name Error

2005-10-15 Thread Asad Habib
Hello. Here is the code for registration.RegistrationTypeAction package registration; import javax.servlet.http.*; import org.apache.struts.action.*; public class RegistrationTypeAction extends Action { public ActionForward execute (ActionMapping mapping, Act

RE: Problems with graphics on Tomcat 5.5.9 Finally OK!!!

2005-10-15 Thread Mauricio Fernandez A.
Ok, I get it Finally I decided to install JAVA again: Before I had JDK 1.5 with Tomcat 5.5.9, they were working well but I really don´t know what happend when I had to restart the server phisically and the graphics never comes up again. I was trying a lot of things to fix the problem, I trye