Fujitsu-America / Fujitsu-Repository

Fujitsu Repository
0 stars 0 forks source link

WADL is not deployed ***SR 3-26108882831*** #7

Closed vinaytalasila closed 3 years ago

vinaytalasila commented 3 years ago

Describe the bug From: Rigo, Linda M Linda.M.Rigo@snapon.com Sent: 27 May 2021 17:04 To: Jori, Amit Amit.Jori@fujitsu.com; Muthunarayanan, Somasundaram Somasundaram.Muthunarayanan@fujitsu.com Cc: Griffin, Tina Tina.Griffin@snapon.com; Hamilton, Mark W Mark.W.Hamilton@snapon.com; Liu, Sherry X Sherry.X.Liu@snapon.com Subject: 12.2.10 Upgrade Issue

Hi Amit and Somu I have found the following WADL is not deployed

Rest Service not deployed

Responsibility Name Responsibility:

Navigation Navigation:

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior A clear and concise description of what you expected to happen.

Screenshots image

Desktop (please complete the following information):

Smartphone (please complete the following information):

Additional context Add any other context about the problem here.

amitjori commented 3 years ago

Hello Tina,

We have re-deployed SBS_QOT_TMP_RECAP_PKG in STG instance on internal node, can you please re-test this one more time and confirm?

Regards, Amit

TinaGriffin commented 3 years ago

For TMP Recap in STG. when you had it deployed on external node, no error, although I couldn't open the tmp recap in EBS because the recap page won't open. When deployed on internal node, I'm back to getting the same error. You should be able to see in the Administration tab where it worked this morning and now is failing again. We need to look at 12.1.3 SOA deployments and check the wsdls to see if they say snapbs or snaponbusinesssolutions.

ISG_SERVICE_EXECUTION_ERROR Error occurred while executing the web service request System error, please see service log trace for details. SBS_QOT_TMP_RECAP_PKG TMP_SALES_RECAP_PRC 0
TinaGriffin commented 3 years ago

Can you get this page working in STG https://ebstest2.snapbs.com/OA_HTML/OA.jsp?page=/oracle/apps/pbs/quote/header/webui/XXSalesRecapPG&QuoteNumber=198206&AccountNumber=236220&QuoteName=MID%20STATE%20ISUZU%20TRUCK&ContactName=&CustomerName=MID%20STATE%20ISUZU%20TRUCK&OpptyName=&retainAM=Y&addBreadCrumb=Y&_ti=395124698&oapc=20&oas=xJ0_AMegpaYsztmO4gzqig..

Error Page

You have encountered an unexpected error. Please contact your System Administrator for assistance.

lindamrigo commented 3 years ago

in 12.2.10

+======================================================================+

| Copyright (c) 2005, 2019 Oracle and/or its affiliates. |

| All rights reserved. |

| Version 12.0.0 |

+======================================================================+

#

$Header: isgagent_properties_FMW.tmp 120.1.12020000.4 2019/11/28 08:40:06 lmanda ship $

ISG PROPERTIES FILE

#

ISG_SOA_EXTERNAL_URL=%s_soa_external_url% ISG_SOA_INTERNAL_URL=%s_soa_internal_url% ISG_SOA_ADMIN_SERVER_URL=%s_soa_admin_url% ISG_SOA_ADMIN_USER=ASADMIN ISG_SOA_ORACLE_HOME=%s_soa_oracle_home% ISG_AGENT_JNDI_NAMES=TPQS2I TPQS2I.ISG_RUNTIME_CONTEXT=AGENT TPQS2I.ISG_TEMP_DIRECTORY_LOCATION=/tpqs2i/12.2/STG/fs_ne/inst/TPQS2I_ssbsashebsap3/soa/ TPQS2I.ISG_EBS_EXTERNAL_URL=https://ebstest2.snapbs.com:443 TPQS2I.ISG_EBS_INTERNAL_URL=https://ebstest2.snapbs.com:443 javax.xml.parsers.DocumentBuilderFactory=oracle.xml.jaxp.JXDocumentBuilderFactory TPQS2I.ISG_EBS_ADMIN_SERVER_URL=http://ssbsashebsap3.oci.snapbs.com:7021

But the OCJ4.properties file also had these lines that are not there now SOA_ENABLE_SESSION_CREATION=FALSE SOA_ENABLE_STANDALONE_LOGGING=TRUE

Just commenting on the differences

amitjori commented 3 years ago

Hi Team,

OWC with oracle has been scheduled tonight at 10:00 PM CST.

Regards, Amit

lindamrigo commented 3 years ago

There are differences in file permissions between 12.1.3 production and 12.2.10 Stage. I don't know if that makes a difference

[apppqs1i@sbsashpebsap1 REST]$ ls -ltr total 148 -rw-r----- 1 apppqs1i dba 26423 May 6 2020 ISG_SBS_CP_GET_SN9143483.sql -rw-r----- 1 apppqs1i dba 752 May 6 2020 ISG_SBS_CP_GET_SN9143483_drop.sql -rw-r----- 1 apppqs1i dba 22242 May 6 2020 APPS_ISG_SBS_CP_GET_SN9143483_SBS_CPQ_SNAPSHOT_PKG-24GET_SNAP.xsd -rw-r----- 1 apppqs1i dba 22242 May 6 2020 APPS_SBS_CPQ_SNAPSHOT_PKG_GET_SNAPSHOTINFO.xsd -rw-r----- 1 apppqs1i dba 23197 May 6 2020 GET_SNAPSHOTINFO_SYNCH_TYPEDEF.xsd -rw-r----- 1 apppqs1i dba 1481 May 6 2020 GET_SNAPSHOTINFO_apps.jca -rw-r----- 1 apppqs1i dba 2006 May 6 2020 GET_SNAPSHOTINFO.wsdl -rw-r----- 1 apppqs1i dba 1043 May 6 2020 SBS_CPQ_SNAPSHOT_PKG.wsdl -rw-r----- 1 apppqs1i dba 1347 May 6 2020 SBS_CPQ_SNAPSHOT_PKG_rest.wadl drwxr-x--- 2 apppqs1i dba 4096 May 6 2020 dist -rw-r----- 1 apppqs1i dba 1323 May 6 2020 RESTHeader.xsd -rw-r----- 1 apppqs1i dba 1427 May 6 2020 ISGServiceFault.xsd -rw-r----- 1 apppqs1i dba 12328 May 6 2020 REST.zip

[aptpqs2i@ssbsashebsap3 REST]$ ls -ltr total 56 -rw-r--r-- 1 aptpqs2i dba 26597 Jul 20 04:57 ISG_SBS_CP_GET_SN9143483.sql -rw-r--r-- 1 aptpqs2i dba 752 Jul 20 04:57 ISG_SBS_CP_GET_SN9143483_drop.s -rw-r--r-- 1 aptpqs2i dba 1136 Jul 20 04:57 GET_SNAPSHOTINFO_apps.jca -rw-r--r-- 1 aptpqs2i dba 1578 Jul 20 04:57 GET_SNAPSHOTINFO.wsdl -rw-r--r-- 1 aptpqs2i dba 720 Jul 20 04:57 SBS_CPQ_SNAPSHOT_PKG.wsdl -rw-r--r-- 1 aptpqs2i dba 1365 Jul 20 04:57 SBS_CPQ_SNAPSHOT_PKG_rest.wadl -rw-r--r-- 1 aptpqs2i dba 1450 Jul 20 04:57 SBS_CPQ_SNAPSHOT_PKG_rest_http.dl

lindamrigo commented 3 years ago

Where is the ServiceGenerator.log located at?

TinaGriffin commented 3 years ago

Here is a MOS document that seems to have the same issue with the TBL data types as inputs. This was from 12.2.6 and there was a patch and I've verified that patch is in 12.2.10 but maybe 12.2.10 has the problem still even after the patch. Reminder that these TBL types are failing on multiple different with different table names SOA web services between INT and PRE-PROD.

EBS SOA Rest APIs Failed On Error While Executing Service (Doc ID 2451877.1)

TinaGriffin commented 3 years ago

This is a MOS doc for the other error we are hitting

Failed to deploy the REST webservice in 12.2.8 after CPU patch application (Doc ID 2580541.1)

amitjori commented 3 years ago

Hello Tina,

Even I got the same note id some time before while searching on MOS , I checked and the index mentioned in the doc id is valid in STG INT and PRE-PROD. Below is the screen print from PRE-PROD

image

Regards, Amit

amitjori commented 3 years ago

Hi Team,

We had a OWC session with Oracle today where Sai(from Oracle Quoting) and Abhinav(from Development) joined the called .

We explained them the issues that we are seeing in different environments on screen sharing session and compared the logs between working and non working environment, as requested we uploaded the logs and Apps Check Diagnostics output from working and non working environment to the SR. As of now no direct outcome from this OWC session and development team is checking this issue internally. Escalation status has been changed to Escalated now.

Awaiting further update from Oracle.

Regards, Amit

ashoksnapfj commented 3 years ago

Hi Tina,

REF::

Can you get this page working in STG https://ebstest2.snapbs.com/OA_HTML/OA.jsp?page=/oracle/apps/pbs/quote/header/webui/XXSalesRecapPG&QuoteNumber=198206&AccountNumber=236220&QuoteName=MID%20STATE%20ISUZU%20TRUCK&ContactName=&CustomerName=MID%20STATE%20ISUZU%20TRUCK&OpptyName=&retainAM=Y&addBreadCrumb=Y&_ti=395124698&oapc=20&oas=xJ0_AMegpaYsztmO4gzqig..

Error Page

You have encountered an unexpected error. Please contact your System Administrator for assistance.

**we are able to fetch quote#198207 from Pre-Prod but having issue in STG instance. we are working on this issue in STG.

image

Thanks Ashok.T**

vinaytalasila commented 3 years ago

Just a status update regarding the testing in STAGE 12.2.10 instance today: 1) Tina, DBA team and I had a web meeting and tested two cases successfully. a) Using the existing quote # 198207, resubmitted it in CPQ and it has created a new quote # 198208 - CPQ-1341 - Sales Order # 939904. b) Created a new quote # 198209 - CPQ-1539 - Sales Order # 939905. 2) Above test cases did not work on 7/19/2021. 3) As the above two test cases worked, Test-Cycle-2 can be done now in that instance. 4) The only issue that was faced is during 'Sales Recap'. Need to investigate this and fix. 5) Possible actions that are done between 7/19/2021 and 7/22/2021 in STAGE 12.2.10 instance are a) Ran 'Gather Schema Statistics' and cleared cache. 6) Tonight, DBA team will do the same actions in INT 12.2.10 instance. Deploy the SBS_QUOTE% package in that instance and retest. 7) Tomorrow, another round of testing will be done in STAGE 12.2.10 to make sure that everything works as today. 8) Review Tina's email that was sent today afternoon.

Thanks Vinay

vinaytalasila commented 3 years ago

In STAGE instance, 'ICX: Numeric characters' profile option value at the site level was 10,000,00

Today we corrected that value to 10,000.00 and retested the 'Sales Recap' and it worked.

Tina,

Could you please logout of your current STAGE instance session and retest 'Sales Recap' function now in the STAGE instance and let us know the results.

Thanks Vinay Talasila

TinaGriffin commented 3 years ago

I have verified the Recap and TMP pages are opening perfectly and the data is there in STG for new orders we just entered yesterday.

vinaytalasila commented 3 years ago

Thank you for your update Tina.

TinaGriffin commented 3 years ago

I've tested CPQ again today in STG.
I’ve resubmitted CPQ-1341. It created new quote 198211 and order 939907. I created new quote CPQ-1540. It created new quote 198212 and order 939908.

No errors, and the data all flowed correctly to EBS and TMP/Recap pages all opened correctly.

vinaytalasila commented 3 years ago

Thank you for your update Tina.

vinaytalasila commented 3 years ago

Just an update...I have requested for a OWC session with Oracle support on 7/26/2021 any time between 9:00 AM CST to 12:00 Noon CST and include Product, SOA and DBA groups. Oracle support has responded to my request mentioned below. "Due to the differences in time zones between the groups, we may not be able to confirm a time today. We will continue to monitor both groups and let you know as soon we have the next actions"

Thanks Vinay

amitjori commented 3 years ago

Hi Tina/Team,

OWC session was conducted with Oracle today at 2:00 PM IST where only Anwar from ORDS team joined the call to check the issue from ORDS side, he mentioned that this does not look to be an ORDS side issue after checking the SOA issue on screen sharing.

He said he is not sure how SOA Rest services are using ORDS to deploy Seeded SOA Oracle packages and will be updating the parent SR(SR 3-26108882831 : SOA REST service deploy failed).

I did update the parent SR requesting to join the same call with ORDS team so we can troubleshoot the issue , but there was no response.

Current Status of parent SR is - @DEV - Development Working

Regards, Amit

amitjori commented 3 years ago

Hello Tina/Team,

We had OWC session today(08/02/2021) at 2:00 PM IST. Below members from respective teams joined the call but Abhinav from ASO development team was unable to join the call due to some technical issues. Florin has checked the issue one more time from SOA side and is not able to figure out the root cause and suggested to check the issue further with development team, Sai said he will re-schedule the call one more time after following up with Abhinav from development team. Florin - from SOA Team Sai - from Oracle Quoting Team Mohammed - from ORDS Team

Regards, Amit

amitjori commented 3 years ago

Hi Tina/Team,

We had a OWC session with Oracle today(08/05/2021)

Below is the synopsis of OWC session

We questioned Abhivan/Sai about the error message that we see in the log file from front end , they said as of now they are unable to debug the error and this error message could be misleading and they do not see any issue in the code, per them packages are present and valid, table type seen in the error log is also present in packages and they are suspecting an issue from SOA side based on the error "Error in the generating PLSQL package" and SOA team should check this.

Florin from SOA team has suggested ASO team to open a collaborative bug with SOA development team as he is not sure what exactly the wrapper(ISG_ASO_QUOTE_PUB_CREATE_QUOTE) is trying to check in ASO_QUOTE_PUB package.

Sai has opened a collaborative bug with SOA development team and will scheduled another OWC session as soon as he has update from SOA development

Below members from respective teams joined the call. Florin - from SOA Team Sai - from Oracle Quoting Team Abhinav - from ASO development Team Fujitsu Team - Amit, Soma, Ashok and Akshay

vinaytalasila commented 3 years ago

Bug 33193269 - SOA REST SERVICE DEPLOY FAILED

The Development teams are reviewing the code and related logging calls for the ISG package processing.

-Latest update from Deepak (Oracle Support) is the bug has been escalated to the highest level in the Development team. It is getting the correct attention

Thanks Vinay

amitjori commented 3 years ago

Hi Tina/Team,

We had a OWC session today with Oracle SOA development team where Sai Munnaluri joined the call from SOA development team.

He enabled the debug and is in process of creating a standalone java script to analyse the issue with "Exception while executing JPublisher wrapped" error.

He is suspecting an issue with JPulisher and will update the SR in 1 hour or will schedule one more OWC today to work further on this issue based on his findings.

Below members from respective teams joined the call. Florin - From SOA Team Sai Munnaluri - From SOA Development team Sai - From Oracle Quoting Team Fujitsu Team - Amit, Soma, Ashok and Akshay

Regards, Amit

vinaytalasila commented 3 years ago

Tina,

From today, SOA development team member (Sai) also joined the status call with Oracle support. We got direct updates from him today in the call. He mentioned that he will review the log files that are attached by Amit and he believes that there is something with Jpublisher.

He has requested us to provide the documents that we used to configure SOA REST services after 12.1.3 to 12.2.10 upgrade. Amit has provided the details to him. He will review that as well and provide actions steps tonight.

Thanks Vinay

vinaytalasila commented 3 years ago

Just an update....Amit tried to compile the ASO invalids but they are erroring out. Updated this in the SR and they provided new action plan to compile these objects even this action plan did not help. Got an approval from Tina to restore INT 12.2.10 with 08/02/2021 backup. DBA team will do that and if we see many 'Invalids' then we will run appscheck report and provide ASO_QUOTE_PUB package details to Oracle support and we will followup with development for the next actions.

Thanks Vinay

vinaytalasila commented 3 years ago

Just an update...We had a call with Oracle support team today morning and it was assigned to a support engineer in US during the morning hours. That person is going to work on this issue and request us information / meetings if needed. They have scheduled daily meetings with us till 08/27/2021. I will keep you posted when I get any major updates from them.

Thanks Vinay

vinaytalasila commented 3 years ago

Just an update.....

image

Below note was fwd by Tina when she got an error (shown above) while testing TMP/RECAP on Friday (8/20/2021). Amit has performed the steps over the weekend and it works now in INT 12.2.10 and STG 12.2.10 instances.

SOA Gateway API - FND_SOA_SERVICE_EXECUTION_ERR java.sql.SQLException: ORA-04063: package body has errors ORA-06508: PL/SQL: could not find program unit being called (Doc ID 2011602.1)

Cause The modified package was not synchronized across the instance, specifically the new code is out of synch with the pre existing jar files.

Although the package was recompiled, the jar files were not regenerated.
Because the error message had a java element the jar files should be regenerated in addition to recompiling the package, eg:

"An error occurred while preparing and executing the ISG_XXX_WS$GET_EBS_ORD API. Cause: java.sql.SQLException: ORA-04063: package body ""APPS.ISG_GNDL"" has errors ORA-06508: PL/SQL: could not find program unit being called: ""APPS.ISG_GNDL""

Solution

  1. Use adadmn utility to force regnerate the product jar files.
  2. Recompile the package (again if necessary)
  3. Restart all middle tier services
  4. Regenerate the web service.

Thanks Vinay

vinaytalasila commented 3 years ago

Amit,

When you have time, could you please mention the steps in this ticket that are provided by Oracle support to fix this issue.

Thanks Vinay

vinaytalasila commented 3 years ago

From: Griffin, Tina Tina.Griffin@snapon.com Sent: Monday, August 23, 2021 10:06 AM To: Jori, Amit Amit.Jori@fujitsu.com; Talasila, Vinay Vinay.Talasila@fujitsu.com; Arsid, Hanmant Hanmant.Arsid@fujitsu.com; Muthunarayanan, Somasundaram Somasundaram.Muthunarayanan@fujitsu.com Subject: RE: INT TEST

In INT, the Snapshot is not loading in CPQ.
I noticed the other day that the snapshot in INT was loaded on the external. image

The WADL returns:

ISG_SERVICE_EXECUTION_ERROR Error occurred while executing the web service request System error, please see service log trace for details. SBS_CPQ_SNAPSHOT_PKG 0
amitjori commented 3 years ago

Hello Tina,

Could you please re-test SBS_CPQ_SNAPSHOT_PKG in INT 12.2.10 and confirm the results?

Regards, Amit

TinaGriffin commented 3 years ago

The Snapshot is working in INT now. Thank you.

vinaytalasila commented 3 years ago

Tina, Please find the attached document that was prepared by Amit. SOA Issue fix during 12.2 upgrade.docx

If that looks good then could you please 'Close' this issue.

Thanks Vinay

TinaGriffin commented 3 years ago

The document looks good for the "SOA Issue fix during 12.2. upgrade.docx".

TinaGriffin commented 3 years ago

The document looks good for the "SOA Issue fix during 12.2. upgrade.docx".