geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kamalanathan Raman" <Kamalanathan_Ra...@infosys.com>
Subject NameNotFoundException -Reg
Date Thu, 04 Jan 2007 14:53:54 GMT

Kevan ,



Thanks kevan , now my application is running , the jars inside the
Web-inf/lib was corrupt , got it rectified . But now iam getting this
error



19:35:23,546 ERROR [ServiceLocator] Fail to find EJB home for
java:comp/env/ejb/TransactionSession

javax.naming.NameNotFoundException: Could not resolve abstract name
query
[Deploy_Lockbox/wlbxbiz/rc/?name=TransactionSessionEJB#org.openejb.EJBCo
ntainer] in configuration default/wlbxapp.ear/1167919492953/ear

      at
org.openejb.proxy.EJBProxyReference.getEJBProxyFactory(EJBProxyReference
.java:111)

      at
org.openejb.proxy.EJBProxyReference.getContent(EJBProxyReference.java:90
)

      at
org.apache.geronimo.naming.enc.CachingReference.resolveReference(Caching
Reference.java:55)

      at
org.apache.geronimo.naming.enc.CachingReference.get(CachingReference.jav
a:45)

      at
org.apache.geronimo.naming.enc.AbstractReadOnlyContext.lookup(AbstractRe
adOnlyContext.java:86)

      at
org.apache.geronimo.naming.java.RootContext.lookup(RootContext.java:51)

      at javax.naming.InitialContext.lookup(Unknown Source)

      at
com.symcor.wlbx.util.ServiceLocator.getHome(ServiceLocator.java:163)

      at
com.symcor.wlbx.web.servlet.ReportServlet.initializeResourceLookups(Repo
rtServlet.java:907)

      at
com.symcor.wlbx.web.servlet.ReportServlet.init(ReportServlet.java:668)

      at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.jav
a:1105)

      at
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:932)

      at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.j
ava:3915)

      at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4176
)

      at
org.apache.geronimo.tomcat.GeronimoStandardContext.access$201(GeronimoSt
andardContext.java:67)

      at
org.apache.geronimo.tomcat.GeronimoStandardContext$SystemMethodValve.inv
oke(GeronimoStandardContext.java:337)

      at
org.apache.geronimo.tomcat.valve.GeronimoBeforeAfterValve.invoke(Geronim
oBeforeAfterValve.java:31)

      at
org.apache.geronimo.tomcat.GeronimoStandardContext.start(GeronimoStandar
dContext.java:192)

      at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.ja
va:759)



I have one query , like iam using home and remote interface to refer to
another EJB . So how shud I put the references in geronimo-web.xml. I
have attached web.xml



<ejb-ref id="EjbRef_3">

        <ejb-ref-name>ejb/TransactionSession</ejb-ref-name>

        <ejb-ref-type>Session</ejb-ref-type>


<home>com.symcor.wlbx.biz.ejb.transaction.TransactionSessionHome</home>


<remote>com.symcor.wlbx.biz.ejb.transaction.TransactionSession</remote>

   </ejb-ref>



How should I add the references in Geronimo-web.xml . Currently iam
adding the EJB jars in the repository and referring to it by this way



      <ejb-ref>

            <ref-name>ejb/TransactionSession</ref-name>

            <pattern>

                  <groupId>Deploy_Lockbox</groupId>

                  <artifactId>wlbxbiz</artifactId>

                  <version>rc</version>

                  <name>TransactionSessionEJB</name>

            </pattern>

      </ejb-ref>



What is the correct way to go about it. If I don`t do this iam getting "
Could not find EJB for reference ejb/AuthenticateSession having home
interface ...and remote interface...."



Can u help me out in this regard.



Thanks and Regards,

Kamal





**************** CAUTION - Disclaimer *****************
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely for the use of
the addressee(s). If you are not the intended recipient, please notify the sender by e-mail
and delete the original message. Further, you are not to copy, disclose, or distribute this
e-mail or its contents to any other person and any such actions are unlawful. This e-mail
may contain viruses. Infosys has taken every reasonable precaution to minimize this risk,
but is not liable for any damage you may sustain as a result of any virus in this e-mail.
You should carry out your own virus checks before opening the e-mail or attachment. Infosys
reserves the right to monitor and review the content of all messages sent to or from this
e-mail address. Messages sent to or from this e-mail address may be stored on the Infosys
e-mail system.
***INFOSYS******** End of Disclaimer ********INFOSYS***
Mime
View raw message