N00b here, many thanks in advance for your help.
Having previously deployed swiftowlim-3.0.beta9 as a java app, I'm
redeloying as a servlet delegate that loads on startup in tomcat.
The delegate constructor executes an initialization procedure similar to
the getting started example. The repository is not properly initializing
and is "reacting to a modified repository config." The servlet
initialization appears to cause the local repository manager to modify
and commit a change to the system repository which causes the
initialization to be "skipped." Is there an alternative initialization
procedure? I did not observe this behavior when deployed as a java app.
As shown in the getting started example, my delegate reads its
properties from the owlim.properties and owlim.ttl files. My only change
is to add the physical path of these files to the web.xml deployment
descriptor and read them from the FileInputStream.
Here are some snippets of interest from the stack trace ...
17:16:22.042 [ContainerBackgroundProcessor[StandardEngine[Catalina]]]
DEBUG org.apache.jasper.servlet.JspServlet - Scratch dir for the JSP
engine is:
/export/home/rick/apache-tomcat-5.5.27/work/Catalina/localhost/words
17:16:22.042 [ContainerBackgroundProcessor[StandardEngine[Catalina]]]
DEBUG org.apache.jasper.servlet.JspServlet - IMPORTANT: Do not modify
the generated servlets
entering model manager, path is:
/export/home/rick/apache-tomcat-5.5.27/webapps/words/
17:16:22.076 [ContainerBackgroundProcessor[StandardEngine[Catalina]]]
DEBUG org.openrdf.sail.memory.MemoryStore - Initializing MemoryStore...
17:16:22.094 [ContainerBackgroundProcessor[StandardEngine[Catalina]]]
DEBUG org.openrdf.sail.memory.MemoryStore - Creating directory for data
file...
17:16:22.097 [ContainerBackgroundProcessor[StandardEngine[Catalina]]]
DEBUG org.openrdf.sail.memory.MemoryStore - Initializing data file...
17:16:22.103 [ContainerBackgroundProcessor[StandardEngine[Catalina]]]
DEBUG org.openrdf.sail.memory.MemoryStore - Data file initialized
17:16:22.103 [ContainerBackgroundProcessor[StandardEngine[Catalina]]]
DEBUG org.openrdf.sail.memory.MemoryStore - MemoryStore initialized
17:16:22.130 [ContainerBackgroundProcessor[StandardEngine[Catalina]]]
INFO o.o.r.manager.SystemRepository - Initializing empty SYSTEM repository
17:16:22.145 [ContainerBackgroundProcessor[StandardEngine[Catalina]]]
DEBUG org.openrdf.sail.memory.MemoryStore - syncing data to file...
17:16:22.148 [ContainerBackgroundProcessor[StandardEngine[Catalina]]]
DEBUG org.openrdf.sail.memory.MemoryStore - Data synced to file
<SNIP>
17:16:22.238 [ContainerBackgroundProcessor[StandardEngine[Catalina]]]
DEBUG org.openrdf.sail.memory.MemoryStore - syncing data to file...
17:16:22.242 [ContainerBackgroundProcessor[StandardEngine[Catalina]]]
DEBUG org.openrdf.sail.memory.MemoryStore - Data synced to file
Interesting stuff starts here ...
17:16:22.242 [ContainerBackgroundProcessor[StandardEngine[Catalina]]]
DEBUG o.o.r.manager.LocalRepositoryManager - React to commit on
SystemRepository for contexts [_:node1428u6r6ax7]
17:16:22.242 [ContainerBackgroundProcessor[StandardEngine[Catalina]]]
DEBUG o.o.r.manager.LocalRepositoryManager - Processing modified context
_:node1428u6r6ax7.
17:16:22.242 [ContainerBackgroundProcessor[StandardEngine[Catalina]]]
DEBUG o.o.r.manager.LocalRepositoryManager - Is _:node1428u6r6ax7 a
repository config context?
17:16:22.243 [ContainerBackgroundProcessor[StandardEngine[Catalina]]]
DEBUG o.o.r.manager.LocalRepositoryManager - Reacting to modified
repository config for mashupim
17:16:22.243 [ContainerBackgroundProcessor[StandardEngine[Catalina]]]
DEBUG o.o.r.manager.LocalRepositoryManager - Modified repository
mashupim has not been initialized, skipping...
--
Rick
cell: 703-201-9129
web: http://www.rickmurphy.org
blog: http://phaneron.rickmurphy.org
_______________________________________________
OWLIM-discussion mailing list
[email protected]
http://ontotext.com/mailman/listinfo/owlim-discussion