[Koha-bugs] [Bug 13930] Add supporting service svc/ncip for xnciptoolkit driver

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Dec 24 22:51:19 CET 2015


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13930

--- Comment #27 from Jiří Kozlovský <mail at jkozlovsky.cz> ---
(In reply to Kyle M Hall from comment #26)
> FYI, I tried to install xncip2toolkit via your dockerfile (
> https://github.com/moravianlibrary/xcncip2toolkit/tree/master/dockerfile )
> and it failed:
> 
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-compiler-plugin:2.0.2:compile
> (default-compile) on project koha-jar: Compilation failure
> [ERROR]
> /home/xcncip2toolkit/xcncip2toolkit/connectors/koha/3.xx/trunk/jar/src/main/
> java/org/extensiblecatalog/ncip/v2/koha/KohaLookupItemService.java:[93,59]
> error: unreported exception ParseException; must be caught or declared to be
> thrown
> [ERROR] -> [Help 1]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e
> switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions, please
> read the following articles:
> [ERROR] [Help 1]
> http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
> [ERROR]
> [ERROR] After correcting the problems, you can resume the build with the
> command
> [ERROR]   mvn <goals> -rf :koha-jar

Oh, it's been a while since I've updated the dockerfile .. the fact is I've
moved the newest code to the official GitHub repository of eXtensibleCatalog,
where I've just updated the docker build with installation instruction here:
https://github.com/eXtensibleCatalog/xcncip2toolkit/tree/master/dockerfile

I've tested the docker build now & it was built successfully - I've basically
added an option to specify a port in dockerfile/connectors/koha/configure.sh as
the Intranet could run on any other port than just 8080 .. 

So, to install the xcncip2toolkit for your Koha, just run ./install-koha.sh
after you have install the Docker, which is available to any OS.

After the installation is done, you should be able of running the ./start.sh
bash script which will start the tomcat servlet within the docker with an web
archive of the Koha connector on port 8080 - the exposed port could be modified
in start.sh on line 4 is:
docker run -d -p 8080:8080 xcncip2toolkit/xcncip2toolkit

So if you would like to have it exposed to port 14014, you would write this:
docker run -d -p 8080:14014 xcncip2toolkit/xcncip2toolkit 

Then just visit http://localhost:14014/koha-web & try to send LookupItem, or
LookupAgency (that one service does not communicate with Koha at all),
LookupItemSet, CanBeRequested etc .. the only NCIP message being now in
development state & not working yet is only "Lookup User Loaned History", which
will now always fail as it is not implemented yet.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list