Java plugin hangs when communicating to browser scripts (Using JSObject)

I saw several questions in the forum regarding the Java plug-in 1.3.1, however I would like to post this as separately since I want your attention to this, ASAP.
The problem is this, when I run Java Swing Applet using IE 5.0 with the Java plug-in 1.3.1 communication from Applet to browser hangs. (This is by using the JSObject shipped with the IE5). I communicate with the browser using Java Script functions calling from the applet to the browser. For example
win.call("Func_to_call",Value); But the same code is working when compiled and run under Java plug-in and JRE for version 1.3.0.
Please help. I think the problem may be with the JSObject that I use (May be incompatible with the JRE or plug-in of 1.3.1), can you please suggest a solution or give me a URL to find the latest JSObject for the plug-in 1.3.1.
Thanks in advance
Nuuwi

oops... forgot to say what is this 'win'
'win' is the windows object taken as
win = JSObject.getWindow(this); [\code]
thanx                                                                                                                                                                                                                                                                               

Similar Messages

  • Java plugin crashes when creating a new sun.security.pkcs11.SunPKCS11 object

    Hi,
    I have created an applet which signs pdf files and works fine.
    Applet is used in a website that needs client authentication with the same smart card wich is used to sign the documents.
    The java plugin crashes at this line of code. The message showed - The java applet plugin has failed
    sunpkcs11 = new sun.security.pkcs11.SunPKCS11(pkcs11);
    I think it crashes because the pkcs11 module is still used, the light of the smart card reader is not blinking is a fixed light.
    I haven't got an error log because the java plugin crashes. Only shows the log lines before that line of code.
    Later the sunpkcs11 provider is added if the smarcard is unplugged and java plugin don't crashes.
    Security.addProvider(sunpkcs11);
    If I unplug the smart card after client authentication and before sign a document, the java plugin don't crashes and later, the provider is added, and the document is signed and the light of the smart card reader is blinking before signing.
    Firefox 27 version.
    Java Standar Edition version 7 update 51 compilation 1.7.0_51-b13
    I'm using mac os x v10.9 64 bits system
    I have seen:
    http://bugs.java.com/view_bug.do?bug_id=8026833
    I have tested the same applet with firefox, in windows 7, windows 8, ubuntu 13.10 and fedora 19, and works and signs documents after client authentication.
    when applet is loaded in windows is not using pkcs11. But I haven't got the same problem.
    But in mac os x v10.8 and v10.9 java plugin crashes.
    Is there a way to disconnect programatically the pkcs11 module or any other solution?
    I'm not sure why the java plugin crashes. Has got any relationship with the bug 8026833?
    Any suggestion?.
    Thank you.

    Hi,
    According to your post, my understanding is that you had Errors TF30162 and TF250025 when creating a New Team Project in TFS2012 with Sharepoint Site on Visual Studio.
    The Errors TF30162 seemed that the reports for TFS could not be uploaded due a permission problem. The fix was really easy.
    Go to your team foundation server 
    Open the administration console. 
    Click on Reporting
    Click on Edit
    Click on Reports Tab
    Enter the credential for the Reports
    Save
    Click on Start Jobs
    In addtion, the problem may be due to the caching done by Team Explorer in Visual Studio. Exiting the copy of VS on the client and reloading it will fix the problem as the updated team process settings will cached locally.
    To resolve the Errors TF250025, you will need to register a new internal URL for the SharePoint site using Alternate Access Mappings.
    Here are two great blogs for you to take a look at:
    http://blogbaris.blogspot.in/2012_08_01_archive.html
    http://petersullivan.com.au/2009/11/23/tf250025-and-tf262600-errors-on-team-foundation-server-tfs-2010-project-portal-dashboard/
    If still no help, for quick and accurate answers to your questions, it is recommended that you initial a new thread in Visual Studio Team Foundation Server forums.
    Team Foundation Server – General:
    http://social.msdn.microsoft.com/Forums/vstudio/en-US/home?forum=tfsgeneral
    Thank you for your understanding.
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • Java plugin not working on any browser (64-bit system)

    Hi there!
    I'm having a major problem with running Java plugin on all of my browsers (Opera, Chromium and Firefox) under my Arch Linux 64-bit system. The system is fully up-to-date, and Java plugin is being displayed among other plugins on "about:plugins" screen. The Java Environment was installed from Community
    [zbyszek@barca ~]$ yaourt -Qs jre
    community/jre 6u24-1
    Sun/Oracle's Java Runtime Environment
    Any ideas how to solve this?

    Hi,
    Maybe (just maybe, dont shoot me afterwards ) this link can help:
    http://plugindoc.mozdev.org/linux-amd64.html#java-sun
    Thor

  • Java VM hangs when I start Derby Server

    Hey everyone,
    Help will be much appreciated so cheers in advance.
    I've made a desktop app through Netbeans that runs fine within the IDE but can't get it to work from outside (unless I've connected to the server from within Netbeans first so guessing its not the app itself rather the conenction to the server?)
    I'm using Java version 1.6.0_17 and am confuzled as to why the VM hangs when I try to start the Derby server from a Batch file.
    my batch file reads:
    set DERBY_HOME = M:\Business\Registers\Lodgements Registers\LodgementsDB\Sun\JavaDB
    Path = %DERBY_HOME%\bin;%Path%
    java -jar "%DERBY_HOME%\lib\derbyrun.jar" server start
    java -jar "M:\Business\Registers\Lodgements Registers\LodgementsDB\Lodgements\dist\Lodgements.jar"
    echo "Press any key to shutdown Server"
    pause
    java -jar "%DERBY_HOME%\lib\derbyrun.jar" server shutdown
    I've checked the Derby log file and its reading
    2010-02-16 09:00:37.530 GMT : Apache Derby Network Server - 10.5.3.0 - (802917) started and ready to accept connections on port 1527
    Just running java -jar "M:\Business\Registers\Lodgements Registers\LodgementsDB\Lodgements\dist\Lodgements.jar"
    gives all the usual java.sql.SQLNonTransientConnectionException .... I gather because it can't find the database if the server isn't open.
    The only other info I have to go on is the problem reporting in Vista which states the obvious (that the Java SE binary stopped working and was closed, tagging it with an AppHangB1)
    Also, in advance, is there a more common way of starting the server from outside nettbeans (eg code) that doesn't rely on command prompt- seems daft to me not to have this (and yes I am a first time derby user, used the Toplink persistence libs throughout my code if that helps?).

    Nothing is hanging, this is a misunderstanding of how a batch file works. A batch file is processed line by line, and only when the execution of the task or program (in this case your first call to Java) returns, execution will continue on the next line. As the first call starts Derby and only completes when Derby is stopped, your batch file will not continue with the next line until you kill Derby.
    You either need to start Derby separately, inside your application or using a batch command to launch Derby in a separate process so the batch file won't wait until completion. AFAIK this can be achieved using the command START (eg START java (rest of the commandline))

  • Plugin hangs when prompting for network password

    Hi all,
    Here is a summary of what happens :
    The plugin hangs after displaying the dialog box for the
    username / password for the firewall connection.
    No exception is shown.
    The applet is signed.
    This occurs with Plugin 131 and 1.4
    Code sample here :
    URL url = null;
    InputStream is = null;
    URLConnection conn = null;
    //Connect to the URL.
    if (!_httpsFlag) {
    try {
         // Open it up.
         is = new URL(request).openStream();
    _httpsFlag = false;
    catch (Exception e) {
    try {
    url = new URL(reqHttps);
    conn = url.openConnection();
    is = conn.getInputStream();
    _httpsFlag = true;
    catch (Exception e2) {
    e2.printStackTrace();
         showMsg(noWebServerMessage);
    return null;
    else {
    try {
    url = new URL(reqHttps);
    conn = url.openConnection();
    is = conn.getInputStream();
    catch (Exception e) {
    e.printStackTrace();
    showMsg(noWebServerMessage);
    return null;
    If someone has an idea of a solution to this, please help !!

    Just for the record :
    I sorted this one by creating a dummy connection before instanciating the graphical components of the applet.
    The network prompt behaves properly if I do that.

  • MAC HANGS WHEN I WRITE DVD VIDEO USING TOAST OR IDVD

    DEAR SIR,
    I HAVE A PROBLEM WITH MY SONY DVD .. EVERY TIME I TRY TO WRITE DVD VIDEO MY MAC HANGS WHEN TOAST ROXIO 10 STARTS TO LEAD OUT AFTER ENCODING THE VIDEO .. AND IT HANGS ALSO WITH IDVD AFTER ENCODING THE VIDEO .. AND I MUST RESTART MY MAC ...PLEASE TELL ME HOW TO FIX IT ??
    Model: SONY DVD RW DRU-835A
    Revision: SS02
    Removable Media: Yes
    Detachable Drive: No
    BSD Name: disk2
    Protocol: ATAPI
    Unit Number: 1
    Socket Type: Internal
    Low Power Polling: No
    Mac OS 9 Drivers: No
    Partition Map Type: Unknown
    S.M.A.R.T. status: Not Supported
    THANK YOU FOR YOUR TIME
    TAHA TALAAT
    [email protected]

    This is a user forum.
    Caps is considered yelling, inappropriate, a left over from DOS, too. Oh, and it actually is HARDer to read.

  • Applications Hang when selecting / attaching a file using Spotlight

    Hi,
    Having a problem since upgrading to Snow Leopard with applications 'hanging' when trying to attach a file using Spotlight. I can repeatedly cause the failure in Mail and Safari - and probably others as well - but these two applications I use most often and need to attach files to most often.
    When I select "Attach a file", and use Spotlight to find the file to attach, the file dialog box closes and the attachment is apparently made - seconds later the spinning wheel appears and the dock tells me "Application Not Responding."
    Any ideas as to how / why this is happening? Help make it stop!
    Thank you,
    Gordon.

    OK Search box
    Mine is OK so something is screwy..
    In your Finder Prefs > Advanced > When performing a search drop down. Search this Mac seems to be default and the one I have set. Have you got it set to search the current folder or use the previous search instead?
    I'd then pull out the com.apple.finder.plist from your user Library > Preferences to the desktop and let finder make a new one. If all is OK trash the old one.
    Relaunch Finder by holding down the option key while right clicking Finder icon in the dock. Relaunch will be on the bottom of the context menu.
    S.

  • Error when trying to run script using SDK at plugin startup

    Hi
    I am trying to run a script when my InDesign plugin is loaded. I referred to the PanelTreeView sdk sample as an example and implemented a StartupShutdown Boss
    In my implementation, in the startup() method I have the code to get the scriptManager and the scriptRunner for my javascript that I want to run. However, when my code hits the following line :
              InterfacePtr<IScriptRunner>theRunner(Utils<IScriptUtils>()->QueryScriptRunner(scriptFile) ); //scriptfile is ID script file that I want to run
              I get the error saying "Calling ScriptInfoDatabase::InitScriptInfoManager before resources have been registered".
    I am wondering how I can fix this error. or if this is too early to invoke scriptrunner, then is there some other place where I can invoke the scriptrunner to run my script
    this is how I have defined my StartupShutdown Boss class in  the .fr file
        Class
             kmyStartupShutdownBoss,
             kInvalidClass,
                 /** Implementation of IStartupShutdownService that runs a  scripts on startup */
                 IID_IAPPSTARTUPSHUTDOWN, kmyStartupShutdownImpl,
                 /** identify the service type */
                 IID_IK2SERVICEPROVIDER, kCStartupShutdownProviderImpl,
    Appreciate any help on this one .. thanks!
    Sameer

    Dependent on your InDesign version, you can schedule an IdleTask and do it from there, or just use a lazy startup.
    IID_IK2SERVICEPROVIDER,kLazyStartupShutdownProviderImpl,
    Again dependent on your InDesign version you should first check whether a script can run at all - some nasty other plugins may prevent that with modal dialogs.
    Finally there is the possibility to run startup scripts even without plugin ...
    Dirk

  • WAS java install hangs when tries to start engine

    I am trying to install a WAS 640 JAVA
    I recently deleted and installation off of this server, I dont know if this has anything to do with my problem.
    When the new install reaches the last step of starting the J2ee it hangs.
    WHat happens is it starts the SCS (dispatcher) then when it tries to start the server it starts a jlaunch process, but then the jlaunch dies.
    I am on windows so If I look at the process viewer I see NO jlaonch processes. I do however see that the SCS instance is green in the MMC.
    I looked at most of the logs and I can only see the generic error  sapstartserv.exe failed.
    Any suggestions?
    Thanks
    Jeremy Baker

    Actually in the inst_dir the startEPQ.log says this
    running G:\usr\sap\EPQ\JC00\exe/sapstart.exe name=EPQ nr=00 SAPDIAHOST=SAP-QEP-DB -wait
    Service restarted successfully.
    SAPSTART finished successfully on SAP-QEP-DB_EPQ_00, but at least one process doesn't run correctly:
    G:\usr\sap\EPQ\JC00\exe/sapstart.exe=>sapparam(1c): No Profile used.

  • Java apps hang when trying to open file dialog

    I have several Java applications installed on my Windows Vista machine
    All work perfectly except when accessing any file dialogs.
    If a file dialog is required, the application just hangs
    The only way to resolve this is to open task manager and kill the javaw.exe process
    Does anyone know what is wrong.
    I am using Java 6 update 17 and have tried re-installing the environment.

    ATyas wrote:
    I don't think the problem lies with the vendor apps.
    All Java applications from whatever source exibit this problem. These are independently developed applications from independent vendors.
    I don't have a Java application on my machine that does not exhibit this issue.
    I thought that the problem must be permisions, but am not sure where to look.One or more of the following could be the source of the problem.
    - The apps
    - Your computer
    - The VM
    The first can in fact be the problem because you are not running all possible apps on your computer. Far as you know all the apps that you run use the same library.
    No one here has access to your computer so no one will be able to fix it. No one here has access to those apps so we can fix those either.
    If and only if the vendor of the apps determined that there is a bug in the VM then they could localize it and report it. Without localization and assurance that it is the VM no one can fix it.
    Keep in mind as well that Vista has been out for years. So it seems likely that a general problem with the VM like that would have been discovered by now. Doesn't mean it doesn't exist, but again the vendor of the apps is more likely to discover it.
    For yourself trying running the apps in super user mode (whatever it is called.) If it is a permissions problem then that demonstrates it. Note that if it is permission problem then it most assuredly is one that the vendors must deal with. Just as any other app on Vista must do.

  • ADF app hangs when accessing through browser

    Hello ADF/Weblogic friends,
    When I try to access the ADF app, it says loading... for ever, which was deployed successfully in WebLogic. I do not see any visible errors in the log. Verified the DB connection which was deployed is working. Also created the datasource for the same db/jndi name in the server level.
    The same app works through JDeveloper(11.1.1.4.0)
    Configuration details are "WebLogic Server Version: 10.3.4.0", "Oracle Enterprise Manager - Fusion Middleware Control 11.1.1.3.0".
    Would be helpful if somebody sheds light on this issue.
    thanks

    Thank you for your reply... sorry for not replying earlier... i had given up hopes : )
    You are right about psadmin binary not being in psconsole.war.. maybe since it is portal server 6, it is some other executable.
    When i asked the person who had given me the setup about psconsole not being available, he said that psconsole was working on his machine. He is not a technical guy and had not installed SJS 6 by himself. So he could not help me with this problem. It could be that the the psconsole.war file was missing from the installation.
    I searched for the war files in both the installed directory as well as in the setup files and could not find it. : (
    Anyway, i un-installed SJS 6 2004Q2 using the setup.exe (in windows) and while uninstalling it showed a window saying "psonsole was not found while accessing through the browser. Retry| Ignore| Exit". Also, the un-installation successfully removed all the services required for starting components like directory server, web server, calender server, (cacao also), etc...
    I've downloaded Portal server 7.2. Let's see how that turns out... Thanks anyways...

  • SQLStateMapping.java:70 Error When Loading Database Capture Script Output

    I'm running "Migration->Third Party Database Offline Capture->Load Database Capture Script Output" (Sybase 12) (SQLDeveloper 1.5.5)
    After Tables are loaded (16000+ tables), I'm getting the following error in Migration Log:
    Error ocurred during capture: In Columns for <column_name>
    oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:70)
    I could not find any hits that match this. What's the best method to troubleshoot this?

    Log a service request with the offline scripts and we can check them out and forward them also to Development if needed.

  • Java installation hangs when applying patches

    Hi all,
    I recently removed my java application from my computer then tried to reinstall from the add on plug in in firefox. The program would hang at applying patches. After serveral cleanings of the failed attempt, and many hard reboots later (because the entire system would hang and not reboot from the start menu), i found that firefox 2.0.0.4 does not support the latest version.
    I then tried the next version down.. same thing happened. So I tried to downlaod it for just IE7, that also yielded the same result. Bottom line... the program keeps hanging at applying patches, doesn't seem to do anything for at least 30 minutes, before I give up and have to hard reboot my computer.
    I've tried searching the problem on google, but have found nothing that resembles my problem or fixes it, following removal and installation leads.
    Please help!
    XP PRO 32bit
    AMD 64 dual core
    IE7
    Firefox

    I solved this problem by installing Cryptography Toolkit.

  • Photoshop javascript plugin error when trying to execute scripts

    When I try to execute "Layer Comps to Files" script, or any script for the matter.
    I am getting am error that reads:
    "Could not complete the Layer Comps to Files command because Photoshop was unable to find the JavaScript plug-in."
    Thoughts please?

    You have to provide system info and other details. We don't even know your PS version. Could be that the file is simply missing or inaccessible, could be that an overzealous virus scanner is simply blocking all kinds of JavaScript, could be a completely different problem.
    Mylenium

  • Multiple Java Applets hangs when run on  Win 2000 Pro SP4

    I have a Java Applets which is used to connect to a remote element using server socket connections.
    When I launch mulitple applets to connect to different elements on Win XP with SP2 OS using IE6 SP2 it works fine.
    However ,the same I do in Win2K Pro SP4 with IE6 SP1 it doesn't work. In this case all the applets hung.
    Does Java applet has platform specific problem? Any pointers regarding this problem highly appreciated.
    TIA,...Sachin

    Does anyone know if there is any bug creating socket connection from Windows 2000 pc with Service Pack 4?
    Thanks in advance.
    Biju

Maybe you are looking for

  • Error While Viewing Data from MARA Table

    Hi All, After Importing SAP Tables, ex MARA  and viewing Data Getting "Error Calling RFC function to get table data: <DATA_BUFFER_EXCEEDED "r  . After decreasing or applying filters on fields , still not able to get data. Able to extract data from T0

  • I can easily by-pass into phone by using camera on lock screen

    i just updated my iphone4s to 7.0.4.i can easily by-pass into phone by using camera on lock screen ,is there any recovery??

  • IPhone 2.0 has crashed my iPhone

    I am trying to get connected after downloading iPhone update 2.0. However I am now stuck with the iPhone in Recovery mode. Everytime I extract the software and try to begin updating to 2.0 I get the error message in iTunes 7.7 'The iPhone could not b

  • Backdoor:Win32/Cycbot.B hit my computer

    Backdoor:Win32/Cycbot.B virus hit my computer and is preventing Firefox from "seeing" the internet. I contacted Microsoft and they helped get my Internet Explorer running, but Firefox is still infected. I removed Firefox and reloaded it, but to no av

  • BerkeleyDB LOG_INTEGRITY errors

    Greetings! We run BerkeleyDB embedded in our java application. Everything runs fine normally. Trouble happens if we run two instances of the same application. The folders where database files are created are separate for both. But it seems that when