CLAVIN-rest 0.2 installation problem

158 views
Skip to first unread message

Makiko Shukunobe

unread,
Nov 3, 2014, 1:50:31 PM11/3/14
to clavin...@googlegroups.com
Hi Travis,

Thank you so much for updating the CLAVIN-rest!!  We met Charlie at the All Things Open conference in Raleigh last month, and he kindly answered all our questions regarding CLAVIN & natural language processing -- and also spoke highly of you.  In addition, Charlie mentioned a new version of CLAVIN has been released, so we tried to use the newer version; however, we encountered an installation problem at the instruction "java -Xmx2048m -jar clavin-rest.jar index clavin-rest.yml".  When we run the code, we get an error that showing "Error: Invalid or corrupt jarfile clavin-rest.jar".  Since we don't know what is causing the error, we tested both Windows 8 and 7 OS (the steps we took are shown below), but unfortunately neither worked.  Accordingly, we would very much appreciate if you could please provide us possible resolutions regarding the aforementioned installation problem.  Thank you in advance.

Sincerely yours,
Makiko  

----------------------------------------------------------------------------------------
The steps we took are:
1. Downloading the CLAVIN-rest ZIP file and unzip the file.
2. "cd" to directory where the CLAVIN-rest is stored in the CMD console.
3. Following given instructions in the CLAVIN-rest Quick Start.

Travis Pinney

unread,
Nov 15, 2014, 12:23:58 PM11/15/14
to clavin...@googlegroups.com
Hi Makiko, 

I apologize for the delay. The problem is occurring because the jar does not exist in the release on the main repo. 

You can access an unofficial release here in the meantime 

See if this works for you in the and I will reply back when it the main release gets updated. 

Best Regards,
Travis

Makiko Shukunobe

unread,
Nov 24, 2014, 9:39:38 AM11/24/14
to Travis Pinney, clavin...@googlegroups.com
Hi Travis,

Thank you so much for your response!!  We very appreciate it!!  

We downloaded the clavin-rest-0.2.0.jar, but we still have problem running the CLAVIN-rest.  There are two executable jar files, "clavin.jar" and "clavin-rest.jar" in first release of CLAVIN-rest and for the 2.0 version, the "clavin.jar" is missing.  Do you think this is the problem we are having a difficulty the CLAVIN-rest server running? 

Thank you so much!!
Makiko

--
You received this message because you are subscribed to the Google Groups "clavin-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to clavin-users...@googlegroups.com.
To post to this group, send email to clavin...@googlegroups.com.
Visit this group at http://groups.google.com/group/clavin-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/clavin-users/be5e015b-5e29-4717-826d-fa03c5b2d773%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.



--
Research Associate
NC State University,
Center for Geospatial Analytics
Box 7106, Jordan Hall 5117
Raleigh, NC 27695
Makiko Shukunobe

Patrick Pierson

unread,
Nov 24, 2014, 9:43:00 AM11/24/14
to Makiko Shukunobe, clavin...@googlegroups.com
Makiko,
    I hope to have an official release this week for both Clavin and Clavin-rest.  Hopefully that will correct any confusion.


Very Respectfully,
     Patrick Pierson
     Sr. Linux Systems Engineer
     Cell: 301-466-7559

Makiko Shukunobe

unread,
Nov 24, 2014, 10:14:16 AM11/24/14
to Patrick Pierson, clavin...@googlegroups.com
Hi Patrick,

Thank you so much for prompt response!  We already tested the CLAVIN 2.0 and impressed by the improvement.  We are very much looking forward to use the CLAVIN-rest!!

Again, thank you so much!!
Makiko


For more options, visit https://groups.google.com/d/optout.

Makiko Shukunobe

unread,
May 21, 2015, 1:50:52 PM5/21/15
to Patrick Pierson, clavin...@googlegroups.com
Hi Patrick,

Thank you very much for keep updating the CLAVIN and CLAVIN-REST.  I have used CLAVIN2.0 and it works fantastic!!  Thank you so much for the Berico-Technologies CLAVIN development team!!!

I would like to ask a couple of questions for the CLAVIN-REST since I am still having a trouble running the application by following the instruction given in the GitHub.
  1. The CLAVIN-REST 0.2.0 doesn't require 'clavin.jar' for indexing?  Instead, the application use 'claven-rest.jar' ?
  2. To run the clavin server, I think 'java -Xmx2048m -jar clavin-rest-0.2.0.jar server clavin-rest.yml' should be used instead of 'java -Xmx2048m -jar clavin-rest.jar server clavin-rest.yml'.
I was able to run the application by modifying above.  That makes me wonder if the instructions given in the GitHub may require little adjustment?  
Thank you in advance.

Best,
Makiko

Patrick Pierson

unread,
May 21, 2015, 1:58:23 PM5/21/15
to Makiko Shukunobe, clavin...@googlegroups.com
Makiko,
   Some of the clavin-rest documentation might be out of date. I'll see what I can do about updating it.  If you notice anything else let me know.

As for clavin.jar vs clavin-rest.jar.  The clavin-rest.jar is able to do indexing as long as the file to index exists. 


Very Respectfully,
     Patrick Pierson
     Lead Systems Engineer
     AWS Certified Sysops Administrator
     Cell: 301-466-7559
    

Makiko Shukunobe

unread,
May 21, 2015, 2:29:55 PM5/21/15
to Patrick Pierson, clavin...@googlegroups.com
Hi Patrick,

Thank you so much for the quick response!  I just tested the indexing using clavin-rest.jar and it worked!!  So, a couple of miner changes are required:

Create a CLAVIN gazetteer
java -Xmx4096m -jar clavin-rest-0.2.0.jar index clavin-rest.yml

Run the CLAVIN rest server
java -Xmx2048m -jar clavin-rest-0.2.0.jar server clavin-rest.yml 

Thank you so much!!
Makiko
Reply all
Reply to author
Forward
0 new messages