Importing existing only WAR file in NWDS for deployment on WAS

Hi,
I have WAR file created on the eclispe platform by someone. I am required to import that into NWDS and embed into EAR and then deploy on WAS.
However, i found no direct way to import existing only WAR file into NWDS. Simply importing a file in the web module project will only copy the contents, without that getting extracted.
Kindly let me know in detail, how to acheive the same.
Regards,
Apeksha

Hi,
don't worry. It will work. If done this with a Web Application I received from a vendor. Normally it is deployed on Tomcat but we had to integrate the functionality into SAP Portal / SAP Web AS.
So I just created an empty Web Module Project and the Enterprise Project, linked them and built the EAR.
I just replaced the empty WAR in the generated EAR with the WAR I received from my Vendor and deployed it on SAP J2EE using Visual Admin.
In general you should be able to deploy every WAR on every APP Server with a servlet engine that conforms the SUN J2EE Specifications (SAP J2EE does)!
Does this mean that Web module project is never executed, since that WAR added in the EAR is only getting executed?
I don't really understand this question? The result of your Web Module Built is the WAR file. By linking it to your EAR you just achieve that the WAR File is put into EAR when you build the EAR. Since your Web Module Project has the same name as your WAR File (I hope it does) you just pretend that the WAR File you are putting in the EAR replacing the empty one was the one that was built within NWDS.
The Web Module is the one that is being executed after deployment. It contains all the Code. The Enterprise App is just a wrapper around it. I don't know why it is not possible to directly deploy a WAR File to J2EE.
It could be that you get some problems with Libraries in your Web App that also exist on J2EE (e.g. Java Mail)
I had the problem with Java Mail. The Version in WebApp was newer than the one used in J2EE so some functionality did not work at the beginning. Since there seems to be no way to tell the J2EE Classloader to load the Child Libraries first instead of parent I had to replace the mail.jar in SAP J2EE with my own one.
You will probably not even face such a problem so just ignore it for now!!
Unpack the WAR to some folder in your local filesystem using a ZIP Program. Then open your File Browser (e.g. Windows Explorer if you are on Windows) and put your NWDS besides it. Then just drag and drop the files from your File Explorer to NWDS using the Resource Perspective (as described above)
It is some manual work but there is no other way around this if you want to build your Web App in NWDS in order to avoid exchanging the WAR in your EAR everytime you deploy it!
If you have further questions let me know
Cheers

Similar Messages

  • Build WAR file in NWDS 7.1

    Hi,
    How can we create a WAR file in NWDS 7.1? Please provide any inputs.
    With Regards,
    Ramesh G.

    Hi Ramesh,
    We canu2019t create in WAR file in Webdynpro JAVA Perspective in NWDS 7.1
    Only we can create the WAR file by using java application in JAVA Perspective in NWDS 7.1
    Please Refer to this Link. This is having how to create WAR File in JAVA Prespective:http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/503193d9-f586-2b10-4eb6-e8b46dc096db?quicklink=index&overridelayout=true
    How to create WAR file
    [Manual Development|http://help.sap.com/saphelp_nw04/helpdata/en/43/2eafd8d2f30d24e10000000a1553f7/plain.htm]    
    I hope this is helpfull for you,
    Regards
    Vijay

  • Importing existing flash video files??

    howdy
    quick question. if you import existing flash video files into an encore project, will this help reduce the final render time? or will encore rerender the existing flash video files?
    cheers
    angus

    Encore CS3 won't import FLV files. You must render the project to Flash.
    You may want to file a feature request at Adobe's support page asking for support for Flash-ready assets, to eliminate the need to transcode in Encore.

  • How do I import Map Info Tab files into Spatial for a map of europe?

    How do I import Map Info Tab files into Spatial for a map of europe via FME and have oracle spatial draw the map without problems?
    So far I've got to the stage where I can import the data, spatially index it (in oracle 9i) and get my SVG (scaleable vector graphics) application to view the map.
    The problem is that countries that have more than one polygon (more than one row in the database) do not draw properly.
    When I view the Map Info tab file in the FME viewer I can see that the data is fine, but I can also see that some of the polygons used to draw a country are donugts and some aren't.
    This seems to cause a problem when I import the data into oracle spatial as I don't know if a row in the table needs to be inserted as an independent SDO_GEOMETRY or if it should form part of a larger SDO_GEOMETRY (as in 2 or more rows make up the polygon shape for a country).
    I have a feeling that I'm not using FME correctly, because at the moment I have to import the tab file into Oracle then re-insert the data into a spatially formatted table (one with a spatial index) - I get the impression that FME should do that for me but as I'm new to this I don't really know.
    Any Help welcome :|
    Tim

    Tim,
    MapInfo has a free utility called EasyLoader that allows you to upload a table directly to Oracle. EasyLoader creates the geometries and spatial index. You can download it free from http://www.mapinfo.com/products/download.cfm?ProductID=1044
    Andy Greis
    CompuTech Inc.

  • Importing war file in NWDS

    Hi All,
    i wanna import a war file into netweaver developer studio, can anybody help me to achieve this.
    **valuable answers will awarded wid points.
    Thank you,
    venkat

    hi
    good
    go through this link,hope this would help you to solve  your probelm
    http://help.sap.com/saphelp_nw04/helpdata/en/43/2eafd8d2f30d24e10000000a1553f7/plain.htm
    thanks
    mrutyun^

  • Deploy only WAR File to Weblogic and not EAR File

    Hi,
    I want know if exist a way to only deploy de WAR file to Weblogic?

    Hi,
    Below is the command to deploy ear file.
    java weblogic.Deployer -adminurl t3://<adminserver>:port -username admin -password password -deploy -stage -source <ear file name for example vas.war> -name <name of the application, this value is showed in console, For ex 'vas'> -targets <Managed server separated by comma>
    Thanks.
    Vijay Bheemineni.

  • Importing existing Portlet wars into WP 8.1

    If we have portlets bundled as standard 'war' files how do we import them into
    an existing Portal webapp?
    Tony

    1. Will one of the createImage methods create an
    image using an existing png but resize it to fit
    between the desired coordinates?I don't know about this.
    2. And if not, could you suggest an alternative
    method to accomplish this?I would do this by manually drawing X's and O's on the canvas,
    since you already have the coordinates, this shouldn't be hard.
    Or by having three images, one for X, one for O, and one empty.
    Every image would have the background color you wish and a
    border, which will become the grid when the images are next to
    each other. First fill the canvas with nine empty images, and
    when X or O is inserted in some location, replace that image with
    corresponding X/O image.
    kari-matti

  • HT4622 How to import .band and .mid files into GarageBand for iOS

    Using GarageBand for MacOS X, I have no difficulty importing and playing .mid (MIDI) files.  Indeed, I can even rename .kar (Karaoke) files to .mid, import them into GarageBand for MacOS X and see the lyrics along with the score.  Using File Sharing for iOS apps in iTunes.app, I have tried to import .mid and .band files (made from .mid files with GarageBand for MacOS X) using this mechanism.  I get no errors but it doesn't seem to work.  That is, neither the .band file nor the .mid file are accessible from within GarageBand for iOS as far as I can tell.  What should I be doing instead?

    As I understand it GarageBand for iOS .band projects can be imported to GarageBand for OS X, but the reverse isn't true. GarageBand for iOS does not import midi files.
    The File Sharing section of iTunes doesn't validate the files you put into it, but if the app doesn't like the structure of the file it will just ignore it.
    tt2

  • Tools to create a Flash 7 SWF file from Powerpoint for deployment to 4305G?

    Hi there,
    We are using
    4305G DMPs running firmware 5.2.1
    DMM 5.2.2
    We have an internal customer who wishes to find a tool to create Flash 7 (or Cisco DMS compatible Flash SWF) files from Powerpoint to deploy to the DMPs. The customer is currently using a tool called iSpring to create Flash SWF files out of Powerpoint files, but this will not display through the DMPs running 5.2.1 firmware.
    http://www.ispringsolutions.com/ispring_presenter_pro_now_ispring_pro.html
    What other options are available?
    The underlying business need is to reduce the time it takes to create presentations for deployment to the Digital Media Players.
    Any advice much appreciated,
    Regards,
    Kathy

    Not sure if this helps but I use Camtasia's powerpoint plugin to convert presentations that have animation into video files in either swf/flv or wmv format.  For standalone powerpoint presentations that do not include animations I simply use a program called PPTools which allows me to export high quality images from my presentations without losing any quality.

  • How to Import Garageband projects and files into Cubase for Windows?

    Hi
    I've recently started using Garageband to record my ideas and compositions. I had 2 main questions:
    1. How do I transfer the audio files created in Garageband in a format which will allow me to edit them in Music Software for a Windows based Operating system? Tranferring them to iTunes and then converting them to MP3 doesn't help because then my friends can't edit my guitar parts and other backing tracks.
    Mainly I need to know how to save and import Garageband projects and individual tracks into Cubase/ Cakewalk for Windows so that my band guys can edit the tracks and send me their ideas.
    I'm the only one out of my friends who has an Apple Macbook and most of my band guys still use Windows based Operating systems.
    2. I record my guitars and other instruments using the Digitech GNX4 guitar effects processor as the sound source through USB. While I can record clean guitar without any problem, the moment I switch on the distortions on the GNX 4, there is a loud and constant hum from the speakers. I am therefore not being able to record distorted guitar sounds.
    Please help on this.
    Thanks and hope to hear from you all.
    Cheers
    Prash

    Tranferring them to iTunes and then converting them to MP3
    same as the protools procedure:
    http://www.bulletsandbones.com/GB/GBFAQ.html#openinprotools
    there is a loud and constant hum from the speakers.
    Could be a ground loop problem. Test it using the MacBook on battery power only.

  • Importing and organizing photo files lightroom 5 for the first time. Clean up hard drive photo files

    I have a trial version of lightroom 5 and would like once and forall to bring some order to both my hard drives and lightroom 5 collection. Some photos in lightroom 5 seem to have lost their path. some are in Window 7 folders and others are in Elements 9. I have made back up copies of some folders and would like to have a more systematic approach to back them up from now on. I have a NAS (network access storage) device and an extra hard drive I thought it would be best to use my laptop as the primary working memory for my photo files as it would be faster than working with the NAS or external, and then back everything up to the NAS and external. I see the main challenge as  consolidating all of the files and whereever possible preserving the ratings I have given photos; I would like to eliminate duplicats. on both the hard drive and in lightroom. i have looked at one of the initial training vidios on the 'library' section of adobe help and the presenter talked of two methods of importing photos,. the first and the one I think I will use going forward is to open lightroom and import from the sd card directly as opposed to having Windows 7 import and then having lightroom find them. If someone kows of a comprehensive list of instructions to follow to clean up my hard drives that would be extremly helpful? Peter

    I doubt there is a list of instructions to clean up a hard drive, because every starting sitaution is different, and your "clean" is probably a lot different than my "clean".
    But let's clear up a few things first. Based on your writing, it seems like you think you have photos stored in PSE and photos stored in LR. This is not correct. Neither of these programs store your photos. All of your photos are on your hard disk, in folders, somewhere.
    With regards to missing photos in Lightroom, when you move or rename photos and folders OUTSIDE of Lightroom, Lightroom no longer knows where they are, and reports them as missing. To fix it, see: http://www.computer-darkroom.com/lr2_find_folder/find-folder.htm Related to this, you don't want to "clean up" things in Windows and also "clean things" up in Lightroom. Instead, once you import photos into Lightroom, you should do all photo management in Lightroom, not Windows, otherwise you will just be creating more missing files.
    With regards to duplicates, Lightroom has some tools to detect duplicates. It will try to prevent duplicates on import, and if you do manage to import duplicates, you can use the "AutoStack by Capture Time" to try to find additional duplicates. But if those don't work, then you're pretty much on your own.
    With regards to putting photos on your laptop to work on them rather than your external HD, I think you will find that this provides a tiny fraction of a second improvement in speed which you may not even notice, which will be offset by the time you spend moving photos to somewhere else when you are done. So, just put the photos in their final destination folder on your external HD or NAS, and don't bother moving them to the internal HD.
    Which brings up another point. Once you have accomplished this "clean up", your workflow should be to put the photos in one place, and then don't move them! (Exception: running out of space on disk, or moving to a new disk/computer) Make your life as simple as possible.
    One last point: strongly consider using keywords and other metadata to achieve organization, instead of moving photos/folders from here to there to achieve organization. These tools in Lightroom give you ability to organize in much more powerful and flexible organization than anything you can do by moving photos/folders from here to there. (Side note: if you want all photos in some sort of centralized location because it meets your storage needs, then do that because it meets your storage needs. Within that collection of photos in a centralized location, use keywords and other metadata to achieve organization and for searching)

  • Imovie failed to import media only audio files are supported

    Hi
    I get the above message when trying to open video that has been downloaded using WD 2go.
    Any suggestions appreciated.
    Dunk

    OK, I fixed it. Here is how:
    I used the "relink files" dialog - it was challenge sorting out which files were already copied to the library and which were stranded on the SD card, because with the media connected FCP was giving me no indication (i.e. camera symbol on the thumbnail), and there is no "sort by... location" in the bin. So anyway, I disconnected media, selected all the red-icon clips, then reconnected media, then did the "relink files" dialog, and right now it looks like all of the "missing" files have been copied over to the Library.
    Now the question for me becomes:
    Why did this happen? How can I adjust my practice so as to avoid repeating this problem?
    Not such a bad glitch this time - I only lost 2.5 hours trying to fix the problem, and now I can get back to work.
    sigh.

  • Uploading par files in nwds and deploying back

    Hi all,
    I wanted to work with the masthead iview in nwds, so found it on the server as the par file and imported it into NWDS. Changed the headeriview jsp and deployed it back to the portal. But it is not working. Saw in another sdn thread that when you create the project in nwds, it does not bring up all the components from the par file as required and some class files are missing. I think this is the problem in my case. The solution to it was not given in that thread.
    Would anybody help please.
    thanks.
    Lm

    Hi
    the following are the steps to modify a masthead.
    1.Find the PAR file and copied to a temporary directory and renamed to the customer namespace taking off .bak extension.
    2.Import the PAR file now using File->import option.
    3.make necessary modifications.
    4.once the JSP is edited, the PAR file needs to be created ans uploaded to the portal.If JDK is installed just login into portal and deploy the pAR file otherwise use PortalAnywhere to deploy it.
    5.Now goto Content Administration->Portal Content->right click the folder you wish to create the mastheadiView.Select New from Portal Archive-?iView from the context menu.Select new masthead.
    6. select poratal component Default and choose next.
    7.enter the properties for masthead and next.
    8.edit the Iview and saved it.
    9.add the iView to Framework Page in portal catalog and edit page layout.
    10.select iView from catalog and add it as Delta link and position it accordin to your need.
    Hope this helps you to modify the masthead.
    Regards
    Victoria

  • Configuring NWDS for Deployment

    Hello everybody,
    I'am facing some problems while I want to deploy my Application.
    The NWDS finds the sap system but then deployment aborts.
    The only Error Message I get from the Deploy View Console is: SDM Port not found or not defined.
    In the error log is displayed: getP4Port() used unsupported operation.
    I've already checked our Server and erverything is runnning, also the ports of the sdm are configured like it is said in the documentation.
    I did not found any appropriate solution in the SDN because mostly solutions and configurations are just described for the old NWDS, I am using SAP NetWeaver 7.1 Composition Environment SP05.
    Thanks in advance.
    Tom

    HI,
    I am using SAP NetWeaver 7.1 Composition Environment SP05.
    you can not deploy using SDM, as it is not supported in CE7.1.
    1. Are you trying to deploy on CE server.
    if yes. then you need to give server host name and server instance
    2.if you are trying to deploy on lower version of server.
    not adivisable to do so. as structure of CE is totaly different.

  • Encrypt ear/war files

    hi
    my team is using oracle 10g Application srever[9.0.4] and jdeveloper..
    ear/war files are prepared for deployment.
    can i encrypt them while deploying them at custmers site for testing..
    regards
    avinash

    As far as I know this is not possible.

Maybe you are looking for