Re: Architecture Details

2003-03-26 Thread Craig R. McClanahan
On Thu, 27 Mar 2003, Balaji wrote: > Date: Thu, 27 Mar 2003 11:07:40 +0530 > From: Balaji <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: Tomcat Users List <[EMAIL PROTECTED]> > Subject: Architecture Details > > Hi, > Can anyone tell me where to find the overall compo

RE: Guidelines on application development

2003-03-26 Thread Greg Speechley
Thanks Dan, eclipse looks good. I had a strange experience tho: I did ant remove and it deleted everything from my myapp folder which I wasn't expecting! So I started again reconfiguring build.xml and build.properties (very frustrating) but after that I did ant install and tomcat saw the servlet t

RE: overhead running from war rather than unpacked

2003-03-26 Thread Craig R. McClanahan
> -Original Message- > From: Koes, Derrick > To: '[EMAIL PROTECTED]' > Sent: 3/26/03 6:13 PM > Subject: overhead running from war rather than unpacked > > > How much overhead is there running directly from the war file rather > than > unpacked? > > Thanks, > Derrick On Wed, 26 Mar 2003,

Re: Architecture Details

2003-03-26 Thread Balaji
Hi, Does Interceptors in 3.x and Valves in 4.x the same thing? Where do I find documents on writing an interceptor? I'm trying a simple example of getting the number of active sessions by writing a interceptor. Can anyone help me? Kind Regards Bala At 11:07 AM 3/27/2003 +0530, you wrote: Hi,

RE: Architecture Details

2003-03-26 Thread Filip Hanik
uuuh, it uses a - small kernel, server/host - it has a JMX kernel that registers and manages components - It uses Valves (pipeline) to handle the request chain - It uses Coyote connectors (pooled) to handle incoming requests - Managers handle the sessions, Contexts handle the contexts including man

Need Help in Server.XML

2003-03-26 Thread Surendra Kumar
Hi, We were using Tomcat version 3.3.1 in our product and everything wad working fine. Recently Tomcat released 3.3.1a with security updates. To fix the security issue we have replaced the 4 jar files (tomcat.jar, tomcat_modules.jar, tomcat_util.jar, facade22.jar) mentioned in the report. A

Architecture Details

2003-03-26 Thread Balaji
Hi, Can anyone tell me where to find the overall component architecture of Catalina ? TIA Bala At 08:12 PM 3/26/2003 -0800, you wrote: On Wed, 26 Mar 2003, Koes, Derrick wrote: > Date: Wed, 26 Mar 2003 20:29:00 -0500 > From: "Koes, Derrick" <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[E

RE: overhead running from war rather than unpacked

2003-03-26 Thread Sterin, Ilya
None??? When you deploy a war file, usually upon the start of tomcat, or restart, the war file is unpacked, into a directory. Also, when pages are called, they are cached within the work directory, so truly, none. Ilya -Original Message- From: Koes, Derrick To: '[EMAIL PROTECTED]' Sent:

RE: Bug #5585, #11091, #13924, #18040 Workaround ???

2003-03-26 Thread Craig R. McClanahan
On Wed, 26 Mar 2003, Koes, Derrick wrote: > Date: Wed, 26 Mar 2003 20:29:00 -0500 > From: "Koes, Derrick" <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: 'Tomcat Users List' <[EMAIL PROTECTED]> > Subject: RE: Bug #5585, #11091, #13924, #18040 Workaround ??? > > > Sorr

Re: configuring server.xml with a server with more than 1 IPaddress

2003-03-26 Thread Chris Gokey
This makes sense. I'll use two different shutdown ports. Thank for your response. Chris On Wed, 2003-03-26 at 18:15, Tim Funk wrote: > The shutdown listerner always listens on localhost. So if you rn > multiple tomcat instances, you need to use different shutdown ports. > > If you want them a

Re: SMTP Logger

2003-03-26 Thread Chris Gokey
I posted my latest implementation to this site, in case anyone else is interested. http://home.attbi.com/~cgokey/java/logger/index.html Seems to be working fairly well. Thank you everyone for your comments. Chris On Tue, 2003-03-25 at 22:43, Craig R. McClanahan wrote: > On Tue, 25 Mar 2003, Ch

RE: Servlet help

2003-03-26 Thread Sandra Patricia Hunter
Thanks. I got my servlet up and running but now I can't run my jsp. After rebooting I can see my jsp but I can't load another one. Something is stuck somewhere according to some configuration I have made, but I don't even know where to begin to look or what more information to give you. Any ideas?

RE: Guidelines on application development

2003-03-26 Thread Jeff Jensen
One of the first tasks on a project is to create the Ant build file for a fully automated deploy. It is used for every deploy to the app server, including the compilation. But, sometimes when working on a class, I compile with the IDE until it is done/ready for the integrated build (I typically u

Servlet Error "Variable may not have been initialized"

2003-03-26 Thread hideaki KURASHIGE
Hi list. (B (BWhen I modify JSP files,sometimes servlet error occurr as follows. (B (B-- error (BGenerated servlet error: (B/opt/tomcat/work/.jsp:487: Variable X may not have been initialized. (B (B (BBy restarting tomcat,this servlet error disappears and everything works okay. (

Re: Are these two issues Tomcat bugs?

2003-03-26 Thread Tomasz Nowak
Filip Hanik <[EMAIL PROTECTED]> wrote: > > > [1] > > http://localhost:8080/manager/html/remove?path=/tomcat-docs > > OK - Removed application at context path /tomcat-docs > > -> tomcat-docs directory has *not* been removed from hosts > > yes, but the application is actually removed, did you try to

RE: Are these two issues Tomcat bugs?

2003-03-26 Thread Filip Hanik
> [1] > http://localhost:8080/manager/html/remove?path=/tomcat-docs > OK - Removed application at context path /tomcat-docs > -> tomcat-docs directory has *not* been removed from hosts yes, but the application is actually removed, did you try to access it to verify? I believe this is explained in

RE: db resource mgmt

2003-03-26 Thread Chris Shen
i found the doc. thanks From: "Filip Hanik" <[EMAIL PROTECTED]> Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Subject: RE: db resource mgmt Date: Wed, 26 Mar 2003 17:15:16 -0800 yes there is, a common module called dbcp search the archives Filip

Are these two issues Tomcat bugs?

2003-03-26 Thread Tomasz Nowak
I don't really know if these two issues are my faults or Tomcat bugs. I searched bugzilla, but none of these has been reported as a bug. 1. conf.xml: autoDeploy="false" does not work in my 4.1.18 2. /manager: 'install' and 'remove' commands does not work for me :( - remove command does not rem

RE: Guidelines on application development

2003-03-26 Thread Dan Payne
The path refining my dev process sounds exactly like yours. The next step for me was to move to Eclipse. Designate your source folders and it compiles .java as needed, moving the .class files to their appropriate locations. Even exports .jars for uploading to the test/live servers and integrates wi

RE: Bug #5585, #11091, #13924, #18040 Workaround ???

2003-03-26 Thread Koes, Derrick
Sorry, no, but I've been looking for one. I want to show MY OWN error page for a 401. I've posted to this list about this, but to no avail thus far. Basic auth seems to "work" BECAUSE a 401 is "thrown" for a protected resource. Sort of makes sense, but makes it difficult to use the tags to ge

RE: db resource mgmt

2003-03-26 Thread Filip Hanik
yes there is, a common module called dbcp search the archives Filip > -Original Message- > From: Chris Shen [mailto:[EMAIL PROTECTED] > Sent: Wednesday, March 26, 2003 5:12 PM > To: [EMAIL PROTECTED] > Subject: db resource mgmt > > > is there some sort of connection pooling mechanism b

db resource mgmt

2003-03-26 Thread Chris Shen
is there some sort of connection pooling mechanism built into Tomcat? i was looking over the sample server.xml, and it seems that you can specify db resources. i am just wondering if tomcat actually manages some sort of db connection pooling or is that something we have to implement on our own.

overhead running from war rather than unpacked

2003-03-26 Thread Koes, Derrick
How much overhead is there running directly from the war file rather than unpacked? Thanks, Derrick This electronic transmission is strictly confidential to Smith & Nephew and intended solely for the addressee. It may contain information which is covered by legal, professional or other privil

Bug #5585, #11091, #13924, #18040 Workaround ???

2003-03-26 Thread x1x 82
Does anybody know of a workaround for the following Tomcat 4.1.x bugs (which I think are actually the same bug reported over and over again)... http://issues.apache.org/bugzilla/show_bug.cgi?id=5585 http://issues.apache.org/bugzilla/show_bug.cgi?id=11091 http://issues.apache.org/bugzilla/show_bug

Re: Guidelines on application development

2003-03-26 Thread Greg Speechley
I have just migrated from Tomcat 4.0.3 to 4.1.24 on win2k. At present we have a test server which we do all development and testing on then once the app is stable we transfer the app directory onto the live server to $CATALINA_HOME\webapps, restart tomcat and it's good to go. During development we

RE: unpackWars not working

2003-03-26 Thread Koes, Derrick
I guess the other option would be to muck with the startup files to delete sessions before starting up. Hm. -Original Message- From: Koes, Derrick Sent: Wednesday, March 26, 2003 7:36 PM To: 'Tomcat Users List' Subject: RE: unpackWars not working OK, I see this is a known issue.

RE: unpackWars not working

2003-03-26 Thread Koes, Derrick
OK, I see this is a known issue. H. I believe tomcat should first unpack the wars, THEN determine if docBase is valid. At any rate, it seems I have to design around this feature or submit a patch. -Original Message- From: Koes, Derrick Sent: Wednesday, March 26, 2003 7:17 PM To: '

Help: start and shutdown a process through servlet

2003-03-26 Thread Tam, Michael
Hi all, I am having a problem to use a servlet to invoke an external process and I wish someone can give me some suggests on my approach which may help me solve the issue. Environment: Windows, J2SDK 1.4.1_02, and Tomcat 4.1.24. The scenario: 1) I would like to dedicate a servlet to invoke an

RE: unpackWars not working

2003-03-26 Thread Koes, Derrick
There is no other context other than the "Default Context". -Original Message- From: Koes, Derrick Sent: Wednesday, March 26, 2003 7:15 PM To: 'Tomcat Users List' Subject: RE: unpackWars not working It would except that parts of my app depend on the war file being expanded. -Ori

RE: unpackWars not working

2003-03-26 Thread Koes, Derrick
It would except that parts of my app depend on the war file being expanded. -Original Message- From: Filip Hanik [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 26, 2003 7:11 PM To: Tomcat Users List Subject: RE: unpackWars not working could it be that it is not unpacking the war for

RE: unpackWars not working

2003-03-26 Thread Filip Hanik
could it be that it is not unpacking the war for the context that is already defined? hence it would overwrite that one maybe, what happens if you set docBase="dora.war" would that be sufficient for you? Filip > -Original Message- > From: Koes, Derrick [mailto:[EMAIL PROTECTED] > Sent:

unpackWars not working

2003-03-26 Thread Koes, Derrick
The following configuration is not unpacking my war file. I cannot understand why. unpackWARs is set to true. Can anyone help? Thanks, Derrick This electronic transmission is strictly confidential to Smith & Nephew and int

RE: [OT] Contract Work Hourly Rates

2003-03-26 Thread Raible, Matt
Currently, I live in Denver, Colorado and hope to be living in West Palm Beach in the next 6 months. > -Original Message- > From: Micael [mailto:[EMAIL PROTECTED] > Sent: Wednesday, March 26, 2003 4:32 PM > To: Tomcat Users List > Subject: RE: [OT] Contract Work Hourly Rates > > > Where

Authenticator problem tomcat 4.0.4 no cookies

2003-03-26 Thread Mark Thill
version: tomcat 4.0.4 Short version: When I turn cookies off in my browser the authenticator no longer works. When cookies are on it works fine. Long version: I've tried to make the subject as descriptive as possible, but the problem I'm having is that when I am using the form authenticator and

RE: [OT] Contract Work Hourly Rates

2003-03-26 Thread Micael
Where are you located, Matt? At 03:45 PM 3/26/03 -0700, you wrote: Most clients seem to want to pay b/w 30 and 50, from what I've seen. When I've asked for more than that - I don't get any returned e-mails or phone calls. In Florida, where I've been hoping to find my next job, it's more like 20-4

Re: [OT] Contract Work Hourly Rates

2003-03-26 Thread awc
Do you own a grocery store?? Micael wrote: > Thanks, anyway, Filip. You must be poor, you cannot afford the rest of the > "P", an "h" or the extra "l" in "Phillip". LOL. I will work for food > too. How much is the issue. LOL. > > At 01:47 PM 3/26/03 -0800, you wrote: > >will work for food...

RE: [OT] Contract Work Hourly Rates

2003-03-26 Thread Micael
Thanks, Jeff. At 03:40 PM 3/26/03 -0700, you wrote: http://www.htmlgoodies.com/letters/221.html A recent htmlgoodies.com newsletter dealt with this subject, helping you with the formula since there is no real definitive easy answer that we could give you. Follow the link above, I hope it helps.

Re: configuring server.xml with a server with more than 1 IP address

2003-03-26 Thread Tim Funk
The shutdown listerner always listens on localhost. So if you rn multiple tomcat instances, you need to use different shutdown ports. If you want them accessible from the outside (which is a real bad idea), use plug proxy. -Tim Chris Gokey wrote: In server.xml, I'm looking for a way to specif

Re: Servlet help

2003-03-26 Thread Vladimer Shioshvili
Sandra, if you are planning to do the changes often you are probably better off if you set reloadable parameter to true in server.xml file, (http://jakarta.apache.org/tomcat/tomcat-4.0-doc/config/context.html) however, setting it to reloadable means that you should accept that it will eat up s

Re: [OT] Contract Work Hourly Rates

2003-03-26 Thread Susan Hoddinott
Why don't you take a statistical approach. Aim for "sticker shock" and work your way down until you get someone who begrudgingly pays your exorbitant rate. Could also try the other way - raise your rate with every rejection so they get a sense of urgency. - Original Message - From: "Jeff

RE: Servlet help

2003-03-26 Thread jsp
Is tomcat being run as a service? If so you have to restart it there and sometimes I also have to go to the command line c:\tomcat\bin\shutdown ... c:\tomcat\bin\startup for it to take. If your using the newer versions of tomcat it doesn't seem to work any other way. -wiley -Original Message

Startup Exception

2003-03-26 Thread Luis A
Hi, I am running for the first time Tomcat 5, and I am getting the following exception on startup - the index page opens fine, but I wonder if there is something wrong: Thanks, Luis. Mar 26, 2003 6:59:02 PM org.apache.catalina.core.StandardContext loadOnStartup SEVERE: Servlet /openejb_loader-0

Servlet help

2003-03-26 Thread Sandra Patricia Hunter
This seems like a silly question: when I make changes in my servlet what do I have to do to load the new file? I have tried just saving it. I have tried restarting Tomcat. I have tried recompiling the file. I have tried recompiling while Tomcat was shutdown and while Tomcat was running. I have tr

RE: invalidate all sessions on tomcat start

2003-03-26 Thread Koes, Derrick
Thanks. This caused me to look a bit more closely. The path was missing the beginning "/". -Original Message- From: Filip Hanik [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 26, 2003 5:49 PM To: Tomcat Users List Subject: RE: invalidate all sessions on tomcat start oops, try

RE: invalidate all sessions on tomcat start

2003-03-26 Thread Filip Hanik
oops, try pathname="" and set the debug="10" on your standardmanager to see what is going on, Filip > -Original Message- > From: Koes, Derrick [mailto:[EMAIL PROTECTED] > Sent: Wednesday, March 26, 2003 2:44 PM > To: 'Tomcat Users List' > Subject: RE: invalidate all sessions on tomca

RE: [OT] Contract Work Hourly Rates

2003-03-26 Thread Raible, Matt
Most clients seem to want to pay b/w 30 and 50, from what I've seen. When I've asked for more than that - I don't get any returned e-mails or phone calls. In Florida, where I've been hoping to find my next job, it's more like 20-40/hour. :( Matt > -Original Message- > From: Micael [mai

RE: invalidate all sessions on tomcat start

2003-03-26 Thread Koes, Derrick
Below is my configuration. SESSIONS.ser is still written despite this configuration.

RE: [OT] Contract Work Hourly Rates

2003-03-26 Thread Jeff Tulley
http://www.htmlgoodies.com/letters/221.html A recent htmlgoodies.com newsletter dealt with this subject, helping you with the formula since there is no real definitive easy answer that we could give you. Follow the link above, I hope it helps. Jeff Tulley ([EMAIL PROTECTED]) (801)861-5322 Nove

configuring server.xml with a server with more than 1 IP address

2003-03-26 Thread Chris Gokey
In server.xml, I'm looking for a way to specify both the host name and port used for the declaration. Something like: . (similiar to how you would configure the HTTP connector) I'm trying to launch two Tomcat servers both running under the same ports but binding to different IPs on the same mac

RE: [OT] Contract Work Hourly Rates

2003-03-26 Thread Micael
Do you have a ballpark, since I was asked? At 03:15 PM 3/26/03 -0700, you wrote: In this economy, I usually ask the client how much they're willing to spend. Usually they will fess up and then you can decide from there. Telling them how much you (truly) want will usually result in "yeah, right."

RE: [OT] Contract Work Hourly Rates

2003-03-26 Thread Raible, Matt
In this economy, I usually ask the client how much they're willing to spend. Usually they will fess up and then you can decide from there. Telling them how much you (truly) want will usually result in "yeah, right." Matt > -Original Message- > From: Micael [mailto:[EMAIL PROTECTED] > Sen

Authentication Best Practices

2003-03-26 Thread John Swapceinski
Here is some information I have put together on what I consider the best practices for Tomcat Form Based Authentication. I look forward to your comments and suggestions. John Best Practices for Tomcat v4.1 Form Based Authentication John Swapceinski Ordinate Corp. [EMAIL PROTECTED] (

Re: web.xml - not in order

2003-03-26 Thread p niemandt
Hi; You are not guaranteed the order of the elements when using an enumeration. This has more to do with basic data structures than with the API. You would need to use a container that has a guaranteed order, should you so wish. This has to do with the dynamic nature of enumerations: They need to

RE: [OT] Contract Work Hourly Rates

2003-03-26 Thread Micael
Thanks, anyway, Filip. You must be poor, you cannot afford the rest of the "P", an "h" or the extra "l" in "Phillip". LOL. I will work for food too. How much is the issue. LOL. At 01:47 PM 3/26/03 -0800, you wrote: will work for food Filip > -Original Message- > From: Micael [

Re: [OT] Contract Work Hourly Rates

2003-03-26 Thread Micael
I live in Washington (state) and the coding is being done for a firm in California. At 04:46 PM 3/26/03 -0500, you wrote: Micael wrote: I have a job offer to do contract work coding websites. I am well versed in most of the areas required, and wonder what is a good hourly rate to ask for? I

web.xml - not in order

2003-03-26 Thread David Thielen
Hi; When I retrieve the / pairs from web.xml via: Enumeration en = pageContext.getServletContext().getInitParameterNames(); It does not return them in the order they appear in web.xml. Is random order just part of the API definition? thanks - dave

RE: [OT] Contract Work Hourly Rates

2003-03-26 Thread Filip Hanik
will work for food Filip > -Original Message- > From: Micael [mailto:[EMAIL PROTECTED] > Sent: Wednesday, March 26, 2003 1:44 PM > To: Tomcat Users List > Subject: [OT] Contract Work Hourly Rates > > > I have a job offer to do contract work coding websites. I am > well versed > i

Re: [OT] Contract Work Hourly Rates

2003-03-26 Thread Erik Price
Micael wrote: I have a job offer to do contract work coding websites. I am well versed in most of the areas required, and wonder what is a good hourly rate to ask for? I know Java (certified programmer), Tomcat, Struts, Ant, blah, blah, as well as scripting, Red Hat, etc. Thanks for any as

[OT] Contract Work Hourly Rates

2003-03-26 Thread Micael
I have a job offer to do contract work coding websites. I am well versed in most of the areas required, and wonder what is a good hourly rate to ask for? I know Java (certified programmer), Tomcat, Struts, Ant, blah, blah, as well as scripting, Red Hat, etc. Thanks for any assistance. LEGAL

RE: request parameter question ...

2003-03-26 Thread Ron Day
Don't need to do this. You can use a requestDispatcher in servlet to perform a forward (BTW: that's ultimately what a jsp relies on anyway !!) Ron -Original Message- From: Filip Hanik [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 26, 2003 3:36 PM To: Tomcat Users List Subject: RE: requ

Re: request parameter question ...

2003-03-26 Thread Erik Price
Mufaddal Khumri wrote: I guess if i use setAttribute ... i have to use getAttribute ... thats the reason i get the blank string .. coz i was using getParameter my problem is that the jsp uses getParameter ... it would have been good if i could have used the same method regardless as how the pa

RE: request parameter question ...

2003-03-26 Thread Ron Day
Attributes and Parameters are different. Parameters only arrive as part of a querystring or in a form post. Attributes are more general, and can be set by the programmer. That said, they are set and read using different methods. several responses to your post suggested using xxx?param=yy or usi

RE: request parameter question ...

2003-03-26 Thread Tam, Michael
getParameter is used to obtain data being pass by post or get method set/getAttribute is used to access the data in the request object. They are different. You need to understand which one you do need. Michael -Original Message- From: Mufaddal Khumri [mailto:[EMAIL PROTECTED] Sent: We

RE: request parameter question ...

2003-03-26 Thread Filip Hanik
then I would suggest to make your servlet into a jsp page, and that way you can use the jsp:forward to pass parameters Filip > -Original Message- > From: Mufaddal Khumri [mailto:[EMAIL PROTECTED] > Sent: Wednesday, March 26, 2003 1:02 AM > To: Tomcat Users List > Subject: Re: request par

Re: request parameter question ...

2003-03-26 Thread Mufaddal Khumri
I guess if i use setAttribute ... i have to use getAttribute ... thats the reason i get the blank string .. coz i was using getParameter my problem is that the jsp uses getParameter ... it would have been good if i could have used the same method regardless as how the parameter was set. On Thu

Re: request parameter question ...

2003-03-26 Thread Erik Price
Mufaddal Khumri wrote: Hi , I tried using request.setAttribute("name", "newName"); try { String path = "/SomeJSP.jsp" getServletConfig().getServletContext().getRequestDispatcher(path).forwar d(request, response); } catch(Exception ex) { ex.printStackTrace(); } When i do a reque

Re: request parameter question ...

2003-03-26 Thread Mufaddal Khumri
Hi , I tried using request.setAttribute("name", "newName"); try { String path = "/SomeJSP.jsp" getServletConfig().getServletContext().getRequestDispatcher(path).forwar d(request, response); } catch(Exception ex) { ex.printStackTrace(); } When i do a request.getParameter in my JSP page ..

RE: invalidate all sessions on tomcat start

2003-03-26 Thread Filip Hanik
or use the persistence manager > -Original Message- > From: Koes, Derrick [mailto:[EMAIL PROTECTED] > Sent: Wednesday, March 26, 2003 1:17 PM > To: 'Tomcat Users List' > Subject: RE: invalidate all sessions on tomcat start > > > > Can this be done with a listener? > >

RE: invalidate all sessions on tomcat start

2003-03-26 Thread Filip Hanik
oops, sent the wrong link to you :) > -Original Message- > From: Koes, Derrick [mailto:[EMAIL PROTECTED] > Sent: Wednesday, March 26, 2003 1:17 PM > To: 'Tomcat Users List' > Subject: RE: invalidate all sessions on tomcat start > > > > Can this be done with a listener? > > > -Orig

RE: invalidate all sessions on tomcat start

2003-03-26 Thread Filip Hanik
still not sure what you are trying to achieve and why. if you don't want sessions to be saved to disk on shutdown, just simply add the http://jakarta.apache.org/tomcat/tomcat-4.0-doc/manager-howto.html Filip > -Original Message- > From: Koes, Derrick [mailto:[EMAIL PROTECTED] > Sent: We

Tomcat 4.1 resouces & classpaths

2003-03-26 Thread Pat McGroin
Hello. I am trying to reference a few JAR files and a property file from an out-of-process Tomcat application. The Tomcat 4.1 documentation says that unpacked classes and resources will be loaded out of the WEB-INF/classes directory and packed resources are loaded out of WEB-INF/lib of your web

RE: invalidate all sessions on tomcat start

2003-03-26 Thread Koes, Derrick
Can this be done with a listener? -Original Message- From: Koes, Derrick Sent: Wednesday, March 26, 2003 4:14 PM To: 'Tomcat Users List' Subject: RE: invalidate all sessions on tomcat start Either or. I don't wish anything to timeout, yet I want them to be invalidated when the server

need help with file security

2003-03-26 Thread rajeev shrestha
hi. i am a student and am using tomcat 4.1.18. i have a question regarding file security. i want to protect files or sites fomr an unauthorized user. when ever a person clicks on a link or a file in the root directory it sud ask for a user and password. is it possible with tomcat? i am not sure

RE: invalidate all sessions on tomcat start

2003-03-26 Thread Koes, Derrick
Either or. I don't wish anything to timeout, yet I want them to be invalidated when the server is restarted (at shutdown, or at startup). Thanks, Derrick -Original Message- From: Filip Hanik [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 26, 2003 4:03 PM To: Tomcat Users List Subject

Re: request parameter question ...

2003-03-26 Thread Erik Price
Mufaddal Khumri wrote: if(str.equals("xyz") == true) { str = "ChangedName"; request.setParameter("name", str); // <- how do i do this ??? There is no method as request.setParameter() } [...] one way to do it would be to append the parameter and its changed v

RE: request parameter question ...

2003-03-26 Thread Filip Hanik
that is what request.setAttribute is there for. you can also look at JSP forward, that allows you to set parameters, not sure how this translates to a servlet http://java.sun.com/products/jsp/syntax/1.1/syntaxref1110.html filip > -Original Message- > From: Mufaddal Khumri [mailto:[EMA

request parameter question ...

2003-03-26 Thread Mufaddal Khumri
Hi , In my servlet I have the following code: String str = request.getParameter("name"); if(str.equals("xyz") == true) { str = "ChangedName"; request.setParameter("name", str); // <- how do i do this ??? There is no method as request.setParameter() } try { String

RE: invalidate all sessions on tomcat start

2003-03-26 Thread Filip Hanik
what do mean you by "invalidating" on startup. Startup an instance there are no sessions, unless they have been saved from a previous run. so are you really asking how to prevent them being saved on shutdown? Filip > -Original Message- > From: Koes, Derrick [mailto:[EMAIL PROTECTED] > S

RE: webapp

2003-03-26 Thread PELOQUIN,JEFFREY (HP-Boise,ex1)
I had a similar issue when I built mod_webapp for HP-UX what I did was the following in the Makefile Basically I removed the $(MFLG) parameter. As far as I could tell, it picked the value for this variable from the apache/bin/apxs file variable my $CFG_LDFLAGS_SHLIB. Change template: @ { $(EC

invalidate all sessions on tomcat start

2003-03-26 Thread Koes, Derrick
Is there a way to invalidate all sessions on tomcat startup? Can someone provide an example? Thanks, Derrick This electronic transmission is strictly confidential to Smith & Nephew and intended solely for the addressee. It may contain information which is covered by legal, professional or oth

need help with file security

2003-03-26 Thread Kushan Maskey
hi. i am a student and am using tomcat 4.1.18. i have a question regarding file security. i want to protect files or sites fomr an unauthorized user. when ever a person clicks on a link or a file in the root directory it sud ask for a user and password. is it possible with tomcat? i am not sure ab

RE: Good documentation?

2003-03-26 Thread Reynir Hübner
Yes, I have very similar experience, hard to find good docs on what to do. Last time I configured IIS with mod_jk2 I wrote few lines on the subject which describe the most simple solution I could find to get that kind of setup running. I don't think it uses all the benefits of JK2 but it gets t

Re: Tomcat Configuration - mod_jk2

2003-03-26 Thread Ryan Daly
Keep in mind that what the docs say to put in jk2.properties actually needs to go in /conf/workers2.properties. I discovered this last night after a few hours of trying various things in jk2.properties. -- > Hello. > > I'm trying to get the mod_jk2 connector to work on apache 2.0.44 with > Tomc

Good documentation?

2003-03-26 Thread Ryan Daly
Is there any good documentation for deploying JK2 out there anywhere? The documents I reviewed weren't that detailed, and I find that things the doc says to put in jk2.properties actually should live in workers2.properties. Any one with similar experiences?

RE: Admin is incomplete

2003-03-26 Thread Reynir Hübner
Hi, There are two things I would like to point out. 1. You don't really need the admin app ..so just read the manual on how to edit server.xml and web.xml. 2. It would be more efficient to post a bug in the bugzilla, than shout at the tomcat-user list. The admin application is really a new t

Re: RES: setting up alternate ways of accessing the same webapp

2003-03-26 Thread Richard Anderson
I've been trying to do this in mod_jk2 with apache 2 and have had no luck. Can two virtual hosts connect to the same context? Can the following vhosts both map to "webapps/vif"? http://(A)/vif-one-webapp http://(B)/vif-two-webapp --Rick On Wed, 2003-03-26 at 14:32, Tiago Ferraz Machado wrote:

Re: url-pattern problem? Deployed servlet works in Tomcat 4.0.4 but fails in Tomcat 4.1.18

2003-03-26 Thread Randal E. Curnutt
I tried changing the URL Pattern as suggested below but that didn't fix the problem. With regards to my code, I have a simple form in my JSP which uses the "GET" method to send some form field values to my servlet. I'll paste the code below. UserId:     Password:   When I

RE: Admin is incomplete

2003-03-26 Thread Raible, Matt
Just so 4.1.24 doesn't get a bad rap - I'm having awesome success with it over 4.1.18. I'm not using the LE version, but I am running it on JDK 1.4.1. I used to get OutOfMemory errors all the time with 4.1.18, but haven't had any since the upgrade. The admin app doesn't work (details at http://t

Re: Admin is incomplete

2003-03-26 Thread Herbert G. Fischer
Yes, I'm using LE version, and as you know, Tomcat LE just don't include classes that already commes with JDK 1.4, and YES, I'm using JDK 1.4. As I said, On IE, the admin works well... the problem is not missing classes... is the fucking Microsoft that even Tomcat developers insist to use. Maybe th

Re: different clients using the same instance of a bean

2003-03-26 Thread Mark Pease
I used all servlets, so I'm not an expert at doing this in jsp, but I can give you the concepts that I would pursue: 1. Create a bean with a Hashtable or some structure to hold references to all your state beans. 2. Create a bean that contains your data, methods, etc. that you want to share betwe

Re: Admin is incomplete

2003-03-26 Thread Richard Dunn
On Wednesday 26 March 2003 12:50, Herbert G. Fischer wrote: > Hi again, > > I'm getting very angry with Tomcat 4.1.24... > It's half made... There's a lot of classes missing!!! > I have not used the LE edition of Tomcat, but is it possible the problems you are having is because the Light Edition

Re: Admin is incomplete

2003-03-26 Thread p niemandt
No use in getting angry ;-) Computers don't feel, well, yet ... Anyways: I don't have a solution for you, but a suggestion: It seems you are using the LE (Light) of Tomcat, maybe try the full version? Using the full version, also make sure you have installed the 1.4 JDK and not just the JRE. hth,

Problems reading Context's Resources

2003-03-26 Thread Herbert G. Fischer
Hi, I'm trying Tomcat 4.1.24 and I'm having problems reading Context's Resources. Here's my sample code and after the error output. I've tryed a lot of things without success, I'm lost... Note: I'm using JDK 1.4 <%@ page language="java" import="j

Re: Admin is incomplete

2003-03-26 Thread Herbert G. Fischer
THE PROBLEM IS BAD THAN I THOUGHT!!! Sorry for the caps, but I'm very angry!! Admin only works correctly on MS Internet Explorer... How a multiplatform tecnology can be made this way Damn!!! Herbert G. Fischer wrote: Hi again, I'm getting very angry with Tomcat 4.1.24... It's half made...

Admin is incomplete

2003-03-26 Thread Herbert G. Fischer
Hi again, I'm getting very angry with Tomcat 4.1.24... It's half made... There's a lot of classes missing!!! Another one... == HTTP Status 400 - Invalid path /logger/AddLogger was requested type Status report message Invalid p

webapp

2003-03-26 Thread Allan Campos de Moraes
Hi All ! I´m trying to generate the mod_webapp.so file but after all the steps when I try to run "make" I receive the message below... some Ideas ? I had no error on the steps before make... Help ! ___ /home/amoraes/jakarta

RES: setting up alternate ways of accessing the same webapp

2003-03-26 Thread Tiago Ferraz Machado
Hello, If I understood your question, I think if you change the name on the virtual host at apache configuration, it should solve your problem: mailto:[EMAIL PROTECTED] Enviada em: quarta-feira, 26 de março de 2003 15:16 Para: [EMAIL PROTECTED] Assunto: setting up a

Re: Anyone successfully authenticating Tomcat users w/ windows logininfo using a JNDIRealm?

2003-03-26 Thread Tim Funk
If you have multiple domains, I think your out of luck. If you run a single active directory domain, you *might* be able to do something like this: ldap://need.morecowbell.com:389"; userBase="dc=more,dc=morecowbell,dc=com" userSearch="(userPrincipalName={0})" userRoleName="member" roleBase="dc=m

Reloading context-specific InitParameter

2003-03-26 Thread johannes . fiala
hi there, is it possible to reload context-specific Initialization parameters stored in server.xml on the fly? if I deploy a new webapp to Tomcat, I always have the problem, that the Context InitParameters are not available - only after a restart of Tomcat, the application runs as expected. Is

Anyone successfully authenticating Tomcat users w/ windows login info using a JNDIRealm?

2003-03-26 Thread Dan Payne
I'm looking for some assistance in setting up single-sign on with our windows 2000 intranet and Tomcat using Windows Active Directory and a Tomcat JINDIRealm and LDAP. What I'm essentially looking for is HttpServletRequest.getRemoteUser() to return the username used to authenticate to the Windows n

  1   2   >