[jboss-jira] [JBoss JIRA] Created: (JBAS-6250) The server cannot run under a security manager when symlinks are contained within jboss home path

Martin Malina (JIRA) jira-events at lists.jboss.org
Wed Nov 26 11:34:36 EST 2008


The server cannot run under a security manager when symlinks are contained within jboss home path
-------------------------------------------------------------------------------------------------

                 Key: JBAS-6250
                 URL: https://jira.jboss.org/jira/browse/JBAS-6250
             Project: JBoss Application Server
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: Test Suite
         Environment: RHEL5 x86 Sun JDK 1.5
            Reporter: Martin Malina
            Assignee: Shelly McGowan
         Attachments: server.log

The tests-security-manager fails to run when there are symlinks within the jboss.dist path.

[hudson at conf2 testsuite]$ ./build.sh -Dnode0=10.16.93.25 -Dnode1=10.16.93.26 -DudpGroup=227.43.88.165 -Djboss.dist=/home/hudson/eap5-as/jboss-5.0.0 tests-security-managerSearching for build.xml ...Buildfile: /qa/services/hudson/eap5-as/jboss-5.0.0-src/testsuite/build.xmltests-security-manager:     [echo] Starting default with policy /qa/services/hudson/eap5-as/jboss-5.0.0-src/testsuite/output/resources/securitymgr/server.policy     [echo] jboss.home.dir=/home/hudson/eap5-as/jboss-5.0.0
     [echo] jboss.server.home.dir=/home/hudson/eap5-as/jboss-5.0.0/server/default
[server:start] Starting server "securitymgr", with command (start timeout is 240 seconds ): 
[server:start] /qa/tools/opt/jdk1.5.0_15/bin/java -cp /home/hudson/eap5-as/jboss-5.0.0/bin/run.jar:/qa/tools/opt/jdk1.5.0_15/lib/tools.jar  -Xms128m -Xmx256m -XX:MaxPermSize=512m -Djboss.home.dir=/home/hudson/eap5-as/jboss-5.0.0 -Djboss.server.home.dir=/home/hudson/eap5-as/jboss-5.0.0/server/default -Djboss.test.deploy.dir=/qa/services/hudson/eap5-as/jboss-5.0.0-src/testsuite/output/lib -Djava.security.manager -Djava.security.policy==/qa/services/hudson/eap5-as/jboss-5.0.0-src/testsuite/output/resources/securitymgr/server.policy -Djava.security.debug=failure -Djava.protocol.handler.pkgs=org.jboss.handlers.stub -Djava.net.preferIPv4Stack=true -Djava.endorsed.dirs=/home/hudson/eap5-as/jboss-5.0.0/lib/endorsed  org.jboss.Main -c default -b 10.16.93.25 -g DefaultDomain -u 227.43.88.165 
[server:start] Failed to start server "securitymgr" before timeout. Destroying the process.

BUILD FAILED
/qa/services/hudson/eap5-as/jboss-5.0.0-src/testsuite/build.xml:1640: Error starting server "securitymgr": Server failed to start in time; see logs.

The real path is /qa/services/hudson, but the often used symlink is /home/hudson with which it doesn't work. When I use the real path it works and there is no problem.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list