Tomcat Valve Custom args

2013-03-31 Thread N.s.Karthik
Hi Spec: JDK1.6 Tomcat 6.0.26 O/s nix Suse I have build a Customized Valve and have done the required settings in context.xml for specific APP and have them returned variables System.println on console ( Catalina.out) Question : 1) How to get the return values into a JSP file [ using r

Re: Tomcat how to set -Xms and -Xmx

2013-03-31 Thread Neven Cvetkovic
On Sun, Mar 31, 2013 at 4:54 PM, Caldarale, Charles R < chuck.caldar...@unisys.com> wrote: > > From: Harris, Jeffrey E. [mailto:jeffrey.har...@mantech.com] > > Subject: RE: Tomcat how to set -Xms and -Xmx > > > Add a "call setenv.bat" (with path as necessary) to startup.bat, or just > > add the re

Re: Setting up tomcat to run on port 443 on ubuntu system

2013-03-31 Thread Ognjen Blagojevic
Shyam, On 29.3.2013 14:54, Shyam Yadav wrote: I did all the setting you have mentioned for Unix Daemon for Tomcat, but still i am getting the same problem. i.e. Permission Denied. When you run your jsvc-based Tomcat startup script, you MUST do it as root. It will bind port 443 as root, and t

Re: Can't get name based virtual hosts to work (Windows)

2013-03-31 Thread Mark Eggers
On 3/31/2013 1:32 PM, Kevin Jenkins wrote: Thanks but I had already tried variations on the URL in Host name that before posting. Right now it's going to defaultHost (currently set to masterserver2.raknet.com) even though I enter http://lobby3.raknet.com/ in my webbrowser Right now I just

Re: Can't get name based virtual hosts to work (Windows)

2013-03-31 Thread Kevin Jenkins
Finally got it working. Thanks to those that helped. masterserver2.raknet.com milestone.masterserver2.raknet.com lobby3.raknet.com milestone.lobby3.raknet.com On Sun, Mar 31, 2013 at 1:32 PM, Kevin Jenkins wrote: > Thanks but I had already tried variations on the URL in Ho

RE: Can't get name based virtual hosts to work (Windows)

2013-03-31 Thread Caldarale, Charles R
> From: Kevin Jenkins [mailto:rak...@jenkinssoftware.com] > Subject: Re: Can't get name based virtual hosts to work (Windows) Don't top post. It's annoying and confusing. > Thanks but I had already tried variations on the URL in Host name that > before posting. Right now it's going to defaultHo

RE: Tomcat how to set -Xms and -Xmx

2013-03-31 Thread Caldarale, Charles R
> From: Harris, Jeffrey E. [mailto:jeffrey.har...@mantech.com] > Subject: RE: Tomcat how to set -Xms and -Xmx > Add a "call setenv.bat" (with path as necessary) to startup.bat, or just > add the relevant SET statements directly to startup.bat. That's completely unnecessary, and inappropriate.

RE: Tomcat how to set -Xms and -Xmx

2013-03-31 Thread Caldarale, Charles R
> From: Kevin Jenkins [mailto:rak...@jenkinssoftware.com] > Subject: Re: Tomcat how to set -Xms and -Xmx > I found the answer. In catilina.bat change That's the wrong answer. > Such a common operation should not be so obscure and difficult to figure out It's not, but you're doing it the hard w

Re: Tomcat how to set -Xms and -Xmx

2013-03-31 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Kevin, On 3/31/13 4:28 PM, Kevin Jenkins wrote: > I found the answer. In catilina.bat change > > set JAVA_OPTS=%JAVA_OPTS% %LOGGING_CONFIG% To: set > JAVA_OPTS=%JAVA_OPTS% %LOGGING_CONFIG% -Xms2560M -Xmx2560M You don't want to do this. Instead, yo

Re: Tomcat how to set -Xms and -Xmx

2013-03-31 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Jeffrey, On 3/31/13 1:32 PM, Harris, Jeffrey E. wrote: >> -Original Message- From: Kevin Jenkins >> [mailto:rak...@jenkinssoftware.com] Sent: Sunday, March 31, 2013 >> 1:21 PM To: Tomcat Users List Subject: Tomcat how to set -Xms and >> -Xmx

Re: Can't get name based virtual hosts to work (Windows)

2013-03-31 Thread Kevin Jenkins
Thanks but I had already tried variations on the URL in Host name that before posting. Right now it's going to defaultHost (currently set to masterserver2.raknet.com) even though I enter http://lobby3.raknet.com/ in my webbrowser Right now I just have an A record DNS pointing to the server

Re: Tomcat how to set -Xms and -Xmx

2013-03-31 Thread Kevin Jenkins
I found the answer. In catilina.bat change set JAVA_OPTS=%JAVA_OPTS% %LOGGING_CONFIG% To: set JAVA_OPTS=%JAVA_OPTS% %LOGGING_CONFIG% -Xms2560M -Xmx2560M Such a common operation should not be so obscure and difficult to figure out On Sun, Mar 31, 2013 at 11:38 AM, Mark Eggers wrote: > On 3/31/

Re: Tomcat how to set -Xms and -Xmx

2013-03-31 Thread Mark Eggers
On 3/31/2013 10:20 AM, Kevin Jenkins wrote: If I run tomcat7w.exe (windows) there is a tab where I can set the initial and maximum memory pool to 2560. However, I don't want to use tomcat7w.exe, I just want to run the batch file manually (startup.bat). However, I can't figure out how to set thes

RE: Tomcat how to set -Xms and -Xmx

2013-03-31 Thread Harris, Jeffrey E.
> -Original Message- > From: Kevin Jenkins [mailto:rak...@jenkinssoftware.com] > Sent: Sunday, March 31, 2013 2:09 PM > To: Tomcat Users List > Subject: Re: Tomcat how to set -Xms and -Xmx > > Actually that does not work, sorry for the too-soon post. If I modify > startup.bat as follows:

Re: Can't get name based virtual hosts to work (Windows)

2013-03-31 Thread Mark Thomas
On 31/03/2013 18:50, Kevin Jenkins wrote: > I'm trying to setup name based hosts by editing server.xml. > http://masterserver2.raknet.com/ should display a different page than > http://lobby3.raknet.com/ > > The DNS entries are already setup. However, no matter w

Re: Tomcat how to set -Xms and -Xmx

2013-03-31 Thread Kevin Jenkins
Actually that does not work, sorry for the too-soon post. If I modify startup.bat as follows: SET JAVA_OPTS=-Xms2560 -Xmx2560 call "%EXECUTABLE%" start %CMD_LINE_ARGS% It does not start the webserver, it just prints some messages and does nothing else C:\apache-tomcat-7.0.39\bin>startup.bat Using

RE: Tomcat how to set -Xms and -Xmx

2013-03-31 Thread Harris, Jeffrey E.
> -Original Message- > From: Kevin Jenkins [mailto:rak...@jenkinssoftware.com] > Sent: Sunday, March 31, 2013 2:06 PM > To: Tomcat Users List > Subject: Re: Tomcat how to set -Xms and -Xmx > > I did this: > > SET JAVA_OPTS=-Xms2560 -Xmx2560 > call "%EXECUTABLE%" start %CMD_LINE_ARGS% > >

Re: Tomcat how to set -Xms and -Xmx

2013-03-31 Thread Kevin Jenkins
I did this: SET JAVA_OPTS=-Xms2560 -Xmx2560 call "%EXECUTABLE%" start %CMD_LINE_ARGS% On Sun, Mar 31, 2013 at 10:34 AM, Harris, Jeffrey E. < jeffrey.har...@mantech.com> wrote: > > > > -Original Message- > > From: Harris, Jeffrey E. [mailto:jeffrey.har...@mantech.com] > > Sent: Sunday, M

Re: Can't get name based virtual hosts to work (Windows)

2013-03-31 Thread Mark Eggers
On 3/31/2013 10:50 AM, Kevin Jenkins wrote: I'm trying to setup name based hosts by editing server.xml. http://masterserver2.raknet.com/ should display a different page than http://lobby3.raknet.com/ The DNS entries are already setup. However, no matter what UR

Can't get name based virtual hosts to work (Windows)

2013-03-31 Thread Kevin Jenkins
I'm trying to setup name based hosts by editing server.xml. http://masterserver2.raknet.com/ should display a different page than http://lobby3.raknet.com/ The DNS entries are already setup. However, no matter what URL I put, it just goes to the localhost page (e

RE: Tomcat how to set -Xms and -Xmx

2013-03-31 Thread Harris, Jeffrey E.
> -Original Message- > From: Harris, Jeffrey E. [mailto:jeffrey.har...@mantech.com] > Sent: Sunday, March 31, 2013 1:32 PM > To: Tomcat Users List > Subject: RE: Tomcat how to set -Xms and -Xmx > > > -Original Message- > > From: Kevin Jenkins [mailto:rak...@jenkinssoftware.com] >

Re: Tomcat how to set -Xms and -Xmx

2013-03-31 Thread Michael-O
Am 2013-03-31 19:20, schrieb Kevin Jenkins: If I run tomcat7w.exe (windows) there is a tab where I can set the initial and maximum memory pool to 2560. However, I don't want to use tomcat7w.exe, I just want to run the batch file manually (startup.bat). However, I can't figure out how to set thes

RE: Tomcat how to set -Xms and -Xmx

2013-03-31 Thread Harris, Jeffrey E.
> -Original Message- > From: Kevin Jenkins [mailto:rak...@jenkinssoftware.com] > Sent: Sunday, March 31, 2013 1:21 PM > To: Tomcat Users List > Subject: Tomcat how to set -Xms and -Xmx > > If I run tomcat7w.exe (windows) there is a tab where I can set the > initial and maximum memory pool t

Tomcat how to set -Xms and -Xmx

2013-03-31 Thread Kevin Jenkins
If I run tomcat7w.exe (windows) there is a tab where I can set the initial and maximum memory pool to 2560. However, I don't want to use tomcat7w.exe, I just want to run the batch file manually (startup.bat). However, I can't figure out how to set these memory pool values for startup.bat to use.

Re: Apache Accessing Tomcat Issue

2013-03-31 Thread Rainer Jung
On 30.03.2013 21:53, Chris Arnold wrote: > See above and ended up having to comment this out as it is not supported in > the version of mod_jk i am using. > Apache finally started after commenting those out and changing the port. And > i can now access http://share.domain.com > Ranier, thank you