Jahia Dev Forum > Getting InvalidNodeTypeDefinit...

0 (0 Good)
0 (0 Bad)

Getting InvalidNodeTypeDefinitionException for an already working jahia module

by  abhinitb »  2013/04/08 11:19

Hi,
I am trying to deploy an already working module in a new environment for the first time. It seems that somehow jahia node is not getting
created for the same and giving the following exception. Can anyone suggest a solution for this issue ?

2013-04-02 08:37:00,267: ERROR [JCRStoreProvider] - Cannot register nodetypes
javax.jcr.nodetype.InvalidNodeTypeDefinitionException: [{http://www.jahia.org/jahia/nt/1.0}JumpDown] invalid supertype: {http://www.jahia.org/jahia/mix/1.0}mepModules
        at org.apache.jackrabbit.core.nodetype.NodeTypeManagerImpl.registerNodeTypes(NodeTypeManagerImpl.java:585)
        at org.jahia.services.content.impl.jackrabbit.JackrabbitStoreProvider.registerCustomNodeTypes(JackrabbitStoreProvider.java:167)
        at org.jahia.services.content.JCRStoreProvider.deployDefinitions(JCRStoreProvider.java:570)
        at org.jahia.services.content.JCRStoreProvider.initNodeTypes(JCRStoreProvider.java:391)
        at org.jahia.services.content.JCRStoreProvider.start(JCRStoreProvider.java:336)
        at org.jahia.services.content.impl.jackrabbit.JackrabbitStoreProvider.start(JackrabbitStoreProvider.java:98)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1544)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1485)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1417)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291)
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190)
        at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:580)
        at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895)
        at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:425)
        at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:276)
        at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:197)
        at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)
        at org.apache.pluto.driver.PortalStartupListener.contextInitialized(PortalStartupListener.java:108)
        at org.jahia.bin.listeners.JahiaContextLoaderListener.contextInitialized(JahiaContextLoaderListener.java:164)
        at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4206)
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:4705)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601)
        at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:675)
        at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:601)
        at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:502)
        at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1317)
        at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324)
        at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1065)
        at org.apache.catalina.core.StandardHost.start(StandardHost.java:840)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)
        at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
        at org.apache.catalina.core.StandardService.start(StandardService.java:525)
        at org.apache.catalina.core.StandardServer.start(StandardServer.java:754)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:595)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)

Thanks
Abhinit

  (abhinitb)

Number of messages  28
Registration date
0 (0 Good)
0 (0 Bad)

Re: Getting InvalidNodeTypeDefinitionException for an already working jahia module

by  namitgupta »  2013/04/10 06:52

Re-indexing the repository should resolve this issue!

  (namitgupta)

Number of messages  36
Registration date
0 (0 Good)
0 (0 Bad)

Re: Getting InvalidNodeTypeDefinitionException for an already working jahia module

by  rvt »  2013/04/16 21:44

I doubth that re-indexing would work here.

Double check your definitions file (*.cnd) and see if you made and typo's etc.
This error comes from jackrabbit, so a search in google also might lead you into the right direction.

Ries
www.riesvantwisk.com

  • Re: Getting InvalidNodeTypeDefinitionException for an already working jahia module
    2013/04/16 21:45

    rvt <p> I doubth that re-indexing would work here.</p> <p> Double check your definitions file (*.cnd) and see if you made and typo&#39;s etc.<br /> This error comes from jackrabbit, so a search in google also might lead you into the right direction.</p> <p> Ries<br /> www.riesvantwisk.com</p>

  • Number of messages  185
    Registration date Apr 16, 2013
    0 (0 Good)
    0 (0 Bad)

    Re: Re: Getting InvalidNodeTypeDefinitionException for an already working jahia module

    by  abhinitb »  2013/04/17 13:00

    Hi Ries,

    Reindexing doesn't work here.

    But I am sure that .cnd does not have any typos as the same .cnd is working absolutely fine in one environment and causes problem when deploying it on other environment for the first time.

    Best Regards,

    Abhinit

      (abhinitb)

    Number of messages  28
    Registration date
    0 (0 Good)
    0 (0 Bad)

    Re: Re: Re: Getting InvalidNodeTypeDefinitionException for an already working jahia module

    by  rvt »  2013/04/17 13:31

    If this module is open source,

    is there a repo where I can try it out on my own installation?

    Ries

  • Re: Re: Re: Getting InvalidNodeTypeDefinitionException for an already working jahia module
    2013/04/17 13:31

    rvt <p> If this module is open source,</p> <p> is there a repo where I can try it out on my own installation?</p> <p> Ries</p>

  • Number of messages  185
    Registration date Apr 17, 2013
    Contact
    Share
    Feedback

    Get in touch

    Whether you are a current user or if you are just evaluating Jahia, we are here to help.

    Contact us

    Share this page