RE: [OT] Apache and Tomcat together

2004-01-15 Thread Ralph Einfeldt
I think the main benefit is the simpler configuration. mod_proxy has some drawbacks: - The http request has to be processed twice (once in apache and a second time in the tomcat connector). This may effect the performance. Test your application, against your expected load. Don't beleave

Re: [OT] Apache and Tomcat together

2004-01-15 Thread Nikola Milutinovic
> >>Apache is faster for static content. > > > > Don't get Yoav started... > > :) I have gotton him started on this, before. It's funny, though... last > time I looked at the Tomcat Connector FAQ, it actually says flat out > "Apache is faster than Tomcat at serving static content": > http://j

Re: LogSetter in

2004-01-15 Thread Howard Watson
I'll try to do that in the morning. If it works better I can send it direct to you and post what matters to the list afterwards. Thanks for the effort. Howard Howard Watson Database Administrator Easter Seals-Goodwill Northern Rocky Mountain 4400 Central Avenue Great Falls, Montana 59405 (406)

Re: virtual hosting and tomcat wt Apache 2 and JK2

2004-01-15 Thread Howard Watson
Are the Apache connector properties set to match the connector you defined in server.xml? And is a the right place to set a worker property? >>> [EMAIL PROTECTED] 01/15/04 21:56 PM >>> Dear usergroup, When I activated the following in my Apache 2 config within the VirtualHost block for x

Re: LogSetter in

2004-01-15 Thread Bill Barker
If you could strip-down your web-app to a minimal version that reproduces this problem, and post it to BugZilla (or even here, if you don't mind p**sing off everyone on the list with a big download :), I'd really like to take a look at it. With a quick eyeballing, I can't see anything in the code

Apache + tomcat +ssl

2004-01-15 Thread Omkar Joshi
Hi, Thanks a lot for all the help, it is working fine now. I added *.jsp and *.gif in Jkmount, as ony '*' redirects everything to tomcat. Thanks again _ Get head-hunted by 10,000 recruiters. http://go.msnserver.com/IN/35984.asp

virtual hosting and tomcat wt Apache 2 and JK2

2004-01-15 Thread Brennon Obst
Dear usergroup, When I activated the following in my Apache 2 config within the VirtualHost block for x.xxx.net: JkUriSet worker ajp13:localhost:8009 ALL of my virtual hosts stopped working and started complaining of not being able to find /index.jsp It is like the wasn't confined to

Re: How do you get Tomcat 4.x to use the same classloader for a web-app's servlets and JSP's?

2004-01-15 Thread Michael Reilly
Filip, Thanks. That didn't totally fix it as but when I converted my constants class into a servlet and pushed into servlet init, it works as I wanted it now. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comma

RE: How do you get Tomcat 4.x to use the same classloader for a web-app's servlets and JSP's?

2004-01-15 Thread Filip Hanik
use ResourceBundle.getBundle(String baseName, Locale locale, ClassLoader loader) that should take care of your problem with different classloaders as a classloader, if you are unsure, just pass in MyUtilClass.class.getClassLoader() where my util

Re: How do you get Tomcat 4.x to use the same classloader for a web-app's servlets and JSP's?

2004-01-15 Thread Michael Reilly
Filip, > but why do you need the JSPs and servlets class loader to be the same, > just use a shared util class (web-inf/classes or lib), load the resource > bundles through that one > one level down, that way the classloader is the same I have some properties files located under web-inf/classes.

Re: jk2

2004-01-15 Thread Nick
I noticed this as well and wrote an email about it, no response though. On Thu, 2004-01-15 at 20:18, Brennon Obst wrote: > Just noticed this morning that when I activated the apache<-->tomcat > connection it took over ALL of the virtual hosts and was routing them > > through Tomcat. ARGH! >

jk2

2004-01-15 Thread Brennon Obst
Just noticed this morning that when I activated the apache<-->tomcat connection it took over ALL of the virtual hosts and was routing them through Tomcat. ARGH! Know anything about Apache 2 and JK2 connectors? Brennon Obst Java Security Programmer iEnergy Main Branch 39 Melbourne St.

Re: How do you get Tomcat 4.x to use the same classloader for a web-app's servlets and JSP's?

2004-01-15 Thread Filip Hanik
you can pre compile your JSPs into servlets, the drawback is that you can't reload JSPs but why do you need the JSPs and servlets class loader to be the same, just use a shared util class (web-inf/classes or lib), load the resource bundles through that one one level down, that way the classloader

How do you get Tomcat 4.x to use the same classloader for a web-app's servlets and JSP's?

2004-01-15 Thread Michael Reilly
How do you get Tomcat 4.x to use the same classloader for a web-app's servlets and JSP's? I have a class that initialises logging, constants, database settings, resource bundles, property files etc. I setup the web.xml to load the servlet on startup, which setups the class correctly. I was re

SV: Realm & SQL 2000 developer edition

2004-01-15 Thread Søren Blidorf
I didn't think that there would be a difference, other than stuff like that. Can anybody see something in the Realm that might be wrong? I am a bit lost so any ideas are very welcome Soren -Oprindelig meddelelse- Fra: Mark Thomas [mailto:[EMAIL PROTECTED] Sendt: 16. januar 2004 00

Re: Tomcat 4.x running in-process on IIS 5.0

2004-01-15 Thread Filip Hanik
take a look at jk2, I know that building this has been something in progress, but I am not working with windows or IIS, so I wouldn't know that status of that one, so jk2, look in that direction, let us know what you find out Filip - Original Message - From: "Rasmus Munk" <[EMAIL PROTECTED

RE: Tomcat 4.x running in-process on IIS 5.0

2004-01-15 Thread Rasmus Munk
I am aware of this fact, and would like to minimize the overhead (and the strange errors I sometimes get from using the redirector.dll). I know it is possible to configure tomcat 3.3 to run in-process and communicate to the IIS, not through HTTP, but by JNI. I was wondering if this is possible for

Re: Tomcat 4.x running in-process on IIS 5.0

2004-01-15 Thread Filip Hanik
>and also seems some what > slower compared to communicating directly to Tomcat anything you put in front of tomcat will make it slower. those are just the laws of physics. Going to tomcat directly is like me asking you to bake a load of bread. Going through IIS is like me telling your buddy telli

Re: How can I count the number of active requests/servlets for Tomcat?

2004-01-15 Thread Christopher Schultz
Tom, I'm running a web service using Axis with Tomcat. How can I count the number of active requests? I think you want to use a Filter for your requests: public class ConnectionCounter implements javax.servlet.Filter { private int _activeConnections = 0; public void init

RE: Realm & SQL 2000 developer edition

2004-01-15 Thread Mark Thomas
AFAIK the only difference is that the developer edition is designed to give poor performance if you have more than 5 concurrent connections. Otherwise they should be the same. Mark -Original Message- From: Søren Blidorf [mailto:[EMAIL PROTECTED] Sent: Thursday, January 15, 2004 11:04 PM

Re: Need an Idea - appending #tag after someurl.jsp ?

2004-01-15 Thread Mufaddal Khumri
Could you elaborate? you presented just a normal tag. I am trying to jump to an anchor within First.jsp when I am forwarded from a servlet. Any ideas? On Jan 15, 2004, at 4:47 PM, Howard Watson wrote: I have some links that pass parameters like this: Add Client IPs [EMAIL PROTECTED] 01/15/04

Tomcat 4.x running in-process on IIS 5.0

2004-01-15 Thread Rasmus Munk
Hi Is it possible to run tomcat 4.x in-process on IIS? I have some problems using the ISAPI which shows very strange behavior, and also seems some what slower compared to communicating directly to Tomcat. Has anyone got any experience on this matter? Thanks Regards, Rasmus --

Re: How can I count the number of active requests/servlets for Tomcat?

2004-01-15 Thread Filip Hanik
or use a filter or a valve, and register the request when it enters, and deregister it when it completes. that way you can track how many are active at any given time Filip - Original Message - From: "James Black" <[EMAIL PROTECTED]> To: "'Tomcat Users List'" <[EMAIL PROTECTED]> Sent: Thur

RE: How can I count the number of active requests/servlets for Tomcat?

2004-01-15 Thread James Black
Write each request into a table with the session id? " Work like you don't need the money, love like you've never been hurt, and dance like no one is watching." --- Satchel Paige - To unsubscribe, e-mail: [EMAIL P

Re: How can I count the number of active requests/servlets for Tomcat 4.1.29?

2004-01-15 Thread Tom Ly
i'm using tomcat 4.1.29 Tom Ly <[EMAIL PROTECTED]> wrote:I'm running a web service using Axis with Tomcat. How can I count the number of active requests? I used the HttpListener interace but the sessionDestroyed method doesn't seem to get called until 5 minutes after the servlet ends. ---

Re: Need an Idea - appending #tag after someurl.jsp ?

2004-01-15 Thread Howard Watson
I have some links that pass parameters like this: Add Client IPs >>> [EMAIL PROTECTED] 01/15/04 03:45PM >>> hi, I have a page called First.jsp. I have a on it. When i submit a form to a servlet, the servlet needs to forward me to First.jsp#tag. Problem is i get the following message when i tr

How can I count the number of active requests/servlets for Tomcat?

2004-01-15 Thread Tom Ly
I'm running a web service using Axis with Tomcat. How can I count the number of active requests? I used the HttpListener interace but the sessionDestroyed method doesn't seem to get called until 5 minutes after the servlet ends. - Do you Yahoo!? Yahoo! Hotjobs:

Realm & SQL 2000 developer edition

2004-01-15 Thread Søren Blidorf
Does anybody know of any difference between SQL 2000 standard and Developer edition? I am having problems with my realm: I have connection to the database and I get an error if I type in wrong user/pass. But when signing in I does not seem to be logged on. Every thing works on win2000 and sq

Re: Signal 11 crash and mod_jk, mod_jk2, apache2

2004-01-15 Thread Oscar Carrillo
I thought later about mentioning this, and that's exactly right. I always use the free memtest86 http://memtest86.com to test the memory sub-system before deploying. Sometimes I turn down the FSB and the memory bus speed, makes the crashes go away. Oscar On Thu, 15 Jan 2004, Christopher Schultz

pass session from one app to another app

2004-01-15 Thread Chiming Huang
Hi, We have several web applications all running under one Tomcat 4.1.24. Users need to logon each application to use each individual software. Is there a way to logon once and user can access to other allowed applications? Thanks, Chiming - Do you Yahoo!?

Need an Idea - appending #tag after someurl.jsp ?

2004-01-15 Thread Mufaddal Khumri
hi, I have a page called First.jsp. I have a on it. When i submit a form to a servlet, the servlet needs to forward me to First.jsp#tag. Problem is i get the following message when i try to do this: type: Status report message: /First.jsp#tag description: The requested resource (/First.jsp#ta

Wrapping response causing premature stream closure

2004-01-15 Thread Derek Richardson
I am attempting to wrap the HttpServletResponse to apply gzip compression on data sent to the client when gzip is supported. I have written a filter (based on published code) that works fine with static content. I, however, have a problem when applying it to dynamic content. The dynamic content

Re: TOMCAT authentication

2004-01-15 Thread Howard Watson
It sounds like you may need to configure IIS require authentication from the user no matter how they get there by requireing authentication to the directory(s) with the dynamic content. But, don't know enough about IIS to tell you how to do that. >>> [EMAIL PROTECTED] 01/15/04 02:54PM >>> Hello

SV: TOMCAT authentication

2004-01-15 Thread Jonas Karlsson
Hi! If you make use of Tomcats web.xml and set appropriate security constraint (se http://www.servlets.com/jservlet2/examples/ch08/web.xml) in combination with the use of Session-objects, you should be able to do what you want to do, e.g. ask the user for a correct username and password. Kind re

TOMCAT authentication

2004-01-15 Thread John Smith
Hello I'm pretty sure this is a known issue, even though I didn't find much about it; I'm having a problem with authenticating users in TomCat. I have an IIS server to server static content and Tomcat to serve dynamic content, if users knows URL that goes directly to Tomcat then Tomcat wont even a

RE: Calling a JSP from a virtual host

2004-01-15 Thread Howard Watson
Are all of your named VirturalHosts registered in DNS? What error are you getting? Just for funnies try using: Listen ipAddrOfVirtualHost.com ServerName defaultVirtualHost.com more working defaultVirtualHost.com stuff jkMount webapp Listen ipAddrOfVirtualHost.com:5 ServerNa

Re: restricting access to jsp pages

2004-01-15 Thread Michael E. Allen
[EMAIL PROTECTED] wrote: Then try a servlet filter (this is what I normally do). That should save you from having code on each JSP page. Search the web for a good tutorial. But you still have to decide what action you want to take when a user is not logged, since your URL is being hit and some

Re: isapi_redirector2.dll fails - red arrow

2004-01-15 Thread Frank Febbraro
I looks as if you are following the instructions for the JK1.x connector and not the JK 2.0.2 instructions. The best step-by-step I found was here and it worked like a charm. http://nagoya.apache.org/wiki/apachewiki.cgi?WinJK2IIs - Original Message - From: <[EMAIL PROTECTED]> To: "Tomca

RE: Configuring Tomcat connections

2004-01-15 Thread Christian Cryder
Ok, so I tried upgrading to Tomcat 5.0.16, and I am still seeing similar results (slightly better). I am hitting the standard HelloWorld servlet (http://localhost:8080/servlets-examples/servlet/HelloWorldExample). When I get over about 16-17 simultaneous connections, I start getting connect expect

RE: Calling a JSP from a virtual host

2004-01-15 Thread Oscar Carrillo
I've only setup one Virtual Host. Tomorrow I'm setting up multiple, so I'll let you know how it goes and provide the configuration. I understand that you're wanting a different webapp for each virtual host. Oscar On Thu, 15 Jan 2004, Dolores García-Izquierdo Jaén wrote: > Hi, > > Thank you gu

Re: Trying to write my own startup script, but seems to missed something....

2004-01-15 Thread Oscar Carrillo
You can take a look at my daemon script if it helps. http://daydream.stanford.edu/tomcat/install_web_services.html#daemons Oscar On Thu, 15 Jan 2004, Johan Bång wrote: > Hi! > I am trying to write my own init script to tomcat 5 for Fedora Core 1 > I have tryed to decode what the startup.sh, ca

Re: isapi_redirector2.dll fails - red arrow

2004-01-15 Thread Daniel Schmitt
[EMAIL PROTECTED] wrote: I couldn't find the isapi_redirector.dll, just the isapi_redirector2.dll. isapi_redirector2.dll ia correct Registry: extension_uri = /tomcat/isapi_redirector2.dll worker_file = D:\Program Files\Tomcat 4.1\conf\workers.properties worker_mount_file = D:\Program Files\Tom

Successful build of mod_jk2 on Mac OS X Panther

2004-01-15 Thread Timothy Stone
List, I have successfully built mod_jk2 on Mac OS X Panther (10.3.2). I document my success at: http://forums.serverlogistics.com/viewtopic.php?t=644 *where comments are welcome.* NB: My success in part may be due to using ServerLogistic's Complete Apache 2.0.48 distro, so it is somewhat spec

Configuring Tomcat connections

2004-01-15 Thread Christian Cryder
Can someone offer some suggestions on configuring the number of connections Tomcat 4.1 will accept? I am using a stress tester to access the sample servlet (http://localhost:8080/examples/servlet/HelloWorldExample). Somewhere around 14-15 concurrent requests, I start seeing "java.net.ConnectExcepti

creating virtual directories

2004-01-15 Thread Gabriel Oyarzabal
how i change the default document root directory? and how i create a virtual document directory? ps.: im using tomcat 5 - windows XP Gabriel

Re: LogSetter in

2004-01-15 Thread Howard Watson
Thanks for the reply: I'm using Tomcat3.3.1a for Netware. Took a look at what you talked about and had the same problems. But, I did learn a little more about the problem. Apparently, I was hacking the context file, deleting log files and restarting Tomcat before results were being written. The p

RE: [OT] Apache and Tomcat together

2004-01-15 Thread Green, Jeffrey
Anyone know about the benefits / detriments of using mod_proxy? It sets up a heck of a lot easier than mod_jk2 and seems to offer the same functionality. A great doc on this is at http://marc.theaimsgroup.com/?l=xml-cocoon-dev&m=104441321803644&w=2. Anyone have any insights? Having set up both m

Re: javax.servlet.jsp.JspException: Premature end of file

2004-01-15 Thread Michael Duffy
Once again, my problems were self-inflicted, and the Java Forum has saved me again: http://forum.java.sun.com/thread.jsp?forum=33&thread=482127 I had a serious pilot error: my JSTL tag didn't have the correct attributes. Once that was pointed out to me, all was well. Sorry for the bother. Tw

Re: isapi_redirector2.dll fails - red arrow

2004-01-15 Thread KKolle
I couldn't find the isapi_redirector.dll, just the isapi_redirector2.dll. Registry: extension_uri = /tomcat/isapi_redirector2.dll worker_file = D:\Program Files\Tomcat 4.1\conf\workers.properties worker_mount_file = D:\Program Files\Tomcat 4.1\conf\uriworkermap.properties log_file = D:\Progra

RE: org.apache.catalina.HttpRequest.setRequestURI() and valves

2004-01-15 Thread Green, Jeffrey
AHA! That worked like gold. Thanks for the info! I didn't realize that Tomcat's Response was a superclass of HttpServletResponse. One thing I did note though, is that one can't invoke the next valve in the chain after sending a redirect (as far as I can tell). I suppose this just means that a

Re: isapi_redirector2.dll fails - red arrow

2004-01-15 Thread Daniel Schmitt
[EMAIL PROTECTED] wrote: I followed http://www.onjava.com/pub/a/onjava/2002/12/18/tomcat.html for instructions. They are out of date -> jk1.2 Connector are you pointing to isapi_redirector2.dll not isapi_redirector.dll? could you post your reg entrys here? You can also try our jk2.02 installer at

Re: org.apache.catalina.HttpRequest.setRequestURI() and valves

2004-01-15 Thread Jeanfrancois Arcand
Green, Jeffrey wrote: Regarding the last post on this topic: 1) sendRedirect() doesn't seem to work because ValveBase's invoke() method takes an org.apache.catalina.Response object and that class has no sendRedirect() method. Am I missing something here? Yes :-) Downcast the object to ((Ht

Trying to compile jsvc from tomcat 5

2004-01-15 Thread Johan Bång
Hi! I'm currently trying to compile jsvc witch are included in the binary release of Tomcat5 I'm following the instructions and the compilation ends without any errors, but nothing happends when I try to execute the Tomcat.sh script (after I have updated it with my settings). The only error mes

RE: org.apache.catalina.HttpRequest.setRequestURI() and valves

2004-01-15 Thread Green, Jeffrey
Regarding the last post on this topic: 1) sendRedirect() doesn't seem to work because ValveBase's invoke() method takes an org.apache.catalina.Response object and that class has no sendRedirect() method. Am I missing something here? 2) if I put the valve at the engine level, will it be invoked b

isapi_redirector2.dll fails - red arrow

2004-01-15 Thread KKolle
Tomcat = 4.1 IIS = 5.0 OS = windows2000 DLL = isapi_redirector2.dll (downloaded from http://apache.mirrors.pair.com/jakarta/tomcat-connectors/jk2/binaries/win32/) I followed http://www.onjava.com/pub/a/onjava/2002/12/18/tomcat.html for instructions. I've made double sure my entries in the registr

RE: Cannot start Tomcat 5.0.16.

2004-01-15 Thread George Leeman Jr
Here's the complete information on the java JDK: java version "1.3.0" Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0) Classic VM (build 1.3.0, J2RE 1.3.0 IBM build cn130-20010925 (JIT enabled: jitc))

Re: org.apache.catalina.HttpRequest.setRequestURI() and valves

2004-01-15 Thread Jeanfrancois Arcand
Green, Jeffrey wrote: Aaah. I see. Unfortunately sendRedirect() does not work at the valve level. That's not true ;-) SunOne AppServ is using that technique :-) Why are you saying it doesn't work at the valve level? I could use that solution only if I implemented the redirect for each spe

Trying to write my own startup script, but seems to missed something....

2004-01-15 Thread Johan Bång
Hi! I am trying to write my own init script to tomcat 5 for Fedora Core 1 I have tryed to decode what the startup.sh, catalina.sh and setclasspath.sh is doing, and I think that I have figured out some of it, but according to catalina.out it isn't enought. Could someone who knows how tomcat is su

RE: restricting access to jsp pages

2004-01-15 Thread Bruno.Melloni
Then try a servlet filter (this is what I normally do). That should save you from having code on each JSP page. Search the web for a good tutorial. But you still have to decide what action you want to take when a user is not logged, since your URL is being hit and some response is required. b

RE: org.apache.catalina.HttpRequest.setRequestURI() and valves

2004-01-15 Thread Green, Jeffrey
Aaah. I see. Unfortunately sendRedirect() does not work at the valve level. I could use that solution only if I implemented the redirect for each specific webapp, but this is a bit too much code duplication to be productive / condusive to change. It seems that this decision has crippled some of

RE: RTFM

2004-01-15 Thread Januski, Ken
and let us know if it worked. -Original Message- From: Carlos Pereira [mailto:[EMAIL PROTECTED] Sent: Thursday, January 15, 2004 5:09 AM To: Tomcat Users List; [EMAIL PROTECTED] Subject: Re: RTFM > no, I'm not returning anything from the servlet. It's not "returning anything"! You must

RE: Manager - STOP application fails to stop session!!!

2004-01-15 Thread Bruno.Melloni
SUMMARY OF PROBLEM - for future people scanning the archives: Needed to disable session persistence for an application. SOLUTION: To turn off session persistence for an application, include a Manager clause (similar to this one) in the application context file: It does no

Re: restricting access to jsp pages

2004-01-15 Thread Andres Ledesma
> I thought about that... and I would like to set up a role in > tomcat-users to accomplish that. However, I don't want the user to have > to log in, rather I want to have my "guard" servlet authenticate the > user and then forward the request with the role filled in > programmatically. However,

Re: restricting access to jsp pages

2004-01-15 Thread Merrill Cornish
>>> I don't want to check for whether user is logged in or not in every page Is there any particular reason why? The extra time is in the noise. The code is boilerplate, and you can hige that behind a function call if you want. Merrill ---

RE: Cannot start Tomcat 5.0.16.

2004-01-15 Thread Shapira, Yoav
Howdy What JDK are you using? Yoav Shapira Millennium ChemInformatics >-Original Message- >From: George Leeman Jr [mailto:[EMAIL PROTECTED] >Sent: Thursday, January 15, 2004 11:15 AM >To: [EMAIL PROTECTED] >Subject: Cannot start Tomcat 5.0.16. >Importance: High > > > > > >Today I downlo

Re: -security with 5.0.16 doesn't work

2004-01-15 Thread Jeanfrancois Arcand
Marten Lehmann wrote: Hello, I was setting fine grained permissions to my webapp, but always an exception was thrown. So I tried to use grant { permission java.security.AllPermission; }; but even with that, my application doesn't run (which it does without -security). When calling the si

Re: org.apache.catalina.HttpRequest.setRequestURI() and valves

2004-01-15 Thread Jeanfrancois Arcand
Green, Jeffrey wrote: Hello all. Using valves in Tomcat 4, we successfully managed to intercept requests to specific contexts and direct them elsewhere. For example, we could intercept all requests to /SECRETWEBAPP and redirect them to /. In order to accomplish this, we used valves which wo

Re: InitParameters Question

2004-01-15 Thread Michael Duffy
Found the answer at the Java Forum: http://forum.java.sun.com/thread.jsp?forum=33&thread=482125 I think it's a case of RTFM here. I should have understood that difference between ServletConfig and ServletContext. Now I do. - MOD __ Do you Yahoo!? Yahoo! Hotjobs

Cannot start Tomcat 5.0.16.

2004-01-15 Thread George Leeman Jr
Today I downloaded and installed Tomcat 5.0.16. I get the sequence shown below. How do I fix this problem? Thanks, George Leeman c:\e\Tomcat5.0.16\jakarta-tomcat-5.0.16\bin>catalina run Using CATALINA_BASE: .. Using CATALINA_HOME: .. Using CATALINA_TMPDIR: ..\temp Using JAVA_HOME:

RE: NoClassDefFoundError

2004-01-15 Thread Larry Isaacs
Xavier, This structure looks fine. It should be noted that Tomcat 3.3.x follows the JDK classloader delegation model, i.e. always delegate to a parent classloader before looking for a class locally. This means that the SmsDriverSOAP and org.apache.soap classes must not exist in any other classlo

RE: restricting access to jsp pages

2004-01-15 Thread Shapira, Yoav
Howdy, >Yes; but I don't want to check for whether user is logged in or not in >every page... I want the page to only be accessible to a logged in user. >Basically I want single sign on; the webapp should not be accessible >at all except to an authenticated user. I may have missed the earlie

RE: LogSetter in

2004-01-15 Thread Shapira, Yoav
Howdy, >I did not ask anybody to care. I asked for a reference to documentation >that I was unable to find myself. I don't remember reading that the list >was version specific or only for users that support a single platform. >But, thanks for the reply anyhow. The list is not version-specific.

Re: restricting access to jsp pages

2004-01-15 Thread Michael E. Allen
[EMAIL PROTECTED] wrote: A trivial solution is to store something (anything) in the user session during login, and then retrieve it in the JSP. If the retrieved value is not null, then the user is logged in. If the user is not logged in, you can redirect him to the login or an error page. Of co

RE: LogSetter in

2004-01-15 Thread Howard Watson
Howdy, I did not ask anybody to care. I asked for a reference to documentation that I was unable to find myself. I don't remember reading that the list was version specific or only for users that support a single platform. But, thanks for the reply anyhow. >>> [EMAIL PROTECTED] 01/15/04 07:06AM >

RE: Signal 11 crash and mod_jk, mod_jk2, apache2

2004-01-15 Thread Ralph Einfeldt
An additional remark, hardware shops are sometimes quite floppy with the ram they use. Even if you order specific ram you may get something different. (E.G. if you order infineon ram, you sometimes just get noname modules with infineon chips, which is a completly different thing) This caused us

RE: restricting access to jsp pages

2004-01-15 Thread Bruno.Melloni
A trivial solution is to store something (anything) in the user session during login, and then retrieve it in the JSP. If the retrieved value is not null, then the user is logged in. If the user is not logged in, you can redirect him to the login or an error page. Of course, this is only one

Re: Signal 11 crash and mod_jk, mod_jk2, apache2

2004-01-15 Thread Christopher Schultz
All, With RH8, I assume that at the very least you'll need to set LD_KERNEL_ASSUME. I would consider that the first course of action, and likely would not need to do anything else. I could see hyperthreading a problem if the kernel didn't support it very well. You could try the latest 2.4.x ke

Re: problem with arabic in multilanguage jsp

2004-01-15 Thread Christopher Schultz
Thomas, Until now, our solution was indeed to put into the html code. (> Tomcat 4.1.24) If the browser finds a content type in the HTTP header, it ignores the HTML header. What? The whole point of the META tag is actually to *trump* the HTTP header. That's the whole reason that the META HTT

Re: restricting access to jsp pages

2004-01-15 Thread Merrill Cornish
I'm confused. >>> I don't want the user to have to log in, ... >>> I can't find in the docs how Tomcat knows whether the user has logged in yet, Question: Do you want your users to log in or not--nevermind who does it? >>> I want to have my "guard" servlet authenticate the user How is that

Re: [OT] Apache and Tomcat together

2004-01-15 Thread Christopher Schultz
Mike, Apache is faster for static content. Don't get Yoav started... :) I have gotton him started on this, before. It's funny, though... last time I looked at the Tomcat Connector FAQ, it actually says flat out "Apache is faster than Tomcat at serving static content": http://jakarta.apache.org

maxProcessors vs maxThreads

2004-01-15 Thread Apu Shah
using tomcat 5.0.16 the JK2 AJP connector (http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/ajp.html) docs doesn't list any directive like maxProcessors or maxThreads. the HTTP connector does (http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/http.html) list a maxThreads directive. 1.

Re: verbose gc

2004-01-15 Thread Christopher Schultz
Mohammed, 1) [Full GC 34521K->15504K(38328K), 0.5953540 secs] [GC 27533K->16335K(38328K), 0.0396336 secs] 2) what does the above statements got in catalina.out means, is garbage collection active? Yes, garbale collection is active. When the garbage collector runs, it will print a line out to st

RE: org.apache.catalina.HttpRequest.setRequestURI() and valves

2004-01-15 Thread Green, Jeffrey
We can't use a filter because filters are per-webapp whereas valves are per host. This is a hostwide redirect. We need to be able to redirect users from "/SOME/GARBAGE/HERE/actualWebappDirectory" to "/actualWebappDirectory" for all webapps (without having to require everyone to deploy the same ex

RE: Session Persistance

2004-01-15 Thread Bruno.Melloni
We might have just fixed each other's problem. I have the exact opposite problem (with Tomcat5) - I need to drop the sessions when I redeploy, since new versions might carry different objects and one of my objects is not serializable yet. And I don't need to preserve the sessions across vanilla

RE: org.apache.catalina.HttpRequest.setRequestURI() and valves

2004-01-15 Thread Shapira, Yoav
Howdy, >>Hello all. Using valves in Tomcat 4, we successfully managed to >intercept >>requests to specific contexts and direct them elsewhere. For example, >we >>could intercept all requests to /SECRETWEBAPP and redirect them to /. > >Why would you do this with a valve? Use a Filer, which is >

RE: org.apache.catalina.HttpRequest.setRequestURI() and valves

2004-01-15 Thread Shapira, Yoav
Howdy, >Hello all. Using valves in Tomcat 4, we successfully managed to intercept >requests to specific contexts and direct them elsewhere. For example, we >could intercept all requests to /SECRETWEBAPP and redirect them to /. Why would you do this with a valve? Use a Filer, which is spec-com

Re: restricting access to jsp pages

2004-01-15 Thread Michael E. Allen
Andres Ledesma wrote: Hi, I have not much experience with jsp, but I do not think this is the right way of doing that, your app have not to be inside WEB-INF. To prevent people accessing your pages, you check the user session, if for example, this pages can be view only by registered users o

org.apache.catalina.HttpRequest.setRequestURI() and valves

2004-01-15 Thread Green, Jeffrey
Hello all. Using valves in Tomcat 4, we successfully managed to intercept requests to specific contexts and direct them elsewhere. For example, we could intercept all requests to /SECRETWEBAPP and redirect them to /. In order to accomplish this, we used valves which would call setRequestURI("/

RE: How to find the differences between versions?

2004-01-15 Thread Shapira, Yoav
Howdy, One other thing of note on this issue: for tomcat 5 we've been better about keeping a changelog, available from the left-hand navigation bar of the documentation: http://jakarta.apache.org/tomcat/tomcat-5.0-doc/changelog.html Yoav Shapira Millennium ChemInformatics >-Original Message

Re: How to find the differences between versions?

2004-01-15 Thread Tim Funk
If you want source diffs you can do this (I think) cvs diff -r OLD_RELEASE_TAG -r NEW_RELEASE_TAG I'm sure you can also do a cvs log with some arguements to get the commit descriptions for each commit made too. -Tim Shapira, Yoav wrote: Howdy, There's probably a way to do it in bugzilla with the

Re: restricting access to jsp pages

2004-01-15 Thread Michael E. Allen
Ben Souther wrote: Hiding the JSPs is easy. Put them under the WEB-INF directory. Ok... but then how do I access the jsp pages? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: NoClassDefFoundError

2004-01-15 Thread Xavier ANDRE
My structure of tomcat is : /usr/tomcat : Tomcat Directory /usr/tomcat/webapps/soap/ : my app directory /usr/tomcat/webapps/soap/WEB-INF/classes/ my app's classes where there are lib12.soap.sms.SmsDriverSOAP and org.apache.soap.* classes Xavier André -Message d'origine- De

Does Tomcat 5.0.16 allready include Struts, mod_jk2

2004-01-15 Thread Nick
I have installed tomcat 5.0.16 and it looks as if (just by looking at log files ) that mod_jk2 and struts are allready included in the binary for linux? Is this the case? -- Nick (Nix) Gray Senior Systems Engineer Bruzenak Inc. (512) 331-7998 --

RE: NoClassDefFoundError

2004-01-15 Thread Larry Isaacs
Where exactly is the lib123.soap.sms.SmsDriverSOAP class located (jar and directory) and where are the org.apache.soap.* classes listed in the stack trace located (jar and directory)? Cheers, Larry > -Original Message- > From: Xavier ANDRE [mailto:[EMAIL PROTECTED] > Sent: Thursday, Janu

RE: jaas.jar not included w/ Tomcat 5.0.16 - why?

2004-01-15 Thread Shapira, Yoav
Howdy, >jaas.jar is no longer present in server/lib/ as it was in Tomcat 4.x. Small correction there: it was in server/lib for tomcat 4.1.x, not 4.0.x. >this causes ClassNotFoundExceptions when running under JDK 1.3. was this >an oversight or was it intentional. if it was intentional, it should

Re: Problems With Caching [tomcat 4.23]

2004-01-15 Thread Phillip Calçado
Hi, I've already did it, in fact the production server is this way (as JSP creation/modification is very important in this app), but it has those problems too. I've used about 5 different browsers :P . Thanks for your help, anyway. Em Quarta 14 Janeiro 2004 16:09, Shap

Some questions about Apache working with Tomcat

2004-01-15 Thread CHAVEZA
Hi Mi name is Alejandro Chavez and I want to ask you some question... I have to develop a web aplication with jsp´s. The SO is Unix and somebody had already installed Apache y Tomcat in the Unix machine. But I dont know if they had already configurated both to work together...or I had to d

jaas.jar not included w/ Tomcat 5.0.16 - why?

2004-01-15 Thread Springer, Ian P.
jaas.jar is no longer present in server/lib/ as it was in Tomcat 4.x. this causes ClassNotFoundExceptions when running under JDK 1.3. was this an oversight or was it intentional. if it was intentional, it should be documented in RUNNING.txt. thanks, Ian Ia

RE: How to find the differences between versions?

2004-01-15 Thread Subir Sengupta
Look in the Release notes. There is a list of new features and bug fixes, with the version number it was added/fixed in. So look for any version number higher than 4.1.12 to see what changed. Subir -Original Message- From: Glanville, Jay [mailto:[EMAIL PROTECTED] Sent: Wednesday, Janua

Re: Session Persistance

2004-01-15 Thread Jon Wingfield
It's my experience that Tomcat persists sessions by default, my ROOT.xml doesn't have a Manager. There are a couple of things you have to worry about if you want the sessions to be valid on restart: 1) Don't store non-serializable objects in the session. (You tend to get big stacktraces in the l

  1   2   >