Planned maintenance is scheduled for the week of June 15th - the exact date and time will be announced soon.
See More Details
Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
Errore avvio liferay Portlet non instanziata. Come risolvere?
Ciao a tutti, spesso ho il problema dopo il riavvio della macchina, che accedendo al Portale Liferay ottengo questo messaggio su tutte le pagine:
"Questa portlet non è stata instanziata. Si prega di effettuare un redeploy ..."
Io utilizzo Liferay 7.2 con Jboss eap 7.1 con due macchine e un bilanciatore.
L'unico modo attualmente per risolvere questo problema è fare un stop delle due macchine, pulire le cartelle temporanee di jbossjboss/standalone/tmp
<liferayhome>/work ( senza rimuovere la cartella "sprite" )
<liferayhome>osgi/statePoi avvio il primo nodo sperando che funzioni. Solo dopo avvio il secondo nodo.Tuttavia spesso devo ripetere questa procedura MOLTE volte fin quando le portlet non sono correttamente instanziate e visualizzabili.Qualcuno potrebbe aiutarmi in merito? Ha avuto questo problema? Come avete risolto?
Questo e' un esempio di una delle portlet:
"Questa portlet non è stata instanziata. Si prega di effettuare un redeploy ..."
Io utilizzo Liferay 7.2 con Jboss eap 7.1 con due macchine e un bilanciatore.
L'unico modo attualmente per risolvere questo problema è fare un stop delle due macchine, pulire le cartelle temporanee di jbossjboss/standalone/tmp
<liferayhome>/work ( senza rimuovere la cartella "sprite" )
<liferayhome>osgi/statePoi avvio il primo nodo sperando che funzioni. Solo dopo avvio il secondo nodo.Tuttavia spesso devo ripetere questa procedura MOLTE volte fin quando le portlet non sono correttamente instanziate e visualizzabili.Qualcuno potrebbe aiutarmi in merito? Ha avuto questo problema? Come avete risolto?
Questo e' un esempio di una delle portlet:
@Component(
immediate = true,
property = {
"com.liferay.portlet.display-category=category.qineticPortal",
"com.liferay.portlet.instanceable=false",
"javax.portlet.init-param.template-path=/",
"javax.portlet.resource-bundle=content.Language",
"javax.portlet.security-role-ref=power-user,user",
"javax.portlet.init-param.view-template=/partnerportlet/view.jsp",
"javax.portlet.name=partner",
"com.liferay.portlet.header-portlet-javascript=/js/common.js",
"javax.portlet.init-param.copy-request-parameters=false",
"javax.portlet.version=3.0"
},
service = Portlet.class
)
public class PartnerPortlet extends MVCPortlet {
Community
Company
Feedback