facebook

not generating in ibm-web-bnd.xmi

  1. MyEclipse IDE
  2.  > 
  3. Java EE Development (EJB, JSP, Struts, XDoclet, etc.)
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #253422 Reply

    DarthTrader
    Member

    Hi,

    I’m using the mergeDir option for merging welcome-files, struts-action-servlet and ejb-refs especially for Websphere.
    The content of web-ejbrefs.xml is the following:

    
      <ejb-local-ref id="EJBLocalRef_123456789">
        <ejb-ref-name>ejb/HostKonnektorBeanImplLocal</ejb-ref-name>
        <ejb-ref-type>Session</ejb-ref-type>
        <local-home>com.fsp.vda4portal.host.ejb.generated.HostKonnektorBeanImplLocalHome</local-home>
        <local>com.fsp.vda4portal.host.ejb.generated.HostKonnektorBeanLocalImpl</local>
        <ejb-link>Session_HostKonnektorBeanImpl</ejb-link>
      </ejb-local-ref>
    

    When I generate the XDoclet-Build-Process I expect the following code in my

     ibm-web-bnd.xmi
     
      <ejbRefBindings xmi:id="EjbRefBinding_123456789" jndiName="ejb/HostKonnektorBeanImplLocal">
        <bindingEjbRef xmi:type="common:EJBLocalRef" href="WEB-INF/web.xml#EJBLocalRef_123456789"/>
      </ejbRefBindings>
    

    but nothing is generated.

    I already added the webpsphere-task to xdoclet and if I delete the ibm-web-bnd.xmi xdoclet generates a
    new one dureing the next build-process.

    Do I need to specify an ejbRef in a dummy servlet, because I don’t want to overwrite the Struts-ActionServlet.

    Thx in advance
    DT

    *** Date: Tue Jun 13 09:38:19 CEST 2006

    *** System properties:
    OS=WindowsXP
    OS version=5.1
    Java version=1.4.2_09

    *** MyEclipse details:
    MyEclipse Enterprise Workbench

    Version: 4.1.1 GA
    Build id: 20060228-4.1.1-GA

    *** Eclipse details:
    Eclipse SDK

    Version: 3.1.1
    Build id: M20050929-0840

    Eclipse Platform

    Version: 3.1.1
    Build id: M20050929-0840

    Eclipse RCP

    Version: 3.1.1
    Build id: M20050929-0840

    Eclipse Java Development Tools

    Version: 3.1.1
    Build id: M20050929-0840

    Eclipse Plug-in Development Environment

    Version: 3.1.1
    Build id: M20050929-0840

    Eclipse Project SDK

    Version: 3.1.1
    Build id: M20050929-0840

    #253423 Reply

    DarthTrader
    Member

    With the following definitions in a dummy-servlet it works fine and generates the expected code:

    
     * @web.ejb-local-ref name = "ejb/HostKonnektorBeanImplLocal"
     *                    type = "session"
     *                    home = "com.fsp.vda4portal.host.ejb.generated.HostKonnektorBeanImplLocalHome"
     *                   local = "com.fsp.vda4portal.host.ejb.generated.HostKonnektorBeanLocalImpl"
     *                    link = "Session_HostKonnektorBeanImpl"
     *               jndi-name = "HostKonnektorBeanImplLocal" 
    

    But without and only having a mergeDir it doesn’t, any ideas?
    (“useIds” is turned on)

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: not generating in ibm-web-bnd.xmi

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