[jboss-dev] JBossAS/trunk/testsuite cruisecontrolbuilds notrunning to completion

Rajesh Rajasekaran rrajasek at redhat.com
Fri Feb 23 16:30:53 EST 2007


It can't start the server and the testsuite fails.

The default config starts normally but fails only with the security-manager.


/opt/jdk1.5.0_10/bin/java -cp
/services/cruisecontrol/checkout/jboss-head-testsuite-sun-1.5/build/output/j
boss-5.0.0.Beta2/bin/run.jar:/opt/jdk1.5.0_10/lib/tools.jar  -Xmx64m
-Djboss.home.dir=/services/cruisecontrol/checkout/jboss-head-testsuite-sun-1
.5/build/output/jboss-5.0.0.Beta2
-Djboss.server.home.dir=/services/cruisecontrol/checkout/jboss-head-testsuit
e-sun-1.5/build/output/jboss-5.0.0.Beta2/server/default
-Djboss.test.deploy.dir=/services/cruisecontrol/checkout/jboss-head-testsuit
e-sun-1.5/testsuite/output/lib -Djava.security.manager
-Djava.security.policy==/services/cruisecontrol/checkout/jboss-head-testsuit
e-sun-1.5/testsuite/output/resources/securitymgr/server.policy
-Djava.security.debug=failure  org.jboss.Main -c default -b localhost


-----Original Message-----
From: jboss-development-bounces at lists.jboss.org
[mailto:jboss-development-bounces at lists.jboss.org] On Behalf Of Scott M
Stark
Sent: Friday, February 23, 2007 3:22 PM
To: JBoss.org development list
Subject: Re: [jboss-dev] JBossAS/trunk/testsuite cruisecontrolbuilds
notrunning to completion

No, there are missing privileged blocks in the vfs. I created  	
JBMICROCONT-149 to fix this.

Why is this failure preventing the overall run though? Can't stop the
server?

Rajesh Rajasekaran wrote:
> The first hurdle:
> The default config does not start with the Security Manager.
> 
> Run ant tests-security-manager
> The server.policy file needs to be updated?
> 
>
http://cruisecontrol.jboss.com/cc/artifacts/jboss-head-testsuite-sun-1.5/200
> 70219143559/build/output/jboss-5.0.0.Beta2/server/default/log/boot.log
> 
> 16:35:49,790 DEBUG [MainDeployerImpl] Add deployment context:
>
vfsfile:/services/cruisecontrol/checkout/jboss-head-testsuite-sun-1.5/build/
> output/jboss-5.0.0.Beta2/server/default/conf/jboss-service.xml
> 16:35:49,799 WARN  [DeclaredStructure] Error determining structure:
> jboss-service.xml
> java.security.AccessControlException: access denied
(java.io.FilePermission
>
/services/cruisecontrol/checkout/jboss-head-testsuite-sun-1.5/build/output/j
> boss-5.0.0.Beta2/server/default/conf/jboss-service.xml read)
> 	at
>
java.security.AccessControlContext.checkPermission(AccessControlContext.java
> :264)
> 	at
> java.security.AccessController.checkPermission(AccessController.java:427)
> 	at
> java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
> 	at java.lang.SecurityManager.checkRead(SecurityManager.java:871)
> 	at java.io.File.isFile(File.java:745)
> 	at
>
org.jboss.virtual.plugins.context.file.FileHandler.isLeaf(FileHandler.java:1
> 33)
> 	at org.jboss.virtual.VirtualFile.isLeaf(VirtualFile.java:182)
> 	at
>
org.jboss.deployers.plugins.structure.vfs.explicit.DeclaredStructure.determi
> neStructure(DeclaredStructure.java:58)
> 	at
>
org.jboss.deployers.plugins.structure.BasicStructuredDeployers.determineStru
> cture(BasicStructuredDeployers.java:76)
> 	at
>
org.jboss.deployers.plugins.deployment.MainDeployerImpl.determineStructure(M
> ainDeployerImpl.java:680)
> 	at
>
org.jboss.deployers.plugins.deployment.MainDeployerImpl.addDeploymentContext
> (MainDeployerImpl.java:352)
> 	at
> AOPContainerProxy$0.addDeploymentContext(AOPContainerProxy$0.java)
> 	at
>
org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadProfile(P
> rofileServiceBootstrap.java:341)
> 	at
>
org.jboss.system.server.profileservice.ProfileServiceBootstrap.bootstrap(Pro
> fileServiceBootstrap.java:247)
> 	at
>
org.jboss.kernel.plugins.bootstrap.AbstractBootstrap.run(AbstractBootstrap.j
> ava:89)
> 	at
>
org.jboss.system.server.profileservice.ServerImpl.doStart(ServerImpl.java:40
> 3)
> 	at
>
org.jboss.system.server.profileservice.ServerImpl.start(ServerImpl.java:342)
> 	at org.jboss.Main.boot(Main.java:210)
> 
> 

_______________________________________________
jboss-development mailing list
jboss-development at lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-development




More information about the jboss-development mailing list