wood burning stoves 2.0*
The moose likes JSF and the fly likes InstantiationException when deploying ear with custom tag lib on Jboss Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "InstantiationException when deploying ear with custom tag lib on Jboss" Watch "InstantiationException when deploying ear with custom tag lib on Jboss" New topic
Author

InstantiationException when deploying ear with custom tag lib on Jboss

Hunter Stern
Greenhorn

Joined: Sep 01, 2004
Posts: 2
Here is my custom component:


Here is my faces-config.xml:



Here is the relevant portion of my web.xml:



Here is my tag descriptor:



Here is my call to the tag in xhtml:



The reason for extending the HTMLInputText class is so I can dynamically set the id of the form field based on my own logic. Otherwise I cannot display a dynamic list of form fields (HTMLInputTexts) by iterating through a list of data. I believe the problem is the com.sun.faces.renderkit.html_basic.HtmlBasicInputRenderer class is not visible to my application. It lives in jsf-impl.jar under a different app (jboss-web.deployer). This must be a classloader issue. I dont' see how to get around it.



The stack trace is below:

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: InstantiationException when deploying ear with custom tag lib on Jboss
 
Similar Threads
JPA @NamedNativeQuery and scalar results
can i add two different ds.xml files in jboss
Error while deploying war file
after copy server.xml from jboss 4.0.3 to jboss 4.2, the server cannot be run
Problem with running JBoss Seam examples