You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stanbol.apache.org by "Andreas Kuckartz (JIRA)" <ji...@apache.org> on 2014/04/23 10:27:14 UTC

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

Andreas Kuckartz created STANBOL-1328:
-----------------------------------------

             Summary: 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


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)