RE: IDE

2007-04-19 Thread Nelson, Tracy M.
| From: David Short [mailto:[EMAIL PROTECTED] | Sent: Tuesday, 17 April, 2007 11:35 | | NetBeans uses the embedded Tomcat 5.5.17 by default. How can a newly | installed Tomcat 5.5.20 be configured to be used as the default? Right-click on your project in the Projects tab, click "Properties", cli

RE: Authenticating to ActiveDirectory from webapp

2007-04-24 Thread Nelson, Tracy M.
| From: David Kerber [mailto:[EMAIL PROTECTED] | Sent: Tuesday, 24 April, 2007 10:38 | | What is a good java package that I can use with my webapp to let my | customers authenticate against their active directory installation, from | my Tomcat 5.5.15 webapp? Can't you just use the standard Java L

RE: Authenticating to ActiveDirectory from webapp

2007-04-24 Thread Nelson, Tracy M.
| From: David Kerber [mailto:[EMAIL PROTECTED] | Sent: Tuesday, 24 April, 2007 13:31 | | Nelson, Tracy M. wrote: | | >Can't you just use the standard Java LDAP classes? Javax.naming.ldap.*, | >javax.naming.directory.* and friends? AD is supposed to be | >LDAPv3-compliant. | >

RE: Remote EJB calls from Tomcat 5 to Weblogic 8.1 appear to be s lower than from Weblogic 8.1 as a web server

2007-05-14 Thread Nelson, Tracy M.
| From: Jonathan Kitchner [mailto:[EMAIL PROTECTED] | Sent: Friday, 11 May, 2007 14:39 | | Under Tomcat the EJB calls are much slower ( I know that | Tomcat does not perform the actual call - we are using the thin client | from WebLogic). Were you using local EJB references in WebLogi

RE: Error trapping

2007-05-18 Thread Nelson, Tracy M.
I actually have a note about this exact thing. Check here: http://randomcoolzip.blogspot.com/2006/02/hack-of-day.html | -Original Message- | From: David kerber [mailto:[EMAIL PROTECTED] | Sent: Friday, 18 May, 2007 12:47 | To: users@tomcat.apache.org | Subject: Error trapping | | In my p

RE: Error trapping

2007-05-18 Thread Nelson, Tracy M.
getMethodName() *is* the utility routine. I intended to stick it in the base class for all of our business objects, so it would always be available. If you're going to use it extensively, you might want to put it in a utility class as a static method. Either way, you can just concatenate the retu

RE: Accessing a class file under WEB-INF/classes from JSP

2007-05-25 Thread Nelson, Tracy M.
| From: Rajiv M [mailto:[EMAIL PROTECTED] | Sent: Wednesday, 23 May, 2007 13:41 | | Of course, adding package solves all the problems. But what can be | done to modify 3rd party classes already in WEB-INF/classes prior to | this Sun restriction... This is probably too simple, but can you simply c

RE: Share one singleton across webapps

2007-06-18 Thread Nelson, Tracy M.
| From: Kevin Wilhelm [mailto:[EMAIL PROTECTED] | Sent: Monday, 18 June, 2007 08:59 | | Should I use Ant for deploying then? But I won't be able to debug | the webapps from within my IDE anymore since I am avoiding Eclipse's | deployment mechanisms. You should still be able to use Eclipse, just m

RE: Design

2007-06-19 Thread Nelson, Tracy M.
| From: Pierre Goupil [mailto:[EMAIL PROTECTED] | Sent: Tuesday, 19 June, 2007 05:59 | | And, no, definitely you don't need EJB : that's a too heavy-weight | technology for such a project. And the learning curve is far more longer. Actually, with annotations and a supportive IDE (NetBeans, and pr

RE: Encrypt Tomcat 4.1 log and log4j.properties log with MD5

2007-06-20 Thread Nelson, Tracy M.
| From: Yulius [mailto:[EMAIL PROTECTED] | Sent: Wednesday, 20 June, 2007 05:07 | | I'm currently need to do the encryption towards the log files that has | been created by the webserver and the webapplication, so that only those | who has the password to decrypt the log files can read them. So

RE: Keeping busy site responsive

2007-06-27 Thread Nelson, Tracy M.
| From: Parham, Clinton [mailto:[EMAIL PROTECTED] | Sent: Wednesday, 27 June, 2007 08:41 | | How do I keep my web application responsive for users already half way | through an enrollment process when traffic volume is high? I'd recommend setting a "registration-in-progress" session cookie. Then,

RE: Where to find session cookies

2007-06-27 Thread Nelson, Tracy M.
| From: lightbulb432 [mailto:[EMAIL PROTECTED] | Sent: Tuesday, 26 June, 2007 14:13 | | How can I configure Tomcat to use permanent cookies as opposed to session | cookies? One of the reasons I'd like to know is to see the behavior of | method isNew() of HttpSession, which I can do if I'm able to

RE: Keeping busy site responsive

2007-06-27 Thread Nelson, Tracy M.
| From: Brantley Hobbs [mailto:[EMAIL PROTECTED] | Sent: Wednesday, 27 June, 2007 12:37 | | This approach seems to work well (at least until the box staggers to a | halt simply issuing redirects). Just out of curiosity, do you think it would help in those situations to issue a 503 instead of a 30

RE: Keeping busy site responsive

2007-06-28 Thread Nelson, Tracy M.
| From: Parham, Clinton [mailto:[EMAIL PROTECTED] | Sent: Thursday, 28 June, 2007 07:34 | | Brantley: I like the idea but the part about 'staggering to a halt | issuing redirects' is a concern. If this were to happen, then even users | with established sessions would have trouble getting through -

RE: Spring+hibernate business logic accross multiple webapps

2007-07-10 Thread Nelson, Tracy M.
| From: axelspin [mailto:[EMAIL PROTECTED] | Sent: Monday, 09 July, 2007 13:12 | | But how about performance.. | | is it better to have multiple instances of hibernate sessionFactory | Objects | (one each web app) or to use an http call for each db query? | | Maybe transactions are handled bette

RE: problem I don't know how to summarize for this subject line

2007-07-12 Thread Nelson, Tracy M.
| From: Steve Sweet [mailto:[EMAIL PROTECTED] | Sent: Wednesday, 11 July, 2007 15:02 | | The original developer does | not experience this on his system which limits his ability to help me | figure it out. | | I am not a complete newbie with Tomcat but my experience to date has | been pretty stra

RE: Tomcat and cookies caching issue

2007-07-27 Thread Nelson, Tracy M.
| From: Riccardo [mailto:[EMAIL PROTECTED] | Sent: Thursday, 26 July, 2007 16:10 | | Maybe I should define some headers management rule within the webapp.. | I haven't measured the time exactly, but i find quite interesting that | this caching effect lasts around 2 minutes, than disappears. I wond

RE: Tomcat with 8 GB memory

2007-07-30 Thread Nelson, Tracy M.
| From: Christopher Schultz [mailto:[EMAIL PROTECTED] | Sent: Friday, 27 July, 2007 18:25 | | First of all, no home user ever bought an 8-bit machine. Oh, I'll bet there are a ton of former Apple ][, TRS-80 and Commodore Pet/64/VIC owners who would beg to differ...

RE: Installing Tomcat on Linux

2007-08-06 Thread Nelson, Tracy M.
| From: Vigorito, Nicholas E. [mailto:[EMAIL PROTECTED] | Sent: Thursday, 02 August, 2007 15:49 | | Here are some quotes from this person: | | I would never install open source from binaries on a machine I did not | want someone to break into. Cool, just get a copy of whatever tools he uses to s

RE: Tomcat Issue with HPUX

2007-08-10 Thread Nelson, Tracy M.
| From: pkt [mailto:[EMAIL PROTECTED] | Sent: Friday, 10 August, 2007 00:38 | | One option is that to increase the max thread per process limit of HP to | high value, but administrators are not very convinced with this idea | | Any pointers on this issue. Have your admins check out the "Java Out

RE: web application - student need help

2007-01-08 Thread Nelson, Tracy M.
| From: Michael Ni [mailto:[EMAIL PROTECTED] | Sent: Friday, 05 January, 2007 16:38 | | even with connection pooling, how many connections are we looking at here? | if my project works as intended, im predicting from 30 to 1000 poeple | simultaneously hitting tomcat and sql server. If you're jus

RE: Standards Complaint Browser Campaign

2007-01-08 Thread Nelson, Tracy M.
| From: Pierre Goupil [mailto:[EMAIL PROTECTED] | Sent: Saturday, 06 January, 2007 10:18 | | Does anyone know about Tomcat's generated HTML standards compliance ? In | developpement, I'm using Firefox & Konqueror, but in production they will | be | using IE, so... Can it be that I run into problem

RE: Standards Complaint Browser Campaign

2007-01-08 Thread Nelson, Tracy M.
| From: Christopher Schultz [mailto:[EMAIL PROTECTED] | Sent: Sunday, 07 January, 2007 09:56 | | At any rate, you should try to avoid anything that's not a W3C standard. Yeah, so stay away from Mozilla's little "shortcuts" like using document.getElementsByTagName('tag')['name'] (gEBTN() is define

RE: web application - student need help

2007-01-08 Thread Nelson, Tracy M.
| | Tracy Nelson. | Out of curiosity, can you point to some articles relating to the growing | pains you mentioned regarding Slashdot, Granddaddy and MySpace? | | Thanks | Scott Ross | | -Original Message- | From: Nelson, Tracy M. [mailto:[EMAIL PROTECTED] | Sent: Monday, January 08, 2

RE: Running Tomcat5.5 as 64 bit application

2007-01-09 Thread Nelson, Tracy M.
| From: Jonas Fagerstrom [mailto:[EMAIL PROTECTED] | Sent: Monday, 08 January, 2007 20:17 | | Mladen Turk jboss.com> writes: | > | > Use 64 bit procrun (tomcat5.exe) from: | > http://svn.apache.org/viewvc/tomcat/connectors/trunk/procrun/bin/ | > (remove the .amd64 extension of course) | | I tried

RE: Java memory profiler

2007-01-09 Thread Nelson, Tracy M.
| From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] | lucent.com.au] | Sent: Monday, 08 January, 2007 20:22 | | I would like to profile a Tomcat application on Solaris machine. | [snip] | I would appreciate any suggestions. I can't say enough good things about JProbe (www.quest.com/jprobe). I

RE: Tomcat unexpectedly shuts down

2007-01-15 Thread Nelson, Tracy M.
| From: Brown, Carlton [mailto:[EMAIL PROTECTED] | Sent: Thursday, 11 January, 2007 16:49 | | In catalina.out I see the Anthill application going through a shutdown | sequence right before the time Tomcat dies. So my assumption, maybe | invalid, is that it's shutting down because Tomcat instruct

RE: Accessing files from file server

2007-01-18 Thread Nelson, Tracy M.
| From: Priya Khanna [mailto:[EMAIL PROTECTED] | Sent: Thursday, 18 January, 2007 01:41 | | In my application my user will be logged in | as domain user only so is it possible to check at run time that who has | logged in and if user has access on file server then he can access the | files even if

RE: Accessing files from file server

2007-01-19 Thread Nelson, Tracy M.
| From: Priya Khanna [mailto:[EMAIL PROTECTED] | Sent: Friday, 19 January, 2007 03:58 | | But how can I use VFS in an intranet application which is web based? I can't answer exactly, since I've never used VFS, but I imagine all you would have to do is create a FileObject that points to the remote

RE: Change the encoding format of xml outpu

2007-01-22 Thread Nelson, Tracy M.
| From: Sarah Parrott [mailto:[EMAIL PROTECTED] | Sent: Monday, 22 January, 2007 02:44 | | I'm writing out xml in a servlet not a jsp page so I can't use the page | declaration thing. So how are you writing it out? Just stuffing everything into a StringBuffer and then writing it out to a file?

RE: Embedded Tomcat and application communication

2007-01-24 Thread Nelson, Tracy M.
| From: Yiannis Mavroukakis [mailto:[EMAIL PROTECTED] | Sent: Tuesday, January 23, 2007 04:29 | | The application I am writing this for is a server daemon which has a cli | that enables the user to issue commands to it once it's up and running. Can you just fire up a shell (System.getRuntime().ex

RE: How do I increase performance on Tomcat?

2007-01-29 Thread Nelson, Tracy M.
| From: Gaurav Kushwaha [mailto:[EMAIL PROTECTED] | Sent: Monday, 29 January, 2007 06:11 | | I have an application that has been working fine for last half an year | or so. Recently the load has started increasing and the time it takes to | serve a request is going up significantly. When I loo

RE: Context.INITIAL_CONTEXT_FACTORY

2007-02-01 Thread Nelson, Tracy M.
| From: Fran Varin [mailto:[EMAIL PROTECTED] | Sent: Thursday, 01 February, 2007 08:05 | | It boils down to my attempt at using | "org.apache.naming.java.javaURLContextFactory". However, when I do I | receive "javax.naming.NameNotFoundException: Name jdbc is not bound | in this Context:". Are yo

RE: [OT] Need help finding a Java class

2007-02-06 Thread Nelson, Tracy M.
| From: Steve Ingraham [mailto:[EMAIL PROTECTED] | Sent: Tuesday, 06 February, 2007 15:18 | | To answer your question about my Java experience, I | do not know much at all. I have started a Java for beginners class this | January that I am taking online and I am attempting to work through the | O'

RE: OutOfMemoryError (but not really out of memory?) cause tomcat processes to hang

2007-02-09 Thread Nelson, Tracy M.
| From: Tim Funk [mailto:[EMAIL PROTECTED] | Sent: Friday, 09 February, 2007 06:30 | | Pardon the bad math in the faq since 64*2!=256 ;) Obviously you were thinking "64 << 2" -- happens to everybody... ;) - -

RE: [OT] RE: insight into model.do

2007-02-14 Thread Nelson, Tracy M.
| From: Steve Ingraham [mailto:[EMAIL PROTECTED] | Sent: Tuesday, 13 February, 2007 15:57 | | I have been reading everything I can online, I | have a "Learning Java" book that I am trying to read and understand, I | have enrolled in a Java class that is teaching me some basics of Java | coding. B

RE: help configuring tomcat to debug my application

2007-02-15 Thread Nelson, Tracy M.
| From: Marini, Joseph [mailto:[EMAIL PROTECTED] | Sent: Thursday, 15 February, 2007 13:07 | | I have installed tomcat 5.5.20 on an XP system. It has installed as a | service. | | I am trying to configure tomcat so I can remote debug my app via IDEA. In your Tomcat bin directory there should be

RE: Hot deploy without reloading

2007-02-16 Thread Nelson, Tracy M.
| From: René Schade [mailto:[EMAIL PROTECTED] | Sent: Friday, 16 February, 2007 08:26 | | I would like to let my JSP-pages hot-deploy without an explicit reload of | the application. Is that possible? In my current configuration, the | Servlets are hot-deploy without reload, just like I want it, b

RE: Installing Tomcat 6.0.9 on Sun Solaris

2007-02-20 Thread Nelson, Tracy M.
| From: Daniel Gresh [mailto:[EMAIL PROTECTED] | Sent: Monday, 19 February, 2007 15:43 | | I cannot run "tar xvfz jsvc.tar.gz", as the | -z argument is not being recognized. The directions said GNU TAR was | needed, so I searched the web for that, but I came to a confusing site | that said somethi

RE: IIS Experience Anyone?

2007-03-02 Thread Nelson, Tracy M.
| From: Scott Danforth [mailto:[EMAIL PROTECTED] | Sent: Friday, 02 March, 2007 14:16 | | If you've tried to use ISAPI_redirect.dll v 1.2.20 (successfully, or | not), could you reply with a few words? For example, what Windows OS and | IIS versions we're you using? This was a few years ago, but I

RE: [OT]Re: Is better one or more Tomcat instances per machine

2007-03-14 Thread Nelson, Tracy M.
| From: Christopher Schultz [mailto:[EMAIL PROTECTED] | Sent: Wednesday, 14 March, 2007 10:37 | | The fact remains that you can't allocate a VM heap bigger than around | 1750MB on my 32-bit, 2.6 Linux kernel. Why not? If, as you stated earlier, you only have 1G of physical and 1G of virtual memor

RE: [OT]Re: Is better one or more Tomcat instances per machine

2007-03-14 Thread Nelson, Tracy M.
| From: Christopher Schultz [mailto:[EMAIL PROTECTED] | Sent: Wednesday, 14 March, 2007 12:05 | | Perhaps, but the JVM actually refuses to start right away. In my "eat | all my memory" tests, I was able to eat around 1.6GB before I brought my | machine to a crawl. It took more than a minute for my

RE: getRemoteAddr() returns IPv6 instead of IPv4

2007-03-14 Thread Nelson, Tracy M.
| From: jt [mailto:[EMAIL PROTECTED] | Sent: Tuesday, 13 March, 2007 13:11 | | When I make a request.getRemoteAddr() I receive an IPv6 address while I | want the IPv4. Is the request coming across an IPv6 interface? If so, I don't know that you can get an IPv4 address (without calling getRemoteH

RE: [OT]Re: Is better one or more Tomcat instances per machine

2007-03-14 Thread Nelson, Tracy M.
| From: Christopher Schultz [mailto:[EMAIL PROTECTED] | Sent: Wednesday, 14 March, 2007 15:02 | | In my tests on the larger machine, the JVM kindly tells me that it can't | give me that much memory, rather than crashing and burning as I would | expect after being tricked by the OS. Perhaps the JV

RE: apache-tomcat on an ia64 rhel4?

2007-03-21 Thread Nelson, Tracy M.
| From: Jeff Sadowski [mailto:[EMAIL PROTECTED] | Sent: Tuesday, 20 March, 2007 16:44 | | I would like to run apache-tomcat on an dual Itanium server I have at | work. | I cannot find JDK for it nor can I find anything besides gcj Sun shows a 1.5 JDK for RHAS3.0 on Itanium2 at http://java.sun.com

RE: connection pool

2007-03-22 Thread Nelson, Tracy M.
| From: Gioia, Michael [mailto:[EMAIL PROTECTED] | Sent: Thursday, 22 March, 2007 08:36 | | Barry, how did you have a service stop and start on it's own, with out | rebooting the machine? You can probably use the NET START/STOP commands in a script, and then run that script as a scheduled job (o

RE: Need help with authentication

2007-04-04 Thread Nelson, Tracy M.
IE is sending "Pragma: no-cache" when it requests the admin page ("Request 3" in your previous message). Firefox isn't, so I'm guessing Tomcat is assuming that FF has a copy. This is just what I noticed, I'm not an HTTP or Tomcat expert. | -Original Message- | From: Kenneth Westelinck [m

RE: Tomcat 5.5.17 and IPv6 configuration

2007-04-12 Thread Nelson, Tracy M.
Have you tried with http://[0:0:0:0:0:0:0:1]:8080/ ? That's the canonical IPv6 loopback address (minus the port, of course). | -Original Message- | From: SAVERIO FERRARO [mailto:[EMAIL PROTECTED] | Sent: Thursday, 12 April, 2007 06:04 | To: [EMAIL PROTECTED] | Subject: Tomcat 5.5.17 and I

RE: Does anyone have an approach to checking if Tomcat instance is UP?

2007-08-20 Thread Nelson, Tracy M.
How is your JSP checking your application? Are you issuing a request to your app and checking the HTTP status? If so, why isn't it recognizing the 500? Or is the JSP in your application which is failing? | -Original Message- | From: Kim Albee [mailto:[EMAIL PROTECTED] | Sent: Monday, 20

RE: Possible Tomcat + Javascript + Internet Explorer Problem

2007-08-20 Thread Nelson, Tracy M.
| From: redminator [mailto:[EMAIL PROTECTED] | Sent: Monday, 20 August, 2007 02:50 | | I have some javascript code that creates a slide menu. It works fine both | in IE and Mozilla. | | But, when I integrate that code in a page which I open from tomcat, the | code | doesn't work anymore when I

RE: Does anyone have an approach to checking if Tomcat instance is UP?

2007-08-21 Thread Nelson, Tracy M.
| From: Kim Albee [mailto:[EMAIL PROTECTED] | Sent: Tuesday, 21 August, 2007 12:49 | | We use a monitoring tool that has the automated checks for the application | JVM and we can set different threshholds there -- but I've got to be able | to | have the check run by the load balancer know that the

RE: Need a way to identify tomcat instances at run-time

2007-08-24 Thread Nelson, Tracy M.
| From: Brian Barnett [mailto:[EMAIL PROTECTED] | Sent: Friday, 24 August, 2007 11:54 | | I have a struts-based application running on multiple tomcat instances, | load | balanced by a hardware load balancer, i.e., no Apache Web Server. I need a | way at run-time to know which tomcat instance it i