RE: TEST: WebOnt testcases

thanks Jeremy for all the work/feedback

I am now able to run it with following changes in
\jakarta-tomcat-4.1.10\bin\pfe setclasspath.bat

rem set JAVA_ENDORSED_DIRS=%BASEDIR%\bin;%BASEDIR%\common\endorsed
set JAVA_ENDORSED_DIRS=%BASEDIR%\bin;
  \w3ccvs\WWW\2002\03owlt\editors-draft\WEB-INF\lib;
  \w3ccvs\WWW\2002\03owlt\editors-draft\WEB-INF\classes

(I think that xercesImpl.jar and xmlParserAPIs.jar in
\jakarta-tomcat-4.1.10\common\endorsed somewhat interfered with
the ones in \w3ccvs\WWW\2002\03owlt\editors-draft\WEB-INF\lib
or the order was wrong)

I still can't access
http://sealpc09.cnuce.cnr.it:8080/wowg/jsp/main.jsp
(that's since some weeks, and SeanB had problems as
well if I remember well)
we actually get a "cannot find server or DNS error"
with IE and Mozilla1.2 gives "The document contains
no data" after a couple of minutes while still busy
and I also tried via another ISP
same for
http://sealpc09.cnuce.cnr.it:8080/wowg/jsp/edit.jsp
but it is luckily working locally

any suggestion for how to get n3-triples-with-typed-literals?

thanks again and have a nice holiday!

-- ,
Jos De Roo, AGFA http://www.agfa.com/w3c/jdroo/


                                                                                                                   
                    "Jeremy                                                                                        
                    Carroll"             To:     "Jos De_Roo" <jos.deroo.jd@belgium.agfa.com>                      
                    <jjc@hplb.hpl.       cc:     <www-archive@w3.org>                                              
                    hp.com>              Subject:     RE: TEST: WebOnt testcases                                   
                                                                                                                   
                    2002-12-19                                                                                     
                    05:16 PM                                                                                       
                                                                                                                   
                                                                                                                   





I am having trouble recreating your bugs.

I have just done an almost clean install in the following fashion.

(Using an old version of tomcat with Java 1.4.?)

1: downloaded into clean CVS a load of WWW
WWW/2002/03owlt
WWW/2001/sw/WebOnt
WWW/2002/07/owl.txt
WWW/2000/10/rdf-tests/rdfcore

2: changed WWW directory in CachedURL to point to new dir

3: downloaded new jdk 1.4.1 from sun and recompiled the sources in the
editors-draft directory

4: made a symbolic link from 03owlt/editors-draft to tomcat/webapps/wowg

5: started tomcat

And it seems to work.

The bug below looks like you've got an old version of jena on the class
path.

The server I have got up and running is
http://sealpc09.cnuce.cnr.it:8080/wowg/jsp/main.jsp

With the local directory fix it works much faster.

Jeremy



> -----Original Message-----
> From: Jos De_Roo [mailto:jos.deroo.jd@belgium.agfa.com]
> Sent: 19 December 2002 15:47
> To: jjc@hpl.hp.com
> Cc: www-archive@w3.org
> Subject: TEST: WebOnt testcases
>
>
> Hi Jeremy,
>
> using http://www.w3.org/2002/03owlt/editors-draft/WEB-INF/lib/jena2.jar
> with OUT N3
> we get for http://www.w3.org/2002/03owlt/cardinality/premises005
>
>
> [[[
> http://jena.hpl.hp.com/arp/not/a/real/uri/[28:9]: {W103} Creating
> statement
> for unknown RDF property: 'rdf:datatype'.
> http://jena.hpl.hp.com/arp/not/a/real/uri/[28:9]: {E201} Syntax error
when
> processing "1".
> Encountered "1" Was expecting one of:
>     XML comment
>     processing instruction
>     end element tag
>     property attributes
>     attribute rdf:type
>
> @prefix daml:   <http://www.daml.org/2001/03/daml+oil#> .
> @prefix rdf:    <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
> @prefix log:    <http://www.w3.org/2000/10/swap/log#> .
> @prefix rdfs:   <http://www.w3.org/2000/01/rdf-schema#> .
> @prefix :       <#> .
>
> <http://www.w3.org/2002/03owlt/cardinality/premises005#c>
>       a     <http://www.w3.org/2002/07/owl#Restriction> ;
>       <http://www.w3.org/2002/07/owl#cardinality>
>             [ rdf:datatype
>
> "http://www.w3.org/2001/XMLSchema#nonNegativeInteger" ]
> ;
>       <http://www.w3.org/2002/07/owl#onProperty>
>             <http://www.w3.org/2002/03owlt/cardinality/premises005#p> .
> ]]]
>
>
> is there a workaround?
> haven't checked WebTriples.java though...
>
> -- ,
> Jos De Roo, AGFA http://www.agfa.com/w3c/jdroo/
>
>
> PS for the servlet problem, I found some additional logging in tomcat
>
> [[[
> 2002-12-19 12:48:13 Parse Fatal Error at line 551 column 44: The string "
> --" is not permitted within comments.
> org.xml.sax.SAXParseException: The string "--" is not permitted within
> comments.
>            at
>
org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown
> Source)
>            at
> org.apache.xerces.util.ErrorHandlerWrapper.fatalError(Unknown
> Source)
>            at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown
> Source)
>            at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown
> Source)
>            at org.apache.xerces.impl.XMLScanner.reportFatalError(Unknown
> Source)
>            at
> org.apache.xerces.impl.XMLScanner.scanComment(Unknown Source)
>            at
org.apache.xerces.impl.XMLDTDScannerImpl.scanComment(Unknown
> Source)
>            at org.apache.xerces.impl.XMLDTDScannerImpl.scanDecls(Unknown
> Source)
>            at
> org.apache.xerces.impl.XMLDTDScannerImpl.scanDTDExternalSubset(Unknown
> Source)
>            at
> org.apache.xerces.impl.XMLDocumentScannerImpl$DTDDispatcher.dispat
> ch(Unknown
>
> Source)
>            at
>
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
> Source)
>            at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown
> Source)
>            at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown
> Source)
>            at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
>            at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown
> Source)
>            at javax.xml.parsers.SAXParser.parse(Unknown Source)
>            at javax.xml.parsers.SAXParser.parse(Unknown Source)
>            at
org.apache.struts.digester.Digester.parse(Digester.java:755)
>            at
> org.apache.struts.action.ActionServlet.initServlet(ActionServlet.j
> ava:1434)
>            at
> org.apache.struts.action.ActionServlet.init(ActionServlet.java:474)
>            at
> org.apache.webapp.admin.ApplicationServlet.init(ApplicationServlet
> .java:152)
>
>            at javax.servlet.GenericServlet.init(GenericServlet.java:256)
>            at
> org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapp
> er.java:924)
>
>            at
> org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:813)
>            at
> org.apache.catalina.core.StandardContext.loadOnStartup(StandardCon
> text.java:3342)
>
>            at
> org.apache.catalina.core.StandardContext.start(StandardContext.java:3534)
>            at
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerB
> ase.java:821)
>
>            at
> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)
>            at
> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:579)
>            at
> org.apache.catalina.core.StandardHostDeployer.addChild(StandardHos
tDeployer.java:529)
>
>            at java.lang.reflect.Method.invoke(Native Method)
>            at
> org.apache.commons.beanutils.MethodUtils.invokeMethod(MethodUtils.
> java:228)
>            at
> org.apache.commons.digester.SetNextRule.end(SetNextRule.java:260)
>            at
> org.apache.commons.digester.Digester.endElement(Digester.java:1036)
>            at
> org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
>            at
> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndEleme
> nt(Unknown
>
> Source)
>            at
> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentCont
entDispatcher.dispatch(Unknown
>
> Source)
>            at
>
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
> Source)
>            at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown
> Source)
>            at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown
> Source)
>            at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
>            at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown
> Source)
>            at
> org.apache.commons.digester.Digester.parse(Digester.java:1514)
>            at
> org.apache.catalina.core.StandardHostDeployer.install(StandardHost
> Deployer.java:335)
>
>            at
> org.apache.catalina.core.StandardHost.install(StandardHost.java:803)
>            at
> org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfi
> g.java:452)
>
>            at
> org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:409)
>            at
> org.apache.catalina.startup.HostConfig.start(HostConfig.java:879)
>            at
>
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:368)
>            at
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifec
ycleSupport.java:166)
>
>            at
> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1196)
>            at
> org.apache.catalina.core.StandardHost.start(StandardHost.java:738)
>            at
> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
>            at
> org.apache.catalina.core.StandardEngine.start(StandardEngine.java:347)
>            at
> org.apache.catalina.core.StandardService.start(StandardService.java:497)
>            at
> org.apache.catalina.core.StandardServer.start(StandardServer.java:2191)
>            at
> org.apache.catalina.startup.Catalina.start(Catalina.java:510)
>            at
> org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
>            at
> org.apache.catalina.startup.Catalina.process(Catalina.java:180)
>            at java.lang.reflect.Method.invoke(Native Method)
>            at
> org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
> ]]]
>
>

Received on Thursday, 19 December 2002 18:40:28 UTC