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 Session.invalidat
On Tue, 2012-06-19 at 10:54 +0530, Kiran Badi 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 = request.ge
On 6/19/2012 10:22 AM, Tim Watts wrote:
Hopefully, you're trying to use or move toward the MVC (Model, View,
Controller) pattern. If not, you should. Google "MVC design pattern".
There are many, many frameworks that will make this easier for you (once
you learn them): Struts, Spring MVC...
If
Hi All,
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");
// String emailRecipient = "xxx";
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 second argument, which are
also the only two metho
On Tue, 2012-06-19 at 08:48 +0530, Kiran Badi wrote:
> No its not returning source code.I have couple of jsps where in I use EL
> in those to access session objects and directly accessing those jsps is
> not something I want.
Good move.
> >> 2. Is their any extra setting that is required if I
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? A control
system for a space flight? Sorry for
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 find a fix.
sudo $CATALINA_HOME/bin/cat
On 6/19/2012 8:03 AM, Tim Watts wrote:
Hi Kiran,
On Tue, 2012-06-19 at 05:40 +0530, Kiran Badi wrote:
Hi All,
I need your guidance again.I have bunch of JSP's close to 100+ which I
need to protect it from direct access.
By "direct access" do you mean that http://host/myapp/sample.jsp is
retu
Hi Kiran,
On Tue, 2012-06-19 at 05:40 +0530, Kiran Badi wrote:
> Hi All,
>
> I need your guidance again.I have bunch of JSP's close to 100+ which I
> need to protect it from direct access.
>
By "direct access" do you mean that http://host/myapp/sample.jsp is
returning the JSP source code rather
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Martin,
On 6/18/12 7:26 PM, Martin Gainty wrote:
> Chris Hansen sugire:
>
> Thread maximum stack size 2m Initial stack is 32m Initial PermGen
> 32m Max PermGen 200m Max Heap at 367 M Allow Concurrent Mark and
> Sweep CMS ClassUnloading enabled -Xss2m
-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 tell you how big your heap needs to be: it all dep
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Kyle,
On 6/18/12 3:52 PM, kharp...@oreillyauto.com wrote:
> Thank you for the direction. I created my own servlet which loads
> without error. Here is how I've configured it:
Where did you configure this? Which webapp's web.xml?
> HttpResponseAdj
Javed
Just call Session.invalidate() or HttpServletRequest.logout(). The JAASRealm
will do the rest, and call logout() on your LoginModule. Note that you can't
assume it is the same instance of your login module, that's what all the
shared state is for.
EJP
Hi All,
I need your guidance again.I have bunch of JSP's close to 100+ which I
need to protect it from direct access.
I have this mapping in web xml and this is not working,It seems that
probably i need to define a role first and then use below settings.But
unfortunately my app is open inter
Chris Hansen sugire:
Thread maximum stack size 2m
Initial stack is 32m
Initial PermGen 32m
Max PermGen 200m
Max Heap at 367 M
Allow Concurrent Mark and Sweep
CMS ClassUnloading enabled
-Xss2m
-Xms32m
-XX:PermSize=32m
-XX:MaxPermSize=200m
-Xverify:none
-Xmx367m
-XX:+UseConcMarkSweepGC
-XX:+
Pid wrote:
On 18/06/2012 10:10, Vijaya wrote:
file=c:/tomcat-5.5.16/conf/jk2.shm
So... tomcat-5.5.16 AND jk2?
I had to blow the dust of the 5.x security page...
http://tomcat.apache.org/security-5.html#Fixed_in_Apache_Tomcat_5.5.16,_5.0.SVN
just sayin'
And no easier to find :
http://
On 18/06/2012 09:52, Konstantin Kolinko wrote:
2012/6/16 Miguel González Castaños:
Dear all,
We have a webapp under Tomcat 5.5 and jdk 1.5 32 bits under a virtual
machine of 4 Gb and a 64 bits OS.
4 Gb is memory size?
Yes
Some of you have helped me suggesting me to install Javamelody
# Java 6 settings if needed
export -s JAVA_HOME=/QOpenSys/QIBM/ProdData/JavaVM/jdk60/32bit/jre
export -s CATALINA_HOME=/wintouch/tomcat
export -s JAVA_OPTS="-Dos400.awt.native=true -Djava.awt.headless=true
-Djava.version=1.6 -Xms256m -Xmx512m"
I just tried moving them out of bin/catalina.sh and
> -Original Message-
> From: James Lampert [mailto:jam...@touchtonecorp.com]
> Sent: Monday, June 18, 2012 4:03 PM
> To: Tomcat Users List
> Subject: Re: Tomcat not starting properly on a customer's AS/400, and I have
> no idea why. Help?
>
> Found the problem:
>
> The lines
> > # Java 6
Mark Thomas wrote:
On 18/06/2012 22:02, James Lampert wrote:
Found the problem:
The lines
# Java 6 settings if
needed
export -s
JAVA_HOME=/QOpenSys/QIBM/ProdData/JavaVM/jdk60/32bit/jre
On 18/06/2012 22:02, James Lampert wrote:
> Found the problem:
>
> The lines
>> # Java 6 settings if
>> needed
>>
>> export -s
>> JAVA_HOME=/QOpenSys/QIBM/ProdData/JavaVM/jdk60/32bit/jre
>>
Found the problem:
The lines
# Java 6 settings if needed
export -s JAVA_HOME=/QOpenSys/QIBM/ProdData/JavaVM/jdk60/32bit/jre
export -s CATALINA_HOME=/wintouch/tomcat
On 18/06/2012 10:10, Vijaya wrote:
> file=c:/tomcat-5.5.16/conf/jk2.shm
So... tomcat-5.5.16 AND jk2?
I had to blow the dust of the 5.x security page...
http://tomcat.apache.org/security-5.html#Fixed_in_Apache_Tomcat_5.5.16,_5.0.SVN
just sayin'
p
--
[key:62590808]
signature.asc
Desc
Chris et. al.,
Thank you for the direction. I created my own servlet which loads without
error. Here is how I've configured it:
HttpResponseAdjuster
bla.bla.tomcat.ReturnNotAvailableServlet
1
HttpResponseAdjuster
/foo/*
HttpResponseAdjuster
/Testing/*
Unfortunately, when
Thanks Martin,
I am using JBoss 7.1.1 final in standalone mode and both that and Tomcat in jdk
1.7.0_05 64-bit. I am just trying to find out about the interprocess
communication response time.
Thanks,
-Tony
--- On Mon, 6/18/12, Martin Gainty wrote:
From: Martin Gainty
Subject: RE: Runnin
Tony-
JBOSS v5.1 is implementing a catalina connector whose servlet-spec is at
*LEAST* 1 full version older than the servlet-spec of that TC 7 support for
Specification-Version: 3.0
Servlet spec version for the JBOSS 5.1 connector
org.jboss.mx.server.ServerConstants interface
/*** The specifi
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Andrew,
On 6/17/12 8:45 PM, Perry, Andrew wrote:
> Try setting -XX:MaxPermSize=256m it helps with our applications,
> it might do the trick here.
Please don't just make random suggestions. This almost certainly has
nothing to do with PermGem exhausti
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Tony,
On 6/18/12 11:55 AM, Tony Anecito wrote:
> Is it possible to run Tomcat in the same jvm as JBoss and if so
> how to do that? I am using the latest versions of both and usually
> run in separate jvms but want to see if it can they can run
> toget
/QSYS.LIB/QSHELL.LIB:/QSYS.LIB/LTL38.LIB:/QSYS.LIB/ERBLIB.LIB:/QSYS.LIB/ERBQGPL.LIB:/QSYS.LIB/SEQUEL.LIB:/QSYS.LIB/SEQUELWI.LIB:/QSYS.LIB/SEQUELEX.LIB:/QSYS.LIB/ESEND.LIB:/QSYS.LIB/QTEMP.LIB:/QSYS.LIB/QGPL.LIB:/QSYS.LIB/QRPG.LIB:/QSYS.LIB/QIDU.LIB:/QSYS.LIB/TAATOOL.LIB:/QSYS.LIB/ALKWIN.LIB:/QSYS.L
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Miguel,
(Bringing this back onto the list)
On 6/17/12 5:11 AM, Miguel González Castaños wrote:
> This weekend I made a test to upgrade from 1.5 32 bits jdk to a 1.7
> 64 bits jdk. Unfortunately even I increase the heap memory to 1gb,
> the system get
Actually I am trying to keep the same exact tomcat builds so I eliminate that
as a cause for differences in my test results.
Thanks!
-Tony
--- On Mon, 6/18/12, Jose María Zaragoza wrote:
From: Jose María Zaragoza
Subject: Re: Running Tomcat in a jvm with an EJB container...
To: "Tomcat User
2012/6/18 James Lampert :
> We're attempting to bring up apache-tomcat-7.0.25.zip on a customer's
> AS/400, the same as we've done on several other AS/400s (including our own),
> and it's not working.
>
> In catalina.out, I'm seeing this:
>
>> Jun 18, 2012 11:36:23 AM org.apache.catalina.core.AprLi
We're attempting to bring up apache-tomcat-7.0.25.zip on a customer's
AS/400, the same as we've done on several other AS/400s (including our
own), and it's not working.
In catalina.out, I'm seeing this:
Jun 18, 2012 11:36:23 AM org.apache.catalina.core.AprLifecycleListener init
2012/6/18 Tony Anecito :
> Hi All,
>
> Since JBoss is usually several minor versions behind on it's embedded Tomcat
> server I usually run them in different jvms so >I can use the latest versions
> of each.
>
Are you interested on any particular feature in latest releases of
Tomcat and you canno
Hi All,
Is it possible to run Tomcat in the same jvm as JBoss and if so how to do that?
I am using the latest versions of both and usually run in separate jvms but
want to see if it can they can run together in the same jvm so I can compare
response times for both configurations. Since JBoss i
> -Original Message-
> From: Vijaya [mailto:svij...@solutionscraft.com]
> Subject: iis not looking for jsp in tomcat webapps folder
>
> The current setting is
> In IIS 6, I have the jakarta isapi filter set and the default document
> only as and nothing else;
Do you have a web service e
Vijaya,
I am not the great specialist regarding isapi_redirector for Windows, but the
configuration that you list below looks very strange to me. It does not seem to match the
configuration format for isapi_redirector, which is described here :
http://tomcat.apache.org/connectors-doc/webserv
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Assaf,
On 6/18/12 4:46 AM, Assaf Urieli wrote:
> Hi all,
>
> I solved this issue following a parallel discussion on another
> forum: http://forum.linode.com/viewtopic.php?f=19&t=8991
>
> Basically, I had IPTables firewall rules rerouting port 443 tr
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Assaf,
On 6/15/12 6:33 AM, Assaf Urieli wrote:
> So, the addresses to test are: http://www.joli-ciel.com/test.jsp
> http://www.moyshele.com/test.jsp http://178.79.152.69/test.jsp
> http://176.58.107.88/test.jsp
>
> And exactly the same four, but wi
This is what I get in the IIS log file if I login to
www.eservicebazaar.com/AtYourService URL
08:57:43 220.181.124.181 GET /index.html 304
08:59:08 59.92.208.214 GET /jakarta/isapi_redirector2.dll 500
This is what I get in the logfile if I log in as www.eservicebazaar.com
09:01:56 59.92.208.214
Hi all,
I solved this issue following a parallel discussion on another forum:
http://forum.linode.com/viewtopic.php?f=19&t=8991
Basically, I had IPTables firewall rules rerouting port 443 traffic to port
8443, and port 80 traffic to port 8080.
This is because the tomcat6 user cannot access ports
Vijaya wrote:
Thanks for the reply again Andre Warner. We reformatted our server and
installed a windows, IIS, and Tomcat all over. The problem still persists.
This is what my setting is.
Our portal URL is www.eservicebazaar.com. The class, and jsp files are
under the folder tomcat...\webapps
2012/6/16 Miguel González Castaños :
> Dear all,
>
> We have a webapp under Tomcat 5.5 and jdk 1.5 32 bits under a virtual
> machine of 4 Gb and a 64 bits OS.
4 Gb is memory size?
> Some of you have helped me suggesting me to install Javamelody and sar to
> monitor the system. Setting up heap
Hi,
Thanks for the help so far.
Now my login implementation is working. I added a context.xml file in the
META-INF folder and now those two classes are being loaded. good so far.
Now I want to implement LOGOUT. For this I have a hyperlink named "logout"
on every page. By clicking on that I suppos
45 matches
Mail list logo