[jboss-jira] [JBoss JIRA] Assigned: (JBAS-7957) Ejb3ClientDeployer should ignore non-.jar deployments
Ales Justin (JIRA)
jira-events at lists.jboss.org
Thu Apr 22 06:22:10 EDT 2010
[ https://jira.jboss.org/jira/browse/JBAS-7957?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ales Justin reassigned JBAS-7957:
---------------------------------
Assignee: Carlo de Wolf (was: Ales Justin)
> Ejb3ClientDeployer should ignore non-.jar deployments
> -----------------------------------------------------
>
> Key: JBAS-7957
> URL: https://jira.jboss.org/jira/browse/JBAS-7957
> Project: JBoss Application Server
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Deployers
> Affects Versions: JBossAS-5.1.0.GA
> Reporter: Mike Clark
> Assignee: Carlo de Wolf
>
> The org.jboss.ejb3.deployers.Ejb3ClientDeployer attempts to deploy based on the existence of a Main-Class attribute in an archive's META-INF/MANIFEST.MF. This deployment only makes sense for jar archives and for non-.jar archives an IllegalArgumentException is thrown:
> 2010-04-21 08:44:54,261 DEBUG [org.jboss.ejb3.deployers.Ejb3ClientDeployer] (main) Error during deploy: vfszip:/bin/jboss-5.0.0.GA/server/default/deploy/mydeployment.rar
> java.lang.IllegalStateException: Expected either '.jar' or '.jar/' at the end of mydeployment.rar
> at org.jboss.ejb3.deployers.Ejb3ClientDeployer.getDeploymentJndiName(Ejb3ClientDeployer.java:214)
> at org.jboss.ejb3.deployers.Ejb3ClientDeployer.deploy(Ejb3ClientDeployer.java:104)
> at org.jboss.ejb3.deployers.Ejb3ClientDeployer.deploy(Ejb3ClientDeployer.java:61)
> at org.jboss.deployers.vfs.spi.deployer.AbstractSimpleVFSRealDeployer.deploy(AbstractSimpleVFSRealDeployer.java:56)
> at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62)
> at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)
> at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171)
> Instead of throwing such an exception, the deployer should ignore other types of archives such as .rar archives that happen to have a Main-Class attribute defined.
--
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