如果jboss启时发生了如下问题,估计时因为在D:/Server/jboss5/server/default/lib 下加载jar文件,导致辞,只要将该处的文件删掉就可以了,赶快试一下吧,呵呵!
Caused by: java.lang.ClassNotFoundException: JACC:Error PolicyConfigurationFactory : cannot find class : null
at javax.security.jacc.PolicyConfigurationFactory.getPolicyConfigurationFactory(PolicyConfigurationFactory.java:143
at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:355)
... 162 more
Caused by: java.lang.ClassNotFoundException: JACC:Error PolicyConfigurationFactory : property not set : javax.security.jacc.PolicyConfigurationFactory.provider
at javax.security.jacc.PolicyConfigurationFactory.getPolicyConfigurationFactory(PolicyConfigurationFactory.java:128
14:36:48,500 ERROR [MainDeployer] Could not start deployment: file:/F:/jboss/server/default/deploy/http-invoker.sar/invoker.war/
org.jboss.deployment.DeploymentException: Error during deploy; - nested throwable: (java.lang.ClassNotFoundException: JACC:Error PolicyConfigurationFactory : cannot find class : null)
--- Incompletely deployed packages ---
org.jboss.deployment.DeploymentInfo@d5cab595 { url=file:/F:/jboss/server/default/deploy/jboss-web.deployer/ROOT.war/ }
deployer: MBeanProxyExt[jboss.web:service=WebServer]
status: Deployment FAILED reason: Error during deploy; - nested throwable: (java.lang.ClassNotFoundException: JACC:Error PolicyConfigurationFactory : cannot find class : null)
state: FAILED
watch: file:/F:/jboss/server/default/deploy/jboss-web.deployer/ROOT.war/WEB-INF/web.xml
altDD: null
lastDeployed: 1215844608000
lastModified: 1215443671312
mbeans: