Re: Issue building the Unix daemon (jsvc) with the "configure" script in Tomcat7

2012-08-25 Thread Fred Janon
Just for information, I got to run tomcat7 on AWS Linux (CentOS) as a daemon and using port 80. Cheers, Fred On Sat, Aug 25, 2012 at 4:24 PM, Fred Janon wrote: > Thanks Martin. > > I get a warning in the system log at boot time, I don't understand what it > means or wh

Re: Issue building the Unix daemon (jsvc) with the "configure" script in Tomcat7

2012-08-25 Thread Fred Janon
roup. > > > > [ec2-user@ip-10-212-133-29 logs]$ ls -l > > -rw--- 1 tomcat tomcat 2937 Aug 25 09:47 catalina.2012-08-25.log > > -rw--- 1 root root 3069 Aug 25 09:48 catalina-daemon.out > > -rw--- 1 root root 5 Aug 25 09:47 catalina-daemon.pid

Re: Issue building the Unix daemon (jsvc) with the "configure" script in Tomcat7

2012-08-25 Thread Fred Janon
g.2012-08-25.txt -rw--- 1 tomcat tomcat0 Aug 25 09:47 manager.2012-08-25.log Thanks all for your help. Fred On Sat, Aug 25, 2012 at 11:30 AM, Fred Janon wrote: > Hi Martin, > > I realized that some of the directories were created with the ec2-user in > some of my previous trie

Re: Issue building the Unix daemon (jsvc) with the "configure" script in Tomcat7

2012-08-25 Thread Fred Janon
Hi Martin, I realized that some of the directories were created with the ec2-user in some of my previous tries before running daemon.sh. I am deleting all these dirs/files and see if daemon.sh works now. Cheers, Fred On Sat, Aug 25, 2012 at 9:20 AM, Fred Janon wrote: > Thanks for

Re: Issue building the Unix daemon (jsvc) with the "configure" script in Tomcat7

2012-08-25 Thread Fred Janon
context > [/examples] > > * > > Aug 24, 2012 1:29:13 PM org.apache.jasper.EmbeddedServletOptions > > *SEVERE: The scratchDir you specified: > > /datadisk1/tomcat/work/Catalina/localhost/examples is unusable.* > > > > I am trying to see the whole command pa

Re: [OT] redirecting people to maintenance mode

2012-08-24 Thread Fred Janon
Thanks for all of that, Chris. Cheers, Fred On Fri, Aug 24, 2012 at 9:40 PM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Fred, > > On 8/24/12 12:02 PM, Fred Janon wrote: > > Excellent, thank

Re: Issue building the Unix daemon (jsvc) with the "configure" script in Tomcat7

2012-08-24 Thread Fred Janon
o in front, if ec2-user is part of the sudoers > > Jeff > > > On Fri, Aug 24, 2012 at 4:09 PM, Fred Janon wrote: > > > Ah! Thanks Jeff, you are right, thanks. I checked and the OpenJDK > installed > > is not the full JDK (??? confusing). I had to install the OpenJ

Re: [OT] redirecting people to maintenance mode

2012-08-24 Thread Fred Janon
On Fri, Aug 24, 2012 at 5:22 PM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Fred, > > (Marking OT because this strays from the OP's topic) > > On 8/23/12 4:21 PM, Fred Janon wrote: > >

Re: Issue building the Unix daemon (jsvc) with the "configure" script in Tomcat7

2012-08-24 Thread Fred Janon
RE > and JDK. I have some .h files on my Ubuntu server, but not under > /usr/lib/jvm/java-1.6.0-openjdk but under /usr/lib/jvm/java-6-openjdk > > Regards > Jeff > > > On Fri, Aug 24, 2012 at 8:52 AM, Fred Janon wrote: > > > Hi Jeff, > > > > Thanks, but I

Re: Issue building the Unix daemon (jsvc) with the "configure" script in Tomcat7

2012-08-23 Thread Fred Janon
K, but not in the Linux one. Cheers, Fred On Fri, Aug 24, 2012 at 7:51 AM, Jeff MAURY wrote: > You need a JDK to be installed on your machine and it seems you've only a > JRE > > Jeff > > > On Thu, Aug 23, 2012 at 10:12 PM, Fred Janon wrote: > > > Hi, > >

Re: redirecting people to maintenance mode

2012-08-23 Thread Fred Janon
Christopher, I am interested in more details from your comment: "This is a common misconception: Apache httpd is *not* faster than Tomcat for static content *when configured appropriately*. The current default configuration is unfortunately much less optimized than Apache httpd's default configur

Issue building the Unix daemon (jsvc) with the "configure" script in Tomcat7

2012-08-23 Thread Fred Janon
Hi, I am trying to build the Unix deamon jsvc in AWS EC2 Linux. I did not install Tomcat7 that comes with the AWS Linux, I downloaded Tomcat7 from the Apache Tomcat website, I installed it and ran Tomcat7 successfully. Now I am trying to build the daemon to run Tomcat7 as a daemon. I get an error

JNDI-Datasource: what happens if the database is not ready when Tomcat starts?

2009-08-25 Thread Fred Janon
Hi, I am looking into using the JNDI/Datasource facility in Tomcat 5.5 to connect to a mySQL 5.0 database on a Windows 2003 server. Both Tomcat and mySQL run as services. What happens if the Tomcat service starts before mySQL? Does Tomcat wait for a while for the DB to be ready? Does it launch the

Re: increasing JVM heap space in Tomcat 6.0 (Windows XP)

2009-08-13 Thread Fred Janon
Yes, I always download the JDK and use the server jvm in there. I don't think the JRE download includes the server jvm anymore, at least not in the few I downloaded lately. Fred On Thu, Aug 13, 2009 at 22:08, Caldarale, Charles R < chuck.caldar...@unisys.com> wrote: > >

Re: increasing JVM heap space in Tomcat 6.0 (Windows XP)

2009-08-13 Thread Fred Janon
Complementary question: what is the recommended JVM to use with Tomcat: client/jvm.dll or server/jvm.dll? Thanks Fred On Thu, Aug 13, 2009 at 21:56, Christoph Kukulies wrote: > jre_1.5.0_06/client/jvm.dll >

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

2009-07-31 Thread Fred Janon
. Cheers, Fred On Fri, Jul 31, 2009 at 22:13, Caldarale, Charles R < chuck.caldar...@unisys.com> wrote: > > 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

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 copie