Primefaces-2.2.1 with Jboss-6.0.0.Final and seam 2.2.2

UI Components for JSF
Post Reply
mnc_co_uk
Posts: 3
Joined: 23 Jul 2011, 12:11

23 Jul 2011, 14:54

I would like to know if anybody has had Primefaces-2.2.1 working with Jboss-6.0.0.Final and seam 2.2.2.

I've tried to setup a project with the above combination but the project fails to deploy correctly as I get a xml parse exception. There were a few other users that reported a similar error.

In setting up the above project I used seam-gen to create a base project, copied the primefaces jar into the project and adjusted the deployment jar file list to include primefaces jar file.

on deployment I get the following error


Caused by: org.xml.sax.SAXException: Error Handling [vfs:/home/mnc/apps/jboss-6.0.0.Final/server/default/deploy/primeFaces.ear/primeFaces.war/WEB-INF/lib/primefaces-2.2.1.jar/META-INF/primefaces-p.taglib.xml@5,17]
at com.sun.facelets.compiler.TagLibraryConfig$LibraryHandler.error(TagLibraryConfig.java:376) [:1.1.15.B1]
at org.apache.xerces.util.ErrorHandlerWrapper.error(Unknown Source) [xercesImpl.jar:6.0.0.Final]
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source) [xercesImpl.jar:6.0.0.Final]
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source) [xercesImpl.jar:6.0.0.Final]
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source) [xercesImpl.jar:6.0.0.Final]
at org.apache.xerces.impl.dtd.XMLDTDValidator.rootElementSpecified(Unknown Source) [xercesImpl.jar:6.0.0.Final]
at org.apache.xerces.impl.dtd.XMLDTDValidator.handleStartElement(Unknown Source) [xercesImpl.jar:6.0.0.Final]
at org.apache.xerces.impl.dtd.XMLDTDValidator.startElement(Unknown Source) [xercesImpl.jar:6.0.0.Final]
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unknown Source) [xercesImpl.jar:6.0.0.Final]
at org.apache.xerces.impl.XMLDocumentScannerImpl$ContentDispatcher.scanRootElementHook(Unknown Source) [xercesImpl.jar:6.0.0.Final]
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) [xercesImpl.jar:6.0.0.Final]
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) [xercesImpl.jar:6.0.0.Final]
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) [xercesImpl.jar:6.0.0.Final]
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) [xercesImpl.jar:6.0.0.Final]
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) [xercesImpl.jar:6.0.0.Final]
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) [xercesImpl.jar:6.0.0.Final]
at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) [xercesImpl.jar:6.0.0.Final]
at org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source) [xercesImpl.jar:6.0.0.Final]
at javax.xml.parsers.SAXParser.parse(SAXParser.java:198) [:1.6.0_15]
at com.sun.facelets.compiler.TagLibraryConfig.create(TagLibraryConfig.java:407) [:1.1.15.B1]
... 48 more

I've tried removing view-handler from faces-config, richfaces-UI libs and facelets lib but are faced with seam dependency class not found issue when I do this.

So wondered if anybody had managed use primefaces2.2.1 with seam 2.2.2 and jboss-6.0.0.Final

tandraschko
PrimeFaces Core Developer
Posts: 3979
Joined: 03 Dec 2010, 14:11
Location: Bavaria, DE
Contact:

23 Jul 2011, 16:51

You know that PrimeFaces 2.x is for JSF2 and Seam2 is not compatible with JSF2?
Thomas Andraschko

PrimeFaces | PrimeFaces Extensions

Apache Member | OpenWebBeans, DeltaSpike, MyFaces, BVal, TomEE

Sponsor me: https://github.com/sponsors/tandraschko
Blog: http://tandraschko.blogspot.de/
Twitter: https://twitter.com/TAndraschko

mnc_co_uk
Posts: 3
Joined: 23 Jul 2011, 12:11

23 Jul 2011, 20:40

This is where it goes into a grey area for me.

Here's Dan Allen saying otherwise
http://seamframework.org/Documentation/ ... rkWithJSF2.

I'm confused.

tandraschko
PrimeFaces Core Developer
Posts: 3979
Joined: 03 Dec 2010, 14:11
Location: Bavaria, DE
Contact:

23 Jul 2011, 21:08

Maybe you should ask the Seam guys but AFAIK Seam2 was not compatible with JSF2 but there exist an patch anywhere.
Thomas Andraschko

PrimeFaces | PrimeFaces Extensions

Apache Member | OpenWebBeans, DeltaSpike, MyFaces, BVal, TomEE

Sponsor me: https://github.com/sponsors/tandraschko
Blog: http://tandraschko.blogspot.de/
Twitter: https://twitter.com/TAndraschko

mnc_co_uk
Posts: 3
Joined: 23 Jul 2011, 12:11

23 Jul 2011, 21:56

Looks like this is a well discussed topic

http://seamframework.org/Community/Seam ... tyWithJSF2

For me primefaces is just out of reach, frustrating...

Thanks

tandraschko
PrimeFaces Core Developer
Posts: 3979
Joined: 03 Dec 2010, 14:11
Location: Bavaria, DE
Contact:

24 Jul 2011, 11:36

You could also use Seam3 or PrimeFaces 1.x :? :?
Thomas Andraschko

PrimeFaces | PrimeFaces Extensions

Apache Member | OpenWebBeans, DeltaSpike, MyFaces, BVal, TomEE

Sponsor me: https://github.com/sponsors/tandraschko
Blog: http://tandraschko.blogspot.de/
Twitter: https://twitter.com/TAndraschko

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 27 guests