Running Java Applet Under IE6 from .NET User Control

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Larry Martin

    Running Java Applet Under IE6 from .NET User Control

    I am trying to run a Java Applet on my ascx page and am getting an IO
    exception when IE6 tries to load the applet. It seems a lot of others are
    getting the same problem but a search of the web did not turn up any sort of
    solution. I have tried most of the suggestions but none of them seem to have
    helped with the problem.

    My error is below and the most significant part of it is the HTTP connection
    failure.

    load: class apXPDropDown.cl ass not found.
    java.lang.Class NotFoundExcepti on: apXPDropDown.cl ass
    at sun.applet.Appl etClassLoader.f indClass(Unknow n Source)
    at java.lang.Class Loader.loadClas s(Unknown Source)
    at sun.applet.Appl etClassLoader.l oadClass(Unknow n Source)
    at java.lang.Class Loader.loadClas s(Unknown Source)
    at sun.applet.Appl etClassLoader.l oadCode(Unknown Source)
    at sun.applet.Appl etPanel.createA pplet(Unknown Source)
    at sun.plugin.Appl etViewer.create Applet(Unknown Source)
    at sun.applet.Appl etPanel.runLoad er(Unknown Source)
    at sun.applet.Appl etPanel.run(Unk nown Source)
    at java.lang.Threa d.run(Unknown Source)
    Caused by: java.io.IOExcep tion: open HTTP connection failed.
    at sun.applet.Appl etClassLoader.g etBytes(Unknown Source)
    at sun.applet.Appl etClassLoader.a ccess$100(Unkno wn Source)
    at sun.applet.Appl etClassLoader$1 .run(Unknown Source)
    at java.security.A ccessController .doPrivileged(N ative Method)
    ... 10 more

  • Patrice

    #2
    Re: Running Java Applet Under IE6 from .NET User Control

    As far as Java is concerned it looks it shouldn't be an ASP.NET problem...
    Try http://forum.java.sun.com/thread.jspa?threadID=521842 (caused by Web
    permission or IE setting) or a Java forum. The applet is perhaps in a
    directory where you don't have access (which is likely if you use a
    directory that is not allowed access through the net as you have only ascx
    files in it but you put also the applet file in it).

    Patrice


    --

    "Larry Martin" <LarryMartin@di scussions.micro soft.com> a écrit dans le
    message de news:09C0E6C5-FE6D-468B-B114-760B6760E290@mi crosoft.com...[color=blue]
    > I am trying to run a Java Applet on my ascx page and am getting an IO
    > exception when IE6 tries to load the applet. It seems a lot of others are
    > getting the same problem but a search of the web did not turn up any sort[/color]
    of[color=blue]
    > solution. I have tried most of the suggestions but none of them seem to[/color]
    have[color=blue]
    > helped with the problem.
    >
    > My error is below and the most significant part of it is the HTTP[/color]
    connection[color=blue]
    > failure.
    >
    > load: class apXPDropDown.cl ass not found.
    > java.lang.Class NotFoundExcepti on: apXPDropDown.cl ass
    > at sun.applet.Appl etClassLoader.f indClass(Unknow n Source)
    > at java.lang.Class Loader.loadClas s(Unknown Source)
    > at sun.applet.Appl etClassLoader.l oadClass(Unknow n Source)
    > at java.lang.Class Loader.loadClas s(Unknown Source)
    > at sun.applet.Appl etClassLoader.l oadCode(Unknown Source)
    > at sun.applet.Appl etPanel.createA pplet(Unknown Source)
    > at sun.plugin.Appl etViewer.create Applet(Unknown Source)
    > at sun.applet.Appl etPanel.runLoad er(Unknown Source)
    > at sun.applet.Appl etPanel.run(Unk nown Source)
    > at java.lang.Threa d.run(Unknown Source)
    > Caused by: java.io.IOExcep tion: open HTTP connection failed.
    > at sun.applet.Appl etClassLoader.g etBytes(Unknown Source)
    > at sun.applet.Appl etClassLoader.a ccess$100(Unkno wn Source)
    > at sun.applet.Appl etClassLoader$1 .run(Unknown Source)
    > at java.security.A ccessController .doPrivileged(N ative Method)
    > ... 10 more
    >[/color]


    Comment

    • Larry Martin

      #3
      Re: Running Java Applet Under IE6 from .NET User Control

      Patrice. I agree it is probably a Java problem but I am assuming a lot of
      other .NET developers have hit the same problem and that is why I put the
      message here.

      I have changed the permissions on all of the directories involved so that
      everyone can get to them, that is the first thing I thought of.

      "Patrice" wrote:
      [color=blue]
      > As far as Java is concerned it looks it shouldn't be an ASP.NET problem...
      > Try http://forum.java.sun.com/thread.jspa?threadID=521842 (caused by Web
      > permission or IE setting) or a Java forum. The applet is perhaps in a
      > directory where you don't have access (which is likely if you use a
      > directory that is not allowed access through the net as you have only ascx
      > files in it but you put also the applet file in it).
      >
      > Patrice
      >
      >
      > --
      >
      > "Larry Martin" <LarryMartin@di scussions.micro soft.com> a écrit dans le
      > message de news:09C0E6C5-FE6D-468B-B114-760B6760E290@mi crosoft.com...[color=green]
      > > I am trying to run a Java Applet on my ascx page and am getting an IO
      > > exception when IE6 tries to load the applet. It seems a lot of others are
      > > getting the same problem but a search of the web did not turn up any sort[/color]
      > of[color=green]
      > > solution. I have tried most of the suggestions but none of them seem to[/color]
      > have[color=green]
      > > helped with the problem.
      > >
      > > My error is below and the most significant part of it is the HTTP[/color]
      > connection[color=green]
      > > failure.
      > >
      > > load: class apXPDropDown.cl ass not found.
      > > java.lang.Class NotFoundExcepti on: apXPDropDown.cl ass
      > > at sun.applet.Appl etClassLoader.f indClass(Unknow n Source)
      > > at java.lang.Class Loader.loadClas s(Unknown Source)
      > > at sun.applet.Appl etClassLoader.l oadClass(Unknow n Source)
      > > at java.lang.Class Loader.loadClas s(Unknown Source)
      > > at sun.applet.Appl etClassLoader.l oadCode(Unknown Source)
      > > at sun.applet.Appl etPanel.createA pplet(Unknown Source)
      > > at sun.plugin.Appl etViewer.create Applet(Unknown Source)
      > > at sun.applet.Appl etPanel.runLoad er(Unknown Source)
      > > at sun.applet.Appl etPanel.run(Unk nown Source)
      > > at java.lang.Threa d.run(Unknown Source)
      > > Caused by: java.io.IOExcep tion: open HTTP connection failed.
      > > at sun.applet.Appl etClassLoader.g etBytes(Unknown Source)
      > > at sun.applet.Appl etClassLoader.a ccess$100(Unkno wn Source)
      > > at sun.applet.Appl etClassLoader$1 .run(Unknown Source)
      > > at java.security.A ccessController .doPrivileged(N ative Method)
      > > ... 10 more
      > >[/color]
      >
      >
      >[/color]

      Comment

      • Patrice

        #4
        Re: Running Java Applet Under IE6 from .NET User Control

        Did you check also the IIS log to see what happens on this request ?

        Also the article mentionned also an IE setting...

        Patrice

        --

        "Larry Martin" <LarryMartin@di scussions.micro soft.com> a écrit dans le
        message de news:8FB39965-10BC-437D-BCA6-2AA984DC38A0@mi crosoft.com...[color=blue]
        > Patrice. I agree it is probably a Java problem but I am assuming a lot of
        > other .NET developers have hit the same problem and that is why I put the
        > message here.
        >
        > I have changed the permissions on all of the directories involved so that
        > everyone can get to them, that is the first thing I thought of.
        >
        > "Patrice" wrote:
        >[color=green]
        > > As far as Java is concerned it looks it shouldn't be an ASP.NET[/color][/color]
        problem...[color=blue][color=green]
        > > Try http://forum.java.sun.com/thread.jspa?threadID=521842 (caused by Web
        > > permission or IE setting) or a Java forum. The applet is perhaps in a
        > > directory where you don't have access (which is likely if you use a
        > > directory that is not allowed access through the net as you have only[/color][/color]
        ascx[color=blue][color=green]
        > > files in it but you put also the applet file in it).
        > >
        > > Patrice
        > >
        > >
        > > --
        > >
        > > "Larry Martin" <LarryMartin@di scussions.micro soft.com> a écrit dans le
        > > message de news:09C0E6C5-FE6D-468B-B114-760B6760E290@mi crosoft.com...[color=darkred]
        > > > I am trying to run a Java Applet on my ascx page and am getting an IO
        > > > exception when IE6 tries to load the applet. It seems a lot of others[/color][/color][/color]
        are[color=blue][color=green][color=darkred]
        > > > getting the same problem but a search of the web did not turn up any[/color][/color][/color]
        sort[color=blue][color=green]
        > > of[color=darkred]
        > > > solution. I have tried most of the suggestions but none of them seem[/color][/color][/color]
        to[color=blue][color=green]
        > > have[color=darkred]
        > > > helped with the problem.
        > > >
        > > > My error is below and the most significant part of it is the HTTP[/color]
        > > connection[color=darkred]
        > > > failure.
        > > >
        > > > load: class apXPDropDown.cl ass not found.
        > > > java.lang.Class NotFoundExcepti on: apXPDropDown.cl ass
        > > > at sun.applet.Appl etClassLoader.f indClass(Unknow n Source)
        > > > at java.lang.Class Loader.loadClas s(Unknown Source)
        > > > at sun.applet.Appl etClassLoader.l oadClass(Unknow n Source)
        > > > at java.lang.Class Loader.loadClas s(Unknown Source)
        > > > at sun.applet.Appl etClassLoader.l oadCode(Unknown Source)
        > > > at sun.applet.Appl etPanel.createA pplet(Unknown Source)
        > > > at sun.plugin.Appl etViewer.create Applet(Unknown Source)
        > > > at sun.applet.Appl etPanel.runLoad er(Unknown Source)
        > > > at sun.applet.Appl etPanel.run(Unk nown Source)
        > > > at java.lang.Threa d.run(Unknown Source)
        > > > Caused by: java.io.IOExcep tion: open HTTP connection failed.
        > > > at sun.applet.Appl etClassLoader.g etBytes(Unknown Source)
        > > > at sun.applet.Appl etClassLoader.a ccess$100(Unkno wn Source)
        > > > at sun.applet.Appl etClassLoader$1 .run(Unknown Source)
        > > > at java.security.A ccessController .doPrivileged(N ative Method)
        > > > ... 10 more
        > > >[/color]
        > >
        > >
        > >[/color][/color]


        Comment

        Working...