You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@river.apache.org by Apache Wiki <wi...@apache.org> on 2009/09/02 02:13:22 UTC

[River Wiki] Update of "JOW Getting Started" by Clarence Fulton

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "River Wiki" for change notification.

The following page has been changed by Clarence Fulton:
http://wiki.apache.org/river/JOW_Getting_Started

New page:
[http://hencabug.tonosama.jp/index.html http] [http://fawuafa.konjiki.jp/page916.html free ways to make money online] [http://elficoc.0lx.net/index.html http] [http://folkzwesa.konjiki.jp/article25.html open legs] [http://studenthelp.com/ehdek/files/text340.htm love strange love movie]  
{{Get Jini}}

So you've read [[:Category:Introduction to Jini|Intro to Jini]] and you want to get started using it? You've come to the right place!

== Download Jini ==

If you haven't already, download the Jini Starter Kit from the sidebar or the [[:Category:Jini Starter Kit|Jini Starter Kit]] page.

== Your first Service ==

Once Jini is installed, Dan Creswell has posted an article on [http://www.dancres.org/cottage/service_build.html Creating a JINI Service].

Warren Strange has posted a blog [http://blogs.sun.com/warren/entry/jini_made_easier_writing_a Jini Made Easier] that explains how to create and deploy an simple service using the [http://cheiron.merangar.com/jsc/ Seven Jini Service Container] and for a full tutorial about creating Jini services have a look at the [http://cheiron.merangar.com/seven/manual/html/developer/ Developer Guide].

There is also a simple HelloWorld example along with sample configuration scripts that is created if you performed the jini install with examples. Detailed explanation of the example and its configuration scripts can be found in
$JINI_HOME/index.html

== Helpful Toolkits ==

The [http://startnow.dev.java.net Startnow Project] on [http://jini.dev.java.net java.net] provides 
several different tools for making service creation and access easier.

The [http://glyph.dev.java.net Glyph Project] on [http://jini.dev.java.net java.net] provides an
annotation based facility for creating Jini services.

== Jini Containers ==

Containers are an alternate way to deploy Jini based applications; usually they offer a simplified programming model. You can find a list of available containers 
in the [http://www.jini.org/wiki/Links#Deployment_Containers.2FSupport "Links"] page.

== Troubleshooting ==

Troubleshooting information may be found at [[:Category:Troubleshooting|Troubleshooting Jini]]

=== Linux Jini Starter Kit installation ===
In some strange cases there is a problem caused due to incompatibility of the installer's Java Run-time Environment with certain system libraries.

This results in the following error messages when calling the jini_2_1.bin :

 awk: error while loading shared libraries: libdl.so.2: cannot open shared object file: No such file or directory
 dirname: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
 /bin/ls: error while loading shared libraries: librt.so.1: cannot open shared object file: No such file or directory
 basename: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
 dirname: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
 basename: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
 grep: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
 /jdks/64/jdk1.5.0_05/bin/java: error while loading shared libraries: libpthread.so.0: cannot open shared object file: No such file or directory


* Open the bin installer file in an hexadecimal editor (such as hexedit).
* Look for the line

      export LD_ASSUME_KERNEL=2.2.5

* and replace it with

      #xport LD_ASSUME_KERNEL=2.2.5

* Save the file and lauch. It should work


The same works for the /jini2_1/installverify/support/launch-all script.

* found at [http://www.linuxquestions.org/questions/showthread.php?t=370056 http://www.linuxquestions.org/questions/showthread.php?t=370056]

== References ==

Further information is available at Jan Newmarch's very excellent [http://jan.newmarch.name/java/jini/tutorial/Jini.xml Guide to Jini Technologies]. This is published as a hardback book by APress as [http://www.apress.com/book/bookDisplay.html?bID=10171 Foundations of Jini 2 Programming] ISBN 1-59059-716-8