syncman_caller.py classpath fix
Linos <[email protected]> Sun, 29 Apr 2007 11:54:01 +0200
| Newsgroups | gmane.comp.db.maxdb |
|---|---|
| Message-ID | <[email protected]> |
Hello,
i am testing synchronization and i have found a problem in version
7.6.00.36 of file syncman_caller.py, it doesnt set the classpath to the
file /opt/sdb/programs/app/syncman/lib/msgserver.jar so when i launch
syncmangui it gives me this error when i tried to connect to a database:
connecting to MaxDB ...
java.lang.NoClassDefFoundError: com/sap/sdb/msgServer/Server
at
com.sap.sdb.syncMan.tool.ConDataBase.checkTablesVersion(ConDataBase.java:540)
at
com.sap.sdb.syncMan.tool.ConDataBase.connect(ConDataBase.java:404)
at
com.sap.sdb.syncMan.gui.jface_menu.DBConnectAction$ConnectThread.run(DBConnectAction.java:64)
i only have to add the msgserver.jar to the classpath to get this
working properly, i attach a little patch to the file syncman_caller.py.
Best Regards,
Miguel Angel.
--
MaxDB Discussion Mailing List
For list archives: http://lists.mysql.com/maxdb
To unsubscribe: http://lists.mysql.com/[email protected]
syncman_caller_classpath.patch
(text/x-patch, 492 B)
*** syncman_caller.py 2007-04-29 11:45:56.000000000 +0200
--- syncman_caller.py.new 2007-04-29 11:45:34.000000000 +0200
***************
*** 198,201 ****
--- 198,202 ----
os.path.join(SYNCINST, 'lib', 'syncservice.jar') + PATHSEP +
os.path.join(SYNCINST, 'lib', 'msgserverclient.jar') + PATHSEP +
+ os.path.join(SYNCINST, 'lib', 'msgserver.jar') + PATHSEP +
os.path.join(SYNCINST, 'lib', 'runtime.jar') + PATHSEP +
os.path.join(SYNCINST, 'lib', 'osgi.jar') + PATHSEP +