RE: Counter gives naming exception

2001-05-29 Thread Koster, K.J.
Dear All, Yet when I use that thing inside the ejbCreate of another bean I get a NameNotFound Exception. Replacing the Counterutils.getnextid() with (new Date()).getTime() works without generating the errors. You will probably want to move the ejb-ref from web.xml to ejb-jar.xml

Re: Counter gives naming exception

2001-05-29 Thread Markus Holmberg
On Tue, May 29, 2001 at 03:15:07PM +0100, Koster, K.J. wrote: Ah, a fellow FreeBSD user. :-) Just curious, what are your experiences with Orion on FreeBSD? What JDK do you use? Yes :). My experiences (out of developing J2EE applications on FreeBSD + Orion, for quite some time now) are that

RE: Counter gives naming exception

2001-05-28 Thread Jason Smith
To look at the JNDI directory use the Orion Console tool: java -jar orionconsole.jar -jason -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Koster, K.J. Sent: Monday, May 28, 2001 1:35 PM To: Orion-Interest Subject: Counter gives naming exception

Re: Counter gives naming exception

2001-05-28 Thread Markus Holmberg
On Mon, May 28, 2001 at 06:34:49PM +0100, Koster, K.J. wrote: I deployed the counter.jar (yes it's in the ear, it even autocreates the table it needs, but never uses). I have included the relevant bits into web.xml (from $ORION/applications/myapp/webthingy/WEB-INF/web.xml): ejb-ref

Re: Counter gives naming exception

2001-05-28 Thread Greg Stickley
if you are using NetBeans it comes with a JNDI explorer on the runtime tab of the explorer. --- Koster, K.J. [EMAIL PROTECTED] wrote: Dear All, I'm sure I must be doing something dumb, but I've banging my head into this stupid wall for two days now. I should have stayed in school and

Re: Counter gives naming exception

2001-05-28 Thread Eddie
I am not sure if I understand you completely but it sounds like you forgot you counter ref in your ejb-jar.xml. Here is an example, I use the counter.jar in my user bean: enterprise-beans entity display-namenl.unwired.sgs.um.User/display-name