Re: Require a secure connection

2003-01-17 Thread shawn
According to http://java.sun.com/j2ee/1.4/docs/tutorial/doc/Security5.html another way would be to specify it in web.xml. ... If you specify CONFIDENTIAL or INTEGRAL as a security constraint, that type of security constraint applies to all requests that match the URL patterns in the Web

Difficulties with Virtual Host in the Apache + Tomcat

2003-01-17 Thread Sebastião Carlos Santos
There are some days installed a servant web with Apache 1.3.27 and Tomcat 4.1.18 under Suse Linux Professional 7.2, however I am facing problems in the configuration and integration of the virtual hosts of the Apache for the tomcat. In the end of this e-mail it is some fragments of the

RE: Tomcat 4.0.x JDBC connection pooling

2003-01-17 Thread Roberts, Eric
Yes - We used 4.1.12 and have just migrated to 4.1.18 on a mission critical 24 x 7 app and we have had no problems - once we got it working in the first place!! -Original Message- From: Luca Cremonini [mailto:[EMAIL PROTECTED]] Sent: Donnerstag, 16. Jänner 2003 18:00 To: Tomcat Users

Tomcat 4.1.18 and symbolic links

2003-01-17 Thread guykaisin
Hi, I am currently using TC 4.1.18. But I'd like to use symlink inside my webapp. I works with TC 4.0.3, but no more with the last version 4.1.18. Why? For exemple, I have the webapp 'test', which contains a subdirectory docs. This docs directory contains a symlink to /usr/webapps/pdf. So my

WebAppClassLoader / ProxyDirContext.java Problem - Upgrade from Tomcat 4.1.12 to 4.1.17

2003-01-17 Thread Matt Small
A few weeks back I noticed this problem when I upgraded from 4.1.12 to 4.1.17. I wanted to track it down a little bit before reporting it, and now I think I know where the problem is. I have isolated the problem to changes made between CVS versions 1.12 and 1.14 of

Re: Require a secure connection

2003-01-17 Thread Jon Eaves
Hi Neal, security-constraint display-nameWeb Booking/display-name web-resource-collection web-resource-nameWeb Booking /web-resource-name url-pattern/web/*/url-pattern http-methodGET/http-method http-methodPOST/http-method

Re: org.apache.naming.factory.BeanFactory bugs (and fixes)

2003-01-17 Thread Craig R. McClanahan
On Thu, 16 Jan 2003, Hansen, Richard wrote: Date: Thu, 16 Jan 2003 08:34:37 -0600 From: Hansen, Richard [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List (E-mail) [EMAIL PROTECTED] Subject: org.apache.naming.factory.BeanFactory bugs (and fixes) In

Re: Jasper vs Jasper2

2003-01-17 Thread Craig R. McClanahan
On Thu, 16 Jan 2003, Will Hartung wrote: Date: Thu, 16 Jan 2003 09:11:05 -0800 From: Will Hartung [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: Jasper vs Jasper2 Hi all, Just for clarity, if you will. I hear

Re: vulnerabilites in 3.2.3

2003-01-17 Thread Craig R. McClanahan
On Thu, 16 Jan 2003, Anil Garg wrote: I am looking if tomacat 3.2.3 has any known vulnerablites? Can someone tell me what are those or tell me some hyper link which tells this. There is a 3.2.4 release available (http://jakarta.apache.org/builds/jakarta-tomcat/release/v3.2.4/bin/), and

Log Error

2003-01-17 Thread Collins, Jim
Hi, I am using Tomcat4.1.10 and JDK1.4.0 and I have started to get the following error message after which Tomcat crashes. org.apache.commons.logging.LogConfigurationException: org.apache.commons.logging.LogConfigurationException: org.apache.commons.logging.LogConfigurationException: Class

What about the Context tag?

2003-01-17 Thread Steve R Burrus
Hello there, newbie finds himself in some need of help with using the Context tag!! I happen to have a server-side Java programming book that tells the reader to edit this tag in the server.xml file with the specific context path for the servlet to be seen in the browser, HOWEVER I have noticed

Re: Require a secure connection

2003-01-17 Thread Tim Funk
This should be it ... http://marc.theaimsgroup.com/?l=tomcat-userm=99616711404780w=2 -Tim neal wrote: Does anyone know how to *require* that a page be accessed only via a secure connection? For instance, I *can* request a secure connection to a page by going to https://; and the url ... but

RE: Log Error

2003-01-17 Thread Collins, Jim
I have upgraded the JDK to 1.4.1 and it is still happening. -Original Message- From: Collins, Jim Sent: 17 January 2003 10:04 To: 'Tomcat Users List' Subject: Log Error Hi, I am using Tomcat4.1.10 and JDK1.4.0 and I have started to get the following error message after

Re: Require a secure connection

2003-01-17 Thread mwm
There's also a transport-guarantee element for web.xml that's supposed to be handy for doing this declaratively. Mike. - Original Message - From: Andy Eastham [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Thursday, January 16, 2003 10:29 PM Subject: RE: Require a secure

Mod_jk apache

2003-01-17 Thread Leong Hong Wai
Hi, I just upgraded my connector from webapp to jk since almost everyone is telling that webapp will die soon. But after I installed all the components for mod_jk, my apache seems not talking to tomcat anymore. Every time I browse to a jsp page, it will said 404 error , and I also found that

RE: Cannot run JSPs with Tomcat 4.0.6

2003-01-17 Thread Denise Mangano
Check in the lib directory... is there a jar file jasper-runtime.jar? If so, try putting this in your classpath as well as the jasper-compiler.jar file. HTH Denise -Original Message- From: Al Cam To: [EMAIL PROTECTED] Sent: 1/16/2003 10:33 AM Subject: RE: Cannot run JSPs with Tomcat

RE: Servlet channing

2003-01-17 Thread Noel J. Bergman
Raynir, You might want to look at the Cocoon pipeline, based upon what you just described. ref: http://xml.apache.org/cocoon --- Noel -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

RE: Jk2 application questions

2003-01-17 Thread Robert L Sowders
sorry, Kemp Randy-W18971 [EMAIL PROTECTED] 01/16/2003 05:52 AM Please respond to Tomcat Users List To: Tomcat Users List [EMAIL PROTECTED] cc: Subject:RE: Jk2 application questions Do you mean in the Tomcat docs (concerning the Redhat configuration)?

RE: Servlet channing

2003-01-17 Thread Noel J. Bergman
There is even some talk of switching struts over from a servlet to a filter in a later release. Intersting ... that could be very interesting ... --- Noel -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Tomcat 4.1.18

2003-01-17 Thread Daniel Bruce Lynes
I'm currently having a small problem with Tomcat 4.1.18, which didn't exist in Tomcat 4.0.4. The problem can be illustrated with a one liner JSP: %@ page contentType=text/html % This one line spits out an HTTP header of Content-Type: text/html on Tomcat 4.0.4 However, under 4.1.18, the

Re: Good directions here...

2003-01-17 Thread Robert L Sowders
ESRI never has stayed very up to date. That's what I get for buying into their ArcIMS schemes. Robert Keddie [EMAIL PROTECTED] 01/16/2003 07:26 AM Please respond to Tomcat Users List To: [EMAIL PROTECTED] cc: Subject:Good directions here...

RE: new web application - inconsistent resource not found

2003-01-17 Thread steven melendez
Thank you very much for your suggestions and help. I created a simple test servlet and added: servlet-mapping servlet-nameinvoker/servlet-name url-pattern/servlet/*/url-pattern /servlet-mapping to the web.xml and was able to call the servlet with

Re: mod_jk apache2 tomcat4.1.8

2003-01-17 Thread Robert L Sowders
Sounds like a problem with DNS. How long does it take to da a nslookup from the server? rls Bill [EMAIL PROTECTED] 01/16/2003 03:01 AM Please respond to Tomcat Users List To: Tomcat Users List [EMAIL PROTECTED] cc: Subject:Re: mod_jk apache2

RE: error starting tomcat

2003-01-17 Thread [EMAIL PROTECTED]
Have you an XML error in your web.xml ? a Tag chistophe CLN Hi, I just installed Tomcat 4.1.18 on my Window 2000. When I start to run the Tomcat, I got the following error: Jan 16, 2003 5:13:09 PM org.apache.commons.digester.Digester error SEVERE: Parse Error at line 233

Stream closed

2003-01-17 Thread Reynir Hübner
I'm getting these kind of error messages : java.io.IOException: Stream closed at org.apache.jasper.runtime.BodyContentImpl.ensureOpen(BodyContentImpl.java:95) at org.apache.jasper.runtime.BodyContentImpl.write(BodyContentImpl.java:182) at

RE: Help With Tomcat Database Connection Configuration

2003-01-17 Thread Roberts, Eric
Hi, Your server.xml looks fine. If you specify the resource in server.xml there is no need to put it in web.xml (in fact this will more than likely cause problems). You should reference the datasource in your app as follows: ctx = new InitialContext(); Context envCtx = (Context)

RE: error starting tomcat

2003-01-17 Thread Turner, John
What file did you edit when you did the install? If you didn't edit any files, one of your files is probably corrupt: SEVERE: Parse Error at line 233 column 45: Element type TR must be declared. SEVERE: Parse Error at line 234 column 16: Probably server.xml or web.xml has a syntax error in it.

RE: Tomcat 4.1.18 and symbolic links

2003-01-17 Thread Turner, John
Check the release notes. Symlinks are disabled by default in 4.1.12 and up for security reasons. You will need to specify a Resource in server.xml that calls FileDirContext with allowLinking set to true: Resources className=org.apache.naming.resources.FileDirContext

trouble with bean returning boolean

2003-01-17 Thread Petter Karlström
Hello all, I have trouble getting a very simple bean (o'reilly book example) to return boolean values. I call it with: c: choose c:when test=${foo.valid} ... and the validation code in the bean looks like: public boolean isValid(){ return true; } This generates the following error

RE: Difficulties with Virtual Host in the Apache + Tomcat

2003-01-17 Thread Turner, John
Try JkMount /*.jsp ajp13 instead of JkMount /web/ged/*.jsp ajp13 for www.ged.ufu.br. Also, you can 4 (or more) virtual hosts in Tomcat, just setup four Host elements, each with the appropriate name and/or alias. John -Original Message- From: Sebastião Carlos Santos

RE: org.apache.naming.factory.BeanFactory bugs (and fixes)

2003-01-17 Thread Hansen, Richard
Will do. Rick, Thanks for doing the investigation and patches for these problems! Could you do me a favor, and post this as a bug report: http://nagoya.apache.org/bugzilla/ and add the patches as attachments? That way, it will stay in front of the developers until it is dealt

Re: Difficulties with Virtual Host in the Apache + Tomcat

2003-01-17 Thread Lajos Moczar
Sebastiao - A couple of points: - you only need the same four hosts configured in Tomcat is you want to have different docBase's or different explicitly defined contexts (or other components) - I would certainly try to make index.jsp produce valid HTML for your tests. You also might want to

SSL problem

2003-01-17 Thread Michael Lee
Hi All, I tried to create a keystore using the instructions for Tomcat in a UNIX environment: keytool -genkey -alias tomcat -keyalg RSA I changed the password from changeit. I updated the SSL connector in server.xml adding: keystorePass=mynewpassword After restarting the server catalina.out

Repost: Stream closed

2003-01-17 Thread Reynir Hübner
For somereason the first time I sent this email it did not seem to get into the mailinglist. I'm getting these kind of error messages : java.io.IOException: Stream closed at org.apache.jasper.runtime.BodyContentImpl.ensureOpen(BodyContentImpl.java:95) at

RE: Tool for HTTP Request Stress Test

2003-01-17 Thread Reynir Hübner
Jmeter is one from jakarta, (jakarta.apache.org/jmeter) Microsoft has a WebApplication stresstool that is quite good too (one of the best apps I've seen from M$). Hope it helps -reynir -Original Message- From: randie ursal [mailto:[EMAIL PROTECTED]] Sent: 17. janúar 2003 02:37

RE: Problem with JSTL on W2k

2003-01-17 Thread Wendy Smoak
Holger wrote: For this issue tomcat needs a temporary folder. This seems to be c:\winnt in the case of a service. The temp dir is defined by the java property java.io.tmpdir. Holger, here's post that might be of use: On January 15, 2003, Jake wrote: Use what the servlet spec provides for

Re: Tool for HTTP Request Stress Test

2003-01-17 Thread Phil Steitz
randie ursal wrote: Hi, can anyone suggest an HTTP Stress Test tool. coz i wanna stress test my web application which is deployed on Tomcat. thanks. Try jmeter -- http://jakarta.apache.org/jmeter/index.html and look at http://jakarta.apache.org/jmeter/usermanual/boss.html for

Newbie cookie question

2003-01-17 Thread joel . dewitt
All, Is there any way to code a cookie so that all the webapps on the same Tomcat server can receive it? I also need it to disappear when the browser is shut. Thanks, Joel This communication is for informational purposes only. It is not intended as an offer or solicitation for the purchase

[ot] Re: Tool for HTTP Request Stress Test

2003-01-17 Thread Tim Funk
3 free ways ... Apache ab (http://httpd.apache.org/docs/programs/ab.html) Jakarta JMeter (http://jakarta.apache.org/jmeter/index.html) Seige (http://www.joedog.org/siege/index.shtml) -Tim randie ursal wrote: Hi, can anyone suggest an HTTP Stress Test tool. coz i wanna stress test my web

RE: What about the Context tag?

2003-01-17 Thread Shapira, Yoav
Howdy, As always, there's no right or wrong. There are multiple options depending on what you're trying to do. Unless you want some non-default context property that must be put in server.xml, don't touch server.xml. I like the KISS (Keep It Simple..) principle, so this usually works for me.

RE: Tool for HTTP Request Stress Test

2003-01-17 Thread Shapira, Yoav
Howdy, Search the list archives. Yoav Shapira Millennium ChemInformatics -Original Message- From: randie ursal [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 16, 2003 9:37 PM To: A mailing list about TOMCAT; A mailing list for discussion about Sun Microsystem's Java Servlet API

RE: Stream closed

2003-01-17 Thread Shapira, Yoav
Howdy, Whoa, very strange. Can you reproduce this reliably? Does it happen when the user clicks on a web page (a JSP it appears) and closes the browser before the JSP is done outputting? Yoav Shapira Millennium ChemInformatics -Original Message- From: Reynir Hübner [mailto:[EMAIL

RE: Tomcat 4.1.18

2003-01-17 Thread Shapira, Yoav
Howdy, Perhaps this will shed some light. See Issue 1 at http://www.jcp.org/aboutJava/communityprocess/maintenance/jsr053/errata_ 1_2_a_20020321.html Yoav Shapira Millennium ChemInformatics -Original Message- From: Daniel Bruce Lynes [mailto:[EMAIL PROTECTED]] Sent: Thursday, January

RE: Tomcat 4.1.18 and symbolic links

2003-01-17 Thread Nick Sharples
Turner, John writes: Check the release notes. Symlinks are disabled by default in 4.1.12 and up for security reasons. You will need to specify a Resource in server.xml that calls FileDirContext with allowLinking set to true: Resources

RE: Mod_jk apache

2003-01-17 Thread Turner, John
Where's httpd.conf? workers.properties? What JkMount statements are you using? My HOWTOs may help: http://www.johnturner.com/howto John -Original Message- From: Leong Hong Wai [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 16, 2003 10:46 PM To: [EMAIL PROTECTED] Subject:

RE: Tool for HTTP Request Stress Test

2003-01-17 Thread John Roth
I have successfully used JMeter (http://jakarta.apache.org/jmeter/index.html). It takes a little while to get a test plan set up, but works pretty well. A couple of suggestions: 1. Run it from a machine with 'lots' of horsepower (memory, processor, bandwidth) as it does tend to drag the

RE: Tool for HTTP Request Stress Test

2003-01-17 Thread Turner, John
http://grinder.sourceforge.net http://jakarta.apache.org/jmeter/index.html John -Original Message- From: randie ursal [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 16, 2003 9:37 PM To: A mailing list about TOMCAT; A mailing list for discussion about Sun Microsystem's Java

RE: Log Error

2003-01-17 Thread Collins, Jim
A quick update. I have now copied the log4J jar file to commons/lib and restarted the server so that is now uses log4J instead of the JDK1.4 logger. After a couple of hours I got this error: org.apache.commons.logging.LogConfigurationException:

RE: trouble with bean returning boolean

2003-01-17 Thread PELOQUIN,JEFFREY (HP-Boise,ex1)
Why not use foo.isValid() or is the format foo.valid something special with respect to taglibs? -Original Message- From: Petter Karlström [mailto:[EMAIL PROTECTED]] Sent: Friday, January 17, 2003 7:30 AM To: [EMAIL PROTECTED] Subject: trouble with bean returning boolean Hello all, I

Problem with Tomcat Manager

2003-01-17 Thread Jean-Philippe LEBOEUF
Hello everybody, When I use the manager GUI for installing a context, it does not work, maybe cos of the encoding of the URL, but when I do it manually (writing directly the URL), following the guidelines of the manual, it works. if the problem is coming from symbols like ':' or '/'

RE: Tool for HTTP Request Stress Test

2003-01-17 Thread Ralph Einfeldt
The last time we tried it in mid 2001, we had some obscure results. Sometimes it looked like results from a previous run where added to the current run. (At least most of the problems went away, when we removed the results from the previous run before starting a new run) -Original

Sevlets not seen

2003-01-17 Thread eric
Greetings! This has got to be so easy I'm missing something. :-(( I just installed the latest releases of Apache and Tomcat. All of the examples in Tomcat work great. I copied the HelloWorldExample to /webapps/apress/WEB-INF/classes/ I put this in the server.xml file: Host

Re: Sevlets not seen

2003-01-17 Thread Lajos Moczar
Servlet mappings are missing. You need something like: servlet-mapping servlet-namelogin/servlet-name url-pattern/login/url-pattern /servlet-mapping servlet-mapping servlet-nameHelloWorldServlet/servlet-name url-pattern/HelloWorldServlet/url-pattern /servlet-mapping

RE: Difficulties with Virtual Host in the Apache + Tomcat

2003-01-17 Thread Sebastião Carlos Santos
John, I accomplished the change suggested by you in httpd.conf and however when I open http://www.ged.ufu.br receive the following error message: HTTP Status 500 - No Context configured to process this request

Re: Difficulties with Virtual Host in the Apache + Tomcat

2003-01-17 Thread Lajos Moczar
That's 'cause your Host docBase is set to /web/ged while your Context docBase is set do ged. So Tomcat is looking for your app at /web/ged/ged. Try setting the Host docBase to /web. Lajos Sebastião Carlos Santos wrote: John, I accomplished the change suggested by you in httpd.conf and

Re: What about the Context tag?

2003-01-17 Thread Jacob Kjome
Hello Steve, It is fine to edit server.xml, but it might be easier to use a Context Configuration File. See the current webapps directory in any recent Tomcat release such as 4.1.8. Notice the admin.xml and manager.xml files? Just make a [myapp].xml file and add your Context ... tag with all

RE: Difficulties with Virtual Host in the Apache + Tomcat

2003-01-17 Thread Turner, John
The Context path is going to be wrong, too. Shouldn't it be empty? John -Original Message- From: Lajos Moczar [mailto:[EMAIL PROTECTED]] Sent: Friday, January 17, 2003 11:21 AM To: Tomcat Users List Subject: Re: Difficulties with Virtual Host in the Apache + Tomcat That's

Any Tomcat OS390 USS Installations?

2003-01-17 Thread Larry D. Jones
Has anyone out there successfully installed Tomcat on IBM OS390 Unix System Services?

ConnectionPool with Oracle - connection timeout

2003-01-17 Thread Raible, Matt
I am using Tomcat's JDBCRealm as well as a DBCP Connection pool. I am connecting to Oracle 9, and everything works fine - for about 24 hours. I've experienced this with MySQL and adding autoReconnect=true to the connectionURL fixed the problem. However, adding this to Oracle's connectionURL

Re: Newbie cookie question

2003-01-17 Thread Jacob Kjome
Hello joel, Look into how the cookie path is set. I think, by default, it is set to the current context of your app, not the whole server. You will need to override this behavior. See the servlet api for details. As far as the cookie disappearing upon browser close, this should happen unless

Re: Difficulties with Virtual Host in the Apache + Tomcat

2003-01-17 Thread Lajos Moczar
Oh, well if his JkMount is /*.jsp like you suggested, then yeah, his Context path should be . But if he leaves it at /web/ged/*.jsp, then it is ok. However, the docBase will still get him, I think. Lajos Turner, John wrote: The Context path is going to be wrong, too. Shouldn't it be empty?

RE: ConnectionPool with Oracle - connection timeout

2003-01-17 Thread Filip Hanik
jdbc:oracle:thin:username/password@host:1521:sid is an invalid URL. password doesn't belong in the url at least I don't think so :) Filip ~ Namaste - I bow to the divine in you ~ Filip Hanik Software Architect www.filip.net -Original Message- From: Raible, Matt [mailto:[EMAIL

Unable to connect to Sybase 11.9.2 server -Help please

2003-01-17 Thread Krishna_R . _Nagaraj
Hello Everyone, I am trying to connect to sybase 11.9.2 database server. Has anyone encountered this error. Your help on this will be greatly appreciated. I have created a datasource in Tomcat 4.1.18. I have the jconn2.jar file in webapps/ROOT/WEB_INF/classes/jconn2.jar I have the jconn2.jar

RE: ConnectionPool with Oracle - connection timeout

2003-01-17 Thread Raible, Matt
This works though! ;-) I got this syntax off this list for configuring an Oracle JDBCRealm. -Original Message- From: Filip Hanik [mailto:[EMAIL PROTECTED]] Sent: Friday, January 17, 2003 9:42 AM To: Tomcat Users List Subject: RE: ConnectionPool with Oracle - connection timeout

Re: Sevlets not seen

2003-01-17 Thread eric
Lajos, Thank you, thank you, thank you. I should have asked 4 hours ago. :-)) I have three books, followed them to the 'T' and no mention of this. I guess it's hard to stay up-to-date when the Tomcat is changing so fast! :-)) Thanks for the quick reply. On Friday 17 January 2003 17:14,

System.out logs

2003-01-17 Thread Vijay Kandy
Hello All, Tomcat 4 logs all System.out or System.err messages to Catalina.out by default. How would I do this in a Tomcat 3.2.3 environment. As of now, it prints on to the window Tomcat was started. I would like to save the messages on a file. Please help. Sincerely, Vijay -- To

Object accessible to all servlets in the container.

2003-01-17 Thread Robert Priest
Hello all, I was wondering how\where in Tomcat could I create an Objectthat gets loaded when the Tomcat Server startsup and is alive and accessible to all Servlets that are running. It could contain information about the server that a servlet may be interested in knowing, or could do things like

Re: Classes not being found in app's WEB-INF directory.

2003-01-17 Thread Erik Price
Lior Shliechkorn wrote: I had a bunch of problems with that until I packaged the classes and then it had no problem finding the class files. Give that a try. I too made the mistake of putting all of my classes directly under WEB-INF/classes. Now I would like to put them into a proper

RE: Object accessible to all servlets in the container.

2003-01-17 Thread Shapira, Yoav
Howdy, 1. Read up on the ServletContext object and ServletContextListener implementations. This information is in the Servlet specification, v2.3. 2. Read up on the Singleton design pattern. Do a google search for this and you'll find lots of information. You could have a LicenseManager

RE: Classes not being found in app's WEB-INF directory.

2003-01-17 Thread Raible, Matt
Use Ant to build everything - and tell it where you want your compiled classes to end up. -Original Message- From: Erik Price [mailto:[EMAIL PROTECTED]] Sent: Friday, January 17, 2003 10:07 AM To: Tomcat Users List Subject: Re: Classes not being found in app's WEB-INF directory. Lior

Re: System.out logs

2003-01-17 Thread Lajos Moczar
On Unix, startup.sh tomcat.out 21. Windows something similar, I'm sure. Lajos Vijay Kandy wrote: Hello All, Tomcat 4 logs all System.out or System.err messages to Catalina.out by default. How would I do this in a Tomcat 3.2.3 environment. As of now, it prints on to the window Tomcat was

Re: System.out logs

2003-01-17 Thread Dan Lipofsky
Hello All, Tomcat 4 logs all System.out or System.err messages to Catalina.out by default. How would I do this in a Tomcat 3.2.3 environment. As of now, it prints on to the window Tomcat was started. I would like to save the messages on a file. Please help. Sincerely, Vijay You don't

Re: Tomcat 4.1.18

2003-01-17 Thread Daniel Bruce Lynes
On Friday 17 January 2003 07:03, Shapira, Yoav wrote: Howdy, Perhaps this will shed some light. See Issue 1 at http://www.jcp.org/aboutJava/communityprocess/maintenance/jsr053/errata_ 1_2_a_20020321.html Yoav Shapira Millennium ChemInformatics Thanks, Yoav. I will try this out today,

Re: Newbie cookie question

2003-01-17 Thread joel . dewitt
The problem is that it works perfectly on WebSphere 4.x, but not Tomcat ** for the other webapps**. The worst case would be a bug in WebSphere, the production server, that gets fixed someday. This looks right, but am I missing something?--- Cookie aCookie = new Cookie( MY_COOKIE_KEY,

Re: multiple war applications - single sign on

2003-01-17 Thread Craig R. McClanahan
On Thu, 16 Jan 2003, hans albers wrote: Date: Thu, 16 Jan 2003 14:40:45 + From: hans albers [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: [EMAIL PROTECTED], [EMAIL PROTECTED] Subject: multiple war applications - single sign on Hi there, I have 2

Re: Jasper vs Jasper2

2003-01-17 Thread Peter Lin
I'll chime in on this, since I've done quite a bit of benchmarking and testing with jasper jasper2. Kin-man, jan, remy and everyone else have made great strides in improving jasper2 performance. jasper1 had serious problems with tags, because it generated deeply nested try/catch blocks. That

Re: Sevlets not seen

2003-01-17 Thread Jacob Kjome
Hello eric, You are attempting to use the invoker servlet of which the servlet-mapping is commented out, by default, in Tomcat's conf/web.xml. Uncomment that and it will work. Jake Friday, January 17, 2003, 10:25:41 AM, you wrote: e Greetings! e This has got to be so easy I'm missing

Re: Sevlets not seen

2003-01-17 Thread Ganesh.K.Rao
InvokerServlet is disabled by default in Tomcat 4.1.12 onwards for security reasons. So either you can uncomment the following lines from ${TOMCAT_HOME}/conf/web.xml or include these lines in ${TOMCAT_HOME}/webapps/your-context/WEB-INF/web.xml, servlet-mapping

Re: Classes not being found in app's WEB-INF directory.

2003-01-17 Thread Erik Price
Raible, Matt wrote: Use Ant to build everything - and tell it where you want your compiled classes to end up. That's a good idea. I am using Ant currently, but hadn't thought of doing this. The only problem is that I use NetBeans, which requires that the source code be stored in the

Re[2]: Newbie cookie question

2003-01-17 Thread Jacob Kjome
Hello joel, hmmm I assume the problem with the cookie not disappearing upon browser shutdown is solved, but the issue with seeing this cookie across all webapps on the same server is not solved, right? Now that I think about it, I wonder if the path of / in servlets is relative to the

jk connection timeout reached

2003-01-17 Thread Nick Wesselman
I'm seeing a lot of messages like this in my catalina.out with TC 4.1.18. Jan 16, 2003 3:20:40 PM org.apache.jk.common.ChannelSocket processConnection INFO: connection timeout reached Jan 16, 2003 3:20:40 PM org.apache.jk.common.ChannelSocket processConnection INFO: connection timeout reached

Tomcat 4.1.18, JK2, IIS - Second try

2003-01-17 Thread Dan Tran
Hi, I have my tomcat running W2K professional using NT service. I follow JK2 doc and other recommendations on this archive (word by word) to configure connector. So far no luck. The isapi_redirector2.dll load up in IIS management console looks good, but the NT EventViews shows the

RE: tomcat configuration with apache 1.3.27 ssl

2003-01-17 Thread Dan Finkelstein
I am trying to do the same thing -- getting SSL to work to Tomcat 4.06 from Apache 1.3 w/OpenSsl and mod_jk ajp13 1.2. I think I'm missing the missing 1-2-3 steps ... or approach. I have everything working except for the ssl communication to Tomcat. * What changes are needed to

Re: Sevlets not seen

2003-01-17 Thread eric
Ganesh, Thanks! I guess that explains the differences from the books. I wonder what's next :-)) Thanks again. On Friday 17 January 2003 17:23, [EMAIL PROTECTED] wrote: InvokerServlet is disabled by default in Tomcat 4.1.12 onwards for security reasons. So either you can uncomment the

RE: Classes not being found in app's WEB-INF directory.

2003-01-17 Thread Tim Moore
-Original Message- From: Erik Price [mailto:[EMAIL PROTECTED]] Sent: Friday, January 17, 2003 1:07 PM To: Tomcat Users List Subject: Re: Classes not being found in app's WEB-INF directory. Raible, Matt wrote: Use Ant to build everything - and tell it where you want your

Re: Tomcat 4.1.18, JK2, IIS - Second try

2003-01-17 Thread Mark Eggers
Dan, In your workers2.properties file, do you have a section similar to the following? [shm] file=C:/Apache2/logs/shm.file size=1048576 /mde/ just my two cents . . . . __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now.

RE: System.out logs

2003-01-17 Thread Vijay Kandy
I am running Red Hat Linux. But is that an OS dependant property? I know we could pipe the output to a file but there should be something better. Like calling System.setout() or perhapsa Logger tag...?? Thank you, Vijay You don't say which OS you are running. On unix, the output is redirected

OT: Re: Classes not being found in app's WEB-INF directory.

2003-01-17 Thread Erik Price
Tim Moore wrote: Can Ant read the package declarations of the source files to determine where they should be placed, or will I have to hard code the paths into the Copy tasks? It wouldn't be hard to write a custom task to do that. Seems like it would be better to fix the source tree

RE: System.out logs

2003-01-17 Thread Shapira, Yoav
Howdy, I know we could pipe the output to a file but there should be something better. Like calling System.setout() or perhapsa Logger tag...?? Those things are available in tomcat 4.x. Upgrade to get them ;) For 3.x, you're stuck with OS-dependent, non-portable solutions to this requirement.

Help with VirtualHost and multiple webapps

2003-01-17 Thread Pascal Robert
Hi list, I'm trying to deploy multiple webapps inside one virtual host with the WARP connector (mod_webapp, Tomcat 4.06, Apache 1.3.27, OS X 10.2.3 Server). I have one directory (outside Tomcat's tree) with 3 apps: - ROOT - mobile - utilitaires The only app I can reach is ROOT, I get 404's

Parse error in application web.xml

2003-01-17 Thread Lott, Carey
Instead of depending on the invoker servlet, I have added our servlets to the web.xml file inside of the app's WEB-INF directory. However, now I am getting the following error when I try to start tomcat with the changed web.xml: 2003-01-17 13:07:51 ContextConfig[/esd] Parse error in application

RE: System.out logs

2003-01-17 Thread Vijay Kandy
Hmmm Guess I have to live with that for a while. Thanks for your replies all. Sincerely, Vijay Howdy, I know we could pipe the output to a file but there should be something better. Like calling System.setout() or perhapsa Logger tag...?? Those things are available in tomcat 4.x. Upgrade

RE: System.out logs

2003-01-17 Thread Tim Moore
-Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED]] Sent: Friday, January 17, 2003 1:30 PM To: Tomcat Users List Subject: RE: System.out logs Howdy, I know we could pipe the output to a file but there should be something better. Like calling System.setout()

Re: Parse error in application web.xml

2003-01-17 Thread Lajos Moczar
Carey - Put all servlet tags together and then all servlet-mapping tags together AFTER the servlet tags. Regards, Lajos Lott, Carey wrote: Instead of depending on the invoker servlet, I have added our servlets to the web.xml file inside of the app's WEB-INF directory. However, now I am

Only one tomcat process for Tomcat 3.3.1 using JDK 1.4.1 on RedHat 8

2003-01-17 Thread nikhil daxini
Hi, I have installed Tomcat 3.3.1, JDK 1.4.1 on RedHat 8 machine. When I start tomcat, I see only one Tomcat thread if I do ps -ef. Earlier I had been using tomcat 3.3.1 on Red Hat 7.3. With these configuration I use to see aroung 40 tomcat threads/processes on startup. I have exactly same

RE: Parse error in application web.xml

2003-01-17 Thread Shapira, Yoav
Hi, Instead of depending on the invoker servlet, I have added our servlets to Good. 2003-01-17 13:07:51 ContextConfig[/esd] Parse error in application web.xml org.xml.sax.SAXParseException: The content of element type web-app must match (icon?,display-name?,description?,distributable?,context-

RE: Re: Classes not being found in app's WEB-INF directory.

2003-01-17 Thread Tim Moore
-Original Message- From: Erik Price [mailto:[EMAIL PROTECTED]] Sent: Friday, January 17, 2003 1:29 PM To: Tomcat Users List Subject: OT: Re: Classes not being found in app's WEB-INF directory. Tim Moore wrote: Can Ant read the package declarations of the source files to

RE: Parse error in application web.xml

2003-01-17 Thread Lott, Carey
That was it. Thanks I placed welcome-file-list element at the bottom and then grouped all of the servlet elements together and underneath it all of the servlet-mapping elements. It finally started up with out an error. Thanks Again. If anybody is interested below is my corrected version.

RE: Tool for HTTP Request Stress Test

2003-01-17 Thread Lior Shliechkorn
What exactly does doing the HTTP Request Stress Test do? Thanks, Lior - Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now

Mod_JK - JkMount Invalid Command

2003-01-17 Thread neal
I'm trying to setup ModJK for the first time between Apache 2.0 and TOmcat 4.0.4, on Windows 2000. I am stuck with an error I was hoping someone might recognize: It tells me invliad JKMount command. Perhaps mispelled or defined by a module not included in the server configuration. I presume

  1   2   >