Please send example of code that is creating or getting the session.
Thanks
Dennis M. Payne
Programmer / Analyst
Information Systems
Management & Training Corp.
e-mail: [EMAIL PROTECTED]
web: http://www.mtctrains.com
work: (801) 693-2635
fax: (801) 693-2900
>>> [EMAIL PROTECTED] 02/15/05 9:59 PM
al
description Access to the specified resource (Configuration error: Cannot
perform access control without an authenticated principal) has been
forbidden.
Apache Tomcat/5.0.28
Thanks,
Luke
- Original Message -
From: "Dennis Payne" <[EMAIL PROTECTED]>
To:
Sent: Thursday, Februa
you will not need a roles table for tomcat... it is only useful to your own
applications that will edit the data. The system only utilizes the the
user-role table and the user-password table (at least for basic authentication).
Each servlet in the system that is secure is setup this way and has
Besides 'Hot Patching' (placing an updated class or jsp on the
application runtime) I have not found a way to do what you are trying to
find.
>>> [EMAIL PROTECTED] 02-04-2005 14:15 >>>
What's the "right way" to update a running WAR in Tomcat 5.5?
Is there anything resembling the manager's "reloa
Looks like you put a statement intended for preparation into a regular
statement.
>>> [EMAIL PROTECTED] 01-19-2005 18:23 >>>
I'm getting the following error when my JSP form POSTs:
17:15:23,500 INFO [STDOUT] -SQLException-
17:15:23,500 INFO [STDOUT] SQLState: 42000
17:15:23,500 INFO [S
e sessions
through
cookies so I do not see how my session id and data is being lost.
By the way my project was working perfectly with tomcat 1.3 but when I
upgraded to tomcat 5 is when the session problem started.
-Original Message-
From: Dennis Payne [mailto:[EMAIL PROTECTED]
Sent: Thursday,
My implementation is not as complex as yours, so my suggestion may not
work for you...
We always use the request object to get access to the session both in
the servlet and the JSP (We don't use any specialized JSP tags to do
this. We always use putAttribute to put a Serializable object on the
se
You probably did this alread, but might want to check the access
permissions for all directories and files involved. That stuff gets
messed up pretty easy. The user that Tomcat runs under should be the
same user that the JDK was installed with... Might be a complicating
factor??
>>> [EMAIL PROT
If you are running Linux or Unix check the syntax for the 'nice'
command.
>>> [EMAIL PROTECTED] 12-27-2004 18:55 >>>
Frank W. Zammetti wrote:
> It's interesting, Craig and I had an exchange about threads in
servlet
> containers last week... I can't find a link to the thread
unfortunately.
>
> An
Possibly related to deployment versioning. If the entire WAR file is
deployed at once I have not had problems, it is usually when I try to
Hot Fix a single servlet. Tomcat acts like it is keeping track of the
'version' of the servlet and coughs up a hairball sometimes if it is
different. (someth
It looks like things regarding a connector are still in flux... probably
not time to panic yet. JK2 works. mod_jk works. Choose one.
>>> [EMAIL PROTECTED] 12-22-2004 17:03 >>>
On November 15th, there was an announcement that JK2 is officially
unsupported.
http://jakarta.apache.org/tomcat/tomca
It is possible to create a servlet thread in the init() method. That
thread sould stay alive and run something every thirty minutes. The
issue of pushing information out to the user remins the same. The
servlet and the thread cannot do that. On the other hand, it is
possible to setup java scrip
External scripts really are the best answer for this. It is not
possible to 'PUSH' information like this without a dedicated client!
>>> [EMAIL PROTECTED] 12-21-2004 10:14 >>>
Hi,
I'm having a similar problem in my application.
I've got several servlets called by the users. Every requets save som
Use cron in Unix/Linux or task scheduler in Windows.
>>> [EMAIL PROTECTED] 12-21-2004 08:44 >>>
Hi,
I am using Tomcat4.1.30 version.
I have to develop a client application which looks in the database
every 30
minutes,
to retrieve the status of an order and send the status to the remote
client.
Aga
You could also use 'include' instead of 'forward'.
>>> [EMAIL PROTECTED] 12-14-2004 12:06 >>>
Hi,
I solved the problem by dropping back to 4.1.24. I can't imagine what
that had to do with it, but now it works.
Jim.
Shapira, Yoav wrote:
>Hi,
>Two ideas: one, always make sure to return (i.e. a
I have not run into that kind of problem before... typically if you hit
a JSP without hitting its controller first you will just get nothing (an
HTML screen with no data). when it gets routed back to the controller,
it will then register a failure due to lack of data. Problem solved.
>>> [EMAIL
Might also want to check the response and make sure it is sending the
right MIME type. Everything worked fine on I.E. but when running
Netscape it needed the setting to display properly. Hope this helps...
>>> [EMAIL PROTECTED] 12-11-2004 06:33 >>>
A few possible reasons
- Use a 2.3 DTD in your
Use javascript to disable or remove the button.
>>> [EMAIL PROTECTED] 12-09-2004 12:12 >>>
Is there a way to prevent multiple form posts from the
same page/user/session using only servlets? I have a
page where users can upload files, but I do not want
them to keep smashing the upload button if th
You can use the session.invalidate() if you need to before creating a
new session (I did not use this approach).
With my system, if the session exists we check for required elements
and place them there if they are missing. Every thirty minutes the
session automatically invalidates. At that poin
If you are using a single servlet to determine the course of action and
those actions are not mutually exclusive (like using a switch or
if...else if structure) then something like this could definitely
happen. Check your code... I am sure it is allowing two things to
happen at once because it is
(Tomcat installed) that used to be there?
How can I avoid this in the future?
Please help!
I have reverted to a previous server to get by now...
-Dennis Payne-
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands
21 matches
Mail list logo