[jboss-user] [JBoss Portal] - Re: Deployment exception with HelloWorldIPCPortlet.SAR
rabbuhl
do-not-reply at jboss.com
Fri Mar 2 08:00:46 EST 2007
I fixed the deployment problem by changing jboss-portal.sar\META-INF\jboss-service.xml. Specifically, I commented out the attribute definition for CacheNaturalId.
Question for the JBoss Portal development team: should the attribute CacheNaturalId be defined in these mbeans?
<!-- The different containers -->
| <mbean
| code="org.jboss.portal.core.impl.model.instance.PersistentInstanceContainer"
| name="portal:container=Instance"
| xmbean-dd=""
| xmbean-code="org.jboss.portal.common.system.JBossServiceModelMBean">
| <xmbean/>
| <depends>portal:service=Hibernate,type=Instance</depends>
| <depends
| optional-attribute-name="PortletInvoker"
| proxy-type="attribute">portal:service=PortletInvoker,type=Instance</depends>
| <depends
| optional-attribute-name="PortalAuthorizationManagerFactory"
| proxy-type="attribute">portal:service=PortalAuthorizationManagerFactory</depends>
| <depends
| optional-attribute-name="AuthorizationDomainRegistry"
| proxy-type="attribute">portal:service=AuthorizationDomainRegistry</depends>
| <attribute name="SessionFactoryJNDIName">java:/portal/InstanceSessionFactory</attribute>
| <!--attribute name="CacheNaturalId">true</attribute-->
| </mbean>
| <mbean
| code="org.jboss.portal.core.impl.model.portal.PersistentPortalObjectContainer"
| name="portal:container=PortalObject"
| xmbean-dd=""
| xmbean-code="org.jboss.portal.common.system.JBossServiceModelMBean">
| <xmbean/>
| <depends>portal:service=Hibernate,type=PortalObject</depends>
| <depends
| optional-attribute-name="PortalAuthorizationManagerFactory"
| proxy-type="attribute">portal:service=PortalAuthorizationManagerFactory</depends>
| <depends
| optional-attribute-name="AuthorizationDomainRegistry"
| proxy-type="attribute">portal:service=AuthorizationDomainRegistry</depends>
| <depends
| optional-attribute-name="PortalEventListenerRegistry"
| proxy-type="attribute">portal:service=ListenerRegistry</depends>
| <attribute name="SessionFactoryJNDIName">java:/portal/PortalObjectSessionFactory</attribute>
| <!--attribute name="CacheNaturalId">true</attribute-->
| </mbean>
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4024620#4024620
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4024620
More information about the jboss-user
mailing list