• Post Reply Bookmark Topic Watch Topic
  • New Topic

Unable to Start JINI lookup server  RSS feed

 
Oruganti Subrahmanyam
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi JINI Users,


I am able to start HTTPServer., and Rmi server.. But while starting REGGIE Jini Lookupserver., it is giving message -

Failed to load Main-Class manifest attribute from
C:\jini2_0_1/lib/reggie.jar --

When i see the package reggie.jar it is not having CreateLookup.class file in that jar..
And i didnt find Main-Class attribute in Manifest file of reggie.jar..

I am using Windows 2000 Server as OS., and j2sdk1.4.2_04 is the JDK version...
Anybody's help is appreciated.

Thanx&Regards,
Subrahmanyam.O
 
Nathan Pruett
Bartender
Posts: 4121
IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Here's a link to a reggie tutorial.

Can you post the line that you are using to start reggie? It should be an executable JAR, so it *should* have a Main-Class specified in its manifest. Perhaps you have a corrupted download of Jini?
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13078
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am using a rather similar version - my batch command file to start Reggie looks like:

My copy of reggie.jar is datestamped 1/27/2004
I gave up on trying to figure out the minimum set of jar files to put in my c:/Servers/Jini20/lib directory and put all the jars that the distribution had in - 33 in all. I'm sure some are only for demos but they didn't provide a minimum list.
Just getting the complete set of support programs running seems to be a big obstacle to getting started - supposedly the JINI team is working on a simplified startup.
Bill
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13078
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Now I have a problem starting Reggie on a Linux system. I copied the entire working directory, all those myriad jars, etc. Fixed up the file refernces in the starting .sh commands to reflect the new locations. However -
The com.sun.jini.start.ServiceStarter throws a file not found exception, specifically giving the exact path to the start-transient-reggie.config file
This file does exist on that path - I've looked at the name dozens of times and opened the file with an editor, so it is readable.
I'm a novice with Linux (this is Sun's Java Desktop System)
what should I try next?
Bill
Update - I got reggie to work but I'm not sure why one approach works but the other doesn't - seems to be related to the directory I execute a .sh script in versus how the paths are described. Now on to Javaspaces.
[ January 10, 2005: Message edited by: William Brogden ]
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!