[jbossseam-issues] [JBoss JIRA] Created: (JBSEAM-1321) Could possibly remove the requirement to specify SeamListener in web.xml
by Mike Quilleash (JIRA)
Could possibly remove the requirement to specify SeamListener in web.xml
------------------------------------------------------------------------
Key: JBSEAM-1321
URL: http://jira.jboss.com/jira/browse/JBSEAM-1321
Project: JBoss Seam
Issue Type: Task
Components: Core
Affects Versions: 1.2.1.GA
Environment: Tomcat 6
Reporter: Mike Quilleash
I noticed the the JSF RI 1.2 uses a trick to avoid having to specify the <listener> explicitly in web.xml. It has a .tld file in the META-INF directory of the implementation jar. This gets scanned by the web container (Tomcat 6 in this case) and any <listener> in the file get executed.
<listener>
<listener-class>com.sun.faces.config.ConfigureListener</listener-class>
</listener>
Maybe Seam could do something similar in the main seam jar. As this is a tld I guess it's relying on the JSP spec, what version this listener was introduced in I'm not sure, but I guess all JEE5 implementations should support this.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
17 years, 7 months
[jbossseam-issues] [JBoss JIRA] Created: (JBSEAM-1462) Error message when instantiating abstract component
by Markus Wolf (JIRA)
Error message when instantiating abstract component
---------------------------------------------------
Key: JBSEAM-1462
URL: http://jira.jboss.com/jira/browse/JBSEAM-1462
Project: JBoss Seam
Issue Type: Feature Request
Reporter: Markus Wolf
Priority: Minor
The error message when one tries to instantiate a component marked as abstact should be better if possible.
java.lang.InstantiationException
sun.reflect.InstantiationExceptionConstructorAccessorImpl.newInstance(InstantiationExceptionConstructorAccessorImpl.java:30)
java.lang.reflect.Constructor.newInstance(Constructor.java:513)
java.lang.Class.newInstance0(Class.java:355)
java.lang.Class.newInstance(Class.java:308)
org.jboss.seam.Component.instantiateJavaBean(Component.java:1125)
org.jboss.seam.Component.instantiate(Component.java:1088)
org.jboss.seam.Component.newInstance(Component.java:1736)
org.jboss.seam.Component.getInstance(Component.java:1643)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
17 years, 7 months