|
From: Ruben de L. <ru...@rd...> - 2010-01-29 15:33:17
|
Hi Time, The database will try to install in a directory called 'database' in the current working directory, when you are running, that's probably the home directory of tomcat. You can also override the location of the database in a file valled settings.xml, but you would have to modify the war file (you can do that with most zip software like 7-zip). The settings file can be found in WEB-INF/settings.xml. The message 'SEVERE: Error creating database dir "/database"' worries me a bit, because on linux this implies installing the database in the root directory of your filesystem, which is not what you would want, I will check this in the source code asap, for now could you try settings the database location explicitly in the settings.xml? Kind regards, Ruben de Laat On Fri, Jan 29, 2010 at 3:49 PM, Timo Hartmann <tim...@gm...> wrote: > Hi Ruben, > thanks for your reply. I checked all the user rights. Even changing > everything in my tomcat folder to rwx for everybody. Still no success. What > is the exact folder the database wants to install itself? > Timo > > On Wed, Jan 27, 2010 at 6:04 PM, Ruben de Laat <ru...@rd...> > wrote: >> >> Hi Timo, >> >> I think the user running Tomcat does not have sufficient rights to >> create the database directory. >> Make sure you have given that user the rights to create a database >> directory in the tomcat home directory (the default place where the >> BIMserver will try yo create the database). >> >> Kind regards, >> Ruben de Laat >> >> >> On Wed, Jan 27, 2010 at 5:06 PM, Timo Hartmann >> <har...@gm...> wrote: >> > I know there was a previous post on this list that was dealing with a >> > similar problem, but from reading those post I could not figure out what >> > to >> > do. So I try again: >> > I installed the new version (0.8) of the BIM server deploying a war >> > file. It >> > seems as if the server fails to set up the database. Here is the >> > relevant >> > entry from my tomcat log. >> > >> > Jan 27, 2010 3:04:34 PM >> > org.bimserver.database.berkeley.BerkeleyColumnDatabase <init> >> > >> > INFO: No database directory found, creating "/database" >> > >> > Jan 27, 2010 3:04:34 PM >> > org.bimserver.database.berkeley.BerkeleyColumnDatabase <init> >> > >> > SEVERE: Error creating database dir "/database" >> > >> > Jan 27, 2010 3:04:34 PM >> > org.bimserver.database.berkeley.BerkeleyColumnDatabase <init> >> > >> > SEVERE: A database initialisation error has occured ((JE 3.3.87) >> > Environment >> > home database doesn't exist) >> > >> > Jan 27, 2010 3:04:34 PM >> > org.bimserver.database.berkeley.BerkeleyColumnDatabase <init> >> > >> > SEVERE: >> > >> > com.sleepycat.je.log.LogException: (JE 3.3.87) Environment home database >> > doesn't exist >> > >> > at com.sleepycat.je.log.FileManager.<init>(FileManager.java:257) >> > >> > at >> > com.sleepycat.je.dbi.EnvironmentImpl.<init>(EnvironmentImpl.java:327) >> > >> > at >> > com.sleepycat.je.dbi.DbEnvPool.getEnvironment(DbEnvPool.java:147) >> > >> > at com.sleepycat.je.Environment.<init>(Environment.java:210) >> > >> > at com.sleepycat.je.Environment.<init>(Environment.java:150) >> > >> > at >> > >> > org.bimserver.database.berkeley.BerkeleyColumnDatabase.<init>(BerkeleyColumnDatabase.java:94) >> > >> > at >> > >> > org.bimserver.ServerInitializer.contextInitialized(ServerInitializer.java:105) >> > >> > at >> > >> > org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3764) >> > >> > at >> > >> > org.apache.catalina.core.StandardContext.start(StandardContext.java:4212) >> > >> > 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: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: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) >> > >> > Jan 27, 2010 3:04:34 PM org.bimserver.ServerInitializer >> > contextInitialized >> > >> > : Undeploying context [/bimserver-0.8] >> > >> > Jan 27, 2010 2:50:07 PM org.bimserver.ServerInitializer contextDestroyed >> > >> > INFO: Context is being destroyed >> > >> > Jan 27, 2010 2:50:10 PM org.apache.catalina.startup.HostConfig deployWAR >> > >> > INFO: Deploying web application archive bimserver-0.8.war >> > >> > Jan 27, 2010 2:50:13 PM org.bimserver.ServerInitializer >> > contextInitialized >> > >> > INFO: Starting ServerInitializer >> > >> > Jan 27, 2010 2:50:14 PM org.bimserver.ServerInitializer loadIfcSchema >> > >> > INFO: IFC-Schema file found >> > >> > Jan 27, 2010 2:50:17 PM org.bimserver.ServerInitializer loadIfcSchema >> > >> > INFO: IFC-Schema succesfully loaded >> > >> > Jan 27, 2010 2:50:19 PM org.bimserver.ifc.FileFieldIgnoreMap <init> >> > >> > INFO: Reading general ignore list from >> > jndi:/localhost/bimserver-0.8/WEB-INF/ignore.xml >> > >> > Jan 27, 2010 2:50:19 PM org.bimserver.services.TokenManager cleanup >> > >> > INFO: Cleaning up tokens >> > >> > Jan 27, 2010 2:50:19 PM org.bimserver.ifc.FileFieldIgnoreMap >> > processResource >> > >> > INFO: Reading specific non-ignore list for IfcBuildingStorey from >> > >> > jndi:/localhost/bimserver-0.8/WEB-INF/ignoreexceptions/IfcBuildingStorey.xml >> > >> > Jan 27, 2010 2:50:19 PM org.bimserver.TemplateEngine init >> > >> > INFO: Using jndi:/localhost/bimserver-0.8/WEB-INF/templates/ as template >> > dir >> > >> > Jan 27, 2010 2:50:19 PM >> > org.bimserver.database.berkeley.BerkeleyColumnDatabase <init> >> > >> > INFO: No database directory found, creating "/database" >> > >> > Jan 27, 2010 2:50:19 PM >> > org.bimserver.database.berkeley.BerkeleyColumnDatabase <init> >> > >> > SEVERE: Error creating database dir "/database" >> > >> > Jan 27, 2010 2:50:19 PM >> > org.bimserver.database.berkeley.BerkeleyColumnDatabase <init> >> > >> > SEVERE: A database initialisation error has occured ((JE 3.3.87) >> > Environment >> > home database doesn't exist) >> > >> > Jan 27, 2010 2:50:19 PM >> > org.bimserver.database.berkeley.BerkeleyColumnDatabase <init> >> > >> > SEVERE: >> > >> > com.sleepycat.je.log.LogException: (JE 3.3.87) Environment home database >> > doesn't exist >> > >> > at com.sleepycat.je.log.FileManager.<init>(FileManager.java:257) >> > >> > Thanks for any help, >> > >> > Timo >> > >> > >> > ------------------------------------------------------------------------------ >> > The Planet: dedicated and managed hosting, cloud storage, colocation >> > Stay online with enterprise data centers and the best network in the >> > business >> > Choose flexible plans and management services without long-term >> > contracts >> > Personal 24x7 support from experience hosting pros just a phone call >> > away. >> > http://p.sf.net/sfu/theplanet-com >> > _______________________________________________ >> > Bimserver-users mailing list >> > Bim...@li... >> > https://lists.sourceforge.net/lists/listinfo/bimserver-users >> > >> > >> >> >> ------------------------------------------------------------------------------ >> The Planet: dedicated and managed hosting, cloud storage, colocation >> Stay online with enterprise data centers and the best network in the >> business >> Choose flexible plans and management services without long-term contracts >> Personal 24x7 support from experience hosting pros just a phone call away. >> http://p.sf.net/sfu/theplanet-com >> _______________________________________________ >> Bimserver-users mailing list >> Bim...@li... >> https://lists.sourceforge.net/lists/listinfo/bimserver-users > > > ------------------------------------------------------------------------------ > The Planet: dedicated and managed hosting, cloud storage, colocation > Stay online with enterprise data centers and the best network in the > business > Choose flexible plans and management services without long-term contracts > Personal 24x7 support from experience hosting pros just a phone call away. > http://p.sf.net/sfu/theplanet-com > _______________________________________________ > Bimserver-users mailing list > Bim...@li... > https://lists.sourceforge.net/lists/listinfo/bimserver-users > > |