Results 1 to 6 of 6

Thread: 404 errors after install

  1. #1
    Join Date
    Jul 2009
    Posts
    4

    Default 404 errors after install

    I seem to have successfully deployed tcserver without AMS. I am using it in the tomcat mode. I added my war file to the webapps directory and it seems to have expanded correctly but when I attempt to reference it, I get 404 errors. I also tried applications called host-manager and manager with the same result. The only thing that works is the basic page.

  2. #2

    Default

    Most likely your application failed to deploy. Check the log files, the error would be there.

  3. #3
    Join Date
    Jul 2009
    Posts
    4

    Default

    The log seems to imply that the server didn't install correctly

    ERROR ContextLoader - Context initialization failed
    org.springframework.beans.factory.BeanCreationExce ption: Error creating bean with name 'loginCommand'
    defined in class path resource [app/servlets/servletsContext.xml]: Cannot resolve reference to bean 'u
    serService' while setting bean property 'userService'; nested exception is org.springframework.beans.f
    actory.BeanCreationException: Error creating bean with name 'userService' defined in class path resour
    ce [app/services/servicesContext.xml]: Cannot resolve reference to bean 'userDao' while setting bean p
    roperty 'userDao'; nested exception is org.springframework.beans.factory.BeanCreationExce ption: Error
    creating bean with name 'userDao' defined in class path resource [app/services/servicesContext.xml]: C
    annot resolve reference to bean 'entityManagerFactory' while setting bean property 'entityManagerFacto
    ry'; nested exception is org.springframework.beans.factory.BeanCreationExce ption: Error creating bean
    with name 'entityManagerFactory' defined in class path resource [app/services/servicesContext.xml]: In
    stantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationExcepti on:
    Could not instantiate bean class [org.springframework.orm.jpa.LocalContainerEntityMa nagerFactoryBean]:
    Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: javax/persistence/Pe
    rsistenceException
    at org.springframework.beans.factory.support.BeanDefi nitionValueResolver.resolveReference(Bean
    DefinitionValueResolver.java:275)
    at org.springframework.beans.factory.support.BeanDefi nitionValueResolver.resolveValueIfNecessa
    ry(BeanDefinitionValueResolver.java:104)
    at org.springframework.beans.factory.support.Abstract AutowireCapableBeanFactory.applyPropertyV
    alues(AbstractAutowireCapableBeanFactory.java:1245 )
    at org.springframework.beans.factory.support.Abstract AutowireCapableBeanFactory.populateBean(A
    bstractAutowireCapableBeanFactory.java:1010)
    at org.springframework.beans.factory.support.Abstract AutowireCapableBeanFactory.doCreateBean(A
    bstractAutowireCapableBeanFactory.java:472)
    at org.springframework.beans.factory.support.Abstract AutowireCapableBeanFactory$1.run(Abstract
    AutowireCapableBeanFactory.java:409)
    at java.security.AccessController.doPrivileged(Native Method)
    at org.springframework.beans.factory.support.Abstract AutowireCapableBeanFactory.createBean(Abs
    tractAutowireCapableBeanFactory.java:380)
    at org.springframework.beans.factory.support.Abstract BeanFactory$1.getObject(AbstractBeanFacto
    ry.java:264)
    at org.springframework.beans.factory.support.DefaultS ingletonBeanRegistry.getSingleton(Default
    SingletonBeanRegistry.java:222)
    at org.springframework.beans.factory.support.Abstract BeanFactory.doGetBean(AbstractBeanFactory
    .java:261)

  4. #4

    Default missing library

    This library is missing
    java.lang.NoClassDefFoundError: javax/persistence/Pe
    rsistenceException


    Quote Originally Posted by garlicbulb View Post
    The log seems to imply that the aerver




    didn't install correctly

    ERROR ContextLoader - Context initialization failed
    org.springframework.beans.factory.BeanCreationExce ption: Error creating bean with name 'loginCommand'
    defined in class path resource [app/servlets/servletsContext.xml]: Cannot resolve reference to bean 'u
    serService' while setting bean property 'userService'; nested exception is org.springframework.beans.f
    actory.BeanCreationException: Error creating bean with name 'userService' defined in class path resour
    ce [app/services/servicesContext.xml]: Cannot resolve reference to bean 'userDao' while setting bean p
    roperty 'userDao'; nested exception is org.springframework.beans.factory.BeanCreationExce ption: Error
    creating bean with name 'userDao' defined in class path resource [app/services/servicesContext.xml]: C
    annot resolve reference to bean 'entityManagerFactory' while setting bean property 'entityManagerFacto
    ry'; nested exception is org.springframework.beans.factory.BeanCreationExce ption: Error creating bean
    with name 'entityManagerFactory' defined in class path resource [app/services/servicesContext.xml]: In
    stantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationExcepti on:
    Could not instantiate bean class [org.springframework.orm.jpa.LocalContainerEntityMa nagerFactoryBean]:
    Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: javax/persistence/Pe
    rsistenceException
    at org.springframework.beans.factory.support.BeanDefi nitionValueResolver.resolveReference(Bean
    DefinitionValueResolver.java:275)
    at org.springframework.beans.factory.support.BeanDefi nitionValueResolver.resolveValueIfNecessa
    ry(BeanDefinitionValueResolver.java:104)
    at org.springframework.beans.factory.support.Abstract AutowireCapableBeanFactory.applyPropertyV
    alues(AbstractAutowireCapableBeanFactory.java:1245 )
    at org.springframework.beans.factory.support.Abstract AutowireCapableBeanFactory.populateBean(A
    bstractAutowireCapableBeanFactory.java:1010)
    at org.springframework.beans.factory.support.Abstract AutowireCapableBeanFactory.doCreateBean(A
    bstractAutowireCapableBeanFactory.java:472)
    at org.springframework.beans.factory.support.Abstract AutowireCapableBeanFactory$1.run(Abstract
    AutowireCapableBeanFactory.java:409)
    at java.security.AccessController.doPrivileged(Native Method)
    at org.springframework.beans.factory.support.Abstract AutowireCapableBeanFactory.createBean(Abs
    tractAutowireCapableBeanFactory.java:380)
    at org.springframework.beans.factory.support.Abstract BeanFactory$1.getObject(AbstractBeanFacto
    ry.java:264)
    at org.springframework.beans.factory.support.DefaultS ingletonBeanRegistry.getSingleton(Default
    SingletonBeanRegistry.java:222)
    at org.springframework.beans.factory.support.Abstract BeanFactory.doGetBean(AbstractBeanFactory
    .java:261)

  5. #5
    Join Date
    Jul 2009
    Posts
    4

    Default

    How does one resolve that?

  6. #6

    Default

    What are you using for ORM, the class should be bundled with that software.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •