Re: 1 jakarta server + multiple ip's

2005-08-02 Thread delbd
Virtual hosting is done based on the host: header send by browser to the server, as part of the request, based on HTTP/1.1 protocol. Le Mardi 2 Août 2005 13:36, [EMAIL PROTECTED] a écrit : Hello, I'm configuring a tomcat-server and the server has multiple ip's. I would like to setup

Re: Silent runtime replace of a class

2005-07-05 Thread delbd
This is tricky. Concerning jsp, you can simply replace old jsp with new one, they'll get recompiled. But what do you mean by replacing a class without affecting user work? This is practically impossible to do, because you can't change the class of an existing instance, all you can do is load

Re: No more than 500 threads on Windows 2003?

2005-07-01 Thread delbd
with Tomcat 5.0.28+JDK1.4.2 and Tomcat 5.5.9+JDK1.5.0 while my (somewhat slower) notebook can do 800+ threads with Debian and 5.0.28+1.4.2 without problems. Seems to me like a Windows problem, but I can't find anything in the docs nor via Google.. ;-( Windows sucks.. -- Michael delbd

Re: No more than 500 threads on Windows 2003?

2005-07-01 Thread delbd
Kleinhenz a écrit : as far as I know, the concept of green and native threads only applies to Unix systems...? -- Michael On Fri, Jul 01, 2005 at 10:44:38AM +0200, delbd wrote: Maybe you could switch the jvm to green threads ? Le Vendredi 1 Juillet 2005 09:57, Michael Kleinhenz

Re: No more than 500 threads on Windows 2003?

2005-06-30 Thread delbd
Just by curiosity, does it have something like '511 Threads is ok but 512 fails?' :D Le Jeudi 30 Juin 2005 15:09, Michael Kleinhenz a écrit : Hi, I'm currently integrating a SOAP-based middleware on Tomcat (5.5.9) with Sun JDK 1.5.0_02 and get into problems when using maxThreads with a

Re: http session lost between struts action

2005-06-27 Thread delbd
Don't know if it is related, but a note on an issue in session tracking we got here (an how we soluced it) We got the following scenario: 1) someone get a link to a struts form in an email 2) He get to the page by clicking on link 3) The page is in a 'secure' area, meaning he gets a popup from

Re: Unable to get Console in Solaris

2005-06-27 Thread delbd
Like for other unixes: tail -f logs/catalina.out Le Lundi 27 Juin 2005 17:07, Sharath Srivatsa a écrit : Hi, I have loaded Apache Tomcat 4.1 on Solaris machine. After I use the startup.sh script,Iam not getting the console. Can anyone tell me hoe do i get the

security role 'any'?

2005-06-14 Thread delbd
Hello, In a security-contraint section of my web.xml, i'll like to state that any authentified user is allowed to access, no matter his role. I search the net and found suggestion about using auth-constraint role-name*/role-name /auth-constraint or

Re: Tomcat memory question

2005-06-14 Thread delbd
I think struts would not support gracefully to be put in common/lib Le Mardi 14 Juin 2005 11:46, Charl Gerber a écrit : The webapps are small: the actuall jars are about 2MB. Traffic is relative lowkey, a few thousand hits per day AT MOST (more likely less). Each .war at the moment has its

Re: [Q] when to share jars

2005-06-14 Thread delbd
The best place to search for this info is in the library website. You found the problem of log4j by trail / error? if you had read the log4j doc, it's written explicitly, do not put log4j in the shared lib of your container or you won't be able to have a different config per webapp. For

Re: Tomcat memory question

2005-06-14 Thread delbd
As you may never know where the Error occured, it may be some tools of the webapp are left in an unconsistent state (transactions not closed, inconsistent session, jsp not compiled and so on). So restarting is probably needed. Le Mardi 14 Juin 2005 11:49, Charl Gerber a écrit : If Tomcat does

Re: [Q] when to share jars

2005-06-14 Thread delbd
Then put those libs in WEB-INF/lib too Le Mardi 14 Juin 2005 14:31, teknokrat a écrit : Charl Gerber wrote: When do you share jars (struts, log4j, jstl, etc) for webapps in the common/lib directory and when does each app need its own copy of the jars? Log4j we've found by trail and

Re: high cpu usage during xslt processing (resending)

2005-06-09 Thread delbd
Dunno for windows, but CPU usage for tomcat on linux is always 100% of available CPU time when serving any kind of request. This is the case for any application (tomcat or other) because this is the way process management is done in the OS (any application get 100% CPU when requesting it if the

Re: Importing user-defined class in a JSP page

2005-06-09 Thread delbd
Supposing your class looks like the following: package com.mycompany.mywebapp public class MyClass { } then you need the following import directive %@ page import=com.mycompany.mywebapp.MyClass% or %@ page import=com.mycompany.mywebapp.*% Please note, i see you have your error at line 85,

Re: adding new virtual hosts without restart?

2005-06-08 Thread delbd
If you add virtual hosts using the tomcat admin interface and hit the commit button on top after all changes, you do not have to issue a bin/shutdown.sh and a bin/startup.sh. However, the catalina engine is restarted and so are all webapps in it. Le Mercredi 8 Juin 2005 14:39, Thomas Corte a

Realm implemenation, passing additionnal informations to webapplication

2005-06-06 Thread delbd
Hello, I had to write my own realm implementation to authenticate users. Now am faced with a problem, this realm contains additionnal datas on the user, like email, fullname, office telephone number. I'd like to pass this informations to the webapplication, however am not sure how to do this. I

Re: Realm implemenation, passing additionnal informations to webapplication

2005-06-06 Thread delbd
Thanks for quick answer Peter. Le Lundi 6 Juin 2005 11:43, Peter Crowther a écrit : From: delbd [mailto:[EMAIL PROTECTED] I thought to create a decorator class around a Principal to store this information and do a typecasting in webapp to access additionnal informations. Or implement

Re: Realm implemenation, passing additionnal informations to webapplication

2005-06-06 Thread delbd
the webapp to also access directly the nis. Le Lundi 6 Juin 2005 12:48, QM a écrit : On Mon, Jun 06, 2005 at 11:36:11AM +0200, delbd wrote: : I had to write my own realm implementation to authenticate users. : Now am faced with a problem, this realm contains additionnal datas on the : user, like email

Re: WebappClassLoader - don't understand what's happening

2005-06-02 Thread delbd
This indeed should not happen as this would break sun specs. I would be quite surprised it it was at all possible :/ How did you conclude the webappclassloader is sharing the class between webapps in your case? Are you sure you are not mistakenly using a shared class? Not only does every

Re: WebappClassLoader - don't understand what's happening

2005-06-02 Thread delbd
here to get usefull log messages from Realms. Seems you have to modify directly the logging level in your java home, logging.properties (and setting it to debug for whole jvm is VERY verbose) Sascha -Original Message- From: delbd [mailto:[EMAIL PROTECTED] Sent: Thursday, June 02

Re: Réf. : Re: ClassNotFoundException in thread

2005-06-02 Thread delbd
is there a static initialisation code in com.nexans.statistic.client.model.send.intranet.handler.CreateFileProcedure ? or static properties whose values are taken from other methods? If anything in the static initialisation of class

Re: WebappClassLoader - don't understand what's happening

2005-06-02 Thread delbd
logging output from the WebappClassLoaderS? see messages above. ;) Sascha -Original Message- From: delbd [mailto:[EMAIL PROTECTED] Sent: Thursday, June 02, 2005 2:32 PM To: Tomcat Users List Subject: Re: WebappClassLoader - don't understand what's happening Le Jeudi 2

Re: Where are the results of a System.out.println command ?

2005-05-30 Thread delbd
In general prefer the use of a logging system in your code (commons-logging or log4j for example). Concerning System.out, i guess for linux it's the same as for Mac, the System.out is redirected to the log file (logs/catalina.out by default) Le Lundi 30 Mai 2005 10:39, Jean-Luc Douville a écrit

Re: JSP compiled files created with different users

2005-05-30 Thread delbd
tomcat does not switch user, it runs as the user who ran bin/startup.sh So tomcat will indeed attempt to write file as the user who ran it. Don't forget only way for an application to switch user at runtime is to have it setuid root, which is not the case of tomcat. Le Lundi 30 Mai 2005 13:49,

Re: Apache Integration

2005-05-30 Thread delbd
If my memory is good, tomcat is also able to act as a proxy. why not have apache forward to tomcat5 which forwards when needed to tomcat 4 (looks crazy engouh?:) Le Lundi 30 Mai 2005 14:28, [EMAIL PROTECTED] a écrit : Well, things got a bit more complicated lately. Now, my bos wants me to

Re: Are we required to move to Tomcat 5.5 in order to move to JDK 1.5

2005-05-26 Thread delbd
Exception about class file format would be encountered only if tomcat would be run on a jvm 1.4 and you deploy a war containing 1.5 compiled classes. If you run tomcat with jvm 1.5 it should be able to load classes from a war containing 1.5 compiled classes. The main problem which could arise

JNDI Realm with HP-UX passwords (DES crypt use to generate passwords)

2005-05-17 Thread delbd
Hi, i tried for 2 days to get this running but i always get errors. I did map a NIS (yellow page) password file to a JNDI Realm. This part wen quite well as far as i could tell. To authenticate users i need the realm to check against the encrypted password which are, according to HP-UX doc,

Fwd: RE: Illegal IMail List Server Command! Re: No such list! s

2005-05-17 Thread delbd
Just for info, here is answer from [EMAIL PROTECTED] about those polluting emails. Message received about 18 hours ago. -- Message transmis -- Subject: RE: Illegal IMail List Server Command! Re: No such list! s Date: Lundi 16 Mai 2005 14:59 From: New Atlanta List Admin [EMAIL

Combining several Realms together

2005-05-13 Thread delbd
Hello everyone, Can somebody enlight me on the faisability of this in tomcat configuration - Have user list and user password checked against a JNDI Realm (this is a nis mapped jndi realm) - Have user roles checked against another Realm (eg: database realm) Why this strange thing? We have a