Page 1 of 3 123 LastLast
Results 1 to 10 of 23

Thread: Cannot Unblock Javascript for Web Management of Switch

  1. #1

    Default Cannot Unblock Javascript for Web Management of Switch

    Hi,
    Running 13.1 64 bit with KDE desktop and Firefox 31 I am trying to manage a switch using the web interface.
    I have set the switch IP address as Allow in the browser security settings but am still getting Application Blocked. Your security settings have blocked an untrusted application from running. Here is the Java Console error message:-

    Code:
    Java Plug-in 10.67.2.01
    Using JRE version 1.7.0_67-b01 Java HotSpot(TM) 64-Bit Server VM
    User home directory = /home/alastair
    ----------------------------------------------------
    c:   clear console window
    f:   finalize objects on finalization queue
    g:   garbage collect
    h:   display this help message
    l:   dump classloader list
    m:   print memory usage
    o:   trigger logging
    q:   hide console
    r:   reload policy configuration
    s:   dump system and deployment properties
    t:   dump thread list
    v:   dump thread stack
    x:   clear classloader cache
    0-5: set trace level to <n>
    ----------------------------------------------------
    I have tried openjdk but this is worse.

    If I go to the dark side I get slider security settings and more detail on security settings in general and had it working eventually but I cannot find the equivalent settings using Linux. Can somebody please help.
    Budgie2

  2. #2
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: Cannot Unblock Javascript for Web Management of Switch

    On 2014-08-25 00:56, Budgie2 wrote:
    > Here is
    > the Java Console error message:-


    Java is completely unrelated to Javascript.

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 13.1 x86_64 "Bottle" at Telcontar)

  3. #3
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    20,006
    Blog Entries
    1

    Default Re: Cannot Unblock Javascript for Web Management of Switch

    Quote Originally Posted by Budgie2 View Post
    Hi,
    Running 13.1 64 bit with KDE desktop and Firefox 31 I am trying to manage a switch using the web interface.
    I have set the switch IP address as Allow in the browser security settings but am still getting Application Blocked. Your security settings have blocked an untrusted application from running. Here is the Java Console error message:-
    I don't see any error message in the output you provided.

    I have tried openjdk but this is worse.
    I can't comment on that as it would depend on the java application in the device. It might be that a firmware upgrade will fix the issue.

    I know that the 'icedtea-web' package provides a console (similar to the Oracle Java Contol Panel), which allows how the browser plugin works (including security-related) configuration.

    It can be launched with
    Code:
    itweb-settings

  4. #4
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: Cannot Unblock Javascript for Web Management of Switch

    On 2014-08-25 02:53, Carlos E. R. wrote:
    > On 2014-08-25 00:56, Budgie2 wrote:
    >> Here is
    >> the Java Console error message:-

    >
    > Java is completely unrelated to Javascript.


    If it is java, and the jre, this is controled with "jcontrol". In the
    security tab, you can edit a list of site exceptions. There is another
    tab for managing certificates.

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 13.1 x86_64 "Bottle" at Telcontar)

  5. #5
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    20,006
    Blog Entries
    1

    Default Re: Cannot Unblock Javascript for Web Management of Switch

    For the Oracle JRE, this may be helpful, with respect to configuring via the Java control Panel (jcontrol)

    http://docs.oracle.com/javase/7/docs...tml#jreexpired

  6. #6

    Default Re: Cannot Unblock Javascript for Web Management of Switch

    Quote Originally Posted by robin_listas View Post
    On 2014-08-25 00:56, Budgie2 wrote:
    > Here is
    > the Java Console error message:-


    Java is completely unrelated to Javascript.

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 13.1 x86_64 "Bottle" at Telcontar)
    Hi Robin,
    Thanks for that!

  7. #7

    Default Re: Cannot Unblock Javascript for Web Management of Switch

    Quote Originally Posted by deano_ferrari View Post
    I don't see any error message in the output you provided.


    I can't comment on that as it would depend on the java application in the device. It might be that a firmware upgrade will fix the issue.

    I know that the 'icedtea-web' package provides a console (similar to the Oracle Java Contol Panel), which allows how the browser plugin works (including security-related) configuration.

    It can be launched with
    Code:
    itweb-settings
    Hi Deano,
    I tried this just in case IcedTea-Web was running but it is not so I am running with Oracle Java plugin, which is what I selected with update-alternatives.
    Thanks for the tip.

  8. #8

    Default Re: Cannot Unblock Javascript for Web Management of Switch

    Quote Originally Posted by deano_ferrari View Post
    For the Oracle JRE, this may be helpful, with respect to configuring via the Java control Panel (jcontrol)

    http://docs.oracle.com/javase/7/docs...tml#jreexpired
    Hi Deano,
    Now I am getting somewhere. I didn't know about jcontrol till you told me and now I have the security page I recognise from the dark side. Will play with it for a while and see if I can get further.
    Many thanks again,
    Budgie2
    PS. Now I am back to where I was with open Java. The gui image of switch tries to load but it is not there in full. I shall keep trying but at this rate I shall need to recourse to the dark side just to get things done!!!

  9. #9
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: Cannot Unblock Javascript for Web Management of Switch

    On 2014-08-25 10:56, Budgie2 wrote:
    >
    > robin_listas;2661146 Wrote:
    >> On 2014-08-25 00:56, Budgie2 wrote:
    >>> Here is
    >>> the Java Console error message:-

    >>
    >> Java is completely unrelated to Javascript.


    > Hi Robin,
    > Thanks for that!


    But you have to make sure which it is. Javascript is internal, native
    code support, inside the browser. If there are security adjustments,
    they are in the browser.

    Java is external, supplied by other people, controlled externally. There
    is a plugin for each browser so that you can launch java things from web
    pages.

    But they are different languages, despite the name being very similar.

    And security adjustements in the browser for javascript do nothing about
    java applets.



    So please find out what exactly is your router using, because answers
    for one are not valid for the other!



    About icedtea.

    Many java applications refuse to run with icedtea and require oracle JRE
    instead (for instance, all my government supplied software, for things
    like tax forms. This they document). Possibly your router does the same.

    On the other hand, the oracle JRE rpm package is not recognized as being
    "java" by any openSUSE package manager. If you force removal of icedtea
    and its replacements, the package manager will also try to remove a lot
    of things, like libreoffice.

    Thus you need to install the icedtea java packages, except the
    "icedtea-web" package, which should be tabooed. Then you install the
    oracle JRE and plugin rpm, and tell the system to use that java
    implementation by using "update-alternatives".


    --
    Cheers / Saludos,

    Carlos E. R.
    (from 13.1 x86_64 "Bottle" at Telcontar)

  10. #10

    Default Re: Cannot Unblock Javascript for Web Management of Switch

    Hi Robin,
    Many thanks. I thought it looked like it is Java that is causing the problem but I have Oracle version of plugin installed and still do not get the right picture. If you remind me how to send a screen shot it would save many words. I am beginning to wonder if I have screwed up my system a bit by installing open java and Oracle Java and the respective plugins and un-installing and re-installing. This is what update-alternatives gives me

    Code:
    IBMx3400:~ # update-alternatives --config java
    There are 2 choices for the alternative java (providing /usr/bin/java).
    
      Selection    Path                                       Priority   Status
    ------------------------------------------------------------
      0            /usr/lib64/jvm/jre-1.7.0-openjdk/bin/java   17147     auto mode
    * 1            /usr/java/latest/bin/java                   1         manual mode
      2            /usr/lib64/jvm/jre-1.7.0-openjdk/bin/java   17147     manual mode
    
    Press enter to keep the current choice[*], or type selection number:
    Not sure of the difference between manual and auto mode but I guess I should only have two entries.


    OTOH on the Netgear forum one guy with same diffculty posted "Looking at the source its not JAVA but JAVAScript issue, I have not found a workaround that works for Chrome/FireFox."

    If it is a Javascript issue where should I look?





    Budgie2

Page 1 of 3 123 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •