on 04-23-2012 8:35 AM
Hi,
We have installed SAP NW Enterprise Portal 7.3 SP05 and NWDS 7.3 SP05.
I downloaded the source file for masthead from the server and tried to import the war file in NWDS.
While Importing war file in NWDS, after selecting the source I am getting the following error.
java.util.zip.ZipException: error in opening zip file .
This happens for all the source files in the server.
What could be the issue? How to solve this?
Regards,
Eben Joyson.
Hi Eben,
Kindly check this KBA 1705930,which will help for your issue to resolve.
Regards,
Kiruthika
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Kiruthika,
My actual problem is I cannot import the war file to the NWDS which is downloaded from server. All the source files in server has this problem.
The post you have referred is for the error that appears in jsp files after import. Also the settings are already maintained in NWDS.
Attached is the screenshot.
Regards,
Eben Joyson
Hi Eben,
That is a bit strange. I have just done exactly the same thing and it worked ok. From the screenshot the path to the WAR file looks a bit strange/long... have you unpacked the WAR file from another zip file or ear file or something... it just looks like it has been extracted from something else.
I took my war file from this location on the server:
D:\usr\sap\<SID>\J00\j2ee\cluster\apps\sap.com\com.sap.portal.navigation.afp.masthead\servlet_jsp\com.sap.portal.navigation.afp.masthead
I hope this helps in some way... maybe just start again from scratch... sometimes I find that helps me 🙂
Simon
HI All,
After some research i found the reason, The new WAR file from SAP NW Portal 7.3 SP008 when you try to import NWDS (NWDS Menu --> Import --> Web --> War--> Select your war file) then you will face the above given error.
To resolve this error, The below are the steps to be performed to resolve this issue temporarily.
1. Download WAR file from SAP Portal server location.
2. Rename war file as .zip file
3. Extract the zip file
4. Create again a zip file with all extracted files (make sure not a rar file while compressing , make sure it should be zip format)
5. Change the zipped file extension from .zip to .war , this time you will be able to import with out any issues.
Thanks
Krish
Hi Eben Joyson,
I am not sure how a war file can be imported. WAR has to be wrapped into an ear file normally. Can you please let me know according to which documentation you are proceeding.
Regards
shrikant
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Shrikant,
I just need to modify the masthead view. So I downloaded the source from the server location <installation directory>/j2ee/cluster/apps/sap.com/com.sap.portal.navigation.afp.masthead folder. Inside the folder we have the war file. To download the source to NWDS, We can import source as "Import WAR". After modifying the masthead jsp page, we have to wrap it into ear project for deployment.
User | Count |
---|---|
91 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.