Category Archives: Error

[step on the pit] idea submits the code to GitHub and prompts 403 — the requested URL returned error: 403

Recently, I encountered a problem when I submitted the code to Github through IDEA for a long time, and I kept reminding 403. I checked the git configuration and found that there was no problem. Later, I found that the user who submitted had a problem, not his own user, so I could not find the remote warehouse address.
Prompt error:

Failed with error: unable to access 'https://github.com/lin10/SSM-demo/': The requested URL returned error: 403


This problem is most likely due to the fact that your local Git user is not a user of the repository to which you committed your code. For this reason, you need to delete the git user data that you have saved locally.
First, you need to open the computer control panel, then enter the user account and home security, and finally go to the credential manager, select Windows credentials.

In the Windows credentials you can see that the github user has been logged in, and now all you need to do is delete the user.
When this is done, resubmit the code to the remote Git repository.

You’ll see a pop-up window that says you need to log on to Github. Just log back in and enter your password.

Continue to re-push and submit to Github, you can confirm whether the correct Git address is configured and the submitted user

You can see a hint of success.

16:25 51 files committed: [ADD] new SSM framework demo

16:42 Push successful: Pushed 1 commit to origin/master

</ div>

ITDs problem – LDAP: error code 50 – insufficient access rights

Problem description:
Insufficient Access Rights (ERROR Code, Insufficient Access Rights). Insufficient Access Rights (Insufficient Access Rights) during user/group operation on the Portal6.1 page management console (Insufficient Access Rights) was suggested to LDAP: error Code 50-insufficient Access Rights (Insufficient Access Rights).
Problem analysis:
When Portal creates SOME LDAP operations, such as users or groups, the ldap migration is provided as an administrative account to complete the specific LDAP operation. This account can be found in the Wimconfig.xml (path:) file of the Portal, in which there is the following configuration:

<config:ldapServerConfiguration primaryServerQueryTimeInterval="15" returnToPrimaryServer="true"
          searchCountLimit="500" searchTimeLimit="120000" sslConfiguration="">
        <config:ldapServers authentication="simple" bindDN="uid=wpsbind,cn=users,o=excellence"
            bindPassword="{xor}KC8sPTYxOw==" connectionPool="false" connectTimeout="0"
            derefAliases="always" referal="ignore" sslEnabled="false">
          <config:connections host="ldap" port="389"/>
        </config:ldapServers>
      </config:ldapServerConfiguration>

BindDN is an LDAP account needed for ldap operation on the Portal page management console. Whether this account has corresponding administrative permissions directly affects the success of the operation.
The problem is that the WPSBind account does not have permission to manipulate LDAP data.
Solutions:
Grant administrator privileges to the WPSBind account.
Add WPSBind to the administrator group on IDSWebApp Admin Console, and the effect is as follows:

Refer to the article
https://www.ibm.com/developerworks/community/forums/html/topic?id=77777777-0000-0000-0000-000014225542
specific exception

[13-11-27 17:27:49:502 CST] 00000068 exception     E com.ibm.ws.wim.adapter.ldap.LdapConnection createSubcontext CWWIM4520E “javax.naming.NoPermissionException: [LDAP: error code 50 - Insufficient Access Rights]; remaining name 'cn=zdb_test,cn=groups,o=excellence'; resolved object com.sun.jndi.ldap.LdapCtx@35e435e4” error。
[13-11-27 17:27:49:502 CST] 00000068 exception     E com.ibm.ws.wim.adapter.ldap.LdapConnection createSubcontext 
                                 com.ibm.websphere.wim.exception.WIMSystemException: CWWIM4520E “javax.naming.NoPermissionException: [LDAP: error code 50 - Insufficient Access Rights]; remaining name 'cn=zdb_test,cn=groups,o=excellence'; resolved object com.sun.jndi.ldap.LdapCtx@35e435e4” error。
	at com.ibm.ws.wim.adapter.ldap.LdapConnection.createSubcontext(LdapConnection.java:859)
	at com.ibm.ws.wim.adapter.ldap.LdapAdapter.create(LdapAdapter.java:423)
	at com.ibm.ws.wim.ProfileManager.createImpl(ProfileManager.java:614)
	at com.ibm.ws.wim.ProfileManager.genericProfileManagerMethod(ProfileManager.java:321)
	at com.ibm.ws.wim.ProfileManager.create(ProfileManager.java:367)
	at com.ibm.websphere.wim.ServiceProvider.create(ServiceProvider.java:311)
	at com.ibm.websphere.wim.client.LocalServiceProvider.create(LocalServiceProvider.java:356)
	at com.ibm.wps.um.VMMFilter$1.run(VMMFilter.java:82)
	at com.ibm.ws.security.auth.ContextManagerImpl.runAs(ContextManagerImpl.java:4276)
	at com.ibm.ws.security.auth.ContextManagerImpl.runAsSystem(ContextManagerImpl.java:4373)
	at com.ibm.wps.um.VMMFilter.create(VMMFilter.java:88)
	at com.ibm.wps.um.VMMFilter.filter(VMMFilter.java:378)
	at com.ibm.wps.um.PrincipalFilter.filter(PrincipalFilter.java:134)
	at com.ibm.wps.um.RealmFilter.filter(RealmFilter.java:151)
	at com.ibm.wps.um.PrincipalFilterChain.invokeFiltering(PrincipalFilterChain.java:109)
	at com.ibm.wps.um.FilterAdapter.create(FilterAdapter.java:87)
	at com.ibm.wps.um.PumaControllerImpl.createGroup(PumaControllerImpl.java:946)
	at com.ibm.wps.services.puma.PumaServiceImpl$5.run(PumaServiceImpl.java:508)
	at com.ibm.wps.services.puma.PumaServiceImpl$5.run(PumaServiceImpl.java:506)
	at com.ibm.wps.um.PumaEngineHelper.runWithoutPAC(PumaEngineHelper.java:1305)
	at com.ibm.wps.services.puma.PumaServiceImpl.executeWithoutPAC(PumaServiceImpl.java:2511)
	at com.ibm.wps.services.puma.PumaServiceImpl.add(PumaServiceImpl.java:504)
	at com.ibm.wps.command.puma.CreateGroupCommand.executeUnrestricted(CreateGroupCommand.java:238)
	at com.ibm.wps.command.puma.ExecuteUnrestricted$1.run(ExecuteUnrestricted.java:52)
	at com.ibm.wps.um.PumaEngineHelper.runUnrestricted(PumaEngineHelper.java:1268)
	at com.ibm.wps.um.PumaEnvironmentImpl.runUnrestricted(PumaEnvironmentImpl.java:176)
	at com.ibm.wps.services.puma.PumaServiceImpl.executeWithoutACChecks(PumaServiceImpl.java:2498)
	at com.ibm.wps.command.puma.ExecuteUnrestricted.execute(ExecuteUnrestricted.java:60)
	at com.ibm.wps.command.um.CreateGroupCommand.execute(CreateGroupCommand.java:51)
	at com.ibm.wps.portlets.manageprincipals.NewGroupPage.processPage(NewGroupPage.java:258)
	at com.ibm.wps.portlets.manageprincipals.ManagePrincipals.processPage(ManagePrincipals.java:1078)
	at com.ibm.wps.portlets.manageprincipals.ManagePrincipals.doView(ManagePrincipals.java:270)
	at org.apache.jetspeed.portlet.PortletAdapter.service(PortletAdapter.java:158)
	at com.ibm.wps.pe.pc.legacy.invoker.impl.PortletDelegateImpl._dispatch(PortletDelegateImpl.java:347)
	at com.ibm.wps.pe.pc.legacy.invoker.impl.PortletDelegateImpl.access$200(PortletDelegateImpl.java:70)
	at com.ibm.wps.pe.pc.legacy.invoker.impl.PortletDelegateImpl$Context.callPortlet(PortletDelegateImpl.java:550)
	at com.ibm.wps.pe.pc.legacy.services.PortletFilterServiceImpl.doFilter(PortletFilterServiceImpl.java:367)
	at com.ibm.wps.pe.pc.legacy.services.PortletFilter.doFilter(PortletFilter.java:42)
	at com.ibm.wps.pe.pc.legacy.invoker.impl.PortletDelegateImpl.dispatch(PortletDelegateImpl.java:141)
	at org.apache.jetspeed.portlet.Portlet.doPost(Portlet.java:505)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
	at com.ibm.wps.pe.pc.legacy.cache.CacheablePortlet.service(CacheablePortlet.java:120)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
	at org.apache.jetspeed.portlet.Portlet.service(Portlet.java:493)
	at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1213)
	at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:658)
	at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:526)
	at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.include(WebAppRequestDispatcher.java:673)
	at com.ibm.wps.pe.pc.legacy.invoker.impl.PortletInvokerImpl.callMethod(PortletInvokerImpl.java:370)
	at com.ibm.wps.pe.pc.legacy.invoker.impl.PortletInvokerImpl.render(PortletInvokerImpl.java:99)
	at com.ibm.wps.pe.pc.legacy.PortletContainerImpl.callPortletMethod(PortletContainerImpl.java:1258)
	at com.ibm.wps.pe.pc.legacy.PortletContainerImpl.renderPortlet(PortletContainerImpl.java:461)
	at com.ibm.wps.pe.pc.PortletContainerImpl.doRenderPortlet(PortletContainerImpl.java:647)
	at com.ibm.wps.pe.ext.render.AbstractRenderManager.performService(AbstractRenderManager.java:264)
	at com.ibm.wps.pe.pc.PortletContainerImpl.renderPortlet(PortletContainerImpl.java:132)
	at com.ibm.wps.engine.tags.PortletRenderTag.doStartTag(PortletRenderTag.java:179)
	at com.ibm._jsp._Control._jspx_meth_portal$1skin_portletRender_0(_Control.java:951)
	at com.ibm._jsp._Control._jspService(_Control.java:580)
	at com.ibm.ws.jsp.runtime.HttpJspBase.service(HttpJspBase.java:88)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
	at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1213)
	at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1154)
	at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:118)
	at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:87)
	at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:848)
	at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:691)
	at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:654)
	at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:526)
	at com.ibm.wsspi.webcontainer.servlet.GenericServletWrapper.handleRequest(GenericServletWrapper.java:122)
	at com.ibm.ws.jsp.webcontainerext.AbstractJSPExtensionServletWrapper.handleRequest(AbstractJSPExtensionServletWrapper.java:248)
	at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.include(WebAppRequestDispatcher.java:673)
	at com.ibm.wps.services.dispatcher.DispatcherServiceImpl.handleRequest(DispatcherServiceImpl.java:93)
	at com.ibm.wps.services.dispatcher.DispatcherServiceImpl.include(DispatcherServiceImpl.java:53)
	at com.ibm.wps.services.dispatcher.Dispatcher.include(Dispatcher.java:50)
	at com.ibm.wps.engine.templates.skins.Default.render(Default.java:154)
	at com.ibm.wps.engine.templates.SkinTemplate.render(SkinTemplate.java:68)
	at com.ibm.wps.composition.elements.Component.render(Component.java:638)
	at com.ibm.wps.composition.elements.Control.render(Control.java:159)
	at com.ibm.wps.composition.Composition.render(Composition.java:3111)
	at com.ibm.wps.composition.Composition.render(Composition.java:163)
	at com.ibm.websphere.personalization.transformation.PznTransformationLayoutModel.render(PznTransformationLayoutModel.java:90)
	at com.ibm.wps.model.wrappers.LayoutModelWrapperFactoryImpl$LayoutModelWrapperImpl.render(LayoutModelWrapperFactoryImpl.java:275)
	at com.ibm.wps.engine.tags.ComponentRenderTag.doStartTag(ComponentRenderTag.java:159)
	at com.ibm._jsp._UnlayeredContainer_2D_V._jspx_meth_portal$1skin_layoutNodeRender_0(_UnlayeredContainer_2D_V.java:253)
	at com.ibm._jsp._UnlayeredContainer_2D_V._jspService(_UnlayeredContainer_2D_V.java:157)
	at com.ibm.ws.jsp.runtime.HttpJspBase.service(HttpJspBase.java:88)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
	at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1213)
	at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1154)
	at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:118)
	at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:87)
	at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:848)
	at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:691)
	at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:654)
	at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:526)
	at com.ibm.wsspi.webcontainer.servlet.GenericServletWrapper.handleRequest(GenericServletWrapper.java:122)
	at com.ibm.ws.jsp.webcontainerext.AbstractJSPExtensionServletWrapper.handleRequest(AbstractJSPExtensionServletWrapper.java:248)
	at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.include(WebAppRequestDispatcher.java:673)
	at com.ibm.wps.services.dispatcher.DispatcherServiceImpl.handleRequest(DispatcherServiceImpl.java:93)
	at com.ibm.wps.services.dispatcher.DispatcherServiceImpl.include(DispatcherServiceImpl.java:53)
	at com.ibm.wps.services.dispatcher.Dispatcher.include(Dispatcher.java:50)
	at com.ibm.wps.engine.templates.skins.Default.render(Default.java:154)
	at com.ibm.wps.engine.templates.SkinTemplate.render(SkinTemplate.java:68)
	at com.ibm.wps.composition.elements.Component.render(Component.java:638)
	at com.ibm.wps.composition.Composition.render(Composition.java:3111)
	at com.ibm.wps.composition.Composition.render(Composition.java:163)
	at com.ibm.websphere.personalization.transformation.PznTransformationLayoutModel.render(PznTransformationLayoutModel.java:90)
	at com.ibm.wps.model.wrappers.LayoutModelWrapperFactoryImpl$LayoutModelWrapperImpl.render(LayoutModelWrapperFactoryImpl.java:275)
	at com.ibm.wps.engine.tags.ComponentRenderTag.doStartTag(ComponentRenderTag.java:159)
	at com.ibm._jsp._UnlayeredContainer_2D_H._jspx_meth_portal$1skin_layoutNodeRender_0(_UnlayeredContainer_2D_H.java:274)
	at com.ibm._jsp._UnlayeredContainer_2D_H._jspService(_UnlayeredContainer_2D_H.java:173)
	at com.ibm.ws.jsp.runtime.HttpJspBase.service(HttpJspBase.java:88)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
	at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1213)
	at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1154)
	at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:118)
	at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:87)
	at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:848)
	at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:691)
	at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:654)
	at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:526)
	at com.ibm.wsspi.webcontainer.servlet.GenericServletWrapper.handleRequest(GenericServletWrapper.java:122)
	at com.ibm.ws.jsp.webcontainerext.AbstractJSPExtensionServletWrapper.handleRequest(AbstractJSPExtensionServletWrapper.java:248)
	at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.include(WebAppRequestDispatcher.java:673)
	at com.ibm.wps.services.dispatcher.DispatcherServiceImpl.handleRequest(DispatcherServiceImpl.java:93)
	at com.ibm.wps.services.dispatcher.DispatcherServiceImpl.include(DispatcherServiceImpl.java:53)
	at com.ibm.wps.services.dispatcher.Dispatcher.include(Dispatcher.java:50)
	at com.ibm.wps.engine.templates.skins.Default.render(Default.java:154)
	at com.ibm.wps.engine.templates.SkinTemplate.render(SkinTemplate.java:68)
	at com.ibm.wps.composition.elements.Component.render(Component.java:638)
	at com.ibm.wps.composition.Composition.render(Composition.java:3111)
	at com.ibm.wps.composition.Composition.render(Composition.java:163)
	at com.ibm.websphere.personalization.transformation.PznTransformationLayoutModel.render(PznTransformationLayoutModel.java:90)
	at com.ibm.wps.model.wrappers.LayoutModelWrapperFactoryImpl$LayoutModelWrapperImpl.render(LayoutModelWrapperFactoryImpl.java:275)
	at com.ibm.wps.engine.tags2.PageRenderTag.doStartTag(PageRenderTag.java:534)
	at com.ibm._jsp._Home._jspService(_Home.java:91)
	at com.ibm.ws.jsp.runtime.HttpJspBase.service(HttpJspBase.java:88)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
	at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1213)
	at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1154)
	at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:118)
	at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:87)
	at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:848)
	at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:691)
	at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:654)
	at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:526)
	at com.ibm.wsspi.webcontainer.servlet.GenericServletWrapper.handleRequest(GenericServletWrapper.java:122)
	at com.ibm.ws.jsp.webcontainerext.AbstractJSPExtensionServletWrapper.handleRequest(AbstractJSPExtensionServletWrapper.java:248)
	at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.include(WebAppRequestDispatcher.java:673)
	at com.ibm.wps.services.dispatcher.DispatcherServiceImpl.handleRequest(DispatcherServiceImpl.java:93)
	at com.ibm.wps.services.dispatcher.DispatcherServiceImpl.include(DispatcherServiceImpl.java:53)
	at com.ibm.wps.services.dispatcher.Dispatcher.include(Dispatcher.java:50)
	at com.ibm.wps.engine.templates.screens.Default.render(Default.java:133)
	at com.ibm.wps.engine.templates.ScreenTemplate.render(ScreenTemplate.java:59)
	at com.ibm.wps.engine.tags2.ScreenRenderTag.doStartTag(ScreenRenderTag.java:182)
	at com.ibm._jsp._Default._jspx_meth_portal$1core_screenRender_0(_Default.java:9155)
	at com.ibm._jsp._Default._jspx_meth_c_if_67(_Default.java:9176)
	at com.ibm._jsp._Default._jspService(_Default.java:4245)
	at com.ibm.ws.jsp.runtime.HttpJspBase.service(HttpJspBase.java:88)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
	at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1213)
	at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1154)
	at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:118)
	at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:87)
	at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:848)
	at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:691)
	at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:654)
	at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:526)
	at com.ibm.wsspi.webcontainer.servlet.GenericServletWrapper.handleRequest(GenericServletWrapper.java:122)
	at com.ibm.ws.jsp.webcontainerext.AbstractJSPExtensionServletWrapper.handleRequest(AbstractJSPExtensionServletWrapper.java:248)
	at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.include(WebAppRequestDispatcher.java:673)
	at com.ibm.wps.services.dispatcher.DispatcherServiceImpl.handleRequest(DispatcherServiceImpl.java:93)
	at com.ibm.wps.services.dispatcher.DispatcherServiceImpl.include(DispatcherServiceImpl.java:53)
	at com.ibm.wps.services.dispatcher.Dispatcher.include(Dispatcher.java:50)
	at com.ibm.wps.engine.templates.themes.Default.doDispatch(Default.java:294)
	at com.ibm.wps.engine.templates.themes.Default.render(Default.java:247)
	at com.ibm.wps.engine.templates.ThemeTemplate.render(ThemeTemplate.java:65)
	at com.ibm.wps.engine.phases.WPRenderPhase.processRendering(WPRenderPhase.java:509)
	at com.ibm.wps.engine.phases.WPBaseRenderPhase.execute(WPBaseRenderPhase.java:207)
	at com.ibm.wps.state.phases.AbstractRenderPhase.next(AbstractRenderPhase.java:106)
	at com.ibm.wps.engine.phases.WPAbstractRenderPhase.next(WPAbstractRenderPhase.java:97)
	at com.ibm.wps.engine.Servlet.callPortal(Servlet.java:861)
	at com.ibm.wps.engine.Servlet.doGet(Servlet.java:618)
	at com.ibm.wps.engine.Servlet.doPost(Servlet.java:889)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
	at com.ibm.wps.engine.Servlet.doFilter(Servlet.java:1258)
	at com.ibm.wps.resolver.servlet.ContentHandlerCleanup.doFilter(ContentHandlerCleanup.java:648)
	at com.ibm.wps.resolver.servlet.AbstractFilter.doFilter(AbstractFilter.java:93)
	at com.ibm.wps.engine.Servlet.service(Servlet.java:1249)
	at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1213)
	at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1154)
	at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:145)
	at com.ibm.wps.engine.ExtendedLocaleFilter.doFilter(ExtendedLocaleFilter.java:113)
	at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:190)
	at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:130)
	at com.ibm.wps.resolver.friendly.servlet.FriendlySelectionFilter.doFilter(FriendlySelectionFilter.java:191)
	at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:190)
	at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:130)
	at com.ibm.wps.mappingurl.impl.URLAnalyzer.doFilter(URLAnalyzer.java:381)
	at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:190)
	at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:130)
	at com.ibm.wps.engine.VirtualPortalFilter.doFilter(VirtualPortalFilter.java:88)
	at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:190)
	at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:130)
	at com.ibm.wps.state.filter.StateCleanup.doFilter(StateCleanup.java:94)
	at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:190)
	at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:130)
	at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:87)
	at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:848)
	at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:691)
	at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:654)
	at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:526)
	at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3673)
	at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:269)
	at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:844)
	at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1478)
	at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:133)
	at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:457)
	at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:515)
	at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:300)
	at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:102)
	at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
	at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
	at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
	at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)
	at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:196)
	at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:751)
	at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:881)
	at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1595)

[13-11-27 17:27:49:509 CST] 00000068 StatusMsgTag  E com.ibm.wps.portlets.admin.tags.StatusMsgTag writeStatusMessage EJPFB0002E: error。
                                 java.lang.NullPointerException
	at com.ibm.wps.engine.localized.LocalizedContextImpl.getLocalizedTitle(LocalizedContextImpl.java:306)
	at com.ibm.wps.engine.localized.SingleThreadedLocalizedContextImpl.getLocalizedTitle(SingleThreadedLocalizedContextImpl.java:118)
	at com.ibm.wps.engine.localized.AbstractLocalizedContext.getTitle(AbstractLocalizedContext.java:279)
	at com.ibm.wps.portlets.admin.tags.StatusMsgTag.writeStatusMessage(StatusMsgTag.java:254)
	at com.ibm.wps.portlets.admin.tags.StatusMsgTag.writeDetailsScript(StatusMsgTag.java:193)
	at com.ibm.wps.portlets.admin.tags.StatusMsgTag.doStartTag(StatusMsgTag.java:121)
	at com.ibm._jsp._newgroup._jspx_meth_admin_statusMsg_0(_newgroup.java:597)
	at com.ibm._jsp._newgroup._jspService(_newgroup.java:229)
	at com.ibm.ws.jsp.runtime.HttpJspBase.service(HttpJspBase.java:88)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
	at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1213)
	at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:658)
	at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:526)
	at com.ibm.wsspi.webcontainer.servlet.GenericServletWrapper.handleRequest(GenericServletWrapper.java:122)
	at com.ibm.ws.jsp.webcontainerext.AbstractJSPExtensionServletWrapper.handleRequest(AbstractJSPExtensionServletWrapper.java:248)
	at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.include(WebAppRequestDispatcher.java:673)
	at com.ibm.wps.pe.pc.legacy.impl.PortletContextImpl.includeDirect(PortletContextImpl.java:251)
	at com.ibm.wps.pe.pc.legacy.impl.PortletContextImpl.include(PortletContextImpl.java:203)
	at com.ibm.wps.portlets.manageprincipals.ManagePrincipals.doView(ManagePrincipals.java:640)
	at org.apache.jetspeed.portlet.PortletAdapter.service(PortletAdapter.java:158)
	at com.ibm.wps.pe.pc.legacy.invoker.impl.PortletDelegateImpl._dispatch(PortletDelegateImpl.java:347)
	at com.ibm.wps.pe.pc.legacy.invoker.impl.PortletDelegateImpl.access$200(PortletDelegateImpl.java:70)
	at com.ibm.wps.pe.pc.legacy.invoker.impl.PortletDelegateImpl$Context.callPortlet(PortletDelegateImpl.java:550)
	at com.ibm.wps.pe.pc.legacy.services.PortletFilterServiceImpl.doFilter(PortletFilterServiceImpl.java:367)
	at com.ibm.wps.pe.pc.legacy.services.PortletFilter.doFilter(PortletFilter.java:42)
	at com.ibm.wps.pe.pc.legacy.invoker.impl.PortletDelegateImpl.dispatch(PortletDelegateImpl.java:141)
	at org.apache.jetspeed.portlet.Portlet.doPost(Portlet.java:505)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
	at com.ibm.wps.pe.pc.legacy.cache.CacheablePortlet.service(CacheablePortlet.java:120)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
	at org.apache.jetspeed.portlet.Portlet.service(Portlet.java:493)
	at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1213)
	at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:658)
	at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:526)
	at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.include(WebAppRequestDispatcher.java:673)
	at com.ibm.wps.pe.pc.legacy.invoker.impl.PortletInvokerImpl.callMethod(PortletInvokerImpl.java:370)
	at com.ibm.wps.pe.pc.legacy.invoker.impl.PortletInvokerImpl.render(PortletInvokerImpl.java:99)
	at com.ibm.wps.pe.pc.legacy.PortletContainerImpl.callPortletMethod(PortletContainerImpl.java:1258)
	at com.ibm.wps.pe.pc.legacy.PortletContainerImpl.renderPortlet(PortletContainerImpl.java:461)
	at com.ibm.wps.pe.pc.PortletContainerImpl.doRenderPortlet(PortletContainerImpl.java:647)
	at com.ibm.wps.pe.ext.render.AbstractRenderManager.performService(AbstractRenderManager.java:264)
	at com.ibm.wps.pe.pc.PortletContainerImpl.renderPortlet(PortletContainerImpl.java:132)
	at com.ibm.wps.engine.tags.PortletRenderTag.doStartTag(PortletRenderTag.java:179)
	at com.ibm._jsp._Control._jspx_meth_portal$1skin_portletRender_0(_Control.java:951)
	at com.ibm._jsp._Control._jspService(_Control.java:580)
	at com.ibm.ws.jsp.runtime.HttpJspBase.service(HttpJspBase.java:88)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
	at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1213)
	at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1154)
	at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:118)
	at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:87)
	at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:848)
	at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:691)
	at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:654)
	at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:526)
	at com.ibm.wsspi.webcontainer.servlet.GenericServletWrapper.handleRequest(GenericServletWrapper.java:122)
	at com.ibm.ws.jsp.webcontainerext.AbstractJSPExtensionServletWrapper.handleRequest(AbstractJSPExtensionServletWrapper.java:248)
	at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.include(WebAppRequestDispatcher.java:673)
	at com.ibm.wps.services.dispatcher.DispatcherServiceImpl.handleRequest(DispatcherServiceImpl.java:93)
	at com.ibm.wps.services.dispatcher.DispatcherServiceImpl.include(DispatcherServiceImpl.java:53)
	at com.ibm.wps.services.dispatcher.Dispatcher.include(Dispatcher.java:50)
	at com.ibm.wps.engine.templates.skins.Default.render(Default.java:154)
	at com.ibm.wps.engine.templates.SkinTemplate.render(SkinTemplate.java:68)
	at com.ibm.wps.composition.elements.Component.render(Component.java:638)
	at com.ibm.wps.composition.elements.Control.render(Control.java:159)
	at com.ibm.wps.composition.Composition.render(Composition.java:3111)
	at com.ibm.wps.composition.Composition.render(Composition.java:163)
	at com.ibm.websphere.personalization.transformation.PznTransformationLayoutModel.render(PznTransformationLayoutModel.java:90)
	at com.ibm.wps.model.wrappers.LayoutModelWrapperFactoryImpl$LayoutModelWrapperImpl.render(LayoutModelWrapperFactoryImpl.java:275)
	at com.ibm.wps.engine.tags.ComponentRenderTag.doStartTag(ComponentRenderTag.java:159)
	at com.ibm._jsp._UnlayeredContainer_2D_V._jspx_meth_portal$1skin_layoutNodeRender_0(_UnlayeredContainer_2D_V.java:253)
	at com.ibm._jsp._UnlayeredContainer_2D_V._jspService(_UnlayeredContainer_2D_V.java:157)
	at com.ibm.ws.jsp.runtime.HttpJspBase.service(HttpJspBase.java:88)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
	at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1213)
	at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1154)
	at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:118)
	at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:87)
	at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:848)
	at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:691)
	at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:654)
	at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:526)
	at com.ibm.wsspi.webcontainer.servlet.GenericServletWrapper.handleRequest(GenericServletWrapper.java:122)
	at com.ibm.ws.jsp.webcontainerext.AbstractJSPExtensionServletWrapper.handleRequest(AbstractJSPExtensionServletWrapper.java:248)
	at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.include(WebAppRequestDispatcher.java:673)
	at com.ibm.wps.services.dispatcher.DispatcherServiceImpl.handleRequest(DispatcherServiceImpl.java:93)
	at com.ibm.wps.services.dispatcher.DispatcherServiceImpl.include(DispatcherServiceImpl.java:53)
	at com.ibm.wps.services.dispatcher.Dispatcher.include(Dispatcher.java:50)
	at com.ibm.wps.engine.templates.skins.Default.render(Default.java:154)
	at com.ibm.wps.engine.templates.SkinTemplate.render(SkinTemplate.java:68)
	at com.ibm.wps.composition.elements.Component.render(Component.java:638)
	at com.ibm.wps.composition.Composition.render(Composition.java:3111)
	at com.ibm.wps.composition.Composition.render(Composition.java:163)
	at com.ibm.websphere.personalization.transformation.PznTransformationLayoutModel.render(PznTransformationLayoutModel.java:90)
	at com.ibm.wps.model.wrappers.LayoutModelWrapperFactoryImpl$LayoutModelWrapperImpl.render(LayoutModelWrapperFactoryImpl.java:275)
	at com.ibm.wps.engine.tags.ComponentRenderTag.doStartTag(ComponentRenderTag.java:159)
	at com.ibm._jsp._UnlayeredContainer_2D_H._jspx_meth_portal$1skin_layoutNodeRender_0(_UnlayeredContainer_2D_H.java:274)
	at com.ibm._jsp._UnlayeredContainer_2D_H._jspService(_UnlayeredContainer_2D_H.java:173)
	at com.ibm.ws.jsp.runtime.HttpJspBase.service(HttpJspBase.java:88)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
	at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1213)
	at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1154)
	at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:118)
	at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:87)
	at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:848)
	at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:691)
	at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:654)
	at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:526)
	at com.ibm.wsspi.webcontainer.servlet.GenericServletWrapper.handleRequest(GenericServletWrapper.java:122)
	at com.ibm.ws.jsp.webcontainerext.AbstractJSPExtensionServletWrapper.handleRequest(AbstractJSPExtensionServletWrapper.java:248)
	at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.include(WebAppRequestDispatcher.java:673)
	at com.ibm.wps.services.dispatcher.DispatcherServiceImpl.handleRequest(DispatcherServiceImpl.java:93)
	at com.ibm.wps.services.dispatcher.DispatcherServiceImpl.include(DispatcherServiceImpl.java:53)
	at com.ibm.wps.services.dispatcher.Dispatcher.include(Dispatcher.java:50)
	at com.ibm.wps.engine.templates.skins.Default.render(Default.java:154)
	at com.ibm.wps.engine.templates.SkinTemplate.render(SkinTemplate.java:68)
	at com.ibm.wps.composition.elements.Component.render(Component.java:638)
	at com.ibm.wps.composition.Composition.render(Composition.java:3111)
	at com.ibm.wps.composition.Composition.render(Composition.java:163)
	at com.ibm.websphere.personalization.transformation.PznTransformationLayoutModel.render(PznTransformationLayoutModel.java:90)
	at com.ibm.wps.model.wrappers.LayoutModelWrapperFactoryImpl$LayoutModelWrapperImpl.render(LayoutModelWrapperFactoryImpl.java:275)
	at com.ibm.wps.engine.tags2.PageRenderTag.doStartTag(PageRenderTag.java:534)
	at com.ibm._jsp._Home._jspService(_Home.java:91)
	at com.ibm.ws.jsp.runtime.HttpJspBase.service(HttpJspBase.java:88)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
	at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1213)
	at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1154)
	at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:118)
	at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:87)
	at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:848)
	at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:691)
	at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:654)
	at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:526)
	at com.ibm.wsspi.webcontainer.servlet.GenericServletWrapper.handleRequest(GenericServletWrapper.java:122)
	at com.ibm.ws.jsp.webcontainerext.AbstractJSPExtensionServletWrapper.handleRequest(AbstractJSPExtensionServletWrapper.java:248)
	at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.include(WebAppRequestDispatcher.java:673)
	at com.ibm.wps.services.dispatcher.DispatcherServiceImpl.handleRequest(DispatcherServiceImpl.java:93)
	at com.ibm.wps.services.dispatcher.DispatcherServiceImpl.include(DispatcherServiceImpl.java:53)
	at com.ibm.wps.services.dispatcher.Dispatcher.include(Dispatcher.java:50)
	at com.ibm.wps.engine.templates.screens.Default.render(Default.java:133)
	at com.ibm.wps.engine.templates.ScreenTemplate.render(ScreenTemplate.java:59)
	at com.ibm.wps.engine.tags2.ScreenRenderTag.doStartTag(ScreenRenderTag.java:182)
	at com.ibm._jsp._Default._jspx_meth_portal$1core_screenRender_0(_Default.java:9155)
	at com.ibm._jsp._Default._jspx_meth_c_if_67(_Default.java:9176)
	at com.ibm._jsp._Default._jspService(_Default.java:4245)
	at com.ibm.ws.jsp.runtime.HttpJspBase.service(HttpJspBase.java:88)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
	at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1213)
	at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1154)
	at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:118)
	at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:87)
	at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:848)
	at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:691)
	at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:654)
	at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:526)
	at com.ibm.wsspi.webcontainer.servlet.GenericServletWrapper.handleRequest(GenericServletWrapper.java:122)
	at com.ibm.ws.jsp.webcontainerext.AbstractJSPExtensionServletWrapper.handleRequest(AbstractJSPExtensionServletWrapper.java:248)
	at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.include(WebAppRequestDispatcher.java:673)
	at com.ibm.wps.services.dispatcher.DispatcherServiceImpl.handleRequest(DispatcherServiceImpl.java:93)
	at com.ibm.wps.services.dispatcher.DispatcherServiceImpl.include(DispatcherServiceImpl.java:53)
	at com.ibm.wps.services.dispatcher.Dispatcher.include(Dispatcher.java:50)
	at com.ibm.wps.engine.templates.themes.Default.doDispatch(Default.java:294)
	at com.ibm.wps.engine.templates.themes.Default.render(Default.java:247)
	at com.ibm.wps.engine.templates.ThemeTemplate.render(ThemeTemplate.java:65)
	at com.ibm.wps.engine.phases.WPRenderPhase.processRendering(WPRenderPhase.java:509)
	at com.ibm.wps.engine.phases.WPBaseRenderPhase.execute(WPBaseRenderPhase.java:207)
	at com.ibm.wps.state.phases.AbstractRenderPhase.next(AbstractRenderPhase.java:106)
	at com.ibm.wps.engine.phases.WPAbstractRenderPhase.next(WPAbstractRenderPhase.java:97)
	at com.ibm.wps.engine.Servlet.callPortal(Servlet.java:861)
	at com.ibm.wps.engine.Servlet.doGet(Servlet.java:618)
	at com.ibm.wps.engine.Servlet.doPost(Servlet.java:889)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
	at com.ibm.wps.engine.Servlet.doFilter(Servlet.java:1258)
	at com.ibm.wps.resolver.servlet.ContentHandlerCleanup.doFilter(ContentHandlerCleanup.java:648)
	at com.ibm.wps.resolver.servlet.AbstractFilter.doFilter(AbstractFilter.java:93)
	at com.ibm.wps.engine.Servlet.service(Servlet.java:1249)
	at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1213)
	at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1154)
	at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:145)
	at com.ibm.wps.engine.ExtendedLocaleFilter.doFilter(ExtendedLocaleFilter.java:113)
	at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:190)
	at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:130)
	at com.ibm.wps.resolver.friendly.servlet.FriendlySelectionFilter.doFilter(FriendlySelectionFilter.java:191)
	at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:190)
	at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:130)
	at com.ibm.wps.mappingurl.impl.URLAnalyzer.doFilter(URLAnalyzer.java:381)
	at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:190)
	at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:130)
	at com.ibm.wps.engine.VirtualPortalFilter.doFilter(VirtualPortalFilter.java:88)
	at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:190)
	at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:130)
	at com.ibm.wps.state.filter.StateCleanup.doFilter(StateCleanup.java:94)
	at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:190)
	at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:130)
	at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:87)
	at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:848)
	at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:691)
	at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:654)
	at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:526)
	at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3673)
	at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:269)
	at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:844)
	at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1478)
	at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:133)
	at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:457)
	at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:515)
	at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:300)
	at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:102)
	at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
	at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
	at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
	at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)
	at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:196)
	at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:751)
	at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:881)
	at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1595)

 

[Fixed] Typeerror: error 1009: Cannot access properties or methods referenced by an empty object

1. Error description

TypeError: Error #1009: Cannot access properties or methods referenced by an empty object.
at FirstMap/search_clickHandler()[E:\Flash Builder\Map\src\FirstMap.mxml:17]
at FirstMap/__search_click()[E:\Flash Builder\Map\src\FirstMap.mxml:30]

2. Error reason

<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009" 
			   xmlns:s="library://ns.adobe.com/flex/spark" 
			   xmlns:mx="library://ns.adobe.com/flex/mx" 
			   width="100%" height="100%" xmlns:chart="chart.*">
	<s:layout>
		<s:BasicLayout/>
	</s:layout>

	<fx:Script>
		<![CDATA[
			import mx.controls.Alert;
			
			protected function search_clickHandler(event:MouseEvent):void
			{
				var teacher:Teacher = new Teacher();
				var workId:String = teacher.workId.label;
				Alert.show(workId);
			}
		]]>
	</fx:Script>

	<fx:Declarations>
		<!-- Place non-visual elements (e.g., services, value objects) here -->
	</fx:Declarations>
	
	<mx:HBox width="100%" height="100%" paddingBottom="10" paddingLeft="10" paddingRight="20"
			 paddingTop="10">
		<s:Panel width="50%" height="100%">
			<s:Button id="search" label="Check" click="search_clickHandler(event)" width="100%"
					  height="100%" fontSize="320"/>
		</s:Panel>
		<chart:Teacher width="50%" height="100%"/>
	</mx:HBox>
	
</s:Application>

Var workId: String = the teacher. The workId. Label; The label value of the workId in the Teacher module could not be obtained
Here the application calls parameters in the module

3. Solutions
(1) Check whether the label of the module workId is empty
(2) Debug the ActionScript code

com.netflix.zuul.exception.zuulexception Timeout (Fixed)

Once zuul is deployed, the Ribbon load balancing and Hystix fuse are integrated into Zuul by default. However, all timeout policies are default values, such as the fuse timeout of only 1 second, which is easily triggered. Error message:

com.netflix.zuul.exception.ZuulException: 
	at org.springframework.cloud.netflix.zuul.filters.post.SendErrorFilter.findZuulException(SendErrorFilter.java:114) ~[spring-cloud-netflix-zuul-2.0.1.RELEASE.jar:2.0.1.RELEASE]
	at org.springframework.cloud.netflix.zuul.filters.post.SendErrorFilter.run(SendErrorFilter.java:76) ~[spring-cloud-netflix-zuul-2.0.1.RELEASE.jar:2.0.1.RELEASE]
	at com.netflix.zuul.ZuulFilter.runFilter(ZuulFilter.java:117) [zuul-core-1.3.1.jar:1.3.1]
	at com.netflix.zuul.FilterProcessor.processZuulFilter(FilterProcessor.java:193) [zuul-core-1.3.1.jar:1.3.1]
	at com.netflix.zuul.FilterProcessor.runFilters(FilterProcessor.java:157) [zuul-core-1.3.1.jar:1.3.1]
	at com.netflix.zuul.FilterProcessor.error(FilterProcessor.java:105) [zuul-core-1.3.1.jar:1.3.1]
	at com.netflix.zuul.ZuulRunner.error(ZuulRunner.java:112) [zuul-core-1.3.1.jar:1.3.1]
	at com.netflix.zuul.http.ZuulServlet.error(ZuulServlet.java:145) [zuul-core-1.3.1.jar:1.3.1]
	at com.netflix.zuul.http.ZuulServlet.service(ZuulServlet.java:83) [zuul-core-1.3.1.jar:1.3.1]
	at org.springframework.web.servlet.mvc.ServletWrappingController.handleRequestInternal(ServletWrappingController.java:165) [spring-webmvc-5.0.8.RELEASE.jar:5.0.8.RELEASE]
	at org.springframework.cloud.netflix.zuul.web.ZuulController.handleRequest(ZuulController.java:44) [spring-cloud-netflix-zuul-2.0.1.RELEASE.jar:2.0.1.RELEASE]
	at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:52) [spring-webmvc-5.0.8.RELEASE.jar:5.0.8.RELEASE]
	at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:991) [spring-webmvc-5.0.8.RELEASE.jar:5.0.8.RELEASE]
	at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:925) [spring-webmvc-5.0.8.RELEASE.jar:5.0.8.RELEASE]
	at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:974) [spring-webmvc-5.0.8.RELEASE.jar:5.0.8.RELEASE]
	at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:866) [spring-webmvc-5.0.8.RELEASE.jar:5.0.8.RELEASE]
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:635) [tomcat-embed-core-8.5.32.jar:8.5.32]
	at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:851) [spring-webmvc-5.0.8.RELEASE.jar:5.0.8.RELEASE]
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:742) [tomcat-embed-core-8.5.32.jar:8.5.32]
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) [tomcat-embed-core-8.5.32.jar:8.5.32]
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [tomcat-embed-core-8.5.32.jar:8.5.32]
	at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) [tomcat-embed-websocket-8.5.32.jar:8.5.32]
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [tomcat-embed-core-8.5.32.jar:8.5.32]
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [tomcat-embed-core-8.5.32.jar:8.5.32]
	at org.springframework.boot.actuate.web.trace.servlet.HttpTraceFilter.doFilterInternal(HttpTraceFilter.java:90) [spring-boot-actuator-2.0.4.RELEASE.jar:2.0.4.RELEASE]
	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) [spring-web-5.0.8.RELEASE.jar:5.0.8.RELEASE]
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [tomcat-embed-core-8.5.32.jar:8.5.32]
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [tomcat-embed-core-8.5.32.jar:8.5.32]
	at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99) [spring-web-5.0.8.RELEASE.jar:5.0.8.RELEASE]
	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) [spring-web-5.0.8.RELEASE.jar:5.0.8.RELEASE]
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [tomcat-embed-core-8.5.32.jar:8.5.32]
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [tomcat-embed-core-8.5.32.jar:8.5.32]
	at org.springframework.web.filter.HttpPutFormContentFilter.doFilterInternal(HttpPutFormContentFilter.java:109) [spring-web-5.0.8.RELEASE.jar:5.0.8.RELEASE]
	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) [spring-web-5.0.8.RELEASE.jar:5.0.8.RELEASE]
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [tomcat-embed-core-8.5.32.jar:8.5.32]
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [tomcat-embed-core-8.5.32.jar:8.5.32]
	at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:93) [spring-web-5.0.8.RELEASE.jar:5.0.8.RELEASE]
	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) [spring-web-5.0.8.RELEASE.jar:5.0.8.RELEASE]
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [tomcat-embed-core-8.5.32.jar:8.5.32]
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [tomcat-embed-core-8.5.32.jar:8.5.32]
	at org.springframework.boot.actuate.metrics.web.servlet.WebMvcMetricsFilter.filterAndRecordMetrics(WebMvcMetricsFilter.java:155) [spring-boot-actuator-2.0.4.RELEASE.jar:2.0.4.RELEASE]
	at org.springframework.boot.actuate.metrics.web.servlet.WebMvcMetricsFilter.filterAndRecordMetrics(WebMvcMetricsFilter.java:123) [spring-boot-actuator-2.0.4.RELEASE.jar:2.0.4.RELEASE]
	at org.springframework.boot.actuate.metrics.web.servlet.WebMvcMetricsFilter.doFilterInternal(WebMvcMetricsFilter.java:108) [spring-boot-actuator-2.0.4.RELEASE.jar:2.0.4.RELEASE]
	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) [spring-web-5.0.8.RELEASE.jar:5.0.8.RELEASE]
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [tomcat-embed-core-8.5.32.jar:8.5.32]
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [tomcat-embed-core-8.5.32.jar:8.5.32]
	at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:200) [spring-web-5.0.8.RELEASE.jar:5.0.8.RELEASE]
	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) [spring-web-5.0.8.RELEASE.jar:5.0.8.RELEASE]
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [tomcat-embed-core-8.5.32.jar:8.5.32]
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [tomcat-embed-core-8.5.32.jar:8.5.32]
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:198) [tomcat-embed-core-8.5.32.jar:8.5.32]
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) [tomcat-embed-core-8.5.32.jar:8.5.32]
	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:493) [tomcat-embed-core-8.5.32.jar:8.5.32]
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140) [tomcat-embed-core-8.5.32.jar:8.5.32]
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81) [tomcat-embed-core-8.5.32.jar:8.5.32]
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87) [tomcat-embed-core-8.5.32.jar:8.5.32]
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342) [tomcat-embed-core-8.5.32.jar:8.5.32]
	at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:800) [tomcat-embed-core-8.5.32.jar:8.5.32]
	at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) [tomcat-embed-core-8.5.32.jar:8.5.32]
	at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:800) [tomcat-embed-core-8.5.32.jar:8.5.32]
	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1471) [tomcat-embed-core-8.5.32.jar:8.5.32]
	at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) [tomcat-embed-core-8.5.32.jar:8.5.32]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [na:1.8.0_181]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [na:1.8.0_181]
	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [tomcat-embed-core-8.5.32.jar:8.5.32]
	at java.lang.Thread.run(Thread.java:748) [na:1.8.0_181]

Configure under Application.yml

# com.netflix.zuul.exception.zuulexception timeout Timeout ERROR
  host:
    connect-timeout-millis: 10000
    socket-timeout-millis: 60000

hystrix:
  command:
    default:
      execution:
        isolation:
          thread:
            timeoutInMilliseconds: 60000

application.properties

zuul.host.socket-timeout-millis=60000
zuul.host.connect-timeout-millis=10000
hystrix.command.default.execution.isolation.thread.timeoutInMilliseconds=60000

Error 2 error c2491: XX: definition of dllimport static data member is not allowed

Vs is used to make a DLL library today. Because of the singleton mode, a static pointer is declared in the.h file and the variable is defined in the corresponding CPP file. There was an error when exporting:
Error 2Error C2491: “SDK_functions::pinstance_” : definition of dllimport static data member is not allowed
This error occurred because I changed the export macro vs automatically created for me:

// The following ifdef blocks are a great way to make exporting from a DLL easier.
// Standard method for macros. All files in this DLL are defined on the command line using CYAPI_2013_EXPORTS
// Symbolic compilation. When using this DLL's
// This symbol should not be defined on any other project. In this way, any other item in the source file that contains this file will be
// The CYAPI_2013_API function is treated as imported from a DLL, which will be defined with this macro.
// Symbols are considered to be exported.
#ifdef CYAPI_EXPORTS
#define CYAPI_API __declspec(dllexport)
#else
#define CYAPI_API __declspec(dllimport)
#endif

As you can see, I manually dropped the 2013 characters, leaving the macro undefined by CYAPI_EXPORTS, and using succspec (DLlimport). Per declspec(DLlexport) is to be exported, for the person I have to write the export library with this; Succinct/DECLspec (DLlimport) is the import to be used by the people using the library.

In MSDN it says: you can compile the code correctly without using succdeclspec (DLlimport), but using succdeclspec (DLlimport) allows the compiler to produce better code. The compiler generates better code because it can determine whether a function exists in a DLL, which allows the compiler to generate code that skips the indirection level, which would normally occur in function calls across DLL boundaries. However, you must use succspec (DLlimport) to import the variables used in the DLL.
If someone wants to use the static variables in my library, they have to use succdeclspec (DLlimport) to import the variables in the DLL, so they have to export the variable using succdeclspec (DLlexport). For general variables, you don’t have to.

Error when Struts2 started Tomcat: org.apache.catalina.core.StandardContext filterStart

Use Struts2 + JSP to do a website, to the website production later, started Tomcat was unable to start, hung. It has been useful for a long time, but today I added something and it hung up. After deleting it, I still couldn’t start the Tomcat server.
Here is the error code:

<span style="color:#ff0000;"> org.apache.catalina.core.StandardContext filterStart
SEVERE: Exception starting filter struts</span>
<span style="color:#ff0000;">include - file:/C:/tomcat7.059/webapps/MusicWeb/WEB-INF/classes/struts.xml:41:43</span>
	at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadConfigurationFiles(XmlConfigurationProvider.java:833)
	at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadConfigurationFiles(XmlConfigurationProvider.java:864)
	at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadDocuments(XmlConfigurationProvider.java:131)
	at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.init(XmlConfigurationProvider.java:100)
	at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reload(DefaultConfiguration.java:130)
	at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:52)
	at org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:395)
	at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:452)
	at org.apache.struts2.dispatcher.FilterDispatcher.init(FilterDispatcher.java:201)
	at org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:279)
	at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:260)
	at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:105)
	at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4854)
	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5542)
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
	at org.apache.catalina.core.StandardContext.reload(StandardContext.java:4033)
	at org.apache.catalina.startup.HostConfig.reload(HostConfig.java:1479)
	at org.apache.catalina.startup.HostConfig.checkResources(HostConfig.java:1462)
	at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1646)
	at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:328)
	at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
	at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
	at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1374)
	at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1546)
	at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1556)
	at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1524)
	at java.lang.Thread.run(Thread.java:722)
Caused by: Connection timed out: connect - [unknown location]
	at com.opensymphony.xwork2.util.DomHelper.parse(DomHelper.java:123)
	at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadConfigurationFiles(XmlConfigurationProvider.java:830)
	... 26 more
Caused by: java.net.ConnectException: Connection timed out: connect
	at java.net.DualStackPlainSocketImpl.connect0(Native Method)
	at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:69)
	at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339)
	at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200)
	at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)
	at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:157)
	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:391)
	at java.net.Socket.connect(Socket.java:579)
	at java.net.Socket.connect(Socket.java:528)
	at sun.net.NetworkClient.doConnect(NetworkClient.java:180)
	at sun.net.www.http.HttpClient.openServer(HttpClient.java:378)
	at sun.net.www.http.HttpClient.openServer(HttpClient.java:473)
	at sun.net.www.http.HttpClient.<init>(HttpClient.java:203)
	at sun.net.www.http.HttpClient.New(HttpClient.java:290)
	at sun.net.www.http.HttpClient.New(HttpClient.java:306)
	at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:995)
	at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:931)
	at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:849)
	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1299)
	at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEntity(XMLEntityManager.java:632)
	at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.startEntity(XMLEntityManager.java:1270)
	at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.startDTDEntity(XMLEntityManager.java:1237)
	at com.sun.org.apache.xerces.internal.impl.XMLDTDScannerImpl.setInputSource(XMLDTDScannerImpl.java:260)
	at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$DTDDriver.dispatch(XMLDocumentScannerImpl.java:1153)
	at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$DTDDriver.next(XMLDocumentScannerImpl.java:1049)
	at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(XMLDocumentScannerImpl.java:962)
	at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:607)
	at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:116)
	at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:489)
	at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:835)
	at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:764)
	at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:123)
	at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1210)
	at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:568)
	at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.parse(SAXParserImpl.java:302)
	at com.opensymphony.xwork2.util.DomHelper.parse(DomHelper.java:121)
	... 27 more

<span style="color:#ff0000;">Apr 09, 2015 9:23:59 AM org.apache.catalina.core.StandardContext startInternal
SEVERE: Error filterStart
Apr 09, 2015 9:23:59 AM org.apache.catalina.core.StandardContext startInternal
SEVERE: Context [/MusicWeb] startup failed due to previous errors</span>

 

The imported jar package :(it is said on the Internet that there are fewer or more jars, which are useful before, but some jar packages have been changed properly later, which is still useless)

Configuration of web.xml :(Filter Filter is a problem, but I don’t use any Filter)

<?xml version="1.0" encoding="UTF-8"?>
<web-app version="2.5" 
xmlns="http://java.sun.com/xml/ns/javaee" 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee 
http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">

<!-- org.apache.struts2.dispatcher.FilterDispatcher
org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter
org.apache.struts2.dispatcher.ng.filter.StrutsPrepareFilter
 -->
<filter>
<filter-name>struts</filter-name>
<filter-class>
org.apache.struts2.dispatcher.FilterDispatcher
</filter-class>
</filter>

<filter-mapping><span style="color:#ff0000;">
</span><filter-name>struts</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>

  <display-name></display-name>	
  <welcome-file-list>
    <welcome-file>login.jsp</welcome-file>
  </welcome-file-list>
  
  <error-page> 
<error-code>404</error-code> 
<location>/error.jsp</location> 
</error-page> 
</web-app>

because it feels either
Jar packages are inconsistent or conflicting, struts.xml configuration file is problematic, and Web.xml configuration file is problematic, and I’ve been working on these three areas for a long time without failing to launch.

Who knows the next day to open the computer, restart tomcat server did not hang up, the project can also be deployed, everything is normal.

Then I had to pick up where I left off yesterday and finally found the cause of the server error in my Struts.xml configuration file

		<action name="multiFileUpload_*" class="com.action.UploadAction" method="{1}">
			<result name="addMusicInfo" type="redirect-action">Another Action method </result> If you write it this way, you get the above error
		</action>

But if the

Put <span style="color:#ff0000;"><result name="addMusicInfo" type="redirect-action"></span>another Action method. lt;/result> change it to <span style="color:#ff0000;"><result name="addMusicInfo" >/error.jsp</result></span> and it won't. The server still can't be started even after the error is reported and corrected.
The reason for the problem has been found, but it is still unclear why and how to solve it, so I hope those who have errors can discuss it with us

.
Add the log file when the error occurs:

127.0.0.1 - - [09/Apr/2015:09:19:36 +0800] "GET /gg_bd_ad_720x90.js HTTP/1.1" 404 -
127.0.0.1 - - [09/Apr/2015:09:19:36 +0800] "GET /follow.js HTTP/1.1" 404 -
127.0.0.1 - - [09/Apr/2015:09:19:36 +0800] "GET /MusicWeb/upload//%E5%87%BA%E9%94%99%E5%A3%81%E7%BA%B8.jpg HTTP/1.1" 304 -

 

 

QT solves error: use of deleted function and is private within this context

file
mainwindow.h

#include <QMainWindow>
#include <QLCDNumber>

namespace Ui {
class MainWindow;
}

class MainWindow : public QMainWindow
{
    Q_OBJECT
public:
    explicit MainWindow(QWidget *parent = nullptr);
    ~MainWindow();

private slots:
    void on_pushButton_add_clicked();

    void on_pushButton_remove_clicked();

private:
    Ui::MainWindow *ui;
    QList <QLCDNumber> *m_pList;
};

mainwindow.cpp

#include "mainwindow.h"
#include "ui_mainwindow.h"

MainWindow::MainWindow(QWidget *parent) :
    QMainWindow(parent),
    ui(new Ui::MainWindow)
{
    ui->setupUi(this);
    m_pList = new QList <QLCDNumber>;
}

MainWindow::~MainWindow()
{
    delete ui;
}

void MainWindow::on_pushButton_add_clicked()
{
    QLCDNumber *w = new QLCDNumber();
    m_pList->append(*w);
    ui->gridLayout->addWidget(w);

}

A compiler error

L\QtCore\qlist.h:454: error: 'QLCDNumber::QLCDNumber(const QLCDNumber&)' is private within this context
     if (QTypeInfo<T>::isLarge || QTypeInfo<T>::isStatic) n->v = new T(t);
                                                                 ^~~~~~~~
L\QtCore\qlist.h:454: error: use of deleted function 'QLCDNumber::QLCDNumber(const QLCDNumber&)'
     if (QTypeInfo<T>::isLarge || QTypeInfo<T>::isStatic) n->v = new T(t);
                                                                 ^~~~~~~~

To solve the process
By reporting an error, we know that the literal meaning of both errors is that the constructor is private and that the destructor is used. In qlist.h, if you use a private function, /*number- */ indicates the number of lines of compilation errors.

template <typename T>
Q_INLINE_TEMPLATE void QList<T>::node_construct(Node *n, const T &t)
{
   /*454--*/ if (QTypeInfo<T>::isLarge || QTypeInfo<T>::isStatic) n->v = new T(t);
   /*455--*/ else if (QTypeInfo<T>::isComplex) new (n) T(t);
#if (defined(__GNUC__) || defined(__INTEL_COMPILER) || defined(__IBMCPP__)) && !defined(__OPTIMIZE__)
    // This violates pointer aliasing rules, but it is known to be safe (and silent)
    // in unoptimized GCC builds (-fno-strict-aliasing). The other compilers which
    // set the same define are assumed to be safe.
   /*460--*/ else *reinterpret_cast<T*>(n) = t;
#else
    // This is always safe, but penaltizes unoptimized builds a lot.
    else ::memcpy(n, static_cast<const void *>(&t), sizeof(T));
#endif
}

According to the error in the above document,

if (QTypeInfo<T>::isLarge || QTypeInfo<T>::isStatic) n->v = new T(t);

This sentence triggers is private within this context, so further query QLCDNumber::QLCDNumber(const QLCDNumber&) Copy the constructor itself, found that there is no public copy constructor in QLCDNumber including QLCDNumber’s parent class (QFrame/QWidget/QObject), but found that there is a private macro inside QLCDNumber class,

private:
    Q_DISABLE_COPY(QLCDNumber)

Continue tracing the macro,

/*
   Some classes do not permit copies to be made of an object. These
   classes contains a private copy constructor and assignment
   operator to disable copying (the compiler gives an error message).
*/
#define Q_DISABLE_COPY(Class) \
    Class(const Class &) Q_DECL_EQ_DELETE;\
    Class &operator=(const Class &) Q_DECL_EQ_DELETE;

At this point, you can see the reason for an error based on the above comment. When calling the append of QList, an attempt to trigger the forbidden copy constructor resulted in an error. The
solution is also simple: wrap a layer over the QLCDNumber to avoid the copy constructor loop. Quite simply, you can put QList < QLCDNumber > Instead of QList & lt; QLCDNumber* > .
Query root cause
You know why the error is being reported, but you don’t know why a normal class doesn’t have a copy constructor, so you go ahead and look at the documentation. In contents on QObject I see the following passage,

No Copy Constructor or Assignment Operator
QObject has neither a copy constructor nor an assignment operator. This is by design. Actually, they are declared, but in a private section with the macro Q_DISABLE_COPY(). In fact, all Qt classes derived from QObject (direct or indirect) use this macro to declare their copy constructor and assignment operator to be private. The reasoning is found in the discussion on Identity vs Value on the Qt Object Model page.
The main consequence is that you should use pointers to QObject (or to your QObject subclass) where you might otherwise be tempted to use your QObject subclass as a value. For example, without a copy constructor, you can't use a subclass of QObject as the value to be stored in one of the container classes. You must store pointers. 

The previous section said that the Qt object model can be found in the introduction, and suggested that we use Pointers to QObject (and QObject subclasses), otherwise we might try to use QObject-related objects as values. For example, without a copy constructor, a qObject-related object cannot be stored as a value in the container; Pointers must be stored. It is this situation that leads to the question discussed in this article.
then, I turned to the introduction of Qt Object Model and found the following paragraph. This is a discussion about whether QObject should use identity (according to my understanding, an identity is a pointer to an Object) or value.

Qt Objects: Identity vs Value
Some of the added features listed above for the Qt Object Model, require that we think of Qt Objects as identities, not values. Values are copied or assigned; identities are cloned. Cloning means to create a new identity, not an exact copy of the old one. For example, twins have different identities. They may look identical, but they have different names, different locations, and may have completely different social networks.
Then cloning an identity is a more complex operation than copying or assigning a value. We can see what this means in the Qt Object Model.
A Qt Object...
might have a unique QObject::objectName(). If we copy a Qt Object, what name should we give the copy?
has a location in an object hierarchy. If we copy a Qt Object, where should the copy be located?
can be connected to other Qt Objects to emit signals to them or to receive signals emitted by them. If we copy a Qt Object, how should we transfer these connections to the copy?
can have new properties added to it at runtime that are not declared in the C++ class. If we copy a Qt Object, should the copy include the properties that were added to the original?
For these reasons, Qt Objects should be treated as identities, not as values. Identities are cloned, not copied or assigned, and cloning an identity is a more complex operation than copying or assigning a value. Therefore, QObject and all subclasses of QObject (direct or indirect) have their copy constructor and assignment operator disabled. 

QObject and all subclasses of QObject disable copy constructors and assignment operators due to the nature of the Qt object model, which can cause a lot of confusion when using value, copying, or assignment (=).
conclusion
Qobject-related objects use Pointers instead of values.

Error: stat_bin() must not be used with a y aesthetic.

During the process of ggplot, an Error of “Error: stat_bin() must not be used with a y Aesthetic.”
code is as follows:

> ggplot(aes(x = gender, y = age),
+        data = subset(pf, !is.na(gender))) + geom_histogram()
Error: stat_bin() must not be used with a y aesthetic.
> ggplot(aes(x = age, y = friend_count),
+        data = subset(pf, !is.na(gender))) + geom_histogram()+
+   facet_wrap(~gender,ncol = 1)
Error: stat_bin() must not be used with a y aesthetic.

Stat_bin indicates that the statistical transformation is the count, and the count will be projected onto the Y-axis, which conflicts with y=1. Therefore, stat_bin() must not be used with a y aesthetic.
here is mainly because the histogram is a single-factor variable visualization method, and the Y-axis cannot be added in aes parcel. The correct code can be replaced as follows:

ggplot(aes(x = friend_count),
       data = subset(pf, !is.na(gender))) + geom_histogram()

ggplot(aes(x = friend_count),
       data = subset(pf, !is.na(gender))) + geom_histogram()+
  facet_wrap(~gender,ncol = 1)

 

TensorFlow tf.keras.losses .MeanSquaredError

Mean-square error (MSE)

mse = tf.keras.losses.MeanSquaredError()
loss = mse([0., 0., 1., 1.], [1., 1., 1., 0.])
print('Loss: ', loss.numpy())  # Loss: 0.75

 

__init__(
    reduction=losses_utils.ReductionV2.AUTO,
    name='mean_squared_error'
)

 

__call__(
    y_true,
    y_pred,
    sample_weight=None
)

 

Creating test database for alias ‘postgres’… Got an error creating the test database: permission

Django Python manage.py test error, error prompt:
Creating test database for alias ‘postgres’…
Got an error creating the test database: permission

Django Settings:

DBNAME = 'multi_test'
DATABASES = {
    'default': {
        'ENGINE': 'django.db.backends.sqlite3',
        'NAME': os.path.join(BASE_DIR, 'db.sqlite3'),
    },
    'mysql': {
        'ENGINE': 'django.db.backends.mysql',
        'NAME': DBNAME,
        'USER': 'root',
        'PASSWORD': 'xxx',
        'HOST': '127.0.0.1',
        'PORT': 3306,
        'OPTIONS': {
            'init_command': "SET sql_mode='STRICT_TRANS_TABLES'",
        },
    },
    'postgres': {
        'ENGINE': 'django.db.backends.postgresql_psycopg2',
        'NAME': DBNAME,
        'USER': 'root',
        'PASSWORD': 'xxx',
        'HOST': '127.0.0.1',
        'PORT': 5432,
    },
}

 

Python manager.py Migrate will work fine

Solutions:
Add createdB access to the PostgresQL database for root (the ‘USER’ corresponding to ‘Postgres’ in Settings)

wenjie@digi007:~/study/dbtest/multi_dbs$ su - postgres
Password: 
postgres@digi007:~$ psql
psql (9.6.2)
Type "help" for help.

postgres=# alter user root createdb;

will no longer report an error when you rerun test.