Hello,
I am using objectdb in an embedded case with network private access to each database.
I see it exists a file name "urls2.xml".
<url><main>/var/lib/tomcat7/db/myDb.odb;user=admin;password=admin</main><alt>objectdb://127.0.0.1:38059/;user=$code;password=a2e54ea3-d889-41a7-953c-dabc42877742</alt></url>
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" )
<properties> <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"/> </properties>
Thanks,
Xirt