Error downloading files

Aug 11, 2010 at 12:27 PM

Hello,

 

I'm using the waffle filter with tomcat to authenticate users via NTLMV2. While the authentication procedure seams to work (the user is successfully logged), the client can't retrieve any data it requests.

I have tested this with a client connection with apache httpclient and with a browser. I'm always getting "HTTP Status 401 - Invalid authentication".

The server log has the following:

 [waffle.servlet.NegotiateSecurityFilter] PROPFIND /slide/files/system/ontologies/CompanyMaisis.owl, contentlength: 207

2010-08-11 12:02:51,909 INFO  [waffle.servlet.NegotiateSecurityFilter] successfully logged in user: MAISIS\psaraiva

2010-08-11 12:02:51,955 ERROR [pt.maisis.repositoryaccess.WebdavResourceAccessImpl] HTTP exception while connecting webdav using uri "http://maisis-alagaric:8088/slide/files/system/ontologies/CompanyMaisis.owl"

org.apache.commons.httpclient.HttpException

    at org.apache.webdav.lib.WebdavResource.propfindMethod(WebdavResource.java:3467)

    at org.apache.webdav.lib.WebdavResource.propfindMethod(WebdavResource.java:3423)

    at org.apache.webdav.lib.WebdavResource.setNamedProp(WebdavResource.java:967)

    at org.apache.webdav.lib.WebdavResource.setBasicProperties(WebdavResource.java:912)

    at org.apache.webdav.lib.WebdavResource.setProperties(WebdavResource.java:1894)

    at org.apache.webdav.lib.WebdavResource.setHttpURL(WebdavResource.java:1301)

    at org.apache.webdav.lib.WebdavResource.setHttpURL(WebdavResource.java:1320)

    at org.apache.webdav.lib.WebdavResource.setHttpURL(WebdavResource.java:1408)

    at org.apache.webdav.lib.WebdavResource.(WebdavResource.java:290)

    at pt.maisis.maidoc.webdavutils.RepositoryUtils.setupWebdavConnection(RepositoryUtils.java:226)

    at pt.maisis.repositoryaccess.WebdavRepositoryUtils.setupWebdavConnection(WebdavRepositoryUtils.java:59)

    at pt.maisis.repositoryaccess.WebdavResourceAccessImpl.setupWebdavConnection(WebdavResourceAccessImpl.java:194)

    at pt.maisis.repositoryaccess.WebdavResourceAccessImpl.getInternalResource(WebdavResourceAccessImpl.java:394)

    at pt.maisis.repositoryaccess.WebdavResourceAccessImpl.getContent(WebdavResourceAccessImpl.java:247)

    at pt.maisis.maidoc.kserver.ontology.FileOntologyRepository.loadOWLModel(FileOntologyRepository.java:120)

    at pt.maisis.maidoc.kserver.ontology.OWLAPIModel.loadOWLModel(OWLAPIModel.java:3404)

    at pt.maisis.maidoc.kserver.ontology.OWLAPIModel.init(OWLAPIModel.java:182)

    at pt.maisis.maidoc.kserver.ontology.OWLAPIModel.(OWLAPIModel.java:143)

    at pt.maisis.maidoc.kserver.ontology.OWLAPIModel.(OWLAPIModel.java:149)

    at pt.maisis.maidoc.kserver.ontology.OntologyImpl.startUpOntology(OntologyImpl.java:194)

    at pt.maisis.maidoc.kserver.ontology.OntologyImpl.(OntologyImpl.java:80)

    at pt.maisis.maidoc.kserver.ontology.OntologyHome.createIOntology(OntologyHome.java:56)

    at pt.maisis.maidoc.kserver.ontologymanager.OntologyManagerImpl.loadOntologies(OntologyManagerImpl.java:400)

    at pt.maisis.maidoc.kserver.ontologymanager.OntologyManagerImpl.createAndStartNewRunner(OntologyManagerImpl.java:999)

    at pt.maisis.maidoc.kserver.ontologymanager.OntologyManagerImpl.init(OntologyManagerImpl.java:207)

    at pt.maisis.maidoc.kserver.ontologymanager.OntologyManagerImpl.(OntologyManagerImpl.java:137)

    at pt.maisis.maidoc.kserver.ontologymanager.OntologyManagerMasterImpl.(OntologyManagerMasterImpl.java:132)

    at pt.maisis.maidoc.kserver.ontologymanager.OntologyManagerHome.createOntologyManager(OntologyManagerHome.java:38)

    at pt.maisis.maidoc.kserver.ontologymanager.OntologyManagerHome.getCurrentManager(OntologyManagerHome.java:56)

    at pt.maisis.maidoc.web.servlet.ServicesConfigurationServlet$RemindTask.run(ServicesConfigurationServlet.java:261)

    at java.util.TimerThread.mainLoop(Timer.java:512)

    at java.util.TimerThread.run(Timer.java:462)

2010-08-11 12:02:51,971 ERROR [pt.maisis.maidoc.kserver.ontology.OntologyRepository] Error loading the OWL ontology from path:http://maisis-alagaric:8088/slide/files/system/ontologies/CompanyMaisis.owl

Can you help me solve this?

 

Kind regards,

 

Pedro Saraiva

Coordinator
Aug 12, 2010 at 8:40 AM

Can you please trace what goes on with a successful vs. an unsuccessful connection between client and server (on the wire, use Wireshark or something like that) and post it here?