Skip to main content
ExLibris

Knowledge Assistant

BETA
 
  • Subscribe by RSS
  • Back
    Aleph
    Ex Libris Knowledge Center
    1. Search site
      Go back to previous article
      1. Sign in
        • Sign in
        • Forgot password
    1. Home
    2. Aleph
    3. Knowledge Articles
    4. Redirect from http to https breaks RESTful API: "Document is empty"

    Redirect from http to https breaks RESTful API: "Document is empty"

    1. Last updated
    2. Save as PDF
    3. Share
      1. Share
      2. Tweet
      3. Share
    1. Description
    2. Resolution

     

    • Product: Aleph
    • Product Version: 20, 21, 22, 23
    • Relevant for Installation Type: Dedicated-Direct, Direct, Local, Total Care

     

    Description

    We have found that the change to redirect http to https on our aleph2 server has affected the RESTful API running on port 1891.  We are getting errors such as: 

       error on line 1 at column 1: Document is empty 
      
    what service runs on port 1891?  And how do we solve this problem? 
     

    Resolution

    jboss (Tomcat, in v22-up) runs on the 189n port. 

    The $alephe_root/jboss_conf/main.properties was copied from the aleph1 server and had this line:

     xservice.server.name=aleph1.library.xxx.edu 

    Changing it to 

     xservice.server.name=aleph2.library.xxx.edu 

    and restarting the Web Services server (util w/3/7/9) and apache corrected the problem.

     

     


    • Article last edited: 3-Jan-2018
    View article in the Exlibris Knowledge Center
    1. Back to top
      • Redefining Patron Type
      • Reducing number of updates being done to Oracle data
    • Was this article helpful?

    Recommended articles

    1. Article type
      Topic
      Language
      English
      Product
      Aleph
    2. Tags
      1. contype:kba
      2. Prod:Aleph
    1. © Copyright 2025 Ex Libris Knowledge Center
    2. Powered by CXone Expert ®
    • Term of Use
    • Privacy Policy
    • Contact Us
    2025 Ex Libris. All rights reserved