191 words

Getting com.objectdb.o.UserException:

2012-09-04 15:59

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(MSG.java:74)
at com.objectdb.o.LFL.L(LFL.java:842)
at com.objectdb.o.LFL.I(LFL.java:782)
at com.objectdb.o.LFL.I(LFL.java:751)
at com.objectdb.o.LGM.<init>(LGM.java:120)
at com.objectdb.o.CFG.v(CFG.java:308)
at com.objectdb.o.CFG.<clinit>(CFG.java:59)
at com.objectdb.o.JEN.<init>(JEN.java:59)
at com.objectdb.Enhancer.enhance(Enhancer.java:66)
at com.anritsu.eu.database.ObjectDBJDOClassEnhancer.enhanceClasses(Unknown Source)
at com.anritsu.eu.database.JDOObjectEnhancerListener.contextInitialized(Unknown Source)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3188)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:3404)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:785)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:478)
at org.apache.catalina.core.StandardHost.install(StandardHost.java:738)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:324)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:389)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:232)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:155)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1131)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:638)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:343)
at org.apache.catalina.core.StandardService.start(StandardService.java:388)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:506)
at org.apache.catalina.startup.Catalina.start(Catalina.java:781)
at org.apache.catalina.startup.Catalina.execute(Catalina.java:681)
at org.apache.catalina.startup.Catalina.process(Catalina.java:179)
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.main(Bootstrap.java:243)
Caused by: java.io.FileNotFoundException: 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 java.io.RandomAccessFile.open(Native Method)
at java.io.RandomAccessFile.<init>(RandomAccessFile.java:212)
at com.objectdb.o.LFL.L(LFL.java:829)
... 32 more


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

binitbhaskar's picture
Joined on 2011-08-02
User Post #22
2012-09-04 19:23

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)
support's picture
Joined on 2010-05-03
User Post #1,223
2012-09-05 09:04

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

binitbhaskar's picture
Joined on 2011-08-02
User Post #23
2012-09-05 09:56

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

ObjectDB Support
ObjectDB - Fast Object Database for Java (JPA/JDO)
support's picture
Joined on 2010-05-03
User Post #1,226
2012-09-09 19:47

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)
support's picture
Joined on 2010-05-03
User Post #1,233

Post Reply

Please read carefully the posting instructions - before posting to the ObjectDB website.

  • You may have to disable pop up blocking in order to use the toolbar (e.g. in Chrome).
  • Use ctrl + right click to open the browser context menu in the editing area (e.g. for using a browser spell checker).
  • To insert formatted lines (e.g. Java code, stack trace) - select a style in the toolbar and then insert the text in the new created block.
  • Avoid overflow of published source code examples by breaking long lines.
  • You may mark in paragraph code words (e.g. class names) with the code style (can be applied by ctrl + D).
  • Long stack traces (> 50 lines) and complex source examples (> 100 lines) should be posted as attachments.
Maximum file size: 32 MB