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
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
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:
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
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
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 -
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,
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]
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
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
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
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
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,
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
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
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
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-
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
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
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
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:
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
|
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
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=
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]
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
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,
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
... 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]
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:
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
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
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
|
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
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 ...
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
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
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
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
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
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
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,
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
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
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
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
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?
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
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
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:
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
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
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
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
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
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
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:
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
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
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,
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
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 -
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
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
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
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
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
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
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
Does anyone have any experience using either of these with Tomcat?
If so, can you point me to a good resource?
Thanks,
Derrick
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
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
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,
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
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
-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
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:
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
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.
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
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:
-
!--
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
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
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,
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 - 100 of 118 matches
Mail list logo