Details
-
Bug
-
Resolution: Fixed
-
Medium
-
1.5.3
-
None
-
None
Description
Originated from http://forums.atlassian.com/thread.jspa?messageID=257284826&tstart=0#257284826
Seems that whenever there's a space in a path to Crucible it fails to initialize remote API - here's a copy of output generated by Crucible:
500 Server Error FishEye was unable to process your request. com.sun.ws.rest.api.container.ContainerException The ResourceConfig instance does not contain any root resource classes. You are running release CR1.5.3 FE1.5.3 (build-302 2008-06-19), please report your release number when reporting bugs. On console i've got long message: 16 main INFO org.mortbay.log - Logging to org.slf4j.impl.SimpleLogger(org.mort bay.log) via org.mortbay.log.Slf4jLog 1952 main INFO org.mortbay.log - jetty-6.1.6 2296 main INFO / - Initializing Spring root WebApplicationContext 4872 main INFO / - org.tuckey.web.filters.urlrewrite.UrlRewriteFilter INFO: lo aded (conf ok) 5949 main INFO org.mortbay.log - Started LocalConnector@0.0.0.0:1 5965 main INFO org.mortbay.log - Started ProxyPassingSelectChannelConnector@0. 0.0.0:8060 Jul 16, 2008 1:00:49 PM com.sun.ws.rest.api.core.PackagesResourceConfig init INFO: Scanning for root resource and provider classes in the packages: com.atlassian.crucible.spi.rpc Jul 16, 2008 1:00:49 PM com.sun.ws.rest.impl.container.config.AnnotatedClassScan ner scan WARNING: URL, jar:file:/C:/Documents and Settings/kuba/FISHEYE_HOME/fisheye .jar!/com/atlassian/crucible/spi/rpccannot be converted to a URI Jul 16, 2008 1:00:50 PM com.sun.ws.rest.spi.service.ServiceFinder$AbstractLazyIt erator hasNext WARNING: A dependent class, com/sun/syndication/io/FeedException, of the class c om.sun.ws.rest.impl.provider.entity.AtomFeedProvider implementing the provider i nterface javax.ws.rs.ext.MessageBodyReader is not found. The provider implementa tion is ignored. Jul 16, 2008 1:00:50 PM com.sun.ws.rest.spi.service.ServiceFinder$AbstractLazyIt erator hasNext WARNING: A dependent class, com/sun/syndication/io/FeedException, of the class c om.sun.ws.rest.impl.provider.entity.AtomEntryProvider implementing the provider interface javax.ws.rs.ext.MessageBodyReader is not found. The provider implement ation is ignored. Jul 16, 2008 1:00:50 PM com.sun.ws.rest.spi.service.ServiceFinder$AbstractLazyIt erator hasNext WARNING: A dependent class, org/codehaus/jettison/json/JSONException, of the cla ss com.sun.ws.rest.impl.provider.entity.JSONJAXBElementProvider implementing the provider interface javax.ws.rs.ext.MessageBodyReader is not found. The provider implementation is ignored. Jul 16, 2008 1:00:50 PM com.sun.ws.rest.spi.service.ServiceFinder$AbstractLazyIt erator hasNext WARNING: A dependent class, org/codehaus/jettison/json/JSONException, of the cla ss com.sun.ws.rest.impl.provider.entity.JSONArrayProvider implementing the provi der interface javax.ws.rs.ext.MessageBodyReader is not found. The provider imple mentation is ignored. Jul 16, 2008 1:00:50 PM com.sun.ws.rest.spi.service.ServiceFinder$AbstractLazyIt erator hasNext WARNING: A dependent class, org/codehaus/jettison/json/JSONException, of the cla ss com.sun.ws.rest.impl.provider.entity.JSONObjectProvider implementing the prov ider interface javax.ws.rs.ext.MessageBodyReader is not found. The provider impl ementation is ignored. Jul 16, 2008 1:00:50 PM com.sun.ws.rest.spi.service.ServiceFinder$AbstractLazyIt erator hasNext WARNING: A dependent class, com/sun/syndication/io/FeedException, of the class c om.sun.ws.rest.impl.provider.entity.AtomFeedProvider implementing the provider i nterface javax.ws.rs.ext.MessageBodyWriter is not found. The provider implementa tion is ignored. Jul 16, 2008 1:00:50 PM com.sun.ws.rest.spi.service.ServiceFinder$AbstractLazyIt erator hasNext WARNING: A dependent class, com/sun/syndication/io/FeedException, of the class c om.sun.ws.rest.impl.provider.entity.AtomEntryProvider implementing the provider interface javax.ws.rs.ext.MessageBodyWriter is not found. The provider implement ation is ignored. Jul 16, 2008 1:00:50 PM com.sun.ws.rest.spi.service.ServiceFinder$AbstractLazyIt erator hasNext WARNING: A dependent class, org/codehaus/jettison/json/JSONException, of the cla ss com.sun.ws.rest.impl.provider.entity.JSONJAXBElementProvider implementing the provider interface javax.ws.rs.ext.MessageBodyWriter is not found. The provider implementation is ignored. Jul 16, 2008 1:00:50 PM com.sun.ws.rest.spi.service.ServiceFinder$AbstractLazyIt erator hasNext WARNING: A dependent class, org/codehaus/jettison/json/JSONException, of the cla ss com.sun.ws.rest.impl.provider.entity.JSONArrayProvider implementing the provi der interface javax.ws.rs.ext.MessageBodyWriter is not found. The provider imple mentation is ignored. Jul 16, 2008 1:00:50 PM com.sun.ws.rest.spi.service.ServiceFinder$AbstractLazyIt erator hasNext WARNING: A dependent class, org/codehaus/jettison/json/JSONException, of the class com.sun.ws.rest.impl.provider.entity.JSONObjectProvider implementing the prov ider interface javax.ws.rs.ext.MessageBodyWriter is not found. The provider implementation is ignored.Jul 16, 2008 1:00:50 PM com.sun.ws.rest.impl.application.WebApplicationImpl processRootResources SEVERE: The ResourceConfig instance does not contain any root resource classes.12023 btpool0-2 ERROR org.mortbay.log - Nested in javax.servlet.ServletException: com.sun.ws.rest.api.container.ContainerException: The ResourceConfig instance does not contain any root resource classes.: com.sun.ws.rest.api.container.ContainerException: The ResourceConfig instance does not contain any root resource classes. at com.sun.ws.rest.impl.application.WebApplicationImpl.processRootResources(WebApplicationImpl.java:386) at com.sun.ws.rest.impl.application.WebApplicationImpl.initiate(WebApplicationImpl.java:314) at com.sun.ws.rest.impl.application.WebApplicationImpl.initiate(WebApplicationImpl.java:273) at com.sun.ws.rest.spi.container.servlet.ServletContainer.initiate(ServletContainer.java:331) at com.sun.ws.rest.spi.container.servlet.ServletContainer.init(ServletContainer.java:110) at org.mortbay.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:433) at org.mortbay.jetty.servlet.ServletHolder.getServlet(ServletHolder.java:342) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:463) at org.mortbay.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1144) at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:63) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:75) at org.mortbay.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1136) at com.cenqua.crucible.filters.CrucibleFilter.doFilter(CrucibleFilter.java:131) at org.mortbay.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1136) at com.cenqua.fisheye.web.filters.TotalityFilter.doFilter(TotalityFilter.java:167) at org.mortbay.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1136) at com.atlassian.seraph.filter.TrustedApplicationsFilter.doFilter(TrustedApplicationsFilter.java:120) at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:183) at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:138) at org.mortbay.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1136) at org.mortbay.servlet.UserAgentFilter.doFilter(UserAgentFilter.java:81) at org.mortbay.servlet.GzipFilter.doFilter(GzipFilter.java:129) at org.mortbay.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1136) at com.cenqua.fisheye.web.filters.UpfrontFilter.doFilter(UpfrontFilter.java:39) at org.mortbay.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1136) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360) at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:722) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:404) at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:206) at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139) at org.mortbay.jetty.Server.handle(Server.java:324) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505) at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:828) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:514) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380) at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395) at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:450)12038 btpool0-2 ERROR org.mortbay.log - /rest-servicecom.sun.ws.rest.api.container.ContainerException: The ResourceConfig instance does not contain any root resource classes. at com.sun.ws.rest.impl.application.WebApplicationImpl.processRootResources(WebApplicationImpl.java:386) at com.sun.ws.rest.impl.application.WebApplicationImpl.initiate(WebApplicationImpl.java:314) at com.sun.ws.rest.impl.application.WebApplicationImpl.initiate(WebApplicationImpl.java:273) at com.sun.ws.rest.spi.container.servlet.ServletContainer.initiate(ServletContainer.java:331) at com.sun.ws.rest.spi.container.servlet.ServletContainer.init(ServletContainer.java:110) at org.mortbay.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:433) at org.mortbay.jetty.servlet.ServletHolder.getServlet(ServletHolder.java:342) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:463) at org.mortbay.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1144) at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:63) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:75) at org.mortbay.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1136) at com.cenqua.crucible.filters.CrucibleFilter.doFilter(CrucibleFilter.java:131) at org.mortbay.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1136) at com.cenqua.fisheye.web.filters.TotalityFilter.doFilter(TotalityFilter.java:167) at org.mortbay.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1136) at com.atlassian.seraph.filter.TrustedApplicationsFilter.doFilter(TrustedApplicationsFilter.java:120) at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:183) at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:138) at org.mortbay.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1136) at org.mortbay.servlet.UserAgentFilter.doFilter(UserAgentFilter.java:81) at org.mortbay.servlet.GzipFilter.doFilter(GzipFilter.java:129) at org.mortbay.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1136) at com.cenqua.fisheye.web.filters.UpfrontFilter.doFilter(UpfrontFilter.java:39) at org.mortbay.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1136) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360) at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:722) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:404) at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:206) at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139) at org.mortbay.jetty.Server.handle(Server.java:324) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505) at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:828) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:514) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380) at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395) at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:450)
After placing moving Crucible to a path without a space characters it works without problems.
BTW if you put Crucible into a path with spaces on Unix it will fail to start.