[prev in list] [next in list] [prev in thread] [next in thread] 

List:       jacorb-developer
Subject:    Re: [jacorb-developer] New User Help
From:       Gerald Brose <gerald.brose () xtradyne ! com>
Date:       2004-02-18 11:02:07
Message-ID: 4033462F.60403 () xtradyne ! com
[Download RAW message or body]

Hi,

you need to start the ns so that it outputs its IOR to the
file c:\test\NS_Ref. Try

	"ns c:\test\NS_Ref"

Regards, Gerald.

chandrav wrote:

> Hi All,
> I have download JacORB version 2.0 and trying to run the demo/grid example.
> I am facing some
> difficulty in running it.
> 
> 1)I have copied the jacorb.properties to home directory
> 2)In the property file I have made only one change from the template
> 
> I uncommented this line and commented all other references to
> ORBInitRef.NameService
> ORBInitRef.NameService=file:/c:/test/NS_Ref
> 
> 3)Ran ns.bat and the output on the console was
> C:\test\jacorb_2_0>ns
> [configuration loaded from C:\Documents and
> Settings\chandrav\jacorb.properties]
>         JacORB V 2.0, www.jacorb.org
>         (C) Gerald Brose, XTRADYNE Technologies/FU Berlin, 5-Jan-2004
> And the Log file showed
> [jacorb] DEBUG : Build:
> org.jacorb.orb.standardInterceptors.IORInterceptorInitializer
> [jacorb.orb.intercept] INFO : InterceptorManager started with 0 SIs, 0 CIs
> and 1 IORIs
> [jacorb.orb.iiop] DEBUG : Created socket listener on 0.0.0.0/0.0.0.0
> [jacorb] DEBUG : Invoking IORInterceptor CodeSetInfoComponentCreator
> [jacorb] DEBUG : Delegate.getReference with POA <NameServer-POA>
> [jacorb.naming] INFO : NS up
> [jacorb.orb] INFO : ORB run
> 
> But when I am ran the nmg.bat it threw the below exception.
> [jacorb] DEBUG : Trying to resolve URL/IOR from: file:/c:/test/NS_Ref
> [jacorb] DEBUG : ERROR: Could not read from URL file:/c:/test/NS_Ref
> [jacorb] ERROR : java.io.FileNotFoundException: c:\test\NS_Ref (The system
> cannot find the file specified)
> 	at java.io.FileInputStream.open(Native Method)
> 	at java.io.FileInputStream.<init>(FileInputStream.java:103)
> 	at java.io.FileInputStream.<init>(FileInputStream.java:66)
> 	at
> sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:6
> 9)
> 	at
> sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection
> .java:156)
> 	at java.net.URL.openStream(URL.java:960)
> 	at org.jacorb.util.ObjectUtil.readURL(Unknown Source)
> 	at org.jacorb.orb.ParsedIOR.parse(Unknown Source)
> 	at org.jacorb.orb.ParsedIOR.<init>(Unknown Source)
> 	at org.jacorb.orb.ORB.string_to_object(Unknown Source)
> 	at org.jacorb.orb.ORB.resolve_initial_references(Unknown Source)
> 	at org.jacorb.naming.namemanager.NameManager.main(Unknown Source)
> 
> [jacorb.orb] DEBUG : Invalid or unreadable URL/IOR: file:/c:/test/NS_Ref
> 
> I think the IOR file for NameSpace was not created when I ran the
> NameSpaceServer. I am not able to
> figure out why this file is not getting created.
> 
> Any suggestions will be helpful.
> 
> 
> Thanks In Advance
> Chandrav
> -------------------------------------------
> “The difference between theory and practice is that in theory, there is no
> difference between theory and practice, but in practice, there is.”
> 
> _______________________________________________
> jacorb-developer maillist  -  jacorb-developer@lists.spline.inf.fu-berlin.de
> http://lists.spline.inf.fu-berlin.de/mailman/listinfo/jacorb-developer


-- 
Dr. Gerald Brose                        mailto:brose@xtradyne.com
Xtradyne Technologies                     http://www.xtradyne.com
Schoenhauser Allee 6-7,                  Phone: +49-30-440 306-27
D-10119 Berlin, Germany                  Fax  : +49-30-440 306-78


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic