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.

lindamrigo commented 3 years ago

This is still not working. SBS_CPQ_QUOTE_PKG

suhas-deshpande commented 3 years ago

@SomuSundaramM : Can you please try to deploy standard package - ASO_QUOTE_PUB. As we checked earlier, it seems to have 2 duplicate procedures. If you still get any error with that, please raise SR with Oracle as we can see that these 2 packages (custom and standard) are valid in Oracle DB.

vinaytalasila commented 3 years ago

@amitjori : As per our today's status call could you please check whether this can be fixed by deleting from SOA and deploy it again or undeploy and deploy it again.

lindamrigo commented 3 years ago

The issues is the same

@.***D75B9D.41DA2F10]

From: vinaytalasila @.> Sent: Monday, June 7, 2021 12:06 PM To: Fujitsu-America/Fujitsu-Repository @.> Cc: Rigo, Linda M @.>; State change @.> Subject: Re: [Fujitsu-America/Fujitsu-Repository] WADL is not deployed SR 3-26108882831 (#7)

CAUTION: This email originated from outside of Snap-on. Do not click on links or open attachments unless you have validated the sender, even if it is a known contact. Contact the sender by phone to validate the contents.

@amitjorihttps://urldefense.com/v3/__https:/github.com/amitjori__;!!Lf_9VycLqA!2TpZMO8Wtf0BfSGp2XpnAfzPRy2Qn_ppJtHHeLGkogOWg2j3hd7wIAIOZyO8A1wQEA$ : As per our today's status call could you please check whether this can be fixed by deleting from SOA and deploy it again or undeploy and deploy it again.

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHubhttps://urldefense.com/v3/__https:/github.com/Fujitsu-America/Fujitsu-Repository/issues/7*issuecomment-856067707__;Iw!!Lf_9VycLqA!2TpZMO8Wtf0BfSGp2XpnAfzPRy2Qn_ppJtHHeLGkogOWg2j3hd7wIAIOZyPltVv3_Q$, or unsubscribehttps://urldefense.com/v3/__https:/github.com/notifications/unsubscribe-auth/AUKKFLAIIEA6Y6KUPQGOTFTTRTU6LANCNFSM45553UWA__;!!Lf_9VycLqA!2TpZMO8Wtf0BfSGp2XpnAfzPRy2Qn_ppJtHHeLGkogOWg2j3hd7wIAIOZyPuNy9QzQ$.

TinaGriffin commented 3 years ago

I'm not sure if this will help....but I found the old SR where we had SOA issues before. It may help for reference. It was SR 3-17957049521 : SOA Deployment issues after refresh

vinaytalasila commented 3 years ago

Tina,

Thank you for sharing the information. @amitjori will look into that SR and we may have an update on this during our tomorrow's status meeting.

Thanks Vinay Talasila

amitjori commented 3 years ago

Hello Tina,

I am not able to locate this SR 3-17957049521 : SOA Deployment issues after refresh. Is it possible for you to send me the extract of this SR in email?

Regards, Amit

TinaGriffin commented 3 years ago

Attached is the old SR we had opened for SOA.

From: amitjori @. Sent: Wednesday, June 9, 2021 9:10 AM To: Fujitsu-America/Fujitsu-Repository @.> Cc: Griffin, Tina @.>; Assign @.> Subject: Re: [Fujitsu-America/Fujitsu-Repository] WADL is not deployed SR 3-26108882831 (#7)

CAUTION: This email originated from outside of Snap-on. Do not click on links or open attachments unless you have validated the sender, even if it is a known contact. Contact the sender by phone to validate the contents.

Hello Tina,

I am not able to locate this SR 3-17957049521 : SOA Deployment issues after refresh. Is it possible for you to send me the extract of this SR in email?

Regards, Amit

— You are receiving this because you were assigned. Reply to this email directly, view it on GitHubhttps://urldefense.com/v3/__https:/github.com/Fujitsu-America/Fujitsu-Repository/issues/7*issuecomment-857680102__;Iw!!Lf_9VycLqA!yhpPmXPfJLQAsv6BJ0XFFdcQvKbRk4yOhGORc6moShESqnC4aWcnSYTovOEZLNMFGg$, or unsubscribehttps://urldefense.com/v3/__https:/github.com/notifications/unsubscribe-auth/AUJ7NBNXZYAK44Q4ES3UA7DTR5R2HANCNFSM45553UWA__;!!Lf_9VycLqA!yhpPmXPfJLQAsv6BJ0XFFdcQvKbRk4yOhGORc6moShESqnC4aWcnSYTovOGCpe4JBg$.

TinaGriffin commented 3 years ago

Attached is the old SR we had opened for SOA. SR 3-17957049521 SR 3-17957049521.pdf

TinaGriffin commented 3 years ago

I found this within "12.2 E-Business Suite Integrated SOA Gateway Troubleshooting For REST, Java Web Service Invocation, And Other ISG Related Exceptions (Doc ID 2177901.1)". It sounds pretty close to our error. Can we try this?

  1. Issue

Java Web Service Generation is failing

Error in Service Generation oracle.apps.fnd.isg.common.error.ISGException: Error in Service Generation at oracle.apps.fnd.isg.app.ebs.designer.pojo.POJOServiceDesigner.generateArtifacts(POJOServiceDesigner.java:396)

Steps to debug

Generally reimporting the ildt for the java webservice resolves the issue

 Generate the ildt file for the attached Java file once again with a new version
 Upload the ildt using FNDLOAD.
 Ensure the Interface definition is successfully loaded into Integration Repository.
 Log into Applications, and search for the custom service.
 Click on the "Rest Web Service" Tab.
 The custom webservice will not error

lindamrigo commented 3 years ago

SBS_CPQ_QUOTE_PKG is not listed in SOA Integration Repository

TinaGriffin commented 3 years ago

Amit, I have found the instructions we used to deploy for the backend of the Quote pkg. I'm uploading the zip file and a text file that were all included together in a folder I had. Also I had a note that the non prod RFC # Non Prod RFC is : 3-7JOWDRQ. SBS_EBS_CPQ_HTMLQuote_Integration.txt SBS_EBS_CPQ_HTMLQuote_Integration.zip

TinaGriffin commented 3 years ago

I've also found this ..it looks like the installation to create a new ildt file is in the .sh file. In the example I'm displaying here it was for the Snapshot. sh file, but you could do the same with the Quote .sh file. Replace the Snapshot .sh with the Quote .sh

-bash-3.2$ sh SBS_CPQ_SNAPSHOT_INST.sh /dpqs2i/applmgr/CUSTOM/xbol/12.0.0/install

Changing permissions for all files Moving files to their respective directories... Changing permissions for all files Please enter password for apps: Creating Package spec body for SBS_CPQ_SNAPSHOT_PKG

Creating ildt for the package

Interface Repository Annotation Processor, 12.0.0

#

Generating annotation output.

Processing file 'SBS_CPQ_SNAPSHOT_PKG.pls'.

Using YAPP-based parser.

Found a package-level annotation for 'SBS_CPQ_SNAPSHOT_PKG'.

Found a detail-level annotation...

Found a procedure named 'GET_SNAPSHOTINFO'.

Done all files.

File permission change to 777 SBS_CPQ_SNAPSHOT_INST.sh: line 167: -------------------------------------------------------------------------------------: command not found Log filename : L6442804.log

Report filename : O6442804.out

installation Completed... Please check installation log file : /dpqs2i/applmgr/CUSTOM/xbol/12.0.0/log/SBS_CPQ_SNAPSHOT_25_05_2018:10:10:11.log

-bash-3.2$

SomuSundaramM commented 3 years ago

Hi Tina/Team,

We were able to successfully deploy the SBS_CPQ_QUOTE_PKG in STG instance by Recreating ildt files. Attached the screenshots for reference. Please check and confirm

SBS_CPQ_QUOTE_PKG_success_deploy.docx

Thanks, Somu

TinaGriffin commented 3 years ago

The SBS_CPQ_QUOTE_PKG deployment looks as expected now. The only other thing I had to do was create the Grant to the CPQ_USER from the front end deployment. STG looks good, can you make the same change in INT please.

amitjori commented 3 years ago

Hi Team,

Below is the latest update from Oracle.

Hi Amit, Sorry for the delay in response . I am currently working in an internal instance to try and figure this out .But no matter what I am doing the issue is not getting reproduced .

This is most likely caused by something in the environment .Would it be possible to refresh this environment and then try from the scratch ? The reason why I am saying this is because we already manage to fix it in one environment and here in my internal instances is not getting reproduced .

Thanks, Florin

TinaGriffin commented 3 years ago

I'm sure this has nothing to do with the issue, but I did notice that a comment was put into the package body....it appears from the retrofit as it is not there in 12.1.3. It is actually confusing to have it there because it is not even for the same package name. It should be removed. You can compare it to 12.1.3 code and see it's not there. I'm sure nothing to do with this issue but retrofitting should not have put this there for a totally unrelated package.

In SBS_CPQ_QUOTE_PKG compiled under APPS schema in the package body: -- DDL for Package Body PBS_OKS_CONT_AUTHOR_REP_PKG -- Name Date (MM-DD-YYYY) -- Description

TinaGriffin commented 3 years ago

In fact I looked through all the SOA packages and this was the only one that was retrofitted (according to the comments anyway).

vinaytalasila commented 3 years ago

Just an update...Currently this is not working in INT 12.2.10 and Pre-Prod instances.

In INT 12.2.10 instance, DBA team and technical team has checked the patches, invalid objects, roles and retrofit objects by comparing with STG 12.2.10 and did not find any differences.

So in Pre-Prod instance, after DBA team deployed retrofit objects they deployed the ASO_QUOTE_PUB seeded package and SBS_CPQ_QUOTE_PKG custom package and it did not work. DBA team has also followed the below steps as per Oracle support representative and still facing the same issue. DBA team is still working with Oracle support on this. When we receive any major updates from Oracle support then will update the status in this issue ticket.

1. a)Drop the ASO_QUOTE_PUB package package spec and body from the database b)Drop the custom SBS_CPQ_QUOTE_PKG package package spec and body from the database

2. a) Delete the ASO_QUOTE_PUB irep object using the "DeleteFromIRep.sql" that I have shared previously. b) Delete the Custom irep object using the "DeleteFromIRep.sql" that I have shared previously.

  1. Make sure that the packages does not exist in any other schema and that the irep object was removed.

  2. Bounce the database and the application

5.Clear the cache using function administrator .

How To Clear The Cache Using Functional Administrator? ( Doc ID 759038.1 )

6.Reinstall the BOTH seeded and custom package spec and body from the WORKING instance

7.Make sure the packages are valid The following query can be used to confirm that package exists and is valid select object_name, object_type, status, owner from dba_objects where object_name in = ('ASO_QUOTE_PUB','SBS_CPQ_QUOTE_PKG');

8. a)Upload the irep object from the asopqtes_pls.ildt ILDT using FNDLOAD b)Upload the irep object from the custom ILDT using FNDLOAD

9.Deploy the services

Thanks Vinay Talasila

lindamrigo commented 3 years ago

This was the SR SR 3-16480460771 : Unable to deploy Web Service

lindamrigo commented 3 years ago

This was the CSI number:

  | 14443167 -- | --
vinaytalasila commented 3 years ago

Meeting minutes from our todays status meeting: 1) DBA team is still working with Oracle customer support. Amit will escalate the SR-3-26108882831. 1a) Amit will reach out to Jack (Oracle Support - Technical Manager) if he can and get the insights of the deployment issues that he worked on during the year 2018. 2) In Pre-Prod, Amit will deploy the old SBS_CPQ_QUOTE_PKG (before retrofit). Deploy and see whether it works. 3) Tina will test the orders in STAGE 12.2.10 and check whether the full functionality is working in that instance or not.

Thanks Vinay

TinaGriffin commented 3 years ago
  1. Tina will test the orders in STAGE 12.2.10 and check whether the full functionality is working in that instance or not. Response: I took a CPQ Quote that had already been submitted successfully to EBS. I resubmitted it again (that should create a new EBS quote and order). I did this twice. Customer 106147. The EBS Quote created, Q # 198188 or Q # 198199. The Orders created. O # 939884 or O # 949885. HOWEVER, the tmp and recap did not create, and it errored out. So that tells me the TMP Recap SOA Web service may need undeployed and redeployed in STG.
TinaGriffin commented 3 years ago

This is the log message for the STG tmp recap

Message |   | Service execution error - Parse array conversion error. An error occurred while parsing XML representing a Java array. Unable to convert the XSD element P_SBS_TMPRECAP_TBL whose collection type is APP

vinaytalasila commented 3 years ago

Tina,

Thank you for your update. We will review the error and keep you posted. If needed we will have a Teams meeting with you today.

Thanks Vinay

TinaGriffin commented 3 years ago

I found this document. Will anything in here help? It tells you how to deploy an API in an upgrade: "upgrade:-Will upgrade a service from 12.1.X to 12.2"

How To Perform Actions On API's From Backend in R12.2? (Doc ID 1664395.1)

TinaGriffin commented 3 years ago

Also found this troubleshooting guide: Oracle E-Business Suite Integrated SOA Gateway Troubleshooting Guide, Release 12.2 (Doc ID 1317697.1)

amitjori commented 3 years ago

Hi Tina,

We have undeployed and deployed package "SBS_QOT_TMP_RECAP_PKG" in STG instance. Can you please re-test the CPQ connection now in STG instance?

Regards, Amit

TinaGriffin commented 3 years ago

STG still had the same error: " 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

I tried with another customer in STG and still getting this on the tmp recap (error that shows in CPQ). So I think we should try to do the same fix on this SOA Web Service that was done to fix the Quote one in STG.

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

I just found a difference in STG for the TMP Recap. It's an old script I had to check the aliases of the SOA deployments....note in the below output the tmp / recap has a url of snaponbusinesssolutions where the others have snapbs. Run the below to see the difference:

--Also, you can find the existing aliases from this table: select class_id,DERIVED_CLASS_ID,WSDL_URL, Service_alias, a.creation_date from FND_SOA_SERVICES a where service_alias like 'SBS%'

TinaGriffin commented 3 years ago

FND_SOA_SERVICES table differences between instances.xlsx

TinaGriffin commented 3 years ago

I've attached the differences I've found in the FND_SOA_SERVICES table between the 3 instances. The ones in INT and STG that are green...the only difference is the :443. The ones in red are differences altogether and should be addressed. It looks like some cleanup needs done in that table as it should only reflect true SOA services that are used or have been tried in my opinion...just like what shows in 12.1.3 prod.

vinaytalasila commented 3 years ago

Tina,

Thank you for providing the details. Apart from the details that you provided, I tried to extract the details from Pre-Prod instance as well but I am unable to connect at this time. I will request Amit to look into the file that you provided and your comments.

Today morning we have compared the custom packages related to SBS_CPQ_QUOTE_PKG. Extracted the logs between INT 12.2.10 and STAGE 12.2.10. We will review them as well. We noticed that 'Grant' is missing in INT12.2.10 instance. We will investigate regarding that as well.

Oracle support has provided an additional step in today's comment. As those steps need an instance bounce, Amit will do that activity tonight.

@amitjori : Could you please review 'FND_SOA_SERVICES table differences between instances.xlsx' file, Tina's above comment and keep us posted.

Thanks Vinay

TinaGriffin commented 3 years ago

The Grant needs to be added after it's deployed. The problem is it won't deploy.

amitjori commented 3 years ago

Hi Team,

We followed the consolidated action plan given by oracle but still no luck. Oracle Quoting is looking further below is the update from Oracle in Original SR

Hi Praveen ,

The custom package has a dependency on the seeded ASO_QUOTE_PUB and this is the reason why is not getting successfully deployed . The ERROR "Error reflecting element type for collection type PRICE_ATTRIBUTES_TBL_TYPE" actually comes from the ASO_QUOTE_PUB package .

PRICE_ATTRIBUTES_TBL_TYPE it is a Table TYPE coming from the ASO package.

Could you please review this package and the type associated with it from product point of view ?

Thanks, Florin

amitjori commented 3 years ago

Hi Tina, tmp / recap has a url of snaponbusinesssolutions where the others have snapbs. - This has been fixed in STG we undeployed the package and deployed it again.

image

TinaGriffin commented 3 years ago

Still getting the same tmp recap error in STG. I tried the CPQ Quote I was working with and also started a new quote from scratch and both still got the tmp error.

amitjori commented 3 years ago

Hello Tina,

We were able to successfully deploy the SBS_QOT_TMP_RECAP_PKG now , can you please test the cpq connection and confirm. We tried to drop and recreate the SBS_QOT_TMP_RECAP_PKG today again this time we undeployed the package before dropping and re-creating the package and irep. Regards, Amit

TinaGriffin commented 3 years ago

Amit, I've tried this several times. I am not getting the same error, but I am now getting this one. Which this one should be an easy one. After you deployed you didn't create the grant for the CPQ_USER. This step has to be done and this is the error that we're getting. However, I went out to SOA and did the Grant and retried and we still get the same error. If you go to SOA responsibility and go to the Administration Tab, you'll see the logs of each time I tried the tmp recap says Failure.

ISG_SERVICE_AUTH_FAILURE User is not authorized to execute the service Please check whether the user has the requisite grants. SBS_QOT_TMP_RECAP_PKG TMP_SALES_RECAP_PRC 0
TinaGriffin commented 3 years ago

Oh wait a minute...that user grant error did get fixed. Now it has this error:

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
amitjori commented 3 years ago

We had a OWC session with oracle today and they found that the package body version of ASO quote is on a lower version and suggested to apply a patch which did not helped to solve the issue Oracle is checking further on this with ASO development team.

Following osberved.

$Header: asopqteb.pls 120.11.12020000.19

$Header: asopqtes.pls 120.20.12020000.27 2020/03/13 17:52:03 akushwah ship $ */

Action plan

1) Asked to apply the following patch 33005615:R12.ASO.C

Also checking with DEV via forums and updating collab SR on what exactly required from product team as the Issue working fine in Clone of Upgrade envt

TinaGriffin commented 3 years ago

In STG, for the tmp recap...it says to see the service log trace for details. Do you know where that's at? Also, isn't there something you have to do to copy the class id to both servers, internal and external? I think I saw something like that in the emails I sent you last night.

TinaGriffin commented 3 years ago

This just keeps getting more confusing. I just tried to do an order in CPQ INT....fully expecting it to not work since the custom Quote pkg isn't deployed yet in 12.2.10 INT. It worked...so it created quote number 195356. So I went out to EBS to look up that quote and it's really old. So I ran the below in TOAD and found that it created the quote in INT 12.1.3 instead of 12.2.10.

select * from aso_quote_headers_all where quote_number = '195356'

TinaGriffin commented 3 years ago

Nevermind...I figured out what I did. So we had rows in the CPQ Site Variables table in there for the old urls when we were in OMCS and new rows I had added for OCI on the next page....I had accidentally changed the url on the old OMCS rows instead of the new rows we entered for OCI urls. I'm updating the urls in the oci lines now.

TinaGriffin commented 3 years ago

Oh and one more thing...the lines in the table for OCI all used snaponbusinesssolutions in the url.

TinaGriffin commented 3 years ago

In STG Can we turn Audit on for the tmp recap web service under Soa responsibility/Administration/Configuration. So we can maybe get a log message of what's really happening there. I just don't understand why this web service, even though deployed is still erroring...unless it's looking for the class id on the external server which is what I'm thinking, the reason is because the WADL returns for the snapbs....but CPQ is using the url of snaponbusinesssolutions and that is where the error is returning for tmp/recap in STG.

arsidhan commented 3 years ago

SR is now 24X7. I will be watching it. -Hanmant

amitjori commented 3 years ago

Hello Tina,

SBS_QOT_TMP_RECAP_PKG is now pointing to external can you please retest now and confirm?

amitjori commented 3 years ago

Hi Team,

We tried the action plan given by Jack (copying the artifacts from working to non working instance) but still facing the same issue.

Oracle has created a bug for this issue now.

Regards, Amit