trying to define the i18 solution table > freezes eclipse…
when I restart, I get this error message:
Conflict for ‘AUTOGEN:::org.eclipse.ui.cheatsheets.actionSet/org.eclipse.ui.cheatsheets.actions.CheatSheetHelpMenuAction’:HandlerActivation(commandId=AUTOGEN:::org.eclipse.ui.cheatsheets.actionSet/org.eclipse.ui.cheatsheets.actions.CheatSheetHelpMenuAction,
handler=ActionDelegateHandlerProxy(null,org.eclipse.ui.cheatsheets.CheatSheetExtensionFactory:helpMenuAction),
expression=AndExpression(ActionSetExpression(org.eclipse.ui.cheatsheets.actionSet,org.eclipse.ui.internal.WorkbenchWindow@11e1bbf),WorkbenchWindowExpression(org.eclipse.ui.internal.WorkbenchWindow@11e1bbf)),sourcePriority=16640)
HandlerActivation(commandId=AUTOGEN:::org.eclipse.ui.cheatsheets.actionSet/org.eclipse.ui.cheatsheets.actions.CheatSheetHelpMenuAction,
handler=ActionDelegateHandlerProxy(null,org.eclipse.ui.cheatsheets.CheatSheetExtensionFactory:helpMenuAction),
expression=AndExpression(ActionSetExpression(org.eclipse.ui.cheatsheets.actionSet,org.eclipse.ui.internal.WorkbenchWindow@11e1bbf),WorkbenchWindowExpression(org.eclipse.ui.internal.WorkbenchWindow@11e1bbf)),sourcePriority=16640)
those log lines dont have anything to do with it and are shown everytime,
When servoy freezes you should go to the admin pages on localhost and then dump the stack, then we can see why it freezes.
sorry, I am not accurate enough, it does not freeze, it makes me wait for ever (sand glass!) , so I have to kill it as the app is ‘not answering’ anymore.
and the admin log is empty whatever is the mode I choose. I guess it would log something after a certain time out which is beyond my patience. it is supposed to list the db resources there, and this takes 1s on my other machine…
i am not talking about the admin log
I am talking about making a stack dump see the admin pages (front page)
at the moment it hangs…
here attached…
stack_trace.txt (14.3 KB)
it waits for your database that you connect through the jdbc odbc bridge
So there isnt much servoy can do about it. Its your database or the driver.
What kind of database do you use? Cant you use a native java jdbc driver?
I see…
this is the db2 odbc driver.
I am currently investigating the other ways to connect to it via jdbc, but I could not find the right way yet, the main reason being the admin person does not know anything but the 5250 terminal… and this is a complex area depending on what os version, db version and ibm drivers installed on server and activated. I’ll change that whenever I can. I have tried the official universal driver, the jt400 (IBM client access and sourceforge), there is also another way using a db2java.jar which would running above a db2 client for old versions…
I am using this resource only for sql queries, I can’t use for a form, probably for similar reasons. To be mentionned that this probably requires a tables list in either case, and this may not be enabled on the as400 side.
What would be nice is a time out + message on this i18 thing as when creating a form from it where it says after a few secs “can’t retrieve the tables list”.
thanks anyway.
that will be problematic because it is the jdbc-odbc driver thats in native code that just waits…
So we cant just kill that, that must be supported by the driver,
trapped… never mind, as long as I know what it is…
one more reason to get rid of this odbc.
I’ll be back when this jdbc/db2 is sorted, I need to go ahead with other matters now.
thanks again for having a look at it.