RE: Tomcat and Apache 2

2002-04-22 Thread Tim Cronin
Under w2k I was unable to use mod_webapp http://www.tek-tips.com/gfaqs.cfm/lev2/3/lev3/22/spid/65/sfid/1552 -Original Message- From: Collins, Jim [mailto:[EMAIL PROTECTED]] Sent: Monday, April 22, 2002 10:13 AM To: 'Tomcat Users List' Subject: RE: Tomcat and Apache 2 Why couldn't you

RE: initializing Session state during realm login

2002-04-22 Thread Tim Cronin
this is ok for someone going to the index page for the site but if your session times out or you point to a page other than index after the login page you are not set back to the index page but the last you were on or the page you requested. -Original Message- From: Rick Fincher

RE: Tomcat and Apache 2

2002-04-22 Thread Tim Cronin
Win32 On Mon, Apr 22, 2002 at 11:19:49AM -0500, Tim Cronin wrote: Under w2k I was unable to use mod_webapp http://www.tek-tips.com/gfaqs.cfm/lev2/3/lev3/22/spid/65/sfid/1552 -Original Message- From: Collins, Jim [mailto:[EMAIL PROTECTED]] Sent: Monday, April 22, 2002 10:13 AM

RE: JDBC realm problems

2002-04-22 Thread Tim Cronin
have you tested accessing mysql from JDBC in isolation (write a simple test class that creates a connection and does a simple select)? there might be a problem on you permissions setup under mysql. http://www.mysql.com/documentation/mysql/bychapter/manual_MySQL_Database_Adm

RE: JDBC realm problems

2002-04-22 Thread Tim Cronin
what if you remove the username and password from the URL and set them via the connectionName, connectionPassword attribs? -Original Message- From: Januski, Ken [mailto:[EMAIL PROTECTED]] Sent: Monday, April 22, 2002 1:23 PM To: Tomcat Users List Subject: RE: JDBC realm problems Yes I

RE: using more memory, different classpath

2002-04-22 Thread Tim Cronin
1) if your using 4.x you can increase memory /w the following env var CATALINA_OPTS=-Xmsthe number of megs to start withm -Original Message- From: jason wood [mailto:[EMAIL PROTECTED]] Sent: Monday, April 22, 2002 2:15 PM To: [EMAIL PROTECTED] Subject: using more memory, different

RE: using more memory, different classpath

2002-04-22 Thread Tim Cronin
(assuming 4.xx) if you follow the startup script the CLASSPATH is reset when tomcat is started, see setclasspath .sh/.bat. You can jar your files and place them CATALINA_HOME\common\lib or if your lazy like me you could modify the setclasspath. Beware if your using the j2ee lib you will create

RE: oci8 driver problem on Linux

2002-04-23 Thread Tim Cronin
If you are using arrays/tables you need to use the type 2 driver. All I saw on the oracle site was 8i oci driver for solaris where are the linux drivers? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 23, 2002 9:41 AM To: Tomcat Users List

RE: Do I have to use j_security_check to authenticate?

2002-04-23 Thread Tim Cronin
I've been dealing with this same problem. All though Form base authentication is session based the realm has no accessibility to the session object. There are also no events that tell when the session is first created only when objects are bound/unbound to the session. The isNew function is on

RE: empty xml page using tomcat4.0

2002-04-23 Thread Tim Cronin
did you try HttpServletResponse.setContentType(text/xml)? -Original Message- From: Mathy V Arumugam [mailto:[EMAIL PROTECTED]] Sent: Monday, April 22, 2002 7:06 PM To: [EMAIL PROTECTED] Subject: empty xml page using tomcat4.0 Hello, I am new to this group. I have just installed

RE: Do I have to use j_security_check to authenticate?

2002-04-23 Thread Tim Cronin
? -Original Message- From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 23, 2002 10:41 AM To: Tomcat Users List Subject: RE: Do I have to use j_security_check to authenticate? On Tue, 23 Apr 2002, Tim Cronin wrote: I've been dealing with this same problem. All though

RE: web.xml parse error

2002-04-23 Thread Tim Cronin
the tag tells the order (from DTD) !ELEMENT servlet (icon?, servlet-name, display-name?, description?, (servlet-class|jsp-file), init-param*, load-on-startup?, run-as?, security-role-ref*) web-app servlet icon/icon servlet-name/servlet-name display-name/display-name

RE: JDBCRealm Extension

2002-04-24 Thread Tim Cronin
I've (and others have been dealing with the same issue and have been directed to look at extending the Authentication classes. see the link below for details. http://mikal.org/interests/java/tomcat/archive/view?mesg=56125 -Original Message- From: Sarah Barwig [mailto:[EMAIL PROTECTED]]

RE: Re[2]: oci8 driver problem on Linux

2002-04-24 Thread Tim Cronin
driver problem on Linux Tim Cronin [EMAIL PROTECTED] wrote:- All I saw on the oracle site was 8i oci driver for solaris where are the linux drivers? I think we downloaded the NT driver as NT is our main platform for development. I've got a RedHat7.2 server sat on my desk

RE: getRemoteUser(), getAuthType() returning empty string instead of NULL?

2002-04-24 Thread Tim Cronin
look in the JBOSS forums http://www.jboss.org/forums/forum.jsp?forum=50 I believe i've seen something on this... -Original Message- From: Zachary Kuhn [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 24, 2002 2:42 PM To: Tomcat Users List Subject: RE: getRemoteUser(), getAuthType()

RE: Compiling mod_jk on Win2K, anyone?

2002-04-25 Thread Tim Cronin
this is for mod_jk but it might help... http://www.acg-gmbh.de/mod_jk/ -Original Message- From: Douglas, Rory [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 25, 2002 11:06 AM To: Tomcat Users List (E-mail) Subject: Compiling mod_jk on Win2K, anyone? Hello It seems some people are

RE: My Tomcat server doesn't run??????

2002-04-25 Thread Tim Cronin
read RUNNING.txt in the root of the tomcat directory -Original Message- From: Suresh Akula [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 25, 2002 11:54 AM To: [EMAIL PROTECTED] Subject: Re: My Tomcat server doesn't run?? I am beginner on tomcat..i havent got any solution yet..i

RE: tomcat and SSL (keyfile password)

2002-04-25 Thread Tim Cronin
your how-to would be very beneficial. thanks -Original Message- From: Dave North [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 25, 2002 1:25 PM To: [EMAIL PROTECTED] Subject: tomcat and SSL (keyfile password) Hello, After a few hours trying to get this working, I've finally

RE: Getting to work Apache and Tomcat on Win2000

2002-05-01 Thread Tim Cronin
here is a good link Apache 2.0.x running with Tomcat 4.0.3 via mod_jk on w2k http://www.acg-gmbh.de/mod_jk/ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 01, 2002 8:55 AM To: [EMAIL PROTECTED] Subject: RE: Getting to work Apache and Tomcat

RE: ApacheConfig for Windows2000

2002-05-02 Thread Tim Cronin
this is for tomcat 4.0.x http://www.acg-gmbh.de/mod_jk/ you may want to upgrade tomcat -Original Message- From: Helferty, Richard (FUSA) [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 02, 2002 3:27 PM To: '[EMAIL PROTECTED]' Subject: ApacheConfig for Windows2000 Hello, I need help

RE: Tomcat Apache 2 howto

2002-05-03 Thread Tim Cronin
http://www.acg-gmbh.de/mod_jk/ -Original Message- From: Chris Shen HOTMAIL [mailto:[EMAIL PROTECTED]] Sent: Friday, May 03, 2002 2:37 AM To: [EMAIL PROTECTED] Subject: Tomcat Apache 2 howto I've been able to successfully integrate tomcat 3 and 4 with Apache 1.3 using mod_jk. However,

RE: Anti-Alias Font Images on the Fly?

2002-05-03 Thread Tim Cronin
I think image magick does this and they have a Java libe http://www.imagemagick.org/ -Original Message- From: Marc Elliott [mailto:[EMAIL PROTECTED]] Sent: Friday, May 03, 2002 11:36 AM To: Tomcat Users List Subject: Anti-Alias Font Images on the Fly? Hello folks, Do any of you know

RE: Apache 2.0 Tomcat 4.0 integration on Win 2000: Please help me

2002-05-05 Thread Tim Cronin
http://www.acg-gmbh.de/mod_jk/ -Original Message- From: Ryan Gomes [mailto:[EMAIL PROTECTED]] Sent: Saturday, May 04, 2002 10:51 PM To: [EMAIL PROTECTED] Subject: Apache 2.0 Tomcat 4.0 integration on Win 2000: Please help me Hi! I need to integrate Apache 2 and Tomcat 4 on Windows

RE: someone plz help

2002-05-07 Thread Tim Cronin
here's what I use. public static void upload ( HttpServletRequest request, String uploadFolder ) throws IOException { String cType = request.getContentType(); if (cType != null cType.toLowerCase().startsWith(multipart/form-data)) { MultipartRequest

RE: Frameset problem

2002-05-07 Thread Tim Cronin
I have the same problem. I found this link, is this the error your getting? http://www.tek-tips.com/gfaqs.cfm/lev2/3/lev3/22/spid/65/sfid/1552 I moved to mod_jk and all works ok. -Original Message- From: Vincent Lambert [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 07, 2002 7:11 AM To:

RE: someone plz help

2002-05-07 Thread Tim Cronin
I set all my browsers to not cache pages when developing. It has bitten me many times... -Original Message- From: # Lalit Nagpal # [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 07, 2002 8:59 AM To: Tomcat Users List Subject: RE: someone plz help my problem is solved thanx tim

Appending to TOMCAT's class path

2002-05-07 Thread Tim Cronin
the startup scripts (under 4.X) for tomcat do not use the System classpath setting by default. In a production environment I'm fine with putting my jars in the common\lib directory but in development I want to be able to add my source tree to the classpath tomcat uses. once I do this by changing

RE: choosing where to deploy class files

2002-05-09 Thread Tim Cronin
: choosing where to deploy class files On Thu, 9 May 2002, Tim Cronin wrote: Date: Thu, 9 May 2002 11:27:26 -0500 From: Tim Cronin [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Cc: '[EMAIL PROTECTED]' [EMAIL PROTECTED] Subject: RE

RE: choosing where to deploy class files

2002-05-09 Thread Tim Cronin
, 2002 1:28 PM To: Tomcat Users List Subject: RE: choosing where to deploy class files On Thu, 9 May 2002, Tim Cronin wrote: Date: Thu, 9 May 2002 12:43:55 -0500 From: Tim Cronin [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Subject

RE: new thread for Jeffrey Caswell

2002-05-09 Thread Tim Cronin
I sent this to you earlier it's everything on how to setup (the step 2 thread) http://www.acg-gmbh.de/mod_jk/ Using ApacheConfig modJk=PATH_TO_MOD_JK.SO_OR_DLL / I was getting that set the modJk attrib in the listener to the location of the mod_jk.dll Listener

RE: new thread for Jeffrey Caswell

2002-05-09 Thread Tim Cronin
looking at your files your trying to use both connectors the mod_jk is well documented in the link I sent earlier. I used it to setup and I've had no problems -Original Message- From: Caswell, Jeffrey non Unisys [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 09, 2002 1:24 PM To: 'Tomcat

want to preporcess javascript files

2000-12-27 Thread Tim Cronin
I was initially using jsp files to contain javascript. This way I could have them documented and keep revision history in them for development then have the commenst stripped out when they were deployed to clients. This works fine in IE. but causes Netscape to hang. I tryed to change them back

RE: file upload servlet

2000-12-27 Thread Tim Cronin
they have a good multipart form handler. http://www.servlets.com/resources/com.oreilly.servlet/ the only draw back is you need to know the path to store the files at before you parse the multipart request. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent:

RE: file upload servlet

2000-12-27 Thread Tim Cronin
writer.println("p" + "f.length(): " + f.length() + "/p"); writer.println("p/p"); } } } catch (IOException lEx) { this.getServletContext().log("error reading or savi

RE: printing error messages to log files

2000-12-27 Thread Tim Cronin
see javax.servlet.ServletContext.log or another simple hack if you got alot of system.out.prinln's in your code is to set system.out to a fileOutputStream. -Original Message- From: Ramkumar Manoharan [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 27, 2000 6:21 PM To: [EMAIL

RE: printing error messages to log files

2000-12-27 Thread Tim Cronin
to log files Thanks again Tim.I looked at the javadoc and found the methods you were referring to,but how do you define the "servlet log".Iam puzzled.Is it the log file located on the tomcat server or can i define a log file on my own? Ram From: Tim Cronin [EMAIL PROTECTED] Reply-

RE: want to preporcess javascript files

2000-12-28 Thread Tim Cronin
want to use it as jsp - try add to these files a header indicating the mime type for js code (dont know what it is) - Boaz -Original Message- From: Tim Cronin [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 27, 2000 23:17 To: '[EMAIL PROTECTED]' Cc: Paul Lange; Frank Livaudais; Rex

RE: Gzip

2000-12-28 Thread Tim Cronin
%@ page import="package.GZIPOutputStream" % %@ page import="java.io.OutputStream" % % OutputStream out1 = response.getOutputStream(); out = new PrintWriter(new GZIPOutputStream(out1), false); /*you should use the response.setContentType() */ response.setHeader("Content-Encoding",

RE: file upload servlet

2000-12-29 Thread Tim Cronin
__ E-mail: [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] http://euclides.8m.com - -Mensagem original- De: Tim Cronin [SMTP:[EMAIL PROTECTED]] Enviada em: Quarta-feira, 27 de Dezembro de 2000 22:50 Para

exception null on error page for missing taglib def

2003-06-10 Thread Tim Cronin
I got an error page defined in my web.xml as follows error-page exception-typejava.lang.Exception/exception-type location/Error.jsp/location /error-page I had removed a taglib definition from my web.xml file and had a page that still was using the tag. with out the error-page def I

RE: exception null on error page for missing taglib def

2003-06-10 Thread Tim Cronin
for the error page It has the following Throwable exception = (Throwable) request.getAttribute(javax.servlet.jsp.jspException); -Original Message- From: Tim Cronin [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 10, 2003 10:35 AM To: '[EMAIL PROTECTED]' Subject: exception null on error page