No return in JS when accessing an applet in loading process

When I try to access a property or a method of an applet which is
not completely loaded by the plug-in, my javascript instruction
never returns. Not even an exception or a null. The CPU is 100% busy
with the netscape.exe for ever. When I close the browser, I get a
Dr. Watson.
Context :
Netscape 6.2, plug-in 1.3.1 or
Netscape 7.0, plug-in 1.4.0
My purpose is to call the applet just after everything is put in place:
the applet is loaded, ready is work and laid out on screen. So I do
the call on the BODY onload event. It's fine with NN4.7 or IE5.5 and
their internal JVM because when the event fires, the applet is ready.
The problem is with the plug-in. I know that the onload event fires
as soon as the HTML is ready, independently from the applet which is
taken in charge by the plug-in. The availability of the applet takes
some time because it comes from a signed Jar from a protected area of
the web server. So you have to walk through two additional steps:
authentify yourself with the server (first popup) and grant session
privileges to the applet code (second popup). During this time, onload
has been executed. I know I have to check if the applet is up and if
not try again later with a setTimeout().
But how to check the readiness of the applet? When I try to read
whatever from it too soon, the code will never return !
To demonstrate the no-return, just put an alert and wait for the applet
to be loaded and fully active. Then you can have a return from it.
Don't forget: because of the user prompts (authentication and grant),
I can't determine a time to delay the check.
The code:<HTML>
<HEAD>
<SCRIPT>
function initApplet() {
// If you uncomment the following alert() and wait
// for the applet to be fully loaded and running, it will be OK.
// If you don't, "document.applets[0].isActive" will never return.
// alert("wait")
if (document.applets.length != 0
  && document.applets[0].isActive
  && document.applets[0].isActive()) updateApplet()
else setTimeout("initApplet()",1000)
function updateApplet() {
alert("call the applet")
</SCRIPT>
</HEAD>
<BODY onload="initApplet()">
<APPLET code="test.class" width="760" height="220" name="theApplet"
archive="theSignedJar.jar" MAYSCRIPT>
</APPLET>
</BODY>
</HTML>

I am having a very similar problem in Netscape 6.2 or later. (It never occurs in Internet Explorer) The applet can contain a few or many (in the 1000's) of applet parameters.
I am following the same pattern to determine when the applet is loaded (by referencing a flag that is set to true through the applet), which seems pretty standard. The applet is loaded, and the flag is set, but when I begin to process the parameters, the first parameter that is examined is returned as null, even though it is included as an applet parameter in the HTML file that is generated. FYI the first parameter processed is the last one included in the source file. The worst part about this error is that the error seems random. Sometimes it works; other times it doesn't.
Has anybody ever seen documentation as to how the parameters are loaded into memory, i.e. in what order? Does anybody know the algorithm used by the runtime system to find a parameter when a call to getParameter() is made?
Any insight would be greatly appreciated!

Similar Messages

  • Apache Returns 403 Status When Accessing ~/Sites Web Content

    Under Mac OS X 10.4.x, I don't recall having any problems accessing web content in ~/Sites.
    After upgrading to Mac OS X 10.5.1, Apache returns a 403 status when using a URL in the following form: http://spielzeit.hasental.com/~mcc/weather.
    Using the Search function, I found a discussion indicating that the problem was a permissions problem, e.g. other needed execute permissions. I changed the Sites directory permissions from 744 to 755. Still no joy.
    The apache2 error_log contains a "client denied by server configuration: /Users/mcc/Sites/" entry.
    As this a "standard" feature of Mac OS X that is enabled via System Preferences, I would have assumed that enabling web access under Sharing that Apache server was configured to allow access.
    What changes are needed to the conf files to enable user directories?

    Found the answer: Another Mac OS X 10.5 upgrade bug. The upgrade script failed to copy /etc/httpd/users/*.conf to /etc/apache2/extras/.
    Copying the directory eliminates the server configuration error and allows web content in ~/Sites to be accessed.

  • ORA 28817 PLSQL function returned an error . when Access instance apex 4 2

    Hello,
    I have just upgraded from apex 4.1 to apex 4.2. Everything is fine except for this error that I get when I try to access Instance Setting on the Admin App (localhost/apex/apex_admin)
    ORA-28817: PL/SQL function returned an errorWhat could be the problem ?? How can we fix it ..
    I am working on Win server 2012 machine .. apex 4.2 with apex listener 2 deployed on Glassfish 3.1.2.
    Best Regards,
    Fateh

    Hello Fateh,
    we are already aware of that problem, although it is not yet present on our Known Issues webpage. The reason for this error is that the new installation overwrites an instance-wide encryption key. Values in the instance preferences that were encrypted with the old value (the SMTP password and the wallet password) are invalid after the upgrade and decryption causes this error. As a work around, you can use the apex_instance_admin package to overwrite the invalid passwords.
    The following code shows how decryption throws ORA-28817:
    SYS@a411> select apex_instance_admin.get_parameter('SMTP_PASSWORD') from dual;
    select apex_instance_admin.get_parameter('SMTP_PASSWORD') from dual
    ERROR at line 1:
    ORA-28817: PL/SQL function returned an error.
    ORA-06512: at "SYS.DBMS_CRYPTO_FFI", line 67
    ORA-06512: at "SYS.DBMS_CRYPTO", line 44
    ORA-06512: at "APEX_040200.WWV_FLOW_CRYPTO", line 89
    ORA-06512: at "APEX_040200.WWV_FLOW_INSTANCE_ADMIN", line 239You can fix this by entering new passwords:
    SYS@a411> exec apex_instance_admin.set_parameter('SMTP_PASSWORD','my smtp password');
    PL/SQL procedure successfully completed.
    SYS@a411> exec apex_instance_admin.set_parameter('WALLET_PWD','my wallet password');
    PL/SQL procedure successfully completed.
    SYS@a411> select apex_instance_admin.get_parameter('SMTP_PASSWORD') from dual;
    APEX_INSTANCE_ADMIN.GET_PARAMETER('SMTP_PASSWORD')
    my smtp password
    1 row selected.Regards,
    Christian

  • HFM: How to restrict user to generate reports when there is a data load process going on?

    Hi Experts,
    I want to get some idea on how we can restrict one user of generating report when another user is loading the data for the same entity, assuming both the users were at different location and there is no communication between them.
    i am dealing same kind of problem in HFM. we have many users created, some users will be loading the data using FDMEE while some users will be generating the reports. the problem arises when one user is loading the data for a particular entity and at the same time another generates the report for the same entity. this shows wrong data in the reports as the data's were not updated.
    please suggest how we can come out of this problem.
    Thanks in advance for your valuable suggestions.

    I thought for a while that I could solve the problem creating a parameter in the main report and casting the first argument of my subreportprocesssing event handler to LocalReport and setting the parameter using the SetParameters method of the LocalReport
    object indicating when there was data to show or not. But this doesn't worked , the parameter value remains the same when I use it in expressions to change the visibility property of my subreports.
    Codelines

  • Runtime error SQL error 3114 occurred when accessing program CX_ w

    Hi Friends,
    Iam in a big mess . I have one query based on one my Zinfocube.This query ia attached in the workbook .. Previuolsy all was fine , but now whever iam executing this query it is throwing me the exception
    Query 0: Runtime error SQL error 3114 occurred when accessing program CX_ with parallel processing via RFC.
    and
    Beim Lesen der Daten sind Fehler aufgetreten. Navigation ist möglich
    I am not able to get the cause of error ..
    Can anybody help me in this regrd as its a bit urgent.
    Thanks in advance..

    Hi , thanks for replying ,
    I have tried running query through RSRT also , its not working still it is giving me the same error .
    In st22 it is showing me the follwing dump.
    DBIF_REPO_SQL_ERROR
    Short text
        SQL error 3114 occurred when accessing program
    What happened?
        The system is no longer linked to an ORACLE instance.
        No further operations can be performed on the database.
    What can you do?
        You cannot eliminate this error yourself.
        Please inform your database administrator.
        Note which actions and input led to the error.
        For further help in handling the problem, contact your SAP administrator
        You can use the ABAP dump analysis transaction ST22 to view and manage
        termination messages, in particular for long term reference.
        Note which actions and input led to the error.
        For further help in handling the problem, contact your SAP administrator
        You can use the ABAP dump analysis transaction ST22 to view and manage
        termination messages, in particular for long term reference.
    Error analysis
        The system attempted to access an ORACLE instance to which
        it is no longer linked.
        This situation may arise because the ORACLE instance
        has been stopped due to an error or an external operation.
    How to correct the error
        Database error text........: "ORA-03114: not connected to ORACLE"
        Triggering SQL statement...: "CX_SQL_EXCEPTION==============CP "
        The current status of the ORACLE instance cannot be determined.
        It may be still inactive or the database administrator may have
        restarted it.
        In any case, all systems that have accessed the ORACLE instance
        must be restarted after the ORACLE instance has been restarted.
        If you were working on a central system, inform
        your system administrator.
        If you were working on an external local system, inform
        the person responsible for this system.
        If you were working on your own local system, restart
        the system yourself.
        If the error occures in a non-modified SAP program, you may be able to
        find an interim solution in an SAP Note.
        If you have access to SAP Notes, carry out a search with the following
        keywords:
        "DBIF_REPO_SQL_ERROR" " "
        "CL_SQL_RESULT_SET=============CP" or "CL_SQL_RESULT_SET=============CM006"
        "NEXT_PACKAGE"
        If you cannot solve the problem yourself and want to send an errornotification to SAP, include the following information:
    1. The description of the current problem (short dump)
       To save the description, choose "System->List->Save->Local File
    (Unconverted)".
    2. Corresponding system log
       Display the system log by calling transaction SM21.
       Restrict the time interval to 10 minutes before and five minutes
    after the short dump. Then choose "System->List->Save->Local File
    (Unconverted)".
    3. If the problem occurs in a problem of your own or a modified SAP
    program: The source code of the program
       In the editor, choose "Utilities->More
    Utilities->Upload/Download->Download".
    4. Details about the conditions under which the error occurred or which
    actions and input led to the error.
    If the error occures in a non-modified SAP program, you may be able to
    find an interim solution in an SAP Note.
    If you have access to SAP Notes, carry out a search with the following
    keywords:
    "DBIF_REPO_SQL_ERROR" " "
    "CL_SQL_RESULT_SET=============CP" or "CL_SQL_RESULT_SET=============CM006"
    "NEXT_PACKAGE"
    Thanks in Advance..

  • What EXACTLY is happening when a signed applet loads in a page?

    I'd like to know what happens when a signed applet is loaded in a page with the Java Plug-in. What methods are called, in which order, what happens when the user denies the applet, etc.
    Any links to resources are also welcome.
    Thanks!!

    Hi there,
    Please go thru the following links. I think they are self explanatory and does not need more elaboraion. These links expalin how the Signed Applet is loaded and how does the Class Loader and Code Verifier make it possible for the applet to work within it's security restriction.
    Here are the links:
    1.http://java.sun.com/j2se/1.4.2/docs/guide/plugin/developer_guide/rsa_how.html
    2. http://ntrg.cs.tcd.ie/undergrad/4ba2.96/group2/applets.html
    For more information about policy files you can check the following link:
    http://www.interex.org/pubcontent/enterprise/jan01/14chew.html

  • Display of certificate when accessing a signed applet

    HI
    I have a signed applet which obviously displays a Certificate whenever it is Accessed.Now i would like the certificate to be displayed only once ie. ONLY when the applet is accessed for the first time and the user accepts(trusts) the certificate.The next time the user access the applet i do
    not want the certificate to be displayed again as he has already accepted (trusted)the certificate.
    is there a way to do this?
    best regards
    sumesh

    Your user must import your certificate and store it as a trusted CA -- see step #9 on the link shown below:
    http://developer.java.sun.com/developer/qow/archive/167/index.jsp
    V.V.

  • Problem with access JSF applet using javascript

    Can someone help me!
    I'm using a applet in jsf page, and i'm trying to access this applet using a javascript.
    Here is the applet code
    <jsp:plugin code="DoAction.class" codebase="." height="400" hspace="10" jreversion="1.5" type="applet" vspace="50" width="100" name="myApp"/>
    Here is the javascript
    function printReturn()
    var a = document.myApp.returnString();
    alert(a);
    "returnString" is the method in applet which simply return a string
    But it doesn't work, it works well when i'm using this applet in JSF
    <applet code="DoAction.class" width="100" height="50" name="myApp" ></applet>
    Unfortunately it's depricated!
    Please tell me what is the solution....

    Thank You for replying.
    I'm trying to call applet method using JavaScript.
    It works when i'm using below apllet tag.
    <applet code="DoAction.class" width="100" height="50" name="myApp" ></applet>
    But it's deprecated
    It doesn't work for below applet tag
    <jsp:plugin code="DoAction.class" codebase="." height="400" hspace="10" jreversion="1.5" type="applet" vspace="50" width="100" name="myApp"/>
    This is my javascript
    <script type="text/javascript">
    function setSearch()
    var a = document.myApp.returnString();
    alert(a);
    </script>

  • DBIF_RSQL_SQL_ERROR with SQL error in the database when accessing a table.

    dear all,
      i have done a system copy from production server into quality server. quality was scrapped and freshly installed with SAP then used the DB flush method to carry out the system copy. i had to change the DBS_ORA_SCHEMA in environment variables to SAP<SOURCE SID> from SAPSR3. the sap version is ECC6.0,DB is ORACLE10.2 on WIN NT.
      after MMC opened, i get "SQL error in the database when accessing a table" error is coming. in SM21, I am getting "Transaction Canceled 00 671 ( DBIF_RSQL_SQL_ERROR 20081018130339sibqty_QTY_00 SAPSYS 000 )
    Database error 8103 at SEL access to table TBTCO
    Run-time error "DBIF_RSQL_SQL_ERROR" occurred
    Database error 8103 at FET access to table TBTCP
    Run-time error "DBIF_RSQL_SQL_ERROR" occurred
    > Short dump "081018 130339 sibqty_Q TY_00 " generated
    Transaction Canceled 00 671 ( DBIF_RSQL_SQL_ERROR 20081018130339sibqty_QTY_00 SAPSYS 000
    > Short dump "081018 130339 sibqty_Q TY_00 " generated
    Transaction Canceled 00 671 ( DBIF_RSQL_SQL_ERROR 20081018130339sibqty_QTY_00 SAPSYS 000
    Delete session 001 after error 023
    Database error 8103 at DEL access to table TMSALOGAR
    Run-time error "DBIF_RSQL_SQL_ERROR" occurred
    > Short dump "081018 130432 sibqty_Q TY_00 " generated
    Database error 8103 at FET access to table SNAP
    Run-time error "DBIF_RSQL_SQL_ERROR" occurred
    > Short dump "081018 130432 sibqty_Q TY_00 " generated
    Transaction Canceled SY 002 ( SQL error in the database when accessing a table. )
    Database error 8103 at FET access to table TSP02"
    please find the st22 DUMP:
    ow to correct the error                                                                          |
    Database error text........: "ORA-08103: object no longer exists"
    Internal call code.........: "[RSQL/READ/TBTCO ]"
    Please check the entries in the system log (Transaction SM21).
    If the error occures in a non-modified SAP program, you may be able to
    find an interim solution in an SAP Note.
    If you have access to SAP Notes, carry out a search with the following
    keywords:
    "DBIF_RSQL_SQL_ERROR" "CX_SY_OPEN_SQL_DB"
    "SAPMSSY2" or "SAPMSSY2"
    "INITIATE_JOB_START"
    If you cannot solve the problem yourself and want to send an error
    notification to SAP, include the following information:
    1. The description of the current problem (short dump)
    To save the description, choose "System->List->Save->Local File
    (Unconverted)".
    2. Corresponding system log
    Display the system log by calling transaction SM21.
    Restrict the time interval to 10 minutes before and five minutes
    after the short dump. Then choose "System->List->Save->Local File
    (Unconverted)".
    3. If the problem occurs in a problem of your own or a modified SAP
    program: The source code of the program
    In the editor, choose "Utilities->More
    Utilities->Upload/Download->Download".
    4. Details about the conditions under which the error occurred or which
    actions and input led to the error.
    The exception must either be prevented, caught within proedure
    "INITIATE_JOB_START" "(FORM)", or its possible occurrence must be declared in
    the
    RAISING clause of the procedure.
    |   
    please do me this favor if you know to avoid this problem..
    thanks a lot..

    Hello Anuj,
    This is because the COUNT(*) is returning a value which is longer than the INT4 data type it is expecting. If you restrict the selection by introducing a WHERE clause, then you won't get the dump:
    DATA: dyn_from    TYPE string,
          dyn_where   TYPE string,
          gx_sql_err  TYPE REF TO cx_sy_open_sql_error,
          gv_text     TYPE string.
    dyn_from  = `DD01L INNER JOIN DD02L ON DD02L~AS4LOCAL = DD01L~AS4LOCAL AND DD02L~AS4VERS = DD01L~AS4VERS`.
    dyn_where = `DOMNAME LIKE 'Z%'`.
    TRY .
        SELECT COUNT(*) FROM (dyn_from) WHERE (dyn_where).
        WRITE: / sy-dbcnt NO-GROUPING.
      CATCH:  cx_sy_open_sql_db             INTO gx_sql_err,
              cx_sy_dynamic_osql_semantics  INTO gx_sql_err,
              cx_sy_dynamic_osql_syntax     INTO gx_sql_err.
    ENDTRY.
    IF gx_sql_err IS BOUND.
      gv_text = gx_sql_err->get_text( ).
      WRITE: / gv_text.
    ENDIF.
    BR,
    Suhas

  • SP 2010 - Getting "An unexpected error has occurred. " message when accessing Sharepoint site after windows update - Windows 7 Home Premium

    Hi,
    I am new to SP 2010. I have installed Share point 2010 server (trial version) on my Windows 7 Home Premium Laptop by following the below link.
    http://msdn.microsoft.com/en-us/library/ee554869%28office.14%29.aspx
    Everything went fine and was able to see the new sharepoint site after completing configuration wizard. SP2010 Central Admin also worked fine.
    However, after windows update, sharepoint site is not working. I was able to see the site working for more than a day before windows update. SP2010 Central Admin is still working. Executed "PSCONFIG" after
    update but still no good.
    I saw a warning "The Security Token Service is not available" in Central Admin and did some research to fix the issue but nothing worked. 
    Hotfix
    I believe I have all hotfixes mentioned in the forums. Here is the list.
    Windows6.1-KB976462-v2-x64
    Windows6.1-KB982307-x64
    Synchronization
    Windows6.1-KB974405-x64
    MSChart
    SQLSERVER2008_ASADOMD10
    381569_intl_x64_zip
    Windows6.1-KB976462-v2-x64
    Event Viewer
     I can see following log in Event Viewer when accessing site home page.
    Event ID:      8306
    Task Category: Claims Authentication
    Level:         Error
    Website response
    http://localhost:32843/ - "HTTP Error 503. The service is unavailable." 
    http://localhost:32843/Topology/Topology.svc - Works fine
    http://localhost:32843/SecurityTokenServiceApplication/securitytoken.svc - Returns following error. I am unable to see windows authentication in both Windows Features (under IIS -> WWW services -> Security) and IIS website (SharePoint Web Services
    -> IIS -> Authentication).
    HTTP Error 500.0 - Internal Server Error
       Module "WindowsAuthenticationModule" could not be found
    I even tried to uninstall Sharepoint and re-install the same. It worked even second time until it went thro' windows update. App pools are running and Websites are up and running in IIS.
    Can anyone please help me to fix this issue? 
    Thanks

    Hi Henrik,
    Here is the log info.
      <EventID>8306</EventID> 
      <Version>14</Version> 
      <Level>2</Level> 
      <Task>47</Task> 
      <Opcode>0</Opcode> 
      <Keywords>0x4000000000000000</Keywords> 
      <Execution ProcessID="8436" ThreadID="8812" /> 
      <Channel>Application</Channel> 
      <Security UserID="S-1-5-20" /> 
    The content type text/html; charset=utf-8 of the response message does not match the content type of the binding (application/soap+msbin1). If using a custom encoder, be sure that the IsContentTypeSupported method is implemented properly. The first 1024
    bytes of the response were: '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>IIS 7.5 Detailed Error - 500.0 - Internal
    Server Error</title> <style type="text/css"> <!-- body{margin:0;font-size:.7em;font-family:Verdana,Arial,Helvetica,sans-serif;background:#CBE1EF;} code{margin:0;color:#006600;font-size:1.1em;font-weight:bold;} .config_source code{font-size:.8em;color:#000000;}
    pre{margin:0;font-size:1.4em;word-wrap:break-word;} ul,ol{margin:10px 0 10px 40px;} ul.first,ol.first{margin-top:5px;} fieldset{padding:0 15px 10px 15px;} .summary-container fieldset{padding-bottom:5px;margin-top:4px;} legend.no-expand-all{padding:2px 15px
    4px 10px;margin:0 0 0 -12px;} legend{color:#333333;padding:4px 15px 4px 10px;margin:4px 0 8px -12px;_margin-top:0px; border-top:1px solid #EDEDED;border-left:1px solid #EDEDED;border-right:1px solid #969696; border-bottom:1px solid #969696;background:#E7ECF0;font-weight:bold;f'.
    I would like to let you know that I am getting following message when accessing the below link.  I am unable to see windows authentication in both Windows Features (under IIS -> WWW services -> Security)
    and IIS website (SharePoint Web Services -> IIS -> Authentication).
    http://localhost:32843/SecurityTokenServiceApplication/securitytoken.svc
    HTTP Error 500.0 - Internal Server Error
       Module "WindowsAuthenticationModule" could not be found
    Regards

  • Internal error when accessing a table  -

    Hi,
    The program which is running as background was running for last 1 year, last two days the RFC call in the program is dumping.
    In DUMP its showing Internal error when accessing a table
    Error : DBIF_RSQL_SQL_ERROR
    I checed the size of the table its quite huge for the application.
    So there is no issue with table.
    Please advise what causes these sort of error.
    System is ECC 6.0
    With SQL server 8.0
    Regards,
    Thomas

    These are the system log i got it from SM21. For this error logs are as below
    Very High Priority error
    Details Page 2 Line 9 System Log: Local Analysis of onsaprp1                  1
    Time
    Type
    Nr
    Clt
    TCode
    Grp
    N
    Text
    15:43:09
    DIA
    009
    300
    AB
    0
    Run-time error "DBIF_RSQL_INTERNAL_ERROR" occurred
    Run-time error "DBIF_RSQL_INTERNAL_ERROR" occurred
    Details
    Recording at local and central time........................ 11.02.2011 15:43:09
    Task......
    Process
    User......
    Terminal
    Session
    TCode
    Program
    Cl
    Problem cl
    Package
    03084
    Dialog work process No. 009
    TOM
    1
    SAPMSSY1
    T
    Transaction Problem
    SABP
    Further details for this message type
    Module nam
    Line
    Error text
    absapsql
    0786
    HandleRsqlErrors
    Documentation for system log message AB 0 :
    The specified runtime error has occurred in the system.
    Parameter
    abcdefghijklmnopqrstuvwxyz .. DBIF_RSQL_INTERNAL_ERROR
    Technical details
    File
    Offset
    RecFm
    System log type
    Grp
    N
    variable message data
    119
    618840
    l
    Error (Module, Row)
    AB
    0
    HandleRsqlErrors                                    absapsql0786
    High Priority error
    Details Page 2 Line 18 System Log: Local Analysis of onsaprp1                 1
    Time
    Type
    Nr
    Clt
    TCode
    Grp
    N
    Text
    15:44:07
    DIA
    009
    300
    SMEN
    BZ
    Y
    Unexpected return value 8 when calling up
    Unexpected return value 8 when calling up
    Details
    Recording at local and central time........................ 11.02.2011 15:44:07
    Task......
    Process
    User......
    Terminal
    Session
    TCode
    Program
    Cl
    Problem cl
    Package
    03084
    Dialog work process No. 009
    TOM
    om-blr-l
    1
    SMEN
    SAPLSMTR_NAVIGATION
    K
    SAP Web AS Problem
    SBAC
    Further details for this message type
    Module nam
    Line
    Table Name
    Field Name
    dbrepolo
    172
    8
    Documentation for system log message BZ Y :
    When calling a function within the database interface, a return
    value which cannot be processed by the calling function was
    provided.
    Technical details
    File
    Offset
    RecFm
    System log type
    Grp
    N
    variable message data
    120
    11160
    h
    Database Error (Non-SQL)
    BZ
    Y
    8                                                   dbrepolo172
    Edited by: Thomas Paul jr on Feb 14, 2011 6:36 AM
    Edited by: Thomas Paul jr on Feb 14, 2011 6:38 AM

  • Missing version field in response from server when accessing resource

    HY
    I have a problem to use the version option of the webstart. All files are included into a war file (created with jar cvf xx.war *). This file is in the webapps folder of the Tomcat 5. The jar files from the dev. kit (jnlp-servlet.jar, jaxp.jar, parser.jar are in the WEB-INF/lib folder).
    Every time I get the same message:
    Category: Download Error
    Missing version field in response from server when accessing resource: (http://localhost:8080/version/ademo.jar, 1.1)
    Do I need a aditional file or must Iwrite a servlet???
    Whats wrong
    my JNLP file
    <?xml version="1.0" encoding="utf-8"?>
    <!-- JNLP File fuer HJP3 WebStart Demo-Applikation -->
    <jnlp codebase="http://localhost:8080/version/" href="wstest.jnlp">
    <information>
    <title>HJP3 WebStart Demo Application</title>
    <vendor>Guido Krueger</vendor>
    <homepage href="http://www.javabuch.de"/>
    <description>HJP3 WebStart Demo Application</description>
    <icon href="wstest.gif"/>
    <offline-allowed/>
    </information>
    <information locale="de">
    <description>HJP3 WebStart Demo-Applikation</description>
    <offline-allowed/>
    </information>
    <security>
    <!-- <all-permissions/> //-->
    </security>
    <resources>
    <j2se version="1.4+"/>
    <jar href="ademo.jar" version="1.1"/>
    </resources>
    <application-desc main-class="Listing3813"/>
    </jnlp>
    my version.xml file
    <jnlp-versions>
    <resource>
    <pattern>
    <name>ademo.jar</name>
    <version-id>1.1</version-id>
    </pattern>
    <file>application.jar</file>
    </resource>
    </jnlp-versions>
    my web.xml file
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
    <web-app>
         <servlet>
              <servlet-name>JnlpDownloadServlet</servlet-name>
              <servlet-class>com.sun.javaws.servlet.JnlpDownloadServlet</servlet-class>
         </servlet>
         <servlet-mapping>
              <servlet-name>JnlpDownloadServlet</servlet-name>
              <url-pattern>*.jnlp</url-pattern>
         </servlet-mapping>
    </web-app>

    The log file (jnlpdownloadservlet.log) would show the calls for the jar files if the servlet is called for the jar files (did you correct the url mapping ?). Here are a few lines from a log file
    JnlpDownloadServlet(4): Initializing
    JnlpDownloadServlet(3): Request: /maportal/wfe/wfeguiv.jnlp
    JnlpDownloadServlet(3): User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Gecko/20040206 Firefox/0.8
    JnlpDownloadServlet(4): DownloadRequest[path=/wfe/wfeguiv.jnlp isPlatformRequest=false]
    JnlpDownloadServlet(4): Basic Protocol lookup
    JnlpDownloadServlet(4): JnlpResource: JnlpResource[WAR Path: /wfe/wfeguiv.jnlp lastModified=Tue Mar 23 17:06:56 CET 2004]]
    JnlpDownloadServlet(3): Resource returned: /wfe/wfeguiv.jnlp
    JnlpDownloadServlet(4): lastModified: 1080058016000 Tue Mar 23 17:06:56 CET 2004
    JnlpDownloadServlet(3): Request: /maportal/wfe/wfegui.gif
    JnlpDownloadServlet(3): User-Agent: JNLP/1.0.1 javaws/1.4.2_03 (b02) J2SE/1.4.2_03
    JnlpDownloadServlet(4): DownloadRequest[path=/wfe/wfegui.gif isPlatformRequest=false]
    JnlpDownloadServlet(3): Request: /maportal/wfe/wfegui.jar
    JnlpDownloadServlet(3): User-Agent: JNLP/1.0.1 javaws/1.4.2_03 (b02) J2SE/1.4.2_03
    JnlpDownloadServlet(4): DownloadRequest[path=/wfe/wfegui.jar isPlatformRequest=false]
    JnlpDownloadServlet(4): Basic Protocol lookup
    JnlpDownloadServlet(4): JnlpResource: JnlpResource[WAR Path: /wfe/wfegui.jar lastModified=Tue Mar 23 17:06:30 CET 2004]]
    JnlpDownloadServlet(3): Resource returned: /wfe/wfegui.jarYou should see all the resources (including jar files) being requested, and whether a specific version was requested or not (in above sample, not).
    I put my problems down to my application server (Orion) as other people seem to have this working. The deployment in Orion keeps the original timestamps of the jars, so I explicitly set the timestamps in my build so that the unchanged jars do not have to be downloaded all the time. This is not really a good solution, so maybe someone else can give further advice.
    Brendan

  • Abap import error DbSl Trace: ORA-1403 when accessing table SAPUSER

    hi all
    I am installing ERP  6.0 (ABAP) on win2003 cluster, oracle 10g, I have error at database instance intallation. here some logs
    DD03L.log
    I:\usr\sap\PRD\SYS\exe\uc\NTAMD64\R3load.exe: START OF LOG: 20090812102157
    I:\usr\sap\PRD\SYS\exe\uc\NTAMD64\R3load.exe: sccsid @(#) $Id: //bas/700_REL/src/R3ld/R3load/R3ldmain.c#18 $ SAP
    I:\usr\sap\PRD\SYS\exe\uc\NTAMD64\R3load.exe: version R7.00/V1.4 [UNICODE]
    Compiled Apr  3 2009 09:03:56
    I:\usr\sap\PRD\SYS\exe\uc\NTAMD64\R3load.exe -i DD03L.cmd -dbcodepage 4103 -l DD03L.log -stop_on_error
    DbSl Trace: ORA-1403 when accessing table SAPUSER
    (DB) INFO: connected to DB
    (RTF) ########## WARNING ###########
         Without ORDER BY PRIMARY KEY the exported data may be unusable for some databases
    (TPL) ERROR: unknown template variable "tablespace"
    I:\usr\sap\PRD\SYS\exe\uc\NTAMD64\R3load.exe: job finished with 1 error(s)
    I:\usr\sap\PRD\SYS\exe\uc\NTAMD64\R3load.exe: END OF LOG: 20090812102157
    import_monitor.log
    ERROR: 2009-08-12 10:21:57 com.sap.inst.migmon.LoadTask run
    Loading of 'DD03L' import package is interrupted with R3load error.
    Process 'I:\usr\sap\PRD\SYS\exe\uc\NTAMD64\R3load.exe -i DD03L.cmd -dbcodepage 4103 -l DD03L.log -stop_on_error' exited with return code 2.
    For mode details see 'DD03L.log' file.
    Standard error output:
    sapparam: sapargv( argc, argv) has not been called.
    sapparam(1c): No Profile used.
    sapparam: SAPSYSTEMNAME neither in Profile nor in Commandline
    WARNING: 2009-08-12 10:22:25
    Cannot start import of packages with views because not all import packages with tables are loaded successfully.
    WARNING: 2009-08-12 10:22:25
    1 error(s) during processing of packages.
    INFO: 2009-08-12 10:22:25
    Import Monitor is stopped.
    sapinst_dev.log
    ERROR      2009-08-12 10:22:25.718
               CJSlibModule::writeError_impl()
    CJS-30022  Program 'Migration Monitor' exits with error code 103. For details see log file(s) import_monitor.java.log, import_monitor.log.
    TRACE      2009-08-12 10:22:25.718 [iaxxejsbas.hpp:483]
               EJS_Base::dispatchFunctionCall()
    JS Callback has thrown unknown exception. Rethrowing.
    ERROR      2009-08-12 10:22:25.734 [sixxcstepexecute.cpp:951]
    FCO-00011  The step runMigrationMonitor with step key |NW_ABAP_DB|ind|ind|ind|ind|0|0|NW_CreateDBandLoad|ind|ind|ind|ind|8|0|NW_ABAP_Import_Dialog|ind|ind|ind|ind|5|0|NW_ABAP_Import|ind|ind|ind|ind|0|0|runMigrationMonitor was executed with status ERROR ( Last error reported by the step :Program 'Migration Monitor' exits with error code 103. For details see log file(s) import_monitor.java.log, import_monitor.log.).
    TRACE      2009-08-12 10:22:25.781 [iaxxgenimp.cpp:752]
                CGuiEngineImp::showMessageBox
    <html> <head> </head> <body> <p> An error occurred while processing service SAP ERP 6.0 Support Release 3 > SAP Systems > Oracle > High-Availability System > Based on AS ABAP > Database Instance( Last error reported by the step :Program 'Migration Monitor' exits with error code 103. For details see log file(s) import_monitor.java.log, import_monitor.log.). You may now </p> <ul> <li> choose <i>Retry</i> to repeat the current step. </li> <li> choose <i>View Log</i> to get more information about the error. </li> <li> stop the task and continue with it later. </li> </ul> <p> Log files are written to C:\Program Files/sapinst_instdir/ERP/SYSTEM/ORA/HA/ABAP/DB. </p> </body></html>
    TRACE      2009-08-12 10:22:25.781 [iaxxgenimp.cpp:1255]
               CGuiEngineImp::acceptAnswerForBlockingRequest
    Waiting for an answer from GUI
    sapinst.log
    WARNING 2009-08-12 10:22:25.718
    Execution of the command "C:\j2sdk1.4.2_21-x64\bin\java.exe -classpath migmon.jar -showversion -Xmx1024m com.sap.inst.migmon.imp.ImportMonitor -sapinst" finished with return code 103. Output:
    java version "1.4.2_21"
    Java(TM) Platform, Standard Edition for Business (build 1.4.2_21-b03)
    Java HotSpot(TM) 64-Bit Server VM (build 1.4.2_21-b03, mixed mode)
    Import Monitor jobs: running 1, waiting 1, completed 26, failed 0, total 28.
    Loading of 'DD03L' import package: ERROR
    Import Monitor jobs: running 0, waiting 1, completed 26, failed 1, total 28.
    ERROR 2009-08-12 10:22:25.718
    CJS-30022  Program 'Migration Monitor' exits with error code 103. For details see log file(s) import_monitor.java.log, import_monitor.log.
    ERROR 2009-08-12 10:22:25.734
    FCO-00011  The step runMigrationMonitor with step key |NW_ABAP_DB|ind|ind|ind|ind|0|0|NW_CreateDBandLoad|ind|ind|ind|ind|8|0|NW_ABAP_Import_Dialog|ind|ind|ind|ind|5|0|NW_ABAP_Import|ind|ind|ind|ind|0|0|runMigrationMonitor was executed with status ERROR ( Last error reported by the step :Program 'Migration Monitor' exits with error code 103. For details see log file(s) import_monitor.java.log, import_monitor.log.).
    any idea
    Regards
    ABH

    hi
    All logs are above (include import_monitor.log and java)
    thanks

  • RMI protocol over JRMP transport error when accessing Discoverer Plus

    Hi,
    I just upgraded my Discoverer to 9.0.2.54.01. I can successfully access my Discoverer Viewer Workbooks but not my Discoverer Plus. When I try to access Plus, Applet will be started, and then it will prompt the RMI protocol error:
    Attempt 1.  RMI protocol over JRMP transport: Connection refused to host: 127.0.0.1; nested exception is:*
    java.net.ConnectException: Connection refused: connect*
    Attempt 2.  RMI protocol over http transport : Unable to attach to existing session.*
    I used browsers Mozilla3.0.5 and IE7.
    Thanks!

    Hi Andy
    It could be a Java incompatibility issue. On one of your client machines try removing Java altogether and then reconnecting to Discoverer Plus. The server should send down a new, clean version of the Java.
    Try this and let me know how you get on
    Best wishes
    Michael

  • I purchased two songs on i-tune and when I attempt to down load them, I get an error,"you do not have enough access privilege for this operation.?????

    I purchased two songs on i-tune and when I attempt to down load them, I get an error,"you do not have enough access privilege for this operation.?????

    To fix Home folder permissions
    Open the Terminal application in the Utilities folder.  At the command line prompt enter or paste the following command line:
    sudo chown -R `id -un`:`id -gn` ~
    Press RETURN.  You will be prompted to enter your admin password which will not be echoed.

Maybe you are looking for