RE: Session Invalidation Not working

2006-11-03 Thread Caldarale, Charles R
> From: me_zeta [mailto:[EMAIL PROTECTED] > Subject: Session Invalidation Not working > > From my jsp page i call session.invalidate(). After > doing this if i check the tomcat active session > through the tomcat manager i find that the number > of active session has not reduced. You may be gett

RE: Unable to compile class for JSP

2006-11-06 Thread Caldarale, Charles R
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Subject: Unable to compile class for JSP > > Class foo is in the default package. > > Beside using the default package, what am I doing wrong? Since you seem to be aware the using the default package is not allowed, why haven't you fixed tha

RE: Unable to compile class for JSP

2006-11-06 Thread Caldarale, Charles R
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Subject: RE: Unable to compile class for JSP > > Well, umm, actually I wasn't aware that the default package > isn't allowed. Quoting from section 11.2 of the JSP spec: "However, as of JDK 1.4, importing classes from the unnamed package is

RE: preserving files/folders when updating an app

2006-11-06 Thread Caldarale, Charles R
> From: Michael Hencin [mailto:[EMAIL PROTECTED] > Subject: RE: preserving files/folders when updating an app > > I just was curious if you could specify in your war file > options for no not overwrite folder "X" or something. What you're trying to do is somewhat in conflict with the intent of

RE: Webapp runs on Tomcat 5.5.9 but not 5.5.20

2006-11-06 Thread Caldarale, Charles R
> From: John Langan [mailto:[EMAIL PROTECTED] > Subject: Webapp runs on Tomcat 5.5.9 but not 5.5.20 > > I have tried various things with no luck including editing > C:\apache-tomcat-5.5.20\conf\server.xml, You should not be putting tags in conf/server.xml. > C:\apache-tomcat-5.5.20\conf\Catali

RE: Webapp runs on Tomcat 5.5.9 but not 5.5.20

2006-11-06 Thread Caldarale, Charles R
> From: John Langan [mailto:[EMAIL PROTECTED] > Subject: RE: Webapp runs on Tomcat 5.5.9 but not 5.5.20 > > I have META-INF/context.xml in my app, which contains the following. > > > WEB-INF/web.xml > META-INF/context.xml > > The path attribute should be removed, since its

RE: Tomcat 5.5 service.bat

2006-11-06 Thread Caldarale, Charles R
> From: Derrick Koes [mailto:[EMAIL PROTECTED] > Subject: RE: Tomcat 5.5 service.bat > > Where? The windows install does not put them in the bin directory? Depends on which package you downloaded. The .exe does not contain the .bat files, the .zip does. I have no idea why they're different.

RE: Change welcome page

2006-11-07 Thread Caldarale, Charles R
> From: Fabian Brauers [mailto:[EMAIL PROTECTED] > Subject: Re: Change welcome page > > What do I have to change in order to see the > BusinessObjects application when I use http://localhost:8080 ? You have to replace the existing ROOT app with your own. Delete the existing webapps/ROOT direc

RE: advice on creating a self contained demo

2006-11-07 Thread Caldarale, Charles R
> From: Michael Hencin [mailto:[EMAIL PROTECTED] > Subject: RE: advice on creating a self contained demo > > I was looking more for a way to bundle my webapp with TC, > and then just install that. Look at the embedded capability of Tomcat. You can have a small Java driver program that launches

RE: Need setting up Tomcat with Apache web-server

2006-11-07 Thread Caldarale, Charles R
> From: Patrick Fong [mailto:[EMAIL PROTECTED] > Subject: Need setting up Tomcat with Apache web-server > > Any ideas? Just one, but you may not like it: simplify your life by getting rid of httpd, unless you have a dire need for it. Configure Tomcat to use ports 80 and 443 and let it serve you

RE: SSL not working on Tomcat

2006-11-07 Thread Caldarale, Charles R
> From: Michael Casale [mailto:[EMAIL PROTECTED] > Subject: SSL not working on Tomcat > > I'm struggling through setting up Tomcat with SSL on a Windows 2003 > server, and even when I get the server running, with no errors in the > logs when restarting the tomcat service, all I get is a "Page >

RE: java.lang.NoClassDefFoundError: javax/servlet/ServletContextListener

2006-11-08 Thread Caldarale, Charles R
> From: Vasiliy Keretsman [mailto:[EMAIL PROTECTED] > Subject: java.lang.NoClassDefFoundError: > javax/servlet/ServletContextListener > > - Error configuring application listener of class > myapp.util.WebApplicationContextSupport > java.lang.NoClassDefFoundError: javax/servlet/ServletContextList

RE: Application deployment error

2006-11-08 Thread Caldarale, Charles R
> From: evi [mailto:[EMAIL PROTECTED] > Subject: Application deployment error > > SEVERE: Error initializing endpoint > java.net.BindException: Address already in use: JVM_Bind:8080 So what else is using port 8080? Could be another copy of Tomcat running, could be another process, could be conf

RE: java.lang.NoClassDefFoundError: javax/servlet/ServletContextListener

2006-11-08 Thread Caldarale, Charles R
> From: Vasiliy Keretsman [mailto:[EMAIL PROTECTED] > Subject: Re: java.lang.NoClassDefFoundError: > javax/servlet/ServletContextListener > > Linux version of catalina/bin/setclasspath.sh in 5.5.15,17,20 hides > the following classpath setting under condition. With tools.jar in > classpath it wo

RE: java.lang.NoClassDefFoundError: javax/servlet/ServletContextListener

2006-11-08 Thread Caldarale, Charles R
> From: Vasiliy Keretsman [mailto:[EMAIL PROTECTED] > Subject: Re: java.lang.NoClassDefFoundError: > javax/servlet/ServletContextListener > > I manually added servlet-api.jar to CLASSPATH at first and Tomcat > started without errors. You've got something else going on. Tomcat completely ignore

RE: Change welcome page

2006-11-09 Thread Caldarale, Charles R
> From: David Delbecq [mailto:[EMAIL PROTECTED] > Subject: Re: Change welcome page > > Just put an index.jsp in webapp/ROOT/ that does a redirect to > correct url That's not quite sufficient, since the default ROOT app has a precompiled index.jsp, and that one along with its servlet mapping mus

RE: Preventing memory leaks with awt event thread, is it possible?

2006-11-09 Thread Caldarale, Charles R
> From: David Delbecq [mailto:[EMAIL PROTECTED] > Subject: Preventing memory leaks with awt event thread, is it > possible? > > One possibility could be to arrange for awt thread to run in > the context class loader of tomcat server, not the one of a > web application, but then you have to fin

RE: First-time user of Tomcat 5.5

2006-11-09 Thread Caldarale, Charles R
> From: Ernie Ho [mailto:[EMAIL PROTECTED] > Subject: First-time user of Tomcat 5.5 > > Now, I would go to Tomcat->Manager or Tomcat->Welcome pages > but these pages showed up error of the following : > > There is a problem with the page you are trying to reach and > it cannot be displayed.

RE: First-time user of Tomcat 5.5

2006-11-10 Thread Caldarale, Charles R
> From: Ernie Ho [mailto:[EMAIL PROTECTED] > Subject: RE: First-time user of Tomcat 5.5 > > 1) I cannot locate the "RUNNINGS.txt" indicated below in the > home directory. Grumble, grumble - it's another file that has been left out of the .exe installer. It's in the .zip and .tar.gz versions.

RE: Tomcat reloading

2006-11-12 Thread Caldarale, Charles R
> From: Karim Zibari [mailto:[EMAIL PROTECTED] > Subject: Tomcat reloading > > nothing works even I cannot ping the server. Assuming that ping works normally, this would indicate the problem has nothing to do with Tomcat, but instead with the box Tomcat is running on, or the network connections

RE: Tomcat reloading

2006-11-12 Thread Caldarale, Charles R
> From: Karim Zibari [mailto:[EMAIL PROTECTED] > Subject: Re: Tomcat reloading > > Thanks for that info but do you think it is possible for > my web app or for Tomcat to cause the problem and bring > the server down.? Only if there is an underlying flaw in the OS that the server is using. Proper

RE: Tomcat reloading

2006-11-12 Thread Caldarale, Charles R
> From: Karim Zibari [mailto:[EMAIL PROTECTED] > Subject: Re: Tomcat reloading > > how about if my web app ran out of memory or it made too many > database connections or (as my hosting compnay suggests) that > my web app was to get stuck in loop and render the processor > non-responsive to ot

How do I ........?

2006-11-12 Thread Steve R Burrus
I know that this question of mine has been asked/answered in this group, but I was wondering how do I go about checking for a null value? I feel the need to do this in a servlet file that incorporates an image into it. - To

Re: How do I ........?

2006-11-12 Thread Steve R Burrus
{ rp.setContentType( "image/jpeg" ); ServletContext sc = getServletContext (); InputStream in = sc.getResourceAsStream("/Sexy_Laundry_Girl!.JPG"); int r = 0; byte[] by = new byte[4096]; OutputStream os = rp.getOutputStream(); while( ( r

RE: Why is "ROOT" appended?

2006-11-13 Thread Caldarale, Charles R
> From: D. Alvarado [mailto:[EMAIL PROTECTED] > Subject: Why is "ROOT" appended? > > unpackWARs="true" autoDeploy="true" >xmlValidation="false" xmlNamespaceAware="false"> > > but when i request a loose page, it gets the file from "webapps/ROOT". > How do I change the confi

RE: Tomcat 6, can't display examples page

2006-11-13 Thread Caldarale, Charles R
> From: Dick Steflik [mailto:[EMAIL PROTECTED] > Subject: Tomcat 6, can't display examples page > > Have I forgotten to do something or did I > do something wrong? Neither - the new ROOT/index.html file is slightly broken. Try entering: http://localhost:8080/examples/jsp or http://loca

RE: Why is "ROOT" appended?

2006-11-13 Thread Caldarale, Charles R
> From: D. Alvarado [mailto:[EMAIL PROTECTED] > Subject: Re: Why is "ROOT" appended? > > Ok, let me ask another question. If I want to change the directory to > where I put JSP files that I don't want to package into a WAR, to say, > "/usr/local/apache2/htdocs", how do I do that? They don't hav

RE: Tomcat VS JBOSS

2006-11-13 Thread Caldarale, Charles R
> From: Ernie Ho [mailto:[EMAIL PROTECTED] > Subject: Tomcat VS JBOSS > > In particular, Tomcat is an app server with a built-in web > (HTTP) server; does JBOSS require an external webserver to > run its web applications ? Actually, Tomcat is a component of JBoss; no external webservers ar

RE: Tomcat start problem in NetBeans

2006-11-13 Thread Caldarale, Charles R
> From: kanika thapar [mailto:[EMAIL PROTECTED] > Subject: Tomcat start problem in NetBeans > > Here are the tomcat logs which mainly state "error starting > static resources" Any chance you're not closing files and then running out of file descriptors? This usually results in an OOME, but the

RE: Why is "ROOT" appended?

2006-11-13 Thread Caldarale, Charles R
> From: D. Alvarado [mailto:[EMAIL PROTECTED] > Subject: Re: Why is "ROOT" appended? > > privileged="true" antiResourceLocking="false" > antiJARLocking="false"> > > > Is the ROOT.xml file correct? That looks o.k. to me. Could there be a permissions problem - Tomcat unable to access

Re: How do I ........?

2006-11-13 Thread Steve R Burrus
hi chris this is steve Burrus and the line of code in question is the while loop : "while( ( r = in.read(by)) != -1) {" the server error for a long time has always pointed to that line of code creating the NPE. Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: S

RE: Tomcat start problem in NetBeans

2006-11-13 Thread Caldarale, Charles R
> From: EDMOND KEMOKAI [mailto:[EMAIL PROTECTED] > Subject: Re: Tomcat start problem in NetBeans > > Using CATALINA_BASE: /Users/kanika/.netbeans/5.0/ > jakarta-tomcat-5.5.9_base > Using CATALINA_HOME: /Applications/NetBeans.app/Contents/ > Resources/NetBeans/enterprise2/jakarta-tomcat-5.5.9

RE: How do I ........?

2006-11-13 Thread Caldarale, Charles R
> From: Martin Gainty [mailto:[EMAIL PROTECTED] > Subject: Re: How do I ? > > the instant you execute code where a variable is NULL you > will throw NullPointerException Absolute bullshit. > try > { > if( in == null) System.out.println("This statement will > never be executed as Nul

RE: How do I update the commons-fileupdate JAR from 1.0 to 1.2?

2006-11-13 Thread Caldarale, Charles R
> From: Patrick Mc Erlean [mailto:[EMAIL PROTECTED] > Subject: How do I update the commons-fileupdate JAR from 1.0 to 1.2? > > It looks like it's not as simple as replacing the jar. The > jar actually resides in ./server/webapps/manager/WEB-INF/lib. That location is only for the manager webapp

RE: How do I update the commons-fileupdate JAR from 1.0 to 1.2?

2006-11-13 Thread Caldarale, Charles R
> From: Patrick Mc Erlean [mailto:[EMAIL PROTECTED] > Subject: Re: How do I update the commons-fileupdate JAR from > 1.0 to 1.2? > > My understanding is that the manager webapp is part of the > Apache Tomcat installation. It's definitely not my app. But is it actually the one you're using from

RE: How to handle trailing slash and upper/lower case combinations

2006-11-13 Thread Caldarale, Charles R
> From: David Uctaa [mailto:[EMAIL PROTECTED] > Subject: How to handle trailing slash and upper/lower case > combinations > > how do I configure this when using Tomcat standalone? > > So all of the following combinations should resolve to > http://my.domain.com/MyApp > > http://my.domain.com/m

RE: How do I update the commons-fileupdate JAR from 1.0 to 1.2?

2006-11-13 Thread Caldarale, Charles R
> From: Patrick Mc Erlean [mailto:[EMAIL PROTECTED] > Subject: Re: How do I update the commons-fileupdate JAR from > 1.0 to 1.2? > > I understand what you're saying and it does seem strange that the > commons-fileupload jar lives under the manager webapp. Not strange at all - the manager webap

RE: How do I ........?

2006-11-13 Thread Caldarale, Charles R
hat it was null: > if (in==null) System.out.println("This is when in == null"); > while( ( r = in.read(by)) != -1) > > How is it that (in==null) didnt evaluate true ? It did, of course. Your previous output was thrown away when the exception occurred and re

RE: JSP error

2006-11-13 Thread Caldarale, Charles R
> From: Ernie Ho [mailto:[EMAIL PROTECTED] > Subject: JSP error > > I'm pretty sure of this, but Tomcat is reading the > classpath environment variable right ? No, the classpath environment variable (which is a truly bad idea) is ignored by Tomcat. > I mean, there is not another config file th

RE: How do I ........?

2006-11-13 Thread Caldarale, Charles R
> From: Steve Burrus [mailto:[EMAIL PROTECTED] > Subject: Re: How do I ? > > Any FRESH ideas about this possibly? Chris already gave you the answer - you need to check for null before referencing the input stream, and not blindly assume the resource exists. - Chuck THIS COMMUNICATION

RE: How do I update the commons-fileupdate JAR from 1.0 to 1.2?

2006-11-13 Thread Caldarale, Charles R
> From: Patrick Mc Erlean [mailto:[EMAIL PROTECTED] > Subject: Re: How do I update the commons-fileupdate JAR from > 1.0 to 1.2? > > Apparently the reason Apache rejects this request is that there is a > Content Length check for -1 in the FileUploadBase class. Not true in this case - FileUpload

RE: Another JSP error/question

2006-11-13 Thread Caldarale, Charles R
> From: Ernie Ho [mailto:[EMAIL PROTECTED] > Subject: Another JSP error/question > > (It looks like its trying to load some class file in > websphere. But the JSP code Is generic java code..) But the classes the JSP is using apparently are not. Either you have something that's Websphere-spec

RE: session replication/tomcat 5.5

2006-11-14 Thread Caldarale, Charles R
> From: Mark Hagger [mailto:[EMAIL PROTECTED] > Subject: Re: session replication/tomcat 5.5 > > 99.99% gives you a whole 3153 mins per year, or 52 hours, or > 1 hour per week of operation per year. Your premise is well taken, but the math is a bit shaky. 99.99% uptime per week equates to 1 min

RE: Problem with RemoteAddrValve in Context.xml

2006-11-14 Thread Caldarale, Charles R
> From: Peter Neu [mailto:[EMAIL PROTECTED] > Subject: AW: Problem with RemoteAddrValve in Context.xml > > Ok, I removed the path attribute. The result is the same. Is there a .xml file for the app in conf/[engine]/[host] (usually conf/Catalina/localhost)? If so, remove it so the one in META-IN

RE: Problem with RemoteAddrValve in Context.xml

2006-11-14 Thread Caldarale, Charles R
> From: Peter Neu [mailto:[EMAIL PROTECTED] > Subject: AW: Problem with RemoteAddrValve in Context.xml > > Yes. And when I deleted it. Then I must restart the app and this > automatically triggers the creation of a new context.xml file > in the dir conf/Catalina/localhost. Hopefully this one i

RE: Tomcat Out Of Memory

2006-11-14 Thread Caldarale, Charles R
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Subject: Tomcat Out Of Memory > > We are running Tomcat 4.1.18 on RedHat ES3 using JDK 1.4.2_02. > What is causing the error message below and What can I do to solve it? Start by reading the FAQ: http://tomcat.apache.org/faq/memory.html You

RE: Problem with RemoteAddrValve in Context.xml

2006-11-14 Thread Caldarale, Charles R
> From: Peter Neu [mailto:[EMAIL PROTECTED] > Subject: AW: Problem with RemoteAddrValve in Context.xml > > I put my context.xml in a directory named META-INF which > is on the same level as WEB-INF The path attribute is not allowed when the element is in META-INF/context.xml. Don't know whethe

RE: AW: Problem with RemoteAddrValve in Context.xml

2006-11-14 Thread Caldarale, Charles R
> From: David Smith [mailto:[EMAIL PROTECTED] > Subject: Re: AW: Problem with RemoteAddrValve in Context.xml > > I suspect the context.xml file in META-INF isn't honored unless you > deploy your webapp as a web archive file (.war). Not true - META-INF/context.xml is used regardless of whether th

RE: Tomcat 5.5 problems enabling SSL on Windows service version

2006-11-15 Thread Caldarale, Charles R
> From: David Uctaa [mailto:[EMAIL PROTECTED] > Subject: Re: Tomcat 5.5 problems enabling SSL on Windows > service version > > Do you think it possible that this is a problem that > upgrading the service version to 5.5.20 would help > resolve? Probably not. But - did you install the APR conne

RE: Can't find file - newbie question

2006-11-15 Thread Caldarale, Charles R
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Subject: Can't find file - newbie question > > Do I need to do something like define the file somehow in web.xml ? No, but you need to access it with ServletContext.getResourceAsStream(). Take a look at the FAQ: http://wiki.apache.org/tomcat/

RE: Autodeploy fails

2006-11-15 Thread Caldarale, Charles R
> From: Rick Dettwyler [mailto:[EMAIL PROTECTED] > Subject: Autodeploy fails > > If I "touch" that same WAR file, the autodeploy will fail, > as it leaves the webapps/[appname]/[appname].log file Is your webapp writing to its own deployment directory? If so, that's really a bad idea. What woul

RE: Autodeploy fails

2006-11-15 Thread Caldarale, Charles R
> From: Rick Dettwyler [mailto:[EMAIL PROTECTED] > Subject: RE: Autodeploy fails > > Perhaps I did not explain well. Your original description was fine. Does the webapp create or update the jq.log file? (I assumed so, based on the the name.) If so, that's against the intent of the servlet spe

Re: How do I ........?

2006-11-15 Thread Steve R Burrus
just a tiny correction for you Chris, and that is that the code ought to be "if(in = = null)" not as u had it "if(null = = in)". Am I right or not? Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Steve, Steve R Burrus wrote: hi chris this is

RE: Autodeploy fails

2006-11-15 Thread Caldarale, Charles R
> From: Rick Dettwyler [mailto:[EMAIL PROTECTED] > Subject: RE: Autodeploy fails > > The log is created by tomcat and is not within the WAR file. Tomcat will not create files within deployment directories at its whim. Sounds like you have a logging configuration *in your webapp* that's causing t

RE: How do I ........?

2006-11-15 Thread Caldarale, Charles R
> From: Steve R Burrus [mailto:[EMAIL PROTECTED] > Subject: Re: How do I ? > > just a tiny correction for you Chris, and that is that the > code ought to > be "if(in = = null)" not as u had it "if(null = = in)". Am I > right or not? No, yo

RE: hardware requisites to run tomcat

2006-11-15 Thread Caldarale, Charles R
> From: tvbr1 [mailto:[EMAIL PROTECTED] > Subject: hardware requisites to run tomcat > > So my question is: "What would be the recommended > configuration to run the tomcat?? (how much memory? > and how much CPU?)" The answer, of course, is 42. > So, anybody can help me? Not really. It's

RE: [OT[ How do I ........?

2006-11-15 Thread Caldarale, Charles R
> From: Christopher Schultz [mailto:[EMAIL PROTECTED] > Subject: Re: How do I ? > > Since you get bitten in C by missing an equals (it's quite easily to > miss it visually), I got into the habit of putting the null first. Belt and suspenders? > Why the heck are we discussing things like

RE: [OT[ How do I ........?

2006-11-15 Thread Caldarale, Charles R
> From: Christopher Schultz [mailto:[EMAIL PROTECTED] > Subject: Re: [OT[ How do I ? > > > Belt and suspenders? > > It's just a habit, okay!? :P Not complaining; I think it's a clever and wholly appropriate thing to do. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OT

RE: Manager deploy uploaded war - doesn't use the /WEB-INF/context.xml

2006-11-15 Thread Caldarale, Charles R
> From: Tim Alberts [mailto:[EMAIL PROTECTED] > Subject: Re: Manager deploy uploaded war - doesn't use the > /WEB-INF/context.xml > > However it's not going well. I renamed the 'app.war' file as > 'path#to#myapp#app.war' and the Manager application took it > and said it was fine. The trick w

RE: Manager deploy uploaded war - doesn't use the /WEB-INF/context.xml

2006-11-15 Thread Caldarale, Charles R
> From: Michael Hencin [mailto:[EMAIL PROTECTED] > Subject: RE: Manager deploy uploaded war - doesn't use the > /WEB-INF/context.xml > > I know I can leave the path out of my META-INF/context.xml file, Not just can, but *must*. The same applies to the docBase attribute - it's only pertinent wh

RE: Webapps inexplicably losing access to common/shared classloaders

2006-11-15 Thread Caldarale, Charles R
> From: Timothy Collett [mailto:[EMAIL PROTECTED] > Subject: Re: Webapps inexplicably losing access to > common/shared classloaders > > Well, it seems to have happened once again, this time in Tomcat > 6.0.0 I hope you're aware that 6.0 is still highly experimental - the fact that it is downl

RE: Apache 2.2.3 Tomcat 5.5.20 - mod_jk or proxy?

2006-11-15 Thread Caldarale, Charles R
> From: Rainer Jung [mailto:[EMAIL PROTECTED] > Subject: Re: Apache 2.2.3 Tomcat 5.5.20 - mod_jk or proxy? > > If you want to use mod_proxy, it is important to know, that most > documentation for mod_proxy_balancer is contained in apaches > documentation page for mod_proxy, not on the page for >

RE: Manager deploy uploaded war - doesn't use the /WEB-INF/context.xml

2006-11-15 Thread Caldarale, Charles R
> From: Tim Alberts [mailto:[EMAIL PROTECTED] > Subject: Re: Manager deploy uploaded war - doesn't use the > /WEB-INF/context.xml > > The server seems to be doing this? I have a file in conf/ [engine] / > [host] named with the # symbol 'path#to#myapp#app.xml and it > contains the context elem

RE: Manager deploy uploaded war - doesn't use the /WEB-INF/context.xml

2006-11-15 Thread Caldarale, Charles R
> From: Michael Hencin [mailto:[EMAIL PROTECTED] > Subject: RE: Manager deploy uploaded war - doesn't use the > /WEB-INF/context.xml > > I should add, I am using TC 5.0.28. Ahh - that does make a difference. Most of the information you were give applies to 5.5; the rules have changed significa

RE: [OT[ How do I ........?

2006-11-15 Thread Caldarale, Charles R
> From: Leon Rosenberg [mailto:[EMAIL PROTECTED] > Subject: Re: [OT[ How do I ? > > as long as you don't parenthesise everything just for the fun of it, > like in tomcats code, you shouldn't have fear, warrior. > > public String getAuthType() { > return (this.authType); > } >

RE: [OT] How do I ........?

2006-11-15 Thread Caldarale, Charles R
> From: Martin Gainty [mailto:[EMAIL PROTECTED] > Subject: Re: How do I ? > > This is one of those SS!=DS discussions which means that > variables placed/alloc'ed on the stack are NOT the same as > variables alloc'ed from heap > so > when using a variable which is alloced on the stac

RE: [SFnOT]Re: How do I ........?

2006-11-15 Thread Caldarale, Charles R
> From: Christopher Schultz [mailto:[EMAIL PROTECTED] > Subject: [SFnOT]Re: How do I ? > > I weep for you, Martin. Actually, I'd weep for anyone that hired him. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the i

RE: Daylight Saving Time Impact

2006-11-15 Thread Caldarale, Charles R
> From: Ranendra N Ghoshal [mailto:[EMAIL PROTECTED] > Subject: Daylight Saving Time Impact > > As you are aware Beginning in 2007, DST will start the second > Sunday of March and end on the first Sunday of November. Does > TomCat v3 or v5.5 impacted by Daylight Savings Time change ? Haven't s

RE: AW: Tomcat hangs

2006-11-15 Thread Caldarale, Charles R
> From: Philipp Lehner [mailto:[EMAIL PROTECTED] > Subject: AW: AW: Tomcat hangs > > Thank you fro your reply but it doesn't work. I got the same > message like one day before, only the value changed: The advice to raise your thread limit was pretty much guaranteed to just postpone the inevitab

RE: AW: Tomcat hangs

2006-11-15 Thread Caldarale, Charles R
> From: Philipp Lehner [mailto:[EMAIL PROTECTED] > Subject: AW: AW: Tomcat hangs > > How can I start such a thread dump. The Tomcat is running on > an Windows 2003 Server as a Service? For the duration of the investigation, you probably need to run it from the command line. Once you have the p

RE: Migrating from TC 4 -> 5

2006-11-15 Thread Caldarale, Charles R
> From: Jon Wynacht [mailto:[EMAIL PROTECTED] > Subject: Re: Migrating from TC 4 -> 5 > > More clearer still...is anybody authenticating a webapp on Tomcat > 5.5.20 using JDBCRealm? We're using JAASRealm, not JDBCRealm, without any problems. > Anybody know if the JDBCRealm class isn't include

RE: Web Application is unloaded from the server question

2006-11-17 Thread Caldarale, Charles R
> From: John Cruz [mailto:[EMAIL PROTECTED] > Subject: Web Application is unloaded from the server question > > I was under the assumption that when a session timeouts, the specific > Web Application is unloaded from the server; thus, reducing > the runtime memory footprint of the tomcat server.

RE: Starting Tomcat

2006-11-17 Thread Caldarale, Charles R
> From: David Schulberg [mailto:[EMAIL PROTECTED] > Subject: Starting Tomcat > > Can run Tomcat as a windows service. Want to be able to run > startup.bat but when I run it the output is: > and nothing happens. This should open up a 2nd command prompt window, which will persist until shutdow

RE: Tomcat Performance Concerns

2006-11-18 Thread Caldarale, Charles R
> From: Gaurav Kushwaha [mailto:[EMAIL PROTECTED] > Subject: Tomcat Performance Concerns > > I have a simple JSP-application that makes use of an ODBC database > (access). Try using a real database with JDBC drivers. Access and ODBC are pretty much just toys and inappropriate for any kind of pr

RE: Starting Tomcat

2006-11-18 Thread Caldarale, Charles R
> From: David Schulberg [mailto:[EMAIL PROTECTED] > Subject: Re: Starting Tomcat > > Running "catalina run" -> same result What shows up in the command prompt window when you do this? (Do not use the Run... menu item from the Start button.) Are you using the exact same installation files as th

RE: Tomcat Performance Concerns

2006-11-18 Thread Caldarale, Charles R
r that are not well regarded, and should be replaced by more robust open-source versions (Google or search the Tomcat archives for recommendations): http://marc.theaimsgroup.com/?l=tomcat-user&r=1&w=2 > I would look at breaking single-tier to three tier > architecture to decouple

RE: UnsatisfiedLinkError while using JNI

2006-11-18 Thread Caldarale, Charles R
> From: Daniel Wildschut [mailto:[EMAIL PROTECTED] > Subject: UnsatisfiedLinkError while using JNI > > I then used LD_DEBUG=all to check if the library was indeed loaded. > There I found that the library was loaded however when JNI searches > for the necessary function it does not search the newly

RE: Response encoding problem

2006-11-18 Thread Caldarale, Charles R
> From: Enrico Donelli [mailto:[EMAIL PROTECTED] > Subject: Re: Response encoding problem > > I don't know if this helps, but I had a similar problems once, and it > was caused by a filter which was reading a parameter from the request. > This first access set the encoding to 8859-1, overriding a

RE: Starting Tomcat

2006-11-18 Thread Caldarale, Charles R
> From: David Schulberg [mailto:[EMAIL PROTECTED] > Subject: RE: Starting Tomcat > > F:\apache-tomcat-5.5.20\bin>catalina run > Using CATALINA_BASE: F:\apache-tomcat-5.5.20 > Using CATALINA_HOME: F:\apache-tomcat-5.5.20 > Using CATALINA_TMPDIR: F:\apache-tomcat-5.5.20\temp > Using JRE_HOME:

Re: logging

2006-11-21 Thread Kevin R. Gutch
: Can you mail the contents of your log4j.properties file. On 11/21/06, Kevin R. Gutch <[EMAIL PROTECTED]> wrote: I am trying to correctly configure logging in my application. Currently I have placed logging.properties in the /WEB-INF/classes folder. With this I get a log file specific

RE: Tomcat Basic Authentication Problem

2006-11-21 Thread Caldarale, Charles R
> From: Liu Frank [mailto:[EMAIL PROTECTED] > Subject: Tomcat Basic Authentication Problem > > Now I want to use my own method for the basic authentication, > does Tomcat provide the methods to realize it? Read the relevant Tomcat doc: http://tomcat.apache.org/tomcat-5.5-doc/realm-howto.html S

RE: Tomcat 5.0.28 and /dev/urandom

2006-11-21 Thread Caldarale, Charles R
> From: Christopher Schultz [mailto:[EMAIL PROTECTED] > Subject: Re: Tomcat 5.0.28 and /dev/urandom > > Yeah, if you are using Linux, the /dev/urandom device > sometimes stalls. Actually, /dev/urandom is defined never to block, but the JRE doesn't use it. If either file:/dev/random or file:/de

RE: Memory Usage

2006-11-21 Thread Caldarale, Charles R
> From: Daniel L. Gross [mailto:[EMAIL PROTECTED] > Subject: Memory Usage > > I made a simple servlet that just opens a connection to my > MYSQL database and then closes it and does nothing else. > When I look at the windows task manager, the memory usage > of Tomcat jumps each time I run the

RE: Memory Usage

2006-11-21 Thread Caldarale, Charles R
> From: Daniel L. Gross [mailto:[EMAIL PROTECTED] > Subject: Re: Memory Usage > > I have run the lamda probe on the software, but it > didn't show anything useful. It's not a profiler, and was never intended to be. > Where do I turn on the -verbose:gc? In the tomcat start-up script? It's a s

RE: Memory Usage

2006-11-21 Thread Caldarale, Charles R
> From: Daniel L. Gross [mailto:[EMAIL PROTECTED] > Subject: Re: Memory Usage > > What appears to be happening is that every time I > execute my app, when it closes, Tomcat leaves an > inactive thread hanging. I seriously doubt that Tomcat is doing this - much more likely that your app is causi

RE: Memory Usage

2006-11-22 Thread Caldarale, Charles R
> From: Daniel L. Gross [mailto:[EMAIL PROTECTED] > Subject: Re: Memory Usage > > I looked at the profiler and it appears that there are many timer > threads left hanging. What do you mean by "timer threads"? What does a thread dump show about them? - Chuck THIS COMMUNICATION MAY CONTAIN C

RE: Realm authentication - unconventional usage

2006-11-22 Thread Caldarale, Charles R
> From: Santosh Puranshettiwar [mailto:[EMAIL PROTECTED] > Subject: Re: Realm authentication - unconventional usage > > So seems like I *will* have to stick to application layer > authentication, or is there a way out? Why can't you use one of the standard, spec-defined, container-managed mechan

RE: Memory Usage

2006-11-22 Thread Caldarale, Charles R
> From: Daniel L. Gross [mailto:[EMAIL PROTECTED] > Subject: Re: Memory Usage > > The tomcat start/stop manager has a dump threads option, > it doesn't seem to do anything when I click it. Start Tomcat using catalina run, and then do whatever your OS needs to send an interrupt (ctrl-break on Win

RE: WEB-INF/lib/*.jar

2006-11-22 Thread Caldarale, Charles R
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Subject: WEB-INF/lib/*.jar > > it seems to me that my lib packages which are located under > myapp/web/WEB-INF/lib can not be recognized by Tomcat. Read the servlet spec: WEB-INF must be at the first level of the app deployment directory (or

RE: Memory Usage

2006-11-22 Thread Caldarale, Charles R
> From: Daniel L. Gross [mailto:[EMAIL PROTECTED] > Subject: Re: Memory Usage > > I have tried various times in the tomcat configuration > file, but nothing seems to matter. This isn't a Tomcat configuration value - it's for the specific JDBC driver that your app is using. Might want to check t

RE: Disabled Admin and Manager creating empty log files

2006-11-22 Thread Caldarale, Charles R
> From: Spammed TooMuch [mailto:[EMAIL PROTECTED] > Subject: Disabled Admin and Manager creating empty log files > > But, we are still seeing, empty, admin..log and > manager..log files in $CATALINA_HOME/logs! Go into conf/logging.properties and remove or comment out the various entries for adm

RE: Setting proper values for connections inside Connector

2006-11-22 Thread Caldarale, Charles R
> From: Vinicius Carvalho [mailto:[EMAIL PROTECTED] > Subject: Setting proper values for connections inside Connector > > which one should I change 8080 or 8009 in order to > accept more connections through apache? Assuming you're using the AJP connector to handle requests from httpd, you'd cha

RE: Setting proper values for connections inside Connector

2006-11-22 Thread Caldarale, Charles R
> From: Vinicius Carvalho [mailto:[EMAIL PROTECTED] > Subject: Re: Setting proper values for connections inside Connector > > Thanks Chuck. We are indeed using AJP, and in our worker.properties > the port is set to 8009. Just a final question, would be a nice thing > to do reduce the number of th

RE: help - can't login to brand new tomcat install

2006-11-22 Thread Caldarale, Charles R
> From: Shahnawaz Khatri [mailto:[EMAIL PROTECTED] > Subject: help - can't login to brand new tomcat install > > and made sure that the $CATALINA/conf/tomcat-users.xml looks > like this: Did you restart Tomcat after updating tomcat-users.xml? Note that Tomcat itself updates the file, so it sho

RE: Administration Links

2006-11-22 Thread Caldarale, Charles R
> From: Ken Ramey [mailto:[EMAIL PROTECTED] > Subject: Administration Links > > None of the links work. Not "Status", "Tomcat > Administration" or "Tomcat Manager". "Status" > and "Tomcat Manager" go to the default 404 page. Sounds like the admin unzip went seriously awry. You should have en

RE: java.io.FileNotFoundException: webapp not found

2006-11-22 Thread Caldarale, Charles R
> From: Warren [mailto:[EMAIL PROTECTED] > Subject: java.io.FileNotFoundException: webapp not found > > java.io.FileNotFoundException: webapps\myapp (The system > cannot find the path specified) 1) Do you have a webapps/myapp directory? 2) Do you have a webapps/myapp.war file? 3) Do you have

RE: Deploying apps outside of the Tomcat root

2006-11-25 Thread Caldarale, Charles R
> From: Richard K Miller [mailto:[EMAIL PROTECTED] > Subject: Deploying apps outside of the Tomcat root > > However, I would like to deploy a project in my home folder. This > folder contains a WEB-INF folder and all the jsp files. How can I > switch Tomcat to point to /Users/me/dev/myproje

RE: Administration Links

2006-11-27 Thread Caldarale, Charles R
> From: Ken Ramey [mailto:[EMAIL PROTECTED] > Subject: Re: Administration Links > > Attached is the "tar -t" listing from the tarball containing > the "admin" application. I wasn't asking what was in the tarball - we need to know what your Tomcat installation looks like after the untar. To wit

RE: Administration Links

2006-11-27 Thread Caldarale, Charles R
> From: Ken Ramey [mailto:[EMAIL PROTECTED] > Subject: Re: Administration Links > > However, here is the "find ." listing starting from the > root of the Tomcat installation: > > ./conf > ./logs For starters, your conf directory is empty (or inaccessible). That's the reason none of the apps i

RE: Administration Links

2006-11-27 Thread Caldarale, Charles R
> From: Ken Ramey [mailto:[EMAIL PROTECTED] > Subject: Re: Administration Links > > I don't know why the /conf directory didn't list That may be key. If it's not always accessible to you, it may not be accessible to Tomcat. > but here are its contents: Other than the extra .CSW files, it appe

<    5   6   7   8   9   10   11   12   13   14   >