Menu

troubles running app

Help
2008-08-29
2013-04-22
  • Gary Matulis

    Gary Matulis - 2008-08-29

    Hi -

    When I try to deploy the omnipresence-web war, I get the following error from JBoss:

    18:39:29,531 INFO  [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA'
    18:39:29,625 INFO  [TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=.../deploy/jmx-console.war/
    18:39:30,531 INFO  [TomcatDeployer] deploy, ctxPath=/omnipresence-web, warUrl=.../tmp/deploy/tmp57061omnipresence-web-exp.war/
    18:39:31,093 WARN  [config] JSF1059: WARNING!  The com.sun.faces.verifyObjects feature is to aid developers not using tools.  It shouldn''t be enabled if using an IDE, or if this application is being deployed for production as it will impa
    t application start times.
    18:39:34,000 ERROR [application] JSF1029: The specified InjectionProvider implementation 'org.jboss.web.jsf.integration.injection.JBossInjectionProvider' does not implement the InjectionProvider interface.
    18:39:34,281 INFO  [application] JSF1048: PostConstruct/PreDestroy annotations present.  ManagedBeans methods marked with these annotations will have said annotations processed.
    18:39:35,109 WARN  [config] JSF1058: The resource referred to by to-view-id, 'security.xhtml', for navigation from '*', does not start with '/'.  This will be added for you, but it should be corrected.
    18:39:35,140 ERROR [[/omnipresence-web]] Exception sending context initialized event to listener instance of class org.jboss.web.jsf.integration.config.JBossJSFConfigureListener
    java.lang.ClassCastException: com.sun.faces.config.WebConfiguration
            at com.sun.faces.config.WebConfiguration.getInstance(WebConfiguration.java:154)
            at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:144)
            at org.jboss.web.jsf.integration.config.JBossJSFConfigureListener.contextInitialized(JBossJSFConfigureListener.java:71)
            at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3856)
            at org.apache.catalina.core.StandardContext.start(StandardContext.java:4361)
            at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:790)
            at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:770)
            at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:553)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

    Any thoughts?

     
    • Anonymous

      Anonymous - 2008-08-29

      What version of JBoss are you using? Are you deploying the .WAR file generated by the buildfile?

       
      • Gary Matulis

        Gary Matulis - 2008-08-30

        I'm running JBoss 4.2.3.GA.  Yep, I'm running the .war from the build.

        My build.properties file looks like:

        # Sample properties file user by build.xml

        jboss.home=C:\jboss\jboss-4.2.3.GA
        jboss.configuraton=default
        jboss.lib.dir=${jboss.home}/server/${jboss.configuraton}/lib

        # The buildfile only references ${server.runtime.lib.dir}; you can change this to whatever location you want.
        server.runtime.lib.dir=${jboss.lib.dir}

        What's odd to me is I can deploy this .war to glassfish, and it works just fine.

         
    • Gary Matulis

      Gary Matulis - 2008-08-30

      I also changed to JBoss 4.2.2, with the same results.

       
    • Anonymous

      Anonymous - 2008-09-01

      I modified the buildfiles so that JSF implementation JAR files are not included in the .WAR file. Deploying that WAR file on my box worked just fine :D
      I also added a buildfile that assembles an EAR file with both the EJB and WAR modules. It also worked on my box.
      Try them out and let me know!

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.