Hi all !

I have a problem using JBuilder (4.0, Enterprise) environment for running
and testing my beans (1.1).

I find it quite hard to explain exactly what is happening so let me describe
what I did :

I used the EntityBean Modeler in JBuilder to create my bean. The bean is
created properly with all its interfaces. If I follow JBuilder's help
instructions, I can create a test client which should help me testing the
bean's functionnality. When the test client is created (and look quite
functionnal), I run the application, which actually launches all the
services provided by a server. Then, if I start the client, I always get the
following error :

Try to obtain testmaxime reference
javax.naming.NameNotFoundException.  Root exception is
org.omg.CosNaming.NamingC
ontextPackage.NotFound
        at
org.omg.CosNaming.NamingContextPackage.NotFoundHelper.read(NotFoundHe
lper.java:34)
        at
org.omg.CosNaming.NamingContextPackage.NotFoundHelper.extract(NotFoun
dHelper.java:50)
        at
org.omg.CosNaming._NamingContextStub.resolve(_NamingContextStub.java:
161)
        at com.sun.jndi.cosnaming.CNCtx.callResolve(CNCtx.java:324)
        at com.sun.jndi.cosnaming.CNCtx.lookup(CNCtx.java:373)
        at com.sun.jndi.cosnaming.CNCtx.lookup(CNCtx.java:351)
        at javax.naming.InitialContext.lookup(InitialContext.java:350)
        at javax.naming.InitialContext.lookup(InitialContext.java:350)
        at
beantest.TestmaximeTestClient1.<init>(TestmaximeTestClient1.java:32)
        at
beantest.TestmaximeTestClient1.main(TestmaximeTestClient1.java:96)


Now, if I use the deployment wizard from AppServer to create my client bean,
and start AppServer, then my test client can access the bean and everything
is working properly, as long as my client jar is in the testclient's
classpath. The problem here is that my bean is running in the AppServer, not
in JBuilder, which means that I can't debug it.

What I wish to do is to create my bean, "launch" it from JBuilder in debug
mode and then launch my client to access that bean...

I know that my explanations are very vague, but hopefully somebody will walk
me through this...

Thanks a lot all ! I badly need help on this, it's been driving me crazy for
the last 2 days...

Max.

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to