开云体育

ctrl + shift + ? for shortcuts
© 2025 开云体育

Re: tws hangs on ibc startup


 

开云体育

What you’ve sent provides no useful information for this case. I can’t even tell which versions of TWS and IBC you’re running. The full logfile contains practically everything I could possibly want to know, so in future please always send the whole thing. Also don’t quote it, attach it to your post so I can easily view it in a text editor, compare it with other logs etc.

?

Having said that, I suspect that you’re trying to run TWS 1034 on Linux. There is a known problem in this case, because IBKR have switched from the Oracle Java 8 Runtime Environment to the Azul Zulu Java 17 runtime, which requires some adjustments to the Java command.

?

I have fixed this and will release a new version at the weekend. In the meantime, either:

?

  1. Revert to an earlier version of TWS

?

  1. Or do the following:

?

  1. Open this file with a text editor:

?

~/Jts/1034/.install4j/pref_jre.cfg

?

  1. Replace the single line that it contains with this:

?

/home/<linuxusername>/.local/share/i4j_jres/Oda-jK0QgTEmVssfllLP/1.8.0_202_64

?

  1. This change tells it to run with the Oracle Java 8 runtime, as in previous releases.

?

  1. Now run IBC again and it should work fine.

?

Just for completeness, the Windows Installer for TWS 1034 still sets it up to run with the Oracle runtime, so no changes are needed there.

?

Richard

?

?

?

From: [email protected] <[email protected]> On Behalf Of tbrown122387 via groups.io
Sent: 13 February 2025 21:02
To: [email protected]
Subject: [ibc] tws hangs on ibc startup

?

I've recently reinstalled everything on my server and I'm having a little trouble getting IBC going again.

?

After following the instructions in the subsection "" on the IBC user guide, I can run the startup script, the xterm window pops up, the TWS window pops up, 2 factor successfully completes, but then the TWS window hangs on the message "Processing startup parameters"

?

Below is the tail end of the log file.

?

It should be noted that I can run TWS without IBC just fine and I get that same GLX error mentioned below but it doesn't appear to be a problem when running TWS without IBC.

?

2025-02-13 20:48:13:717 IBC: Starting TWS?
java.lang.reflect.InaccessibleObjectException: Unable to make private static javax.swing.UIManager$LAFState javax.swing.UIManager.getLAFState() accessible: module java.desktop does not "opens javax.swing" to unnamed module @2ea41516
? ? ? ? at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:354)
? ? ? ? at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:297)
? ? ? ? at java.base/java.lang.reflect.Method.checkCanSetAccessible(Method.java:199)
? ? ? ? at java.base/java.lang.reflect.Method.setAccessible(Method.java:193)
? ? ? ? at feature.search.recorder.JtsMultiLookAndFeel.a(JtsMultiLookAndFeel.java:107)
? ? ? ? at twslaunch.jclient.login.b.d(b.java:430)
? ? ? ? at twslaunch.jclient.login.q.a(q.java:461)
? ? ? ? at jclient.LoginFrame.main(LoginFrame.java:461)
? ? ? ? at ibcalpha.ibc.IbcTws.startTws(Unknown Source)
? ? ? ? at ibcalpha.ibc.IbcTws.startTwsOrGateway(Unknown Source)
? ? ? ? at ibcalpha.ibc.IbcTws.load(Unknown Source)
? ? ? ? at ibcalpha.ibc.IbcTws.main(Unknown Source)
ES2 Prism: Error - GLX extension is not supported
? ? GLX version 1.3 or higher is required
2025-02-13 15:48:18:022 IBC: detected frame entitled: Login; event=Opened
2025-02-13 15:48:18:023 IBC: Login dialog WINDOW_OPENED: LoginState is LOGGED_OUT
2025-02-13 15:48:18:024 IBC: trading mode from settings: tradingMode=live
2025-02-13 15:48:18:024 IBC: Setting Trading mode = live
2025-02-13 15:48:18:108 IBC: Setting user name
2025-02-13 15:48:18:110 IBC: Setting password
2025-02-13 15:48:18:115 IBC: Login attempt: 1
2025-02-13 15:48:18:115 IBC: trading mode from settings: tradingMode=live
2025-02-13 15:48:18:115 IBC: Waiting for Login frame to become SecondFactorAuthenticationDialog
2025-02-13 15:48:18:120 IBC: detected frame entitled: Login; event=Activated
2025-02-13 15:48:18:125 IBC: detected frame entitled: Login; event=Focused
2025-02-13 15:48:18:169 IBC: Click button: Log In
2025-02-13 15:48:18:379 IBC: Button now disabled: Log In
2025-02-13 15:48:25:730 IBC: Login frame has now become SecondFactorAuthenticationDialog
2025-02-13 15:48:25:730 IBC: detected frame entitled: Second Factor Authentication; event=Opened
2025-02-13 15:48:25:730 IBC: Second Factor Authentication initiated
2025-02-13 15:48:29:954 IBC: detected dialog entitled: Second Factor Authentication; event=Closed
2025-02-13 15:48:29:954 IBC: Duration since login: 11 seconds
2025-02-13 15:48:32:018 IBC: detected dialog entitled: Downloading settings from server; event=Closed
IBC returned exit status 0
autorestart file not found

TWS finished

?

?

?

Join [email protected] to automatically receive all group messages.