roller-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lanyu <tangshuai...@gmail.com>
Subject HibernateRollerImpl:<init> Error initializing Hibernate please help
Date Wed, 04 Jul 2007 06:14:04 GMT

dear all:
i use hibernate 3.1.2 tomcat 6 jdk 1.5 mysql5.0 roller 3.1
but i cannot  install  roller 3.1 roller logs were :
INFO  2007-07-04 13:33:28,703 UpgradeDatabase:upgradeDatabase - Database is
current, no upgrade needed
INFO  2007-07-04 13:33:28,750 HibernatePersistenceStrategy:<init> -
configResource: null
INFO  2007-07-04 13:33:28,750 HibernatePersistenceStrategy:<init> - dialect:       
org.hibernate.dialect.MySQLDialect
FATAL 2007-07-04 13:33:28,781 HibernateRollerImpl:<init> - Error
initializing Hibernate
java.lang.NullPointerException: name
	at java.util.zip.ZipFile.getEntry(ZipFile.java:247)
	at java.util.jar.JarFile.getEntry(JarFile.java:200)
	at java.util.jar.JarFile.getJarEntry(JarFile.java:183)
	at sun.misc.URLClassPath$JarLoader.getResource(URLClassPath.java:674)
	at sun.misc.URLClassPath.getResource(URLClassPath.java:161)
	at sun.misc.URLClassPath.getResource(URLClassPath.java:213)
	at java.lang.ClassLoader.getBootstrapResource(ClassLoader.java:1113)
	at java.lang.ClassLoader.getResource(ClassLoader.java:974)
	at java.lang.ClassLoader.getResource(ClassLoader.java:972)
	at java.lang.ClassLoader.getResource(ClassLoader.java:972)
	at java.lang.ClassLoader.getResourceAsStream(ClassLoader.java:1159)
	at
org.apache.catalina.loader.WebappClassLoader.getResourceAsStream(WebappClassLoader.java:1176)
	at java.lang.Class.getResourceAsStream(Class.java:1998)
	at
org.apache.roller.business.hibernate.HibernatePersistenceStrategy.<init>(HibernatePersistenceStrategy.java:88)
	at
org.apache.roller.business.hibernate.HibernateRollerImpl.<init>(HibernateRollerImpl.java:83)
	at
org.apache.roller.business.hibernate.HibernateRollerImpl.instantiate(HibernateRollerImpl.java:101)
	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:585)
	at
org.apache.roller.business.RollerFactory.getRoller(RollerFactory.java:66)
	at
org.apache.roller.ui.core.RollerContext.contextInitialized(RollerContext.java:170)
	at
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3827)
	at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4336)
	at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:761)
	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:741)
	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
	at
org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:626)
	at
org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:553)
	at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:488)
	at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)
	at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
	at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120)
	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1023)
	at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1015)
	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:710)
	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:585)
	at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
ERROR 2007-07-04 13:33:28,781 RollerFactory:getRoller - Error instantiating
org.apache.roller.business.hibernate.HibernateRollerImpl
java.lang.reflect.InvocationTargetException
	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:585)
	at
org.apache.roller.business.RollerFactory.getRoller(RollerFactory.java:66)
	at
org.apache.roller.ui.core.RollerContext.contextInitialized(RollerContext.java:170)
	at
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3827)
	at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4336)
	at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:761)
	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:741)
	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
	at
org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:626)
	at
org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:553)
	at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:488)
	at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)
	at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
	at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120)
	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1023)
	at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1015)
	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:710)
	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:585)
	at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
Caused by: org.apache.roller.RollerException
	at
org.apache.roller.business.hibernate.HibernateRollerImpl.<init>(HibernateRollerImpl.java:90)
	at
org.apache.roller.business.hibernate.HibernateRollerImpl.instantiate(HibernateRollerImpl.java:101)
	... 30 more
FATAL 2007-07-04 13:33:28,781 RollerFactory:getRoller - Failed to
instantiate fallback roller impl
java.lang.Exception: Doh! Couldn't instantiate a roller class
	at
org.apache.roller.business.RollerFactory.getRoller(RollerFactory.java:89)
	at
org.apache.roller.ui.core.RollerContext.contextInitialized(RollerContext.java:170)
	at
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3827)
	at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4336)
	at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:761)
	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:741)
	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
	at
org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:626)
	at
org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:553)
	at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:488)
	at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)
	at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
	at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120)
	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1023)
	at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1015)
	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:710)
	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:585)
	at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
INFO  2007-07-04 13:33:28,890 HibernatePersistenceStrategy:<init> -
configResource: null
INFO  2007-07-04 13:33:28,906 HibernatePersistenceStrategy:<init> - dialect:       
org.hibernate.dialect.MySQLDialect
FATAL 2007-07-04 13:33:28,906 HibernateRollerImpl:<init> - Error
initializing Hibernate
java.lang.NullPointerException: name

i appreciate any help/guidance from you all,
thank you:)
-- 
View this message in context: http://www.nabble.com/HibernateRollerImpl%3A%3Cinit%3E--Error-initializing-Hibernate-please-help-tf4022613s12275.html#a11425388
Sent from the Roller - User mailing list archive at Nabble.com.


Mime
View raw message