0 Replies Latest reply on Feb 26, 2004 12:21 PM by Ron Siewert

    does a .war have to be registered somewhere?

    Ron Siewert Newbie

      Could someone tell me why my .war (below):

      <?xml version="1.0" encoding="ISO-8859-1"?>

      <!DOCTYPE web-app
      PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN"
      "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">

      <web-app>
      <display-name>bostonbred</display-name>
      MyBostonBredApplication

      <!--

      <servlet-name>action</servlet-name>
      <servlet-class>
      com.bostonbred.services.struts.ActionServlet
      </servlet-class>
      <init-param>
      <param-name>application</param-name>
      <param-value>com.bostonbred.services.struts.ApplicationResources</param-value>
      </init-param>
      <init-param>
      <param-name>config</param-name>
      <param-value>
      /WEB-INF/struts-config.xml
      </param-value>
      </init-param>
      <init-param>
      <param-name>factory</param-name>
      <param-value>com.oroad.stxx.util.PropertyMessageResourcesFactory</param-value>
      </init-param>
      <init-param>
      <param-name>forward</param-name>
      <param-value>com.oroad.stxx.action.ActionForward</param-value>
      </init-param>
      <init-param>
      <param-name>debug</param-name>
      <param-value>2</param-value>
      </init-param>
      <init-param>
      <param-name>mapping</param-name>
      <param-value>
      com.bostonbred.services.struts.ApplicationMapping
      </param-value>
      </init-param>
      <init-param>
      <param-name>null</param-name>
      <param-value>
      false
      </param-value>
      </init-param>

      <load-on-startup>2</load-on-startup>




      <servlet-mapping>
      <servlet-name>action</servlet-name>
      <url-pattern>*.do</url-pattern>
      </servlet-mapping>
      -->
      <session-config>
      <session-timeout>60</session-timeout>
      </session-config>

      <welcome-file-list>
      <welcome-file>welcome.html</welcome-file>
      </welcome-file-list>

      <!--

      <ejb-ref>
      <ejb-ref-name>DBService</ejb-ref-name>
      <ejb-ref-type>Session</ejb-ref-type>
      com.bostonbred.services.DBServiceHome
      com.bostonbred.services.DBService
      </ejb-ref>

      <ejb-ref>
      <ejb-ref-name>UserManager</ejb-ref-name>
      <ejb-ref-type>Session</ejb-ref-type>
      com.bostonbred.services.session.UserManagerHome
      com.bostonbred.services.session.UserManager
      </ejb-ref>

      <ejb-ref>
      <ejb-ref-name>ImageManager</ejb-ref-name>
      <ejb-ref-type>Session</ejb-ref-type>
      com.bostonbred.services.session.ImageManagerHome
      com.bostonbred.services.session.ImageManager
      </ejb-ref>

      <ejb-ref>
      <ejb-ref-name>UserEntityBean</ejb-ref-name>
      <ejb-ref-type>Entity</ejb-ref-type>
      com.bostonbred.services.entity.UserHome
      com.bostonbred.services.entity.User
      </ejb-ref>

      <ejb-ref>
      <ejb-ref-name>ImageServiceBean</ejb-ref-name>
      <ejb-ref-type>Entity</ejb-ref-type>
      com.bostonbred.services.entity.ImageServiceHome
      com.bostonbred.services.entity.ImageService
      </ejb-ref>

      <ejb-ref>
      <ejb-ref-name>UserInfoEJB</ejb-ref-name>
      <ejb-ref-type>Entity</ejb-ref-type>
      com.bostonbred.services.entity.UserInfoHome
      com.bostonbred.services.entity.UserInfo
      </ejb-ref>

      <ejb-ref>
      <ejb-ref-name>ImageSubjectEJB</ejb-ref-name>
      <ejb-ref-type>Entity</ejb-ref-type>
      com.bostonbred.services.entity.ImageSubjectHome
      com.bostonbred.services.entity.ImageSubject
      </ejb-ref>
      -->

      </web-app>

      I was having many problems so i reduced everything to just some POJOs and the simple .war above, but i keep getting this deployment message. I can view the welcome.html page, but what does it mean to have to register the .war?

      thanks---


      2004-02-26 12:42:01,931 ERROR [STDERR] javax.management.InstanceNotFoundException: jboss.management.local:J2EEApplication=catalog_dev.ear,J2EEServer=Local,j2eeType=WebModule,name=catalog_dev.war is not registered.
      2004-02-26 12:42:01,960 ERROR [STDERR] at org.jboss.mx.server.registry.BasicMBeanRegistry.get(BasicMBeanRegistry.java:354)
      2004-02-26 12:42:02,011 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.getMBeanInfo(MBeanServerImpl.java:557)
      2004-02-26 12:42:02,013 ERROR [STDERR] at org.jboss.console.plugins.JSR77Lister.createDeployedObjects(JSR77Lister.java:172)
      2004-02-26 12:42:02,014 ERROR [STDERR] at org.jboss.console.plugins.JSR77Lister.createServer(JSR77Lister.java:197)
      2004-02-26 12:42:02,015 ERROR [STDERR] at org.jboss.console.plugins.JSR77Lister.createServers(JSR77Lister.java:223)
      2004-02-26 12:42:02,017 ERROR [STDERR] at org.jboss.console.plugins.JSR77Lister.createDomain(JSR77Lister.java:237)
      2004-02-26 12:42:02,018 ERROR [STDERR] at org.jboss.console.plugins.JSR77Lister.createDomains(JSR77Lister.java:255)
      2004-02-26 12:42:02,019 ERROR [STDERR] at org.jboss.console.plugins.JSR77Lister.getTreeForResource(JSR77Lister.java:265)
      2004-02-26 12:42:02,020 ERROR [STDERR] at org.jboss.console.plugins.helpers.AbstractPluginWrapper.getSubTreeForResource(AbstractPluginWrapper.java:200)
      2004-02-26 12:42:02,021 ERROR [STDERR] at org.jboss.console.manager.PluginManager.getTreesForResource(PluginManager.java:392)
      2004-02-26 12:42:02,022 ERROR [STDERR] at org.jboss.console.manager.PluginManager.getTreeForProfile(PluginManager.java:192)