4 Replies Latest reply on Aug 13, 2008 5:05 PM by Sergey Smirnov

    Error Running latest Richfaces on Sun App Server 9.0 u2

    Brad Messerle Newbie

      I am getting the following error when deploying our application with the latest version of rich faces..


      Any ideas?


      [#|2008-08-13T12:38:33.060-0400|SEVERE|sun-appserver9.1|javax.enterprise.system.container.web|_ThreadID=15;_ThreadName=httpWorkerThread-4848-4;_RequestID=4ea905ac-6ce3-49ca-acf0-9a993e7a7d00;|WebModule[/ibuCMDashboard]PWC1275: Exception sending context initialized event to listener instance of class
      com.sun.faces.config.ConfigureListener
      javax.faces.FacesException: Can't parse configuration file: jar:file:/C:/Sun/AppServer/domains/domain1/applications/j2ee-apps/ear-SNAPSHOT/web-SNAPSHOT_war/WEB-INF/lib/richfaces-ui-3.2.1.GA.jar!/META-INF/faces-config.xml: Error at line 5 column 1
      7: Element type "faces-config" must be declared.
      at com.sun.faces.config.ConfigureListener.parse(ConfigureListener.java:1438)
      at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:348)
      at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4523)
      at org.apache.catalina.core.StandardContext.start(StandardContext.java:5184)
      at com.sun.enterprise.web.WebModule.start(WebModule.java:326)

        • 1. Re: Error Running latest Richfaces on Sun App Server 9.0 u2
          Sergey Smirnov Master

          You use JSF 1.1. RichFaces 3.2.x requires JSF 1.2

          • 2. Re: Error Running latest Richfaces on Sun App Server 9.0 u2
            Brad Messerle Newbie

            humm. this is what is on suns website..

            #

            Java EE 5 platform support — Sun Java System Application Server Enterprise Edition 9.1 implements the Java EE 5 specification to deliver one of the best application runtimes for next-generation enterprise applications and web services. Application Server 9.1 implements the following Java EE standards:

            *

            Enterprise Java Beans 3.0
            *

            JAXB 2.0
            *

            Java Persistence
            *

            Java Server Faces 1.2
            *

            Java Server Pages 2.1 (JSP 2.1)
            *

            Java Server Pages Standard Tag Library (JSTL) 1.2
            *

            Streaming API for XML (StAX)
            *

            Web Services Metadata
            *

            Java API for XML based Web Services 2.0 (JAX-WS 2.0)
            *

            Common Annotations for the Java Platform 1.0 (CAJ 1.0)
            *

            Java Servlet 2.5

            The complete list of Java EE 5 platform technologies is provided later in these notes.


            thx

            • 3. Re: Error Running latest Richfaces on Sun App Server 9.0 u2
              Brad Messerle Newbie

              This is the other error i am getting. They could they be related?

              [#|2008-08-13T14:50:15.149-0400|WARNING|sun-appserver9.1|javax.enterprise.system.stream.err|_ThreadID=14;_ThreadName=pool-1-thread-8;_RequestID=c931ed4d-05e2-426b-82d3-9092eb4fffa7;|org.xml.sax.SAXParseException: Schema error: no attribute named "base" was defined in schema : .
              at org.apache.xerces.framework.XMLParser.reportError(XMLParser.java:1158)
              at org.apache.xerces.validators.schema.TraverseSchema.reportSchemaError(TraverseSchema.java:8089)
              at org.apache.xerces.validators.schema.TraverseSchema.reportGenericSchemaError(TraverseSchema.java:8076)
              at org.apache.xerces.validators.schema.TraverseSchema.addAttributeDeclFromAnotherSchema(TraverseSchema.java:5646)
              at org.apache.xerces.validators.schema.TraverseSchema.traverseAttributeDecl(TraverseSchema.java:5389)
              at org.apache.xerces.validators.schema.TraverseSchema.traverseAttributeGroupDecl(TraverseSchema.java:5780)
              at org.apache.xerces.validators.schema.TraverseSchema.doTraverseSchema(TraverseSchema.java:696)
              at org.apache.xerces.validators.schema.TraverseSchema.(TraverseSchema.java:492)
              at org.apache.xerces.validators.schema.TraverseSchema.traverseImport(TraverseSchema.java:1766)
              at org.apache.xerces.validators.schema.TraverseSchema.traverseIncludedSchema(TraverseSchema.java:1042)
              at org.apache.xerces.validators.schema.TraverseSchema.traverseInclude(TraverseSchema.java:950)
              at org.apache.xerces.validators.schema.TraverseSchema.doTraverseSchema(TraverseSchema.java:671)
              at org.apache.xerces.validators.schema.TraverseSchema.(TraverseSchema.java:492)
              at org.apache.xerces.validators.common.XMLValidator.resolveSchemaGrammar(XMLValidator.java:2766)
              at org.apache.xerces.validators.common.XMLValidator.bindNamespacesToElementAndAttributes(XMLValidator.java:2610)
              at org.apache.xerces.validators.common.XMLValidator.callStartElement(XMLValidator.java:1152)
              at org.apache.xerces.framework.XMLDocumentScanner.scanElement(XMLDocumentScanner.java:1862)
              at org.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispatch(XMLDocumentScanner.java:1005)
              at org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.java:381)
              at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1035)
              at com.sun.org.apache.commons.digester.Digester.parse(Digester.java:1548)
              at com.sun.faces.config.ConfigureListener.parse(ConfigureListener.java:1417)
              at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:348)
              at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4523)
              at org.apache.catalina.core.StandardContext.start(StandardContext.java:5184)
              at com.sun.enterprise.web.WebModule.start(WebModule.java:326)
              at com.sun.enterprise.web.LifecycleStarter.doRun(LifecycleStarter.java:58)
              at com.sun.appserv.management.util.misc.RunnableBase.runSync(RunnableBase.java:304)
              at com.sun.appserv.management.util.misc.RunnableBase.run(RunnableBase.java:341)
              at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417)
              at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
              at java.util.concurrent.FutureTask.run(FutureTask.java:123)
              at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
              at java.lang.Thread.run(Thread.java:595)
              |#]

              • 4. Re: Error Running latest Richfaces on Sun App Server 9.0 u2
                Sergey Smirnov Master

                problem is still the same. Check out you class path for JSF 1.1 implementation.