This content has been marked as final.
Show 4 replies
-
1. Re: Exploded EAR Deployment Error application.xml not found
darranl Oct 3, 2005 9:06 AM (in response to majohnst)Is the case of the META-INF folder correct?
-
2. Re: Exploded EAR Deployment Error application.xml not found
majohnst Oct 3, 2005 10:48 AM (in response to majohnst)I am testing this on a Windows machine, but yes, META-INF is all capitals.
-
3. Re: Exploded EAR Deployment Error application.xml not found
majohnst Oct 3, 2005 9:22 PM (in response to majohnst)I have fixed part of my problem. I was setting the path to my ear file in the jboss-service.xml using file:/gearapalooza.com/deploy/geara.ear Since my EAR file was exploded, the file url should have been file:/gearapalooza.com/deploy/geara.ear/ <- with a trailing slash.
Now I have another problem. Within my exploded EAR, I have an exploded WAR. I have tried several similar methods to deploy the WAR file, but I keep getting an error ofERROR [ContextConfig] Exception fixing docBase: {0} java.util.zip.ZipException: The system cannot find the file specified at java.util.zip.ZipFile.open(Native Method) at java.util.zip.ZipFile.<init>(Unknown Source) at java.util.jar.JarFile.<init>(Unknown Source) at java.util.jar.JarFile.<init>(Unknown Source) at sun.net.www.protocol.jar.URLJarFile.<init>(Unknown Source) at sun.net.www.protocol.jar.URLJarFile.getJarFile(Unknown Source) at sun.net.www.protocol.jar.JarFileFactory.get(Unknown Source)
So it is obviously trying to unjar the WAR file. Is there any way to tell it that the WAR file is already exploded? -
4. Re: Exploded EAR Deployment Error application.xml not found
majohnst Oct 3, 2005 9:29 PM (in response to majohnst)I fixed my own problem. In my context.xml file in the WAR file, I had an improper path that was causing the WAR file to not be deployed.