Matt RaibleMatt Raible is a Java Champion and Developer Advocate at Okta. developer.okta.com

The JHipster Mini-Book The JHipster Mini-Book is a guide to getting started with hip technologies today: Angular, Bootstrap, and Spring Boot. All of these frameworks are wrapped up in an easy-to-use project called JHipster.

This book shows you how to build an app with JHipster, and guides you through the plethora of tools, techniques and options you can use. Furthermore, it explains the UI and API building blocks so you understand the underpinnings of your great application.

For book updates, follow @jhipster-book on Twitter.

10+ YEARS


Over 10 years ago, I wrote my first blog post. Since then, I've authored books, had kids, traveled the world, found Trish and blogged about it all.

This site isn't doing so well...

Since I upgraded to Roller 0.9.8, this site has crashed twice. Once last night, and once this afternoon. Both appear to be caused by a MySQL failure, followed by an AJP to Tomcat failure. I haven't asked Keith yet, but I do suspect it's a hosting issue, not a software issue.

Update: From Keith:

No problems with the database as far as I can tell from the logs.

Uptime on the server is currently 9939830 seconds or 115 days.  Is it 
possible that you are hitting the 20 connection per user max?

Well at least it stayed up through the night, if it goes again then obviously it's Roller 0.9.8 and I'll be reverting back to the last version (a CVS snapshot) I had running.

Posted in Roller at Sep 22 2003, 09:45:22 PM MDT 9 Comments
Comments:

Now I have a weired javascript error message when viewing this page - 'theForm' is undefined. Hmm. FYI: I've tried to bring this page up on IE5.2 mac, OSX, 3 different days, and it always stalls my browser out... I don't know what you're paying, but I've hosted with supplehost.com, and they've been pretty darn good. The only time I've seen them down is when the big east coast power outage happened. $18/month, private tomcat instance, bla bla bla. ;-)

Posted by Will Gayther on September 22, 2003 at 10:39 PM MDT #

I'm curious to now how you have configured Tomcat+Apache(?) to show the static error page in case of crash. Is that a tomcat feature, web server feature or Ajp13 connector feature? I hope your problems with crash can be solved. And thanks for all the posts. :)

Posted by Mark on September 23, 2003 at 01:38 AM MDT #

Mark - here's how it's setup:

What we have done is set up the primary raibledesigns.com virtual host in 
Apache with all content forwarded to Tomcat with a JkMount /* ajp13

We set up a second domain named static.raibledesigns.com (which was also an 
alias for php.raibledesigns.com) for your non-java content.

In the Apache virtual host setup for raibledesigns.com we added: 
ErrorDocument 500 http://static.raibledesigns.com/500.html

So if Tomcat goes away for any reason, it goes to the non-java domain to give 
the bad news.

Posted by Matt Raible on September 23, 2003 at 06:34 AM MDT #

If you feel confident in Tomcat staying up, but you want an error message in case of other errors, you can add a line like this to your web.xml file:
<code>
<error-page>
<error-code>404</error-code>
<location>/resources/FAQ/missing.htm</location>
</error-page> </code>

Posted by Will Gayther on September 23, 2003 at 08:46 AM MDT #

erggg...

<error-page> <error-code>404</error-code> <location>/resources/FAQ/missing.htm</location> </error-page>

Posted by Paul Rivers on September 23, 2003 at 08:46 AM MDT #

<font SIZE="2">

</font><font SIZE="2" COLOR="#800040"><error-page>
</font><font SIZE="2">&nbsp;&nbsp;&nbsp; </font><font SIZE="2" COLOR="#800040"> <error-code></font><font SIZE="2">404</font><font SIZE="2" COLOR="#800040"></error-code>
&nbsp;&nbsp;&nbsp; <location></font><font SIZE="2">/resources/FAQ/missing.htm</font><font SIZE="2" COLOR="#800040"></location></font><font SIZE="2">
</font><font SIZE="2" COLOR="#800040"></error-page>

</font>

Posted by Paul Rivers on September 23, 2003 at 08:47 AM MDT #

There, that worked...

Posted by Paul Rivers on September 23, 2003 at 08:48 AM MDT #

Thanks Paul - I already got one of those. Check it out at http://raibledesigns.com/paul. ;-)

Posted by Matt Raible on September 23, 2003 at 10:10 AM MDT #

I'm curious as to what caused the "crash." Are you getting out-of-memory exceptions? Is Tomcat running out of threads? Are you getting File IO errors? FreeRoller has been up for almost five days now without restart and performance is still excellent (as far as I can tell), so I would suspect that you have a Roller configuration problem or you ISP has a Tomcat/Apache configuration problem. I'll post the FreeRoller config files on the Wiki tonight as an example for all and maybe that'll give you some ideas.

Posted by Dave Johnson on September 23, 2003 at 12:29 PM MDT #

Post a Comment:
  • HTML Syntax: Allowed