oaicat

OCLC's oaicat

oaicat's implementation of ListMetadataFormats

Just a little, tiny note: When you run oaicat's demo from war file (version 1.42 or so), you might actually get no response for ListMetadataFormats if parameter is missing. I mean you get an error message that the parameter is missing, while the spec clearly states that the parameter is optional.

It seems that this issue has been fixed since current demo version at http://alcme.oclc.org/oaicat and also the upgraded version (available as jar and source) on my test box responds correctly.

 

oaicat filesystem and update

Filesystem Structure

I guess I will go for a filesystem populated with many small xml files. Each file contains one record in native format and would be named according to the objId, e.g.

objId1234567.mpx
kueId1234.mpx
mulId12345.mpx

There should be only one record per objId, so probably I do not need several directories although this might get very big directory.

Updates

I guess I could write a little perl script to update the filesystem.

Logging oaicat

What happened before

So, I gave up installing tomcat on my laptop last week or so. Instead I use my ubuntu box at home now. That gave new headaches for a few evenings, but it was solvable and now it works reliably. At first I installed oaicat.war, then updated to 1.5.57 jar distribution and today, I was able to compile oaicat from source using netbeans. I guess I got my development system running. What is the next step?

Customaization Notes

I guess it is time to read the customization notes again. So where to look?

OAIcat examples

Since the normal installation of the oaicat demo at http://alcme.oclc.org/oaicat/ transforms raw oai mhp xml output to nice html you cannot really see the xml quickly. Unless you install your own version and modify oaicat.properties, of course. 

That's why I attach the response to Identity and ListRecord here as xml. It should make it easier to get to this xml when I am not on the one or two machines where I have oaicat running.

 

 

oaicat under ubuntu

I tried to install tomcat on my laptop and it doesn't work. I don't know why. On the pc at work it worked after a few minutes. Now, I gave up and tried to install oaicat on my ubuntu linux today.

I use the ubuntu package for tomcat. The start script works nicely, but it does not really comply with the warning from the oaicat page:

Tomcat

My Tomcat problem (diagnosis)

I start tomcat. It works, serves static and dynamic pages for a few minutes and then seems to freeze. Every dynamic request times out.

java.exe in task manager shows 46432 K memory usage and doesn't change (with 19 threads).

Attempts

I still have this problem, after I put -Xms228M -Xmx512M in %JAVA_OPTS  on my laptop and if I start tomcat from windows shell in the tomcat directory.

Looking for Log files

From my OAI Diaries

I am trying to learn OAI for the MIMO project.  I am currently looking at Jeff Young's oaicat. The problem with is that I only had a vague or no idea at all about the OAI metadata harvesting protocol, Java servlets and Tomcat, Ant etc. when I started to look at it.

Tomcat

Syndicate content