Keyboard Shortcuts
Likes
- Ibcalpha
- Messages
Search
Re: Java Error Linux
Appreciate the help, this is the whole thing: ================================================================================ Starting IBC version 3.20.0 on 2025-02-06 at 10:39:35 Operating system: Linux prod-server-nyc1 6.11.0-9-generic #9-Ubuntu SMP PREEMPT_DYNAMIC Mon Oct 14 13:19:59 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux Arguments: TWS version = 1030 Program = Gateway Entry point = ibcalpha.ibc.IbcGateway --tws-path = /home/sally/Jts --tws-settings-path = --ibc-path = /opt/ibc --ibc-ini = /home/sally/ibc/config.ini --mode = --java-path = --user = --pw = --fix-user = --fix-pw = ================================= Generating the classpath Classpath=/home/sally/Jts/ibgateway/1030/jars/batik-all-1.16.jar:/home/sally/Jts/ibgateway/1030/jars/commons-io-2.11.0.jar:/home/sally/Jts/ibgateway/1030/jars/fop-2.8.jar:/home/sally/Jts/ibgateway/1030/jars/jackson-annotations-2.12.3.jar:/home/sally/Jts/ibgateway/1030/jars/jackson-core-2.12.3.jar:/home/sally/Jts/ibgateway/1030/jars/jackson-databind-2.12.3.jar:/home/sally/Jts/ibgateway/1030/jars/jts4launch-1030.jar:/home/sally/Jts/ibgateway/1030/jars/jxbrowser-7.29.jar:/home/sally/Jts/ibgateway/1030/jars/jxbrowser-linux64-7.29.jar:/home/sally/Jts/ibgateway/1030/jars/jxbrowser-swing-7.29.jar:/home/sally/Jts/ibgateway/1030/jars/locales.jar:/home/sally/Jts/ibgateway/1030/jars/log4j-api-2.17.1.jar:/home/sally/Jts/ibgateway/1030/jars/log4j-core-2.17.1.jar:/home/sally/Jts/ibgateway/1030/jars/total-2023.jar:/home/sally/Jts/ibgateway/1030/jars/twslaunch-1030.jar:/home/sally/Jts/ibgateway/1030/jars/twslaunch-install4j-1.12.jar:/home/sally/Jts/ibgateway/1030/jars/xmlgraphics-commons-2.8.jar:/home/sally/Jts/ibgateway/1030/.install4j/i4jruntime.jar:/opt/ibc/IBC.jar Generating the JAVA VM options autorestart file not found Java VM Options=-Xmx768m -XX:+UseG1GC -XX:MaxGCPauseMillis=200 -XX:ParallelGCThreads=20 -XX:ConcGCThreads=5 -XX:InitiatingHeapOccupancyPercent=70 -Dtwslaunch.autoupdate.serviceImpl=com.ib.tws.twslaunch.install4j.Install4jAutoUpdateService -Dchannel=latest -Dexe4j.isInstall4j=true -Dinstall4jType=standalone -DjtsConfigDir=/home/sally/Jts -Dibcsessionid=KVNyxArC Determining the location of java executable Location of java executable=/home/sally/.local/share/i4j_jres/Oda-jK0QgTEmVssfllLP/1.8.0_202_64/bin Renaming IB's TWS or Gateway start script to prevent restart without IBC Starting Gateway with this command: "/home/sally/.local/share/i4j_jres/Oda-jK0QgTEmVssfllLP/1.8.0_202_64/bin/java" -cp "/home/sally/Jts/ibgateway/1030/jars/batik-all-1.16.jar:/home/sally/Jts/ibgateway/1030/jars/commons-io-2.11.0.jar:/home/sally/Jts/ibgateway/1030/jars/fop-2.8.jar:/home/sally/Jts/ibgateway/1030/jars/jackson-annotations-2.12.3.jar:/home/sally/Jts/ibgateway/1030/jars/jackson-core-2.12.3.jar:/home/sally/Jts/ibgateway/1030/jars/jackson-databind-2.12.3.jar:/home/sally/Jts/ibgateway/1030/jars/jts4launch-1030.jar:/home/sally/Jts/ibgateway/1030/jars/jxbrowser-7.29.jar:/home/sally/Jts/ibgateway/1030/jars/jxbrowser-linux64-7.29.jar:/home/sally/Jts/ibgateway/1030/jars/jxbrowser-swing-7.29.jar:/home/sally/Jts/ibgateway/1030/jars/locales.jar:/home/sally/Jts/ibgateway/1030/jars/log4j-api-2.17.1.jar:/home/sally/Jts/ibgateway/1030/jars/log4j-core-2.17.1.jar:/home/sally/Jts/ibgateway/1030/jars/total-2023.jar:/home/sally/Jts/ibgateway/1030/jars/twslaunch-1030.jar:/home/sally/Jts/ibgateway/1030/jars/twslaunch-install4j-1.12.jar:/home/sally/Jts/ibgateway/1030/jars/xmlgraphics-commons-2.8.jar:/home/sally/Jts/ibgateway/1030/.install4j/i4jruntime.jar:/opt/ibc/IBC.jar" -Xmx768m -XX:+UseG1GC -XX:MaxGCPauseMillis=200 -XX:ParallelGCThreads=20 -XX:ConcGCThreads=5 -XX:InitiatingHeapOccupancyPercent=70 -Dtwslaunch.autoupdate.serviceImpl=com.ib.tws.twslaunch.install4j.Install4jAutoUpdateService -Dchannel=latest -Dexe4j.isInstall4j=true -Dinstall4jType=standalone -DjtsConfigDir=/home/sally/Jts -Dibcsessionid=KVNyxArC ibcalpha.ibc.IbcGateway "/home/sally/ibc/config.ini" ? !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 2025-02-06 10:39:36:085 IBC: An exception has occurred: java.lang.IllegalArgumentException: Malformed \uxxxx encoding. at java.util.Properties.loadConvert(Properties.java:574) at java.util.Properties.load0(Properties.java:391) at java.util.Properties.load(Properties.java:341) at ibcalpha.ibc.DefaultSettings.load(Unknown Source) at ibcalpha.ibc.DefaultSettings.<init>(Unknown Source) at ibcalpha.ibc.IbcTws.setupDefaultEnvironment(Unknown Source) at ibcalpha.ibc.IbcGateway.main(Unknown Source) !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 2025-02-06 10:39:36:089 IBC: Exiting with exit code=1100 IBC returned exit status 76 autorestart file not found Gateway finished On Thu, Feb 6, 2025 at 4:48?PM Richard L King via <rlking=[email protected]> wrote:
|
Re: Java Error Linux
开云体育Please send your IBC logfile – the whole of it. Attach it to your reply – don’t just quote it. ? Richard ? ? From: [email protected] <[email protected]> On Behalf Of salvador.barragan14 via groups.io
Sent: 06 February 2025 15:25 To: [email protected] Subject: [ibc] Java Error Linux ? Something in my set-up is wrong? I used to have a java configuration but removed it (had downloaded for IBController) ? Getting this error: ? java.lang.IllegalArgumentException: Malformed \uxxxx encoding. |
Java Error Linux
Something in my set-up is wrong? I used to have a java configuration but removed it (had downloaded for IBController)
?
Getting this error:
?
java.lang.IllegalArgumentException: Malformed \uxxxx encoding. ? ? ? ? at java.util.Properties.loadConvert(Properties.java:574) ? ? ? ? at java.util.Properties.load0(Properties.java:391) ? ? ? ? at java.util.Properties.load(Properties.java:341) ? ? ? ? at ibcalpha.ibc.DefaultSettings.load(Unknown Source) ? ? ? ? at ibcalpha.ibc.DefaultSettings.<init>(Unknown Source) ? ? ? ? at ibcalpha.ibc.IbcTws.setupDefaultEnvironment(Unknown Source) ? ? ? ? at ibcalpha.ibc.IbcTws.main(Unknown Source) |
Re: gatewaystart.sh is opening two gateway windows
开云体育Ok, I think we can call a halt to this thread now. No need for any further input, from either side. ? Thanks for kind comments. ? Richard ? |
Re: gatewaystart.sh is opening two gateway windows
Algora whoever, I didn't want to butt in and be impolite, but I feel I must. I have found Richard to be one of the most helpful people around building and fixing software for free, sometimes for ingrates like you.? A more pertinent question is what are you doing on forums like these? |
Re: gatewaystart.sh is opening two gateway windows
On 15 January 2025 1:31:27?pm "Jasmin J." <jasmin@...> wrote:
|
Re: gatewaystart.sh is opening two gateway windows
Hello Richard! Don't waste your time and emotions with such people who can't understand that you work in your spare time on IBC. We all appreciate your kindness and helpfulness when we struggle somehow with IBC/TWS/Gateway. Thank you very much for developing IBC so that we can use TWS/Gateway in an automated way and run our strategies. BR, ?? Jasmin, Austria Am 15. Januar 2025 20:07:02 GMT+07:00 schrieb Richard L King <rlking@...>: >Sorry for the delay in replying. I have more important things to do than waste my time on such trivia. > > > >Let me tell you something that you’re presumably unaware of. If I run Gateway on Ubuntu without using IBC, and login in the normal way by manually entering username and password, that login dialog remains on view exactly as in your screenshot. In other words, this is nothing whatever to do with IBC. (On windows, Gateway does close the dialog.) > > > >So I can’t see why you appear to think I should make IBC ‘fix’ it. As I said, it might be possible to put some code in IBC that hides the window (after all, Java provides plenty of means of manipulating dialogs): but even if it only involves adding one line of code somewhere it’s a non-trivial exercise to undertake. Besides, the purpose of IBC is not to fix IBKR’s bugs, and in general it doesn’t interfere in Gateway/TWS’s operation in any way other than what a user can do. > > > >If you can provide some justification for why the window remaining visible is a problem, rather than just a fact of life, then I might consider looking at it further, but I can’t see that it is. > > > >So please don’t try to insinuate that I’m unhelpful: I find that very offensive. > > > >Richard > > > > > > > > -- Diese Nachricht wurde von meinem Android-Ger?t mit K-9 Mail gesendet. |
Re: gatewaystart.sh is opening two gateway windows
开云体育Sorry for the delay in replying. I have more important things to do than waste my time on such trivia. ? Let me tell you something that you’re presumably unaware of. If I run Gateway on Ubuntu without using IBC, and login in the normal way by manually entering username and password, that login dialog remains on view exactly as in your screenshot. In other words, this is nothing whatever to do with IBC. (On windows, Gateway does close the dialog.) ? So I can’t see why you appear to think I should make IBC ‘fix’ it. As I said, it might be possible to put some code in IBC that hides the window (after all, Java provides plenty of means of manipulating dialogs): but even if it only involves adding one line of code somewhere it’s a non-trivial exercise to undertake. Besides, the purpose of IBC is not to fix IBKR’s bugs, and in general it doesn’t interfere in Gateway/TWS’s operation in any way other than what a user can do. ? If you can provide some justification for why the window remaining visible is a problem, rather than just a fact of life, then I might consider looking at it further, but I can’t see that it is. ? So please don’t try to insinuate that I’m unhelpful: I find that very offensive. ? Richard ? |
Re: gatewaystart.sh is opening two gateway windows
开云体育Because I’m the developer of IBC. ? Is there some problem with this? ? ? From: [email protected] <[email protected]> On Behalf Of algora.official.software via groups.io
Sent: 14 January 2025 23:04 To: [email protected] Subject: Re: [ibc] gatewaystart.sh is opening two gateway windows ? One might ask themselves why you're even on this forum to begin with... Thanks? |
Re: gatewaystart.sh is opening two gateway windows
开云体育If I tried hard enough, I could probably get IBC to minimise it or hide it, but I’m not inclined to make the effort, and I don’t like trying to make Gateway or TWS do things it doesn’t want to do itself. ? Just live with it! ? |
Re: gatewaystart.sh is opening two gateway windows
开云体育If you bring that other window forward, I think you’ll see that it’s just the Gateway login dialog. For some reason, Gateway doesn’t always close this window when login is complete. ? So just ignore it – it doesn’t do any harm (but don’t try to close it, that will end Gateway). ? By the way, the message about autorestart file not being found is not an error. It’s just a statement of fact. And the restart.sh script is for use if you need to restart Gateway without having to do a full 2FA. ? Richard |