Re: Werent current caller

2002-04-08 Thread Lachezar Dobrev

   Hello. By the message, I would assume (correct me), that you have a
parent/child relation. I may _guess_, that you are trying to use the parent
to set something in the child (like the parent ID). If this is the case, you
might _need_ to set the parent to be reentrant=true. That helped me.
   My code required to create the child with a parameter like:
  (XML_Tag)entityContext.getEJBObject()
   so that the child knows it's parent... That requires reentrant=true.
   It _may_ be a shot in the dark, because I've not come upon this
exception, but rather some other (can't remember which though).
   However, this is no-cost test and is worth trying.

   Lachezar.



- Original Message -
From: Jeff Lowcock [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Sent: Saturday, April 06, 2002 9:56 AM
Subject: RE: Werent current caller


This is the stack trace from the server.


java.lang.InternalError: Werent current caller, server stacktrace (to
disable this message, use -Dejb.assert=false at startup):
java.lang.Throwable: Werent current caller void
NetNwkEjb_EntityBeanWrapper41.setEntityBean(javax.ejb.EntityBean)
  void
com.evermind.server.ejb.EntityEJBHome.passivateAndRelease(com.evermind.serve
r.ejb.EvermindEntityContext, boolean)
  void com.evermind.server.ejb.EntityEJBObject.releaseContext(boolean)
  com.neowurks.network.ejb.NetNwkEjb
NetNwkEjbHome_EntityHomeWrapper57.create(long, java.lang.String,
java.lang.String)
  java.lang.Object java.lang.reflect.Method.invoke(java.lang.Object,
java.lang.Object[])
  void com.evermind.server.rmi.RMICallHandler.run(java.lang.Thread)
  void com.evermind.util.ThreadPoolThread.run()

I've also received a mail that seems to indicate that the responder has only
seen this in the oracle version of orion, which is the version I'm using.
However OTN has been unavailable for the last day or so and I've not been
able to check if there is any information there as well.

This exception is being raised when I've successfully created the parent CMP
and then try and create the child CMP, which then throws this.  I'm working
now to produce a focused piece of code to illustrate the client and server
side without all of the other application baggage.

-Original Message-
From: Scott Farquhar [SMTP:[EMAIL PROTECTED]]
Sent: 06 April 2002 02:05
To: Orion-Interest
Subject: Re: Werent current caller

Can you post the stack trace?

Jeff Lowcock wrote:
 I'm getting this exception and message raised in the server when I'm
attempting to create a new CMP instance.  I cannot find any documentation on
this message and way too much on the exception java.lang.InternalError, can
anyone direct me to a source where I can identify possible sources of this
error and where I'm going wrong.

 I've searched the Orion support site and the only mails I can find are for
0.9.4 and 0.9.6 versions, and none fo these mails actually describe the
conditions I have.

 where to now?





--
Scott Farquhar :: [EMAIL PROTECTED]

Atlassian :: http://www.atlassian.com
  Supporting YOUR J2EE World








RE: Werent current caller

2002-04-08 Thread Jeff Lowcock

Thanks for the hint, I'll give this a go.  You must be intuitive as this parent child 
setting is what I'm trying to do, although I've also tried extracting the parent ID on 
the client side and then setting (via create) the parent key in the chils record as 
it's being created and this also throws the same exception.  However OC4J may also be 
trying to reference the parent during this operation so the test is still worth 
conducting.  I'll let you know the result.

-Original Message-
From:   Lachezar Dobrev [SMTP:[EMAIL PROTECTED]]
Sent:   08 April 2002 09:06
To: Orion-Interest
Subject:Re: Werent current caller

   Hello. By the message, I would assume (correct me), that you have a
parent/child relation. I may _guess_, that you are trying to use the parent
to set something in the child (like the parent ID). If this is the case, you
might _need_ to set the parent to be reentrant=true. That helped me.
   My code required to create the child with a parameter like:
  (XML_Tag)entityContext.getEJBObject()
   so that the child knows it's parent... That requires reentrant=true.
   It _may_ be a shot in the dark, because I've not come upon this
exception, but rather some other (can't remember which though).
   However, this is no-cost test and is worth trying.

   Lachezar.



- Original Message -
From: Jeff Lowcock [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Sent: Saturday, April 06, 2002 9:56 AM
Subject: RE: Werent current caller


This is the stack trace from the server.


java.lang.InternalError: Werent current caller, server stacktrace (to
disable this message, use -Dejb.assert=false at startup):
java.lang.Throwable: Werent current caller void
NetNwkEjb_EntityBeanWrapper41.setEntityBean(javax.ejb.EntityBean)
  void
com.evermind.server.ejb.EntityEJBHome.passivateAndRelease(com.evermind.serve
r.ejb.EvermindEntityContext, boolean)
  void com.evermind.server.ejb.EntityEJBObject.releaseContext(boolean)
  com.neowurks.network.ejb.NetNwkEjb
NetNwkEjbHome_EntityHomeWrapper57.create(long, java.lang.String,
java.lang.String)
  java.lang.Object java.lang.reflect.Method.invoke(java.lang.Object,
java.lang.Object[])
  void com.evermind.server.rmi.RMICallHandler.run(java.lang.Thread)
  void com.evermind.util.ThreadPoolThread.run()

I've also received a mail that seems to indicate that the responder has only
seen this in the oracle version of orion, which is the version I'm using.
However OTN has been unavailable for the last day or so and I've not been
able to check if there is any information there as well.

This exception is being raised when I've successfully created the parent CMP
and then try and create the child CMP, which then throws this.  I'm working
now to produce a focused piece of code to illustrate the client and server
side without all of the other application baggage.

-Original Message-
From: Scott Farquhar [SMTP:[EMAIL PROTECTED]]
Sent: 06 April 2002 02:05
To: Orion-Interest
Subject: Re: Werent current caller

Can you post the stack trace?

Jeff Lowcock wrote:
 I'm getting this exception and message raised in the server when I'm
attempting to create a new CMP instance.  I cannot find any documentation on
this message and way too much on the exception java.lang.InternalError, can
anyone direct me to a source where I can identify possible sources of this
error and where I'm going wrong.

 I've searched the Orion support site and the only mails I can find are for
0.9.4 and 0.9.6 versions, and none fo these mails actually describe the
conditions I have.

 where to now?





--
Scott Farquhar :: [EMAIL PROTECTED]

Atlassian :: http://www.atlassian.com
  Supporting YOUR J2EE World







msg18676/bin0.bin
Description: application/ms-tnef


Re: Werent current caller

2002-04-05 Thread Ray Harrison
 Oddly, I've only run into this using OC4J (I don't remember what the problem was off hand, its been a while). But you may want to join the OTN (Oracle Technology Network) (its free) and search their J2EE forum. Since the two products are kissing cousins, what has worked for OC4J will point you in the right direction for Orion. What version of Orion are you using? Can you tell us a little more about what you are trying to do? If you have a test case (just a simple ear that I can deploy, and a separate zip'd source code file), send it to me at [EMAIL PROTECTED], and I'll look at it when I get a chance. 

Cheers
Ray
 Jeff Lowcock [EMAIL PROTECTED] wrote: 
I'm getting this exception and message raised in the server when I'm attempting to create a new CMP instance. I cannot find any documentation on this message and way too much on the exception java.lang.InternalError, can anyone direct me to a source where I can identify possible sources of this error and where I'm going wrong.I've searched the Orion support site and the only mails I can find are for 0.9.4 and 0.9.6 versions, and none fo these mails actually describe the conditions I have.where to now?Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax

Re: Werent current caller

2002-04-05 Thread Scott Farquhar

Can you post the stack trace?

Jeff Lowcock wrote:
 I'm getting this exception and message raised in the server when I'm attempting to 
create a new CMP instance.  I cannot find any documentation on this message and way 
too much on the exception java.lang.InternalError, can anyone direct me to a source 
where I can identify possible sources of this error and where I'm going wrong.
 
 I've searched the Orion support site and the only mails I can find are for 0.9.4 and 
0.9.6 versions, and none fo these mails actually describe the conditions I have.
 
 where to now?
 
 
 


-- 
Scott Farquhar :: [EMAIL PROTECTED]

Atlassian :: http://www.atlassian.com
  Supporting YOUR J2EE World






RE: Werent current caller

2002-04-05 Thread Jeff Lowcock

This is the stack trace from the server.


java.lang.InternalError: Werent current caller, server stacktrace (to disable this 
message, use -Dejb.assert=false at startup): java.lang.Throwable: Werent current 
caller  void NetNwkEjb_EntityBeanWrapper41.setEntityBean(javax.ejb.EntityBean)
void 
com.evermind.server.ejb.EntityEJBHome.passivateAndRelease(com.evermind.server.ejb.EvermindEntityContext,
 boolean)
void com.evermind.server.ejb.EntityEJBObject.releaseContext(boolean)
com.neowurks.network.ejb.NetNwkEjb 
NetNwkEjbHome_EntityHomeWrapper57.create(long, java.lang.String, java.lang.String)
java.lang.Object java.lang.reflect.Method.invoke(java.lang.Object, 
java.lang.Object[])
void com.evermind.server.rmi.RMICallHandler.run(java.lang.Thread)
void com.evermind.util.ThreadPoolThread.run() 

I've also received a mail that seems to indicate that the responder has only seen this 
in the oracle version of orion, which is the version I'm using.  However OTN has been 
unavailable for the last day or so and I've not been able to check if there is any 
information there as well.

This exception is being raised when I've successfully created the parent CMP and then 
try and create the child CMP, which then throws this.  I'm working now to produce a 
focused piece of code to illustrate the client and server side without all of the 
other application baggage.

-Original Message-
From:   Scott Farquhar [SMTP:[EMAIL PROTECTED]]
Sent:   06 April 2002 02:05
To: Orion-Interest
Subject:Re: Werent current caller

Can you post the stack trace?

Jeff Lowcock wrote:
 I'm getting this exception and message raised in the server when I'm attempting to 
create a new CMP instance.  I cannot find any documentation on this message and way 
too much on the exception java.lang.InternalError, can anyone direct me to a source 
where I can identify possible sources of this error and where I'm going wrong.
 
 I've searched the Orion support site and the only mails I can find are for 0.9.4 and 
0.9.6 versions, and none fo these mails actually describe the conditions I have.
 
 where to now?
 
 
 


-- 
Scott Farquhar :: [EMAIL PROTECTED]

Atlassian :: http://www.atlassian.com
  Supporting YOUR J2EE World





msg18666/bin0.bin
Description: application/ms-tnef