EPP 5 fails to start due to NameNotFoundException

Solution Verified - Updated -

Issue

I have been trying to deploy the sample portal, and run it against MySQL. I have no problem running the default portal, but when I deploy the sample portal as well, it fails with the following errors during start up:

2010-06-30 13:29:46,945 ERROR [exo.kernel.container.RootContainer] (main) Cannot create the portal container 'portal' . ServletContext: org.apache.catalina.core.ApplicationContextFacade@143accaf
java.lang.RuntimeException: Cannot instantiate component key=org.exoplatform.services.jcr.ext.hierarchy.NodeHierarchyCreator type=org.exoplatform.services.jcr.ext.hierarchy.impl.NodeHierarchyCreatorImpl found at jndi:/localhost/portal/WEB-INF/conf/configuration.xml
    at org.exoplatform.container.jmx.MX4JComponentAdapter.getComponentInstance(MX4JComponentAdapter.java:113)
    at org.exoplatform.container.management.ManageableComponentAdapter.getComponentInstance(ManageableComponentAdapter.java:68)
    at org.picocontainer.defaults.DefaultPicoContainer.getInstance(DefaultPicoContainer.java:322)
    at org.picocontainer.defaults.DefaultPicoContainer.getComponentInstancesOfType(DefaultPicoContainer.java:281)
...
Caused by: javax.naming.NameNotFoundException: gatein-jcr_portal not bound
    at org.jnp.server.NamingServer.getBinding(NamingServer.java:771)
    at org.jnp.server.NamingServer.getBinding(NamingServer.java:779)
    at org.jnp.server.NamingServer.getObject(NamingServer.java:785)
    at org.jnp.server.NamingServer.lookup(NamingServer.java:443)

Environment

  • JBoss Enterprise Portal Platform (EPP) 
    • 5.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.