Problem with application developed with vtapi(Vt Systems) - events

Hello!
I'm developing aplication based on api prepared by VT Systems (http://www.cmsfx.com/en/trading-software/download-vt-trader/download-vt-trader-api/).
This api is used to perform forex transactions. I've written a Web
Service which connects with this api and
alows other modules of my application to perform transactions. I'm
using JAX-WS and Sun Java Application Server.
This is sample of Web Service :
@WebService()
public class ForexService{
protected static VT_API api;
Checker checker;
String userName = "***";
String userPassword = "***";
ConstRecord constants;
public static IVT_APIEventsAdapterExtended events;
public void initAPI(){
try{
System.loadLibrary("bridge2java");
OleEnvironment.Initialize();
api = new VT_API();
api.setForceDisableSSL(false);
events = new IVT_APIEventsAdapterExtended(api);
api.addIVT_APIEventsListener(events);
constants = new ConstRecord();
}catch(Exception e) {
e.printStackTrace();
public ForexService(){
initAPI();
logonResult = api.Login(userName, userPassword, 0) ;
System.out.println("Rezultat logowania: " + logonResult);
checker = new Checker(this);
new Thread(checker).start();
@WebMethod
public String getLogonResult() {
return new Integer(logonResult).toString();
@WebMethod
public String getServerList(){
return api.GetServerList();
I'm using event listener which was attached to Java Sample in
documentation.
public class IVT_APIEventsAdapterExtended extends
IVT_APIEventsAdapter{
private VT_API api;
public IVT_APIEventsAdapterExtended(VT_API apiInstance) {
api = apiInstance;
public void
OnInstrumentChange(IVT_APIEvents_OnInstrumentChangeEvent e)
super.OnInstrumentChange(e);
System.out.println("instrument change - " +
e.get_InstrumentID());
public void
OnNewServerMessage(IVT_APIEvents_OnNewServerMessageEvent e)
super.OnNewServerMessage(e);
System.out.println("Server message :" +
api.get_ServerMessages().get_Items(e.get_MsgID()).get_Text());
I've problem with listening events incoming from forex server. When I
run Wireshark(Network Protocol Analyzer) I can see that events income
to my computer (on different ports - for example: 2070, 2071, 2072),
but don't income to Sun Java Application Server. I suspect that server
don't listen on this ports, but how can I fix this? Maybe should I
choose a other server? I've tried also Tomcat -with similar result :(
Regards,
Peter
//Sorry for my english :)

Thank you very much for the reply :-)
We have been fiddling with the platform on many levels yesterday, and one thing we did do was bump that value up from 1024 to 8192... This made a HUGE improvement in ensuring the platform now holds the live streaming connections. (up to 8000 per edge)
I think for other future reference and to aid other people that might run into this problem in the future, its a good idea to increase this value.  From what we have seen, read and heard, that default value is fairly conservative, its suppose to grow when the load demands it, however, if you have a large scale of connections coming in at once from multiple locations, it can happen that it grows too quickly which can result in the application to be reloaded (which disconnects all users, i.e. all edge servers connected to this origin).
Another option we were recommended to modify was the following :
In adaptor.xml you currently have this line:
<HostPort name="edge1" ctl_channel="localhost:19350" rtmfp="${ADAPTOR.HOSTPORT}">${ADAPTOR.HOSTPORT}</HostPort>
You can set this to
                <HostPort name="edge1" ctl_channel="localhost:19350" rtmfp=":80">:80</HostPort>
<HostPort name="edge2" ctl_channel="localhost:19351" rtmfp=":1935">:1935</HostPort>
This will create two edge processes for both ports 80 and 1935. Currently both ports are served from the same fmsedge process.
Of course this is not a huge performance improvement, but should further distribute load over more processes which is a good thing. Especially when there are that many connections.
This setting can be made on all machines (origin + edge)
Hopefully this could help other people also running into the same problems we have seen ...

Similar Messages

  • 'A problem with the cooling system' error message on Satellite A660

    Hi all,
    Hope I can get some help here. I've had about 5 HP laptops after all of them had problems and faults. I got sick of them and therefore got a refund and bought a high spec A660-1FH.
    The A660 has been a great laptop for two days until yesterday when I started getting a warning message saying 'A problem with the cooling system has been detected. Please turn off the computer immediately, and return it for service'.
    The cpu fan works fine as you can here it spinning and the temperature of the i5-460m processor is around 40 degrees for both cores - which seems normal to me. I've noted that it happens only when running on battery and if you switch from eco utility to power saver mode. Its fine when running on the 'balanced' power setting. The fan is louder before when this message appears.
    As its under 28 days my retailer swapped it for a brand new one straight away. Got the new one home, and the same message appears again. Has anyone else experienced this. As two laptops have had this, I'm wondering if this is normal for the A660 series laptop or if there is really a hardware issue?!
    I have tried to upgrade eco utility and the bios of the laptop but both are the latest versions. Can anyone help or share if they experience a similar issue with their laptop?
    Thanks

    In front of me I have Satellite A660-13Q (PSAW3E) and I have it about 6 weeks now. It runs almost 10 hours daily and until now I didnt notice such message or anything else that can be suspect for hardware functionality.
    I really dont know why this happen on your notebook and dont think there is anything you can do about it.
    I would exchange it again. What you can also try is to contact nearest Toshiba service. Make a call, explain the situation and ask if they can help you with this.

  • A problem with the cooling system has been detected

    I bought a new computer not to long ago, I've had it for almost a month now. It runs fine, and I've had no problems until not too long ago. I was playing a game, and I got a random error message: "A problem with the cooling system has been detected. Please turn off the computer immdiately, and return it for service." I don't understand how or why this came up, and I don't have any money to return it for any type of repairs. After I got this message, I left my computer off for about an hour. All seems well so far. Any suggestions?

    What laptop do you have?
    - Peter

  • Problem with the EFI system partition's file system.

    I installed latest yosemite 10.10.2 update - did a verify disk on “WDC WD1001FALS-403AA0 Media” (internal HD on my iMac 21.5-inch, Mid 2011) and got
    Problems were found with the partition map which might prevent booting
    Error: The partition map needs to be repaired because there’s a problem with the EFI system partition’s file system.
    However a verify disk on the volume partition gets a clean bill of health!
    I haven't done a 'repair disk' yet. Thought I'd check if anybody else has same message first.
    Cheers

    I had issues where my MacPro 8-core would not boot after the 10.7.4 upgrade, but my MacBook Air 13" 2011 upgrade worked just fine.
    I had to restore my MacPro HD from my TimeMachine back up. Apparently, the Softraid raid drivers that I use on my MacPro are not compatible yet with 10.7.4. See here for more info:
    http://macperformanceguide.com/blog/2012/20120511_1-MacOSX-SoftRAID.html
    I contacted Softraid and they are already aware of the issues and are working with Apple for a fix.
    Cheers.
    Bud

  • MacBookPro SSD Error- ALERT: The partition map needs to be repaired because there's a problem with the EFI system partition's file system.

    MacBook Pro OS x Mavericks. I have Sandisk 256GB SSD and I am getting a below error message.
    ALERT: The partition map needs to be repaired because there's a problem with the EFI system partition's file system.
    Does anyone know how to resolve this error and fix it ? unfortunately I don't have a Time Machine backup. Thanks!

    Have you tried to run the verify/repair permissions and verify/repair disk through the recovery disk? If that didn't work then I would reinstall the OS after backing up. If that still doesn't work I would take it in.

  • Problem with transforming coordinate systems

    Hiho,
    i've got a problem with transforming coordinate systems.
    When I'm trying to transform a sdo_geometry object to another coordinate sytem and then back to the old system, the coordinates are not the same.
    Here's an example:
    StartSystem SRID is 8220 (Longitude / Latitude (DHDN))
    TargetSystem SRID is 8307 (Longitude / Latitude (WGS84))
    Original object:
    Polygon: {ExteriorRing: LineString: { (0.0, -90.0) (1.5, 0.0) (0.0, 90.0) (4.5, 0.0) (0.0, -90.0)} }
    Transformed object:
    Polygon: {ExteriorRing: LineString: { (0.0, -5156.620156177403) (85.94366926962347, 0.0) (0.0, 5156.620156177403) (257.8310078088704, 0.0) (0.0, -5156.620156177403)} }
    Transformed back to old system:
    Polygon: {ExteriorRing: LineString: { (0.0, -5156.620156177403) (4924.209525017614, 0.0) (0.0, 5156.620156177403) (14772.628575052844, 0.0) (0.0, -5156.620156177403)} }
    Any ideas what to do?
    Thanks for the help in advance.
    Dirk

    Hi Dirk
    Since the transform you are trying to do is just a datum conversion of lat./long. coordinates, even the first transform yields obvious rubbish. What you have provided here does not illustrate how you submitted your polygon to CS_TRANSFORM.
    Provide the syntax of your construction of the corresponding SDO_GEOMETRY object and your SQL select statement that gave these results.
    Bruce

  • Problems with the File System Repository & User Mapping!

    Hi All
    I am having a problem with a file system repository, and setting up user mapping for that repository.
    I have done the following:
    Created a File System Repository
    Created a Network Path
    Created a System (Including the alias)
    Now when I go into User Administration and select my user the is no user mapped systems to select.
    All this system is doing is connecering to a folder on our File System.
    Any help would be great as this is really frustrating!
    Thanks
    Phil

    I am using EP7 Stack 11 and unfortunately the only options I have are:
    user
    admin
    admin,user
    It is currently set to admin, user and does not seem to work!
    Phil
    Message was edited by:
            Phil Wade

  • Satellite A40- Warning: problem with the cooling system has been detected

    Hello guys,
    I'm getting the following message from time to time:
    Warning: a problem with the cooling system has been detected Toshiba
    Please turn off the computer immediately, and return it for servise.
    I have Windows XP on it.
    I opened the cooling fan and clean it. Off course, I found it rally dirty.
    But, still I'm getting this message!!!
    What I shall to do ??
    I'm living in north Germany.
    Any advise is most welcome and thanks in advance.
    Ibraheem

    Hi
    The message says everything!!!
    In such case you have to contact the authorized service provider in you country!
    >I opened the cooling fan and clean it. Off course, I found it rally dirty.
    Possibly the cooling modules dont as should and therefore the message appears again!
    Nothing to do buddy... you need an help from notebook technician

  • Satellite P500-12D - A problem with the cooling system has been detected

    hi there everyone,
    I have bought a Satellite P500-12D which was a retail return. When I start it up it runs a couple of mins and then this comes up on the screen:
    Warning: A problem with the cooling system has been detected. please turn off the computer immediately and return it for service.
    In the toshiba health monitor the cpu is under 50% temp and if it goes much above that the cooling fan comes on and lowers it back down and the fan stops again, I have noticed that only the r/h fan runs to cool the cpu, should both them come on together? Could it be a software problem?
    Tthe unit is new without even the plastic off the screen surround or webcam. Any help or even point me in the right direction would be very appreciated, gary

    The fact that the pc is a retail return would indicate that there was a fault at day one and the customer returned it. At some point the retailer turned it on and since it appeared to work re-sold it.
    This is the cooling/fan report from a P500 produced by pc wizard 2010 - free from cpuid.com. Perhaps a comparison against the faulty laptop will point to the problem
    <<< Voltage, Temperature and Fans >>>
    > Hardware Monitoring : National LM79
    > Voltage CPU : 1.02 V
    > +3.3V Voltage : 1.02 V
    > +5V Voltage : 0.43 V
    > +12V Voltage : 1.02 V
    > Chassis Fan : 42187 rpm
    > Power/Aux Fan : 21093 rpm
    > Processor Temperature : 64 C
    > Mainboard Temperature : 16 C
    > Hardware Monitoring : ACPI
    > Thermal Zone : 48 C
    > Processor :
    > Intel Mobile Core 2 Duo (Core 1) : 57 C
    > Intel Mobile Core 2 Duo (Core 2) : 58 C
    > NVIDIA GeForce GT 230M : nVidia Driver
    > GPU Temperature : 35 C
    > GPU Diode : 35 C
    > GPU Fan : 100.0%
    > Hard Disk Monitoring : S.M.A.R.T
    > Hard Disk TOSHIBA MK5055GSX (Assembly) : 38 C
    > Hard Disk TOSHIBA MK5055GSX (Assembly) : 27 C

  • Problem with Java after System Upgrade to 10.5.7

    Hi,
    I am facing problem with Java after having run Software upgrades.
    Here is the whole story. I recently moved to iMac 10.5.6 from PowerPc 10.4. On this new machine I was having problem running a 3rd party application, which requires JVM. As this application worked well on Tiger, I decided to upgrade JVM on my iMAC using Software Upgrade(was I insane!!). As I like my systems to be updated (as with linux on my personal machine) I clicked "install all". As a result I have the following upgrades run on my machine:
    2009-05-20 13:12:01 +0200: Installed "Mac OS X Update Combined" (10.5.7)
    2009-05-20 13:12:10 +0200: Installed "Remote Desktop Client Update" (3.2.2)
    2009-05-20 13:12:26 +0200: Installed "Java For Mac OS X 10.5 Update 2" (1.0)
    2009-05-20 13:58:36 +0200: Installed "Java for Mac OS X 10.5 Update 3" (1.0)
    2009-05-20 13:58:44 +0200: Installed "AirPort Utility Software Update 2009-001" (5.4.1)
    2009-05-20 13:59:07 +0200: Installed "QuickTime" (7.6)
    2009-05-20 13:59:22 +0200: Installed "iPhoto Update" (7.1.5)
    2009-05-20 13:59:28 +0200: Installed "iLife Support" (9.0.2)
    2009-05-20 13:59:38 +0200: Installed "iDVD Update" (7.0.3)
    2009-05-20 13:59:58 +0200: Installed "iTunes" (8.1.1)
    But now, simply running $ java on the prompt hangs, i.e. it takes no action.
    $ which java
    /usr/bin/java
    $ ls -ltr /usr/bin/java
    May 20 15:09 /usr/bin/java -> /System/Library/Frameworks/JavaVM.framework/Versions/Current/Commands/java
    $java (no response)
    Here is the output of $ top
    PID COMMAND %CPU TIME #TH #PRTS #MREGS RPRVT RSHRD RSIZE VSIZE
    703 java 98.8% 0:38.54 3 110 72 480K 184K 1964K 40M
    Any clues?
    cheers

    Hi man,
    In the wake of this java problem I resorted to keep working on my old machine, and today in my spare time I tried to fix this new machine.
    So I execute $java on prompt, and then try to check the files it has opened, using lsof -p pid
    I see it referring to
    /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/bin/java
    isn't this usually the JAVA_HOME
    However, executing $/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/bin/java
    hangs!!
    but
    $/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home/bin/java
    works!!
    $ pwd
    /System/Library/Frameworks/JavaVM.framework/Versions/1.6/Home/bin
    $ ./java -version
    java version "1.6.0_07"
    Java(TM) SE Runtime Environment (build 1.6.0_07-b06-153)
    Java HotSpot(TM) 64-Bit Server VM (build 1.6.0_07-b06-57, mixed mode)
    So, I changed the links as follows
    borgraf:Versions raveesh$ l
    total 72
    drwxr-xr-x 3 root wheel 102 Mar 6 2008 1.3.1
    lrwxr-xr-x 1 root wheel 3 May 21 19:42 1.4.1 -> 1.4
    drwxr-xr-x 8 root wheel 272 May 21 19:42 1.6.0
    lrwxr-xr-x 1 root wheel 3 May 21 19:44 OldCurrentJDK -> 1.5
    lrwxr-xr-x 1 root wheel 5 May 21 19:44 1.4 -> 1.4.2
    lrwxr-xr-x 1 root wheel 5 May 21 19:44 1.3 -> 1.3.1
    lrwxr-xr-x 1 root wheel 5 May 21 19:44 1.5 -> 1.5.0
    drwxr-xr-x 8 root wheel 272 May 21 19:44 1.4.2
    drwxr-xr-x 8 root wheel 272 May 21 19:44 1.5.0
    lrwxr-xr-x 1 root wheel 5 May 21 19:44 1.6 -> 1.6.0
    lrwxr-xr-x 1 root wheel 1 May 21 19:44 OldCurrent -> A
    drwxr-xr-x 8 root wheel 272 May 21 19:44 A
    lrwxr-xr-x 1 root wheel 3 Jun 4 17:14 CurrentJDK -> 1.6
    lrwxr-xr-x 1 root wheel 3 Jun 4 17:21 Current -> 1.6
    Linking my Current and CurrentJDK to 1.6 and it works!
    However, shall that be the reason!
    what is in your /Versions/Current/
    I got the following
    $ ls /System/Library/Frameworks/JavaVM.framework/Versions/Current
    CodeResources Frameworks JavaVM
    Commands Headers Resources
    There is no /Home in here, which is usually the case for /1.5 or /1.6
    Anyways, things seems to work for the moment. Lets see if I get problem with using Java.
    thanks

  • Problems with Transport Management System

    Hi All,
    i seem to be having some issues with my Transport Management System, we have a two system landscape DEV & PRD, the operating system is windows 2003 server. i am trying to access the usr/sap/trans on the transport host (DEV) from the PRD system, i have put patches on the DEV server, but i can't access these patches from the PRD server. I have also tried to release a test transport, but the queues are not being updated. the systems are in the same Domain and the same transport group. on the PRD server i have specified the following value for the DIR_TRANS =
    DEVSERVER\sapmnt\trans. i have checked the files and they are shared, what could be the cause of this?

    Can you please check the access of global TRANS directory from your PRD server. Login to your PRD server, goto transaction STMS --> Overview --> Systems. Select your developement system and goto SAP System --> Check --> Transport Directory. If it can access the global directory the tick marks will come otherwise there is some problem with the directory access.
    Regards,
    Abhishek Jain

  • Problems with installation of system and support files with Labview 5.1 on Windows NT.

    I make installations disks with Labview 5.1 on Windows NT and I need to add some system files and other support files. When I'm in App Builder I choose them in "Add support files" and I mark their "custom directory destination" (c:\winnt\system32, c:\est\base) but, when I test the installation I see that files don't save in this directory, they save in 'C:\c\winnt\system32' and 'C:\c\est\base'. How can I solve this problem?

    Jorge,
    I know there were some problems with the LabVIEW 5.1 Application Builder that were fixed in the LabVIEW 5.1.1 Updater. I recommend you download that update to see if this fixes the problem. Also, double-check to make sure you have typed the file paths correctly. If you continue to have problems after installing the 5.1.1 updater, please let me know, and please attach your .bld file so I can examine it for any problems.
    Thanks for your patience on this issue, and have a pleasant day.
    Sincerely,
    Darren Nattinger
    Applications Engineer
    National Instruments
    Darren Nattinger, CLA
    LabVIEW Artisan and Nugget Penman

  • LR 3.6: Problem with importing photos (system disk filled up).

    Hi, I'm new here and in start I would like to apologize for my English. It's not very good.
    I have a problem with the program Lightroom 3.6 (in 3.5 was the same)
    When I import photos from disk into Lightroom, my system drive is filling up drastically.
    Windows & applications (LR too) are in C (60GB OCZ SSD drive)
    Catalouge is on drive D - different drive (HDD)
    RAW cache is located on frive G - different drive (HDD)
    When I view the photos to select the files I want to import my C drive is filled up by file:
    C:\Users\Gimmickz\AppData\Local\Temp\cr_sdk_023324  10.tmp
    When I restart lightroom, the space is cleared.
    I saw that many people had a similar problem (they concerned the same file: cr_sdk_XXXXXXXX.tmp) , but occurred when exporting resized images.
    I've a problem with the choice of images to then work on them. Usually I select 20-30, added to the catalog and then resets Lightroom to select the next images.
    This is very annoying when I have to select hundreds of images.
    If a solution to this problem was already on the forum, please do not delete my topic (cost me a lot of effort to describe my problem in English) - Just give a link to the solution, or write it again - plain English as possible. alternatively, please contact: [email protected]
    It is very important to me - I can not fully work on this software - please help.
    Regards,
    Gimmickz.

    Hi Hal!
    Thank you so, so much for your reply!
    Thats make sense.
    Today I'm away from home, but tomorrow I'll check it, but I think this will solve my problem and I will be able to work comfortably.
    However, such large temp files should not be normal... you confirm? (temp file after viewed a few (20-50) photos can be more than 10 GB.)
    Best regards and again - thank you Hal!
    Michal
    Gimmickz

  • Has anyone else had problems with the latest system updates to Mac OS X v10.6.8 with the java virus patch?

    After installing the latest updates to Snow Leopard the system hangs up and will not open properly.  This is the update to Java, etc after the virus was discovered.  I have done the updates on four different systems with the same result. 

    No problems with the Java update here, although I have Java disabled. Might try reapplying the Java standalone while in Safe Boot (Shift at startup chime), if you did it from Software Update.
    http://support.apple.com/kb/DL1516

  • Problem With mac Operating system

    ok, had a problem with a piece of software and was told to try and "downgrade" my OS. so i started an installer that was an installer to a previous system. i was on 4.8 and was trying to go to 3.4 i think. I got half way thru and it said start the installer again. restarted. instead of the apple logo coming up a round cross comes up. i connected to my comp thru another comp using the firewire but my user folder is empty. anyways i can find anything in the users folder and fix this problem? cheers

    Who told you to downgrade your OS X version and was this due to the software not being compatible with your OS X version which was 10.4.8?
    What software?
    Your computer detail provided indicates you have an Intel Mac and if so, you certainly cannot downgrade to 10.3 - any 10.3.x version. All Intel Macs have shipped with Tiger (10.4.x) pre-installed and there are no OS X versions prior to 10.4.x that is compatible with an Intel Mac and even if so, you cannot install an earlier or previous OS X version on a Mac that shipped with a later version.
    Unless you meant 10.4.3 which is the version that was pre-installed on your Intel Mac and the version included with the OS X install package that shipped with your Mac when new.
    Did this person who told you to downgrade your OS also tell you to be sure to create a backup or update your existing backup before doing so?
    Did you choose Archive & Install with an option to preserve user and network settings?
    If not and you choose Erase & Install, then your hard drive was completely erased first.

Maybe you are looking for

  • How do I move the home page button back to the left side of the menu bar?

    When I installed Firefox 4.0, the home page button "moved" to the right top of the menu bar. It was at the top left in the previous versions of Firefox. I want to put it back on the left. I use a desktop Mac Pro with Mac OS 10.5.8.

  • Apple's new keyboard...

    We have a new machine in today and the person who got it hates the new keyboard. So far I kind of like it, but I'm concerned if it will be fully functional under Tiger (10.4.11). The Eject key works, yet when I hit the volume key(F12) it triggers eje

  • Configure tape drive.

    Hi, What are the steps required for the database backups to be taken on tape drives ? Is rman sufficient for that? thanks..

  • Desktop App "Sign in" button doesn't work...why?

    When I open Adobe Story from my desktop application (whether connected to the internet or not) the program comes up just fine but when I click the "Sign In" button, nothing happens. The "Learn more" button does work by taking me online, but I can cli

  • Photoshop help, please?

    Hi guys, I have a question. In 2008, and on a previous laptop, I purchased Photoshop via the Adobe website, and it was the full version. I have since bought a new laptop, and figured I could download it again from my account, as I felt as though I sh