1 2 3 4 Previous Next 56 Replies Latest reply on Sep 18, 2007 5:27 AM by pmuir Go to original post
      • 45. Re: Seam 2.0 BETA
        vprasanx

        Hi Mike,

        Thanks for the reply. Now I managed to get rid of that error. But, after deploying the app, when I try to load the .xhtml file from the index page, I get the following error.

        Error Loading Library: jar:file:/C:/Program%20Files/glassfish-v2-b53/domains/domain1/applications/j2ee-apps/SVPSeam/SVPSeam-war_war/WEB-INF/lib/ajax4jsf-1.1.1.jar!/META-INF/a4j.taglib.xml
        java.io.FileNotFoundException: C:\Program%20Files\glassfish-v2-b53\domains\domain1\applications\j2ee-apps\SVPSeam\jsf-facelets.jar (The system cannot find the path specified)
        at java.util.zip.ZipFile.open(Native Method)
        at java.util.zip.ZipFile.(ZipFile.java:114)
        at java.util.jar.JarFile.(JarFile.java:133)
        at java.util.jar.JarFile.(JarFile.java:70)
        at sun.net.www.protocol.jar.URLJarFile.(URLJarFile.java:72)
        at sun.net.www.protocol.jar.URLJarFile.getJarFile(URLJarFile.java:48)
        at sun.net.www.protocol.jar.JarFileFactory.get(JarFileFactory.java:78)
        at sun.net.www.protocol.jar.JarURLConnection.connect(JarURLConnection.java:104)
        at sun.net.www.protocol.jar.JarURLConnection.getInputStream(JarURLConnection.java:132)
        at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown Source)
        at org.apache.xerces.impl.XMLEntityManager.startEntity(Unknown Source)
        at org.apache.xerces.impl.XMLEntityManager.startDTDEntity(Unknown Source)
        at org.apache.xerces.impl.XMLDTDScannerImpl.setInputSource(Unknown Source)
        at org.apache.xerces.impl.XMLDocumentScannerImpl$DTDDispatcher.dispatch(Unknown Source)
        at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
        at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
        at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
        at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
        at javax.xml.parsers.SAXParser.parse(SAXParser.java:395)
        at javax.xml.parsers.SAXParser.parse(SAXParser.java:198)
        at com.sun.facelets.compiler.TagLibraryConfig.create(TagLibraryConfig.java:395)
        at com.sun.facelets.compiler.TagLibraryConfig.loadImplicit(TagLibraryConfig.java:419)
        at com.sun.facelets.compiler.Compiler.initialize(Compiler.java:87)
        at com.sun.facelets.compiler.Compiler.compile(Compiler.java:104)
        at com.sun.facelets.impl.DefaultFaceletFactory.createFacelet(DefaultFaceletFactory.java:197)
        at com.sun.facelets.impl.DefaultFaceletFactory.getFacelet(DefaultFaceletFactory.java:144)
        at com.sun.facelets.impl.DefaultFaceletFactory.getFacelet(DefaultFaceletFactory.java:95)
        at com.sun.facelets.FaceletViewHandler.buildView(FaceletViewHandler.java:496)
        at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:546)
        at org.ajax4jsf.framework.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:108)
        at org.ajax4jsf.framework.ajax.AjaxViewHandler.renderView(AjaxViewHandler.java:233)
        at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:106)
        at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
        at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144)
        at javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
        at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:411)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:317)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:198)
        at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)
        at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:87)
        at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
        at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:63)
        at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
        at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:46)
        at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
        at org.ajax4jsf.framework.ajax.xmlfilter.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:127)
        at org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter(BaseFilter.java:277)
        at org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:40)
        at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
        at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:140)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:230)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:198)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:288)
        at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:271)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:202)
        at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:624)
        at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
        at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:94)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:206)
        at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:624)
        at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
        at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:571)
        at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1080)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:150)
        at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:624)
        at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
        at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:571)
        at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1080)
        at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:268)
        at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:631)
        at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:562)
        at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:803)
        at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:339)
        at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:261)
        at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:212)
        at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:265)
        at com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:106)
        Missing Built-in Tag Libraries! Make sure they are included within the META-INF directory of Facelets' Jar
        /template-client.xhtml not found at jndi:/server/SVPSeam-war/template-client.xhtml


        I have not used the seam-gen app. I'm trying to setup development framework with Jboss-seam.jar & also have facelet incorporated. Netbeans IDE 5.5.1 does support facelet framework. I have added the required jars.
        This jsf-facelets.jar, I have added in .war section. But still the app says the jar is not found. And when I trace the path C:\Program%20Files\glassfish-v2-b53\domains\domain1\applications\j2ee-apps\SVPSeam\jsf-facelets.jar (The system cannot find the path specified) - the jar is present. Also I notice a peculiar thing. With Sun Java App server 9.1(Glassfishv53) if application.xml is present, the application doesn't deploy.

        Please throw some insight/insinuation to the above problem as I'm moving nowhere with that.

        Thanks,
        Venkates

        • 46. Re: Seam 2.0 BETA
          mail.micke

          Afraid I can't help out with this, using jboss/tomcat myself.

          • 47. Re: Seam 2.0 BETA
            gonzalad

            Hello,

            I'd like to know what the status betwwen Seam 2.0 and Websphere.
            I've read on this thread you had some hard times with this appserver.
            Do you plan to support it ?

            Thanks for the information

            • 48. Re: Seam 2.0 BETA

              I think Gavin mentioned that Seam 2.0 will work on WLS 9.2. This is great news since that is the target platform I have been dealt.

              Still, given Seam's upgrade to JSF 1.2, does WLS 9.2 need to be altered by upgrading it to support JSF 1.2 as is the case with JBoss 4.0.5? If so, how is this done?

              Thanks.

              • 49. Re: Seam 2.0 BETA
                pmuir

                The hibernate2 and jpa examples have support for WLS 9.2

                • 50. Re: Seam 2.0 BETA
                  srpantano

                  do you using s:decorate?

                  when I try this:

                  <ui:define name="title">
                   #{messages['User']} (#{messages['toadd']})
                   </ui:define>
                  
                   <ui:define name="content">
                   <h:form>
                  
                   <rich:panel>
                  
                   <s:decorate id="usernameDecorate" template="../layout/input.xhtml">
                   <ui:define name="outrox">#{messages['User']}:</ui:define>
                   <h:inputText size="30" value="#{user.username}" required="true">
                   <a4j:support event="onblur" reRender="usernameDecorate"/>
                   </h:inputText>
                   </s:decorate>
                  
                   </rich:panel>
                  
                   </h:form>
                  
                   </ui:define>


                  with:

                  <ui:composition xmlns="http://www.w3.org/1999/xhtml"
                   xmlns:ui="http://java.sun.com/jsf/facelets"
                   xmlns:h="http://java.sun.com/jsf/html"
                   xmlns:f="http://java.sun.com/jsf/core"
                   xmlns:s="http://jboss.com/products/seam/taglib">
                  
                   <div>
                   <s:label>
                   <ui:insert name="label"/>
                   <s:span rendered="#{required}">*</s:span>
                   </s:label>
                   <span>
                   <s:validateAll>
                   <ui:insert/>
                   </s:validateAll>
                   </span>
                   <s:message/>
                   </div>
                  
                  </ui:composition>


                  the result is messy. The content of title appears in decorate and duplicate the lines, etc.

                  thanks.

                  • 51. Re: Seam 2.0 BETA

                    Which version of facelets are you using? There were some fixes
                    in facelets code for s:decorate.

                    • 52. Re: Seam 2.0 BETA
                      srpantano

                      Facelets 1.1.12

                      • 53. Re: Seam 2.0 BETA
                        srpantano

                        but the s:decorate doesn´t a seam tag not a facelet tag?

                        • 54. Re: Seam 2.0 BETA

                          Yes, but there were patches to facelets to specifically support Seam s:decorate.

                          • 55. Re: Seam 2.0 BETA
                            cba2

                            Will Seam 2.0.0 CR1 be released in the next few days?

                            There are no more open bugs scheduled for CR1 as I've seen in the JIRA :-).

                            • 56. Re: Seam 2.0 BETA
                              pmuir

                              yes

                              1 2 3 4 Previous Next