- This topic has 1 reply, 1 voice, and was last updated 18 years, 10 months ago by
DarthTrader.
-
AuthorPosts
-
DarthTraderMemberHi,
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 WorkbenchVersion: 4.1.1 GA
Build id: 20060228-4.1.1-GA*** Eclipse details:
Eclipse SDKVersion: 3.1.1
Build id: M20050929-0840Eclipse Platform
Version: 3.1.1
Build id: M20050929-0840Eclipse RCP
Version: 3.1.1
Build id: M20050929-0840Eclipse Java Development Tools
Version: 3.1.1
Build id: M20050929-0840Eclipse Plug-in Development Environment
Version: 3.1.1
Build id: M20050929-0840Eclipse Project SDK
Version: 3.1.1
Build id: M20050929-0840
DarthTraderMemberWith 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) -
AuthorPosts