- For individual users
- Instant access to solutions
- Ask your tech questions
- Start your 30-day Free Trial
Main Topics
Browse All TopicsI am having EJB errors going from RAD 6 to Rad 7. These all compiled and worked properly before the upgrade.
Errors I'm getting if config has JNDI context local:ejb/ in front of JNDI lookup name or with no context infront:
ERROR 2008-06-16 12:37:29,871 {pu1} [WebContainer : 3] CustomerDelegate.placeManu
com.uhc.basics.exceptions.
Root Cause detail
-----------------
com.uhc.basics.j2ee.servic
Root Cause detail
-----------------
javax.naming.NameNotFoundE
at com.uhc.basics.compmgmt.se
at com.uhc.basics.compmgmt.se
Error I'm getting with java:comp/env context in front.
[6/16/08 8:11:13:295 EDT] 00000023 Helpers W NMSV0610I: A NamingException is being thrown from a javax.naming.Context implementation. Details follow:
Context implementation: com.ibm.ws.naming.java.jav
Context method: lookup(Name)
Context name: java:
Target name: comp/env/ManualHoldEJB
Other data: ""
Exception stack trace: com.ibm.websphere.naming.C
My service locator config:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE configuration SYSTEM "http://uhg.uht.com/dtd/co
<configuration name="ServiceLocatorMetaDa
<!-- Start of all the DAO Entries -->
<property key="CustomerDAO" value = "CustomerDAO,DAO"/>
<property key="ProducerDAO" value = "ProducerDAO,DAO"/>
<property key="BasicsUtilsDAO" value = "BasicsUtilsDAO,DAO"/>
<property key="AuditDAO" value = "AuditDAO,DAO"/>
<property key="CalendarDAO" value = "CalendarDAO,DAO"/>
<property key="IssueDAO" value = "IssueDAO,DAO"/>
<property key="InboundDAO" value = "InboundDAO,DAO"/>
<property key="SystemDAO" value = "SystemDAO,DAO"/>
<property key="ManualDepositsDAO" value = "ManualDepositsDAO,DAO"/>
<property key="PaymentDAO" value = "PaymentDAO,DAO"/>
<!-- End of all DAO Entries -->
<!-- Start of all EJB Entries -->
<property key="ManualHoldHome" value = "ManualHoldEJB.ejbHomeName
<property key="ManualHoldHome.ejbHom
<property key="CustomerOverrideHome"
<property key="CustomerOverrideHome.
<property key="CustomerAORHome" value= "CustomerAOREJB.ejbHomeNam
<property key="CustomerAORHome.ejbHo
<property key="ProducerGarnishmentHo
<property key="ProducerGarnishmentHo
<property key="KARatesHome" value = "KARatesEJB.ejbHomeName,EJ
<property key="KARatesHome.ejbHomePa
<property key="CustomerBaseHome" value= "CustomerBaseEJB.ejbHomeNa
<property key="CustomerBaseHome.ejbH
<property key="IssueHandlingHome" value = "IssueHandlingEJB.ejbHomeN
<property key="IssueHandlingHome.ejb
<property key="CustomerHome" value = "CustomerEJB.ejbHomeName,E
<property key="CustomerHome.ejbHomeP
<!-- End of all EJB entries -->
<!-- These are the entries that are related to meta data required by the ServiceLocator-->
<!-- for server deployments, the following lines are not required for an EJB lookup -->
<!-- <property key="nameService" value = "com.ibm.websphere.naming.
<!-- <property key="providerUrl" value = "iiop:///"/> -->
<!-- End of all meta data entries -->
<!-- Admin App UI config-->
<property key="ITDashboardDAO" value = "ITDashboardDAO,DAO"/>
<property key="AdminUIDAO" value = "AdminUIDAO,DAO"/>
</configuration>
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Business Accounts
Answer for Membership
by: NelliosPosted on 2008-06-18 at 00:01:43ID: 21810650
Stick with " java:comp/env/ManualHoldEJ B" approach.
Check that all needed classes exist in the jar and review/validate your descriptor.