[prev in list] [next in list] [prev in thread] [next in thread]
List: jacorb-developer
Subject: [jacorb-developer] JacORB 1.2.3 Configuration and Setup Help
From: "Rafeek Kottai" <rafeek_kottai () hotmail ! com>
Date: 2000-12-19 19:18:21
Message-ID: F262SOdLbaENFGcMd5N000031ff () hotmail ! com
[Download RAW message or body]
Dec 19, 2000
Hello,
I downloaded JacORB version 1.2.3, applied all the patches (Known problems).
Recompiled the entire codebase using JDK 1.3 (and Ant 1.2).
Here is the enviroment I am running:
- Window NT 4.0
- Personal Web Server (public directory will be C:\Inetpub\wwwroot)
- Compiled JacORB codebase using JDK 1.3 (without any problem)
- Setup all the CLASSPATH and PATH variables (as specified in the
ProgrammersGuide.ps)
- Built all the programs in the demo directory (without any error)
In the default jacorb.properties file, changed the following values:
jacorb.verbosity=3
ORBInitRef.NameService=http://il99-2075/NS_Ref
Started ns by typing the following command in a new MS-DOS window:
ns c:\inetpub\wwwroot\NS_Ref
The following info showed up on the screen:
"NS"
[ Delegate bound to 199.10.110.142:1261 ]
[ ORBInitRef NameService string: http://il99-2075/NS_Ref ]
[ Build: jacorb.orb.standardInterceptors.IORInterceptorInitializer ]
[ InterceptorManager started with 0 SIs, 0 CIs and 1 IORIs ]
[ no initial map policy defined. Defining default initial map policy ]
[ POA RootPOA - ready ]
[ no initial map policy defined. Defining default initial map policy ]
[ POA NameServer-POA - ready ]
[ Invoking IORInterceptor CodeSetInfoComponentCreator ]
[ CodeSetInfoCreator added TaggedComponent to TAG_INTERNET_IOP profile ]
[ Delegate bound to 199.10.110.142:1267 ]
[ Poa.getReference: a new IDL:omg.org/PortableServer/ServantActivator:1.0 ]
[ Invoking IORInterceptor CodeSetInfoComponentCreator ]
[ CodeSetInfoCreator added TaggedComponent to TAG_INTERNET_IOP profile ]
[ Delegate bound to 199.10.110.142:1267 ]
[ Poa.getReference: a new IDL:omg.org/CosNaming/NamingContextExt:1.0 ]
[ NS up ]
Then on a new MS-DOS window, I tried to start the demo application grid
by typing the following,
jaco demo.grid.Server
I got the following output:
java.lang.NullPointerException:
at demo.grid.Server.main(Server.java:34)
The line that gives the error is:
nc.bind( nc.to_name("grid.example"), o);
What am I doing wrong here?
To see if the NameServer is accessible/visible, I ran the "lsns" utility in
a new MS-DOS Window.
I got the following output:
[ Delegate bound to 199.10.110.142:1267 ]
[ ORBInitRef NameService string: http://il99-2075/NS_Ref ]
[ Build: jacorb.orb.standardInterceptors.IORInterceptorInitializer ]
[ InterceptorManager started with 0 SIs, 0 CIs and 1 IORIs ]
[ New connection to 199.10.110.142:1267 ]
[ Delegate bound to 199.10.110.142:1267 ]
[ prepare ORB for going down... ]
[ ORB going down... ]
[ ORB shutdown (cleaning up ORB...) ]
[ Closing connection to 199.10.110.142:1267 ]
############################ StackTrace ############################
java.net.SocketException: JVM_recv in socket input stream read (code=10004)
at java.net.SocketInputStream.socketRead(Native Method)
at java.net.SocketInputStream.read(SocketInputStream.java:90)
at java.io.BufferedInputStream.fill(BufferedInputStream.java:190)
at java.io.BufferedInputStream.read(BufferedInputStream.java, Compiled
Code)
at jacorb.orb.Connection.readBuffer(Connection.java, Compiled Code)
at jacorb.orb.Connection.receiveReply(Connection.java:621)
at jacorb.orb.ReplyReceptor.run(ReplyReceptor.java, Compiled Code)
[ Closing connection to 199.10.110.142:1267 (sockets closed) ]
####################################################################
[ Connection to 199.10.110.142:1267 aborting... ]
############################ StackTrace ############################
java.io.EOFException
at jacorb.orb.Connection.abort(Connection.java, Compiled Code)
at jacorb.orb.Connection.readBuffer(Connection.java, Compiled Code)
at jacorb.orb.Connection.receiveReply(Connection.java:621)
at jacorb.orb.ReplyReceptor.run(ReplyReceptor.java, Compiled Code)
####################################################################
[ ConnectionManager shut down (all connections released) ]
[ ORB shutdown (all tables cleared) ]
[ ORB shutdown (threads notified) ]
[ ORB shutdown complete ]
Can anyone help me locate the problem in configuring JacORB?
Thank you.
Rafeek Kottai
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic