A novice to Jini - this is excellent news! Can someone help Vaibhav,
please? If any other novices to Jini/JavaSpaces want background
material on the technology, there are a number of sources such as Sun
and jini.org. There is also some material in the Files section of
this Group.
Gervas
--- In jini_javaspaces@yahoogroups.com, "vaibhav_rane"
<vaibhav_rane@y...> wrote:
>
> Hello guys,
>
> i m novice to jini as well as to his grp ... i am trying to start
> mahalo service... i give the foll. command ...
>
> java -Djava.security.policy=policy.all -
> jar /opt/jini2_0_002/lib/start.jar start-transient-jrmp-
mahalo.config
>
> when i run the abv command i get the foll. stack trace ...
>
> Sep 24, 2005 2:57:25 PM com.sun.jini.start.ServiceStarter
> checkResultFailures
> WARNING: Exception creating service.
> java.lang.ClassNotFoundException:
> com.sun.jini.mahalo.TransientMahaloImpl
> at java.net.URLClassLoader$1.run(URLClassLoader.java:199)
> at java.security.AccessController.doPrivileged(Native
Method)
> at java.net.URLClassLoader.findClass
(URLClassLoader.java:187)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
> at java.lang.ClassLoader.loadClassInternal
> (ClassLoader.java:302)
> at java.lang.Class.forName0(Native Method)
> at java.lang.Class.forName(Class.java:219)
> at com.sun.jini.start.NonActivatableServiceDescriptor.create
> (NonActivata
> bleServiceDescriptor.java:339)
> at com.sun.jini.start.ServiceStarter.create
> (ServiceStarter.java:303)
> at com.sun.jini.start.ServiceStarter.main
> (ServiceStarter.java:483)
> Sep 24, 2005 2:57:25 PM com.sun.jini.start.ServiceStarter
> checkResultFailures
> WARNING: Associated service descriptor [0]:
> [http://setu.ssi.com/mahalo-
> dl.jar, policy.all,
> $JINI_HOME/lib/mahalo.jar,
>
com.sun.jini.mahalo.TransientMahaloImpl,
> [transient-jrmp-mahalo.config],
>
com.sun.jini.start.NonActivatableServiceDescript
> or$1@ae506e]
>
>
> i have also tried running the service using the foll. command ...
>
> java -Djava.security.policy=policy.all -
> jar /opt/jini2_0_002/lib/mahalo.jar http://localhost/mahalo-dl.jar
> policy.all /tmp/txn_log public
>
> on giving the abv cmd i get the foll. error ...
>
> Failed to load Main-Class manifest attribute from
> /opt/jini2_0_002/lib/mahalo.jar
>
> i have tried most of the sites ... but haven't found any soln for
> the abv problem ... if u guys have gone thru the abv prob. .. i
will
> be obiliged to be enlightened frm u ... hoping for a soln ...
> thanking in advance
>
> cheers,
> Vaibhav