Re: Tomcat on Windows: advantages of running as a service?

2005-10-12 Thread Ben Souther
The net start service name and net stop service name commands will allow you to stop and start Windows services from the command line (and thus from a batch script). You can get the service name from the Services property window. On Wed, 2005-10-12 at 06:18, Tom Burke wrote: I'm running

Re: Easy Servlet Question

2005-10-04 Thread Ben Souther
- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Ben Souther F.W. Davison Co. CONFIDENTIALITY NOTICE: This e-mail message, and any accompanying documents, is for the sole use of the intended recipient(s

Re: How to limit the size of TOMCATs stdout file

2005-09-23 Thread Ben Souther
I tried asking this to the tomcat team via bugzilla and they were not helpful. Nobody pointed you to this link?: See http://jakarta.apache.org/tomcat/faq/logging.html for logging help first - it answers this question. :) On Fri, 2005-09-23 at 14:45, [EMAIL PROTECTED] wrote: How

Re: TROUBLE UNCOMPRESSING jakarta-tomcat-5.5.9.tar.gz

2005-09-08 Thread Ben Souther
- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Ben Souther F.W. Davison Co. CONFIDENTIALITY NOTICE: This e-mail message, and any accompanying documents, is for the sole use of the intended recipient(s) and may contain confidential and privileged

Re: Deploying war in another directory

2005-08-24 Thread Ben Souther
. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Ben Souther F.W. Davison Co. CONFIDENTIALITY NOTICE: This e-mail message, and any accompanying documents, is for the sole use of the intended recipient(s) and may contain confidential and privileged information

Re: setting application variables

2005-07-29 Thread Ben Souther
variables from a file so that they are available to all of the asp pages in my application as soon as it starts? Thanks! -- Ben Souther F.W. Davison Co. CONFIDENTIALITY NOTICE: This e-mail message, and any accompanying documents, is for the sole use of the intended recipient(s) and may contain

Re: Linking/forwarding GET requests using Default servlet or other Tomcat feature

2005-07-27 Thread Ben Souther
On Wed, 2005-07-27 at 12:19, Rob Hunt wrote: I'm running a stand-alone (no Apache front-end) TC 5.0.19 server on a WinXP box. I have a webapp that has a /teams directory that contains gameScores.htm, teamStandings.htm and scoreForm.htm. I also have a /playoffs directory (can you tell this

Re: Linking/forwarding GET requests using Default servlet or other Tomcat feature

2005-07-27 Thread Ben Souther
jsp-file that is. On Wed, 2005-07-27 at 12:36, Ben Souther wrote: On Wed, 2005-07-27 at 12:19, Rob Hunt wrote: I'm running a stand-alone (no Apache front-end) TC 5.0.19 server on a WinXP box. I have a webapp that has a /teams directory that contains gameScores.htm, teamStandings.htm

Re: Linking/forwarding GET requests using Default servlet or other Tomcat feature

2005-07-27 Thread Ben Souther
that it appears to the client that they're getting /playoffs/gameScores.htm. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Ben Souther F.W. Davison Co

Re: file access via HttpSession

2005-07-12 Thread Ben Souther
in either of these directories would not be viewable by the outside world. Thanks! Clark - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Ben Souther F.W. Davison Co

Re: tomcat causes servlet malfunction???

2005-06-08 Thread Ben Souther
that is in the same directory and they work properly. this is the only one that doesnt. On 6/8/05, Ben Souther [EMAIL PROTECTED] wrote: If the browser can see the .class file and download it, then it's not in the right place. Also: action=servlet

RE: Buggy .war in 5.5.9 binary distribution

2005-06-07 Thread Ben Souther
I just deployed the one that shipped with 5.5.9 as well. At one point that war file was corrupted but I know the issue was fixed before 5.5.9. http://issues.apache.org/bugzilla/show_bug.cgi?id=32382 On Tue, 2005-06-07 at 10:57, Caldarale, Charles R wrote: From: Alexander Fairley

Re: Can Tomcat make log statistics like Apache?

2005-05-06 Thread Ben Souther
Yes, Just un-comment the AccessLogValve in your server.xml file Valve className=org.apache.catalina.valves.AccessLogValve directory=logs prefix=localhost_access_log. suffix=.txt pattern=common resolveHosts=false/

Re: Copying HttpServletRequest

2005-04-29 Thread Ben Souther
The normal approach is to wrap the request as opposed to copying it: http://java.sun.com/j2ee/sdk_1.3/techdocs/api/javax/servlet/http/HttpServletRequestWrapper.html On Fri, 2005-04-29 at 14:16, Tuan, Frank wrote: Hi all, I need some help copying a HttpServletRequest in a Filter. I'm running

Re: running a thread in Tomcat

2005-03-15 Thread Ben Souther
set isDaemon(true) for all your threads. On Tue, 2005-03-15 at 10:31, Mark wrote: Hi, I'm starting a new thread in my init servlet(I know it has been discussed few time, that it's not the best idea, but anyway) and everyhing is fine untill I need to restart tomcat. When I shutdown

Re: Installing tomcat (help)

2005-03-15 Thread Ben Souther
the exe On Tue, 2005-03-15 at 11:56, brian wrote: Below is the tomcat installation files for download and have pasted the contents of README packaging information. One binary is an exe, one is tar.gz, one is a zip, another is Deployer. Which one is the installation file for windows ? The

Re: Session listener

2005-03-14 Thread Ben Souther
How could weblogic know that you closed your browser? On Mon, 2005-03-14 at 17:57, Christian Rebollar wrote: I used weblogic and HttpSessionListener interface, and when I closed browser weblogic invalidated the session and the listener class catch it, but with tomcat didn't happen the same,

Re: tomcat 5.5.7 startup

2005-02-13 Thread Ben Souther
Are you running with a full JDK or just a JRE? On Sun, 2005-02-13 at 08:17, P.M wrote: Hi, Based on information from people of this list, i tried to use the startup.bat file to start tomcat server... but it doesn't work...in fact it's worse than windows installation with services. at

Re: tomcat 5.5.7 startup

2005-02-13 Thread Ben Souther
Which is your JAVA_HOME environment variable pointing to? On Sun, 2005-02-13 at 08:42, P.M wrote: i run with both, JDK and JRE (are running on my PC) --- Ben Souther [EMAIL PROTECTED] wrote: Are you running with a full JDK or just a JRE? On Sun, 2005-02-13 at 08:17, P.M wrote

Re: HTTP: 500 Internal Server Error (Urjent)

2005-02-13 Thread Ben Souther
Anad, you've just hijacked someone else's thread. When posting to the list, please start a new message. Don't just reply to an existing one. It limits the number of people reading your question. On Sun, 2005-02-13 at 08:45, Anand Pandey wrote: Hi, Can any one help me out in this

Re: tomcat 5.5.7 startup

2005-02-13 Thread Ben Souther
. but admin application doesn't work :( Maileen --- Ben Souther [EMAIL PROTECTED] wrote: Are you running with a full JDK or just a JRE? On Sun, 2005-02-13 at 08:17, P.M wrote: Hi, Based on information from people of this list, i tried to use the startup.bat file

Re: folder for my jsp files

2005-02-12 Thread Ben Souther
You can put them where ever you like. Look at the docBase attribute of Context http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/context.html On Sat, 2005-02-12 at 11:14, P.M wrote: Hi, i would like to know if my web application (using jsp files) must be in folder /tomcat 5.5/webapps

Re: please give me index.jsp

2005-02-02 Thread Ben Souther
Why not just download it? On Wed, 2005-02-02 at 14:49, Carlos A.Garca wrote: Hi. I accidentally deleted it.. Anybody has it form? Please send Thanks !!! Carlos - To unsubscribe, e-mail:

RE: please give me index.jsp

2005-02-02 Thread Ben Souther
searched the apache home.. Do you know where is the file? Thank you Carlos -Original Message- From: Ben Souther [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 02, 2005 11:52 AM To: Tomcat Users List Subject: Re: please give me index.jsp Why not just download

RE: Shutdown not working under SLES8 and FC2

2005-02-02 Thread Ben Souther
I'm running FC2 and it shuts down fine On Wed, 2005-02-02 at 15:14, Al Sutton wrote: Please read the bug. One person tried under cygwin and then closed it. No-one else has said what platforms they've tried it on, and I was told One thing is certain: no developer will install the crappy distro

RE: Shutdown not working under SLES8 and FC2

2005-02-02 Thread Ben Souther
Straight out of the box. What config are you talking about? Also, what version of Tomcat? On Wed, 2005-02-02 at 15:20, Al Sutton wrote: Are you using the default or modified config? Thanks, Al. -Original Message- From: Ben Souther [mailto:[EMAIL PROTECTED] Sent: 02 February

RE: Shutdown not working under SLES8 and FC2

2005-02-02 Thread Ben Souther
Yes, hang on I'll try with j2sdk1.4.2 On Wed, 2005-02-02 at 15:28, Al Sutton wrote: I'm using 5.5.7 out of the box with the compat package under JDK 1.4.2. Are you using JDK 1.5? -Original Message- From: Ben Souther [mailto:[EMAIL PROTECTED] Sent: 02 February 2005 20:24

RE: please give me index.jsp

2005-02-02 Thread Ben Souther
-Original Message- From: Ben Souther [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 02, 2005 12:17 PM To: Tomcat Users List Subject: RE: please give me index.jsp You haven't stated which version. Here is the latest from CVS. You will see a download link at the top of the page

RE: Shutdown not working under SLES8 and FC2

2005-02-02 Thread Ben Souther
/local/j2sdk1.4.2_05 Created MBeanServer with ID: e94e92:101d4d0a879:-8000:bsouther:1 [EMAIL PROTECTED] bin]$ ps -ef | grep java bsouther 11277 0 0 15:44 pts/100:00:00 grep java [EMAIL PROTECTED] bin]$ On Wed, 2005-02-02 at 15:30, Ben Souther wrote: Yes, hang on I'll try with j2sdk1.4.2

RE: Shutdown not working under SLES8 and FC2

2005-02-02 Thread Ben Souther
Linux bsouther 2.6.9-1.6_FC2 #1 Thu Nov 18 22:03:19 EST 2004 i686 athlon i386 GNU/Linux On Wed, 2005-02-02 at 15:56, Al Sutton wrote: Can you do a uname -a so I can compare kernel versions. Thanks, Al. -Original Message- From: Ben Souther [mailto:[EMAIL PROTECTED] Sent: 02

Re: compiling and deployment in tomcat

2005-02-02 Thread Ben Souther
On Wed, 2005-02-02 at 17:34, Julio Macedo wrote: Hi, I've just installed Tomcat 5.5 and I have two main doubts and I hope someone may help me. 1. Do I really have to compile a servlet manually using javac (or using another tool) or may I save it in a specific folder so Tomcat

RE: Shutdown not working under SLES8 and FC2

2005-02-02 Thread Ben Souther
On Wed, 2005-02-02 at 16:43, Al Sutton wrote: Hmmm The latest updates gives me; Linux host 2.6.10-1.9_FC2 #1 Thu Jan 13 17:54:57 EST 2005 i686 athlon i386 GNU/Linux and I'm on JDK 1.4.2_06 as opposed to _05. Would it be possible for you to upgrade?, I'd like to have the exact same

RE: Shutdown not working under SLES8 and FC2

2005-02-02 Thread Ben Souther
On Wed, 2005-02-02 at 17:16, Al Sutton wrote: Ben, Thanks for doing this. Not a problem. I'm going to put _07 on tomorrow and give that a spin as well, but it'd be useful to know if _06 has problems for the future. If the problem doesn't exits on _07, you've narrowed it down quite a bit

RE: Shutdown not working under SLES8 and FC2

2005-02-02 Thread Ben Souther
On Wed, 2005-02-02 at 17:11, Ben Souther wrote: On Wed, 2005-02-02 at 16:43, Al Sutton wrote: Hmmm The latest updates gives me; Linux host 2.6.10-1.9_FC2 #1 Thu Jan 13 17:54:57 EST 2005 i686 athlon i386 GNU/Linux and I'm on JDK 1.4.2_06 as opposed to _05. Would it be possible

Re: Using native and ld_library_path

2005-01-26 Thread Ben Souther
Have you tried setting LD_LIBRARY_PATH as a java option at Tomcat startup time? On Wed, 2005-01-26 at 10:00, Andreas Andersson wrote: Hi! My application needs to use a native share library. When running normal java program from the commandline it works if I just set LD_LIBRARY_PATH to

RE: Deploying a Servlet to Tomcat 5.0

2005-01-26 Thread Ben Souther
The invoker servlet is no longer active by default in Tomcat. See: http://jakarta.apache.org/tomcat/faq/misc.html#evil Core Servlets (1st Edition) is a bit out of date in this respect. You'll need to map your servlet in your web.xml file. If you want an example, I've published some war files that

Re: hi help regarding running first servlet,jsp in Tomcat 5.x

2005-01-26 Thread Ben Souther
Das, Two things: First, whenever writing to the list, please start a new thread instead of just clicking 'reply' from another message. To those of us using treaded mail clients, you've just hijacked someone else's thread. Second, it looks like the sample war file on the jakarta site is

Re: Having a simple problem w/5.5.7

2005-01-21 Thread Ben Souther
The url needs to be: http://localhost:8080/CONTEXT_NAME/URL_PATTERN On Fri, 2005-01-21 at 10:11, Robert Tillson wrote: I have a very dumb servlet that I am having problems with. I can get it to work through the invoker, but not through the url I have setup... I use the ant installer to

Re: Setting Xmx and Xms on Tomcat 5

2005-01-21 Thread Ben Souther
Did you install the start menu options? If so click: Start - Programs - Apache Tomcat - Configure Tomcat -Java (tab). You'll see fields for initial and maximum jvm memory. On Fri, 2005-01-21 at 11:46, Leonardo Larraquy wrote: Hi gurus, I're really searched the web, but I really need you

Re: Running lots of virtual hosts on tomcat

2005-01-19 Thread Ben Souther
There are a few ways you could handle it. This should get you started: http://jakarta.apache.org/tomcat/tomcat-5.5-doc/deployer-howto.html On Wed, 2005-01-19 at 09:37, Robbert-Jan Roos wrote: Hi, Our web department is thinking about moving from coldfusion to tomcat. Currently we have about

Re: TOMCAT + HttpURLConnection

2005-01-17 Thread Ben Souther
This might be of interest to you: http://jakarta.apache.org/commons/httpclient/ On Mon, 2005-01-17 at 06:41, Karthik N S wrote: Hi Apologies I would like to use the 'HttpURLConnection' API to POST 'start/stop/reload' to Tomcat Manager URL

Re: request.getParameter(), works on get, not on post

2005-01-17 Thread Ben Souther
request.getParameter doesn't work with mutipart forms. You will need to check the documentation for the upload library you are using. If you don't have one yet, see: http://jakarta.apache.org/commons/fileupload On Mon, 2005-01-17 at 09:08, Pawson, David wrote: With an input form

Re: Website downloading old file

2005-01-17 Thread Ben Souther
Also, in the interest of not overlooking the obvious... Did you verify that the FTP write actually worked and that you didn't accidentally ADD another file with a slightly different name? On Mon, 2005-01-17 at 09:56, Parsons Technical Services wrote: File permissions may be part of your

Re: Website downloading old file

2005-01-17 Thread Ben Souther
/context/file.bin INCORRECT OLD VERSION http://domain/context/file.bin?var=bogusOKNEW VERSION http://domain/context/file2.bin?var=bogus OK NEW VERSION Ben Souther wrote: Try requesting the file with a bogus querystring variable http://domain/context

RE: Long running requests and timeouts?

2005-01-17 Thread Ben Souther
These requests are not going to be called by users through a browser, since they are Web Services/REST types of requests. The only time they might get called through a browser is for testing purposes, in which case the tester knows that they will be very long running and that's not at issue. I

Re: SV: Installing and running tomcat as a user other than root

2005-01-14 Thread Ben Souther
Any tips on how to grant priviledges to port 80 or 8080 on linux to a user. Two ways: 1.) Install Apache (HTTPD) and a connector and have it pass the requests to Tomcat. 2.) Use http://jakarta.apache.org/commons/daemon which can bind to port 80 as root and then downgrade itself to a regular

Re: Tomcat 4.1/java 1.4.1.02/winxp/Download a xml file from a server

2005-01-14 Thread Ben Souther
(Content-Disposition, attachment;filename=\ + nombreBorrador+\); I think the end result is supposed to be: attachment;filename=filename.ext without the quotes around the filename. - To unsubscribe, e-mail: [EMAIL

Re: Wich Tomcat for specific JVM

2005-01-14 Thread Ben Souther
Version 5.5 requires either jdk1.5 or j2sdk1.4 with the compatibility package. Version 5.0 requires j2sdk.1.3.1 or higher On Fri, 2005-01-14 at 09:39, BOEMARE, Xavier wrote: Hi, I'd like to know if there's a more appropriate JVM version to use with JVM 1.3.1.05 ? If not, then I guest I

Re: [OT] Consulting Position in Costa Mesa, CA,

2005-01-14 Thread Ben Souther
I exchanged several emails with her before forwarding it to this list. On Fri, 2005-01-14 at 10:51, Mladen Turk wrote: Ben Souther wrote: I'm forwarding this message from a recruiter looking for a Tomcat/VMS consultant in CA if anyone's interested. Just another spam. I have no idea

Re: [OT] Consulting Position in Costa Mesa, CA,

2005-01-14 Thread Ben Souther
I don't know. I apologize for any inconvenience. I know I was talking to a real person. We exchanged 3 or 4 emails over a 10 minute period. I figured, maybe there was someone in here from CA in need of work who would benefit from it so I forwarded it to the list. If I had detected even the

Re: Tomcat 5.0.28 exiting randomly

2005-01-13 Thread Ben Souther
Hi Greg, Until you can track down the culprit, you may want to look into the security manager to disallow System.exit calls. http://jakarta.apache.org/tomcat/tomcat-5.5-doc/security-manager-howto.html Are you using any 3rd party jar files? If it's in your code, grep should find it in seconds.

[OT] Consulting Position in Costa Mesa, CA,

2005-01-13 Thread Ben Souther
I'm forwarding this message from a recruiter looking for a Tomcat/VMS consultant in CA if anyone's interested. Suzie Jimenez Sr. IT Recruiter mailto:[EMAIL PROTECTED] ISSG- Information Systems Support Group, LLC 300 E Magnolia Blvd. Ste 403 4th Fl. Burbank, CA 91502 818-846-4774 x116

Re: [OT] Consulting Position in Costa Mesa, CA,

2005-01-13 Thread Ben Souther
: Ben Souther [EMAIL PROTECTED] To: Tomcat Users List tomcat-user@jakarta.apache.org Cc: [EMAIL PROTECTED] Sent: Thursday, January 13, 2005 8:03 PM Subject: [OT] Consulting Position in Costa Mesa, CA, I'm forwarding this message from a recruiter looking for a Tomcat/VMS consultant in CA

Re: Jdeveloper 3.2.3 - Tomcat 5.5 migration: Inordinate delay in JSPs returning XML

2005-01-13 Thread Ben Souther
(Not sure how to look at header - I do not see any headers in the response in telnet) http://livehttpheaders.mozdev.org/ Will show you the headers.. http://www.circlemud.org/~jelson/software/tcpflow/ Will show you everything, as will Ethereal. On Thu, 2005-01-13 at 22:03, Rajeev Singh

Re: How to disable directory listing

2005-01-11 Thread Ben Souther
You don't need to install another servlet. servlet-api.jar is in the common/lib directory (available to all webapps.) I do it with an entry in my web.xml file that overrides the entry in the global web.xml: servlet servlet-namehrpdefault/servlet-name servlet-class

Re: two versions of tomcat on the same machine

2005-01-10 Thread Ben Souther
Yep, Change the port in TOMCAT_HOME/conf/server.xml. You'll also need to change the shutdown port (same file). -Ben On Mon, 2005-01-10 at 05:45, swetha Ranganathan wrote: Hi all Is it possible to run two different versions of tomcat in two different ports on the same machine Thanks

Re: Preventing directory listings in WebApplication

2005-01-10 Thread Ben Souther
/welcome-file-list 4310 !-- On Mon, 2005-01-10 at 11:03, Paul Taylor wrote: Hi Are these exclusive options. I can disable the listings but cant get the default pages to work Should the default pages go in the applications web.xml or Tomcats main web.xml Ben Souther wrote: You

Re: xml file correspondence

2005-01-10 Thread Ben Souther
server.xml and TOMCAT_HOME/conf/web.xml combined would be closer. On Mon, 2005-01-10 at 13:56, Tim Funk wrote: Yup. -Tim Daniel Watrous wrote: Hello All, As I am getting familiar with Tomcat it helps to find a correspondence between tomcat and something that I am already

Re: how to deploy using war file on tomcat 5

2005-01-07 Thread Ben Souther
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/appdev/index.html Gives very detailed instructions, including an ANT script that wars up and installs the sample app built in the tutorial. On Fri, 2005-01-07 at 03:50, Sandeep Kang wrote: Hi all, I have been trying hard to deploy my webapp

Re: [OT]web development fee

2005-01-05 Thread Ben Souther
Epyonne, Thank you for marking this thread [OT]. By replying to an existing thread instead of starting a new message, you've hijacked someone else's thread. A lot of people will not read your message because of this. Ask again with a new message. -Ben On Wed, 2005-01-05 at 07:51, epyonne

Re: [OT]web development fee

2005-01-05 Thread Ben Souther
Is there anything else I need to watch out for? If you're not a web-designer, avoid taking charge of the look and feel of the site. I've always done best when I've told the client to use a design house for the look and feel and then give the static files the me so I can build the app around

Re: Tomcat run as a daemon: Is jsvc reliable?

2005-01-04 Thread Ben Souther
Hi, does anybody know if jsvc included in tomcat 5.0.28 is reliable for production environment? Look for jsvc.tar.gz in Tomcat's bin directory. You might want to see: http://issues.apache.org/bugzilla/show_bug.cgi?id=30052 Also search the archives for this and the tomcat-dev list. There was

Re: JAVA_OPTS and Xmx Xms

2005-01-04 Thread Ben Souther
or can the only desired values be added? Many thanks for any help, Joon On Tue, 04 Jan 2005 16:25:52 -0500, Ben Souther [EMAIL PROTECTED] wrote: Click on Server Status from the Tomcat Manger App. On Tue, 2005-01-04 at 16:19, joon yoo wrote: On a Win2000 SP4 server running

Re: heap size params on linux

2005-01-03 Thread Ben Souther
I do it from catalina.sh From the header comments. 22 # JAVA_OPTS (Optional) Java runtime options used when the start, 23 # stop, or run command is executed. 24 # On Mon, 2005-01-03 at 14:38, Stephen Charles Huey wrote: Our script for installing Tomcat as a service

Re: heap size params on linux

2005-01-03 Thread Ben Souther
?) Does the -server option go with JAVA_OPTS as well? Thanks... - Original message - From: Ben Souther [EMAIL PROTECTED] To: Tomcat Users List tomcat-user@jakarta.apache.org Date: Mon, 03 Jan 2005 14:41:07 -0500 Subject: Re: heap size params on linux I do it from catalina.sh

Re: JSP compilation problem

2005-01-01 Thread Ben Souther
Frank, Forgive me if this has already been suggested, I just came into this thread, midpoint (left my machine on at work ;)). Just for kicks, have you tried a fresh install of Tomcat on that machine? Ryan, I agree with you 100% about people not posting the same question twice and about

Re: /manager for the webs

2004-12-31 Thread Ben Souther
for the _really_ Quick answers :) On Thu, 30 Dec 2004 14:33:30 -0500 Ben Souther [EMAIL PROTECTED] wrote: Each webapps would need to be under it's own virtual Host. Sorry, each context would need to be under it's own virtual host. but what do you mean? is enough to define a virt. Host

Re: Looking for a few good books

2004-12-30 Thread Ben Souther
For organizing a development environment, the best one I've seen is the First Web App Tutorial on the tomcat site: http://jakarta.apache.org/tomcat/tomcat-5.5-doc/appdev/index.html For actually coding JSPs and Servlets I still like: Core Servlets And Java Server Pages and it's followup: More

Re: Does Windows needs special settings?

2004-12-30 Thread Ben Souther
Have you verified that these are right? Using CATALINA_BASE: e:\\ Using CATALINA_HOME: e:\---\ On Thu, 2004-12-30 at 13:30, Nic Werner wrote: Hi, I'm using CVS to bring in my whole project which includes Tomcat. I can grab this just fine on any linux implementation and

Re: /manager for the webs

2004-12-30 Thread Ben Souther
I believe, and someone will correct me if I'm wrong, you can have one manager for each host entry in your server.xml. On Thu, 2004-12-30 at 13:51, Lukas Pataki wrote: hi List is there a way to set up the manager for each webs, so that the user can start or stop their Webapplication

Re: /manager for the webs

2004-12-30 Thread Ben Souther
Each webapps would need to be under it's own virtual Host. On Thu, 2004-12-30 at 14:05, Lukas Pataki wrote: hi On Thu, 30 Dec 2004 13:53:42 -0500 Ben Souther [EMAIL PROTECTED] wrote: I believe, and someone will correct me if I'm wrong, you can have one manager for each host entry

Re: /manager for the webs

2004-12-30 Thread Ben Souther
Each webapps would need to be under it's own virtual Host. Sorry, each context would need to be under it's own virtual host. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Tomcat 5 startup crash, please help

2004-12-29 Thread Ben Souther
There is actually a listing in Bugzilla this. Would you mind adding your findings to it? http://issues.apache.org/bugzilla/show_bug.cgi?id=30052 If this is a jsvc bug, your data might help to find it. That's a pretty old Linux distribution. I remember having trouble with Sun's jdk on either RH7.0

Re: Where do I specify location of stdout and stderr?

2004-12-29 Thread Ben Souther
I'm trying to move my Tomcat directory from a Windows machine to a Linux box, and I've already modified the server.xml to take care of path differences, but I've noticed that stdout.log and stderr.log are no longer being generated in the logs directory (I can't find them!). Does anyone

Re: FW: j2sdk problems

2004-12-29 Thread Ben Souther
Also, what happens when the user tries to access the app? A 404 Error? Can not connect error? A frozen browser? Dies can mean a lot of things. On Wed, 2004-12-29 at 15:52, Wade Chandler wrote: Warron French wrote: That's the problem, the j2sdk/jboss services fail after about a week and

Re: tomcat error page

2004-12-29 Thread Ben Souther
On Wed, 2004-12-29 at 21:33, alis asma alias wrote: When there is an error in our web application, Tomcat will produce and error page that list down all the Exception stack trace and also THe version of the Apache Tomcat. To avoid displaying the default error page and to customize the error

Re: User name and password for the Admin area.

2004-12-28 Thread Ben Souther
Yep, TOMCAT_HOME/conf/tomcat-users.xml Just add admin to the list of roles for a user. On Tue, 2004-12-28 at 21:06, Marco Mastrocinque wrote: Hi All, I'm a newbie to Tomcat. What is the user name and password for the Status and Tomcat Manager links, in the administration area? How

[OT] Re: jsp+bean (tomcat) Sample Code

2004-12-23 Thread Ben Souther
Hi, I am developing a new application using jsp+bean with tomcat 5. I don't have problems whit forms, but I don't know if bean is a good architecture for reports...(using the bean to access the database)...or maybe is better use only jsp for report purposes? If you have any code

Re: Scripts

2004-12-22 Thread Ben Souther
try: %! public String test(){ return test; } % Note the exclamation point in the tag.. On Wed, 2004-12-22 at 14:05, Charles P. Killmer wrote: I am trying to write a function in a script file and having a lot of trouble. % function String test() { return test; }

RE: Scripts

2004-12-22 Thread Ben Souther
Message- From: Ben Souther [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 22, 2004 1:10 PM To: Tomcat Users List Subject: Re: Scripts try: %! public String test(){ return test; } % Note the exclamation point in the tag.. On Wed, 2004-12-22 at 14:05, Charles P

RE: How to run servlet for every 30 minutes in Tomcat 4.1.30

2004-12-21 Thread Ben Souther
On Tue, 2004-12-21 at 11:28, Allistair Crossley wrote: no, and I believe doing so it bad practice. use some OS controlled timer like cron to issue a HTTP call to your servlet. I once wrote a shell script that calls a http address on the local machine but cannot remember how ;) if you are

Re: CSR in Tomcat 5.0

2004-12-17 Thread Ben Souther
I've used the -keyalg with -certreq. On Fri, 2004-12-17 at 10:23, Richard Panek wrote: Anyone have any idea how to properly create a CSR in Tomcat 5.0 to submit to Verisign? The command line is: Keytool -certreq -keyalg RSA -alias tomcat -file certreq.csr \ -keystore

Re: Display of Static Resources

2004-12-16 Thread Ben Souther
form method=POST action=com.client.BizDispatcher Take the package name out of the action attribute. form method=POST action=BizDispatcher - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: 4.1.31: NullPointerException

2004-12-16 Thread Ben Souther
Where did you get this, the logs, or off the web screen? On Thu, 2004-12-16 at 09:06, T K wrote: This is the entire stack trace --- Ben Souther [EMAIL PROTECTED] wrote: Post the whole stackTrace On Wed, 2004-12-15 at 15:10, T K wrote: Any ideas about the following? 2004

Re: Display of Static Resources

2004-12-16 Thread Ben Souther
* servlet name tag in the servlet tag and servlet-mapping tag should be the same. Yes the servlet tag in web.xml is where you define the servlet's name. * The value of the url-pattern, welcome-file and the action value in the form tag should be all the same Yes, the

Re: How to Enable Logging HTTP Requests (Tomcat standalone)?

2004-12-15 Thread Ben Souther
Yes, something like that. Did you mean AccessLogValue? I did a search on that and didn't find much, but that looks like an Apache thing? I'm running Tomcat standalone (not being front-ended with Apache). In 5.0.28 the accessLogValve is already configured for you. You just need to

RE: [newbie] Container Managed Security - preventing direct accessto .jsp

2004-12-15 Thread Ben Souther
Thanks for the help and discussion Ben. /robert Yep, they look the same. Glad to help, even if I've done nothing more than validate your assumptions ;) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

Re: Re: How to Enable Logging HTTP Requests (Tomcat standalone)?

2004-12-15 Thread Ben Souther
I don't have a copy handy but did you look at the server.xml? On Wed, 2004-12-15 at 09:45, [EMAIL PROTECTED] wrote: In 5.0.28 the accessLogValve is already configured for you. You just need to uncommment it in your server.xml file. !-- Access log processes all requests for this

Re: [OT] HTTP Sniffers

2004-12-15 Thread Ben Souther
On Wed, 2004-12-15 at 15:17, Didier McGillis wrote: Considering this is a pretty knowledgable group is there a good free HTTP Sniffer application I can use, I need to see what the HTTP headers are returning on my site. If you just need the headers, check out the LiveHeaders plugin to

Re: 4.1.31: NullPointerException

2004-12-15 Thread Ben Souther
Post the whole stackTrace On Wed, 2004-12-15 at 15:10, T K wrote: Any ideas about the following? 2004-12-06 11:29:26 CoyoteAdapter An exception or error occurred in the container during the request processing java.lang.NullPointerException at

Re: [OT] HTTP Sniffers

2004-12-15 Thread Ben Souther
On Wed, 2004-12-15 at 15:17, Didier McGillis wrote: Considering this is a pretty knowledgable group is there a good free HTTP Sniffer application I can use, I need to see what the HTTP headers are returning on my site. If you just need the headers, check out the LiveHeaders plugin to

Re: Re: How to Enable Logging HTTP Requests (Tomcat standalone)?

2004-12-15 Thread Ben Souther
Ben, Thanks. Unfortunately, and I have to apologize for this omission, I forgot to mention that I'm working with Tomcat 4.1.31. Also unfortunately, that's the only version that I can work with, for some specific reasons... For V4.1.31, is there any similar capability? Jim This is

RE: Help me off this list!

2004-12-15 Thread Ben Souther
Did you try to unsubscribe using a different address than the one you signed up with? You can start a subscription for an alternate address, for example [EMAIL PROTECTED], just add a hyphen and your address (with '=' instead of '@') after the command word: [EMAIL PROTECTED] To stop subscription

[ignore] test

2004-12-15 Thread Ben Souther
sorry 16:49:45 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: RE : Tomcat 5 and Realm problem

2004-12-15 Thread Ben Souther
On Wed, 2004-12-15 at 10:44, VAN DER MARLIERE FREDERIC wrote: Not far. I do use IE and htpts. And I turned off cookies but in server.xml file. I meet to many problems when I use session cookies and none with encoded URL. Any idea of the way to use realm authentication (FORM method) with

Re: set an environement variable under fedora core3

2004-12-14 Thread Ben Souther
It's usually done in the user's .bash_profile script. IE: /home/tomcat/.bash_profile The text usually looks like this: JAVA_HOME=/usr/local/jdk1.5.0 CATALINA_HOME=/usr/local/jakarta-tomcat-5.5 export JAVA_HOME CATALINA_HOME You will either need to log in and back out or source your

RE: [newbie] Container Managed Security - preventing direct access to .jsp

2004-12-14 Thread Ben Souther
Filters are portable. On Tue, 2004-12-14 at 12:32, Robert Taylor wrote: Ping... Please let me know if this questions is just too obvious and I'll gladly RTFM...even more. And yes, I know this list is not here just to serve _my_ interests. It just seems like a common idiom to provide a

Re: Tomcat upgrade to 4.1.7

2004-12-14 Thread Ben Souther
Other than the release notes that ship with TC, I don't think you'll find much. Out of curiosity, why are you upgrading to 4.1.7? The current 4x is 4.1.31. On Tue, 2004-12-14 at 14:26, john corcoran wrote: Hello, I 've searched the tomcat website and could not find any instructions for

Re: set an environement variable under fedora core3

2004-12-14 Thread Ben Souther
I think the norm is to: Create a user that will be used to run tomcat (like tomcat). Use chown on the tomcat direcctory (often /usr/local/jakarta-tomcat-xxx). Create the needed environment variables in the tomcat user's .bash_profile script (as mentioned in the other posts). On Tue,

RE: [newbie] Container Managed Security - preventing direct access to .jsp

2004-12-14 Thread Ben Souther
It appears that there is no standard way to do this even though it's implied in the spec. I don't know how standard this is but it works. The trick is in the auth-constraint node (note the commented out role-name). Since it is exclusive. Not declaring a role-name for the protected resource

  1   2   3   4   5   6   >