That’s great help Vamsi,

It’s working!

Thank you.

 

Thanks to Markus also.

Regards,
Ishwar

-----Original Message-----
From: Vamsavardhana Reddy [mailto:c1vamsi1c@gmail.com]
Sent:
Tuesday, May 02, 2006 12:28 PM
To: user@geronimo.apache.org
Subject: Re: java.rmi.NoSuchObjectException: ...

 

You have to use geronimo.server:EJBModule=TimeServer.jar,J2EEApplication=TimeServerWAR,J2EEServer=geronimo,j2eeType=StatelessSessionBean,name=TimeServer

-Vamsi

On 5/2/06, Varanasi, Ishwara <Ishwara.Varanasi@fmr.com> wrote:

Vamsi,

 

I gave exactly same as 2nd line in geronimo-web.xml, i.e.,

<naming:target-name>

    EJBModule=TimeServer.jar,J2EEApplication=TimeServerWAR,J2EEServer=geronimo,j2eeType=StatelessSessionBean,name=TimeServer

</naming:target-name>

 

I am getting error:

            Error: java.rmi.NoSuchObjectException: EJBModule=TimeServer.jar,J2EEApplication=TimeServerWAR,J2EEServer=geronimo,j2eeType=StatelessSessionBean,name=TimeServer

Regards,
Ishwar

-----Original Message-----
From: Vamsavardhana Reddy [mailto:c1vamsi1c@gmail.com]

Sent: Tuesday, May 02, 2006 12:19 PM


To: user@geronimo.apache.org
Subject: Re: java.rmi.NoSuchObjectException: ...

 

Ignore my last reply.  The object name you are looking for is the second one.

-Vamsi

On 5/2/06, Varanasi, Ishwara < Ishwara.Varanasi@fmr.com> wrote:

-----Original Message-----
From: Vamsavardhana Reddy [mailto:c1vamsi1c@gmail.com]
Sent: Tuesday, May 02, 2006 10:40 AM

To: user@geronimo.apache.org
Subject: Re: java.rmi.NoSuchObjectException: ...

 

My guess, J2EEModule=TimeServerEJB is causing the problem.  Will confirm if I get to spend some time on this.  I suggest you to use jmx-debug-tool and find the objectname corresponding to the EJB.

-Vamsi

On 5/2/06, Varanasi , Ishwara <Ishwara.Varanasi@fmr.com> wrote:

Hi Markus,

Thanks for your reply.
I have that code in my web.xml, I am getting same error.

Please find attached all XML files and the lone JSP page.

Following is the stack trace of exception I am getting.

09:33:35,965 ERROR [ContainerIndex] contianerId is not a valid
ObjectName: geronimo.server:J2EEAppli
cation=TimeServerWAR,
    J2EEModule=TimeServerEJB,J2EEServer=geronimo,
    j2eeType=StatelessSessionBean,name=TimeServer
Exception: java.rmi.NoSuchObjectException:
geronimo.server:J2EEApplication=TimeServerWAR,
    J2EEModule=TimeServerEJB,J2EEServer=geronimo,
    j2eeType=StatelessSessionBean,name=TimeServer
java.rmi.NoSuchObjectException :
geronimo.server:J2EEApplication=TimeServerWAR,
    J2EEModule=TimeServerEJB,J2EEServer=geronimo,
    j2eeType=StatelessSessionBean,name=TimeServer
        at
org.openejb.proxy.EJBMethodInterceptor.createEJBInvocation (EJBMethodInte
rceptor.java:171)

        at
org.openejb.proxy.EJBMethodInterceptor.intercept(EJBMethodInterceptor.ja
va:115)
        at
org.openejb.proxy.SessionEJBHome$$EnhancerByCGLIB$$5d67192e.create (<gene
rated>)
        at
org.apache.jsp.index_jsp._jspService(org.apache.jsp.index_jsp:70)
        at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
        at javax.servlet.http.HttpServlet.service (HttpServlet.java:688)
        at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.ja
va:322)
        at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291)
        at
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter (Applica
tionFilterChain.j
ava:252)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:173)

        at
org.apache.catalina.core.StandardWrapperValve.invoke (StandardWrapperValv
e.java:213)
        at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
e.java:178)
        at
org.apache.geronimo.tomcat.GeronimoStandardContext$SystemMethodValve.inv
oke(GeronimoStand
ardContext.java:272)
        at
org.apache.geronimo.tomcat.valve.TransactionContextValve.invoke(Transact
ionContextValve.j
ava:53)
        at
org.apache.geronimo.tomcat.valve.ComponentContextValve.invoke (ComponentC
ontextValve.java:
47)
        at
org.apache.geronimo.tomcat.valve.InstanceContextValve.invoke(InstanceCon
textValve.java:60
)
        at
org.apache.catalina.core.StandardHostValve.invoke (StandardHostValve.java
:126)
        at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
:105)
        at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
java:107)
        at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:526
)
        at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:1
48)
        at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:85
6)
        at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processC
onnection(Http11P
rotocol.java:744)
        at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint
.java:527)
        at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollow
erWorkerThread.ja
va:80)
        at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool
.java:684)
        at java.lang.Thread.run(Thread.java:534)

Thanks and Regards,
Ishwar

-----Original Message-----
From: mahu2425 [mailto: mahu2425@lycos.de]
Sent: Friday, April 28, 2006 7:01 PM
To: user@geronimo.apache.org
Subject: Re: java.rmi.NoSuchObjectException : ...

Hi Ishwar,

did you include a <ejb-ref> part in your web.xml ?

It should look similar to:

  <ejb-ref>
    <ejb-ref-name>ejb/TimeServerEJB</ejb-ref-name>
    <ejb-ref-type>Session</ejb-ref-type>
    <home>com.xzy.TimerServerEJBHome</home>
    <remote>com.xzy.Timerserver</remote>
  </ejb-ref>

<ejb-ref-name> should match <jndi-name> in openejb-jar.xml


If that doesn't help, could you post you deployment descriptors?


Greets,

Markus

> Hi,
>       I coded a tiny application with two modules (EJB [stateless
> session] and WAR) modules. IT deploys fine but when I try to access
the
> page, I get error as follows:
>
> java.rmi.NoSuchObjectException:
>
geronimo.server:EJBModule=TimeServerEJB,J2EEApplication=TimeServerEAR,J2
> EEServer=geronimo,j2eeType=StatelessSessionBean,name=TimeServer
>
> I tried altering the deployment plans in many ways, none succeed.
>
> Any help?
>
> Regards,
> Ishwar

Schnell und einfach ohne Anschlusswechsel zur Lycos DSL Flatrate
wechseln und 3 Monate kostenlos ab effektiven 5,21 EUR pro Monat im
ersten Jahr surfen.
http://www.lycos.de/startseite/online/dsl/index.html?prod=DSL&trackingID
=email_footertxt