[
https://issues.jboss.org/browse/JBAS-8168?page=com.atlassian.jira.plugin....
]
Jason Greene reopened JBAS-8168:
--------------------------------
Due to feedback from the community, I have split the AS7 and AS6 projects and reopened all
unscheduled AS6 issues that are a year or less old. This will make it easier community
members to find and work on them.
Future releases beyond 6.1 can be done provided a community member steps up to coordinate
them.
Improve Usability of Error Message During Failed Injection
----------------------------------------------------------
Key: JBAS-8168
URL:
https://issues.jboss.org/browse/JBAS-8168
Project: Legacy JBoss Application Server 6
Issue Type: Feature Request
Security Level: Public(Everyone can see)
Components: Web (Tomcat) service
Affects Versions: 6.0.0.M3
Reporter: Andrew Rubinger
Assignee: Remy Maucherat
Fix For: No Release
Consider the following error trace in JBossAS 6.0.0.M3:
14:50:09,467 ERROR [org.jboss.web.tomcat.service.deployers.TomcatDeployment] ENC setup
failed: java.lang.IllegalStateException: Resolution should not happen via injection
container
at
org.jboss.web.tomcat.service.TomcatInjectionContainer.getEjbJndiName(TomcatInjectionContainer.java:683)
[:6.0.0.20100429-M3]
at org.jboss.injection.EjbEncInjector.inject(EjbEncInjector.java:80) [:1.3.1]
at
org.jboss.web.tomcat.service.TomcatInjectionContainer.populateEnc(TomcatInjectionContainer.java:507)
[:6.0.0.20100429-M3]
at
org.jboss.web.tomcat.service.deployers.TomcatDeployment$EncListener.lifecycleEvent(TomcatDeployment.java:448)
[:6.0.0.20100429-M3]
at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:115)
[:6.0.0.20100429-M3]
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4192)
[:6.0.0.20100429-M3]
at
org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:323)
[:6.0.0.20100429-M3]
at
org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:148)
[:6.0.0.20100429-M3]
at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:462)
[:6.0.0.20100429-M3]
at org.jboss.web.deployers.WebModule.startModule(WebModule.java:116)
[:6.0.0.20100429-M3]
at org.jboss.web.deployers.WebModule.start(WebModule.java:95) [:6.0.0.20100429-M3]
This occurs when attempting to inject an unknown type. Recommend a more user-friendly
message detailing the type of field requested, as well as its name and class located.
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira