Re: OT: Is it ok to close connection in finalize() ?

2003-02-21 Thread Rosdi bin Kasim
Thanks guys for the input... yeah I understand that i can't predict when the gc will be run.. The reason I ask is that, I was (unfortunately) inherited with some badly designed code and I really dont have time to inspect it line by line to see whether each opened connection is closed or not..

HELP: how to run Tomcat 4.0.3 with Jrockit 8.0 ?

2003-02-21 Thread Zhidong Yu
Tomcat 4.0.3 can run under Jrockit 8.0, because MissingResourceException will be thrown at org.apache.catalina.util.StringManager's constructor: private StringManager(String packageName) { String bundleName = packageName + .LocalStrings; bundle =

RE: Is it ok to close connection in finalize() ?

2003-02-21 Thread Chris Catton
If you don't run close connection in finalize, can you be sure that the connection was closed if an exception is thrown? Chris Catton BioImage Database Development Manager Department of Zoology University of Oxford OX1 3PS   Tel: +44 (0) 1865 281993 email: [EMAIL PROTECTED] web site:

HTTP Status 503 - Servlet jsp is currently unavailable

2003-02-21 Thread A.Ezhil
hi, i found the following error when i use tomcat server: HTTP Status 503 - Servlet jsp is currently unavailable pls let me know the solution for this at earliest. thanks in advance ezhil.a

Re: HTTP Status 503 - Servlet jsp is currently unavailable

2003-02-21 Thread Jens Skripczynski
A.Ezhil: hi, i found the following error when i use tomcat server: HTTP Status 503 - Servlet jsp is currently unavailable pls let me know the solution for this at earliest. well. Just posting the error message, does not give me (i believe most of us) enough information, to help you with

4.1.18 Re-deployment

2003-02-21 Thread Tony Colson
I need help in figuring out why when I re-deploy an app with Tomcat 4.1.18 I get error 404 - Resource not available. The application works fine. Then when I recompile everything, put it in WEB-INF/classes, bundle it up into a war, and then try to use the application, I get the error. I compile

Re: HTTP Status 503 - Servlet jsp is currently unavailable

2003-02-21 Thread A.Ezhil
thanks i am using standalone.. in linux 8.0 tomcat 4.0 while i am trying to open my application jsp page,it displayed that error... ezhil.a - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Web browser authenticates to Tomcat Server using Client SSL authentication

2003-02-21 Thread Kwan Hon Luen
Hi , Have configured Tomcat to use SSL with client authentication set to true. Have imported client (which is the web browser IE) certificate to tomcat server keystore. But when I use IE to connect to Tomcat, it pops up a message box saying The Web site you want to view requests identification.

Re: apache web server and Tomcat

2003-02-21 Thread Cédric Viaud
Hi, to make Tomcat work with Apache is not really complicated, but need a certain amount of configuration. First install Apache and Tomcat (on the same computer or on two differents one). Then you'll need to install a connector. I actually use Apache 1.3.x with Tomcat 4.0.4 LE, and my connecter

Re: Re: Performance Issue

2003-02-21 Thread vikas yk
Hi peter Thanks for your reply. I didnt get what u meant by testing it with bean What I did was recorded the time before I executed the Proc recorded the time after I got result result set recorded the time after commenting all the logic I had in while(rs.next()){} loop. I need all 6000 rows

cgi program htsearch not working in tomcat

2003-02-21 Thread prem harish
hi, I am using htdig software in a linux system which has both apache and tomcat4.0.5. I have a cgi program htsearch located in my /usr/tomcat405/webapps/ROOT/cgi-bin. I have followed the instructions for configuring tomcat to run cgi ie. renaming $CATALINA_BASE/server/lib/servlets-cgi.renameto to

newbe question; use a class.

2003-02-21 Thread kwolff
Hi all, i am a strupid newbe. and have simple question. my asp have to use a class, but i do not know how ? I give you my test files: ASP: -- test.asp / in the root directory of tomcat: body test-page: hr % out.println(--br); test t = new test(); out.println(--br);

Servlet filter and listerner best practices

2003-02-21 Thread Etienne
Hi all, I am looking for some best practices for servlet filter (and servlet listener). These are quite new (servlet 2.3). I am using a servlet filter on some of my jsp page, but I would need a detail example of the best way to implement it. I am not sure how to catch exception in the servlet

/manager /admin Tomcat 4.1.18

2003-02-21 Thread Andoni
Are these different things? /manager and /admin I have Tomcat 4.0.4 working and I know it only has /manager but now after getting 4.1.18 working on my windows platform I can only get /admin working even though there is a manager subdirectory to the webapps directory. Andoni.

Re: /manager /admin Tomcat 4.1.18 - IGNORE THIS...

2003-02-21 Thread Andoni
A quick look at server.xml reveals that the Memory realm is not enabled by default (it is commented out) in favour of the JNDI Realm. Andoni. - Original Message - From: Andoni [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Friday, February 21, 2003 11:53 AM Subject:

Re: Tomcat and Apache

2003-02-21 Thread Andoni
Apache is better at doing some things than Tomcat. For instance one I know of is serving static pages. Apache does that much better. Also if you use apache you get the benefit of things such as URL Rewriting and you get better Virtual host support than with Tomcat acting alone. I am sure there

servlet/jsp/j2ee/pattern/ mailing list

2003-02-21 Thread Etienne
It there a newsgroup of a good mailing list for servlet/jsp/j2ee/pattern/? I have search for some of them, I didn't find anything. Thanks. Etienne. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

Re: servlet/jsp/j2ee/pattern/ mailing list

2003-02-21 Thread Andoni
Have you tried the newsgroups? http://groups.google.com is a good place to look for groups but if you want to post regularly you are better getting Outlook Express (or some other client) and an address of a proper news server. Then you have news://comp.lang.java to post to. Also, although you

Tomcat admin

2003-02-21 Thread Etienne
Hi, Last week, I have change the path of the tomcat admin from mysite/admin to mysite/admins, because I already had a custom administration section on mysite/admin/. Now I have tried to access the tomcat admin, but I have a security error. It seems that only admin/index.jsp can request the

Re: ant install task

2003-02-21 Thread Rasputin
* Rob Abernethy IV [EMAIL PROTECTED] [0252 21:52]: When I run 'ant install', I get the response OK - Installed application at context path /foo. When I list the apps using ant list, I see that my app is listed, but not started. When I try to access it via http://localhost:8080/foo;, I get

Re: parameter order

2003-02-21 Thread Mr. Cristian Romanescu
Actually, from my experience you should not rely on the order of the parameters...There is no rule on that. At 12:16 AM 2/21/2003 -0800, you wrote: StringBuffer sb = new StringBuffer(); Enumeration en = req.getParameterNames(); for (; en.hasMoreElements() ;) { String param = (String)

RE: ant install task

2003-02-21 Thread Collins, Jim
Check your logs. There will be message in there saying why the app could not be loaded (my apps fail to load if I have made a mistake in my web.xml file) Regards Jim. -Original Message- From: Rob Abernethy IV [mailto:[EMAIL PROTECTED]] Sent: 20 February 2003 08:52 To: tomcat-user

Re: Tomcat and Apache

2003-02-21 Thread Ian Hunter
Well said. One reason I front end with Apache is that I have to run other applications (IIS/ASP based, pppht!) and have several virtual hosts. Apache gives me the flexibility to handle literally anything thrown my way so far. I also feel like Apache is probably more secure to have exposed to the

RE: Tomcat and Apache

2003-02-21 Thread Turner, John
Agreed. It's probably OK, but I would rather keep Tomcat isolated from port 80, and I try to avoid running any services as root on port 80 if I can help it. In many cases, Tomcat alone is sufficient to serve whatever content there is to be served, but the additional flexibility and architecture

Re: Servlets and classpath problem

2003-02-21 Thread Ian Hunter
I've had similar problems and I could have sworn I saw someone give the advice that it's best to give each webapp it's own copy of the shared jars. I did that and the problems went away. I hate having duplicate files, but I guess if proper application segmentation is going on it's probably safer

Tomcat and Virtual Sites in IIS

2003-02-21 Thread Konrad Rusz
Hi. I have one question. I'm trying to configure Tomcat 4.1.12 to work with IIS 5.0. All of my settings work properly, but I can't configure IIS Virtual Sites to serve .jsp pages by means of Tomcat (I have configured site in IIS - this site name is sklep.zlp.pl, and I have configured virtual

where can i servlet api specification?

2003-02-21 Thread Xiongfei Wang
servlet api specification is not included in java2 platform specification, but where i can find it? Thanks - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: where can i servlet api specification?

2003-02-21 Thread Jake Robb
http://java.sun.com/products/servlet/2.2/javadoc/ - Original Message - From: Xiongfei Wang [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Friday, February 21, 2003 9:05 AM Subject: where can i servlet api specification? servlet api specification is not included in

Re: where can i servlet api specification?

2003-02-21 Thread Tim Funk
http://java.sun.com/products/servlet/download.html -Tim Xiongfei Wang wrote: servlet api specification is not included in java2 platform specification, but where i can find it? Thanks - To unsubscribe, e-mail: [EMAIL

RE: Excel sheets

2003-02-21 Thread Cox, Charlie
add the content type to /conf/web.xml for csv files. mime-mapping extensioncsv/extension mime-typeapplication/excel/mime-type /mime-mapping you will have to restart tomcat for this change. Charlie -Original Message- From: David Epstein [mailto:[EMAIL PROTECTED]] Sent:

[OFF-TOPIC] RE: Is it ok to close connection in finalize() ?

2003-02-21 Thread Shapira, Yoav
Howdy, This is a bit off topic. Then please mark it as such. See modified Subject for this message. I am using connection pooling, and in my code, I open all the connection I need in an object constructor. Then I will close this connection in finalize(), which (according to what I read) will

Re: Re: Performance Issue

2003-02-21 Thread Peter Lin
what I mean is this. write a simple bean to test how long it takes to get all 6K rows outside of Tomcat. ie, a bean you can run from your IDE or command line. Luckily, I already wrote one for the Tomcat performance book and included it in the zip file. All you would have to do is change the

[OFF-TOPIC] RE: Is it ok to close connection in finalize() ?

2003-02-21 Thread Shapira, Yoav
Howdy, You shouldn't put anything in your finalize() method, it's a bad practice because it can cause issues with the jvm's gc. I strongly disagree with the above statement. Finalize methods have their use -- that's why they're around. I agree with your specific answer to this guy's

Slightly Off Topic: Web Site Content

2003-02-21 Thread Kevin Andryc
Hello, I have been doing web programming for quite some time but what I have yet to figure out is the best way to handle web site content. For example, if I want to create a web sire with a vast number of pages, I would like to have it easily maintained such that if a link changes in my

Re: where can i servlet api specification?

2003-02-21 Thread Jake Robb
Obviouisly, if you want the spec for a different version, just change the 2.2. For instance: http://java.sun.com/products/servlet/2.3/javadoc/ - Original Message - From: Jake Robb [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Friday, February 21, 2003 9:15 AM Subject:

RE: Tomcat and Apache

2003-02-21 Thread pqin
This is the story I was told. In old days, Tomcat was a JSP/Servlet Container - interpreting JSP/Servlet pages faster than it did for static html. So people chose Apache to load HTML pages and redirected requests of JSP/Servlet to Tomcat. Now Tomcat claims to be as fast as Apache in terms of

RE: Connection Pooling

2003-02-21 Thread pqin
There are two options. 1. Tomcat JNDI: refer to Tomcat's JNDI datasource how-to 2. commons-dbcp + commons-pooling: refer to commons-dbcp and pooling API documentation Which one do you want to know? Regards, PQ This Guy Thinks He Knows Everything This Guy Thinks He Knows What He Is Doing

[OFF-TOPIC] RE: Is it ok to close connection in finalize() ?

2003-02-21 Thread Shapira, Yoav
Howdy, for you, you can call System.gc() to force it to garbage collect immediately. No. System.gc is a suggestion. The VM doesn't have to activate the collector upon this call. JDK 1.4 even includes a flag to explicitly ignore System.gc calls, so the server admin could use this flag

RE: parameter order

2003-02-21 Thread Shapira, Yoav
Howdy, No rule exists, your design shouldn't rely on parameter order. If it does, shuffle the enumeration into another structure, e.g. List, and sort it before processing parameters. Yoav Shapira Millennium ChemInformatics -Original Message- From: rf [mailto:[EMAIL PROTECTED]] Sent:

[offtopic]Are JK2 developers M$ people?

2003-02-21 Thread pqin
I built apache and jk2 for my linux box. I have to admit it is slightly difficult to build and config. I still have an error after I start apache [error] mod_jk child init 1 0 - I am not even running mod_jk but mod_jk2! Yesterday I installed apache and jk2 on w2k box. Few minutes, I was done.

Re: [OFF-TOPIC] RE: Is it ok to close connection in finalize() ?

2003-02-21 Thread Kris Schneider
Not sure I buy ...will result in much more efficient memory claiming At the least, implementing a finalizer extends the lifetime of an object. It's up to the VM to decide when that finalizer gets run, so the object might not become finalized (ready for deallocation) for a significant amount of

Re: setting up jndi jdbc tomcat and postgres

2003-02-21 Thread awc
Hi Chris, where does this validationQuery goes?? on every connect?? Thanks .anil Chris Catton wrote: The tomcat documentation on jndi and datasources http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jndi-datasource-examples -howto.html asks for feedback on setup with postgres. We finally

Re: Slightly Off Topic: Web Site Content

2003-02-21 Thread Andoni
What I do is that I make all my links point back to my servlet with something like serMyServlet?mode=about then I have the servlet process the mode parameter and find the about section. This then runs a method which returns a JSP to the browser. Architecture is always MVC, Classes doing

RE: [OFF-TOPIC] RE: Is it ok to close connection in finalize() ?

2003-02-21 Thread Shapira, Yoav
Howdy, Not sure I buy ...will result in much more efficient memory claiming Then benchmark it ;) You will see a difference. For a short-lived object, the benefits may be negligible as you say. My scenario is for a long lived cache type object. In a full implementation, an explicit clear

RE: Slightly Off Topic: Web Site Content

2003-02-21 Thread Zabel, Ian
You should take a look at the Jakarta Struts project. http://jakarta.apache.org/struts/ You define the urls for all your pages in config file and then struts handles making the links. Ian. -Original Message- From: Kevin Andryc [mailto:[EMAIL PROTECTED]] Sent: Friday, February 21, 2003

RE: Slightly Off Topic: Web Site Content

2003-02-21 Thread Collins, Jim
You should also look at cocoon. http://xml.apache.org/cocoon/ Regards Jim. -Original Message- From: Zabel, Ian [mailto:[EMAIL PROTECTED]] Sent: 21 February 2003 15:27 To: 'Tomcat Users List' Subject: RE: Slightly Off Topic: Web Site Content You should take a look at the

RE: Form based security and Remember Me

2003-02-21 Thread Raible, Matt
Here's how I've done it - First of all, I don't use j_security_check as my action, but rather auth/ which maps to a LoginServlet. That servlet does some other things, but here's the relevant code. The StringUtil.encodeString(password) method changes to cookie to be base64 encrypted. Not a very

RE: Slightly Off Topic: Web Site Content

2003-02-21 Thread Turner, John
Or even Forrest: http://xml.apache.org/forrest/index.html John -Original Message- From: Collins, Jim [mailto:[EMAIL PROTECTED]] Sent: Friday, February 21, 2003 10:32 AM To: 'Tomcat Users List' Subject: RE: Slightly Off Topic: Web Site Content You should also look at cocoon.

Tomcat 4.1.18-LE re-writes tomcat-users.xml file; why?

2003-02-21 Thread chrislott
Hi, I recently upgraded from tomcat 4.1.12-LE to 4.1.18-LE. I use the simple Memory Realm for user authentication. I have been maintaining the tomcat-users.xml file by hand, including comments etc. It appears that some portion of 4.1.18 reads and then rewrites the tomcat-users.xml file because

Re: 403 Forbidden - you don't have permission ... I'M STUCK!!

2003-02-21 Thread tomcat guy
Bill, thanks for looking over the files... I checked the directory and everyone is set for file permissions. If they were not set wouldn't http://localhost:8080/examples be blocked? It accesses the same folder D:/Apache/Tomcat4.1/webapps/examples as http://localhost/examples . Isn't that

Re: 403 Forbidden - you don't have permission ... any ideas?

2003-02-21 Thread tomcat guy
Could it possibly be with the connector? I'm thinking that could be a possibility since I can see the directory http://localhost:8080/examples but I get the 403 err with http://localhost/examples... Keep in mind http://localhost/examples/jsp gives no error, shows my jsp samples... -

Re-post: Tomcat 4.1.18 as Win2k/XP Service

2003-02-21 Thread Daniel Haynes
We have Tomcat and Oracle (both as services) running on a single box. Our application uses poolman and works fine when starting Tomcat on a manual basis, but on a re-boot Oracle is not ready by the time the application attempts to make its connections. The resulting error leaves Tomcat/application

RE: 403 Forbidden - you don't have permission ... I'M STUCK!!

2003-02-21 Thread Roberts, Eric
Sorry - didn't get your attachments - but think the problem is in httpd.conf Is your listen directive set? # # Listen: Allows you to bind Apache to specific IP addresses and/or # ports, in addition to the default. See also the VirtualHost # directive. # # Change this to Listen on specific IP

RE: [OFF-TOPIC] RE: Is it ok to close connection in finalize() ?

2003-02-21 Thread Kris Schneider
Quoting Shapira, Yoav [EMAIL PROTECTED]: Howdy, Not sure I buy ...will result in much more efficient memory claiming Then benchmark it ;) You will see a difference. Someone did, and you're right, there was a difference ;-):

RE: Tomcat 4.1.18-LE re-writes tomcat-users.xml file; why?

2003-02-21 Thread Shapira, Yoav
Howdy, I recently upgraded from tomcat 4.1.12-LE to 4.1.18-LE. I use the simple Memory Realm for user authentication. I have been maintaining the tomcat-users.xml file by hand, including comments etc. It appears that some portion of 4.1.18 reads and then rewrites the tomcat-users.xml That

RE: Re-post: Tomcat 4.1.18 as Win2k/XP Service

2003-02-21 Thread Turner, John
I'm no developer, but I think perhaps you want to take a look at a LifecycleListener. Something along the lines of when this Context starts, check to see if Oracle is up. Block until it is, when it is, continue to application initialization.

RE: [OFF-TOPIC] RE: Is it ok to close connection in finalize() ?

2003-02-21 Thread Shapira, Yoav
Howdy, http://java.sun.com/docs/books/performance/1st_edition/html/JPAppGC.fm. html #997455 That's a good link. Thanks for posting it. It also makes the point that In addition to lengthening object lifetimes, finalize methods can increase object size. For example, some JVMs, such as the

RE: 403 Forbidden - you don't have permission ... I'M STUCK!!

2003-02-21 Thread Roberts, Eric
1) Yes each VH can have a Directory directive (as far as I can remember :-)) 2) I have the Tomcat Welcome page as the default page on our installation - in mod_jk.conf I added the lines: JKMount / ajp13 JKMount /* ajp13 in addition to my normal webapp mounts. Apache now completely ignores it's

Re: RequestDispatcher and WEB-INF

2003-02-21 Thread Erik Price
rf wrote: It is strange that RequestDispatcher considers only jsp and html, why not other extns like jpg/gif or why not just any other resource - is this because of any security concern? I don't think it's security, but I looked at the Servlet spec (page 55) and couldn't find a specific

RE: Tomcat 4.1.18-LE re-writes tomcat-users.xml file; why?

2003-02-21 Thread Roberts, Eric
Yoav is correct - you can create users in the Admin webapp. ...and you could use the Fullname field for your comments. HTH -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED]] Sent: Freitag, 21. Februar 2003 16:56 To: Tomcat Users List Cc: [EMAIL PROTECTED] Subject: RE:

Tomcat 4.1.18 Internal Server Error

2003-02-21 Thread Mark Baumann
Hello! I get this error message and don#t know what the problem could be: snip java.security.AccessControlException: access denied (java.lang.RuntimePermission getClassLoader) at java.security.AccessControlContext.checkPermission(AccessControlContext.java:270) at

Mapping .jsp to controller servlet

2003-02-21 Thread Januski, Ken
Yesterday I noticed that an application that has been running successfully for about a year has a problem I've never noticed before. It's set up so that all access to web-app is through a login method that calls a login.jsp page from a controller servlet. So all requests to jsp pages get

RE: Tomcat 4.1.18 Internal Server Error

2003-02-21 Thread Shapira, Yoav
Howdy, Are you running tomcat with a security manager, and if so what does your policy file look like? Yoav Shapira Millennium ChemInformatics -Original Message- From: Mark Baumann [mailto:[EMAIL PROTECTED]] Sent: Friday, February 21, 2003 11:27 AM To: Tomcat Users List Subject: Tomcat

Re: Mapping .jsp to controller servlet

2003-02-21 Thread Erik Price
I may not be entirely clear on what you're saying, but if you're saying that no one should directly be able to request your JSPs and instead they should only access the contents of your site by requesting Servlet resources (which then forward to JSPs), perhaps it would be worth moving the JSPs

RE: Mapping .jsp to controller servlet

2003-02-21 Thread Januski, Ken
Erik, That's exactly what I want: no direct access but only through servlet. I'll try moving one to WEB-INF and see if that solves the problem. Ken -Original Message- From: Erik Price [mailto:[EMAIL PROTECTED]] Sent: Friday, February 21, 2003 11:32 AM To: Tomcat Users List Subject: Re:

RE: Mapping .jsp to controller servlet

2003-02-21 Thread Januski, Ken
Hmm. I got a 404 error after moving one jsp file to WEB-INF and trying to directly access it. That's not great but at least it prevents access. Worse though is that when I then try to go to page after having logged in I get a root cause: file not found error. So it looks to me like you can't move

RE: [OFF-TOPIC] RE: Is it ok to close connection in finalize() ?

2003-02-21 Thread Kris Schneider
Quoting Shapira, Yoav [EMAIL PROTECTED]: Howdy, http://java.sun.com/docs/books/performance/1st_edition/html/JPAppGC.fm. html #997455 That's a good link. Thanks for posting it. It also makes the point that In addition to lengthening object lifetimes, finalize methods can increase

RE: [OFF-TOPIC] RE: Is it ok to close connection in finalize() ?

2003-02-21 Thread Shapira, Yoav
Howdy, Ack! No, I'm not saying *if* they'll be run before deallocation is Ahh, I misinterpreted your earlier message. I agree with everything else you said. Yoav Shapira Millennium ChemInformatics This e-mail, including any attachments, is a confidential business communication, and may

Re: Mapping .jsp to controller servlet

2003-02-21 Thread Erik Price
Januski, Ken wrote: Hmm. I got a 404 error after moving one jsp file to WEB-INF and trying to directly access it. That's not great but at least it prevents access. Worse though is that when I then try to go to page after having logged in I get a root cause: file not found error. So it looks to

Re: startup issue (invalid CEN header)

2003-02-21 Thread Andre Jay Meissner
hi, did that, complete fresh binaries - same error. huh... any suggestions what I could try else? thanks so much in advance, *Jay looks like one of your libraries (prob in server/lib or common/lib) is corrupted. simply try to replace them with fresh binaries. Filip -Original

re: 403 Forbidden - you don't have permission ... I'M STUCK!!

2003-02-21 Thread tomcat guy
Oops, here are the files... How would you define the Directory in httpd.conf for the virtualhosts? Just add multiple Directory (s)? e.g. Directory /examples Options -Indexes /Directory Directory /webapps Options -Indexes /Directory The syntax appears to be ok after an apache.exe

RE: Performance Issue

2003-02-21 Thread Filip Hanik
Looks like either your network connection is super slow, or your oracle is not optimized at all. if it is oracle, go to amazon.com, buy yourself an oracle performance tuning book :) it is the fastest return on investment you will ever see. nothing to do with tomcat. Filip -Original

Re: Help! Anyone successfully install a purchased certificate?

2003-02-21 Thread Matt Fury
Richard, Thanks so much for your reply! I'm trying one last time with InstantSSL. We'll find out soon and I'll let everyone know whether you can go with InstantSSL or not! :-) -Matt --- Richard S. Huntrods [EMAIL PROTECTED] wrote: *** I am re-sending this email with the attachment 'kt.bat'

RE: Mapping .jsp to controller servlet

2003-02-21 Thread Januski, Ken
Erik, Thanks. Sorry I haven't been clearer. The servlet does use request.include. I just added a try/catch to it and noticed that it fails when trying to include the file that I've put in WEB-INF. The error is javax.servlet.ServletException: queries.jsp. I would like to get a few things clear

Re: Re: Performance Issue

2003-02-21 Thread Will Hartung
Another thing you can try is to time how long it takes to get the FIRST record, rather than the entire thing. Sometimes the actual result set is fully realized until after the first row is fetched. Once the result set is realized on Oracle, fetching should be pretty quick. Regards, Will Hartung

Re: Tomcat 4.1.18 Internal Server Error

2003-02-21 Thread Mark Baumann
Hello! On Fri, Feb 21, 2003 at 11:28:58AM -0500, Shapira, Yoav wrote: Howdy, Are you running tomcat with a security manager, and if so what does your policy file look like? Sorry but what's a secutrty manager? I am new to Tomcat, Java ... and I was happy to get Tomcat running. I solved the

RE: Re: Performance Issue

2003-02-21 Thread Mike Jackson
Something else to remember is the way that the JDBC driver in oracle works. You have to retrieve all the records that match your sql query. Oracle will do this whether you want it to or not. However that said, if the query is static (ie the where clause doesn't change except for the values

Re: Servlet filter and listerner best practices

2003-02-21 Thread Will Hartung
From: Etienne [EMAIL PROTECTED] Sent: Friday, February 21, 2003 3:47 AM Subject: Servlet filter and listerner best practices Hi all, I am looking for some best practices for servlet filter (and servlet listener). These are quite new (servlet 2.3). I am using a servlet filter on some of

apache tomcat (this old problem)

2003-02-21 Thread Dani
Hello. First of all: sorry for my terrible English. Second, I'm introducing myself: My name is Dani. Third thing (and the most important): my problem :-). Again this silly and old problem?, you may say, but I can't solve it. Help me please. I've installed red hat 7.2, apache 2.0.44 tomcat

RE: apache tomcat (this old problem)

2003-02-21 Thread Filip Hanik
look in your log files, find the errors and send them to us -Original Message- From: Dani [mailto:alchasira@xxx] Sent: Friday, February 21, 2003 10:02 AM To: tomcat-user@xx Subject: apache tomcat (this old problem) Hello. First of all: sorry for my terrible

RE: apache tomcat (this old problem)

2003-02-21 Thread Turner, John
That's the correct *.so file. If you post relevant portions of your configuration, that would help us help you faster. John -Original Message- From: Dani [mailto:alchasira@xxx] Sent: Friday, February 21, 2003 1:02 PM To: tomcat-user@xx Subject: apache

RE: apache tomcat (this old problem)

2003-02-21 Thread pqin
Not sure if mode_jk2-2.0.43.so works with apache 2.0.44. But workers2.properties and jk2.properties are quite simple. After I built tomcat-connector from source, I only did following changes 1. /usr/local/apache2/conf/workers2.properties # shared memory handling. [shm]

RE: redirectPort results in HTTP Status 500

2003-02-21 Thread John Trollinger
CONFIDENTIAL will only allow it to be transported via https. -Original Message- From: Bryan Field-Elliot [mailto:bryan_lists@xxx] Sent: Friday, February 21, 2003 1:02 PM To: Tomcat Users List Subject: redirectPort results in HTTP Status 500 I am (for the first time)

RE: redirectPort results in HTTP Status 500

2003-02-21 Thread Bryan Field-Elliot
On Fri, 2003-02-21 at 11:10, John Trollinger wrote: CONFIDENTIAL will only allow it to be transported via https. That's right. That's the effect I'm trying to achieve... When tomcat receives a request for /test.jsp on port 80, have it redirect to port 443 with https:. It's documented that

RE: apache tomcat (this old problem)

2003-02-21 Thread Filip Hanik
you can't have two connectors listen to the same port, in your case 8080 Filip -Original Message- From: Dani [mailto:alchasira@xxx] Sent: Friday, February 21, 2003 10:15 AM To: Tomcat Users List Subject: RE: apache tomcat (this old problem) - This is the apache error_log when

RE: apache tomcat (this old problem)

2003-02-21 Thread pqin
Try channel.socket::8009 Regards, PQ This Guy Thinks He Knows Everything This Guy Thinks He Knows What He Is Doing -Original Message- From: Dani [mailto:alchasira@xxx] Sent: February 21, 2003 1:15 PM To: Tomcat Users List Subject: RE: apache tomcat (this old problem)

RE: redirectPort results in HTTP Status 500

2003-02-21 Thread Filip Hanik
make sure your redirect port is set to 443 and not 8443 in server.xml Filip -Original Message- From: Bryan Field-Elliot [mailto:bryan_lists@xxx] Sent: Friday, February 21, 2003 10:13 AM To: Tomcat Users List Subject: RE: redirectPort results in HTTP Status 500 On Fri,

RE: redirectPort results in HTTP Status 500

2003-02-21 Thread Bryan Field-Elliot
On Fri, 2003-02-21 at 11:13, Filip Hanik wrote: make sure your redirect port is set to 443 and not 8443 in server.xml Filip Thanks.. It is (set correctly to 443). Bryan

Re: Help! Anyone successfully install a purchased certificate?

2003-02-21 Thread Richard S. Huntrods
Matt, You are most welcome. I do hope it works for you, but I also know you would be very happy with Thawte. I chose them based on cost (less that 1/2 verisign and others). Cheers, -Richard Matt Fury wrote: Richard, Thanks so much for your reply! I'm trying one last time with InstantSSL.

RE: Mapping .jsp to controller servlet

2003-02-21 Thread Januski, Ken
Thanks Erik, I'm going to hold off for awhile and see if anyone clarifies the public nature of the .jsp files and any possible way around it. In the meantime I'll keep experimenting on my own. If that leads to nothing, as I sort of suspect it will, then it's on to filters and more questions about

RE: Servlet filter and listerner best practices

2003-02-21 Thread Etienne
Thanks Will, The filter servlet is only for logging checking and parameter init. I would have like to learn more about (J2EE) pattern using filter and listener servlet. The problem about the filter servlet is that doFilter() do not throws exception, so we must catch everything in doFilter. So

Re: redirectPort results in HTTP Status 500

2003-02-21 Thread Bryan Field-Elliot
Well, I was using JDK 1.3.1, and just for fun I tried booting up Tomcat on JDK 1.4, and the problem below just vanished. It works now. I'll report this as a bug (or at least, a request for documentation addendum) in Bugzilla, if it isn't already... On Fri, 2003-02-21 at 11:02, Bryan

Re: Servlet filter and listerner best practices

2003-02-21 Thread Will Hartung
From: Etienne etienno@ Sent: Friday, February 21, 2003 11:06 AM Subject: RE: Servlet filter and listerner best practices Thanks Will, The filter servlet is only for logging checking and parameter init. I would have like to learn more about (J2EE) pattern using filter and

wrestling with JSP error page

2003-02-21 Thread jeff . guttadauro
Hi, all. I'm finding that the JSP errorPage directive has a serious flaw. Perhaps others out there have run into this and been as frustrated as I am and hopefully come up with some solution...? The flaw is that, if the response has already been committed, then the error page is just

tomcat and SAS

2003-02-21 Thread Vladimer Shioshvili
Hello all, does anyone have experience with making SAS spawner and tomcat. Installation was successful, the whole thing seems to be working, but out of blue tomcat starts hogging CPU (99%) and once restarted bunch of SAS spawner errors appear in the application log in windows event logger.

I can't add wepapps - maybe wrong configuration

2003-02-21 Thread Marcello Vitali
I installed jdk 1.4, apache2, tomcat got the latter 2 talking each other with the old method connector (on win2k local enviroment). Everything seems working as I can access the examples folder both with localhost 8000 and localhost 8080 than I made a folder hello in the webapps folder with a

configuring JNDI for App-level auth

2003-02-21 Thread Erik Price
Hi, I have an account on a server running Tomcat 4.0.6 and am finally getting around to incorporating connection pooling into my app. At first I was going to use a home-brewed connection pooling class that I read in a book, then I discovered that there is support in Tomcat for the DBCP

Tomcat 3.3.1a Install Windows 2000 Service

2003-02-21 Thread Kathleen Long
Is there a way to install Tomcat as a Windows Service? I downloded a zip file and there was no install program. How can I make Tomcat a windows service? - To unsubscribe, e-mail: tomcat-user-unsubscribe@xx

Re: Tomcat 3.3.1a Install Windows 2000 Service

2003-02-21 Thread Ian Hunter
The newer ones install that way by themselves. 4.1.18 is the latest released build. - Original Message - From: Kathleen Long kathleen.long@ To: tomcat-user@xx Sent: Friday, February 21, 2003 3:08 PM Subject: Tomcat 3.3.1a Install Windows 2000 Service Is there a

making file case insensitive

2003-02-21 Thread Peter Choe
is there a way to make tomcat serve html files regardless of the case of the file? ie Hello.html and hello.html will retrieve the same file. Peter - To unsubscribe, e-mail: tomcat-user-unsubscribe@xx For

  1   2   >