Fast Object Database for Java - with JPA/JDO support

Getting com.objectdb.o.UserException:


I am using the object db version 2.x in a web application that runs on tomcat4. I am using the default configuration file.

I am getting the follwing error when I launch the application.
Please help.

com.objectdb.o.UserException: Failed to create a new file 'file:C:\Program Files (x86)\Apache Group\Tomcat 4.0\webapps\Expresso\WEB-INF\log\odb20120904.log'
at com.objectdb.o.MSG.d(
at com.objectdb.o.LFL.L(
at com.objectdb.o.LFL.I(
at com.objectdb.o.LFL.I(
at com.objectdb.o.LGM.<init>(
at com.objectdb.o.CFG.v(
at com.objectdb.o.CFG.<clinit>(
at com.objectdb.o.JEN.<init>(
at com.objectdb.Enhancer.enhance(
at Source)
at Source)
at org.apache.catalina.core.StandardContext.listenerStart(
at org.apache.catalina.core.StandardContext.start(
at org.apache.catalina.core.ContainerBase.addChild(
at org.apache.catalina.core.StandardHost.addChild(
at org.apache.catalina.core.StandardHost.install(
at org.apache.catalina.startup.HostConfig.deployApps(
at org.apache.catalina.startup.HostConfig.start(
at org.apache.catalina.startup.HostConfig.lifecycleEvent(
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(
at org.apache.catalina.core.ContainerBase.start(
at org.apache.catalina.core.StandardHost.start(
at org.apache.catalina.core.ContainerBase.start(
at org.apache.catalina.core.StandardEngine.start(
at org.apache.catalina.core.StandardService.start(
at org.apache.catalina.core.StandardServer.start(
at org.apache.catalina.startup.Catalina.start(
at org.apache.catalina.startup.Catalina.execute(
at org.apache.catalina.startup.Catalina.process(
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(
at sun.reflect.DelegatingMethodAccessorImpl.invoke(
at java.lang.reflect.Method.invoke(
at org.apache.catalina.startup.Bootstrap.main(
Caused by: file:C:\Program Files (x86)\Apache Group\Tomcat 4.0\webapps\Expresso\WEB-INF\log\odb20120904.log (The filename, directory name, or volume label syntax is incorrect)
at Method)
at com.objectdb.o.LFL.L(
... 32 more


Is there any way to disable the object db logging to avoid this error or how do i solve the above issue?


You can either:


  • Grant the ObjectDB process permission to write to:
    C:\Program Files (x86)\Apache Group\Tomcat 4.0\webapps\Expresso\WEB-INF\log\
ObjectDB Support
ObjectDB - Fast Object Database for Java (JPA/JDO)

Cant we just disable to objectdb there any ways to disable the object db logging ?


Currently not, but this option should be added in future versions.

ObjectDB Support
ObjectDB - Fast Object Database for Java (JPA/JDO)

You should be able to disable logging now with ObjectDB 2.4.3_01 by specifying an empty path.


ObjectDB Support
ObjectDB - Fast Object Database for Java (JPA/JDO)

Post Reply