1 2 Previous Next 18 Replies Latest reply on Feb 17, 2008 5:54 PM by pmuir

    Deploying to OC4J 10.1.3.1

    jasondlee

      I have a Seam 2 app that deploys to GlassFish v2 and works fine. When I deploy it to OC4J 10.1.3.1, though, it dies in this method:

      public static Component forName(String name)
      {
      if ( !Contexts.isApplicationContextActive() )
      {
      throw new IllegalStateException("No application context active");
      }
      return (Component) Contexts.getApplicationContext().get( name + ".component" );
      }

      I hove both the JSF RI and Seam Listeners installed in web.xml, and am bundling the jars with the app. Any idea what might be causing that? If I remove the Seam jars and comment out the Seam config in web.xml, the application deploys, for what that's worth.

      Thanks! :)

        1 2 Previous Next