[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Noob encounters deployment woes.
do-not-reply at jboss.com
Sun Oct 26 10:00:32 EDT 2008
anonymous wrote :
| org.jboss.deployers.spi.DeploymentException: Error during deploy: vfszip:/D:/jboss-5.0.0.CR2/server/all/deploy/simple.ear/jaxb-xjc.jar/1.0/
| vfszip:/D:/jboss-5.0.0.CR2/server/all/deploy/simple.ear -> java.lang.IllegalStateException: Expected either '.jar' or '.jar/' at the end of 1.0
Looks like the new VFS implementation in JBoss-5 does not like the contents of this jar :-)
I just downloaded the jaxb-xjc.jar and looked at its contents:
To put this output in a better form:
| |--- META-INF <and some contents under this)
| |--- org [the usual package/classes under this]
| |--- com [the usual package/classes under this]
| |--- 1.0 [see my note below about this folder]
| | |
| | |--- META-INF
| | | |
| | | |--- services [some stuff under this]
| | |
| | |--- com [usual package/classes inside this]
The (naming of) 1.0 folder inside the jaxb-xjc.jar looks strange since this folder has a META-INF as well as some classes under it. The VFS implementation considers this a jar file because of the META-INF folder and hence complains about its naming.
anonymous wrote : What is the remedy?
I remember Ales Justin was working on a similar (a bit different) issue with one of the JDBC driver jar files. I would recommend you open a new thread in the JBoss AS5 forum http://www.jboss.com/index.html?module=bb&op=viewforum&f=287 and point them to this thread. You are going to get a better response there since this issue is AS5 specific.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4184674#4184674
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4184674
More information about the jboss-user