[jboss-user] [JBoss Portal] - Re: JBoss AS startup, portlet does not get initialized
frankr
do-not-reply at jboss.com
Fri Mar 16 07:51:49 EDT 2007
Did not touch the deployment order (would not even know how to change that ;-))
It's a Seam / MyFaces application. In the web.xml the initialization for Seam and MyFaces is done. Nothing special in the portlet.xml and portlet-instances.xml.
The application does have a dependency on some EJB components so I defined the following in jboss-web.xml:
<jboss-web>
| <context-root>myapp</context-root>
| <depends>
| jboss.j2ee:service=EARDeployment,url='myapp-ear-1.0-SNAPSHOT.ear'
| </depends>
| </jboss-web>
I have created a custom login portlet. For that reason my jboss-portlet.xml looks like this:
<portlet-app>
| <portlet>
| <portlet-name>MyAppPortlet</portlet-name>
| </portlet>
|
| <portlet>
| <portlet-name>AdditionalNavigationPortlet</portlet-name>
| <transaction>
| <trans-attribute>Required</trans-attribute>
| </transaction>
| </portlet>
|
| <portlet>
| <portlet-name>UserHeaderPortlet</portlet-name>
| <transaction>
| <trans-attribute>Required</trans-attribute>
| </transaction>
| </portlet>
|
| <service>
| <service-name>UserModule</service-name>
| <service-class>
| org.jboss.portal.identity.UserModule
| </service-class>
| <service-ref>:service=Module,type=User</service-ref>
| </service>
| <service>
| <service-name>PortalObjectContainer</service-name>
| <service-class>
| org.jboss.portal.core.model.portal.PortalObjectContainer
| </service-class>
| <service-ref>:container=PortalObject</service-ref>
| </service>
| <service>
| <service-name>InstanceContainer</service-name>
| <service-class>
| org.jboss.portal.core.model.instance.InstanceContainer
| </service-class>
| <service-ref>:container=Instance</service-ref>
| </service>
| <service>
| <service-name>PortalAuthorizationManagerFactory</service-name>
| <service-class>
| org.jboss.portal.security.spi.auth.PortalAuthorizationManagerFactory
| </service-class>
| <service-ref>
| :service=PortalAuthorizationManagerFactory
| </service-ref>
| </service>
| </portlet-app>
That's about all I can think of. Any clues?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4028750#4028750
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4028750
More information about the jboss-user
mailing list