RE: Tomcat does not shutdown properly and kill -3 does not work!

2008-08-06 Thread Peter Crowther
From: Maduranga Kannangara [mailto:[EMAIL PROTECTED] Below is my dump and thanks a lot for your time. [...] Thread [EMAIL PROTECTED]: (state = BLOCKED) - java.lang.Thread.sleep(long) @bci=0 (Interpreted frame) - org.quartz.core.QuartzSchedulerThread.run() @bci=870, line=420 (Interpreted

RE: Possible virus uploaded to Tomcat 5.5.3

2008-08-08 Thread Peter Crowther
From: Warren Bell [mailto:[EMAIL PROTECTED] [details of attack elided] The network that the server is on has a Lynksys RV082 small business router with the firewall completely locked down except for port 8080 available only to the networks with the kiosks. The kiosks are on a basic Linksys

RE: how to make context path case insensitive

2008-08-11 Thread Peter Crowther
From: persistence k [mailto:[EMAIL PROTECTED] Can anybody tell me how to make context path of a web application case insensitve. I need a case insenstive context path for my web application. Do you need a case insensitive context path, or do you need users to be able to type in either case

RE: Problem with in Synchronized methods in Tomcat 4.x

2008-08-11 Thread Peter Crowther
From: Thangavel Sankaranarayanan [mailto:[EMAIL PROTECTED] After number of session in my application has reached in some point of time. the synchronized method is not executed and the system hangs waiting to execute that method. I could'nt make a thread dump as my tomcat is started

RE: Will tomcat handles Syn

2008-08-11 Thread Peter Crowther
As far as I know... From: Thangavel Sankaranarayanan [mailto:[EMAIL PROTECTED] Does Synchronization is taken care by Tomcat itself when i call a static method from a thread No. should i use synchronized keyword Depends. If your application will fail under some circumstances if the call is

RE: Chaining Request Processing

2008-08-12 Thread Peter Crowther
From: Jeng Yu [mailto:[EMAIL PROTECTED] The servlet (in Appserver A) then processes part of the form input in the doGet method and then needs to send the rest of the form to another web server (Appserver B) to process and return the results (response code or something) to the calling

RE: how to allow remote login in tomcat ?

2008-08-26 Thread Peter Crowther
From: Ajay Garg [mailto:[EMAIL PROTECTED] b) In Tomcat deployment, Tomcat needs the credentials to login into the shared folder (the fact that the the network folder has already been mapped onto a drive SUPPOSEDLY does not help ...) Mapped drives are per-user, not per-system. If Tomcat's

[OT] RE: Can't generate class file from Interface

2008-08-26 Thread Peter Crowther
This is not a Tomcat question. Please find a more appropriate list. - Peter -Original Message- From: sam wun [mailto:[EMAIL PROTECTED] Sent: 26 August 2008 13:03 To: Tomcat Users List Subject: Can't generate class file from Interface Hi, In Eclipse 3.4 (not

RE: Tomcat 5.5.0.26 / Performance issue

2008-08-27 Thread Peter Crowther
From: Anthony COMMUNIER [mailto:[EMAIL PROTECTED] I'am doing load tests with a web application that is deployed under Tomcat 5.5.0.26 Tomcat has 3-character version numbers, so this is probably 5.0.26 or 5.5.26? With only one request (no load just one call) it tooks 150 ms to call the

RE: Re: Can't execute servlet project

2008-08-27 Thread Peter Crowther
From: sam wun [mailto:[EMAIL PROTECTED] OK, I followed your instruction to invoke the servlet class file, but I got errors. [...] root cause java.lang.UnsupportedClassVersionError: Bad version number in .class file You're compiling your class with a newer Java version than your Tomcat

RE: Ignorance about some things.

2008-09-01 Thread Peter Crowther
From: Ronald Klop [mailto:[EMAIL PROTECTED] My experience is also that java likes more memory on 64-bit systems. But I can't prove or explain it. I would expect 64-bit Java to use 64-bit object pointers, and 32-bit Java to use 32-bit object pointers. Given how often object pointers occur in

RE: Installing Multiple Instances on Windows Server 2003

2008-09-02 Thread Peter Crowther
From: Steve G.B. [mailto:[EMAIL PROTECTED] I need to install multiple instances of Tomcat on my server. I changed all the connection and redirect ports, but the second Tomcat still doesn't start. What should I do? Give us more information - that's far too vague for us to help you. Post:

RE: Installing Multiple Instances on Windows Server 2003

2008-09-02 Thread Peter Crowther
From: Steve G.B. [mailto:[EMAIL PROTECTED] I'm trying to overload the Virtual Machine on which I've installed the two Tomcats. To check: this is a virtual computer (on a physical host computer) running a virtual operating system on which you are running two copies of Tomcat in two separate

RE: Installing Multiple Instances on Windows Server 2003

2008-09-02 Thread Peter Crowther
From: Steve G.B. [mailto:[EMAIL PROTECTED] I've created a VM with 4 VCores, and all of the cores are allocated to the VM. OK, so 50% CPU = 2 cores maxed out. Out of interest, is it 25% with only one Tomcat started? I'm using Sun JVM 1.6, and stressing the Guest with Loadrunner on another

RE: [NEWBIE] Separate tomcat engines on the same physical server

2008-09-09 Thread Peter Crowther
From: Jon Camilleri [mailto:[EMAIL PROTECTED] Hence, is it feasible to have: - Server 1 installed with Tomcat instance #1 and Tomcat instance #2 over JVM #1 - Server 2 installed with Tomcat instance #1 and Tomcat instance #2 over JVM #2 If by JVM you mean the files installed to support

RE: JVM per Context

2008-09-10 Thread Peter Crowther
From: Michael Dehmlow [mailto:[EMAIL PROTECTED] I have multiple contexts that are defined for a given host in my server.xml each context I would like to start up in its own jvm, for dll and enviornment variable reasons. As a solution sketch (I've never done it), you'll need to deploy

[OT] Filesystems allowing spaces (was RE: html entities and urls with spaces)

2008-09-11 Thread Peter Crowther
From: André Warnier [mailto:[EMAIL PROTECTED] Whichever bright developer invented the first filesystem allowing spaces in filenames should be found and shot. You'd have to go a long way back - UNIX has had them at least since I started using it*. Besides, users love 'em - it's just us

RE: Browser Limited web application

2008-09-17 Thread Peter Crowther
From: karthikn [mailto:[EMAIL PROTECTED] Question 2: How to fetch the MAC address (Physical address) of the clients using web application ? You can not do this at the server. Some clients may not even have one - a computer with no network card using a dial-up modem to

RE: apache and tomcat version

2008-09-17 Thread Peter Crowther
From: Hardik Shah [mailto:[EMAIL PROTECTED] is tomcat 3.2.1 and apache 1.3.27 are both server Tomcat 3.2.1 is a web server. You can use it to serve Web pages or web applications directly. You do not need to use any version of Apache httpd as well. If you want to use Apache httpd as well,

[OT] RE: Browser Limited web application

2008-09-17 Thread Peter Crowther
[Marked off-topic as this now has nothing to do with Tomcat] From: karthikn [mailto:[EMAIL PROTECTED] But some Browsers provide modification of User-Agent Is this fool proof ? No. You have no control over the client; you cannot determine what it really is, only what it says it is. AVG8,

RE: tomcat usage

2008-09-18 Thread Peter Crowther
From: Kusuma Pabba [EMAIL PROTECTED] what is the difference between running tomcat server and as client Tomcat is a Web server. There is no concept of running it as a client. What are you trying to do? We might be able to help more if you tell us! - Peter

RE: apache and tomcat version

2008-09-18 Thread Peter Crowther
From: [EMAIL PROTECTED] [EMAIL PROTECTED] Does Tomcat do the same thing as Apache? ie http; as well as the bonus of java? Yes, with reservations. Tomcat's a Web server in its own right - and a pretty fast one, in its modern versions. You'll saturate your network bandwidth long before you

RE: tomcat usage

2008-09-18 Thread Peter Crowther
From: Kusuma Pabba [mailto:[EMAIL PROTECTED] actually i want to use tomcat on my arm processor and i am not understanding how to use it on that 1) Set up an appropriate operating system on your ARM processor that includes a TCP/IP stack and support for a good Java virtual machine (must be at

RE: HTTPS and Virtual Hosts

2008-09-22 Thread Peter Crowther
From: André Warnier [mailto:[EMAIL PROTECTED] As I remember from reading about this a while ago, there is/was a fundamental incompatibility between the HTTP Virtual Host mechanism, and HTTPS/SSL, in the sense that there is some egg-and-chicken problem involved, which roughly goes like this :

[OT] RE: HTTPS and Virtual Hosts

2008-09-22 Thread Peter Crowther
From: Ognjen Blagojevic [mailto:[EMAIL PROTECTED] For instance, you could put 2 or more network cards in the server, and than configure one virtual host for each of these cards. Or configure multiple IP addresses on one card - almost all operating systems these days allow multiple IP

RE: Connector problem

2008-09-22 Thread Peter Crowther
From: Mathias P.W Nilsson [mailto:[EMAIL PROTECTED] Let's say I want a user to access the website in this fashion https://www.domain1.com ( SSL from thawte ) https://www.domain2.com ( SSL from thawte ) https://www.domain1.se ( SSL from thawte ) What would I have to do to make this work? I

RE: HTTPS and Virtual Hosts

2008-09-22 Thread Peter Crowther
From: Johnny Kewl [mailto:[EMAIL PROTECTED] I actually cant see any reason why the hand shake couldnt be extended to look at the incoming URL... Because the URL (or at least the host header) would have to be sent over the wire in cleartext, as it's before the encrypted connection is

RE: Connector problem

2008-09-22 Thread Peter Crowther
From: Mathias P.W Nilsson [mailto:[EMAIL PROTECTED] When a user access www.domain1.se then I read the HTTPServletRequest host name to see what site he/she want's to access. This is because I do not want 3 hibernate access to the same database because that won't work. I would get a lot of

RE: HTTPS and Virtual Hosts

2008-09-22 Thread Peter Crowther
From: André Warnier [mailto:[EMAIL PROTECTED] I seem to remember that there was talk about a scheme or a protocol that would allow (very roughly) a client/server pair to start a session using HTTP (not SSL), negociate, then in the course of the session upgrade this link to HTTPS. And that

RE: Connector problem

2008-09-22 Thread Peter Crowther
From: Jörg Fröber [mailto:[EMAIL PROTECTED] Sorry to kind of hijack this thread, but would it be possible to use one of the certificates linked below with tomcat, when only 1 IP and 1 SSL-Connector is used for different Host elements?

[OT] RE: HTTPS and Virtual Hosts

2008-09-22 Thread Peter Crowther
[Marked OT as this is not even remotely about Tomcat] From: Johnny Kewl [mailto:[EMAIL PROTECTED] http://support.microsoft.com/kb/257591 ... OK... If it send the HOST info in step one ... which it doesn't as far as I can see... and the server chose the correct cert I see no

[OT] RE: manipualting a select list from within an event handler

2008-09-24 Thread Peter Crowther
From: Robert Welz [mailto:[EMAIL PROTECTED] Manipulating checkboxes from withing an onchange event handler works but I'd like to manipulate a select list like in this code example, but without luck? I'd appreciate some little help, that would be fantastic. [Javascript elided] Ask on a

RE: Reloading Tomcat Server

2008-10-07 Thread Peter Crowther
From: Barry Fawthrop [mailto:[EMAIL PROTECTED] [...] wget -O .../local_news http://www.topix.com/rss/county/citrus-fl [...] java.io.FileNotFoundException: http://www.topix.com/rss/county/citrus-fl at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Htt

RE: Communicating between webapps

2008-10-08 Thread Peter Crowther
From: André Warnier [mailto:[EMAIL PROTECTED] Maybe hacks, but why not use them if they are easier, faster, and have a smaller memory footprint ? Because they can be harder to maintain. Note *can be* - it depends on the developers and admins. Not being very good at either Java or Tomcat,

RE: Appeal to Tomcat developers

2008-10-16 Thread Peter Crowther
From: André Warnier [mailto:[EMAIL PROTECTED] From earlier Tomcat expert's messages here, I understand that the previous logging methods were technically flawed, and that the new methods, technically, are far superior. But from tens of user's messages on this list, it is clear that in

RE: Appeal to Tomcat developers

2008-10-16 Thread Peter Crowther
I think there's a miscommunication going on. From: Leon Rosenberg [mailto:[EMAIL PROTECTED] well our [...] admins are well able to configure tomcat logging as they wish (mainly by using log4j configs we (developers) [...]). OK. So your admins have in-house developers to turn to. [...] I

RE: Where to look for connection refused errors in Tomcat6.0.18 ?

2008-10-17 Thread Peter Crowther
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] If still more simultaneous requests are received, they are stacked up inside the server socket created by the Connector, up to the configured maximum (the value of the acceptCount attribute. Any further simultaneous requests will receive

RE: Tomcat is running but page is not displayed

2008-10-22 Thread Peter Crowther
From: Danny_HY052 [mailto:[EMAIL PROTECTED] When the tomcat is running i am able to access the application, however, after some time when i try again to access the application i get Page cannot be Displayed. (ensured that the tomcat was still running) I need to restart the tomcat server

RE: Tomcat 5.5.26 Vulnerability - Test

2008-10-23 Thread Peter Crowther
Which JDK are you using, and do those vulnerabilities apply to that *specific* JDK? They are all Java vuls, not Tomcat vuls. - Peter -Original Message- From: Gozde Aytan [mailto:[EMAIL PROTECTED] Sent: 23 October 2008 12:32 To: users@tomcat.apache.org Subject:

RE: Question about Tomcat context

2008-10-24 Thread Peter Crowther
From: Jerome Lepage - AKEROZ [mailto:[EMAIL PROTECTED] I have developped a web application on Tomcat (5.0.28). My webapp use Hibernate 3 and i have a Singleton pattern too. I want have my webapp deployed N time in same Tomcat Server. But i don't want to share context, hibernate and Singleton

RE: Question about Tomcat context

2008-10-24 Thread Peter Crowther
From: Jerome Lepage - AKEROZ [mailto:[EMAIL PROTECTED] But when i launch tomcat with this env vars : JAVA_OPTS=-XX:MaxPermSize=512m -Xms24m -Xmx512m Well, yes :-). That should give you enough perm space. Tomcat looks like not really care about the memory i grant to JVM. It's seems that

RE: Obfuscating a Servlet

2008-10-24 Thread Peter Crowther
From: Jeng Yu [mailto:[EMAIL PROTECTED] I just wanted to know if I can first obfuscate my selvlet with ProGuard before I deploy it in Tomcat environment. As long as ProGuard doesn't hack around with the servlet interface calls, you should have no problem. However, I've never tried. Will

RE: TomCat question

2008-10-24 Thread Peter Crowther
From: Ghanta, Bose [mailto:[EMAIL PROTECTED] Will Tomcat run with J2SE or does it require J2EE? The ones I have here run just fine on J2SE. - Peter - To start a new topic, e-mail: users@tomcat.apache.org To

RE: Multiple IIS sites and ISAPI redirect problem

2008-10-24 Thread Peter Crowther
Martin, read the OP's information? From: Martin Gainty [mailto:[EMAIL PROTECTED] [...] For non server products like Windows 2000 Professional or Windows XP the number of concurrent connections is limited to 10 [...] Mikko Pukki wrote: System is Windows Server 2003 That's a server

RE: Are multiple contexts of the same code code base visible to each other?

2008-10-25 Thread Peter Crowther
[My mailer appears to be missing part of the thread, ignore this if the question's already been answered] From: Jonathan Mast [mailto:[EMAIL PROTECTED] getInstance(path) checks a static hashmap for path Static held where? In MultiLogger, and Multilogger is a class (or in a jar) that is

RE: how to integrate Shibboleth and Tomcat

2008-11-05 Thread Peter Crowther
From: Lucia Moreno Lopez [mailto:[EMAIL PROTECTED] I need to integrate Shibboleth and Tomcat. We are using tomcat 5.5.23, mod_jk connector 1.2.23 and the reference implementation of Shibboleth version 2.0. Do you *need* httpd in front? If not, how about http://www.guanxi.uhi.ac.uk/index.php

RE: Tomcat webapp stopped working, please help

2008-11-14 Thread Peter Crowther
From: djbowen1 [mailto:[EMAIL PROTECTED] I am running tomcat server on Redhat linux. Tomcat server 5. There' a 5.0 stream (no longer maintained) and a 5.5 stream (maintained). The third version number then becomes significant. Could you give us any more of the version numbers, such as

RE: Tomcat webapp stopped working, please help

2008-11-14 Thread Peter Crowther
From: djbowen1 [mailto:[EMAIL PROTECTED] I have the catalina.out and the catalina.date logs.which one is more usefull? The .out file typically has any errors in it. The logging format is similar to many other applications. I'd suggest looking through that for error messages - a swift hunt

RE: Tomcat webapp stopped working, please help

2008-11-14 Thread Peter Crowther
From: djbowen1 [mailto:[EMAIL PROTECTED] [...] INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found Not a problem. /usr/java/jdk1.6.0_01/jre/lib/i386/client That's quite an old 1.6. If the app was working before, and this isn't a

RE: Tomcat request processing gets stuck

2008-11-19 Thread Peter Crowther
From: Christopher Schultz [mailto:[EMAIL PROTECTED] acceptCount=200 just means that the socket will accept 200 clients /in addition/ to those currently being served by RequestProcessor threads. The only way to see those waiting clients would be to query the socket itself (maybe only

RE: tomcat virtual host

2008-11-20 Thread Peter Crowther
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] I deployed my webapp svn.war on webapps directory of tomcat 6. I configured localy a virtual host with tomcat 6, but it does not work. This url works : http://localhost:8080/svn/ But when i use the virtual host, it does not works :

RE: tomcat virtual host

2008-11-20 Thread Peter Crowther
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] When i tape http://mysvn:8080/ in browser to access to my web application, i have this : Internet Explorer cannot display the web page but when i tape http://localhost:8080/svnrepository; i access correctely to my application. Find file

RE: Apache HTTP + Tomcat + SSL

2008-11-21 Thread Peter Crowther
From: Alexander Diedler [mailto:[EMAIL PROTECTED] What ist he best-practice to use SSL with a Frontend Apache Webserver and a mod_jk connected Tomcat? Define the SSL in Tomcat or in Apache Frontend? In Apache httpd. Has the SSL functions to be enabled on Tomcat? No. In a pure mod_jk

RE: tomcat 5.5.20 security issue

2008-11-24 Thread Peter Crowther
From: Serge Fonville [mailto:[EMAIL PROTECTED] Just a few questions off the top off my head: ... and to add another one: What is your OS What is your Java virtual machine? In particular, are you using a non-Sun JVM such as GCJ? - Peter

RE: GPGPU and Tomcat

2008-11-27 Thread Peter Crowther
From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] Frequently, webapps do relatively minor processing, with the brunt of the work being performed in a data base engine (usually running on a separate system). To me, the database is one of the more interesting places to use GPUs. Half a

[OT] RE: Manager app language

2008-11-28 Thread Peter Crowther
From: André Warnier [mailto:[EMAIL PROTECTED] Caldarale, Charles R wrote: Is the server named after a legendary British king, the Kinks album, or the HHGTTG character? HHGTTG. We also have marvin, ford, dent, zaphod, trillian, fenchurch,.. even a slartibartfast (wich also has an alias, for

RE: jvm cowardly refuses to print a thread dump

2008-12-01 Thread Peter Crowther
From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] That's ugly. Sounds like either the OS failed to deliver the signal, or the JVM is locked up internally (probably the latter). That's rather what I was reckoning. I've had signal delivery fail before if all the threads were stuck in

RE: mixed html and jsp site using ProxyPass

2008-12-03 Thread Peter Crowther
From: David Goodenough [mailto:[EMAIL PROTECTED] I have a site which is a mixture of html (and a bunch of images and flash and other such stuff which came in from the web designer) and a couple of JSPs. I have implemented this with Apache 2.2 and Tomcat 5.5, using ProxyPass statements with

RE: [OT] JK Connector problem

2008-12-04 Thread Peter Crowther
From: André Warnier [mailto:[EMAIL PROTECTED] Folder/directory/file names with spaces in them are evil, and should be forbidden in any new OS, by unanimous decision of the UN Security Council, US Supreme Court and EU Commission. The developers who first allowed this should be tracked down

RE: Tomcat MySQL Server Configuration

2008-12-16 Thread Peter Crowther
From: Carl Crawford Someone gave me the attached configuration suggestions. Note that this list strips attachments. Could you host the image somewhere and post a link? - Peter - To unsubscribe, e-mail:

RE: Installation apache tomcat

2008-12-19 Thread Peter Crowther
From: Vida Luz Arista [mailto:vida.ari...@ideay.net.ni] I downloaded the version apache-tomcat-6.0.18-src, I follow step by step the instructions, when I executed ant download, the following erro occur BUILD FAILED /opt/apache-tomcat-6.0.18-src/build.xml:701: The following error

RE: Optimized memory Parameter in Tomcat.

2008-12-19 Thread Peter Crowther
From: kashif_tomcat [mailto:kas...@vopium.com] our Tomcat 6 server is running on a RHL machine with 4 GB Ram. 32-bit or 64-bit OS? JAVA_OPTS=$JAVA_OPTS -Xms1024M -Xmx2048M -XX:PermSize=128m -XX:MaxPermSize=128m You probably want to make -Xms and -Xmx the same. There's no point fragmenting

RE: tomcat - OutOfMemoryError

2005-11-02 Thread Peter Crowther
From: Anna Seekamp [mailto:[EMAIL PROTECTED] The jvm (1.4.2 Suse-Linux) starts with: -server -Xmx1500m -Xms1500ms We have 9 webapps. One webapp has 50% load. The other share the rest. If we put 7 webapps online, we ran into problems. After a few hours we get OutOfMemoryErrors.

[OT] RE: Google Map of active users on this list

2005-11-04 Thread Peter Crowther
From: Luis Torres [mailto:[EMAIL PROTECTED] Very nice work. Any plans to release details on how you did it? One could do something similar by: - Subscribe to the list. - Archive the messages in (say) mbox format. - Write yourself a little script that pulls out message headers, in

RE: SSO question

2005-11-11 Thread Peter Crowther
From: Klotz Jr, Dennis [mailto:[EMAIL PROTECTED] Is it possible using LDAP, whether it is using custom JAAS code or a third party product such as Vintela's VSJ (http://www.vintela.com/products/vsj/), to do the following: ... prevent, control or limit the simultaneous active usage of the

RE: Tomcat and linux system users

2005-11-14 Thread Peter Crowther
From: Kosarev A.V. [mailto:[EMAIL PROTECTED] Whether I can configure tomcat so that for each context worked on behalf of various linux system users? Tomcat runs in a single Java virtual machine, and that entire JVM process runs under a single user ID. To my knowledge (I'm sure others

RE: advice on auto logout servlet

2005-11-15 Thread Peter Crowther
From: Mark [mailto:[EMAIL PROTECTED] So there is no way to provide this functionality using just servlets :( You could sort-of hack something together using meta-refresh directives on the pages so that the browser knew to refresh the page just as the server timed out the session, but you

RE: stress test on tomcat

2005-11-17 Thread Peter Crowther
From: William Mok [mailto:[EMAIL PROTECTED] java.net.SocketException: Too many open files What operating system? Naively, that looks like the good ol' UNIX limit on the number of file descriptors available to a process - if so, read up on how to change the descriptor table size for your

RE: Package naming

2005-11-18 Thread Peter Crowther
From: Ajay Arjandas Daryanani [mailto:[EMAIL PROTECTED] i've written a authorization filter for Tomcat. The question is: is there any convention about package naming? Can I use, for example, 'package es.mydomain.myname;'? Or it's better to use 'package filters;'? The conventional Java

RE: heap size problems (speed) [2]

2005-11-29 Thread Peter Crowther
From: Cristian S [mailto:[EMAIL PROTECTED] Frankly I have no ideea what's the point of loading almost 400M of data in memory in a HashMap. Maybe this very approach has a design flaw when it comes to JAVA. If it's expensive to generate / load that data and the app has tight response time

RE: Is TC 5.0.28 forward compatible with Java 5

2005-12-05 Thread Peter Crowther
From: Satish MG [mailto:[EMAIL PROTECTED] I am using Tomcat 5.0.28. Now I have to port the Tomcat to Java 5.0. Even though Tomcat 5.5.X is Java 5 compatible with Java 5, I wanted Tomcat 5.0.28 on Java 5. So I wanted to Know whether Tomcat 5.0.28 is compatible with Java 5. If not Which

RE: Howto delete a file with a servlet???

2005-12-07 Thread Peter Crowther
From: Carl Olivier [mailto:[EMAIL PROTECTED] [...] if (!toDel.delete()) { Thread.sleep(1000); //try get around file lock/release issue? (? Stab in the dark maybe!) [...] Heh. Is someone working on Windows here? There's a known issue that the JVM holds onto file handles

RE: UnsupportedClassVersionError

2005-12-08 Thread Peter Crowther
-Original Message- From: e-Denton Subscriber [mailto:[EMAIL PROTECTED] [...] java.lang.UnsupportedClassVersionError: com/sun/tools/javac/Main (Unsupported major.minor version 49.0) I suspect the tools.jar in your classpath is from Java 1.5, not Java 1.4. Certainly *something*

[OT] Top posting (was RE: question)

2006-01-03 Thread Peter Crowther
From: Carl Olivier [mailto:[EMAIL PROTECTED] A lot of people on this forum Top Post. Is this really such a big issue? I can sum it up with the following quote: -- snip -- A: Top posting. Q: What's the most confusing thing about mailing list messages? -- snip -- If I'm reading through

RE: [OT] Top posting (was RE: question)

2006-01-03 Thread Peter Crowther
From: George Sexton [mailto:[EMAIL PROTECTED] Since most people use threaded mail readers that go from oldest to newest, this isn't much of a problem for most people. ... I'm sorry? Which 'this' were you referring to here? It wasn't in context, so I'm afraid I can't tell for sure. I'll

RE: 5.0.28 and 64 bit and Libc

2006-01-04 Thread Peter Crowther
From: Shawn Snodgrass [mailto:[EMAIL PROTECTED] Having weird install problems need a quick sanity check, version 5.0.28 will run on 64 bit architecture right? Tomcat Version = 5.0.28 Architecture = AMD64 OS = Linux ES 3.0 Libraries = All 64 bit What JVM are you using?

RE: Using Tomcat 5.5 as a standalone web server

2006-01-10 Thread Peter Crowther
From: George Sexton [mailto:[EMAIL PROTECTED] I'm running around 700,000 pages a month on a pure tomcat installation with no problems. Just for interest, George, is that on similar hardware / software to your benchmark at

RE: how to suppor 30000 concurrent users

2006-01-12 Thread Peter Crowther
From: vishwas kharajge [mailto:[EMAIL PROTECTED] howmany concurrent users does tomcat support? Depends very largely on your webapp. How efficient is it? How many operations per minute is each user making? Does it require session state, or can you get away without it? Can it be clustered?

RE: Tomcat integegrated with Apache

2006-01-12 Thread Peter Crowther
From: Rafal Zawadzki [mailto:[EMAIL PROTECTED] Why not use squid? One view: Why go through another user-level process when you can simply redirect the socket connections via iptables for fewer CPU cycles and less RAM? Another view: squid may be faster at serving static content, so interposing

RE: concurrency of users on tomcat

2006-01-13 Thread Peter Crowther
From: vishwas kharajge [mailto:[EMAIL PROTECTED] Our requirement is to provide 200 concurrent hits per second There are 300K users registration on the server For this what is the requirement? Hiring someone who can do the calculations. How much bandwidht it require for giving above

RE: tomcat 5 ssl w/multiple IPs

2006-01-15 Thread Peter Crowther
From: Chris Pat [mailto:[EMAIL PROTECTED] do I really need to a dedicated NIC for each of the static IPs I want run SSL sites on? No. The configuration mechanism depends on your OS, however. Windows boxes can have at least 20 IP addresses bound to one adapter. Get the adapter

RE: Windows XP SP2 - design question

2006-01-20 Thread Peter Crowther
From: Snow white [mailto:[EMAIL PROTECTED] We use a cookie to maintain the state that determines what is sent to the client, and we update the cookie in every response of this URL request. So, presumably, your app already breaks if a user uses the 'Refresh' button on the page, even pre-SP2?

RE: writing files with a web application

2006-01-23 Thread Peter Crowther
From: SOA Work [mailto:[EMAIL PROTECTED] Check the Servlet Spec (version 2.4 is at http://www.jcp.org/aboutJava/communityprocess/final/jsr154/ ) for questions of this kind. From memory in both cases (so treat with caution): 1.) am I allowed to call main methods or programms in my web

RE: Starting Tomcat

2006-01-25 Thread Peter Crowther
From: Hooper, Paul [mailto:[EMAIL PROTECTED] I am a new Tomcat user and am having some difficulties starting the server [...] Using JRE_HOME: /export/home/liondev/software/java_1.4.2_10 5.5 needs *either* a Java 1.5 VM *or* the JDK 1.4 Compatability Package available from the download

RE: From Java to C#, ASP.NET [Off Topic]

2006-01-30 Thread Peter Crowther
From: Jess Holle [mailto:[EMAIL PROTECTED] Nice terminology quandry that the app server marketeers have dug for us. They've painted a world of J2EE == EJB and J2EE == the only (good) way to do Java in the enterprise and transitively EJB == the only (good) way to do Java in the

RE: Memory Management between different webapps

2006-02-02 Thread Peter Crowther
From: Roel De Nijs [mailto:[EMAIL PROTECTED] I have a tomcat with ± 10 web-applications. Is there a maximum or some guidance in the number of web-apps you can put in one instance of Tomcat? Tomcat itself uses relatively little memory per-webapp (a few megabytes, depending on version).

RE: Port 8443 won't become active

2006-02-02 Thread Peter Crowther
From: Jeffery G. Summers [mailto:[EMAIL PROTECTED] Our webserver is an IBM P615C AIX 5.2 box. Whose JVM and what version? - Peter - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

RE: problems running Tomcat

2006-02-08 Thread Peter Crowther
From: Riccardo Roasio [mailto:[EMAIL PROTECTED] it seems to start but if i try to see http://10.2.254.103 ( the address of the machine) from a browse it says impossible to connect... Try http://10.2.254.103:8080 - port 8080 is the default port on which Tomcat starts, not port 80.

RE: WAR problems

2007-10-25 Thread Peter Crowther
From: Demetris Zavorotnichenko [mailto:[EMAIL PROTECTED] I am having problems running .WAR applications. I have Tomcat 6 through IIS Is there something I should know about this ? Divide the problem. If you use a direct connector in Tomcat (i.e. contact Tomcat directly, not through IIS),

RE: What do I do with a heap dump? (OOM Permgen)

2007-11-02 Thread Peter Crowther
From: Greg Vilardi [mailto:[EMAIL PROTECTED] How do I figure out what is in that 440kb per deployment? What should I be looking for? As far as I know, public enemy #1 for eating PermGen space is still developers using the Singleton pattern in their code and not having listeners to null out

RE: speed up the server

2007-11-09 Thread Peter Crowther
From: tbt [mailto:[EMAIL PROTECTED] it was working very fast before being deployed. About 30 people login simultaneously to this application. Once this happens the application is very slow. How many concurrent users do you test with, before you deploy? 30? Or one developer checking the

RE: PermGen Out of memory exception

2007-11-12 Thread Peter Crowther
From: Jim [mailto:[EMAIL PROTECTED] PermGen space, on the other hand, doesn't get garbage collected, so you need to ensure you're allocating enough to handle all that your application will need. Unfortunately with the web application classloader-system, every time you deploy an application

RE: Best Linux distribution

2007-11-15 Thread Peter Crowther
From: Andrew Hole [mailto:[EMAIL PROTECTED] In your opinion what is the best LINUX distribution for a server with an instance of Tomcat and an J2EE application of medium load? The one with which your organisation already has experience. Familiarity and ease of admin is king here.

[OT] Ooh, shiny! (was RE: Best Linux distribution)

2007-11-16 Thread Peter Crowther
From: Warren Pace [mailto:[EMAIL PROTECTED] Point taken. We ran a Vax until last year... On Nov 15, 2007 10:52 AM, Steve Ochani [EMAIL PROTECTED] wrote: If everyone based their decisions solely on that criteria we would be all using pdp-11s. [...] I think some companies are rather

RE: java.lang.OutOfMemoryError: PermGen space

2007-11-16 Thread Peter Crowther
From: loredana loredana [mailto:[EMAIL PROTECTED] I'm having some problems figuring out what webapp is causing this problem. It's not simple! However, the main use for PermGen is storage for classes. Do you have any webapps that dynamically generate classes? Is it happening when you

RE: Initial Setup: The type java.lang.Object cannot be resolved.

2007-11-16 Thread Peter Crowther
From: Ian Pushee [mailto:[EMAIL PROTECTED] I am running a debian install of tomcat5.5, using java-gcj-compat-dev (a free jdk replacement). Oh, dear. Get a real JDK (the Sun one is fine), and a real Tomcat from http://tomcat.apache.org (the tarball is fine). GNU java is a nice toy, but we

RE: Question about multiple SSL at same machine

2007-11-29 Thread Peter Crowther
From: Alex Florentino [mailto:[EMAIL PROTECTED] I have windows colocation and have one site that have ssl and it works fine, now I have another site and need set up another ssl, I think that change ssl port for second site is good solutions but my client don't like this idea, then I need

RE: Tomcat5.5 postgresql, security oh my

2007-12-03 Thread Peter Crowther
Exactly which Tomcat version? What doesn't work? What error do you get, under what circumstances? - Peter -Original Message- From: Chris Baty [mailto:[EMAIL PROTECTED] Sent: 03 December 2007 13:37 To: users@tomcat.apache.org Subject: Tomcat5.5 postgresql, security

RE: Tomcat5.exe increasing memory allocation

2007-12-06 Thread Peter Crowther
From: Stefano Martines [mailto:[EMAIL PROTECTED] I am running Tomcat 5.0.28 in a production environment. It has the default settings you get from the initial installation. The Tomcat5.exe process allocates 250 MB memory right now and it is increasing from day to day. What is the reason?

RE: Tomcat 4.1.31 crashing with memory errors, crashing with no errors and shutting down cleanly without manual intervention

2007-12-06 Thread Peter Crowther
From: Sean Carnes [mailto:[EMAIL PROTECTED] *We are having an issue with the tomcat service crashing version 4.1.31, sometimes with these memory errors and sometimes not. We have a backup but once the load moves to that server the backup crashes also almost immediately after the load

  1   2   3   4   5   6   7   8   9   10   >