Friday, July 22, 2011

Create an Alfresco JMX Dump

I am working with Alfresco support on an issue and they asked me to provide a JMX dump of my Alfresco system. How in the world can I do that!? Remember that Google is your best friend. It turns out Alfresco has a nice, easy way - just a simple JSP page.
http://localhost:8080/alfresco/faces/jsp/admin/jmx-dumper.jsp

Alfresco WCM 500page Error

I installed Alfresco WCM on an existing 3.4.1 server a couple of days back. Everything worked fine. However, it threw me an "500page" error today. I finally figured out what was going on.

My Alfresco installation is on a VirutalBox VM with dynamic IP assigned every time the VM is started. When it was running last time, I went to the site in Share, Web Quick Start > Document Library > Alfresco Web Quick Start, and changed the hostname in metadata for Quick Start Editorial. I used the IP address at that time. Since the IP has changed, it could not find the hostname+port+page anymore and thus the 500 page error. It is back working after I updated the hostname with the current IP.

I think the assumption is that you should run Alfresco WCM on a fixed IP. Oh well, this is just my sandbox and I can live that inconvenience.

Thursday, July 21, 2011

Revisit my own blog

I am not an avid blogger. I did it occasionally in the past, mostly to keep notes of what I have done. When I revisited my blog today, boy, I already forgot some of the stuff and couldn't believe I wrote it.

Surprisingly, I also found quite a few comments. I am thrilled that some of the readers/followers found it helpful. On the other hand, I think I need to do a better job answering questions. So I turned on the email notification of comments.

Happy blogging...