Re: Resource Injection

2007-07-29 Thread ben short
Or have a look at www.springframework.org On 7/29/07, Johnny Kewl [EMAIL PROTECTED] wrote: - Original Message - From: John McPeek [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Sunday, July 29, 2007 4:47 AM Subject: Resource Injection I want to use Resource

Webapp file permissions in Tomcat 5.5

2007-07-29 Thread Marco
Hello, I am having problems making my webapps capable of doing read/write statements. They fail with an 'permission denied' exception. The webapps run on the server with Plesk 8.1.1 and Tomcat 5.5.23-0jpp.2.fc6 installed. I use simple statements like:

Re: Tomcat with 8 GB memory

2007-07-29 Thread Peter Stavrinides
Some of arguments presented hold some truths, but look at the bigger picture... the point is that 64bit is a superior architecture to 32 bit, but it is still maturing... the reasons for this are both hardware and software related... the way we write programs will have to change to take

Re: Webapp file permissions in Tomcat 5.5

2007-07-29 Thread Len Popp
Have you checked that the user account Tomcat runs under has permission to write files in the directory you're using? Also, have you tried writing files in the temp directory provided by the container? (identified by context attribute javax.servlet.context.tempdir) -- Len On 7/29/07, Marco

Re: Tomcat with 8 GB memory

2007-07-29 Thread Ron Wheeler
This is a Tomcat forum so lets focus on the role of memory in a Servlet Engine. Read the Microsoft paper. http://msdn2.microsoft.com/en-us/vstudio/aa700838.aspx Bigger memory space means better performance when you have large numbers of users. If you are designing a Tomcat application

Re: Webapp file permissions in Tomcat 5.5

2007-07-29 Thread David Smith
The stack trace related to your permission denied exception would go miles toward resolving this. It may be because of the security manager or it may be because of OS limits on the permissions given to the user tomcat is running as. --David Marco wrote: Hello, I am having problems

Re: Webapp file permissions in Tomcat 5.5

2007-07-29 Thread Martin Gainty
in $CATALINA_HOME/conf/catalina.policy make these grants so tomcat has permission to the folder (or specific file) //substitute in the exact folder location to ${java.home}/lib the - at the end says ALL files in that folder.. grant codeBase file:${java.home}/lib/- { permission

Vista woes....

2007-07-29 Thread maya
hi, am trying to get Tomcat to run in Vista, have dl'd and installed Tomcat 5.5.23 set necessary vars thus: JAVA_HOME=C:\Java\jdk1.5.0_12 JRE_HOME=C:\Java\jdk1.5.0_12\jre but when try to run a webapp I get a 404 (even tomcat-docs doesn't run..) I know how to set up Tomcat, have done it

100% CPU usage

2007-07-29 Thread rcgeorge23
Hi Folks, Tomcat 5.5 Java 1.5 Hibernate 3.2 (with C3P0 connection pooling) I'm currently experiencing a problem in our production environment where Tomcat very quickly consumes 100% of the CPU and doesn't give it back. The webapp (an ecommerce system) runs absolutely fine on my laptop (inside

Re: Tomcat with 8 GB memory

2007-07-29 Thread David Smith
...but people advice that 64bit are 20 - 30% slower than the 32bit ... Could these people offer any evidence to this? Cite any benchmarks? I would like to see the evidence of this before believing it to be true. --David Mohan2005 wrote: Hello: we also wish to convert out 32bit dual cores

Re: Tomcat with 8 GB memory

2007-07-29 Thread Leon Rosenberg
On 7/29/07, Mohan2005 [EMAIL PROTECTED] wrote: Hello: we also wish to convert out 32bit dual cores to 64bit dual cores to run java applications (multiple instances with large JVM memory) but people advice that 64bit are 20 - 30% slower than the 32bit with smaller JVM. why? and if true how

Re: 100% CPU usage

2007-07-29 Thread rcgeorge23
Guys, I've now fixed this. There is a bug in the tcnative-1.dll library that ships with Tomcat 5.5.17. I realised that if I connected to my webapp on port 8080 (rather than through IIS) everything was fine so I replaced the tcnative library with version 1.1.8, which you can find here

Re: Tomcat with 8 GB memory

2007-07-29 Thread Andrew Miehs
On 29/07/2007, at 9:08 PM, David Smith wrote: ...but people advice that 64bit are 20 - 30% slower than the 32bit ... Could these people offer any evidence to this? Cite any benchmarks? I would like to see the evidence of this before believing it to be true. We did test with out

Re: Tomcat with 8 GB memory

2007-07-29 Thread Ron Wheeler
Caldarale, Charles R wrote: From: Ron Wheeler [mailto:[EMAIL PROTECTED] Subject: Re: Tomcat with 8 GB memory 2GB is the limit for 32 bit applications. Minor correction: some versions of 32-bit Windows Server have a boot-time option to use 3 GB for each user process, which allows a

Re: Vista woes....

2007-07-29 Thread Steve Ochani
Date sent: Sun, 29 Jul 2007 18:56:01 + (UTC) From: maya [EMAIL PROTECTED] Subject:Vista woes To: users@tomcat.apache.org Send reply to: Tomcat Users List users@tomcat.apache.org hi, am trying to get Tomcat to

Re: Vista woes....

2007-07-29 Thread Martin Gainty
Hi Steve- Obvious stuff first...DId you Make sure the JDK is installed? Also Check to make sure the runtime (msvcr71*.dll) library is located in your %CATALINA_HOME%/bin in case you're not pathing to it Also there are special permissions to startup a Vista Service (I would advise starting CLI

Re: Tomcat with/without Tomcat native library

2007-07-29 Thread Bill Barker
Petr Sumbera [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi Guys, Does anybody have experience or even better some numbers comparing performance of Tomcat running with and without Tomcat native library (libtcnative-1)? I don't see any comparable difference so far (using TC

Re: Subdomains/ Virtual Hosts+ Tomcat 5.5/6.0

2007-07-29 Thread Bill Barker
£ukasz £apiñski [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hello, I am not really sure where to start. Whether it should be a dns modification or virtual hosts in tomcat? I am doing a web portal that a user after registration would have its own domain, such as:

Re: sessions not persisting between servlet calls

2007-07-29 Thread Filip Hanik - Dev Lists
David Smith wrote: If you are proxying your webapp, did you also set proxyName and proxyPort in your connector config for port 8081 in server.xml? in httpd.conf use ProxyPreserveHost, and that way you only have to set proxyPort in server.xml but even without proxyPort/proxyName, your cookies

RE: Vista woes....

2007-07-29 Thread Caldarale, Charles R
From: news [mailto:[EMAIL PROTECTED] On Behalf Of maya Subject: Vista woes for Tomcat I have set CLASSPATH thus: set CLASSPATH=.;apache-tomcat-5.5.23\common\lib\servlet-api.jar;ap ache-tomcat-5.5.23\common\lib\jsp-api.jar Get rid of the CLASSPATH - it need not and should not be set

Re: Tomcat with 8 GB memory

2007-07-29 Thread Peter Stavrinides
From your comments Ron you obviously didn't understand a thing I wrote, because you have just repeated me! Andrew Miehs wrote: On 29/07/2007, at 2:34 PM, Peter Stavrinides wrote: 32 bits processors can represent numbers up to 4,294,967,295 while a 64-bit machine can represent numbers up to