Re: heap size in tomcat 5.0

2005-09-24 Thread Leon Rosenberg
bin\catalina.bat actually in all versions of tomcat :-) regards Leon On 9/24/05, matador [EMAIL PROTECTED] wrote: win2k server tomcat 5.0.x how to set heap size (min max)? i know how to do it in tomcat 5.5, but wasnt sure which script controlled the JAVA_OPTS in 5.0 thx

Re: force reload of individual class files

2005-09-24 Thread Leon Rosenberg
I think this is best solution. Imagine you have class A and class B. B holds an instance of A. Now you force B to be reloaded. Should A be reloaded too? What happens with the instance of A in B? Is it duplicated? C is holding an instance of B, so must C be reloaded (and all existing objects which

Re: Registering my own protocol in Tomcat

2005-09-24 Thread Leon Rosenberg
What you need is a connector. I never looked how tomcat finds the proper connector, but it's surely configurable or, if not, easy patchable. Look at the server.xml connector configuration part and take a look at the source code :-) regards Leon On 9/22/05, Martin Peter [EMAIL PROTECTED] wrote:

Re: force reload of individual class files

2005-09-24 Thread matador
Leon Rosenberg [EMAIL PROTECTED] wrote in news:[EMAIL PROTECTED]: You don't need to restart the server to get your changes live, you can force it to reload the whole application, which, in case of tomcat, your users wouldn't even notice (as long as ALL your beans in session are

Re: force reload of individual class files

2005-09-24 Thread Mark Thomas
matador wrote: Leon Rosenberg [EMAIL PROTECTED] wrote in news:[EMAIL PROTECTED]: You don't need to restart the server to get your changes live, you can force it to reload the whole application, which, in case of tomcat, your users wouldn't even notice (as long as ALL your beans in session

Re: How to limit the size of TOMCATs stdout file

2005-09-24 Thread Tim Funk
Tomcat doesn't explicitly log to standard output. The underlying logging mechanism does. The docs and faq talk about how to configure logging so standard out is not used. -Tim Leon Rosenberg wrote: actually tomcat spams a lot in the catalina.out, this is my favorite: [EMAIL PROTECTED]:

Re: heap size in tomcat 5.0

2005-09-24 Thread matador
Leon Rosenberg [EMAIL PROTECTED] wrote in news:[EMAIL PROTECTED]: bin\catalina.bat actually in all versions of tomcat :-) regards Leon cool thanks. i assume that if you run it as a windows service then the JAVA_OPTS are still picked up from there? well i dont think that if you

Re: CGI difficulty, binmode(STDIN) not working in FileUpload

2005-09-24 Thread Mark Thomas
Ron Cozad wrote: I have a form input on a html page that does a file upload. I am only getting the first 3k of an upload file. If the file is less than 3k, the multipart boundaries are structured properly, otherwise, I never get the end of the file or the ending boundary. I did

Re: Generic Types support in Tomcat?

2005-09-24 Thread Seak, Teng-Fong
I've received an announcement mail telling that 5.5.12 is in alpha phase! So what's this story? Actually, I'm more interested in using the new for loop in Java5 than using generic. Christoph Kutzinski wrote: Hi, it is only since 5.5.10 5.5.10 was already released, but it is only

Protecting applications in Tomcat using Directory Server

2005-09-24 Thread Surya Mishra
I have successfully used JNDI realm to protect my applications on Tomcat. But if Tomcat is unable to connect to the the directory server, it refuses access. I want it to use the tomcat-users list as a backup if it fails to connect to the directory. It seems if the JNDI realm is set up, the

Re: tomcat start exception

2005-09-24 Thread Bill Barker
If you add the attribute channelSocket.soLinger=-1 to your AJP/1.3 Connector element in server.xml, it should make the error go away. It's beyond me why Sun has decided to throw an exception here. Jun Zhu [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I have a Tomcat5.5.9 server

Re: Tomcat working directory

2005-09-24 Thread Bill Barker
The easiest way to to open up the nice GUI (If it isn't in the System-Tray or the Start menu, then it's usually at $CATALINA_HOME\bin\tomcat5w.exe), open the Startup tab, fill-in the Working Path box, and click 'OK'. Then restart the service. It's also possible to do this from the command