Split development env + wlcompile + EJB3

Hi Bea,
in a Weblogic 10 environment using EJB3 annoted stateless session beans in a split development directory structure. The wlcompile ant task does not recognizes the module as EJB module around the EJB3 beans and compiles all of the sources into the APP-INF/classes dir.
The wlappc fails because there are no any EJB module as the application.xml descibes.
thanks forward,
Zsolt

I ended up finding the solution to my own problem, so here it is in case anyone else runs into this problem. Turns out I was missing the file EAR/META-INF/application.xmlThe splitdir example contains a sample file.

Similar Messages

  • Develop/Deploy Adapters/Connectors using split development directories

    BEA documentation says that 8.1 does not support resource adapter split development/deployment
    for writing adapters from scratch. We will be using split directories and writing
    connectors for these. What are our options ? (we would still like to develop and
    deploy ejbs and web applications using the split dev/deployment).

    wlcompile won't recognize them or do anything special. It would just
    compile them into APP-INF/classes. You could just exclude that module
    and compile it yourself if you wanted more control over it.
    wlappc works fine with them, and split-directory should work fine as well.
    -- Rob
    DP wrote:
    BEA documentation says that 8.1 does not support resource adapter split development/deployment
    for writing adapters from scratch. We will be using split directories and writing
    connectors for these. What are our options ? (we would still like to develop and
    deploy ejbs and web applications using the split dev/deployment).

  • Exploded vs. Archived EAR structure (when using split development)

    Using the split development structure suggested in Weblogic 8.1 with wlpackage
    ant task, I noticed that the exploded ear and the archived ear generation creates
    a "flat" deployment structure. i.e. all the files inside the ear hierarchy are
    bundled without any intermediate respective jars.
    Is there a provision to package the ejb modules in one or more jar files when
    building a qa and/or production ear ? Is this possible to accomplish or do I need
    to write separate ant "targets" in the ant script that would manually jar up the
    necessary ejbs. If so, how would this work in conjunction when I have a "ant ear"
    target ?
    I also noticed that the medrec example app has application specific value/dto
    classes bundled in a separate jar file using a build.xml file. My question, when
    running wlcompile at a higher level how does it know NOT to put the value classes
    separately under APP-INF/classes, i.e. why does the build not build/see these
    common value classes twice.
    Thanks for your help!

    DP wrote:
    Using the split development structure suggested in Weblogic 8.1 with wlpackage
    ant task, I noticed that the exploded ear and the archived ear generation creates
    a "flat" deployment structure. i.e. all the files inside the ear hierarchy are
    bundled without any intermediate respective jars.
    Is there a provision to package the ejb modules in one or more jar files when
    building a qa and/or production ear ? Is this possible to accomplish or do I need
    to write separate ant "targets" in the ant script that would manually jar up the
    necessary ejbs. If so, how would this work in conjunction when I have a "ant ear"
    target ? You would have to do this manually. Typically wlpackage would have to
    modify your application.xml to archive the modules. For instance, your
    application.xml probably has uris like myweb, myejb in it now because
    that's how you named your directories. If we archived those, they'd
    become myweb.war and myejb.jar, and the application.xml would need to be
    modified to reflect the new uris.
    It's all possible for us to do, but we ran out of time during 8.1 to get
    this one in.
    >
    I also noticed that the medrec example app has application specific value/dto
    classes bundled in a separate jar file using a build.xml file. My question, when
    running wlcompile at a higher level how does it know NOT to put the value classes
    separately under APP-INF/classes, i.e. why does the build not build/see these
    common value classes twice. I'm not sure I exactly understand your question, but let me explain how
    wlcompile works and see if that answers your question.
    wlcompile looks at each directory under the srcdir and decides whether
    it's an EJB, a webapp, or a java module. It supports an
    includes/excludes list to let you filter those directories.
    Anything that's not recognized as an EJB or webapp is compiled into
    APP-INF/classes.
    -- Rob
    >
    Thanks for your help!

  • SQL Query taking the different time in Production and Development Env.

    Hi All,
    Following is the query which is hitting mainly two tables. SA_ORDER & AC_INVOICE.
    My Production and Development both has same amount of data. But in Development env. it is just taking 5 secs. to execute but in Production Env. its handing.
    I have also execution plans of both env. The difference is in development env. it is showing some view i.e. SYS.VW_NSO_1 which is not getting used in Production env.
    And one more input is in Production Env, I don't have DBA privileges.
    What setting will I have to make to resolve this performance problem in Production Env. ?
    Here is the QUERY:------------
    SELECT distinct A.GL_COMPANY_ID,
    A.CUSTOMER_GROUP_ID,
    A.CUSTOMER_GROUP_NAME,
    A.INVOICE_ID,
    A.ORDER_ID,
    B.ORDER_NAME,
    A.CUSTOMER_ID,
    A.CUSTOMER_NAME,
    c.order_name parent_order_name,
    A.INVOICE_DATE,
    A.DUE_DATE,
    A.TOTAL_INVOICED_AMOUNT,
    A.TOTAL_PAID_AMOUNT,
    A.CREDITED_AMOUNT,
    H.write_off
    from ac_invoice a,
    sa_order b,
    (select parent_invoice_id, sum(total_invoiced_amount) write_off
    from ac_invoice
    where invoice_type_id = 3
    group by parent_invoice_id) H,
    (select order_id, order_name from sa_order where order_type_id in (3)) c
    WHERE a.order_id = b.order_id and a.invoice_id = H.parent_invoice_id(+) and
    b.parent_order_id = c.order_id(+) and
    a.invoice_id NOT IN
    ((SELECT invoice_id
    FROM ac_invoice
    WHERE parent_invoice_id IS NOT NULL AND invoice_type_id != 3)
    UNION
    (SELECT parent_invoice_id
    FROM ac_invoice
    WHERE parent_invoice_id IS NOT NULL AND invoice_type_id != 3)) and
    A.GL_COMPANY_ID = 1 and UPPER(A.customer_name) like upper('%KTLA%')
    and
    invoice_type_id in (1, 3, 4, 5, 2) and a.invoice_status_id = 1
    ORDER BY A.INVOICE_ID

    Please follow the advice in [url http://forums.oracle.com/forums/thread.jspa?threadID=501834&tstart=15]this thread for both your development and production environment.
    Regards,
    Rob.

  • How to use the "split development directory structure" in JBuilder9 ?

    How to use the "split development directory structure" in JBuilder9 ?
    Have /APP-INF supported ?

    I've not used JBuilder much, but if it has ant support, then it should
    be pretty straight-forward.
    -- Rob
    Rick Ni wrote:
    How to use the "split development directory structure" in JBuilder9 ?
    Have /APP-INF supported ?

  • Split Development Directory Setup

    Hi,
    I have not found anywhere in this forum the answer to this question: the "Creating a Split Development Directory Environment " document says that the first step for Using the Split Development Directory Structure (at http://edocs.bea.com/wls/docs103/programming/splitcreate.html#wp1110877) is to "Create the main EAR source directory for your project". Ok. But where? (Is there particular directory in which this main EAR source directory should be created?)

    Kumaran,
    Split-Dir is a new feature in WebLogic Server 8.1. It will not be available
    in previous releases.
    - Nick
    "kumaran" <[email protected]> wrote in message
    news:405fef8a$[email protected]..
    >
    Hi,
    Could you pls tell me whether weblogic6.1 supports split developmentdirectory
    structure

  • Doubt  about Split Development Directory

    I have one domain with one server managed in development mode, I need make available for my programmers, what I do...
    The directory source reside in same machine of server and will be shared between the programmers?
    The deployer will make build of application? Is so that do normally???
    The programmer only develop and deliver to deployer make build or the programmer there is that access my server remote and make build directly for applicatiopn server???
    I need setup a environment of development and need tips...
    Thank you

    Kumaran,
    Split-Dir is a new feature in WebLogic Server 8.1. It will not be available
    in previous releases.
    - Nick
    "kumaran" <[email protected]> wrote in message
    news:405fef8a$[email protected]..
    >
    Hi,
    Could you pls tell me whether weblogic6.1 supports split developmentdirectory
    structure

  • Migration of FR 11.1.2.1 reports from development env to production env

    Hi everybody,
    I have a doubt about the migration of Financial reporting (11.1.2.1 release) reports with LCM.
    I set the permissions access to every single report and folder in the development environment. Now I have to migrate every objects to the production environment with LCM. Does this procedure migrate even the permission accesses to the target environment? Or do I have to set manually the permission accesses in the production environment?
    Thanks
    Pietro.

    Check page number 25 there is a screenshot which is actually your security migration...If you are talking about access control for each object in workspace,then that is done when you actually migrate the reports...
    Edited by: Vivek Chetiaparath on Jun 5, 2012 1:48 PM

  • How to create split development directory environment using Eclipse Galileo

    Hello there!
    Well my question is on the subject... i want to use my Eclipse Galileo IDE to develop applications but i don't know hoe to set the develop structure for that... how can i set the build path? Should i add al the *.jar on weblogic lib?
    I know about Workshop Studio but i don't understand it :_
    If any of you have a tutorial for this it would be great...
    Thanx in advance!

    Hi,
    You can start with this:
    http://docs.oracle.com/cd/E17904_01/doc.1111/e15866/tasks.htm
    Cheers,
    Vlad

  • APEX 5: can not switch the developer env to GERMAN

    Hi,
    After some days dealing with the english version, I installed the German Language pack as mentioned in the Installation Guide with the langDE.sql. If I swich to German on the developer login page, I can run the appliaction, but i can not call any edit page.
    There is only a error message ORA-06502: PL/SQL: numeric or value error: character to number conversion error .
    May be I missed to set a language environment or something like this? Any advices for me, please?

    Hi Norbert,
    thanks for letting us know. The issue is already tracked with bug# 20929652. It's an NLS issue with the Splitter used on different pages. May I ask which OS and Browser you are using?
    To workaround the issue, login with English user interface, go to SQL Workshop -> SQL Commands and execute
    begin
        apex_util.remove_preference( 'F4000_1157687726908338238_SPLITTER_STATE' );
        apex_util.remove_preference( 'F4000_203904827661009901_SPLITTER_STATE' );
        apex_util.remove_preference( 'F4000_203906404237009921_SPLITTER_STATE' );
        apex_util.remove_preference( 'F4500_1157684150404338202_SPLITTER_STATE' );
        apex_util.remove_preference( 'F4500_1157684743709338208_SPLITTER_STATE' );
        apex_util.remove_preference( 'F4500_1157684935965338210_SPLITTER_STATE' );
        apex_util.remove_preference( 'F4500_1157686386582338224_SPLITTER_STATE' );
        commit;
    end;
    to remove the currently used splitter values. Now you can go back to the main page to switch your Builder language to German.
    Regards
    Patrick
    Member of the APEX development team
    My Blog: http://www.inside-oracle-apex.com
    APEX Plug-Ins: http://apex.oracle.com/plugins
    Twitter: http://www.twitter.com/patrickwolf

  • Split Development Directory Structure Examples Package

    Can any body tell me if this example works with workshop?, and it is works how
    can i achive this?
    thanks in advance
    Viviana

    Workshop uses split-dir file structure, but not the build tasks. This is
    because the IDE has a much finer grained notion of build than running ant
    from a shell.
    Cheers
    mbg
    "viviana echeverry" <[email protected]> wrote in message
    news:4006aad1$[email protected]..
    >
    Can any body tell me if this example works with workshop?, and it is workshow
    can i achive this?
    thanks in advance
    Viviana

  • Development Env't for Customization

    Hi, i have successfully installed iFS on an NT box...
    My intention is to customize the front-end
    (web interface)... I needn help with:
    (1) How to setup the development environment?
    (2) What additional products need to be installed to accomplish this..
    Any advise will be highly appreciated!!!
    Thanx...

    Eniba--
    Basically, follow the machine requirements lised in the Installation Guide. If you're sticking strictly with HTTP, however, the memory requirements will be less. The quoted memory requirements in the Installation Guide are for running all protocols simultaneously.
    Was there something else about machine requirements you needed to hear?

  • How to specify ejbgen options using wlcompile ?

    We are using the split development model is WL8.1 are are using ant, specifically
    ant target wlcompile for development. How does one specify for example a valueObjectSuffix
    option for ejbgen, when auto generating value class(es) for CMP Entity Beans ?
    Using ejbgen, the ant snippet below looks somewhat like:
         <doclet name="weblogic.tools.ejbgen.EJBGen">
              <param name="-jndiPrefix" value="......"/>
              <param name="-valueObjectSuffix" value="MyValue"/>
              <param name="-propertyFile" value="..."/>
         </doclet>

    Unfortunately there's not a great integration between wlcompile and
    ejbgen. There is already an enhancement request CR107150 for this one.
    wlcompile only calls EJBGen on files which whose extension is .ejb. If
    yours are .java, then you can just call ejbgen yourself after wlcompile
    completes.
    There's other approaches, (like wrapping the real EJBGen with your own
    version that sets specific options) that would also work but require
    more leg work from you.
    -- Rob
    DP wrote:
    We are using the split development model is WL8.1 are are using ant, specifically
    ant target wlcompile for development. How does one specify for example a valueObjectSuffix
    option for ejbgen, when auto generating value class(es) for CMP Entity Beans ?
    Using ejbgen, the ant snippet below looks somewhat like:
         <doclet name="weblogic.tools.ejbgen.EJBGen">
              <param name="-jndiPrefix" value="......"/>
              <param name="-valueObjectSuffix" value="MyValue"/>
              <param name="-propertyFile" value="..."/>
         </doclet>

  • Deploying portal from development to production server

    Scenario:
    - Development server running OracleAS Standard Edition One.
    - Production server running OracleAS Standard Edition One
    Idea is to develop portal on development server, and, once satisfied and tested, deploy to production server.
    Questions
    1. Is this the right development model? If not, what is the recommended approach?
    2. Would deployment take place via Enterprise Manager? If so, would the development portal have to be turned into an EAR file, and then pulled in to the production server? Or can the two servers be managed within a single instance of Enterprise Manager (on the production server?), and if so, how would the deployment model work?
    Thanks for the input.

    Hi there,
    A1: Yes, I believe so, but will depend actually on what you wish to do.
    A2: Depends how is your application made. I don't think you'll be using EM to make the deployment as this would be a Portal. So you may need to either use the cloning process of the iAS or the RDBMS utilities (where Metalink may help you further depending on the version of the Portal you are in)... or use the Portal Export / Import feature to pass a Page Group from one side to another (this will work only one-way - please refer to the Portal Configuration Guide chapter 10).
    As to the "two servers be managed within a single instance of Enterprise Manager"... why not? You can have two RepCA dbs hooked to the same iAS infrastructure to be managed. If I'd recommend it this way... maybe not... remember that if it will be a Development env and a Production env... I'd recommend them to be really separated (just playing on the safe side... maybe :-) ).
    I hope it helps...
    Cheers,
    Pedro.

  • How do I develop J2EE application in integrated envirenment of WebLogic 8.1 and JBuilder9?

    Now I have 3 questions:
    1. I can not use the EJB's local interface, although I have define local interface
    in config file and query code in the programe perfectly. What additional work
    has I not done;
    2. I have to compile my program into a .jar, .ear or .war file(s) to debug, that
    is a unhandy way, even I change only one line of one page, I have to redeploy
    the whole application package once more. Is there any way else to deal with the
    work? Not a .jar, .war or .ear file(s) in the design time, just one page or class
    file, and I need not deploy and compile the whole application;
    3. If I use the JBuilder9's Run command boot the WebLogic Server, the application
    deploied anteriorly becomes unavailable. But when the WebLogic Server is boot
    from console, everything is O.K.. Any advice?
    Thanks in advance for any help you offer!

    Hey Daniel.
    1. What specific problems are you having? What is your EJB architecture?
    You can find an EJB example that uses Local Interfaces here:
    http://dev2dev.bea.com/codelibrary/code/examples_ejb20.jsp
    Also, our end-to-end sample application called MedRec, found in WebLogic
    Server 8.1, uses Local EJBs.
    2. Not sure which WebLogic server you are running, but 8.1 has the ability
    to deploy ears and wars as exploded applications where non-compiled files
    remain within your source location. This feature eliminates the need to
    jar, war, or ear while also eliminating copying of source code. This
    feature is called Split Development Directory Structure. Split Development
    Directory Structure is accompanied by new Ant tasks to aid in application
    development.
    You can find more on Split Development Directory Structure here:
    http://edocs.bea.com/wls/docs81/programming/environment.html#1092719.
    Ant tasks:
    http://edocs.bea.com/wls/docs81/programming/environment.html#1093779
    An example is here:
    http://dev2dev.bea.com/codelibrary/code/examples_splitdir.jsp
    MedRec also uses the Split Development Directory Structure and Ant tasks.
    3. Dunno. ;-)
    -Chris
    <[email protected]> wrote in message news:[email protected]...
    >
    Now I have 3 questions:
    1. I can not use the EJB's local interface, although I have define localinterface
    in config file and query code in the programe perfectly. What additionalwork
    has I not done;
    2. I have to compile my program into a .jar, .ear or .war file(s) todebug, that
    is a unhandy way, even I change only one line of one page, I have toredeploy
    the whole application package once more. Is there any way else to dealwith the
    work? Not a .jar, .war or .ear file(s) in the design time, just one pageor class
    file, and I need not deploy and compile the whole application;
    3. If I use the JBuilder9's Run command boot the WebLogic Server, theapplication
    deploied anteriorly becomes unavailable. But when the WebLogic Server is boot
    from console, everything is O.K.. Any advice?
    Thanks in advance for any help you offer!

Maybe you are looking for

  • Kernel panic in paticular physical location only

    overview: Mac always crashes with kernel panic in particular physical location, but everywhere else it has never crashed. In an office I recently visited, my Macbook Pro exhibited this behaviour: when starting up, it crashed with a kernel panic (curt

  • Trex6.1 http server service is not running

    Hi all, We installed SR1 with Trex.it worked fine.After that we upgrade to stack11.then Trex http server service is not working.We checked with TrexAdmin.py admin tool it showing red status.We tried all the options which was given in the Q&A of SDN f

  • What the best thing I can do to speed up PS CS5?

    I am running Photoshop CS5 on a Windows 7 Professional 32-bit with the Performance Experience below. The machine is slower than molasses when I edit a 16-bit image (I don't edit in 8-bit mode). It can't even refresh a 100MB image properly. Will upgra

  • IPhoto Back-up strategy

    I would like to back-up my photos to an external hard drive and then delete all but the current years photos on my iMac, in order to free up disk space. Is there a way to just back-up photos by the year they were taken? Right now I have photos back t

  • HT5569 Updated my iPad to iOS 7.0.6 and lost internet connectivity.

    The iPad connects to the router. The router sees the iPad, the iPad sees the router. All other devices on router work and have internet. iPad has no internet activity. Completed restart, reset and not sure what else to do. Issue started immediately a