<div dir="ltr">Hi all,<div>We are geting a strange behavior of OpenCMS v8.0.4 deployed on WebLogic.</div><div>We are migrate OpenCMS to another App and DB server. The app is copied from old running server to the new app server, and the DB is migrate from Oracle on SPARC to Oracle on Intel x86. When we test with some user browsing website, it work normally. But when we publish the website for public access, WebLogic rapidly has stuck threads and failed with errors like this: </div><div><br></div><div><div>GET /opencms/opencms/en/news/index.html HTTP/1.1</div><div>Accept: image/gif, image/jpeg, image/pjpeg, image/pjpeg, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, appli</div><div>cation/x-ms-application, application/x-ms-xbap, application/vnd.ms-xpsdocument, application/xaml+xml, */*</div><div>Referer: <a href="http://local.web.incom.com/opencms/opencms/index.html">http://local.web.incom.com/opencms/opencms/index.html</a></div><div>Accept-Language: en-us</div><div>User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; .NET4.0C; .NET4.0E)</div><div>Accept-Encoding: gzip, deflate</div><div>Cookie: XXXX</div><div>Client_IP: 10.135.136.130</div><div>ECID-Context: XXXXXXXXX</div><div>Connection: Keep-Alive</div><div>X-WebLogic-KeepAliveSecs: 30<br></div><div>X-WebLogic-Request-ClusterInfo: true</div><div>x-weblogic-cluster-hash: XXXXXXXXXXXXXX</div><div><br></div><div>]", which is more than the configured time (StuckThreadMaxTime) of "600" seconds. Stack trace:</div><div>        java.lang.Class.forName0(Native Method)</div><div>        java.lang.Class.forName(Class.java:171)</div><div>        weblogic.jdbc.sybasebase.ddv.c(Unknown Source)</div><div>        weblogic.jdbc.sybasebase.BaseDriver.connect(Unknown Source)</div><div>        java.sql.DriverManager.getConnection(DriverManager.java:582)</div><div>        java.sql.DriverManager.getConnection(DriverManager.java:207)</div><div>        org.opencms.db.CmsSqlManager.getConnectionByUrl(CmsSqlManager.java:96)</div><div>        org.opencms.db.generic.CmsSqlManager.getConnection(CmsSqlManager.java:227)</div><div>        org.opencms.db.generic.CmsVfsDriver.readPropertyObjects(CmsVfsDriver.java:1955)</div><div>        org.opencms.db.CmsDriverManager.readPropertyObjects(CmsDriverManager.java:7134)</div><div>        org.opencms.db.CmsSecurityManager.readPropertyObjects(CmsSecurityManager.java:4528)</div><div>        org.opencms.file.CmsObject.readPropertyObjects(CmsObject.java:2730)</div><div>        org.opencms.file.collectors.CmsPriorityDateResourceComparator.init(CmsPriorityDateResourceComparator.java:185)</div><div>        org.opencms.file.collectors.CmsPriorityDateResourceComparator.create(CmsPriorityDateResourceComparator.java:97)</div><div>        org.opencms.file.collectors.CmsPriorityDateResourceComparator.compare(CmsPriorityDateResourceComparator.java:120)</div><div>        org.opencms.file.collectors.CmsPriorityDateResourceComparator.compare(CmsPriorityDateResourceComparator.java:50)</div><div>        java.util.Arrays.mergeSort(Arrays.java:1270)</div><div>        java.util.Arrays.mergeSort(Arrays.java:1281)</div><div>        java.util.Arrays.mergeSort(Arrays.java:1282)</div><div>        java.util.Arrays.mergeSort(Arrays.java:1281)</div><div>        java.util.Arrays.mergeSort(Arrays.java:1281)</div><div>        java.util.Arrays.mergeSort(Arrays.java:1282)</div><div>        java.util.Arrays.mergeSort(Arrays.java:1282)</div><div>        java.util.Arrays.mergeSort(Arrays.java:1282)</div><div>        java.util.Arrays.mergeSort(Arrays.java:1282)</div><div>        java.util.Arrays.mergeSort(Arrays.java:1282)</div><div>        java.util.Arrays.mergeSort(Arrays.java:1282)</div><div>        java.util.Arrays.sort(Arrays.java:1210)</div><div>        java.util.Collections.sort(Collections.java:157)</div><div>        org.opencms.file.collectors.CmsPriorityResourceCollector.allInFolderPriorityDate(CmsPriorityResourceCollector.java:216)</div><div>        org.opencms.file.collectors.CmsPriorityResourceCollector.getResults(CmsPriorityResourceCollector.java:171)</div><div>        org.opencms.jsp.CmsJspTagContentLoad.init(CmsJspTagContentLoad.java:515)</div><div>        org.opencms.jsp.CmsJspTagContentLoad.doStartTag(CmsJspTagContentLoad.java:228)</div><div>        jsp_servlet._web_45_inf._jsp._online._system._modules._com_46_vietinbank_46_cardtemplate._pages.__listpaging._jspService(__listpaging.java:372)</div><div>        weblogic.servlet.jsp.JspBase.service(JspBase.java:34)</div><div>        weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)</div><div>        weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)</div><div>        weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:301)</div><div>        weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:184)</div><div>        weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:526)</div><div>        weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:447)</div><div>        org.opencms.flex.CmsFlexRequestDispatcher.includeExternal(CmsFlexRequestDispatcher.java:188)</div><div>        org.opencms.flex.CmsFlexRequestDispatcher.include(CmsFlexRequestDispatcher.java:163)</div><div>        org.opencms.loader.CmsJspLoader.service(CmsJspLoader.java:617)</div><div>        org.opencms.flex.CmsFlexRequestDispatcher.includeInternalWithCache(CmsFlexRequestDispatcher.java:417)</div><div>        org.opencms.flex.CmsFlexRequestDispatcher.include(CmsFlexRequestDispatcher.java:167)</div><div>        org.opencms.loader.CmsJspLoader.dispatchJsp(CmsJspLoader.java:902)</div><div>        org.opencms.loader.CmsJspLoader.load(CmsJspLoader.java:522)</div><div>        org.opencms.loader.A_CmsXmlDocumentLoader.load(A_CmsXmlDocumentLoader.java:224)</div><div>        org.opencms.loader.CmsXmlContentLoader.load(CmsXmlContentLoader.java:44)</div><div>        org.opencms.loader.CmsResourceManager.loadResource(CmsResourceManager.java:1062)</div><div>        org.opencms.main.OpenCmsCore.showResource(OpenCmsCore.java:1598)</div><div>        org.opencms.main.OpenCmsServlet.doGet(OpenCmsServlet.java:153)</div><div>        javax.servlet.http.HttpServlet.service(HttpServlet.java:707)</div><div>        javax.servlet.http.HttpServlet.service(HttpServlet.java:820)</div><div>        weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)</div><div>        weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)</div><div>        weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:301)</div><div>        weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:184)</div><div>        weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3729)</div><div>        weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3696)</div><div>        weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)</div><div>        weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)</div><div>        weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2273)</div><div>        weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)</div><div>        weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1490)</div><div>        weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)</div><div>        weblogic.work.ExecuteThread.run(ExecuteThread.java:221)</div></div><div><br></div><div>We do not have config to connect to any Sybase DB in opencms.properties. So, please advice if there is somewhere maybe used to config DB connection in OpenCMS, or why OpenCMS asked WebLogic to load Sybase DB driver. </div><div><br></div><div>Thank you very much!</div><div> </div><div>Best Regards,</div><div>Hung</div></div>