Ahhh, I see the following when the portlet deploys: 

ERROR [org.jboss.portal.core.deployment.jboss.PortletAppDeployment] No config 
for the name JPivotPortlet will use the default configuration

After some digging around in the code, this is caused by a reference to the 
config-name element in jboss-portlet.xml.

In 
org.jboss.portal.portlet.deployment.jboss.PortletAppDeployment.buildComponentConfiguration(String
 portletName), the value of the config-element is being looked for in the 
configurations variable.

Th configurations variable is set up in create(). The data is loaded from 
/standardjboss-portlet.xml in the portal-core.sar.

The StrutsPortlet configuration in standardjboss-portlet.xml does not have 
anything specific to Struts in it. The only difference from the default one is 
the inclusion of the BridgeInterceptor, which sets up the 
ServletContextProvider. Maybe this configuration should be called 
BridgedPortlet?

So I put the line <config-name>StrutsPortlet</config-name>
into jboss-portlet.xml. Now there is no error like above in the log when I 
deploy.



Sherman

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3879154#3879154

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3879154


-------------------------------------------------------
SF.Net email is sponsored by: GoToMeeting - the easiest way to collaborate
online with coworkers and clients while avoiding the high cost of travel and
communications. There is no equipment to buy and you can meet as often as
you want. Try it free.http://ads.osdn.com/?ad_id=7402&alloc_id=16135&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to