Hi,
But how to call the logout on my LoginModule? That is my actual question. I
do not have a LoginModule object with me. LoginModule is called by tomcat
himself when we use Form Based Authentication.
=
Javed
Just call
Den 19-06-2012 08:41, javed Ansari skrev:
Hi,
But how to call the logout on my LoginModule? That is my actual question. I
do not have a LoginModule object with me. LoginModule is called by tomcat
himself when we use Form Based Authentication.
Read what EJP said again. When you call
You could always position your jsp's inside the WEB-INF dir
This will enable you to access them only through server redirects rather
than absolute url's
Sharon
-Original Message-
From: Kiran Badi [mailto:ki...@poonam.org]
Sent: Tuesday, June 19, 2012 3:10 AM
To: Tomcat Users
Hmmm,
By Session I assume you mean HttpSession. I have below code in the doPost
of the Login click.
HttpSession session = req.getSession();
session.invalidate();
And then I am redirecting to Login page.
Next when I try to login in the same browser session, it shows an error
(error code 408)
On 19/06/2012 06:07, Olivier Lefevre wrote:
I just noticed that the DelegatingResultSet object handed by Tomcat
sports a slew of abstract methods even though the class itself is
not declared abstract. In Tomcat 7.0.x there are only 2 such methods:
the two getObject methods taking a Class as
The Apache Tomcat team announces the immediate availability of Apache
Tomcat 7.0.28.
Apache Tomcat is an open source software implementation of the Java
Servlet and JavaServer Pages technologies.
This release is includes may improvements as well as a number of bug
fixes compared to version
- Original Message -
I followed directions for install and config here:
http://wolfpaulus.com/journal/mac/tomcat7
and here:
http://www.janhellevik.no/blog/?p=323
When attempting to start Tomcat I get the following error…. ( I've
googled the _ _ it out of this error and can't
You are likely getting the same error in both cases. Just that in the first
case you can see the error on the console.
In the second case it's just going to a log file.
It could be a bad download/unzip/permission error.
Make sure you have JAVA_HOME defined (maybe in your ~/.profile )
Oz
On
Chris,
First, thanks again for your help. I appreciate it.
To answer your questions:
Where did you configure this? Which webapp's web.xml?
In the ROOT context (/). I'm on Ubuntu 10.04 with defaults,
so /var/lib/tomcat6/webapps/ROOT/WEB-INF/web.xml
Yes, the longest match should win.
We keep
On 6/19/2012 11:23 AM, Tim Watts wrote:
I have send mail servlet, which looks something like below,
protected void doPost(HttpServletRequest request, HttpServletResponse
response) throws ServletException, IOException {
String emailRecipient = request.getParameter(name);
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Samuel,
On 6/18/12 11:34 PM, Samuel V Green III wrote:
I followed directions for install and config here:
http://wolfpaulus.com/journal/mac/tomcat7
I use Tomcat 7.0.27 on my Mac every day. I'm not sure why you needed
an installation guide when
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Kyle,
On 6/19/12 9:26 AM, kharp...@oreillyauto.com wrote:
Where did you configure this? Which webapp's web.xml? In the ROOT
context (/). I'm on Ubuntu 10.04 with defaults, so
/var/lib/tomcat6/webapps/ROOT/WEB-INF/web.xml
Ok.
Yes, the longest
On 19 Jun 2012, at 06:24, Kiran Badi ki...@poonam.org wrote:
Hi All,
I have send mail servlet, which looks something like below,
protected void doPost(HttpServletRequest request, HttpServletResponse
response) throws ServletException, IOException {
String emailRecipient =
On 19/06/2012 06:04, Terence M. Bandoian wrote:
On 1:59 PM, Miguel González Castaños wrote:
I know, but how do I know how much ram to assign in a 64 bits jdk? We
are planning to move to a bigger server (hopefully 16 or 32 gb).
Miguel
16 or 32 GB? Is this a medical image processing system?
Finally getting back to this.
This does not work. If I include the executions section, then the url
reverts back to the default http://localhost:8080 suggesting that it is not
even using the configurations embedded in the executions section.
It only seems to work if I create separate
On 19/06/2012 02:47, Christopher Schultz wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Miguel,
On 6/18/12 6:34 PM, Miguel González Castaños wrote:
[H]ow do I know how much ram to assign in a 64 bits jdk? We are
planning to move to a bigger server (hopefully 16 or 32 gb).
Nobody can
Hello Chris,
No, the webapp is selected first, then the path is trimmed (if
necessary) and then the longest-match wins when matching against
url-patterns configured in that webapp's web.xml.
...
Sorry, longest match wins for URI matching once the webapp has been
selected.
Makes sense. I
On 6/19/2012 9:55 PM, Pid * wrote:
Unfortunately you've completely omitted the code for setting the
session object, so we can only guess why it's not working.
Yup Pid, I realized it later on when Tim highlighted it.Its fixed
now.Thanks I am able to send mail comfortably.
if you followed the instructions provided by your CA who would've provided a
package containing all necessary components
what are the components available in the CA provided package?
did you install *each* component as suggested by CA?
did you verify the ldap credentials have not changed after
*resending this to group, as it has been about 3 hours and isn't showing up
yet on list*
Hello Chris,
No, the webapp is selected first, then the path is trimmed (if
necessary) and then the longest-match wins when matching against
url-patterns configured in that webapp's web.xml.
...
Sorry,
- Original Message -
From: Kiran Badi ki...@poonam.org
To: users@tomcat.apache.org
Cc:
Sent: Tuesday, June 19, 2012 7:40 AM
Subject: Re: Javamail exception in tomcat 7.0.11
On 6/19/2012 11:23 AM, Tim Watts wrote:
I have send mail servlet, which looks something like below,
On 19/06/2012 18:55, S Ahmed wrote:
Where is the source for the jdbc pool? Can't seem to find it here:
https://github.com/apache/tomcat70
http://svn.apache.org/viewvc/tomcat/trunk/modules/jdbc-pool/
The canonical version of the source code for an ASF project will always
be on ASF hardware.
In my experience, shutdown.sh has never worked reliably on AS/400, and
I don't know why, or even understand enough about how it works (or
enough about shell scripts) to troubleshoot it.
Can somebody shed some light on it?
--
JHHL
In my experience, Tomcat's shutdown.sh has never worked reliably on
AS/400, and I don't know why, or even understand enough about how it
works (or enough about shell scripts) to troubleshoot it.
Here's the script. I can tell that it eventually transfers control to
catalina.sh (which is also
James Lampert wrote:
In my experience, Tomcat's shutdown.sh has never worked reliably on
AS/400, and I don't know why, or even understand enough about how it
works (or enough about shell scripts) to troubleshoot it.
Here's the script. I can tell that it eventually transfers control to
. . . and when I looked back at the box I was testing, Tomcat *had*
finally shut down. And when I ran both the start and stop scripts this
time, the stop script worked perfectly (and promptly).
Weird. Why would the shutdown take so long as to give the impression it
had failed entirely, then
Javed
I don't know why you are invalidating the session when you log *in.* I said
to invalidate it to log *out*.
EJP
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail:
James Lampert wrote:
. . . and when I looked back at the box I was testing, Tomcat *had*
finally shut down. And when I ran both the start and stop scripts this
time, the stop script worked perfectly (and promptly).
Weird. Why would the shutdown take so long as to give the impression it
had
I backup and installed the 7.0.28 of Tomcat.
I used the setup as follows:
sudo ln -s /usr/local/apache-tomcat-7.0.28/ /Library/Tomcat
sudo chown -R myusername /Library/Tomcat
issued command export Catalina_HOME=/Library/Tomcat
upon issue of : /Library/Tomcat/bin/startup.sh
get the following
Yup done this Sharon.Thanks
On 6/19/2012 2:03 PM, Sharon Prober (sprober) wrote:
You could always position your jsp's inside the WEB-INF dir
This will enable you to access them only through server redirects rather
than absolute url's
Sharon
-Original Message-
From: Kiran
On 6/19/2012 11:09 PM, Mark Eggers wrote:
If I remember correctly, you're using NetBeans. There are at least two ways of
removing the JAR from the packaging without impacting your project.
If you're using the NetBeans standard build mechanism:
1. Go to Project-Properties-Libraries
2. Uncheck
From: Samuel V Green III [mailto:macun...@gmail.com]
Subject: Re: apache-tomcat-7.0.27 start up errors on Mac OX Lion
issued command export Catalina_HOME=/Library/Tomcat
That's not useful (or necessary). The variable name is CATALINA_HOME, not
Catalina_HOME (case matters).
Using
java -version
java version 1.6.0_33
Java(TM) SE Runtime Environment (build 1.6.0_33-b03-424-11M3720)
Java HotSpot(TM) 64-Bit Server VM (build 20.8-b03-424, mixed mode)
Thanks Charles !
Samuel.
On Jun 19, 2012, at 6:09 PM, Caldarale, Charles R wrote:
From: Samuel V Green III
From: Samuel V Green III [mailto:macun...@gmail.com]
Subject: Re: apache-tomcat-7.0.27 start up errors on Mac OX Lion
Java(TM) SE Runtime Environment (build 1.6.0_33-b03-424-11M3720)
Java HotSpot(TM) 64-Bit Server VM (build 20.8-b03-424, mixed mode)
That looks quite reasonable. Can you
/System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Home
Not sure?
I have sub directories:
bin bundle lib man
the install of tomcat at /usr/local is listed user root and owner wheel
The permissions at the symbolic link of /Library/Tomcat are user myusr name
and owner
I was trying to follow the instructions here:
http://wolfpaulus.com/journal/mac/tomcat7
where it mentions Change ownership of the /Libaray/Tomcat folder hierarchy:
sudo chown -R your_username /Library/Tomcat
So I'm wondering if I need to change chown the /usr/local/tomcatversion
directory to
From: Samuel V Green III [mailto:macun...@gmail.com]
Subject: Re: apache-tomcat-7.0.27 start up errors on Mac OX Lion
I was trying to follow the instructions here:
http://wolfpaulus.com/journal/mac/tomcat7
I would strongly recommend (as did Chris) that you _not_ follow someone else's
Ooops, I could not explain. Sorry for mess...
I am invalidating in logout only **not** in login.
Once I click on logout, I invalidate. Then I redirect to login page. Then
if I try to login again the foresaid error comes (error code 408).
On Wed, Jun 20, 2012 at 5:22 AM, Esmond Pitt
Ok let me try this. But in any case once I call invalidate the JAASRealm
should automatically call the LoginModule.logout(). But my log suggest that
this is not happening.
On Wed, Jun 20, 2012 at 10:07 AM, Esmond Pitt esmond.p...@bigpond.comwrote:
**
You must never redirect to the login page:
On 1:59 PM, Miguel González Castaños wrote:
On 19/06/2012 06:04, Terence M. Bandoian wrote:
On 1:59 PM, Miguel González Castaños wrote:
I know, but how do I know how much ram to assign in a 64 bits jdk?
We are planning to move to a bigger server (hopefully 16 or 32 gb).
Miguel
16 or 32
40 matches
Mail list logo