Hello,
I used JAASRealm with web-tier security-constraint setting in Tomcat5.
When I login to a protected area. It will show a login page, right?
If I input the right username and password that has the role for the
protected page, everything is ok. But if I input a correct username and
password
I define some error code with a specific error page in Tomcat 5.0.27.
But it seems not woeking. For example, I type a non-existed page. It must
show 404 .., as in the setting, it should display my error.jsp. but it
never show it . anything i missed ???
Eric
!-- error.jsp --
%@ page
Hello,
I setup two Tomcat5 in cluster mode.
If it is possible to synchronize all the application from one to another one
??
For example, I deploy a WAR in Tomcat1, it will be automatic deploy to
Tomcat2.
Or I deploy another web app in Tomcat2, Tomcat1 will be get the same app.
Eric
Hello,
When I startup Tomcat with -Djava.security.auth.login.config=mylogin.config,
I can use JAAS in JSP and Servlet.
But if I did not use the -D options, and use
System.setProperty(java.security.auth.login.config,
/somepath/mylogin.config);
It failed to locate the login module ??
You can use telnet/ssh to login to the server and restart it !!!
- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, May 31, 2004 12:19 PM
Subject: Remote Start / Stop of tomcat
Hi,
Once in a week I need to restart Tomcat due to OutofMemoryError. But
Hello,
Is there any example to use JAAS as the login mechanism in Tomcat?
In the web.xml, I set some security-constraints or roles to some specific
folder or page, if I use the Tomcat's UserDatabaseRealm, with
j_security_check, in the JSP form, it works fine.
Is it possible to use JAAS (client
Hello,
I can configure Tomcat5 to support SSL, if I make the Tomcat5 as a stand
alone server.
But now I want to use Apache + JK2 as the Load Balance media.
How can I also allow the Apache to pass all the .jsp to be handled by Tomcat
in HTTPS mode?
Eric
==
If you know
Hello,
I setup an environment to make two Tomcat servers in clustering and with the
Apache for Load Balance.
All the configuration is no problem. when one Tomcat crashed, it can switch
to another one.
But I wonder if the new one can keep the session attributes ?
For example,
An application
Hello,
I followed the Tomcat5 clustering document in jakarta site. But it seems not
work.
The following is the configuration in server.xml :
Tomcat1:
Cluster className=org.apache.catalina.cluster.tcp.SimpleTcpCluster
name=FilipsCluster1
debug=10
Hello,
In Tomcat, we can use container based authorization.
Those username/password information can be place in a XML files or use
DBRealm, right ?
How can I implement a login module, so that the Web Container will called my
module instead of the default login module.
For example, the
Hello,
I tried to precompiled all the JSPs before deployment.
All worked fine if those JSPs in the context root directory.
If some of the JSPs located in the /WEB-INF/?, it not worked.
Eric
==
If you know what you are doing,
it is not called RESEARCH!
in the Request/Response. You configure
it
via:
Context path=/myapp docbase=webapps/myapp
Valve className=com.myfirm.mypackage.MyAuthenticator /
/Context
Neither of these (but especially the second) plays well with the admin
webapp.
Eric Chow [EMAIL PROTECTED] wrote in message
news
Hello,
I have read the articl in onjava.com, and test the code.
It works.( http://www.onjava.com/pub/a/onjava/2002/04/03/tomcat.html )
But, if I want to support SSL, I just add the following statement.
Connector secConnector = embedded.createConnector(null, 443, true);
Hello,
Would you please to tell me how can I use clientAuth in Tomcat ?
I set the clientAuth=true in server.xml.
And it just Page Display not found.
How can I do ?
I created a keystore(tomcat.ks) for Tomcat using SSL, and another keystore(client.ks)
for the client.
After that, I exported a
14 matches
Mail list logo