How to archive an exploded format into EAR

Hi all,
I have my application in the following exploded format:
c:\bea\...\mydomain\applications\MyApplication
MyApplication
\ejb
\mypackage\....
\META-INF\ejb-jar.xml, weblogic-...........
\META-INF\application.cml, weblogic-application.xml
\web
\folder1\*.jsp
\folder2\*.jsp
\WEB-INF\web.xml
\WEB-INF\lib\*.jar
\WEB-INF\tld\*.tld
\WEB-INF\classes\mypackage1\*.java
Now, anyone please tell me how to package the above exploded format into .jar
and war and finally the EAR.
and also, after deploying the EAR, how can we access the application?
Thanks in Advance,
Seshu

The bottom line is you should use ant.
If your using a version prior to 8.1 you can use the built in jar/ear tasks,
if you cant upgrade to 8.1 I reccomend it.
If your using 8.1 we have an exploded directory structure for development
known as split-dir (go to http://edocs.bea.com and search) with a set of ant
tasks to do compilation and deployment. There is also one called wlpackage
that will create an archived EAR for you as well.
The basic principle is that in development you want to develop with an
exploded format as it is much faster to compile and to deploy. When moving
to production and for distribution you want an archive. You have a couple of
options for the archive. You can archive EVERYTHING where each module
inside of the ear is also archived.
Such as:
foo.ear
META-INF/applicaiton.xml
web.war
ejb.jar
I am not a huge fan of this because in development you really want
everything exploded and if you archive your modules inside the ear you have
to change the URI's in your applicaiton.xml. I prefer:
foo.ear
META-INF/applicaiton.xml
web/
WEB-INF/web.xml
ejb/
META-INF/ejb-jar.xml
This is the format of the ear that wlpacage ant task creates for you.
Cheers
mbg
"Seshagiri" <[email protected]> wrote in message
news:3f08c9ea$[email protected]..
>
Hi all,
I have my application in the following exploded format:
c:\bea\...\mydomain\applications\MyApplication
MyApplication
\ejb
\mypackage\....
\META-INF\ejb-jar.xml, weblogic-...........
\META-INF\application.cml, weblogic-application.xml
\web
\folder1\*.jsp
\folder2\*.jsp
\WEB-INF\web.xml
\WEB-INF\lib\*.jar
\WEB-INF\tld\*.tld
\WEB-INF\classes\mypackage1\*.java
Now, anyone please tell me how to package the above exploded format into.jar
and war and finally the EAR.
and also, after deploying the EAR, how can we access the application?
Thanks in Advance,
Seshu

Similar Messages

  • How to include external .js file into .ear file using NetBean 5.5.1?

    is it possible to include external .js file into .ear file using NetBean 5.5.1? if not, then where should I placed the external .js file and how to write the src="xxx" element? (that is , how to write the path of "xxx"?)
    I am using JBOSS 4.2.2 GA as server
    thx!!

    Even this is also not possible because, the code in that package is developed by DWR and i am just adding it to my lib folder and importing the respective classes. In the same manner i need to include the *.js* file in the JSP.It took me about 3 minutes reading through the [DWR Getting Started|http://getahead.org/dwr/getstarted] page to learn that you don't have to do any of that. Perhaps you should read that page?

  • How convert pdf,xls file format into swf

    Hi friends
                   i am making a tool for wducation site and there i need to convert doc xls and pdf file in swf in runtime and show that in container with cropping and panning functionality.so i do it for doc file format but having no idea how to convert .pdf file format and .xls file format into swf.So please guide me how to do it.
    Thanks And Regards
        Vineet Osho

    QuickTime cannot do this of iteslf: you need to add Flip4Mac:
    http://www.telestream.net/flip4mac-wmv/overview.htm

  • How to import universal disk format into imovie

    I would like to import a universal disk format DVD into imovies.  How do I do this?

    Hi Wendy,
    See this User Tip by AppleMan1958:
    https://discussions.apple.com/docs/DOC-3951
    John

  • How to package 3rd party libs into EAR

    Netweaver 7.0, WEBAS 640:
    I have an EAR I am deploying containing an EJB and a webapp. I have third party jars that I need to use from both the EJB and webapp, and so want to just package in as part of the EAR. I do not want to fuss with deploying the third party jars separately, nor do I want to duplicate them into the EJB and WAR separately...
    I have the jars in the root of my EAR project, and have the build path set up in NWDS for the EJB and WAR so that the jars are referenced, so I'm ok at build time...
    ...but I'm getting NoClassDefFound exceptions for the classes in the 3rd party apps when I go to run them.
    What do I have to do in my EJB and WAR projects to be able to see the third party jars in the EAR at runtime?

    Hi,
    <module>
        <java>
          <uri>abc.jar</uri>
        </web>
      </module>
    Try putting this in application.xml.
    The best option for such type of problem is creating a APP-INF folder under the root.
    Sample structure:
    ear
          APP-INF
               classes   -- put all class files and properties files
               lib           -- put all jar files
        war
        ejb-jar
    Try with this structures. Put all the jar files under APP-INF/lib folder, and the application class loader will pull all the classes and properties from classes and lib folder.
    NOTE: I am not sure this folder is recognised in EP server. Weblogic recognises this folder.
    Try this once.
    In EP server the recommendation is to create  j2ee library projects and refer them in the project descriptor files. By specifying thus the server will load them in the application class loader.
    Rama Murthy

  • Webapp as war-archive vs exploded inside EAR

    We have an application consisting of an ear-archive containing a webapp (.war or exploded) and an ejb (.jar). For this application we have had a few situations where the EJB is recompiled at WLS start only if the webapp consists of a war-archive and not an exploded war (even though the webapps are identical). We have however been unable to reproduce this consistently. Are there any known issues related to using an ear-archive containing an exploded war?
    As far as I'm aware the main reason not to deploy applications as exploded is to make sure that the deployed content cannot be modified once deployed. This is not an issue here as the exploded war is a part of an ear-archive. Is there any other reason not to use this application layout? Could it possibly cause any unexpected side-effects in production environments?

    Not working as in 404 error?
    Could be deploying under a different context (as opposed to the default/root
    context).
    Try /webAppName/index.jsp rather than /index.jsp, after replacing
    "webAppName" with the name of your web application.
    Bob
    "Mona Ramlawi" <[email protected]> wrote in message
    news:[email protected]..
    Hi all,
    I have my application working and running as exploded format.
    When I packaged it into a WAR and included it with an EAR along with the
    EJB JARS I have, it stopped running !
    I have the application correctly deployed.
    I can access some files under it.
    I have doubts that maybe it could be that some files are referencing
    others using relative paths.
    Should we replace these with absolute paths ?
    /mywebapp/myfolder/myfile.jsp instead of myfile.jsp ?
    help appreciated
    mona

  • How can I convert DVD- video into Apple's format so that it can be played and streamed from my Mac?

    How can I convert DVD- video into Apple's format so that I can play the content on my Mac and also stream it to my Apple TV? A few years ago, I transferred all of my home videos onto DVD but now would really like to put these onto my Mac and stream them through Apple TV to watch on the "big screen". Any advice would be most welcome!! Thanks

    MPEG Streamclip.
    Apple do not have their "own" format. You need to convert your DVDs to H.264 though.

  • How to download the Dynamic data into PPT format

    Hi Friends,
    I have one doubt on WDJ. How to download the Dynamic data into PPT format. For Example Some Dynamic data is available in to View in that One Download Link or button available. Click on Download link or button download that data into PPT Format
    Is it possible for WDJ. If possible please tell me.
    Or
    How to create Business Graphics in Web Dynpro Applications depening up on Excel Data and finally we can download the  Business Graphics  into powerpoint presentation.
    Thank you,
    Regards
    Vijay Kalluri
    Edited by: KalluriVijay on Mar 11, 2011 6:34 AM

    Hi Govindu,
    1. I have one doubt on WDJ. Click on either Submit Buttion or LinkToURL UI we can download the file that file having ppt formate(Text.PPT).
    I am using NWDS Version: 7.0.09 and Java Version: JDK 1.6
    2. is it possible to download the business Graphics in to the PPT by using Java DynPro
    Regards
    VijayK

  • How to  send ALV output data into Excel sheet format via Mail to the user?

    Hi friends,
    I have a doubt ie,
    How to  send ALV output data into Excel sheet format via Mail to the user?
    regards
    Moosa

    Hi,
    Provide the output internal table to the objbin in the below FM
    Send Message
      CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
           EXPORTING
                document_data              = i_docdata
                put_in_outbox              = c_x
           TABLES
                packing_list               = i_objpack
                object_header              = i_objhead
                contents_bin               = i_objbin
                contents_txt               = i_objtxt
                receivers                  = i_reclist
    and specify the document type
      i_objpack-doc_type   = 'XLS'.
    and try.
    Regards,
    Nandha

  • How to convert Date format into day in ssrs reports?

    Hi
    How to convert date format into day?
    10/01/2010 as like Monday like that?

    =weekdayname(datepart("w",Fields!mydate.Value))
    -Vaibhav Chaudhari

  • How do you imort a .vob video format into I photo or I movie?

    How do you imort a .vob video format into I photo or I movie? I tsays it is not a readable format. can that be changed?

    You need to convert the VOB files in the TS-Folder of the DVD back to DV which iMovie is designed to handle. For that you need mpegStreamclip:
    http://www.squared5.com/svideo/mpeg-streamclip-mac.html
    which is free, but you must also have the  Apple mpeg2 plugin :
    http://www.apple.com/quicktime/mpeg2/
    (unless you are running Lion in which case see below))
    which is a mere $20.
    Another possibility is to use DVDxDV:
    http://www.dvdxdv.com/NewFolderLookSite/Products/DVDxDV.overview.htm
    which costs $25.
    For the benefit of others who may read this thread:
    Obviously the foregoing only applies to DVDs you have made yourself, or other home-made DVDs that have been given to you. It will NOT work on copy-protected commercial DVDs, which in any case would be illegal.
    If you are running Lion:
    From the MPEG Streamclip homepage
    The installer of the MPEG-2 Playback Component may refuse to install the component in Lion. Apple states the component is unnecessary in Lion, however MPEG Streamclip still needs it.
    To install the component in Lion, please download MPEG Streamclip 1.9.3b7 beta above; inside the disk image you will find the Utility MPEG2 Component Lion: use it to install the MPEG-2 Playback Component in Lion. The original installer's disk image (QuickTimeMPEG2.dmg) is required.
    The current versions of MPEG Streamclip cannot take advantage of the built-in MPEG-2 functionality of Lion. For MPEG-2 files you still need to install the QuickTime MPEG-2 Playback Component, which is not preinstalled in Lion. You don't have to install QuickTime 7.

  • In fact it's about mac:excel, how convert in a cell a number written in text format into a value?

    in fact it's about mac:excel8 or 11 in OSX10.7.4,
    how convert in a cell a number written in text format into its value?
    cheers francois

    Hi francois,
    If I copyone of them and do a past special/value, it does not work.
    Try just Paste instead of Paste Special > Value
    I know your question is about Excel, but this works in Numbers:
    Copy 1 234 567 (with spaces) and Paste (not Paste Special) into a Cell in a Numbers Table. The result is 1234567 and it behaves as a number. A formula will consider it to be a number:
    You asked Wayne: what do you mean by "to reference a cell" ??
    The reference is from Cell A2 to Cell A1 through a formula, such as: =A1+1
    Regards,
    Ian.

  • How do you load exs. format files into EXS 24 sampler?

    How do you load EXS24 format files into the EXS24 sampler? the only format I can load directly is aiff and wav. can't find any posts addressing this question? please help

    You don't load them in, you need to put them in:
    *System/users/your user name/library/application support/logic/Sampler instruments*
    Restart Logic if it's running, they will then appear in the EXS library.

  • REFUND/LAWSUIT IN MISLEADING PEOPLE TO BELIEVE HOW SIMPLE TO CONVERT A PDF INTO A DOCX OR XCEL FORMAT

    REFUND/LAWSUIT IN MISLEADING PEOPLE TO BELIEVE HOW SIMPLE TO CONVERT A PDF INTO A DOCX OR XCEL FORMAT?
    I cannot convert the PDF files to Docx or excel, I WOULD LIKE  REFUND, ALL I GOT WAS A COPY OF THE NOTES THAT I SCANNED TO CONVERT THEM AND THEY CAME OUT GARBLED I SPENT OVER 3 HOURS TRYING TO GET THIS THING TO CONVERT BUT IT WAS A PURE WASTE OF MY TIME AND NOW YOU ARE GOING TO TAKE YOUR SWEET TIME GETTING ME A REFUND. YOU TOOK THE MONEY OUT BEFORE I EVEN CHECKED MY ACCOUNT, YOU ARE QUICK TO TAKE AND SLOW TO GIVE BACK, I WILL NOT RECCOMMEND YOU TO ANYONE WHEN IT COMES TO HAVING TO PAY FOR YOUR SERVICES, I WAS BETTER OFF WITH THE BASIC FREE DOWNLOAD AT LEAST THAT WORKS AND MAKES YOU BELIEVE THAT IT CAN DO WANDERS SO SOMEONE LIKE MYSELF AND MILLIONS OF OTHERS DO THE SAME THING BELIEVING IT WILL FORMAT YOUR SCAN INTO AN DOC. DOCX OR EXCELL FORMAT WHEN ALL YOU IS CHARGE AND LEAVE NOWHERE TO LOCATE YOU OR CALL IN A PLACE THAT IS OBVIOUS EVEN OBSCURE SITES HAVE A NUMBER YOU CAN CANCEL IN A LOCATION WHERE IT IS EASILY ACESSIBLE BUT YOU GUYS MAKE IT IMPOSSIBLE TO FIND YOU AND REQUEST A REFUND. YOU SHOULD BE REPORTED AND A CLASS ACTION LAWSUIT SHOULD BE FILED AGAINST YOU FOR THOSE THAT HAVE DIFFICULTY AND SPEND AN EGREGIOUS AMOUNT OF TIME TRYING TO CONVERT THEIR PROGRMAS SO THEY DONT HAVE TO REQUEST A REFUND BUT AFTER SPENINDING 2 DAYA TRYING EVERY METHOD YOU RECOMMEND, I GIVE UP!!!!.
    I AM TOTALLY DISGUSTED WITH YOU AND I HAD APPLAUDED YOU BEFORE AD NOW I KNOW WHY I CANCELLED MY LAST SUBSRIPTION QITH YOU, THE SAME REASON. IF ANY OF YOU AHVE THE SAME PROBLEM FORWARD THIS TO OTHERS AND PUT A STOP TO ADOBES FALSE AND MISLEADING ADVERTISING,!!

    djavan812, The post makes me realize that you did not have a pleasant journey with us. I am sad for this & I apologize profusely.
    Please respond to the private message that I have send you so that I can ease off some of your not so good feeling for Adobe.
    Regards
    Rajshree

  • How do I copy a picture in PDF Format into Picasa

    How do I copy a picture in PDF Format into Picasa

    You can take a snapshot of the picture, which will put it on the clipboard, but I do not know how you will get it into Picassa without another program that can save in a graphics format. What OS are you using? Perhaps it offers a basic graphics program.

Maybe you are looking for

  • Editable and non editable issue in ALV OOPS

    Hi All, After giving the input in selection screen when i execute the report program will display the output in ALV OOOps. Here i need few fields in Editable and some fields are non editbale mode. I can't use Edit  ='X" in fieldcatalog. I refered few

  • Camera roll is showing jpg and I can't access or take pictures - how do i fix this?

    camera roll is showing "jpg" and I can't access or take pictures - how do i fix this?

  • BI Admin. Cockpit 3.0

    Hi Experts, We have installed the tools Bi Admin. cockpit in our Dev. sys and worked fine. Then after we transported to our Prod. sys we have problems in some Templates (check pic). So we activate the specific Templates again but we still getting the

  • Split String at delimiter into table.

    Hi Experts, I have a requirement wherein i need to split aaaa#bbbbbbbbbbbb#ccc#dddddddddddddddddddddd#e# into internal table as below: Header 1 Header 2 1 aaaa 2 bbbbbbbbbbbb 3 ccc 4 dddddddddddddddddddddd 5 e how can this be done. Thanks & Regards,

  • LiveType in FCE4

    Hello All! I'm planning to uninstall the Livetype Version that comes with my FCE4 upgrade and re-install the original LiveType version that comes with my FCE-HD that was released 3 years ago Will this work without problems with Leopard? (OS X 10.5.4)