2 Replies Latest reply on Nov 26, 2006 11:03 AM by Matthew Braunschweig

    Porlet Instances not showing

    Matthew Braunschweig Newbie

      I am attempting to deploy a exploded WAR with portlet.xml and portlet-instances.xml (in WEB-INF) so that my lead analysts can mockup what they want to see. The portlet.xml works fine and I can see all the portlets I made in the management portlet. However, I don't see any of my instances appearing. I have been browsing about and I have found and tried two different structures for my portlet-instances.xml.

      <?xml version="1.0" standalone="yes"?>

      <!-- LaborCostPct -->

      <if-exists>overwrite</if-exists>

      <instance-name>LaborCostsPctInstance</instance-name>
      <component-ref>LaborCostsPctPortlet</component-ref>




      and
      <?xml version="1.0" standalone="yes"?>

      <!-- LaborCostPct -->


      <instance-id>LaborCostsPctInstance</instance-id>
      <portlet-ref>LaborCostsPctPortlet</portlet-ref>




      I am getting a fair number warnings during the boot :
      10:30:03,058 WARN [EhCacheProvider] Could not find configuration [org.jboss.portal.core.impl.role.RoleImpl]; using defaults.
      10:30:03,579 WARN [EhCacheProvider] Could not find configuration [org.jboss.portal.core.impl.user.PreferenceImpl]; using defaults.

      (and variations of this)

      JBoss [Zion] 4.0.4.GA (build: CVSTag=JBoss_4_0_4_GA date=200605151000)

      Thanks,

      Matt