I believe we should put a template for "error reporting" on the web site.

You CMP/BMP, etc etc...

I am not talking about "Bugs" just "it doesn't work, it is weird, can you
help me" kinda mails.

any ideas for such a template?

JBoss Version:
OS:
DB/Driver:
CMP/BMP:
CMT/BMT:
Description:
jboss.xml:
jbosscmp.xml:


what else? (let's keep it simple)


marc

|-----Original Message-----
|From: [EMAIL PROTECTED]
|[mailto:[EMAIL PROTECTED]]On Behalf Of Bordet, Simone
|Sent: Thursday, February 01, 2001 9:57 AM
|To: 'jBoss'
|Subject: RE: [jBoss-User] Weird stuff with finder results
|
|
|Hey,
|
|please always post jboss version, OS, DB
|Anyway you're using jboss 2.0 and that exception should be related to the
|fact that there is some problem in activating your beans.
|If you're using CMP, then this is very strange (unless you throw an
|exception in ejbActivate ;).
|If BMP, check that no unexpected exceptions (NPE and the like) are thrown
|from ejbActivate.
|
|Would be helpful if you could post client code and ejb code
|
|Simon
|
|> -----Original Message-----
|> From: Sietze Dijkstra [mailto:[EMAIL PROTECTED]]
|> Sent: giovedì 1 febbraio 2001 16:23
|> To: [EMAIL PROTECTED]
|> Subject: [jBoss-User] Weird stuff with finder results
|>
|>
|> Hello, All
|>
|> I would like to post the following question to the community:
|>
|> I am writing some custom finder methods for CMP Entity Beans
|> (which have
|> been tested). Some return single objects, others return
|> Collections. The
|> finders returning single objects function perfectly.
|>
|> The problem is, when I try to access the Collections (by
|> wrapping a Vector
|> around them) I can see each remote object, it returns the
|> correct number of
|> objects and I can succesfully cast them to the remote
|> interface I'm looking
|> for.
|>
|> However, when I try to subsequently access the bean via this
|> interface, it
|> goes wrong, dumping the following stack trace (in the output pane):
|>
|> [Player] TRANSACTION ROLLBACK EXCEPTION:null; nested exception is:
|>         java.rmi.NoSuchObjectException
|> [Player] java.rmi.NoSuchObjectException
|> [Player]        at
|> org.jboss.ejb.plugins.EnterpriseInstanceCache.get(EnterpriseIn
|> stanceCache.ja
|> va:95)
|> [Player]        at
|> org.jboss.ejb.plugins.EntityInstanceCache.get(EntityInstanceCa
|> che.java:56)
|> [Player]        at
|> org.jboss.ejb.plugins.EntityInstanceInterceptor.invoke(EntityI
|> nstanceInterce
|> ptor.java:136)
|> [Player]        at
|> org.jboss.ejb.plugins.TxInterceptorCMT.invokeNext(TxIntercepto
|> rCMT.java:133)
|> [Player]        at
|> org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxI
|> nterceptorCMT.
|> java:263)
|> [Player]        at
|> org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT
|> .java:99)
|> [Player]        at
|> org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInter
|> ceptor.java:14
|> 4)
|> [Player]        at
|> org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:192)
|> [Player]        at
|> org.jboss.ejb.EntityContainer.invoke(EntityContainer.java:323)
|> [Player]        at
|> org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoker.invoke(
|> JRMPContainerI
|> nvoker.java:163)
|> [Player]        at java.lang.reflect.Method.invoke(Native Method)
|> [Player]        at
|> sun.rmi.server.UnicastServerRef.dispatch(Unknown Source)
|> [Player]        at sun.rmi.transport.Transport$1.run(Unknown Source)
|> [Player]        at java.security.AccessController.doPrivileged(Native
|> Method)
|> [Player]        at
|> sun.rmi.transport.Transport.serviceCall(Unknown Source)
|> [Player]        at
|> sun.rmi.transport.tcp.TCPTransport.handleMessages(Unknown
|> Source)
|> [Player]        at
|> sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(Unkno
|> wn Source)
|> [Player]        at java.lang.Thread.run(Unknown Source)
|>
|> Having read through Java2's documentation, I assume that the
|> Container has
|> found the correct records in the underlying database, translated the
|> resulting ResultSet into a Collection (ArrayList?) and then
|> either forgot to
|> instantiate the EJBs or passivated them.
|>
|> Has anyone seen this before and -better yet =)- knows a solution?
|>
|> Thanks in advance,
|>
|> Sietze Dijkstra
|> Centaur Media Technology
|>
|>
|> --
|> --------------------------------------------------------------
|> To subscribe:        [EMAIL PROTECTED]
|> To unsubscribe:      [EMAIL PROTECTED]
|> List Help?:          [EMAIL PROTECTED]
|>
|
|
|--
|--------------------------------------------------------------
|To subscribe:        [EMAIL PROTECTED]
|To unsubscribe:      [EMAIL PROTECTED]
|List Help?:          [EMAIL PROTECTED]
|



--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
List Help?:          [EMAIL PROTECTED]

Reply via email to