We have a .war file with 3.0 version in one of our EJB3 tests in the AS.
It's working fine currently (tried it locally too) and isn't printing
out any WARN messages from that deployer. Attached is the file (if you
want to give it a quick try).
regards,
-Jaikiran
Rémy Maucherat wrote:
On Fri, Jun 4, 2010 at 9:08 AM, Jaikiran Pai <jpai(a)redhat.com>
wrote:
> I see these WARN messages for ROOT.war and invoker.war when the server
> boots:
>
> 12:28:09,632 WARN [WarAnnotationMetaDataDeployer] Cannot scan classes,
> missing ResourcesIndex as attachment:
>
vfs:///home/jpai/jbossas/trunk/build/target/jboss-6.0.0-SNAPSHOT/server/default/deploy/http-invoker.sar/invoker.war/
> 12:28:10,231 WARN [WarAnnotationMetaDataDeployer] Cannot scan classes,
> missing ResourcesIndex as attachment:
>
vfs:///home/jpai/jbossas/trunk/build/target/jboss-6.0.0-SNAPSHOT/server/default/deploy/ROOT.war
>
> Both these wars are marked to be 2.3 web-app version. Maybe we should
> just skip looking for an annotation repository for such applications,
> instead of logging a WARN message. Thoughts?
The WARN is there until I understand what is going on. It's not
working for me regardless of the webapp version. Does it work for you
if it is a 2.5 or 3.0 webapp ? (for me it doesn't)
Rémy