Help :- Filters .

2003-10-03 Thread Steven Perry
I have configured a filter to do some preService processing (i,e, before the request is passed onto the webapp). I, initially, configured it for a single webapp (modified the relevant web.xml) and it worked fine. Now, I want to configure it such that ALL webapps use this filter. I tried to decl

Re: Newbie Question: Tomcat 3.2.3 + JDK1.3.1_09 + Win2K

2003-10-03 Thread Bill Barker
"Graham Reeds" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > "Bill Barker" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > > I haven't used 3.2.x in a very very long time. My first guess would be to > > check the batch files. From the error you are getting, it may

Re: SSL Client authentication: what goes in tomcat-users.xml?

2003-10-03 Thread Bill Barker
"Christopher Williams" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Following the advice from this link > http://books.mcgraw-hill.com/betabooks/aug02/taylor/0072225653_ch10.html > > I tried to get SSL client authentication to work by setting the following > entry in tomcat-users.

catalina stop exceptions

2003-10-03 Thread Ravi Pachipala
I am getting the following exceptions when trying to stop tomcat using "catalina stop" command. All java processes are not getting killed. Any ideas? Thanks Ravi 75249 [Thread-18] ERROR net.PoolTcpEndpoint - Caught exception trying to unlock accept. java.net.ConnectException: Connection refused

Tomcat - Apache connector (JK2) - limited capacity?

2003-10-03 Thread Alexandr Molochnikov
I am facing a weird problem: Our Tomcat is connected to Apache web server via JK2 connector. The servlet creates a PDF file and sends it to to the browser. If the file is larger than, say, 100K (haven't measured the breaking point, but it is below 150K) then the browser page comes empty. Hitting

Re: How to re-config/customize tomcat 4's loggers

2003-10-03 Thread Tim Funk
The access logs have a property called rotatable to prevent nightly log rotation. (I think in 4.1.27) You can also set the date format too if desired. As for the FileLoggers you are sol :( without extending FileLogger -Tim Bing Zhang wrote: Hi all: We recently installed Tomcat 4.1.24, but we wa

mod_jk2 config question

2003-10-03 Thread Jack Lauman
I found that unless apache2 is installed in the default location an the environment variable serverRoot has to be set to the actual location of apache2. (This should be included in the how-to as jk2 won't work without it if the default location for serverRoot is changed) Having set serverRoot, th

Objects in session lost when using mutiple servers

2003-10-03 Thread Wilian Zurita
I'm having the following problem: Quick explanation: I'm losing objects stored in session. Long explanation (inside parenthesis, an explanation for whomever know struts): I have a servlet (a struts action, really) that stores an object (an ActionForm) in session, then redirects to a JSP page. T

How to re-config/customize tomcat 4's loggers

2003-10-03 Thread Bing Zhang
Hi all: We recently installed Tomcat 4.1.24, but we want to change The Logger Component configuration, the reason is that we want all the catalina log or access log to use one file per purpose, but the default file logger from Catalina, org.apache.catalina.logger.FileLogger, will use a new file e

RE: invalid direct reference..--problem with solution..

2003-10-03 Thread Patrick Willart
Here are two fixes for the problem. http://forum.java.sun.com/thread.jsp?thread=330109&forum=45&message=1344266 http://raibledesigns.com/page/rd/20020828 However, they don't work for me. My problem isn't that the user goes directly to the login page, but that a login form is available on every pa

RE: Tag Libraries in host other than the main server.

2003-10-03 Thread Wade Chandler
Well I checked the file names, and they are fine. Then to make sure it was finding them I changed the path in web.xml to look for my file (to see what error I would get), and this tells me that it was finding the tld fine before keying in an invalid path. org.apache.jasper.JasperException: File "

RE: invalid direct reference..--problem with solution..

2003-10-03 Thread George Payne
I would like to implement a fix to this. I think having users bookmark the login page is a very likely frequent problem. But.. What happens if you implement this solution and the user has disallowed cookies? Don't you get an ugly loop? If the referer header was set, you could use that, but i

Re: Re[2]: com.sun.tools.javac.Main is not on the classpath error

2003-10-03 Thread Filip Hanik
I believe this is the incorrect way of starting tomcat. if you start bootstrap, your command line should only be like this java.exe -Djava.endorsed.dirs="..\common\endorsed -classpath "C:\Software\jdk-1.4.2\j2sdk1.4.2\lib\tools.jar;..\bin\bootstrap.jar" -Dcatalina.base=".." -Dcatalina.home=".." -D

Re[2]: com.sun.tools.javac.Main is not on the classpath error

2003-10-03 Thread Alex Korneyev
Hello Filip, i checked that, and as you can see it is in fact in classpath: C:\j2sdk1.4.2_01\bin\javaw.exe -Djava.endorsed.dirs=C:\tomcat\jakarta-tomcat-4.1.27\bin;C:\tomcat\jakarta-tomcat-4.1.27\common\lib -Dcatalina.base=C:\Documents and Settings\Administrator.DELL-WIN2K\.IntelliJIdea\syste

Re: com.sun.tools.javac.Main is not on the classpath error

2003-10-03 Thread Filip Hanik
tools.jar is not in your classpath - Original Message - From: "Alex Korneyev" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Friday, October 03, 2003 2:00 PM Subject: com.sun.tools.javac.Main is not on the classpath error Hello, When i run tomcat in a debugger, i get the following e

Alias not working.

2003-10-03 Thread Wade Chandler
Has anyone ever tried to use an alias that did not begin with www.? Every time I do that it doesn't work unless I make it the name of the Host element. But then if I do that no other Alias will work. So, I end up with multiple Host elements. I think I'm going to join the developer list and see a

com.sun.tools.javac.Main is not on the classpath error

2003-10-03 Thread Alex Korneyev
Hello, When i run tomcat in a debugger, i get the following error when it is trying to compile ANY jsp: Unable to find a javac compiler; com.sun.tools.javac.Main is not on the classpath. Perhaps JAVA_HOME does not point to the JDK it works fine , if it is not wrunning in debug mode. alex k.

RE: HTML quoting

2003-10-03 Thread George Sexton
Here is code that we use. It depends on our own variant of String Buffer, but you get the idea: public String htmlEncode(String cVal) { if (cVal==null || cVal.length()==0) { return ""; } MHBuffer buf=new MHBuffer(cVal.length()<<2); final String[] aO

RE: Tag Libraries in host other than the main server.

2003-10-03 Thread Edson Alves Pereira
Check WEB-INF directory to see if its name is in the same way as web.xml, because its case-sensitive. Regards, Edson > -- > De: Wade Chandler[SMTP:[EMAIL PROTECTED] > Responder:Tomcat Users List > Enviada: sexta-feira, 3 de outubro de 2003 16:29 > Para:

RE: Send mail cgi script doesn't work under tomcat?

2003-10-03 Thread Patrick Willart
Laurence, I have the same problem and could not figure it out. It seems that the CGI program isn't allowed to open a new socket. You could try to enable the Security Manager and set it up so it allows for opening sockets. However, I don't believe CGI scripts/programs are affected by the Security

Re: Tomcat hanging!! About to change container!! Please help!!

2003-10-03 Thread Remy Maucherat
Shapira, Yoav wrote: Howdy, Oh, interesting... "Thread-2" daemon prio=1 tid=0x084201a0 nid=0x223b waiting on condition [4e08..4e080714] at java.io.PrintWriter.print(PrintWriter.java:375) at java.io.PrintWriter.println(PrintWriter.java:515) - locked <0x44a33ae0> (a java.

Send mail cgi script doesn't work under tomcat?

2003-10-03 Thread Lawence
Dear all, I know not too many did this before. I enabled cgi support of Tomcat instead of integrating it to apache. Everything worked fine for the old cgi scripts except one fatal thing: the email script failed. Seemed to me Tomcat has some security restriction on openning socket to communica

Those multiple emails (apologies)

2003-10-03 Thread Wade Chandler
I'm not sure why the email appeared three times. I apologize. I've never had that happen on a list before. Wade Chandler Software Engineer Red-e Set Grow, LLC Email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTE

RE: Tag Libraries in host other than the main server.

2003-10-03 Thread Wade Chandler
I thought I would give a run down of my setup. I have my web.xml file. I am not using long URIs. I am using URIs of the form apache_taglibname in my web.xml file, but don't assume this is the problem. The URIs are definitely unique in the host or context. The host I am running has it's files ou

Tag Libraries in host other than the main server.

2003-10-03 Thread Wade Chandler
Hello, I'm using the Tomcat 5.x branch. I'm having an issue with Tag libs apparently. I downloaded an installed the mailer tag libraries. The examples with installed from a WAR file to the main server run fine, but when I take the libs and move them into another host I get this error messa

RE: log4j logging and tomcat

2003-10-03 Thread Ilja Hehenkamp
Nothing changed :( I'm outa luck... Does log4j.jar also needs to be placed in $catalina_home/common/lib? From: "Shapira, Yoav" <[EMAIL PROTECTED]> Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Subject: RE: log4j logging and tomcat Date: Fri, 3 Oct

RE: log4j logging and tomcat

2003-10-03 Thread Shapira, Yoav
Howdy, Ahh, I should've known commons-logging was in the mix... Let's try temporarily to remove commons-logging*.jar from your WEB-INF/lib. See what happens... Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Ilja Hehenkamp [mailto:[EMAIL PROTECTED] >Sent: Friday, Oct

RE: log4j logging and tomcat

2003-10-03 Thread Ilja Hehenkamp
all prerequisites are true I'm affraid :( Directory listing: /Library/Tomcat/webapps/Mathesis/WEB-INF/classes: hibernate.cfg.xml log4j.propertiesorg osuser.xml /Library/Tomcat/webapps/Mathesis/WEB-INF/lib: cglib.jar hibernate2.jar commons-beanut

RE: Re[2]: Tomcat and native libs.

2003-10-03 Thread Daniel Kowalik
Hi Anton, sorry i haven't replied earlier. The native code is ok. It works perfectly without Tomcat. It's related to reloading web application. I've actually worked it out. But by taking a bit differen way. Bests daniel -Original Message- From: Anton Tagunov [mailto:[EMAIL PROTECTED] Sen

RE: log4j logging and tomcat

2003-10-03 Thread Shapira, Yoav
Howdy, If log4j.jar is in your WEB-INF/lib, and log4j.properties is in your WEB-INF/classes, and your server is set up correctly (i.e. all examples work), and you set log4j.debug=true as a system property, and nothing shows up, I'm lost. If any of those conditions are false, correct them ;) Yoa

RE: log4j logging and tomcat

2003-10-03 Thread Ilja Hehenkamp
Thanks, did that, but still no debuggin information is showing up in my Mac OSX console... Looks like log4j isn't used, however it is in my WEB-INF/lib dir of my webapp... Ilja From: "Shapira, Yoav" <[EMAIL PROTECTED]> Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[

RE: log4j logging and tomcat

2003-10-03 Thread Shapira, Yoav
Howdy, Set JAVA_OPTS='-Dlog4j.debug=true' in $CATALINA_HOME/bin/catalina.sh. RTFM Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Ilja [mailto:[EMAIL PROTECTED] >Sent: Friday, October 03, 2003 2:37 PM >To: [EMAIL PROTECTED] >Subject: log4j logging and tomcat > >I hav

log4j logging and tomcat

2003-10-03 Thread Ilja
I have created a webapp and put a log4j.properties in the classpath, but the logging doesn't seem to work. So now I want to enable log4j debugging, but don't know how to set this system property with tomcat: Ie: can I set the system property '-Dlog4j.debug=true' in web.xml, is that possible? If no

RE: Server Locale and Supported Languages

2003-10-03 Thread Jeremy Whitlock
Yoav, That is a good place to start but that thread dead ended there. I'll search Google in the mean time. Anyways, if anyone has an answer off the top of their heads, let me know. Thanks, Jeremy -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Friday, Octo

RE: Server Locale and Supported Languages

2003-10-03 Thread Shapira, Yoav
Howdy, Is there a difference between his and your JAVA_OPTS? Maybe this will help: http://lists.freebsd.org/pipermail/freebsd-java/2003-July/000545.html Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Jeremy Whitlock [mailto:[EMAIL PROTECTED] >Sent: Friday, October 0

Server Locale and Supported Languages

2003-10-03 Thread Jeremy Whitlock
Tomcat List, I am trying to help a friend with a problem where his JSP pages served by Tomcat can't display characters that are of ISO-8859-1 charset. I have no problem showing them on my box, http://65.116.245.3/Jeremy/Charset.jsp , but he still can't get his to work using the cod

RE: Tomcat hanging!! About to change container!! Please help!!

2003-10-03 Thread Shapira, Yoav
Howdy, Oh, interesting... "Thread-2" daemon prio=1 tid=0x084201a0 nid=0x223b waiting on condition [4e08..4e080714] at java.io.PrintWriter.print(PrintWriter.java:375) at java.io.PrintWriter.println(PrintWriter.java:515) - locked <0x44a33ae0> (a java.io.FileWriter)

RE: Tomcat hanging!! About to change container!! Please help!!

2003-10-03 Thread Joe Zendle
Sorry, here are the thread traces -- Happy Server: -- Full thread dump Java HotSpot(TM) Client VM (1.4.2-b28 mixed mode): "MonitorRunnable" daemon prio=1 tid=0x0872d0d8 nid=0x223b in Object.wait() [4e684000..4e684714] at java.lang.Object.wait(Native Method)

Applet doesn't work when served by tomcat

2003-10-03 Thread Liem Do
Hello, I have a jsp page with a SpellChecker applet defined using the tags. For some reason this doesn't seem to work when the app is deployed in tomcat but the same app works when deployed from IPlanet webserver. It seems that the browser isn't able to download the applet code when it's served b

SSL Client authentication: what goes in tomcat-users.xml?

2003-10-03 Thread Christopher Williams
Following the advice from this link http://books.mcgraw-hill.com/betabooks/aug02/taylor/0072225653_ch10.html I tried to get SSL client authentication to work by setting the following entry in tomcat-users.xml: where x,y,z,etc. have real but unimportant values. Evidently Tomcat somehow matches t

RE: Tomcat hanging!! About to change container!! Please help!!

2003-10-03 Thread Shapira, Yoav
Howdy, Attachments don't come through the list server... Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Joe Zendle [mailto:[EMAIL PROTECTED] >Sent: Friday, October 03, 2003 1:03 PM >To: Tomcat Users List >Subject: RE: Tomcat hanging!! About to change container!! Plea

Re: HTML quoting

2003-10-03 Thread Christopher Williams
> > It is obvious then that a space would be or since 32 is > the ascii code for a space. Though i cannot quite figure out why you > would want to escape a space... > I escape spaces and character entities in form fields; if you do the following: and someVal contains space characters (or

Re: How To: JkSet, JkSet2 & JkUriSet

2003-10-03 Thread Jack Lauman
New info: If I add "JkSet server.root /usr/lib/apache2" to httpd.conf I get the following error: [notice] mod-jk2: Unrecognized option server.root /usr/lib/apache2 Any ideas on how to resolve this? Note: I built this from the cvs yesterday, I've successfully built and run mod_jk and mod_webapp w

RE: Tomcat hanging!! About to change container!! Please help!!

2003-10-03 Thread Joe Zendle
Thanks for the suggestions. I made all of the changes except for using a text realm. Here are 2 thread traces. One is for a quiet server. The other is after the server sat overnight. I did a wget and the server hung. I immediately did a kill -QUIT. Looks like there is a hang in the Logging?! Could

RE: error-page directive

2003-10-03 Thread Carlos Pereira
> Instead of worrying so much about the appearance of your custom error > pages, try to code your app not to get as many errors ;) (Yoav Shapira) Nice one there :) I do, but i wanted to make sure no error message with stack traces is sent to the user. And I use RuntimeExceptions for those "imposs

RE: error-page directive

2003-10-03 Thread Shapira, Yoav
Howdy, >> You may also have to disable "Show Friendly Error Pages" (or something >> similar) in Internet Explorer's Internet Options pages. >(Yoav Shapira) > >Thanks. That worked fine, with both error-code and exception-type. It is >not the best solution, though... users have to change their conf

RE: error-page directive

2003-10-03 Thread Carlos Pereira
> Howdy, > You may also have to disable "Show Friendly Error Pages" (or something > similar) in Internet Explorer's Internet Options pages. (Yoav Shapira) Thanks. That worked fine, with both error-code and exception-type. It is not the best solution, though... users have to change their configura

RE: Datasource connections not released when reloading context

2003-10-03 Thread Matt Raible
Actually, I was looking at the wrong count - it was the total number of sessions. So looking at the "right" number of connections - I only see it increase by 1 each time - presumably because the JDBCRealm does not release its connection when the context is stopped and started again. Matt -Or

Re: HTML quoting

2003-10-03 Thread drm
If you refuse to or cannot use the org.apache.commons.lang.StringEscapeUtils (noted by Mike Curwen here), or the JSP functionality (noted by Tim Funk) it might help to know that a character entity doesn't have to be named. All characters have their respective character entity using the format &

RE: error-page directive

2003-10-03 Thread Shapira, Yoav
Howdy, You may also have to disable "Show Friendly Error Pages" (or something similar) in Internet Explorer's Internet Options pages. Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Carlos Pereira [mailto:[EMAIL PROTECTED] >Sent: Friday, October 03, 2003 11:25 AM >To

RE: contextInitialized() called twice

2003-10-03 Thread Shapira, Yoav
Howdy, Then what do you think "it" depends on? ;) Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Jean-Paul Le Fèvre [mailto:[EMAIL PROTECTED] >Sent: Friday, October 03, 2003 11:35 AM >To: [EMAIL PROTECTED] >Cc: [EMAIL PROTECTED] >Subject: Re: contextInitialized() cal

RE: Datasource connections not released when reloading context

2003-10-03 Thread Matt Raible
I tried changing the "removeAbandonedTimeout" to 1 and then to test it was working - here's what I did. 1. My app opens 2 connections to MySQL - one for the JDBCRealm and one for the database connection pool. 2. Logged into mysql to monitor the number of connections - it was intially reported a

Re: APJ v WARP

2003-10-03 Thread David Rees
On Fri, October 3, 2003 at 5:33 am, Curley, Thomas sent the following > I am connecting Apache 1.3.x to TC 4.1.27 on Linux > >>From what I can see on the group the concensus is to go with jk2 / AJP > > Has anyone recently done this - if so please let me know if there are any > issues / performace

Re: [tomcat 5.0 docs] Application Developer's Guide: build.xml file

2003-10-03 Thread drm
cheers Shapira, Yoav wrote: Howdy, Should i post the tomcat-dev mailinglist for contributions to the docs as well? Maybe i'll try to work out some updated tutorial... in the not-so-near future that is... You would put an enhancement issue into Bugzilla and attach your documents/patches/whateve

RE: Tomcat settings: Unable to access a text file ....

2003-10-03 Thread Simha, Kailas
Hi Ashish, You should put your props file under WEB-INF/classes and call it as "JTS.props". This should work.. Kailas Enterprise Web Infrastructure -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, October 03, 2003 10:43 AM To: [EMAIL PROTECTED] Subject:

Re: contextInitialized() called twice

2003-10-03 Thread Jean-Paul Le Fèvre
It does not depend on the detail of the configuration : I have tested many different approaches. The problem occurs when there is one default host and one virtual host. -- ___ Jean-Paul Le Fèvre * Mail : [EMAIL PROTECTED] -

Re: How To: JkSet, JkSet2 & JkUriSet

2003-10-03 Thread Jack Lauman
I think this is part of the problem. My server root is: /usr/lib/apache2 with a sym link from /usr/lib/apache2/conf to the actual config dir at /etc/httpd/conf. Apache loads JK2 and server-info see's it, but no config options are listed. So I assume apache can't find workers2.properties. Thanks

virtual directory in tomcat

2003-10-03 Thread abhivarsha
Hello guys, Can anybody advise me on this...is it possible to create a virtual directory in Tomcat which points to a directory on a different machine? ... something similar to what IIS does? I need to store lots of images for my website and am hence using a separate machine with lot of space

Re: error-page directive

2003-10-03 Thread Graham Reeds
- Original Message - From: "Carlos Pereira" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, October 03, 2003 4:24 PM Subject: error-page directive > I am using Tomcat 4.1.24 in Windows XP and I cannot define an error page. I have defined it in web.xml as > > > 500 > /

error-page directive

2003-10-03 Thread Carlos Pereira
I am using Tomcat 4.1.24 in Windows XP and I cannot define an error page. I have defined it in web.xml as 500 /errorpage.hmtl and none of them works. The page displayed is Tomcat's default error page. The error-page tag seems to be simply ignored, as no errors are found in the app

RE: [tomcat 5.0 docs] Application Developer's Guide: build.xml file

2003-10-03 Thread Shapira, Yoav
Howdy, >Should i post the tomcat-dev mailinglist for contributions to the docs >as well? Maybe i'll try to work out some updated tutorial... in the >not-so-near future that is... You would put an enhancement issue into Bugzilla and attach your documents/patches/whatever to that issue. Yoav Shap

RE: Tomcat settings: Unable to access a text file ....

2003-10-03 Thread Shapira, Yoav
Howdy, This is a FAQ -- you should search the archives before posting. Instead of using a File I/O based API to read properties, use ServletContext#getResourceAsSteeam("/WEB-INF/classes/JTS.props"); Yoav Shapira Millennium ChemInformatics >-Original Message- >From: [EMAIL PROTECTED] [m

Re: [tomcat 5.0 docs] Application Developer's Guide: build.xml file

2003-10-03 Thread drm
Hi :) Shapira, Yoav wrote: Howdy, Feel free to contribute... A discussion like this turns out to be more of a learning course for me than a contribution to the docs i suppose :D Should i post the tomcat-dev mailinglist for contributions to the docs as well? Maybe i'll try to work out some upda

RE: contextInitialized() called twice

2003-10-03 Thread Shapira, Yoav
Howdy, How is your server configured? Specifically, what is the directory structure under webapps, what's in the web.xml for your apps, and what's in server.xml for your contexts/hosts? Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Jean-Paul Le Fèvre [mailto:[EMA

contextInitialized() called twice

2003-10-03 Thread Jean-Paul Le Fèvre
My Tomcat configuration defines 3 hosts : it is the same machine known under 3 different names. Basically there is one context by host. I have a listener for one of my context but this listener is initialized twice. I do not understand why ! Actually the method contextInitialized() is called tw

Tomcat settings: Unable to access a text file ....

2003-10-03 Thread ashish . gadre
Hi there, We were using a web application using iPlanet. Now we want to try Tomcat as a standalone Application container for the same application. We have migrated the application in the desired directory structure under Tomcat directory with the apropriate changes to the application's Web.xml and

Re: Printing with page breaks.

2003-10-03 Thread Christopher Williams
It's possible with CSS. Check out: http://www.w3.org/TR/CSS21/page.html Chris. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Jsp's compiling

2003-10-03 Thread Luke Vanderfluit
Hi, No, Not that I'm an expert but, JSPs compile only on the first request and then every time they are changed., knd rgrds, Luke On Fri, 2003-10-03 at 20:08, [EMAIL PROTECTED] wrote: > Hi everyone, > Is it possible to compile all of the jsp pages of a given context when it > starts ? > ( A

Re: HTML quoting

2003-10-03 Thread Christopher Williams
Here's a simple method to quote the most important character entities: /** * Handles a couple of problematic characters in strings that are printed to * an HTML stream, replacing them with their escaped equivalents * @param s an input string * @return the escaped string

RE: Jsp's compiling

2003-10-03 Thread Shapira, Yoav
Howdy, By default, JSP pages are compiled as needed at runtime. That means once when first accessed, and once thereafter every change to the JSP. It does NOT mean recompile on every access -- that would be pretty terrible ;) If you change reloadable to be false for your context, JSPs are not aut

Jsp's compiling

2003-10-03 Thread gianluca . bartoli
Hi everyone, Is it possible to compile all of the jsp pages of a given context when it starts ? ( As far as I know they are compiled each time the server get a request for that particular jsp page ). Many thanks, Gianluca -

RE: APJ v WARP

2003-10-03 Thread Curley, Thomas
Chaps, where can I get mod_jk2.so as bin or do I need to build for linux RH -Original Message- From: Curley, Thomas Sent: 03 October 2003 13:33 To: [EMAIL PROTECTED] Subject: APJ v WARP I am connecting Apache 1.3.x to TC 4.1.27 on Linux >From what I can see on the group the concensus

Re: xsl and 4.1.27

2003-10-03 Thread Petter Karlström
[This message cc:ed to tomcat-user in case anyone else is browsing for the solution] Stan, There is a new version (1.0.4) of jakarta's jstl libs: jakarta-taglibs-standard-1.0.4.zip or jakarta-taglibs-standard-1.0.4.tar.gz This worked for me! Also, thanks for the link you found: http://wiki.co

Re: Expected date for 4.1.28?

2003-10-03 Thread Remy Maucherat
Shapira, Yoav wrote: Howdy, Also keep in mind that 4.1.28, like any other release, could have regression bugs ;) You'd have to test on it anyhow before going to production and finishing documentation. Unless you really need a fix from 4.1.27, you could just stick to 4.1.24 without a hotfix. Yes,

Re: HTML quoting

2003-10-03 Thread Greg Ward
On 02 October 2003, Tim Funk said: > JSTL by default escapes all output to be HTML friendly > > and to disable: > Alas, I'm working on some crufty old servlets that are chock full of System.out.println( ... boatloads of HTML ...); We plan to move to a real template language one of these days

Re: HTML quoting

2003-10-03 Thread Greg Ward
On 02 October 2003, Andy Eastham said: > "Standard" one is java.net.URLEncoder.encode() and > java.net.URLEncoder.decode() No. HTML quoting and URL encoding are quite different. URLEncoder.encode() on my test string returns Jeb+said%2C+%22Hell+%26+damnation%21+Is+5+%3E+4%3F%22 (It would also

RE: webapp/path

2003-10-03 Thread Shapira, Yoav
Howdy, Ignore my reply, it's probably very wrong, as the getRequestDispatcher call in the forward action needs a path with a leading /. Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Shapira, Yoav >Sent: Friday, October 03, 2003 8:52 AM >To: Tomcat Users List >Subjec

RE: webapp/path

2003-10-03 Thread Shapira, Yoav
Howdy, Does path="../jsp/error.jsp" work for you? Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Roland Carlsson [mailto:[EMAIL PROTECTED] >Sent: Friday, October 03, 2003 4:48 AM >To: Tomcat Users List >Subject: webapp/path > >Hi! > >In my struts-config.xml i have th

RE: Printing with page breaks.

2003-10-03 Thread Shapira, Yoav
Howdy, Yeah, this is not always an easy task. Recent browsers are supporting the CSS route better: the page-break-before and page-break-after CSS elements are what you're looking for, google those. Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Graham Reeds [mailto:

RE: Expected date for 4.1.28?

2003-10-03 Thread Shapira, Yoav
Howdy, Also keep in mind that 4.1.28, like any other release, could have regression bugs ;) You'd have to test on it anyhow before going to production and finishing documentation. Unless you really need a fix from 4.1.27, you could just stick to 4.1.24 without a hotfix. Yoav Shapira Millennium

RE: [tomcat 5.0 docs] Application Developer's Guide: build.xml file

2003-10-03 Thread Shapira, Yoav
Howdy, >Even though i think you're mistaking here, it might be even more reason >to update the Application Developer's Guide on the tomcat 5 docs ;) Feel free to contribute... >Why would a target be deprecated? I could call it "jake-the-snake" if i For the normal reason things are deprecated:

Re: Tomcat + SSL

2003-10-03 Thread Honza Spurný
Ought! Thanks, this was really stupid mistake. Thanks for that. Honza S. Christopher Williams wrote: > Change "keystrokeFile" to "keystoreFile" and "keystrokePass" to > "keystorePass". > > Chris. > > > > - > To unsubscribe,

APJ v WARP

2003-10-03 Thread Curley, Thomas
I am connecting Apache 1.3.x to TC 4.1.27 on Linux >From what I can see on the group the concensus is to go with jk2 / AJP Has anyone recently done this - if so please let me know if there are any issues / performace issues. Thomas ***

RE: Expected date for 4.1.28?

2003-10-03 Thread Greg_Cope
Thanks Tim, Just what I wanted! If it is this close, then I will wait a while to see if it does come out soon, and then assuming it is not a brown paper bag release I have to arrange change control, and install qualification docs etc ... so we tend to do this infrequently if we can. Thanks

Re: Tomcat + SSL

2003-10-03 Thread Christopher Williams
Change "keystrokeFile" to "keystoreFile" and "keystrokePass" to "keystorePass". Chris. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Expected date for 4.1.28?

2003-10-03 Thread Tim Funk
See the tomcat-dev archives. Occasionally, wishful release dates pop up from time to time ... For example: http://marc.theaimsgroup.com/?l=tomcat-dev&m=106485028613397&w=2 But emails like that can also be teasing due to unforeseen gotchas. (See the archives of how long it took to release jk 1.2.

RE: Expected date for 4.1.28?

2003-10-03 Thread Greg_Cope
Thanks :-) I know about "when its ready", but some people in the know have a feeling for when it is nearly ready as opposed to not quite. I am presently facing issues with posted xml data in 4.1.24, and am considering moving to 4.1.27, but the hotfix is apparently in the future 4.1.28. As I have

Re: Problem Compiling JSP Servlet

2003-10-03 Thread srevilak
> Subject: Problem Compiling JSP Servlet billy_aplin> I am new to JSP development and I am trying to compile a billy_aplin> simple servlet from the "More Servlets and JavaServer billy_aplin> Pages". I am getting the error "cannot resolve symbol" billy_aplin> (see below), which is supposed to mean

AW: Expected date for 4.1.28?

2003-10-03 Thread Marcel Stor
[EMAIL PROTECTED] wrote: > Hi All, > > Anyone got an expected date (roughly) for the above? http://jakarta.apache.org/tomcat/faq/version.html#when Regards, Marcel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comm

Re: Expected date for 4.1.28?

2003-10-03 Thread Tim Funk
http://jakarta.apache.org/tomcat/faq/version.html#when -Tim [EMAIL PROTECTED] wrote: Hi All, Anyone got an expected date (roughly) for the above? Ta. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

Re: Printing with page breaks.

2003-10-03 Thread Graham Reeds
I want my users to be able to print out a list of messages they receive with a single click on a print button. Incorporating the messages into a single JSP is no problem but then when they print this there are no page breaks. I have looked at the IETF's site at: http://www.ietf.org/rfc/rfc20

Expected date for 4.1.28?

2003-10-03 Thread Greg_Cope
Hi All, Anyone got an expected date (roughly) for the above? Ta. Greg Cope GCS Ltd Assign to: CIT, Sandwich - ISG Phone: (44) 01304 642040 Fax: (44) 01304 652118 LEGAL NOTICE Unless expressly stated otherwise, this message is confidential and may be privileged. It is intended for the addr

Tomcat + SSL

2003-10-03 Thread Honza Spurný
Hi there, I'm using TomCat 4.1 and I want to configure SSL conection. I've used how-to manual from site http://jakarta.apache.org/tomcat/tomcat-3.3-doc/tomcat-ssl-howto.html - i've generated keystroke and saved it into c:\.keystroke - i've modified server.xml file using this: When I want

Printing with page breaks.

2003-10-03 Thread Andoni
Hello, I want my users to be able to print out a list of messages they receive with a single click on a print button. Incorporating the messages into a single JSP is no problem but then when they print this there are no page breaks. I have looked at the IETF's site at: http://www.ietf.org/rfc/

AW: What does this mean?

2003-10-03 Thread Marcel Stor
Jon Skeet wrote: > > That's what I figured... However, the only one accesing the system > > at the moment is myself. It must be one of my servlets that places > > such a request. Why is there a meta-inf directory anyway? It is not > > reflected in the file system.? > > Consider a war file - that's

RE: What does this mean?

2003-10-03 Thread Jon Skeet
> That's what I figured... However, the only one accesing the system > at the moment is myself. It must be one of my servlets that places such > a request. Why is there a meta-inf directory anyway? It is not > reflected in the file system.? Consider a war file - that's likely to have a meta-inf

AW: What does this mean?

2003-10-03 Thread Marcel Stor
Jon Skeet wrote: > > Found this in my JK2 logs (Windows events): > > > > Emerg: [jk_isapi_plugin.c (426)]: HttpFilterProc > > [/cc200x/meta-inf/services/javax.xml.parsers.documentbuilderfactory] > > points to the web-inf or meta-inf directory. > > Somebody try to hack into the site!!! > > > > Wh

RE: What does this mean?

2003-10-03 Thread Jon Skeet
> Found this in my JK2 logs (Windows events): > > Emerg: [jk_isapi_plugin.c (426)]: HttpFilterProc > [/cc200x/meta-inf/services/javax.xml.parsers.documentbuilderfactory] > points to the web-inf or meta-inf directory. > Somebody try to hack into the site!!! > > What does this mean? I believe it

What does this mean?

2003-10-03 Thread Marcel Stor
Hi Found this in my JK2 logs (Windows events): Emerg: [jk_isapi_plugin.c (426)]: HttpFilterProc [/cc200x/meta-inf/services/javax.xml.parsers.documentbuilderfactory] points to the web-inf or meta-inf directory. Somebody try to hack into the site!!! What does this mean? Marcel ---

Re: Newbie Question: Tomcat 3.2.3 + JDK1.3.1_09 + Win2K

2003-10-03 Thread Graham Reeds
"Bill Barker" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I haven't used 3.2.x in a very very long time. My first guess would be to > check the batch files. From the error you are getting, it may just not be > quoting the initial Java command. They are both in quotes - I forgot

  1   2   >