Re: configuring an ODBC database with JNDI

2003-07-25 Thread Dark Kernel \(InacioW-\)
hi to the list. Well, I was thinking that I was not needing a driver because I have j2sdk 1.4 and when I use in servlets jdbc:odbc:odbcsorce and the sun.jdbc.odbc.JdbcOdbcDriver, everything goes fine... Can I still use the sun's jdbcodbcdriver? thanks in advance, inacioW- --- Kwok Peng Tuck

Help required

2003-07-25 Thread Veena K.S
Hi all, We have a website hosted on tomcat4.1.12 .We are facing the following problem when the site is up for a long time and the pages does not load end up with a blank page , but the log file has the entry as stack trace given below What could be the reason for this and what could be the

RE: Help required

2003-07-25 Thread Bill Lunnon
There is an exception thrown in price_jsp.java:414 I assume this is something that has been developed for the project. -Original Message- From: Veena K.S [mailto:[EMAIL PROTECTED] Sent: Friday, 25 July 2003 4:37 PM To: '[EMAIL PROTECTED]' Subject: Help required Hi all, We

Re: where is sign.sh from mod_ssl ???

2003-07-25 Thread Bill Barker
It seems that it is only distributed with the Apache-1.3.x version of mod_ssl. In my experience, it is usually worth the trouble in the long run to do a full setup for a CA (i.e. what 'openssl ca ...' expects) if you need to issue your own certs. [EMAIL PROTECTED] wrote in message news:[EMAIL

Query about FileUploading??

2003-07-25 Thread Bikash Paul
Hi all friends, Iam developing one uploading application for client side Iam using html and for server side(Tomcat4.1.24) Iam using servlet but my problem is I have to upload big file say upto 50mb now i want to send file to server in block wise(2048kb) for that i want to read file in block of

Re: HttpRequest and HttpResponse from pageContext?

2003-07-25 Thread Gil Hauer
Thanks! Gil On Fri, 2003-07-25 at 01:23, Bill Barker wrote: HttpServletRequest req = (HttpServletRequest)pageContext.getRequest(); HttpServletResponse res = (HttpServletResponse)pageContext.getResponse(); Gil Hauer [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hello,

Re: where is sign.sh from mod_ssl ???

2003-07-25 Thread achana
Hi! I am going throug a couple of books (O'Reilly OpenSSL and SAM Maxum Apache Security) and HOWTOs, I haven't come across instructions to set up a CA yet. Can you please oint me in the right direction ? TIA :( Bill Barker wrote: It seems that it is only distributed with the Apache-1.3.x

Re: [FileUpload]

2003-07-25 Thread Ben Souther
To the best of my knowlege, there is no way to preload the value of a file input field or to programmatically load it. I've tried with Mozilla and it throws a javascript security exception. (I haven't tried with MSIE). To do so would be a security threat. Any webpage could have a hidden form

performance of serving static data? apache or tomcat

2003-07-25 Thread markw
I am working on a servlet that will be served from tomcat which is connected to apache. Currently I have the servlet being handled by tomcat, and the image handled by apache. Won't this require 2 get requests by the browser? One being the image, and one being the servlet? Unfortunately, this is

Classloaders (newbie)

2003-07-25 Thread Harsh Nagpal
Hi! I'm trying to call an EJB from within a webserivce (Tomcat-Axis). The basic design is as follows Client WebService EJBClientClass EJB Everytime i run this, i get a remoteinovationerror (i resume from the EJBCLientClass) But when i integrate the webservice and the EJBClientClass

how to get the ca from client by servlet

2003-07-25 Thread errise
I had finished the configuration of apache + tomcat + ssl.but i found i can't get client's ca in this environment by servlet. I successfully get client's ca in the tomcat + ssl,by code 'request.getHeader()'.but in apache i can't get it. I don't know what is error in the apache + ssl +

Re: how to get the ca from client by servlet

2003-07-25 Thread achana
Hi. We are in the same boat ! See Zhangwei's email. It seems to be a bug, to be fixed by the next release , coming out this month. errise wrote: I had finished the configuration of apache + tomcat + ssl.but i found i can't get client's ca in this environment by servlet. I successfully

RE: War files don't work

2003-07-25 Thread EPugh
Tang, Thanks for the reply. Unfortunantly, that isn't the behavior I am seeing, and I think the other poster had the same issue. If I don't have a context for my war file in the server.xml, then it unpacks fine. But, if I do have a context, then it won't unpack, and I have to do it manually.

RE: how-to specify Java runtime options -Xmx128m, w/ Tomcat 4 as Win2k service

2003-07-25 Thread EPugh
Would this tool help? I also saw a wiki page for tomcat on setting memory in the registry.. http://web.bvu.edu/staff/david/tcservcfg/ I guess my question is what it sthe right way to set options like this when running as an Win2k service? Eric Pugh -Original Message- From: Simon

Re: where is sign.sh from mod_ssl ???

2003-07-25 Thread Simon Pabst
A good HOWTO about Certificate Management and creating your own CA is on http://www.tldp.org/HOWTO/SSL-Certificates-HOWTO/c118.html Another one is here: http://www.corserv.com/freebsd/apache-ssl-howto.html (not so detailed, but not that good either) At 15:28 25.07.2003 +1000, you wrote: Hi! I am

Easy question on Tomcat 4.0 and SSL+HTTPS via localhost:8843. Lock-Icon disappear from the Browser.

2003-07-25 Thread Zaragoza, Carles
I have installed the SSL support for Tomcat 4.0.4 and almost everything works. I followed all the guidelines from http://jakarta.apache.org/tomcat/tomcat-4.0-doc/ssl-howto.html http://jakarta.apache.org/tomcat/tomcat-4.0-doc/ssl-howto.html But for instance when I type

Re: Servlets in a protected resource

2003-07-25 Thread Tim Funk
Security contraints are always made on the incoming URI. Therefore, whatever you map your servlets paths to you'll need to create the appropriate constraints. -Tim Jeff Cummings wrote: Hi everyone, I have been able to setup JSPs in a protrected resource. The login page is displayed. How do I

Re: performance of serving static data? apache or tomcat

2003-07-25 Thread Tim Funk
yes and no. The browser makes a request to apache. Then the request is proxied to tomcat. When the servlet has been served, the browser issues a keep-alive and reuses the apache socket connection to get any other assets (such as images) needed. 2 requests, one connection. With the numerous

Re: where is sign.sh from mod_ssl ???

2003-07-25 Thread achana
Hi. Thanks, I got EngelSchall's sign.sh. I am going through exactly those doco as we speak, I think the problem with the documentation is that they refer to dfferent versions than mine. On my default RH7.1 Linux installation, I do not have /usr/local/ssl or /etc/ssl/openssl.conf, yet it comes

Re: Need Help For Iplanet Tomcat Configuration

2003-07-25 Thread Eric J. Pinnell
Hi, I'm not sure if cross posting like that was such a good idea... But since I just had to figure this out last week I will share what I learned. I had to play with this a bit befor I was able to get it to work. I was using Solaris so I can't help you with the correct version of the redirector

Re: where is sign.sh from mod_ssl ???

2003-07-25 Thread Simon Pabst
I don't know about Redhat's openssl installation, but propably it spreads over several directories. However there should be an openssl.conf somewhere, maybe its in /etc/openssl.conf or /usr/local/openssl/openssl.conf If you can't find it, this might help: find /etc -name openssl.conf or find /usr

How many concurrent user on Tomcat and Apache(New Bie)

2003-07-25 Thread Sachin
Can any body tell me that on a Apache web Server(tomcat as worker) hosting web site. How many concurrent user possible if Server has good hardware configuration. Do we need to maintains worker.properties file for many tomcat Instances under Apache.. If any body help me or any suggesstion

Re: performance of serving static data? apache or tomcat

2003-07-25 Thread srevilak
From: markw () dolphtech ! com Subject: performance of serving static data? apache or tomcat I am working on a servlet that will be served from tomcat which is connected to apache. Currently I have the servlet being handled by tomcat, and the image handled by apache. Won't this require 2

Re: Help required

2003-07-25 Thread Zach Gatu
If the page gives an error after Tomcat is up for a long time, may be something may be timing out, like a database connection, for example. Or the session gets invalidated. Open up price_jsp.java and have a look at line 414. Zach. Veena K.S wrote: Hi all, We have a website hosted on

RE: War files don't work

2003-07-25 Thread EPugh
What the Automatic Applcation Deployment doc says is that if you have a WAR file, it won't be expanded if you have a context element in the server.xml document. It will only be run from that war file in an unexpanded format. correct? Eric -Original Message- From: John Turner To: Tomcat

Re: where are sign.sh and openssl.conf ?

2003-07-25 Thread achana
Hi. Unbelievable, I searched all the servers for openssl.conf and found nothing. Some of these are stock standard default installatio sraight from the distro CDs from RH. I am going to install OpenSSL from sratch this weekend and ditch RH's distro copy. find /usr openssl.conf -type f find /usr

Re: mod_jk on windows

2003-07-25 Thread John Turner
httpd.conf with the rest of them. John Ravi Pachipala wrote: Where should JkMount be defined? Should it be in Tomcat's server.xml or Apache's httpd.conf? Thanks Ravi -Original Message- From: John Turner [mailto:[EMAIL PROTECTED] Sent: Thursday, July 24, 2003 2:41 PM To: Tomcat Users List

Re: War files don't work

2003-07-25 Thread John Turner
That's how I read it. Basically, a Context in server.xml trumps automatic deployment. As I understand it, you have to pick one or the other, not both. If you must put a Context in server.xml for your web application, and you want to use a WAR file, then make the docBase of the Context the

Re: where are sign.sh and openssl.conf ?

2003-07-25 Thread Simon Pabst
Ah you got me confused myself there a bit, just looked it up on my SuSE 8.1, its openssl.cnf not .conf And if openssl is installed (and it must be, since Apache successfully compiled with ssl) it must be somewhere. However doing a clean install of openssl is still the best way to do it, since

Re: where are sign.sh and openssl.conf ?

2003-07-25 Thread John Turner
Reason #942 not to just take defaults when installing Red Hat Linux. You're better off deleting all of their auto crap and then installing what you need from scratch. At least then you know exactly where everything is. John [EMAIL PROTECTED] wrote: Hi. Unbelievable, I searched all the

Re: How many concurrent user on Tomcat and Apache(New Bie)

2003-07-25 Thread John Turner
You only need one workers.properties file. All it does is tell mod_jk.so where to find Tomcat. Regarding how many concurrent users that is impossible to say. It depends on what your definition of good hardware is, as well as the complexity and quality of the web applications you're hosting.

Re: performance of serving static data? apache or tomcat

2003-07-25 Thread John Turner
It's two requests whether you use Apache or not. John [EMAIL PROTECTED] wrote: I am working on a servlet that will be served from tomcat which is connected to apache. Currently I have the servlet being handled by tomcat, and the image handled by apache. Won't this require 2 get requests by the

Re: Logfile for isapi_redirector2.dll?

2003-07-25 Thread John Turner
Not many people use IIS + Tomcat (comparatively speaking). Of those, the folks using JK2 (redirector2) is probably smaller still. Of those people, there's a good chance that they don't have an answer to your particular question. Would you rather they replied anyway and sent you off on a

Re: buiding 4.24

2003-07-25 Thread Mark F
Eric J. Pinnell wrote: || Hi, || || For the JK2 connector you should use the 2.0.2 source. || || Then compile with: || || ./configure --with-apxs2=/path/to/apxs || || then make || || then mod_jk2.so should be in down in the build directory. || || You need to manually copy the file to the apache

Re: performance of serving static data? apache or tomcat

2003-07-25 Thread Nguyen Anh Tuan
No, there is only one request that is sent from browser to Apache. Apache will reroute the request to Tomcat as needed. So what you are using now is the best configuration. --- [EMAIL PROTECTED] wrote: I am working on a servlet that will be served from tomcat which is connected to apache.

Re: performance of serving static data? apache or tomcat

2003-07-25 Thread John Turner
servelet = one request image = one request 1 + 1 = 2 requests John Nguyen Anh Tuan wrote: No, there is only one request that is sent from browser to Apache. Apache will reroute the request to Tomcat as needed. So what you are using now is the best configuration. --- [EMAIL PROTECTED] wrote:

RE: Classloaders (newbie)

2003-07-25 Thread Shapira, Yoav
Howdy, Everytime i run this, i get a remoteinovationerror (i resume from the EJBCLientClass) RemoteInvocationError can occur due to many reasons. You will need to supply the full stack trace and relevant code. Could this be a classloader issue? It could, and it could be many other things.

RE: heap size

2003-07-25 Thread Shapira, Yoav
Howdy, Is there a rule-of-thumb for setting the heap size based on how many concurrent Tomcat processors/threads? Mine are mostly basic jsps and servlets generating HTML. As I'll be running several Tomcat instances for different apps, I need to allocate my 512M RAM to each Tomcat. No, and there

RE: log4j fighting with Commons-Logging in Tomcat 4.1

2003-07-25 Thread Shapira, Yoav
Howdy, Don't put anything in common/lib or common/classes. Put the log4j jar in the WEB-INF/lib directory of your webapp. Put the log4j configuration file in the WEB-INF/classes directory of your webapp. Yoav Shapira Millennium ChemInformatics -Original Message- From: Mike McCown

Re: buiding 4.24

2003-07-25 Thread Eric J. Pinnell
Hi, If you go to the top level of the tomcat-connectors tree and do a find ./ | grep mod_jk you don't see a mod_jk2.so somewhere? That's really odd. Time for science: :) cd /jakarta-tomcat-connectors-jk2-2.0.2-src/jk/native2/ ./configure --with-apxs2=/path/to/apxs make (it has to be GNU

Re: Logfile for isapi_redirector2.dll?

2003-07-25 Thread Nathan Ward
I don't mean to complain. I'm sure there are good reasons as you have mentioned why I haven't gotten more replies. I was trying to emphasize that I did appreciate the response in this case even though Ken didn't have much new info to offer. That said, I also asked what I thought were pretty

Mod_jk on Solaris - has anyone actually ever built it?

2003-07-25 Thread Max Jester
Help! I am having trouble building mod_jk.so on Solaris 2.6 - and the binary directory for 2.6 at the jakarta site is empty. Has anyone actually succeeded in getting it built from source? The instructions don't seem to refer to the actual directory layout. Or, failing that, can anyone point

RE: How many concurrent user on Tomcat and Apache(New Bie)

2003-07-25 Thread Sachin
Hi John, But john i have to deploy my applciation for client now client is ready for each hardware And my appication performance is good. Bu My Client is saying 10,000 concurrent user.. I have found in forum archive that people suffering from problem of concurrency when concurrent user

Memory problems

2003-07-25 Thread Reynir Hübner
Hi, I have a server that I am trying to deploy 36 webapplications to. The server is running redhat linux, with 2.5 gig ram and 4 XEON CPUs. On start up it runs about 30 applications and at that time tomcat failes, with java.lang.OutOfMemoryException. The top function shows many (192) java

Re: Logfile for isapi_redirector2.dll?

2003-07-25 Thread John Turner
Sounds like a bug in isapi_redirector to me, or perhaps its a problem with the way IIS handles virtual hosts. Or maybe I don't understand what you want to do. In Apache, I setup one virtual host = one webapp. hostA = appA hostB = appB With mod_jk (essentially isapi_redirector), appB is never

Servlets in a protected resource

2003-07-25 Thread Jeff Cummings
Hi everyone, I have been able to setup JSPs in a protrected resource. The login page is displayed and everything works as expected. How do I setup a servlet in a protected resource to get the same effect? Jeff

Re: Mod_jk on Solaris - has anyone actually ever built it?

2003-07-25 Thread John Turner
I built it for Solaris 8. Good luck building it for 6, it took me three days and 2 reinstalls of the OS to get it to build on 8. John Max Jester wrote: Help! I am having trouble building mod_jk.so on Solaris 2.6 - and the binary directory for 2.6 at the jakarta site is empty. Has anyone

Re: Memory problems

2003-07-25 Thread John Turner
More likely you are hitting an OS limit, such as number of processes, number of open files, number of connections, etc. I have 20 instances of Tomcat running on 4 GB of RAM, and about 800MB stays free. John Reynir Hübner wrote: Hi, I have a server that I am trying to deploy 36

Re: How many concurrent user on Tomcat and Apache(New Bie)

2003-07-25 Thread John Turner
Suggestion: build a test environment and test. You can't wing it. John Sachin wrote: Hi John, But john i have to deploy my applciation for client now client is ready for each hardware And my appication performance is good. Bu My Client is saying 10,000 concurrent user.. I have found

Re: how-to specify Java runtime options -Xmx128m, w/ Tomcat 4 as Win2k service

2003-07-25 Thread Paul
the script given below worked for me, as a .bat file, where the environment variables were substituted with literal directory paths, on a win2k (professional) os (sp4), and jdk 1.4.2. note: the tomcat.exe file specified in the script below only gets copied to the /bin directory of Tomcat if

RE: Memory problems

2003-07-25 Thread Shapira, Yoav
Howdy, Check the OS limits for the user account that's running tomcat (e.g. ulimit -a). Max out whatever you can. Are you trying for one instance with 36 webapps or 36 instances of tomcat? (It doesn't really matter, both should work, I'm just curious) Yoav Shapira Millennium ChemInformatics

RE: Memory problems

2003-07-25 Thread Reynir Hübner
Hi John, Thanx for replying. Yes I was looking for such a limit somewhere, but I could not find it. I thought max number of processes in linux redhat (7.2) was 1024, (I am only taking up about 250 processes in all). You say you have 20 instances of tomcat, I have 36 hosts in one tomcat, so

Re: Mod_jk on Solaris - has anyone actually ever built it?

2003-07-25 Thread Eric J. Pinnell
You might want to try JK2. I am able to build mod_jk2.so on Solaris 7 and 2.6 and 7 are pretty close to each other. You might want to give it a whirl. -e On Fri, 25 Jul 2003, John Turner wrote: I built it for Solaris 8. Good luck building it for 6, it took me three days and 2 reinstalls

Re: Memory problems

2003-07-25 Thread John Turner
Our setups are different, my point was that my setup is capable of addressing more RAM than you have (fewer Tomcat but more RAM), which leads me to believe your problems are OS limit related. I wouldn't setup separate Tomcat instances unless you determined there was a need for it. For my

RE: Servlets in a protected resource

2003-07-25 Thread Jeff Cummings
Thanks Tim. I got it working. Jeff -Original Message- From: Tim Funk [mailto:[EMAIL PROTECTED] Sent: Friday, July 25, 2003 6:39 AM To: Tomcat Users List Subject: Re: Servlets in a protected resource Security contraints are always made on the incoming URI. Therefore, whatever you map

Re: Logfile for isapi_redirector2.dll?

2003-07-25 Thread Nathan Ward
I believe that is the same thing I'm trying to do (did) with IIS and Tomcat. I don't believe it is a bug. It is just the way the isapi_redirector.dll is written. Windows registry settings specifies where _the_ workers.properties file is located as well as where the uriworkermap.properties is

iPlanet and Tomcat integration on solaris

2003-07-25 Thread Peter Cline
I am trying to integrate iPlanet 4.1 and Tomcat 4.1.24 on a Solaris 8. I have had some level of success but have encountered some very frustrating problems. I have searched extensively for documentattion that might help me but have come up empty handed. My biggest problems rghts now are a)

Re: Logfile for isapi_redirector2.dll?

2003-07-25 Thread John Turner
uriworkermap.properties doesn't take a hostname? John Nathan Ward wrote: I believe that is the same thing I'm trying to do (did) with IIS and Tomcat. I don't believe it is a bug. It is just the way the isapi_redirector.dll is written. Windows registry settings specifies where _the_

Re: performance of serving static data? apache or tomcat

2003-07-25 Thread Nguyen Anh Tuan
Hi, John, Lets say you have one static HTML page with one image in it. You can serve it with Apache stand alone (or any stand alone Web server). So howmany requests are there ? Do you count : HTML : 1 request Image : 1 request 1+1=2 requests The answer is : You just request for a page, and

RE: iPlanet and Tomcat integration on solaris

2003-07-25 Thread Mike Curwen
That's a classic problem. Renaming the classes12.zip to classes12.jar is your first step in debugging database connection problems. -Original Message- From: Peter Cline [mailto:[EMAIL PROTECTED] Sent: Friday, July 25, 2003 9:44 AM To: [EMAIL PROTECTED] Subject: iPlanet and Tomcat

RE: performance of serving static data? apache or tomcat

2003-07-25 Thread Shapira, Yoav
Howdy, Lets say you have one static HTML page with one image in it. You can serve it with Apache stand alone (or any stand alone Web server). So howmany requests are there ? Do you count : HTML : 1 request Image : 1 request 1+1=2 requests The answer is : You just request for a page, and

Re: performance of serving static data? apache or tomcat

2003-07-25 Thread John Turner
Thanks for the hint, I've read the spec many times. I'm not clear what you are saying. Its two requests, whether its Apache + Tomcat, Apache alone, or Tomcat alone. Check your access logs...you don't see one log entry for a HTML page with one image, you see two: a 200 for the HTML page, and

RE: Easy question on Tomcat 4.0 and SSL+HTTPS via localhost:8843. Loc k-Icon disappear from the Browser.

2003-07-25 Thread Jay Garala
Check the 'next page' link if its http or https -Original Message- From: Zaragoza, Carles [mailto:[EMAIL PROTECTED] Sent: Friday, July 25, 2003 6:38 AM To: Tomcat Users List ([EMAIL PROTECTED]) Subject: Easy question on Tomcat 4.0 and SSL+HTTPS via localhost:8843. Loc k-Icon disappear

Re: iPlanet and Tomcat integration on solaris

2003-07-25 Thread Eric J. Pinnell
a) The remoteUser is not being passed from iPlanet to Tomcat. My JSPS are reading the remoteUser using the request.getRemoteUser() method. I am using the RequestDumperValve to see what is being passed to Tomcat. The remoteUser value is invariably set to null. I looked at the source code

Re: performance of serving static data? apache or tomcat

2003-07-25 Thread Nguyen Anh Tuan
Hi, John, Thank you for the discussion. However, the amount of requests for JSP/Servlet with one image sent from a browser to Apache/Tomcat will equal exactly the amount of requests for one static HTML with one image sent from a browser to a stand alone Web server, is that right ? In either

Re: performance of serving static data? apache or tomcat

2003-07-25 Thread John Turner
Yes, that is exactly what I have been saying. John Nguyen Anh Tuan wrote: Hi, John, Thank you for the discussion. However, the amount of requests for JSP/Servlet with one image sent from a browser to Apache/Tomcat will equal exactly the amount of requests for one static HTML with one image sent

Re: Logfile for isapi_redirector2.dll?

2003-07-25 Thread Nathan Ward
Sure, but that specifies the machine where Tomcat is running. I could specify different hosts for different workers if I want multiple instances of Tomcat running on different machines. I have one instance of Tomcat on one machine and one instance of IIS on another. However, two virtual hosts/web

RE: performance of serving static data? apache or tomcat

2003-07-25 Thread Mike Curwen
Ok there's just one tiny clarification I might offer, in case this is the problem. Because I think *both* of you are saying the same thing, but maybe not (if this is indeed the difficulty). -Original Message- From: John Turner [mailto:[EMAIL PROTECTED] Sent: Friday, July 25, 2003

OnSessionEnd for Tomcat ?

2003-07-25 Thread Robert Priest
Hello All, I am looking for a way to detect when a session ends in tomcat and do a few things such as temp dir clean up, and so on. Can anyone point me to the proper documentation or provide info on this? thanks in advance...

RE: OnSessionEnd for Tomcat ?

2003-07-25 Thread Bodycombe, Andrew
Look at the HttpSessionListener interface. http://java.sun.com/j2ee/sdk_1.3/techdocs/api/ Create the sessionDestroyed() implementation and add a listener element to web.xml: http://java.sun.com/dtd/web-app_2_3.dtd -Original Message- From: Robert Priest [mailto:[EMAIL PROTECTED] Sent:

Re: Logfile for isapi_redirector2.dll?

2003-07-25 Thread John Turner
I guess I misunderstood what uriworkermap.properties was doingI was under the impression that was where you mapped URIs to specific workers. In JK2 (mod_jk2.so), it might look something like: [uri:www.hostA.com/appA/*.jsp] There's no counterpart to that in an IIS + Tomcat configuration? I

RE: OnSessionEnd for Tomcat ?

2003-07-25 Thread Robert Priest
Thanks. I will take a look... -Original Message- From: Bodycombe, Andrew [mailto:[EMAIL PROTECTED] Sent: Friday, July 25, 2003 11:52 AM To: 'Tomcat Users List' Subject: RE: OnSessionEnd for Tomcat ? Look at the HttpSessionListener interface.

Re: performance of serving static data? apache or tomcat

2003-07-25 Thread John Turner
I wasn't making that distinction, but I can see how that might have caused some difficulty. It's two total requests, regardless of what does the handling. John Mike Curwen wrote: Ok there's just one tiny clarification I might offer, in case this is the problem. Because I think *both* of you

help: Cannot find extension

2003-07-25 Thread Hans Wichman
Hi all, i've built a webapp in which a jar in the WEB-INF\lib directory contains the following extension dependency specifications in the manifest file of the jar file (under the META-INF directory): Extension-List: mysql mysql-Extension-Name: org.gjt.mm.mysql mysql-Implementation-URL:

Servlet Caching question

2003-07-25 Thread Atreya Basu
Hello, I wanted to know how Tomcat caches the output of Servlets/JSPs. Could someone direct me to where I could find some information on that? _ Atreya Basu Developer, Greenfield Research Inc. e-mail: atreya (at) greenfieldresearch (dot) ca

RE: Tomcat not working behind a NAT?

2003-07-25 Thread Erin Dalzell
For this particular Servlet call we are not accessing any databases. DTDs? Not really familiar with those...I will check. I don't think we are trying to resolve hosts. Here is something we got from our client: -- The sniffer log showed the NATed address in one of the http requests ... following

Tomcat: SSL client authentication

2003-07-25 Thread Dmitry S.Rogulin
Hello all, I'm Best regards, Dmitry. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Servlet Caching question

2003-07-25 Thread Shapira, Yoav
Howdy, Basically, tomcat doesn't. Yoav Shapira Millennium ChemInformatics -Original Message- From: Atreya Basu [mailto:[EMAIL PROTECTED] Sent: Friday, July 25, 2003 12:42 PM To: [EMAIL PROTECTED] Subject: Servlet Caching question Hello, I wanted to know how Tomcat caches the output

RE: Logfile for isapi_redirector2.dll?

2003-07-25 Thread Januski, Ken
Well we haven't solved the question about the logfile but the second question is interesting as well:-) I think that the problem is that there is only one registry entry. If you could have more than one you could configure different isapi_filters in IIS Management Console, then use the one you

RE: Servlet Caching question

2003-07-25 Thread Atreya Basu
Okay, So if I want to do some caching for say: GET requests. Is there a way to cache output based on URL? Is this kind of thing simply not supported, and I will have to go to some other application server. _ Atreya Basu Developer, Greenfield Research Inc.

RE: Tomcat not working behind a NAT?

2003-07-25 Thread Eric J. Pinnell
I still think you are barking up the wrong tree here. If I had to guess I would say that 95% of all internet faceing Tomcat servers are behind some kind of NAT device. One thing to consider. NAT only translates the IP in the IP header and doesn't change the data payload. So if you are, for

RE: Servlet Caching question

2003-07-25 Thread Bodycombe, Andrew
Just one question: The output from a servlet/JSP is dynamic, so why would you want to cache the output? -Original Message- From: Atreya Basu [mailto:[EMAIL PROTECTED] Sent: 25 July 2003 18:03 To: 'Tomcat Users List' Subject: RE: Servlet Caching question Okay, So if I want to do some

Re: Logfile for isapi_redirector2.dll?

2003-07-25 Thread Nathan Ward
Shit! You're right!!! All the examples of uriworkermap.properties that I had seen had a relative path specified including the 3 books I looked at. It never occurred to me to specify the full url until your example. I just tried it that way and it works! Boy, do I feel stupid. You said the example

Re: Logfile for isapi_redirector2.dll?

2003-07-25 Thread Nathan Ward
Just to be clear for others who may read this, here's an example of the uriworkermap.properties file that works for me: www.website1.com/rms-jobs/*=ajp13Worker www.website2.biz/rms/*=ajp13Worker What I had before that didn't control access as required was: /rms-jobs/*=ajp13Worker

RE: Servlet Caching question

2003-07-25 Thread Shapira, Yoav
Howdy, Actually, caching of servlet/JSP output is not a rare request, and is sometimes valid. Especially if there is a common set of request parameters (ViewPage?pageId=... where the pageId has three values that are very common). It would be fairly trivial to write a URL-based caching filter.

RE: Logfile for isapi_redirector2.dll?

2003-07-25 Thread Januski, Ken
Nathan, I'd love to see the configuration but these urls don't seem to work. P.S. I wasn't thinking clearly when I suggested multiple workers2.properties files. Ken -Original Message- From: Nathan Ward [mailto:[EMAIL PROTECTED] Sent: Friday, July 25, 2003 1:12 PM To: Tomcat Users List

RE: Servlet Caching question

2003-07-25 Thread Mike Curwen
Because I might decide that hmm, this page's content really doesn't change very often, so why don't I cache its results for 5 minutes? For example, one page might contain many different 'pagelets', say a little weather box with the current weather conditions. If your weather conditions are only

RE: Logfile for isapi_redirector2.dll?

2003-07-25 Thread Januski, Ken
Boy I really am not thinking clearly! Thanks for the info. -Original Message- From: Januski, Ken [mailto:[EMAIL PROTECTED] Sent: Friday, July 25, 2003 1:20 PM To: Tomcat Users List Subject: RE: Logfile for isapi_redirector2.dll? Nathan, I'd love to see the

Tomcat as Windows service on Windows XP

2003-07-25 Thread Me myself
How can i use tomcat as a windows service on XP ? I cant find any documentation about this in the tomcat documentation. Thanx. _ Hotmail snakker ditt språk! http://www.hotmail.msn.com/cgi-bin/sbox?rru=dasp/lang.asp - Få Hotmail på

RE: Servlet Caching question

2003-07-25 Thread Bodycombe, Andrew
That makes sense. I'd always considered that it was too dangerous to cache servlet output. I might try implementing this Filter and try to gain some performance... -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: 25 July 2003 18:17 To: Tomcat Users List Subject: RE:

RE: Servlet Caching question

2003-07-25 Thread Atreya Basu
Andrew, Our JSP/Servlets perform some calculations based on some input from a HTML Form. These calculations are a little bit complicated so they take time to perform. However the output that they produce is relatively small. The majority of our users will give the same input, so the output is

Tomcat: SSL client authentication

2003-07-25 Thread Dmitry S.Rogulin
Hello all, Sorry for the previous e-mail. %) This theme was discussed about month ago. I tried to use what I've found but I'm still having a problem... I'm trying to do SSL client authentication with Tomcat 4.1.18 (clientAuth=true). 1. I've generated a client certificate using keytool:

RE: Servlet Caching question

2003-07-25 Thread Shapira, Yoav
Howdy, Our JSP/Servlets perform some calculations based on some input from a HTML Form. These calculations are a little bit complicated so they take time to perform. However the output that they produce is relatively small. The majority of our users will give the same input, so the output is

RE: Tomcat as Windows service on Windows XP

2003-07-25 Thread Atreya Basu
I think that there is an option during the Windows installation to set Tomcat up as a service. The other option is to use: Sc.exe create The program is well documented so you shouldn't have any difficulty using it. Another option is to simply make an entry in the registry under:

Re: JDK for Linux on Power PC

2003-07-25 Thread james Folsom
http://www.blackdown.org although it is only for 1.3.1 --- Hari Om [EMAIL PROTECTED] wrote: where can I find JDK for Linux on Power PC _ STOP MORE SPAM with the new MSN 8 and get 2 months FREE*

Re: Logfile for isapi_redirector2.dll?

2003-07-25 Thread Nathan Ward
Ken, That was an example configuration. I didn't realize that you'd care to go to the actual web sites. Some of the real uri's aren't accessible from the Internet. One of them is though. Go to http://www.usresources.com Click on the Candidates link menu item, then click on the OPPORTUNITIES or

RE: Logfile for isapi_redirector2.dll?

2003-07-25 Thread Januski, Ken
Thanks, Nathan If I was awake I WOULDN'T have tried to go to your web site but instead would have realized that those weren't links but entries.:-) Who knows what I was thinking? But thanks for the explanation. It has been interesting following the discussion and has helped clarify a little bit

Re: Logfile for isapi_redirector2.dll?

2003-07-25 Thread John Turner
Sweet. I'm glad I was able to help. And yeah, you're probably right about the subject lines. Put IIS in the subject line, and the odds are real good that I'll read but not answer. Put nobody here bothered to answer me in your post and I'll definitely reply, even if I don't know the answer.

Re: Logfile for isapi_redirector2.dll?

2003-07-25 Thread John Turner
So its not working? I can't believe that IIS + Tomcat doesn't separate virtual hosts. Do your hosts have different appBase's? John Nathan Ward wrote: Ken, That was an example configuration. I didn't realize that you'd care to go to the actual web sites. Some of the real uri's aren't

[OT] SF Bay Area Struts Intro (Free)

2003-07-25 Thread Oscar Carrillo
Hi everyone, I belong to the Silicon Valley Struts User Group and we're having a Intro to Struts presentation being done by a BEA employee. If you will be in the San Francisco Bay Area and interested in learning more about Struts, consider coming to this presentation. It's August 6th, and you

  1   2   >