Hi all,
I'm getting some (i think) strange debug info about my deployment files.


  | ...
  | 2006-06-22 04:46:27,703 DEBUG 
[org.jboss.portal.portlet.container.PortletContainer] Initialized portlet 
object mywork.controllers.CentralController
  | 2006-06-22 04:46:27,703 DEBUG 
[org.jboss.portal.core.deployment.jboss.PortletAppDeployment] Looking for the 
WEB-INF path of myportal
  | 2006-06-22 04:46:27,703 DEBUG 
[org.jboss.portal.core.deployment.jboss.PortletAppDeployment] Found -object.xml 
containing instances, you need to convert and move them to the file 
C:\Programmi\jboss-4.0.4.GA\server\default\.\tmp\deploy\tmp59698myportal-exp.war\WEB-INF/portlet-instances.xml
  | 2006-06-22 04:46:27,703 DEBUG 
[org.jboss.portal.core.deployment.jboss.PortletAppDeployment] Adding legacy 
instance CentralControllerInstance
  | 2006-06-22 04:46:27,703 INFO  
[org.jboss.portal.core.deployment.jboss.PortletAppDeployment] These instances 
have been found in -object.xml, you should put them in the file 
C:\Programmi\jboss-4.0.4.GA\server\default\.\tmp\deploy\tmp59698myportal-exp.war\WEB-INF/portlet-instances.xml
  | 2006-06-22 04:46:27,703 INFO  
[org.jboss.portal.core.deployment.jboss.PortletAppDeployment] <?xml 
version="1.0" encoding="utf-8" standalone="yes"?>
  | <deployments>
  | <deployment>
  | <instance>
  | <instance-id>CentralControllerInstance</instance-id>
  | <portlet-ref>CentralController</portlet-ref>
  | </instance>
  | </deployment>
  | </deployments>

It says I need to put something in portlet-instances.xml, but this file wasn't 
abragated since 2.2 version?

here something from portlet.xml and myportal-object.xml files:

portletl.xml

  | ...
  |     <portlet>
  |             <description>Controller centrale della mia web 
application</description>
  |             <portlet-name>CentralController</portlet-name>
  |             
<portlet-class>mywork.controllers.CentralController</portlet-class>
  |             <expiration-cache>-1</expiration-cache>
  |             <supports>
  |                     <mime-type>text/html</mime-type>
  |                     <portlet-mode>VIEW</portlet-mode>
  |             </supports>
  |             <portlet-info>
  |                     <title>Central Menu Portlet</title>
  |                     <short-title>Central Menu Portlet</short-title>
  |                     <keywords>central, menu, portlet</keywords>
  |             </portlet-info>
  |     </portlet>
  | ...
  | 

myportal-object.xml:

  | ...
  |          <window>
  |             <window-name>Central Controller Window</window-name>
  |             <instance-ref>CentralControllerInstance</instance-ref>
  |             <region>center</region>
  |             <height>0</height>
  |          </window>
  | ...
  |     <deployment>
  |             <if-exists>overwrite</if-exists> 
  |             <instance>
  |                     
<instance-name>CentralControllerInstance</instance-name> 
  |                     
<component-ref>myportal.CentralController</component-ref> 
  |             </instance>
  |     </deployment>
  | ...
  | 

Suggesionts?

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

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

All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to