Re: file upload speed.

2006-06-21 Thread CMSuser
Leon Rosenberg-3 wrote: > > So you effectively measure the ability of tomcat to throw away your > bytes and send you an error page. That doesn't make really sense, does > it? > > Leon > Of course not. The uploaded file is visible on the webpage in the new directory where it's supposed to be.

RE: Using Datasource for cloudscape

2006-06-21 Thread Jitendra Kharche
Hi Dilan, Have you got all the details about my problem. Regards, Jitendra Kharche -Original Message- From: Jitendra Kharche [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 21, 2006 4:09 PM To: Tomcat Users List Subject: RE: Using Datasource for cloudscape Hi Dilan, Thanks for he

Re: file upload speed.

2006-06-21 Thread Leon Rosenberg
So you effectively measure the ability of tomcat to throw away your bytes and send you an error page. That doesn't make really sense, does it? Leon On 6/22/06, CMSuser <[EMAIL PROTECTED]> wrote: Leon Rosenberg-3 wrote: > > sorry, maybe i'm misunderstand a whole bunch of things here, but what

Re: Http11AprProtocol took 2 hr to init on http-443

2006-06-21 Thread Jeff Chuang
To make port 80 use APR and port 443 NOT use APR, I have tried it several times, without any luck. After tomcat starts, port 80 is fine, but connections to port 443 are always timeout. It looks from the log the Http11BaseProtocol was not used on port 443. The log looks like: =

Re: file upload speed.

2006-06-21 Thread CMSuser
Leon Rosenberg-3 wrote: > > sorry, maybe i'm misunderstand a whole bunch of things here, but what > exactly is your "appropriate url"? > > I mean, you can test download speed by accessing your own servlet or > even static content, ok, but you can't upload anything without having > a receiver fo

Re: multiple tomcat services

2006-06-21 Thread Len Popp
Here's a how-to that was posted to this mailing list: http://www.nabble.com/Re%3A-running-two-instances-of-tomcat-p3560229.html I haven't tried it myself, but it looks pretty complicated so it must be right. :-) -- Len On 6/21/06, Bharathi Kattamuri <[EMAIL PROTECTED]> wrote: Hi, I have instal

Re: mod_jk failover and preferring localhost

2006-06-21 Thread Filip Hanik - Dev Lists
Mladen Turk wrote: Filip Hanik - Dev Lists wrote: you've setup sticky_sessions to be false, (btw, I thought that only took 0/1 values) so how can you expect session affinity from that? Recent mod_jk versions can take True/False instead 1/0 just as an convenience method. instead or "as well"

Re: Tomcat's scalability

2006-06-21 Thread anjan bacchu
hi GB, From catalina.bat rem CATALINA_HOME May point at your Catalina "build" directory. rem rem CATALINA_BASE (Optional) Base directory for resolving dynamic portions rem of a Catalina installation. If not present, resolves to rem the same directory

Re: Tomcat's scalability

2006-06-21 Thread Andrew Miehs
Not only. The issue is really whether it make sense to use the operating systems process table as a queue or not. Up until linux new threading model in Linux kernel 2.6 this was definitely the case. The 2.6 threads are very efficient, so most programmers will not notice a real performance deg

Re: looking for memory profiler or dump analyzer for production use

2006-06-21 Thread Andrew Miehs
The monitoring component works for the first hour after the VM is started in the free version. In the commercial version, the monitoring information is availble the whole time - as for pricing - no idea.. There as an article about JRocket in one of the last IX magazines (DE) Andrew Leon Rosen

Re: query

2006-06-21 Thread Andrew Braae
On at least one version of Oracle (10 IIRC), the default install hijacks port 8080 for "Oracle XDB". When you say you have installed Oracle on a different port, perhaps you are referring to the Oracle port for database traffic, which is normally 1521 - this is a different port which I think is web

Differences in tomcat on linux and windows???

2006-06-21 Thread antarix
Hi there!! What are the differences in apache-tomcat performance (in fact I have a weird behaviour over an oracle database that´s the reason on my question to the list) on windows and linux?? ... I have this doubt because my develop environment is over windows and I have no problems updating in

Re: file upload speed.

2006-06-21 Thread Martin Gainty
I Agree You should be debugging the code in doPut method..more specifically.. protected void doPut(HttpServletRequest req, HttpServletResponse resp) throws ServletException, //be mindful that if you get a java.io.IOException you cannot see the file.. OR if your

Re: looking for memory profiler or dump analyzer for production use

2006-06-21 Thread Edmon Begoli
There is a free memory/garbace collector analyzer jvmstat ver. 3 that you can download from Sun: http://java.sun.com/performance/jvmstat/ Another great tool that has free trial is JVM Optimizer: http://www.arcturustech.com/jvm_optimizer.html -- Thank you, Edmon Begoli http://blogs.ittoolbox.com

Re: query

2006-06-21 Thread Martin Gainty
Good Afternoon Glenn- For the reasons you just enumerated I ALWAYS install Oracle on its own box and ALWAYS point it to its own installed version of JVM.. Conversely- I ALWAYS install Tomcat on its own box and point it to its own JVM The thought of one (set of) processes exhausting the thread p

Re: looking for memory profiler or dump analyzer for production use

2006-06-21 Thread Leon Rosenberg
not sure, the vm itself is free, but i think the monitoring isn't. we couldn't find any prices ourself too leon On 6/21/06, charly <[EMAIL PROTECTED]> wrote: Thanks! Doesn't this mean that it is free: "Freely Available! BEA JRockit is available for free download for evaluation and production u

Re: looking for memory profiler or dump analyzer for production use

2006-06-21 Thread charly
Thanks! Doesn't this mean that it is free: "Freely Available! BEA JRockit is available for free download for evaluation and production use." i.e. that it can be used in production with no cost or licence fees? Regards Karl-Heinz - Original Message - From: "Leon Rosenberg" <[EMA

Tomcat shutdown Problems - Process Does Not Die

2006-06-21 Thread Derek McEachern
I've been searching the list but so far I have not been able to find a solution to problem. I am running tomcat 4.1.31 using java 1.4.2 on a Solaris 8 machine. In our configuration we are running two tomcat instances sharing binaries and webapps directories by CATALINE_HOME and CATALINE_BASE to

Re: How does Tomcat detect whether a browser accepts cookies

2006-06-21 Thread Garey Mills
David - Thanks for the clear, concise answer. Garey Mills Library Systems Office UC Berkeley The brain is not where you think On Wed, 21 Jun 2006, David Smith wrote: > On first response, Tomcat both set's a cookie JSESSIONID and appends the > same to the page links (when properly code

Re: How does Tomcat detect whether a browser accepts cookies

2006-06-21 Thread David Smith
On first response, Tomcat both set's a cookie JSESSIONID and appends the same to the page links (when properly coded). If the cookie comes back on the next request, url rewriting is dropped in favor of the cookie. No magic, tomcat just covers all it's bases up front. See HttpServletResponse.en

Re: query

2006-06-21 Thread Glenn Holliday
My first thought is Oracle will install its own Java Virtual Machine. Oracle likes to be the entire world. Is Tomcat still finding a JVM that it can use? Do you have the Oracle Universal Installer running? What happens if you run Oracle and Tomcat on two different computers? If that's not it,

JNDI Resource Factories questions

2006-06-21 Thread Ludovic_Orban
Hi, I've fot a couple of questions regarding Tomcat's JNDI implementation. In the JNDI resources howto of Tomcat 5.5 (http://tomcat.apache.org/tomcat-5.5-doc/jndi-resources-howto.html) at paragraph 'Adding Custom Resource Factories', just under '1. Write A Resource Factory Class' one can read th

Re: mod_jk failover and preferring localhost

2006-06-21 Thread thuss2
That explains it, thanks. I've just set the lbfactor extremely high on the localhost in the interim to get mod_jk to prefer it over remote tomcats. -Todd -- View this message in context: http://www.nabble.com/mod_jk-failover-and-preferring-localhost-t1825380.html#a4980806 Sent from the Tomcat -

Re: mod_jk failover and preferring localhost

2006-06-21 Thread Mladen Turk
Filip Hanik - Dev Lists wrote: you've setup sticky_sessions to be false, (btw, I thought that only took 0/1 values) so how can you expect session affinity from that? Recent mod_jk versions can take True/False instead 1/0 just as an convenience method. Also the 'distance' param will be suppor

Re: mod_jk failover and preferring localhost

2006-06-21 Thread thuss2
Filip, we're not using sessions so we don't need sessions affinity, but if we did we'd use session replication rather than sticky sessions. The sticky option does accept true/false according to the documentation http://tomcat.apache.org/connectors-doc/config/workers.html . I think that's all unrel

Re: mod_jk failover and preferring localhost

2006-06-21 Thread Filip Hanik - Dev Lists
you've setup sticky_sessions to be false, (btw, I thought that only took 0/1 values) so how can you expect session affinity from that? Filip thuss2 wrote: We have 10 web servers with Tomcat's running on them and a mod_jk configuration to prefer the tomcat on localhost and only failover to ano

Re: How does Tomcat detect whether a browser accepts cookies

2006-06-21 Thread David Kerber
Ok, now I understand what you're getting at, but I still don't see how tomcat could know if a browser accepts cookies on the initial request from the browser (which seems to be what your assumption would require). I wouldn't mind a bit if I were proven wrong, though... Dave Garey Mills wrot

Re: How does Tomcat detect whether a browser accepts cookies

2006-06-21 Thread Garey Mills
David - Tomcat uses cookies to establish a session with the browser. If it can't use cookies, it uses URL rewriting. So whenever someone uses my app, Tomcat tries to set a cookie. If it was the case that Tomcat didn't know whether the browser accepted cookies until after it tried

Re: file upload speed.

2006-06-21 Thread Leon Rosenberg
sorry, maybe i'm misunderstand a whole bunch of things here, but what exactly is your "appropriate url"? I mean, you can test download speed by accessing your own servlet or even static content, ok, but you can't upload anything without having a receiver for it. leon On 6/21/06, CMSuser <[EMAIL

Re: How does Tomcat detect whether a browser accepts cookies

2006-06-21 Thread David Kerber
Why would it try until your app tells it to? AFAIK (admittedly, not very far; I don't use cookies) think it needs to be handled by your app. Garey Mills wrote: David - Well, okay then, but how can my app find out what Tomcat knows about whether the browser accepts cookies or not? A

Re: Tomcat java processes eat processor.

2006-06-21 Thread Leon Rosenberg
I really should have added instructions :-) but ok, here they are goto http://moskito.anotheria.net/download/nightly/ and download the nightly (actually daily) build http://moskito.anotheria.net/download/nightly/moskito-dist.2006-06-21.tar.gz you can check the contents of the demowebapp (moski

query

2006-06-21 Thread veena v
I have windows xp installed on my system. I installed tomcat 4.1 and it was working properly. But after installing oracle 9i tomcat is not working though i have installed tomcat and oracle on different port. Please do help me.

Re: How does Tomcat detect whether a browser accepts cookies

2006-06-21 Thread Garey Mills
David - Well, okay then, but how can my app find out what Tomcat knows about whether the browser accepts cookies or not? And when does Tomcat try? Before control is passed to my app? Garey Mills Library Systems Office UC Berkeley The brain is not where you think On Wed, 21 Jun 2006, Dav

Re: How does Tomcat detect whether a browser accepts cookies

2006-06-21 Thread David Kerber
I think what he's getting at is that Tomcat (or any other web server) cannot tell how a browser is set wrt cookies without trying to set one and then seeing if it's there. Garey Mills wrote: Martin - I guess I'm being obtuse, but WHAT won't work? What I want to know is how Tomcat det

mod_jk failover and preferring localhost

2006-06-21 Thread thuss2
We have 10 web servers with Tomcat's running on them and a mod_jk configuration to prefer the tomcat on localhost and only failover to another machine if the local one fails. This worked fine under our older mod_jk, however, we just upgraded to 1.2.15 and now it that the local_worker properties ar

Re: How does Tomcat detect whether a browser accepts cookies

2006-06-21 Thread Garey Mills
Martin - I guess I'm being obtuse, but WHAT won't work? What I want to know is how Tomcat detects whether the browser accepts cookies, that is, whether it is set to accept cookies or not? Garey Mills Library Systems Office UC Berkeley The brain is not where you think On Wed, 21 Jun 2006

Re: Tomcat session replication/cluster

2006-06-21 Thread Filip Hanik - Dev Lists
if the cluster is put in the engine element, the context names are prefixed with the engine name, since you can have multiple contexts with the same name in different host when reloading a context, you'll get these errors cause the context is not available during the reload this will be fixed w

Re: How does Tomcat detect whether a browser accepts cookies

2006-06-21 Thread Martin Gainty
Garey- Unfortunately that wont work if your Browser disallows cookies If its IE Check out the IE options- Tools Internet Options Privacy Advanced look at "switched on Always allow Session Cookies" HTH, Martin -- * This email m

Re: mod_jk Status Busy Number

2006-06-21 Thread Troy Davidson
Here is that data a bit better: NameTypeHostAddrStatFVAccErrWr RdBusyMaxRRCd tomcat24ajp1310.9.100.2:2400910.9.100.2:24009Stopped 1659803960 0 429496729448 tomcat14ajp1310.9.

Re: How does Tomcat detect whether a browser accepts cookies

2006-06-21 Thread Garey Mills
Leon - Thank you for your response, but I don't understand it. I have a key question: how does Tomcat detect that a browser does not accept cookies? There are a number of different ways to detect it inside my application, but all of them seem to need a roundtrip to the

mod_jk Status Busy Number

2006-06-21 Thread Troy Davidson
We are doing load balancing with Apache and mod_jk. We have five instances of Tomcat running on three servers. Two Tomcat instances are fine. But, Three Tomcat instances show really high "Busy" numbers on the Status page. Here is what it looks like: NameTypeHostAddrStat

Tomcat session replication/cluster

2006-06-21 Thread Pid
I'm seeing an issue on 5.5.17 with a 2 node cluster config. When a context is reloaded, it sends the context node name incorrectly to the cluster. E.g. context is called "website1" SEVERE: Context manager doesn't exist:website1website1 The config I'm using is exactly the same as the default from

Re: tomcat in-memory session replication

2006-06-21 Thread Sean O'Reilly
On Wed, 21 Jun 2006 11:26:28 -0500 Filip Hanik - Dev Lists <[EMAIL PROTECTED]> wrote: > also, use Tomcat 5.5.17 > > Sean O'Reilly wrote: > > Hi, > > > > I am trying to get in-memory session replication working and am > > testing running 3 seperate tomcat instances on the same server. > > > > I am

Re: Question about StandardSession and ApplicationContext

2006-06-21 Thread Filip Hanik - Dev Lists
the StandardSession is not big, I would go back and guess it is your application. The key is to read the profiling data correctly, that's where I would start. Tomcat has been optimized for memory and cpu usage, so 11MB session objects would have been discovered early on. John McClain wrote: I

Re: how do I set up a default context for a virtual host

2006-06-21 Thread Pid
If you put wiki.war into c:/wiki it will deploy and create c:/wiki/wiki/ then the app will (if it's working) be available at: http://server:port/wiki/ teknokrat wrote: > Yeah, I have. If you have a look at the bottom I have a ROOT.xml with Read it again. > > > I have tried using just with

Re: tomcat in-memory session replication

2006-06-21 Thread Filip Hanik - Dev Lists
also, use Tomcat 5.5.17 Sean O'Reilly wrote: Hi, I am trying to get in-memory session replication working and am testing running 3 seperate tomcat instances on the same server. I am using tomcat-5.5.15 and apache-2.0.54 with jk2. Whenever i run my test app although it should be doing round-ro

Re: tomcat in-memory session replication

2006-06-21 Thread Filip Hanik - Dev Lists
you have two issues and would be better off trying to isolate them separately. 1. Session replication not working To Troubleshoot: Isolate the problem, so in this case, get rid of apache/mod_jk Follow these steps: 1. Get a small load balancer like http://siag.nu/pen/ If you are on windows, dow

Question about StandardSession and ApplicationContext

2006-06-21 Thread John McClain
I am profiling our application in jprofiler. I have noticed that the deep size of StandardSession object for each user is VERY large - ~ 11+mb. Yet I know that we are not adding that much data. Where is all that memory coming from? Is it truly non static data that is overhead for each session, or i

tomcat in-memory session replication

2006-06-21 Thread Sean O'Reilly
Hi, I am trying to get in-memory session replication working and am testing running 3 seperate tomcat instances on the same server. I am using tomcat-5.5.15 and apache-2.0.54 with jk2. Whenever i run my test app although it should be doing round-robin load balancing it doesn't switch to another

Re: how do I set up a default context for a virtual host

2006-06-21 Thread teknokrat
Yeah, I have. If you have a look at the bottom I have a ROOT.xml with I have tried using just with no success Pid wrote: Read the docs: http://tomcat.apache.org/tomcat-5.5-doc/config/context.html Context path attribute: "The value of this field must not be set except when statically def

Re: pdf documents

2006-06-21 Thread Pid
Bob Wyatt wrote: > Pid, > > HREF="C666119.pdf" OK. The above is a relative path. The client browser (not the webapp) is looking in the wrong place, because you aren't telling it the correct path. You really need to try to get your head round the difference between relative and absolute paths and

Re: Tomcat's scalability

2006-06-21 Thread Alex Turner
This discussion focuses primarily on serving static files to a client, not processing dynamic web pages. Most people running tomcat are processing dynamic pages, like getting data from a database and compositing a page based on that data. An FTP site, or a static web site will typically be I/O b

RE: pdf documents

2006-06-21 Thread Bob Wyatt
Pid, HREF="C666119.pdf" As no file path is in HREF, and pdf.xml is correct (as exhibited by http://myipaddr:8100/pdf), should I be changing the path from /pdf to /myapp/jsp/app, or are you advocating changing the app so the HREF becomes /usr/lg/unformq/C666119.pdf? This latter one, I have no idea

Re: what happens with the content.xml file

2006-06-21 Thread Pid
Read the docs: http://tomcat.apache.org/tomcat-5.5-doc/config/context.html Context path attribute: "The value of this field must not be set except when statically defining a Context in server.xml, as it will be *infered from the filenames* used for either the .xml context file or the docBase."

Re: how do I set up a default context for a virtual host

2006-06-21 Thread Pid
Read the docs: http://tomcat.apache.org/tomcat-5.5-doc/config/context.html Context path attribute: "The value of this field must not be set except when statically defining a Context in server.xml, as it will be infered from the filenames used for either the .xml context file or the docBase."

how do I set up a default context for a virtual host

2006-06-21 Thread teknokrat
I trying to setup virtual hosts on tomcat 5.5. and windows. I have added the following to server.xml I have added context.xml to conf/Catalina/wiki.net containing Then I have added wiki.war to C:\wiki and restarted tomcat. Going to http://wiki.net produces nothing, http:/wiki.net/w

Re: pdf documents

2006-06-21 Thread Pid
Bob Wyatt wrote: > Pid, > > I mean that it appears as though the webapp is looking in its own path for > the pdf, and not the path of pdf files defined for Tomcat... Yes, see below. > The webapp true path would be: > $CATALINA_HOME/webapps/myapp/jsp/app/C666119.pdf... OK, that's a filing system

Re: Tomcat's scalability

2006-06-21 Thread Andrew Miehs
Now that we are moving to the theoretical discussion, you will probably want to have a look at http://www.kegel.com/c10k.html Regards Andrew On 21/06/2006, at 4:56 PM, Mladen Adamovic wrote: I spoke recently with guy from Microsoft (project manager from server division). He said that hea

Re: Tomcat java processes eat processor.

2006-06-21 Thread Martin Gainty
Rick-- 2 options go commercial and buy a monitor app that will display all the CPU, Thread, Memory, I/O metrics http://manageengine.adventnet.com/products/applications_manager/monitor-tomcat.html -OR- I found by hand tuning the startup.sh or startup.bat files I could fine tune the number of inv

Re: Tomcat's scalability

2006-06-21 Thread Mladen Adamovic
Alex Turner wrote: Please also note that having a max threads of 750 is pretty much gaurtenteed to cause your system to grind to a halt under high load. (Most linux systems I've seen buckle somewhere around a load average of 75 or so, which means 75 threads waiting for CPU time). You mean 75

Re: Tomcat creating two threads for one request

2006-06-21 Thread ametsi
If I am not mistaken jakarta-tomcat-5.0.28 -- View this message in context: http://www.nabble.com/Tomcat-creating-two-threads-for-one-request-t1743271.html#a4975580 Sent from the Tomcat - User forum at Nabble.com. - To start a

Re: Tomcat's scalability

2006-06-21 Thread Mladen Adamovic
Please see http://java.sun.com/developer/technicalArticles/Programming/linux/ Java on linux has been natively multithreaded since 1.3 Uops, I haven't known. Thank you all for your information (to Alex Turner, Leon Rosenberg, Darryl Milles). I was mistaken about this. -

Re: Tomcat java processes eat processor.

2006-06-21 Thread Rick Cockerham
This looks perfect. It's what I need. However... I've been all over the website below. I don't see how to install this through web.xml. I see how to extend a servlet. I'm using JSP. So, that's a little more difficult. Thanks, Rick Leon Rosenberg wrote: look at this: http://moskito.an

RE: pdf documents

2006-06-21 Thread Bob Wyatt
Martin, Thank you for the reply... I have no idea where to make the suggested changes... I am really, really new to this and have zero experience with this... If someone has the patience to help me, I would appreciate it! Regards, Bob -Original Message- From: Martin Gainty [mailto:[EM

what happens with the content.xml file

2006-06-21 Thread thomas . stettler
Hi folks, I'm quiet new to tomcat, but there is already a thing I can't understand: I have downloaded the Lambda Probe application version 1.5.0.3. I've got the .war file called probe.war. The only thing I did is to rename the file to probe_1.5.0.3.war and deployed it to my tomcat 5.5.17 (I dow

Re: pdf documents

2006-06-21 Thread Martin Gainty
Hi Bob- in your Tomcat servlet code you can read the file directly in this example I am reading fubar.properties from folder /fu/bar BufferedReader reader = new BufferedReader(new FileReader("/fu/bar/fubar.properties")); (If not you will have to supply URI such as http://server:port/WebAppName/R

Persistent Sessions and custom path attribute

2006-06-21 Thread super_drone
Hi All I'm trying to implement persistent sessions in Tomcat so a shutdown/startup sequence doesn't force me to login again. I've created context.xml in META-INF directory with following content: There are two questions: 1. Shutdown/Startup still forces me t

RE: pdf documents

2006-06-21 Thread Bob Wyatt
Pid, I mean that it appears as though the webapp is looking in its own path for the pdf, and not the path of pdf files defined for Tomcat... The webapp true path would be: $CATALINA_HOME/webapps/myapp/jsp/app/C666119.pdf... We connect to it by http://myipaddr:8100/myapp The app 'myapp' is a thi

Re: pdf documents

2006-06-21 Thread Pid
np I don't understand why you're or your webapp is looking here: /myapp/jsp/app/C666119.pdf when the files are available here: /pdf/C666119.pdf Is the first a filesystem path, or a web URL? When you say "my webapp does not pull it from here", what do you mean by that? Sorry if I came to this

Re: Tomcat 5.5.17 APR/SSL Client Certificat

2006-06-21 Thread alym
thanks for your reponse But i find the trouble , tomcat 5.5.17 with tomcat-native-1.1.3 and APR-1.2.7 work well with only openssl-0.9.7 series not with openssl-0.9.8 series. regards, Jean-Michel -- View this message in context: http://www.nabble.com/Tomcat-5.5.17-APR-SSL-Client-Certificat-t1810

Re: file upload speed.

2006-06-21 Thread CMSuser
Leon Rosenberg-3 wrote: > > I ment rather how do you handle the upload in tomcat? > I have not written any custom "upload handlers" on the web server side. I just give the appropriate url to the "put client" and it's done. -- View this message in context: http://www.nabble.com/file-upload-s

Re: file upload speed.

2006-06-21 Thread CMSuser
Leon Rosenberg-3 wrote: > > I ment rather how do you handle the upload in tomcat? > I have written any custom "upload handlers". I just give the appropriate url to the "put client" and it's done. -- View this message in context: http://www.nabble.com/file-upload-speed.-t1816944.html#a497432

RE: pdf documents

2006-06-21 Thread Bob Wyatt
Mark, Pid posted a solution that works for me in the testing, but not in my app... I am posting the server.xml to comply with your request, but I am fairly certain that the file was not edited or altered when the app was installed. The app is third-party... So my questions now delve on how to m

Re: file upload speed.

2006-06-21 Thread Leon Rosenberg
I ment rather how do you handle the upload in tomcat? On 6/21/06, CMSuser <[EMAIL PROTECTED]> wrote: FYI- I've been using the curl command line client for the uploads and downloads. When I tried the commons HttpClient from a java program, the upload/download throughputs matched !! (at over 8

RE: pdf documents

2006-06-21 Thread Bob Wyatt
Pid, Thank you very much for this response... Placing the pdf.xml file in $CATALINA_HOME/conf/Catalina/localhost does now allow http://myipaddr:8100/pdf to display the files in the specified directory. However, my webapp still does not pull it from here; it reports that the resource /myapp/jsp/a

multiple tomcat services

2006-06-21 Thread Bharathi Kattamuri
Hi, I have installed multiple tomcat instances with apche server and mod_jk connector, in windows environment. I have problem in configuring the tomcats as separate services. Could anyone suggest me how to install these tomcats as services. Any help is appreciated. with regards, Bharat

Re: Tomcat creating two threads for one request

2006-06-21 Thread Darryl Miles
ametsi wrote: Tomcat Version: 5.0 Can you get a more precise version ? 5.0.0 ? 5.0.99 ? Darryl - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mai

IIS and Tomcat authentication problems

2006-06-21 Thread Markus Müller
Hi listers, I want to use IIS with Tomcat using the the NTLM-detected user name. The integration of IIS and Tomcat works fine, but not the authentication. I managed this for a number of Tomcat versions before, but right know I cannot get it to work. Im am using: Tomcat 5.5.12 IIS V6.0 Windows Serv

Re: Tomcat creating two threads for one request

2006-06-21 Thread ametsi
ok lets take one thing at a time... I am not an expert on this Running the application locally using IntelliJ and tomcat: java -version: "1.3.1_01" Tomcat Version: 5.0 While running on the server: Sun(TM) ONE Application Server 7 java version "1.4.1_06" Keep in mind that It does not happen

Re: Mod_jk/firewall configuration problems

2006-06-21 Thread Jess Holle
Did you check your OS's keep alive interval and modify it if necessary? This interval has to be more frequent than your firewall's idle connection termination timeout -- otherwise setting keepalive in mod_jk does nothing for you. [This is alluded to in the docs. The details on setting this i

RE: Mod_jk/firewall configuration problems

2006-06-21 Thread Greg Allen
The server.xml is attached. I access it from inside via "http://dilbert/testapp";. The hostname is resolved in my /etc/hosts file. From outside the firewall, I access it via IP. The router is configured to forward port 80 traffic to the web server (by IP address). -- Greg -Original Mes

RE: Mod_jk/firewall configuration problems

2006-06-21 Thread Serlet Jean-Claude
Sorry : that 's all i thought Hope that you don't forget to stop and restart your Apache server after modifying workers.properties Jean-Claude _ De : Greg Allen [mailto:[EMAIL PROTECTED] Envoyé : mercredi 21 juin 2006 13:37 À : Serlet Jean-Claude; users@tomcat.apache.org Objet

Re: pdf documents

2006-06-21 Thread Suba Suresh
Is this problem of document access in different directory with 5.5.17? I am running the same build. Someone posted last week under the topic "Tomcat configuration error" and yesterday Daniel has posted a similar problem under "Tomcat 5.5.17 and Ant". suba suresh. Mark Thomas wrote: Bob Wya

RE: Mod_jk/firewall configuration problems

2006-06-21 Thread Raghupathy,Gurumoorthy
Can you send me how you are accessing the website from within the firewall and how you are accessing the same outside the firewall ? Can you also send me the server.xml Regards Guru Gurumoorthy Raghupathy Web Support - Fidelity Investments International * Tel: +44 1737 836798 * Internal: 8-72

how to avoid dialog in basic authentication

2006-06-21 Thread markusin
Hello I have two pages, where pages2 will be opened via a link from page1. Page2 is only accessable via authentication (using BASIC). So my question is, how can I avoid that from page1 when I am opening page2, the dialog for authentication, by using a default user? (i.e. guest). Any ideas or g

RE: Mod_jk/firewall configuration problems

2006-06-21 Thread Greg Allen
I didn't have socket_keepalive set. But I added it and still have the same problem. >From my httpd.conf: JkLogFile /var/log/httpd/mod_jk.log JkLogLevel debug # Just like workers.properties but exact line is prefixed # with JkWorkerProperty # Minimal jk configuration JkWorkerPro

Re: file upload speed.

2006-06-21 Thread CMSuser
FYI- I've been using the curl command line client for the uploads and downloads. When I tried the commons HttpClient from a java program, the upload/download throughputs matched !! (at over 85% ). regards, Aman. -- View this message in context: http://www.nabble.com/file-upload-speed.-t181694

Re: Tomcat creating two threads for one request

2006-06-21 Thread Darryl Miles
ametsi wrote: Having a similar problem, I would like to know if you have found any solution on this... No one quoted their Tomcat and JVM versions to help expose the problem. How are you all sure its no a client problem ? I can't see how the suggestion is listening on two ports can be a pr

Re: UTF-8 headers and JSP included files

2006-06-21 Thread Seak, Teng-Fong
Mark Thomas wrote: Dariusz Wojtas wrote: Any hints how to get rid of these extra FFFE chars? My included files need to be UTF-8 encoded. Use a text editor that doesn't insert these characters automatically. Mark Yup, for example, Eclipse (version 3 or higher). It is actually bad n

Re: Tomcat's scalability

2006-06-21 Thread Darryl Miles
Mladen Adamovic wrote: Biernatowski, Is your HTTP application multi-threaded ? Irrelevant. Unimportant. Why is that ? What happens if his app is using this line in JSP ? <%@ page isThreadSafe="false" %> Google is your friend. Or to have i.e. extremely large Lucene database or some other

Re: Tomcat's scalability

2006-06-21 Thread Darryl Miles
Mladen Adamovic wrote: Max number of Java thread, IMHO. Java thread is not the same as operating system thread. In fact, JVM used to be single threaded on Linux and Windows and I'm not quite sure has it changed recently. So, you might have 800 Java threads but it is still one thread on operatin

RE: Using Datasource for cloudscape

2006-06-21 Thread Jitendra Kharche
Hi Dilan, Thanks for helping again. I had attached files but it seems attachments are not allowed. I am adding the contets of these files below. To keep the mail size samll I am removing old contents of the mail. For the sake of clarity I am putting my problem statement also. Problem: I am usin

Re: file upload speed.

2006-06-21 Thread Leon Rosenberg
The question is - how do you upload? leon On 6/21/06, CMSuser <[EMAIL PROTECTED]> wrote: Antonio, I've done other experiments (without tomcat) where the upload speed is better. There are no throughput constraints in the network/server configuration. Unless it's internally imposed by tomcat web

Re: Http11AprProtocol took 2 hr to init on http-443

2006-06-21 Thread Markus Schönhaber
Mladen Turk wrote: > Markus Schönhaber wrote: > > Maybe someone of the devs chimes in and proves me right or wrong. > > Use class="org.apache.coyote.http11.Http11BaseProtocol" inside >

Re: pdf documents

2006-06-21 Thread Pid
Don't you need to put the context file pdf.xml in a different place? $CATALINA_HOME/conf///pdf.xml Once it's there you have to call the correct URL, which will be /pdf/.pdf Bob Wyatt wrote: > Mark, > > I appreciate all of your help and energy on my behalf... > > But alas, this does not wor

Re: Http11AprProtocol took 2 hr to init on http-443

2006-06-21 Thread Mladen Turk
Markus Schönhaber wrote: Maybe someone of the devs chimes in and proves me right or wrong. Use class="org.apache.coyote.http11.Http11BaseProtocol" inside

Re: Tomcat 5.5.17 APR/SSL Client Certificat

2006-06-21 Thread alym
Thanks for your answer I use openssl 0.9.8 to generate self-signed ca-certificat , and server certificat and user certificat if i use tomcat whitout apr but with jsse i get my client certificat (of course i use keytool to import all certificats generated by openssl ). If i use apache 2 + mod_jk

Re: Http11AprProtocol took 2 hr to init on http-443

2006-06-21 Thread Markus Schönhaber
Jeff Chuang wrote: > I could reproduce this problem on ALL my dual core AMD Opteron servers > running FC5-x86_64. Not sure it is OS porting problem? JVM problem? > native jni problem? or combination? > Is it possible to configure Tomcat to use APR on port 80, but disable > APR on port 443 to use re

RE: Using Datasource for cloudscape

2006-06-21 Thread Dilan Kelanibandara
Hi Jitendra, Have you created an application called myApp in webapps. You forgot to attach files it seems. I did not receive any attachment. Regards, Dilan -Original Message- From: Jitendra Kharche [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 21, 2006 10:24 AM To: Tomcat Users List S

Re: Mod_jk/firewall configuration problems

2006-06-21 Thread Francis Galiegue
2006/6/21, Serlet Jean-Claude <[EMAIL PROTECTED]>: Please give the configuration of your workers : the workers.properties.file Have you set worker.yourworker.socket_keepalive=1 in it ? Hmm, I didn't know about this option. Sometimes in our webapp we get a strange behaviour, that is in the midd

  1   2   >