I have problem with deploying portlet into JBoss Portal. When I put portlet.war
into folder: jboss/server/default/deploy, I get this message on console:
00:23:30,642 ERROR [LifeCycle] Cannot start object
org.jboss.portal.portlet.container.PortletInitializationException: The portlet
I haven't used those portlets so I cannot comment on whether that is all the
code you need or not.
You can place both portlets into a single project.
To configure a database for Portal see
http://docs.jboss.com/jbportal/v2.7.1/referenceGuide/html/installation.html#d0e927
Accessing a database