Re: Tomcat crash @ midnight - but why?

2007-09-27 Thread Franck Borel
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

Re: Filter GET and POST

2007-09-27 Thread Franck Borel
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

Re: Tomcat crash @ midnight - but why?

2007-09-27 Thread Franck Borel
.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 **

Re: Filter GET and POST

2007-09-26 Thread 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

Re: Tomcat crash @ midnight - but why?

2007-09-26 Thread Franck Borel
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

Filter GET and POST

2007-09-26 Thread Franck Borel
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

Re: Tomcat 5.5.20 Stops Responding

2007-09-26 Thread Franck Borel
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

Re: Problems with JAAS-Realm

2007-09-24 Thread Franck Borel
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

Re: Problems with JAAS-Realm

2007-09-21 Thread Franck Borel
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

Problems with JAAS-Realm

2007-09-21 Thread Franck Borel
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

Re: multiple Tomcat config question

2006-10-20 Thread Franck Borel
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]

Re: Odd problem with Java Web service deployment

2006-07-03 Thread Franck Borel
> 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.

Re: Out of Memory Error

2006-06-27 Thread Franck Borel
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]

Re: settingheap sizes for JVM in tomcat

2006-05-19 Thread Franck Borel
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

Re: Using mod_jk?

2006-05-18 Thread Franck Borel
also..: http://www.domain.no/webapp >> >> >> Is that possible? >> >> >> Regards, >> >> BTJ >> >> > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For ad

Re: error page

2006-05-18 Thread Franck Borel
> > 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

Re: Newbie: Deploying .war file, getting it working with MySQL

2006-05-08 Thread Franck Borel
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

Re: Newbie: Deploying .war file, getting it working with MySQL

2006-05-08 Thread Franck Borel
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

Re: Newbie: Deploying .war file, getting it working with MySQL

2006-05-08 Thread Franck Borel
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-...

Re: Newbie: Deploying .war file, getting it working with MySQL

2006-05-08 Thread Franck Borel
ionName="root" connectionPassword="ROOT_PASSWORD" > userTable="users" userNameCol="user_name" > userCredCol="user_pass" > userRoleTable="user_roles" roleNameCol="role_name" /> > > > > -

Re: SSL enabled and trying to open the port 8443 wit h the browser and nothing happend

2006-05-07 Thread Franck Borel
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

Re: Servlet and Tomcat question

2006-04-28 Thread Franck Borel
-- 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

Re: RE Tomcat and SSL

2006-04-13 Thread Franck Borel
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]

Re: RE Tomcat and SSL

2006-04-13 Thread Franck Borel
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

Re: RE Tomcat and SSL

2006-04-13 Thread Franck Borel
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...

Re: R: R: Form Authentication against JNDI Datasource Realm

2006-04-13 Thread Franck Borel
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

Re: RE Tomcat and SSL

2006-04-13 Thread Franck Borel
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

Re: RE Tomcat and SSL

2006-04-12 Thread Franck Borel
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

Re: R: Form Authentication against JNDI Datasource Realm

2006-04-12 Thread Franck Borel
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"

Re: RE Tomcat and SSL

2006-04-12 Thread Franck Borel
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

Re: RE Tomcat and SSL

2006-04-12 Thread Franck Borel
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

Re: Form Authentication against JNDI Datasource Realm

2006-04-12 Thread Franck Borel
-------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Dipl.-

Re: RE Tomcat and SSL

2006-04-12 Thread Franck Borel
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

Re: cannot connect to localhost:8080 (jsvc -user tomcat ...)

2006-04-11 Thread Franck Borel
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:

Re: Error on Startup.

2006-04-10 Thread Franck Borel
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

Re: Apache and Tomcat

2006-04-10 Thread Franck Borel
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

Re: Apache and Tomcat

2006-04-10 Thread Franck Borel
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

Re: How do disable session in tomcat 5.5?

2006-04-07 Thread Franck Borel
p Best regards /David - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- ======== Dipl.-Hyd. Franck Borel Universitaetsbibliothek Freiburg EM

Re: JAAS Realm Help

2006-04-06 Thread Franck Borel
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

Re: getsession if you know the id?

2006-04-03 Thread Franck Borel
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

Re: is it possible to determin the requested resource when using realm authentication?

2006-04-03 Thread Franck Borel
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?

Re: HTTP 404

2006-03-29 Thread Franck Borel
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

Re: First time with Tomcat

2006-03-29 Thread Franck Borel
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

Re: First time with Tomcat

2006-03-27 Thread Franck Borel
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

Re: Problem with filter

2006-03-09 Thread Franck Borel
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

Problem with filter

2006-03-09 Thread Franck Borel
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

Re: eclipse and tomcat deployment

2006-03-08 Thread Franck Borel
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

Re: j_security_check and JAAS => GOOD or BAD ?

2006-02-28 Thread Franck Borel
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

Loosing Session-ID with JAAS

2006-02-21 Thread Franck Borel
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

Re: Callback (JAAS)

2006-02-06 Thread Franck Borel
> 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:|