Deploying an app to GlassFish 2.1 (Sailfin 1.5) and seeing this
exception. Looks like some Jersey library is missing
(com.sun.jersey.core.impl.provider.xml.TransformerFactoryProvider).
How do I fix this ?
I am including jersey-bundle-1.1.0-ea.jar in the app.
Sreeram
[#|2009-12-08T19:55:46.318+0000|SEVERE|sun-glassfish-comms-server1.5|
com.sun.jersey.core.spi.component.ProviderFactory|
_ThreadID=16;_ThreadName=httpWorkerThread-4848-4;_RequestID=e8cfc46c-
adcd-4538-b078-ebd9e6253b4c;|The provider class, class
com.sun.jersey.core.impl.provider.xml.TransformerFactoryProvider,
could not be instantiated. Processing will continue but the class will
not be utilized
java.lang.reflect.InvocationTargetException
at
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at
sun
.reflect
.NativeConstructorAccessorImpl
.newInstance(NativeConstructorAccessorImpl.java:39)
at
sun
.reflect
.DelegatingConstructorAccessorImpl
.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:
513)
at
com
.sun
.jersey
.core
.spi
.component.ComponentConstructor._getInstance(ComponentConstructor.java:
160)
at
com
.sun
.jersey
.core
.spi
.component.ComponentConstructor.getInstance(ComponentConstructor.java:
140)
at
com
.sun
.jersey
.core
.spi
.component.ProviderFactory.__getComponentProvider(ProviderFactory.java:
159)
at
com
.sun
.jersey
.core
.spi
.component.ProviderFactory.getComponentProvider(ProviderFactory.java:
130)
at
com
.sun
.jersey
.core
.spi.component.ProviderServices.getComponent(ProviderServices.java:190)
at
com
.sun
.jersey
.core
.spi
.component
.ProviderServices.getProvidersAndServices(ProviderServices.java:139)
at
com
.sun
.jersey
.core
.spi
.factory
.InjectableProviderFactory.configure(InjectableProviderFactory.java:98)
at
com
.sun
.jersey
.server
.impl.application.WebApplicationImpl.initiate(WebApplicationImpl.java:
505)
at
com
.sun
.jersey
.server
.impl.application.WebApplicationImpl.initiate(WebApplicationImpl.java:
385)
at
com
.sun
.jersey
.spi.container.servlet.ServletContainer.initiate(ServletContainer.java:
377)
at com.sun.jersey.spi.container.servlet.ServletContainer
$InternalWebComponent.initiate(ServletContainer.java:242)
at
com
.sun.jersey.spi.container.servlet.WebComponent.load(WebComponent.java:
446)
at
com
.sun.jersey.spi.container.servlet.WebComponent.init(WebComponent.java:
169)
at
com
.sun
.jersey
.spi.container.servlet.ServletContainer.init(ServletContainer.java:281)
at
com
.sun
.jersey
.spi.container.servlet.ServletContainer.init(ServletContainer.java:442)
at javax.servlet.GenericServlet.init(GenericServlet.java:270)
at
org
.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:
1194)
at
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1023)
at
com
.ericsson
.ssa
.config
.ConvergedContextImpl.loadOnStartupHttp(ConvergedContextImpl.java:304)
at
com
.ericsson
.ssa
.config.ConvergedContextImpl.loadOnStartup(ConvergedContextImpl.java:
252)
at
org.apache.catalina.core.StandardContext.start(StandardContext.java:
5324)
at com.sun.enterprise.web.WebModule.start(WebModule.java:353)
at
com
.ericsson
.ssa.config.ConvergedContextImpl.start(ConvergedContextImpl.java:142)
at
org
.apache
.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:989)
at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:973)
at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:704)
at
com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:
1627)
at
com.sun.enterprise.web.WebContainer.enableWebModule(WebContainer.java:
2148)
at
com
.sun
.enterprise
.server.WebArchiveLoader.enableWebModule(WebArchiveLoader.java:211)
at
org
.jvnet
.glassfish
.comms.deployment.backend.SipArchiveLoader.load(SipArchiveLoader.java:
97)
at
org
.jvnet
.glassfish
.comms.deployment.backend.SipArchiveLoader.load(SipArchiveLoader.java:
113)
at
com
.sun
.enterprise
.server.ExtensionModuleLoader.doLoad(ExtensionModuleLoader.java:151)
at
com.sun.enterprise.server.AbstractLoader.load(AbstractLoader.java:238)
at
com
.sun
.enterprise
.server.ExtensionModuleLoader.load(ExtensionModuleLoader.java:129)
at
com
.sun
.enterprise
.server
.ExtensionModuleManager.moduleEnabled(ExtensionModuleManager.java:318)
at
com
.sun
.enterprise
.server
.ExtensionModuleManager.moduleEnabled(ExtensionModuleManager.java:476)
at
com
.sun
.enterprise
.admin
.event
.AdminEventMulticaster
.invokeModuleDeployEventListener(AdminEventMulticaster.java:1011)
at
com
.sun
.enterprise
.admin
.event
.AdminEventMulticaster
.handleModuleDeployEvent(AdminEventMulticaster.java:992)
at
com
.sun
.enterprise
.admin
.event.AdminEventMulticaster.processEvent(AdminEventMulticaster.java:
470)
at
com
.sun
.enterprise
.admin
.event.AdminEventMulticaster.multicastEvent(AdminEventMulticaster.java:
182)
at
com
.sun
.enterprise
.admin
.mbeans
.ApplicationsConfigMBean
.sendEnableConfigChangeEventExplicitly(ApplicationsConfigMBean.java:
1901)
at
com
.sun
.enterprise
.admin
.mbeans.ApplicationsConfigMBean.enable(ApplicationsConfigMBean.java:
1968)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun
.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
39)
at
sun
.reflect
.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:
25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
com
.sun
.enterprise.admin.MBeanHelper.invokeOperationInBean(MBeanHelper.java:
381)
at
com
.sun
.enterprise.admin.MBeanHelper.invokeOperationInBean(MBeanHelper.java:
364)
at
com
.sun
.enterprise.admin.config.BaseConfigMBean.invoke(BaseConfigMBean.java:
477)
at
com
.sun
.jmx
.interceptor
.DefaultMBeanServerInterceptor
.invoke(DefaultMBeanServerInterceptor.java:836)
at
com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
at sun.reflect.GeneratedMethodAccessor14.invoke(Unknown Source)
at
sun
.reflect
.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:
25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
com.sun.enterprise.admin.util.proxy.ProxyClass.invoke(ProxyClass.java:
90)
at $Proxy1.invoke(Unknown Source)
at
com
.sun
.enterprise
.admin.server.core.jmx.SunoneInterceptor.invoke(SunoneInterceptor.java:
304)
at
com
.sun
.enterprise
.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:174)
at
com
.sun
.enterprise
.admin.jmx.remote.server.callers.InvokeCaller.call(InvokeCaller.java:69)
at
com
.sun
.enterprise
.admin
.jmx
.remote
.server
.MBeanServerRequestHandler.handle(MBeanServerRequestHandler.java:155)
at
com
.sun
.enterprise
.admin
.jmx
.remote
.server
.servlet
.RemoteJmxConnectorServlet
.processRequest(RemoteJmxConnectorServlet.java:122)
at
com
.sun
.enterprise
.admin
.jmx
.remote
.server
.servlet
.RemoteJmxConnectorServlet.doPost(RemoteJmxConnectorServlet.java:193)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:754)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
at
org
.apache
.catalina
.core
.ApplicationFilterChain.servletService(ApplicationFilterChain.java:427)
at
org
.apache
.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:
315)
at
org
.apache
.catalina
.core.StandardContextValve.invokeInternal(StandardContextValve.java:287)
at
org
.apache
.catalina.core.StandardContextValve.invoke(StandardContextValve.java:
218)
at
org
.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:
648)
at
org
.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:
593)
at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:
94)
at com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke
(PESessionLockingStandardPipeline.java:98)
at
org
.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:
222)
at
org
.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:
648)
at
org
.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:
593)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:
587)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1096)
at
org
.apache
.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:166)
at
org
.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:
648)
at
org
.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:
593)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:
587)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1096)
at
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:288)
at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter
(DefaultProcessorTask.java:647)
at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess
(DefaultProcessorTask.java:579)
at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process
(DefaultProcessorTask.java:831)
at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask
(DefaultReadTask.java:341)
at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask
(DefaultReadTask.java:263)
at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask
(DefaultReadTask.java:214)
at
com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:265)
at com.sun.enterprise.web.connector.grizzly.WorkerThreadImpl.run
(WorkerThreadImpl.java:116)
Caused by: java.lang.NullPointerException
at
com
.sun
.jersey
.core
.impl
.provider
.xml.TransformerFactoryProvider.<init>(TransformerFactoryProvider.java:
54)
... 95 more
|#]