Scott, I need some guidance here.
The servlet class defines the @RunAs annotation. Hence the web.xml servlet definition has
no need for an explicit run-as element. Now the JBossWebMetaData merge fails with the
following RTE.
| // Update the run-as indentity to use the principal name
| if (webXmlRunAs == null)
| {
| throw new IllegalStateException("run-as-principal: " + principalName +
" found in jboss-web.xml but there was no run-as in web.xml");
| }
|
This is because the webxml metadata is not aware of the annotation. Shouldn't
Carlo's annotation deployer kick in before the webmetadata parse?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4138537#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...