javax.servlet.ServletException: org.apache.cxf.service.factory.ServiceConstructionException

Atlassian JIRA | Sam Berlin | 9 years ago
  1. 0

    These errors are printed out many times after starting Crucible 1.5 for the first time (after running 1.2.3) -- 20649 [main] WARN org.mortbay.log - failed CXFServlet javax.servlet.ServletException: org.apache.cxf.service.factory.ServiceConstructionException at org.mortbay.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:437) at org.mortbay.jetty.servlet.ServletHolder.doStart(ServletHolder.java:256) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40) at org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:612) at org.mortbay.jetty.servlet.Context.startContext(Context.java:139) at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1216) at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:509) at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:447) at com.cenqua.fisheye.web.jetty.FishEyeWebApplicationContext.doStart(FishEyeWebApplicationContext.java:19) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40) at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:147) at org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:156) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40) at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:147) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40) at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:117) at org.mortbay.jetty.Server.doStart(Server.java:222) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40) at com.cenqua.fisheye.web.WebServer.start(WebServer.java:169) at com.cenqua.fisheye.ctl.Run.mainImpl(Run.java:261) at com.cenqua.fisheye.ctl.Run.main(Run.java:39) 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.cenqua.fisheye.FishEyeCtl.mainImpl(FishEyeCtl.java:105) at com.cenqua.fisheye.FishEyeCtl.main(FishEyeCtl.java:38) Caused by: org.apache.cxf.service.factory.ServiceConstructionException at org.apache.cxf.jaxb.JAXBDataBinding.initialize(JAXBDataBinding.java:197) at org.apache.cxf.service.factory.ReflectionServiceFactoryBean.buildServiceFromClass(ReflectionServiceFactoryBean.java:293) at org.apache.cxf.service.factory.ReflectionServiceFactoryBean.initializeServiceModel(ReflectionServiceFactoryBean.java:333) at org.apache.cxf.service.factory.ReflectionServiceFactoryBean.create(ReflectionServiceFactoryBean.java:151) at org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.create(JaxWsServiceFactoryBean.java:93) at org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory.createEndpoint(AbstractWSDLBasedEndpointFactory.java:74) at org.apache.cxf.frontend.ServerFactoryBean.create(ServerFactoryBean.java:108) at org.apache.cxf.jaxws.JaxWsServerFactoryBean.create(JaxWsServerFactoryBean.java:147) at org.apache.cxf.jaxws.EndpointImpl.getServer(EndpointImpl.java:288) at org.apache.cxf.jaxws.EndpointImpl.doPublish(EndpointImpl.java:228) at org.apache.cxf.jaxws.EndpointImpl.publish(EndpointImpl.java:179) at org.apache.cxf.jaxws.spi.ProviderImpl.createAndPublishEndpoint(ProviderImpl.java:74) at javax.xml.ws.Endpoint.publish(Endpoint.java:156) at com.atlassian.fisheye.plugin.rpc.RpcModuleManager.enableEndpoint(RpcModuleManager.java:57) at com.atlassian.fisheye.plugin.rpc.RpcModuleManager.init(RpcModuleManager.java:33) at com.atlassian.crucible.spi.rpc.CrucibleCXFServlet.init(CrucibleCXFServlet.java:19) at org.mortbay.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:433) ... 26 more Caused by: com.sun.xml.bind.v2.runtime.IllegalAnnotationsException: 1 counts of IllegalAnnotationExceptions The type of the getter is com.atlassian.crucible.spi.PermId<com.atlassian.crucible.spi.data.VersionedLineCommentData> but that of the setter is java.lang.String. They have to be the same. this problem is related to the following location: at public com.atlassian.crucible.spi.PermId com.atlassian.crucible.spi.data.VersionedCommentData.getPermaId() at com.atlassian.crucible.spi.data.VersionedCommentData at com.atlassian.crucible.spi.data.VersionedLineCommentData this problem is related to the following location: at public void com.atlassian.crucible.spi.data.VersionedCommentData.setPermaId(java.lang.String) at com.atlassian.crucible.spi.data.VersionedCommentData at com.atlassian.crucible.spi.data.VersionedLineCommentData at com.sun.xml.bind.v2.runtime.IllegalAnnotationsException$Builder.check(IllegalAnnotationsException.java:66) at com.sun.xml.bind.v2.runtime.JAXBContextImpl.getTypeInfoSet(JAXBContextImpl.java:389) at com.sun.xml.bind.v2.runtime.JAXBContextImpl.<init>(JAXBContextImpl.java:236) at com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:76) at com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:55) 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 javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:210) at javax.xml.bind.ContextFinder.find(ContextFinder.java:368) at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:574) at org.apache.cxf.jaxb.JAXBDataBinding.createJAXBContext(JAXBDataBinding.java:369) at org.apache.cxf.jaxb.JAXBDataBinding.initialize(JAXBDataBinding.java:180) ... 42 more

    Atlassian JIRA | 9 years ago | Sam Berlin
    javax.servlet.ServletException: org.apache.cxf.service.factory.ServiceConstructionException
  2. 0

    These errors are printed out many times after starting Crucible 1.5 for the first time (after running 1.2.3) -- 20649 [main] WARN org.mortbay.log - failed CXFServlet javax.servlet.ServletException: org.apache.cxf.service.factory.ServiceConstructionException at org.mortbay.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:437) at org.mortbay.jetty.servlet.ServletHolder.doStart(ServletHolder.java:256) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40) at org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:612) at org.mortbay.jetty.servlet.Context.startContext(Context.java:139) at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1216) at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:509) at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:447) at com.cenqua.fisheye.web.jetty.FishEyeWebApplicationContext.doStart(FishEyeWebApplicationContext.java:19) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40) at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:147) at org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:156) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40) at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:147) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40) at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:117) at org.mortbay.jetty.Server.doStart(Server.java:222) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40) at com.cenqua.fisheye.web.WebServer.start(WebServer.java:169) at com.cenqua.fisheye.ctl.Run.mainImpl(Run.java:261) at com.cenqua.fisheye.ctl.Run.main(Run.java:39) 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.cenqua.fisheye.FishEyeCtl.mainImpl(FishEyeCtl.java:105) at com.cenqua.fisheye.FishEyeCtl.main(FishEyeCtl.java:38) Caused by: org.apache.cxf.service.factory.ServiceConstructionException at org.apache.cxf.jaxb.JAXBDataBinding.initialize(JAXBDataBinding.java:197) at org.apache.cxf.service.factory.ReflectionServiceFactoryBean.buildServiceFromClass(ReflectionServiceFactoryBean.java:293) at org.apache.cxf.service.factory.ReflectionServiceFactoryBean.initializeServiceModel(ReflectionServiceFactoryBean.java:333) at org.apache.cxf.service.factory.ReflectionServiceFactoryBean.create(ReflectionServiceFactoryBean.java:151) at org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.create(JaxWsServiceFactoryBean.java:93) at org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory.createEndpoint(AbstractWSDLBasedEndpointFactory.java:74) at org.apache.cxf.frontend.ServerFactoryBean.create(ServerFactoryBean.java:108) at org.apache.cxf.jaxws.JaxWsServerFactoryBean.create(JaxWsServerFactoryBean.java:147) at org.apache.cxf.jaxws.EndpointImpl.getServer(EndpointImpl.java:288) at org.apache.cxf.jaxws.EndpointImpl.doPublish(EndpointImpl.java:228) at org.apache.cxf.jaxws.EndpointImpl.publish(EndpointImpl.java:179) at org.apache.cxf.jaxws.spi.ProviderImpl.createAndPublishEndpoint(ProviderImpl.java:74) at javax.xml.ws.Endpoint.publish(Endpoint.java:156) at com.atlassian.fisheye.plugin.rpc.RpcModuleManager.enableEndpoint(RpcModuleManager.java:57) at com.atlassian.fisheye.plugin.rpc.RpcModuleManager.init(RpcModuleManager.java:33) at com.atlassian.crucible.spi.rpc.CrucibleCXFServlet.init(CrucibleCXFServlet.java:19) at org.mortbay.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:433) ... 26 more Caused by: com.sun.xml.bind.v2.runtime.IllegalAnnotationsException: 1 counts of IllegalAnnotationExceptions The type of the getter is com.atlassian.crucible.spi.PermId<com.atlassian.crucible.spi.data.VersionedLineCommentData> but that of the setter is java.lang.String. They have to be the same. this problem is related to the following location: at public com.atlassian.crucible.spi.PermId com.atlassian.crucible.spi.data.VersionedCommentData.getPermaId() at com.atlassian.crucible.spi.data.VersionedCommentData at com.atlassian.crucible.spi.data.VersionedLineCommentData this problem is related to the following location: at public void com.atlassian.crucible.spi.data.VersionedCommentData.setPermaId(java.lang.String) at com.atlassian.crucible.spi.data.VersionedCommentData at com.atlassian.crucible.spi.data.VersionedLineCommentData at com.sun.xml.bind.v2.runtime.IllegalAnnotationsException$Builder.check(IllegalAnnotationsException.java:66) at com.sun.xml.bind.v2.runtime.JAXBContextImpl.getTypeInfoSet(JAXBContextImpl.java:389) at com.sun.xml.bind.v2.runtime.JAXBContextImpl.<init>(JAXBContextImpl.java:236) at com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:76) at com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:55) 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 javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:210) at javax.xml.bind.ContextFinder.find(ContextFinder.java:368) at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:574) at org.apache.cxf.jaxb.JAXBDataBinding.createJAXBContext(JAXBDataBinding.java:369) at org.apache.cxf.jaxb.JAXBDataBinding.initialize(JAXBDataBinding.java:180) ... 42 more

    Atlassian JIRA | 9 years ago | Sam Berlin
    javax.servlet.ServletException: org.apache.cxf.service.factory.ServiceConstructionException
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    各位大侠,我是新人有很多问题!!!

    Google Groups | 9 years ago | zsoftbuilder
    org.apache.cxf.service.factory.ServiceConstructionException

    1 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.apache.cxf.service.factory.ServiceConstructionException

      No message provided

      at org.apache.cxf.jaxb.JAXBDataBinding.initialize()
    2. Apache CXF Runtime JAXB DataBinding
      JAXBDataBinding.initialize
      1. org.apache.cxf.jaxb.JAXBDataBinding.initialize(JAXBDataBinding.java:197)
      1 frame
    3. Apache CXF Core
      ReflectionServiceFactoryBean.create
      1. org.apache.cxf.service.factory.ReflectionServiceFactoryBean.buildServiceFromClass(ReflectionServiceFactoryBean.java:293)
      2. org.apache.cxf.service.factory.ReflectionServiceFactoryBean.initializeServiceModel(ReflectionServiceFactoryBean.java:333)
      3. org.apache.cxf.service.factory.ReflectionServiceFactoryBean.create(ReflectionServiceFactoryBean.java:151)
      3 frames
    4. Apache CXF Runtime JAX-WS Frontend
      JaxWsServiceFactoryBean.create
      1. org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.create(JaxWsServiceFactoryBean.java:93)
      1 frame
    5. Apache CXF Runtime Simple Frontend
      ServerFactoryBean.create
      1. org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory.createEndpoint(AbstractWSDLBasedEndpointFactory.java:74)
      2. org.apache.cxf.frontend.ServerFactoryBean.create(ServerFactoryBean.java:108)
      2 frames
    6. Apache CXF Runtime JAX-WS Frontend
      ProviderImpl.createAndPublishEndpoint
      1. org.apache.cxf.jaxws.JaxWsServerFactoryBean.create(JaxWsServerFactoryBean.java:147)
      2. org.apache.cxf.jaxws.EndpointImpl.getServer(EndpointImpl.java:288)
      3. org.apache.cxf.jaxws.EndpointImpl.doPublish(EndpointImpl.java:228)
      4. org.apache.cxf.jaxws.EndpointImpl.publish(EndpointImpl.java:179)
      5. org.apache.cxf.jaxws.spi.ProviderImpl.createAndPublishEndpoint(ProviderImpl.java:74)
      5 frames
    7. Java RT
      Endpoint.publish
      1. javax.xml.ws.Endpoint.publish(Endpoint.java:156)
      1 frame
    8. com.atlassian.fisheye
      RpcModuleManager.init
      1. com.atlassian.fisheye.plugin.rpc.RpcModuleManager.enableEndpoint(RpcModuleManager.java:57)
      2. com.atlassian.fisheye.plugin.rpc.RpcModuleManager.init(RpcModuleManager.java:33)
      2 frames
    9. com.atlassian.crucible
      CrucibleCXFServlet.init
      1. com.atlassian.crucible.spi.rpc.CrucibleCXFServlet.init(CrucibleCXFServlet.java:19)
      1 frame
    10. Jetty Server
      ServletHolder.doStart
      1. org.mortbay.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:433)
      2. org.mortbay.jetty.servlet.ServletHolder.doStart(ServletHolder.java:256)
      2 frames
    11. Jetty Util
      AbstractLifeCycle.start
      1. org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
      1 frame
    12. Jetty Server
      WebAppContext.doStart
      1. org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:612)
      2. org.mortbay.jetty.servlet.Context.startContext(Context.java:139)
      3. org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1216)
      4. org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:509)
      5. org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:447)
      5 frames
    13. com.cenqua.fisheye
      FishEyeWebApplicationContext.doStart
      1. com.cenqua.fisheye.web.jetty.FishEyeWebApplicationContext.doStart(FishEyeWebApplicationContext.java:19)
      1 frame
    14. Jetty Util
      AbstractLifeCycle.start
      1. org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
      1 frame
    15. Jetty Server
      ContextHandlerCollection.doStart
      1. org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:147)
      2. org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:156)
      2 frames
    16. Jetty Util
      AbstractLifeCycle.start
      1. org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
      1 frame
    17. Jetty Server
      HandlerCollection.doStart
      1. org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:147)
      1 frame
    18. Jetty Util
      AbstractLifeCycle.start
      1. org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
      1 frame
    19. Jetty Server
      Server.doStart
      1. org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:117)
      2. org.mortbay.jetty.Server.doStart(Server.java:222)
      2 frames
    20. Jetty Util
      AbstractLifeCycle.start
      1. org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
      1 frame
    21. com.cenqua.fisheye
      Run.main
      1. com.cenqua.fisheye.web.WebServer.start(WebServer.java:169)
      2. com.cenqua.fisheye.ctl.Run.mainImpl(Run.java:261)
      3. com.cenqua.fisheye.ctl.Run.main(Run.java:39)
      3 frames
    22. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    23. com.cenqua.fisheye
      FishEyeCtl.main
      1. com.cenqua.fisheye.FishEyeCtl.mainImpl(FishEyeCtl.java:105)
      2. com.cenqua.fisheye.FishEyeCtl.main(FishEyeCtl.java:38)
      2 frames