我在登录后访问ToolTwist设计器后遇到此错误:
Stack trace:
com.dinaa.xpc.XpcConfigException: Unknown user type: 'phinza'
at com.dinaa.xpc.backend.XpcSecurityImpl.login(XpcSecurityImpl.java:296)
at com.dinaa.xpc.XpcLogin.login(XpcLogin.java:51)
at com.dinaa.xpc.XpcLogin.login(XpcLogin.java:80)
at tooltwist.basic.LoginServlet.doPost(LoginServlet.java:136)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:647)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)
at org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)
at org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)
at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:381)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at com.myrp.util.XSSFilter.doFilter(XSSFilter.java:22)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:409)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1044)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1721)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1679)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
可能导致这些堆栈跟踪的错误是什么?如何解决?
答案 0 :(得分:3)
我认为你很遗憾在tooltwist.xml中将ttsec-standaloneDesigner包含为projectLayer。尝试在webdesign projectLayer元素之前在tooltwist.xml上添加这一行:
<projectLayer>ttsec-standaloneDesigner</projectLayer>
你应该看到类似的东西
<projectLayer>myrp_t</projectLayer>
<projectLayer>ttsec-standaloneDesigner</projectLayer>
<projectLayer>webdesign</projectLayer>
答案 1 :(得分:2)
ttsec-standaloneDesigner 只是您可以使用的插件之一。有关其他可用插件的详细信息,请参见 "Configuring Security Plugins" 。
答案 2 :(得分:0)
如果您在Eclipse中运行ToolTwist,请检查您是否在tooltwist,ttStd和ttWbd旁边安装了ttsec-standalone项目,以便Designer可以访问它的配置文件。