Quantcast
Viewing all articles
Browse latest Browse all 3876

web context issue on portal 7.4

Hi,

 

I have a custom web application on portal 7.4. This application needs file upload and view later. So what I did was I packaged the web application into one ear file, and I packed another web application to store uploaded files, so the enhancement of the web application will not wipe off the uploaded file.

 

The custom web application in first ear file works fine. The structure for file upload ear file looks like below:

war folder

     - webContent

          - uploads

               - test.doc and the other uploaded file should be here

     - war file is here

 

ear folder

     - ear file is here

 

I also made the folder below with read and write rights after deploy the file upload ear file.

/usr/sap/<SID>/J00/j2ee/cluster/server0/apps/sap.com/ear folder/servlet_jsp/war folder/root/uploads/

 

When I run the web application, the file was uploaded successfully. I can see the newly uploaded file in folder of

 

/usr/sap/<SID>/J00/j2ee/cluster/server0/apps/sap.com/ear folder/servlet_jsp/war folder/root/uploads/

 

When I view it online using the web URL:  http://<host>:<port>/war folder/uploads/newly_uploaded_file.docx, I got 404 Error: Requested resource does not exist.

 

When I tried URL : http://<host>:<port>/war folder/uploads/test.doc, it shows the document successfully.Remember I packed test.doc into the original package. But I can't see test.do in the folder: /usr/sap/<SID>/J00/j2ee/cluster/server0/apps/sap.com/ear folder/servlet_jsp/war folder/root/uploads/

 

All works in EP7.0, this only happened when I migrated to portal 7.4. Now my question is where the ear file got deployed on 7.4? why I can not see the uploaded files via web URL? What should I do the make the uploaded file to be viewed via web URL?

 

Thanks.

 

 

 

Thanks.


Viewing all articles
Browse latest Browse all 3876

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>