Results 1 to 2 of 2

Thread: Java Script AJAX call to JDE AIS Server.

  1. #1
    Member KSK's Avatar
    Join Date
    Sep 2007
    Location
    India
    Posts
    134

    Question Java Script AJAX call to JDE AIS Server.

    Hi ,

    We are making a REST call to JDE AIS Server(Port:7050) from Chrome(Via Java Script Code-AJAX call).

    REST calls are hitting the JDE AIS Server successfully but response is not coming back to chrome .getting the exceptions as share in the attachment.


    Also capture the JAS log from AIS , Found Broken Pipe Exception for the REST calls sent by Chrome. Not getting the Root cause for this issue …Please share your inputs.


    Tool Relase :9.1.5.7
    Application Release : E91.



    Exceptions from Chrome after making a REST call (Java Script -AJAX)

    Failed to load http://uxnlsage032.eu.XXXX.com:7050/...CH_EASYIMPORT: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:9999' is therefore not allowed access.



    Exceptions captured from JAS log.

    occured in the SQLPhysicalConnection.select():Auto: | Table or View Name = F9860 - Data Source[0] = Object Librarian - 910 java.sql.SQLRecoverableException: IO Error: Broken pipe

    25 Jun 2018 12:44:35,766[SEVERE][BASE]com.jdedwards.database.base.JDBException:
    [SQL_EXCEPTION_OCCURRED] An SQL exception occurred: IO Error: Broken pipe. java.sql.SQLRecoverableException: IO Error: Broken pipe

    25 Jun 2018 12:44:35,766[SEVERE][BASE]com.jdedwards.database.base.JDBException:
    [SQL_EXCEPTION_OCCURRED] An SQL exception occurred: IO Error: Broken pipe. com.jdedwards.database.base.JDBException: [SQL_EXCEPTION_OCCURRED] An SQL exception occurred: IO Error: Broken pipe.

    25 Jun 2018 12:44:35,767[SEVERE][JAS]JDBCProxy.jdbcProxy():
    JDBj database operation failed | UserName : S549266, Environment : JTL910, User Role : *ALL com.jdedwards.database.base.JDBException: [SQL_EXCEPTION_OCCURRED] An SQL exception occurred: IO Error: Broken pipe.

    25 Jun 2018 12:44:35,767[SEVERE][RUNTIME]Failed
    to get report description from F9860 -Errors on JAS: Error Message: <Errors on JAS: >, Error list:





    Thanks,
    Siva Kumar K
    Attached Files Attached Files
    SivaKumar.Kommoju
    E910,9.1.4.2

  2. #2
    Member KSK's Avatar
    Join Date
    Sep 2007
    Location
    India
    Posts
    134
    HI

    I got the following infomation from Oracle for my issue .


    ---------------------------------------------------------------------------------


    If we are working below 9.2.0.2 tool release and calling the JDE AIS Server from browser then we need to do below changes .


    Chrome
    We need to Turn off the CORS using -disble-web-security command.


    IE
    We need to enable “Access data sources across domains” in the Internet Options.



    https://www.thegeekstuff.com/2016/09...origin-policy/


    ------------------------------------------------------------------------------------

    I have tried the above solution in IE and it's working good.
    SivaKumar.Kommoju
    E910,9.1.4.2

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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
  •  
The legal restrictions and terms of use applicable to this site are available here.
Use of this site signifies your agreement to the terms of use.
JDELIST is NOT affiliated with JD Edwards® & Company, Oracle or Peoplesoft. Contents of this site are neither endorsed nor approved by JD Edwards® & Company and, or Oracle.