{"action":"created","issue":{"url":"https://api.github.com/repos/dotCMS/core/issues/7486","labels_url":"https://api.github.com/repos/dotCMS/core/issues/7486/labels{/name}","comments_url":"https://api.github.com/repos/dotCMS/core/issues/7486/comments","events_url":"https://api.github.com/repos/dotCMS/core/issues/7486/events","html_url":"https://github.com/dotCMS/core/issues/7486","id":63090401,"number":7486,"title":"3.1: Error 500 with Frontend pages in Weblogic Server","user":{"login":"joseorsini","id":1717110,"avatar_url":"https://avatars.githubusercontent.com/u/1717110?v=3","gravatar_id":"","url":"https://api.github.com/users/joseorsini","html_url":"https://github.com/joseorsini","followers_url":"https://api.github.com/users/joseorsini/followers","following_url":"https://api.github.com/users/joseorsini/following{/other_user}","gists_url":"https://api.github.com/users/joseorsini/gists{/gist_id}","starred_url":"https://api.github.com/users/joseorsini/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joseorsini/subscriptions","organizations_url":"https://api.github.com/users/joseorsini/orgs","repos_url":"https://api.github.com/users/joseorsini/repos","events_url":"https://api.github.com/users/joseorsini/events{/privacy}","received_events_url":"https://api.github.com/users/joseorsini/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/dotCMS/core/labels/Merged","name":"Merged","color":"5319e7"},{"url":"https://api.github.com/repos/dotCMS/core/labels/Severity%20:%20Minor","name":"Severity : Minor","color":"207de5"},{"url":"https://api.github.com/repos/dotCMS/core/labels/Type%20:%20bug","name":"Type : bug","color":"006b75"}],"state":"open","locked":false,"assignee":{"login":"dotcmsCodeReview","id":1568120,"avatar_url":"https://avatars.githubusercontent.com/u/1568120?v=3","gravatar_id":"","url":"https://api.github.com/users/dotcmsCodeReview","html_url":"https://github.com/dotcmsCodeReview","followers_url":"https://api.github.com/users/dotcmsCodeReview/followers","following_url":"https://api.github.com/users/dotcmsCodeReview/following{/other_user}","gists_url":"https://api.github.com/users/dotcmsCodeReview/gists{/gist_id}","starred_url":"https://api.github.com/users/dotcmsCodeReview/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dotcmsCodeReview/subscriptions","organizations_url":"https://api.github.com/users/dotcmsCodeReview/orgs","repos_url":"https://api.github.com/users/dotcmsCodeReview/repos","events_url":"https://api.github.com/users/dotcmsCodeReview/events{/privacy}","received_events_url":"https://api.github.com/users/dotcmsCodeReview/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/dotCMS/core/milestones/27","html_url":"https://github.com/dotCMS/core/milestones/3.2","labels_url":"https://api.github.com/repos/dotCMS/core/milestones/27/labels","id":978461,"number":27,"title":"3.2","description":"","creator":{"login":"jtesser","id":1486445,"avatar_url":"https://avatars.githubusercontent.com/u/1486445?v=3","gravatar_id":"","url":"https://api.github.com/users/jtesser","html_url":"https://github.com/jtesser","followers_url":"https://api.github.com/users/jtesser/followers","following_url":"https://api.github.com/users/jtesser/following{/other_user}","gists_url":"https://api.github.com/users/jtesser/gists{/gist_id}","starred_url":"https://api.github.com/users/jtesser/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jtesser/subscriptions","organizations_url":"https://api.github.com/users/jtesser/orgs","repos_url":"https://api.github.com/users/jtesser/repos","events_url":"https://api.github.com/users/jtesser/events{/privacy}","received_events_url":"https://api.github.com/users/jtesser/received_events","type":"User","site_admin":false},"open_issues":7,"closed_issues":18,"state":"open","created_at":"2015-02-13T14:27:58Z","updated_at":"2015-03-20T19:34:29Z","due_on":null,"closed_at":null},"comments":5,"created_at":"2015-03-19T21:03:49Z","updated_at":"2015-03-20T20:57:15Z","closed_at":null,"body":"Reproduced in 3.1 deployed in Weblogic 10.3.3 and 10.3.6.\r\n\r\nIf an Enterprise License is not applied to the dotCMS instance, the VelocityServlet.java class should redirect to /portal/no_license.jsp page. Instead, it redirects to the Error 500 page and the following stacktrace is displayed in logfiles.\r\n\r\nBUT and even more important the front end is not loading with the license.  The issue is with the http/part library \r\n\r\n```\r\n####<Mar 19, 2015 4:57:30 PM EDT> <Error> <HTTP> <MacBook-Pro.local> <myserver> <[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1426798650168> <BEA-101020> <[ServletContext@1231767765[app:dotcms31 module:dotcms.war path: spec-version:2.5]] Servlet failed with Exception\r\njava.lang.ClassCastException: com.dotmarketing.viewtools.RequestWrapper cannot be cast to weblogic.servlet.internal.ServletRequestImpl\r\n\tat weblogic.servlet.internal.ServletRequestImpl.getOriginalRequest(ServletRequestImpl.java:1446)\r\n\tat weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:112)\r\n\tat com.dotmarketing.velocity.VelocityServlet.service(VelocityServlet.java:161)\r\n\tat javax.servlet.http.HttpServlet.service(HttpServlet.java:820)\r\n\tat weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)\r\n\tat weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)\r\n\tat weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:301)\r\n\tat weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:184)\r\n\tat weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:526)\r\n\tat weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:253)\r\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:249)\r\n\tat weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)\r\n\tat com.dotmarketing.filters.AutoLoginFilter.doFilter(AutoLoginFilter.java:61)\r\n\tat weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)\r\n\tat com.dotmarketing.cms.urlmap.filters.URLMapFilter.doFilter(URLMapFilter.java:297)\r\n\tat weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)\r\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:169)\r\n\tat weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)\r\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:90)\r\n\tat weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)\r\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:33)\r\n\tat weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)\r\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:146)\r\n\tat weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)\r\n\tat weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)\r\n\tat weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)\r\n\tat weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3730)\r\n\tat weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3696)\r\n\tat weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)\r\n\tat weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)\r\n\tat weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2273)\r\n\tat weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)\r\n\tat weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1490)\r\n\tat weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)\r\n\tat weblogic.work.ExecuteThread.run(ExecuteThread.java:221)\r\n```\r\n\r\nIn this ticket, client suggests a way to fix the problem http://jira.dotmarketing.net/browse/EE-7587?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=5999255"},"comment":{"url":"https://api.github.com/repos/dotCMS/core/issues/comments/84143156","html_url":"https://github.com/dotCMS/core/issues/7486#issuecomment-84143156","issue_url":"https://api.github.com/repos/dotCMS/core/issues/7486","id":84143156,"user":{"login":"joseorsini","id":1717110,"avatar_url":"https://avatars.githubusercontent.com/u/1717110?v=3","gravatar_id":"","url":"https://api.github.com/users/joseorsini","html_url":"https://github.com/joseorsini","followers_url":"https://api.github.com/users/joseorsini/followers","following_url":"https://api.github.com/users/joseorsini/following{/other_user}","gists_url":"https://api.github.com/users/joseorsini/gists{/gist_id}","starred_url":"https://api.github.com/users/joseorsini/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joseorsini/subscriptions","organizations_url":"https://api.github.com/users/joseorsini/orgs","repos_url":"https://api.github.com/users/joseorsini/repos","events_url":"https://api.github.com/users/joseorsini/events{/privacy}","received_events_url":"https://api.github.com/users/joseorsini/received_events","type":"User","site_admin":false},"created_at":"2015-03-20T20:57:15Z","updated_at":"2015-03-20T20:57:15Z","body":"Tested the fix proposed by @dsilvam and worked. \r\n\r\nCode: https://gist.github.com/joseorsini/18a18cb13a898be011ef"}}