Hello!
Thank you for response.
But the problem was solved by disabling tomcat securuty manager.
It was an advice of tech support FSI Server.
I have not to much expirience in tomcat. So I made as they told:)
Paul Sandoz wrote:
>
> Hi,
>
> The following error indicates that Jersey is not loading, or failed to
> load, components declared in META-INF/service files of the jersey-core-
> {version}.jar:
>
>> Dec 12, 2009 10:53:17 PM
>> com.sun.jersey.spi.container.ContainerResponse
>> write
>> SEVERE: A message body writer for Java type, class java.lang.String,
>> and
>> MIME media type, text/plain, was not found
>
> Any additional clues in the logs?
>
> Are you running Jersey from within a special environment (e.g. that
> affects class loading like OSGi) or have you repackaged Jersey?
>
> Paul.
>
>
> On Dec 12, 2009, at 9:43 PM, vga wrote:
>
>>
>> Hello!
>>
>>
>> Now we try to setup demo version of FSI Server on Ubuntu 9.10 for
>> quick
>> look. But it does not want to work.
>>
>> First we have errors like this:
>> Dec 12, 2009 10:51:04 PM
>> com.sun.jersey.core.spi.component.ProviderFactory
>> __getComponentProvider
>> SEVERE: The provider class, class
>> com.sun.jersey.core.impl.provider.xml.SAXParserContextProvider,
>> could not be
>> instantiated. Processing will continue but
>> the class will not be utilized
>> java.security.AccessControlException: access denied
>> (java.lang.reflect.ReflectPermission suppressAccessChecks)
>>
>> We add to policy:
>> grant {
>> permission java.lang.reflect.ReflectPermission
>> "suppressAccessChecks";
>> };
>>
>> Then we got errors like:
>> Dec 12, 2009 10:53:17 PM
>> com.sun.jersey.server.impl.application.WebApplicationImpl onException
>> SEVERE: Internal server error
>> javax.ws.rs.WebApplicationException
>> at
>> com.neptunelabs.fsiserver.utils.service.B.Г“00000(Unknown Source)
>> at
>> com.neptunelabs.fsiserver.utils.service.B.Г’00000(Unknown Source)
>> at
>> com
>> .neptunelabs
>> .fsiserver
>> .authentication.service.SessionRefreshService.refresh(Unknown
>> Source)
>>
>> Dec 12, 2009 10:53:17 PM
>> com.sun.jersey.spi.container.ContainerResponse
>> write
>> SEVERE: A message body writer for Java type, class java.lang.String,
>> and
>> MIME media type, text/plain, was not found
>>
>> Our system:
>> Ubuntu 9.10
>> Tomcat6
>> Jersey 1.1.3-ea
>> libcommons-lang-java 2.4-4
>>
>> Server was updated for last packeges.
>> Can anyone help?
>>
>> --
>> View this message in context:
>> http://n2.nabble.com/Problem-with-setup-java-application-tp4157432p4157432.html
>> Sent from the Jersey mailing list archive at Nabble.com.
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe_at_jersey.dev.java.net
>> For additional commands, e-mail: users-help_at_jersey.dev.java.net
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_jersey.dev.java.net
> For additional commands, e-mail: users-help_at_jersey.dev.java.net
>
>
>
--
View this message in context: http://n2.nabble.com/Problem-with-setup-java-application-tp4157432p4170428.html
Sent from the Jersey mailing list archive at Nabble.com.