You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stanbol.apache.org by "Alberto Musetti (JIRA)" <ji...@apache.org> on 2011/06/20 17:02:47 UTC

[jira] [Updated] (STANBOL-231) Broken jersey services with MediaType.MULTIPART_FORM_DATA on /rules/web, /reengieneer/web and /reasoners/web

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

Alberto Musetti updated STANBOL-231:
------------------------------------

    Attachment: multipartFormData.patch

This patch converts @FormParam to @FormDataParam and adds dependency to jersey-multipart in pom.xml files, this should fix the issue

> Broken jersey services with MediaType.MULTIPART_FORM_DATA on /rules/web, /reengieneer/web and /reasoners/web
> ------------------------------------------------------------------------------------------------------------
>
>                 Key: STANBOL-231
>                 URL: https://issues.apache.org/jira/browse/STANBOL-231
>             Project: Stanbol
>          Issue Type: Bug
>          Components: KReS
>            Reporter: Enrico Daga
>            Priority: Blocker
>         Attachments: multipartFormData.patch
>
>
> Even if compiling correctly, the services do not start with the kres launcher.
> Fragment output is:
> INFO: Initiating Jersey application, version 'Jersey: 1.7 05/20/2011 11:04 AM'
> Jun 20, 2011 3:44:14 PM com.sun.jersey.server.impl.model.method.dispatch.MultipartFormDispatchProvider getInjectables
> SEVERE: Resource methods utilizing @FormParam and consuming "multipart/form-data" are no longer supported. See @FormDataParam.
> Jun 20, 2011 3:44:14 PM com.sun.jersey.server.impl.model.method.dispatch.MultipartFormDispatchProvider getInjectables
> SEVERE: Resource methods utilizing @FormParam and consuming "multipart/form-data" are no longer supported. See @FormDataParam.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira