Re: java.library.path / Unsatisfied Link Error problem with Linux Tomcat 5.5

2007-12-06 Thread Lionel Crine
Hello, I had a similar problem, did a try a chmod 755 ? David Marshall wrote: I'm not doing a System.loadLibrary. The library is needed by a third-party jar that I am using. SInce it works from within Eclipse I know that their jar and the shared object (.so file) work correctly together

Re: Best Linux distribution

2007-11-18 Thread Lionel Crine
Hi Steve, CentOs had troubles with Dell blade video card and ACPI functions. Sorry, I can't be more precise because it was quite a time ago. Maybe, the problem was around dell server...isn't it!! Steve Ochani wrote: On 14 Nov 2007 at 22:58, Lionel Crine wrote: another distr

Re: Need info on IPv6 support for Tomcat in RHEL and SLES distros

2007-11-14 Thread Lionel Crine
Hi all, On Linux, IPv6 comes with the the kernel. You can either activated or not during configuration of it. This can be done since 2.4 version. So distributions with recent kernels don't have trouble with it because there are released with 2.6 kernel and with IPv6 activated by default. Be

Re: tomcat in production

2007-11-14 Thread Lionel Crine
HI, I'm wondering something. My tomcat serves static content without APR. is there a big performance increase serving static pages with APR enabled ? Thanks in advance. Lionel Peter Stavrinides wrote: Thanks for this response Gregor, I had assumed this was the case, just needed the confirmati

Re: [Realm]Error page of Digest authentication?

2007-11-14 Thread Lionel Crine
Hi, I may be wrong but did you checked there ? http://tomcat.apache.org/faq/misc.html#error Lionel zhongliang zhang wrote: Hi, I am using Tomcat JDBCRealm to authenticate the use that stored in the database(Oracle).While when I input the user name and password to log in my application,if I

Re: Tomcat5.5 roll over standard output daily

2007-11-14 Thread Lionel Crine
Hi, David is right. You have to handle this file some other ways : 1- Using logrotate (assuming you're on linux) 2- Pipe the file to cronolog, rotatelogs, ... 3- using the crontab (assuming you're on linux) The second solution may be dangerous because cronolog or rotatelogs open some descript

Re: java.awt.HeadlessException on tomcat

2007-11-14 Thread Lionel Crine
Hi, Did you look at this explanation : http://java.sun.com/j2se/1.5.0/docs/guide/awt/AWTChanges.html#headless For example, Lambda Probe displays some charts and we have to put the headless option on the JVM. Sorry to ask this, but did you put it right ? If yes, do you catch the error ? Li

Re: Best Linux distribution

2007-11-14 Thread Lionel Crine
Like everyone in here, it depends on what you want to do with your Linux It doesn't matter in which distribution you are running Tomcat and J2EE application. But I surely assure you that you shoudn't use tomcat or java packages from any distribution if you want best customization. My opinion

Re: mapping directory in Tomcat?

2007-11-14 Thread Lionel Crine
To complete the answer, you can use JNDI variables. Hassan Schroeder wrote: On 9/5/07, Angelo Chen <[EMAIL PROTECTED]> wrote: The servlet mapped directory sounds interesting, can you give me some more info about that? Not much to say; your servlet would take the pathInfo part of the URL and

Re: Tomcat freeze after some times

2007-11-14 Thread Lionel Crine
Hi, I had this situation once few years ago. I was working and I discovered that the pool was exhausted to access Oracle and the application stucked. It was really tricky to find the error because nothing indicates a problem. The explanation was this one : A dynamic query (created in java) doi

Re: random Listening port

2007-09-07 Thread Lionel Crine
inux. > > Lionel > > Caldarale, Charles R a écrit : >>> From: Lionel Crine [mailto:[EMAIL PROTECTED] >>> Subject: random Listening port >>> >>> I've installed tomcat 6.0 and I'm wondering why there is >>> random port open. >> >&g

Re: Tomcat Logging Configuration

2007-09-06 Thread Lionel Crine
Ole Ersoy a écrit : Hi, I'm trying to point the catalina handler to /var/log/apache-tomcat like by configuring the logging.properties file like this: 1catalina.org.apache.juli.FileHandler.level = FINE 1catalina.org.apache.juli.FileHandler.directory = /var/log/apache-tomcat/ 1catalina.org.ap

Re: create a keystore without user prompting

2007-09-06 Thread Lionel Crine
Hello, If you have a shell, you can use the "expect" package to catch the prompt. It may be a solution. Lionel CRINE - GROUPE LINAGORA Open Source Software Engineer Tel. : 01 58 18 68 28 - Fax : 01 58 18 68 29 www.linagora.com / www.linagora.org oj a écrit : Hi, I want to make

Re: context-param vs env-entry. Ready? Fight!

2007-09-06 Thread Lionel Crine
rtant, you'll don't have to change your java classes because the JNDI tree will stay the same. Lionel CRINE - GROUPE LINAGORA Open Source Software Engineer Tel. : 01 58 18 68 28 - Fax : 01 58 18 68 29 www.linagora.com / www.linagora.org Tim Funk a écrit : Sort of. I mean any java cl

Re: an easier way to deploy war file?

2007-09-06 Thread Lionel Crine
Peter Stavrinides a écrit : If you set up Tomcat correctly, and place all your jars in the correct places you can hot deploy the war without a restart. This works over plain http, you don't even need access to the server, all you need is a password for the manager (it's better to use a dat

Re: localhost.log vs. catalina.out

2007-09-06 Thread Lionel Crine
Hello, If I may add more information : In a production context, you should never use catalina.out to find application errors. Everything should be logged into the juli and/or log4j log files. Anyway, catalina.out will always contain non catchable errors. Lionel Lionel CRINE - GROUPE

Re: random Listening port

2007-09-04 Thread Lionel Crine
Well, good point, I think jmx is activated. I'll check that and come back to you. I'm using sun JVM 5.0 on Linux. Lionel Caldarale, Charles R a écrit : From: Lionel Crine [mailto:[EMAIL PROTECTED] Subject: random Listening port I've installed tomcat 6.0 and I'm wo

random Listening port

2007-09-04 Thread Lionel Crine
8u IPv6 13478477 TCP *:8080 (LISTEN) java5107 tomcat9u IPv6 13478507 TCP *:8009 (LISTEN) java5107 tomcat 15u IPv6 13478596 TCP *:8005 (LISTEN) Thank you in advance -- Lionel CRINE - LINAGORA Administrateur Systèmes et Réseaux Tél. : 01 58 18 68 28 – Fax : 01 5

Re: Quick Question for TomCat Gurus

2007-04-16 Thread Lionel Crine
There is many chance that the java binary is in fact a link to the real binary. If you want to change the java binary for all the distribution you can change this link. If not, as explained before, you only have to export the JAVA_HOME to the right binary. I suggest you to create setenv.sh f