[jboss-jira] [JBoss JIRA] (AS7-308) Provide an option to change the code source used by deployments
jehanzeb qayyum (JIRA)
jira-events at lists.jboss.org
Sun Mar 11 06:37:48 EDT 2012
[ https://issues.jboss.org/browse/AS7-308?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12675741#comment-12675741 ]
jehanzeb qayyum commented on AS7-308:
-------------------------------------
Hi,
I tried to use this fix to solve issue JBAS-7882 on Jboss AS 7.1.1 Final. But it does not seem to work.
I put all my security jars in ear/lib and mentioned in ear/META-INF/jboss-deployment-structure.xml like below:
<jboss-deployment-structure xmlns="urn:jboss:deployment-structure:1.1">
<ear-subdeployments-isolated>true</ear-subdeployments-isolated>
<deployment>
<resources>
<resource-root path="entbase.jar" use-physical-code-source="true"/>
<resource-root path="entarchive.jar" use-physical-code-source="true"/>
...
</resources>
</deployment>
...
But still i am getting
Self-Integrity Check FAILED: java.lang.SecurityException: java.security.PrivilegedActionException: java.util.zip.ZipException: zip file is empty: java.lang.SecurityException: Self-Integrity Check FAILED: java.lang.SecurityException: java.security.PrivilegedActionException: java.util.zip.ZipException: zip file is empty
at com.entrust.toolkit.security.provider.JCEVerifierImpl.checkIntegrity(Unknown Source) [entbase.jar:7.1.0 build 941 "Jul 25 2005" "03:44:15"]
at com.entrust.toolkit.security.provider.Entrust.<init>(Unknown Source) [entbase.jar:7.1.0 build 941 "Jul 25 2005" "03:44:15"]
Am i missing something? Please guide.
Thanks
> Provide an option to change the code source used by deployments
> ---------------------------------------------------------------
>
> Key: AS7-308
> URL: https://issues.jboss.org/browse/AS7-308
> Project: Application Server 7
> Issue Type: Enhancement
> Components: Class Loading, VFS
> Reporter: David Lloyd
> Assignee: Stuart Douglas
> Priority: Minor
> Fix For: 7.1.0.CR1
>
>
> For most use cases, using the VFS URL for the code source is best. However in certain cases the code source is expected to correspond to a physical filesystem location, possibly even a valid JAR URL.
> So there should be an option in jboss-deployment-structure.xml to allow the code source to be changed to be the URL of the physical location of the VFS mount point instead of the VFS root URL. This option would default to "off", meaning use the VFS URL.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list