Ah... I see. 
I am using 3.1.4 
I see if (standardContext.getServletContext().getAttribute(IGNORE_CONTEXT)
!= null) return;
in the code. Thats fine....
But what is getAttribute here?

I added a zktest.war/META-INF/context.xml file with:
<Context>
    <Parameter
name="org.apache.openejb.tomcat.catalina.TomcatWebAppBuilder.IGNORE"
value="true"  />
    <Environment
name="org.apache.openejb.tomcat.catalina.TomcatWebAppBuilder.IGNORE"
value="false"  type="java.lang.String" />
</Context>

And also played with settings in its web.xml like:
<context-param>
 
<param-name>org.apache.openejb.tomcat.catalina.TomcatWebAppBuilder.IGNORE</param-name>
  <param-value>true</param-value>
</context-param>

and/or
  
  <env-entry>
 
<env-entry-name>org.apache.openejb.tomcat.catalina.TomcatWebAppBuilder.IGNORE</env-entry-name>
  <env-entry-value>False</env-entry-value>
  <env-entry-type>java.lang.String</env-entry-type>
</env-entry>


But when I debug while starting the ApplicationContext attributes HashMap
only contains
javax.servlet.context.tempdir=....
 and
org.apache.catalina.jsp_classpath=...

I can find the setting only inside the context applicationparameter Array.
Is getAttribute() really the right call? Or what exact configuration must be
set?

THX!!
Greets
Markus Lutum


--
View this message in context: 
http://openejb.979440.n4.nabble.com/disable-AnnotationDeployer-for-Tomcat-Webapps-tp3560517p3560790.html
Sent from the OpenEJB Dev mailing list archive at Nabble.com.

Reply via email to