com.fatwire.cos.ex.CoSServerException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Issue in integrating with facebook
    via by Nelash Jindal,
  • REST + Java + Status 500 Internal Error
    via Stack Overflow by twain249
    ,
  • REST Service Error
    via by Jerry Higgs,
  • Eagle Storm execution get 403 error
    via by G.C. Chen,
  • Integration With Facebook failing in 11.1.1.8.0
    via by Nelash Jindal,
  • I have a WS class using Jersey annotations. 2 different methods that are both bound to the same URL patter /filter/{channel_id}/ip One uses a GET, the other a POST. Regardless of which method I call, I get back a 405 response. Exception in thread "main" com.sun.jersey.api.client.UniformInterfaceException: GET http://localhost:8080/filter/1000/config/ returned a response status of 405 Method Not Allowed at com.sun.jersey.api.client.WebResource.handle(WebResource.java:676) at com.sun.jersey.api.client.WebResource.access$200(WebResource.java:74) at com.sun.jersey.api.client.WebResource$Builder.get(WebResource.java:503) I tried switching the POST to a PUT (as according to some information the POST is a hybrid of GET and PUT in terms of how jersey supports it). I have found examples from Jersey that shows that I should be able to do this. In fact, it's a pretty fundamental part of REST services. Any ideas here is code examples to show you what all is happening --- Example of the GET {code}@GET @Path("/{channelId}/ip/") @Produces(MediaType.APPLICATION_JSON) public List<IPBlackList> getAllForChannel( @HeaderParam("authToken") String authToken, @PathParam("channelId") Integer channelId){ ac.checkAccess(authToken,uriInfo.getPath()); return blackListService.getIPBlackListByChannel(channelId); } {code} ----- POST Example {code}@POST @Consumes(MediaType.APPLICATION_JSON) @Path("/{channelId}/ip/") public void saveIPBlackList(@HeaderParam("authToken") String authToken, @PathParam("channelId") Integer channelId, List<IPBlackList> ipBlackLists){ ac.checkAccess(authToken,uriInfo.getPath()); for (IPBlackList ip : ipBlackLists){ ip.setChannelId(channelId); } blackListService.saveIPBlackList(ipBlackLists); }{code}
    via by jesmith17,
  • java swingとtwitter4jについて
    via by 鈴木,
    • com.fatwire.cos.ex.CoSServerException: com.fatwire.cos.ex.CoSServerException: REST query failed at com.fatwire.cos.core.jpa.query.CoSJpaQuery.getSingleResult(CoSJpaQuery.java:161) at com.fatwire.cos.records.RecordManager.countRecords(RecordManager.java:462) at com.fatwire.wsdk.cos.records.processors.feed.RecordListReadProcessor.calculatePageNo(RecordListReadProcessor.java:229) at com.fatwire.wsdk.cos.records.processors.feed.RecordListReadProcessor.getPageNo(RecordListReadProcessor.java:186) at com.fatwire.wsdk.cos.records.processors.feed.RecordListReadProcessor.process(RecordListReadProcessor.java:62) at com.fatwire.cos.core.monitor.MonitoredMethodInterceptor.invoke(MonitoredMethodInterceptor.java:68) at com.fatwire.wsdk.pipeline.impl.PipelineImpl.execute(PipelineImpl.java:60) at com.fatwire.cos.core.monitor.MonitoredMethodInterceptor.invoke(MonitoredMethodInterceptor.java:68) at com.fatwire.wsdk.rest.WidgetSDKResource.executeWidgetMethod(WidgetSDKResource.java:183) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60) at com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$TypeOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:185) at com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75) at com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:288) at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147) at com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:108) at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147) at com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:84) at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1469) at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1400) at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1349) at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1339) at com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:416) at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:537) at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:699) at javax.servlet.http.HttpServlet.service(HttpServlet.java:722) at com.google.inject.servlet.ServletDefinition.doService(ServletDefinition.java:263) at com.google.inject.servlet.ServletDefinition.service(ServletDefinition.java:178) at com.google.inject.servlet.ManagedServletPipeline.service(ManagedServletPipeline.java:91) at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:62) at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168) at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58) at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168) at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58) at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168) at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58) at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168) at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58) at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168) at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58) at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168) at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58) at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168) at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58) at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168) at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58) at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168) at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58) at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168) at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58) at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168) at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58) at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168) at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58) at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168) at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58) at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168) at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58) at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168) at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58) at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168) at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58) at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168) at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58) at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168) at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58) at com.fatwire.cos.comments.service.filters.RestFilter.doFilter(RestFilter.java:141) at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:163) at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58) at com.fatwire.cos.core.i18n.ResourceFilter.doFilter(ResourceFilter.java:45) at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:163) at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58) at com.fatwire.cos.core.sso.SSOContextFilter.doFilter(SSOContextFilter.java:64) at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:163) at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58) at com.fatwire.wem.sso.cas.filter.CASFilter.doFilter(CASFilter.java:509) at com.fatwire.wem.sso.SSOFilter.doFilter(SSOFilter.java:51) at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:163) at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58) at com.fatwire.cos.core.sso.GeneralPreparationsFilter.doFilter(GeneralPreparationsFilter.java:68) at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:163) at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58) at com.fatwire.cos.core.util.web.StartupGuardFilter.doFilter(StartupGuardFilter.java:42) at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:163) at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58) at com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:118) at com.google.inject.servlet.GuiceFilter.doFilter(GuiceFilter.java:113) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:929) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1002) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:585) at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:722) Caused by: com.fatwire.cos.ex.CoSServerException: REST query failed at com.fatwire.cos.core.jpa.cmd.wem.WemCommandManager.execREST(WemCommandManager.java:356) at com.fatwire.cos.core.jpa.cmd.wem.WemCommandManager.execGET(WemCommandManager.java:192) at com.fatwire.cos.core.jpa.cmd.wem.WemCountQueryCommand.findResult(WemCountQueryCommand.java:79) at com.fatwire.cos.core.jpa.cmd.wem.WemCountQueryCommand.executeSingle(WemCountQueryCommand.java:68) at com.fatwire.cos.core.monitor.MonitoredMethodInterceptor.invoke(MonitoredMethodInterceptor.java:68) at com.fatwire.cos.core.jpa.query.CoSJpaQuery.getSingleResult(CoSJpaQuery.java:156) ... 105 more Caused by: com.sun.jersey.api.client.UniformInterfaceException: GET http://localhost:8380/cs/REST/sites/testSite/types/cos_review_record/search?field:cos_date_created:range=20130619125740394:20130619125750238&field:cos_root_id:contains=1351275795559&field:cos_state_value:contains=approved.all&countonly=true&multiticket=ST-66-u3knV6nPVD0GmalXsLWg-_tmp_1351276623068 returned a response status of 500 Internal Server Error at com.sun.jersey.api.client.WebResource.handle(WebResource.java:676) at com.sun.jersey.api.client.WebResource.access$200(WebResource.java:74) at com.sun.jersey.api.client.WebResource$Builder.get(WebResource.java:503) at com.fatwire.cos.core.jpa.cmd.wem.WemCommandManager.doREST(WemCommandManager.java:365) at com.fatwire.cos.core.monitor.MonitoredMethodInterceptor.invoke(MonitoredMethodInterceptor.java:68) at com.fatwire.cos.core.jpa.cmd.wem.WemCommandManager.execREST(WemCommandManager.java:274) ... 110 more

    Users with the same issue

    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown User
    2 times, last one,
    qoomon
    1 times, last one,
    8 more bugmates