facebook

Unable to Create Enterprise Application Project

  1. MyEclipse Archived
  2.  > 
  3. Application Servers and Deployment
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #220526 Reply

    sdarko
    Member

    Hi,

    I am running MyEclipse version 3.8.2 on Windows 2000 platform with BEA WebLogic 8.1 SP3
    Application Server. In the documentation, Developing WebLogic Server Applications, it
    describes the gudelines for setting up “Split Development Directory” structure. In a Split
    Development Directory structure, the top level of the source directory always represent an
    Enterprise Application (.ear file). The subdirectories beneath the top level soruce directory
    contain: Enterprise Application Modules(EJBs, Web Applications).

    How do I setup an Enterprise Application project with MyEclipse according to the guidelines
    described above?

    Using the new project wizard in MyEclipse, I tried to set up an enterprise application project,
    helloWorldEar. I saved this project in a top level directory, c:/HelloWorldEar. The web module
    helloWorldEarWeb was saved in subdirectory, c:/HelloWorldEar/HelloWorldWeb. Also I saved the
    EJB module, helloWorldEarEJB in a subdirectory, c:/HelloWorldEar/HelloWorldEJB.

    However at the end of the project creation process, I had the following error message:
    Unable to Create Enterprise Application Project
    Reason: Invalid Project Description.
    Further detail explanation says that c:/HelloWorldEar and c:/HelloWorldEar/HelloWorldEJB
    overlap
    .

    Although the Enterprise Application Project was not created, the Web and EJB modules were
    created as separate projects.

    I appreciate any help I can get. Thanks a lot
    sdarko

    #220528 Reply

    Riyad Kalla
    Member

    sdarko,
    The way this paradigm would map to MyEclipse is to do the following:

    1) Create a new “Web Project” for each web application that your app consists of.
    2) Create 1 or more “EJB Project”s for each EJB or sets of EJBs that your app conists of
    3) Create a single Enterprise APplication Project that sets the Web Projects and EJB Projects all as modules of itself.

    Now at deployment time, MyEclipse will pull up all the modules into the EAP, package it, and deploy it for you.

    #220555 Reply

    sdarko
    Member

    Riyad, thanks a lot; I will give it a try and let you know when I am successful.

    sdarko

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: Unable to Create Enterprise Application Project

You must be logged in to post in the forum log in