geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vamsavardhana Reddy" <c1vams...@gmail.com>
Subject Re: java.rmi.NoSuchObjectException: ...
Date Tue, 02 May 2006 06:44:41 GMT
These are for the J2EE app and the two modules within.  There will be one
such object id for the EJB that is deployed.  Look for it.

-Vamsi

On 5/2/06, Varanasi, Ishwara <Ishwara.Varanasi@fmr.com> wrote:
>
>  Hi Vamsi,
>
> Thanks for your mail.
>
> I am seeing following entries when I opened jmx-debug:
>
>
>
> name="TimeServerWAR"<http://fiscbanda706543:8080/index.vm?ObjectNameFilter=*%3A*&MBeanName=geronimo.config%3Aname%3D%22TimeServerWAR%22>[running]
>
>
> EJBModule=TimeServer.jar,J2EEApplication=TimeServerWAR,J2EEServer=geronimo,j2eeType=StatelessSessionBean,name=TimeServer<http://fiscbanda706543:8080/index.vm?ObjectNameFilter=*%3A*&MBeanName=geronimo.server%3AEJBModule%3DTimeServer.jar%2CJ2EEApplication%3DTimeServerWAR%2CJ2EEServer%3Dgeronimo%2Cj2eeType%3DStatelessSessionBean%2Cname%3DTimeServer>[running]
>
>
> J2EEApplication=TimeServerWAR,J2EEServer=geronimo,j2eeType=EJBModule,name=TimeServer.jar<http://fiscbanda706543:8080/index.vm?ObjectNameFilter=*%3A*&MBeanName=geronimo.server%3AJ2EEApplication%3DTimeServerWAR%2CJ2EEServer%3Dgeronimo%2Cj2eeType%3DEJBModule%2Cname%3DTimeServer.jar>[running]
>
>
> J2EEApplication=TimeServerWAR,J2EEServer=geronimo,j2eeType=WebModule,name=TimeServer.war<http://fiscbanda706543:8080/index.vm?ObjectNameFilter=*%3A*&MBeanName=geronimo.server%3AJ2EEApplication%3DTimeServerWAR%2CJ2EEServer%3Dgeronimo%2Cj2eeType%3DWebModule%2Cname%3DTimeServer.war>[running]
>
>
>
> (I couldn't understand… L)
>
> Regards,
> *Ishwar*
>
>
>
> -----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
>
>
>

Mime
View raw message