Hi all,

I tried to run my program in client/server mode but when I started my 
client I got:

java.lang.UnsupportedOperationException: Not implemented!!
    at 
org.apache.ojb.broker.server.PersistenceBrokerClient.getPBKey(PersistenceBrokerClient.java:639)
    at org.apache.ojb.odmg.DatabaseImpl.open(DatabaseImpl.java:144)

I had a look at the sources and the 
org.apache.ojb.broker.server.PersistenceBrokerClient.getPBKey() method 
just throws the mentioned Exception, but was marked as todo in the 
comment :-)

I edited it by myself and used in 
org.apache.ojb.odmg.DatabaseImpl.java:144 the method 
extractAllTokens(name) instead. The Server is running now, but I think 
it's not the best solution as it's just working if the database is 
opened with a name != null.

/olaf


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to