[jboss-user] [EJB 3.0] - Re: Why is injection not working in AS 4.0 and 4.2 (servlets

yilmaz_ do-not-reply at jboss.com
Fri Nov 16 14:59:57 EST 2007


if you are using Seam Add this line to your component.xml

<?xml version="1.0" encoding="UTF-8"?>
<components xmlns="http://jboss.com/products/seam/components"
            xmlns:core="http://jboss.com/products/seam/core"
            xmlns:drools="http://jboss.com/products/seam/drools"
            xmlns:security="http://jboss.com/products/seam/security"
            xmlns:mail="http://jboss.com/products/seam/mail"
            xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
            xmlns:web="http://jboss.com/products/seam/web"
            xsi:schemaLocation=
                "http://jboss.com/products/seam/core http://jboss.com/products/seam/core-1.2.xsd 
                 http://jboss.com/products/seam/drools http://jboss.com/products/seam/drools-1.2.xsd
                 http://jboss.com/products/seam/security http://jboss.com/products/seam/security-1.2.xsd
                 http://jboss.com/products/seam/mail http://jboss.com/products/seam/mail-1.2.xsd
                 http://jboss.com/products/seam/components http://jboss.com/products/seam/components-1.2.xsd
                 http://jboss.com/products/seam/web http://jboss.com/products/seam/web-1.2.xsd
                 ">
 <core:init debug="true" jndi-pattern="@jndiPattern@"/>
   <web:context-filter url-pattern="/yourservleturl/*"/>
   <core:manager concurrent-request-timeout="500" 
                 conversation-timeout="120000" 
                 conversation-id-parameter="cid" 
                 conversation-is-long-running-parameter="clr"/>


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4105653#4105653

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4105653



More information about the jboss-user mailing list