For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub
- This topic has 2 replies, 3 voices, and was last updated 16 years, 6 months ago by
seb.boudreau@gmail.com.
-
AuthorPosts
-
sarathy_natarajanMemberHi,
I get errors (see bottom) when I try to deploy my EJB 2 compliant EAR onto WebSphere 6.1 server. I suspect that the xdoclet is not generating binding entries in ibm-ejb-jar-bnd.xmi file for the ejbs referenced in the xdoclet. For example, ejb reference as specified by xdoclet:
@ejb.ejb-external-ref ejb-name=”WorkflowService”
view-type=”local”
ref-name=”ejb/WorkflowServiceLocal”
type=”Session”
home=”com.checkfree.pv.service.interfaces.WorkflowServiceHome”
business=”com.checkfree.pv.service.interfaces.WorkflowService”should generate the following entries in ibm-ejb-jar-bnd.xmi file.
<ejbRefBindings xmi:id=”EJBRefBnd_1″ jndiName=”ejb/com/checkfree/pv/service/ejb/WorkflowServiceBean”>
<bindingEjbRef xmi:type=”common:EJBLocalRef” href=”META-INF/ejb-jar.xml#EJBLocalRef_1″/>
</ejbRefBindings>Also, the generated listener port entry in ibm-ejb-jar-bnd.xmi file is always empty that requires to be manually set. I do have xdoclet configuration that includes: Standard EJB for WebSphere.
Is there a any xdoclet configuration that needs to be tweaked to generate the </ejbRefBindings>? Is there a way to specify the JNDI name for these entries with xdoclet tags. Is there a way to specify the listenerport name as a xdoclet tag?
Excerpts from wsadmin.traceout
[6/10/08 16:20:04:019 EDT] 0000000a ArchiveDeploy W ADMA0091E: The resource WEB-INF/ibm-web-bnd.xmi that is defined in URI WEB-INF/ibm-web-bnd.xmi for module PV_WEB.war is not valid. The resource has a cross reference null that cannot be resolved.
[6/10/08 16:20:04:176 EDT] 0000000a AbstractShell E WASX7120E: Diagnostic information from exception with text “com.ibm.ws.scripting.ScriptingException: WASX7109E: Insufficient data for install task “MapEJBRefToEJBADMA0007E: A Validation error occurred in task Mapping EJB references to enterprise beans. The Java Naming and Directory Interface (JNDI) name is not specified for reference binding com_checkfree_pv_CompositeWorkflowSessionHome in module Generated by XDoclet with EJB name CheckWorkFlowReceiverMDB.
ADMA0007E: A Validation error occurred in task Mapping EJB references to enterprise beans. The Java Naming and Directory Interface (JNDI) name is not specified for reference binding ejb/SLAEvaluationServiceLocal in module Generated by XDoclet with EJB name CheckWorkFlowReceiverMDB.
ADMA0007E: A Validation error occurred in task Mapping EJB references to enterprise beans. The Java Naming and Directory Interface (JNDI) name is not specified for reference binding ejb/CorrelationServiceLocal in module Generated by XDoclet with EJB name CheckWorkFlowReceiverMDB.
ADMA0007E: A Validation error occurred in task Mapping EJB references to enterprise beans. The Java Naming and Directory Interface (JNDI) name is not specified for reference binding ejb/DataMappingServiceLocal in module Generated by XDoclet with EJB name CheckWorkFlowReceiverMDB.
ADMA0007E: A Validation error occurred in task Mapping EJB references to enterprise beans. The Java Naming and Directory Interface (JNDI) name is not specified for reference binding ejb/mytest in module Generated by XDoclet with EJB name CheckWorkFlowReceiverMDB.
ADMA0007E: A Validation error occurred in task Mapping EJB references to enterprise beans. The Java Naming and Directory Interface (JNDI) name is not specified for reference binding com_checkfree_pv_CompositeWorkflowSessionHome in module Generated by XDoclet with EJB name PEPLUSWokFlowReceiverMDB.June 11, 2008 at 10:24 am #285793
Loyal WaterMemberWas the project created using MyEclipse? Were you able to start the server without errors before deploy your app?
If you create a brand new project and try deploying it, does the deployment work?
March 24, 2009 at 8:18 am #296618
seb.boudreau@gmail.comMemberI’m getting the same behaviour with Blue 7.1 and an existing MyEclipse project that I want to integrate to Blue
Furthermore, the JNDI name of all my resources like ds, jms, url are empty in the ibm-ejb-jar-bnd.xmi generated by Xdoclet.
Any ideas on this?
-
AuthorPosts