Rmi registry and Tomcat

2003-11-14 Thread mourad jaber
Hi, I'm looking for a solution to make the rmi registry load and unload in the same time of a webapp deploy/undeploy... It work for deploying, but when I try to undeploy my web app, it can't finish to undeploy, waiting for registry to die and it never dies It is the same when I stop Tomcat,

how to get WebClassLoader Classpath ?

2003-11-06 Thread mourad jaber
Hi, I need to get the classpath used by classloader of my web app... System properties don't help me, as there are not used by WebClassLoader of tomcat... How can I get it ? Any idea Thanks - To unsubscribe, e-mail: [EMAIL

Re: To Access File in Linux.

2003-09-15 Thread mourad jaber
Hi, It's not java problem. it's cohabitation between Unix world and Windows... I see 3 ways : - If it is only read access you need, you can try to use http server - Use ftp and you can use some common-net classes to use it in java. - Install samba on your AIX and mount share directory on your

Re: Hardware and Memory Requirements

2003-08-14 Thread mourad jaber
There are no clear responses depending usage of tomcat ! As a production plateform ( linux ), I'm using P4 2.4G with 1Go of ram and as I'm using a data base on an other machine I don't take care of the disk size but i't mirrored 18Go SCSI... As my dev plateform( linux ) is P3 1Go/512Mo of Ram

Servlet seem to be call 2 times

2003-07-31 Thread mourad jaber
Hi, I'm very surprised by a strange thing happen with Tomcat 4.1.24 on Linux, when I test my webapp with mozilla, konqueror, it work well, but with micro$oft ie6 sp1 it seem to call 2 times the servlet when the output is binary content ( pdf, rtf... ). After testing more precisely, it appear

Again... cannot completely shutdown tomcat with embeded RMIRegistery

2003-07-23 Thread mourad jaber
Hi, I have a shutdown pb with tomcat4.1.24rpm ( linux kernel 2.4.21 and j2se1.4.2 ) since I'm using rmiregistery... To force RmiRegistery to unload, I implement a loop to empty completely the registery by unbinding bound objects and I try to unexport all objects I can I read the content of

using java 1.4 assert

2003-07-22 Thread mourad jaber
Hi, Is it possible to enable assert into tomcat ? Thanks Mourad - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

tomcat stop does not kill all processes

2003-06-27 Thread mourad jaber
Hi, I'm using tomcat 4.1.24rpm but I have the same pb with binary installation under linux ( 2.4.21 ) jdk 1.4.1_03. When I shutdown tomcat, it log that the standalone tomcat is down but all processes stay in memory and if I restart tomcat there are more processes I must kill then all if I want

Re: tomcat stop does not kill all processes

2003-06-27 Thread mourad jaber
I'm using Rmi with an encapsulated rmiregistery but I don't know how to stop it. Shapira, Yoav wrote: Howdy, Do your applications start any non-daemon threads? Yoav Shapira Millennium ChemInformatics -Original Message- From: mourad jaber [mailto:[EMAIL PROTECTED] Sent: Friday

Re: tomcat stop does not kill all processes

2003-06-27 Thread mourad jaber
I start it with LocateRegistery.createRegistery(1099) and Registery interface and LocateRegistery haven't got any close or destroy and any method to stop the RmiRegistery ! Have you got an idea about it ? Thanks a lot Mourad Shapira, Yoav wrote: Howdy, Well, how are you starting the registry?

Strange error

2003-06-10 Thread mourad jaber
I'm using massively rmi into my web app but when i unload my web app I get : WebappClassLoader: Lifecycle error : CL stopped java.rmi.UnmarshalException: Error unmarshaling return; nested exception is: java.lang.ClassNotFoundException: java.lang.StackTraceElement (no security manager: RMI

Serialization pb

2003-06-06 Thread mourad jaber
Hello, I've got a strange pb with serialization... I create a class containing a vector containe pair of String ( the key ) and Serializable ( the value ). As a Map, but simpler. I test it with standalone server and standalone client, containing several serializable object, and could get my data

jar ressource pb

2003-06-05 Thread mourad jaber
Hi, I'm trying to understand the folowing problem : I've got some xml files into the jar file of my webapp. when I use a stand alone java application to retreive that ressource by using ClassLoader.getSystemClassLoader().getResource(myfile.xml) it works... but it doesn't work any more ( I get

Re: jar ressource pb [solved]

2003-06-05 Thread mourad jaber
I reply myself, because I just find the solution by using : this.getClass().getClassLoader().getResource(myFile.xml) mourad jaber wrote: Hi, I'm trying to understand the folowing problem : I've got some xml files into the jar file of my webapp. when I use a stand alone java application