Welcome, Guest. Please Login or Register
WebLab Project
  You can now retrieve WebLab Core sources from our OW2 SVN
  Warning ! This forum is now locked, new posts have been disabled. If you want to contact us about a problem or have question, please use the following mailing list:
user@weblab-project.org !
  HomeHelpSearchLoginRegister  
 
 
Page Index Toggle Pages: 1
Send Topic Print
[Resolved] Adding helloPortlets to exo WebOS (Read 438 times)
10.05.2008 at 11:11:39

David DOUSSOT   Offline
WebLab Newbies
I Love WebLab [so much]
PARIS - AgroParisTech

Gender: male
Posts: 7
*
 
I've done the tutorial and my portlets work well with eXo PC.

Then I have installed exo-eXoUltimateProduct-r11432-tomcat to try to make them work with eXo WebOS. The console application show that my portlets are well deployed.
But I cannot add them to the portal : When I am in Administration > Application Registry, I get an "Unknown Error" message each time I try to add a Portlet (even a portlet I have not delopped, like Console Portlet for instance).

At console level I have :

Code:
2008/05/10 11:07:09:765 CEST [ERROR] portal:UIApplication - Error during the pro
cessAction phase <java.lang.NullPointerException>java.lang.NullPointerException
	  at org.exoplatform.services.jcr.impl.xml.importing.BaseXmlImporter.findN
odeType(BaseXmlImporter.java:328)
	  at org.exoplatform.services.jcr.impl.xml.importing.DocumentViewImporter.
parseAttr(DocumentViewImporter.java:519)
	  at org.exoplatform.services.jcr.impl.xml.importing.DocumentViewImporter.
startElement(DocumentViewImporter.java:192)
	  at org.exoplatform.services.jcr.impl.xml.importing.NeutralImporter.start
Element(NeutralImporter.java:111)
	  at org.exoplatform.services.jcr.impl.xml.importing.StreamImporter.import
Stream(StreamImporter.java:127)
	  at org.exoplatform.services.jcr.impl.core.WorkspaceImpl.importXML(Worksp
aceImpl.java:359)
	  at org.exoplatform.services.jcr.impl.core.WorkspaceImpl.importXML(Worksp
aceImpl.java:308)
	  at org.exoplatform.services.jcr.ext.registry.RegistryService.createEntry
(RegistryService.java:162)
	  at org.exoplatform.application.registry.jcr.ApplicationRegistryServiceIm
pl.save(ApplicationRegistryServiceImpl.java:328)
	  at org.exoplatform.portletregistry.webui.component.UIAvailablePortletFor
m$SaveActionListener.execute(UIAvailablePortletForm.java:205)
	  at org.exoplatform.webui.event.Event.broadcast(Event.java:52)
	  at org.exoplatform.webui.core.lifecycle.UIFormLifecycle.processAction(UI
FormLifecycle.java:97)
	  at org.exoplatform.webui.core.UIComponent.processAction(UIComponent.java
:90)
	  at org.exoplatform.webui.core.lifecycle.UIApplicationLifecycle.processAc
tion(UIApplicationLifecycle.java:45)
	  at org.exoplatform.webui.core.UIComponent.processAction(UIComponent.java
:90)
	  at org.exoplatform.webui.core.UIApplication.processAction(UIApplication.
java:80)
	  at org.exoplatform.webui.application.WebuiApplication.processAction(Webu
iApplication.java:105)
	  at org.exoplatform.webui.application.portlet.PortletApplication.processA
ction(PortletApplication.java:138)
	  at org.exoplatform.webui.application.portlet.PortletApplicationControlle
r.processAction(PortletApplicationController.java:70)
	  at org.exoplatform.services.portletcontainer.plugins.pc.aop.PortletMetho
dCommand.processAction(PortletMethodCommand.java:67)
	  at org.exoplatform.services.portletcontainer.plugins.pc.aop.BaseCommandU
nit.execute(BaseCommandUnit.java:45)
	  at org.exoplatform.container.component.ExecutionContext.executeNextUnit(
ExecutionContext.java:38)
	  at org.exoplatform.services.portletcontainer.plugins.pc.aop.BaseCommandU
nit.processAction(BaseCommandUnit.java:61)
	  at org.exoplatform.services.portletcontainer.plugins.pc.aop.BaseCommandU
nit.execute(BaseCommandUnit.java:45)
	  at org.exoplatform.container.component.ExecutionContext.executeNextUnit(
ExecutionContext.java:38)
	  at org.exoplatform.services.portletcontainer.plugins.pc.aop.PortletCache
Command.processAction(PortletCacheCommand.java:220)
	  at org.exoplatform.services.portletcontainer.plugins.pc.aop.BaseCommandU
nit.execute(BaseCommandUnit.java:45)
	  at org.exoplatform.container.component.ExecutionContext.executeNextUnit(
ExecutionContext.java:38)
	  at org.exoplatform.services.portletcontainer.plugins.pc.aop.PortletFilte
rCommand.processAction(PortletFilterCommand.java:71)
	  at org.exoplatform.services.portletcontainer.plugins.pc.aop.BaseCommandU
nit.execute(BaseCommandUnit.java:45)
	  at org.exoplatform.container.component.ExecutionContext.executeNextUnit(
ExecutionContext.java:38)
	  at org.exoplatform.services.portletcontainer.plugins.pc.aop.PortletSecur
ityCommand.processAction(PortletSecurityCommand.java:52)
	  at org.exoplatform.services.portletcontainer.plugins.pc.aop.BaseCommandU
nit.execute(BaseCommandUnit.java:45)
	  at org.exoplatform.container.component.ExecutionContext.executeNextUnit(
ExecutionContext.java:38)
	  at org.exoplatform.services.portletcontainer.plugins.pc.aop.BaseCommandU
nit.processAction(BaseCommandUnit.java:61)
	  at org.exoplatform.services.portletcontainer.plugins.pc.aop.BaseCommandU
nit.execute(BaseCommandUnit.java:45)
	  at org.exoplatform.container.component.ExecutionContext.execute(Executio
nContext.java:32)
	  at org.exoplatform.services.portletcontainer.plugins.pc.aop.PortletComma
ndChain.doProcessAction(PortletCommandChain.java:52)
	  at org.exoplatform.services.portletcontainer.plugins.pc.PortletApplicati
onHandler.process(PortletApplicationHandler.java:242)
	  at org.exoplatform.services.portletcontainer.impl.servlet.ServletWrapper
.service(ServletWrapper.java:100)
	  at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
	  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:290)
	  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:206)
	  at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDisp
atcher.java:687)
	  at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationD
ispatcher.java:590)
	  at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDis
patcher.java:505)
	  at org.exoplatform.services.portletcontainer.plugins.pc.PortletContainer
Dispatcher.dispatch(PortletContainerDispatcher.java:541)
	  at org.exoplatform.services.portletcontainer.plugins.pc.PortletContainer
Dispatcher.process(PortletContainerDispatcher.java:476)
	  at org.exoplatform.services.portletcontainer.plugins.pc.PortletContainer
Dispatcher.processAction(PortletContainerDispatcher.java:371)
	  at org.exoplatform.services.portletcontainer.impl.PortletContainerServic
eImpl.processAction(PortletContainerServiceImpl.java:389)
	  at org.exoplatform.portal.webui.application.UIPortletActionListener$Proc
essActionActionListener.execute(UIPortletActionListener.java:111)
	  at org.exoplatform.webui.event.Event.broadcast(Event.java:52)
	  at org.exoplatform.portal.webui.application.UIPortletLifecycle.processAc
tion(UIPortletLifecycle.java:116)
	  at org.exoplatform.webui.core.UIComponent.processAction(UIComponent.java
:90)
	  at org.exoplatform.portal.webui.workspace.UIPortalApplicationLifecycle.p
rocessAction(UIPortalApplicationLifecycle.java:56)
	  at org.exoplatform.webui.core.UIComponent.processAction(UIComponent.java
:90)
	  at org.exoplatform.webui.core.UIApplication.processAction(UIApplication.
java:80)
	  at org.exoplatform.webui.application.WebuiApplication.processAction(Webu
iApplication.java:105)
	  at org.exoplatform.portal.application.PortalRequestHandler.execute(Porta
lRequestHandler.java:87)
	  at org.exoplatform.web.WebAppController.service(WebAppController.java:12
6)
	  at org.exoplatform.portal.application.PortalController.service(PortalCon
troller.java:92)
	  at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
	  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:290)
	  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:206)
	  at org.exoplatform.frameworks.jcr.web.ThreadLocalSessionProviderInitiali
zedFilter.doFilter(ThreadLocalSessionProviderInitializedFilter.java:105)
	  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:235)
	  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:206)
	  at org.exoplatform.frameworks.jcr.web.PortalContainerInitializedFilter.d
oFilter(PortalContainerInitializedFilter.java:88)
	  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:235)
	  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:206)
	  at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
alve.java:228)
	  at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
alve.java:175)
	  at org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authentica
torBase.java:525)
	  at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
ava:128)
	  at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
ava:104)
	  at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
ve.java:109)
	  at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
a:216)
	  at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
:844)
	  at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce
ss(Http11Protocol.java:634)
	  at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:44
5)
	  at java.lang.Thread.run(Thread.java:595)
 

« Last Edit: 19.06.2008 at 18:56:10 by Yann Mombrun »  

AgroParisTech
IP Logged
 
Reply #1 - 10.05.2008 at 11:38:43

David DOUSSOT   Offline
WebLab Newbies
I Love WebLab [so much]
PARIS - AgroParisTech

Gender: male
Posts: 7
*
 
I often respond to myself Wink

Thanks to this post, I hava solved the problem :
http://jira.exoplatform.org/browse/JCR-380

You have to stop eXo, delete the content of the temp directory of eXo, and restart it.

But the new problem is that when I click on a submit button of a portlets it works well with IE 7 but hangs Firefox....
 

AgroParisTech
IP Logged
 
Page Index Toggle Pages: 1
Send Topic Print