Java AVK Error Name : Could not verify successfully

Verifier gives the not so helpfull error name: Could not verify successfully.

Just installed the Java AVK 1.4.1 and the included Sun App Server Edition 8.1. Following the usersguide i added the following target to my ant file to static test a war-file of mine.

<property name="avk.home" value="/usr/local/java/javke1.4.1"/>

<property name="cpath" value="${avk.home}/lib/javke-ant.jar"/>

<taskdef name="ArchiveTest" classpath="${cpath}" classname="org.apache.tools.ant.taskdefs.optional.sun.verification.StaticArchiveTest"/>

<target name="static-archive-test" description="static archive tests for application containing enterprise beans and web components, reporting on all tests">

<ArchiveTest appName="${dist.dir}/estore.war" reportingOpts="a" partitionOpts="web"/>

</target>

This gives the following output:

STATIC VERIFICATION RESULTS

-

NUMBER OF FAILURES/WARNINGS/ERRORS

-

# of Failures : 0

# of Warnings : 0

# of Errors : 1

--

ERRORS THAT OCCURED WHILE RUNNING STATIC VERIFICATION

--

Error Name : Could not verify successfully.

Error Description : java.io.IOException: javacc,ant,commons-collections,commons-logging,log4j,junit-Extension-Name

at com.sun.enterprise.tools.verifier.VerificationHandler.explodeArchive(VerificationHandler.java:189)

at com.sun.enterprise.tools.verifier.VerificationHandler.init(VerificationHandler.java:121)

at com.sun.enterprise.tools.verifier.VerificationHandler.<init>(VerificationHandler.java:55)

at com.sun.enterprise.tools.verifier.Verifier.verify(Verifier.java:74)

at com.sun.enterprise.tools.verifier.Verifier.main(Verifier.java:53)

Caused by: java.lang.IllegalArgumentException: javacc,ant,commons-collections,commons-logging,log4j,junit-Extension-Name

at java.util.jar.Attributes$Name.<init>(Attributes.java:434)

at java.util.jar.Attributes.getValue(Attributes.java:97)

at com.sun.enterprise.deployment.backend.OptionalPkgDependency.optionalPkgDependencyLogic(OptionalPkgDependency.java:107)

at com.sun.enterprise.deployment.backend.J2EEModuleExploder.optionalPkgDependencyLogic(J2EEModuleExploder.java:249)

at com.sun.enterprise.deployment.backend.J2EEModuleExploder.explode(J2EEModuleExploder.java:132)

at com.sun.enterprise.deployment.backend.J2EEModuleExploder.explode(J2EEModuleExploder.java:59)

at com.sun.enterprise.tools.verifier.VerificationHandler.explodeArchive(VerificationHandler.java:184)

... 4 more

-

END OF STATIC VERIFICATION RESULTS

Anyone had the same problem?

[3026 byte] By [lennart_enstroma] at [2007-12-10]
# 1
Solved it by taking away jars one at a time from WEB-INF/lib.
lennart_enstroma at 2007-7-9 > top of java,Enterprise & Remote Computing,AVK Portability...