1 Reply Latest reply on Nov 11, 2007 8:31 AM by Adrian Mitev

    Problem with running Seam Web Project using eclipse plugin

    Daniel Bachan Newbie

      Hi,

      I get the following problem:

      [NamingHelper] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}
      11:39:02,250 FATAL [DatasourceConnectionProvider] Could not find datasource: java:/StorageWebDatasource
      javax.naming.NameNotFoundException: StorageWebDatasource not bound


      My hibernate-console.properties looks like this:
      #File used by hibernate tools to override <datasource> and other container specific settings in persistence.xml
      hibernate.connection.password=test
      hibernate.connection.username=test
      hibernate.connection.driver_class=com.mysql.jdbc.Driver
      hibernate.dialect=org.hibernate.dialect.MySQLDialect
      hibernate.connection.url=jdbc:mysql://localhost:3306/test

      hibernate.connection.provider_class org.hibernate.connection.DriverManagerConnectionProvider
      hibernate.datasource=
      hibernate.transaction.factory_class=
      hibernate.transaction.manager_lookup_class=


      I'm using:
      jboss-4.2.0.GA server,
      Eclipse 3.3.1.1
      JBossTools Core 2.0.0.beta4 plugin
      SeamTools Feature 2.0.0.beta4 plugin

      What am I missing. Can anyone help?

      Thanks in advance.

      P.S. Is there any web which tells how Seam project should be created using Eclipse SeamTools? What configuration, etc.

      Regards,
      Daniel