RE: Multi user setup in a non root environnement

2006-04-06 Thread Peter Crowther
> From: François Conil [mailto:[EMAIL PROTECTED] > 2) I created a tomcat user and tomcat group, chowned the whole tomcat > directory to tomcat:tomcat and launched the tomcat server without any > particular switch after having su-ed to the tomcat user. > > The www.site.com:8080/ default page wor

RE: Does Tomcat provide support for PHP scripts

2006-03-31 Thread Peter Crowther
> From: Ikonne, Ike [mailto:[EMAIL PROTECTED] > Does Tomcat provide support for php scripting language? Yes, you could build PHP as a CGI program and run it using Tomcat's CGI support, but this would be pretty slow. There is no facility that I know of to integrate PHP with Tomcat. Otherwise, as

RE: Managing sessions - Object destruction

2006-03-30 Thread Peter Crowther
> From: David Kerber [mailto:[EMAIL PROTECTED] > I don't know javascript hardly at all, but would it work to write a > little script and use an onClose event to trigger a logout request? Yes, unless the browser crashes, the user disconnects from the internet before closing the browser, or the br

RE: Managing sessions - Object destruction

2006-03-30 Thread Peter Crowther
> From: Victor Hugo Germano [mailto:[EMAIL PROTECTED] > The problems is, when do i have to kill the session?? Even when the > browser is closed, the session continues at the memory... Remember that HTTP is a stateless protocol. Tomcat does not (and cannot) know that the browser has been closed.

RE: Site Not Getting Spidered or Indexed

2006-03-27 Thread Peter Crowther
> From: Scott Purcell [mailto:[EMAIL PROTECTED] > Actually Peter, > > I have no javascript links on my page. The site is a struts site, and > all links are regular links with no odd, or peculiar issues. OK. I'd be able to make better guesses if I could see the site - apologies if I've missed a

RE: Site Not Getting Spidered or Indexed

2006-03-27 Thread Peter Crowther
> From: Scott Purcell [mailto:[EMAIL PROTECTED] > When I submitted the site to google, this is the page I submitted. Why > wouldn't my site get spidered? - Google can't read the links because they're embedded in a nice pretty dynamic Javascript-y menu system; - You're returning an odd encoding a

RE: Tomcat 5.5.16 Bug? messes up when a class has the same name as a package

2006-03-23 Thread Peter Crowther
> From: Allistair Crossley [mailto:[EMAIL PROTECTED] > Tomcat is just adhering to the Sun Java specification naming > conventions. Packages should be lowercase. The OP's described package names *are* all lower-case, and the class names are uppercase. - Peter

RE: Better Linux Distribution for production environment

2006-03-23 Thread Peter Crowther
> From: korbben [mailto:[EMAIL PROTECTED] > Which Linux distribution can i choose for production > environment ? My recommendation would be 'the one you already have most experience with or where you know the most people who can support you'. Distro wars are common; but I've not yet found any d

RE: NT Service and JRockit

2006-03-17 Thread Peter Crowther
> From: Pitre, Russell [mailto:[EMAIL PROTECTED] > "Please select > the path of a J2SE 5.0 JRE installed on your system:", I then chose > "C:\JAVA\jrockit-R26.0.0-jdk1.5.0_04\jre\bin\jrockit" as the path. Thinking aloud here, but wouldn't the path be just to c:\...\jre ? - Peter

RE: Are filters restricted to be within contexts?

2006-03-10 Thread Peter Crowther
> From: David Kerber [mailto:[EMAIL PROTECTED] > Basically, I'd like to know if a filter can be used to change > a context > path, or are they restricted to acting within a given context? Filters are spec-compliant and per-context. Valves are Tomcat-specific and can be per-instance. You could

RE: LookupPrinterService problem

2006-03-08 Thread Peter Crowther
> From: Asensio, Rodrigo [mailto:[EMAIL PROTECTED] > Starting the Tomcat as Windows Service it cannot find > printers What user is the service running as? Also note that profiles are never loaded for processes running as Windows services, so any profile information that may be set for a given u

RE: [OT] Question about licensing

2006-03-08 Thread Peter Crowther
> From: Leon Rosenberg [mailto:[EMAIL PROTECTED] > For process reasons the source code of > the libs will not be available Then LGPL is unsuitable. > The jars would be free for copy, modification, usage, all the gpl > stuff, but not available in sourcecode. Apache and LGPL are often unnecessari

RE: How can I set tomcat NOT Case Sensitive

2006-03-07 Thread Peter Crowther
> From: David Kerber [mailto:[EMAIL PROTECTED] > Ok, I see that, and it's kind of scary! That seems like a > pretty poor > design for the compiler not to handle that kind of change. It ain't the compiler - the JSP compiler never gets invoked because the mapping is case-sensitive, and the mappi

RE: How can I set tomcat NOT Case Sensitive

2006-03-07 Thread Peter Crowther
> From: Tim Lucia [mailto:[EMAIL PROTECTED] > If you ask for /path/to/some.JSP, you will see the source > code of the jsp, > since the jsp compiler is mapped to *.jsp (and not *.JSP). Presumably [I haven't tested this] detection of accesses to WEB-INF and META-INF will also fail, exposing the we

RE: tomcat and websphere compatibility

2006-03-07 Thread Peter Crowther
> From: Long [mailto:[EMAIL PROTECTED] > Has anyone develop in Tomcat and deploy to Websphere? Bodington (http://sf.net/projects/bodington) is developed and tested on Tomcat (4.x, 5.0.x and 5.5.x - we have a mixed development team). We deploy on a variety of containers; I believe at least one in

RE: Question

2006-03-01 Thread Peter Crowther
> From: Andrew English [mailto:[EMAIL PROTECTED] > Were do I need to look to figure out what SQL server > tomcat/jboss 2.4 is pointing at? Could be anywhere. A generic approach that will probably get you quite a long way is to run: netstat -an | find "1433" And seeing what the far-en

RE: javaservice.exe

2006-03-01 Thread Peter Crowther
> From: Andrew English [mailto:[EMAIL PROTECTED] > Is there anyway to force close the javaservice.exe on > windows? When I tried to do it under Taskmanager (as > Administrator) it tells me "could not be completed.. access denied". If it's running as LocalSystem, not to my knowledge - you don't

RE: Sad: Tomcat 5.5.x crashes almost every single day.

2006-02-28 Thread Peter Crowther
> From: news [mailto:[EMAIL PROTECTED] On Behalf Of Tomasz Nowak > Probably important: > === [lots of technical details about kit and container config] Very important == Your application. Have you profiled it for memory leaks that would cause a OOME? Have you tested

RE: How to separate tomcat instances?

2006-02-27 Thread Peter Crowther
> From: lk [mailto:[EMAIL PROTECTED] > I'm not sure my solutions is correct: I have 3 different > directory, and > each directory contains a complete binary distribution of tomcat. > And I have to startup each tomcat instance. > Is it the good way? It's not a *bad* way, as you can upgrade each

RE: How to separate tomcat instances?

2006-02-27 Thread Peter Crowther
> From: lk [mailto:[EMAIL PROTECTED] > I would like to know if it is possible to run multiple > instances of tomcat. > I've read the documentation and I found out that I can configure > multiple workers to serve multiple instances of Tomcat. > But I haven't understood if in this way the contexts

RE: Tomcat IP and Session ID's

2006-02-24 Thread Peter Crowther
> From: Paul Roberts [mailto:[EMAIL PROTECTED] > I was wondering, over and above encrypting the communications > channel how does HTTPS help to prevent session ID hijacking? To my knowledge, it doesn't (better heads than me may wish to contradict me here). But keeping a randomly-generated sessi

RE: Tomcat IP and Session ID's

2006-02-24 Thread Peter Crowther
> From: Paul Roberts [mailto:[EMAIL PROTECTED] > I have a question regarding IP address and session ID's. > > If a user on IP Address 1 connects to the Tomcat server and is given > session ID A, what happens if that session ID is hijacked by > someone on > IP address 2 and then used for a furthe

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

[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: 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*

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

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

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

<    5   6   7   8   9   10