Skip to content

Instantly share code, notes, and snippets.

@alphaville
Last active December 24, 2015 09:59
Show Gist options
  • Save alphaville/07536df6f3b8e252832a to your computer and use it in GitHub Desktop.
Save alphaville/07536df6f3b8e252832a to your computer and use it in GitHub Desktop.
Policy error - Command: curl -X POST http://147.102.82.124:8080/algorithm/mlr -H subjectid:AQIC5wM2LY4SfcwbY97z5MpOXBRJF15JY5Uaeq1SWD3Qy_g.*AAJTSQACMDE.* -d dataset_uri=http://apps.ideaconsult.net:8080/ambit2/dataset/R545 -d prediction_feature=http://apps.ideaconsult.net:8080/ambit2/feature/22200 -H Accept:text/uri-list
<rdf:RDF
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:ot="http://www.opentox.org/api/1.1#"
xmlns:otrs="http://opentox.org/opentox-rest.owl#"
xmlns:ota="http://www.opentox.org/algorithmTypes.owl/#"
xmlns:owl="http://www.w3.org/2002/07/owl#"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:bibtex="http://purl.oclc.org/NET/nknouf/ns/bibtex#"
xmlns:xsd="http://www.w3.org/2001/XMLSchema#"
xmlns:jaqpot="http://opentox.ntua.gr:3000"
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" >
<rdf:Description rdf:about="http://www.opentox.org/api/1.1#Dataset">
<rdfs:subClassOf rdf:resource="http://www.opentox.org/api/1.1#OpenToxResource"/>
<rdfs:comment rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Provides access to chemical compounds and their features (e.g. structural, physical-chemical, biological, toxicological properties)</rdfs:comment>
<rdf:type rdf:resource="http://www.w3.org/2002/07/owl#Class"/>
</rdf:Description>
<rdf:Description rdf:about="http://purl.org/dc/elements/1.1/description">
<rdf:type rdf:resource="http://www.w3.org/2002/07/owl#AnnotationProperty"/>
</rdf:Description>
<rdf:Description rdf:about="http://www.opentox.org/api/1.1#DataType">
<rdfs:subClassOf rdf:resource="http://www.opentox.org/api/1.1#OpenToxResource"/>
<rdf:type rdf:resource="http://www.w3.org/2002/07/owl#Class"/>
</rdf:Description>
<rdf:Description rdf:about="http://www.opentox.org/api/1.1#message">
<rdfs:comment rdf:datatype="http://www.w3.org/2001/XMLSchema#string">For example: 'Prediction feature not provided'</rdfs:comment>
<dc:description rdf:datatype="http://www.w3.org/2001/XMLSchema#string">A simple message providing some simple description of the exceptional event.</dc:description>
<dc:title rdf:datatype="http://www.w3.org/2001/XMLSchema#string">error message</dc:title>
<rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>
<rdfs:domain rdf:resource="http://www.opentox.org/api/1.1#ErrorReport"/>
<rdf:type rdf:resource="http://www.w3.org/2002/07/owl#DatatypeProperty"/>
</rdf:Description>
<rdf:Description rdf:about="http://purl.org/dc/elements/1.1/identifier">
<rdf:type rdf:resource="http://www.w3.org/2002/07/owl#AnnotationProperty"/>
</rdf:Description>
<rdf:Description rdf:about="http://www.opentox.org/api/1.1#Feature">
<rdfs:subClassOf rdf:resource="http://www.opentox.org/api/1.1#OpenToxResource"/>
<rdf:type rdf:resource="http://www.w3.org/2002/07/owl#Class"/>
</rdf:Description>
<rdf:Description rdf:about="http://www.opentox.org/api/1.1#httpStatus">
<dc:title rdf:datatype="http://www.w3.org/2001/XMLSchema#string">HTTP status</dc:title>
<rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#int"/>
<rdfs:domain rdf:resource="http://www.opentox.org/api/1.1#ErrorReport"/>
<rdf:type rdf:resource="http://www.w3.org/2002/07/owl#DatatypeProperty"/>
</rdf:Description>
<rdf:Description rdf:about="http://www.opentox.org/api/1.1#errorCode">
<dc:description rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Error codes of error reports are specified by the service providers that produce the error report. These are characteristic for every class of exceptional events.</dc:description>
<dc:title rdf:datatype="http://www.w3.org/2001/XMLSchema#string">error code</dc:title>
<rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>
<rdfs:domain rdf:resource="http://www.opentox.org/api/1.1#ErrorReport"/>
<rdf:type rdf:resource="http://www.w3.org/2002/07/owl#DatatypeProperty"/>
</rdf:Description>
<rdf:Description rdf:about="http://www.opentox.org/api/1.1#OpenToxResource">
<rdfs:subClassOf rdf:resource="http://www.w3.org/2002/07/owl#Thing"/>
<rdfs:comment rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Generic OpenTox Resource</rdfs:comment>
<rdf:type rdf:resource="http://www.w3.org/2002/07/owl#Class"/>
</rdf:Description>
<rdf:Description rdf:about="http://www.opentox.org/api/1.1#actor">
<dc:description rdf:datatype="http://www.w3.org/2001/XMLSchema#string">URI of the peer that produces the exception.</dc:description>
<dc:title rdf:datatype="http://www.w3.org/2001/XMLSchema#string">error actor</dc:title>
<rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>
<rdfs:domain rdf:resource="http://www.opentox.org/api/1.1#ErrorReport"/>
<rdf:type rdf:resource="http://www.w3.org/2002/07/owl#DatatypeProperty"/>
</rdf:Description>
<rdf:Description rdf:about="http://www.opentox.org/api/1.1#Model">
<rdfs:subClassOf rdf:resource="http://www.opentox.org/api/1.1#OpenToxResource"/>
<rdf:type rdf:resource="http://www.w3.org/2002/07/owl#Class"/>
</rdf:Description>
<rdf:Description rdf:about="http://www.opentox.org/api/1.1#Task">
<rdfs:subClassOf rdf:resource="http://www.opentox.org/api/1.1#String"/>
<rdfs:subClassOf rdf:resource="http://www.opentox.org/api/1.1#Feature"/>
<rdf:type rdf:resource="http://www.w3.org/2002/07/owl#Class"/>
</rdf:Description>
<rdf:Description rdf:about="http://www.opentox.org/api/1.1#Algorithm">
<rdfs:subClassOf rdf:resource="http://www.opentox.org/api/1.1#OpenToxResource"/>
<rdfs:comment rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Provides access to OpenTox algorithms</rdfs:comment>
<rdf:type rdf:resource="http://www.w3.org/2002/07/owl#Class"/>
</rdf:Description>
<rdf:Description rdf:about="http://www.opentox.org/api/1.1#hasSource">
<rdfs:range rdf:resource="http://www.opentox.org/api/1.1#Model"/>
<rdfs:range rdf:resource="http://www.opentox.org/api/1.1#Dataset"/>
<rdfs:range rdf:resource="http://www.opentox.org/api/1.1#Algorithm"/>
<rdfs:domain rdf:resource="http://www.opentox.org/api/1.1#Feature"/>
<rdfs:domain rdf:resource="http://www.opentox.org/api/1.1#Task"/>
<rdf:type rdf:resource="http://www.w3.org/2002/07/owl#ObjectProperty"/>
</rdf:Description>
<rdf:Description rdf:about="http://www.opentox.org/api/1.1#details">
<dc:description rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Detailed message including technical information about the exceptional event. Can be used to help both peers in the debugging.</dc:description>
<dc:title rdf:datatype="http://www.w3.org/2001/XMLSchema#string">error details</dc:title>
<rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>
<rdfs:domain rdf:resource="http://www.opentox.org/api/1.1#ErrorReport"/>
<rdf:type rdf:resource="http://www.w3.org/2002/07/owl#DatatypeProperty"/>
</rdf:Description>
<rdf:Description rdf:about="http://www.opentox.org/api/1.1#ErrorReport">
<rdfs:subClassOf rdf:resource="http://www.opentox.org/api/1.1#OpenToxResource"/>
<dc:description rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Instances of the class ErrorReport appear in ontological models to report some exceptional event that happened during the transaction of data from one server to another, request errors or internal server errors. An error report is characterized by its actor, the corresponding status code, some unique identifier for the exceptional event and possibly another error report that triggered its creation.</dc:description>
<rdf:type rdf:resource="http://www.w3.org/2002/07/owl#Class"/>
</rdf:Description>
<rdf:Description rdf:about="http://www.opentox.org/api/1.1#String">
<rdfs:subClassOf rdf:resource="http://www.opentox.org/api/1.1#DataType"/>
<rdf:type rdf:resource="http://www.w3.org/2002/07/owl#Class"/>
</rdf:Description>
<rdf:Description rdf:about="http://www.w3.org/2000/01/rdf-schema#comment">
<rdf:type rdf:resource="http://www.w3.org/2002/07/owl#AnnotationProperty"/>
</rdf:Description>
<rdf:Description rdf:about="http://anonymous.org/error/ac3731ac-97d8-40b9-84b9-c9f68a35d7cd">
<ot:httpStatus rdf:datatype="http://www.w3.org/2001/XMLSchema#int">502</ot:httpStatus>
<ot:errorCode rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Policy Creation Failed for user unset</ot:errorCode>
<ot:actor rdf:datatype="http://www.w3.org/2001/XMLSchema#string">http://147.102.82.124:8080/</ot:actor>
<ot:details rdf:datatype="http://www.w3.org/2001/XMLSchema#string">org.opentox.toxotis.exceptions.impl.RemoteServiceException: Policy server at https://opensso.in-silico.ch/pol responded with a status code 400 with message
&lt;html&gt;&lt;head&gt;&lt;title&gt;Apache Tomcat/7.0.19 - Error report&lt;/title&gt;
at org.opentox.toxotis.util.aa.policy.PolicyWrapper.publish(PolicyWrapper.java:175)
at org.opentox.jaqpot3.resources.AlgorithmResource.post(AlgorithmResource.java:173)
at org.restlet.resource.ServerResource.doHandle(ServerResource.java:465)
at org.restlet.resource.ServerResource.doNegotiatedHandle(ServerResource.java:522)
at org.restlet.resource.ServerResource.doConditionalHandle(ServerResource.java:258)
at org.restlet.resource.ServerResource.handle(ServerResource.java:752)
at org.restlet.resource.Finder.handle(Finder.java:515)
at org.restlet.routing.Filter.doHandle(Filter.java:156)
at org.restlet.routing.Filter.handle(Filter.java:203)
at org.restlet.routing.Router.doHandle(Router.java:472)
at org.restlet.routing.Router.handle(Router.java:688)
at org.restlet.routing.Filter.doHandle(Filter.java:156)
at org.restlet.routing.Filter.handle(Filter.java:203)
at org.restlet.routing.Filter.doHandle(Filter.java:156)
at org.restlet.routing.Filter.handle(Filter.java:203)
at org.restlet.routing.Filter.doHandle(Filter.java:156)
at org.restlet.engine.application.StatusFilter.doHandle(StatusFilter.java:152)
at org.restlet.routing.Filter.handle(Filter.java:203)
at org.restlet.routing.Filter.doHandle(Filter.java:156)
at org.restlet.routing.Filter.handle(Filter.java:203)
at org.restlet.engine.ChainHelper.handle(ChainHelper.java:111)
at org.restlet.engine.application.ApplicationHelper.handle(ApplicationHelper.java:72)
at org.restlet.Application.handle(Application.java:379)
at org.restlet.ext.wadl.WadlApplication.handle(WadlApplication.java:769)
at org.restlet.routing.Filter.doHandle(Filter.java:156)
at org.restlet.routing.Filter.handle(Filter.java:203)
at org.restlet.routing.Router.doHandle(Router.java:472)
at org.restlet.routing.Router.handle(Router.java:688)
at org.restlet.routing.Filter.doHandle(Filter.java:156)
at org.restlet.routing.Filter.handle(Filter.java:203)
at org.restlet.routing.Router.doHandle(Router.java:472)
at org.restlet.routing.Router.handle(Router.java:688)
at org.restlet.routing.Filter.doHandle(Filter.java:156)
at org.restlet.engine.application.StatusFilter.doHandle(StatusFilter.java:152)
at org.restlet.routing.Filter.handle(Filter.java:203)
at org.restlet.routing.Filter.doHandle(Filter.java:156)
at org.restlet.routing.Filter.handle(Filter.java:203)
at org.restlet.engine.ChainHelper.handle(ChainHelper.java:111)
at org.restlet.Component.handle(Component.java:385)
at org.restlet.Server.handle(Server.java:474)
at org.restlet.engine.ServerHelper.handle(ServerHelper.java:71)
at org.restlet.engine.http.HttpServerHelper.handle(HttpServerHelper.java:150)
at org.restlet.ext.servlet.ServerServlet.service(ServerServlet.java:1035)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:151)
at net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:129)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
at java.lang.Thread.run(Thread.java:662)
</ot:details>
<ot:message rdf:datatype="http://www.w3.org/2001/XMLSchema#string"></ot:message>
<dc:title rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Error report produced by 'http://147.102.82.124:8080/'</dc:title>
<dc:identifier rdf:datatype="http://www.w3.org/2001/XMLSchema#anyURI">http://anonymous.org/error/ac3731ac-97d8-40b9-84b9-c9f68a35d7cd</dc:identifier>
<rdf:type rdf:resource="http://www.opentox.org/api/1.1#ErrorReport"/>
</rdf:Description>
<rdf:Description rdf:about="http://purl.org/dc/elements/1.1/title">
<rdf:type rdf:resource="http://www.w3.org/2002/07/owl#AnnotationProperty"/>
</rdf:Description>
</rdf:RDF>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment