Running Jetty as Non Root
The README seems little bit out of date as my
del.icio.us
technorati
[more]
Virtualbox Port Forwarding Problems
I've recently started using VirtualBox and find it really good. However, I was setting up port forwarding with NAT according to the documentation and must have made a mistake since I got the following error while restarting the virtual machine
del.icio.us
technorati
[more]
Single Table Polymorphic Inheritance with ActiveRecords
Ruby on Rails warning: toplevel constant XX referenced by YY
del.icio.us
technorati
[more]
GreenMail v1.3 Released
The Birth of Mr GreenMail JBoss Service
- greenmail-1.3-bundle.jar : mvn upload bundle
- greenmail-1.3.jar : contains all greenmail core classes
- greenmail-1.3-src.zip : contains sources, javadoc, required libs, docs
- greenmail-1.3.zip : like above, but no sources
- greenmail-jboss-service-1.3.sar : deployable JBoss service archive
Changes:
- Added logging via slf4j, replacing System.out.println
- Minor improvements:
- c.i.g.AbstractServer exposes ServerSetup
- c.i.g.util.GreenMailUtil exposes sendTextEmail(...)
- c.i.g.AbstractServer exposes ServerSetup
- New JBoss service wrapper (see the project page)
Marcel May added the JBoss service and contributed the logging changes. Thanks!
Upcoming changes:
For 1.4 we plan to replace the current Foedus smtp and pop implementation with http://subetha.tigris.org
del.icio.us
technorati
[more]
Internet Explorer 6 & 7 document.domain bug
I've been coding some javascript ajax code that inserts an iframe, and into the created iframe, inserts a form and submits the form to a (cross domain) server. This is an old cross-domain ajax technique by now, but while implementing it I came across this ridiculously annoying bug in IE. The line in red below will result in an "Access Denied" exception being thrown...again, only in IE. Tried this with IE6 under WinXP Media Center Edition SP2, IE7 under WinXP Home Edition SP2, and IE7 Windows Vista Home. Needless to say...it works just fine in FireFox.
This page should be served off http://waelchatila.com. As you can see, the document.domain is explicitly set to the domain the page was served from. The iframe src is also from the same server. I've tried it with a whole variety of variations, none of the demonstrated here but tested for.
- iframe's document.domain = 'waelchatila.com';
- iframe src is empty
- iframe src is "javascript:false"
Now, if the document.domain = 'waelchatila.com'; line is removed, it works. In order for this to work, you'll need to reload this page if you clicked the previous button since document.domain has now already been assigned.
The same results present itself if the iframe is created with document.createElement('iframe') and document.appendChild(...)
I've yet to find a workaround for this issue. I'll be positing another entry if I found out how. Please let me know if you know of one!
del.icio.us
technorati
[more]