Newbie Question about logging

2002-06-11 Thread ben
standard err? Any help is very much appreciated. Ben Wrigley -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: HELP! Can't start up TC 4.0.1 on jdk 1.3.11_01 in Window 2K.

2001-11-24 Thread ben
vernon, sounds like you havent configured the path for jdk1.3.1_01 yet. thats about the only thing that i could imagine..if you have configured the path for both tomcat and jdk1.3.1_01 with : set JAVA_HOME= c:\jdk1.3.1_01..(for instance) - Original Message - From: Vernon Wu [EMAIL

Same session ID for HTTPS HTTP

2004-11-03 Thread Ben
Hi Is it safe to use the same session ID for HTTP and HTTPS? If not then how can I deal with a situation where the users disabled cookie and access to the protected resources? If I don't use the same session ID, they need to login every time when they access to the protected resources as the

Re: is it possible to go to https and return to http?

2004-11-03 Thread Ben
Hi Derek Do you append the session to the address when you go to http? Are you using the same session for http and https? Do you have any concern about security? I am facing this problem ATM and would love to hear your advise. Thanks, Ben On Thu, 4 Nov 2004 11:04:46 +1100, Derek Clarkson

value for useBean class attribute invalid

2004-06-04 Thread Ben
used in useBean class= etc.) and after reading the tomcat class not found page, I'm pretty sure that something beyond my making a mistake is going on... I greatly appreciate any help, as I am stumped and utterly puzzled at this... thanks, Ben Below find: 1. directory structure 2. stack trace 3

Digested passwords

2004-09-21 Thread Ben
Hi Is there a way to add salt to the digested password in Tomcat JDBC Realm for authentication? Regards, Ben - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Rename jsessionid

2004-10-10 Thread Ben
Thanks On Sun, 10 Oct 2004 14:44:07 +0200, Michael Echerer [EMAIL PROTECTED] wrote: Dennis Dai wrote: I believe JSESSIONID is mandated by the servlet spec. Being the indeed! jsessionid is mentioned in the servlet 2.4 spec for cookie and url rewriting.

Re: Search engine friendly URLs

2004-10-02 Thread Ben
I would like to use Tomcat alone On Sat, 02 Oct 2004 19:37:35 -0400, Dov Rosenberg [EMAIL PROTECTED] wrote: Use URL Rewriting with Apache. That will do what you are looking for. On 10/2/04 11:53 AM, Ben [EMAIL PROTECTED] wrote: Hi Is it possible to make the URLs on my site

Re: Search engine friendly URLs

2004-10-04 Thread Ben
Thanks everyone. I guess I would have to use the Url Rewrite Filter by Paul Tuckey. I thought there was a better way of doing this. Cheers, Ben On Mon, 4 Oct 2004 09:04:37 -0400, Shapira, Yoav [EMAIL PROTECTED] wrote: Hi, You can also do this with one (or more, if you want, depending

Bypass IE's HTTP error messages

2004-10-07 Thread Ben
what settings the users set on their computer. Thanks, Ben - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Bypass IE's HTTP error messages

2004-10-07 Thread Ben
Thanks, it's 512 bytes. On Thu, 7 Oct 2004 18:14:37 -0500, QM [EMAIL PROTECTED] wrote: On Fri, Oct 08, 2004 at 08:48:43AM +1000, Ben wrote: : I am using Tomcat 5 and I would like to use my HTTP error pages. : Things are working fine if I use IE and having the IE's Show friendly : URL error

Rename jsessionid

2004-10-09 Thread Ben
How can I use a different name for the session id? I would like to use: SID=27D2A9CA7006C94A9CAAE1D96D4D39BD instead of: jsessionid=27D2A9CA7006C94A9CAAE1D96D4D39BD Thanks - To unsubscribe, e-mail: [EMAIL PROTECTED] For

Access to j_security_check directly

2004-10-19 Thread Ben
Hi How can I deal with users that access to j_security_check directly? I have used the error-code 400 and redirect the users to the index page but the system doesn't recognise the them as logged in users. Any help? Thanks. Cheers, Ben

Re: Access to j_security_check directly

2004-10-20 Thread Ben
trying to proceed as false assumptions can have your head spinning :-) Hope that helps, Andoni OConchubhair. - Original Message - From: Ben [EMAIL PROTECTED] To: Tomcat [EMAIL PROTECTED] Sent: Wednesday, October 20, 2004 1:58 AM Subject: Access to j_security_check directly

RealmBase Exception

2004-10-21 Thread Ben
Hi I am using Tomcat 5.0.28 and have a custom Realm implementation that extends RealmBase. When I startup Tomcat I get: ERROR [main] RealmBase.init(1198) | Can't register null java.lang.NullPointerException at org.apache.catalina.realm.RealmBase.init(RealmBase.java:1194) at

Session ID in URL

2004-10-23 Thread Ben
Hi Is there a way to validate the session id? How do I deal with a situation where a user logged in and found something interesting on my site and decided to give the URL address (with jsessionid) of the page to his/her friend? Since the URL has the session id of the sender, the receiver clicks

Server busy page

2004-10-26 Thread Ben
Hi How do I setup a server busy page? Is this Tomcat related or it has to do with my app? Thanks Ben - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

JDBCRealm manual authentication

2004-10-26 Thread Ben
Hi How do I manually authenticate a user given a String username and String password? My applicaton needs to use this feature in a Struts ActionForm, is it possible with JDBCRealm? I am using Tomcat 5 BTW. Thanks, Ben

first time user

2005-04-05 Thread Ben
webwork2 lib webwork-2.1.7.jar webflow-2.1.7.jar Thanks so much, Ben - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Clustering Tomcat

2005-05-20 Thread Ben
(McastServiceImpl.java:264) I am using JRockit 5.0_02 and Tomcat 5.5.9. Where can I find more information about this error? Thanks, Ben - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Clustering Tomcat

2005-05-22 Thread Ben
(TcpReplicationThread.java:129) at org.apache.catalina.cluster.tcp.TcpReplicationThread.run(TcpReplicationThread.java:67) May 21, 2005 5:09:24 PM org.apache.catalina.cluster.tcp.DataSender init Thanks Ben On 5/22/05, Dale, Matt [EMAIL PROTECTED] wrote: It looks like your machine is unable

Tomcat in chroot

2005-05-31 Thread Ben
Hi I am trying to setup Tomcat in chroot environment and have successfully started it up. However, when I run Tomcat in chroot, I see 10+ Tomcat processes as oppose to a single Tomcat process in a non-chroot environment. Why is this? Is it normal? Thanks, Ben

This application is not currently available

2005-06-12 Thread Ben
be the settings in my web.xml file? Thanks, Ben - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Tomcat 5.0 + Apache 2.0 + ErrorDocument

2005-06-17 Thread Ben
there is a page not found. Thanks, Ben - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Tomcat 5 and encodeRedirectURL

2005-06-29 Thread Ben
. This is the reason why the session object always lost when switching between http and https and vice versa. What can I do in my app to maintain the session across protocols? Thanks, Ben - To unsubscribe, e-mail: [EMAIL PROTECTED

Re: Tomcat 4.1.12 hanging under stress?

2002-10-28 Thread Ben Ricker
is considered unstable. I would suggest upgrading the kernel, especially since you have SMP. This is just a small suggestion.anything in the logs? Ben Ricker Wellin.com I initiated around 50 concurrent https connections from JMeter to the test server I have (which is a moderately powerful dual PIII

Re: Tomcat 4.1.12 hanging under stress?

2002-10-29 Thread Ben Ricker
on logging when it garbage collects. If you watch that file as the failure happens, you can tell if garbage collecting is having an effect or not. HTH, Ben Ricker Wellinx, Inc. -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail

Re: MOD_JK.SO

2002-10-29 Thread Ben Ricker
compiled the connector from source; I could not get the binary connector to work with Apache without getting that error. Ben Ricker Wellinx.com On Tue, 2002-10-29 at 12:02, [EMAIL PROTECTED] wrote: Hi, We are trying to get Tomcat 4.1.12 and Apache 1 3 26 working together using mod_jk.so

Re: MOD_JK.SO

2002-10-29 Thread Ben Ricker
the file ? maybe jakarta are having webserver problems. Try http://jakarta.apache.org/builds/jakarta-tomcat-connectors/ for connetor downloads, or go to John Turner's wonderful page: http://www.johnturner.com/howto/apache-tomcat-howto.html. Ben Ricker Wellinx.com I quote from the site

Re: Custom Error Page Issue

2002-10-30 Thread Ben Ricker
with a '/'. Ben Ricker Wellinx.com My webapp file has the following included: error-page error-code404/error-code locationmyerror.jsp/location /error-page error-page error-code400/error-code locationmyerror.jsp/location /error-page error-page error-code200/error-code

Question on isUserInRole, getUserPrincipal

2002-10-31 Thread Ben Litchfield
throwing information in the session, which does remain for the user. This example is run using the JBoss-3.0.3_Tomcat-4.1.12 release. I have not tried it under tomcat standalone because of the use of EJBs. Any help would be great. Ben Litchfield -- To unsubscribe, e-mail: mailto:tomcat-user

Re: Will Upgrade from one cpu to Dual CPU benefit tomcat 3.2.4 ?

2002-11-01 Thread Ben Ricker
is the issue by checking the I/O wait states and see if the kernel is just blocking the CPU waiting for disk read/writes. If so, are you using SCSI? IDE? Got RAID? Striping will improve the situation, as well as turning off mirroring disks, if you have that setup. Ben Ricker Wellinx.com On Fri, 2002-11

Compiling Servlets

2002-11-01 Thread Ben Austin
What software would you recommend for compiling servlets? _ Choose an Internet access plan right for you -- try MSN! http://resourcecenter.msn.com/access/plans/default.asp -- To unsubscribe, e-mail:

AccessControlException - java.io.FilePermission

2002-11-02 Thread ben keeping
access to the tomcat log directory. Any ideas ? Thanks for your time, Regards Ben _ Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 -- To unsubscribe, e-mail

javax.servlet does not exist

2002-11-05 Thread Ben Austin
I am trying to compile servlets using JCreator, but it isn't working. I keep getting told that javax.servlet does not exist. I've added servlet.jar to the classpath, but nothing has changed. What else should I do? _ Internet

Help: compile error: javax.servlet does not exist

2002-11-05 Thread Ben Austin
I am trying to compile servlets using JCreator, but it isn't working. I keep getting told that javax.servlet does not exist. I've added servlet.jar to the classpath, but nothing has changed. What else should I do? _ Unlimited

Re: Tomcat NT Service hogs 90% CPU - intermittent problem

2002-11-05 Thread Ben Walding
I had this problem at one point (4.1.10, and no IIS in my config though) My solution was to upgrade to 4.1.12 and upgrade the JDK to 1.4.1.01, this seemed to work. No idea what caused it though. Christopher Watson wrote: Hello All, Currently my config is TOMCAT 4.1.12 jdk1.3.1_03 Windows

Tomcat and php

2002-11-06 Thread ben f
Hi I'm new to tomcat but not php. I'm trying to get tomcat to run php as a servlet on WINNT 4.0. Tomcat version 4.1.12 PHP version 4.2.3 I have amended my server.xml file to include an entry for a php servlet as below: Context path=/phpserver docBase=php-server debug=99 reloadable=true / I

Re: Tomcat NT Service hogs 90% CPU - intermittent problem

2002-11-06 Thread Ben Walding
(from JDK1.4.1 - no idea if it exists on anything earlier) Christopher Watson wrote: Many thanks Ben I've similarly NOT YET seen the 90% CPU on a jdk1.4 and tomcat 4.1.12 system I set up with much the same webapps as the one that's thrashing I noticed some old mailing list messages related

tomcat configuration for a newbie

2002-11-06 Thread ben f
Ben - Get a bigger mailbox -- choose a size that fits your needs.

RE: tomcat configuration for a newbie

2002-11-07 Thread ben f
-class /servlet servlet-mapping servlet-namephp/servlet-name url-pattern*.php/url-pattern /servlet-mapping servlet-mapping servlet-namehelloworld/servlet-name url-pattern/helloworld/url-pattern /servlet-mapping /web-app Many thanks.. Ben

Re: tomcat configuration for a newbie

2002-11-07 Thread ben f
php as a servlet** If so, please supply version info. Thanks Ben Kwok Peng Tuck [EMAIL PROTECTED] wrote:Make sure your servlets are either in /WEB-INF/lib (if in a jar ) or /WEB-INF/classes/ (if as .class) ben f wrote: Hari Good point, I see that my url-pattern entry of phpserver

Re: Access log - single file, or multi day files

2002-11-07 Thread Ben Ricker
How about running a merge? Someone on the Apache list mentioned that Multisort http://www.xach.com/multisort/ it's a nice tool for merging logs.Would help in archiving also: merge, then compress, then backup. Ben Ricker Wellinx.com On Thu, 2002-11-07 at 07:13, neal wrote: My ISP admin

Error in mod_jk.log

2002-11-11 Thread Ben Ricker
I see the following error logged into the mod_jk log intermittently. I do not get any calls or anything like that, but I am wonderign what the error is saying? Anyone have any idea Here is the error: [jk_ajp_common.c (961)]: Error ajp_process_callback - write failed Thanks, Ben Ricker

mod_jk error and Header dumping

2002-11-20 Thread Ben Ricker
time (within 3 minutes or so). Any guidance would be appreciated. Ben Ricker Wellinx.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: Tomcat Newsgroup?

2002-11-20 Thread Ben Ricker
No need for a newsgroup. Just go to: http://mikal.org/interests/java/tomcat/index.js for complete, searchable archives of Tomcat (and a mighty fast one too). Ben Ricker Wellinx.com On Wed, 2002-11-20 at 14:41, Daniel Hellstrand wrote: A newsgroup would be great.. I´m surprised there isn´t one

Has anyone got php (as a servlet) stable with Tomcat?

2002-11-21 Thread ben f
advise me with this problem. Thanks in advance Ben __ Do You Yahoo!? Everything you'll ever need on one web page from News and Sport to Email and Music Charts http://uk.my.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED

jk1.2 load-balancing help needed

2002-11-21 Thread Ben Ricker
I am running a web application that has 2 Apache instances listening on 4 total interfaces (to account for NIC failure) using mod_jk to load-balance across 4 tomcat instances.I have two boxes with two tomcats on each box listening on seprate interfaces (again, for Nic failure). Apache is version

Re: urgent - servlet not found.

2002-11-21 Thread Ben Ricker
server.xml. The 'servlet-name' directive tells Tomcat what alias to give to the 'servlet-class'. You could do the full path, but looks better to the client to use the alias. Ben Ricker Wellinx.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL

mod_webapp (warp) for Mac OS X

2002-11-21 Thread Ben Starr
or suggestions would be much appreciated. I don't know if there are other connectors that I could or should be using - I'm a little confused by all the different ones that are out there now. I like mod_webapp because it is a dream to configure compared to my experience with mod_jk with Tomcat 3.x. Thanks, Ben

Error message meaning?

2002-11-22 Thread Ben Ricker
to Tomcat? If so, does it retry the request it sent? How does one know it was successful? Also, this occurs fairly rarely and intermittently. Out of 26,000 requests, I see it 70 times on one day. Thanks, Ben Ricker Wellinx.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED

Sun JDK 1.4 production quality?

2002-11-22 Thread Ben Ricker
to think we do not need it*sigh* Thanks, Ben Ricker -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Meaning of mod_jk.log times

2002-11-22 Thread Ben Ricker
log the Tomcat instance the request is going to? I know what Apache server I am looking at when I am reading the lod, so the information there seems rather trivial. Thanks, Ben Ricker Wellinx.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL

Does web.xml inherit?

2002-11-25 Thread Ben Ricker
inherit the values from the web.xml in the /conf directory (let us call it the main web.xml)? Or are the default values listed in the main web.xml the default values for ALL other contexts if they are not explicitely changed in the other contexts? Thanks, Ben Ricker Wellinx.com -- To unsubscribe

RE: Does web.xml inherit?

2002-11-26 Thread Ben Ricker
, the /conf/web.xml has the final say. Thanks for the help, Ben Ricker Wellinx.com -Original Message- From: Ben Ricker [mailto:[EMAIL PROTECTED]] Sent: Montag, 25. November 2002 23:24 To: Tomcat Users List Subject: Does web.xml inherit? I am running Tomcat 4.0.6 on Solaris. We

RE: Does web.xml inherit?

2002-11-26 Thread Ben Ricker
minutes. It worked). Ben Ricker Wellinx.com -Original Message- From: Ben Ricker [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 26, 2002 9:49 AM To: Tomcat Users List Subject: RE: Does web.xml inherit? On Tue, 2002-11-26 at 04:19, Roberts, Eric wrote: As far as I know

Apache Tomcat 4.1 and RMI

2002-11-26 Thread Ben Deany
java.net.SocketPermission localhost:1099, accept,connect,listen; }; Actually, this is my first post, but I just had an e-mail through from this list about Tomcat and RMI. Is this a popular subject? If so, is there any documentation that could help me address this issue? Thanks in advance, Kind regards, Ben Deany

RE: Newbie question -- help.

2002-11-26 Thread Ben Deany
Start Tomcat (from the Start Menu on Windows if that is what you are using) and then point your browser to http://localhost:8080/. -Original Message- From: Shiva Paranandi [mailto:[EMAIL PROTECTED]] Sent: Wednesday, 27 November 2002 3:05 PM To: [EMAIL PROTECTED] Subject: Newbie question

RE: JDK is not enough. SDK is needed

2002-11-27 Thread Ben Deany
I must admit that I find the Jakata web-site a little difficult to navigate. I am a developer, so I am somewhat used to moving through websites to find what I need, but I would imagine that someone with less experience would be a bit confused. It's a great site in general, and I am a big fan of

RE: Thread dump

2002-12-06 Thread Ben Ricker
see when you send the -3 to Tomcat's PID? Thanks, Ben Ricker Wellinx.com On Fri, 2002-12-06 at 12:29, Schnitzer, Jeff wrote: FYI, no it doesn't, it just causes the (Sun, at least) JVM to dump a list of threads and their stacks to stderr. Note that it's the real stderr, not System.err

Tomcat 4.1.3 beta - Admin Interface

2002-07-01 Thread Ben Ricker
Is there any documentation on the Admin interface? I ran into any number of error messages...am I to assume that it more beta then everything else? Thanks, Ben Ricker Web Security System Administrator Wellinx.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e

Re: error message: 'user tomcat4 does not exist'

2002-07-14 Thread Ben Walding
While it works if you run as root, you're better off not doing that. The less privileges you give to your processes the better, if something goes wrong in your application or tomcat, the most damage it can do is to itself. If you give it root privileges, it can do anything it wants to the

Someone was asking about a read-only tomcat etc

2002-07-17 Thread Ben Walding
A few days ago someone was asking about a read-only distro for tomcat java etc. Note, this isn't an endorsement, just something I came across and thought others might be interested in... http://www.enteract.com/~cks/distributopia/mintc/ Description MinTC is a special-purpose

Re: OT: Formatting web pages for printing.

2002-07-17 Thread Ben Walding
I think you're always going to be struggling against the fact that HTML isn't really about page layout (although CSS makes it a lot stronger in that area). You may want to consider using PDF generation using the freely available iText library (http://www.lowagie.com/iText/). I have done

Re: Datasource JNDI lookup failing

2002-07-19 Thread Ben Walding
Check that you have Tyrex in your tomcat install, the light edition doesn't include it (from memory). Also have a look through past messages about some Naming* classes being missing from the RPM versions of TomCat Turner, John wrote: Thanks for the reply, I've tried the solution in that

Classpath Woes...

2002-07-30 Thread Ben Boule
times but I can't figure out what's wrong. Thanks, Ben Boule -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

RE: Classpath Woes...

2002-07-30 Thread Ben Boule
I am sorry, in my previous email I meant to say that when I copy jasper.jar into WEB-INF/lib, the jasper classes ARE found. Ben Boule -Original Message- From: Ben Boule [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 30, 2002 6:06 PM To: '[EMAIL PROTECTED]' Subject: Classpath Woes

Re: Realm reuse howto!

2002-07-31 Thread Ben Walding
1. Storing passwords in the database is considered bad form, consider using a one way hash like MD5. 2. Is the user name a unique key? (I've seen systems that consider using user / password as the unique key... and it's a feature!) 3. If the answer to 2 is yes, you can just do

RE: Classpath Woes...

2002-07-31 Thread Ben Boule
Tomcat 3.3.1, downloaded as a binary, installed in a new directory on Solaris 8. No changes were made to the Tomcat configuration, other than things like turning on debug flags in server.xml, etc... Ben -Original Message- From: Larry Isaacs [mailto:[EMAIL PROTECTED]] Sent: Tuesday

RE: Classpath Woes...

2002-07-31 Thread Ben Boule
Thanks Larry! Yes, *.jsp was mapped to JspServlet in the web.xml file. I believe this was copied out of some Struts boilerplate or something. Removing these mappings fixed the problem. Thanks again, Ben Boule -Original Message- From: Larry Isaacs [mailto:[EMAIL PROTECTED]] Sent

Re: problem whit applets

2002-08-01 Thread Ben Walding
The code parameter is case sensitive, so if your class is Client, code=Client.class should be used. I don't believe suffixing the .class is required (at least not in modern browsers). (The Sun recommendation is to capitalise the first letter of the class (and the first letter of any words in

Re: Missing constructor!??

2002-08-08 Thread Ben Walding
Shouldn't the constructor be declared public? Josh wrote: Hi, I'm getting the following from tomcat: C:\tomcat\work\Standalone\localhost\_\empty$jsp.java:66: No constructor matching FormCheckbox(java.lang.String, java.lang.String, java.lang.String) found in class

Re: new to tomcat

2002-08-10 Thread Ben Walding
Possibly : You should have called the dir webapps not webaaps Although this is probably just a typo in your email :) Amit Luktuke wrote: hello I am very new to Tomcat4.0. I have successfully installed tomcat4.0 on my machine but can not able to run simple HelloWorld.jsp file. I have put

Re: Reading from files in servlet from Tomcat-4.0.4

2002-08-10 Thread Ben Walding
Your best bet is to put them in webapps/WEBAPP/bob.txt Then read them using servletContext.getResourceAsStream(/bob.txt); This will still work when the application is packaged up as a WAR file. khozaima shakir wrote: Hi all, I am trying to read from a file : filename Where should i put

Re: NOW DESPERATE: Package not found

2002-08-12 Thread Ben Walding
, it can be very elucidating sometimes. Cheers Ben Jacob Kjome wrote: Where is the library that is importing these classes? If it is in any of the $CATALINA_HOME library folders such as lib, common/lib, or server/lib, then I would expect that they couldn't find the classes if they existed

Re: j_username in session cookie - where did it go?

2002-08-13 Thread Ben Walding
It was possibly an undocumented (and not part of the spec) feature. You should just use = request.getRemoteUser() Where request is passed in through doGet(request, response) or however that works in JSP. Ed Thompson wrote: I have just upgraded (uninstalled and reintsalled) from Tomcat 3.2

Re: What sort of servlet is required when using it with auto load?

2002-08-13 Thread Ben Walding
You're probably better off with an application context listener OnJava has a good article about them: http://www.onjava.com/pub/a/onjava/2001/04/12/listeners.html Adrian Beech wrote: Hi folks, I would like to put together a servlet that will be used solely for setting up such things as

Re: How to keep track of sessions

2002-08-14 Thread Ben Walding
You could use an application context listener to write out the sessions when the context is shutdown and reread them when it starts up. I tried to work out how the manager application (part of the distribution) worked (as it knows about sessions), but gave up as it looked like to much work

Re: Reuse IIS SSL certificate and private key

2002-08-16 Thread Ben Walding
Thawte has information on this at http://www.thawte.com/html/SUPPORT/server/using.html It's not guaranteed to work, but it's better than forking out another $300US. Jeffrey Yip wrote: I am switching from using IIS web server with SSL to Tomcat. Could I reuse the SSL certificate and private

Re: Testing session time-out behaviour

2002-08-16 Thread Ben Walding
Although it isn't session timeout specifically, couldn't you just invalidate (invalidate() method on session object) the session by going to a specific url - eg servlet Would that emulate the behaviour you are trying to achieve? Craig R. McClanahan wrote: On Thu, 15 Aug 2002 [EMAIL

Re: Does closing a Connection variable and setting it to null close all of the ResultSet and Statements?

2002-08-27 Thread Ben Walding
I wrote a booch utility class (fancy name for static methods...) It has a whole lot of overloaded (Connection, PreparedStatement, Statement, ResultSet etc) methods like this... (LOGGER is a JDK1.4 logger) public static void closeJDBCResource(ResultSet rs) { try { if (rs !=

Re: XML parsing error on file /WEB-INF/web.xml

2002-08-27 Thread Ben Walding
Posting your web.xml would make it easier! Jill Veronda wrote: On starting tomcat 4.0.4 I get the error: 2002-08-27 18:10:54 Exception initializing TldLocationsCache: XML parsing error on file /WEB-INF/web.xml: (line 7, col 10): Document root element web-app, must match DOCTYPE root web-app.

Enabling browser caching of (BASIC) authenticated pages (includingpage expiry and 304 responses to conditional gets)

2002-04-24 Thread Ben Walding
a feature request into the bug database. (BTW, the photoalbum works really well (quickly) now as it understands conditional gets and can send 304s and appropriate expiry times). Thanks jakarta (especially TomCat!). Any comments (including the comment - you are an idiot - do this...) Cheers Ben

Doing some work when an image is requested

2002-05-14 Thread Ben Rometsch
Hi there, I dont think this has been asked before...Apologies if it has. I want to trigger Tomcat (4.0.3) into doing some work (writing a record to a DB, so ideally I want to execute a javabean method) when a specific image is requested. Is there any way of doing this? Many thanks, Ben

RE: Doing some work when an image is requested

2002-05-14 Thread Ben Rometsch
Hi There, Sorry - could you explain a little further? I'm not quite sure where you're coming from... Many thanks for the reply, Ben -Original Message- From: Simon Stewart [mailto:[EMAIL PROTECTED]] Sent: 14 May 2002 13:14 To: Tomcat Users List Subject: Re: Doing some work when

Problem with Tomcat 4

2002-05-14 Thread Ben Ricker
and finished by Tomcat, but the response was the blank page. Thanks! Ben Ricker Web Security System Administrator Wellinx.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Website for Tomcat/Apache Integration...

2002-05-15 Thread Ben Rometsch
in helping me out? Thanks, Ben Rometsch -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

RE: Website for Tomcat/Apache Integration...

2002-05-16 Thread Ben Rometsch
of tomcat, 1 for each host? Ben -Original Message- From: Chris Herrmann [mailto:[EMAIL PROTECTED]] Sent: 16 May 2002 02:14 To: 'Tomcat Users List' Subject: RE: Website for Tomcat/Apache Integration... perhaps the abundance of information is confusing... in ten words or less, all you need

Re: Website for Tomcat/Apache Integration...

2002-05-18 Thread Ben Walding
The flashguides on this site are fairly good at explaining how to setup a variety of different configurations. http://www.galatea.com/flashguides/index Ben Rometsch wrote: Hi There, Is there a website out there that I have yet to find that details common setups for Tomcat/Apache/Linux

Re: JNDI, DataSource and Cannot create resource instance

2002-05-23 Thread Ben Walding
be raising a feature request for their ResourceFactory to log the error properly rather than that dodgy message that it gives currently! Hope this helps. Cheers Ben -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: Listing all currently logged users

2002-05-27 Thread Ben Walding
I'm not sure if this is the best way, but I added a HttpSessionListener to find out when sessions were created / destroyed and just maintained a list. It is probably more portable than hacking your way into Catalina internals. See the servlet spec for details on lifecycle listeners. Terrence

Re: Bypassing user role assignment???

2002-06-04 Thread Ben Walding
Alternatively, Create a view (Access query) to handle roles, then you don't need that superfluous column in your user table and you can modify your view at a later stage to handle additional roles. eg. create a query with the sql SELECT Username, DEFAULT from usertable At some later stage

Re: catalina-ant ReloadTask fails

2002-06-05 Thread Ben Walding
As I understand thing, the reload task just tells TomCat to reload the war file that is in the webapp directory. It is still your responsiblity to get the WAR file to the webapp directory. It's a shame it doesn't support a file upload as part of the TomCat task, but when I get annoyed enough

Re: Installation on Linux

2002-06-05 Thread Ben Ricker
that capability (soon?) but does not have it now. I have heard of people using Apache 2.x with Tomcat, but I have not done that myself. Ben Ricker Web Security System Administrator Wellinx.com On Wed, 2002-06-05 at 08:53, Iain Downie wrote: Want to upgrade from Tomcat 3.3 to 4.0 (been told it is easier

Tomcat 3.2.3, WEB-INF/lib, JAXP 1.2 and JAXM 1.0.1

2002-06-06 Thread Ben Starr
not mess with the global Tomcat settings and where I do not have control over the version of Tomcat. It would be much nicer to keep my deployment separate from the Tomcat server and other web apps. Thanks, Ben Starr -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands

Re: tomcat question

2002-06-08 Thread Ben Cox
and pressure if we could upgrade and test all of these later, and more thoroughly, since it's a live server. If it's at all possible to easily disable chunking with this combination, we'd sure love to hear how! Thanks, Ben Keith Wannamaker wrote: tomcat questionThere was a bug in j-t

Re: tomcat question

2002-06-08 Thread Ben Cox
/Location in the same virtual host, and it didn't work. Any idea why not? Thanks for your help, James! Ben James Ward wrote: Ben, I am not sure if this works, but on one of my servers that has a very similar configuration to yours (Tomcat Apache) we might have fixed this. We are doing

Re: Other question

2002-06-14 Thread Ben Ricker
On Solaris, you can use 'pgrep' which will return the PID based upon a grep. Do a man on it; it has saved my bacon when writing process monitors. Ben Ricker Web Security System Administrator Wellinx.com On Fri, 2002-06-14 at 11:05, Laura wrote: On linux, ps -ef | grep java | grep myapp

Re: Tomcat Performance is good!

2002-06-14 Thread Ben Walding
It might be worth looking at Jakarta Lucence (http://jakarta.apache.org/lucene) Full text search engine - no point reinventing the wheel (I've never used it, just about to start for my new ultra-secret project). Trenton D. Adams wrote: Yep, perl is better for big text searches as far as the

Re: AW: AW: set content type to text/pdf

2002-06-21 Thread Ben Walding
Digging back into the dark cavern that is trying to get IE to work with a spec complying application (from which I have emerged and no longer care about)... I believe you might be able to go http://server:8080/servlet/pdfservlet?thisisnotanarg.pdf This may confuse IE into giving you

  1   2   3   4   5   6   7   8   9   10   >