In 2.4 descriptor changed. Because of WSRP implementation which forced some 
architectural changes portlet-instances.xml was introduced. 
But there is still suppor for legacy 2.2 descriptors and that's why you receive 
the warning.

So you need to follow what is written on the console:

1) in myportal-object.xml comment out this part:


  | <deployment>
  |  <if-exists>overwrite</if-exists> 
  |  <instance>
  |   <instance-name>CentralControllerInstance</instance-name> 
  |   <component-ref>myportal.CentralController</component-ref> 
  |  </instance>
  | </deployment>
  | 

2) create portal-instances.xml and put it there with some minor tag name 
changes (exacly how the console message is pointing):


  | <?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>     
  | 



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

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

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
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to