[Pellet-users] Problems starting up Pellet DIG

Ibach, Brandon L brandon.l.ibach at lmco.com
Wed Mar 7 05:17:58 UTC 2007


Valerie,
    You specifically mention unzipping the pellet.jar and pellet-dig.bat files.  Unless I'm misinterpreting what you say, it sounds like those are the only two files you now have on disk.  The Pellet zip file is designed to be completely extracted, which should produce a directory structure containing all of the right files in the right places (such as pellet.jar already being in a lib subdirectory).  The pellet.jar depends on numerous other jar files, the lack of which would readily explain the NoClassDefFoundError you're getting.  If you extract the zip file completely and run the pellet-dig.bat file, you shouldn't even need to add lib/pellet.jar into your classpath, as the batch file explicitly tells the Java runtime where to find it.

-Brandon :) 

 

________________________________

From: pellet-users-bounces at lists.owldl.com [mailto:pellet-users-bounces at lists.owldl.com] On Behalf Of Valerie Cross
Sent: Tuesday, March 06, 2007 11:35 PM
To: pellet-users at lists.owldl.com
Subject: [Pellet-users] Problems starting up Pellet DIG



Hi,

 I want to use Pellet as my reasoner with Protege-OWL but I am having problems starting the DIG server. I went to  pellet.owldl.com
and did the 


Download

Simply download the following zip file and put lib/pellet.jar in your classpath: 

*	pellet-1.4-RC2.zip <http://pellet.owldl.com/downloads/pellet/1.4/pellet-1.4-RC2.zip>  (Feb 05, 2007) 

 
3)  I unzipped the pellet.jar file and the pellet-dig.bat files and placed them in a Program Files directory pellet-1.4-RC2.
I put the jar in a lib directory within that directory.
4) Then I tried to run the pellet-dig.bat file  but the DIG server doesn't start up like they show at FAQs site 
http://www.mindswap.org/2003/pellet/faq.shtml#owlapi-1      These are the directions I followed: 

*	How can I use Pellet with Protégé? 
*	Pellet comes with a DIG server that you can use with Protégé <http://protege.stanford.edu/plugins/owl/> . You can start the DIG server by running pellet-dig.bat on Windows systems and by running pellet-dig.sh on Unix-like systems. You need to make sure that the port number used by Pellet and Protégé is the same. When Pellet DIG server start you will see a message like the following:
	
	
*	PelletDIGServer Version 1.3 (April 17 2006) 
*	Port: 8081 
*	In Protégé, go to "OWL" menu and select "Preferences". For the "Reasoner  URL" value enter "http://localhost:8081" and hit the close button. Or alternatively you can start Pellet DIG server using the port number defined in Protégé, e.g. type pellet-dig -port 8080 in the command prompt. 


See below is a print screen of the errors I get. Can you help me figure out what I am doing wrong or forgetting to do?   I changed the port number to 8081 in Protege-OWL but that doesn't matter at this point since I can't get the DIG server up and running.  I also set the class path using the system environmental variables to include the Program Files\pellet-1.4-RC2\lib\pellet.jar  in it. 

Thanks for any help you can provide.

Valerie


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.owldl.com/pipermail/pellet-users/attachments/20070307/f7925284/attachment.htm 


More information about the Pellet-users mailing list