This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 76733

Summary: JSF and JSTL Libraries Shouldn't Be Included When Server Type is JBoss
Product: javaee Reporter: William Leonard <bleonard>
Component: JSFAssignee: Petr Pisl <ppisl>
Status: RESOLVED DUPLICATE    
Severity: blocker CC: lkotouc
Priority: P3    
Version: 5.x   
Hardware: PC   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:

Description William Leonard 2006-05-23 14:04:29 UTC
If I create a new Web Application Project targeting JBoss Application Server 4,
I have to remove the JSF and JSTL libraries from the project in order for it to
run successfully. They should not be added in the first place.
Comment 1 Libor Kotouc 2006-05-23 14:30:34 UTC
Reasigning to the web module owner for the evaluation.
Comment 2 Radko Najman 2006-05-25 10:04:21 UTC
I'm sorry I don't understand which JSF and JSTL libraries you mean. If you
create new Web Application project these libraries are not included in your
project. You can add them later but they are not added automatically when the
project is created.
Or do you mean myfaces-api.jar and myfaces-impl.jar which are parts of JBoss
integration?
Comment 3 William Leonard 2006-05-25 14:36:04 UTC
Sorry, I forgot to mention that you select the Java Server Faces framework when
you create that new web application project for JBoss. Then those libraries are
included and need to be removed before the project will work.
Comment 4 Petr Pisl 2006-05-26 10:23:56 UTC
Yes, this should be fixed in JSFFrameworkProvider class. There is one more thing
that has to be done. You have to register a listener to my faces works correctly. 
Comment 5 William Leonard 2006-05-26 14:50:34 UTC
I filed the lisenter registration as a seperate issue, 74392.
Comment 6 Libor Kotouc 2006-06-07 15:39:16 UTC

*** This issue has been marked as a duplicate of 70952 ***