« Return to Thread: Java Firefox Extension in Firefox 3?

Re: longwell semantic-bank: what's a profile?

by Jon Crump-2 :: Rate this Message:

Reply to Author | View in Thread

Ryan, Thanks alot for taking a stab at this.


On Wed, 12 Mar 2008, Ryan Lee wrote:
>
> Which version of Firefox and PB are you using?

FF 2.0.0.12
PB 3.1.2
MacBook 2.2 GHz Intel Core 2 Duo
OS X 10.5.2.

logging in with http://jjcrump.myopenid.com and password seems to succeed
and results in:
Mar 13, 2008 1:15:06 PM com.janrain.url.UrlConnectionFetcher
interpretResponse
WARNING: Unable to find a charset

>> 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)

attempting to remove an item from tstbank gets:
13:17:08.610 [..l.command.RemoveCommand] Unauthorized user attempted to
remove from profile  (3703836ms)

> Profiles should be an internal-to-the-code matter.  How did you set up
> your Semantic Bank account in PB?

Tools -> PiggyBank -> My Semanti Bank Accounts -> add
bank address: http://localhost:8080/tstbank
account type: OpenID

The Longwell code is recent SVN:
At revision 9124.

/Applications/Simile/longwell/src/main/webapp/tstbank/configuration.properties
has only:
# ---------- Extension ---------------
longwell.configuration.extends=semantic-bank
# ----------- Templates ----------------
longwell.template.header=components/sourcenotes-header.vt

and the longwell.store.type = memory
at:
/Applications/Simile/longwell/src/main/webapp/WEB-INF/longwell.properties

In case it's helpful, below I've included the full trace upon starting
semantic-bank:

[ElCid:/Applications/Simile/longwell] 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'
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'jetty'.
[INFO]
----------------------------------------------------------------------------
[INFO] Building SIMILE Longwell
[INFO]    task-segment: [jetty:run]
[INFO]
----------------------------------------------------------------------------
[INFO] Preparing jetty:run
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
[INFO] Nothing to compile - all classes are up to date
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:testCompile]
[INFO] Nothing to compile - all classes are up to date
[INFO] [jetty:run]
[INFO] Configuring Jetty for project: SIMILE Longwell
[INFO] Webapp source directory =
/Applications/Simile/longwell/src/main/webapp
[INFO] web.xml file =
/Applications/Simile/longwell/src/main/webapp/WEB-INF/web.xml
[INFO] Classes = /Applications/Simile/longwell/target/classes
2008-03-12 13:09:51.562::INFO:  Logging to STDERR via
org.mortbay.log.StdErrLog
[INFO] Context path = /
[INFO] Tmp directory =  determined at runtime
[INFO] Web defaults = org/mortbay/jetty/webapp/webdefault.xml
[INFO] Web overrides =  none
[INFO] Webapp directory = /Applications/Simile/longwell/src/main/webapp
[INFO] Starting jetty 6.1.6rc1 ...
2008-03-12 13:09:52.870::INFO:  jetty-6.1.6rc1
2008-03-12 13:09:53.613::INFO:  No Transaction manager found - if your
webapp requires one, please configure one.
13:09:56.497 [..ell.LongwellClassLoader] Classloader and classloader
watcher initialized (0ms)
13:09:56.508 [..ongwell.LongwellServlet] > load longwell properties (11ms)
13:09:56.548 [..ongwell.LongwellServlet]  Loading properties for
configuration 'tstbank' from
/Applications/Simile/longwell/src/main/webapp/tstbank/configuration.properties
(40ms)
13:09:56.561 [..ongwell.LongwellServlet]  tstbank extends semantic-bank
(13ms)
13:09:56.577 [..ongwell.LongwellServlet]  Loading properties for
configuration 'semantic-bank' from
/Applications/Simile/longwell/src/main/webapp/semantic-bank/configuration.properties
(16ms)
13:09:56.594 [..ongwell.LongwellServlet]  semantic-bank extends longwell
(17ms)
13:09:56.613 [..ongwell.LongwellServlet]  Loading properties for
configuration 'longwell' from
/Applications/Simile/longwell/src/main/webapp/longwell/configuration.properties
(19ms)
13:09:56.627 [..ell.LongwellClassLoader]  Processing class repository:
/Applications/Simile/longwell/src/main/webapp/longwell/classes (14ms)
13:09:56.627 [..ell.LongwellClassLoader]  Repository
/Applications/Simile/longwell/src/main/webapp/longwell/classes does not
exist (0ms)
13:09:56.627 [..ell.LongwellClassLoader]  Processing class repository:
/Applications/Simile/longwell/src/main/webapp/longwell/lib (0ms)
13:09:56.627 [..ell.LongwellClassLoader]  Repository
/Applications/Simile/longwell/src/main/webapp/longwell/lib does not exist
(0ms)
13:09:56.628 [..ell.LongwellClassLoader]  Processing class repository:
/Applications/Simile/longwell/src/main/webapp/semantic-bank/classes (1ms)
13:09:56.628 [..ell.LongwellClassLoader]  Repository
/Applications/Simile/longwell/src/main/webapp/semantic-bank/classes does
not exist (0ms)
13:09:56.629 [..ell.LongwellClassLoader]  Processing class repository:
/Applications/Simile/longwell/src/main/webapp/semantic-bank/lib (1ms)
13:09:56.643 [..ell.LongwellClassLoader]  Repository
/Applications/Simile/longwell/src/main/webapp/semantic-bank/lib does not
exist (14ms)
13:09:56.644 [..ell.LongwellClassLoader]  Processing class repository:
/Applications/Simile/longwell/src/main/webapp/tstbank/classes (1ms)
13:09:56.644 [..ell.LongwellClassLoader]  Repository
/Applications/Simile/longwell/src/main/webapp/tstbank/classes does not
exist (0ms)
13:09:56.645 [..ell.LongwellClassLoader]  Processing class repository:
/Applications/Simile/longwell/src/main/webapp/tstbank/lib (1ms)
13:09:56.645 [..ell.LongwellClassLoader]  Repository
/Applications/Simile/longwell/src/main/webapp/tstbank/lib does not exist
(0ms)
13:09:56.645 [..ongwell.LongwellServlet]  Starting configuration: tstbank
(0ms)
13:09:56.645 [..ongwell.LongwellServlet] < load longwell properties (0ms)
13:09:56.645 [..ongwell.LongwellServlet] > load OpenID store (0ms)
13:09:56.705 [..ongwell.LongwellServlet] < load OpenID store (60ms)
13:09:56.705 [..ongwell.LongwellServlet] > initialize fresnel (0ms)
13:09:56.706 [..ongwell.LongwellServlet] < initialize fresnel (1ms)
13:09:56.706 [..ongwell.LongwellServlet] > initialize XSLT transformations
(0ms)
13:09:57.189 [..ongwell.LongwellServlet] < initialize XSLT transformations
(483ms)
13:09:57.189 [..ongwell.LongwellServlet] > initialize velocity (0ms)
13:09:57.441 [..ongwell.LongwellServlet] < initialize velocity (252ms)
13:09:57.629 [..ongwell.LongwellServlet] > initialize the longwell engine
(188ms)
13:09:57.823 [..mile.longwell.Utilities]  Read 5 statements from
'file:/Applications/Simile/longwell/src/main/webapp/WEB-INF/fresnel-defaults.n3'
(194ms)
13:09:57.840 [..mile.longwell.Utilities]  Read 5 statements from
'file:/Applications/Simile/longwell/src/main/webapp/tstbank/fresnel.n3'
(17ms)
13:09:57.852 [..mile.longwell.Utilities]  Read 5 statements from
'file:/Applications/Simile/longwell/src/main/webapp/longwell/fresnel.n3'
(12ms)
13:09:57.865 [..gwell.RepositoryFactory]  Enabling smooshing on the triple
store (13ms)
13:09:57.882 [..imile.longwell.Longwell]  Configuration file watcher
initialized. (17ms)
13:09:57.882 [..ongwell.LongwellServlet] < initialize the longwell engine
(0ms)
13:09:57.882 [..ongwell.LongwellServlet] > load data into longwell (0ms)
13:09:57.900 [..mile.longwell.Utilities]  Read 31 statements from
'file:/Applications/Simile/longwell/src/main/webapp/WEB-INF/configurations.n3'
(18ms)
13:09:58.941 [..mile.longwell.Utilities]  Read 10 statements from
'file:/Applications/Simile/longwell/src/main/webapp/longwell/data/doap-facade.n3'
(1041ms)
13:09:59.058 [..mile.longwell.Utilities]  Read 12 statements from
'file:/Applications/Simile/longwell/src/main/webapp/longwell/data/foaf-facade.n3'
(117ms)
13:09:59.174 [..mile.longwell.Utilities]  Read 95 statements from
'file:/Applications/Simile/longwell/src/main/webapp/longwell/data/ontoweb-bibtex-facade.n3'
(116ms)
13:09:59.293 [..mile.longwell.Utilities]  Read 9 statements from
'file:/Applications/Simile/longwell/src/main/webapp/longwell/data/public-facade.n3'
(119ms)
13:09:59.301 [..ngwell.QueryBasedFacade]
org.openrdf.query.QueryEvaluationException: No info on property
http://simile.mit.edu/2005/04/ontologies/publishing#status (8ms)
13:09:59.341 [..mile.longwell.Utilities]  Read 10 statements from
'file:/Applications/Simile/longwell/src/main/webapp/longwell/data/rss-facade.n3'
(40ms)
13:09:59.376 [..mile.longwell.Utilities]  Read 0 statements from
'file:/Applications/Simile/longwell/src/main/webapp/longwell/data/today's-items-facade.n3'
(35ms)
13:09:59.393 [..mile.longwell.Utilities]  Read 9 statements from
'file:/Applications/Simile/longwell/src/main/webapp/longwell/data/web-page-facade.n3'
(17ms)
13:09:59.454 [..mile.longwell.Utilities]  Read 82 statements from
'file:/Applications/Simile/longwell/src/main/webapp/tstbank/data/sealImages.n3'
(61ms)
13:09:59.535 [..ongwell.LongwellServlet] < load data into longwell (81ms)
13:09:59.535 [..ongwell.LongwellServlet] > index the longwell data (0ms)
13:09:59.543 [..ongwell.LongwellServlet] < index the longwell data (8ms)
2008-03-12 13:09:59.032::INFO:  Started
BlockingChannelConnector@...:8080
[INFO] Started Jetty Server
[INFO] Starting scanner at interval of 5 seconds.

_______________________________________________
General mailing list
General@...
http://simile.mit.edu/mailman/listinfo/general

 « Return to Thread: Java Firefox Extension in Firefox 3?