Ryan,

Thank you very much for your fast response.

Given your suggestions let me investigate this a bit more and I will update
you on any developments.

I am creating and instance document based on this owl file:

http://www.cse.unsw.edu.au/~annec/TMDM_Simple.owl<http://www.cse.unsw.edu.au/%7Eannec/TMDM_Simple.owl>

Longwell appear to fail on this file as well.

Maybe you could have a quick look for me?

In the meantime for completeness here is the entire stack trace:

[INFO]: MAVEN_OPTS=-Djava.awt.headless=true -Dslf4j=false -
Dlog4j.configuration=
file:./src/main/webapp/WEB-INF/log4j.properties -
Djava.security.auth.login.confi
g=file:./src/main/resources/jaas.config - Dlongwell.data=c:\ASSETA~1.OWL-Xms32M
-Xmx256M -Djetty.port=8080
[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
Downloading:
http://repo.mergere.com/maven2/commons-logging/commons-logging-api/
1.1/commons-logging-api-1.1.pom
Downloading: http://www.ibiblio.org/maven2/commons-logging/commons-logging-api/1

.1/commons-logging-api-1.1.pom
Downloading:
http://repo1.maven.org/maven2/commons-logging/commons-logging-api/1
.1/commons-logging-api-1.1.pom
Downloading:
http://simile.mit.edu/maven-proxy/commons-logging/commons-logging-a
pi/1.1/commons-logging-api-1.1.pom
Downloading:
http://repo1.maven.org/maven2/commons-logging/commons-logging-api/1
.1/commons-logging-api-1.1.pom
[INFO] [jetty:run]
[INFO] Configuring Jetty for project: SIMILE Longwell
[INFO] Webapp source directory = C:\Users\local\longwell-
2.4.2\src\main\webapp
[INFO] web.xml file = C:\Users\local\longwell-
2.4.2\src\main\webapp\WEB-INF\web.
xml
[INFO] Classes = C:\Users\local\longwell-2.4.2\target\classes
May 24, 2007 9:09:24 PM org.slf4j.impl.JCLLoggerAdapter info
INFO: Logging to [EMAIL PROTECTED] via
org.mortbay.log.Sl <http://org.mortbay.log.sl/>
f4jLog
[INFO] Context path = /
[INFO] Tmp directory = C:\Users\local\longwell-2.4.2\target\work
[INFO] Web defaults =  jetty default
[INFO] Webapp directory = C:\Users\local\longwell-2.4.2\src\main\webapp
[INFO] Starting jetty null ...
May 24, 2007 9:09:25 PM org.slf4j.impl.JCLLoggerAdapter info
INFO: jetty-6.0.x
[INFO] Classpath = [file:/C:/Users/local/longwell-2.4.2/target/classes/,
file:/C
:/Users/Eoin%20Lane/.m2/repository/edu/mit/simile/jaas-openid/0.3/jaas-openid-0.

3.jar,
file:/C:/Users/Eoin%20Lane/.m2/repository/commons-lang/commons-lang/2.1/c
ommons-lang-2.1.jar,
file:/C:/Users/Eoin%20Lane/.m2/repository/log4j/log4j/1.2.1
3/log4j-1.2.13.jar,
file:/C:/Users/Eoin%20Lane/.m2/repository/janrain/openid/bet
a-1/openid-beta-1.jar,
file:/C:/Users/Eoin%20Lane/.m2/repository/org/gnu/inet/li
bidn/0.6.5/libidn-0.6.5.jar,
file:/C:/Users/Eoin%20Lane/.m2/repository/concurren
t/concurrent/1.3.4/concurrent-1.3.4.jar,
file:/C:/Users/Eoin%20Lane/.m2/reposito
ry/commons-collections/commons-collections/3.1/commons-collections-3.1.jar,
file
:/C:/Users/Eoin%20Lane/.m2/repository/openrdf/rio/2.0-alpha-3-jre1.4/rio-
2.0-alp
ha-3-jre1.4.jar,
file:/C:/Users/Eoin%20Lane/.m2/repository/openrdf/sesame/2.0-al
pha-3-jre1.4/sesame-2.0-alpha-3-jre1.4.jar,
file:/C:/Users/Eoin%20Lane/.m2/repos
itory/commons-logging/commons-logging/1.0.4/commons-logging-1.0.4.jar,
file:/C:/
Users/Eoin%20Lane/.m2/repository/velocity/velocity/1.4/velocity- 1.4.jar,
file:/C
:/Users/Eoin%20Lane/.m2/repository/lucene/lucene/1.4.3/lucene-1.4.3.jar,
file:/C
:/Users/Eoin%20Lane/.m2/repository/retroweaver/retroweaver-rt/1.2.2/retroweaver-
rt-1.2.2.jar,
file:/C:/Users/Eoin%20Lane/.m2/repository/whirlycache/whirlycache/
1.0.1/whirlycache-1.0.1.jar,
file:/C:/Users/Eoin%20Lane/.m2/repository/openrdf/o
penrdf-util/2.0-alpha-3-jre1.4/openrdf-util-2.0-alpha-3-jre1.4.jar,
file:/C:/Use
rs/Eoin%20Lane/.m2/repository/openrdf/openrdf-model/2.0- alpha-3-jre1.4
/openrdf-m
odel-2.0-alpha-3-jre1.4.jar,
file:/C:/Users/Eoin%20Lane/.m2/repository/junit/jun
it/3.8.1/junit-3.8.1.jar,
file:/C:/Users/Eoin%20Lane/.m2/repository/velocity/vel
ocity-dep/1.4/velocity-dep-1.4.jar ,
file:/C:/Users/Eoin%20Lane/.m2/repository/ed
u/mit/simile/fresnel-vocabularies/1.1-alpha/fresnel-
vocabularies-1.1-alpha.jar,
file:/C:/Users/Eoin%20Lane/.m2/repository/antlr/antlr/2.7.5/antlr-2.7.5.jar,
fil
e:/C:/Users/Eoin%20Lane/.m2/repository/javax/servlet/servlet-api/2.4/servlet-api

-2.4.jar,
file:/C:/Users/Eoin%20Lane/.m2/repository/isaviz/isaviz-fsl/0.6.3-jre1
.4/isaviz-fsl-0.6.3-jre1.4.jar,
file:/C:/Users/Eoin%20Lane/.m2/repository/common
s-codec/commons-codec/1.3/commons-codec-1.3.jar,
file:/C:/Users/Eoin%20Lane/.m2/
repository/edu/mit/simile/fresnel/1.3-alpha/fresnel-1.3-alpha.jar]
[ERROR] Failed to load RDF data from c:\ASSETA~1.OWL
edu.mit.simile.SimileUtilities$ModelReadFromFileException: Unknown data
format i
n c:\ASSETA~1.OWL
       at edu.mit.simile.SimileUtilities.loadDataFromFile(
SimileUtilities.java:
202)
       at edu.mit.simile.longwell.LongwellUtilities.loadDataFromFile
(LongwellUt
ilities.java:138)
       at edu.mit.simile.longwell.Profile.addData (Profile.java:194)
       at edu.mit.simile.longwell.LongwellServlet.init(LongwellServlet.java
:339
)
       at org.mortbay.jetty.servlet.ServletHolder.initServlet(
ServletHolder.jav
a:402)
       at org.mortbay.jetty.servlet.ServletHolder.doStart (
ServletHolder.java:25
4)
       at org.mortbay.component.AbstractLifeCycle.start(
AbstractLifeCycle.java:
38)
       at org.mortbay.jetty.servlet.ServletHandler.initialize(
ServletHandler.ja
va:569)
       at org.mortbay.jetty.webapp.WebAppContext.startContext(
WebAppContext.jav
a:1137)
       at org.mortbay.jetty.handler.ContextHandler.doStart(
ContextHandler.java:
420)
       at org.mortbay.jetty.webapp.WebAppContext.doStart (
WebAppContext.java:461
)
       at org.mortbay.component.AbstractLifeCycle.start(
AbstractLifeCycle.java:
38)
       at org.mortbay.jetty.handler.HandlerCollection.doStart
(HandlerCollection
.java:156)
       at org.mortbay.jetty.handler.ContextHandlerCollection.doStart
(ContextHan
dlerCollection.java:120)
       at org.mortbay.component.AbstractLifeCycle.start(
AbstractLifeCycle.java:
38)
       at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection
.java:156)
       at org.mortbay.component.AbstractLifeCycle.start(
AbstractLifeCycle.java:
38)
       at org.mortbay.jetty.handler.HandlerWrapper.doStart(
HandlerWrapper.java:
119)
       at org.mortbay.jetty.Server.doStart(Server.java:210)
       at org.mortbay.component.AbstractLifeCycle.start(
AbstractLifeCycle.java:
38)
       at org.mortbay.jetty.plugin.Jetty6PluginServer.start(Jetty6PluginServer.

java:134)
       at org.mortbay.jetty.plugin.AbstractJettyMojo.startJetty
(AbstractJettyMo
jo.java:327)
       at org.mortbay.jetty.plugin.AbstractJettyMojo.execute
(AbstractJettyMojo.
java:272)
       at org.mortbay.jetty.plugin.AbstractJettyRunMojo.execute
(AbstractJettyRu
nMojo.java:177)
       at org.mortbay.jetty.plugin.Jetty6RunMojo.execute(Jetty6RunMojo.java
:183
)
       at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi
nManager.java:443)
       at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals
(Defa
ultLifecycleExecutor.java:539)
       at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandalone
Goal(DefaultLifecycleExecutor.java:493)
       at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal
(Defau
ltLifecycleExecutor.java:463)
       at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan
dleFailures(DefaultLifecycleExecutor.java:311)
       at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen
ts(DefaultLifecycleExecutor.java:278)
       at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi
fecycleExecutor.java:143)
       at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334)
       at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125)
       at org.apache.maven.cli.MavenCli.main (MavenCli.java:272)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.
java:64)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:43)
       at java.lang.reflect.Method.invoke(Method.java:615)
       at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java
:315)
       at org.codehaus.classworlds.Launcher.launch (Launcher.java:255)
       at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java
:430)

       at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
[ERROR] Failed to load RDF data from c:\ASSETA~1.OWL
edu.mit.simile.SimileUtilities$ModelReadFromFileException: Unknown data
format i
n c:\ASSETA~1.OWL
       at edu.mit.simile.SimileUtilities.loadDataFromFile(
SimileUtilities.java:
202)
       at edu.mit.simile.longwell.LongwellUtilities.loadDataFromFile(LongwellUt
ilities.java:138)
       at edu.mit.simile.longwell.Profile.addData(Profile.java:194)
       at edu.mit.simile.longwell.LongwellServlet.init(LongwellServlet.java
:339
)
       at org.mortbay.jetty.servlet.ServletHolder.initServlet (
ServletHolder.jav
a:402)
       at org.mortbay.jetty.servlet.ServletHolder.doStart(
ServletHolder.java:25
4)
       at org.mortbay.component.AbstractLifeCycle.start(
AbstractLifeCycle.java:
38)
       at org.mortbay.jetty.servlet.ServletHandler.initialize(
ServletHandler.ja
va:569)
       at org.mortbay.jetty.webapp.WebAppContext.startContext(
WebAppContext.jav
a:1137)
       at org.mortbay.jetty.handler.ContextHandler.doStart (
ContextHandler.java:
420)
       at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java
:461
)
       at org.mortbay.component.AbstractLifeCycle.start(
AbstractLifeCycle.java:
38)
       at org.mortbay.jetty.handler.HandlerCollection.doStart
(HandlerCollection
.java:156)
       at org.mortbay.jetty.handler.ContextHandlerCollection.doStart
(ContextHan
dlerCollection.java:120)
       at org.mortbay.component.AbstractLifeCycle.start (
AbstractLifeCycle.java:
38)
       at org.mortbay.jetty.handler.HandlerCollection.doStart
(HandlerCollection
.java:156)
       at org.mortbay.component.AbstractLifeCycle.start(
AbstractLifeCycle.java:
38)
       at org.mortbay.jetty.handler.HandlerWrapper.doStart(
HandlerWrapper.java:
119)
       at org.mortbay.jetty.Server.doStart(Server.java:210)
       at org.mortbay.component.AbstractLifeCycle.start(
AbstractLifeCycle.java :
38)
       at org.mortbay.jetty.plugin.Jetty6PluginServer.start
(Jetty6PluginServer.
java:134)
       at org.mortbay.jetty.plugin.AbstractJettyMojo.startJetty
(AbstractJettyMo
jo.java:327)
       at org.mortbay.jetty.plugin.AbstractJettyMojo.execute(AbstractJettyMojo.
java:272)
       at org.mortbay.jetty.plugin.AbstractJettyRunMojo.execute
(AbstractJettyRu
nMojo.java:177)
       at org.mortbay.jetty.plugin.Jetty6RunMojo.execute(Jetty6RunMojo.java
:183
)
       at org.apache.maven.plugin.DefaultPluginManager.executeMojo
(DefaultPlugi
nManager.java:443)
       at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals
(Defa
ultLifecycleExecutor.java:539)
       at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandalone
Goal(DefaultLifecycleExecutor.java:493)
       at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal
(Defau
ltLifecycleExecutor.java :463)
       at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan
dleFailures(DefaultLifecycleExecutor.java:311)
       at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen
ts(DefaultLifecycleExecutor.java:278)
       at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute
(DefaultLi
fecycleExecutor.java:143)
       at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java :334)
       at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125)
       at org.apache.maven.cli.MavenCli.main(MavenCli.java:272)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.
java:64)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAcces
sorImpl.java:43)
       at java.lang.reflect.Method.invoke (Method.java:615)
       at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java
:315)
       at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
       at org.codehaus.classworlds.Launcher.mainWithExitCode (Launcher.java
:430)

       at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
May 24, 2007 9:09:30 PM org.slf4j.impl.JCLLoggerAdapter warn
WARNING: failed Longwell
May 24, 2007 9:09:30 PM org.slf4j.impl.JCLLoggerAdapter warn
WARNING: failed [EMAIL PROTECTED]/,file:/C:/Users/local/longwell-
2.4.2/sr
c/main/webapp/}
May 24, 2007 9:09:30 PM org.slf4j.impl.JCLLoggerAdapter warn
WARNING: failed [EMAIL PROTECTED]
May 24, 2007 9:09:30 PM org.slf4j.impl.JCLLoggerAdapter warn
WARNING: failed [EMAIL PROTECTED]
May 24, 2007 9:09:30 PM org.slf4j.impl.JCLLoggerAdapter info
INFO: Started BlockingChannelConnector @ 0.0.0.0:8080
May 24, 2007 9:09:30 PM org.slf4j.impl.JCLLoggerAdapter warn
WARNING: failed [EMAIL PROTECTED]
[INFO] Jetty server exiting.
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Failure

Embedded error: Failed to load RDF data from c:\ASSETA~1.OWL
[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 17 seconds
[INFO] Finished at: Thu May 24 21:09:30 EDT 2007
[INFO] Final Memory: 9M/32M
[INFO]
------------------------------------------------------------------------
May 24, 2007 9:09:30 PM org.slf4j.impl.JCLLoggerAdapter info
INFO: Shutdown hook executing
May 24, 2007 9:09:30 PM org.slf4j.impl.JCLLoggerAdapter info
INFO: Shutdown hook complete


On 5/24/07, Ryan Lee <[EMAIL PROTECTED]> wrote:

Eoin Lane wrote:
> I want to use Longwell to do some facet searching in an owl document I
have
> created in Protege.
>
> I have gotten Longwell 2.4.2 up and running.
>
> However when I submit my owl document I get an error saying
>
> Unknown data format in c:\OWL\ASSETA~1.OWL
>
> I have already validated this document in Protege using
> http://pellet.owldl.com/#UsingPellet
>
> and using the W3C RDF validator at http://www.w3.org/RDF/Validator/.
>
> I have tracked the problem to the SimileUtilities where it appear to
bark
> using this parser org.openrdf.rio.RDFParser
>
> Anything more that you could tell me about this parser and or how I
could
> pre-validation my OWL document to make sure it is compliant with
Longwell
> parser would be a great help to me.

Longwell 2.4.2 relies on Sesame's Rio parser, version 2.0 alpha 3.

Not all parsers are created equal, so it's entirely possible your OWL
document is valid but the parser fails on it.  Sesame is now at 2.0 beta
4, so, if this a Sesame issue, it may be that this has been fixed in the
latest builds.  You could try our latest Longwell (which uses those
latest builds) by checking it out of Subversion, you could try to start
a conversation with the Sesame folks (they're great), or you could post
your OWL somewhere and see if any of us or them can help.

You might want to post the full stack trace and info on your environment
so we can make sure to rule out any other incidental causes.

--
Ryan Lee                  [EMAIL PROTECTED]
MIT CSAIL Research Staff  http://simile.mit.edu/
http://people.csail.mit.edu/ryanlee/




--
____________________________

Eoin Lane, PhD
http://www.eoinlane.com/
____________________________
_______________________________________________
General mailing list
[email protected]
http://simile.mit.edu/mailman/listinfo/general

Reply via email to