2 Replies Latest reply on Aug 10, 2009 4:46 AM by luis molina

    seam 2.1 not working for me

    luis molina Newbie

      hi all, ive created a new seam project 2.1 with jboss server 5.0 and the login and samples pages goes well, but i got two problems

      one, althoug the database connection its ok, in the log there its the next error:
      2009-08-06 11:30:46,890 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (HDScanner) could not get database metadata
      com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown table 'system_sequences' in information_schema

      second: if i try to create a new page, for example an html it works, but ive tested all the options for a xhtml file, then it crash at running the page, different results but at least the page its not rendered and the server says errors like :


      (http-localhost%2F127.0.0.1-8080-1) <<< End JSF request for /pruebaSeam/aaa.seam
      2009-08-06 12:10:20,078 DEBUG [org.jboss.seam.web.ExceptionFilter] (http-localhost%2F127.0.0.1-8080-1) handling uncaught exception
      javax.servlet.ServletException: La ejecución del Servlet lanzó una excepción
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:313)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)
      at org.jboss.seam.web.IdentityFilter.doFilter(IdentityFilter.java:40)
      at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
      at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:90)
      at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
      at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)
      at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
      at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)
      at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
      at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:178)
      at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:290)
      at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:390)
      at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:517)
      at org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:56)
      at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
      at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:60)
      at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
      at org.jboss.seam.web.HotDeployFilter.doFilter(HotDeployFilter.java:53)
      at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
      at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)
      at

        • 1. Re: seam 2.1 not working for me
          Max Rydahl Andersen Master

           

          "micuentadecasa" wrote:
          hi all, ive created a new seam project 2.1 with jboss server 5.0 and the login and samples pages goes well, but i got two problems


          Please use AS 5.1 instead of 5.0 and if possible upgrade to Seam 2.2 to have fixes needed for proper Seam execution.


          one, althoug the database connection its ok, in the log there its the next error:
          2009-08-06 11:30:46,890 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (HDScanner) could not get database metadata
          com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown table 'system_sequences' in information_schema


          does not look like a seam nor as 5 issues. Looks more like you using the wrong dialect for your database?


          second: if i try to create a new page, for example an html it works, but ive tested all the options for a xhtml file, then it crash at running the page, different results but at least the page its not rendered and the server says errors like :


          please try the above versions.


          (http-localhost%2F127.0.0.1-8080-1) <<< End JSF request for /pruebaSeam/aaa.seam
          2009-08-06 12:10:20,078 DEBUG [org.jboss.seam.web.ExceptionFilter] (http-localhost%2F127.0.0.1-8080-1) handling uncaught exception
          javax.servlet.ServletException: La ejecución del Servlet lanzó una excepción
          at


          Would be able to help better if your error messages weren't localized....

          /max

          • 2. Re: seam 2.1 not working for me
            luis molina Newbie

            hi max, i dont know what you mean with localized...
            ive posted an screencast http://www.screencast.com/users/luismolina/folders/Jing/media/c3abeda1-5dc3-4c43-8e87-459dbe148136

            what i do in the screencast:

            1. create a new seam project, im gonna use seam 2.2 and jboss 5.1
            First thing in the wizard i can not select neither seam 2.2 nor jboss 5.1, i have to use them with previous versions, i mean when creating a new jboss server i only have version 5.0 to select, i get a warning but it runs..., same with seam 2.2, it only appears seam 2.1 experimental....

            another thing, in the screen wizard for selecting a connection there are two combobox, one with mysql, etc, and another with the connections saved, when i select an mysql connection, the combo doesnt get changed, i mean it should change to myqsl....

            2. once created it works well, if i try to create a new seam form it works

            3. now i want a new page, i select xhtml , maybe this is the error, i want a new page with no ui from seam, but it doesnt work, it seams that when i try to run like its not a page in the project...

            i think you should do an screencast about this, i mean creating a new project from start and creating pages in seam project but without the new form seam wizard....