Hi All,

I have noted that TomcatHelper.configureJarScanner(context); method is
called in  OpenEJBContextConfig & TomcatWebappBuilder

In TomcatWebappBuilder, this method is called only for Tomcat 7.

    @Override
    public void configureStart(final StandardContext standardContext) {

* if (TomcatHelper.isTomcat7()) {
TomcatHelper.configureJarScanner(standardContext);*

            final ContextTransaction contextTransaction = new
ContextTransaction();

contextTransaction.setProperty(org.apache.naming.factory.Constants.FACTORY,
UserTransactionFactory.class.getName());

standardContext.getNamingResources().setTransaction(contextTransaction);
            startInternal(standardContext);
        }

Can someone elaborate why it is important?

Regards,
Chamil

-- 
http://kavimalla.blgospot.com
http://kdchamil.blogspot.com

Reply via email to