Realm Authentication does not restore Original "POST" request.

2003-06-17 Thread Raman
Hi, I am facing this problem. The Form Based Realm Authentication is not able to recreate the original post request. To recreate the problem: -Request a page protected with Form Based authentication. -Login to the application. -Stop at a page which has a form with method "POST", till session tim

RE: problems with web.xml and security

2003-06-17 Thread Rosaria Silipo
Jwsdp.log..txt does not report any error. I do not have catalina.out. Maybe I am using the wrong version of Tomcat? I think my problem is that /secure has its own web.xml that overrides the web.xml in /. How can I avoid that? -- Rosaria -Original Message- From: news [mailto:[EMAIL PROT

Re: problems with web.xml and security

2003-06-17 Thread Bill Barker
and are optional elements. If you don't need them, then they don't have to be there. If you remove the , then the rest of what is posted of your web.xml is valid (even if the /secure/* is implied by the /*, but that shouldn't matter). I'm still going to guess that there are errors in your log

Re: Query string / InputStream

2003-06-17 Thread Bill Barker
<[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > > > > Hi list, > > I have a question to servlets with TC. I set up a easy web site with a form > and request method POST. The action is then a call to a servlet. In this > servlet I implemented doPost and doGet while doPost just calls

RE: problems with web.xml and security

2003-06-17 Thread Rosaria Silipo
I am a bit confused. I do not have any or (do I need them?) and I followed the order as it is in the tutorial. Even removing , /secure/* is not authenticated and /* is. -- Rosaria -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Bill Barker Sent: Tuesday, June 17,

Query string / InputStream

2003-06-17 Thread christian . schuster
Hi list, I have a question to servlets with TC. I set up a easy web site with a form and request method POST. The action is then a call to a servlet. In this servlet I implemented doPost and doGet while doPost just calls doGet. Now when the servlet gets called the query string is null. This I

Re: Security question

2003-06-17 Thread Bill Barker
It can't be done (at least without hacking :). The servlet-spec only tells how to secure a page. There is no concept of un-securing a page. If you are using iPlanet+Tomcat, and the un-secure areas are all static content, then you can configure iPlanet to serve the un-secure areas (bypassing Tomc

Re: sessions across browser insances (store cookie file on user machine?)

2003-06-17 Thread Bill Barker
You can modify your copy of the Tomcat code, or write your own Manager. "Bill Ataras" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Is there any way to make your HttpSession live across a user's browser > instances? > > Thanks ---

Re: possibly off topic: workers2.properties question

2003-06-17 Thread Bill Barker
If your version of Jk2 is recent enough, and was compiled with the Apache regex library, then you should be able to do: [uri:!/app/*.gif] (of course you can always get more clever with regexps ;-). I haven't actually tried it myself, but I'm told that it does work. "Mark Eggers" <[EMAIL PROTECTED

Re: problems with web.xml and security

2003-06-17 Thread Bill Barker
If you check your log files, you should see that it doesn't like your web.xml file because comes after and before (which both come before ). Tomcat 4.x is picky about enforcing the order of elements in your web.xml file (TC 3.3 is as well, at least by default). The result is that Tomcat stopped

Re: newbie - program structure

2003-06-17 Thread madhombre
I see, thanks, very enlightning. ok, so I want to create my own directory for my applications as a root and then have my apps under here. I set this up in my server.xml file first correct? then I can reference this in the workers2.properties. I notice that the workers2.properties can be changed

Re: newbie - program structure

2003-06-17 Thread madhombre
never mind, there are two sets of examples! doh! sorry. --- [EMAIL PROTECTED] wrote: > I guess I am confused. > > I set up my workers2.properties to link to > /exmaples/jsp/* > > then when I type in the ip/port of myu web server > (NOT > tomcat) /examples/jsp/dates/dates.jsp for example it > c

Re: newbie - program structure

2003-06-17 Thread Yoav Shapira
Howdy, If you're just starting out with servlets/JSPs/webapps, follow the app developer's guide instead of forming bad habits ;) It's here: http://jakarta.apache.org/tomcat/tomcat-4.1-doc/appdev/index.html Don't worry about Apache front-end and JK or other connectors for now. Just develop, deplo

Re: newbie - program structure

2003-06-17 Thread madhombre
I guess I am confused. I set up my workers2.properties to link to /exmaples/jsp/* then when I type in the ip/port of myu web server (NOT tomcat) /examples/jsp/dates/dates.jsp for example it comes up. SO I thought hey, you don't I copy an example into my main www dir and see if that works. for

newbie - program structure

2003-06-17 Thread madhombre
ok, I am used to Java and PHP and had a question about where to put jsp/servlet code. what is the best thing to do? I am used to just putting it anywhere I want as long as I sperate it how I would like BUt with jsp it seems you need to tell it the actual folders the jsp is in. what I was looking

RE: problems with web.xml and security

2003-06-17 Thread Rosaria Silipo
I do not necessarely want the context /secure, but I want that all files in the directory webapp/secure are protected. Do I still need two web.xml files? I do I include webapp/secure into the root context? Thanks -- Rosaria -Original Message- From: Jon Eaves [mailto:[EMAIL PROTECTED]

Host Setup - (The Default Tomcat Page is Stalking Me)

2003-06-17 Thread Paul Hepworth
Hello, Recently I setup mod_jk to try to get Tomcat to play with Apache. I created a new with my domain name. When I point my browser to http://mydomain.com it redirects to the default Tomcat page that normally runs on "http://localhost:8080"; right after installation only all of the images a

Re: Tomcat/Ant/JNDI question

2003-06-17 Thread Tim Shaw
The Resource is specified, in the server.xml, with a name. This is the JNDI name and is used to refer to the resource from wherever you like. The setup of the resource is done by the ResourceParams (I hope you didn't copy my example verbatim ;-) The web.xml is just abstracting that reference fo

Re: problems with web.xml and security

2003-06-17 Thread Jon Eaves
You need 2 web.xml files. In / (or ROOT) for the context that maps to http://my.domain.com/ and in the web application defined by the context /secure which may be in the subdirectory webapps/secure, or it may be webapps/secure.war, or it may be webapps/somethingelse and have element in conf/se

RE: win2000 issue with tomcat4.1.24

2003-06-17 Thread Srinivasu Gandu
http://localhost:8080 -Original Message- From: John Turner [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 17, 2003 4:15 PM To: Tomcat Users List Subject: Re: win2000 issue with tomcat4.1.24 Sorry, you lost me. I think Craig's response at the link I provided should be enough to go on, b

Webapps different machine

2003-06-17 Thread Jose Santiago Oyervides Gonzalez
Hi, I have a W2k-IIS5.0 server with multiple sites, and all my web-sites have their home directories in a different machine, I am trying to configure TomCat to serve JSP's who also are in the different machine, so with the isapi_redirect, I will keep working both my IIS and Tomcat. Is it possible

RE: problems with web.xml and security

2003-06-17 Thread Rosaria Silipo
Sorry, my mistake! It worked because in the meantime I removed /secure. If I rebuild /secure, I can still access it without being authenticated. Summary: I have web.xml for / and web.xml for /secure. Without web.xml in /secure/web/WEB-INF I can not build /secure in the web application. How do I

Re: Tomcat/Ant/JNDI question

2003-06-17 Thread Garrett Dangerfield
I tried this and it's not giving me the "not found in Context" message, but it's now trying to pass me a null connection. I think the problem is that it doesn't know where to get the connection from. With the ResourceLink in the server.xml Context, one specifies the name one wants to use local

RE: problems with web.xml and security

2003-06-17 Thread Rosaria Silipo
Unbelieveable to say. It works! Do you have an explanation for this? Thanks -- Rosaria -Original Message- From: Carl Walker [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 17, 2003 1:25 PM To: Tomcat Users List Subject: Re: problems with web.xml and security What happens when you take

Re: problems with web.xml and security

2003-06-17 Thread Jon Eaves
Rosaria Silipo wrote: Thanks Carl, Yes, I tried to see /secure as first thing and I can see it without authentication. I tried to close browser and restart it and I still could see it. Maybe the problem is on the web.xml of /secure. Is it possible? -- Rosaria If I'm reading your sentence correctl

Re: Tomcat/Ant/JNDI question

2003-06-17 Thread Tim Shaw
This works for me ... web.xml : Resource reference to a factory for java.sql.Connection instances that may be used for talking to a particular database that is configured in the server.xml file. jdbc/SessionDB

RE: JSP Compiler output?

2003-06-17 Thread Mike Curwen
Funny how that's his *problem*;) The bug is deliberate. The problem is: Why isn't there a full stack trace? > -Original Message- > From: Shapira, Yoav [mailto:[EMAIL PROTECTED] > Sent: Tuesday, June 17, 2003 4:17 PM > To: Tomcat Users List > Subject: RE: JSP Compiler output? > > >

RE: JSP Compiler output?

2003-06-17 Thread Shapira, Yoav
Howdy, This isn't the full stack trace: please post the full one with the Root Cause. Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Noel Rappin [mailto:[EMAIL PROTECTED] >Sent: Tuesday, June 17, 2003 4:59 PM >To: Tomcat Users List >Subject: Re: JSP Compiler output?

Re: JSP Compiler output?

2003-06-17 Thread Jason Bainbridge
I haven't really been following this thread but is this the problem where in some scenarios that JAVA_HOME/bin needs to be in the system PATH? Regards, -- Jason Bainbridge http://jblinux.org On Wed, 18 Jun 2003 04:58, Noel Rappin wrote: > I replicated this experiment exactly in my environment.

Re: JSP Compiler output?

2003-06-17 Thread Noel Rappin
I replicated this experiment exactly in my environment. Tomcat 4.1.24, Linux, JSDK 1.4.1_01. Is it a Linux thing? Here's my stack trace in localhost: org.apache.jasper.JasperException: Unable to compile class for JSP at org.apache.jasper.JspCompilationContext.load(JspCompilationContext

Re: JSP Compiler output?

2003-06-17 Thread Tim Funk
You should get something somewhere. For example ... With 4.1.24 (win2k, jdk1.3, but 1.4 is the same result), I have a file called foo.jsp (at /) with the contents: <% more cowbell %> My error screen is attached. In the logs (localhost_log.2003-06-17.txt) I get: 2003-06-17 16:34:06 StandardWrappe

Re: Tomcat/Ant/JNDI question

2003-06-17 Thread Garrett Dangerfield
I tried this and it's not working. It's saying: Name jdbc not found in this context In my web.xml, I put in: jdbc/DataWarehouse jdbc/DataWarehouse javax.sql.DataSource In my server.xml, I have: Am I missing something? Thanks Garrett Dangerfield. Shapira, Yoav wrote: Howdy, -

Re: problems with web.xml and security

2003-06-17 Thread Carl Walker
What happens when you take out the '/*' url-pattern? Rosaria Silipo wrote: > Thanks Carl, > > Yes, I tried to see /secure as first thing and I can see it without > authentication. > I tried to close browser and restart it and I still could see it. > Maybe the problem is on the web.xml of /secure.

Re: win2000 issue with tomcat4.1.24

2003-06-17 Thread John Turner
Sorry, you lost me. I think Craig's response at the link I provided should be enough to go on, basically he is saying to recompile all of your classes. That would have nothing to do with Tomcat. While I have never personally seen this error message, I have no problems spending time trying a

RE: Tomcat/Ant/JNDI question

2003-06-17 Thread Shapira, Yoav
Howdy, >- put the equivalent of ResourceEnvRef into the web.xml inside the web app See the element in the Servlet Specification, v2.3, SRC.13.1. Yoav Shapira This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential,

RE: win2000 issue with tomcat4.1.24

2003-06-17 Thread Srinivasu Gandu
Where do you want to delete all the .class files??, I don't have any application to run right now.. I have a fresh installation of tomcat4.1.24 Srini. -Original Message- From: John Turner [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 17, 2003 8:43 AM To: Tomcat Users List Subject: Re: win

Re: costumize manager

2003-06-17 Thread Jens Skripczynski
Hi, If you subclass a tomcat class and use a functionality, that is not directly described in the specs for jsp containers. , you might run into problems (afaik), when you are upgrading your tomcat server, since those classes might change and might have to make a redisign... Maxime Colas des Fr

Re: CVS snapchot compile problems

2003-06-17 Thread Antonio Fiol Bonnín
Yoav Shapira wrote: Howdy, I guess you're trying to buld tomcat 5? Are you going the download way or the build.properties way? Yoav Shapira I went the build.properties way, for the record... - To unsubscribe, e-mail: [EMAIL

Tomcat/Ant/JNDI question

2003-06-17 Thread Garrett Dangerfield
I have defined a GlobalNamingResource for a database connection and that works great if I put a ResourceEnvRef in the Context in the server.xml. However, I have a problem. If I deploy my app using ant and it's deply task, it removes the ResourceEnvRef portion of my Context. I see two possible

RE: problems with web.xml and security

2003-06-17 Thread Rosaria Silipo
Thanks Carl, Yes, I tried to see /secure as first thing and I can see it without authentication. I tried to close browser and restart it and I still could see it. Maybe the problem is on the web.xml of /secure. Is it possible? -- Rosaria -Original Message- From: Carl Walker [mailto:[EM

Security question

2003-06-17 Thread Bob Damato
Security for the site I'm working with was originally done via IPlanet's internal security. I'd like to move to using the webapp security in Tomcat. Under iPlanet, the security was set up with the entire site - /* - being secured, then specific uri's were explicitly declared un-secured. So, essent

Re: problems with web.xml and security

2003-06-17 Thread Carl Walker
I just tested this and wasn't able to see /secadmin without logging-on. Are you closing the browser (possible including mail clients) between trials? If you go from hitting '/' with a successful logon to hitting '/secure', you won't get a second challange. -Carl SecadminJsps /*

RE: possibly off topic: workers2.properties question

2003-06-17 Thread Mike Curwen
Ah, I think the lightbulb just went off. I think I can do this? EditObjectServlet /foo/editobject/* ReportServlet /foo/reports/* LoginServlet /foo/login/* Of course, right now I don't have the '/foo' in any of my url-patterns. But if I put 'foo' there, I can ask the jkM

RE: heap size config

2003-06-17 Thread Eric J. Pinnell
Forgive me for jumping in on this thread mid-way... Keep in mind that 'top' is not the most accurate tool in the world. As well as the way some unixs handle swap space. Solaris, for example, handles swap space like airlines sell tickets on planes. They overbook it. So it might allocate the spa

Re: JSP Compiler output?

2003-06-17 Thread Noel Rappin
Okay. I did a clean install of tomcat. I placed a compilation error in one of the example JSPs. I am now seeing this in the logs: * catalina.out: start/stop messages * localhost_examples: a stack trace saying that there was a JasperException: unable to compile class for JSP * localhost_log: m

RE: heap size config

2003-06-17 Thread Shapira, Yoav
Howdy, Please post the simplest unit test I can use to reproduce this, including the JMeter script that tracks swap space. I'll be glad to see this one happen... What do you mean by "call a System Runtime" ? Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Billy Ng [

RE: problems with web.xml and security

2003-06-17 Thread Rosaria Silipo
The second. I can see the files even without having authenticated. The funny part is that it works correctly for /* and for sub-directories that I have not yet created. -- Rosaria -Original Message- From: Carl Walker [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 17, 2003 11:37 AM To: T

Re: possibly off topic: workers2.properties question

2003-06-17 Thread John Turner
No problem, the list can be a little glitchy sometimes. John On Tue, 17 Jun 2003 14:16:46 -0500, Mike Curwen <[EMAIL PROTECTED]> wrote: Thanks for that John, I was getting this confused: "do I send this to Tomcat" != "which servlet is mapped to this URL" (I thought it was ==) I did reply a whil

Re: problems with web.xml and security

2003-06-17 Thread Carl Walker
In which way doesn't it work? Are you prohibited from viewing the files after logging in or can you see the files even if you haven't authenticated? -Carl Rosaria Silipo wrote: > Hi, > > I am trying to set up Tomcat as a secure web engine. > From the tutorial I understood that you should insert

RE: ssl keystore

2003-06-17 Thread Phillip Qin
Check you ssl.conf. -Original Message- From: John Turner [mailto:[EMAIL PROTECTED] Sent: June 17, 2003 3:07 PM To: Tomcat Users List Subject: Re: ssl keystore I don't use SSL, but when you stop and start the server, do you clean out the work directory? John On Tue, 17 Jun 2003 11:55:

RE: possibly off topic: workers2.properties question

2003-06-17 Thread Mike Curwen
Thanks for that John, I was getting this confused: "do I send this to Tomcat" != "which servlet is mapped to this URL" (I thought it was ==) I did reply a while back, to earlier emails, with "the lightbulb went off", but that email seems to have lost its way. Perhaps this one will work. Thanks

problems with web.xml and security

2003-06-17 Thread Rosaria Silipo
I am not sure this email reached this mailing list. I am re-posting it just in case. My apologies if you receive it twice. -- Rosaria * Hi, I am trying to set up Tomcat as a secure web engine. >From the tutorial I understood that you should i

Re: ssl keystore

2003-06-17 Thread John Turner
I don't use SSL, but when you stop and start the server, do you clean out the work directory? John On Tue, 17 Jun 2003 11:55:06 -0500, Marc Dugger <[EMAIL PROTECTED]> wrote: I am attempting to change the certificate against which a webapp authenticates itself. I've gone as far as deleting the

Re: possibly off topic: workers2.properties question

2003-06-17 Thread John Turner
The "invoker" servlet allows you to skip explicitly mapping your servlet in web.xml. The invoker is bad. Explicit mapping is good. The /examples webapp uses the Invoker servlet. Its an example. You don't enable the /examples webapp in production, and with the JSP source disclosure vulnerabi

Re: possibly off topic: workers2.properties question

2003-06-17 Thread John Turner
Or do like struts and stick an extension on there. Struts uses *.do. Here are the JkMounts for an app running on 4.1.12 on Solaris, using struts: JkMount /myApp/*.do ajp13 JkMount /myApp/*.jsp ajp13 At that point, AFAIK, Tomcat will use the URL mapping in web.xml to determine which act

problems with web.xml and security

2003-06-17 Thread Rosaria Silipo
Hi, I am trying to set up Tomcat as a secure web engine. >From the tutorial I understood that you should insert the following lines in web.xml and the password protection should work. This works perfectly for files in the root directory (/*), it does not work for files in subdirectories, like /s

Re: How to generate the mod_jk.conf with Tomcat 4.1.24 or 4.0.6

2003-06-17 Thread John Turner
Actually, I suggest using the latest version of Tomcat, 4.1.24. My Solaris HOWTO uses 4.1.12 because that was what was current when I wrote the HOWTO, and access to a non-production Solaris box at this time would require lots of work, and I am lazy. To generate mod_jk.conf, you need Listener e

Re: JSPs not compiling

2003-06-17 Thread Dominic Parry
Hi Kevin Did you by any chance add the Tomcat Jars to the %JAVA_HOME%\jre\lib\ext folder? If you did, you should remove them, and add the ones you need to your CLASSHPATH. Java puts some security restrictions on jars in the ext folder, for good reason. Cheers Dom - Original Message -

sessions across browser insances (store cookie file on user machine?)

2003-06-17 Thread Bill Ataras
Is there any way to make your HttpSession live across a user's browser instances? Thanks - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

ssl keystore

2003-06-17 Thread Marc Dugger
I am attempting to change the certificate against which a webapp authenticates itself. I've gone as far as deleting the old key/cert from the keystore and imported a new one. However, the webapp continues to use the old cert. I've verified that the 'keystorefile' param on the SSL factory is defi

RE: possibly off topic: workers2.properties question

2003-06-17 Thread Mark Eggers
One of the ways you could accomplish the /app/servlet/* mapping is to map each of your servlets in the app's web.xml file with a: MyServlet /servlet/MyServlet for each servlet in your app. You would also have to define something like: MyServlet MyServlet org.som

How to generate the mod_jk.conf with Tomcat 4.1.24 or 4.0.6

2003-06-17 Thread Omar Vera
Hi to everbody, I am trying to have generated the mod_jk.conf with Tomcat 4.1.24 or 4.0.6 in solaris 8, but they are not generated when I start the Tomcat. Do you know how to do it? John Turner suggest to use Tomcat 4.1.12 because it auto generate the mod_jk.conf, but this build is not available a

[Slightly OT] java error size

2003-06-17 Thread Eric J. Pinnell
This might be more of a java question, but how in tomcat do you set it so that when java throws an error you can get a 100 or 200 line traceback and it won't cut it off? -e - To unsubscribe, e-mail: [EMAIL PROTECTED] For addition

Re: heap size config

2003-06-17 Thread Billy Ng
If you run top, and make a servlet to call a System Runtime. Then, use Jmeter to hammer it. You will see the swap disk is create the same size as the -Xms for each thread. I have done the test with different sizes of heap. It is solid true. Billy Ng - Original Message - From: "Yoav Sh

JSPs not compiling

2003-06-17 Thread Thomas, Kevin
Sorry guys, me again. I've done the searching on google and the Tomcat archives but nothing... I've got Tomcat quite happily serving up me servlets but when I try to run .jsp's I'm getting the following: org.apache.jasper.JasperException: Unable to compile class for JSP at org.apache.jas

RE: possibly off topic: workers2.properties question

2003-06-17 Thread Mike Curwen
Except you don't 'serve' them from that directory, you invoke them, right? >From your document here: http://www.johnturner.com/howto/mod_jk_conf.html JkMount /examples/jsp/security/protected/j_security_check ajp13 JkMount /examples/CompressionTest ajp13 JkMount /examples/SendMailServlet ajp13 Jk

LDAP and Jakarta-Tomcat-3.2.4

2003-06-17 Thread Tien-Lung . Liu
Hi, Could anyone please give me some pointers on the problem below? I'm running Jakarta-tomcat-3.2.4 on the server (Windows 2000) and also have installed the Tomcat service usingjk_nt_service.exe. I'm using Jakarta-tomcat-3.2.4 to run a Java web service that authenticates the user against LDAP

Re: possibly off topic: workers2.properties question

2003-06-17 Thread John Turner
You don't have to use the Invoker...my point was that typically (at least from what I have seen) people put their publicly accessible servlets in one place. If they're all in one place, and typically there aren't any other types of files sitting in the servlets directory other than servlets, yo

RE: possibly off topic: workers2.properties question

2003-06-17 Thread Mike Curwen
Maybe I'm missing something, but I'm not using Tomcat's servlet invoker. So I don't have a single 'some-string-here' (ie /servlet) that I can use. Or do I? > -Original Message- > From: John Turner [mailto:[EMAIL PROTECTED] > Sent: Tuesday, June 17, 2003 11:00 AM > To: Tomcat Users List >

Re: possibly off topic: workers2.properties question

2003-06-17 Thread John Turner
Sure, that could be done, but I honestly don't see the value. The only way this is "better" or "easier" is if you have your servlets spread out all over the place. Otherwise, you can handle everything you need with two mappings: /app/*.jsp /app/some-string-here/* Since Tomcat doesn't "do" any

RE: AW: Classloader question

2003-06-17 Thread Shapira, Yoav
Howdy, Search the archives of this list on NoClassDefError (it not an exception, and it's certainly not the same as a ClassNotFoundException). You'll find many XML-apis-related answers, and some more general answers. Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Jul

Re: AW: Classloader question

2003-06-17 Thread Julie H. Zhu
I ran into a strange problem that may have some thing to do with the Classloader in Tomcat. I have a servlet application which is running fine by itself under Tomcat. However, if there is another application running at the same time, it throws NoClassDef exception, especially when it needs to acce

RE: possibly off topic: workers2.properties question

2003-06-17 Thread Mike Curwen
This is something that's on the horizon for me, and I know what I'll end up doing is using that automated method of configuring mod_jk. Tomcat will start and create a file that contains a uri:webappname/servletname mapping for each servlet mapped in web.xml for all webapps. Then in apache, you ju

RE: RequestDispatcher anomolies (Tomcat v4.1.24)

2003-06-17 Thread Shapira, Yoav
Howdy, >One: as noted, return explicitly from the executing method OR I like this one, as it's clear and simple. If you forward somewhere you shouldn't be doing anything in the method afterwards. >Two: explictly use out.close() in the called resource. (not useful when >the called resource is s

RE: setting of session ID

2003-06-17 Thread Shapira, Yoav
Howdy, And why oh why would you want to override the server's session ID mechanism (thereby breaking the server's HTTP protocol compliance, any clustering / failover mechanisms, etc.)? Tomcat being open source, you can of course modify / extend / wrap its session manager implementation. See org.

Re: possibly off topic: workers2.properties question

2003-06-17 Thread Mark Eggers
Steve, You would single out what you wish to have Tomcat handle, and then Apache would handle the rest. For example: [uri:/app/*.jsp] worker=ajp13:localhost:8009 [uri:/app/servlet/*] worker=ajp13:localhost:8009 would send all files ending in .jsp and all files underneath the /app/servlet uri t

Apache 2.0.46,mod_jk2-2.0.43.so & tomcat 4.1.24 problem

2003-06-17 Thread Anup Reddy Challa
Hi, I configured apache 2.0.24 , mod_jk2-2.0.43 and tomcat4.1.24 on Solaris 9 , i compiled & installed Apache,downloded binary versions of mod_jk2 & tomcat4.1.24 and installed,every thing is working fine , but in apache error log i'm geting following error, [Tue Jun 17 07:10:09 2003][notice] jk

Re: RequestDispatcher anomolies (Tomcat v4.1.24)

2003-06-17 Thread Timothy Stone
This issue is archived at: http://marc.theaimsgroup.com/?l=tomcat-user&m=105578975520239&w=2 Timothy Stone wrote: I have to say, the behavior seems almost identical to the described behavior of RequestDispatcher#include since control is given back to the forwarding servlet. The subtle difference

Re: possibly off topic: workers2.properties question

2003-06-17 Thread John Turner
Hi - You don't exclude, you include. Change "/app/*" to "/app/*.jsp" and "/app/servlet/*" or whatever. John On Tue, 17 Jun 2003 10:51:41 -0400, Steven Garrett <[EMAIL PROTECTED]> wrote: Hi, I'm running mod_jk2, with apache 2.0.45 and tomcat 4.1.24. In our workers2.properties we've defined a

setting of session ID

2003-06-17 Thread Mark W. Webb
I know that the setting of a session ID was taken out in servlet API 2.1, but is there a way to still set the session ID in tomcat 4.1.24? Is there some type of session manager that I can 'plug in' to tomcat ? ...thank you. -

Apache 2.0.46 , mod_jk2-2.0.43.so & tomcat 4.1.24 problem

2003-06-17 Thread Anup Reddy Challa
Hi, I configured apache 2.0.24 , mod_jk2-2.0.43 and tomcat4.1.24 on Solaris 9 , i compiled & installed Apache,downloded binary versions of mod_jk2 & tomcat4.1.24 and installed,every thing is working fine , but in apache error log i'm geting following error, [Tue Jun 17 07:10:09 2003][notice] jk

possibly off topic: workers2.properties question

2003-06-17 Thread Steven Garrett
Hi, I'm running mod_jk2, with apache 2.0.45 and tomcat 4.1.24. In our workers2.properties we've defined an application [uri:/app/*] worker=ajp13:localhost:8009 but we have other things in that directory such as .html, .jpeg. .gif that we don't want to have passed to tomcat and other directorie

Re: Tomcat Class Loader (parent/child tree)

2003-06-17 Thread Guus Holshuijsen
Julien, The tomcat documentation also mentions: "As mentioned above, the web application class loader diverges from the default Java 2 delegation model (in accordance with the recommendations in the Servlet Specification, version 2.3, section 9.6). When a request to load a class from the web appli

Filters and 4.1.24

2003-06-17 Thread Mike Curwen
I've tried searching nagoya and the tomcat-user archive, though I'm notoriously bad at choosing keywords. So I apologize if this has come up hundreds of times before. I was working through an example of Filtering from WROX's Professional JSP 2nd Edition. Chapter 15 shows us how to create a Filte

costumize manager

2003-06-17 Thread Maxime Colas des Francs
Hello I use tomcat with multiple virtual host. I want to open access to Tomcat Manager for all virtual host "independently" only for list/start/stop their web applications from an html page. My first idea was to extends the org.apache.catalina.servlets.ManagerServlet and insert it in manager

RE: Tomcat Class Loader (parent/child tree)

2003-06-17 Thread Shapira, Yoav
Howdy, It's only contradictory in appearance when you don't quote (or read) the whole page ;) >Hello, > >According to the tomcat documentation: > >"Normally, when a class loader is asked to load a particular >class or resource, it delegates the request to a parent class >loader first, and then lo

Tomcat Class Loader (parent/child tree)

2003-06-17 Thread julien-martin
Hello, According to the tomcat documentation: "Normally, when a class loader is asked to load a particular class or resource, it delegates the request to a parent class loader first, and then looks in its own repositories only if the parent class loader(s) cannot find the requested class or res

RE: unable to start tomcat4.1.24

2003-06-17 Thread Shapira, Yoav
Howdy, >> All tomcat 4.x versions require the JDK officially. That's strictly true, because of the "officially" word in there. >Is this strictly true? Is it true, for example, if I don't have any JSPs >in my application? There have been many discussions about this: search the archives. You ca

Re: unable to start tomcat4.1.24

2003-06-17 Thread Martin Jacobson
Shapira, Yoav wrote: Howdy, All tomcat 4.x versions require the JDK officially. Is this strictly true? Is it true, for example, if I don't have any JSPs in my application? Just wondering, Martin - To unsubscribe, e-mail: [EMAIL

RE: unable to start tomcat4.1.24

2003-06-17 Thread Shapira, Yoav
Howdy, All tomcat 4.x versions require the JDK officially. Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Paridhi Bansal [mailto:[EMAIL PROTECTED] >Sent: Tuesday, June 17, 2003 4:19 AM >To: Tomcat Users List >Subject: Re: unable to start tomcat4.1.24 > > >Thanx it wo

RE: Screen refresh

2003-06-17 Thread Shapira, Yoav
Howdy, Other people have suggested some solutions, e.g. http meta-refresh. I'm curious to know how you reached your conclusion. The default tomcat session timeout is 30 minutes, not 20. HTTP connections rarely last that long without special processing at either end point. Yoav Shapira Millenni

Re: win2000 issue with tomcat4.1.24

2003-06-17 Thread John Turner
Wow, cool error. Never saw that before. It seems Craig McClanahan has, though: http://www.mail-archive.com/struts- [EMAIL PROTECTED]/msg03255.html If that doesn't help, my suggestion is to reinstall and start over. John On Mon, 16 Jun 2003 22:38:20 -0400, Srini Gandu <[EMAIL PROTECTED]> wro

Re: Apache issue

2003-06-17 Thread John Turner
The "auto" directory gets created, provided server.xml is configured. I've never had to create the auto directory. John On Tue, 17 Jun 2003 00:56:04 -0700, Thomas, Kevin <[EMAIL PROTECTED]> wrote: Hi, I'm fairly new to this, but I discovered (through talking to guys here and just tinkering)

Re: Apache issue

2003-06-17 Thread John Turner
http://tomcatfaq.sourceforge.net/apache.html Step by Step RH HOWTO: http://www.johnturner.com/howto John On Mon, 16 Jun 2003 17:51:14 -0700 (PDT), <[EMAIL PROTECTED]> wrote: forgive me if I have missed it but I have been right through here and can't find that! I went right through it, does anyo

Re: heap size config

2003-06-17 Thread Yoav Shapira
Howdy, >In Unix, java will make > 512MB swap every time we make a System Runtime call. I don't think so: can you prove the above? >Will this > hurt the Tomcat preformnace? Lowering -Xms will only slightly degrade performance during the allocation phase. The effects are negligible during that

Re: CVS snapchot compile problems

2003-06-17 Thread Yoav Shapira
Howdy, I guess you're trying to buld tomcat 5? Are you going the download way or the build.properties way? Yoav Shapira --- Antonio_Fiol_Bonnín <[EMAIL PROTECTED]> wrote: > Hello, > > I have just followed the instructions on > http://jakarta.apache.org/tomcat/building.html and I get the follow

Re: java processes created by tomcat

2003-06-17 Thread Yoav Shapira
Howdy, How I wish people would search the archives ;( This is a consequence of linux's reporting of java threads as processes: all of these processes are one, sharing the same amount of memory. Yoav Shapira --- siddharth <[EMAIL PROTECTED]> wrote: > hello, > > > I am running following servers

RE: Tomcat and IIS 6.0??

2003-06-17 Thread connil
Thanks, many members? Have you tried the IIS 5 Isolation Mode? I had no luck :( /cn -- Original Message -- Welcome to the club I had the same problem, but no response up til now Hope you will be more lucky Vince -Message d'origine- I've been trying this, with out luck. The connector

Re: CVS snapchot compile problems

2003-06-17 Thread Antonio Fiol Bonnín
Sorry I am replying tomy own post. Problem solved: - I was using not JDK 1.4, but an older version. - I had set the base.home property to a relative path, where it should be an absolute one, or at least, not as relative as mine... Sorry again. Antonio Fiol Antonio Fiol Bonnín wrote: Hello,

Re: JSP Compiler output?

2003-06-17 Thread Tim Funk
Starting with a clean install looks like the way to go. Then add one jsp which contains a compile error and you'll see where the error messages go. From there - continue to add your components (piecewise if possible) and find the breaking point. -Tim Noel Rappin wrote: The log4j thing isn't wo

  1   2   >