Dear all,
I'm trying to get an instance of longwell semantic-bank running. I'm
clearly missing some important step. I have no problem getting it running
at localhost:8080
jjc% ./longwell -c tstbank
[INFO] MAVEN_OPTS: ' -Djava.awt.headless=true -Dslf4j=true
-Dlog4j.configuration=file:./src/main/webapp/WEB-INF/log4j.properties
-Djava.security.auth.login.config=file:./src/main/resources/jaas.config
-Dlongwell.configuration=tstbank -Djetty.port=8080 -Xms32M -Xmx256M'
And I don't seem to have any problem logging into it using myopenid. All
the expected data are there and I can browse it in the usual longwell way,
but If I try to delete anything I get:
10:42:57.054 [..l.command.RemoveCommand] Unauthorized user attempted to
remove from profile (120985ms)
If I try publishing an item from my piggybank using the coin icon with the
up arrow, I get this:
10:57:26.477 [..l.command.UploadCommand] java.lang.RuntimeException: Could
not find profile with id: aHR0cDovL2pqY3J1bXAubXlvcGVuaWQuY29t (667669ms)
(by the way, didn't piggy-bank items used to have a publish button along
with the delete and tag buttons?)
If I navigate to a web page in FF and execute the 'view this page in my
banks' menu command in the piggy-bank menu, I get this:
10:59:12.215 [..ll.command.FocusCommand] java.lang.RuntimeException: Could
not find profile with id: tstbank (9ms)
java.lang.RuntimeException: Could not find profile with id: tstbank
at edu.mit.simile.longwell.Longwell.getProfile(Longwell.java:165)
at edu.mit.simile.longwell.Message.getProfile(Message.java:57)
at
edu.mit.simile.longwell.command.CommandBase.createContext(CommandBase.java:38)
at
edu.mit.simile.longwell.command.FocusCommand.execute(FocusCommand.java:22)
at
edu.mit.simile.longwell.LongwellServlet.doGet(LongwellServlet.java:576)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:715)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:362)
at
org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
at
org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
at
org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:722)
at
org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:404)
at
org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:206)
at
org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
at
org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)
at org.mortbay.jetty.Server.handle(Server.java:324)
at
org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505)
at
org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:828)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:514)
at
org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
at
org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)
at
org.mortbay.jetty.nio.BlockingChannelConnector$Connection.run(BlockingChannelConnector.java:163)
at
org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:450)
And logwell takes me to an empty page, while firebug reports: uncaught
exception: Permission denied to call method XMLHttpRequest.open
Clearly there is something about creating a profile that I'm missing. I'm
not even sure what a 'profile' is in this context. The
configuration.properties file for this instance has simply:
# ---------- Extension ---------------
longwell.configuration.extends=semantic-bank
# ----------- Templates ----------------
longwell.template.header=components/sourcenotes-header.vt
Perhaps there is something else I need to do here?
My intention is to do some testing to see if the semantic bank might be
the right tool for the application I have in mind. I need also to find out
if it is possible to add and subtract items from the semantic-bank
programmatically from some context other than piggy-bank. Is it possible,
for example, to upload existing rdf data to the semantic-bank via curl or
from a php page?
Any clues?
Jon
_______________________________________________
General mailing list
[email protected]
http://simile.mit.edu/mailman/listinfo/general