[
https://issues.apache.org/jira/browse/GERONIMO-4251?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12672560#action_12672560
]
Frank Meilinger commented on GERONIMO-4251:
-------------------------------------------
Hi Ivan,
I've done some tests and now everything works like it should.
Just a note about our usecase:
Now we are able to deploy our JEE5 application EAR with a lot of skinny WARs
and EJBs and Webstart-Clients without any change and without application server
specific deployment descriptors on Geronimo and Glassfish. This is "real"
platform neutrality. Now we are going to test some other application servers
(open source and commercial) and we hope that we are able to support a lot of
different appservers in future with the exact same EAR. For JEE application
developers this is a nice goal. Usually the most JEE applications nowadays are
project development and target a specific appserver implementation which
usually result in some appserver specific applications. We want do do product
development for JEE and don't want to care about the appserver implementation
the customer choose. We think, if this will be more and more possible it will
also help JEE to get more popular.
Thanks a lot for your good work.
Greetings,
Frank
> Class-Path entry in WAR manifest didn't work if entry is a directory
> --------------------------------------------------------------------
>
> Key: GERONIMO-4251
> URL: https://issues.apache.org/jira/browse/GERONIMO-4251
> Project: Geronimo
> Issue Type: Bug
> Security Level: public(Regular issues)
> Affects Versions: 2.1, 2.1.1, 2.1.2, 2.1.3, 2.1.4, 2.2
> Environment: Geronimo 2.1.2 on Windows XP
> Reporter: Frank Meilinger
> Assignee: Ivan
> Fix For: 2.1.4, 2.2
>
> Attachments: Geronimo-4251.patch,
> geronimo-deployment-2.2-SNAPSHOT.jar, my-ear-1.0-SNAPSHOT.ear
>
>
> Hi,
> it's not possible to define an Class-Path element in the WARs manifest, if
> it's a directory. I try to access jar files packed in the EARs lib/
> directory from within a WAR module.
> e.g. this will work:
> Class-Path: a.jar b.jar
> but this doesn't work:
> Class-Path: lib/
> If a directory is specifyed, I receive the following error:
> 15:20:13,170 ERROR [DirectoryHotDeployer] Unable to deploy: Manifest class
> path
> entries must end with the .jar extension (J2EE 1.4 Section 8.2): module=../
> org.apache.geronimo.common.DeploymentException: Manifest class path entries
> must
> end with the .jar extension (J2EE 1.4 Section 8.2): module=../
> at
> org.apache.geronimo.deployment.DeploymentContext.addManifestClassPath
> (DeploymentContext.java:419)
> ...
> I think this is definitely an error because the JEE5 specification section
> 8.2.1 explicitely allows directories in manifest Class-Path entries.
> See discussion:
> http://www.nabble.com/EAR-bundle-dir-classpath-issue-tt18982334s134.html
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.