We have a weird problem trying to import a solution to our customer’s servoy server. We get an error about another different database server not being found. The error is: “Server with name ‘bayo’ is not found, but used by the import solution, select another server to use or press cancel to define the server first” etc.
Bayo is the name of another solution / database we have on the developer machine but there is NOTHING in it that our solution (called ‘ohia’) uses. If we disable the bayo.db in sybase.config on the developer machine, plus delete its repository solution, and start ohia, there is no problem. It doesn’t complain about anything missing. we have checked every form uses ohia, checked every relation, and there are no modules involved. If we try to import it however, it doesn’t work. Searching for bayo in the editor produces no result either.
The Bayo solution was originally created by exporting Ohia, deleting the database and clean importing into a new database called Bayo. This is the only link between them. Is there any way we can find out where Ohia thinks its linked to bayo?
2007-06-04 17:08:39,717 ERROR [TaskExecuter[3]] com.servoy.j2db.persistence.Server - Final get connection failure for server bayo in 1 times
2007-06-04 17:10:17,701 ERROR [TaskExecuter[0]] com.servoy.j2db.util.Debug - Throwable
com.servoy.j2db.persistence.RepositoryException: com.servoy.j2db.persistence.RepositoryException: Operation cancelled
at com.servoy.j2db.persistence.o.a(Unknown Source)
at com.servoy.j2db.persistence.XMLImporter.importFromJarFile(Unknown Source)
at com.servoy.j2db.develop.i$6.run(Unknown Source)
at com.servoy.j2db.util.al.run(Unknown Source)
at java.lang.Thread.run(Thread.java:613)
Caused by: com.servoy.j2db.persistence.RepositoryException: Operation cancelled
at com.servoy.j2db.persistence.o.do(Unknown Source)
… 5 more
2007-06-04 17:27:28,000 ERROR [TaskExecuter[1]] com.servoy.j2db.util.Debug - Throwable
com.servoy.j2db.persistence.RepositoryException: com.servoy.j2db.persistence.RepositoryException: Operation cancelled
at com.servoy.j2db.persistence.o.a(Unknown Source)
at com.servoy.j2db.persistence.XMLImporter.importFromJarFile(Unknown Source)
at com.servoy.j2db.develop.i$6.run(Unknown Source)
at com.servoy.j2db.util.al.run(Unknown Source)
at java.lang.Thread.run(Thread.java:613)
Caused by: com.servoy.j2db.persistence.RepositoryException: Operation cancelled
at com.servoy.j2db.persistence.o.do(Unknown Source)
… 5 more
2007-06-04 17:27:29,236 ERROR [AWT-EventQueue-0] com.servoy.j2db.util.Debug - Deleting unreferenced blobs
No calculations or valuelists using the other database… When we disable bayo locally and start ohia it opens without complaint, no trouble with calculations or valuelists if the bayo database is killed locally… There is not (and shouldn’t be through what we’ve been programming) anything that links the two. It is very mysterious…
If we import the solution locally, and get the error that it uses Bayo, and override it to say use Ohia, it imports fine and works as expected. We cannot do that however when we use the Servoy Server interface via html…
Basically, if we have Solution A enabled (database starts up by sybase.config, and server set up in servoy preferences) and we export Solution B, we cannot import solution B into server. If we turn off Solution A’s sybase.config and servoy preferences, and export Solution B, we CAN import it into server. There are NO OTHER ERRORS besides for “Server ‘bayo’ does not exist. Import failed” in the import. Running Solution B while Solution A is disabled / database off / servoy preferences killed etc. does not show any problems, it does not complain about any missing calcs, valuelists, modules, methods, anything.