Rights Management on small multi-user webapp

2004-11-22 Thread Marot Laurent
Hi all, I want to create a small webapp that should work froms 1 to 20 users. Each of them should have a protected directory for uploading and storing his own files without any read rights on other user files. How can i design such an application with tomcat realm security if i want users to

Réf. : Re: SSL

2004-11-22 Thread valerie . bauche
Just add this in the web.xml of your servlet : security-constraint web-resource-collection web-resource-nameIHM Authent/web-resource-name descriptionAccessible uniquement en SSL/description url-pattern/*/url-pattern

RE: Tomcat 5.5.4 - classes in classpath not being released

2004-11-22 Thread Carl Olivier
Hi. Further to my email below, I have noticed that it happens after the first time I re-deoply classes - i.e. after the first context reload... Carl -Original Message- From: Carl Olivier [mailto:[EMAIL PROTECTED] Sent: Monday, November 22, 2004 8:50 AM To: Tomcat Users List Subject:

Error with request for /index.jsp - Is this a bug?

2004-11-22 Thread Shiva.Devaguptapu
Hi, I am using the following configuration. When I request for http://abc.shiva.com/index.jsp or http://def.shiva.com/index.jsp, I am getting the tomcat welcome index.jsp page displayed. If I have some xyz.jsp as the welcome page, it serves fine. Is this a known bug in tomcat? Any

Re: Error with request for /index.jsp - Is this a bug?

2004-11-22 Thread Quinton Delpeche
On Monday 22 November 2004 11:04, Shiva.Devaguptapu wrote: Hi, I am using the following configuration. When I request for http://abc.shiva.com/index.jsp or http://def.shiva.com/index.jsp, I am getting the tomcat welcome index.jsp page displayed. If I have some xyz.jsp as the welcome

Re: NoSuchElementException in cluster

2004-11-22 Thread Ronald Klop
Thanks. How bad is it that I get these errors now? Wil I loose sessions? Ronald. On Fri Nov 19 20:34:21 CET 2004 Filip Hanik - Dev [EMAIL PROTECTED] wrote: I've updated the delta request to avoid these errors in the next release of tomcat5.0 and tomcat 5.5 Filip - Original Message -

RE: Error with request for /index.jsp - Is this a bug?

2004-11-22 Thread Shiva.Devaguptapu
After doing all this, I changed the server.xml to have the Context as follows : Context docBase=ROOT path= reloadable=false allowLinking=true debug=9 / But still I get the same tomcat welcome page. -Original Message- From: Quinton Delpeche [mailto:[EMAIL PROTECTED] Sent: Monday,

RE: SSL Redirect problem

2004-11-22 Thread Richard HALLIER
Thomas, I did your quick test, and I can confirm what you thought. If I configure Tomcat with the default port for http (80) and https (443), it works ! So it's an IE bug. Anyway, it will be a known bug ! Thank you. Richard. -Message d'origine- De : Mark Thomas [mailto:[EMAIL PROTECTED]

Re: Error with request for /index.jsp - Is this a bug?

2004-11-22 Thread Quinton Delpeche
On Monday 22 November 2004 11:31, Shiva.Devaguptapu wrote: After doing all this, I changed the server.xml to have the Context as follows : Mine looks as follows: !-- Context for Internal Systems ROOT engine -- Context className=org.apache.catalina.core.StandardContext

high traffic Tomcat sites out there?

2004-11-22 Thread LAM Kwun Wa Joseph
For my Tomcat cluster I'm looking for an upper limit on the estimation of how much traffic it may face. Say, would thousands of HTTP req/s be too 'astronomical' for a 4-node Dual P4 Xeon cluster to achieve? (I'm talking about dynamic pages such as stock quotes and news) Does anyone know of any

How to set Error Log for Unpacked Web Application in Apache Tomcat 5.5.0 Server

2004-11-22 Thread inr
Hi, I need to set the Error log for the unpacked Web Application,for which i used in Sun One Web server.Now i migrated to Tomcat 5.5, Here i am using the Unpacked Web Application. HOw to set the Error Log, Thanks in Advance, inr

RE: Error with request for /index.jsp - Is this a bug?

2004-11-22 Thread Shiva.Devaguptapu
Still the result is same. -Original Message- From: Quinton Delpeche [mailto:[EMAIL PROTECTED] Sent: Monday, November 22, 2004 3:22 PM To: [EMAIL PROTECTED] Subject: Re: Error with request for /index.jsp - Is this a bug? On Monday 22 November 2004 11:31, Shiva.Devaguptapu wrote: After

Re: Servlet mapping problem.

2004-11-22 Thread Andoni
If you are not using Struts why did you call the login JSP, loginResponse.do? Did you add .do to your web.xml file as a JSP type? Can you post your web.xml. Andoni. - Original Message - From: Stefan [EMAIL PROTECTED] Newsgroups: gmane.comp.jakarta.tomcat.user Sent: Monday, November 22,

Re: high traffic Tomcat sites out there?

2004-11-22 Thread Ronald Klop
On Mon Nov 22 11:55:08 CET 2004 LAM Kwun Wa Joseph [EMAIL PROTECTED] wrote: For my Tomcat cluster I'm looking for an upper limit on the estimation of how much traffic it may face. Say, would thousands of HTTP req/s be too 'astronomical' for a 4-node Dual P4 Xeon cluster to achieve? (I'm talking

[OT] Asynchronous Event processing API

2004-11-22 Thread Tim Funk
I am hoping other people have this problem ... I want to utilize an event processing system for when certain things happen on a website I maintain. For example, if someone wishes to contact my client, the web site writes to a database to record the entry, then emails customer service for

Re: high traffic Tomcat sites out there?

2004-11-22 Thread Peter Lin
250ms response time is rock solid. Getting the total response time lower than 250ms is pretty darn tough. based on your info, that means each tomcat is getting on average 15-16 concurrent requests. one way to improve the response time would be to use smart caching and avoid the cost of making a

RE: How to set Error Log for Web Application in TOmcat 5.5

2004-11-22 Thread Shapira, Yoav
Hi, Not only does this NOT help, it hurts ;) Please be careful to not to post Tomcat 5.0 (or 4.x, or 3.x) configuration files for a Tomcat 5.5 question, or the other way around. We have enough confused newbies as it is ;) Yoav Shapira http://www.yoavshapira.com -Original Message-

RE: multipart/byteranges bug in tomcat 4.1.x

2004-11-22 Thread Shapira, Yoav
Hi, Don't hold your breath, upgrade if/when possible. Yoav Shapira http://www.yoavshapira.com -Original Message- From: Vincent Gogan [mailto:[EMAIL PROTECTED] Sent: Friday, November 19, 2004 9:09 PM To: [EMAIL PROTECTED] Subject: multipart/byteranges bug in tomcat 4.1.x I had to write

RE: Looking for classes that were moved out

2004-11-22 Thread Shapira, Yoav
Hi, It's your code that's looking for this class, not Tomcat. Anyways, putting code in jre/lib/ext is tantamount to playing Russian roulette. Yoav Shapira http://www.yoavshapira.com -Original Message- From: Wout Perquin [mailto:[EMAIL PROTECTED] Sent: Saturday, November 20, 2004 10:29

Tomcat 5 Cluster on blades with multiple network adapters

2004-11-22 Thread Maibaum, Norbert
Title: Tomcat 5 Cluster on blades with multiple network adapters I try to get Tomcat-Cluster running on blades where two network-adapters are active. So i figured out that mcastBindAddr parameter has to specified. (mcastBindAddr = bind the multicast socket to a specific address) Has

RE: Tomcat 5.5.4 - classes in classpath not being released

2004-11-22 Thread Shapira, Yoav
Hi, You would need to turn on the antiJARLocking or antiResourceLocking features of Tomcat 5.5.x (they are Context attributes, use either one but not both at the same time). Yoav Shapira http://www.yoavshapira.com -Original Message- From: Carl Olivier [mailto:[EMAIL PROTECTED] Sent:

RE: Servlet mapping problem.

2004-11-22 Thread Shapira, Yoav
Hi, message /loginResponse.do description The requested resource (/loginResponse.do) is not available. It seems the context_name part of your form element is blank, missing, or wrong, since the page is asking for /loginResponse.do and not /whatever/loginResponse.do. Accordingly, how do you

RE: Tomcat 5.5.4 - classes in classpath not being released

2004-11-22 Thread Carl Olivier
Ok, thanks!! Appreciate the response as always! Carl -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Monday, November 22, 2004 3:58 PM To: Tomcat Users List Subject: RE: Tomcat 5.5.4 - classes in classpath not being released Hi, You would need to turn on the

Re: high traffic Tomcat sites out there?

2004-11-22 Thread Peter Lin
look at the poweredby list http://wiki.apache.org/jakarta-tomcat/PoweredBy the biggest factor in how much bandwidth your 4 node cluster is primarily going to be network bandwidth and database performance. Normally, since buckle due to database crashing. I know of a directory site that gets

RE: Tomcat 5.5.4 - classes in classpath not being released

2004-11-22 Thread Carl Olivier
Hectic. When it says startup performance penalties its not kidding eh? Context set tot antiResourceLocking=true and added like 30 seconds to the server startup time :) -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Monday, November 22, 2004 3:58 PM To: Tomcat

RE: Tomcat 5.5.4 - classes in classpath not being released

2004-11-22 Thread Shapira, Yoav
Hi, Yup, not kidding. However, the reason to turn this on is to do in-place reloading, as opposed to server restarting, so the penalty is easily amortized over a few (not many) reloads. Yoav Shapira http://www.yoavshapira.com -Original Message- From: Carl Olivier [mailto:[EMAIL

RE: Tomcat 5.5.4 - classes in classpath not being released

2004-11-22 Thread Carl Olivier
Agreed. Just nice to be aware of the penalties! If you undeploy and redeploy a site (using the core Catalina) classes etc, if this was NOT activated (the antiResourceLocking) would there be any effects? I am not talking about a redeployment via class changes, but a manual redeploy from within

RE: Tomcat 5.5.4 - classes in classpath not being released

2004-11-22 Thread Carl Olivier
Ooppps. Sorry -meant 300 seconds! -Original Message- From: Carl Olivier [mailto:[EMAIL PROTECTED] Sent: Monday, November 22, 2004 4:37 PM To: Tomcat Users List Subject: RE: Tomcat 5.5.4 - classes in classpath not being released Hectic. When it says startup performance penalties its

RE: Tomcat 5.5.4 - classes in classpath not being released

2004-11-22 Thread Shapira, Yoav
Hi, (e.g. get the StandardHost and call remove on the service/engine and then recreate a StandardHost instance with all the relevant settings, then calling deploy and start on it...) This is really not a recommended practice. With the increased JMX and Logging interaction, it's hard to get

Re: Servlet mapping problem.

2004-11-22 Thread Stefan
Hi, This is my web.xml for the web app: ?xml version=1.0 encoding=UTF-8? !DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN http://java.sun.com/dtd/web-app_2_3.dtd; web-app welcome-file-listindex.jsp/welcome-file-list filter filter-nameauthentication

RE: Servlet mapping problem.

2004-11-22 Thread Shapira, Yoav
Hi, The web.xml file looks reasonable. But you have yet to answer the other question, which is how you generate the form tag. Yoav Shapira http://www.yoavshapira.com -Original Message- From: Stefan [mailto:[EMAIL PROTECTED] Sent: Monday, November 22, 2004 10:00 AM To: Tomcat Users

Re: Servlet mapping problem.

2004-11-22 Thread Stefan
Hi, my form code: form action=/the_context/loginResponse.do method=post name: input type=text name=adminPassword input type=submit /form To naswer your questions: Q. Accordingly, how do you generate this form element? A. I'm not sure what you mean, it's just a hard-coded HTML form. Q. I

Re: Servlet mapping problem.

2004-11-22 Thread Stefan
Hi, Just out of curiousity I changed the forms' action attribute to include the full path: form action=http://127.0.0.1/the_context/loginResponse.do; method=post From a page with this URL: http://127.0.0.1/the_context/logIn.jsp And when I submit the form I am taken to Tomcats' web server admin

RE: Servlet mapping problem.

2004-11-22 Thread Shapira, Yoav
Hi, form action=/the_context/loginResponse.do method=post name: input type=text name=adminPassword input type=submit /form I meant the server-side code, not the HTML output. Q. Accordingly, how do you generate this form element? A. I'm not sure what you mean, it's just a hard-coded HTML

Re: SSL and form-based login

2004-11-22 Thread erh
On Sun, Nov 21, 2004 at 10:53:52AM -0800, footh wrote: The URL in the browser is the URL of the protected page I'm trying to access. So, for example if /test/test.jsp is protected by forms-login and I click a link to that page, /test/test.jsp will be the URL in the browser, but the login

Re: Servlet mapping problem.

2004-11-22 Thread Ben Souther
Why don't you just use a relative link?: form action=loginResponse.do method=post On Mon, 2004-11-22 at 10:13, Stefan wrote: Hi, Just out of curiousity I changed the forms' action attribute to include the full path: form action=http://127.0.0.1/the_context/loginResponse.do; method=post

logging compression stats

2004-11-22 Thread Ben Simon
Howdy, I've enabled compression on my server [1]: , | Connector port=8090 |maxThreads=150 minSpareThreads=25 maxSpareThreads=75 |enableLookups=false redirectPort=8453 acceptCount=100 |debug=0 connectionTimeout=2 |

Re: Servlet mapping problem.

2004-11-22 Thread Stefan
The HTML form is actually in a static page, I'm not generating the form via a servlet. I've actually began this with a relative URL, I've just been trying different things to see if I could figure out how to get this to work. I agree with your comments regarding the portability, I've just been

Re: Servlet mapping problem.

2004-11-22 Thread Stefan
Hi Ben, I've used a relative link - same problem ... Could this be a problem having to do with setting up the context? What I did to do this, was drop an xml file with my web apps name in the folder: conf\Catalina\localhost In the xml file (contexName.xml) I have this entry: Context path=

webapps directory disappears

2004-11-22 Thread Scott Pippin
Sometimes when I undeploy an application on Tomcat 5.0.28 the entire webapps directory disappears. Has anyone else had problems with this? Tomcat 5.0.28 AIX 5.2.10 Apache 2.x Thanks, Scott Pippin [EMAIL PROTECTED]

Tomcat startup error.

2004-11-22 Thread g k
Hi I am new to Tomcat. I have version 5.0.25 installed on my pc. When i startup tomcat using the startup.bat i get the following error (apologies for the long details). 22-Nov-2004 16:13:53 org.apache.coyote.http11.Http11Protocol init INFO: Initializing Coyote HTTP/1.1 on http-8081 22-Nov-2004

Re: Servlet mapping problem.

2004-11-22 Thread Ben Souther
In your context tag, your specifying: path= but in your url you're using: http://127.0.0.1/the_context/loginResponse.do; ^^^ Either put: path=/the_context in your context tag or don't specify it in your url. loginResponse.do On Mon, 2004-11-22 at 10:31,

Re: SSL and form-based login

2004-11-22 Thread footh
Thanks for the help. I see what you are saying about the redirection to the login page not being a true redirect. I'll give your method a shot and see how it turns out. I can't believe this issue hasn't been resolved before but I can't seem to find it via a search on the archives. On another

RE: Tomcat startup error.

2004-11-22 Thread Shapira, Yoav
... and to add to my previous message, also check out the Tomcat FAQ's section on logging with log4j and commons-logging. Yoav Shapira http://www.yoavshapira.com -Original Message- From: g k [mailto:[EMAIL PROTECTED] Sent: Monday, November 22, 2004 11:16 AM To: [EMAIL PROTECTED]

RE: Tomcat startup error.

2004-11-22 Thread Shapira, Yoav
Hi, This is not an out-of-the-box Tomcat. Modify your log4j properties so that they don't look for a non-existent (or not running) JMS server ;) Yoav Shapira http://www.yoavshapira.com -Original Message- From: g k [mailto:[EMAIL PROTECTED] Sent: Monday, November 22, 2004 11:16 AM To:

Re: Servlet mapping problem.

2004-11-22 Thread Stefan
Hi, I actually put the context reference in the context tag ... just something I omitted in the email. But alas, it still does not work ... :( I'm actually going to see if I can get the client to use Resin (for some reason, everything works fine is Resin ... out of the box), frankly at this

RE: Servlet mapping problem.

2004-11-22 Thread Shapira, Yoav
Hi, I actually put the context reference in the context tag ... just something I omitted in the email. But alas, it still does not work ... /snip I'm actually going to see if I can get the client to use Resin (for some reason, everything works fine is Resin ... out of the box), frankly at this

Re: logging compression stats

2004-11-22 Thread Tim Funk
There is no way to log that information right now. -Tim Ben Simon wrote: Howdy, I've enabled compression on my server [1]: , | Connector port=8090 |maxThreads=150 minSpareThreads=25 maxSpareThreads=75 |enableLookups=false redirectPort=8453 acceptCount=100 |

Re: Servlet mapping problem.

2004-11-22 Thread Ben Souther
If you're interested, I've got some simple apps all WARed up on my site. http://simple.souther.us. Try dropping one of those wars in your webapps directory. If they work (which they will if you have an out of the box installation of Tomcat), you can compare them with your app to see what's

Re: Servlet mapping problem.

2004-11-22 Thread Stefan
Ha ha ha ha ha I wasn't meant as an insult, but the truth cannot be ignored ... You have to ask yourself a question when you take the exact same code and drop it into Resin and in 1 minute it works fine, whereas with Tomcat, after an hour or two of poking around, it still doesn't work ...

Re: Servlet mapping problem.

2004-11-22 Thread Stefan
Thanks Ben - I'll give it a go .. the client may insist still on Tomcat, anyway it bugs me that I can't get it to work! Thanks. Stefan www.killersites.com www.how-to-build-websites.com www.secretsites.com www.csstutorial.net www.websitereviews.org www.websitetemplates.name - Original

RE: Looking for classes that were moved out

2004-11-22 Thread sven morales
Is that statement playing a russian roulette refers to -- classes installed in the extention dirs does not use security policies? __ Do you Yahoo!? Meet the all-new My Yahoo! - Try it today! http://my.yahoo.com

RE: Servlet mapping problem.

2004-11-22 Thread Shapira, Yoav
Hi, The problem is that you've messed up your configuration. You created context.xml and you created your static HTML page. One says path= and the other asks for path=/context_name. It's a beginner's mistake that's trivial to correct, and it's your mistake, not Tomcat's fault. You don't even

Re: Servlet mapping problem.

2004-11-22 Thread Stefan
Ben, I just dropped in your SimpleServlet war file and got this error: HTTP Status 404 - /SimpleServlet/test type Status report message /SimpleServlet/test description The requested resource

RE: Looking for classes that were moved out

2004-11-22 Thread Shapira, Yoav
Hi, Is that statement playing a russian roulette refers to -- classes installed in the extention dirs does not use security policies? No, I wasn't talking about security. I was talking about app separation and maintainability, both of which suffer significantly when you put classes in

Re: Servlet mapping problem.

2004-11-22 Thread Stefan
Yoav, As I stated in a previous post - I actually included the context name in the context.xml file, I just omitted it in my email. Beyond that, I initially did not include a context.xml file - but it did not work, so I figured I'd give it a go. But if you noticed in my last post, I just

[OT] Re: Servlet mapping problem.

2004-11-22 Thread Ben Souther
I've added the [OT] because those examples are not a Tomcat issue. SimpleServlet (as the name implies) is the most basic example you can create. It has worked for everyone else who has tried it. Try again, with a fresh Tomcat install. Don't configure anything. On Mon, 2004-11-22 at 12:00,

RE: Servlet mapping problem.

2004-11-22 Thread Shapira, Yoav
Hi, Do you get any errors in your log on startup? Are you running Tomcat as a Windows service, or from the command line? Yoav Shapira http://www.yoavshapira.com -Original Message- From: Stefan [mailto:[EMAIL PROTECTED] Sent: Monday, November 22, 2004 12:06 PM To: Tomcat Users List

Re: high traffic Tomcat sites out there?

2004-11-22 Thread Al Gidden
We have three Tomcat systems in front of a large database. We use JMeter to test our site, and have pushed each system with 1000 requests per minute and not noticed any problems at all. Our servers only have one processor and 1GB of RAM. The only time we start to see any performance issues is due

RE:Server.xml problem..

2004-11-22 Thread Shilpa Nalgonda
Hi , I am usinh ant deploy target to deploy my web application on Tomcat 4.1.30. I have configured datasource to get the connection pooling for my webapp in server.xml. But whenever i do a ant deploy, the server.xml ia being backed up and a new server.xml is created. This new server.xml does

RE: Server.xml problem..

2004-11-22 Thread Shapira, Yoav
Hi, Are you sure the information for your context isn't written to conf/[engine]/[host]/rpcoemapi.xml instead of server.xml? Yoav Shapira http://www.yoavshapira.com -Original Message- From: Shilpa Nalgonda [mailto:[EMAIL PROTECTED] Sent: Monday, November 22, 2004 12:11 PM To: Tomcat

Tomcat 4.1.30 not restoring JDBC connections

2004-11-22 Thread Alex Korneyev
Hello All, has anyone ever experienced the following: we are using Tomcat's 4.1.30 connection pool. For some reason, when network connection goes down, even for 1 sec, connection pool is not smart enough to either get rid of a connection and try get another one, or reconnect; any ideas?

FAIL - No context exists for path /blog

2004-11-22 Thread Dakota Jack
I thought I would do a quick little test on a roller blog. So I just popped the application into webapps and thought I would give it a little whirl. No whirl! I got a 503 error and when I tried to start it with manager?path=/blog, I got the error message in the Subject line of this email. I

RE: FAIL - No context exists for path /blog

2004-11-22 Thread Shapira, Yoav
Hi, If the startup fails with a 500-class error, one thing that's pointless is to try starting it up again ;) Instead, look at your logs to see the cause for the error, and fix it. Until then there's nothing to start, stop, or restart. If you're unsure what to do after looking at the log, post

Re: FAIL - No context exists for path /blog

2004-11-22 Thread Dakota Jack
Thanks for the quick turnaround, Yoav. There is no error in the logs. All that is in the logs is: StandardContext[/balancer]org.apache.webapp.balancer.BalancerFilter: init(): ruleChain: [org.apache.webapp.balancer.RuleChain: [org.apache.webapp.balancer.rules.URLStringMatchRule: Target string:

Re: high traffic Tomcat sites out there?

2004-11-22 Thread andrew
I would be very careful using tomcat for 'High-Performance' internet applications. You will need to disable keepalives - or use some form of keep-alive proxy to stop tomcat creating too many connections. How many simultaneous users are you planning on having? What operating system are you

RE: Server.xml problem..

2004-11-22 Thread Shilpa Nalgonda
under TOMCAT_HOME/conf i only have server.xml, tomcat-users.xml , web.xml, catalina.policy and jk2.properties. i can't find rpcoemapi.xml anywhere under Tomcat_home. Before i had all the datasource configuration for my Web apps in server.xml. And i used tomcat manager GUI to deploy the

Re: FAIL - No context exists for path /blog

2004-11-22 Thread Dakota Jack
I am running Tomcat 5.0, by the way on a Presario 2500 PC desktop with Windows XP. Jack On Mon, 22 Nov 2004 12:30:58 -0500, Shapira, Yoav [EMAIL PROTECTED] wrote: Hi, If the startup fails with a 500-class error, one thing that's pointless is to try starting it up again ;) Instead, look at

JasperException thrown with no getMessage()

2004-11-22 Thread Xeth Waxman
Greetings: Thanks to everyone for helping me solve my SSL issue last week. That application is now functioning properly. I have a new question - I have an app which throws a JasperExcep[tion whenever I try to use a RequestDispatcher to forward the request. I am using Tomcat 5.0.12 - here is

RE: JasperException thrown with no getMessage()

2004-11-22 Thread Shapira, Yoav
Hi, I have a new question - I have an app which throws a JasperExcep[tion whenever I try to use a RequestDispatcher to forward the request. I am using Tomcat 5.0.12 - here is the code: Use a stable and more recent Tomcat release like 5.0.28. An exception may have a null message: that's legal

Re: FAIL - No context exists for path /blog

2004-11-22 Thread sven morales
Its just me, I do not fully trust the /manager app to deploy webapps all the time. For example its suppose to be able to deploy a war file even if the war file is coming from a remote site, ie it should attempt to download it but I have no luck with it deploying a remote war file yet. I

RE: Server.xml problem..

2004-11-22 Thread Shapira, Yoav
Hi, Ahh, my mistake, I thought you were using Tomcat 5.x - sorry about that confusion. For 4.x, maybe someone else can help you. Yoav Shapira http://www.yoavshapira.com -Original Message- From: Shilpa Nalgonda [mailto:[EMAIL PROTECTED] Sent: Monday, November 22, 2004 12:35 PM To:

Server redirected too many times (20)

2004-11-22 Thread Allistair Crossley
Hi All, We upgraded to Java 5 and Tomcat 5.5.4 last week having tested it out on our test server without any apparent problems. However, we are noticing an awful lots of errors of the following nature, and I wanted to know if it is likely that something in Tomcat 5.5.4 could be involved, as

Re: FAIL - No context exists for path /blog

2004-11-22 Thread Dakota Jack
I was using roller .98. I switched to the RC 1.0 and have no trouble. I followed all installation instructions previously. I'm moving on with 1.0 and will grab the final when it comes. Thanks for your time, Yoav. Still wondering about the logging. If you happen to come up with a theory on

[OT] Re: Servlet mapping problem.

2004-11-22 Thread Stefan
Yoav and Ben, After a fresh install of Tomcat, everything seems to be working fine. Many thanks for your extra patience with my fumbling about! Best regards, Stefan - Original Message - From: Shapira, Yoav [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Monday,

RE: Server redirected too many times (20)

2004-11-22 Thread Shapira, Yoav
Hi, Are you sure it's not a recursive symbolic link issue? Check to make sure that in recent days no one modified symbolic links throughout your installation such that they redirect to each other. Yoav Shapira http://www.yoavshapira.com -Original Message- From: Allistair Crossley

Re: [OT] Re: Servlet mapping problem.

2004-11-22 Thread Ben Souther
Glad to see you're up and running. On Mon, 2004-11-22 at 13:20, Stefan wrote: Yoav and Ben, After a fresh install of Tomcat, everything seems to be working fine. Many thanks for your extra patience with my fumbling about! Best regards, Stefan - Original Message -

RE: Server redirected too many times (20)

2004-11-22 Thread Allistair Crossley
Hi Yoav, We run on Windows 2000, the concept of sym links aren't there. It's right across our HTML content (which is loaded from file system via IIS for security) blah.. so I do not think it will be this. Further, a Tomcat restart fixes it for a short while. Cheers, Allistair

RE: Server.xml problem..

2004-11-22 Thread sven morales
I do not remember on top of my head at which version Tomcat has separated the Context element from server.xml but assuming it applies to your situation. On your Ant task you need to separate out from the server.xml the element and its contents (Context .. /Context to another file, call it

Enabling servlet reloading?

2004-11-22 Thread Stefan
Hi, What is entry (in server.xml) to allow for auto reloading of servlets in Tomcat 5? Or can you set this in web.xml on a per application basis? Stefan - Original Message - From: Stefan [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Monday, November 22, 2004 1:20

RE: Server redirected too many times (20)

2004-11-22 Thread Ben Souther
And you've verified that there are no circular references caused by response.sendRedirect calls? On Mon, 2004-11-22 at 13:34, Allistair Crossley wrote: Hi Yoav, We run on Windows 2000, the concept of sym links aren't there. It's right across our HTML content (which is loaded from file

RE: Server redirected too many times (20)

2004-11-22 Thread Allistair Crossley
We don't use server redirects as we use Struts request forwarding. One place the issue is happening in a JSP that uses JSTL's c:import tag to import an absolute URL to a HTML page perfectly accessible on the server (via iis) and also on browser request. Like I say, a Tomcat restart fixes these

Re: Enabling servlet reloading?

2004-11-22 Thread Ben Souther
reloadable=true http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/context.html On Mon, 2004-11-22 at 13:34, Stefan wrote: Hi, What is entry (in server.xml) to allow for auto reloading of servlets in Tomcat 5? Or can you set this in web.xml on a per application basis? Stefan

setting JSESSION variable

2004-11-22 Thread Alex Korneyev
what is the proper way to set jsession id if i want my own id? basically the situation is as follows. my user authenticates into domain.com then depending on what his/her locale is i forward them to http://lang.domain.com * i.e. http://us.domain.com the problem is that once they authenticate

J2EE Policy Agent and Web Policy Agent

2004-11-22 Thread Derrick Koes
Does anyone have any experience using either of these with Tomcat? If so, can you point me to a good resource? Thanks, Derrick

RE: J2EE Policy Agent and Web Policy Agent

2004-11-22 Thread Shapira, Yoav
Hi, A google search seems to return a number of good and relevant results, including this one which has specific examples: http://docs.sun.com/source/816-6884-10/chapter2.html#wp37609. Yoav Shapira http://www.yoavshapira.com -Original Message- From: Derrick Koes [mailto:[EMAIL

RE: high traffic Tomcat sites out there?

2004-11-22 Thread Shapira, Yoav
Hi, You can search the wiki (there's a who's using Tomcat section) and archives of this list: there are sites that serve hundreds of concurrent requests for long periods of time, and millions of hits per day. Of course, your question itself is not that appropriate, because any answer is

Re: Tomcat 4.1.30 not restoring JDBC connections

2004-11-22 Thread Sharad Ramadas
Whenever I encounter this problem I re-start the tomcat. On Mon, 22 Nov 2004 11:11:14 -0600, Alex Korneyev [EMAIL PROTECTED] wrote: Hello All, has anyone ever experienced the following: we are using Tomcat's 4.1.30 connection pool. For some reason, when network connection goes down,

RE: multipart/byteranges bug in tomcat 4.1.x

2004-11-22 Thread Mark Thomas
Fixed in CVS for TC4 but I wouldn't expect a 4.1.32 release for some time (New Year at the earliest). Mark -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Monday, November 22, 2004 1:56 PM To: Tomcat Users List Subject: RE: multipart/byteranges bug in tomcat

Re: setting JSESSION variable

2004-11-22 Thread Jacob Kjome
Try... https://us.domain.com/secure;JSESSIONID=7D084BCFE46540FBB779486B4E003FD3?VAR1=VAL1 Yes, order is important! Jake Quoting Alex Korneyev [EMAIL PROTECTED]: what is the proper way to set jsession id if i want my own id? basically the situation is as follows. my user authenticates

Re: JDBC transactions using MySQL / DBCP in Tomcat 5.0.28

2004-11-22 Thread Mark Matthews
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Trond G. Ziarkowski wrote: Hi all! In my webapp I do two db inserts into two different tables. If the second one fails I want to rollback the first one. My code is something like the following: Connection con = gotten from jndi DataSource

RE: multipart/byteranges bug in tomcat 4.1.x

2004-11-22 Thread Vincent Gogan
Thanks. I'll ask for some quick advice. Is it safer (stability wise) to upgrade to 5.0.x rather than directly to 5.5.x? Thanks, Vincent -Original Message- From: Mark Thomas [mailto:[EMAIL PROTECTED] Sent: Monday, November 22, 2004 2:38 PM To: 'Tomcat Users List' Subject: RE:

Re[2]: setting JSESSION variable

2004-11-22 Thread Alex Korneyev
Hello Jacob Kjome, lovely :) however, since i have Apache as a middle man, i get this error: You don't have permission to access /secure;JSESSIONID=16E54F0A406582505A7A393E5307BC12VA1=VAL1 on this server. this is related to : http://www.jguru.com/faq/view.jsp?EID=53878 however, i

RE: multipart/byteranges bug in tomcat 4.1.x

2004-11-22 Thread Mark Thomas
It depends on your application. The only way you will now for sure will be to upgrade and do lots of testing. There are always bugs in any software - the important issue is do they affect you. If you have the chance to upgrade I would go for the latest stable release which is currently 5.5.4.

RE: CGI Again...Servlet.service() for servlet cgi threw exception

2004-11-22 Thread Sergey Kamshilin
Hello Mark, Servlet mapping: - !-- The mapping for the CGI Gateway servlet -- servlet-mapping servlet-namecgi/servlet-name url-pattern/cgi-bin/*/url-pattern /servlet-mapping - The URL: http://zee:8080/cgi-bin/index.pl Script

RE: CGI Again...Servlet.service() for servlet cgi threw exception

2004-11-22 Thread Phillip Qin
Remove -wT from your script. -Original Message- From: Sergey Kamshilin [mailto:[EMAIL PROTECTED] Sent: November 22, 2004 3:51 PM To: Tomcat Users List Subject: RE: CGI Again...Servlet.service() for servlet cgi threw exception Hello Mark, Servlet mapping: - !--

Re: high traffic Tomcat sites out there?

2004-11-22 Thread Peter Johnson
Joseph, Our site runs using Apache (1.3.x) and Tomcat (4.1.x) on 5 servers using LVS (www.linuxvirtualserver.org) for load balancing. This setup performs over 20M page impressions per month although we do cheat slightly by caching the front page every 60s and letting Apache serve it as a static

RE: CGI Again...Servlet.service() for servlet cgi threw exception

2004-11-22 Thread Sergey Kamshilin
Phillip, Where do I have -wT??? /Sergeyk (Lab Documentation - \\Lizard\rad\DraftDocs\msv\ctn\1290 Lab network description) Phone: 604 918-6360 Cell: 604 351-8966 -Original Message- From: Phillip Qin [mailto:[EMAIL PROTECTED] Sent: Monday, November 22, 2004 1:11 PM To: 'Tomcat

Re: Re[2]: setting JSESSION variable

2004-11-22 Thread Jacob Kjome
Sorry, I don't use jk2. However, I would think they would have made it jsessionid aware. I think addin the rewrite rule is the way to go, but you'll have to get verification of that from someone else. Good luck! Jake Quoting Alex Korneyev [EMAIL PROTECTED]: Hello Jacob Kjome,

RE: CGI Again...Servlet.service() for servlet cgi threw exception

2004-11-22 Thread Phillip Qin
CGIServlet does not support -wT in your perl script. Those switches are for debugging in perl. They are after your perl command, so, for example, if you test.pl contains #!/bin/perl -wT Then remove the -wT. Other things to check: - in your conf/web.xml, no need to put leading /

  1   2   >