roller-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ramilani12 <ramil...@gmail.com>
Subject Trying to deploy Roller on Tomcat
Date Tue, 22 Nov 2011 16:48:48 GMT

Hello
Guys,

I´m very interested about Roller and your features but I´ve been trying to
deploy on tomcat but in vain.
I´ve faced a lot of problems about missed libs but now I´m stuck here:

Where am I doing wrong?

Another question Has anyone deployed Roller on Weblogic(10) ?

Thanks
Raphael Milani

INFO  2011-11-21 15:57:35,783 DatabaseProvider:
successMessage - SUCCESS: Got parameters. Using configuration type JNDI_NAME
INFO  2011-11-21 15:57:35,786 DatabaseProvider:successMessage - -- Using
JNDI datasource name: java:comp/env/jdbc/rollerdb
INFO  2011-11-21 15:57:35,788 DatabaseProvider:successMessage - SUCCESS:
located JNDI DataSource [java:comp/env/jdbc/rollerdb]
WARN  2011-11-21 15:57:37,212 WebloggerStartup:prepare - Failed to setup
mail provider, continuing anways.
Reason: ERROR connecting to mail server
INFO  2011-11-21 15:57:37,885 WebloggerFactory:bootstrap - Bootstrapping
Roller Weblogger business tier
INFO  2011-11-21 15:57:37,885 WebloggerFactory:bootstrap - Weblogger
Provider = org.apache.roller.weblogger.business.GuiceWebloggerProvider
INFO  2011-11-21 15:57:37,889 DatabaseProvider:successMessage - SUCCESS: Got
parameters. Using configuration type JNDI_NAME
INFO  2011-11-21 15:57:37,890 DatabaseProvider:successMessage - -- Using
JNDI datasource name: java:comp/env/jdbc/rollerdb
INFO  2011-11-21 15:57:37,890 DatabaseProvider:successMessage - SUCCESS:
located JNDI DataSource [java:comp/env/jdbc/rollerdb]
INFO  2011-11-21 15:57:37,891 JPAPersistenceStrategy:<init> -
hibernate.transaction.manager_lookup_class:
org.hibernate.transaction.JBossTransactionManagerLookup
INFO  2011-11-21 15:57:37,891 JPAPersistenceStrategy:<init> -
hibernate.transaction.factory_class:
org.hibernate.transaction.JTATransactionFactory
INFO  2011-11-21 15:57:37,891 JPAPersistenceStrategy:<init> - openjpa.Log:
commons

javax.persistence.PersistenceException: [PersistenceUnit: RollerPU] Unable
to build EntityManagerFactory
    at
org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:915)
    at
org.hibernate.ejb.HibernatePersistence.createEntityManagerFactory(HibernatePersistence.java:57)
    at
javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:63)
    at
org.apache.roller.weblogger.business.jpa.JPAPersistenceStrategy.<init>(JPAPersistenceStrategy.java:108)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    at
com.google.inject.DefaultConstructionProxyFactory$2.newInstance(DefaultConstructionProxyFactory.java:81)
    at
com.google.inject.ConstructorInjector.construct(ConstructorInjector.java:85)
    at
com.google.inject.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:111)
    at
com.google.inject.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:45)
    at com.google.inject.InjectorImpl.callInContext(InjectorImpl.java:811)
    at
com.google.inject.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:42)
    at com.google.inject.Scopes$1$1.get(Scopes.java:54)
    at
com.google.inject.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:48)
    at
com.google.inject.SingleParameterInjector.inject(SingleParameterInjector.java:42)
    at
com.google.inject.SingleParameterInjector.getAll(SingleParameterInjector.java:66)
    at
com.google.inject.ConstructorInjector.construct(ConstructorInjector.java:84)
    at
com.google.inject.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:111)
    at
com.google.inject.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:45)
    at com.google.inject.InjectorImpl.callInContext(InjectorImpl.java:811)
    at
com.google.inject.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:42)
    at com.google.inject.Scopes$1$1.get(Scopes.java:54)
    at
com.google.inject.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:48)
    at com.google.inject.FactoryProxy.get(FactoryProxy.java:56)
    at com.google.inject.InjectorImpl$4$1.call(InjectorImpl.java:758)
    at com.google.inject.InjectorImpl.callInContext(InjectorImpl.java:804)
    at com.google.inject.InjectorImpl$4.get(InjectorImpl.java:754)
    at com.google.inject.InjectorImpl.getInstance(InjectorImpl.java:793)
    at
org.apache.roller.weblogger.business.GuiceWebloggerProvider.bootstrap(GuiceWebloggerProvider.java:87)
    at
org.apache.roller.weblogger.business.WebloggerFactory.bootstrap(WebloggerFactory.java:134)
    at
org.apache.roller.weblogger.business.WebloggerFactory.bootstrap(WebloggerFactory.java:99)
    at
org.apache.roller.weblogger.ui.core.RollerContext.contextInitialized(RollerContext.java:158)
    at
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3795)
    at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4252)
    at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:760)
    at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:740)
    at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:544)
    at
org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:634)
    at
org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:561)
    at
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:496)
    at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1203)
    at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:319)
    at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1022)
    at org.apache.catalina.core.StandardHost.start(StandardHost.java:736)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)
    at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
    at
org.apache.catalina.core.StandardService.start(StandardService.java:448)
    at
org.apache.catalina.core.StandardServer.start(StandardServer.java:700)
    at org.apache.catalina.startup.Catalina.start(Catalina.java:552)
    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:295)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)
Caused by: org.hibernate.HibernateException: Could not find datasource
    at
org.hibernate.connection.DatasourceConnectionProvider.configure(DatasourceConnectionProvider.java:79)
    at
org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:143)
    at
org.hibernate.ejb.InjectionSettingsFactory.createConnectionProvider(InjectionSettingsFactory.java:51)
    at
org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:90)
    at
org.hibernate.cfg.Configuration.buildSettingsInternal(Configuration.java:2863)
    at
org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2859)
    at
org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1870)
    at
org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:906)
    ... 57 more
Caused by: javax.naming.NameNotFoundException: Name jdbc is not bound in
this Context
    at org.apache.naming.NamingContext.lookup(NamingContext.java:770)
    at org.apache.naming.NamingContext.lookup(NamingContext.java:153)
    at org.apache.naming.SelectorContext.lookup(SelectorContext.java:137)
    at javax.naming.InitialContext.lookup(InitialContext.java:392)
    at
org.hibernate.connection.DatasourceConnectionProvider.configure(DatasourceConnectionProvider.java:75)
    ... 64 more
INFO  2011-11-21 15:57:39,520 DatabaseProvider:successMessage - SUCCESS: Got
parameters. Using configuration type JNDI_NAME
INFO  2011-11-21 15:57:39,521 DatabaseProvider:successMessage - -- Using
JNDI datasource name: java:comp/env/jdbc/rollerdb
INFO  2011-11-21 15:57:39,521 DatabaseProvider:successMessage - SUCCESS:
located JNDI DataSource [java:comp/env/jdbc/rollerdb]
INFO  2011-11-21 15:57:39,522 JPAPersistenceStrategy:<init> -
hibernate.transaction.manager_lookup_class:
org.hibernate.transaction.JBossTransactionManagerLookup
INFO  2011-11-21 15:57:39,523 JPAPersistenceStrategy:<init> -
hibernate.transaction.factory_class:
org.hibernate.transaction.JTATransactionFactory
INFO  2011-11-21 15:57:39,523 JPAPersistenceStrategy:<init> - openjpa.Log:
commons
ERROR 2011-11-21 15:57:39,967 JPAPersistenceStrategy:<init> - ERROR:
creating entity manager
javax.persistence.PersistenceException: [PersistenceUnit: RollerPU] Unable
to build EntityManagerFactory
    at
org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:915)
    at
org.hibernate.ejb.HibernatePersistence.createEntityManagerFactory(HibernatePersistence.java:57)
    at
javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:63)
    at
org.apache.roller.weblogger.business.jpa.JPAPersistenceStrategy.<init>(JPAPersistenceStrategy.java:108)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    at
com.google.inject.DefaultConstructionProxyFactory$2.newInstance(DefaultConstructionProxyFactory.java:81)
    at
com.google.inject.ConstructorInjector.construct(ConstructorInjector.java:85)
    at
com.google.inject.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:111)
    at
com.google.inject.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:45)
    at com.google.inject.InjectorImpl.callInContext(InjectorImpl.java:811)
    at
com.google.inject.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:42)
    at com.google.inject.Scopes$1$1.get(Scopes.java:54)
    at
com.google.inject.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:48)
    at
com.google.inject.SingleParameterInjector.inject(SingleParameterInjector.java:42)
    at
com.google.inject.SingleParameterInjector.getAll(SingleParameterInjector.java:66)
    at
com.google.inject.ConstructorInjector.construct(ConstructorInjector.java:84)
    at
com.google.inject.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:111)
    at
com.google.inject.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:45)
    at com.google.inject.InjectorImpl.callInContext(InjectorImpl.java:811)
    at
com.google.inject.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:42)
    at com.google.inject.Scopes$1$1.get(Scopes.java:54)
    at
com.google.inject.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:48)
    at com.google.inject.FactoryProxy.get(FactoryProxy.java:56)
    at
com.google.inject.SingleParameterInjector.inject(SingleParameterInjector.java:42)
    at
com.google.inject.SingleParameterInjector.getAll(SingleParameterInjector.java:66)
    at
com.google.inject.ConstructorInjector.construct(ConstructorInjector.java:84)
    at
com.google.inject.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:111)
    at
com.google.inject.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:45)
    at com.google.inject.InjectorImpl.callInContext(InjectorImpl.java:811)
    at
com.google.inject.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:42)
    at com.google.inject.Scopes$1$1.get(Scopes.java:54)
    at
com.google.inject.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:48)
    at com.google.inject.FactoryProxy.get(FactoryProxy.java:56)
    at com.google.inject.InjectorImpl$4$1.call(InjectorImpl.java:758)
    at com.google.inject.InjectorImpl.callInContext(InjectorImpl.java:804)
    at com.google.inject.InjectorImpl$4.get(InjectorImpl.java:754)
    at com.google.inject.InjectorImpl.getInstance(InjectorImpl.java:793)
    at
org.apache.roller.weblogger.business.GuiceWebloggerProvider.bootstrap(GuiceWebloggerProvider.java:87)
    at
org.apache.roller.weblogger.business.WebloggerFactory.bootstrap(WebloggerFactory.java:134)
    at
org.apache.roller.weblogger.business.WebloggerFactory.bootstrap(WebloggerFactory.java:99)
    at
org.apache.roller.weblogger.ui.core.RollerContext.contextInitialized(RollerContext.java:158)
    at
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3795)
    at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4252)
    at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:760)
    at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:740)
    at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:544)
    at
org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:634)
    at
org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:561)
    at
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:496)
    at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1203)
    at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:319)
    at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1022)
    at org.apache.catalina.core.StandardHost.start(StandardHost.java:736)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)
    at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
    at
org.apache.catalina.core.StandardService.start(StandardService.java:448)
    at
org.apache.catalina.core.StandardServer.start(StandardServer.java:700)
    at org.apache.catalina.startup.Catalina.start(Catalina.java:552)
    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:295)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)
Caused by: org.hibernate.HibernateException: Could not find datasource
    at
org.hibernate.connection.DatasourceConnectionProvider.configure(DatasourceConnectionProvider.java:79)
    at
org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:143)
    at
org.hibernate.ejb.InjectionSettingsFactory.createConnectionProvider(InjectionSettingsFactory.java:51)
    at
org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:90)
    at
org.hibernate.cfg.Configuration.buildSettingsInternal(Configuration.java:2863)
    at
org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2859)
    at
org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1870)
    at
org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:906)
    ... 67 more
Caused by: javax.naming.NameNotFoundException: Name jdbc is not bound in
this Context
    at org.apache.naming.NamingContext.lookup(NamingContext.java:770)
    at org.apache.naming.NamingContext.lookup(NamingContext.java:153)
    at org.apache.naming.SelectorContext.lookup(SelectorContext.java:137)
    at javax.naming.InitialContext.lookup(InitialContext.java:392)
    at
org.hibernate.connection.DatasourceConnectionProvider.configure(DatasourceConnectionProvider.java:75)
    ... 74 more
INFO  2011-11-21 15:57:39,969 DatabaseProvider:successMessage - SUCCESS: Got
parameters. Using configuration type JNDI_NAME
INFO  2011-11-21 15:57:39,969 DatabaseProvider:successMessage - -- Using
JNDI datasource name: java:comp/env/jdbc/rollerdb
INFO  2011-11-21 15:57:39,969 DatabaseProvider:successMessage - SUCCESS:
located JNDI DataSource [java:comp/env/jdbc/rollerdb]
INFO  2011-11-21 15:57:39,970 JPAPersistenceStrategy:<init> -
hibernate.transaction.manager_lookup_class:
org.hibernate.transaction.JBossTransactionManagerLookup
INFO  2011-11-21 15:57:39,970 JPAPersistenceStrategy:<init> -
hibernate.transaction.factory_class:
org.hibernate.transaction.JTATransactionFactory
INFO  2011-11-21 15:57:39,970 JPAPersistenceStrategy:<init> - openjpa.Log:
commons
ERROR 2011-11-21 15:57:40,469 JPAPersistenceStrategy:<init> - ERROR:
creating entity manager
javax.persistence.PersistenceException: [PersistenceUnit: RollerPU] Unable
to build EntityManagerFactory
    at
org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:915)
    at
org.hibernate.ejb.HibernatePersistence.createEntityManagerFactory(HibernatePersistence.java:57)
    at
javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:63)
    at
org.apache.roller.weblogger.business.jpa.JPAPersistenceStrategy.<init>(JPAPersistenceStrategy.java:108)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    at
com.google.inject.DefaultConstructionProxyFactory$2.newInstance(DefaultConstructionProxyFactory.java:81)
    at
com.google.inject.ConstructorInjector.construct(ConstructorInjector.java:85)
    at
com.google.inject.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:111)
    at
com.google.inject.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:45)
    at com.google.inject.InjectorImpl.callInContext(InjectorImpl.java:811)
    at
com.google.inject.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:42)
    at com.google.inject.Scopes$1$1.get(Scopes.java:54)
    at
com.google.inject.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:48)
    at
com.google.inject.SingleParameterInjector.inject(SingleParameterInjector.java:42)
    at
com.google.inject.SingleParameterInjector.getAll(SingleParameterInjector.java:66)
    at
com.google.inject.ConstructorInjector.construct(ConstructorInjector.java:84)
    at
com.google.inject.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:111)
    at
com.google.inject.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:45)
    at com.google.inject.InjectorImpl.callInContext(InjectorImpl.java:811)
    at
com.google.inject.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:42)
    at com.google.inject.Scopes$1$1.get(Scopes.java:54)
    at
com.google.inject.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:48)
    at com.google.inject.FactoryProxy.get(FactoryProxy.java:56)
    at
com.google.inject.SingleParameterInjector.inject(SingleParameterInjector.java:42)
    at
com.google.inject.SingleParameterInjector.getAll(SingleParameterInjector.java:66)
    at
com.google.inject.ConstructorInjector.construct(ConstructorInjector.java:84)
    at
com.google.inject.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:111)
    at
com.google.inject.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:45)
    at com.google.inject.InjectorImpl.callInContext(InjectorImpl.java:811)
    at
com.google.inject.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:42)
    at com.google.inject.Scopes$1$1.get(Scopes.java:54)
    at
com.google.inject.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:48)
    at com.google.inject.FactoryProxy.get(FactoryProxy.java:56)
    at com.google.inject.InjectorImpl$4$1.call(InjectorImpl.java:758)
    at com.google.inject.InjectorImpl.callInContext(InjectorImpl.java:804)
    at com.google.inject.InjectorImpl$4.get(InjectorImpl.java:754)
    at com.google.inject.InjectorImpl.getInstance(InjectorImpl.java:793)
    at
org.apache.roller.weblogger.business.GuiceWebloggerProvider.bootstrap(GuiceWebloggerProvider.java:87)
    at
org.apache.roller.weblogger.business.WebloggerFactory.bootstrap(WebloggerFactory.java:134)
    at
org.apache.roller.weblogger.business.WebloggerFactory.bootstrap(WebloggerFactory.java:99)
    at
org.apache.roller.weblogger.ui.core.RollerContext.contextInitialized(RollerContext.java:158)
    at
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3795)
    at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4252)
    at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:760)
    at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:740)
    at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:544)
    at
org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:634)
    at
org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:561)
    at
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:496)
    at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1203)
    at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:319)
    at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1022)
    at org.apache.catalina.core.StandardHost.start(StandardHost.java:736)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)
    at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
    at
org.apache.catalina.core.StandardService.start(StandardService.java:448)
    at
org.apache.catalina.core.StandardServer.start(StandardServer.java:700)
    at org.apache.catalina.startup.Catalina.start(Catalina.java:552)
    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:295)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)
Caused by: org.hibernate.HibernateException: Could not find datasource
    at
org.hibernate.connection.DatasourceConnectionProvider.configure(DatasourceConnectionProvider.java:79)
    at
org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:143)
    at
org.hibernate.ejb.InjectionSettingsFactory.createConnectionProvider(InjectionSettingsFactory.java:51)
    at
org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:90)
    at
org.hibernate.cfg.Configuration.buildSettingsInternal(Configuration.java:2863)
    at
org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2859)
    at
org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1870)
    at
org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:906)
    ... 67 more
Caused by: javax.naming.NameNotFoundException: Name jdbc is not bound in
this Context
    at org.apache.naming.NamingContext.lookup(NamingContext.java:770)
    at org.apache.naming.NamingContext.lookup(NamingContext.java:153)
    at org.apache.naming.SelectorContext.lookup(SelectorContext.java:137)
    at javax.naming.InitialContext.lookup(InitialContext.java:392)
    at
org.hibernate.connection.DatasourceConnectionProvider.configure(DatasourceConnectionProvider.java:75)
-- 
View this message in context: http://old.nabble.com/Trying-to-deploy-Roller-on-Tomcat-tp32872841s12275p32872841.html
Sent from the Roller - User mailing list archive at Nabble.com.


Mime
View raw message