0 Replies Latest reply on Jan 27, 2010 5:44 PM by Chris Eska

    Help getting up and running with Eclipse Galileo + JBoss Tool for seam project

    Chris Eska Newbie
      Hi, after searching everywhere on how to get everything (my development environment up and running ), came here looking for some light
      I've been looking for over a week, i have read Manning's Seam in action, witch is a really good book by the way, and i have manage to get seam examples to work, and how mostly it works.
      I do not have everything clear yet. I did mimic the examples(without access to Data Base or entities based on database tables), but i did mostly with the "ant deploy" feature that Seam's tutorial suggest, witch is good if you want to get how everything works. Fine There, but i have to get to work, and i feel i have done nothing.
      Im using this formula:
      eclipse Galileo + Seam 2.2.0GA + JBoss AS 5.1GA + Postgres 8.4

      i thought every was going to be fine since i have no problems configuring the JBoos tools in eclipse. but when i made a simple entity bean and made the server up, i thought it was good and that i could continue, but after the server its up, i guess eclipse uploads the .ear file after the server its up in i get this error

      11:54:12,209 INFO  [SchemaUpdate] Running hbm2ddl schema update
      11:54:12,209 INFO  [SchemaUpdate] fetching database metadata
      11:54:12,283 ERROR [SchemaUpdate] could not get database metadata
      org.postgresql.util.PSQLException: ERROR: relation "information_schema.system_sequences" does not exist
              at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:1591)
              at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1340)
              at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:192)
              at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:452)
              at org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:340)
              at org.postgresql.jdbc2.AbstractJdbc2Statement.executeQuery(AbstractJdbc2Statement.java:239)
              at org.jboss.resource.adapter.jdbc.WrappedStatement.executeQuery(WrappedStatement.java:226)
              at org.hibernate.tool.hbm2ddl.DatabaseMetadata.initSequences(DatabaseMetadata.java:151)
              at org.hibernate.tool.hbm2ddl.DatabaseMetadata.<init>(DatabaseMetadata.java:69)
              at org.hibernate.tool.hbm2ddl.DatabaseMetadata.<init>(DatabaseMetadata.java:62)
              at org.hibernate.tool.hbm2ddl.SchemaUpdate.execute(SchemaUpdate.java:170)
              at org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:346)
              at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1327)
              at org.hibernate.cfg.AnnotationConfiguration.buildSessionFactory(AnnotationConfiguration.java:867)
              at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:669)
              at org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:132)
              at org.jboss.jpa.deployment.PersistenceUnitDeployment.start(PersistenceUnitDeployment.java:301)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
              at java.lang.reflect.Method.invoke(Method.java:597)
              at org.jboss.reflect.plugins.introspection.ReflectionUtils.invoke(ReflectionUtils.java:59)
              at org.jboss.reflect.plugins.introspection.ReflectMethodInfoImpl.invoke(ReflectMethodInfoImpl.java:150)



      its just a part of the log,
      i have check the data source file, the entity and the database, but im still lost on this.
      and i am kind of stuck in the whole thing.
      Please
      just a little light on this.

      if im not in the right place to ask this please excuse me, and refer me to the correct place