Page 1 of 2 12 LastLast
Results 1 to 20 of 34
Like Tree1Likes

Thread: Java JRE 6 Update 21 - 22 RS Problem

  1. #1
    mrman912 is offline Member
    Join Date
    Dec 2010
    Posts
    11
    Rep Power
    0

    Default Java JRE 6 Update 21 - 22 RS Problem

    When I upgrade Java 6 Upd 21 to 22 or 23, I begin to encounter problems with any page on my company's website that employ Remote Scripting.

    Looking through the release notes, I'm not seeing anything relevant that seems like it would affect remote scripting.

    With the Java Console up and set to log everything, none of the messages specified in the release notes appear.

    I could really use some help, as I've been scratching my head for two days, thanks very much.

  2. #2
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,371
    Blog Entries
    1
    Rep Power
    20

  3. #3
    mrman912 is offline Member
    Join Date
    Dec 2010
    Posts
    11
    Rep Power
    0

    Default

    Just a 'Failed to create ASP object for: http://mysite/editCode.asp'.

    Not much help to me, but might mean something to you!

  4. #4
    mrman912 is offline Member
    Join Date
    Dec 2010
    Posts
    11
    Rep Power
    0

    Default

    At the top of the page, I have:
    <script language="JavaScript" src=/_ScriptLibrary/rs.htm></script>
    </head>
    <script language="JavaScript">RSEnableRemoteScripting("/_ScriptLibrary");</script>
    <style type="text/css">

    And the functions that are being called are:

    function update(obj)
    {
    if(obj.parentNode.cells[1].childNodes[0].value != "")
    {
    clickObj = obj;
    if(CreatePage())
    {
    result = objRS.updateAOC(obj.parentNode.cells[5].innerHTML,obj.parentNode.cells[1].childNodes[0].value,handleUpdate);
    }
    }
    else
    {
    alert("You need to enter the AOC!")
    obj.parentNode.cells[1].childNodes[0].focus();
    }
    }

    function CreatePage()
    {
    if(!objRS)
    {
    try
    {
    objRS = RSGetASPObject(document.all("codepath").value + "editCode.asp");
    return true;
    }
    catch(er)
    {
    alert("Unable to create object from servercode.asp. Error= " + er.description);
    return false;
    }
    }
    else
    return true;
    }

  5. #5
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,371
    Blog Entries
    1
    Rep Power
    20

  6. #6
    mrman912 is offline Member
    Join Date
    Dec 2010
    Posts
    11
    Rep Power
    0

    Default

    Yes. It works like a charm if I reinstall update 21.

    EDIT: If you're getting a 404, that's because it's an intranet site, apologies.

  7. #7
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,371
    Blog Entries
    1
    Rep Power
    20

    Default

    Quote Originally Posted by mrman912 View Post
    Yes. It works like a charm if I reinstall update 21.

    EDIT: If you're getting a 404, that's because it's an intranet site, apologies.
    Okay, the next things is what your page has to do with Java. Seems to me it's asp (.net) page with some JS.

  8. #8
    mrman912 is offline Member
    Join Date
    Dec 2010
    Posts
    11
    Rep Power
    0

    Default

    Java is the only thing that changed, so it's something Java-related that has caused this to stop functioning properly. All other things are held constant, except for the Java JRE update, therefore, something contained in the update is causing a problem for me.

  9. #9
    mrman912 is offline Member
    Join Date
    Dec 2010
    Posts
    11
    Rep Power
    0

    Default

    So nobody is aware of any impact on remote scripting on ASP/JScript websites due to Java JRE updates? Because I assure you, there is one.

  10. #10
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,371
    Blog Entries
    1
    Rep Power
    20

    Default

    Quote Originally Posted by mrman912 View Post
    Because I assure you, there is one.
    I don't think so. I'm using .Net environment and have up to date related with Java. I don't have any issues at all.

  11. #11
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,371
    Blog Entries
    1
    Rep Power
    20

  12. #12
    mkleczew is offline Member
    Join Date
    Dec 2010
    Posts
    1
    Rep Power
    0

    Default

    Quote Originally Posted by mrman912 View Post
    When I upgrade Java 6 Upd 21 to 22 or 23, I begin to encounter problems with any page on my company's website that employ Remote Scripting.

    Looking through the release notes, I'm not seeing anything relevant that seems like it would affect remote scripting.

    With the Java Console up and set to log everything, none of the messages specified in the release notes appear.

    I could really use some help, as I've been scratching my head for two days, thanks very much.
    As you stated, I can confirm that this is an issue. I'm experiencing the same thing with the latest releases. JRE 6.20 is the last version that worked. 21,22 and 23 do not.

  13. #13
    travishein's Avatar
    travishein is offline Senior Member
    Join Date
    Sep 2009
    Location
    Canada
    Posts
    684
    Rep Power
    6

    Default

    I was going to say in 1.6 update 22 Oracle changed the vendor String from "Sun" to "Oracle". This had minor problems like causing eclipse to not work at all. Something to do with the native boot up wrapper would inspect the java -version output I guess and look for the words "Sun" in the label. So it might be possible something whacky like that is effecting this here for you too.

    But that was update 22, you say it wasnt working since update 21. which was still Sun branded. so this might not be it then.

  14. #14
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,371
    Blog Entries
    1
    Rep Power
    20

  15. #15
    mrman912 is offline Member
    Join Date
    Dec 2010
    Posts
    11
    Rep Power
    0

    Default

    Quote Originally Posted by travishein View Post
    I was going to say in 1.6 update 22 Oracle changed the vendor String from "Sun" to "Oracle". This had minor problems like causing eclipse to not work at all. Something to do with the native boot up wrapper would inspect the java -version output I guess and look for the words "Sun" in the label. So it might be possible something whacky like that is effecting this here for you too.

    But that was update 22, you say it wasnt working since update 21. which was still Sun branded. so this might not be it then.
    Well, this sounds promising, as 21 still works for me, yet 22 breaks.

    Where would this string comparison typically take place, so I can see if this is indeed the problem?

  16. #16
    mrman912 is offline Member
    Join Date
    Dec 2010
    Posts
    11
    Rep Power
    0

    Default

    Quote Originally Posted by Eranga View Post
    I don't think so. I'm using .Net environment and have up to date related with Java. I don't have any issues at all.
    If you've got some spare time and Java 6.23, try running through this tutorial, maybe you'll see what I mean:

    DevGuru Tutorial - Remote Scripting With JavaScript and ASP

    You can skip all of the database stuff, of course.

  17. #17
    travishein's Avatar
    travishein is offline Senior Member
    Join Date
    Sep 2009
    Location
    Canada
    Posts
    684
    Rep Power
    6

    Default

    Where would this string comparison typically take place, so I can see if this is indeed the problem?
    Probably in the native component that launches the Java VM, or in the startup logic somewhere where it is discovering the Java VM to be used for running the script.

  18. #18
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,371
    Blog Entries
    1
    Rep Power
    20

    Default

    Quote Originally Posted by mrman912 View Post
    If you've got some spare time and Java 6.23, try running through this tutorial, maybe you'll see what I mean:

    DevGuru Tutorial - Remote Scripting With JavaScript and ASP

    You can skip all of the database stuff, of course.
    Let see, and what you really means.

  19. #19
    mrman912 is offline Member
    Join Date
    Dec 2010
    Posts
    11
    Rep Power
    0

    Default

    No luck finding said string comparison anywhere.

    Unless of course someone out there in internet land knows a step-by-step approach to finding/changing that sort of thing?

    Also, I implore bored people the world over to try and get the aforementioned example running using a Java JRE newer than 6.21.

  20. #20
    mrman912 is offline Member
    Join Date
    Dec 2010
    Posts
    11
    Rep Power
    0

Page 1 of 2 12 LastLast

Similar Threads

  1. Problem about JLabel not update in JPanel
    By fantasyme in forum Java Applets
    Replies: 11
    Last Post: 10-16-2011, 08:00 AM
  2. update problem
    By PhQ in forum JDBC
    Replies: 6
    Last Post: 01-25-2011, 08:00 PM
  3. Jlabel update problem
    By fantasyme in forum AWT / Swing
    Replies: 3
    Last Post: 04-14-2010, 06:10 AM
  4. Problem in update
    By Shivraj in forum NetBeans
    Replies: 0
    Last Post: 03-24-2009, 01:11 PM
  5. SQL update problem
    By skiing in forum New To Java
    Replies: 9
    Last Post: 11-21-2008, 07:54 PM

Tags for this Thread

Posting Permissions

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