users@jersey.java.net

[Jersey] Problem with setup java application

From: vga <dma1999_at_yandex.ru>
Date: Sat, 12 Dec 2009 12:43:28 -0800 (PST)

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.