Dukascopy
 
 
Wiki JStore Search Login

[RESOLVED] jforex + ubuntu 12.04 issues
 Post subject: [RESOLVED] jforex + ubuntu 12.04 issues Post rating: 0   Post Posted: Tue 13 Aug, 2013, 12:31 
User avatar

User rating: 0
Joined: Sun 04 Aug, 2013, 10:16
Posts: 48
Location: FranceFrance
Hi,

after a few days using jforex I have to say it's not really stable on ubuntu (i open the file with icedtea java webstart)

* more than often it becomes very very slow (if not a full freeze) and i have to restore default config which takes a couple of minutes (1 to get it to respond, 1 to reload), then obviously re-add my instrument, reopen instruments/graphics. real annoying in demo can't imagine in live...

* it seems it is struggling to parse the data it receives from the market (quotes stay the same for many many seconds at once, sometimes a minute - while metatrader 4 would show activity at the same time on the same pair)

*and sometimes it just crashes my ubuntu session (black screen then ubuntu loging screen, all previously opened ubuntu sessions being closed)...

i've search for tips about jforex on ubuntu, found a link to a wiki, but link is dead; in current wiki nothing about ubuntu

thanks for help if possible

system
ram 3.9bg
Intel® Core™2 Duo CPU T7500 @ 2.20GHz × 2 32 bits

$ java -version

java version "1.7.0_25"
Java(TM) SE Runtime Environment (build 1.7.0_25-b15)
Java HotSpot(TM) Server VM (build 23.25-b01, mixed mode)


I'm not using other java application so cannot compare


 
 Post subject: Re: jforex + ubuntu 12.04 issues Post rating: 0   Post Posted: Tue 13 Aug, 2013, 20:15 
User avatar

User rating: 164
Joined: Mon 08 Oct, 2012, 10:35
Posts: 676
Location: NetherlandsNetherlands
I am using JForex without issues on SLES and OpenSuSE platforms. I even run it on an acer aspire one netbook (which absolutely low end), without any glitch (well, there is on about hibernate, but that is a different story).

In Ubuntu you can have 2 java version (maybe you are not familiar with this): 1 from OpenJDK (this comes with the distro); the other from Oracle (you have to download the installer from Oracle).
I am not sure which one have you installed (I guess the OpenJDK version, as 'icedtea' is something about OpenJDK), but I suggest to use the Oracle version.
Get rid of anything related to OpenJDK.
Install the Oracle version from here.
Configure java alternatives. (more on this here.)

If this still doesn't solve the issue, try running the JForex platform with java console visible. Maybe there are some hints about the problem within the console. (more about this here and here.)

As a workaround, till you figure out what is going on, and/or support assists you further, you can use the web platform for trading.


 
 Post subject: Re: jforex + ubuntu 12.04 issues Post rating: 0   Post Posted: Tue 13 Aug, 2013, 20:59 
User avatar

User rating: 0
Joined: Sun 04 Aug, 2013, 10:16
Posts: 48
Location: FranceFrance
Hi & thanks for the reply

I am already using the oracle version of Java, and openjdk was well removed before.

in my understanding icedtea is a package that I need on top of java (jdk or oracle) to open jnpl file & run java app, but I could be wrong ? how do you open the jforex file if not with icedtea ?

but i might have spotted one problem : Opera (v12, the browser), since using firefox since a couple of hours, jforex seems fine, no more slow response, no more freeze, no more shut down... well so far

will check the links provided to tune java, thanks

btw which version of java do you use for jforex ?(6 or 7) have you tested both ?


 
 Post subject: Re: jforex + ubuntu 12.04 issues Post rating: 0   Post Posted: Wed 14 Aug, 2013, 12:03 
User avatar

User rating: 164
Joined: Mon 08 Oct, 2012, 10:35
Posts: 676
Location: NetherlandsNetherlands
Hi,

javaws (Java Web Start) is deployed with java itself. You don't need icedtea to 'support' .jnlp files. Just configure your browser to call javaws whenever you click on a .jnlp link.

java -version output on the SLES box:
java version "1.7.0_09"
Java (TM) SE Runtime Environment (build 1.7.0_09-b05)
Java HotSpot(TM) 64-Bit Server VM (build 23.5-b02, mixed mode)

I cannot check the netbook with OpenSuSE now, but I think it is also on Java 1.7.


About the browser:
As the only thing the browser does when you try to open the JForex platform is to associate and call the proper application (javaws in this case) for the .jnlp file, I would say it doesn't matter which browser you are using.
You can even download the .jnlp file and execute: javaws jforex.jnlp manually on the command line to start the platform, without using any browser.


Have you had a chance to modify the java console visibility? Maybe there are some hints there about the problems. Of course if the whole uses session hangs or freezes, you won't be able to check anything on the java console, but who knows...

edit:
Do you have 64bit Ubuntu? The java version you have is 32bit, but if you have a 64bit OS you could give it a try to install the 64bit version of java. Probably a 64bit OS with 32bit java is a valid combination, but you could give it a try.


 
 Post subject: Re: jforex + ubuntu 12.04 issues Post rating: 0   Post Posted: Wed 14 Aug, 2013, 14:19 
User avatar

User rating: 0
Joined: Sun 04 Aug, 2013, 10:16
Posts: 48
Location: FranceFrance
hi tcsabina & thanks for answer,

I know what you mean about the browser thing, but sometimes it does happen that two software makes a system unstable by running along each other because of ram/cpu usage usage and even more complex reasons found at the OS layer (which is one reason why there are so many packages doing so many different thing to improve any linux distro)

anyhow, again right now, after a few hours this time (not as fast as if opera was open), jforex has become really slow to respond.

another bug is that I've used the restore saved config option in the file menu, it does restore but without the summary/positions/... tabs. Can't see any view option in the menu to make them reappear.

will test it with javaws direct now & with the console, let's hope it's all an icedtea issue

if not & if you ask my php/javascript developper opinion, in best case jforex is not periodically releasing any memory, increasing ram usage for ever and in worst case there is a memory leak somewhere in the code...


 
 Post subject: Re: jforex + ubuntu 12.04 issues Post rating: 0   Post Posted: Wed 14 Aug, 2013, 14:58 
User avatar

User rating: 0
Joined: Sun 04 Aug, 2013, 10:16
Posts: 48
Location: FranceFrance
NB : the dukascopy page on how to open java console in linux is outdated;


-> type `jcontrol` in the linux console (only for sun java 6/7)

-> advanced tab, show console


launched jforex from javaws, system crash after 2 minutes !


 
 Post subject: Re: jforex + ubuntu 12.04 issues Post rating: 0   Post Posted: Wed 14 Aug, 2013, 15:45 
User avatar

User rating: 0
Joined: Sun 04 Aug, 2013, 10:16
Posts: 48
Location: FranceFrance
thanks to java console i may have spot the bug for you guys of the jforex dev team :

language issue (i'm using jForex in french) ?

see the log :


common log :


Java Web Start 10.25.2.15
Utilisation de la version JRE 1.7.0_25-b15 Java HotSpot(TM) Server VM
Répertoire d'origine de l'utilisateur = /home/mika
----------------------------------------------------
c:   effacer la fenêtre de la console
f:   finaliser les objets de la file d'attente de finalisation
g:   nettoyer la mémoire
h:   afficher ce message d'aide
m:   imprimer le relevé d'utilisation de la mémoire
o:   déclencher la journalisation
p:   recharger la configuration du proxy
q:   masquer la console
r:   recharger la configuration des règles
s:   vider les propriétés système et de déploiement
t:   vider la liste des threads
v:   vider la pile des threads
0-5: fixer le niveau de trace à <n>
----------------------------------------------------
CacheEntry[https://eu-demo.dukascopy.com/fo/platform/jForex/]: updateAvailable=false,lastModified=Thu Jan 01 01:00:00 CET 1970,length=-1
Missing Permissions manifest attribute for: https://eu-demo.dukascopy.com/client/demo/jclient/lib/7zip-4.65.jar
Missing Codebase manifest attribute for: https://eu-demo.dukascopy.com/client/demo/jclient/lib/7zip-4.65.jar
Missing Permissions manifest attribute for: https://eu-demo.dukascopy.com/client/demo/jclient/lib/DDS2-TextEditor-1.20.jar
Missing Codebase manifest attribute for: https://eu-demo.dukascopy.com/client/demo/jclient/lib/DDS2-TextEditor-1.20.jar
Missing Permissions manifest attribute for: https://eu-demo.dukascopy.com/client/demo/jclient/lib/JForex-API-2.9.0.1.jar
Missing Codebase manifest attribute for: https://eu-demo.dukascopy.com/client/demo/jclient/lib/JForex-API-2.9.0.1.jar
Missing Permissions manifest attribute for: https://eu-demo.dukascopy.com/client/demo/jclient/lib/MQL4Connector-2.9.0.1.jar
Missing Codebase manifest attribute for: https://eu-demo.dukascopy.com/client/demo/jclient/lib/MQL4Connector-2.9.0.1.jar
Missing Permissions manifest attribute for: https://eu-demo.dukascopy.com/client/demo/jclient/lib/MQL4Converter-2.18.jar
Missing Codebase manifest attribute for: https://eu-demo.dukascopy.com/client/demo/jclient/lib/MQL4Converter-2.18.jar
Missing Permissions manifest attribute for: https://eu-demo.dukascopy.com/client/demo/jclient/lib/commons-lang3-3.0.1.jar
Missing Codebase manifest attribute for: https://eu-demo.dukascopy.com/client/demo/jclient/lib/commons-lang3-3.0.1.jar
Missing Permissions manifest attribute for: https://eu-demo.dukascopy.com/client/demo/jclient/lib/ecj-3.5.2.jar
Missing Codebase manifest attribute for: https://eu-demo.dukascopy.com/client/demo/jclient/lib/ecj-3.5.2.jar
Missing Permissions manifest attribute for: https://eu-demo.dukascopy.com/client/demo/jclient/lib/jakarta-oro-2.0.8.jar
Missing Codebase manifest attribute for: https://eu-demo.dukascopy.com/client/demo/jclient/lib/jakarta-oro-2.0.8.jar
Missing Permissions manifest attribute for: https://eu-demo.dukascopy.com/client/demo/jclient/lib/jakarta-regexp-1.4.jar
Missing Codebase manifest attribute for: https://eu-demo.dukascopy.com/client/demo/jclient/lib/jakarta-regexp-1.4.jar
Missing Permissions manifest attribute for: https://eu-demo.dukascopy.com/client/demo/jclient/lib/jcalendar-1.3.3.jar
Missing Codebase manifest attribute for: https://eu-demo.dukascopy.com/client/demo/jclient/lib/jcalendar-1.3.3.jar
Missing Permissions manifest attribute for: https://eu-demo.dukascopy.com/client/demo/jclient/lib/jna-3.5.0.jar
Missing Codebase manifest attribute for: https://eu-demo.dukascopy.com/client/demo/jclient/lib/jna-3.5.0.jar
Missing Permissions manifest attribute for: https://eu-demo.dukascopy.com/client/demo/jclient/lib/lucene-core-3.4.0.jar
Missing Codebase manifest attribute for: https://eu-demo.dukascopy.com/client/demo/jclient/lib/lucene-core-3.4.0.jar
Missing Permissions manifest attribute for: https://eu-demo.dukascopy.com/client/demo/jclient/lib/lucene-highlighter-3.4.0.jar
Missing Codebase manifest attribute for: https://eu-demo.dukascopy.com/client/demo/jclient/lib/lucene-highlighter-3.4.0.jar
Missing Permissions manifest attribute for: https://eu-demo.dukascopy.com/client/demo/jclient/lib/lucene-memory-3.4.0.jar
Missing Codebase manifest attribute for: https://eu-demo.dukascopy.com/client/demo/jclient/lib/lucene-memory-3.4.0.jar
Missing Permissions manifest attribute for: https://eu-demo.dukascopy.com/client/demo/jclient/lib/lucene-queries-3.4.0.jar
Missing Codebase manifest attribute for: https://eu-demo.dukascopy.com/client/demo/jclient/lib/lucene-queries-3.4.0.jar
Missing Permissions manifest attribute for: https://eu-demo.dukascopy.com/client/demo/jclient/lib/mina-core-1.1.7.jar
Missing Codebase manifest attribute for: https://eu-demo.dukascopy.com/client/demo/jclient/lib/mina-core-1.1.7.jar
Missing Permissions manifest attribute for: https://eu-demo.dukascopy.com/client/demo/jclient/lib/mina-filter-ssl-1.1.7.jar
Missing Codebase manifest attribute for: https://eu-demo.dukascopy.com/client/demo/jclient/lib/mina-filter-ssl-1.1.7.jar
Missing Permissions manifest attribute for: https://eu-demo.dukascopy.com/client/demo/jclient/lib/slf4j-api-1.6.4.jar
Missing Codebase manifest attribute for: https://eu-demo.dukascopy.com/client/demo/jclient/lib/slf4j-api-1.6.4.jar
Missing Permissions manifest attribute for: https://eu-demo.dukascopy.com/client/demo/jclient/lib/slf4j-api-1.6.4.jar
Missing Codebase manifest attribute for: https://eu-demo.dukascopy.com/client/demo/jclient/lib/slf4j-api-1.6.4.jar
Missing Permissions manifest attribute for: https://eu-demo.dukascopy.com/client/demo/jclient/lib/slf4j-jdk14-1.6.4.jar
Missing Codebase manifest attribute for: https://eu-demo.dukascopy.com/client/demo/jclient/lib/slf4j-jdk14-1.6.4.jar
Missing Permissions manifest attribute for: https://eu-demo.dukascopy.com/client/demo/jclient/lib/ta-lib-0.4.4dc.jar
Missing Codebase manifest attribute for: https://eu-demo.dukascopy.com/client/demo/jclient/lib/ta-lib-0.4.4dc.jar
Missing Permissions manifest attribute for: https://eu-demo.dukascopy.com/client/demo/jclient/lib/slf4j-jdk14-1.6.4.jar
Missing Codebase manifest attribute for: https://eu-demo.dukascopy.com/client/demo/jclient/lib/slf4j-jdk14-1.6.4.jar
Missing Permissions manifest attribute for: https://eu-demo.dukascopy.com/client/demo/jclient/lib/JForex-API-2.9.0.1.jar
Missing Codebase manifest attribute for: https://eu-demo.dukascopy.com/client/demo/jclient/lib/JForex-API-2.9.0.1.jar



log javaws jforex.jnlp french :

security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
   at javax.swing.RepaintManager.validateInvalidComponents(Unknown Source)
   at javax.swing.RepaintManager$ProcessingRunnable.run(Unknown Source)
   at java.awt.event.InvocationEvent.dispatch(Unknown Source)
   at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
   at java.awt.EventQueue.access$200(Unknown Source)
   at java.awt.EventQueue$3.run(Unknown Source)
   at java.awt.EventQueue$3.run(Unknown Source)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
   at java.awt.EventQueue.dispatchEvent(Unknown Source)
   at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
   at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
   at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
   at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
   at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
   at java.awt.EventDispatchThread.run(Unknown Source)
14.08.2013 16:02:37.316   SEVERE                            b.c ] Uncaught exception in [AWT-EventQueue-2] thread: null
java.lang.NullPointerException
   at javax.swing.SizeRequirements.calculateAlignedPositions(Unknown Source)
   at javax.swing.BoxLayout.layoutContainer(Unknown Source)
   at java.awt.Container.layout(Unknown Source)
   at java.awt.Container.doLayout(Unknown Source)
   at java.awt.Container.validateTree(Unknown Source)
   at java.awt.Container.validateTree(Unknown Source)
   at java.awt.Container.validateTree(Unknown Source)
   at java.awt.Container.validateTree(Unknown Source)
   at java.awt.Container.validate(Unknown Source)
   at javax.swing.RepaintManager$2.run(Unknown Source)
   at javax.swing.RepaintManager$2.run(Unknown Source)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
   at javax.swing.RepaintManager.validateInvalidComponents(Unknown Source)
   at javax.swing.RepaintManager$ProcessingRunnable.run(Unknown Source)
   at java.awt.event.InvocationEvent.dispatch(Unknown Source)
   at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
   at java.awt.EventQueue.access$200(Unknown Source)
   at java.awt.EventQueue$3.run(Unknown Source)
   at java.awt.EventQueue$3.run(Unknown Source)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
   at java.awt.EventQueue.dispatchEvent(Unknown Source)
   at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
   at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
   at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
   at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
   at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
   at java.awt.EventDispatchThread.run(Unknown Source)
14.08.2013 16:02:37.324   SEVERE                            b.c ] Uncaught exception in [AWT-EventQueue-2] thread: null
java.lang.NullPointerException
   at javax.swing.SizeRequirements.calculateAlignedPositions(Unknown Source)
   at javax.swing.BoxLayout.layoutContainer(Unknown Source)
   at java.awt.Container.layout(Unknown Source)
   at java.awt.Container.doLayout(Unknown Source)
   at java.awt.Container.validateTree(Unknown Source)
   at java.awt.Container.validateTree(Unknown Source)
   at java.awt.Container.validateTree(Unknown Source)
   at java.awt.Container.validateTree(Unknown Source)
   at java.awt.Container.validate(Unknown Source)
   at javax.swing.RepaintManager$2.run(Unknown Source)
   at javax.swing.RepaintManager$2.run(Unknown Source)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
   at javax.swing.RepaintManager.validateInvalidComponents(Unknown Source)
   at javax.swing.RepaintManager$ProcessingRunnable.run(Unknown Source)
   at java.awt.event.InvocationEvent.dispatch(Unknown Source)
   at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
   at java.awt.EventQueue.access$200(Unknown Source)
   at java.awt.EventQueue$3.run(Unknown Source)
   at java.awt.EventQueue$3.run(Unknown Source)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
   at java.awt.EventQueue.dispatchEvent(Unknown Source)
   at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
   at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
   at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
   at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
   at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
   at java.awt.EventDispatchThread.run(Unknown Source)
14.08.2013 16:02:37.341   SEVERE                            b.c ] Uncaught exception in [AWT-EventQueue-2] thread: null
java.lang.NullPointerException
   


    //...
    //
    // few hundred more lines of log like this (too many to be pasted in one post but have saved the log if you want if full let me know)
    //
    //...

14.08.2013 16:08:14.430   SEVERE                            b.c ] Uncaught exception in [AWT-EventQueue-2] thread: null
java.lang.NullPointerException
   at javax.swing.SizeRequirements.calculateAlignedPositions(Unknown Source)
   at javax.swing.BoxLayout.layoutContainer(Unknown Source)
   at java.awt.Container.layout(Unknown Source)
   at java.awt.Container.doLayout(Unknown Source)
   at java.awt.Container.validateTree(Unknown Source)
   at java.awt.Container.validateTree(Unknown Source)
   at java.awt.Container.validateTree(Unknown Source)
   at java.awt.Container.validateTree(Unknown Source)
   at java.awt.Container.validate(Unknown Source)
   at javax.swing.RepaintManager$2.run(Unknown Source)
   at javax.swing.RepaintManager$2.run(Unknown Source)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
   at javax.swing.RepaintManager.validateInvalidComponents(Unknown Source)
   at javax.swing.RepaintManager$ProcessingRunnable.run(Unknown Source)
   at java.awt.event.InvocationEvent.dispatch(Unknown Source)
   at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
   at java.awt.EventQueue.access$200(Unknown Source)
   at java.awt.EventQueue$3.run(Unknown Source)
   at java.awt.EventQueue$3.run(Unknown Source)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
   at java.awt.EventQueue.dispatchEvent(Unknown Source)
   at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
   at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
   at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
   at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
   at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
   at java.awt.EventDispatchThread.run(Unknown Source)
14.08.2013 16:08:15.146   SEVERE                            b.c ] Uncaught exception in [AWT-EventQueue-2] thread: null
java.lang.NullPointerException
   at javax.swing.SizeRequirements.calculateAlignedPositions(Unknown Source)
   at javax.swing.BoxLayout.layoutContainer(Unknown Source)
   at java.awt.Container.layout(Unknown Source)
   at java.awt.Container.doLayout(Unknown Source)
   at java.awt.Container.validateTree(Unknown Source)
   at java.awt.Container.validateTree(Unknown Source)
   at java.awt.Container.validateTree(Unknown Source)
   at java.awt.Container.validateTree(Unknown Source)
   at java.awt.Container.validate(Unknown Source)
   at javax.swing.RepaintManager$2.run(Unknown Source)
   at javax.swing.RepaintManager$2.run(Unknown Source)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
   at javax.swing.RepaintManager.validateInvalidComponents(Unknown Source)
   at javax.swing.RepaintManager$ProcessingRunnable.run(Unknown Source)
   at java.awt.event.InvocationEvent.dispatch(Unknown Source)
   at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
   at java.awt.EventQueue.access$200(Unknown Source)
   at java.awt.EventQueue$3.run(Unknown Source)
   at java.awt.EventQueue$3.run(Unknown Source)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
   at java.awt.EventQueue.dispatchEvent(Unknown Source)
   at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
   at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
   at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
   at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
   at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
   at java.awt.EventDispatchThread.run(Unknown Source)


log jforex in english :

14.08.2013 16:09:47.360     INFO      connections.ConnectAction ] Authenticating...
14.08.2013 16:09:47.821     INFO                      connect.c ] Selecting the best server...
14.08.2013 16:09:51.817     INFO         config.GreedProperties ] Requesting the account settings...
14.08.2013 16:09:52.971     INFO        impl.JDK14LoggerAdapter ] Connecting...
14.08.2013 16:09:55.609     INFO                     settings.d ] Workspace settings successfully loaded from file: /home/mika/JForex/Workspaces/DEMO/53B0B022D7176D8C6836A08DC79870893171238F/myWorkspace.xml
Missing Permissions manifest attribute for: https://eu-demo.dukascopy.com/client/demo/jclient/lib/ta-lib-0.4.4dc.jar
Missing Codebase manifest attribute for: https://eu-demo.dukascopy.com/client/demo/jclient/lib/ta-lib-0.4.4dc.jar
Missing Permissions manifest attribute for: https://eu-demo.dukascopy.com/client/demo/jclient/lib/jcalendar-1.3.3.jar
Missing Codebase manifest attribute for: https://eu-demo.dukascopy.com/client/demo/jclient/lib/jcalendar-1.3.3.jar
Missing Permissions manifest attribute for: https://eu-demo.dukascopy.com/client/demo/jclient/lib/mina-core-1.1.7.jar
Missing Codebase manifest attribute for: https://eu-demo.dukascopy.com/client/demo/jclient/lib/mina-core-1.1.7.jar
Missing Permissions manifest attribute for: https://eu-demo.dukascopy.com/client/demo/jclient/lib/mina-filter-ssl-1.1.7.jar
Missing Codebase manifest attribute for: https://eu-demo.dukascopy.com/client/demo/jclient/lib/mina-filter-ssl-1.1.7.jar
14.08.2013 16:10:04.496     INFO        impl.JDK14LoggerAdapter ] Authorized
14.08.2013 16:10:04.828     INFO                            r.d ] Loading server time
14.08.2013 16:10:05.097     INFO                            r.d ] Server time loaded<2013-08-14 14:10:04:924>
14.08.2013 16:10:06.468     INFO                   connection.a ] Initializing...
14.08.2013 16:10:22.707     INFO    actions.AccountUpdateAction ] Connected to d-ja-gva-141-194




(ps:jforex feels like running smoother/faster from icedtea although it may well be strictly the same)


 
 Post subject: Re: jforex + ubuntu 12.04 issues Post rating: 0   Post Posted: Wed 14 Aug, 2013, 17:00 
User avatar

User rating: 0
Joined: Sun 04 Aug, 2013, 10:16
Posts: 48
Location: FranceFrance
or i was wrong again,

errors are showing up in english as well now :

14.08.2013 17:09:48.172   SEVERE                            b.c ] Uncaught exception in [AWT-EventQueue-2] thread: Invalid index
java.lang.IndexOutOfBoundsException: Invalid index
   at javax.swing.DefaultRowSorter.convertRowIndexToModel(Unknown Source)
   at com.dukascopy.dds2.greed.gui.component.exposure.d.q(Unknown Source)
   at com.dukascopy.dds2.greed.gui.component.exposure.d.mouseReleased(Unknown Source)
   at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
   at java.awt.Component.processMouseEvent(Unknown Source)
   at javax.swing.JComponent.processMouseEvent(Unknown Source)
   at java.awt.Component.processEvent(Unknown Source)
   at java.awt.Container.processEvent(Unknown Source)
   at java.awt.Component.dispatchEventImpl(Unknown Source)
   at java.awt.Container.dispatchEventImpl(Unknown Source)
   at java.awt.Component.dispatchEvent(Unknown Source)
   at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
   at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
   at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
   at java.awt.Container.dispatchEventImpl(Unknown Source)
   at java.awt.Window.dispatchEventImpl(Unknown Source)
   at java.awt.Component.dispatchEvent(Unknown Source)
   at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
   at java.awt.EventQueue.access$200(Unknown Source)
   at java.awt.EventQueue$3.run(Unknown Source)
   at java.awt.EventQueue$3.run(Unknown Source)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
   at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
   at java.awt.EventQueue$4.run(Unknown Source)
   at java.awt.EventQueue$4.run(Unknown Source)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
   at java.awt.EventQueue.dispatchEvent(Unknown Source)
   at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
   at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
   at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
   at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
   at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
   at java.awt.EventDispatchThread.run(Unknown Source)
14.08.2013 17:09:48.212   SEVERE                            b.c ] Uncaught exception in [AWT-EventQueue-2] thread: Invalid index
java.lang.IndexOutOfBoundsException: Invalid index

// etc
//etc ...


 
 Post subject: Re: jforex + ubuntu 12.04 issues Post rating: 0   Post Posted: Wed 14 Aug, 2013, 19:46 
User avatar

User rating: 0
Joined: Sun 04 Aug, 2013, 10:16
Posts: 48
Location: FranceFrance
now i'm getting this in the console :

14.08.2013 20:41:07.036   SEVERE                            b.c ] Uncaught exception in [AWT-EventQueue-2] thread: null
java.lang.NullPointerException
14.08.2013 20:41:07.663   SEVERE                            b.c ] Uncaught exception in [AWT-EventQueue-2] thread: null
java.lang.NullPointerException
14.08.2013 20:41:08.036   SEVERE                            b.c ] Uncaught exception in [AWT-EventQueue-2] thread: null
java.lang.NullPointerException
14.08.2013 20:41:09.036   SEVERE                            b.c ] Uncaught exception in [AWT-EventQueue-2] thread: null
java.lang.NullPointerException
14.08.2013 20:41:10.036   SEVERE                            b.c ] Uncaught exception in [AWT-EventQueue-2] thread: null
java.lang.NullPointerException
14.08.2013 20:41:11.036   SEVERE                            b.c ] Uncaught exception in [AWT-EventQueue-2] thread: null
java.lang.NullPointerException
14.08.2013 20:41:12.036   SEVERE                            b.c ] Uncaught exception in [AWT-EventQueue-2] thread: null
java.lang.NullPointerException
14.08.2013 20:41:13.036   SEVERE                            b.c ] Uncaught exception in [AWT-EventQueue-2] thread: null
java.lang.NullPointerException
14.08.2013 20:41:14.036   SEVERE                            b.c ] Uncaught exception in [AWT-EventQueue-2] thread: null
java.lang.NullPointerException
14.08.2013 20:41:15.036   SEVERE                            b.c ] Uncaught exception in [AWT-EventQueue-2] thread: null
java.lang.NullPointerException
14.08.2013 20:41:16.036   SEVERE                            b.c ] Uncaught exception in [AWT-EventQueue-2] thread: null
java.lang.NullPointerException
14.08.2013 20:41:17.037   SEVERE                            b.c ] Uncaught exception in [AWT-EventQueue-2] thread: null
java.lang.NullPointerException
14.08.2013 20:41:18.036   SEVERE                            b.c ] Uncaught exception in [AWT-EventQueue-2] thread: null
java.lang.NullPointerException
14.08.2013 20:41:19.036   SEVERE                            b.c ] Uncaught exception in [AWT-EventQueue-2] thread: null
java.lang.NullPointerException
14.08.2013 20:41:20.036   SEVERE                            b.c ] Uncaught exception in [AWT-EventQueue-2] thread: null
java.lang.NullPointerException
14.08.2013 20:41:21.036   SEVERE                            b.c ] Uncaught exception in [AWT-EventQueue-2] thread: null
java.lang.NullPointerException
14.08.2013 20:41:22.036   SEVERE                            b.c ] Uncaught exception in [AWT-EventQueue-2] thread: null
java.lang.NullPointerException
14.08.2013 20:41:23.036   SEVERE                            b.c ] Uncaught exception in [AWT-EventQueue-2] thread: null
java.lang.NullPointerException


it's been like this for a while (& prices get frozen for seconds since it has started - app responds and doesn't freeze though)

i hope there is a solution / explanation ?


 
 Post subject: Re: jforex + ubuntu 12.04 issues Post rating: 0   Post Posted: Thu 15 Aug, 2013, 09:33 
User avatar

User rating: 164
Joined: Mon 08 Oct, 2012, 10:35
Posts: 676
Location: NetherlandsNetherlands
Interesting follow ups...
Unfortunately I have no clue about these messages in the java console. For faster response time I advice to contact Support by email.

Quote:
...in best case jforex is not periodically releasing any memory, increasing ram usage for ever...

You can turn on to show the java memory heap usage of the platform. Might give you some indication. But we already know that there is something wrong is going on on your system with the platform...

Another idea: do you have any chance to test another linux distro? (dual boot next to your current Ubuntu.) Support's response might take a couple of days, but installing a new linux OS is done within 1-2 hours.


 
 Post subject: Re: jforex + ubuntu 12.04 issues Post rating: 0   Post Posted: Thu 15 Aug, 2013, 11:47 
User avatar

User rating: 0
Joined: Sun 04 Aug, 2013, 10:16
Posts: 48
Location: FranceFrance
i've been contacting support, waiting for answer;

i've installed sun java 6 and jforex is far less unstable, instead of getting a few severe log every seconds i get one every 5to30minutes

15.08.2013 11:49:48.118   SEVERE                            b.c ] Uncaught exception in [AWT-EventQueue-0] thread: -1
java.lang.ArrayIndexOutOfBoundsException: -1
   at javax.swing.DefaultRowSorter.convertRowIndexToModel(DefaultRowSorter.java:501)
   at com.dukascopy.dds2.greed.gui.component.exposure.d.q(Unknown Source)
   at com.dukascopy.dds2.greed.gui.component.exposure.d.mouseReleased(Unknown Source)
   at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:273)
   at java.awt.Component.processMouseEvent(Component.java:6290)
   at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
   at java.awt.Component.processEvent(Component.java:6055)
   at java.awt.Container.processEvent(Container.java:2039)
   at java.awt.Component.dispatchEventImpl(Component.java:4653)
   at java.awt.Container.dispatchEventImpl(Container.java:2097)
   at java.awt.Component.dispatchEvent(Component.java:4481)
   at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4575)
   at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4236)
   at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4166)
   at java.awt.Container.dispatchEventImpl(Container.java:2083)
   at java.awt.Window.dispatchEventImpl(Window.java:2482)
   at java.awt.Component.dispatchEvent(Component.java:4481)
   at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:648)
   at java.awt.EventQueue.access$000(EventQueue.java:84)
   at java.awt.EventQueue$1.run(EventQueue.java:607)
   at java.awt.EventQueue$1.run(EventQueue.java:605)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
   at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
   at java.awt.EventQueue$2.run(EventQueue.java:621)
   at java.awt.EventQueue$2.run(EventQueue.java:619)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
   at java.awt.EventQueue.dispatchEvent(EventQueue.java:618)
   at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
   at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
   at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
   at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
   at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
   at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)


however there is another bug there : all icon files aren't being loaded which is not really practical but far less a downside than having my ubuntu session crashed or jforex not responding nor actualizing prices

this icon bug may be easier to fix ? i don't care java 6 or 7 as long as it's stable


ps:
the memory guess was a vague & uneducated one (checked ram usage, pretty much stable) from me, apologizes.

might give another distro a try but through virtualbox and just for the sake of cross-testing as i cannot keep virtualbox always open, takes too much resources and as dual boot doesn't fit my pc usage&needs (can't reboot pc & stop my trades everytime i receive an email concerning my developper job)-> so switching distro is more like days of work to reset all my dev framework...


 
 Post subject: jforex + ubuntu 12.04 issues RESOLVED ! Post rating: 0   Post Posted: Thu 15 Aug, 2013, 13:24 
User avatar

User rating: 0
Joined: Sun 04 Aug, 2013, 10:16
Posts: 48
Location: FranceFrance
I've found out (but what a struggle & how come the support team don't have a clue about linux is beyond me)

TO HAVE JFOREX RUNNING FINE ON UBUNTU

-uninstall openjdk (https://askubuntu.com/questions/84483/ho ... stall-java - see second answer, not the accepted one)

-install sunjava 6 ou 7 (https://doc.ubuntu-fr.org/java)

-CHECK & UPDATE the binfmts entry for jar files :
sudo gedit  /var/lib/binfmts/jar


replace on the first line openjdk7 by sun-java7 (6) (thanks to https://forums.debian.net/viewtopic.php?f=5&t=58032 to put me on the right path)


 
 Post subject: UPDATE Post rating: 0   Post Posted: Thu 15 Aug, 2013, 14:07 
User avatar

User rating: 0
Joined: Sun 04 Aug, 2013, 10:16
Posts: 48
Location: FranceFrance
forgot You also need to edit the last line of the file to point toward the correct jexec file (stg like /usr/lib/jvm/java-6-sun-1.6.0.22/jre/lib/jexec )

after further testing it appears this solution works only for sun java 6 (on my 32bits system);

with 7, java console keeps reporting the same initial bug (both version installed using the same repository) posted above (`Missing Permissions manifest attribute for: `)

've been wasted too much time on this so -> java 6

a lol to conclude, support team answer to my issues :

Quote:
nous pensons que la version 7 avec une mise à jour précédente est fonctionnelle sous Linux.


"we think that 7 is ok with linux"

"we think" , seriously guys? shouldn't you know instead !?


 
 Post subject: Re: [RESOLVED] jforex + ubuntu 12.04 issues Post rating: 0   Post Posted: Thu 15 Aug, 2013, 14:47 
User avatar

User rating: 0
Joined: Sun 04 Aug, 2013, 10:16
Posts: 48
Location: FranceFrance
last but not least, the errors i'm getting with java 7 may well be a known bug of latest (7.25) update
https://java.net/jira/browse/GLASSFISH- ... l-tabpanel
Quote:
Java SE 7u25 upgrade causes ClassCircularityError and "Missing Permissions/Codebase manifest attributes" messages during Java Web Start launch of app clients


 
 Post subject: Re: [RESOLVED] jforex + ubuntu 12.04 issues Post rating: 0   Post Posted: Fri 16 Aug, 2013, 09:26 
User avatar

User rating: 164
Joined: Mon 08 Oct, 2012, 10:35
Posts: 676
Location: NetherlandsNetherlands
Quote:
"we think" , seriously guys? shouldn't you know instead !?

Now they know, thanks to you :lol:


 

Jump to:  

cron
  © 1998-2025 Dukascopy® Bank SA
On-line Currency forex trading with Swiss Forex Broker - ECN Forex Brokerage,
Managed Forex Accounts, introducing forex brokers, Currency Forex Data Feed and News
Currency Forex Trading Platform provided on-line by Dukascopy.com