Re: Tomcat vs (other container) compatibility

2007-11-17 Thread Wade Chandler
The main point to keep in mind is that Tomcat only implements the Servlet and JSP specifications from JEE, and thus is a Servlet container and is not an EE container. Very important part of the puzzle to keep in mind, so moving from TC to one of the others should be very easy unless of course yo

Re: running! a servlet at tomcat startup

2007-11-05 Thread Wade Chandler
up prep of the cache then a single first connection will work fine. It depends on exactly what is going on. Wade - Original Message From: Pid <[EMAIL PROTECTED]> To: Tomcat Users List Sent: Monday, November 5, 2007 12:08:25 PM Subject: Re: running! a servlet at tomcat startup Wade

Re: running! a servlet at tomcat startup

2007-11-05 Thread Wade Chandler
Yes, and in the listener I would then utilize some kind of other web client to actually perform a first request. You can use something like HttpClient or one of the command line text browsers and Runtime.exec. It would probably be easier than trying to simulate with some other means, but I may b

Re: running! a servlet at tomcat startup

2007-11-05 Thread Wade Chandler
I can see why you might want to load on startup, but the ability to actually perform a get when there is not client makes no sense at all to me. What exactly are you planning to achieve by doing such a thing? Wade - Original Message From: loredana loredana <[EMAIL PROTECTED]> To: user

Re: running! a servlet at tomcat startup

2007-11-05 Thread Wade Chandler
See Servlet.getServletConfig() and ServletConfig.getServletContext(). Wade - Original Message From: Johnny Kewl <[EMAIL PROTECTED]> To: Tomcat Users List Sent: Monday, November 5, 2007 6:16:17 AM Subject: Re: running! a servlet at tomcat startup OK, now I'm officially wondering... i

Re: How to increase Tomcat webserver speed?

2007-10-05 Thread Wade Chandler
On that note you can get NetBeans and its profiler and then profile your code. http://www.netbeans.org It will tell you different things about time spent. Wade - Original Message From: Leon Rosenberg <[EMAIL PROTECTED]> To: Tomcat Users List Sent: Friday, October 5, 2007 3:11:48 PM

Re: PHP Security Vulnerability???

2007-09-17 Thread Wade Chandler
- Original Message From: Arend P. van der Veen <[EMAIL PROTECTED]> To: Tomcat Users List Sent: Monday, September 17, 2007 7:43:36 AM Subject: Re: PHP Security Vulnerability??? Wade Chandler wrote: > --- "Arend P. van der Veen" <[EMAIL PROTECTED]> wrote: >

Re: PHP Security Vulnerability???

2007-09-16 Thread Wade Chandler
user to login. So, the scanner tried to hit the URL it thought would have phpinfo (anything else under that path should give the same results), and it did in fact get returned a valid HTML page, yet not anything related to phpinfo. This sounds like a bug in the scanner though as it should a

RE: Tomcat JNI Netbeans

2007-09-12 Thread Wade Chandler
You can load a native library directly using System.load instead of System.loadLibrary. All you have to do is figure out where the library is and be able to pass a full path to it. You can use the servlet API to get to your WEB-INF folder and get a full path to it. It is pretty trivial from ther

Re: PHP Security Vulnerability???

2007-09-11 Thread Wade Chandler
Does it give you any paths to this PHP application? I haven't seen anything like it from scanners on my server. Wade --- "Arend P. van der Veen" <[EMAIL PROTECTED]> wrote: > Hi, > > I recently setup a server using Tomcat 5.5 on FreeBSD 6.2. I thought I > had everything locked down. > > I ru

Re: [OT/RANT] Quartz

2007-09-10 Thread Wade Chandler
Well, I have a couple of web applications which suck up a thread for such things as well. I do it so that I can schedule processes through this single application and the end people do not need anything else, and also because if they had to admin their own servers in these instances it would just l

Re: Concurrency with HttpSession

2007-09-10 Thread Wade Chandler
gi?id=43343 Wade --- Christopher Schultz <[EMAIL PROTECTED]> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Wade, > > Wade Chandler wrote: > > Do you want to file a bug or do you want me to? > I'm > > looking at the Tomcat 6.0.9 source

Re: Concurrency with HttpSession

2007-09-08 Thread Wade Chandler
You got my attention, so I was curious. Looking at file: java/org/apache/catalina/session/PersistentManagerBase.java methods: swapIn swapOut writeSession findSession (other related) then the different stores load and save methods it doesn't look good. Basically, yes, you have an issue with Tomc

Re: Concurrency with HttpSession

2007-09-07 Thread Wade Chandler
--- Leon Rosenberg <[EMAIL PROTECTED]> wrote: > On 9/7/07, lightbulb432 <[EMAIL PROTECTED]> > wrote: > > > > I'm reading some book concurrency books that talk > about potential thread > > safety issues with HttpSession. Specific cases > follow: > > > > - When the web container passivates an HttpSes

Re: Concurrency with HttpSession

2007-09-07 Thread Wade Chandler
c and the session one way or another at some point...that or make your own session, so I don't think with the current specifications it would be possible for a server to be reliable for any real usage if it did not handle the concurrency issues itself at the lowest possible levels. Wade --- Wad

Re: Concurrency with HttpSession

2007-09-07 Thread Wade Chandler
Tomcat wraps HttpSession objects underlying maps using java.util.Collections.synchronizedMap. There was a previous issue in a version of Tomcat 5.0.x something in which this was changed, and it raised a stink, so it was fixed again. It had to be put back to use synchronized as the concurrency issue

Re: POJO Application Server for Tomcat

2007-08-19 Thread Wade Chandler
Worked for me too. I read up on it, and it sounded interesting. I'm looking forward to trying it out and bookmarked it. Wade --- Steve Ochani <[EMAIL PROTECTED]> wrote: > > The link to your site times out. > > Works fine for me > > http://coolharbor.100free.com/index.htm > > > > > On 8/19/07

RE: Installing Tomcat on Linux

2007-08-02 Thread Wade Chandler
heh heh, from my experience with system admins, I will be willing to bet the answer is no, unless he is telling a big one ;-) Wade --- Steve Ochani <[EMAIL PROTECTED]> wrote: > LOL, > > I would ask him if he sits there and examines all > the code of everything that > is on his system. > > >

Re: Installing Tomcat on Linux

2007-08-02 Thread Wade Chandler
Exactly. Wade --- Hassan Schroeder <[EMAIL PROTECTED]> wrote: > On 8/2/07, Vigorito, Nicholas E. > <[EMAIL PROTECTED]> wrote: > > Here are some quotes from this person: > > > > You are trusting that someone built the binaries > directly from the > > source code without any additional modificatio

RE: Installing Tomcat on Linux

2007-08-02 Thread Wade Chandler
My first question would be: Do you examine every line of code in these sources you compile? Then: If not, if you get the same sources and binaries from the same location, what is the difference? Most admins i know, who get sources and build them, do not know all the ins and outs of the applicatio

Re: MySql Connector returning ?DataSource

2007-07-23 Thread Wade Chandler
>From a JSP page try to make a MYSQL connection using just pure JDBC calls. It may be something to do with your JDBC classes and the directory your JAR files are housed. If I remember correctly I had to put my MYSQL JAR file in the shared folder so the server could access them. This versus having t

RE: CGI vs SMTP vs Tomcat

2006-10-18 Thread Wade Chandler
a file > to a .class file. I find myself downloading all the > dependencies for > Tomcat so it will all compile and I can extract a > single class file.) > > ~Warren Halstead > > -Original Message- > From: Wade Chandler > [mailto:[EMAIL PROTECTED] > Sent:

Re: CGI vs SMTP vs Tomcat

2006-10-18 Thread Wade Chandler
The JVM security policy couldn't just block TCP/IP access for the Perl process. The reason being the child process...perl in this case will not be run in the JVM like a class which will make calls inside the JVM space...a.k.a the JVM can't say...you are not allow to make the call to make the conne

Re: CGI vs SMTP vs Tomcat

2006-10-17 Thread Wade Chandler
Hmm. Which user is Tomcat being run as? Are you running Tomcat as the same user as your are running the script? Wondering if maybe there is not some type of a port blocker installed on your system outside of the servers. Maybe when you ran your script or one previously maybe quite some time ago

Re: tomcat doesn't reload my classes

2006-10-05 Thread Wade Chandler
--- Alessandro Ilardo <[EMAIL PROTECTED]> wrote: > back to my problem: I discovered that the kindly > network administrator > had configured two tomcat instances, one working > with apache connector > for the normal http request and the other on a > different port for the > ssl. Both instances g

Re: CGI vs SMTP vs Tomcat

2006-10-05 Thread Wade Chandler
--- HALSTEAD SGT WARREN F <[EMAIL PROTECTED]> wrote: > Good Afternoon, > > I am running Tomcat 5 with CGI enabled. I am > attempting to use > Net::SMTP to send e-mail, and it works fine from the > command line, but > not running as a CGI script. I have scoured the > internet and found other

Re: What does this output mean?

2006-09-15 Thread Wade Chandler
--- [EMAIL PROTECTED] wrote: > When I start tomcat (with catalina.sh), I always get > the following message > on one of our machines: > > Warning: unknown VM type on line 21 of > `/usr/java/jdk1.5.0_02/jre/lib/i386/jvm.cfg' > Warning: unknown VM type on line 27 of > `/usr/java/jdk1.5.0_02/jre/l

Re: moving to linux

2006-09-15 Thread Wade Chandler
--- David Rees <[EMAIL PROTECTED]> wrote: > I doubt that switching to > Linux from > Windows will solve your performance problem. Have > you identified what > your performance bottleneck is now? > > -Dave Yes I would have to second that. I love Linux, but not knowing where the real issue with yo

Re: moving to linux

2006-09-14 Thread Wade Chandler
We used AIX on a project and really didn't like the experience. We had different issues. Some of them are nothing more than management is not as good and even command line editing and running commandsLinux is just more user friendly maybe is the way I would put it. I feel the same way person

Re: log4j in webapp hanging Tomcat?

2006-07-02 Thread Wade Chandler
--- Avi Deitcher <[EMAIL PROTECTED]> wrote: > To add to it: I kept two webapps running and had > them > System.out.println(logger), where each is in the > same category/class, to > check that each one is running its own; it is. I > then removed every > webapp I could and ran it again with just the

Re: A way to know if file download has ended

2006-06-05 Thread Wade Chandler
--- Darryl Miles <[EMAIL PROTECTED]> wrote: > Bachler, Elisabeth (Elisabeth) wrote: > > Thank you to everyone. I will investigate further. > > Elisabeth > > Maybe this thread is related (excuse the horid > apache web interface) : > > http://mail-archives.apache.org/mod_mbox/tomcat-users/200604.m

Re: A way to know if file download has ended

2006-06-04 Thread Wade Chandler
--- Guido Schoepp <[EMAIL PROTECTED]> wrote: > Bachler, Elisabeth (Elisabeth) schrieb: > > I have an application that uses tomcat 5.0.19. At > one point in my > > application, the user has the possibility to click > on a certain link in > > order to download a file. > > Once the file is downloaded

Re: How can I modify the java.library.path in Tomcat?

2006-06-02 Thread Wade Chandler
--- Andi Heusser <[EMAIL PROTECTED]> wrote: > Hi, > > > > I have a web application where I need to load some > 3rd party libraries DLLs) > and I would like to have these DLLs in a > subdirectory in my app > (webapps/MyApp/WEB-INF/lib). However when I try to > do a 'loadLibrary' it > fails to f

Re: NetBeans 5.0 and Tomcat 5.5.16 ... Please Help

2006-06-01 Thread Wade Chandler
--- Vijaya <[EMAIL PROTECTED]> wrote: > Hi, > > I downloaded NetBeans 5,0 and tomcat 5.5.16. I want > to connect to a > remote SQL Server. I am using jtds. I am not > successful in using both > NB50 and Tomcat 5.5.16 together. NB5.0 comes with > bundled tomcat 5.5.9 > and if I use this, I get a

Re: Tomcat as a standalone webserver. Why not?

2006-06-01 Thread Wade Chandler
--- Ga�l Lams <[EMAIL PROTECTED]> wrote: > Hi, > > > I wondering if it's really so good to use Tomcat > behind "a real" web > > server like Apache or IIS. > > > > In my Tomcat 5 book there are two reasons to do it > so: > > > > 1. Tomcat is not as secure as common web servers, > especially if

Re: SSL with Tomcat and Apache..IE problems

2006-05-27 Thread Wade Chandler
--- Rizwan Merchant <[EMAIL PROTECTED]> wrote: > > We are running tomcat 5.5.16 on Fedora Core 4 OS. We > just installed > apache2.0 as a front to serve the pages using the > mod_jk connector. > There are 2 apps on tomcat (virtual hosting), one of > which needs to be > SSL enabled (lets say ap

Re: Istalling Bugzilla on Tomcat

2006-05-25 Thread Wade Chandler
--- LessZoa <[EMAIL PROTECTED]> wrote: > > Thanks... but we cannot go to JBOSS... :( > > We are now looking for a more java solution to > tracking our bugs and > managing our development. I was pointed toward JIRA > by a maillist response. > > I would much prefer to use open source if I could..

Re: Tomcat Memory Leak

2006-05-25 Thread Wade Chandler
--- Rocio Alfonso Pita <[EMAIL PROTECTED]> wrote: > El Jueves 25 Mayo 2006 18:51, Petkov, Rossen > escribi�: > > The request.registerRequests="false" setting goes > in the workers.properties > > file. I already have that an it's not helping with > the memory leak. I plan > > to upgrade Tomcat to

Re: Istalling Bugzilla on Tomcat

2006-05-25 Thread Wade Chandler
--- Bruno Georges <[EMAIL PROTECTED]> wrote: > Hi Lessie > > Bugzilla is not a Java based Web App, it is build > Perl/CGI, therefore you > need a web server which can parse these requests, > map and execute them. > Recently JBoss announced JBoss Web which allows you > to do exactly that > along

users@tomcat.apache.org

2006-05-25 Thread Wade Chandler
--- vrinda ullas <[EMAIL PROTECTED]> wrote: > hi rajjev, > i am using communication api version 2. > i am trying to control a relay through serial port.I > first built ajava > application to do the same. It works fine.But on > trying to convet the > same into a web based application i don,t get an

Re: Tomcat Memory Leak

2006-05-24 Thread Wade Chandler
--- "Petkov, Rossen" <[EMAIL PROTECTED]> wrote: > Hello, > I am having a problem with Tomcat 5.0.19 on > windows with JDK > 1.4.2_03.The memory that java.exe is using keeps > growing till the point > that tomcat > Runs out of memory. > Using a profiler, doesn't seem to help me much. > I ca

RE: Allow web access to /WEB-INF?

2006-05-03 Thread Wade Chandler
--- Peter Crowther <[EMAIL PROTECTED]> wrote: > > From: Dong, Roland [mailto:[EMAIL PROTECTED] > > > That is not an option. Thanks. I am wondering if > that can be > > configured > > in catalina.policy? Played with it but can't make > it work. > > Not to my knowledge. > > What you *could* do

Re: re-deploying war file deletes all the files

2006-05-03 Thread Wade Chandler
--- Eric Anderson <[EMAIL PROTECTED]> wrote: > When I re-deploy my war file in Tomcat 5.5.16, it > fails because the > listener can't start. And when I look at the context > directory contents > all the folders are there but not the files. Anyone > know why? > > Eric I have never had any luck wit

Re: UnsatisfiedLinkError when loading DLL twice

2006-04-11 Thread Wade Chandler
--- "Ho, Sam" <[EMAIL PROTECTED]> wrote: > Hi, All > My servlet use a DLL, currently the DLL is located > at window system32 and in the webapp's WEB-INF/lib. > But I sometimes got the "UnsatisfiedLinkError". Can > anyone tell me where should the DLL put? and what > kind of system variable I need t

RE: Recommended Specs for Oracle 10g db server

2006-03-26 Thread Wade Chandler
--- Mohan2005 <[EMAIL PROTECTED]> wrote: > > Thank you all kindly for these valuable comments and > suggestions. I have > notices somethings we have obvious problems and need > to be addressed. > > We are running this 10g on a hardware RAID-5 array > (SCSI). > > The 10g is at the backend of 12

Re: hibernate jdbc drivers question

2006-03-26 Thread Wade Chandler
Martin, I'm pretty sure you want this documentation: http://www.hibernate.org/hib_docs/v3/reference/en/html/session-configuration.html#configuration-hibernatejdbc and the mailing list and forums can be subscribed to here: http://www.hibernate.org/20.html Hope it helps, Wade --

Re: hibernate jdbc drivers question

2006-03-25 Thread Wade Chandler
--- Wade Chandler <[EMAIL PROTECTED]> wrote: > --- Martin Gainty <[EMAIL PROTECTED]> wrote: > > > I have a quick question with hibernate hsqldb > > drivers > > > > [java] 11:58:23,125 INFO SchemaExport:177 - > > exporting generated schema to

Re: hibernate jdbc drivers question

2006-03-25 Thread Wade Chandler
--- Martin Gainty <[EMAIL PROTECTED]> wrote: > I have a quick question with hibernate hsqldb > drivers > > [java] 11:58:23,125 INFO SchemaExport:177 - > exporting generated schema to > database > [java] 11:58:23,125 ERROR SchemaExport:200 - > schema export unsuccessful > [java] ja

RE: Best eclipse plugin for tomcat development

2006-03-19 Thread Wade Chandler
--- Richard Mixon <[EMAIL PROTECTED]> wrote: > Dola, > > For the last couple of years I have used the Sysdeo > plugin with good > success. > > But since December the all-in-one bundle of Eclipse > with the Eclipse Web > Tools Project has been available. This is a > completely integrated build th

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

2006-02-28 Thread Wade Chandler
--- Tomasz Nowak <[EMAIL PROTECTED]> wrote: > Peter Lin <[EMAIL PROTECTED]> wrote: > > > > look at the dump, it looks like the permgen ran > out of space > > > > PSPermGen total 50304K, used 50170K > [0x445f, 0x4771, > > 0x545f) > > object space 50304K, 99% used > [0x445f

Re: Help with detecting session timeout

2006-02-20 Thread Wade Chandler
--- "Klotz Jr, Dennis" <[EMAIL PROTECTED]> wrote: > Greetings to all. > > I hope everyone had a great weekend. :) I've run > into a problem that I > can't find any answers for and I am hopeful that one > of you has the time > to respond. > > Given: > * Tomcat 5.5.15 > * Applet using jvm 1.5 > *

RE: Session Expires At Every Request (Tomcat5.0.28/Firefox)

2006-02-16 Thread Wade Chandler
> > Monitoring the HTTP headers for both IE and > Firefox using > > HttpAnalyzer for > > IE and LiveHttpHeaders for Firefox gives the > following: > > 1) IE > > > > (Request-Line):GET http://www.tophotelchoices.com/ > HTTP/1.1 > > Accept:*/* > > Accept-Language:en-gb > > Accept-Encoding:gzip, def

RE: No of concurrent requests per session

2006-02-14 Thread Wade Chandler
> > -Original Message- > > From: Abhilash Kumar > [mailto:[EMAIL PROTECTED] > > Sent: Monday, February 13, 2006 9:45 PM > > To: Tomcat Users List > > Subject: RE: No of concurrent requests per session > > > > Hello: > > > > Thanking everyone for words of wisdom .. > > > > I checked with

Re: Example of Flaky Problems with Microsoft Products

2006-02-13 Thread Wade Chandler
--- Rhino <[EMAIL PROTECTED]> wrote: > > - Original Message - > From: "George Sexton" <[EMAIL PROTECTED]> > To: "'Tomcat Users List'" > Sent: Monday, February 13, 2006 1:00 PM > Subject: OT: Example of Flaky Problems with > Microsoft Products > > > > In another thread I commented on s

Re: webapp under different URLs with different JSP but same java classes

2006-02-10 Thread Wade Chandler
--- Lothar Krenzien <[EMAIL PROTECTED]> wrote: > Hi, > > I'm not sure whether it is possible or not: > > I have a webapp which I want to access under > different URL's with different JSP's but the same > java classes. I know that I can define the context > URL in the context.xml But how to defin

Re: How to install web application only on one port (both 8080 and 8443 ports opened)

2006-02-06 Thread Wade Chandler
--- Anna Krajewska <[EMAIL PROTECTED]> wrote: > Hi > > I wonder is it possible with apache tomcat to > install two web-services (axis) one on port 8080 > (and only 8080) and another on 8443 (and only that)? > I have opened both porsts. Now when I install > web-service it's available on both port

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

2006-01-30 Thread Wade Chandler
--- Leon Rosenberg <[EMAIL PROTECTED]> wrote: > On 1/30/06, Tim Lucia <[EMAIL PROTECTED]> wrote: > > Hibernate is not J2EE "based". It just so happens > it provides a EJB-free > > solution to a servlet container environment. > Hibernate does not require > > J2EE. > > I think hibernate supports

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

2006-01-29 Thread Wade Chandler
For a little bit of who really cares and what's it really matter anyways: http://weblogs.java.net/blog/haroldcarr/archive/2006/01/introducing_jav.html ;-) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mai

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

2006-01-29 Thread Wade Chandler
--- "David Tonhofer, m-plify S.A." <[EMAIL PROTECTED]> wrote: > Another 2c: When doing Java, you may want to stay > clear of J2EE. I have > heard it's the Wooly Mammoth framework and I have so > far worked happily > without it. I recommend a look at Bruce Tate's > pamphlet here: > >

Re: Multiple HTTP GET from MS Word/Excel hyperlink

2006-01-26 Thread Wade Chandler
--- Andrew Chapman <[EMAIL PROTECTED]> wrote: > Whilst investigating a strange bug some of our > customers were experiencing > using links in Excel to our web application I > discovered that the root of it > was this strange behaviour in Excel. > > After monitoring the http requests I discovered

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

2006-01-26 Thread Wade Chandler
--- Tony LaPaso <[EMAIL PROTECTED]> wrote: > Certainly -- $5,000 and it's yours! > -- > Tony LaPaso > > > > - Original Message - > From: "Leon Rosenberg" > <[EMAIL PROTECTED]> > To: "Tomcat Users List" > Sent: Wednesday, January 25, 2006 4:00 AM > Subject: Re: From Java to C#, ASP.NET

Re: Memory leaking on [un|re]load: WebappClassLoader isn't GC'ed

2006-01-25 Thread Wade Chandler
--- Davide Romanini <[EMAIL PROTECTED]> wrote: > Il giorno mer, 25/01/2006 alle 15.34 +, Mike > Fowler ha scritto: > > Good day, > > > > I have encountered a similar problem while > deploying webapps. In my case > > I noticed that after the sixth deployment I would > encounter > > OutOfMemo

Re: Does tomcat 5.0 officially support JDK1.5?

2006-01-18 Thread Wade Chandler
--- HuangHao <[EMAIL PROTECTED]> wrote: > Thanks. As a requirement, my application need to > support both Tomcat 5.0 > and 5.5. But my application requires JDK1.5 for some > reason. Should be fine if it's only that you are using methods and classes from JDK1.5 which were not available in previous

Re: Does tomcat 5.0 officially support JDK1.5?

2006-01-17 Thread Wade Chandler
--- HuangHao <[EMAIL PROTECTED]> wrote: > Hi folks, > > I am going to run Tomcat 5.0.* with JDK 1.5, I > wonder whether Tomcat 5 > > officially support JDK1.5 yet. I found in Apache > site > > > > > that "Tomcat 5 has been extensiv

Re: Threads and SocketException

2006-01-14 Thread Wade Chandler
--- Thom Hehl <[EMAIL PROTECTED]> wrote: > OK, I'm using tomcat and a sevlet to launch a > background process in a > separate thread. It seems to launch just fine, but > after it runs for > maybe 30 seconds it dies, spitting out this error: > > java.net.SocketException: Connection reset > a

Re: Environmental Variables set

2006-01-13 Thread Wade Chandler
--- Zach Moazeni <[EMAIL PROTECTED]> wrote: > Hello, > > In a Spring application that is being deployed to > Tomcat I need to be able to load a file. The file > resides in the /WEB-INF folder of the webapp. Is > there any environmental variables I can be sure will > be set so I can open a file re

Re: Cannot find servlet

2006-01-13 Thread Wade Chandler
--- Thom Hehl <[EMAIL PROTECTED]> wrote: > Sigh, I don't know why I keep having problems like > this. I have the > following servlet: > > package rex; > /* > * Copyright 2006, Heavyweight Software. All rights > reserved. > */ > > import java.io.IOException; > > import javax.servlet.ServletEx

Re: Accessing Files outside of WebApp

2006-01-11 Thread Wade Chandler
--- Zach Moazeni <[EMAIL PROTECTED]> wrote: > Hello, > > In our current application I need to link to a > file that resides > outside of the webapp directory. On another > application we allowed the > users upload files and stored them in the webapp > directory, which made > deployment a r

Re: How to redirect incoming requests?

2006-01-11 Thread Wade Chandler
--- Ritchie Gillam <[EMAIL PROTECTED]> wrote: > I am trying to have all requests that come to the > Tomcat Server be redirected to another web server. > What is the best/easiest was to do this? > > I have Tomcat 5.5.7 installed and I do not have or > want to install Apache. > > I have did a sea

RE: Single Thread is deprecated?

2006-01-09 Thread Wade Chandler
--- Wade Chandler <[EMAIL PROTECTED]> wrote: > --- "Duan, Nick" <[EMAIL PROTECTED]> wrote: > > > Well, when I was mentioning the term user session, > I > > was discussing from > > a threading/transaction perspective, not from the > > servle

RE: Single Thread is deprecated?

2006-01-09 Thread Wade Chandler
--- "Duan, Nick" <[EMAIL PROTECTED]> wrote: > Well, when I was mentioning the term user session, I > was discussing from > a threading/transaction perspective, not from the > servlet object > perspective. It is the worker thread that > represents a active user > session and accesses both the sess

Re: Single Thread is deprecated?

2006-01-06 Thread Wade Chandler
--- Christian Stalp <[EMAIL PROTECTED]> wrote: > Remy Maucherat wrote: > > >It's deprecated because it is confusing, but it is > actually very > >useful performance wise in some cases, since it > does pooling. I will > >make sure this feature remains available in the > future. > > > > > > > Tha

Re: Tomcat Datasource , can we define them in war file (whithout accessing to Admin console)?

2006-01-03 Thread Wade Chandler
--- Wade Chandler <[EMAIL PROTECTED]> wrote: > --- Andre Van Klaveren <[EMAIL PROTECTED]> wrote: > > > Like Bruce said, you can define a DataSource as > part > > of your > > application's context. It's the same format as > the > > cont

Re: Tomcat Datasource , can we define them in war file (whithout accessing to Admin console)?

2006-01-03 Thread Wade Chandler
--- Andre Van Klaveren <[EMAIL PROTECTED]> wrote: > Like Bruce said, you can define a DataSource as part > of your > application's context. It's the same format as the > context definition > in server.xml except it's deployed with your > application as an XML > file (context.xml) inside the META-

Re: Tomcat5 on FC4 problems

2006-01-02 Thread Wade Chandler
--- Bob Hartung <[EMAIL PROTECTED]> wrote: > Hi all and Happy New Year >I have FC4 updated on a test server and I am new > to java, Tomcat, > etc. I was trying to install a MIRC Servr (freeware > teaching and > research case file manager from the Radiological > Society of North > America)

RE: mod_jk versus mod_proxy under load ?

2005-12-29 Thread Wade Chandler
> > -Original Message- > > From: news [mailto:[EMAIL PROTECTED] On Behalf > Of Bill Barker > > Sent: Thursday, December 29, 2005 2:09 AM > > To: users@tomcat.apache.org > > Subject: Re: mod_jk versus mod_proxy under load ? > > > > One of our production servers recently started to > suffer

Re: Apache version

2005-12-28 Thread Wade Chandler
--- Martin Gainty <[EMAIL PROTECTED]> wrote: > > Good Afternoon Franklin- > Running PHP on Apache would be like putting a Yugo > engine in a McLaren > ..ok if your users demand sluggish performance from > their webapp server > Martin- > - Original Message - > From: "Franklin Phan" <[EMAI

Re: Apache version

2005-12-28 Thread Wade Chandler
--- Franklin Phan <[EMAIL PROTECTED]> wrote: > Oh. Probably not. Do I need to install Apache to > run PHP? > > > Charles Baker wrote: > > You may not be running apache. Installing tomcat > does not install > > apache. Did you install apache? > > > > > > Charles H. Baker > > O: 864.422.53

Re: Apache version

2005-12-28 Thread Wade Chandler
--- Franklin Phan <[EMAIL PROTECTED]> wrote: > I'm running Tomcat on Windows XP Pro. I'm trying to > set up PHP. How do I tell which Apache version I'm > running? > > > - > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For add

RE: detecting a new file

2005-12-26 Thread Wade Chandler
--- Daniel Blumenthal <[EMAIL PROTECTED]> wrote: > A related question to this is, how can you set up a > process within the > servlet that fires off at X time, or every Y > seconds? The equivalent of a > cron job inside the servlet. > > If you have high enough traffic, there's an easy > hack - j

Re: detecting a new file

2005-12-26 Thread Wade Chandler
--- Khawaja Shams <[EMAIL PROTECTED]> wrote: > Hello all, > I am curious if anyone has ever had to write a > servlet that listens for > new files on the server and processes them upon > appearence. Basically, I > need to write a server side program that detects > when (our automated > process

Re: java.lang.OutOfMemoryError: PermGen space

2005-12-22 Thread Wade Chandler
Tuning http://java.sun.com/docs/hotspot/gc5.0/gc_tuning_5.html Garbage collection explanations and other hints http://www-128.ibm.com/developerworks/java/library/j-jtp11253/ Good tool http://www.quest.com/jprobe/ - Original Message From: Stephen Caine <[EMAIL PROTECTED]> To: Tomc

Re: java.lang.OutOfMemoryError: PermGen space

2005-12-22 Thread Wade Chandler
The ratio (have to look at a graph), but might have done the trick because you were not moving objects out of survivor generations to old/tenur generations fast enoughala creating a lot of new objects (tons of them) and not having enough memory in the new space and the objects couldn't be mo

Re: Many questions are left unanswered.

2005-12-16 Thread Wade Chandler
--- David Delbecq <[EMAIL PROTECTED]> wrote: > 100% mails would get "don't know" answer then, > because at there is always someone who "don't know". > Commonly on mailing lists, if nobody answer, then > nobody has knowledege and/or time to answer your > question. > > Regards, > > Le Vendredi 16

Re: starting and stopping Tomcat from Java code

2005-12-14 Thread Wade Chandler
--- Bill Barker <[EMAIL PROTECTED]> wrote: > Urm, something like: >tomcat.stop(); > > where 'tomcat' is your Embedded instance? > > "Oleg Lebedev" <[EMAIL PROTECTED]> wrote in > message > news:[EMAIL PROTECTED] > Hello, > > I am trying to configure, start and then shutdown > Tomcat from my

RE: How to reload jsp using ant in Tomcat 5.5

2005-12-14 Thread Wade Chandler
--- Guillermo Sobrino <[EMAIL PROTECTED]> wrote: > > I am using no context.xml so I do not set any > parameter, including antiResourceLocking. > > Thanks anyway. > >Guillermo > > > > > -Mensaje original- > > De: Jan Behrens [mailto:[EMAIL PROTECTED] > > Enviado e

Re: heap size problems (speed) [2]

2005-11-28 Thread Wade Chandler
--- Cristian <[EMAIL PROTECTED]> wrote: > > I don't think your CPU L caches are going to > influence > > the issues you are seeing...not noticeably..not > with > > todays hardware. Cristian is resizing the java > heap > > to allow it to get larger than it was able before > > (default or the Tomcat

Re: heap size problems (speed) [2]

2005-11-28 Thread Wade Chandler
--- Cristian <[EMAIL PROTECTED]> wrote: > > - Original Message - > From: "Duan, Nick" <[EMAIL PROTECTED]> > To: "Tomcat Users List" > Sent: Monday, November 28, 2005 7:30 PM > Subject: RE: heap size problems (speed) [2] > > > > Were you using the right JVM? There were two JDK > downl

RE: Managing concurrent high memory processes

2005-11-18 Thread Wade Chandler
> -Original Message- > From: BB Commish [mailto:[EMAIL PROTECTED] > Sent: Friday, November 18, 2005 12:50 PM > To: users@tomcat.apache.org > Subject: Managing concurrent high memory processes > > We have a Struts application running on Tomcat where > a few actions > within > the app can

Re: JSP processing other than .jsp?

2005-11-16 Thread Wade Chandler
--- "Frank W. Zammetti" <[EMAIL PROTECTED]> wrote: > FYI, I had a case once where I needed to make my CSS > files JSP's because > I was using HTC's and for some reason I couldn't get > the path mappings > to work right unless I used request.getContextPath() > to prefix the HTC > names... more t

Re: Detecting Session Timeout in Tomcat

2005-10-14 Thread Wade Chandler
--- Brian Blount <[EMAIL PROTECTED]> wrote: > Thanks for the quick response. > > I don't think this will help in my scenario. I > don't > need to perform an action when the session timeouts. > > Instead, when a user hits my web application after > their session has timed out, I want to direct t

REMOVE YOUR SUPPORT EMAIL ADDRESS FROM THE LIST: Re: Re: AW: rueh:Problem with charsets with apache,tomcat, mysql --> Ref #[1M8BRAAIQT5hlre]

2005-10-13 Thread Wade Chandler
--- [EMAIL PROTECTED] wrote: > > Dear Wade Chandler <[EMAIL PROTECTED]>, > > Thank you for contacting the Juno Help Center. > > Please be advised that this is an automated response > aimed at assisting you with some common issues. If > your concern is not addres

Re: AW: rueh:Problem with charsets with apache,tomcat, mysql

2005-10-13 Thread Wade Chandler
--- "rueh hänä" <[EMAIL PROTECTED]> wrote: > Hi. > > I used de_DE, too, same effect.. I dont know, whats > happening. The best > setting until now was UTF-8, because at least the > html-sites were displayed > correctly. The old server uses de_DE, too, and the > configs are set to > iso-8859-15. N