Re: Problems in installing Blitz 1.26
Dan Creswell <[email protected]> Tue, 5 Sep 2006 08:34:16 +0100
| Newsgroups | gmane.comp.java.sun.javaspaces |
|---|---|
| Message-ID | <[email protected]> |
Hello,
Nirmalya Sengupta wrote:
> Hello Dan,
>
> How are things?
>
Good, thank you - as this is a Blitz question, I suggest we move this
over to the blitz lists.....
Separate email to follow..........
Dan.
> After quite some time, I am back to Javaspaces. In my current
> project, I am trying to create a PoC using Blitz; this time, with
> your all-java version. When I tried to run 'blitz.sh', I was a little
> perplexed by the outpourings on the screen. The background:
>
> I installed Jini 2.1 afresh, on Redhat Linux Enterprise Desktop
> version, which is equivalent to Fedora C 4. The hostname is 'cheetah',
> though during installation, I supplied the name 'localhost' to avoid any
> problems, kind of which I had faced during my earlier dabbles with
> Jini and Javaspaces. This is a new machine, and almost everything
> on the machine is configured by default, during installation.
>
> Then I installed Blitz 1.26 using installer_pj_1_26.jar. At the time
> of installation, I supplied 9000 as the port for HTTPD.
>
> My JINI_HOME variable = /usr/local/bin/jini2_1
> my JAVASPACES_HOME variable = /usr/nirmalya/blitz
> [ To help you in visualizing the set-up and deciphering the portion of the
> screen output, given below ]
>
> No changes made to any of the config files or security settings (other
> than jsk-policy.jar being copied to Java 1.4 'ext' directory during
> Jini installation).
>
> When I run blitz.sh, expecting a smooth run (and preparing to execute my
> application), the following messages appear (cut/pased the first
> few lines here, the rest comprising of exception stack traces):
>
> ======================== Begin =====================================
>
> INFO: ClassServer started [[/usr/local/bin/jini2_1/lib-dl/], port 8080]
> Sep 5, 2006 10:53:36 AM com.sun.jini.start.HTTPDStatus httpdWarning
> WARNING: Problem accessing desired URL[http://cheetah:8080/reggie-dl.jar]:
> java.net.ConnectException: Connection refused.
> Sep 5, 2006 10:53:36 AM com.sun.jini.start.HTTPDStatus httpdWarning
> WARNING: Problem accessing desired URL[http://cheetah:8080/jsk-dl.jar]:
> java.net.ConnectException: Connection refused.
> Sep 5, 2006 10:53:37 AM com.sun.jini.reggie.RegistrarImpl init
> INFO: started Reggie: 54aac505-267f-42a4-b970-8dcca1f727f3, [], jini://cheetah/
> Sep 5, 2006 10:53:37 AM com.sun.jini.start.HTTPDStatus httpdWarning
> WARNING: Problem accessing desired URL[http://cheetah:8080/mahalo-dl.jar]:
> java.net.ConnectException: Connection refused.
> Sep 5, 2006 10:53:37 AM com.sun.jini.start.HTTPDStatus httpdWarning
> WARNING: Problem accessing desired URL[http://cheetah:8080/jsk-dl.jar]:
> java.net.ConnectException: Connection refused.
> Sep 5, 2006 10:53:37 AM com.sun.jini.mahalo.TxnManagerImpl doInit
> INFO: Mahalo started: com.sun.jini.mahalo.TransientMahaloImpl@53fb57
> Sep 5, 2006 10:53:37 AM
> net.jini.discovery.LookupDiscovery$UnicastDiscoveryTask run
> INFO: exception occurred during unicast discovery to 10.10.10.53:33011 with
> constraints InvocationConstraints[reqs: {}, prefs: {}]
> java.lang.ClassNotFoundException: com.sun.jini.reggie.RegistrarProxy (could
> not determine preferred setting; first URL: "http://cheetah:8080/reggie-dl.jar")
> at
> net.jini.loader.pref.PreferredClassLoader.loadClass(PreferredClassLoader.java:909)
> at java.lang.ClassLoader.loadClass(Unknown Source)
> at java.lang.ClassLoader.loadClassInternal(Unknown Source)
> at java.lang.Class.forName0(Native Method)
> at java.lang.Class.forName(Unknown Source)
> at
> net.jini.loader.pref.PreferredClassProvider.loadClass(PreferredClassProvider.java:613)
> at java.rmi.server.RMIClassLoader.loadClass(Unknown Source)
> at net.jini.loader.ClassLoading.loadClass(ClassLoading.java:138)
> at
> net.jini.io.MarshalInputStream.resolveClass(MarshalInputStream.java:296)
> at java.io.ObjectInputStream.readNonProxyDesc(Unknown Source)
> at java.io.ObjectInputStream.readClassDesc(Unknown Source)
> at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
> at java.io.ObjectInputStream.readObject0(Unknown Source)
> at java.io.ObjectInputStream.readObject(Unknown Source)
> at net.jini.io.MarshalledInstance.get(MarshalledInstance.java:358)
> at
> com.sun.jini.discovery.DiscoveryV1.doUnicastDiscovery(DiscoveryV1.java:397)
> at net.jini.discovery.LookupDiscovery$13.run(LookupDiscovery.java:3327)
> at
> com.sun.jini.start.AggregatePolicyProvider$6.run(AggregatePolicyProvider.java:527)
> at java.security.AccessController.doPrivileged(Native Method)
>
> <snip...>
>
> ============================= END ===========================
>
> When I tried to run Jini services alone (through Launch-All script
> supplied with the installation), I got this:
>
> ============================== BEGIN ==========================
>
> [nirmalya@cheetah installverify]$ ./Launch-All
> Sep 5, 2006 11:41:09 AM com.sun.jini.tool.ClassServer run
> INFO: ClassServer started [[/usr/local/bin/jini2_1/lib-dl/], port 8081]
> browser-dl.jar requested from localhost:33117
> jsk-dl.jar requested from localhost:33118
> Warning: Cannot convert string
> "-b&h-lucida-medium-r-normal-sans-*-140-*-*-p-*-iso8859-1" to type FontStruct
> reggie-dl.jar requested from localhost:33121
> jsk-dl.jar requested from localhost:33122
> Sep 5, 2006 11:41:12 AM com.sun.jini.reggie.RegistrarImpl init
> INFO: started Reggie: 977d174d-69fb-42ff-9888-5a90450ac68d,
> [nirmalyaInstallVerifyGroup], ConstrainableLookupLocator[[jini://cheetah/],
> [null]]
> reggie-dl.jar probed from localhost:33123
> reggie-dl.jar requested from localhost:33124
> jsk-dl.jar requested from localhost:33125
> fiddler-dl.jar requested from localhost:33126
> jsk-dl.jar requested from localhost:33128
> Sep 5, 2006 11:41:12 AM
> net.jini.discovery.LookupDiscovery$UnicastDiscoveryTask run
> INFO: exception occurred during unicast discovery to cheetah:4160 with
> constraints InvocationConstraints[reqs: {}, prefs:
> {}]java.net.ConnectException: Connection refused
> at java.net.PlainSocketImpl.socketConnect(Native Method)
> at java.net.PlainSocketImpl.doConnect(Unknown Source)
> at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
> at java.net.PlainSocketImpl.connect(Unknown Source)
> at java.net.Socket.connect(Unknown Source)
> at java.net.Socket.connect(Unknown Source)
> at
> com.sun.jini.discovery.internal.MultiIPDiscovery.getSingleResponse(MultiIPDiscovery.java:134)
> at
> com.sun.jini.discovery.internal.MultiIPDiscovery.getResponse(MultiIPDiscovery.java:83)
> at
> net.jini.discovery.LookupDiscovery$UnicastDiscoveryTask.run(LookupDiscovery.java:1756)
> at
> net.jini.discovery.LookupDiscovery$DecodeAnnouncementTask.run(LookupDiscovery.java:1599)
> at com.sun.jini.thread.TaskManager$TaskThread.run(TaskManager.java:331)
> Sep 5, 2006 11:41:12 AM com.sun.jini.fiddler.FiddlerImpl logInfoStartup
>
> <snip...>
>
> ================================ END ============================
>
>
> My guess is that I am missing something very obvious, as
> *-dl.jar are not found due the absence of HTTPD.
>
> Could you please hint at the possible problem?
>
> I know that questions of this category have been asked many times
> over, in the mailing-list. Can someone direct me to the right
> thread?
>
> Many thanks in advance.
>
> Nirmalya
> Software Technologist
>
> ===========================================================================
> To unsubscribe, send email to [email protected] and include in the body
> of the message "signoff JAVASPACES-USERS". For general help, send email to
> [email protected] and include in the body of the message "help".
>
> To view past JAVASPACES-USERS postings, please see:
> http://archives.java.sun.com/archives/javaspaces-users.html
>
===========================================================================
To unsubscribe, send email to [email protected] and include in the body
of the message "signoff JAVASPACES-USERS". For general help, send email to
[email protected] and include in the body of the message "help".
To view past JAVASPACES-USERS postings, please see:
http://archives.java.sun.com/archives/javaspaces-users.html