Help on Converter example!!!

Hi,

I tried RMI/IIOP example bundled along with iAS 6 SP2(Converter) and

experience the following error repeatedly non stop. Any idea where &

what went wrong ? B.t.w these are following steps I followed.

1. used iasdeploy deployapp to deploy the j2eeguide-converter

application

2. invoked the build command

3. under

C:\iplanet\ias6\ias\ias-samples\j2eeguide\converter\build\classes> I

issued javac j2eeguide.converter.ConverterClient and I experience the

following error which doesn't stops until I press CTRL+C.

Thanks in Advance for your help

Regards

Raj

javax.naming.NameNotFoundException: EjbContext: exception on getHome(),

com.netscape.server.eb.UncheckedException: unchecked exception thrown by

impl com.kivasoft.eb.boot.EBBootstrapImpl@595420; nested exception is:

java.lang.NullPointerException

at com.netscape.server.ejb.EjbContext.createHomeRef(Unknown

Source)

at com.netscape.server.ejb.EjbContext.getHomeRef(Unknown Source)

at com.netscape.server.ejb.EjbContext.lookup(Unknown Source)

at com.netscape.server.jndi.RootContext.lookup(Unknown Source)

at com.netscape.server.jndi.RootContext.lookup(Unknown Source)

at javax.naming.InitialContext.lookup(InitialContext.java:357)

at

com.netscape.ejb.CorbaHomeFactoryImpl.ConstructEJBHome(Unknown Source)

at com.netscape.CosNaming.NamingContextImpl.resolve(Unknown

Source)

at

org.omg.CosNaming._NamingContextImplBase.invoke(_NamingContextImplBase.java:233 )

at

com.sun.corba.ee.internal.corba.ServerDelegate.dispatch(ServerDelegate.java:236 )

at com.sun.corba.ee.internal.iiop.ORB.process(ORB.java:227)

at

com.sun.corba.ee.internal.iiop.CachedWorkerThread.doWork(IIOPConnection.java:26 2)

at

com.sun.corba.ee.internal.iiop.CachedWorkerThread.run(IIOPConnection.java:230)

SendRemoteReq status=0x0

javax.naming.NameNotFoundException: EjbContext: exception on getHome(),

com.netscape.server.eb.UncheckedException: unchecked exception thrown by

impl com.kivasoft.eb.boot.EBBootstrapImpl@52fecf; nested exception is:

java.lang.NullPointerException

[2272 byte] By [709134] at [2007-11-25 4:50:37]
# 1

Good day Raj,

I manage to pass through this converter scenario both in NT and UNIX, as far

the procedure goes, everything

is alright.

Please ensure that the items below are strictly followed:

1. Environment Setup

a. make sure you are using the JDK provided by iPlanet - HotSpot

b. make sure that the iasclient.jar and javax.jar are included in the

CLASSPATH

c. make sure that the path to the rmi_client class are included in the

CLASSPATH

d. For Windows only, ensure that the path to the

j2eeguider-converterEJB.jar is added to the

iPlanet Application Server classpath, which can be located by using

kregedit

once kregedit is activated, please go to this sequence :->

Software\iPlanet\Application Server\6.0\java\classpath

I think that's about it, please ensure that you check and recheck again your

settings until they are identical to

the ones given in the procedure.

regards

hatta

"Raj" <rajindts@netscape.net> wrote in message

news:3BC51C5C.C42AF6AF@netscape.net...

> Hi,

>I tried RMI/IIOP example bundled along with iAS 6 SP2(Converter) and

> experience the following error repeatedly non stop. Any idea where &

> what went wrong ? B.t.w these are following steps I followed.

> 1. used iasdeploy deployapp to deploy the j2eeguide-converter

> application

> 2. invoked the build command

> 3. under

> C:\iplanet\ias6\ias\ias-samples\j2eeguide\converter\build\classes> I

> issued javac j2eeguide.converter.ConverterClient and I experience the

> following error which doesn't stops until I press CTRL+C.

>

> Thanks in Advance for your help

> Regards

> Raj

>

> javax.naming.NameNotFoundException: EjbContext: exception on getHome(),

> com.netscape.server.eb.UncheckedException: unchecked exception thrown by

> impl com.kivasoft.eb.boot.EBBootstrapImpl@595420; nested exception is:

> java.lang.NullPointerException

> at com.netscape.server.ejb.EjbContext.createHomeRef(Unknown

> Source)

> at com.netscape.server.ejb.EjbContext.getHomeRef(Unknown Source)

>

> at com.netscape.server.ejb.EjbContext.lookup(Unknown Source)

> at com.netscape.server.jndi.RootContext.lookup(Unknown Source)

> at com.netscape.server.jndi.RootContext.lookup(Unknown Source)

> at javax.naming.InitialContext.lookup(InitialContext.java:357)

> at

> com.netscape.ejb.CorbaHomeFactoryImpl.ConstructEJBHome(Unknown Source)

> at com.netscape.CosNaming.NamingContextImpl.resolve(Unknown

> Source)

> at

>

org.omg.CosNaming._NamingContextImplBase.invoke(_NamingContextImplBase.java:

233)

>

> at

>

com.sun.corba.ee.internal.corba.ServerDelegate.dispatch(ServerDelegate.java:

236)

>

> at com.sun.corba.ee.internal.iiop.ORB.process(ORB.java:227)

> at

>

com.sun.corba.ee.internal.iiop.CachedWorkerThread.doWork(IIOPConnection.java

:262)

>

> at

>

com.sun.corba.ee.internal.iiop.CachedWorkerThread.run(IIOPConnection.java:23

0)

>

> SendRemoteReq status=0x0

> javax.naming.NameNotFoundException: EjbContext: exception on getHome(),

> com.netscape.server.eb.UncheckedException: unchecked exception thrown by

> impl com.kivasoft.eb.boot.EBBootstrapImpl@52fecf; nested exception is:

> java.lang.NullPointerException

>

>

709134 at 2007-6-29 8:57:51 > top of Java-index,Application & Integration Servers,Application Servers...