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: Sevlets not seen

2003-01-17 Thread Lajos Moczar
Servlet mappings are missing. You need something like: login /login HelloWorldServlet /HelloWorldServlet after your tags in web.xml Regards, Lajos eric wrote: Greetings! This has got to be so easy I'm missing something. :-(( I just installed the latest releas

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

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 Messa

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 '/' ("file:/"..

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 hav

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: org.apache.commons.logging.LogConfigurationException:

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 J

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 workstati

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: 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: > >allowLinking="true" docBase=

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

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

[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

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 o

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 reference

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 f

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

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 org.apache.jasper.runt

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

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 h

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

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

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: ... and the validation code in the bean looks like: public boolean isValid(){ return true; } This generates the following error message: org.apache.jasper.JasperExc

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: Search the archives for more info, this comes up frequently. John > -Original Me

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: 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) ctx.lo

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 org.apache.jasper.runtime.BodyCon

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

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 tom

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: invoker /servlet/* to the web.xml and was able to call the servlet with localhost:8080/directoryname/servlet/servletname I've been following a book which suggesting that I jus

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

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 fo

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: For additional commands, e-mail:

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 configurat

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: For additional commands, e-mail:

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 4

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 t

Re: Problem with JSTL on W2k

2003-01-17 Thread Holger Brozio
Hi, i have found the reason for my problems. The main exception, which is thrown has the following stacktrace: java.io.IOException: Access is denied at java.io.Win32FileSystem.createFileExclusively(Native Method) at java.io.File.checkAndCreate(File.java:1162) at java.io.File.createTempFile(Fil

Re: Require a secure connection

2003-01-17 Thread mwm
There's also a 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 connection

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

Tool for HTTP Request Stress Test

2003-01-17 Thread randie ursal
Hi, can anyone suggest an HTTP Stress Test tool. coz i wanna stress test my web application which is deployed on Tomcat. thanks. -- To unsubscribe, e-mail: For additional commands, e-mail:

Re: Require a secure connection

2003-01-17 Thread Tim Funk
This should be it ... http://marc.theaimsgroup.com/?l=tomcat-user&m=99616711404780&w=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

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

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 org.ap

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/), a

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

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 We

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 fi

Re: Require a secure connection

2003-01-17 Thread Jon Eaves
Hi Neal, Web Booking Web Booking /web/* GET POST CONFIDENTIAL Will do what you want. This will switch the transport to HTTPS. You can also check programatically using "r

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 org.apache.naming.resources.Prox

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 m

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 List

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 configuratio

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 resourc

<    1   2