You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stanbol.apache.org by "Rupert Westenthaler (JIRA)" <ji...@apache.org> on 2014/04/24 09:32:21 UTC

[jira] [Updated] (STANBOL-1328) Running SPARQL query fails / "request body has been consumed by the servlet or a servlet filter"

     [ https://issues.apache.org/jira/browse/STANBOL-1328?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rupert Westenthaler updated STANBOL-1328:
-----------------------------------------

    Attachment: STANBOL-1328.log

Andreas, I attached the interesting part of your log to the issue. As you can see in the Exception your SPARQL query could not be parsed.

So please check that the query you where sending confirmed to SPARQL 1.0

> Running SPARQL query fails / "request body has been consumed by the servlet or a servlet filter"
> ------------------------------------------------------------------------------------------------
>
>                 Key: STANBOL-1328
>                 URL: https://issues.apache.org/jira/browse/STANBOL-1328
>             Project: Stanbol
>          Issue Type: Bug
>    Affects Versions: 1.0.0
>         Environment: java version "1.7.0_55"
> OpenJDK Runtime Environment (IcedTea 2.4.7) (7u55-2.4.7-1)
> OpenJDK 64-Bit Server VM (build 24.51-b03, mixed mode)
>            Reporter: Andreas Kuckartz
>         Attachments: STANBOL-1328.log
>
>
> I am running:
> ```
> java -Xmx1024M -XX:MaxPermSize=400M -Xss512k -jar org.apache.stanbol.launchers.full-1.0.0-SNAPSHOT.jar
> ```
> When I visit http://localhost:8080/sparql/ and click on the button "Run SPARQL query" I see the response "Invalid query."
> At the same time such a warning is logged:
> ```
> Apr 23, 2014 10:19:09 AM org.glassfish.jersey.servlet.WebComponent filterFormParameters
> Warnung: A servlet request to the URI http://localhost:8080/sparql contains form parameters in the request body but the request body has been consumed by the servlet or a servlet filter accessing the request parameters. Only resource methods using @FormParam will work as expected. Resource methods consuming the request body by other means will not work as expected.
> ```



--
This message was sent by Atlassian JIRA
(v6.2#6252)