A distinguished Name for server or explorer is good for maintaining!

#1

In windows, the server runs as "javaw"; in Linux it is "java". If the server failed, for example, it always outputs this message, regardless changing IP setting:

private final static EntityManagerFactory emf = Persistence
.createEntityManagerFactory("objectdb://192.168.0.1/trie.odb;user=admin;password=admin");


java.lang.ExceptionInInitializerError
at src.run.testNodes.<clinit>(testNodes.java:62)
Caused by: com.objectdb.o._PersistenceException: Login Error (unauthorized IP address for user 'admin')
at com.objectdb.o._PersistenceException.b(_PersistenceException.java:45)
at com.objectdb.o.JPE.g(JPE.java:140)
at com.objectdb.o.ERR.f(ERR.java:59)
at com.objectdb.o.OST.onObjectDBError(OST.java:589)
at com.objectdb.jpa.EMF.createEntityManager(EMF.java:163)
at src.run.SingleManager.<clinit>(SingleManager.java:16)
... 1 more
Caused by: com.objectdb.o.UserException: Login Error (unauthorized IP address for user 'admin')
at com.objectdb.o.MSG.d(MSG.java:61)
at com.objectdb.o.HND.J(HND.java:208)
at com.objectdb.o.SHN.J(SHN.java:198)
at com.objectdb.o.HND.run(HND.java:133)
at java.lang.Thread.run(Thread.java:662)
Exception in thread "main"

    Then I have to restart the server, but when I stop it, I get this message:

<root@www:/opt/objectdb/bin> ./server.sh stop &
[1] 8443
<root@www:/opt/objectdb/bin> [ObjectDB 2.2.8]
Failed to connect to server 127.0.0.1:6136 (Connection timed out) (error 522)

    So, I need a name to kill it in OS task list!

#2

This is a good idea. Thank you.

ObjectDB Support

Reply