IBM Support

LO48705: PRINTWRITER WITHIN JAVA SCRIPT LIBRARIES DOES NOT PRINT ON WEB B ROWSER.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as fixed if next.

Error description

  • PrintWriter run normally on agent code.  However, It in Java
    script library
    does not print to web browser.
    
    Steps to reproduce:
    1. Execute the agent "PrintWriter1" via Web browser.
    URL
    Command Fhttp://DominoName/PrintWriter.nsf/PrintWriter1?OpenAgen
    
    This case is normal result.
    
    2. Execute the agent "PrintWriter2inLib" via Web browser.
    URL
    Command Fhttp://DominoName/PrintWriter.nsf/PrintWriter2inLib?Ope
    Agent
    Web browser will display "Agent done".  This result is a
    problem.
    
    The following are each code in agents.
    -----------------------------------------
    PrintWriter1 agent has the following Java code.
    
    // (Your code goes here)
    Document doc = agentContext.getDocumentContext();
    String p = session.getPlatform();
    PrintWriter pw = getAgentOutput();
    
    -----------------------------------------
    PrintWriter2inLib agent has the following Java code.
    
    // (Your code goes here)
    PrintWriteFunc pwrite = new PrintWriteFunc();
    pwrite.PrintTest();
    
    -----------------------------------------
    In Java library, PrintWriterFunc has the following Java code.
    
    import lotus.domino.*;
    import java.io.PrintWriter;
    public class PrintWriteFunc extends AgentBase{
     PrintWriter pw = getAgentOutput();
     public void PrintTest(){
      pw.println("Test Output");
      //System.out.println("Test Output for Debug");
     }
    }
    -----------------------------------------
    

Local fix

Problem summary

Problem conclusion

Temporary fix

Comments

  • This APAR is associated with SPR# YSAI82HBGP.
    This issue was raised against V6x or V70x.  There are no more
     planned maintenance releases.  If issue continues to occur in
     a later 8.5x release, it can be re-raised for consideration
     against that release.
    

APAR Information

  • APAR number

    LO48705

  • Reported component name

    DOMINO SERVER

  • Reported component ID

    5724E6200

  • Reported release

    701

  • Status

    CLOSED FIN

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2010-02-09

  • Closed date

    2010-02-19

  • Last modified date

    2010-02-19

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Modules/Macros

  • NA
    

Fix information

Applicable component levels

  • R701 PSN

       UP

[{"Business Unit":{"code":"BU055","label":"Cognitive Applications"},"Product":{"code":"SSKTMJ","label":"Lotus Domino"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.0.1","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
19 February 2010