Thursday, April 22, 2010

Running OpenPortal on Jetty

While running OpenPortal's portlet container on Jetty I've encountered the following error on a portlet deployment attempt:

java.lang.IllegalArgumentException: contextHandlerCollection should have been initialized in Jetty config
at com.sun.portal.portletcontainer.admin.deployment.JettyWebAppDeployer.deploy(
at com.sun.portal.portletcontainer.admin.mbeans.PortletAdmin.deploy(
at com.sun.portal.portletcontainer.driver.admin.PortletAdminDataImpl.deploy(
at com.sun.portal.portletcontainer.driver.admin.UploadServlet.deployPortlet(
at com.sun.portal.portletcontainer.driver.admin.UploadServlet.uploadFile(
at com.sun.portal.portletcontainer.driver.admin.UploadServlet.doPost(

To fix this, I've added the following lines to my jetty.xml:
    <!-- assuming that Handlers are configured by default -->
    <Arg><Ref id="Handlers"/></Arg>

Friday, April 16, 2010

uCertify promotional codes

I have done reviews for uCertify PrepKits previously:

1) uCertify's PrepKit for SCJP6.0
2) uCertify's PrepKit for SCBCD5.0

Now, uCertify is giving out 20% discount on all its PrepKits. Use promotional code SPRING during the checkout to avail this offer. This offer is valid until 20 April, 2010 and it will work on all uCertify PrepKits. Full details of the sale can be found here.

Overall, it is a good investment if you're preparing for a professional certification. Good luck!

Disqus for Code Impossible