users@glassfish.java.net

2 wars in .ear => "Cannot link PolicyConfiguration to itself"

From: <glassfish_at_javadesktop.org>
Date: Tue, 18 Nov 2008 09:40:46 PST

We have recently tried adding a second .war module to our existing project, but cannot now deploy; the second .war is currently just a skeleton project, but something in the configuration is preventing the .ear from deploying anymore.

I can't figure out which bit of configuration is causing this - Where do I start to look?!

Thanks

Ed


[#|2008-11-18T17:36:32.523+0000|WARNING|sun-appserver9.1|javax.enterprise.system.core.security|_ThreadID=63;_ThreadName=Thread-373;_RequestID=19d88d98-386b-468b-b7c3-154ec2202146;|Cannot link PolicyConfiguration to itself.|#]

[#|2008-11-18T17:36:32.633+0000|SEVERE|sun-appserver9.1|javax.enterprise.system.tools.deployment|_ThreadID=63;_ThreadName=Thread-373;_RequestID=19d88d98-386b-468b-b7c3-154ec2202146;|Exception occured in J2EEC Phase
com.sun.enterprise.deployment.backend.IASDeploymentException: Deployment Error -- Operation attempted to link PolicyConfiguration to itself.
        at com.sun.enterprise.security.provider.PolicyConfigurationImpl.linkConfiguration(PolicyConfigurationImpl.java:652)
        at com.sun.enterprise.security.SecurityUtil.linkPolicyFile(SecurityUtil.java:345)
        at com.sun.enterprise.deployment.backend.AppDeployerBase.generatePolicy(AppDeployerBase.java:379)
        at com.sun.enterprise.deployment.backend.AppDeployer.doRequestFinish(AppDeployer.java:149)
        at com.sun.enterprise.deployment.phasing.J2EECPhase.runPhase(J2EECPhase.java:191)
        at com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPhase.java:108)
        at com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(PEDeploymentService.java:933)
        at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:279)
        at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:802)
        at com.sun.enterprise.management.deploy.DeployThread.deploy(DeployThread.java:187)
        at com.sun.enterprise.management.deploy.DeployThread.run(DeployThread.java:225)
|#]
[Message sent by forum member 'edrandall' (edrandall)]

http://forums.java.net/jive/thread.jspa?messageID=317387