ObjectDB ObjectDB

Issue #1234: How to change properties in urls2.xml ?

Type: Bug ReoprtVersion: 1.4.0Priority: NormalStatus: ClosedReplies: 1


I am using objectdb in an embedded case with network private access to each database.
I see it exists a file name "urls2.xml".


This file is autogenerated by objectdb. And it describes the locals databases url and their port / user / password properties.

I have no control on the port and password used. :(

Does it exist a way to change urls2.xml properties ?

Adding ?port=XXXX at the end of the persistence.xml database local url doesn't work. ( Tomcat says "Connection refused" )

    <property name="javax.persistence.jdbc.url" value="/var/lib/tomcat7/db/myDb.odb?port=3333"/>
    <property name="javax.persistence.jdbc.user" value="admin"/>
    <property name="javax.persistence.jdbc.password" value="admin"/>




This is neither a bug report nor a feature request, so it should have been posted to the forum and not to the issue tracking system.

Please read and follow the posting instructions.

The post was moved to the forum and the issue will be closed.

ObjectDB Support


To post on this website please sign in.