Re: JNDI or LDAP services for tomcat

2004-04-16 Thread jerome moliere
Shlomi Levi wrote: Does anybody knows if Tomcat 5.0 is supplying LDAP engine? definitely NO if it does, can you direct me to the documentation? if it doesn't, does anybody know of a pluging already written? no plugin needed, use a proper JNDI context put the required library in the

Re: source code exposure

2004-02-26 Thread jerome moliere
unplug wrote: HI all, I am using Fedora Core 1 with tomcat 4.1.29, apache 2.0.48 and mod_jk2. I have created a simple jsp (code listed below) and put it under $CATALINA_HOME/webapps/examples. code: file name: test.jsp %= new java.util.Date() % It can be accessed in the browser using the

Re: Hanging tomcat processes on heavy access

2004-02-26 Thread jerome moliere
Oswald Campesato wrote: Hello, Chris: I have a couple of suggestions (but no answers). 1) you can attach to a process with the 'truss' command and monitor the read/write activity of the process. Syntax, options, and examples of truss can be had via man truss or Google Unix truss command.

Re: Viewing errors

2004-02-23 Thread jerome moliere
Leo Tomcat wrote: Hi all, I'm using Tomcat 4.0.6 and I've already installed it as a service. My problem now, is that I can't see the console that was so usefull for viewing when some exception was thrown, or just for debugging using System.out.println. I've searched the log files at

Re: Tomcat 3.3.1 vs Tomcat 4.1.29

2004-02-18 Thread jerome moliere
Ralph Einfeldt wrote: It should be contained in the tomcat distribution. But the outdated one is found before the one that is delivered with tomcat. Search for servlet.jar, j2ee.jar on your machine. (e.g. in JAVA_HOME/jre/lib/ext) humm I suspect a malicious CLASSPATH mangling... could you

Re: How to determine whether a file exist or not in a remote host by using java?

2004-02-12 Thread jerome moliere
Howdy, hi, I want to confirm if there is a file in a romote machine, How could I do using Java? what is your context ? if you use tomcat (not uncommon on this mailing list :)) you may use a servlet to enable your client to ask to do something on the web server filesystem... If you use SMB

RE: Installing tomcat 5 on BSD 5

2004-02-12 Thread jerome moliere
Bad major version numbers are result of classes compiled on 2 different version of jdk. yes you're Please upgrade you jvm and then see if it helps (preferable jdk1.4 and up). humm I guess that freebsd doesn't have a 1.4 JVM yet... so I'll suggest to recompile Tomcat on your machine

Re: POST method not working

2004-02-11 Thread jerome moliere
Hi, hi abhay, I am suing post method of sending data to servlet from a JSP page. I am unable to get the data by request.getParameter(). If I am sing get method I am able to retrieve data from JSP page Please let me know how to achieve this ? And what is the bug ? you may use the nice

Re: Apache-Tomcat integration vs Direct Tomcat

2004-01-21 Thread jerome moliere
Hi Everybody, We can deploy a web application directly into Tomcat and use itself as web server.In second case we can integrate Tomcat with any web server(Apache or Tomcat) using AJP connector. there are many others available using the in-process approach for exemple (tomcat

Re: upgrading java version

2004-01-20 Thread jerome moliere
Hello all, hi david... I looked through the list archives and the jakarta docs, but didn't find any info. What changes, if any, do i have to make to my tomcat configuration if i want to upgrade my java SDK. I would like to do this because of the verisign root certificate expiration. don't

RE: dramatic performance differences on development machines

2004-01-16 Thread jerome moliere
Hi Johan It's very suspicious that websphere runs so fast and tomcat doesn't. I think there still might be a network issue. Can you modify your server.xml as follows changing the enableLookups=false instead of enableLookups=true Connector port=80 minProcessors=5 maxProcessors=75

Re: Differences between jServ and Tomcat

2003-12-06 Thread jerome moliere
Jan Behrens wrote: Hi List, hi jan, I wonder whether anyone out there could give me some insight on the main differences between jServ and Tomcat. As far as I understand, jServ is a Servlet Engine to be included with an instance of Apache, whereas Tomcat of course can be used as a Standalone

Re: [offtopic] Architecture Question

2003-12-04 Thread jerome moliere
Laurent Michenaud wrote: Hi, Hi laurent, We have two tomcat servers. One is located at our enterprise. The other is located at our hosting provider. They can see each other by Internet. We would like to set up an unique authentification system for both server. The authentification system will

Re: TOMCAT 3.3 crash daily

2003-11-26 Thread jerome moliere
Sarel Bester wrote: Hi all I have an app running on the following config: - Windows 2000 Advanced server (Dual PIII 1GHz CPU with 4GB RAM) - IIS 5 - Tomcat 3.3 (NOT 3.3.x) - ISAPI redirector 1.2 (size = 128K) - JDK 1.3.1_09 - Oracle 8.1.7 Tomcat is locking up almost everyday. Log files show a

Re: Signal 11 causing Tomcat crash

2003-11-13 Thread jerome moliere
Jim Goodspeed wrote: Really hoping that someone might be able to help us with this. We are experiencing Signal 11 crashes on our tomcat server. We have tried almost every configuration that I can think of and we are still getting these crashes at least once a week, sometimes twice a day.

Re: Signal 11 causing Tomcat crash

2003-11-13 Thread jerome moliere
Jim Goodspeed wrote: Unfortunately we have also tried Sun's JVM and are experiencing the same Signal 11 errors (I've included two snippets of the Sun error - same error as the IBM Sig 11, just in a different format). Sometimes the dump specifies the library in question, other times it does not.

Re: How could I solve this error

2003-11-06 Thread jerome moliere
Javier wrote: I tried to run my first servlet and got this error: Hi Javier, snip trace root cause java.lang.NoClassDefFoundError: javax/servlet/http/HttpServlet java.lang.ClassLoader.defineClass0(Native Method) java.lang.ClassLoader.defineClass(Unknown Source)

Re: Tomcat 3.3 performance issues

2003-10-29 Thread jerome moliere
1) Try the IBM JVM (At least thats what many say with respect to linux) 2) http://jakarta.apache.org/tomcat/faq/unix.html#ps if license conditions are not too restrictive try to have a look to the Jrockit from BEA VMincredible fast...large spectra of options (garbage collection so on)

RE: Tomcat 3.3 performance issues

2003-10-29 Thread jerome moliere
catalina.sh?? I'm using Tomcat 3.X not 4.X. nevermind, i forget the name of script for this version (run.sh or something like size) But, what do you mean? I set heap size... -Xmx with a corresponding -Xms (equal value is a good idea)... I've already tried IBM VM and the result is almost the

Re: IIS/Tomcat tuning

2003-10-22 Thread jerome moliere
Hello, Hi Jean rene, I would like to know your feeling about the IIS/Tomcat installation. We know that Apache/Tomcat works well but what can we say about IIS/Tomcat ? Is it reliable into production systems ? good question TROLL is IIS production ready /TROLL seems to be a troll but this

Re: What LDAP servers does JNDI realm support? -

2003-10-09 Thread jerome moliere
Davi Leal wrote: jerome moliere wrote: I am trying to authenticate my webapps via a JNDI Realm, which connects to Microsoft Site Server (LDAP). :( As I am getting [LDAP: error code 2 - Protocol Error] (See below), I would like to know if that Micro$oft product is a certified

Re: MultipartRequest class with Tomcat 3.2.1

2003-10-09 Thread jerome moliere
Fausto Zorzi wrote: Hi, I have a problem using the com.oreilly.servlet.MultipartRequest class by Jason Hunter (documentation at http://www.servlets.com/cos/index.html) with Tomcat 3.2.1 and Apache 1.3.20. The configuration I'm using is the following: - RedHat 7.3 - JDK 1.4.1_01 - Apache 1.3.20 -

Re: Clustering Tomcat - Loadbalancing and Failover

2003-10-09 Thread jerome moliere
Hanasaki JiJi wrote: Hello, What is available, in Tomcat, or as an add-on, and preferably free/open-source to cluster tomcat for: load balancing fail over humm filip hanik could answer with more details (or remy maucherat) but as far as I know new Tomcat 5 code (backported to 4.1) use

Re: What LDAP servers does JNDI realm support? -

2003-10-09 Thread jerome moliere
Equipment Lamp wrote: Hi Can youguys give some input on the following. I am using the following Tomcat: 4.1.27-LE-jdk14 Apache: 2.0.47 Java : 1.4.2 Linux OS: 7.3 iPlanet LDAP Server I am trying to configure LDAP authentication mechanism to my application. 1) In this regard i have downloaded

Re: jk2 connector config to connect to multiple tomcat-jboss instances

2003-10-08 Thread jerome moliere
Boulatian, Misak wrote: Hi Jeromy, Hi misak, I am sorry. I thought my attachments made to the list. Here I am including them directly here. Please look at it and let me know if I have done anything wrong. When I point my browser to the link: http://[web-server-ip]/test1 it works. When I point

Re: JNDI: LDAP Protocol Error (Microsoft LDAP)

2003-10-08 Thread jerome moliere
David Diaz wrote: Hi all, hi david, I am trying to authenticate my webapps via a JNDI Realm, which connects to Microsoft Site Server (LDAP). :( As I am getting [LDAP: error code 2 - Protocol Error] (See below), I would like to know if that Micro$oft product is a certified LDAP server.

Re: How can I configure multiple tomcat instances in workers2.properties file (separate web apps) (to developers of mod_jk2: please respond)

2003-10-08 Thread jerome moliere
Boulatian, Misak wrote: Hi all, It seems like mod_jk2 is a buggy connector. There is no way to set up more than one instance of tomcat. It can connect on any port other than 8009 but it is a first-come first-served basis (whichever port comes first). I need a response from mod_jk2 developers

Re: jk2 connector config to connect to multiple tomcat-jboss instances

2003-10-07 Thread jerome moliere
Boulatian, Misak wrote: Hi, I am trying to setup jk2 connector on a single apache instance to connect to multiple jboss instances running on the same machine using jboss-port-bindings.xml. Based on jboss-port-bindings.xml I have three instances having the following ports for jk2 connector:

Re: jk2 connector config to connect to multiple tomcat-jboss instances

2003-10-07 Thread jerome moliere
Boulatian, Misak wrote: Hi Jerome, hi misak, do you use any load balancing mechnaism (round robin) to balance around your different ports ? to setup such thing in JK2 you should define your 3 tomcat instances (in fact jboss bundle with different port numbers) then adding one other which is

Re: Load balancing with 2xTC5, 1xIIS and jk2

2003-09-15 Thread jerome moliere
Mats Andersson wrote: How do I define two workers for load balancing in workers2.properties? There is an example for the old jk, but I can't find any for jk2. Hi mats, i'm sure that the idea is the same define 1 worker for your first TC5 1 worker for the second TC5 1 worker

Authentication strategies

2003-09-15 Thread jerome moliere
Hi all, I'd like to authenticate users on a LDAP tree (using something like the JNDIRealm) that's OK But I'd like not to have the post 401 browser POPup window but a custom form (with links for retrieving its password some other gadgets) I guess that this is not a very uncommon thing ? So i

Re: How deploy EJB on Tomcat?

2003-09-14 Thread jerome moliere
Igor Grygorov wrote: Hi Igor Does the Tomcat-IIS support deploing Enterprise Java Beans? No, sorry Can you send me information or links about it, please? No :) have a look to any EJb container : JONAS or JBOSS could be reasonable choices My 2 pieces jerome

Re: [Sundararaman] [Help me]

2003-09-01 Thread jerome moliere
Christopher Williams wrote: I would strongly advise against using the Swing timer object. Try using a java.util.Timer object instead. I use this in a servlet to perform automatic daily backups and other automated tasks. christopher is right you should not use SWING objetcts in your J2EE

Re: Unable to obtain a module (.so) for JK2 on Linux (RH9)

2003-08-30 Thread jerome moliere
Eric J. Pinnell wrote: Hi, thanks eric, JK2 should compile with just the following: ./configure --with-apxs2=/path/to/apache/bin/apxs make yes ,it should . but I still can't have this fu... module compiled It should create mod_jk2.so in the build directory tree not in the

Unable to obtain a module (.so) for JK2 on Linux (RH9)

2003-08-29 Thread jerome moliere
Hi all, i'm not sure that's the right place for such question but I'm unable for 2 days to get the compilation goes to end Everything seems to work but I don't have any so file generated... I'm using a configure with options: ./configure --with-tomcat40=/usr/local/tomcat/

Re: mod_jk load balancing with multiple apache servers

2003-08-26 Thread jerome moliere
Peter Anning wrote: Hi, I am trying to implement the following configuration: +++ Cisco Load Balancer +++ | | (http) |

mod_jk2 LVS load balancing

2003-08-26 Thread jerome moliere
Hi all, I'm about deploying a web-app in a multi-layered netword, with LVS clustering Does someone has some significant experience in such context ? problems or any other feedback greatly appreciated Cheers jerome - To

Re: Library management for Tomcat using ant

2003-03-30 Thread jerome moliere
[EMAIL PROTECTED] wrote: Hi there, I know this is more a question about ant, but maybe a tomcat user here has faced the same issue as I do when using a central lib directory for all of the JAR files in the various webapps: In the prepare task I copy the JAR files I need for my webapp into the

Re: Listing all JNDI resources available

2003-03-29 Thread jerome moliere
[EMAIL PROTECTED] wrote: Hi there, Is it somehow possible to look up all JNDI configuration values available in a servlet/context? This would be quite fine for debugging purposes, and it seems there is no function available for this, only for looking up a specific value. depending from

Http Session Replication : State of the Art

2003-03-28 Thread jerome moliere
Hi all, searching through the archives of this mailing list, like using our friend google, point me to a single web page (article on theServerSide.com) and this solution is not part from the Jakarta project (uses Javagroups + add-on library with a custom Context Manager

Re: Http Session Replication : State of the Art

2003-03-28 Thread jerome moliere
Roberts, Eric wrote: Try http://www.filip.net/tomcat-clustering.html i know this site but google ignored this page ? it uses the same component than the one I tried... Session replication is a standard feature of Tomcat 5. Oho nice news!!! I will download install the pre release soon...

Re: Problem with Session Clustering

2003-03-28 Thread jerome moliere
Filip Hanik wrote: Looks like you got some funky shit going on, yes it seems :) listener local:tcp://localhost:4001 are you running your cluster on one or two machines? for tests ,just on one machine... if it works I will bench with 2 machines... can you send your server.xml files

Re: APPLET using Text File

2003-03-28 Thread jerome moliere
Alberto A C A S Magalhães wrote: ** Este email assim como os ficheiros que possa ter em anexo são confidenciais e para uso exclusivo da pessoa ou organização para o qual foi enviado. Se recebeu este email por engano por favor

Re: best practices on rotating tomcat logs

2003-03-28 Thread jerome moliere
I am wondering if this is pretty much what other people do and if there is a better way of doing it. i just found that apache can rotate its logs with its bin/rotatelogs where you can specify the rotation interval. does tomcat have a similar functionality? i searched for rotate in Tomcat's

Re: Monitoring Tomcat

2002-04-11 Thread Jerome Moliere
At 12:18 PM 4/11/2002 +0200, you wrote: Hello, I made a search in the Tomcat User List Archive but for each message asking for some monitoring function in Tomcat, I didn't find any answer... Indeed, I would need a way to know about threads' managing I'm unsure of truly understanding your

Filter - Tomcat 4.01 Post methods

2002-03-26 Thread Jerome Moliere
Hi all, I'm using filters in Tomcat 4.01 (bundled with Jboss 2.4.4) for a while, I just faced a problem with filters applied on servlets using POST requests. All other filters applied on servlets invoking GET methods work fine, but a working filter (with some other servlets) while applied to a