无法登录工作台

时间:2014-12-16 13:08:28

标签: drools

我将kie-drools-wb-distribution-wars-6.1.0.Final-jboss-as7.0.war部署到JBoss 6.3 AS中,并使用add-user.sh在应用领域添加了管理员用户命令。可以显示KIE Workbench的登录页面,但是当我单击登录按钮时,会出现以下错误:

  

BWEB000065:HTTP状态400 - JBWEB000006:无效的直接引用   表单登录页面

     

JBWEB000309:输入JBWEB000067:状态报告

     

JBWEB000068:消息JBWEB000006:对表单的直接引用无效   登录页面

     

JBWEB000069:description JBWEB000120:客户端发送的请求   在语法上是不正确的。

     

JBoss Web / 7.4.8.Final-redhat-4

我还部署了Tomcat版本,登录页面无法通过以下错误验证用户登录:

HTTP Status 500 - Filter execution threw an exception type 
Exception report message 
Filter execution threw an exception description 
The server encountered an internal error that prevented it from fulfilling this request. 
exception javax.servlet.ServletException: Filter execution threw an exception 
root cause java.lang.NoClassDefFoundError: javax/security/jacc/PolicyContext 
org.uberfire.security.server.auth.source.JACCAuthenticationSource.getSubjectFrom‌​Container(JACCAuthenticationSource.java:155) 
org.uberfire.security.server.auth.source.JACCAuthenticationSource.loadRoles(JACC‌​AuthenticationSource.java:88) 
org.uberfire.security.server.auth.HttpAuthenticationManager.authenticate(HttpAut‌​henticationManager.java:178) 
org.uberfire.security.server.HttpSecurityManagerImpl.authenticate(HttpSecurityMa‌​nagerImpl.java:216) 
org.uberfire.security.server.UberFireSecurityFilter.authenticate(UberFireSecurit‌​yFilter.java:337) org.uberfire.security.server.UberFireSecurityFilter.doFilter(UberFireSecurityFil‌​ter.java:278) 
root cause java.lang.ClassNotFoundException: javax.security.jacc.PolicyContext org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:17‌​20) 
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:15‌​71) 
org.uberfire.security.server.auth.source.JACCAuthenticationSource.getSubjectFrom‌​Container(JACCAuthenticationSource.java:155)
org.uberfire.security.server.auth.source.JACCAuthenticationSource.loadRoles(JACC‌​AuthenticationSource.java:88) 
org.uberfire.security.server.auth.HttpAuthenticationManager.authenticate(HttpAut‌​henticationManager.java:178) 
org.uberfire.security.server.HttpSecurityManagerImpl.authenticate(HttpSecurityMa‌​nagerImpl.java:216) 
org.uberfire.security.server.UberFireSecurityFilter.authenticate(UberFireSecurit‌​yFilter.java:337) 
org.uberfire.security.server.UberFireSecurityFilter.doFilter(UberFireSecurityFil‌​ter.java:278) 

1 个答案:

答案 0 :(得分:0)

那是因为您还没有下载KIE Execution Server,请下载:https://download.jboss.org/drools/release/6.5.0.Final/kie-server-distribution-6.5.0.Final.zip。将它放在tomcat webapps文件夹中,并像这样配置setenv.sh:

  

CATALINA_OPTS =" -Xmx512M -XX:MaxPermSize = 512m -Dbtm.root = $ CATALINA_HOME   -Dorg.jbpm.cdi.bm = java:comp / env / BeanManager -Dbitronix.tm.configuration = $ CATALINA_HOME / conf / btm-config.properties -Djbpm.tsr.jndi.lookup = java:comp / env / TransactionSynchronizationRegistry   -Djava.security.auth.login.config = $ CATALINA_HOME / webapps /下乃纪伊,滴料的web / WEB-INF /班/ login.config中   -Dorg.kie.server.persistence.ds = java:comp / env / jdbc / jbpm -Dorg.kie.server.persistence.tm = org.hibernate.service.jta.platform.internal.BitronixJtaPlatform   -Dorg.kie.server.id = tomcat-kieserver -Dorg.kie.server.location = http://localhost:8080/kie-server-6.5.0.Final-webc/services/rest/server   -Dorg.kie.server.controller = http://localhost:8080/kie-drools-web/rest/controller   -Dorg.kie.server.user = tomcat -Dorg.kie.server.pwd = tomcat -Dorg.kie.server.controller.user = tomcat -Dorg.kie.server.controller.pwd = tomcat"