roller-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Balderaz, Noel" <NBalde...@CPSEnergy.com>
Subject RE: Trying to deploy Roller on Tomcat
Date Wed, 23 Nov 2011 17:33:28 GMT
Raphael,

I'm not sure about Weblogic but I have deployed Roller on Tomcat 7, Java 1.6 and Oracle. 
This setup works just fine.

Thanks,
Noel

-----Original Message-----
From: Raphael Milani [mailto:ramilani@gmail.com] 
Sent: Wednesday, November 23, 2011 10:37 AM
To: user@roller.apache.org
Subject: Re: Trying to deploy Roller on Tomcat

Hello
Dave

Ok, I´m going to try to deploy on tomcat 6.

About the others questions someone has requested me in my company I have to
use database oracle and Weblogic so I´ll try to deploy Roller on weblogic.

Thanks

Raphael Milani



On Wed, Nov 23, 2011 at 2:17 PM, David Johnson <snoopdave@gmail.com> wrote:

> I suspect this problem is caused by something in Tomcat 5.5. I suggest
> moving to Tomcat 6.
>
> - Dave
>
> On Nov 23, 2011, at 11:10 AM, Raphael Milani wrote:
>
> > Ops, sorry I did not know that, but here is log:
> >
> > 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
> >
> > Raphael Milani
> >
> >
> >
> > On Wed, Nov 23, 2011 at 1:52 PM, Anil Gangolli <anil@busybuddha.org>
> wrote:
> >
> >>
> >> For safety, the Apache mailing list software removes any attachments
> that
> >> are posted.
> >> Therefore it is better to provide the log as plain text in your message
> >> rather than as an attachment.
> >>
> >> --a.
> >>
> >>
> >> On 11/23/2011 5:52 AM, Raphael Milani wrote:
> >>
> >>> Hello
> >>> Dave
> >>>
> >>> I´ve attached the error but some reason it hasn´t been on my post.
> >>> About your questions:
> >>>
> >>> I downloaded WAR(last version) from webiste.
> >>> I´m using tomcat 5.5
> >>> Database : Oracle
> >>> Java Version: last version of java 5
> >>> S.O : Windows 7
> >>>
> >>> Another question: Has anyone deployed roller on Weblogic?
> >>>
> >>> Thanks
> >>>
> >>> Raphael Milani
> >>>
> >>>
> >>>
> >>> On Wed, Nov 23, 2011 at 11:25 AM, Dave<snoopdave@gmail.com>  wrote:
> >>>
> >>> In diagnosing problems it is helpful for us to know:
> >>>> What version of Roller are you using? If you are building from
> >>>> sources, on which branch are you building?
> >>>> What Application Server version are you using?
> >>>> What database are you using?
> >>>> What Java version are you using?
> >>>> What operating system are you using?
> >>>> If applicable, what browser are you using?
> >>>> (see also
> >>>> https://cwiki.apache.org/**confluence/display/ROLLER/How+**
> >>>> to+ask+for+help<
> https://cwiki.apache.org/confluence/display/ROLLER/How+to+ask+for+help>
> >>>> )
> >>>>
> >>>> Thanks,
> >>>> Dave
> >>>>
> >>>>
> >>>> On Wed, Nov 23, 2011 at 8:12 AM, Raphael Milani<ramilani@gmail.com>
> >>>> wrote:
> >>>>
> >>>>> Hello
> >>>>> Nicolas,
> >>>>>
> >>>>> I´m sorry! I´ve attached the error on my post but some reason
it
> hasn´t
> >>>>> attached.
> >>>>> I´m using tomcat 5.5 and using I downloaded the WAR.
> >>>>>
> >>>>> I´ve attached the error again because it´s huge.
> >>>>>
> >>>>>
> >>>>> Thanks
> >>>>> Raphael Milani
> >>>>>
> >>>>>
> >>>>>
> >>>>> On Wed, Nov 23, 2011 at 6:34 AM, Nicolas Muller
> >>>>> <n.muller@nouvellemarque.com>  wrote:
> >>>>>
> >>>>>> Sorry I do not understand your log. Are you working with Jetty
or
> >>>>>>
> >>>>> tomcat ?
> >>>>
> >>>>> Which version ? Build from svn or downloaded ?
> >>>>>>
> >>>>>> Best regards,
> >>>>>> Nicolas,
> >>>>>>
> >>>>>> -----Message d'origine-----
> >>>>>> De : ramilani12 [mailto:ramilani@gmail.com]
> >>>>>> Envoyé : mardi 22 novembre 2011 18:49
> >>>>>> À : user@roller.apache.org
> >>>>>> Objet : Trying to deploy Roller on Tomcat
> >>>>>>
> >>>>>>
> >>>>>> 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.
> I´ve
> >>>>>> attached the error. http://old.nabble.com/file/**
> >>>>>> p32872961/error.logerror.log<
> http://old.nabble.com/file/p32872961/error.logerror.log>
> >>>>>>
> >>>>>> Where am I doing wrong?
> >>>>>>
> >>>>>> Another question Has anyone deployed Roller on Weblogic(10)
?
> >>>>>>
> >>>>>> Thanks
> >>>>>> Raphael Milani
> >>>>>>
> >>>>>> --
> >>>>>> View this message in context:
> >>>>>>
> >>>>>> http://old.nabble.com/Trying-**to-deploy-Roller-on-Tomcat-**
> >>>> tp32872961s12275p32872961.html<
> http://old.nabble.com/Trying-to-deploy-Roller-on-Tomcat-tp32872961s12275p32872961.html
> >
> >>>>
> >>>>> Sent from the Roller - User mailing list archive at Nabble.com.
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>
> >>>>
> >>>> --
> >>>> Dave M. Johnson
> >>>> Apache Roller PMC Chair
> >>>> http://rollerweblogger.org/**roller <
> http://rollerweblogger.org/roller>
> >>>>
> >>>>
> >>
> >>
>
>
Mime
View raw message