Jar works different when executed with webstart

Hello, I have a problem when executing an app with webstart. When I execute the jar directly on windows everything works fine, but when I execute the webstart link it executes but not correctly. The application has some timers that don't work. The rest of the application seems to be ok. Anyone has a clue about this problem? Thanks

Hello, I have a problem when executing an app ...What application? What does it do? Do you control
the source code?
..with webstart. What is the URL the the JNLP? Or failing that,
what is the JNLP content?
Is there any stacktrace in the Java console?
Do you have the console pop-up for web start apps.?
...When I execute the jar directly on windows
everything works fine, but when I execute the
webstart link it executes but not correctly. The
application has some timers that don't work. Timers don't work? Maybe they are just lazy!
Or to put that another way, what is supposed
to happen at the end of the time that does not
happen in the web start app.? Are exception
or error stacktraces printed to the console?
...The rest
of the application seems to be ok. Anyone has a clue
about this problem? Without answers to the questions above,
we are really just guessing.
Message was edited by:
AndrewThompson64

Similar Messages

  • BDC is not working in when executing the program in background

    Hi gurus,
    I have a problem that in BDC is not working when i'm executing the upload program in background thru scheduling(SM36) , while it works fine when i execute directly with NO screen display mode

    Many transactions behave differently when executed in foreground and background. The fields on the screen may be different.
    In transaction SHBD when starting a recording there is a checkbox where you can select 'Simulate Background Mode'. If you do your recording using this option you will get the code suitable for background mode. If you do not select this option you will get a code for foreground mode.
    By compairing the two codes you will know the changes required for background mode.
    Hope this helps you

  • TableView LINEEDIT works differently when viewed through Portal

    I have a simple table with a few columns of data that I display and allow the user to change a row using the selectionMode = "lineedit".  The columns are all controlled using htmlb tableViewColumns.
    When I test my application from the WebAs the table looks fine.  If a user selects a row they can see the entire amount of text that appears in a column they want to change
    However, when the BSP comes up in our SAP portal and the user selects a row only the first 20 (or so) characters can be seen and the user must use the arrows keys to get to the part of the text they wish to change.  Is this a setting somewhere?

    For the <htmlb:inputField> look at attributes maxlength, size and width.
    <b>width:</b> Determines the text width for the input field. We recommend that you use the size attribute instead of width.
    <b>size:</b> Determines the size of the input field.
    <b>maxLength:</b> Maximum length of the user input.
    I must admit that this documentation is not tell me enough. Will ask on Monday about this.
    As for your remark "works differently when viewed through Portal": You keep in mind that once a BSP application is running with the portal, all stylesheets (*.CSS) files are loaded from the portal server, and not the webAS.
    Now it could happen that you are running an EP and an older (or incompatible) patch level than your BSP stylesheets are at the moment. For EP6, starting from what I remember at SP11, there is planned a technique to install the latest stylesheets from service market place. You ask about this via OSS, queue EP-PIN-?-STY (something like this).

  • Applescript in Automator behaves differently when executed from inside Automator, or as an Automator application

    Hello everyone,
    I'm trying to execute an Automator workflow at startup, which I do by saving the workflow as an application, and adding it to the startup list, this works fine.
    My workflow works fine when executed from within Automator (ie clicking on the "Execute" button), but does not anymore when the Automator application is executed (ie. simply double clicking on my Automator file)
    I have narrowed it down to an Applescript inside my workflow which fails only when the application is executed from the finder (the step works fine from within Automator). The script automatically creates an ad hoc wifi network.
    The line which specifically fails is :
    set menu_extras to value of attribute "AXDescription" of menu bar items
    Anyone has any idea why executing the workflow from within automator, and executing it from the finder yield different results ?
    The crazy thing is that all this worked fine up until a few days ago, there might have been an update since (running Mavericks 10.9.2), but nothing game-changing.

    You will need to provide more than the one line of AppleScript you quote if you want a definitive answer.  (We can't even see which app you are addressing this to.)

  • Event flow in ABAP is different when executed via SE80 vs. via TCODE

    Hi,
    We have many existing custom ABAP report pgms that have a custom transaction code that executes them.  Regardless of how the pgms are invoked, the event sequence in the pgm is INITIALIZATION, AT SELECTION-SCREEN, START-OF-SELECTION. etc. 
    Now, when I create a new pgm with a transaction code to invoke it, the event sequence when executing the pgm via SE38 is as before (All 3 events above are triggered).  However when I invoke the pgm via the custom transaction code, only the event At SELECTION-SCREEN is executed.  (Not the INITIALIZATION or the START-OF-SELECTION events).
    We have upgraded our SAP GUI from 6.4 to 7.1.   We are upgrading our system from 46.C to ECC6.  I get this error in ECC6 and also in the old system 46.C which is causing me to question whether the SAP Gui is involved.  We are using SAP GUI 7.1 in both the 46.C and ECC6 systems.
    Any help will be appreciated!
    Thanks,
    Deb

    Hi All,
    Here is my ABAP Code.  I have put break points in the code so I can track the sequence.
    REPORT ZDEBNEW .
    data zdeb(2) type c.
    tables kna1.
    SELECTION-SCREEN BEGIN OF BLOCK A WITH FRAME TITLE TEXT-002.
    SELECT-OPTIONS: I_KTOKD for KNA1-KTOKD.
    SELECTION-SCREEN END OF BLOCK A.
    INITIALIZATION.
      zdeb = '1'.   "break
      sy-subrc = sy-subrc.
    PAI
    AT SELECTION-SCREEN.
      zdeb = '2'.  "break
      sy-subrc = sy-subrc.
    START-OF-SELECTION.
      zdeb = '3'.  "break
      sy-subrc = sy-subrc.
    END-OF-SELECTION.
      zdeb = '4'.   "break
      sy-subrc = sy-subrc.
    As for the type of transaction I am using...I created it via SE93 and specify SELECTION SCREEN 1000.  I classify it as a Professional User transaction.  One other thing I have noticed is that when I view the new pgm via SE80 I do not see Screen 1000 in the left navigation panel.  If I try to create such a screen in SE80, it says it already exists.  I can see Screen 1000 from tran SE51.  In one of the existing old pgms, I do see screen 1000 when I view SE80.
    Thanks for the help and interest!!!

  • Signed jar works differently than unsigned jar - why?

    I'm having a problem with one of my JWS applications (out of six!) -- the application runs fine locally out of the jars. However, when I sign the main jar for running with JWS, it goes into a loop trying to read a property file contained within the main jar. This occurs whether I run it locally or from the JWS server.
    The only difference I can see is that the manifest file is affected, but they both have the same reference to the main class and it's also in the jnlp file.
    Any thoughts?

    I'm having a problem with one of my JWS applications
    (out of six!) -- the application runs fine locally out
    of the jars. However, when I sign the main jar for
    running with JWS, it goes into a loop trying to read a
    property file contained within the main jar.If several jars are involved, I would try to have each one signed. And then test again.
    This
    occurs whether I run it locally or from the JWS
    server.Weird.
    The only difference I can see is that the manifest
    file is affected, but they both have the same
    reference to the main class and it's also in the jnlp
    file.So far I too believed that the signing just causes additional entry lines in the Manifest file, where for each jar entry some cryptographic hash (md5, sha-1, ..) value will be written.
    What happens if you mention the main class as well, in case you test from running from a jar from the command line?
    Regards,
    Marc

  • Aggregate works different by filling with pc or manually activate

    Hello Expert,
    In one of the cube, which was updated by 2 delta and 1 full IP, an aggregate works different.
    The first time the aggregate was manually activated, query ran well with reading it.
    After a successfully pc ran, which contains 2 delta and 1 full IP, the query with same parameter caused a jump because of exceed the time limit.
    To check the aggregate, it was successfully updated by the new IP.
    After deactivate and re-activate the agg, the query works fine again.
    Do you know why this happen?
    Thanks
    XY

    Hello Ajeet,
    I checked the aggregate. It contains one master data will is in change run object list.
    However, this info object has not changed any thing since it was initialized.
    And the roll up for the aggregate is a successor of attribute change run.
    To make the things clear, the full upload to infocube was deleted daily by overlapping request before to fill it.
    I ran RSDDS_CHANGERUN_MONITOR which contains log:
    No Change Run active
    N/A
    Characteristics to be activated:
    0PLANT (which was used in aggregate)
    Hierarchies to be activated:
    N/A
    Affected aggregates and InfoCubes:
    Cube              1000##
    Aggregates Will Be Adjusted by:Reconstruction
    What did this log stand for (I mean: Aggregates Will Be Adjusted by:Reconstruction) ? I have manually activated the aggregate today.
    Thanks
    XY
    Edited by: xy chen on Nov 28, 2008 7:18 AM

  • Work flow in error when executed with a user decision.

    Hi,
    I am executing a workflow for notification of absence. It has a user decision step to Revise the request or to withdraw it when the absence request is rejected by the approver. When I am executing this the workflow is going into error state. User decision step is not starting at all. The first two steps create notification of absence and check notification are getting completed successfully.
    Please let me know where I am going wrong.
    Thanks & Regards,
    Soumya.

    Hi,
    I believe the orginal poster is following the workflow tutorial in the sap help.
    http://help.sap.com/erp2005_ehp_03/helpdata/EN/fb/135962457311d189440000e829fbbd/frameset.htm
    I'm following the instructions and pretty sure it's been followed exactly on each step but am hitting the same issue - see 'Unit 10 - third step'.
    The log is reporting two errors
    Work item 000000014093: Object FLOWITEM method EXECUTE cannot be executed
    and
    Error when processing node '0000000039' (ParForEach index 000000)
    You reject the notification and then the work flow errors.
    Can anyone help?

  • Re: How do you specify an external jar and library when executing from a ja

    When you specify java -jar the -classpath argument is ignored and the jar's manifest file is used - see http://java.sun.com/docs/books/tutorial/deployment/jar/ .

    OK you know I read that somewhere and then totally forgot about it.
    I know this isn't the place to ask but I've had limited success with asking eclipse questions on their forums.
    Does anyone know how to export a jar file with the correct manifest from eclipse? My application works fine in eclipse but doesn't export a usable jar. To fix this I have to unjar the file, add the manifest text and rejar it.
    Thanks,
    Jim.

  • Interfaces not visible in 'Operator' when executed with 'Remote Agent'

    Hi,
    I am new to ODI, and have an issue with running Interfaces/Packages with a Remote Agent.+
    I have setup an agent on the machine on which the Database is installed. I have created a Physical Agent with the details, and on using the 'Test' button in the client, it works fine.
    However, when i try an execute a package with this agent, i get the 'Session Started' pop up, but the interface does not register in the 'Operator' section, and nothing happens.+
    However, this does not happen when i use the 'Local (No Agent)', and the interface runs successfully and is registered in the 'Operator'.+
    I just get this error under the 'Physical Agents' tree in the 'Operator' section for the interface - "ODI-1266: Agent agent_apo13110026 detected Session as stale session and set to error status"
    Would appreciate any inputs.
    Thanks,
    Ab

    Hi,
    Thank you for your response.
    We have actuall just migrated the from DEV to TEST. But in DEV we were only using the local agent, and we have configured the new standalone agent only in TEST.
    The way the migration was done, was that we exported the Master and Work Rep from DEV, and then imported it into TEST.
    Could this have had any impact, and would appreciate any pointers on how i can check if indeed the Agent is interacting with the wrong repository.
    Thanks,
    Ab

  • Working fine when running with eclipse, when exported, it doesnt.

    I have made a little mp3 player with the help of Jlayer 1.0 library. Now, it is running perfectly when I run it from eclipse. But when I export it to a .jar file, strange thing happens.
    The program starts ok, then I click add song button, a popup pops and wants me to choose a file, well I click the choose
    the file button, it opens a JfileChooser, choose file, everything ok so far. Now, I want to click ok so that the song would be added to the program, but nothing happens when I click ok. when running eclipse it would add the song to the Jtree and so on, now it does absolutely nothing, the box wont disappear, no error message, nothing. I wanted to check if it was somekind of bug in the button, but it would seem it does do some basic statements on the beginning, but when it would have to create
    new datastructure, it never comes back. I tested this with printing text when the program completed a statement and got the statement which makes the program idle. And the program doesnt freeze, it just wont do anything, and it wont even finish the method it is supposed when ok is clicked.
    Any suggestions? Im totally clueless.

    Yes, you probably don't have the application correctly set up to run outside of Eclipse. How to do that is different for each IDE. I am aware of the following tutorial for NetBeans, and (probably) Eclipse has something like that. You need to ask at the Eclipse website for that, since these forums are for the Java language, not Eclipse support.
    http://www.netbeans.org/kb/articles/javase-deploy.html

  • Hi I'm trying to install an HP C4180 printer as net printer through Alicegate router (Thompson technicolor). Printer works ok when connected with USB to Macbook air, but cannot be seen on the printer installation configuration. Mac OSx 10.7 (Lion)

    Hi folks.
    From this morning I'm trying to "see" an HP printer C4180 connected on the USB port of the wi-fi router (TIM Alicegate ADSL2 Wifi+N, manufacturer Technicolor).
    I installed latest drivers and checked everything is ok and works fine until printer is connected directly with USB to my Macbook Air.
    Then I connect the USB to the router and try to find the printer.
    On Alice help suggest to find it by ging to system preferences, then printers, add printer with "+", select "windows" sheet. There I can see - not always in reality, but sometimes - the "workgroup" in the left column, select, "alicegate" in second column, select, and here instead of finding the printer list there is a pop up saying that "the server version you are trying to connect to is not supported".
    Reading other forums, it may seem that the problem is Lion not yet supporting this kind of connection.
    Here a photo of the situation when the message occurs:
    Help..
    Thanks and regards
    Luca

    anchio ho lo stesso problema con Mas Os x 10.7.4
    con il sistema 10.5 funziona perfettamente
    credo sia un problema del sistema
    ho provato con 10.8 stesso problema
    ciao

  • Measure using UseRelationship not working well when sliced with attributes from the same table

    Hi,
    I have Measure created using the 'UseRelationship' Function, which uses a different datekey to link to the DateDim than the one the table is directly related by. The measure works as expected except in one scenario.
    If I browse the measure using an attribute from the same fact table then the attribute is filtered using active relationship whereas the measure is filtered using the inactive relationship as shown below:
    FACT(2 rows)(Active Relationship to Date using DateKey1)
    SNo     DateKey1     DateKey2     Geo        Amt
    1         20100101     20120101    India      100
    2         20100101     20120101    US         200
    AmtMeasure:=CALCULATE(SUM([Amt]),USERELATIONSHIP(FACT[DateKey2],'Date'[DateKey]))
    If I browse the above measure in excel, with Year selected as 2012, I get 100+200=300. Now if I drag the Geo attribute against the measure I get 2 rows with 100 and 200.
    If I do the same in a power view report I don't get any results after dragging the Geo attribute, whereas I get the correct value of 300 without the geo attribute. I checked the DAX query which the power view generates and figured this is being caused because
    there are no rows in the table with DateKey1 having year 2012. I understand why this is happening this way in a DAX query and not in MDX, but shouldn't both behave in the same way and what is a work around.
    Thanks,
    Sachin Thomas

    Sac, is this still an issue?
    Thank you!
    Ed Price, Azure & Power BI Customer Program Manager (Blog,
    Small Basic,
    Wiki Ninjas,
    Wiki)
    Answer an interesting question?
    Create a wiki article about it!

  • Maintenance Cleanup Task fails when executed with SQL Agent but dont if executed manually

    Hello,
    I have a job that fails with the following error if exectued via the SQL Server Agent but not if executed manually.
    The error is:
     Error: 2014-03-31 21:30:14.89     Code: 0xC002F210     Source: Maintenance Cleanup Task Execute SQL Task     Description: Executing the query "EXECUTE master.dbo.xp_delete_file 0,N'\\erpfiles\b..."
    failed with the following error: "xp_delete_file() returned error 2, 'The system cannot find the file specified.'". Possible failure reasons: Problems with the query, "ResultSet" property not set correctly, parameters not set correctly,
    or connection not established correctly.  End Error
    I have checked and the user configured to run the SQL Agent has all needed accesses to the folder \\erpfiles\b....
    Have you an idea to help me go further in my troubleshooting ? Or have you an idea to solve my problem ?
    Thanks in advance

    I think reason for this is the service account having no permissions on the specified folder path. Thats when you get this error most of the times. The user logged in might have access but please keep in mind that sql agent job makes use of service account
    to execute the job which would still need access to the pat to delete the files
    What you can do is add a proxy account and give it access to folder path and use it to execute the job
    http://www.databasejournal.com/features/mssql/article.php/3789881/Proxy-Accounts-in-SQL-Server.htm
    Alternatively you can give the service account access to the folder path.
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • PS script file works differently when scheduled vs run from Powershell

    The following script works when run from PowerShell window.
    The script does not work when ran as scheduled task.   The email part works fine, however the body is blank.    It also does not update the timeran.txt file.
    MORE INFO ADDED:     the script is scheduled on the Hyper-V host box.  user is Domain Administrator equivalent.     OS is server w2k12.     TASK  CONFIG:   user is domain\Adminequivalent.   
    Run whether user is logged in or not.      trigger is 7:00 AM.     Action is   Powershell        argument is  .\scriptname.ps1      Start
    in  is   C:\scripts
    TIA..   bob
    # Variables
     $filedate = get-date
     $computer = gc env:computername
     $FromEmail = "[email protected]"
     $ToEmail = "[email protected]"
     # Establish Connection to SMTP server
     $smtpServer = "mail.mydomain.com"
     $smtp = new-object Net.Mail.SmtpClient($smtpServer)
      get-date | Out-File  "C:\Util\timeran.txt" -append
      Measure-VMReplication -ComputerName Hyp-03 | Select Name,Health,LreplTime | ConvertTo-Html | Out-File "C:\Util\report.html"
      $a = Get-Content C:\Util\report.html
    #  email  
     $email = new-object Net.Mail.MailMessage
     $email.Subject = "$($computer) Replication Report: $($filedate)"
     $email.From = new-object Net.Mail.MailAddress($FromEmail)
     $email.Sender = new-object Net.Mail.MailAddress($FromEmail)
     $email.IsBodyHtml = $true
     $email.Body = $a
     $email.To.Add($ToEmail)
     # Send Email
     $smtp.Send($email)
    Bob Lee

    Hi Bob,
    It seems this cmdlet "Get-Content C:\Util\report.html" in the script didn't work in the task scheduler, as Mike said please make sure you have check the option "Run with the highest privileges".
    In addition, I also would like to know if your current logon account is domain admin, I tested with the setting below and ran the task without issue, the TASK  CONFIG: The user domain\Anna is in local administrators group:
    If there is anything else regarding this issue, please feel free to post back.
    If you have any feedback on our support, please click here.
    Best Regards,
    Anna
    TechNet Community Support

Maybe you are looking for