RE: Character Encoding -ISo-8859-1 Vs UTF-8 Vs GBK

2005-10-18 Thread Peter Crowther
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > I don't think it's true > that UTF-8 can handle ALL european character very well. If it can't, the Unicode consortium (http://www.unicode.org/) will be pretty worried, as UTF-8 is an encoding of Unicode... - Peter --

RE: URGENT: Running Tomcat 5.0 as a Windows service using a specific user

2005-10-25 Thread Peter Crowther
> From: Jan Andersson [mailto:[EMAIL PROTECTED] > I'll try again: How do I do to run Tomcat 5.0 as a Windows > service using a > specific user? I've tried using the Configure Tomcat > application, tab Log > On, but Tomcat is anyway started with "SYSTEM" as user. Jan, have you tried using the

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 Out

RE: Google Map of active users on this list

2005-11-04 Thread Peter Crowther
> From: Allistair Crossley [mailto:[EMAIL PROTECTED] > yes this is very very cool. i'm in london though - on the map > i'm in cambridge .. i think are corporate ISP is there though ;) It appears to be analysing the 'Received from' headers in the email and finding the one closest to the head of t

[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 partic

RE: how to remove port number from URL

2005-11-09 Thread Peter Crowther
> From: Goay Zee Ling (ACM/MIS) [mailto:[EMAIL PROTECTED] > Hi. I have a simple question. ... But not a simple answer given your configuration. > On the server, I have both IIS 5.1 and tomcat 5.0. > With both running respective application, is it possible to remove the > port number for calling

RE: how to remove port number from URL

2005-11-09 Thread Peter Crowther
> From: Goay Zee Ling (ACM/MIS) [mailto:[EMAIL PROTECTED] > I just tried using the tomcat connector > and faced some problem too. I have posted a question "tomcat connector > isapi_redirect.dll not available" to this list. > > Do you have any idea on this? I don't - I use separate IP addresses

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 >

RE: SSL on tomcat + jk2 + apache2 + RedHat

2005-11-11 Thread Peter Crowther
> From: Gangaa D [mailto:[EMAIL PROTECTED] > So How do I get Trusted Root Certification > Authorities? If you have control over all the browsers that will be accessing your application: put your self-signed certificate into each of their trusted stores. If you don't have control over some of the

RE: maintain separate sessions for each browser tab/window

2005-11-13 Thread Peter Crowther
From: John Cartwright [mailto:[EMAIL PROTECTED] Does anyone have a suggestion on how to maintain a separate session for each browser tab and window? Currently the same session is shared for each frame, window, tab of a given brower instance and context. I only wish this were possible - it wo

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 n

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 kern

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 ve

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 handl

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 http://www.mhsoftware.com/caldemo/manual/en/pageFinder.html?page=622

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 interposin

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 con

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 prop

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-

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 > ap

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 downlo

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 t

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 PROTECTE

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: Multiple Sessions per user

2006-02-16 Thread Peter Crowther
> From: Daniel Guggi [mailto:[EMAIL PROTECTED] > I ran into a session-issue with a webapp. There are situations when it > would be nice for a user (same browser/same machine/same > webapp) to have > the possibility to login twice and thus have two different > JSESSIONIDs. If you use cookies to

RE: Java Question

2006-02-22 Thread Peter Crowther
> From: Andrew English [mailto:[EMAIL PROTECTED] > I have looked for the filenames.* on all the servers > including the linux > ones and not come up with anything except for what's on the > two servers. I suspect an operations issue. Has someone configured a revision control system (such as CV

RE: Java Question

2006-02-23 Thread Peter Crowther
> From: Andrew English [mailto:[EMAIL PROTECTED] > Is there anyway to check this theory? > -Original Message- > From: Peter Crowther [mailto:[EMAIL PROTECTED] [...] > I suspect an operations issue. Has someone configured a revision > control system (such as CVS or

RE: Running multiple instances of 5.5x as Win services

2006-07-10 Thread Peter Crowther
> From: Marc Richards [mailto:[EMAIL PROTECTED] > Also, can someone explain the difference between > CATALINA_HOME and CATALINA_BASE environment variables? Best done with an example - here's a snippet of my startup script for one of my Tomcat instances. -- snip -- set JAVA_HOME=C:\java\jdk1.5.0_

RE: Frustrated by NoClassDefFound errors

2006-07-14 Thread Peter Crowther
> From: Timothy Collett [mailto:[EMAIL PROTECTED] > Actually, one of the things I'm doing is making a subclass of > Context Good luck - I wanted to extend StandardContext for my own nefarious purposes and found it was almost impossible. You couldn't copy it as various parts of the system had t

RE: multiple t hreads

2006-07-17 Thread Peter Crowther
> From: Pratap Parne [mailto:[EMAIL PROTECTED] > how to start multiple threads of a single instance of > a tomcat where each thread runs a different > application.is it possible with tomcat if so how Tomcat is (very!) multi-threaded anyway. If you want to run multiple web applications (.war file

RE: NEW : Tomcat Performance Monitoring

2006-07-18 Thread Peter Crowther
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > I need to monitor Tomcats performance real time. What aspects do you need to monitor? If you say that a thread dump gives ample information but post-incident, I assume this is *not* monitoring resource usage? Please give us more information

RE: SuPHP alternative for JSP and Tomcat

2006-07-19 Thread Peter Crowther
> From: Vaclav Kaspar [mailto:[EMAIL PROTECTED] > For security reasons I > need JSP scripts to run under different users A single JVM runs as a single user. To my knowledge, there's no way of setting threads in a JVM to run as different users, so you're pretty much stuck if you want to run in a

RE: Increase Heapsize

2006-07-19 Thread Peter Crowther
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > The server has 16GB RAM which is quite significant. - What OS is it running? And is that 32- or 64-bit? Apologies if you've already told us. - Are you running a 64-bit JVM to gain access to all that lovely space? - How much *free* RAM doe

RE: Increase Heapsize

2006-07-19 Thread Peter Crowther
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > OS: Solaris OK. > 64 bit OK. > 16 GB ram Your server only *has* 16 Gbytes of RAM. If it also has 16 Gbytes of *free* RAM, which is what I asked, then you have an unusually slim version of Solaris ;-). Anyway, given that lot you're tinker

RE: Is there an easy way to replace http-processor threads?

2006-07-21 Thread Peter Crowther
> From: Leon Rosenberg [mailto:[EMAIL PROTECTED] > Now I have the unpleasant > situation that i need some information pretty deep in some use cases > of the application (like current locale) which I only have at the top > (servlet) level. We had the same issue with an app. Provided you remember

RE: getSession() thread-safe? User A can see user B's account

2006-07-21 Thread Peter Crowther
> From: Christopher Schultz [mailto:[EMAIL PROTECTED] > Dave, > > > It is very strange. I do not understand how a User object in Session > > A gets into Session B. It seems that after a session is expired or > > invalidated, that session is attached to another user's request. > > I think what's

RE: How do I know the java version I need for Tomcat5.5

2006-07-21 Thread Peter Crowther
Um. That's the GNU JVM. Does the problem still occur on Sun's JVM? http://home.concepts.nl/~bergmans/linux/install_applications_on_ubuntu.h tml#java may help - never tried it myself, I don't run Ubuntu. - Peter > -Original Message- > From: Mary Tata [mailto:[EMAIL PROT

RE: Tomcat + Multiple Request

2006-07-25 Thread Peter Crowther
> From: RODRIGUES DE ALMEIDA Thiago [mailto:[EMAIL PROTECTED] > I've read that Http specification preconizes the use of 2/4 multiple > requests for the same session id/ browser. Is this correct ? Yes. For example Internet Explorer never issues more than two requests to the same server. You cann

Wtd: Logging configuration for Tomcat 5.5.17 to rotate access logs daily

2006-07-26 Thread Peter Crowther
Asked on behalf of a colleague. I'm sure someone out there has already done this... Colleague has a vanilla download of Tomcat 5.5.17. They want to use it in production, and want to perform daily analysis of accesses. Ideally, therefore, they want daily log file rotation for the access log. I

RE: Logging configuration for Tomcat 5.5.17 to rotate access logs daily

2006-07-26 Thread Peter Crowther
> From: Martin Gainty [mailto:[EMAIL PROTECTED] > -setup a Valve > http://tomcat.apache.org/tomcat-5.5-doc/config/valve.html > (specifically RequestDumperValve) to capture the access Or even AccessLogValve, which does what's required. Sorry, I should have known that - my brain's evidently on t

RE: [OT?] is there a way to map an application URL on tomcat like: http://a.com/app1 to http://app1.a.com/

2006-07-27 Thread Peter Crowther
> From: Hassan Schroeder [mailto:[EMAIL PROTECTED] > > http://yourcompany.saassupplier.com. > > This is called a "virtual host"; it requires DNS entries to > point that URL to your server, that's all. The simplest way of doing this on BIND servers is to use a wildcard mapping - so you map a nam

RE: programmatically sending tomcat a socket?

2006-07-31 Thread Peter Crowther
> From: Adam Fisk [mailto:[EMAIL PROTECTED] > I'm embedding Tomcat, and I'd like to have programmatically > send it a socket > I've created (could be a reliable UDP socket subclass, some > other special > "socket"), and have Tomcat handle it as if it were a normal socket, > expecting incoming HT

RE: Servlet that needs ROOT access

2006-08-01 Thread Peter Crowther
> From: Paul McMahon [mailto:[EMAIL PROTECTED] > Is it possible to run Tomcat as non ROOT, > but have a servlet that needs ROOT access? No. > Or is the solution to have the servlet application code > running as a separate > daemon outside tomcat, with some form of comms to tomcat > servlet wh

RE: Servlet that needs ROOT access

2006-08-01 Thread Peter Crowther
> From: Paul McMahon [mailto:[EMAIL PROTECTED] > The servlet application needs to do things like mkfs, > vgcfgrestore, vgchange, > mount and umount. I'd use setuid scripts with very careful permissions: - Write some shell scripts, one per action, to do what you need; - Audit those scripts for

RE: Tomcat restart needed

2006-08-01 Thread Peter Crowther
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > In my web application, I have a thread running in the background that > sends emails to the user when some event occurs. > However, yesterday it stopped sending emails. [...] > My question is: why did this happen, why was necessary to > resta

[OT] RE: Servlet that needs ROOT access

2006-08-01 Thread Peter Crowther
[Marked OT as this is now some distance from Tomcat] > From: Christopher Schultz [mailto:[EMAIL PROTECTED] > I might even go farther and suggest that you go with > more a batch-job-list configuration I was assuming the app was for interactive control and that the OP wanted the user of the webapp

RE: Install on XP Home edition

2006-08-02 Thread Peter Crowther
> From: McRaven, Brian [mailto:[EMAIL PROTECTED] > After completing the steps from a > website (www.codeservlets.com) I try the startup.bat file in the bin > directory. The program runs for a very short time and quits before I > can read the one and only line that is written in the DOS > screen.

RE: apache Tomcat webserver problem

2006-08-07 Thread Peter Crowther
> From: Rahul Sood [mailto:[EMAIL PROTECTED] > Now when I try to access the app using the following url > http://192.168.15.100:8080/sample from my machine it works fine. > But if i go to another machine, I am not able to access the > website. Have you checked your firewall settings? That's the

RE: Code performance question #1

2006-08-07 Thread Peter Crowther
> From: Leon Rosenberg [mailto:[EMAIL PROTECTED] > data.length is evaluated each time. > > here's the example to demonstrate it: [Example elided that reassigns data inside the loop] That example would indeed be evaluated each time. However, *if* the compiler's sufficiently smart, it could detec

RE: Code performance question #2

2006-08-07 Thread Peter Crowther
> From: David Kerber [mailto:[EMAIL PROTECTED] > It is > executed for over 2 million data lines per day, so this routine is > executed over 10 million times per day. [snippet of code that parses the line each time elided] Opinion: You're optimising the wrong piece of code. You're calling this

RE: Code performance question #2

2006-08-07 Thread Peter Crowther
> From: David Kerber [mailto:[EMAIL PROTECTED] > Is there a more efficient "split" method I could use? Or am I > completely missing the point of what you are suggesting? I think you've slightly missed the point. I assume you're calling your function 5 times, each with a different field name t

RE: Code performance question #2

2006-08-08 Thread Peter Crowther
> From: David Kerber [mailto:[EMAIL PROTECTED] > Do you think > it be more efficient to scan the string once and grab the > field values as I get to each field marker? Yes. > Yes, the machine is cpu-bound. > My 768k data line will spike the cpu to 100% and hold it > above 95% until > the t

RE: Code performance question #2

2006-08-08 Thread Peter Crowther
> From: Martin Gainty [mailto:[EMAIL PROTECTED] > Please read > http://www.javaranch.com/newsletter/200401/IntroToCodeCoverage.html > paying particular attention to race conditions, deadly > embraces and basic coverage of Functions Martin, I'm confused - could you just outline how code coverage

RE: Running web application on Tomcat on a Windows Server - License question

2006-08-11 Thread Peter Crowther
> From: Ravindran Rabindran [mailto:[EMAIL PROTECTED] > My preference is that the server computer hosting > these web applications run on a Windows 2003 Server. > The server computer has 4 GB of memory. The > application authentication will be based on > userid/passwords residing in the MySQL da

RE: CPU usage and response time

2006-08-14 Thread Peter Crowther
> From: Eickvonder Bjoern [mailto:[EMAIL PROTECTED] > Is the following formula correct? > > (response time if 100% CPU would have been granted for the request) / > (percentage of CPU actually granted) = response time No. If CPU was the only resource, and thread switches were free, then this wou

RE: 2 tomcat on the same PC

2006-08-18 Thread Peter Crowther
> From: tamri [mailto:[EMAIL PROTECTED] > I have installed tomcat1.5 on the same PC on the 2 other > directory(c:\\tomcat1.5 and d:\tomcat1.5) .I can't run two > tomcat together. > I want to run theese two tomcats together, can I do this? > how it to do? Pick one Tomcat. Edit its conf/server.x

RE: 2 tomcat on the same PC

2006-08-18 Thread Peter Crowther
> From: Li [mailto:[EMAIL PROTECTED] > why you wanna run 2tomcat? It eats up a lot of RAM ... if you > wanna run two webapps, just define to context ... I'm not saying the OP wants to do any of these, but here are the reasons I run multiple Tomcats on one box: - Isolation. One bad webapp only

RE: 2 tomcat on the same PC

2006-08-18 Thread Peter Crowther
> From: tamri [mailto:[EMAIL PROTECTED] > when I run tomcat 5.0 and then starting to run the second > installed tomcat > 5.0 it throws System error: > tomcat 5.0 application is already running. > why??? > I configure conf/server.xml file, change with inused port numbers. > what is wrong? > can yo

RE: 2 tomcat on the same PC

2006-08-18 Thread Peter Crowther
> From: Martin Gainty [mailto:[EMAIL PROTECTED] > You've introduced a collision for the same resources > > Tomcat1 starts up and acquires listener connection for all > ports configured > within server.xml (default is 8080) > Tomcat2 starts up and attempts to acquire listener connection > on al

RE: 2 tomcat on the same PC

2006-08-18 Thread Peter Crowther
> From: tamri [mailto:[EMAIL PROTECTED] > d:/tomcat_server_1/tomcat_5/bin/tomcat5w.exe I don't know for sure, but tomcat5w.exe *may* look for other Tomcats running and refuse to start if it sees one. I suggest using startup.bat instead. - Peter -

RE: 2 tomcat on the same PC

2006-08-23 Thread Peter Crowther
> From: Yan Bai [mailto:[EMAIL PROTECTED] > It doesn't work in my case. even after changed the port numbers in one > server.xml. > I have both T4.1 and T5.5 installed on win XP. > becoz CATALINA_HOME point to where T5 is, even explicitly call T4 > 'startup' script, T5 server is started. > Any othe

RE: 2 tomcat on the same PC

2006-08-24 Thread Peter Crowther
> From: Yan Bai [mailto:[EMAIL PROTECTED] > what does CATALINA_BASE mean here? I only setup CATALINA_HOME as a > system environmental variable, don't know which directory shall > $c_base point to. It's where the Tomcat instance's config files, work files and webapps live. If you don't separate o

RE: Internet Explorer different browser windows different session ID ????

2006-08-24 Thread Peter Crowther
> From: Gerard Chiva [mailto:[EMAIL PROTECTED] > With Firefox two different browser windows get the same > session ID from any of the servlets, or the same one. > > But with IE each new browser window I open to comunicate > with any of the servlets is getting a different > Session ID from the ser

[OT] RE: Internet Explorer different browser windows different session ID ????

2006-08-24 Thread Peter Crowther
> From: Gerard Chiva [mailto:[EMAIL PROTECTED] > in both cases I open the new browser windows double-clicking on the > navigator icon on my desktop. Then it depends how the two browsers proceed from there and how they store their cookies. IE will run a second iexplore.exe process, which has its

RE: multiple virtual hosts and ssl certificates

2006-08-25 Thread Peter Crowther
> From: Andrés González [mailto:[EMAIL PROTECTED] > I mean, what are you saying? That tomcat can only have 1 ssl > certificate per IP address, or that it is a "general" limitation of > the architecture of SSL certificates. It is a general limitation of SSL. To be strict: you can only have one c

RE: IIS vs Tomcat

2006-08-25 Thread Peter Crowther
> From: gurusamy.senthil [mailto:[EMAIL PROTECTED] > Can any one give me idea, What is the difference between > Microsoft IIS server and Tomcat Server. > > Which is best and has better security to work, develop and for deploy. Ooh, religious wars :-). - Both are Web servers; - Both are "fast e

[OT] RE: IIS vs Tomcat

2006-08-29 Thread Peter Crowther
> From: Propes, Barry L [mailto:[EMAIL PROTECTED] > Leon is correct...IIS -- without help from something like > Tomcat -- cannot host web apps in Java, only ASP (or in > Win2003 and above, ASP.NET). Just so as not to spread misinformation: IIS5 (in Windows 2000) can quite happily handle ASP.Net

RE: IIS vs Tomcat

2006-08-29 Thread Peter Crowther
> From: gurusamy.senthil [mailto:[EMAIL PROTECTED] > I am trying to learn some web technologies and I > choosen Tomcat with jsp/servlet to develop small application. If you're learning a new technology for your own interest, Java plus J2EE is considerably smaller than .Net Framework (although the

RE: Handling huge amount data

2006-08-29 Thread Peter Crowther
> From: Robert Harper [mailto:[EMAIL PROTECTED] > I've seen the memory rise and fall so if the GC releases > memory, it should be returned to the OS. ... at some point, assuming the GC is capable of compacting the heap to give an entirely free block of memory that can be returned to the OS, and

RE: Why would this happen?

2006-08-30 Thread Peter Crowther
> From: Santosh Puranshettiwar [mailto:[EMAIL PROTECTED] > 4. (need more? ... please tell me.) Tomcat version? :-) - Peter - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL P

RE: stopping a tomcat web application

2006-09-04 Thread Peter Crowther
> From: Martin Gainty [mailto:[EMAIL PROTECTED] > You are executing java class > org.apache.catalina.startup.Bootstrap with the 'stop' option Martin - like your previous suggestion, that stops the entire container, not the single webapp. JMX would appear to be the way to go to stop a webapp, bu

RE: How send svg content to browser as response

2006-09-05 Thread Peter Crowther
> From: prad [mailto:[EMAIL PROTECTED] > Am processing some svg files on server side and after > processing i need to > send the svg as response...I set the mime type as "image/svg+xml" > and tried the below code > > public void doGet(HttpServletRequest request, > HttpSer

RE: Singleton and ServletContext

2006-09-08 Thread Peter Crowther
> From: Feris Thia [mailto:[EMAIL PROTECTED] > Is there anyone can point me to any sample how to use singleton object > across web application in Tomcat ? See http://tomcat.apache.org/tomcat-5.5-doc/class-loader-howto.html You need to ensure that the singleton is loaded by the same classloader i

[OT] RE: moving from win2k sp4 to win2k3 64bit

2006-09-08 Thread Peter Crowther
> From: joon yoo [mailto:[EMAIL PROTECTED] > We're having memory management problems with java and our tomcat > webapp on a win2000 sp4 server: > > HP proliant DL360 G3 > Xeon 2.8 (HT on) > 2GB RAM > > I'm unable to expand java mem pool beyond 1024MB on this server. > > Would it make sense to u

RE: Singleton and ServletContext

2006-09-08 Thread Peter Crowther
> From: Marc Farrow [mailto:[EMAIL PROTECTED] > Would you not accomplish the same thing by placing it in > shared/lib instead of common/lib? *sigh*. Yes. Sorry, misread the diagram. - Peter - To start a new t

RE: Tomcat and multiple IP addresses

2006-09-19 Thread Peter Crowther
> From: Ping Yu [mailto:[EMAIL PROTECTED] > I would like to transfer a file from Machine A to Machine > B. In Machine A, there are several IP addresses. However, the > IP address launched by Tomcat might be different from the IP > address I choose to transfer the file. Are there any ways > t

RE: System requirements

2006-09-19 Thread Peter Crowther
> From: DEMESY Nicolas [mailto:[EMAIL PROTECTED] > I would like to know what are the system requirements for > using Tomcat > in a production server, with 50-100 users, on a Red Hat > Advanced Server 3. > Where can I find benchmarks ? It depends. I have a webapp (almost entirely static conten

RE: System requirements

2006-09-19 Thread Peter Crowther
> From: DEMESY Nicolas [mailto:[EMAIL PROTECTED] > I have one context for a web portal with servlet pages and > one context for an axis web server . OK... you still need more information here, I'm afraid. Axis is pretty small and pretty quick, but the web services that are running in it could b

RE: Custom Principal casting problem

2006-09-21 Thread Peter Crowther
> From: Darren Clarke [mailto:[EMAIL PROTECTED] > request.getUserPrincipal().getClass().toString() returns > "poc.security.TestPrincipal" > > (request.getUserPrincipal() instanceof > poc.security.I_TestPrincipal returns false Ah. Are you loading everything through the sa

RE: Tomcat and IIS - quick setup

2006-09-22 Thread Peter Crowther
> From: Mikolaj Rydzewski [mailto:[EMAIL PROTECTED] > http://tomcat.apache.org/connectors-doc/howto/iis.html - is > there any simpler way? No. IIS does not have built-in proxying. > I'm thinking also about running Tomcat standalone on port 80 > listening on another IP address. That's a simpl

RE: Filter Like behaviour within Tomcat Itself?

2006-09-22 Thread Peter Crowther
> From: Mike Wannamaker > What I would like to do is have something registered with > Tomcat so that all > requests that come to all contexts, or configured per > context, will first go > through this class before even getting to the applications > servlets/filtes. You want a Valve. These can

RE: New session PER REQUEST

2006-09-22 Thread Peter Crowther
> From: Darren Hall [mailto:[EMAIL PROTECTED] > I'm running a webapp built on Struts 1.2.9 running in Tomcat > 5.5 and using > an Apache 2.2 http server. I've noticed that any value I put into the > session is always removed after one request/response cycle. > In the Tomcat > Manager, I can see

RE: New session PER REQUEST

2006-09-25 Thread Peter Crowther
> From: Darren Hall [mailto:[EMAIL PROTECTED] > You are correct. When hitting Tomcat directly, the session > remains intact. > When using mod_proxy to forward requests to Apache the > session is lost. > Is this a common issue? How can I go about correcting this? I'll have to open that up to the

RE: Looking for someone to review a Tomcat setup.

2006-09-25 Thread Peter Crowther
> From: Charles P. Killmer [mailto:[EMAIL PROTECTED] > Is no one interested in some money on the side? I am not looking for > volunteer charity work. You would be paid for your help. Sure I'm interested, but MN is 6 timezones and a day's travel away. - Peter --

RE: New session PER REQUEST

2006-09-25 Thread Peter Crowther
> From: Darren Hall [mailto:[EMAIL PROTECTED] > (with one change - > the connector port in the new connector element I specified > is 8080, and I > also have the default element still uncommented also using > port 8080. Will this create a conflict?) I'm a little surprised it works at all. Use

RE: Newbie Tomcat question - where to store dependency DLLs?

2006-10-17 Thread Peter Crowther
> From: AStefanS [mailto:[EMAIL PROTECTED] > my DLL can be > downloaded successfully (after adding application/x-msdownload MIME > mapping), but the dependency DLLs are not downloaded. Turn on access logging via the access log valve and see what requests IE is making for the dependency DLLs. Put

RE: XP network connections freeze after request by IE

2006-10-17 Thread Peter Crowther
> From: Martin Heiden [mailto:[EMAIL PROTECTED] > Does anybody have an idea how to debug this behaviour? As a divide-and-conquer: what happens if you configure a HTTP connector directly on Tomcat and test to that instead of through Apache? Same symptoms? - Peter -

RE: request browser window identification

2006-10-26 Thread Peter Crowther
> From: Tomas Pop [mailto:[EMAIL PROTECTED] > please, is some HttpServletRequest parameter or attribute, that > identifies the browser window? Not to my knowledge. If you want to identify from which response the new request was generated, you'll have to write your response in some suitable way

RE: request browser window identification

2006-10-26 Thread Peter Crowther
> From: Peter Crowther > - User has window W open on page A. > - User opens window Y, a copy of window X, using their browser menus. (Sigh). Too little coffee. The first line should read "window X", not "window W". Sorry about t

RE: Apache with Windows 98

2006-10-27 Thread Peter Crowther
> From: Brandon Goodin [mailto:[EMAIL PROTECTED] > In the name of all that is good, what university subjects its > students to using Windows 98!? A sensible Uni recognises that not all of its students wish to pay the Microsoft Tax whenever a new OS release comes out. A frugal (but not necessari

RE: Jakarta Tomcat Connector on IIS

2007-04-19 Thread Peter Crowther
> From: Swaroop George [mailto:[EMAIL PROTECTED] > I have an IIS server sitting in the DMZ and I need to be able to > redirect all incoming requests to a Tomcat server in the in the > internal network. [...] > But somehow my isapi filter shows as Not Loaded. > > Am I missing anything in the entir

  1   2   3   4   5   >