<!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>&nbsp;&nbsp;&nbsp;&nbsp; 
[echo] creating jaspi config<BR>&nbsp;&nbsp;&nbsp;&nbsp; [copy] Copying 153 
files to 
/services/cruisecontrol/checkout/jboss-head-testsuite-1.5/build/output/jboss-5.0.0.Beta/server/jaspi<BR>&nbsp;&nbsp;&nbsp;&nbsp; 
[echo] Overwriting config descriptors<BR>&nbsp;&nbsp;&nbsp;&nbsp; [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&nbsp; 
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>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 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>&nbsp;</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>&nbsp;</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>&nbsp;</DIV>
<DIV><FONT face=Arial color=#000000 size=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
&lt;depends 
optional-attribute-name="AuthorizationManagerService"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
proxy-type="attribute"&gt;jboss.security:service=AuthorizationManager<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
&lt;/depends&gt;</FONT></DIV>
<DIV><FONT face=Arial color=#000000 size=2></FONT>&nbsp;</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>&nbsp;</DIV>
<DIV><FONT face=Arial color=#000000 size=2>&nbsp;&nbsp; &lt;attribute 
access="write-only"&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp; 
&lt;name&gt;AuthorizationManagerService&lt;/name&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp; 
&lt;type&gt;org.jboss.security.plugins.AuthorizationManagerServiceMBean&lt;/type&gt;<BR>&nbsp;&nbsp; 
&lt;/attribute&gt;</FONT></DIV>
<DIV><FONT face=Arial color=#000000 size=2></FONT>&nbsp;</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>&nbsp;</DIV></BODY></HTML>