cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Java Applictions on Hana cloud platform

theanmozhi
Product and Topic Expert
Product and Topic Expert
0 Likes
1,250

Hi Experts,

I have build a Dynamic web project in my local server and its working perfectly !!

I upload the java war application to my hana cloud account to access in cloud.

I have applied few javascript functions in my jsp which is wrkign in local but once i upload in cloud.. its not working..

can someone advise, why this js in jsp is not wrking in cloud? Thanks

here is the piece of script, basicaly it will clear the choser value 2 and 3 if chooser 1 is changed.

<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script> <script type="text/javascript"> $(function () { $("#btnReset").bind("click", function () { $("#selType")[0].selectedIndex = 0; $("#listtemplate")[0].selectedIndex = 0; }); });

View Entire Topic
Ivan-Mirisola
Product and Topic Expert
Product and Topic Expert
0 Likes

Hi Theanmozhi Katheervel,

Please check which application runtime you are using. Since you are using JSP, I assume you are also using EJB. But unfortunately, no all runtimes in SCP Neo contain EJB support.

https://help.sap.com/viewer/65de2977205c403bbc107264b8eccf4b/Cloud/en-US/7613bd28711e1014839a8273b0e...

Only Web Profile has the required libraries to run it.

I would use Eclipse with the Cloud Tools installed so you can test your app with the same runtime as you will find in your cloud account. Running on a full-blown tomcat server in your local machine isn't the same and will not reproduce the cloud environment.

Best regards,
Ivan

theanmozhi
Product and Topic Expert
Product and Topic Expert
0 Likes

Hi Ivan

I see sap hana cloud platform as the execution server now in eclipse. But its asking for password.which i dont remember giving one as it was signle sign on when i created the trail account. I tried my I number password but its not accepting. I couldnt reset also as i dont see the option how i can set this one? Please advise.Thanks