From sschneider@example.com Thu Feb 1 00:59:09 2001 Return-Path: <sschneider@example.com> Mailing-List: contact sschneider@example.com; run by ezmlm Delivered-To: mailing list sschneider@example.com Received: (qmail 80063 invoked from network); 1 Feb 2001 00:59:09 -0000 Received: from mercury.sun.com (83.161.120.155) by h31.sny.collab.net with SMTP; 1 Feb 2001 00:59:09 -0000 Received: from taller.eng.sun.com ([83.161.120.155]) by mercury.Sun.COM (8.9.3+Sun/8.9.3) with ESMTP id QAA27958; Wed, 31 Jan 2001 16:59:16 -0800 (PST) Received: from eng.sun.com (d-ucup02-251-159 [83.161.120.155]) by taller.eng.sun.com (8.9.3+Sun/8.9.3/ENSMAIL,v2.0) with ESMTP id QAA22330; Wed, 31 Jan 2001 16:59:15 -0800 (PST) Message-ID: <sschneider@example.com> Date: Wed, 31 Jan 2001 17:00:31 -0800 From: "Craig R. McClanahan" <sschneider@example.com> X-Mailer: Mozilla 4.76 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: sschneider@example.com CC: sschneider@example.com Subject: Re: REPOST : extracting jsp filename from generated class References: <sschneider@example.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N Shahed Ali wrote: > Hi all, > > Sorry for this repost. > > >From within a jsp page, I need to know the name of the jsp page. > What do you mean by the "name" of the page? JSP pages have URIs used to access them (which you can get via request.getRequestURI()), but they do not really have a notion of a "name" other than that. > > If I do a <%=this.getClass()%>, I get a string which represents the class > name > of the generated servlet. > > Is there some standard way in which I can extract the jsp page from that > name ? > No ... servlet containers are free to name the generated classes in any way that they see fit. Even if you duplicated the rules of a particular version of a particular servlet container, your app would not be portable to any other server. You should also be aware that the class name will be different each time you modify the page (so that the code gets regenerated) in many containers. > > Another Qs :- How does Tomcat know that a certain jsp page maps to > a certain class ?. Because it created that mapping in the first place -- within the JSP servlet (Jasper) there is a "name mangler" that performs this transformation. You could look inside the Jasper source code for the specific implementation being used in Tomcat. > > If I can access that data, then I can possibly lookup the pagename. > > Any clues ? > > Thanks > Shahed. > Craig McClanahan From sschneider@example.com Thu Feb 1 01:07:12 2001 Return-Path: <sschneider@example.com> Mailing-List: contact sschneider@example.com; run by ezmlm Delivered-To: mailing list sschneider@example.com Received: (qmail 88202 invoked from network); 1 Feb 2001 01:07:12 -0000 Received: from hestia.its.deakin.edu.au (sschneider@example.com) by h31.sny.collab.net with SMTP; 1 Feb 2001 01:07:12 -0000 Received: from dssonline.com.au (128-184-134-190.its.deakin.edu.au [83.161.120.155]) by hestia.its.deakin.edu.au (8.11.1/8.10.0) with ESMTP id f1117Dg19303 for <sschneider@example.com>; Thu, 1 Feb 2001 12:07:13 +1100 (EST) Message-ID: <sschneider@example.com> Date: Thu, 01 Feb 2001 12:09:24 +1100 From: Jason Pell <sschneider@example.com> X-Mailer: Mozilla 4.76 [en] (Windows NT 5.0; U) X-Accept-Language: en,pdf MIME-Version: 1.0 To: sschneider@example.com Subject: Re: log files in tomcat References: <sschneider@example.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N I have also had problems with this. As suggested I tried adding jvm.stderr and jvm.stdout logs to server.xml: ----------------------------------------- server.xml fragment ------------------------------- <Logger name="jvm.stderr" verbosityLevel = "DEBUG" path="logs/stderr.log" /> <Logger name="jvm.stdout" verbosityLevel = "DEBUG" path="logs/stdout.log" /> ----------------------------------------- server.xml fragment ------------------------------- But no joy I am afraid. Is this the correct config info. I am running Tomcat 3.2.1 on Redhat 6.2 Thanks Jason "Garmaev, Vladimir A" wrote: > There should be two more logs: > > jvm.stderr > jvm.stdout > > The latter is logging System.out.println > > -----Original Message----- > From: Ross Manges [mailto:sschneider@example.com] > Sent: Wednesday, January 31, 2001 1:44 PM > To: sschneider@example.com > Subject: log files in tomcat > > Hello folks, > > I apologize in advance for this dumb question, but I'm > having an exteremly difficult time getting tomcat to > create a log file containing the event traces (and > possibly System.out.println()'s?) from my servlets. > I've read up on the available faq's and other > documentation, which directs me to the server.xml > file. I've set that file to maximum debugging mode, > but still no luck. I get two files in my /log > directory: jasper.log and servlet.log. The latter > contains nearly nothing, and jasper.log simply reports > on my jsp files. > > Can somebody PLEASE point me in the right direction? > If I've missed some important set of documentation > please let me know. > > Thanks! > > --Ross > > p.s. - I'm running tomcat 3.2.1 standalone on WinMe, > PIII-700, 128mb ram. > > __________________________________________________ > Get personalized email addresses from Yahoo! Mail - only $35 > a year! http://personal.mail.yahoo.com/ > > --------------------------------------------------------------------- > To unsubscribe, e-mail: sschneider@example.com > For additional commands, email: sschneider@example.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: sschneider@example.com > For additional commands, email: sschneider@example.com -- Jason Pell Senior Analyst/Programmer - Web Developer Deakin Software Services Pty Ltd 12 Gheringhap St, Geelong Victoria 3220 Australia Phone: 03 5227 8858 International: +1-678-719-7113 Fax: 03 5227 8907 International: +1-678-719-7113 E-mail sschneider@example.com http://www.dssonline.com.au Customer Support Hotline: 1800 620 497 "Callista - the brightest solution in university management" --------------------------------------------------------------- Important Notice: The contents of this email transmission, including attachments, may be privileged and confidential. Any unauthorised use of the contents is expressly prohibited. If you have received this transmission in error, please advise the sender by return email or telephone immediately and destroy all versions. --------------------------------------------------------------- From sschneider@example.com Thu Feb 1 01:10:30 2001 Return-Path: <sschneider@example.com> Mailing-List: contact sschneider@example.com; run by ezmlm Delivered-To: mailing list sschneider@example.com Received: (qmail 91268 invoked from network); 1 Feb 2001 01:10:30 -0000 Received: from mail1.registeredsite.com (sschneider@example.com) by h31.sny.collab.net with SMTP; 1 Feb 2001 01:10:30 -0000 Received: from mail.fitzpatrick.cc (mail.fitzpatrick.cc [83.161.120.155]) by mail1.registeredsite.com (8.11.1/8.11.1) with ESMTP id f111Abn17508 for <sschneider@example.com>; Wed, 31 Jan 2001 20:10:37 -0500 Received: from cartman [83.161.120.155] by mail.fitzpatrick.cc (SMTPD32-6.00) id A78153900C6; Wed, 31 Jan 2001 20:10:25 -0500 From: "CPC Livelink Admin" <sschneider@example.com> To: <sschneider@example.com> Subject: RE: log files in tomcat Date: Wed, 31 Jan 2001 20:12:28 -0500 Message-ID: <sschneider@example.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 In-Reply-To: <sschneider@example.com> Importance: Normal X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N Actually, these are files that are generated by the jk_nt_service helper application, not entries in tomcat. If you want to capture the output of tomcat, you need to either a) redirect the output to a file (on Unix you also need to redirect stderr, on Windows stdout and stderr are much the same (I think)) or b) programatically change the stream pointed to by System.out and .err to something else which you have opened. -----Original Message----- From: Jason Pell [mailto:sschneider@example.com] Sent: Wednesday, January 31, 2001 8:09 PM To: sschneider@example.com Subject: Re: log files in tomcat I have also had problems with this. As suggested I tried adding jvm.stderr and jvm.stdout logs to server.xml: ----------------------------------------- server.xml fragment ------------------------------- <Logger name="jvm.stderr" verbosityLevel = "DEBUG" path="logs/stderr.log" /> <Logger name="jvm.stdout" verbosityLevel = "DEBUG" path="logs/stdout.log" /> ----------------------------------------- server.xml fragment ------------------------------- But no joy I am afraid. Is this the correct config info. I am running Tomcat 3.2.1 on Redhat 6.2 Thanks Jason "Garmaev, Vladimir A" wrote: > There should be two more logs: > > jvm.stderr > jvm.stdout > > The latter is logging System.out.println > > -----Original Message----- > From: Ross Manges [mailto:sschneider@example.com] > Sent: Wednesday, January 31, 2001 1:44 PM > To: sschneider@example.com > Subject: log files in tomcat > > Hello folks, > > I apologize in advance for this dumb question, but I'm > having an exteremly difficult time getting tomcat to > create a log file containing the event traces (and > possibly System.out.println()'s?) from my servlets. > I've read up on the available faq's and other > documentation, which directs me to the server.xml > file. I've set that file to maximum debugging mode, > but still no luck. I get two files in my /log > directory: jasper.log and servlet.log. The latter > contains nearly nothing, and jasper.log simply reports > on my jsp files. > > Can somebody PLEASE point me in the right direction? > If I've missed some important set of documentation > please let me know. > > Thanks! > > --Ross > > p.s. - I'm running tomcat 3.2.1 standalone on WinMe, > PIII-700, 128mb ram. > > __________________________________________________ > Get personalized email addresses from Yahoo! Mail - only $35 > a year! http://personal.mail.yahoo.com/ > > --------------------------------------------------------------------- > To unsubscribe, e-mail: sschneider@example.com > For additional commands, email: sschneider@example.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: sschneider@example.com > For additional commands, email: sschneider@example.com -- Jason Pell Senior Analyst/Programmer - Web Developer Deakin Software Services Pty Ltd 12 Gheringhap St, Geelong Victoria 3220 Australia Phone: 03 5227 8858 International: +1-678-719-7113 Fax: 03 5227 8907 International: +1-678-719-7113 E-mail sschneider@example.com http://www.dssonline.com.au Customer Support Hotline: 1800 620 497 "Callista - the brightest solution in university management" --------------------------------------------------------------- Important Notice: The contents of this email transmission, including attachments, may be privileged and confidential. Any unauthorised use of the contents is expressly prohibited. If you have received this transmission in error, please advise the sender by return email or telephone immediately and destroy all versions. --------------------------------------------------------------- --------------------------------------------------------------------- To unsubscribe, e-mail: sschneider@example.com For additional commands, email: sschneider@example.com From sschneider@example.com Thu Feb 1 01:11:07 2001 Return-Path: <sschneider@example.com> Mailing-List: contact sschneider@example.com; run by ezmlm Delivered-To: mailing list sschneider@example.com Received: (qmail 93489 invoked from network); 1 Feb 2001 01:11:07 -0000 Received: from ha1.rdc1.il.home.com (HELO mail.rdc1.il.home.com) (sschneider@example.com) by h31.sny.collab.net with SMTP; 1 Feb 2001 01:11:07 -0000 Received: from c1300849a ([83.161.120.155]) by mail.rdc1.il.home.com (InterMail vM.83.161.120.155 201-229-121) with SMTP id <20010201011109.GQHC24206.mail.rdc1.il.home.com@c1300849a> for <sschneider@example.com>; Wed, 31 Jan 2001 17:11:09 -0800 Message-ID: <sschneider@example.com> From: "Shahed Ali" <sschneider@example.com> To: <sschneider@example.com> References: <sschneider@example.com> <sschneider@example.com> Subject: Re: log files in tomcat Date: Wed, 31 Jan 2001 19:10:57 -0600 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6600 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N I have modified my tomcat.sh/bat file to have java org.apache.whatever.tomcat start 1>/path/to/logs/stdout.log 2>&1 So when you startup tomcat , the stdout and stderr go to a file. But since you are using windows, I am not very sure about the syntax. just a > file.log may redirect both System.out.println and System.err.println to the same file. Hope this helps Regards Shahed. From sschneider@example.com Thu Feb 1 01:19:50 2001 Return-Path: <sschneider@example.com> Mailing-List: contact sschneider@example.com; run by ezmlm Delivered-To: mailing list sschneider@example.com Received: (qmail 98992 invoked from network); 1 Feb 2001 01:19:50 -0000 Received: from unknown (HELO ntserver.nevada) (83.161.120.155) by h31.sny.collab.net with SMTP; 1 Feb 2001 01:19:50 -0000 Received: by ntserver with Internet Mail Service (5.0.1457.3) id <Y7WT2WAB>; Thu, 1 Feb 2001 02:19:28 +0100 Message-ID: <80F5674514B4D311BAFC0040F6A45EEE0D7616@ntserver> From: "Ignacio J. Ortega" <sschneider@example.com> To: "'sschneider@example.com'" <sschneider@example.com> Subject: RE: log files in tomcat Date: Thu, 1 Feb 2001 02:19:25 +0100 X-Priority: 3 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.0.1457.3) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N The solution it's on server.xml file it self, here it's an excerpt... 8<----------------------------------------------------------------------= ---- <!-- if you don't want messages on screen, add the attribute path=3D"logs/tomcat.log"=20 to the Logger element below --> <Logger name=3D"tc_log"=20 verbosityLevel =3D "INFORMATION"=20 /> 8<----------------------------------------------------------------------= ---- So to get tomcat screen logged into a file change the Logger element = for the "tc_log" log in server.xml to this: 8<----------------------------------------------------------------------= ---- <Logger name=3D"tc_log"=20 verbosityLevel =3D "INFORMATION"=20 path=3D"logs/tomcat.log" /> 8<----------------------------------------------------------------------= ---- Saludos , Ignacio J. Ortega > -----Mensaje original----- > De: Ross Manges [mailto:sschneider@example.com] > Enviado el: mi=E9rcoles 31 de enero de 2001 20:44 > Para: sschneider@example.com > Asunto: log files in tomcat >=20 >=20 > Hello folks, >=20 > I apologize in advance for this dumb question, but I'm > having an exteremly difficult time getting tomcat to > create a log file containing the event traces (and > possibly System.out.println()'s?) from my servlets.=20 > I've read up on the available faq's and other > documentation, which directs me to the server.xml > file. I've set that file to maximum debugging mode, > but still no luck. I get two files in my /log > directory: jasper.log and servlet.log. The latter > contains nearly nothing, and jasper.log simply reports > on my jsp files. >=20 > Can somebody PLEASE point me in the right direction?=20 > If I've missed some important set of documentation > please let me know. >=20 > Thanks! >=20 > --Ross >=20 > p.s. - I'm running tomcat 3.2.1 standalone on WinMe, > PIII-700, 128mb ram. >=20 > __________________________________________________ > Get personalized email addresses from Yahoo! Mail - only $35=20 > a year! http://personal.mail.yahoo.com/ >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: sschneider@example.com > For additional commands, email: sschneider@example.com >=20 >=20 From sschneider@example.com Thu Feb 1 01:20:42 2001 Return-Path: <sschneider@example.com> Mailing-List: contact sschneider@example.com; run by ezmlm Delivered-To: mailing list sschneider@example.com Received: (qmail 1800 invoked from network); 1 Feb 2001 01:20:42 -0000 Received: from hestia.its.deakin.edu.au (sschneider@example.com) by h31.sny.collab.net with SMTP; 1 Feb 2001 01:20:42 -0000 Received: from dssonline.com.au (128-184-134-190.its.deakin.edu.au [83.161.120.155]) by hestia.its.deakin.edu.au (8.11.1/8.10.0) with ESMTP id f111KXg29331 for <sschneider@example.com>; Thu, 1 Feb 2001 12:20:33 +1100 (EST) Message-ID: <sschneider@example.com> Date: Thu, 01 Feb 2001 12:22:44 +1100 From: Jason Pell <sschneider@example.com> X-Mailer: Mozilla 4.76 [en] (Windows NT 5.0; U) X-Accept-Language: en,pdf MIME-Version: 1.0 To: sschneider@example.com Subject: Re: log files in tomcat References: <sschneider@example.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N Perhaps we should take this as a suggested improvement to tomcat: If they are present, then redirect System.out and System.err to these logfiles. "Garmaev, Vladimir A" wrote: > There should be two more logs: > > jvm.stderr > jvm.stdout > > The latter is logging System.out.println CPC Livelink Admin wrote: > Actually, these are files that are generated by the jk_nt_service helper > application, not entries in tomcat. > > If you want to capture the output of tomcat, you need to either a) redirect > the output to a file (on Unix you also need to redirect stderr, on Windows > stdout and stderr are much the same (I think)) or b) programatically change > the stream pointed to by System.out and .err to something else which you > have opened. > > -----Original Message----- > From: Jason Pell [mailto:sschneider@example.com] > Sent: Wednesday, January 31, 2001 8:09 PM > To: sschneider@example.com > Subject: Re: log files in tomcat > > I have also had problems with this. > > As suggested I tried adding jvm.stderr and jvm.stdout logs to server.xml: > > ----------------------------------------- server.xml fragment > ------------------------------- > <Logger name="jvm.stderr" > verbosityLevel = "DEBUG" > path="logs/stderr.log" > /> > > <Logger name="jvm.stdout" > verbosityLevel = "DEBUG" > path="logs/stdout.log" > /> > ----------------------------------------- server.xml fragment > ------------------------------- > > But no joy I am afraid. Is this the correct config info. > > I am running Tomcat 3.2.1 on Redhat 6.2 > > Thanks > Jason > > "Garmaev, Vladimir A" wrote: > > > There should be two more logs: > > > > jvm.stderr > > jvm.stdout > > > > The latter is logging System.out.println > > > > -----Original Message----- > > From: Ross Manges [mailto:sschneider@example.com] > > Sent: Wednesday, January 31, 2001 1:44 PM > > To: sschneider@example.com > > Subject: log files in tomcat > > > > Hello folks, > > > > I apologize in advance for this dumb question, but I'm > > having an exteremly difficult time getting tomcat to > > create a log file containing the event traces (and > > possibly System.out.println()'s?) from my servlets. > > I've read up on the available faq's and other > > documentation, which directs me to the server.xml > > file. I've set that file to maximum debugging mode, > > but still no luck. I get two files in my /log > > directory: jasper.log and servlet.log. The latter > > contains nearly nothing, and jasper.log simply reports > > on my jsp files. > > > > Can somebody PLEASE point me in the right direction? > > If I've missed some important set of documentation > > please let me know. > > > > Thanks! > > > > --Ross > > > > p.s. - I'm running tomcat 3.2.1 standalone on WinMe, > > PIII-700, 128mb ram. > > > > __________________________________________________ > > Get personalized email addresses from Yahoo! Mail - only $35 > > a year! http://personal.mail.yahoo.com/ > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: sschneider@example.com > > For additional commands, email: sschneider@example.com > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: sschneider@example.com > > For additional commands, email: sschneider@example.com > > -- > Jason Pell > Senior Analyst/Programmer - Web Developer > Deakin Software Services Pty Ltd > 12 Gheringhap St, Geelong Victoria 3220 Australia > Phone: 03 5227 8858 International: +1-678-719-7113 > Fax: 03 5227 8907 International: +1-678-719-7113 > E-mail sschneider@example.com > http://www.dssonline.com.au > Customer Support Hotline: 1800 620 497 > > "Callista - the brightest solution in university management" > > --------------------------------------------------------------- > Important Notice: The contents of this email transmission, > including attachments, may be privileged and confidential. > Any unauthorised use of the contents is expressly prohibited. > If you have received this transmission in error, please advise > the sender by return email or telephone immediately and > destroy all versions. > --------------------------------------------------------------- > > --------------------------------------------------------------------- > To unsubscribe, e-mail: sschneider@example.com > For additional commands, email: sschneider@example.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: sschneider@example.com > For additional commands, email: sschneider@example.com -- Jason Pell Senior Analyst/Programmer - Web Developer Deakin Software Services Pty Ltd 12 Gheringhap St, Geelong Victoria 3220 Australia Phone: 03 5227 8858 International: +1-678-719-7113 Fax: 03 5227 8907 International: +1-678-719-7113 E-mail sschneider@example.com http://www.dssonline.com.au Customer Support Hotline: 1800 620 497 "Callista - the brightest solution in university management" --------------------------------------------------------------- Important Notice: The contents of this email transmission, including attachments, may be privileged and confidential. Any unauthorised use of the contents is expressly prohibited. If you have received this transmission in error, please advise the sender by return email or telephone immediately and destroy all versions. --------------------------------------------------------------- From sschneider@example.com Thu Feb 1 01:57:29 2001 Return-Path: <sschneider@example.com> Mailing-List: contact sschneider@example.com; run by ezmlm Delivered-To: mailing list sschneider@example.com Received: (qmail 17778 invoked from network); 1 Feb 2001 01:57:29 -0000 Received: from node-64-249-124-2.dslspeed.zyan.com (HELO ia-inc.com) (83.161.120.155) by h31.sny.collab.net with SMTP; 1 Feb 2001 01:57:29 -0000 Received: from storm. (ns2 [83.161.120.155]) by ia-inc.com (8.9.3/8.9.3) with SMTP id UAA06434 for <sschneider@example.com>; Wed, 31 Jan 2001 20:57:49 -0500 (EST) From: Chris Janicki <sschneider@example.com> Date: Thu, 01 Feb 2001 01:58:09 GMT Message-ID: <sschneider@example.com.> Subject: RE: Disable Apache connector on port 8007 To: sschneider@example.com In-Reply-To: <sschneider@example.com> References: <sschneider@example.com> X-Mailer: Mozilla/3.0 (compatible; StarOffice/5.2;Solaris SPARC) X-Priority: 3 (Normal) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N Thanks Randy (and Stefan), I commented out those lines you listed and got the desired effect. I=20 think I have the shutdown covered... I have Tomcat running within my=20 app's JVM, so I shut it down via: String[] args =3D { "-stop" }; org.apache.tomcat.startup.Tomcat.main(args); That seems to work for me. I'm assuming that's a safe enough shutdown..= .=20 (let me know if I'm off base). Thanks again, Chris >>>>>>>>>>>>>>>>>> Original Message <<<<<<<<<<<<<<<<<< On 1/31/01, 3:55:23 PM, Randy Layman <sschneider@example.com> wrote = regarding RE: Disable Apache connector on port 8007: > You probably don't want to disable port 8007 - that's the port u= sed > by the Shutdown process to kill Tomcat cleanly. You probably just wan= t=20 to > edit your server.xml file to change 8007 to something else (8081=20 perhaps?). > If you do really want to remove it, either remove or comment out the=20 lines > in the server.xml file for the connector with the handler of > Ajp12ConnectionHandler. It should look something like: > <Connector className....> > <Parameter...> > <Parameter...value=3D"8007"/> > </Connector> > Randy > -----Original Message----- > From: Chris Janicki [mailto:sschneider@example.com] > Sent: Wednesday, January 31, 2001 4:15 PM > To: sschneider@example.com > Subject: Disable Apache connector on port 8007 > I'm using Tomcat 3.1 for some JSP development work, without Apache. > Starting up Tomcat is conflicting with other software (an unrelated > Apache/JSP engine) running on the same machine, so I want to disable t= he > server on port 8007. It's mostly just an annoyance, but I also don't w= ant > to steal the port if it becomes temporarily available. > I've read the 3.1 docs but can't see how to gracefully disable that > service. Any ideas? > Thanks, > Chris > --------------------------------------------------------------------- > To unsubscribe, e-mail: sschneider@example.com > For additional commands, email: sschneider@example.com > --------------------------------------------------------------------- > To unsubscribe, e-mail: sschneider@example.com > For additional commands, email: sschneider@example.com From sschneider@example.com Thu Feb 1 04:08:57 2001 Return-Path: <sschneider@example.com> Mailing-List: contact sschneider@example.com; run by ezmlm Delivered-To: mailing list sschneider@example.com Received: (qmail 84027 invoked from network); 1 Feb 2001 04:08:57 -0000 Received: from f175.law8.hotmail.com (HELO hotmail.com) (83.161.120.155) by h31.sny.collab.net with SMTP; 1 Feb 2001 04:08:57 -0000 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Wed, 31 Jan 2001 20:08:40 -0800 Received: from 83.161.120.155 by lw8fd.law8.hotmail.msn.com with HTTP; Thu, 01 Feb 2001 04:08:40 GMT X-Originating-IP: [83.161.120.155] From: "SUCHETA LELE" <sschneider@example.com> To: sschneider@example.com Subject: RE: boggling problem with jsp Date: Thu, 01 Feb 2001 09:38:40 +0530 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: <sschneider@example.com> X-OriginalArrivalTime: 01 Feb 2001 04:08:40.0246 (UTC) FILETIME=[A894DD60:01C08C04] X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N Hi I am having exactly the same problem. But I didn't understand what you said. So, pls explain. I have say and add page, i post to the same page and do my insert and then redirect to a confirmation page. But I get the output of a javascript(.html) file that i had included in my add page, then the whole add page(*now blank) and then HTTP 200 OK__---------------- response and then the contents of the confirm page . This does not happen when my proxy settings are enabled in the browser and i have an internet connection thru a proxy. But when disab;led, this does happen. Please Help!!!! also, how to make a directory URL protected? Please, i am spending a lot of time on this. If you know, please reply immediately. Thanks, Sucheta >From: "Kotturi, Rajendra" <sschneider@example.com> >Reply-To: sschneider@example.com >To: "'sschneider@example.com'" <sschneider@example.com> >Subject: RE: boggling problem with jsp >Date: Wed, 31 Jan 2001 10:29:23 -0800 > >You are getting the next page appended to the same page because you may be >using the same response object as the previous screen. So the response is >sent/appended to the same page. > >-----Original Message----- >From: sschneider@example.com [mailto:sschneider@example.com] >Sent: Wednesday, January 31, 2001 9:26 AM >To: Jakarta Tomcat List >Subject: boggling problem with jsp > > >I am getting some really strange side effects with one of my jsp pages. >I have a log-in page for a site I am working on, simple log-in, just type >in your email address and password, click submit. The log-in is working >fine but for some reason the next page is not getting loaded into the >browser properly every time, it is actually being appended to the bottom >of the log-in page: > >... ></table> ><!-- end footer --> > ></body> ></html> >HTTP/1.1 200 >Date: Wed, 31 Jan 2001 15:58:12 GMT >Server: Apache/1.3.12 (Unix) (Red Hat/Linux) mod_jk mod_perl/1.21 >Keep-Alive: timeout=15, max=99 >Connection: Keep-Alive >Transfer-Encoding: chunked >Content-Type: text/html; charset=ISO-8859-1 > >4 > > > >c01 > ><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> ><html> ><head> >... > >I can't seem to get this to happen in Netscape but it isn't a consistant >thing in IE so I am quite confused as to where to look next. It seems >almost like some sort of memory buffer for tomcat isn't getting cleared >properly and I am getting the old with the new or something...any >suggestions? Should I maybe take this to the tomcat-developer list? > >-- >Thomas Bartels >aka Blossoms the Tact Rat > >--------------------------------------------------------------------- >To unsubscribe, e-mail: sschneider@example.com >For additional commands, email: sschneider@example.com > >--------------------------------------------------------------------- >To unsubscribe, e-mail: sschneider@example.com >For additional commands, email: sschneider@example.com > _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. From sschneider@example.com Thu Feb 1 04:09:40 2001 Return-Path: <sschneider@example.com> Mailing-List: contact sschneider@example.com; run by ezmlm Delivered-To: mailing list sschneider@example.com Received: (qmail 86284 invoked from network); 1 Feb 2001 04:09:40 -0000 Received: from f87.law8.hotmail.com (HELO hotmail.com) (83.161.120.155) by h31.sny.collab.net with SMTP; 1 Feb 2001 04:09:40 -0000 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Wed, 31 Jan 2001 20:09:23 -0800 Received: from 83.161.120.155 by lw8fd.law8.hotmail.msn.com with HTTP; Thu, 01 Feb 2001 04:09:23 GMT X-Originating-IP: [83.161.120.155] From: "SUCHETA LELE" <sschneider@example.com> To: sschneider@example.com Subject: Re: boggling problem with jsp Date: Thu, 01 Feb 2001 09:39:23 +0530 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: <sschneider@example.com> X-OriginalArrivalTime: 01 Feb 2001 04:09:23.0809 (UTC) FILETIME=[C28C0D10:01C08C04] X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N Hi I am having exactly the same problem. But I didn't understand what you said. So, pls explain. I have say and add page, i post to the same page and do my insert and then redirect to a confirmation page. But I get the output of a javascript(.html) file that i had included in my add page, then the whole add page(*now blank) and then HTTP 200 OK__---------------- response and then the contents of the confirm page . This does not happen when my proxy settings are enabled in the browser and i have an internet connection thru a proxy. But when disab;led, this does happen. Please Help!!!! also, how to make a directory URL protected? Please, i am spending a lot of time on this. If you know, please reply immediately.What to do to prevent this? Thanks, Sucheta >From: Marty McKeever <sschneider@example.com> >Reply-To: sschneider@example.com >To: sschneider@example.com >CC: sschneider@example.com >Subject: Re: boggling problem with jsp >Date: Wed, 31 Jan 2001 13:25:03 -0500 > >We've been getting the same behavior using the Tomcat4 beta. >From our experience this only happens using Internet Explorer (all is good >in netscape) and is somehow related to the Persistent Connection features >of IE. > > >At 12:25 PM 1/31/01 -0500, you wrote: >>I am getting some really strange side effects with one of my jsp pages. >>I have a log-in page for a site I am working on, simple log-in, just type >>in your email address and password, click submit. The log-in is working >>fine but for some reason the next page is not getting loaded into the >>browser properly every time, it is actually being appended to the bottom >>of the log-in page: >> >>... >></table> >><!-- end footer --> >> >></body> >></html> >>HTTP/1.1 200 >>Date: Wed, 31 Jan 2001 15:58:12 GMT >>Server: Apache/1.3.12 (Unix) (Red Hat/Linux) mod_jk mod_perl/1.21 >>Keep-Alive: timeout=15, max=99 >>Connection: Keep-Alive >>Transfer-Encoding: chunked >>Content-Type: text/html; charset=ISO-8859-1 >> >>4 >> >> >> >>c01 >> >><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> >>... I can't seem to get this to happen in Netscape but it isn't a >>consistant thing in IE so I am quite confused as to where to look next. It >>seems almost like some sort of memory buffer for tomcat isn't getting >>cleared properly and I am getting the old with the new or something...any >>suggestions? Should I maybe take this to the tomcat-developer list? -- >>Thomas Bartels aka Blossoms the Tact Rat >>--------------------------------------------------------------------- To >>unsubscribe, e-mail: sschneider@example.com For >>additional commands, email: sschneider@example.com > >## Marty McKeever [Information Architect] >## sschneider@example.com [I-Silver, Inc] > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: sschneider@example.com >For additional commands, email: sschneider@example.com > _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. From sschneider@example.com Thu Feb 1 04:11:58 2001 Return-Path: <sschneider@example.com> Mailing-List: contact sschneider@example.com; run by ezmlm Delivered-To: mailing list sschneider@example.com Received: (qmail 90265 invoked from network); 1 Feb 2001 04:11:58 -0000 Received: from external00.dca55.ops.bbo.com (HELO ims001.dcat.ops.broadbandoffice.net) (83.161.120.155) by h31.sny.collab.net with SMTP; 1 Feb 2001 04:11:58 -0000 Received: by ims001.dcat.ops.broadbandoffice.net with Internet Mail Service (5.5.2650.21) id <1BNVB5C9>; Wed, 31 Jan 2001 23:09:56 -0500 Message-ID: <sschneider@example.com> From: sschneider@example.com To: sschneider@example.com Subject: Different ports for ajp in workers.properties and server.xml Date: Wed, 31 Jan 2001 23:09:55 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C08C04.D577CD10" X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N ------_=_NextPart_001_01C08C04.D577CD10 Content-Type: text/plain; charset="iso-8859-1" I'm experimenting with the ajp12 and ajp13 connectors. There is a port setting for each of these in both workers.properties and server.xml. What does it mean if I assign one port to (e.g.) ajp12 in workers.properties but give the ajp12 connector a different port number in server.xml? Guy Rouillier +1-678-719-7113 sschneider@example.com <mailto:sschneider@example.com> Domino Networks 2950 Gallows Road Falls Church, VA 22042 ------_=_NextPart_001_01C08C04.D577CD10 Content-Type: text/html; charset="iso-8859-1" <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1"> <META content="MSHTML 5.00.2314.1000" name=GENERATOR></HEAD> <BODY> <DIV><FONT face=Arial size=2><SPAN class=810330904-01022001>I'm experimenting with the ajp12 and ajp13 connectors.&nbsp; There is a port setting for each of these in both workers.properties and server.xml.&nbsp; What does it mean if I assign one port to (e.g.) ajp12 in workers.properties but give the ajp12 connector a different port number in server.xml?</SPAN></FONT></DIV> <DIV>&nbsp;</DIV> <DIV><FONT face=Arial size=2>Guy Rouillier</FONT></DIV> <DIV><FONT face=Arial size=2>+1-678-719-7113</FONT></DIV> <DIV><FONT face=Arial size=2><A href="mailto:sschneider@example.com">sschneider@example.com</A></FONT></DIV> <DIV><FONT face=Arial size=2>Domino Networks</FONT></DIV> <DIV><FONT face=Arial size=2>2950 Gallows Road</FONT></DIV> <DIV><FONT face=Arial size=2>Falls Church, VA 22042</FONT></DIV> <DIV>&nbsp;</DIV></BODY></HTML> ------_=_NextPart_001_01C08C04.D577CD10-- From sschneider@example.com Thu Feb 1 04:13:56 2001 Return-Path: <sschneider@example.com> Mailing-List: contact sschneider@example.com; run by ezmlm Delivered-To: mailing list sschneider@example.com Received: (qmail 93740 invoked from network); 1 Feb 2001 04:13:56 -0000 Received: from web310.mail.yahoo.com (83.161.120.155) by h31.sny.collab.net with SMTP; 1 Feb 2001 04:13:56 -0000 Message-ID: <sschneider@example.com> Received: from [83.161.120.155] by web310.mail.yahoo.com; Wed, 31 Jan 2001 20:14:05 PST Date: Wed, 31 Jan 2001 20:14:05 -0800 (PST) From: Ross Manges <sschneider@example.com> Subject: [more on] Re: log files in tomcat To: sschneider@example.com In-Reply-To: <sschneider@example.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-451783855-981000845=:22854" X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N --0-451783855-981000845=:22854 Content-Type: text/plain; charset=us-ascii Hi, That sounds like a great idea. Could someone please tell me how to re-direct stderr and stout to a log file? I have set every log file in the server.xml file to "DEBUG" but I still don't see the System.out.println() messages anywhere. They don't even show up on the server console. Your help is greatly appreciated! I'm running tomcat 3.2.1 on WinMe (I've had the same behavior under Win98 if that helps). --Ross Jason Pell <sschneider@example.com> wrote: Perhaps we should take this as a suggested improvement to tomcat: If they are present, then redirect System.out and System.err to these logfiles. "Garmaev, Vladimir A" wrote: > There should be two more logs: > > jvm.stderr > jvm.stdout > > The latter is logging System.out.println CPC Livelink Admin wrote: > Actually, these are files that are generated by the jk_nt_service helper > application, not entries in tomcat. > > If you want to capture the output of tomcat, you need to either a) redirect > the output to a file (on Unix you also need to redirect stderr, on Windows > stdout and stderr are much the same (I think)) or b) programatically change > the stream pointed to by System.out and .err to something else which you > have opened. > > -----Original Message----- > From: Jason Pell [mailto:sschneider@example.com] > Sent: Wednesday, January 31, 2001 8:09 PM > To: sschneider@example.com > Subject: Re: log files in tomcat > > I have also had problems with this. > > As suggested I tried adding jvm.stderr and jvm.stdout logs to server.xml: > > ----------------------------------------- server.xml fragment > ------------------------------- > > verbosityLevel = "DEBUG" > path="logs/stderr.log" > /> > > > verbosityLevel = "DEBUG" > path="logs/stdout.log" > /> > ----------------------------------------- server.xml fragment > ------------------------------- > > But no joy I am afraid. Is this the correct config info. > > I am running Tomcat 3.2.1 on Redhat 6.2 > > Thanks > Jason > > "Garmaev, Vladimir A" wrote: > > > There should be two more logs: > > > > jvm.stderr > > jvm.stdout > > > > The latter is logging System.out.println > > > > -----Original Message----- > > From: Ross Manges [mailto:sschneider@example.com] > > Sent: Wednesday, January 31, 2001 1:44 PM > > To: sschneider@example.com > > Subject: log files in tomcat > > > > Hello folks, > > > > I apologize in advance for this dumb question, but I'm > > having an exteremly difficult time getting tomcat to > > create a log file containing the event traces (and > > possibly System.out.println()'s?) from my servlets. > > I've read up on the available faq's and other > > documentation, which directs me to the server.xml > > file. I've set that file to maximum debugging mode, > > but still no luck. I get two files in my /log > > directory: jasper.log and servlet.log. The latter > > contains nearly nothing, and jasper.log simply reports > > on my jsp files. > > > > Can somebody PLEASE point me in the right direction? > > If I've missed some important set of documentation > > please let me know. > > > > Thanks! > > > > --Ross > > > > p.s. - I'm running tomcat 3.2.1 standalone on WinMe, > > PIII-700, 128mb ram. > > > > __________________________________________________ > > Get personalized email addresses from Yahoo! Mail - only $35 > > a year! http://personal.mail.yahoo.com/ > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: sschneider@example.com > > For additional commands, email: sschneider@example.com > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: sschneider@example.com > > For additional commands, email: sschneider@example.com > > -- > Jason Pell > Senior Analyst/Programmer - Web Developer > Deakin Software Services Pty Ltd > 12 Gheringhap St, Geelong Victoria 3220 Australia > Phone: 03 5227 8858 International: +1-678-719-7113 > Fax: 03 5227 8907 International: +1-678-719-7113 > E-mail sschneider@example.com > http://www.dssonline.com.au > Customer Support Hotline: 1800 620 497 > > "Callista - the brightest solution in university management" > > --------------------------------------------------------------- > Important Notice: The contents of this email transmission, > including attachments, may be privileged and confidential. > Any unauthorised use of the contents is expressly prohibited. > If you have received this transmission in error, please advise > the sender by return email or telephone immediately and > destroy all versions. > --------------------------------------------------------------- > > --------------------------------------------------------------------- > To unsubscribe, e-mail: sschneider@example.com > For additional commands, email: sschneider@example.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: sschneider@example.com > For additional commands, email: sschneider@example.com -- Jason Pell Senior Analyst/Programmer - Web Developer Deakin Software Services Pty Ltd 12 Gheringhap St, Geelong Victoria 3220 Australia Phone: 03 5227 8858 International: +1-678-719-7113 Fax: 03 5227 8907 International: +1-678-719-7113 E-mail sschneider@example.com http://www.dssonline.com.au Customer Support Hotline: 1800 620 497 "Callista - the brightest solution in university management" --------------------------------------------------------------- Important Notice: The contents of this email transmission, including attachments, may be privileged and confidential. Any unauthorised use of the contents is expressly prohibited. If you have received this transmission in error, please advise the sender by return email or telephone immediately and destroy all versions. --------------------------------------------------------------- --------------------------------------------------------------------- To unsubscribe, e-mail: sschneider@example.com For additional commands, email: sschneider@example.com --------------------------------- Do You Yahoo!? - Get personalized email addresses from Yahoo! Mail Personal Address - only $35 a year! --0-451783855-981000845=:22854 Content-Type: text/html; charset=us-ascii <P> Hi,</P> <P>That sounds like a great idea.&nbsp; Could someone please tell me how to re-direct stderr and stout to a log file?&nbsp; I have set every log file in the server.xml file to "DEBUG" but I still don't see the System.out.println() messages anywhere.&nbsp; They don't even show up on the server console.&nbsp; Your help is greatly appreciated!&nbsp; I'm running tomcat 3.2.1 on WinMe (I've had the same behavior under Win98 if that helps).</P> <P>--Ross<BR></P> <P>&nbsp; <B><I>Jason Pell &lt;sschneider@example.com&gt;</I></B> wrote: <BR> <BLOCKQUOTE style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">Perhaps we should take this as a suggested improvement to tomcat:<BR><BR>If they are present, then redirect System.out and System.err to these logfiles.<BR><BR>"Garmaev, Vladimir A" wrote:<BR><BR>&gt; There should be two more logs:<BR>&gt;<BR>&gt; jvm.stderr<BR>&gt; jvm.stdout<BR>&gt;<BR>&gt; The latter is logging System.out.println<BR><BR><BR>CPC Livelink Admin wrote:<BR><BR>&gt; Actually, these are files that are generated by the jk_nt_service helper<BR>&gt; application, not entries in tomcat.<BR>&gt;<BR>&gt; If you want to capture the output of tomcat, you need to either a) redirect<BR>&gt; the output to a file (on Unix you also need to redirect stderr, on Windows<BR>&gt; stdout and stderr are much the same (I think)) or b) programatically change<BR>&gt; the stream pointed to by System.out and .err to something else which you<BR>&gt; have opened.<BR>&gt;<BR>&gt; -----Original Message-----<BR>&gt; From: Jason Pell [mailto:sschneider@example.com]<BR>&gt; Sent: Wednesday, January 31, 2001 8:09 PM<BR>&gt; To: sschneider@example.com<BR>&gt; Subject: Re: log files in tomcat<BR>&gt;<BR>&gt; I have also had problems with this.<BR>&gt;<BR>&gt; As suggested I tried adding jvm.stderr and jvm.stdout logs to server.xml:<BR>&gt;<BR>&gt; ----------------------------------------- server.xml fragment<BR>&gt; -------------------------------<BR>&gt; <LOGGER name="jvm.stderr" <br>&gt; verbosityLevel = "DEBUG"<BR>&gt; path="logs/stderr.log"<BR>&gt; /&gt;<BR>&gt;<BR>&gt; <LOGGER name="jvm.stdout" <br>&gt; verbosityLevel = "DEBUG"<BR>&gt; path="logs/stdout.log"<BR>&gt; /&gt;<BR>&gt; ----------------------------------------- server.xml fragment<BR>&gt; -------------------------------<BR>&gt;<BR>&gt; But no joy I am afraid. Is this the correct config info.<BR>&gt;<BR>&gt; I am running Tomcat 3.2.1 on Redhat 6.2<BR>&gt;<BR>&gt; Thanks<BR>&gt; Jason<BR>&gt;<BR>&gt; "Garmaev, Vladimir A" wrote:<BR>&gt;<BR>&gt; &gt; There should be two more logs:<BR>&gt; &gt;<BR>&gt; &gt; jvm.stderr<BR>&gt; &gt; jvm.stdout<BR>&gt; &gt;<BR>&gt; &gt; The latter is logging System.out.println<BR>&gt; &gt;<BR>&gt; &gt; -----Original Message-----<BR>&gt; &gt; From: Ross Manges [mailto:sschneider@example.com]<BR>&gt; &gt; Sent: Wednesday, January 31, 2001 1:44 PM<BR>&gt; &gt; To: sschneider@example.com<BR>&gt; &gt; Subject: log files in tomcat<BR>&gt; &gt;<BR>&gt; &gt; Hello folks,<BR>&gt; &gt;<BR>&gt; &gt; I apologize in advance for this dumb question, but I'm<BR>&gt; &gt; having an exteremly difficult time getting tomcat to<BR>&gt; &gt; create a log file containing the event traces (and<BR>&gt; &gt; possibly System.out.println()'s?) from my servlets.<BR>&gt; &gt; I've read up on the available faq's and other<BR>&gt; &gt; documentation, which directs me to the server.xml<BR>&gt; &gt; file. I've set that file to maximum debugging mode,<BR>&gt; &gt; but still no luck. I get two files in my /log<BR>&gt; &gt; directory: jasper.log and servlet.log. The latter<BR>&gt; &gt; contains nearly nothing, and jasper.log simply reports<BR>&gt; &gt; on my jsp files.<BR>&gt; &gt;<BR>&gt; &gt; Can somebody PLEASE point me in the right direction?<BR>&gt; &gt; If I've missed some important set of documentation<BR>&gt; &gt; please let me know.<BR>&gt; &gt;<BR>&gt; &gt; Thanks!<BR>&gt; &gt;<BR>&gt; &gt; --Ross<BR>&gt; &gt;<BR>&gt; &gt; p.s. - I'm running tomcat 3.2.1 standalone on WinMe,<BR>&gt; &gt; PIII-700, 128mb ram.<BR>&gt; &gt;<BR>&gt; &gt; __________________________________________________<BR>&gt; &gt; Get personalized email addresses from Yahoo! Mail - only $35<BR>&gt; &gt; a year! http://personal.mail.yahoo.com/<BR>&gt; &gt;<BR>&gt; &gt; ---------------------------------------------------------------------<BR>&gt; &gt; To unsubscribe, e-mail: sschneider@example.com<BR>&gt; &gt; For additional commands, email: sschneider@example.com<BR>&gt; &gt;<BR>&gt; &gt; ---------------------------------------------------------------------<BR>&gt; &gt; To unsubscribe, e-mail: sschneider@example.com<BR>&gt; &gt; For additional commands, email: sschneider@example.com<BR>&gt;<BR>&gt; --<BR>&gt; Jason Pell<BR>&gt; Senior Analyst/Programmer - Web Developer<BR>&gt; Deakin Software Services Pty Ltd<BR>&gt; 12 Gheringhap St, Geelong Victoria 3220 Australia<BR>&gt; Phone: 03 5227 8858 International: +1-678-719-7113<BR>&gt; Fax: 03 5227 8907 International: +1-678-719-7113<BR>&gt; E-mail sschneider@example.com<BR>&gt; http://www.dssonline.com.au<BR>&gt; Customer Support Hotline: 1800 620 497<BR>&gt;<BR>&gt; "Callista - the brightest solution in university management"<BR>&gt;<BR>&gt; ---------------------------------------------------------------<BR>&gt; Important Notice: The contents of this email transmission,<BR>&gt; including attachments, may be privileged and confidential.<BR>&gt; Any unauthorised use of the contents is expressly prohibited.<BR>&gt; If you have received this transmission in error, please advise<BR>&gt; the sender by return email or telephone immediately and<BR>&gt; destroy all versions.<BR>&gt; ---------------------------------------------------------------<BR>&gt;<BR>&gt; ---------------------------------------------------------------------<BR>&gt; To unsubscribe, e-mail: sschneider@example.com<BR>&gt; For additional commands, email: sschneider@example.com<BR>&gt;<BR>&gt; ---------------------------------------------------------------------<BR>&gt; To unsubscribe, e-mail: sschneider@example.com<BR>&gt; For additional commands, email: sschneider@example.com<BR><BR>--<BR>Jason Pell<BR>Senior Analyst/Programmer - Web Developer<BR>Deakin Software Services Pty Ltd<BR>12 Gheringhap St, Geelong Victoria 3220 Australia<BR>Phone: 03 5227 8858 International: +1-678-719-7113<BR>Fax: 03 5227 8907 International: +1-678-719-7113<BR>E-mail sschneider@example.com<BR>http://www.dssonline.com.au<BR>Customer Support Hotline: 1800 620 497<BR><BR>"Callista - the brightest solution in university management"<BR><BR>---------------------------------------------------------------<BR>Important Notice: The contents of this email transmission,<BR>including attachments, may be privileged and confidential.<BR>Any unauthorised use of the contents is expressly prohibited.<BR>If you have received this transmission in error, please advise<BR>the sender by return email or telephone immediately and<BR>destroy all versions.<BR>---------------------------------------------------------------<BR><BR><BR><BR>---------------------------------------------------------------------<BR>To unsubscribe, e-mail: sschneider@example.com<BR>For additional commands, email: sschneider@example.com<BR></BLOCKQUOTE><p><br><hr size=1><b>Do You Yahoo!?</b><br> - Get personalized email addresses from <a href=http://personal.mail.yahoo.com/>Yahoo! Mail Personal Address</a> - only $35 a year! --0-451783855-981000845=:22854-- From sschneider@example.com Thu Feb 1 04:21:52 2001 Return-Path: <sschneider@example.com> Mailing-List: contact sschneider@example.com; run by ezmlm Delivered-To: mailing list sschneider@example.com Received: (qmail 99395 invoked from network); 1 Feb 2001 04:21:52 -0000 Received: from smtp-2u-1.atlantic.net (83.161.120.155) by h31.sny.collab.net with SMTP; 1 Feb 2001 04:21:52 -0000 Received: from ingainesville.com (gsvlfl-dsl-1-ip-15.atlantic.net [83.161.120.155]) by smtp-2u-1.atlantic.net (8.11.1/8.9.3) with ESMTP id f114M0429498; Wed, 31 Jan 2001 23:22:00 -0500 Received: by ingainesville.com (Postfix, from userid 1000) id B0D941971E; Wed, 31 Jan 2001 23:21:58 -0500 (EST) Date: Wed, 31 Jan 2001 23:21:58 -0500 To: sschneider@example.com Cc: sschneider@example.com Subject: Re: boggling problem with jsp Message-ID: <sschneider@example.com> Reply-To: Thomas Bartels <sschneider@example.com> References: <A596E9715C1FD31180960090277C0BACF3E8CB@MAIL> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.12i In-Reply-To: <A596E9715C1FD31180960090277C0BACF3E8CB@MAIL>; from sschneider@example.com on Wed, Jan 31, 2001 at 11:21:05AM -0800 X-InGainesville-Uptime: 10:49pm up 8 days, 5:47, 1 user, load average: 0.00, 0.02, 0.00 From: sschneider@example.com (Thomas Bartels) X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N sschneider@example.com dropped a dime in the machine, and out came: > This will force Tomcat 4.0 (HTTP 1.1 webserver) to behave like HTTP 1.0 > (Tomcat 3.2). This will force IE to treat Tomcat4 like a HTTP 1.0 server, > hence it will *not* try to use a persistent connection. The only problem with this solution is that I AM using Tomcat 3.2.1. :) > This worked for me. Also, if you are using > response.sendRedirect("somepage.jsp") in your code, make sure you follow it > with a return statement, like > > response.sendRedirect("somepage.jsp"); > return; This appears to have fixed the problem, I will let you know if I see it again. > This will make sure that "no more output" gets written to the response > stream after calling sendRedirect(). > > sam... Thank you. -- Thomas Bartels aka Blossoms the Tact Rat From sschneider@example.com Thu Feb 1 05:26:53 2001 Return-Path: <sschneider@example.com> Mailing-List: contact sschneider@example.com; run by ezmlm Delivered-To: mailing list sschneider@example.com Received: (qmail 44416 invoked from network); 1 Feb 2001 05:26:53 -0000 Received: from bom2.vsnl.net.in (83.161.120.155) by h31.sny.collab.net with SMTP; 1 Feb 2001 05:26:53 -0000 Received: from 83.161.120.155 (unknown [83.161.120.155]) by bom2.vsnl.net.in (Postfix) with ESMTP id 8CC4625C8B for <sschneider@example.com>; Thu, 1 Feb 2001 10:56:37 +0530 (GMT+5:30) Message-ID: <000801c08c08$0d76f260$7001a8c0@jaydeep> From: Jaydeep Shah <sschneider@example.com> X-mailserver: Sent using the PostMaster (v3.1.5) To: <sschneider@example.com> Subject: Wanted help for Linux Platform....... Date: Thu, 1 Feb 2001 10:02:57 +0530 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0005_01C08C36.26DB4200" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N ------=_NextPart_000_0005_01C08C36.26DB4200 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hello Sir, I am working on java mostly jsp & servlet. now my requirment is to work on linux platform so can u plesase give = me information about all setting of tomcat & apache webserver for linux = =20 platform. Thank you very much Jaydeep shah ------=_NextPart_000_0005_01C08C36.26DB4200 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META content=3D"text/html; charset=3Diso-8859-1" = http-equiv=3DContent-Type> <META content=3D"MSHTML 5.00.2314.1000" name=3DGENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=3D#ffffff> <DIV><FONT face=3DArial size=3D2>Hello Sir,</FONT></DIV> <DIV><FONT face=3DArial size=3D2>&nbsp;&nbsp; I am working on java = mostly jsp &amp;=20 servlet.</FONT></DIV> <DIV><FONT face=3DArial size=3D2>&nbsp;&nbsp; now my requirment is to = work on linux=20 platform&nbsp;so can u plesase&nbsp;give me</FONT></DIV> <DIV><FONT face=3DArial size=3D2>&nbsp;&nbsp; information about all = setting of=20 tomcat &amp; apache webserver for linux&nbsp;&nbsp; </FONT></DIV> <DIV><FONT face=3DArial size=3D2>&nbsp;&nbsp; platform.</FONT></DIV> <DIV>&nbsp;</DIV> <DIV><FONT face=3DArial size=3D2>&nbsp;Thank you very much</FONT></DIV> <DIV>&nbsp;</DIV> <DIV><FONT face=3DArial size=3D2>&nbsp;&nbsp; Jaydeep=20 shah</FONT></DIV></BODY></HTML> ------=_NextPart_000_0005_01C08C36.26DB4200-- -------------------------------------------------------------- Nova Software, Mumbai, India From sschneider@example.com Thu Feb 1 05:38:14 2001 Return-Path: <sschneider@example.com> Mailing-List: contact sschneider@example.com; run by ezmlm Delivered-To: mailing list sschneider@example.com Received: (qmail 52850 invoked from network); 1 Feb 2001 05:38:14 -0000 Received: from c007-h014.c007.snv.cp.net (HELO c007.snv.cp.net) (83.161.120.155) by h31.sny.collab.net with SMTP; 1 Feb 2001 05:38:14 -0000 Received: (cpmta 18417 invoked from network); 31 Jan 2001 21:37:58 -0800 Received: from dsl-64-192-117-117.telocity.com (HELO bmolloy) (83.161.120.155) by smtp.telocity.com (83.161.120.155) with SMTP; 31 Jan 2001 21:37:58 -0800 X-Sent: 1 Feb 2001 05:37:58 GMT From: "Michael Molloy" <sschneider@example.com> To: <sschneider@example.com> Subject: RE: How to prevent a .jsp from being accessed directly? Date: Wed, 31 Jan 2001 23:37:54 -0600 Message-ID: <sschneider@example.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) In-Reply-To: <sschneider@example.com> X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 Importance: Normal X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N Bob, I thought I had tried all combinations, but I apparently I had tried them all except the right one. Thanks for your help. --Michael -----Original Message----- From: sschneider@example.com [mailto:sschneider@example.com] Sent: Tuesday, January 30, 2001 4:50 PM To: sschneider@example.com Subject: RE: How to prevent a .jsp from being accessed directly? Don't include the www.... in your url-pattern rather if you directory structure is Tomcat | -- webapps | -- mywebapp | -- jsps selectroster.jsp another.jsp another2.jsp you would include <url-pattern>/jsps/selectroster.jsp</url-pattern> What version of tomcat are you using? What is your environment? Bob -----Original Message----- From: Michael Molloy [mailto:sschneider@example.com] Sent: Tuesday, January 30, 2001 4:44 PM To: sschneider@example.com Subject: RE: How to prevent a .jsp from being accessed directly? I've tried several variations, from your suggestion below to including the entire url (www. . . .). I'll take another sschneider@example.com. Thanks --Michael -----Original Message----- From: sschneider@example.com [mailto:sschneider@example.com] Sent: Tuesday, January 30, 2001 4:29 PM To: sschneider@example.com Subject: RE: How to prevent a .jsp from being accessed directly? You may want to try setting the url pattern relative to the root i.e. <url-pattern>/dir1/subdir1/selectroster.jsp</url-pattern> Bob -----Original Message----- From: Michael Molloy [mailto:sschneider@example.com] Sent: Monday, January 29, 2001 7:41 PM To: Tomcat Subject: How to prevent a .jsp from being accessed directly? I'm using the following web.xml file inside a servlet context (/opt/tomcat/webapps/staging/WEB-INF/web.xml). However, it's not preventing direct access to the jsp file, which is what I'm hoping to achieve. I got this from the O'Reilly Javaserver Pages book, but it's not working. Any suggestions? Thanks --Michael <web-app> <servlet> <servlet-name>RosterServlet</servlet-name> <servlet-class>RosterServlet</servlet-class> <load-on-startup>1</load-on-startup> </servlet> <servlet-mapping> <servlet-name>RosterServlet</servlet-name> <url-pattern>/process</url-pattern> </servlet-mapping> <security-constraint> <web-resource-collection> <web-resource-name>no-access</web-resource-name> <url-pattern>selectroster.jsp</url-pattern> </web-resource-collection> <auth-constraint> <role-name>nobody</role-name> </auth-constraint> </security-constraint> </web-app> --------------------------------------------------------------------- To unsubscribe, e-mail: sschneider@example.com For additional commands, email: sschneider@example.com --------------------------------------------------------------------- To unsubscribe, e-mail: sschneider@example.com For additional commands, email: sschneider@example.com --------------------------------------------------------------------- To unsubscribe, e-mail: sschneider@example.com For additional commands, email: sschneider@example.com --------------------------------------------------------------------- To unsubscribe, e-mail: sschneider@example.com For additional commands, email: sschneider@example.com From sschneider@example.com Thu Feb 1 05:46:37 2001 Return-Path: <sschneider@example.com> Mailing-List: contact sschneider@example.com; run by ezmlm Delivered-To: mailing list sschneider@example.com Received: (qmail 59892 invoked from network); 1 Feb 2001 05:46:37 -0000 Received: from unknown (HELO nh.newgen.co.in) (83.161.120.155) by h31.sny.collab.net with SMTP; 1 Feb 2001 05:46:37 -0000 Received: from nags (ws172.newgen.co.in [83.161.120.155]) by nh.newgen.co.in (8.9.3/8.8.7) with SMTP id LAA13469; Thu, 1 Feb 2001 11:13:28 +0530 Message-ID: <sschneider@example.com> From: "nagappan" <sschneider@example.com> To: <sschneider@example.com> Cc: "Jaydeep Shah" <sschneider@example.com> References: <000801c08c08$0d76f260$7001a8c0@jaydeep> Subject: Re: Wanted help for Linux Platform....... Date: Thu, 1 Feb 2001 11:25:28 +0530 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0031_01C08C41.ADAF65D0" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6600 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N ------=_NextPart_000_0031_01C08C41.ADAF65D0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hello, If U R working with Debian GNU/Linux, I can help U 2 some extent. ----- Original Message -----=20 I am working on java mostly jsp & servlet. now my requirment is to work on linux platform so can u plesase = give me information about all setting of tomcat & apache webserver for = linux =20 platform. Regards Nagappan ------=_NextPart_000_0031_01C08C41.ADAF65D0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META content=3D"text/html; charset=3Diso-8859-1" = http-equiv=3DContent-Type> <META content=3D"MSHTML 5.00.2919.6307" name=3DGENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=3D#ffffff> <DIV><FONT face=3DArial size=3D2>Hello,</FONT></DIV> <DIV><FONT face=3DArial size=3D2>&nbsp;&nbsp;&nbsp; If U R working with = Debian=20 GNU/Linux, I can help U 2 some extent.</FONT></DIV> <BLOCKQUOTE=20 style=3D"BORDER-LEFT: #000000 2px solid; MARGIN-LEFT: 5px; MARGIN-RIGHT: = 0px; PADDING-LEFT: 5px; PADDING-RIGHT: 0px"> <DIV style=3D"FONT: 10pt arial">----- Original Message ----- </DIV> <DIV><FONT face=3DArial size=3D2>&nbsp;&nbsp; I am working on java = mostly jsp=20 &amp; servlet.</FONT></DIV> <DIV><FONT face=3DArial size=3D2>&nbsp;&nbsp; now my requirment is to = work on=20 linux platform&nbsp;so can u plesase&nbsp;give me</FONT></DIV> <DIV><FONT face=3DArial size=3D2>&nbsp;&nbsp; information about all = setting of=20 tomcat &amp; apache webserver for linux&nbsp;&nbsp; </FONT></DIV> <DIV><FONT face=3DArial size=3D2>&nbsp;&nbsp; = platform.</FONT></DIV></BLOCKQUOTE> <DIV><FONT face=3DArial size=3D2>Regards</FONT></DIV> <DIV><FONT face=3DArial size=3D2>Nagappan</FONT></DIV></BODY></HTML> ------=_NextPart_000_0031_01C08C41.ADAF65D0-- From sschneider@example.com Thu Feb 1 06:08:09 2001 Return-Path: <sschneider@example.com> Mailing-List: contact sschneider@example.com; run by ezmlm Delivered-To: mailing list sschneider@example.com Received: (qmail 70744 invoked from network); 1 Feb 2001 06:08:09 -0000 Received: from mail10.speakeasy.net (83.161.120.155) by h31.sny.collab.net with SMTP; 1 Feb 2001 06:08:09 -0000 Received: (qmail 35888 invoked from network); 1 Feb 2001 06:08:00 -0000 Received: from unknown (HELO jefe) ([83.161.120.155]) (envelope-sender <sschneider@example.com>) by mail10.speakeasy.net (qmail-ldap-1.03) with SMTP for <sschneider@example.com>; 1 Feb 2001 06:08:00 -0000 From: "James Diggans" <sschneider@example.com> To: <sschneider@example.com> Cc: "Jaydeep Shah" <sschneider@example.com> Subject: RE: Wanted help for Linux Platform....... Date: Thu, 1 Feb 2001 01:05:35 -0500 Message-ID: <sschneider@example.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 In-Reply-To: <sschneider@example.com> X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N > Hello, > If U R working with Debian GNU/Linux, I can help U 2 some extent. > ----- Original Message ----- > I am working on java mostly jsp & servlet. > now my requirment is to work on linux platform so can u plesase give me > information about all setting of tomcat & apache webserver for linux > platform. > Regards > Nagappan If you're looking to work on linux, all the docs you should need to get Tomcat/Apache setup should be availible at http://jakarta.apache.org/tomcat/jakarta-tomcat/src/doc/index.html Installation should be pretty straight-forward. - jc ---------------------------------------------------------------------- -------------- James C. Diggans Excelsior Technologies, Inc. At what point did we stop sschneider@example.com being citizens and start http://www.excelsior-web.com being mere 'consumers'? ---------------------------------------------------------------------- -------------- -----Original Message----- From: nagappan [mailto:sschneider@example.com] Sent: Thursday, February 01, 2001 12:55 AM To: sschneider@example.com Cc: Jaydeep Shah Subject: Re: Wanted
{'source': 'Apache Software Foundation Public Mail Archives'}