Uploaded image for project: 'Forge'
  1. Forge
  2. FORGE-8

Simple example on Forge main page fails to deploy on JBoss 6 with *_WeldBootstrapBean NPE

XMLWordPrintable

    • Hide

      Download fresh jboss-6.0.0.Final, forge-1.0.0.Beta3, install and setup both.
      Start forge
      new-project --named forgetest --topLevelPackage com.savvis.isd.forgetest --projectFolder forge-test --type war
      scaffold setup
      persistence setup --provider HIBERNATE --container JBOSS_AS6
      entity --named Customer
      field string --named firstName
      field string --named lastName
      scaffold from-entity
      build
      Copy war to jboss deploy dir
      start jboss

      Show
      Download fresh jboss-6.0.0.Final, forge-1.0.0.Beta3, install and setup both. Start forge new-project --named forgetest --topLevelPackage com.savvis.isd.forgetest --projectFolder forge-test --type war scaffold setup persistence setup --provider HIBERNATE --container JBOSS_AS6 entity --named Customer field string --named firstName field string --named lastName scaffold from-entity build Copy war to jboss deploy dir start jboss

      Simple example from https://docs.jboss.org/author/display/SEAMFORGE/Generating+a+basic+Java+EE+web-application fails on deploy. With a fresh forge-1.0.0.Beta3 and fresh JBoss 6.0.0.Final, construct the example, build, copy war to JBoss deploy directory, start JBoss and get Error installing to Create: name=vfs:///Users/starver/dev/jboss/jboss-6.0.0.Final/server/dev/jb6_eg/deploy/savvis/forgetest.war_WeldBootstrapBean state=Configured: java.lang.NullPointerException

              Unassigned Unassigned
              starver_jira Steve Tarver (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: