Re: Setting maxThreads from outside tomcat

2009-07-31 Thread Rainer Frey
On Thursday 30 July 2009 22:44:47 Roger Powers wrote: --- On Thu, 7/30/09, Roger Powers prog...@yahoo.com wrote: From: Roger Powers prog...@yahoo.com Subject: Setting maxThreads from outside tomcat To: users@tomcat.apache.org Date: Thursday, July 30, 2009, 4:35 PM Hi, I am making

Re: Tomcat is stopped any errors

2009-07-31 Thread Lin Chun
hi chris Thanks for ur rely. The heap is before the 'crash' Before I posted I've already checked all the log files. These is no any errors in stdout neither stderr, the service was running normally, which is strange to me, and that's why I suppose it's the crash of jvm. But there no such file

Tomcat 5.5 on Windows Server 2003, HTTPS and tc-native

2009-07-31 Thread Fred Janon
Hi, I just want to share my experience installing Tomcat 5.5.23 (and also 5.5.27 from memory) on Windows Server 2003 Datacenter Edition. I installed 5.5.27 on that version of Windows by creating an instance on Amazon EC2. Tomcat worked pretty quickly on port 80. I needed to enable HTTPS so I

Re: Tomcat is stopped any errors

2009-07-31 Thread Lin Chun
it was doneTomcat was killed by OOM_killer On Fri, Jul 31, 2009 at 10:44 AM, Lin Chun franks1...@gmail.com wrote: hi chris Thanks for ur rely. The heap is before the 'crash' Before I posted I've already checked all the log files. These is no any errors in stdout neither stderr, the

JNDIRealm and roleNested

2009-07-31 Thread Payne, George (ghp5h)
I've discovered that there is apparently a fairly recent patch (3 mos old now) to JNDIRealm to allow searches for nested ldap groups, which sounds like a functionality I very much need to be able use my domino server's ldap. My question, for someone wiser in the ways of tomcat releases, is how

RE: Problem with deploying an application

2009-07-31 Thread Nikos Spanoudakis
Dear Chuck, all, The problem was resolved by installing the Java 6 JDK on my server. Thank you, Nikos -Original Message- From: Nikos Spanoudakis [mailto:ni...@science.tuc.gr] Sent: Tuesday, July 28, 2009 1:31 PM To: 'Tomcat Users List' Subject: RE: Problem with deploying an application

RE: Tomcat is stopped any errors

2009-07-31 Thread Caldarale, Charles R
From: Lin Chun [mailto:franks1...@gmail.com] Subject: Re: Tomcat is stopped any errors We run the service with Tomcat5.5+mod_jk+Apache 2 on a virtual machine (with 512m memory), If your whole VM has only 512 MB, you should not be specifying 512 MB for the Java heap - lots of other stuff

setting JVM parameters

2009-07-31 Thread dori
Hello, I am attempting to set the following JAVA_OPTS=$JAVA_OPTS -Xmx128m -Xms128m by placing it at the top of my catalina.sh file, i restart the server and check the servers JVM status in the manager app and it says the jvm memory size if 64 meg, what am i doing wrong? I am running tomcat6

RE: Tomcat 5.5 on Windows Server 2003, HTTPS and tc-native

2009-07-31 Thread Caldarale, Charles R
From: Fred Janon [mailto:fja...@gmail.com] Subject: Tomcat 5.5 on Windows Server 2003, HTTPS and tc-native I needed to enable HTTPS so I copied the SSL certificate that was used on my development machine, made the proper changes in the Tomcat config Apparently not. I found and deleted

RE: setting JVM parameters

2009-07-31 Thread Caldarale, Charles R
From: dori [mailto:dorian.cus...@googlemail.com] Subject: setting JVM parameters JAVA_OPTS=$JAVA_OPTS -Xmx128m -Xms128m by placing it at the top of my catalina.sh file Better to create a setenv.sh file with the above than to modify the Tomcat-supplied script. I am running tomcat6 (as a

Re: Tomcat 5.5 on Windows Server 2003, HTTPS and tc-native

2009-07-31 Thread Fred Janon
It looks like you have an extensive experience deploying Tomcat 5.5.x on Win XP, SBS, Enterprise and Datacenter, so maybe you can tell me where the option to use APR/tc-native is during the installation using the msi file? Just wanted to share my experience, since the same issue has popped up

RE: setting JVM parameters

2009-07-31 Thread dori
Hello, It was installed through a control panel (parellels), i start an stop by typing service tomcat6 restart at command line. Looking at the tomcat file in etc/init.d/ i see the following start() { echo Starting $APP_LONG_NAME... getpid if [ X$pid = X ] then # The

RE: setting JVM parameters

2009-07-31 Thread dori
sorry, the $WRAPPER_CONF shows me the file to edit. Thanks for your help! dori wrote: Hello, It was installed through a control panel (parellels), i start an stop by typing service tomcat6 restart at command line. Looking at the tomcat file in etc/init.d/ i see the following

RE: setting JVM parameters

2009-07-31 Thread Martin Gainty
echo before eval e.g. echo $COMMAND_LINE eval $COMMAND_LINE post back what you see from echo Martin Gainty __ Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité Diese Nachricht ist vertraulich. Sollten Sie nicht der

Newbie: CSS not taking effect

2009-07-31 Thread Roman Sokolyuk
Hi, I built a few XHTML pages for a personal website and added style with CSS. In a browser everything looks great. I converted the pages into JSP's and the style no longer registers. Here is the JSP markup: home.jsp %@ include file=header1.jsp % titleMy Site:

RE: setting JVM parameters

2009-07-31 Thread dori
hiya, ive fixed it now, see the top of my last post! thanks! mgainty wrote: echo before eval e.g. echo $COMMAND_LINE eval $COMMAND_LINE post back what you see from echo Martin Gainty __ Verzicht und Vertraulichkeitanmerkung/Note de

Re: Newbie: CSS not taking effect

2009-07-31 Thread André Warnier
Roman Sokolyuk wrote: ... header2.jsp -- link href=../../CSS/style1.css rel=stylesheet type=text/css/ ... The CSS directory is under the app context, alongside WEB-INF. Am I specifying the path to the CSS correctly? Anyone can suggest what else I may be doing wrong?

Re: Newbie: CSS not taking effect

2009-07-31 Thread Roman Sokolyuk
Thank you very much for your time. This fixed the problem. I have only one question. How does the browser determine which parts of the URL to strip? On Fri, Jul 31, 2009 at 11:07 AM, André Warnier a...@ice-sa.com wrote: Roman Sokolyuk wrote: ... header2.jsp -- link

Re: Newbie: CSS not taking effect

2009-07-31 Thread André Warnier
As an addendum : A very useful tool when dealing with issues like this one, if your are using Firefox as a browser, is an add-on like HttpFox. It allows you to access your server, and see exactly which requests are sent to the server (including the secondary ones like your stylesheet and

Re: Newbie: CSS not taking effect

2009-07-31 Thread Roman Sokolyuk
Additionally, does it follow that img elements have to refer to images located outside the WEB-INF directory (Since no content from WEB-INF can be served directly to the browser request)? Is there a way to use CSS and images from within WEB-INf so that a client wouldn't be able to get to them on

Re: Tomcat is stopped any errors

2009-07-31 Thread Lin Chun
now we add the memory to 1G with the paramertsjava.args=-Xms256m -Xmx512m -XX:MaxPermSize=256m -Dsun.rmi.dgc.client.gcInterval=360 -Dsun.rmi.dgc.server.gcInterval=360 the pb is solved optimizeit.enable=false optimizeit.hotspot=false I don't know either about this config, maybe is

Re: Newbie: CSS not taking effect

2009-07-31 Thread Konstantin Kolinko
2009/7/31 Roman Sokolyuk romsok.t...@gmail.com: I have only one question. How does the browser determine which parts of the URL to strip? http://tools.ietf.org/html/rfc3986#section-5 http://www.w3.org/TR/html401/struct/links.html#h-12.4.1 Also, if I remember correctly, unless you remove this

Re: Newbie: CSS not taking effect

2009-07-31 Thread André Warnier
Roman Sokolyuk wrote: Thank you very much for your time. This fixed the problem. I have only one question. How does the browser determine which parts of the URL to strip? It has very precise rules for that, which are probably to be found in the HTTP RFC

Re: Newbie: CSS not taking effect

2009-07-31 Thread Hassan Schroeder
On Fri, Jul 31, 2009 at 8:17 AM, Roman Sokolyukromsok.t...@gmail.com wrote: Additionally, does it follow that img elements have to refer to images located outside the WEB-INF directory (Since no content from WEB-INF can be served directly to the browser request)? Yes. Is there a way to use

Re: Newbie: CSS not taking effect

2009-07-31 Thread André Warnier
Roman Sokolyuk wrote: Additionally, does it follow that img elements have to refer to images located outside the WEB-INF directory (Since no content from WEB-INF can be served directly to the browser request)? Is there a way to use CSS and images from within WEB-INf so that a client wouldn't be

Re: Newbie: CSS not taking effect

2009-07-31 Thread David Smith
Roman Sokolyuk wrote: Additionally, does it follow that img elements have to refer to images located outside the WEB-INF directory (Since no content from WEB-INF can be served directly to the browser request)? Simple answer: Yes. More complicated: There are ways around this limitation using a

Re: Newbie: CSS not taking effect

2009-07-31 Thread David Smith
André Warnier wrote: As an addendum : A very useful tool when dealing with issues like this one, if your are using Firefox as a browser, is an add-on like HttpFox. It allows you to access your server, and see exactly which requests are sent to the server (including the secondary ones like

Re: Newbie: CSS not taking effect

2009-07-31 Thread David Smith
Roman Sokolyuk wrote: Thank you very much for your time. This fixed the problem. I have only one question. How does the browser determine which parts of the URL to strip? On Fri, Jul 31, 2009 at 11:07 AM, André Warnier a...@ice-sa.com wrote: One way to handle the paths in jsps is to

Re: Newbie: CSS not taking effect

2009-07-31 Thread Hassan Schroeder
On Fri, Jul 31, 2009 at 9:19 AM, David Smithd...@cornell.edu wrote: One way to handle the paths in jsps is to use something like ${pageContext.request.contextPath}/webapp_relative_path/to_my_resource.css. OTOH, if you use the standard taglib to wrap all your urls, e.g. a href=c:url

Re: DigestAuthenticator failure: java.sql.SQLException: Operation not allowed after ResultSet closed

2009-07-31 Thread DIGLLOYD INC
Thank you, looks like 6.0.19 should fix it, I've upgraded to that. Lloyd Lloyd Chambers http://diglloyd.com http://macperformanceguide.com/ [Mac OS X 10.5.2 Intel, Tomcat 6.0.16] On Jul 30, 2009, at 10:28 AM, Konstantin Kolinko wrote: 2009/7/30 DIGLLOYD INC digllo...@diglloyd.com: How

Re: DigestAuthenticator failure: java.sql.SQLException: Operation not allowed after ResultSet closed

2009-07-31 Thread DIGLLOYD INC
Chris, Thank you. Any snippet on the right way to to the Realm/Resource thing? It's been so long I don't remember the right way Lloyd On Jul 30, 2009, at 12:13 PM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Diglloyd, On 7/30/2009 1:28 PM, Konstantin

Re: Tomcat 5.5 on Windows Server 2003, HTTPS and tc-native

2009-07-31 Thread Markus Schönhaber
Fred Janon: It looks like you have an extensive experience deploying Tomcat 5.5.x on Win XP, SBS, Enterprise and Datacenter, so maybe you can tell me where the option to use APR/tc-native is during the installation using the msi file? The installation wizard contains a page where you can

Re: Tomcat 5.5 on Windows Server 2003, HTTPS and tc-native

2009-07-31 Thread André Warnier
Moderating comment : Fred, it is true that this list tends to be a bit more rough than other ones I'm also subscribed to. Some of the most knowledgeable people here - and most helpful in the end - tend to not suffer fools gladly. (This last not implying that you would be one). Maybe it's