What steps will reproduce the problem?
1. Opened a new NetBeans Web Project.
2. Ran Checkout SDK Integration Wizard.
3. Ran Checkout SDK Handler Manager.
4. Added checkout-sdk.jar under.
5. Built the project in NetBeans.
6. Tried Running it in NetBeans (using F6) - Got an exception.
What is the expected output? What do you see instead?
Expected - The Sample Project should run.
Actual - Runtime Exception.
What version of the product are you using? On what operating system?
NetBeans 6.1 on Windows XP.
Please provide any additional information below.
The error -
LDR5203: An error occurred while adding URL [file:/D:/OICL%20POC/Google%
20Checkout%20Two/GoogleCheckout/build/web/WEB-INF/lib/checkout-sdk.jar] to
the EJB class loader. Please check the content of this URL.
LDR5200:MalformedURLException.
java.util.zip.ZipException: invalid LOC header (bad signature)
at java.util.zip.ZipFile.read(Native Method)
at java.util.zip.ZipFile.access$1200(ZipFile.java:29)
at java.util.zip.ZipFile$ZipFileInputStream.read(ZipFile.java:447)
at java.util.zip.ZipFile$1.fill(ZipFile.java:230)
at java.util.zip.InflaterInputStream.read
(InflaterInputStream.java:141)
at java.io.DataInputStream.readFully(DataInputStream.java:178)
at java.util.jar.JarFile.getBytes(JarFile.java:360)
at java.util.jar.JarFile.getManifestFromReference(JarFile.java:159)
at java.util.jar.JarFile.getManifest(JarFile.java:146)
at com.sun.enterprise.loader.EJBClassLoader.checkManifest
(EJBClassLoader.java:545)
at com.sun.enterprise.loader.EJBClassLoader.appendURL
(EJBClassLoader.java:270)
at com.sun.enterprise.loader.EJBClassLoader.appendURL
(EJBClassLoader.java:222)
at
com.sun.enterprise.deployment.backend.DeploymentUtils.getClassLoader
(DeploymentUtils.java:193)
at com.sun.enterprise.deployment.backend.Deployer.loadDescriptors
(Deployer.java:317)
at
com.sun.enterprise.deployment.backend.ModuleDeployer.loadDescriptors
(ModuleDeployer.java:423)
at com.sun.enterprise.deployment.backend.WebModuleDeployer.deploy
(WebModuleDeployer.java:157)
at
com.sun.enterprise.deployment.backend.ModuleDeployer.doRequestFinish
(ModuleDeployer.java:179)
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:919)
at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy
(PEDeploymentService.java:279)
at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy
(PEDeploymentService.java:788)
at com.sun.enterprise.management.deploy.DeployThread.deploy
(DeployThread.java:187)
at com.sun.enterprise.management.deploy.DeployThread.run
(DeployThread.java:223)
Exception occured in J2EEC Phasejava.util.zip.ZipException: invalid LOC
header (bad signature)
com.sun.enterprise.deployment.backend.IASDeploymentException: Error
loading deployment descriptors for module [GoogleCheckout] -- invalid LOC
header (bad signature)
at com.sun.enterprise.deployment.backend.Deployer.loadDescriptors
(Deployer.java:390)
at
com.sun.enterprise.deployment.backend.ModuleDeployer.loadDescriptors
(ModuleDeployer.java:423)
at com.sun.enterprise.deployment.backend.WebModuleDeployer.deploy
(WebModuleDeployer.java:157)
at
com.sun.enterprise.deployment.backend.ModuleDeployer.doRequestFinish
(ModuleDeployer.java:179)
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:919)
at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy
(PEDeploymentService.java:279)
at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy
(PEDeploymentService.java:788)
at com.sun.enterprise.management.deploy.DeployThread.deploy
(DeployThread.java:187)
at com.sun.enterprise.management.deploy.DeployThread.run
(DeployThread.java:223)
Caused by: java.util.zip.ZipException: invalid LOC header (bad signature)
at java.util.zip.ZipFile.read(Native Method)
at java.util.zip.ZipFile.access$1200(ZipFile.java:29)
at java.util.zip.ZipFile$ZipFileInputStream.read(ZipFile.java:447)
at java.util.zip.ZipFile$1.fill(ZipFile.java:230)
at java.util.zip.InflaterInputStream.read
(InflaterInputStream.java:141)
at java.nio.channels.Channels$ReadableByteChannelImpl.read
(Channels.java:200)
at
com.sun.enterprise.deployment.annotation.introspection.ClassFile.containsAn
notation(ClassFile.java:101)
at
com.sun.enterprise.deployment.annotation.impl.ModuleScanner.addScanJar
(ModuleScanner.java:98)
at com.sun.enterprise.deployment.annotation.impl.WarScanner.<init>
(WarScanner.java:101)
at
com.sun.enterprise.deployment.annotation.factory.ScannerFactory.createScann
er(ScannerFactory.java:78)
at
com.sun.enterprise.deployment.archivist.Archivist.processAnnotations
(Archivist.java:403)
at
com.sun.enterprise.deployment.archivist.Archivist.readAnnotations
(Archivist.java:346)
at
com.sun.enterprise.deployment.archivist.Archivist.readDeploymentDescriptors
(Archivist.java:318)
at com.sun.enterprise.deployment.archivist.Archivist.open
(Archivist.java:213)
at
com.sun.enterprise.deployment.archivist.ApplicationArchivist.openArchive
(ApplicationArchivist.java:763)
at
com.sun.enterprise.deployment.archivist.ApplicationArchivist.openArchive
(ApplicationArchivist.java:744)
at com.sun.enterprise.deployment.backend.Deployer.loadDescriptors
(Deployer.java:349)
... 10 more
Original issue reported on code.google.com by weird.wh...@gmail.com on 3 Sep 2008 at 11:19
Original issue reported on code.google.com by
weird.wh...@gmail.com
on 3 Sep 2008 at 11:19