Question : when i deploy ejb.jar i am getting below exceptions;

when i deploy ejb.jar i am getting below exceptions;

where to to see the log files??where will i find this file EJSRemoteStatelessEmpSessionBean_d816e12f

what is the websphere specific configuration file for EJB?
how does it look like???Is it necessary to write this config file when i deploy ear through admin console.

*********************************
Deploying jar EJB

Generating deployment code

ejbModule/com/xxxx/ejb/sls/EJSRemoteStatelessEmpSessionBean_d816e12f.java(262): Unreachable catch block for ObjectNotFoundException. This exception is never thrown from the try statement body

Shutting down workbench.

Execution Halted: Compilation Errors Reported

1 Errors, 0 Warnings, 0 Informational Messages

Answer : when i deploy ejb.jar i am getting below exceptions;

You can find the logs in <WebSphere home>\AppServer\logs\server1

the websphere specific ejb-binding xmi file is looks like this

<?xml version="1.0" encoding="UTF-8"?>
<ejbbnd:EJBJarBinding xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:ejbbnd="ejbbnd.xmi" xmlns:commonbnd="commonbnd.xmi" xmlns:ejb="ejb.xmi" xmlns:common="common.xmi" xmi:id="EJBJarBinding_1">
  <defaultDatasource xmi:id="ResourceRefBinding_1" jndiName="jdbc/petstore/PetStoreDB">
    <defaultAuth xmi:type="commonbnd:BasicAuthData" xmi:id="BasicAuthData_1"/>
  </defaultDatasource>
  <ejbJar href="META-INF/ejb-jar.xml#ejb-jar_ID"/>
  <ejbBindings xmi:id="Session_1043792212672_Bnd" jndiName="ps/ShoppingControllerEJB">
    <enterpriseBean xmi:type="ejb:Session" href="META-INF/ejb-jar.xml#Session_1043792212672"/>
    <ejbRefBindings xmi:id="EjbRefBinding_1" jndiName="ps/CatalogEJB">
      <bindingEjbRef xmi:type="common:EJBLocalRef" href="META-INF/ejb-jar.xml#EJBLocalRef_1043794166719"/>
    </ejbRefBindings>
    <ejbRefBindings xmi:id="EjbRefBinding_2" jndiName="ps/ShoppingCartEJB">
      <bindingEjbRef xmi:type="common:EJBLocalRef" href="META-INF/ejb-jar.xml#EJBLocalRef_1043794166720"/>
    </ejbRefBindings>
    <ejbRefBindings xmi:id="EjbRefBinding_3" jndiName="ps/ShoppingClientFacadeEJB">
      <bindingEjbRef xmi:type="common:EJBLocalRef" href="META-INF/ejb-jar.xml#EJBLocalRef_1043794166721"/>
    </ejbRefBindings>
    <ejbRefBindings xmi:id="EjbRefBinding_4" jndiName="ps/UniqueIdGeneratorEJB">
      <bindingEjbRef xmi:type="common:EJBLocalRef" href="META-INF/ejb-jar.xml#EJBLocalRef_1043794166722"/>
    </ejbRefBindings>
    <ejbRefBindings xmi:id="EjbRefBinding_5" jndiName="ps/AsyncSenderEJB">
      <bindingEjbRef xmi:type="common:EJBLocalRef" href="META-INF/ejb-jar.xml#EJBLocalRef_1043794166723"/>
    </ejbRefBindings>
    <ejbRefBindings xmi:id="EjbRefBinding_6" jndiName="ps/SignOnEJB">
      <bindingEjbRef xmi:type="common:EJBLocalRef" href="META-INF/ejb-jar.xml#EJBLocalRef_1043794166724"/>
    </ejbRefBindings>
  </ejbBindings>
  <ejbBindings xmi:id="Session_1043792212673_Bnd" jndiName="ps/ShoppingClientFacadeEJB">
    <enterpriseBean xmi:type="ejb:Session" href="META-INF/ejb-jar.xml#Session_1043792212673"/>
    <ejbRefBindings xmi:id="EjbRefBinding_7" jndiName="ps/CustomerEJB">
      <bindingEjbRef xmi:type="common:EJBLocalRef" href="META-INF/ejb-jar.xml#EJBLocalRef_1043794166734"/>
    </ejbRefBindings>
    <ejbRefBindings xmi:id="EjbRefBinding_8" jndiName="ps/ShoppingCartEJB">
      <bindingEjbRef xmi:type="common:EJBLocalRef" href="META-INF/ejb-jar.xml#EJBLocalRef_1043794166735"/>
    </ejbRefBindings>
  </ejbBindings>
  <defaultCMPConnectionFactory xmi:id="CMPConnectionFactoryBinding_1" jndiName="eis/jdbc/petstore/PetStoreDB_CMP" resAuth="Per_Connection_Factory"/>
</ejbbnd:EJBJarBinding>
Random Solutions  
 
programming4us programming4us