Mail Archive Home | exoplatform List | April 2008 Index
| <-- Date Index --> | <-- Thread Index --> |
Hello,
Some feedbacks about my last exceptions !
Launching a browser on the URL of the portal always fails in a NullPointerException on org.exoplatform.portal.application.PortalController.init(PortalController.java:69)...
This might be due to other exception while deploying the EAR ?
I've succeeded in avoiding one exception but I can't understand the others... May the team could have a look ? ... Please answer even if it's negative ...
First : RuntimeException: Cannot instantiate component class org.exoplatform.services.scheduler.impl.QuartzSheduler
Action ="" didn't worked on that stuff since I don't know what's for
Second : ClassNotFoundException: org.apache.commons.dbcp.BasicDataSourceFactory
why => missing dependency ?
Action="" added dependency to commons-dbcp in eXoProjects/kernel/trunk/container/pom.xml
Effects => does nothing ! :(
Third : Servlet /portal threw load() exception java.lang.NullPointerException
Why => unexpected null object : org.exoplatform.portal.application.PortalController.init() : portalContainer is null : rootContainer.getPortalContainer("portal") returns null !!
Action ="" None !! Can't understand more because RootContainer.getPortalContainer() calls DefaultPicoContainer.getComponentInstance() (no source found !)
Fourth : ClassNotFoundException: com.sun.org.apache.xerces.internal.dom.DOMInputImpl
Action ="" replace internal DOMInputImpl by the one in xerces : modified eXoProjects/portlet-container/trunk/component/plugins/pc/src/main/java/org/exoplatform/services/portletcontainer/impl/servlet/PortletApplicationListener.java Action ="" added Xerces dependency in eXoProjects/portlet-container/trunk/component/plugins/pc/pom.xml
Effects => solved the problem :) Maybe it sould be committed in SVN if it does not breaks other things...
Fifth : SkinService.processMergeRecursively : Problem while merging CSS : /skin/PortletThemes/Stylesheet.css
Why => What's wrong with portletThemes/Stylesheet.css ? others works properly but scontext.getResourceAsStream("/skin/PortletThemes/Stylesheet.css") seems to thow nullpointer
Sixth : Servlet /cometd threw load() exception
java.lang.IncompatibleClassChangeError org.exoplatform.services.scheduler.impl.QuartzSheduler
Action ="" don't know what's for, didn't look at it
Effects => none
Steph a écrit :Hello,
eXoPortal seems now correctly build on JOnAS 5.0.2 with JDK 1.6.
However, I've got 6 exceptions that I don't know how to remove (see below, full log attached to this mail).
Please note that I've updated my workspace yesterday, 08/04/2008.
First :
008-04-09 13:46:50,725 : QuartzScheduler.<init> : Quartz Scheduler v.1.5.0-RC2 created.
java.lang.RuntimeException: Cannot instantiate component class org.exoplatform.services.scheduler.impl.QuartzSheduler
[...]
Caused by: java.lang.LinkageError: loader constraint violation in interface itable initialization: when resolving method "org.quartz.impl.StdScheduler.setJobFactory(Lorg/quartz/spi/JobFactory;)V" the class loader (instance of org/ow2/easybeans/loader/EasyBeansClassLoader) of the current class, org/quartz/impl/StdScheduler, and the class loader (instance of org/apache/felix/framework/searchpolicy/ContentClassLoader) for interface org/quartz/Scheduler have different Class objects for the type org/quartz/spi/JobFactory used in the signature
==> is it grave doctor ?
Second :
2008-04-09 13:46:59,047 : InitialContextInitializer.addPlugin : Reference bound: jdbcexo
ERROR: cannot create portal container. ServletContext: org.apache.catalina.core.ApplicationContextFacade@48c85b
java.lang.RuntimeException: Cannot instantiate component class org.exoplatform.services.jcr.ext.hierarchy.impl.NodeHierarchyCreatorImpl
[...]
Caused by: java.lang.ClassNotFoundException: org.apache.commons.dbcp.BasicDataSourceFactory
==> However, commons-dbcp-1.2.1.jar is in EAR's dir (/exo-jonas/deploy/exoplatform.ear/lib)
Third :
2008-04-09 11:56:11,177 : StandardContext.loadOnStartup : Servlet /portal threw load() exception
java.lang.NullPointerException
at org.exoplatform.portal.application.PortalController.init(PortalController.java:67)
=> while reading the code, i think it is because rootContainer.createPortalContainer(config.getServletContext()) did not succed.
Fourth : (happened more than one time)
2008-04-09 11:56:11,707 : StandardContext.listenerStart : Exception sending context initialized event to listener instance of class org.exoplatform.services.portletcontainer.impl.servlet.PortletApplicationListener
java.lang.NoClassDefFoundError: com/sun/org/apache/xerces/internal/dom/DOMInputImpl
[...]
Caused by: java.lang.ClassNotFoundException: com.sun.org.apache.xerces.internal.dom.DOMInputImpl
==> even if xercesImpl-2.8.1.jar would be in EAR's lib dir, DOMInputImpl's package is org.apache.xerces.dom (no internal). What library does it refers to ?
Fitfh : (happened more than one time)
2008-04-09 11:56:12,499 : SkinService.processMergeRecursively : Problem while merging CSS : /skin/PortletThemes/Stylesheet.css
java.lang.NullPointerException
at org.exoplatform.portal.webui.skin.SkinService.processMergeRecursively(SkinService.java:155)
==> The file /skin/PortletThemes/Stylesheet.css exists ?! Why BufferReader fails ?
Sixth :
2008-04-09 11:56:15,184 : StandardContext.loadOnStartup : Servlet /cometd threw load() exception
java.lang.IncompatibleClassChangeError: Implementing class
==> Cometd won't work, grave ?
Thanks for the support :)
Steph a écrit :Hello, I've successfully build jonas environment in version osgi-5.0.1, with JDK 1.6. However, there's something wrong with librairies ; in the log, I've got some ClassNotFoundException so that the EAR can be correctly deployed : [...] Any issue about this, knowing that here are all jars in jonas lib dir : [...] Many thanks ! - Stéphane
--
You receive this message as a subscriber of the exoplatform@xxxxxxx mailing list.
To unsubscribe: mailto:exoplatform-unsubscribe@xxxxxxx
For general help: mailto:sympa@xxxxxxx?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
| <-- Date Index --> | <-- Thread Index --> |
Powered by MHonArc.
Copyright © 2006-2007, OW2 Consortium | contact | webmaster.