cancel
Showing results for 
Search instead for 
Did you mean: 

Debug a Agentry Java application in Agentry Cloud Edition deployed to SAP Cloud Platform

former_member615831
Discoverer
0 Kudos

Hello Experts,

I was referring the below blog

https://help.sap.com/viewer/65de2977205c403bbc107264b8eccf4b/Cloud/en-US/10b63fe6c3bb41bdb7986c3cebf...

Kindly let me know whether any other blogs/reference are available for debugging Java of Agentry application which is being deployed on SAP Cloud Platform.

bill.froelich sue.vickers any suggestions or help here.?

Thanks in advance,

Cheers,

Lavanya

Accepted Solutions (0)

Answers (1)

Answers (1)

bill_froelich
Product and Topic Expert
Product and Topic Expert

Enable Java Debugging on ACE

To enable Java debugging you must first setup your Eclipse environment with the necessary tools. Follow the instructions in the link below to setup your development environment. This is only applicable for the dev ACE environment where the ACE java process is running directly in the tenant account. Java debugging in the other accounts (preview, test, prod) is not supported by customers.

https://help.hana.ondemand.com/help/frameset.htm?e815ca4cbb5710148376c549fd74c0db.html

Then use the link below on debugging applications in the cloud and use the Applications Deployed with the Console Client steps.

https://help.hana.ondemand.com/help/frameset.htm?10b63fe6c3bb41bdb7986c3cebfd140e.html

Set your breakpoints and trigger them by transmitting from the client. If the source does not appear when the breakpoint is hit in the Debug pane find the reference to the file and right click to Edit Source Lookup and specify the Java Projects with the associated source files.

Please note that stepping over, into etc will be slower than debugging on a local server so please be patient.

sam_patrick
Explorer
0 Kudos

Hi Bill,

I am working with Lavanya Ganapathi,

We have followed above mentioned link for debug of applications (Agentry Java applications)

But we are stuck at Step no. "Deploy Application on ACE" (from second link).

Here while deploying Agentry Java application we get an error stating that it is not a web application.

So we traced back to previous steps and found that our app is not Java Web Application (it is Java application created and deployed as jar along with Agentry App Zip).

So i am confused with following two questions

1) Whether Agentry Cloud Edition manages Agentry applications as web apps/something that run in web container of application server ?

2) Whether I need to deploy another Java app onto SAP Cloud Dev Cockpit, which will be used at runtime for debugging purpose ? (because the one that i use for workorder fetch/sync is residing into Java folder of Agentry App zip)

Can you please share some inputs on this. Because document mentions steps generic to Java Web App deployment - debugging and not sure if these steps are specific for Agentry Java debugging.

Thanks in advance..,

sam_patrick
Explorer
0 Kudos

Hello Bill,Mark,

mark.pe ,Bill Froelich,

Can you please share your thoughts about this, we are trying to debug an application (Agentry Java Application) deployed on Agentry Cloud Platform (ACE Server).

We have followed up steps mentioned in the blogs and documents listed above but are stuck at aforesaid points, need some insights/more info regarding Java debug for Agentry app.

Thanks & regards,

Abi K