Charles,
one problem could be insufficient RAM you assigned to Tomcat.
How much RAM have you set to your Tomcat?
Don't confuse physical RAM with the virtual memory sizing of the Java
heap. Having insufficient RAM on the system will only result in
excessive paging, not process termination.
Wh
Hi Christopher,
I'm not sure why you'd want to do this, since
servlets do not really distinguish between GET and POST parameters --
the API abstracts that complexity away from your code.
If I change the request from POST to GET the Servlet works. I have no
possibility to change the Servlet behi
.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Beste Grüße
Franck Borel
**
Hi Christopher,
thank you very much for your answer.
i have a problem with an application that only accept GET requests. Now,
I would like to know, if there is any possibility to write a filter, who
is able to change the method from POST to GET.
What do you mean by that? Do you just want to c
Hi Martin,
Its happened 3 times now. Always at exactly midnight. 21.09, 25.09 and
26.09.
We have VM Ware Server as the hardware - could this cause the problem?
What kind of network connection are you using? NAT or Bridge?
I have a firewall on the machine with only the HTTPS port open.
In
Hi,
i have a problem with an application that only accept GET requests. Now, I would
like to know, if there is any possibility to write a filter, who is able to
change the method from POST to GET.
I see that the FORM-Authentication could speek GET after authentication with
POST method. Is th
PROTECTED]
--
Beste Grüße
Franck Borel
**
Dipl.-Hyd. Franck BorelTelefon: +49[0]761-203 3908
Universitätsbibliothek Fax: +49[0]761-203 3987
Werthmannsplatz 2 E-Mail : [EMAIL
o not forget to set
their value back to null our you could face a case of memory leak.
Ok.
Thanks!
-- Franck
En l'instant précis du 21/09/07 13:21, Franck Borel s'exprimait en ces
termes:
Salut David,
thanks very much for your answer!
public SecurityConstraint[] findSecuri
Salut David,
thanks very much for your answer!
public SecurityConstraint[] findSecurityConstraints(Request request,
Context context) {
HttpServletRequest req = request;// catch Request
session = req.getSession(); // catch session
ipAddress = req.ge
Hi,
my problem is a bit complicate and I hope someone has enough courage to find an
answer :-).
First I try to explain what I want to do:
I am running an JAAS-Realm with FORM authentication. As known this can only
passes username and credential. Now, I was trying to pass the current IP addres
r ports like 443 or 8443 to secure your
connection, but try this only after you get some meanfull results :-).
-- Franck
--
Dipl.-Hyd. Franck Borel Universitaetsbibliothek Freiburg
EMail: [EMAIL PROTECTED]
> According to all different things I have seen on the internet they
> sometimes talks about the classpath, however even if I add explicitely
> the servlet-api.jar that is in $CATALINA_HOME/common/lib on the
> classpath inside catalina.sh or on the system classpath that does not
> change anything.
start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
--
Dipl.-Hyd. Franck Borel Universitaetsbibliothek Freiburg
EMail: [EMAIL PROTECTED]
vance
> Siddesh
>
>
>
>
> -
> Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+
> countries) for 2¢/min or less.
>
--
========
Dipl.-Hyd. Franck Borel Universitaetsb
also..: http://www.domain.no/webapp
>>
>>
>> Is that possible?
>>
>>
>> Regards,
>>
>> BTJ
>>
>>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For ad
>
> I'm trying to use the error handling mechanism described in
> http://java.sun.com/developer/EJTechTips/2003/tt0114.html.
> When an exception in thrown in JSP1 it is indeed redirected to JSP2. in JSP2
> I've put "System.out.println(exception.getMessage());" and sure enough the
> exception's m
Try this:
usernameroot
passwordROOT_PASSWORD
driverClassNamecom.mysql.jdbc.Driver
urljdbc:mysql://localhost/authority
-- Franck
> Franck Borel wrote:
>> Where did you place your Realm block?
>>
>> It must be placed inside the co
Where did you place your Realm block?
It must be placed inside the context block like this:
-- Franck
> Franck Borel wrote:
>> Have you set the entry unpackWARs true like this ?
>>
>> > appBase="webapps"
>> unpackWARs="true&quo
Have you set the entry unpackWARs true like this ?
-- Franck
> Franck Borel wrote:
>> Have you installed a mysql-connector?
>>
>> --> http://dev.mysql.com/downloads/connector/j/3.0.html
>>
>> - unpack
>> - find a file called mysql-connector-java-...
ionName="root" connectionPassword="ROOT_PASSWORD"
> userTable="users" userNameCol="user_name"
> userCredCol="user_pass"
> userRoleTable="user_roles" roleNameCol="role_name" />
>
>
>
> -
Please take a look at your log file:
/opt/tomcat/logs/catalina.out
or
C:\tomcat\logs\catalina.out
This is the first thing to do, if you have problems.
-- Franck
Hi
I enable SSL in Tomcat, creating a key creaded with
keytool and I updated my server.xml removing the
comments on the port 8443
-- Franck
--
Dipl.-Hyd. Franck Borel Universitaetsbibliothek Freiburg
EMail: [EMAIL PROTECTED] EDV-Dezernat
Tel. : +49-761 / 203-3908 Werthmannplatz 2 | Postfach 1629
Fax : +49-761 / 203-3987 7909
Does that tell you more?
Not really. But I think you must augment the debug value to 99:
Better?
-- Franck
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
ey-creation and tomcat...
Franck Borel schrieb:
Next suggestion:
Did you make the key as root? And do you start Tomcat as root?
-- Franck
Yes, in testphase, I do all pw's in low-cases...
Franck Borel schrieb:
Hi Klaus,
Good Morning Franck,
yesterday, you did a great job, trying to
Next suggestion:
Did you make the key as root? And do you start Tomcat as root?
-- Franck
Yes, in testphase, I do all pw's in low-cases...
Franck Borel schrieb:
Hi Klaus,
Good Morning Franck,
yesterday, you did a great job, trying to help me. I appreciate that!
Thanks.
But...
I'm thinking about Connector/J jar file.. but it's in the right location..
(Catilina_home/common/lib/)..
I'm getting crazy and I have no IDEA!!! better to shut down and go home...
Bye
Ale
-Messaggio originale-
Da: Franck Borel [mailto:[EMAIL PROTECTED]
Inviato: mercole
Hi Klaus,
Good Morning Franck,
yesterday, you did a great job, trying to help me. I appreciate that!
Thanks.
But... I am running out of ideas. Regarding the password: presently, I
am using "changeit" for everything (just to get in running), but I
still have no success.
Yesterday, I sent an
pally used for tests.
Don't give up!
-- Franck
Klaus
Franck Borel schrieb:
Sorry to disturb you again, but all the entries in my server.xml do
not seem to be the problem.
*At present, TOMCAT states, that my .keystore was tampered or my
password was incorrect.*
But I did everythin
C:\tomcat\logs\catalina.out
So after that..it seems to me that "Context" Realm configuration DO NOT
override parent (Engine) configuration but.. isn't it incorrect, is it? but
Tomcat Guide said that a configuration will be in use "UNLESS OVERRIDEN IN
CHILD ELEMENT"
rver.xml:
This should work.
-- Franck
Franck Borel schrieb:
Hi Klaus,
Hi Franck,
thank you for your hint. But I am not sure, which parameter is which
file.
To make things clear, here my procedure:
> opens
Hi Klaus,
Hi Franck,
thank you for your hint. But I am not sure, which parameter is which
file.
To make things clear, here my procedure:
> openssl req -x509 -newkey rsa:512 -keyout ./demoCA/private/cakey.pem
-out ./dem
--------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Dipl.-
Hi,
I solved that problem. Now running in a new one:
I have changed the file server.xml and set port 8080 to 80.
I uncommented the SSL section and configured the port to 443. Now I
expect Tomcat to run on port 80 (what is does), and that, when I call
the same URL with "https", that it calls
ds, e-mail: [EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
====
Dipl.-Hyd. Franck Borel Universitaetsbibliothek Freiburg
EMail:
I'm getting following error whenever i try to start the tomcat
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/catalina/startup/Bootstrap
Sounds like your Tomcat can't find your JDK. Have you set the PATH and
JAVA_HOME environmen variable?
Try:
root# echo $JA
On Mon, April 10, 2006 9:59 am, Franck Borel said:
The Apache Web Server and mod_jk are written in C++
Small detail, they are both written in C.
Small ;-))!
Another detail about mod_jk 1.2 web server connector for
Tomcat: Only the web server connector source is included. The
Hi ALL
Apache is a Standalone Web Server
Tomcat is a Standalone Application Server
Tomcat is a Servlet-Container/JSP! If you need an application Server,
use JBoss or Geronimo instead.
In case of Tomcat its actually a Servlet/JSP Container
so programs written in JSP or Servlets can be hoste
p
Best regards
/David
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
========
Dipl.-Hyd. Franck Borel Universitaetsbibliothek Freiburg
EM
Information about JAAS can be faound at:
http://www.JAASbook.com
Hi,
Trying to get a custom login through a JAAS
LoginModule.
Got the authentication to work (confirmed thru
println()), but get back a HTTP
unauthorized error in the browser.
Gets to the commit() of LoginModule, where I add
a "P
If you know the id of a session is there anyway to get it out of the
application?
Sorry, this is to vague to know what you are doing. Which application
do mean?
-- Franck
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
Hi Jay,
I believe that I already know the answer to this. But, if possible,
it would be nice to have some confirmation.
I have an application that uses JAASRealm for authentication. Within
my LoginModule class, is it possible to determine which resource the
user is currently trying to access?
Hello Vikas,
look at your login.jsp. There is an entry like this:
..
...
Be sure that you there is only "j_security_check" in the action field.
This is calling the Tomcat authentication valve and you don't need any
directory information.
-- Franck
> Hi
>
> HTTP Status 404 - /Control_center/j
side.
Now, restart the Apache and the Tomcat and try to get a jsp web page.
Is it now working?
- Franck
> Jean-François Lebeau
>
> >From: Franck Borel <[EMAIL PROTECTED]>
> >Reply-To: "Tomcat Users List"
> >To: Tomcat Users List
> >Subj
Hi Jean-Francois,
in fact that is the most stable version.
> Thanks Konstantin, 1) is now fixed. Is the 5.15 the most stable 5.x version?
>
> And my 2) Could a config issue prevent another PC from connecting or I
> should look for a "firewall and the like" issue ?
As I understand you use Apach
Hi Markus,
thank you very much. Who is able to read has some advantages :-).
Ok, this resovle my problem and now it works.
Greetings
- Franck
> Franck Borel wrote:
> > Hi all,
> >
> > I am using tomcat 5.5 and I am trying to implement a filter.
> > Now, I have
Hi all,
I am using tomcat 5.5 and I am trying to implement a filter.
Now, I have setted the xmlValidation to "true". This causing some
strange sax errors:
-
2006-03-08 16:47:27,324 [main] ERROR
org.apache.commons.digester.Digester - Parse Error at line
Hi azri,
what do you mean wih running your project? Did you mean, that you have
problems creating a new tomcat project? Sysdeo is not compatible with
the eclipse version 3.2M2-3.2M4. Perhaps there are similar problems with
your eclipse version.
Best regards
- Franck
> Hi everybody,
>
> I am us
Hi Vinc,
> Hello,
> When I look all the JAAS example, I see that you have to use the
following code to use the LoginModule, etc...
> LoginContext lc = new LoginContext("MyExample");
> try {
> lc.login();
> } catch (LoginException) {
> // Authentication failed.
> }
> Th
Hi,
I would like to forward error messages from the Login-Module (JAAS) to
my login-error.jsp site. To do this I create a own JAASRealm class that
override SecurityContraint method. In this method I placed a
this.request = request, so that I can use request.getSession.getID() and
request.getSessio
> According to the Tomcat User Guide, only two callbacks are supported:
> NameCallback and PasswordCallback. I have an app that has to have
> another call back: ClientCallback. In other words my login window looks
> like this:
>
> Clietn : ||
> User:||
> Password:|
50 matches
Mail list logo