RE: Tomcat startup time delay in Windows 95/98

2004-11-18 Thread Pragyan Padmini Misra
Thanks Tim, But I guess this all has been taken care of. Dunno where the problem lies. -Original Message- From: Tim Funk [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 17, 2004 5:31 PM To: Tomcat Users List Subject: Re: Tomcat startup time delay in Windows 95/98 Just created,

RE: tomcat 5.0.28 on iseries os/400 version 5 release 2?

2004-11-18 Thread Roux, Wouter
Hi, I am currently running Tomcat 4.1.30 on the iseries (version5 release 2). Here is my startup script : export -s CATALINA_HOME=/tomcat4 export -s CATALINA_BASE=/tomcat4 export -s JAVA_HOME=/QIBM/ProdData/Java400/jdk14 export -s

Strange Problem!: Connection time out while using URLConnection connect method

2004-11-18 Thread vignesh
Hi All, I am posting this again. Please help. Thanks. --Forwarded message -- References: [EMAIL PROTECTED] From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Strange Problem!: Connection time out while using URLConnection connect method Date: Wed, 17 Nov 2004 09:30:17 GMT

REPOST: Recursive groups in JNDIRealm

2004-11-18 Thread Roland Carlsson
Hi! I'm am sorry for reposting this but I urgently need confirmation about Tomcat supporting or not supporting recursive searching in LDAP for Roles including other Roles. I post the relevant part of server.xml : Realm className=org.apache.catalina.realm.JNDIRealm debug=99

Problem With Tomcat and NT service

2004-11-18 Thread Raphael THIOLIERE
Hello, I use Tomcat like a server of webservices. When I run Tomcat with the script startup.bat, my application works fine. But when I want to launch Tomcat with the NT service (created by the install) it doesn't work : I have to copy a fichier in the directory system32. This fichier is use by my

after install i cann't shutdown the server with port 8080

2004-11-18 Thread Tomer Avitzur
Hi , I just install tomcat 4 And the server goes up but I cann't down it , the default port set to 8080 I get c:\Program Files\Apache Group\Tomcat 4.1\binshutdown.bat Using CATALINA_BASE: .. Using CATALINA_HOME: .. Using CATALINA_TMPDIR: ..\temp Using JAVA_HOME:

Re: Realms and Static pages

2004-11-18 Thread Chris Chappell
QM thanks - I was assuming a mapping between the (e.g.) Configs here for servlet and web-resource-name, which doesn't actually exist. Hence my befuddlement. servlet servlet-nameConfig/servlet-name security-constraint web-resource-collection

SV: after install i cann't shutdown the server with port 8080

2004-11-18 Thread Roland Carlsson
Hi! Are you sure that you have the rights to open ports? Are you sure that there arn't any other programs or instances of tomcat running at port 8080? That is the two reasons I have got that error. Regards Roland Carlsson Den 04-11-18 10.46, skrev Tomer Avitzur [EMAIL PROTECTED]:

Re: Strange Problem!: Connection time out while using URLConnection connect method

2004-11-18 Thread Sailing Cai
I think you may check you IP setting. You run tomcat in command prompt ,jvm binging your ip;but in windows service it may binding 127.0.0.1 or localhost. I guess it^_^ On Thu, 18 Nov 2004 09:36:32 GMT, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi All, I am posting this again. Please help.

Re: SSL and server.xml

2004-11-18 Thread birendar . waldiya
I too had bad time with this implementation because of fact I mis spelled keystore as keystores what i see in your server.xml issslProtocal is that required ? secondly i think you need to give the name of keystore file not just .keystore check snippet of my server.xml and compare

Re: secure jsp using web.xml in tomcat 5.0.19

2004-11-18 Thread birendar . waldiya
I think you need not to mention the method as the jsp is translated to a servlet with _service methds as main methods etc.. im not sure but i think so.. Birendar Singh Waldiya Tata Consultancy Services Limited Mailto: [EMAIL PROTECTED] Website: http://www.tcs.com Ashish Kulkarni [EMAIL

Re: Suggestion - upgrade scripts.

2004-11-18 Thread Andoni
Ok, I have been playing around with this idea. What I would use most would not so much be an upgrade script between versions but an upgrade script between sub-version. Or maybe even just a list of the files that have changed in a sub-version upgrade, and a copy of each one. Like an upgrade

Re: Strange Problem!: Connection time out while using URLConnection connect method

2004-11-18 Thread birendar . waldiya
Is this somthing related to external Ip and Internal ip if you are behind the firewall... Birendar Singh Waldiya Tata Consultancy Services Limited Mailto: [EMAIL PROTECTED] Website: http://www.tcs.com [EMAIL PROTECTED] 11/18/2004 03:06 PM Please respond to Tomcat Users List [EMAIL

Re: Suggestion - upgrade scripts.

2004-11-18 Thread QM
On Thu, Nov 18, 2004 at 10:32:33AM +, Andoni wrote: : Ok, I have been playing around with this idea. What I would use most would : not so much be an upgrade script between versions but an upgrade script : between sub-version. Or maybe even just a list of the files that have : changed in a

[OT] Re: wrong time in Java Applications to my location (new Date())

2004-11-18 Thread Jon Wingfield
The default timezone of a Sun JVM is determined by user locale settings. If the runtime can't determine a sensible timezone from those it defaults to GMT, which is 3hrs off from Brazilia time, i think. Looking at the source of TimeZone it uses the following system properties: user.timezone

context loaded twice

2004-11-18 Thread Asher Tarnopolski
hi, a strange thing i can't find a sollution for. i have a web app that runs in tomcat's root (placed in \webapps\ROOT). don't ask me why, it's just there. the controller servlet of the app has load-on-startup1.. it also prints in output START INIT when loaded. when i start tomcat i see this:

Re: context loaded twice

2004-11-18 Thread Jardin Xavier
I have encountered the same behavior in the past with out configuration apache + tomcat, the context start the first time after tomcat restart and a second time with the first apache connection. Using the following serveur.xml configuration the thing are now running well: Host name=localhost

RE: Problem With Tomcat and NT service

2004-11-18 Thread Hubble, Christopher
That's because when Tomcat is run as a service, it's base directory becomes System32 instead of whatever dir you run the startup bat file in. Chris -Original Message- From: Raphael THIOLIERE [mailto:[EMAIL PROTECTED] Sent: Thursday, November 18, 2004 4:40 AM To: Tomcat Users List

RE: Bind Object into Global JNDI Within Servlet?

2004-11-18 Thread Shapira, Yoav
Hi, The comp:env JNDI context is read-only for webapps. Yoav Shapira http://www.yoavshapira.com -Original Message- From: Seth Ladd [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 17, 2004 9:54 PM To: [EMAIL PROTECTED] Subject: Bind Object into Global JNDI Within Servlet? Hello,

Re: Tomcat 5.5.4 Stability

2004-11-18 Thread Remy Maucherat
On Wed, 17 Nov 2004 23:20:20 -0500, V D [EMAIL PROTECTED] wrote: I just test this at home. I change all settings to use Tomcat 5.5.4, Axis 1.2. The result is a big surprise. Right now, I hit the server with 2 clients, each has 150 connections. There is no error so far. This machine is

HTTP persistence with Tomcat 4.1.29

2004-11-18 Thread Chandrasekar Krishnan
Dear Tomcat users, What is the most reliable way to verify that persistent HTTP connections are maintained between a Tomcat server and a Java based Http Client (both HTTP 1.0 and 1.1 requests)? I've tried something on my own unsuccessfully. On the Tomcat server, I have turned on logging for the

Tomcat 5.0.28 javax.servlet.ServletException: Error allocating a servlet instance

2004-11-18 Thread Roux, Wouter
Hi, I have installed Tomcat 5.0.28 on iseries version 5 relsease 2. Here is my startup script export -s CATALINA_HOME=/tomcat5 export -s CATALINA_BASE=/tomcat5 export -s JAVA_HOME=/QIBM/ProdData/Java400/jdk14 export -s

RE: Problem With Tomcat and NT service

2004-11-18 Thread hui
Hi In this case, can we change the base directory? Regards, hui -Original Message- From: Hubble, Christopher [mailto:[EMAIL PROTECTED] Sent: Thursday, November 18, 2004 8:28 AM To: 'Tomcat Users List' Subject: RE: Problem With Tomcat and NT service That's because when Tomcat is run as a

RE: Problem With Tomcat and NT service

2004-11-18 Thread Hubble, Christopher
Not AFAIK. Chris -Original Message- From: hui [mailto:[EMAIL PROTECTED] Sent: Thursday, November 18, 2004 9:15 AM To: 'Tomcat Users List' Subject: RE: Problem With Tomcat and NT service Hi In this case, can we change the base directory? Regards, hui -Original Message- From:

RE: Problem With Tomcat and NT service

2004-11-18 Thread Shapira, Yoav
Hi, You can change the base directory by changing the location from which you start the server, on some operating systems. On others, this doesn't matter. Which is of course the problem with relying on a concept like base directory, or current working directory, as part of your design. It's

Re: Suggestion - upgrade scripts.

2004-11-18 Thread Didier McGillis
I would agree with this from most applications both open source and commercial license software they will provide infromation on how to upgrade and new features, and of course the software, but its still up to those maintaining their sites that are using the software to do the upgrading and

Sessions on restart

2004-11-18 Thread Mark O'Driscoll
Hi, Using 5.0.28 on Windows2000. I have a session listener that implements HttpSessionListener,ServletContextListener,HttpSessionActivationListener,HttpSessionBindingListener and it works fine in that I am notified of the context start, sessions being added destroyed. I am using this to

Re: HTTP persistence with Tomcat 4.1.29

2004-11-18 Thread Tim Funk
verified that the client is sending Keep-Alive. Is there any way to log the response header Connection to see whether the server is not sending Close in the response? I can't find a way to log response headers in Not really. (With the existing code base) Chunked encoding is needed for

RE: Sessions on restart

2004-11-18 Thread Shapira, Yoav
Hi, Now when tomcat restarts, the sessions persist OK but I have no way of knowing the list of active sessions. There will be an activation event for each session restored from disk. If your listener implemented HttpSessionActivationListener, you'd get this event. By monitoring session

Re: Sessions on restart

2004-11-18 Thread Mark O'Driscoll
Well, as you can see my listener implements this interface but the activation/ passivation methods are never called :-( I have flagged the class as a listener in m web.xml. Is there anything else I have to do? TIA Mark - Original Message - From: Shapira, Yoav [EMAIL PROTECTED] To:

Re: Sessions on restart

2004-11-18 Thread Jon Wingfield
Yep. Read the docs more carefully ;) The activation/passivation methods are called on objects that implement the listener AND are attributes of the session to be activated/passivated. Tomcat works as Yoav described. HTH, Jon Mark O'Driscoll wrote: Well, as you can see my listener implements this

How to upgrade an application without stopping service?

2004-11-18 Thread Agustín de la Herrán
I´ve an application running over tomcat 5.0.19 installed on a production server that can´t be stopped because it´s beeing used all the time. And i´ve got not permission to stop the service neither a moment. This application has changed, and now I´ve to upgrade it (classes, html and some .txt

RE: How to upgrade an application without stopping service?

2004-11-18 Thread Allistair Crossley
If your context is set to reloadable you might get away with it but other than that I do not think Tomcat can do this - certainly it's never worked when I have tried it with a WAR. I'm sure someone else has a better idea. -Original Message- From: Agustín de la Herrán [mailto:[EMAIL

question about Realm's scope

2004-11-18 Thread Gabriel Belingueres
Hi I'm running a Tomcat 5 in my job, where we have deployed a number of web application (ie. contexts). Some of this web applications require that the user be authenticated by a login screen (allways checking against the same database table), and some of the other applications are independent of

RE: question about Realm's scope

2004-11-18 Thread Shapira, Yoav
Hi, Realms can be defined at the Engine, Host, of Context level. If they're at the Context level, they will apply only to that webapp, so re-authentication will be required. At the Host level, no re-authentication will be needed if the second webapp is in the same Host. Same concept for the

RE: How to upgrade an application without stopping service?

2004-11-18 Thread Shapira, Yoav
Hi, You need to schedule down time for the server. Perhaps a night time window like 3am when usage is minimal. Then do the upgrade. Yoav Shapira http://www.yoavshapira.com -Original Message- From: Agustín de la Herrán [mailto:[EMAIL PROTECTED] Sent: Thursday, November 18, 2004 10:35

Re: secure jsp using web.xml in tomcat 5.0.19

2004-11-18 Thread Ashish Kulkarni
Hi I am using struts framework and want to make sure that sure access jsp only from action classes and not directly Ashish --- Larry Meadors [EMAIL PROTECTED] wrote: You told tomcat to only allow post and get access to your jsp files. Uhh, that is about all you can possibly allow. What

RE: How to upgrade an application without stopping service?

2004-11-18 Thread Peter Crowther
From: Shapira, Yoav [mailto:[EMAIL PROTECTED] You need to schedule down time for the server. Perhaps a night time window like 3am when usage is minimal. Then do the upgrade. An alternative, if you have the hardware for it, would be to install the new app version on new hardware but using

Re: Sessions on restart

2004-11-18 Thread Mark O'Driscoll
That worked fine. Thanks to you both Mark - Original Message - From: Jon Wingfield [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Thursday, November 18, 2004 3:35 PM Subject: Re: Sessions on restart Yep. Read the docs more carefully ;) The activation/passivation

Re: Tomcat 5.5.4 Stability

2004-11-18 Thread Vy Ho
I didn't use the default configuration. The app. ran fine with 200 client threads. When increased to 300 client threads, it went out of memory and I stopped it. So, after that, I increased the maxthread to 400, and give the server 512 M for max amount of memory. The app. then ran fine.

JDBC User Realm Error...

2004-11-18 Thread Quinton Delpeche
Hello Everybody, I have set up a JDBC User Realm that authenticates against a PostgresQL server for a specific engine. Whenever I try and log in, it authenticates the user correctly (I check the logs and get the message below): LOG EXTRACT 2004-11-18 18:09:59 JDBCRealm[]: Username patsyr

Re: Tomcat 5.5.4 Stability

2004-11-18 Thread Peter Lin
which tool are you using to stress test? perhaps try a different tool to double check? when I test, I like to use apache ab and jmeter to validate the results. I'm a bit paranoid when it comes to telling management, the server will handle X traffic :) peter On Thu, 18 Nov 2004 11:18:07 -0500,

Re: Tomcat 5.5.4 Stability

2004-11-18 Thread Vy Ho
This an a web service using Axis as the soap library. I developed my own stress tool for this. This is the same tool that get used at both computer. This is Windows XP. I'll see if SP2 will do any difference. The computer at home as SP2 on it. Peter Lin wrote: which tool are you using to

RE: Tomcat 5.5.4 Stability

2004-11-18 Thread Shapira, Yoav
Hi, This an a web service using Axis as the soap library. I developed my own stress tool for this. This is the same tool that get used at both computer. Your time would be better spent moving to a publicly available stress testing tool. There are many, including many free ones. Results that

Re: Custom tag attribute runtime expression containing and delimited by quotes. Supported in Tomcat, but not other JSP containers. What is the standard?

2004-11-18 Thread Sean Dockery
Hmmm... We found in section JSP 2.6 (page 41) in the Core Syntax and Semantics chapter of the JSP 1.2 specification that this... mytags:tag value=%= hi! % / ...is expressly illegal. Should this be considered to be a bug in Jasper? Sean Dockery [EMAIL PROTECTED] wrote in message news:[EMAIL

RE: Custom tag attribute runtime expression containing and delimited by quotes. Supported in Tomcat, but not other JSP containers. What is the standard?

2004-11-18 Thread Shapira, Yoav
Hi, What happens with Tomcat 5.x? (To which JSP Spec 2.0, not 1.2, applies). The reason I ask is that while you can file away bugs against 4.x to your heart's content, it's not being actively developed and you shouldn't hold your breath waiting for a fix. Yoav Shapira

Re: Tomcat 5.5.4 Stability

2004-11-18 Thread Peter Lin
you might want to give jmeter a shot and see if it backs up your results. couldn't hurt :) peter On Thu, 18 Nov 2004 11:36:20 -0500, Vy Ho [EMAIL PROTECTED] wrote: This an a web service using Axis as the soap library. I developed my own stress tool for this. This is the same tool that

Re: Problem displaying PDF in IE6 from Tomcat using the ActiveX R eader Plug-in

2004-11-18 Thread Aman Raheja
Some more info to respond to the earlier responses 1) We're seeing more evidence this is a problem with Reader 6.0.1 (or the 6.0.2 patch). We have a PC with Reader 6.0.0 that works Ok, as well as a PC with 5.0. Our company has done a mass upgrade to Reader 6.0.1 and IE 6.0.2, so these PCs are

SSL

2004-11-18 Thread Richard HALLIER
Hi everybody, Sorry if this question has been already asked, but i didnt find any pointers in the archive. I'm in the following context : Tomcat 5.0.x, Connector SSL active. I'd like to prevent everybody from using my webapp with the HTTP protocol, in fact I'd like to restrict access to my webapp

Re: Problem displaying PDF in IE6 from Tomcat using the ActiveX R eader Plug-in

2004-11-18 Thread David Wall
Have you tried using links like the following: http://yourhost.com/webappcontext/download.jsp/Germany.pdf The idea is that tomcat will find the JSP download.jsp and execute it, and since the link ends with the file name, some browsers will better detect the pdf reader launch. If you need some

Re: Tomcat 5.5.4 Stability

2004-11-18 Thread Vy Ho
Thank you for the advice. I'll give JMeter a shot. Shapira, Yoav wrote: Hi, This an a web service using Axis as the soap library. I developed my own stress tool for this. This is the same tool that get used at both computer. Your time would be better spent moving to a publicly available

Disadvantages to using unpackWARs=false?

2004-11-18 Thread Jonathan Eric Miller
Does anyone know if there are disadvantages to setting unpackWARs=false? What I'm wondering is if it then has to uncompress the .war file everytime a resource is accessed thus causing a performance hit? Jon - To unsubscribe,

RE: Disadvantages to using unpackWARs=false?

2004-11-18 Thread Shapira, Yoav
Hi, Does anyone know if there are disadvantages to setting unpackWARs=false? What I'm wondering is if it then has to uncompress the .war file everytime a resource is accessed thus causing a performance hit? We don't uncompress the file on every resource request ;) That'd be fairly awful

RE: SSL

2004-11-18 Thread Shapira, Yoav
Hi, Comment out the non-SSL connector element in server.xml. Yoav Shapira http://www.yoavshapira.com -Original Message- From: Richard HALLIER [mailto:[EMAIL PROTECTED] Sent: Thursday, November 18, 2004 12:02 PM To: tomcat mailing-list Subject: SSL Hi everybody, Sorry if this question

RE: SSL

2004-11-18 Thread Richard HALLIER
Thank you for your reply, but I've omitted to say that I have another webapp that is non-ssl, so I must have the two connectors (http, https) up. Do you have a solution ? Really thank you for your help. Richard -Message d'origine- De : Shapira, Yoav [mailto:[EMAIL PROTECTED] Envoye :

redirect catalina.out

2004-11-18 Thread Scott Pippin
I am trying to redirect catalina.out to an application specific log file. I thought I had it set up but it is still writing to catalina.out. server.xml Server port=8005 shutdown=SHUTDOWN debug=0 Listener className=org.apache.catalina.mbeans.ServerLifecycleListener debug=0/

Re: Problem displaying PDF in IE6 from Tomcat using the ActiveX R eader Plug-in

2004-11-18 Thread Aman Raheja
Here's some more input from our team, regarding the problem We've confirmed its defintely the charset=ISO-8859-1 appended to the Content-Type header that is causing the problem in IE. [I'm not saying IE shouldn't work with this, but we don't have a choice but to support it.] We wrote a

RE: SSL

2004-11-18 Thread Shapira, Yoav
Hi, Yeah, reorganize your server.xml into two engines, with one connector and webapp each. One engine will have the SSL connector and webapp, and the other engine will have the non-SSL connector and webapp. Yoav Shapira http://www.yoavshapira.com -Original Message- From: Richard

RE: redirect catalina.out

2004-11-18 Thread Shapira, Yoav
Hi, swallowOutput is not a Context attribute, it's a Logger attribute: change your context.xml to fix that. Yoav Shapira http://www.yoavshapira.com -Original Message- From: Scott Pippin [mailto:[EMAIL PROTECTED] Sent: Thursday, November 18, 2004 12:45 PM To: [EMAIL PROTECTED] Subject:

Re: Disadvantages to using unpackWARs=false?

2004-11-18 Thread Jonathan Eric Miller
OK, thanks for the info. Like you mentioned, I was thinking that redeployment would be easier with it set to false. I just wanted to make sure that I wouldn't be incurring a performance hit and the expense of not having to mess around with an extra directory. Thanks. Jon - Original Message

Re: Bind Object into Global JNDI Within Servlet?

2004-11-18 Thread Seth Ladd
Shapira, Yoav wrote: Hi, The comp:env JNDI context is read-only for webapps. Thanks for the reply! Any chance webapps will be able to bind objects into global JNDI in the future? I've been using Tomcat 5.0.x. Otherwise, any recommendations for sharing objects across webapps that can't be

Error while trying to start the Embedded Tomcat Server:

2004-11-18 Thread Mohamed Rafi S
Hi All, I am trying to have a Embedded Tomcat Server. I got the examples to do so from the web, and modified the code, so that my Tomcat server is embedded along with the Web Application. However, when I run the Embedded Tomcat class, it, I am getting the following error:

RE: Problem With Tomcat and NT service

2004-11-18 Thread Cox, Charlie
http://www.tburke.net/info/reskittools/topics/srvany_using.htm See the paragraph about setting the working directory... Charlie -Original Message- From: hui [mailto:[EMAIL PROTECTED] Sent: Thursday, November 18, 2004 9:15 AM To: 'Tomcat Users List' Subject: RE: Problem With Tomcat

RE: Bind Object into Global JNDI Within Servlet?

2004-11-18 Thread Shapira, Yoav
Hi, Thanks for the reply! Any chance webapps will be able to bind objects into global JNDI in the future? I've been using Tomcat 5.0.x. Any chance? Sure. It's low, but it's there. We're not working on it at the moment. But I'm following Geronimo:Naming

RE: Error while trying to start the Embedded Tomcat Server:

2004-11-18 Thread Shapira, Yoav
Hi, org.apache.catalina.servlets.DefaultServlet at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.ja v a:865) at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:776) at

Re: Error while trying to start the Embedded Tomcat Server:

2004-11-18 Thread Mohamed Rafi S
Yes, following is the root cause given from the exception logs...: - Root Cause - java.lang.ExceptionInInitializerError at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorA

Re: Bind Object into Global JNDI Within Servlet?

2004-11-18 Thread Seth Ladd
That's why we give you a shared classloader repository: $CATALINA_HOME/shared/classes and shared/lib, as explained in the classloader how-to. Things in there are visible to all webapps. You can further enforce patterns like a Singleton so that only one instance of a class exist and is shared

Re: Apache 2.0.52 Tomcat 5.5.4

2004-11-18 Thread Peter O'Reilly
Thanks for you're help but I still can't get it working yet. I downloaded and compiled j2k and I think at this point it is a properties configuration issue, but I'm not sure. This is the line I added to http.conf LoadModule jk2_module modules/mod_jk2.so From the apache error log, [Thu Nov 18

SSL mutual authentication problem with Tomcat5

2004-11-18 Thread Ryan LeCompte
Hello, I'm trying to have a standalone Java client communicate via SSL with a remote Tomcat5 server. I'm setting the two system properties for specifying the SSL trust store path and trust store password. The client is able to successfully communicate via SSL when Tomcat is configured to not

RE: SSL mutual authentication problem with Tomcat5

2004-11-18 Thread Hubble, Christopher
You need to pass the truststore into Tomcat as a JVM option. Look in the archives of the list for SSL. I posted all of my steps a month or so ago. Chris -Original Message- From: Ryan LeCompte [mailto:[EMAIL PROTECTED] Sent: Thursday, November 18, 2004 2:07 PM To: [EMAIL PROTECTED]

Re: Tomcat 5.5.4 Stability

2004-11-18 Thread Vy Ho
With SP2 of Windows XP, the computer previously can't handle 50 threads can handle 200 threads now. More than that, I got connection refused error. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

Re: Tomcat 5.5.4 Stability

2004-11-18 Thread Seth Ladd
Vy Ho wrote: With SP2 of Windows XP, the computer previously can't handle 50 threads can handle 200 threads now. More than that, I got connection refused error. I've had terrible performance on SP2 (my development box). Unless this is your deployment environment, don't trust or worry about

Re: Tomcat 5.5.4 Stability

2004-11-18 Thread Peter Lin
that's interesting. makes me wonder what changes in SP2 cause the improvement. peter On Thu, 18 Nov 2004 14:30:16 -0500, Vy Ho [EMAIL PROTECTED] wrote: With SP2 of Windows XP, the computer previously can't handle 50 threads can handle 200 threads now. More than that, I got connection refused

Realm using LOTS of DB connections

2004-11-18 Thread Norris Shelton
We have the manager app for each of our contexts set-up to use the DB to authenticate users. Unfortunately, it is using TONS of connections. Over an 8 min period, it used 1200 connections. We have 2 boxes, each with 16 contexts with their own manager context. Here is what the manager context

Re: redirect catalina.out

2004-11-18 Thread Shankar Unni
Shapira, Yoav wrote: swallowOutput is not a Context attribute, it's a Logger attribute: change your context.xml to fix that. Really? That's not what the doc says (or the source either). Just tested on 5.0.2x. (At least, I defined a DefaultContext swallowOutput=true/ in my Host, and standard

Re: Realm using LOTS of DB connections

2004-11-18 Thread Gabriel Belingueres
May be you should try using a DataSourceRealm, so that connections could be pooled by DBCP. On Thu, 18 Nov 2004 11:05:02 -0800 (PST), Norris Shelton [EMAIL PROTECTED] wrote: We have the manager app for each of our contexts set-up to use the DB to authenticate users. Unfortunately, it is using

Re: Realm using LOTS of DB connections

2004-11-18 Thread Seth Ladd
Norris Shelton wrote: We have the manager app for each of our contexts set-up to use the DB to authenticate users. Unfortunately, it is using TONS of connections. Over an 8 min period, it used 1200 connections. We have 2 boxes, each with 16 contexts with their own manager context. Here is what

RE: Problem displaying PDF in IE6 from Tomcat using the ActiveX R eader Plug-in

2004-11-18 Thread Phillip Qin
If you can visit our site at https://www.investments.shareowner.com/lciponline and view the sample pdf statement, then there is something definitely wrong with your own code - do not pointing to Tomcat. -Original Message- From: Aman Raheja [mailto:[EMAIL PROTECTED] Sent: November 18,

RE: redirect catalina.out

2004-11-18 Thread Shapira, Yoav
Hi, Yup, my mistake, thank you for pointing that out. (Although please don't use DefaultContext as an example of anything, it's an abomination). Yoav Shapira http://www.yoavshapira.com -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Shankar Unni Sent: Thursday,

RE: Errors in mod_jk2 log

2004-11-18 Thread Phillip Qin
There are tons of these messages appeared in my log. I've asked this question before, no one seems bother answering it. Shall we post it to connector's dev list? -Original Message- From: Lars George [mailto:[EMAIL PROTECTED] Sent: November 17, 2004 7:31 PM To: Tomcat Users List Subject:

Re: Realm using LOTS of DB connections

2004-11-18 Thread Norris Shelton
Sorry, I forgot to specify the version. TC 4.1.12 --- Norris Shelton [EMAIL PROTECTED] wrote: We have the manager app for each of our contexts set-up to use the DB to authenticate users. Unfortunately, it is using TONS of connections. Over an 8 min period, it used 1200 connections. We

Problem on SuSE 9.2...

2004-11-18 Thread Quinton Delpeche
Greetings, It is me again. What does this error mean: The time allowed for the login process has been exceeded Is there a problem with my PostgresQL JDBC driver for the User Realm? This same code worked on a MS-SQL server... ...why won't work it here. The previous server was a SuSE 9.0

write and read problem

2004-11-18 Thread Wout Perquin
Hi All, I run Tomcat4 on Linux Red Hat 7.1 From within the init() of a servlet I try to read and write to the local filesystem. The SecurityManager is not enabled because System.getSecurityManager() returns null. When I try to read/write something then log catalina.out tells me:

RE: write and read problem

2004-11-18 Thread Shapira, Yoav
Hi, Post your code and we might be able to help more. In general, the server admin may run with restrictive permissions for security at the OS level, so it wouldn't matter whether the Java Security Manager is running or not. This is usually a good idea. And writing files to a random directory

Re: Tomcat 5.5.4 Stability

2004-11-18 Thread Vy Ho
I just test the thing under Red Hat (old version, kernel 2.4.x). It could handle up to 350 threads before choking. I'll see how well it does under the latest kernel tonight. - To unsubscribe, e-mail: [EMAIL PROTECTED] For

RE: write and read problem

2004-11-18 Thread Wout Perquin
Thanks for responding. My code attached: Logging.java is the servlet Runner.java is a utility class also web.xml Thanks in advance, Wout Perquin -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: November 18, 2004 1:34 PM To: Tomcat Users List Subject: RE: write

Installing a webmail client such as squirrelmail (PHP) on tomcat?

2004-11-18 Thread David Lee
Hi! Folks, Has anyone run the php application on Tomcat?. I'm trying to install the squirrelmail on tomcat so I can web access my james email server. What is the best way to integrate the php with tomcat or any suggesstions or pitfalls to avoid? Any comments welcome. Thanks David Lee

Re: Installing a webmail client such as squirrelmail (PHP) on tomcat?

2004-11-18 Thread David Boyer
I think you'd be better off fronting Tomcat with Apache or IIS (depending on your platform). mod_php for Apache seems to have a pretty good track record. For IIS, I'd suggest using php.exe for process isolation rather than the PHP ISAPI application extension due to known threading issues. You

RE: Installing a webmail client such as squirrelmail (PHP) ontomcat?

2004-11-18 Thread David Lee
Thanks, I'll look into it. -Original Message- From: David Boyer [mailto:[EMAIL PROTECTED] Sent: Thursday, November 18, 2004 2:47 PM To: [EMAIL PROTECTED] Subject: Re: Installing a webmail client such as squirrelmail (PHP) ontomcat? I think you'd be better off fronting Tomcat with

Re: Installing a webmail client such as squirrelmail (PHP) on tomcat?

2004-11-18 Thread Hassan Schroeder
David Lee wrote: Has anyone run the php application on Tomcat?. I've tinkered with it -- using the phpservlet to run a calendar app. Works surprisingly well, but since you're hooking into native code, beware -- if (when!) it crashes, it takes the whole JVM with it :-) YMMV! -- Hassan Schroeder

RE: Installing a webmail client such as squirrelmail (PHP) on tomcat?

2004-11-18 Thread David Lee
Hi! Hassan, You mean phpservlet to read the php app config file or php files and then phpservlet to serve the php page? Your calendar app were written using PHP? Thanks David Lee -Original Message- From: Hassan Schroeder [mailto:[EMAIL PROTECTED] Sent: Thursday, November 18, 2004

Re: Installing a webmail client such as squirrelmail (PHP) on tomcat?

2004-11-18 Thread Hassan Schroeder
David Lee wrote: You mean phpservlet to read the php app config file or php files and then phpservlet to serve the php page? When you build (configure) php with --with-java=$JAVA_HOME (I think, it was a while ago I built this), you get a 'phpservlet.jar' created. Put that in

Re: Tomcat 5.5.4 Stability

2004-11-18 Thread Remy Maucherat
On Thu, 18 Nov 2004 17:14:53 -0500, Vy Ho [EMAIL PROTECTED] wrote: I just test the thing under Red Hat (old version, kernel 2.4.x). It could handle up to 350 threads before choking. I'll see how well it does under the latest kernel tonight. If you try FC 3, I recommend you also use Java 5

Re: context loaded twice

2004-11-18 Thread QM
On Thu, Nov 18, 2004 at 03:02:08PM +0200, Asher Tarnopolski wrote: : tomcat not only prints the report twice, it loads the webapp twice, : because right after the second time i get a nasty exception: To add on to the response you've already received from someone else: Tomcat's deploying your

RE: Installing a webmail client such as squirrelmail (PHP) on tomcat?

2004-11-18 Thread David Lee
Thanks lot, I will study it. David Lee -Original Message- From: Hassan Schroeder [mailto:[EMAIL PROTECTED] Sent: Thursday, November 18, 2004 3:51 PM To: Tomcat Users List Subject: Re: Installing a webmail client such as squirrelmail (PHP) on tomcat? David Lee wrote: You mean

Re: Strange Problem!: Connection time out while using URLConnection connect method

2004-11-18 Thread vignesh
Hi, Thanks. Thinking that could be the problem, I had already tried binding it with the specific IP address of the machine by setting the address attribute for HTTP connector in server.xml but that too didn't work. -- Original Message -- On 18 Nov 2004, 06:06:06 PM, Sailing

Re: Strange Problem!: Connection time out while using URLConnection connect method

2004-11-18 Thread vignesh
Hi, The I am running tomcat and the client program in the same subnet and so there is no such issue. Thanks. -- Original Message -- On 18 Nov 2004, 06:12:54 PM, [EMAIL PROTECTED] writes: Is this somthing related to external Ip and Internal ip if you are behind the

Tomcat 4.1.30 and Cookie problems (HTTP 1.1 spec)

2004-11-18 Thread Kilic, Hakan
Hi all, When using Tomcat 4.1.30, I haven't been able to determine from the documentation if it uses Netscape style cookies, or HTTP 1.1 style cookies. With Netscape style cookies, you get the EXPIRES attribute, and with HTTP 1.1 style, you get the MAXAGE attribute instead. Also, I'm seeing the

RE: SSL

2004-11-18 Thread Carl Olivier
Alternatively, if you wish to accept HTTP connections, but redirect (forced to https) you could add a security-constraint to your webapps /WEB-INF/web.xml - before the /web-app: security-constraint web-resource-collection web-resource-nameHTTP to

Webapps Root Folder

2004-11-18 Thread Richard
Hello Guys, I need to remove the webapp specific part / names on my application. For example http://mydomain.com/mywebapp/index.jsp and http://mydomain.com/mywebapp/serverpages/add-record.rr I need the user to just see http://mydomain.com/ on their browser. Can I just transfer the contents

  1   2   >