8 Replies Latest reply on May 21, 2014 8:35 AM by 967958

    getting content server issue after logging cas URL

    967958

      Hi,

      I am getting content server issue after logging cas URL with LBR or Direct Access URL.

       

      http://LBR:8500/csdlvr/Xcelerate/LoginPage.html

       

      And didn't find any Errors in the log files, can you please provide me the suggestion how can I overcome this.

       

      Regards,

      Ravi

        • 1. Re: getting content server issue after logging cas URL
          Stephan Da Silva-Oracle

          Hello Ravi,

           

          What kind of issue are you getting?

          Which logs did you check? If it's a login problem, sometimes the cas.log will have useful information, or the appserver's stdout log.

           

          Kind regards,

          Stephan.

          • 2. Re: getting content server issue after logging cas URL
            967958

            Hi Stephan,

             

            Thanks for your response.

             

            After login I am getting the "Content Server Error"

             

            But when verified the logs, I am able to see the login success on .out file

             

            2014-05-20 11:36:57,168 INFO [org.jasig.cas.CentralAuthenticationServiceImpl] - <Granted service ticket [ST-1-lHXPKkJy4hVmac7Da0Qh-cas-bdsh-ep-petportal03.telkom.co.za-1] for service [http://bdsh-ep-petwcsconlbr:8500/csdlvr/ContentServer?pagename=OpenMarket/Xcelerate/UIFramework/LoginPage] for user [fwadmin]>

            2014-05-20 11:37:46,756 INFO [org.jasig.cas.services.DefaultServicesManagerImpl] - <Reloading registered services.>

            2014-05-20 11:37:46,757 INFO [org.jasig.cas.services.DefaultServicesManagerImpl] - <Loaded 0 services.>

            2014-05-20 11:39:46,751 INFO [org.jasig.cas.services.DefaultServicesManagerImpl] - <Reloading registered services.>

            2014-05-20 11:39:46,751 INFO [org.jasig.cas.services.DefaultServicesManagerImpl] - <Loaded 0 services.>

             

            and cas.log

             

            2014-05-20 11:36:55,630 INFO [org.jasig.cas.authentication.AuthenticationManagerImpl] - AuthenticationHandler: com.fatwire.wem.sso.cas.plugin.CSAuthenticationHandler successfully authenticated the user which provided the following credentials: [username: fwadmin]

            2014-05-20 11:36:57,168 INFO [org.jasig.cas.CentralAuthenticationServiceImpl] - Granted service ticket [ST-1-lHXPKkJy4hVmac7Da0Qh-cas-bdsh-ep-petportal03.telkom.co.za-1] for service [http://bdsh-ep-petwcsconlbr:8500/csdlvr/ContentServer?pagename=OpenMarket/Xcelerate/UIFramework/LoginPage] for user [fwadmin]

            2014-05-20 11:37:46,756 INFO [org.jasig.cas.services.DefaultServicesManagerImpl] - Reloading registered services.

            2014-05-20 11:37:46,757 INFO [org.jasig.cas.services.DefaultServicesManagerImpl] - Loaded 0 services.

            2014-05-20 11:39:46,751 INFO [org.jasig.cas.services.DefaultServicesManagerImpl] - Reloading registered services.

            2014-05-20 11:39:46,751 INFO [org.jasig.cas.services.DefaultServicesManagerImpl] - Loaded 0 services.

            2014-05-20 11:41:46,759 INFO [org.jasig.cas.services.DefaultServicesManagerImpl] - Reloading registered services.

            2014-05-20 11:41:46,759 INFO [org.jasig.cas.services.DefaultServicesManagerImpl] - Loaded 0 services.

             

            can you please provide help me on this.

             

            Regards,

            Ravi.

            • 3. Re: getting content server issue after logging cas URL
              Stephan Da Silva-Oracle

              Hello Ravi,

               

              There should be an error logged in the sites.log. Is there nothing in there?

              You can also check in your log4j.properties whether logger com.fatwire.logging.cs.request is set to log at at least ERROR level. If that's the case and there's nothing in the sites.log, try setting loggers com.fatwire.logging.cs and com.fatwire.logging.cs.request to DEBUG in your log4j.properties and then restart and reproduce the error (since you can't log in to set it dynamically).

               

              Kind regards,

              Stephan.

              1 person found this helpful
              • 4. Re: getting content server issue after logging cas URL
                967958

                HI Stephan,

                 

                I am able to get the following Errors when I try to login on sites.log.

                 

                [2014-05-20 12:21:59,768 SAST] [ERROR] [.kernel.Default (self-tuning)'] [fatwire.logging.cs.request] COM.FutureTense.Common.ContentServerException: Element not found OpenMarket/Xcelerate/UIFramework/LoginPage Error code:CANNOT LOCATE ELEMENT

                [2014-05-20 12:26:03,138 SAST] [WARN ] [.kernel.Default (self-tuning)'] [fatwire.logging.cs.db] Could not find a matching row for blob with id equal to 1374738071774 in table MungoBlobs

                [2014-05-20 12:26:03,140 SAST] [ERROR] [.kernel.Default (self-tuning)'] [fatwire.logging.cs.request] COM.FutureTense.Common.ContentServerException: ContentServerException: (BlobServer error

                        errno: -3100

                        errdetail: -101

                        errdetail1: urldata

                        errdetail2: 1374738071774

                        errdetail3: id) Error code:BLOB NOT FOUND

                COM.FutureTense.Common.ContentServerException: ContentServerException: (BlobServer error

                        errno: -3100

                        errdetail: -101

                        errdetail1: urldata

                        errdetail2: 1374738071774

                        errdetail3: id) Error code:BLOB NOT FOUND

                        at COM.FutureTense.Common.BlobServer.execute(BlobServer.java:132)

                        at COM.FutureTense.Servlet.FTServlet.execute(FTServlet.java:129)

                        at COM.FutureTense.Servlet.FTServlet.doGet(FTServlet.java:54)

                        at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)

                        at javax.servlet.http.HttpServlet.service(HttpServlet.java:821)

                        at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)

                        at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)

                        at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:301)

                        at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:27)

                        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)

                        at com.fatwire.auth.RequestAuthenticationFilter.doFilter(RequestAuthenticationFilter.java:192)

                        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)

                        at com.fatwire.wem.sso.cas.filter.CASFilter.doFilter(CASFilter.java:695)

                        at com.fatwire.wem.sso.SSOFilter.doFilter(SSOFilter.java:51)

                        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)

                        at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3730)

                        at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3696)

                        at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)

                        at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)

                        at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2273)

                        at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)

                        at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1490)

                        at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)

                        at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)

                Caused by: COM.FutureTense.Errors.RequestCacheError

                        at COM.FutureTense.Common.BlobServerError.RETRIVE(BlobServer.java:592)

                        at COM.FutureTense.Common.BlobServer.generateResponseInMemory(BlobServer.java:338)

                        at COM.FutureTense.Common.FTRequestCacheManager$GenerateResponse.doWork(FTRequestCacheManager.java:261)

                        at com.fatwire.cs.core.util.KeyThrottle.execute(KeyThrottle.java:79)

                        at COM.FutureTense.Common.FTRequestCacheManager.serve(FTRequestCacheManager.java:207)

                        at COM.FutureTense.Common.FTRequestCacheManager.handleRequest(FTRequestCacheManager.java:137)

                        at COM.FutureTense.Common.BlobServer.execute(BlobServer.java:103)

                        at COM.FutureTense.Servlet.FTServlet.execute(FTServlet.java:129)

                        at COM.FutureTense.Servlet.FTServlet.doGet(FTServlet.java:53)

                        at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)

                        at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)

                        at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)

                        at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)

                        at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:301)

                        at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)

                        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

                        at com.fatwire.auth.RequestAuthenticationFilter.doFilter(RequestAuthenticationFilter.java:192)

                        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

                        at com.fatwire.wem.sso.cas.filter.CASFilter.doFilter(CASFilter.java:695)

                        at com.fatwire.wem.sso.SSOFilter.doFilter(SSOFilter.java:51)

                        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

                 

                Please help me on this.

                 

                Regards,

                Ravi

                • 5. Re: getting content server issue after logging cas URL
                  Stephan Da Silva-Oracle

                  Element not found OpenMarket/Xcelerate/UIFramework/LoginPage Error code:CANNOT LOCATE ELEMENT

                   

                  Looks like you're missing an element, or maybe your database is out of sync with your shared drive. I'd start with checking whether there is a record in the ElementCatalog table for 'OpenMarket/Xcelerate/UIFramework/LoginPage', and whether the url column for it corresponds (exactly!) with a file in the {Shared drive}/elements directory.

                  If the record itself is not there, then there's something very wrong with your install and you may need to restore it from back-up or reinstall.

                  If the record exists but the file is not there, or is a different name (LoginPage,0.xml instead of LoginPage.xml or vice versa), then your database is likely out of sync with the shared drive and you also may need to restore from back-up. Or maybe you simply need to mount the shared drive.

                  If the record exists and matches the file, check the file permissions. Maybe the server isn't able to access the file.

                  If all is fine, then maybe your cache has got corrupted. Delete the cscache, sscache, cascache and linkedcache directories from (by default) the temp directory, then restart the appserver and see if that helps.

                   

                  Kind regards,

                  Stephan.

                  • 6. Re: getting content server issue after logging cas URL
                    967958

                    Hi Stephen,

                     

                    Thanks for your suggestions, I verifyied all your steps and every things is fine and cleared the cache and getting the same error.

                     

                    befor getting this errors, I am getting another error in sites.logs.

                     

                    [2014-05-20 14:00:00,344 SAST] [ERROR] [temBasedClusteredEventExecutor] [com.fatwire.logging.cs] Exception reading url from http://bdsh-ep-petportal03.telkom.co.za:8541/csdlvr/ContentServer?pagename=OpenMarket%2FXcelerate%2FSearch%2FEvent

                    com.fatwire.cs.core.http.HttpAccessException: org.apache.http.conn.HttpHostConnectException: Connection to http://bdsh-ep-petportal03.telkom.co.za:8541 refused

                            at com.fatwire.cs.core.http.HttpAccess.execute(HttpAccess.java:367)

                            at COM.FutureTense.Util.ftUtil._readUsingHttpAccess(ftUtil.java:794)

                            at COM.FutureTense.Util.ftUtil.readByteURL(ftUtil.java:734)

                            at COM.FutureTense.Util.ftUtil.readURL(ftUtil.java:699)

                            at COM.FutureTense.Platform.SystemEvents.RequestEventItem.execute(RequestEventItem.java:58)

                            at COM.FutureTense.Platform.SystemEvents.AbstractEventItem.run(AbstractEventItem.java:170)

                            at COM.FutureTense.Platform.SystemEvents.FileSystemBasedClusteredEventExecutor$LockingCallable.call(FileSystemBasedClusteredEventExecutor.java:233)

                            at COM.FutureTense.Platform.SystemEvents.FileSystemBasedClusteredEventExecutor$LockingCallable.call(FileSystemBasedClusteredEventExecutor.java:198)

                            at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)

                            at java.util.concurrent.FutureTask.run(FutureTask.java:139)

                            at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)

                            at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:919)

                            at java.lang.Thread.run(Thread.java:662)

                    Caused by: org.apache.http.conn.HttpHostConnectException: Connection to http://bdsh-ep-petportal03.telkom.co.za:8541 refused

                            at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:158)

                            at org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:149)

                            at org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:121)

                            at org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:573)

                            at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:425)

                            at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:820)

                            at com.fatwire.cs.core.http.HttpAccess.execute(HttpAccess.java:552)

                            at com.fatwire.cs.core.http.HttpAccess.execute(HttpAccess.java:343)

                            ... 12 more

                     

                    How can I resolve this Error??

                     

                    Regards,

                    Ravi

                    • 7. Re: getting content server issue after logging cas URL
                      Stephan Da Silva-Oracle

                      "Exception reading url" during start-up isn't a real error. It's just because the event manager has already started but the server is not accepting connections yet. There's a bug open for this, but you can ignore that error.

                       

                      Aside from that, did you try setting logger com.fatwire.logging.cs to DEBUG? It may give some additional information as to they you're getting "CANNOT LOCATE ELEMENT".

                       

                      Kind regards,

                      Stephan.

                      1 person found this helpful
                      • 8. Re: getting content server issue after logging cas URL
                        967958

                        Hi Stephan,

                         

                        Thanks for your support, I am able to resolve the issue with Support Tools, shared directory is out of sync.

                         

                        Once again thanks for your support.

                         

                        Regards,

                        Ravi