users@glassfish.java.net

Re: javax.naming.NameNotFoundException: UserManager not ...

From: <forums_at_java.net>
Date: Thu, 7 Jul 2011 02:10:19 -0500 (CDT)

forgot ejb xml below is the details

 


<?xml version="1.0" encoding="UTF-8"?>

<ejb-jar>

<description><![CDATA[Sawfish(MyTasks) EJBs]]></description>

<display-name>MyTasksEJBs</display-name>

<enterprise-beans>

<!-- Session Beans -->

<session>

<description><![CDATA[MyTasks UserManager Session EJB]]></description>

<display-name>UserManagerEJB</display-name>

<ejb-name>UserManager</ejb-name>

<home>com.gehc.sf.user.ejb.UserManagerHome</home>

<remote>com.gehc.sf.user.ejb.UserManager</remote>

<local-home>com.gehc.sf.user.ejb.UserManagerLocalHome</local-home>

<local>com.gehc.sf.user.ejb.UserManagerLocal</local>

<ejb-class>com.gehc.sf.user.ejb.UserManagerEJB</ejb-class>

<session-type>Stateless</session-type>

<transaction-type>Container</transaction-type>

</session>

<session>

<description><![CDATA[MyTasks AdminManager Session EJB]]></description>

<display-name>AdminManagerEJB</display-name>

<ejb-name>AdminManager</ejb-name>

<home>com.gehc.sf.admin.ejb.AdminManagerHome</home>

<remote>com.gehc.sf.admin.ejb.AdminManager</remote>

<local-home>com.gehc.sf.admin.ejb.AdminManagerLocalHome</local-home>

<local>com.gehc.sf.admin.ejb.AdminManagerLocal</local>

<ejb-class>com.gehc.sf.admin.ejb.AdminManagerEJB</ejb-class>

<session-type>Stateless</session-type>

<transaction-type>Container</transaction-type>

</session>

<session>

<description><![CDATA[MyTasks TaskManager Session EJB]]></description>

<display-name>TaskManagerEJB</display-name>

<ejb-name>TaskManager</ejb-name>

<home>com.gehc.sf.task.ejb.TaskManagerHome</home>

<remote>com.gehc.sf.task.ejb.TaskManager</remote>

<local-home>com.gehc.sf.task.ejb.TaskManagerLocalHome</local-home>

<local>com.gehc.sf.task.ejb.TaskManagerLocal</local>

<ejb-class>com.gehc.sf.task.ejb.TaskManagerEJB</ejb-class>

<session-type>Stateless</session-type>

<transaction-type>Container</transaction-type>

</session>

<session>

<description><![CDATA[MyTasks WorklistManager Session EJB]]></description>

<display-name>WorklistManagerEJB</display-name>

<ejb-name>WorklistManager</ejb-name>

<home>com.gehc.sf.worklist.ejb.WorklistManagerHome</home>

<remote>com.gehc.sf.worklist.ejb.WorklistManager</remote>

<local-home>com.gehc.sf.worklist.ejb.WorklistManagerLocalHome</local-home>

<local>com.gehc.sf.worklist.ejb.WorklistManagerLocal</local>

<ejb-class>com.gehc.sf.worklist.ejb.WorklistManagerEJB</ejb-class>

<session-type>Stateless</session-type>

<transaction-type>Container</transaction-type>

</session>

<!-- Entity Beans -->

<!-- Message Driven Beans -->

</enterprise-beans>

<!-- Relationships -->

<!-- Assembly Descriptor -->

<assembly-descriptor>

<!-- method permissions -->

<!-- finder permissions -->

<!-- transactions -->

<container-transaction>

<method>

<ejb-name>UserManager</ejb-name>

<method-intf>Local</method-intf>

<method-name>createUser</method-name>

<method-params>

<method-param>com.gehc.sf.dto.SfUser</method-param>

</method-params>

</method>

<trans-attribute>Required</trans-attribute>

</container-transaction>

<container-transaction>

<method>

<ejb-name>UserManager</ejb-name>

<method-intf>Remote</method-intf>

<method-name>createUser</method-name>

<method-params>

<method-param>com.gehc.sf.dto.SfUser</method-param>

</method-params>

</method>

<trans-attribute>Required</trans-attribute>

</container-transaction>

<container-transaction>

<method>

<ejb-name>UserManager</ejb-name>

<method-intf>Local</method-intf>

<method-name>modifyUser</method-name>

<method-params>

<method-param>com.gehc.sf.dto.SfUser</method-param>

</method-params>

</method>

<trans-attribute>Required</trans-attribute>

</container-transaction>

<container-transaction>

<method>

<ejb-name>UserManager</ejb-name>

<method-intf>Remote</method-intf>

<method-name>modifyUser</method-name>

<method-params>

<method-param>com.gehc.sf.dto.SfUser</method-param>

</method-params>

</method>

<trans-attribute>Required</trans-attribute>

</container-transaction>

<container-transaction>

<method>

<ejb-name>UserManager</ejb-name>

<method-intf>Local</method-intf>

<method-name>modifyUserAppColumn</method-name>

<method-params>

<method-param>com.gehc.sf.dto.SfUserAppColumn</method-param>

</method-params>

</method>

<trans-attribute>Required</trans-attribute>

</container-transaction>

<container-transaction>

<method>

<ejb-name>UserManager</ejb-name>

<method-intf>Remote</method-intf>

<method-name>modifyUserAppColumn</method-name>

<method-params>

<method-param>com.gehc.sf.dto.SfUserAppColumn</method-param>

</method-params>

</method>

<trans-attribute>Required</trans-attribute>

</container-transaction>

<container-transaction>

<method>

<ejb-name>UserManager</ejb-name>

<method-intf>Local</method-intf>

<method-name>removeUser</method-name>

<method-params>

<method-param>com.gehc.sf.dto.SfUser</method-param>

</method-params>

</method>

<trans-attribute>Required</trans-attribute>

</container-transaction>

<container-transaction>

<method>

<ejb-name>UserManager</ejb-name>

<method-intf>Remote</method-intf>

<method-name>removeUser</method-name>

<method-params>

<method-param>com.gehc.sf.dto.SfUser</method-param>

</method-params>

</method>

<trans-attribute>Required</trans-attribute>

</container-transaction>

<container-transaction>

<method>

<ejb-name>UserManager</ejb-name>

<method-intf>Local</method-intf>

<method-name>getUserBySsoId</method-name>

<method-params>

<method-param>java.lang.String</method-param>

</method-params>

</method>

<trans-attribute>Supports</trans-attribute>

</container-transaction>

<container-transaction>

<method>

<ejb-name>UserManager</ejb-name>

<method-intf>Remote</method-intf>

<method-name>getUserBySsoId</method-name>

<method-params>

<method-param>java.lang.String</method-param>

</method-params>

</method>

<trans-attribute>Supports</trans-attribute>

</container-transaction>

<container-transaction>

<method>

<ejb-name>UserManager</ejb-name>

<method-intf>Local</method-intf>

<method-name>getUserById</method-name>

<method-params>

<method-param>java.lang.Long</method-param>

</method-params>

</method>

<trans-attribute>Supports</trans-attribute>

</container-transaction>

<container-transaction>

<method>

<ejb-name>UserManager</ejb-name>

<method-intf>Remote</method-intf>

<method-name>getUserById</method-name>

<method-params>

<method-param>java.lang.Long</method-param>

</method-params>

</method>

<trans-attribute>Supports</trans-attribute>

</container-transaction>

<container-transaction>

<method>

<ejb-name>AdminManager</ejb-name>

<method-intf>Local</method-intf>

<method-name>createApp</method-name>

<method-params>

<method-param>com.gehc.sf.dto.SfApplication</method-param>

</method-params>

</method>

<trans-attribute>Required</trans-attribute>

</container-transaction>

<container-transaction>

<method>

<ejb-name>AdminManager</ejb-name>

<method-intf>Remote</method-intf>

<method-name>createApp</method-name>

<method-params>

<method-param>com.gehc.sf.dto.SfApplication</method-param>

</method-params>

</method>

<trans-attribute>Required</trans-attribute>

</container-transaction>

<container-transaction>

<method>

<ejb-name>AdminManager</ejb-name>

<method-intf>Local</method-intf>

<method-name>modifyApp</method-name>

<method-params>

<method-param>com.gehc.sf.dto.SfApplication</method-param>

</method-params>

</method>

<trans-attribute>Required</trans-attribute>

</container-transaction>

<container-transaction>

<method>

<ejb-name>AdminManager</ejb-name>

<method-intf>Remote</method-intf>

<method-name>modifyApp</method-name>

<method-params>

<method-param>com.gehc.sf.dto.SfApplication</method-param>

</method-params>

</method>

<trans-attribute>Required</trans-attribute>

</container-transaction>

<container-transaction>

<method>

<ejb-name>AdminManager</ejb-name>

<method-intf>Local</method-intf>

<method-name>getApps</method-name>

<method-params></method-params>

</method>

<trans-attribute>Supports</trans-attribute>

</container-transaction>

<container-transaction>

<method>

<ejb-name>AdminManager</ejb-name>

<method-intf>Remote</method-intf>

<method-name>getApps</method-name>

<method-params></method-params>

</method>

<trans-attribute>Supports</trans-attribute>

</container-transaction>

<container-transaction>

<method>

<ejb-name>AdminManager</ejb-name>

<method-intf>Local</method-intf>

<method-name>getAppDetails</method-name>

<method-params>

<method-param>java.lang.Long</method-param>

</method-params>

</method>

<trans-attribute>Supports</trans-attribute>

</container-transaction>

<container-transaction>

<method>

<ejb-name>AdminManager</ejb-name>

<method-intf>Remote</method-intf>

<method-name>getAppDetails</method-name>

<method-params>

<method-param>java.lang.Long</method-param>

</method-params>

</method>

<trans-attribute>Supports</trans-attribute>

</container-transaction>

<container-transaction>

<method>

<ejb-name>AdminManager</ejb-name>

<method-intf>Local</method-intf>

<method-name>getAppsForUser</method-name>

<method-params>

<method-param>com.gehc.sf.dto.SfUser</method-param>

</method-params>

</method>

<trans-attribute>Supports</trans-attribute>

</container-transaction>

<container-transaction>

<method>

<ejb-name>AdminManager</ejb-name>

<method-intf>Remote</method-intf>

<method-name>getAppsForUser</method-name>

<method-params>

<method-param>com.gehc.sf.dto.SfUser</method-param>

</method-params>

</method>

<trans-attribute>Supports</trans-attribute>

</container-transaction>

<container-transaction>

<method>

<ejb-name>AdminManager</ejb-name>

<method-intf>Local</method-intf>

<method-name>getColumnForApp</method-name>

<method-params>

<method-param>java.lang.Long</method-param>

</method-params>

</method>

<trans-attribute>Supports</trans-attribute>

</container-transaction>

<container-transaction>

<method>

<ejb-name>AdminManager</ejb-name>

<method-intf>Remote</method-intf>

<method-name>getColumnForApp</method-name>

<method-params>

<method-param>java.lang.Long</method-param>

</method-params>

</method>

<trans-attribute>Supports</trans-attribute>

</container-transaction>

<container-transaction>

<method>

<ejb-name>AdminManager</ejb-name>

<method-intf>Local</method-intf>

<method-name>getColumnTypes</method-name>

<method-params></method-params>

</method>

<trans-attribute>Supports</trans-attribute>

</container-transaction>

<container-transaction>

<method>

<ejb-name>AdminManager</ejb-name>

<method-intf>Remote</method-intf>

<method-name>getColumnTypes</method-name>

<method-params></method-params>

</method>

<trans-attribute>Supports</trans-attribute>

</container-transaction>

<container-transaction>

<method>

<ejb-name>AdminManager</ejb-name>

<method-intf>Local</method-intf>

<method-name>disableApp</method-name>

<method-params>

<method-param>java.lang.Long</method-param>

</method-params>

</method>

<trans-attribute>Required</trans-attribute>

</container-transaction>

<container-transaction>

<method>

<ejb-name>AdminManager</ejb-name>

<method-intf>Remote</method-intf>

<method-name>disableApp</method-name>

<method-params>

<method-param>java.lang.Long</method-param>

</method-params>

</method>

<trans-attribute>Required</trans-attribute>

</container-transaction>

<container-transaction>

<method>

<ejb-name>AdminManager</ejb-name>

<method-intf>Local</method-intf>

<method-name>enableApp</method-name>

<method-params>

<method-param>java.lang.Long</method-param>

</method-params>

</method>

<trans-attribute>Required</trans-attribute>

</container-transaction>

<container-transaction>

<method>

<ejb-name>AdminManager</ejb-name>

<method-intf>Remote</method-intf>

<method-name>enableApp</method-name>

<method-params>

<method-param>java.lang.Long</method-param>

</method-params>

</method>

<trans-attribute>Required</trans-attribute>

</container-transaction>

<container-transaction>

<method>

<ejb-name>AdminManager</ejb-name>

<method-intf>Local</method-intf>

<method-name>addAppColumn</method-name>

<method-params>

<method-param>com.gehc.sf.dto.SfAppColumn</method-param>

<method-param>java.lang.String</method-param>

<method-param>java.lang.String</method-param>

</method-params>

</method>

<trans-attribute>Required</trans-attribute>

</container-transaction>

<container-transaction>

<method>

<ejb-name>AdminManager</ejb-name>

<method-intf>Remote</method-intf>

<method-name>addAppColumn</method-name>

<method-params>

<method-param>com.gehc.sf.dto.SfAppColumn</method-param>

<method-param>java.lang.String</method-param>

<method-param>java.lang.String</method-param>

</method-params>

</method>

<trans-attribute>Required</trans-attribute>

</container-transaction>

<container-transaction>

<method>

<ejb-name>AdminManager</ejb-name>

<method-intf>Local</method-intf>

<method-name>disableAppColumn</method-name>

<method-params>

<method-param>java.lang.Long</method-param>

</method-params>

</method>

<trans-attribute>Required</trans-attribute>

</container-transaction>

<container-transaction>

<method>

<ejb-name>AdminManager</ejb-name>

<method-intf>Remote</method-intf>

<method-name>disableAppColumn</method-name>

<method-params>

<method-param>java.lang.Long</method-param>

</method-params>

</method>

<trans-attribute>Required</trans-attribute>

</container-transaction>

<container-transaction>

<method>

<ejb-name>AdminManager</ejb-name>

<method-intf>Local</method-intf>

<method-name>enableAppColumn</method-name>

<method-params>

<method-param>java.lang.Long</method-param>

</method-params>

</method>

<trans-attribute>Required</trans-attribute>

</container-transaction>

<container-transaction>

<method>

<ejb-name>AdminManager</ejb-name>

<method-intf>Remote</method-intf>

<method-name>enableAppColumn</method-name>

<method-params>

<method-param>java.lang.Long</method-param>

</method-params>

</method>

<trans-attribute>Required</trans-attribute>

</container-transaction>

<container-transaction>

<method>

<ejb-name>AdminManager</ejb-name>

<method-intf>Local</method-intf>

<method-name>getTasksForApp</method-name>

<method-params>

<method-param>java.lang.Long</method-param>

<method-param>int</method-param>

</method-params>

</method>

<trans-attribute>Supports</trans-attribute>

</container-transaction>

<container-transaction>

<method>

<ejb-name>AdminManager</ejb-name>

<method-intf>Remote</method-intf>

<method-name>getTasksForApp</method-name>

<method-params>

<method-param>java.lang.Long</method-param>

<method-param>int</method-param>

</method-params>

</method>

<trans-attribute>Supports</trans-attribute>

</container-transaction>

<container-transaction>

<method>

<ejb-name>AdminManager</ejb-name>

<method-intf>Local</method-intf>

<method-name>deleteTaskForApp</method-name>

<method-params>

<method-param>java.lang.Long[]</method-param>

</method-params>

</method>

<trans-attribute>Required</trans-attribute>

</container-transaction>

<container-transaction>

<method>

<ejb-name>AdminManager</ejb-name>

<method-intf>Remote</method-intf>

<method-name>deleteTaskForApp</method-name>

<method-params>

<method-param>java.lang.Long[]</method-param>

</method-params>

</method>

<trans-attribute>Required</trans-attribute>

</container-transaction>

<container-transaction>

<method>

<ejb-name>AdminManager</ejb-name>

<method-intf>Local</method-intf>

<method-name>getTableDetails</method-name>

<method-params>

<method-param>java.lang.String</method-param>

</method-params>

</method>

<trans-attribute>Supports</trans-attribute>

</container-transaction>

<container-transaction>

<method>

<ejb-name>AdminManager</ejb-name>

<method-intf>Remote</method-intf>

<method-name>getTableDetails</method-name>

<method-params>

<method-param>java.lang.String</method-param>

</method-params>

</method>

<trans-attribute>Supports</trans-attribute>

</container-transaction>

<container-transaction>

<method>

<ejb-name>AdminManager</ejb-name>

<method-intf>Local</method-intf>

<method-name>addMasterRecord</method-name>

<method-params>

<method-param>java.lang.String</method-param>

<method-param>java.lang.String</method-param>

<method-param>java.lang.String</method-param>

</method-params>

</method>

<trans-attribute>Required</trans-attribute>

</container-transaction>

<container-transaction>

<method>

<ejb-name>AdminManager</ejb-name>

<method-intf>Remote</method-intf>

<method-name>addMasterRecord</method-name>

<method-params>

<method-param>java.lang.String</method-param>

<method-param>java.lang.String</method-param>

<method-param>java.lang.String</method-param>

</method-params>

</method>

<trans-attribute>Required</trans-attribute>

</container-transaction>

<container-transaction>

<method>

<ejb-name>AdminManager</ejb-name>

<method-intf>Local</method-intf>

<method-name>modifyMasterTable</method-name>

<method-params>

<method-param>java.lang.String</method-param>

<method-param>java.lang.String</method-param>

<method-param>java.lang.String</method-param>

<method-param>java.lang.String</method-param>

</method-params>

</method>

<trans-attribute>Required</trans-attribute>

</container-transaction>

<container-transaction>

<method>

<ejb-name>AdminManager</ejb-name>

<method-intf>Remote</method-intf>

<method-name>modifyMasterTable</method-name>

<method-params>

<method-param>java.lang.String</method-param>

<method-param>java.lang.String</method-param>

<method-param>java.lang.String</method-param>

<method-param>java.lang.String</method-param>

</method-params>

</method>

<trans-attribute>Required</trans-attribute>

</container-transaction>

<container-transaction>

<method>

<ejb-name>AdminManager</ejb-name>

<method-intf>Local</method-intf>

<method-name>enableMasterRecord</method-name>

<method-params>

<method-param>java.lang.String</method-param>

<method-param>java.lang.String</method-param>

<method-param>java.lang.String</method-param>

</method-params>

</method>

<trans-attribute>Required</trans-attribute>

</container-transaction>

<container-transaction>

<method>

<ejb-name>AdminManager</ejb-name>

<method-intf>Remote</method-intf>

<method-name>enableMasterRecord</method-name>

<method-params>

<method-param>java.lang.String</method-param>

<method-param>java.lang.String</method-param>

<method-param>java.lang.String</method-param>

</method-params>

</method>

<trans-attribute>Required</trans-attribute>

</container-transaction>

<container-transaction>

<method>

<ejb-name>AdminManager</ejb-name>

<method-intf>Local</method-intf>

<method-name>disableMasterRecord</method-name>

<method-params>

<method-param>java.lang.String</method-param>

<method-param>java.lang.String</method-param>

<method-param>java.lang.String</method-param>

</method-params>

</method>

<trans-attribute>Required</trans-attribute>

</container-transaction>

<container-transaction>

<method>

<ejb-name>AdminManager</ejb-name>

<method-intf>Remote</method-intf>

<method-name>disableMasterRecord</method-name>

<method-params>

<method-param>java.lang.String</method-param>

<method-param>java.lang.String</method-param>

<method-param>java.lang.String</method-param>

</method-params>

</method>

<trans-attribute>Required</trans-attribute>

</container-transaction>

<container-transaction>

<method>

<ejb-name>TaskManager</ejb-name>

<method-intf>Local</method-intf>

<method-name>createTask</method-name>

<method-params>

<method-param>java.lang.String</method-param>

</method-params>

</method>

<trans-attribute>Required</trans-attribute>

</container-transaction>

<container-transaction>

<method>

<ejb-name>TaskManager</ejb-name>

<method-intf>Remote</method-intf>

<method-name>createTask</method-name>

<method-params>

<method-param>java.lang.String</method-param>

</method-params>

</method>

<trans-attribute>Required</trans-attribute>

</container-transaction>

<container-transaction>

<method>

<ejb-name>TaskManager</ejb-name>

<method-intf>Local</method-intf>

<method-name>archiveTask</method-name>

<method-params>

<method-param>java.lang.String</method-param>

<method-param>java.lang.Long</method-param>

</method-params>

</method>

<trans-attribute>Required</trans-attribute>

</container-transaction>

<container-transaction>

<method>

<ejb-name>TaskManager</ejb-name>

<method-intf>Remote</method-intf>

<method-name>archiveTask</method-name>

<method-params>

<method-param>java.lang.String</method-param>

<method-param>java.lang.Long</method-param>

</method-params>

</method>

<trans-attribute>Required</trans-attribute>

</container-transaction>

<container-transaction>

<method>

<ejb-name>WorklistManager</ejb-name>

<method-intf>Local</method-intf>

<method-name>getMyItgTasks</method-name>

<method-params>

<method-param>com.gehc.sf.dto.SfUser</method-param>

</method-params>

</method>

<trans-attribute>Supports</trans-attribute>

</container-transaction>

<container-transaction>

<method>

<ejb-name>WorklistManager</ejb-name>

<method-intf>Remote</method-intf>

<method-name>getMyItgTasks</method-name>

<method-params>

<method-param>com.gehc.sf.dto.SfUser</method-param>

</method-params>

</method>

<trans-attribute>Supports</trans-attribute>

</container-transaction>

<container-transaction>

<method>

<ejb-name>WorklistManager</ejb-name>

<method-intf>Local</method-intf>

<method-name>getRefreshedView</method-name>

<method-params>

<method-param>com.gehc.sf.dto.SfUser</method-param>

</method-params>

</method>

<trans-attribute>Supports</trans-attribute>

</container-transaction>

<container-transaction>

<method>

<ejb-name>WorklistManager</ejb-name>

<method-intf>Remote</method-intf>

<method-name>getRefreshedView</method-name>

<method-params>

<method-param>com.gehc.sf.dto.SfUser</method-param>

</method-params>

</method>

<trans-attribute>Supports</trans-attribute>

</container-transaction>

<container-transaction>

<method>

<ejb-name>WorklistManager</ejb-name>

<method-intf>Local</method-intf>

<method-name>getWorklistView</method-name>

<method-params>

<method-param>com.gehc.sf.dto.SfUser</method-param>

</method-params>

</method>

<trans-attribute>Supports</trans-attribute>

</container-transaction>

<container-transaction>

<method>

<ejb-name>WorklistManager</ejb-name>

<method-intf>Remote</method-intf>

<method-name>getWorklistView</method-name>

<method-params>

<method-param>com.gehc.sf.dto.SfUser</method-param>

</method-params>

</method>

<trans-attribute>Supports</trans-attribute>

</container-transaction>

<container-transaction>

<method>

<ejb-name>WorklistManager</ejb-name>

<method-intf>Local</method-intf>

<method-name>saveWorklistView</method-name>

<method-params>

<method-param>com.gehc.sf.dto.Row[]</method-param>

<method-param>com.gehc.sf.dto.SfUser</method-param>

</method-params>

</method>

<trans-attribute>Required</trans-attribute>

</container-transaction>

<container-transaction>

<method>

<ejb-name>WorklistManager</ejb-name>

<method-intf>Remote</method-intf>

<method-name>saveWorklistView</method-name>

<method-params>

<method-param>com.gehc.sf.dto.Row[]</method-param>

<method-param>com.gehc.sf.dto.SfUser</method-param>

</method-params>

</method>

<trans-attribute>Required</trans-attribute>

</container-transaction>

<container-transaction>

<method>

<ejb-name>WorklistManager</ejb-name>

<method-intf>Local</method-intf>

<method-name>getTaskDetails</method-name>

<method-params>

<method-param>java.lang.Long</method-param>

</method-params>

</method>

<trans-attribute>Supports</trans-attribute>

</container-transaction>

<container-transaction>

<method>

<ejb-name>WorklistManager</ejb-name>

<method-intf>Remote</method-intf>

<method-name>getTaskDetails</method-name>

<method-params>

<method-param>java.lang.Long</method-param>

</method-params>

</method>

<trans-attribute>Supports</trans-attribute>

</container-transaction>

</assembly-descriptor>

</ejb-jar>


--
[Message sent by forum member 'gtulasidhar']
View Post: http://forums.java.net/node/819040