[
https://jira.jboss.org/browse/WELD-584?page=com.atlassian.jira.plugin.sys...
]
Lincoln Baxter III updated WELD-584:
------------------------------------
Description:
(RELATED)
https://jira.jboss.org/browse/WELDX-126
http://docs.jboss.org/weld/reference/1.0.1-Final/en-US/html/environments....
The documentation is out of date, since the package names of required classes were changed
during the eclipse ownership change:
<!DOCTYPE Configure PUBLIC "-//Mort Bay Consulting//DTD Configure//EN"
"http://jetty.mortbay.org/configure.dtd">
<Configure id="webAppCtx"
class="org.eclipse.jetty.webapp.WebAppContext">
<New id="BeanManager"
class="org.eclipse.jetty.plus.jndi.Resource">
<Arg> <Ref id="webAppCtx"/> </Arg>
<Arg>BeanManager</Arg>
<Arg>
<New class="javax.naming.Reference">
<Arg>javax.enterprise.inject.spi.BeanManager</Arg>
<Arg>org.jboss.weld.resources.ManagerObjectFactory</Arg>
<Arg/>
</New>
</Arg>
</New>
</Configure>
This documentation is also incomplete, since a <resource-ref> must be included in
the web.xml:
<resource-ref>
<res-ref-name>BeanManager</res-ref-name>
<res-type>javax.enterprise.inject.spi.BeanManager</res-type>
<res-auth>Container</res-auth>
</resource-ref>
was:
(RELATED)
https://jira.jboss.org/secure/ManageAttachments.jspa?id=12416127
http://docs.jboss.org/weld/reference/1.0.1-Final/en-US/html/environments....
The documentation is out of date, since the package names of required classes were changed
during the eclipse ownership change:
<!DOCTYPE Configure PUBLIC "-//Mort Bay Consulting//DTD Configure//EN"
"http://jetty.mortbay.org/configure.dtd">
<Configure id="webAppCtx"
class="org.eclipse.jetty.webapp.WebAppContext">
<New id="BeanManager"
class="org.eclipse.jetty.plus.jndi.Resource">
<Arg> <Ref id="webAppCtx"/> </Arg>
<Arg>BeanManager</Arg>
<Arg>
<New class="javax.naming.Reference">
<Arg>javax.enterprise.inject.spi.BeanManager</Arg>
<Arg>org.jboss.weld.resources.ManagerObjectFactory</Arg>
<Arg/>
</New>
</Arg>
</New>
</Configure>
This documentation is also incomplete, since a <resource-ref> must be included in
the web.xml:
<resource-ref>
<res-ref-name>BeanManager</res-ref-name>
<res-type>javax.enterprise.inject.spi.BeanManager</res-type>
<res-auth>Container</res-auth>
</resource-ref>
Documentation for Jetty Bean Manager JNDI configuration is out of
date.
-----------------------------------------------------------------------
Key: WELD-584
URL:
https://jira.jboss.org/browse/WELD-584
Project: Weld
Issue Type: Bug
Components: Documentation
Affects Versions: 1.0.1.Final
Environment: Jetty 7.1.3
Reporter: Lincoln Baxter III
Fix For: 1.1.0.BETA2
(RELATED)
https://jira.jboss.org/browse/WELDX-126
http://docs.jboss.org/weld/reference/1.0.1-Final/en-US/html/environments....
The documentation is out of date, since the package names of required classes were
changed during the eclipse ownership change:
<!DOCTYPE Configure PUBLIC "-//Mort Bay Consulting//DTD Configure//EN"
"http://jetty.mortbay.org/configure.dtd">
<Configure id="webAppCtx"
class="org.eclipse.jetty.webapp.WebAppContext">
<New id="BeanManager"
class="org.eclipse.jetty.plus.jndi.Resource">
<Arg> <Ref id="webAppCtx"/> </Arg>
<Arg>BeanManager</Arg>
<Arg>
<New class="javax.naming.Reference">
<Arg>javax.enterprise.inject.spi.BeanManager</Arg>
<Arg>org.jboss.weld.resources.ManagerObjectFactory</Arg>
<Arg/>
</New>
</Arg>
</New>
</Configure>
This documentation is also incomplete, since a <resource-ref> must be included in
the web.xml:
<resource-ref>
<res-ref-name>BeanManager</res-ref-name>
<res-type>javax.enterprise.inject.spi.BeanManager</res-type>
<res-auth>Container</res-auth>
</resource-ref>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira