<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><HTML DIR=ltr><HEAD><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1"></HEAD><BODY>
<DIV><FONT face=Arial color=#000000 size=2>The testsuite fails while starting
the "jaspi" instance in jbossas beta 5:</FONT></DIV>
<DIV><FONT face=Arial color=#000000
size=2>tests.log:<BR>***************************<BR>tests-security-jaspi-unit:<BR>
[echo] creating jaspi config<BR> [copy] Copying 153
files to
/services/cruisecontrol/checkout/jboss-head-testsuite-1.5/build/output/jboss-5.0.0.Beta/server/jaspi<BR>
[echo] Overwriting config descriptors<BR> [copy] Copying
2 files to
/services/cruisecontrol/checkout/jboss-head-testsuite-1.5/build/output/jboss-5.0.0.Beta/server/jaspi<BR>[server:start]
Starting server "jaspi" with command: <BR>[server:start]
/opt/jrockit-jdk1.5.0_06/bin/java -cp
/services/cruisecontrol/checkout/jboss-head-testsuite-1.5/build/output/jboss-5.0.0.Beta/bin/run.jar:/opt/jrockit-jdk1.5.0_06/lib/tools.jar
org.jboss.Main -c jaspi -b localhost </FONT></DIV>
<DIV><FONT face=Arial color=#000000 size=2>BUILD
FAILED<BR>/services/cruisecontrol/checkout/jboss-head-testsuite-1.5/testsuite/build.xml:827:
The following error occurred while executing this
line:<BR>/services/cruisecontrol/checkout/jboss-head-testsuite-1.5/testsuite/build.xml:2414:
Error starting server "jaspi": Server failed to start; see
logs.<BR>**************************<BR>The server.log contains
this:<BR>**************************<BR>11:25:01,556 ERROR
[AbstractKernelController] Error installing to Configured:
name=jboss.web:service=WebServer state=Instantiated mode=Manual
requiredState=Configured<BR>org.jboss.deployment.DeploymentException: No
Attribute found with name: AuthorizationManagerService for
jboss.web:service=WebServer<BR> at
org.jboss.system.ServiceConfigurator.configure(ServiceConfigurator.java:129)<BR>**************************<BR>AuthorizationManager
isn't present in the following files (should be?):<BR></FONT></DIV>
<DIV><FONT face=Arial color=#000000
size=2>jbossweb-tomcat6.sar\META-INF\webserver-xmbean.xml<BR>\trunk\tomcat\src\main\org\jboss\web\tomcat\tc6\Tomcat6.java<BR>\trunk\tomcat\src\main\org\jboss\web\tomcat\tc6\Tomcat6MBean.java<BR>\trunk\tomcat\src\main\org\jboss\web\tomcat\tc6\TomcatDeployer.java</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial color=#000000 size=2>but is still present
in<BR></FONT></DIV>
<DIV><FONT face=Arial color=#000000
size=2>jbossweb-tomcat6.sar\META-INF\jboss-service.xml</FONT></DIV>
<DIV><FONT face=Arial color=#000000 size=2></FONT> </DIV>
<DIV><FONT face=Arial color=#000000 size=2>To start the server (jaspi instance)
successfully, it's enough to delete following section in
jbossweb-tomcat6.sar\META-INF\jboss-service.xml:</FONT></DIV>
<DIV><FONT face=Arial color=#000000 size=2></FONT> </DIV>
<DIV><FONT face=Arial color=#000000 size=2>
<depends
optional-attribute-name="AuthorizationManagerService"<BR>
proxy-type="attribute">jboss.security:service=AuthorizationManager<BR>
</depends></FONT></DIV>
<DIV><FONT face=Arial color=#000000 size=2></FONT> </DIV>
<DIV><FONT face=Arial color=#000000 size=2>The other way is to add following
lines to jbossweb-tomcat6.sar\META-INF\webserver-xmbean.xml:</FONT></DIV>
<DIV><FONT face=Arial color=#000000 size=2></FONT> </DIV>
<DIV><FONT face=Arial color=#000000 size=2> <attribute
access="write-only"><BR>
<name>AuthorizationManagerService</name><BR>
<type>org.jboss.security.plugins.AuthorizationManagerServiceMBean</type><BR>
</attribute></FONT></DIV>
<DIV><FONT face=Arial color=#000000 size=2></FONT> </DIV>
<DIV><FONT face=Arial color=#000000 size=2>What is the right way to get the
testsuite successfully run the jaspi-instance?</FONT></DIV>
<DIV><FONT face=Arial color=#000000 size=2><BR></FONT> </DIV></BODY></HTML>