While migrating our application server from jBoss 4.2 to 5.1 we encountered the following problem:
Could not deploy vfsfile:/vtk/server/jboss/server/default/deploy/vtk.ear/vtkmail.jar/fop-0.20.5.jar
Our application.xml contains:
The vtkmail.jar and vtkejb.jar both contain fop-0.20.5.jar as it is needed by both modules.
We already tried to fix this issue by placing the fop-0.20.5.jar in the server/default/lib directory, but to no avail.
Any help would be highly appreciated.
Does any of these jar files have a MANIFEST.MF which contains a Main-Class attribute? If yes, then those jars are probably being picked up as application clients. I would suggest that you remove that Main-Class attribute from the MANIFEST.MF.