Re: How To: JkSet, JkSet2 JkUriSet

2003-10-03 Thread Bill Barker
Doing the easy part only (mind you, I haven't tested this) JkSet server.root /usr/local/apache Jack Lauman [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Are there ary docs for JkSet, JkSet2 JkUriSet? Also is ther a way to override {$server.root} so the mod_jk2 can find it's

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

2003-10-03 Thread Bill Barker
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. Of course, it is useless to submit a bug-report, since the 3.2.x line is no longer maintained. Graham Reeds

Re: I need help explaining why lock box doesn't show up - PLEASE

2003-10-03 Thread Bill Barker
I'm going to assume that like any good webmaster these days, you have access to MSIE. Go to tools-Internet Options-Security-Custom Level. Under 'Miscellaneous' select the 'Disable' option for 'Display mixed content'. Click on enough Ok buttons to get to the main IE screen. Attempt to access

RE: Including a JSP into another.

2003-10-03 Thread AMELIN Franck
I use both in some JSP and it works fine. Here is a sample one : %@ taglib uri=/taglibs/generic.tld prefix=esope % %@ taglib uri=/taglibs/c.tld prefix=c % %@ taglib uri=/taglibs/fmt.tld prefix=fmt % jsp:include page=entetePage.jsp jsp:param name=titre value= / jsp:param

Re: DataSource and JNDI problem at Tomcat 4+Apache

2003-10-03 Thread Tuna Vardar
On Thu, 2003-10-02 at 01:12, Peter Harrison wrote: On Thu, 02 Oct 2003 01:01, Tuna Vardar wrote: What can be the cause for the exception I mentioned above? Any comments? Sounds very similar to the issue I had when trying to move to 4.1.27. When I moved from 4.0.4 to 4.1.27 the exact

Re: Datasource connections not released when reloading context

2003-10-03 Thread Adam Hardy
Sorry, but I didn't see which datasource you were using. With DBCP, you have these optional parameters: !-- abandoned dB connections are removed and recycled -- parameter nameremoveAbandoned/name valuetrue/value /parameter !-- set the number of seconds a dB connection has been idle

Re: JNDI+dbcp Can't find my jdbc driver

2003-10-03 Thread Adam Hardy
Josh, try jdbc:mysql://localhost:3306/docomatic On 10/03/2003 04:34 AM Josh G wrote: Filip Hanik wrote: put it in the same place as your DBCP jar files are Ok done that, now I'm getting a new error that I can't find an explanation of on google :( java.sql.SQLException: Cannot create JDBC

webapp/path

2003-10-03 Thread Roland Carlsson
Hi! In my struts-config.xml i have the following in an action: forward name=error path=/mywebapp/jsp/error.jsp/ Is there any way of telling struts to use the webapp-root instead of the server-root so that I don't have to tell the name of the web-app... a deployer might wanna deploy several

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 to

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: 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 means

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!!! What does this

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: 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

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:

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: Connector

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

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:

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,

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

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 that I

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: 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-devm=106485028613397w=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.5

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 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

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: 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, e-mail: [EMAIL

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: 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: 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

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 the

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 Subject:

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 be

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 c:out value=${myValue}/ and to disable: c:out value=${myValue} escapeXML=false/ Alas, I'm working on some crufty old servlets that are chock full of System.out.println( ... boatloads of HTML ...); We

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.

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:

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

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: 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

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 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 ? ( As

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]

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

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

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

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

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]

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

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 error-page error-code500/error-code location/errorpage.hmtl/location /error-page and none of them works. The page displayed is Tomcat's default error page. The error-page tag

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 error-page

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: 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.

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: 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: [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

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: Datasource connections not released when reloading context

2003-10-03 Thread Matt Raible
I tried changing the removeAbandonedTimeout to value1/value 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

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() called

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: 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: 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

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

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

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

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?!

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

Re: HTML quoting

2003-10-03 Thread Christopher Williams
It is obvious then that a space would be #032; or #x20; 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: input name=x size=20 maxlength=20

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!! Please

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: user username=CN=x, OU=y, O=z, L=a, S=b, C=c password= roles=user/ where x,y,z,etc.

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 applet 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

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)

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)

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

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 03,

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,

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

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 have

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 [EMAIL

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 ;)

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]

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

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,

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 2003

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

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

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

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

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

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: 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: 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[] aOld=

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.

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

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 error

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

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=..

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

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 Patrick Willart
Here are two fixes for the problem. http://forum.java.sun.com/thread.jsp?thread=330109forum=45message=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

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

  1   2   >