facebook

No Context configuration error.

  1. MyEclipse Archived
  2.  > 
  3. Application Servers and Deployment
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #227322 Reply

    alashoofi
    Member

    Riyad, if you read this please help!
    I was able to get my J2EE application, App3, deployed to JBoss. Now when I try to access the index page thru the browser, I get No Context configuration error. Below is the JBoss server output for the depolyment.
    I have also included the content of my web.xml which might be the culprit.
    ——————————
    2005-03-27 21:30:57,549 INFO [org.jboss.deployment.MainDeployer] Starting deployment of package: file:/C:/jboss-3.2.3/server/default/deploy/taylor_app3.ear
    2005-03-27 21:30:59,533 INFO [org.jboss.deployment.EARDeployer] Init J2EE application: file:/C:/jboss-3.2.3/server/default/deploy/taylor_app3.ear
    2005-03-27 21:31:02,924 INFO [org.jboss.ejb.EjbModule] Deploying CategoryBean
    2005-03-27 21:31:02,924 INFO [org.jboss.ejb.EjbModule] Deploying LineItemBean
    2005-03-27 21:31:02,939 INFO [org.jboss.ejb.EjbModule] Deploying OrdBean
    2005-03-27 21:31:02,955 INFO [org.jboss.ejb.EjbModule] Deploying SupplierBean
    2005-03-27 21:31:02,955 INFO [org.jboss.ejb.EjbModule] Deploying UsersBean
    2005-03-27 21:31:02,955 INFO [org.jboss.ejb.EjbModule] Deploying DiscountsBean
    2005-03-27 21:31:02,970 INFO [org.jboss.ejb.EjbModule] Deploying Inventory2ItemBean
    2005-03-27 21:31:02,970 INFO [org.jboss.ejb.EjbModule] Deploying CustomerBean
    2005-03-27 21:31:02,986 INFO [org.jboss.ejb.EjbModule] Deploying CarrierBean
    2005-03-27 21:31:02,986 INFO [org.jboss.ejb.EjbModule] Deploying SessionCart
    2005-03-27 21:31:03,017 INFO [org.jboss.ejb.EjbModule] Deploying Cart
    2005-03-27 21:31:03,017 INFO [org.jboss.ejb.EjbModule] Deploying SignOn
    2005-03-27 21:31:03,252 INFO [org.jboss.ejb.plugins.EntityInstancePool] Started jboss.j2ee:jndiName=Category,plugin=pool,service=EJB
    2005-03-27 21:31:03,252 INFO [org.jboss.ejb.EntityContainer] Started jboss.j2ee:jndiName=Category,service=EJB
    2005-03-27 21:31:03,252 INFO [org.jboss.ejb.plugins.EntityInstancePool] Started jboss.j2ee:jndiName=LineItem,plugin=pool,service=EJB
    2005-03-27 21:31:03,252 INFO [org.jboss.ejb.EntityContainer] Started jboss.j2ee:jndiName=LineItem,service=EJB
    2005-03-27 21:31:03,267 INFO [org.jboss.ejb.plugins.EntityInstancePool] Started jboss.j2ee:jndiName=Ord,plugin=pool,service=EJB
    2005-03-27 21:31:03,267 INFO [org.jboss.ejb.EntityContainer] Started jboss.j2ee:jndiName=Ord,service=EJB
    2005-03-27 21:31:03,283 INFO [org.jboss.ejb.plugins.EntityInstancePool] Started jboss.j2ee:jndiName=Supplier,plugin=pool,service=EJB
    2005-03-27 21:31:03,283 INFO [org.jboss.ejb.EntityContainer] Started jboss.j2ee:jndiName=Supplier,service=EJB
    2005-03-27 21:31:03,299 INFO [org.jboss.ejb.plugins.EntityInstancePool] Started jboss.j2ee:jndiName=Users,plugin=pool,service=EJB
    2005-03-27 21:31:03,299 INFO [org.jboss.ejb.EntityContainer] Started jboss.j2ee:jndiName=Users,service=EJB
    2005-03-27 21:31:03,314 INFO [org.jboss.ejb.plugins.EntityInstancePool] Started jboss.j2ee:jndiName=Discounts,plugin=pool,service=EJB
    2005-03-27 21:31:03,314 INFO [org.jboss.ejb.EntityContainer] Started jboss.j2ee:jndiName=Discounts,service=EJB
    2005-03-27 21:31:03,330 INFO [org.jboss.ejb.plugins.EntityInstancePool] Started jboss.j2ee:jndiName=Inventory2Item,plugin=pool,service=EJB
    2005-03-27 21:31:03,330 INFO [org.jboss.ejb.EntityContainer] Started jboss.j2ee:jndiName=Inventory2Item,service=EJB
    2005-03-27 21:31:03,345 INFO [org.jboss.ejb.plugins.EntityInstancePool] Started jboss.j2ee:jndiName=Customer,plugin=pool,service=EJB
    2005-03-27 21:31:03,345 INFO [org.jboss.ejb.EntityContainer] Started jboss.j2ee:jndiName=Customer,service=EJB
    2005-03-27 21:31:03,611 INFO [org.jboss.ejb.plugins.EntityInstancePool] Started jboss.j2ee:jndiName=Carrier,plugin=pool,service=EJB
    2005-03-27 21:31:03,611 INFO [org.jboss.ejb.EntityContainer] Started jboss.j2ee:jndiName=Carrier,service=EJB
    2005-03-27 21:31:03,642 INFO [org.jboss.ejb.plugins.StatefulSessionInstancePool] Started jboss.j2ee:jndiName=SessionCart,plugin=pool,service=EJB
    2005-03-27 21:31:03,642 INFO [org.jboss.ejb.plugins.StatefulSessionFilePersistenceManager] Started null
    2005-03-27 21:31:03,642 INFO [org.jboss.ejb.StatefulSessionContainer] Started jboss.j2ee:jndiName=SessionCart,service=EJB
    2005-03-27 21:31:03,814 INFO [org.jboss.ejb.plugins.StatefulSessionInstancePool] Started jboss.j2ee:jndiName=Cart,plugin=pool,service=EJB
    2005-03-27 21:31:03,830 INFO [org.jboss.ejb.plugins.StatefulSessionFilePersistenceManager] Started null
    2005-03-27 21:31:03,830 INFO [org.jboss.ejb.StatefulSessionContainer] Started jboss.j2ee:jndiName=Cart,service=EJB
    2005-03-27 21:31:03,861 INFO [org.jboss.ejb.plugins.StatelessSessionInstancePool] Started jboss.j2ee:jndiName=SignOn,plugin=pool,service=EJB
    2005-03-27 21:31:03,861 INFO [org.jboss.ejb.StatelessSessionContainer] Started jboss.j2ee:jndiName=SignOn,service=EJB
    2005-03-27 21:31:03,861 INFO [org.jboss.ejb.EjbModule] Started jboss.j2ee:module=app3.jar,service=EjbModule
    2005-03-27 21:31:03,861 INFO [org.jboss.ejb.EJBDeployer] Deployed: file:/C:/jboss-3.2.3/server/default/tmp/deploy/tmp11394taylor_app3.ear-contents/app3.jar
    2005-03-27 21:31:03,908 INFO [org.jboss.web.tomcat.tc4.EmbeddedTomcatService] deploy, ctxPath=/app3, warUrl=file:/C:/jboss-3.2.3/server/default/tmp/deploy/tmp11394taylor_app3.ear-contents/app3.war/
    2005-03-27 21:31:04,486 INFO [org.jboss.web.localhost.Engine] SingleSignOnContextConfig[/app3]: Added certificates -> request attribute Valve
    2005-03-27 21:31:04,517 WARN [org.jboss.web.tomcat.tc4.EmbeddedTomcatService] Unable to invoke setDelegate on class loader:org.jboss.web.tomcat.tc4.WebCtxLoader$ENCLoader@18ddc48
    2005-03-27 21:31:04,517 INFO [org.jboss.web.localhost.Engine] StandardManager[/app3]: Seeding random number generator class java.security.SecureRandom
    2005-03-27 21:31:04,517 INFO [org.jboss.web.localhost.Engine] StandardManager[/app3]: Seeding of random number generator has been completed
    2005-03-27 21:31:04,517 INFO [org.jboss.web.localhost.Engine] StandardWrapper[/app3:default]: Loading container servlet default
    2005-03-27 21:31:04,517 INFO [org.jboss.web.localhost.Engine] StandardWrapper[/app3:invoker]: Loading container servlet invoker
    2005-03-27 21:31:04,658 INFO [org.jboss.deployment.EARDeployer] Started J2EE application: file:/C:/jboss-3.2.3/server/default/deploy/taylor_app3.ear
    2005-03-27 21:31:04,658 INFO [org.jboss.deployment.MainDeployer] Deployed package: file:/C:/jboss-3.2.3/server/default/deploy/taylor_app3.ear
    2005-03-27 21:31:04,674 INFO [org.jboss.deployment.scanner.URLDeploymentScanner] Started jboss.deployment:type=DeploymentScanner,flavor=URL
    2005-03-27 21:31:04,720 INFO [org.jboss.deployment.MainDeployer] Deployed package: file:/C:/jboss-3.2.3/server/default/conf/jboss-service.xml
    2005-03-27 21:31:04,736 INFO [org.jboss.system.server.Server] JBoss (MX MicroKernel) [3.2.3 (build: CVSTag=JBoss_3_2_3 date=200311301445)] Started in 36s:422ms
    2005-03-27 21:32:13,392 DEBUG [org.apache.tomcat.util.threads.ThreadPool] Getting new thread data
    2005-03-27 21:35:05,955 INFO [org.jboss.web.localhost.Engine] StandardHost[localhost]: MAPPING configuration error for request URI /SimpleBean
    2005-03-27 21:35:05,955 INFO [org.jboss.web.localhost.Engine] StandardHost[localhost]: MAPPING configuration error for request URI /SimpleBean
    2005-03-27 21:35:39,611 INFO [org.jboss.web.localhost.Engine] StandardHost[localhost]: MAPPING configuration error for request URI /SimpleBean/simpleBean.jsp
    2005-03-27 21:35:39,611 INFO [org.jboss.web.localhost.Engine] StandardHost[localhost]: MAPPING configuration error for request URI /SimpleBean/simpleBean.jsp
    2005-03-27 21:37:18,095 INFO [org.jboss.web.localhost.Engine] StandardHost[localhost]: MAPPING configuration error for request URI /SimpleBean/
    2005-03-27 21:37:18,095 INFO [org.jboss.web.localhost.Engine] StandardHost[localhost]: MAPPING configuration error for request URI /SimpleBean/
    2005-03-27 21:37:29,814 INFO [org.jboss.web.localhost.Engine] StandardHost[localhost]: MAPPING configuration error for request URI /
    2005-03-27 21:37:29,814 INFO [org.jboss.web.localhost.Engine] StandardHost[localhost]: MAPPING configuration error for request URI /
    2005-03-27 21:37:54,049 INFO [org.jboss.web.localhost.Engine] StandardHost[localhost]: MAPPING configuration error for request URI /
    2005-03-27 21:37:54,049 INFO [org.jboss.web.localhost.Engine] StandardHost[localhost]: MAPPING configuration error for request URI /
    2005-03-27 21:38:53,158 DEBUG [org.apache.tomcat.util.threads.ThreadPool] Getting new thread data
    2005-03-27 21:54:47,470 INFO [org.jboss.web.localhost.Engine] StandardHost[localhost]: MAPPING configuration error for request URI /App3/customIndex.jsp
    2005-03-27 21:54:47,470 INFO [org.jboss.web.localhost.Engine] StandardHost[localhost]: MAPPING configuration error for request URI /App3/customIndex.jsp
    2005-03-27 21:55:44,095 INFO [org.jboss.web.localhost.Engine] StandardHost[localhost]: MAPPING configuration error for request URI /App3
    2005-03-27 21:55:44,095 INFO [org.jboss.web.localhost.Engine] StandardHost[localhost]: MAPPING configuration error for request URI /App3
    2005-03-27 22:05:49,861 INFO [org.jboss.system.server.Server] JBoss SHUTDOWN: Undeploying all packages
    2005-03-27 22:05:49,861 INFO [org.jboss.web.tomcat.tc4.EmbeddedTomcatService] undeploy, ctxPath=/app3, warUrl=file:/C:/jboss-3.2.3/server/default/tmp/deploy/tmp11394taylor_app3.ear-contents/app3.war/
    2005-03-27 22:05:49,861 INFO [org.jboss.web.localhost.Engine] StandardHost[localhost]: Removing web application at context path /app3
    2005-03-27 22:05:49,877 INFO [org.jboss.ejb.EjbModule] Stopping jboss.j2ee:module=app3.jar,service=EjbModule
    2005-03-27 22:05:49,877 INFO [org.jboss.ejb.StatelessSessionContainer] Stopping jboss.j2ee:jndiName=SignOn,service=EJB
    2005-03-27 22:05:49,877 INFO [org.jboss.ejb.plugins.StatelessSessionInstancePool] Stopping jboss.j2ee:jndiName=SignOn,plugin=pool,service=EJB
    2005-03-27 22:05:49,877 INFO [org.jboss.ejb.StatefulSessionContainer] Stopping jboss.j2ee:jndiName=Cart,service=EJB
    2005-03-27 22:05:49,877 INFO [org.jboss.ejb.plugins.StatefulSessionInstancePool] Stopping jboss.j2ee:jndiName=Cart,plugin=pool,service=EJB
    2005-03-27 22:05:49,877 INFO [org.jboss.ejb.plugins.StatefulSessionFilePersistenceManager] Stopping null
    2005-03-27 22:05:49,877 INFO [org.jboss.ejb.StatefulSessionContainer] Stopping jboss.j2ee:jndiName=SessionCart,service=EJB
    2005-03-27 22:05:49,877 INFO [org.jboss.ejb.plugins.StatefulSessionInstancePool] Stopping jboss.j2ee:jndiName=SessionCart,plugin=pool,service=EJB
    2005-03-27 22:05:49,877 INFO [org.jboss.ejb.plugins.StatefulSessionFilePersistenceManager] Stopping null
    2005-03-27 22:05:49,877 INFO [org.jboss.ejb.EntityContainer] Stopping jboss.j2ee:jndiName=Carrier,service=EJB
    2005-03-27 22:05:49,877 INFO [org.jboss.ejb.plugins.EntityInstancePool] Stopping jboss.j2ee:jndiName=Carrier,plugin=pool,service=EJB
    2005-03-27 22:05:49,877 INFO [org.jboss.ejb.EntityContainer] Stopping jboss.j2ee:jndiName=Customer,service=EJB
    2005-03-27 22:05:49,877 INFO [org.jboss.ejb.plugins.EntityInstancePool] Stopping jboss.j2ee:jndiName=Customer,plugin=pool,service=EJB
    2005-03-27 22:05:49,877 INFO [org.jboss.ejb.EntityContainer] Stopping jboss.j2ee:jndiName=Inventory2Item,service=EJB
    2005-03-27 22:05:49,877 INFO [org.jboss.ejb.plugins.EntityInstancePool] Stopping jboss.j2ee:jndiName=Inventory2Item,plugin=pool,service=EJB
    2005-03-27 22:05:49,908 INFO [org.jboss.ejb.EntityContainer] Stopping jboss.j2ee:jndiName=Discounts,service=EJB
    2005-03-27 22:05:49,908 INFO [org.jboss.ejb.plugins.EntityInstancePool] Stopping jboss.j2ee:jndiName=Discounts,plugin=pool,service=EJB
    2005-03-27 22:05:49,908 INFO [org.jboss.ejb.EntityContainer] Stopping jboss.j2ee:jndiName=Users,service=EJB
    2005-03-27 22:05:49,908 INFO [org.jboss.ejb.plugins.EntityInstancePool] Stopping jboss.j2ee:jndiName=Users,plugin=pool,service=EJB
    2005-03-27 22:05:49,908 INFO [org.jboss.ejb.EntityContainer] Stopping jboss.j2ee:jndiName=Supplier,service=EJB
    2005-03-27 22:05:49,908 INFO [org.jboss.ejb.plugins.EntityInstancePool] Stopping jboss.j2ee:jndiName=Supplier,plugin=pool,service=EJB
    2005-03-27 22:05:49,908 INFO [org.jboss.ejb.EntityContainer] Stopping jboss.j2ee:jndiName=Ord,service=EJB
    2005-03-27 22:05:49,908 INFO [org.jboss.ejb.plugins.EntityInstancePool] Stopping jboss.j2ee:jndiName=Ord,plugin=pool,service=EJB
    2005-03-27 22:05:49,908 INFO [org.jboss.ejb.EntityContainer] Stopping jboss.j2ee:jndiName=LineItem,service=EJB
    2005-03-27 22:05:49,908 INFO [org.jboss.ejb.plugins.EntityInstancePool] Stopping jboss.j2ee:jndiName=LineItem,plugin=pool,service=EJB
    2005-03-27 22:05:49,908 INFO [org.jboss.ejb.EntityContainer] Stopping jboss.j2ee:jndiName=Category,service=EJB
    2005-03-27 22:05:49,908 INFO [org.jboss.ejb.plugins.EntityInstancePool] Stopping jboss.j2ee:jndiName=Category,plugin=pool,service=EJB
    2005-03-27 22:05:49,908 INFO [org.jboss.deployment.EARDeployer] Undeploying J2EE application, destroy step: file:/C:/jboss-3.2.3/server/default/deploy/taylor_app3.ear
    2005-03-27 22:05:50,455 WARN [org.jboss.deployment.DeploymentInfo] Could not delete file:/C:/jboss-3.2.3/server/default/tmp/deploy/tmp11394taylor_app3.ear-contents/app3.war/ restart will delete it
    2005-03-27 22:05:50,470 INFO [org.jboss.management.j2ee.EJBModule] destroy(), remove EJB-Module: jboss.management.local:J2EEApplication=taylor_app3.ear,J2EEServer=Local,j2eeType=EJBModule,name=app3.jar
    2005-03-27 22:05:50,470 WARN [org.jboss.deployment.DeploymentInfo] Could not delete file:/C:/jboss-3.2.3/server/default/tmp/deploy/tmp11394taylor_app3.ear restart will delete it
    2005-03-27 22:05:50,470 INFO [org.jboss.web.tomcat.tc4.EmbeddedTomcatService] undeploy, ctxPath=/web-console, warUrl=file:/C:/jboss-3.2.3/server/default/tmp/deploy/tmp11393web-console.war/
    2005-03-27 22:05:50,470 INFO [org.jboss.web.localhost.Engine] StandardHost[localhost]: Removing web application at context path /web-console
    2005-03-27 22:05:50,564 INFO [org.jboss.web.tomcat.tc4.EmbeddedTomcatService] undeploy, ctxPath=/jmx-console, warUrl=file:/C:/jboss-3.2.3/server/default/deploy/jmx-console.war/
    2005-03-27 22:05:50,564 INFO [org.jboss.web.localhost.Engine] StandardHost[localhost]: Removing web application at context path /jmx-console
    2005-03-27 22:05:50,580 INFO [org.jboss.web.tomcat.tc4.EmbeddedTomcatService] undeploy, ctxPath=/HelloWorld, warUrl=file:/C:/jboss-3.2.3/server/default/deploy/HelloWorld.war/
    2005-03-27 22:05:50,580 INFO [org.jboss.web.localhost.Engine] StandardHost[localhost]: Removing web application at context path /HelloWorld
    2005-03-27 22:05:50,580 INFO [org.jboss.web.tomcat.tc4.EmbeddedTomcatService] undeploy, ctxPath=/AnotherHelloWorld, warUrl=file:/C:/jboss-3.2.3/server/default/deploy/AnotherHelloWorld.war/
    2005-03-27 22:05:50,580 INFO [org.jboss.web.localhost.Engine] StandardHost[localhost]: Removing web application at context path /AnotherHelloWorld
    2005-03-27 22:05:50,595 INFO [org.jboss.ejb.EjbModule] Stopping jboss.j2ee:module=SimpleBean.jar,service=EjbModule
    2005-03-27 22:05:50,595 INFO [org.jboss.ejb.EntityContainer] Stopping jboss.j2ee:jndiName=ejb/Simple,service=EJB

    ———————————

    the web.xml looks like this:

    ——————————
    <?xml version = ‘1.0’ encoding = ‘windows-1252’?>
    <!DOCTYPE web-app PUBLIC “-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN” “http://java.sun.com/dtd/web-app_2_3.dtd”&gt;
    <web-app>
    <description>Empty web.xml file for Web Application</description>
    <servlet>
    <servlet-name>action</servlet-name>
    <servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
    <init-param>
    <param-name>config</param-name>
    <param-value>/WEB-INF/struts-config.xml</param-value>
    </init-param>
    <load-on-startup>1</load-on-startup>
    </servlet>
    <servlet-mapping>
    <servlet-name>action</servlet-name>
    <url-pattern>*.do</url-pattern>
    </servlet-mapping>
    <session-config>
    <session-timeout>35</session-timeout>
    </session-config>
    <mime-mapping>
    <extension>html</extension>
    <mime-type>text/html</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>txt</extension>
    <mime-type>text/plain</mime-type>
    </mime-mapping>
    <taglib>
    <taglib-uri>/WEB-INF/struts-bean.tld</taglib-uri>
    <taglib-location>/WEB-INF/struts-bean.tld</taglib-location>
    </taglib>
    <taglib>
    <taglib-uri>/WEB-INF/struts-html.tld</taglib-uri>
    <taglib-location>/WEB-INF/struts-html.tld</taglib-location>
    </taglib>
    <taglib>
    <taglib-uri>/WEB-INF/struts-logic.tld</taglib-uri>
    <taglib-location>/WEB-INF/struts-logic.tld</taglib-location>
    </taglib>

    <taglib>
    <taglib-uri>/WEB-INF/struts-nested.tld</taglib-uri>
    <taglib-location>/WEB-INF/struts-nested.tld</taglib-location>
    </taglib>
    <taglib>
    <taglib-uri>/WEB-INF/struts-template.tld</taglib-uri>
    <taglib-location>/WEB-INF/struts-template.tld</taglib-location>
    </taglib>
    <taglib>
    <taglib-uri>/WEB-INF/struts-tiles.tld</taglib-uri>
    <taglib-location>/WEB-INF/struts-tiles.tld</taglib-location>
    </taglib>
    <ejb-ref>
    <ejb-ref-name>ejb/SessionCart</ejb-ref-name>
    <ejb-ref-type>Session</ejb-ref-type>
    <home>com.alashoofi.taylor.session.SessionCartHome</home>
    <remote>com.alashoofi.taylor.session.SessionCart</remote>
    <ejb-link>SessionCart</ejb-link>
    </ejb-ref>
    <ejb-ref>
    <ejb-ref-name>ejb/Cart</ejb-ref-name>
    <ejb-ref-type>Session</ejb-ref-type>
    <home>com.alashoofi.taylor.session.CartHome</home>
    <remote>com.alashoofi.taylor.session.Cart</remote>
    <ejb-link>Cart</ejb-link>
    </ejb-ref>
    <ejb-ref>
    <ejb-ref-name>ejb/SignOn</ejb-ref-name>
    <ejb-ref-type>Session</ejb-ref-type>
    <home>com.alashoofi.taylor.session.SignOnHome</home>
    <remote>com.alashoofi.taylor.session.SignOn</remote>
    <ejb-link>SignOn</ejb-link>
    </ejb-ref>
    <ejb-local-ref>
    <ejb-ref-name>ejb/local/Category</ejb-ref-name>
    <ejb-ref-type>Entity</ejb-ref-type>
    <local-home>com.alashoofi.taylor.model.CategoryLocalHome</local-home>
    <local>com.alashoofi.taylor.model.CategoryLocal</local>
    <ejb-link>Category</ejb-link>
    </ejb-local-ref>
    <ejb-local-ref>
    <ejb-ref-name>ejb/local/Customer</ejb-ref-name>
    <ejb-ref-type>Entity</ejb-ref-type>
    <local-home>com.alashoofi.taylor.model.CustomerLocalHome</local-home>
    <local>com.alashoofi.taylor.model.CustomerLocal</local>
    <ejb-link>Customer</ejb-link>
    </ejb-local-ref>
    <ejb-local-ref>
    <ejb-ref-name>ejb/local/InventoryItem</ejb-ref-name>
    <ejb-ref-type>Entity</ejb-ref-type>
    <local-home>com.alashoofi.taylor.model.InventoryItemLocalHome</local-home>
    <local>com.alashoofi.taylor.model.InventoryItemLocal</local>
    <ejb-link>InventoryItem</ejb-link>
    </ejb-local-ref>
    <ejb-local-ref>
    <ejb-ref-name>ejb/local/LineItem</ejb-ref-name>
    <ejb-ref-type>Entity</ejb-ref-type>
    <local-home>com.alashoofi.taylor.model.LineItemLocalHome</local-home>
    <local>com.alashoofi.taylor.model.LineItemLocal</local>
    <ejb-link>LineItem</ejb-link>
    </ejb-local-ref>
    <ejb-local-ref>
    <ejb-ref-name>ejb/local/Ord</ejb-ref-name>
    <ejb-ref-type>Entity</ejb-ref-type>
    <local-home>com.alashoofi.taylor.model.OrdLocalHome</local-home>
    <local>com.alashoofi.taylor.model.OrdLocal</local>
    <ejb-link>Ord</ejb-link>
    </ejb-local-ref>
    <ejb-local-ref>
    <ejb-ref-name>ejb/local/Supplier</ejb-ref-name>
    <ejb-ref-type>Entity</ejb-ref-type>
    <local-home>com.alashoofi.taylor.model.SupplierLocalHome</local-home>
    <local>com.alashoofi.taylor.model.SupplierLocal</local>
    <ejb-link>Supplier</ejb-link>
    </ejb-local-ref>
    <ejb-local-ref>
    <ejb-ref-name>ejb/local/Users</ejb-ref-name>
    <ejb-ref-type>Entity</ejb-ref-type>
    <local-home>com.alashoofi.taylor.model.UsersLocalHome</local-home>
    <local>com.alashoofi.taylor.model.UsersLocal</local>
    <ejb-link>Users</ejb-link>
    </ejb-local-ref>
    <ejb-local-ref>
    <ejb-ref-name>ejb/local/Discounts</ejb-ref-name>
    <ejb-ref-type>Entity</ejb-ref-type>
    <local-home>com.alashoofi.taylor.model.DiscountsLocalHome</local-home>
    <local>com.alashoofi.taylor.model.DiscountsLocal</local>
    <ejb-link>Discounts</ejb-link>
    </ejb-local-ref>
    <ejb-local-ref>
    <ejb-ref-name>ejb/local/Inventory2Item</ejb-ref-name>
    <ejb-ref-type>Entity</ejb-ref-type>
    <local-home>com.alashoofi.taylor.model.Inventory2ItemLocalHome</local-home>
    <local>com.alashoofi.taylor.model.Inventory2ItemLocal</local>
    <ejb-link>Inventory2Item</ejb-link>
    </ejb-local-ref>
    <ejb-local-ref>
    <ejb-ref-name>ejb/local/Carrier</ejb-ref-name>
    <ejb-ref-type>Entity</ejb-ref-type>
    <local-home>com.alashoofi.taylor.model.CarrierLocalHome</local-home>
    <local>com.alashoofi.taylor.model.CarrierLocal</local>
    <ejb-link>Carrier</ejb-link>
    </ejb-local-ref>
    </web-app>
    – System Setup ——————————-
    Operating System and version: XP
    Eclipse version: 3.0
    Eclipse build id:
    Fresh Eclipse install (y/n): n
    If not, was it upgraded to its current version using the update manager?
    Other installed external plugins:
    Number of plugins in the <eclipse>/plugins directory that begin with org.eclipse.pde.*:
    MyEclipse version: 3.8x
    Eclipse JDK version:
    Application Server JDK version:
    Are there any exceptions in the Eclipse log file?

    If this is a DB related question please answer the following:

    RDBMS vendor and version:
    JDBC driver vendor and version, and access type (thin, type-2, etc):
    Connection URL:
    Eclipse error logs related to com.genuitec.eclipse.sqlexplorer packages:

    – Message Body ——————————-

    #227328 Reply

    alashoofi
    Member

    I was able to fish out something. My web.xml was being overwritten somehow.
    Now with the proper web.xml I get the below error. Please help.

    Error during deploy; – nested throwable: (javax.naming.NamingException: ejb-local-ref: ‘LineItem’, with web.xml ejb-link: ‘LineItem’ failed to resolve to an ejb with a LocalHome)

    —————server error message:
    2005-03-29 23:00:45,109 INFO [org.jboss.web.tomcat.tc4.EmbeddedTomcatService] deploy, ctxPath=/web-console, warUrl=file:/C:/jboss-3.2.3/server/default/tmp/deploy/tmp7010web-console.war/
    2005-03-29 23:00:45,250 INFO [org.jboss.web.localhost.Engine] SingleSignOnContextConfig[/web-console]: Added certificates -> request attribute Valve
    2005-03-29 23:00:45,265 WARN [org.jboss.web.tomcat.tc4.EmbeddedTomcatService] Unable to invoke setDelegate on class loader:org.jboss.web.tomcat.tc4.WebCtxLoader$ENCLoader@1092447
    2005-03-29 23:00:45,265 INFO [org.jboss.web.localhost.Engine] StandardManager[/web-console]: Seeding random number generator class java.security.SecureRandom
    2005-03-29 23:00:45,265 INFO [org.jboss.web.localhost.Engine] StandardManager[/web-console]: Seeding of random number generator has been completed
    2005-03-29 23:00:45,437 INFO [org.jboss.web.localhost.Engine] StandardWrapper[/web-console:default]: Loading container servlet default
    2005-03-29 23:00:45,468 INFO [org.jboss.web.localhost.Engine] StandardWrapper[/web-console:invoker]: Loading container servlet invoker
    2005-03-29 23:00:45,921 INFO [org.jboss.deployment.MainDeployer] Deployed package: file:/C:/jboss-3.2.3/server/default/deploy/management/web-console.war
    2005-03-29 23:00:45,921 INFO [org.jboss.deployment.MainDeployer] Starting deployment of package: file:/C:/jboss-3.2.3/server/default/deploy/taylor_app3.ear
    2005-03-29 23:00:45,984 INFO [org.jboss.deployment.EARDeployer] Init J2EE application: file:/C:/jboss-3.2.3/server/default/deploy/taylor_app3.ear
    2005-03-29 23:00:47,546 INFO [org.jboss.ejb.EjbModule] Deploying CategoryBean
    2005-03-29 23:00:47,546 INFO [org.jboss.ejb.EjbModule] Deploying LineItemBean
    2005-03-29 23:00:47,562 INFO [org.jboss.ejb.EjbModule] Deploying OrdBean
    2005-03-29 23:00:47,562 INFO [org.jboss.ejb.EjbModule] Deploying SupplierBean
    2005-03-29 23:00:47,562 INFO [org.jboss.ejb.EjbModule] Deploying UsersBean
    2005-03-29 23:00:47,578 INFO [org.jboss.ejb.EjbModule] Deploying DiscountsBean
    2005-03-29 23:00:47,578 INFO [org.jboss.ejb.EjbModule] Deploying Inventory2ItemBean
    2005-03-29 23:00:47,593 INFO [org.jboss.ejb.EjbModule] Deploying CustomerBean
    2005-03-29 23:00:47,593 INFO [org.jboss.ejb.EjbModule] Deploying CarrierBean
    2005-03-29 23:00:47,609 INFO [org.jboss.ejb.EjbModule] Deploying SessionCart
    2005-03-29 23:00:47,625 INFO [org.jboss.ejb.EjbModule] Deploying Cart
    2005-03-29 23:00:47,640 INFO [org.jboss.ejb.EjbModule] Deploying SignOn
    2005-03-29 23:00:47,859 INFO [org.jboss.ejb.plugins.EntityInstancePool] Started jboss.j2ee:jndiName=Category,plugin=pool,service=EJB
    2005-03-29 23:00:47,875 INFO [org.jboss.ejb.EntityContainer] Started jboss.j2ee:jndiName=Category,service=EJB
    2005-03-29 23:00:47,875 INFO [org.jboss.ejb.plugins.EntityInstancePool] Started jboss.j2ee:jndiName=LineItem,plugin=pool,service=EJB
    2005-03-29 23:00:47,875 INFO [org.jboss.ejb.EntityContainer] Started jboss.j2ee:jndiName=LineItem,service=EJB
    2005-03-29 23:00:47,890 INFO [org.jboss.ejb.plugins.EntityInstancePool] Started jboss.j2ee:jndiName=Ord,plugin=pool,service=EJB
    2005-03-29 23:00:47,890 INFO [org.jboss.ejb.EntityContainer] Started jboss.j2ee:jndiName=Ord,service=EJB
    2005-03-29 23:00:47,906 INFO [org.jboss.ejb.plugins.EntityInstancePool] Started jboss.j2ee:jndiName=Supplier,plugin=pool,service=EJB
    2005-03-29 23:00:47,906 INFO [org.jboss.ejb.EntityContainer] Started jboss.j2ee:jndiName=Supplier,service=EJB
    2005-03-29 23:00:47,921 INFO [org.jboss.ejb.plugins.EntityInstancePool] Started jboss.j2ee:jndiName=Users,plugin=pool,service=EJB
    2005-03-29 23:00:47,921 INFO [org.jboss.ejb.EntityContainer] Started jboss.j2ee:jndiName=Users,service=EJB
    2005-03-29 23:00:47,921 INFO [org.jboss.ejb.plugins.EntityInstancePool] Started jboss.j2ee:jndiName=Discounts,plugin=pool,service=EJB
    2005-03-29 23:00:47,921 INFO [org.jboss.ejb.EntityContainer] Started jboss.j2ee:jndiName=Discounts,service=EJB
    2005-03-29 23:00:47,953 INFO [org.jboss.ejb.plugins.EntityInstancePool] Started jboss.j2ee:jndiName=Inventory2Item,plugin=pool,service=EJB
    2005-03-29 23:00:47,953 INFO [org.jboss.ejb.EntityContainer] Started jboss.j2ee:jndiName=Inventory2Item,service=EJB
    2005-03-29 23:00:47,968 INFO [org.jboss.ejb.plugins.EntityInstancePool] Started jboss.j2ee:jndiName=Customer,plugin=pool,service=EJB
    2005-03-29 23:00:47,968 INFO [org.jboss.ejb.EntityContainer] Started jboss.j2ee:jndiName=Customer,service=EJB
    2005-03-29 23:00:48,218 INFO [org.jboss.ejb.plugins.EntityInstancePool] Started jboss.j2ee:jndiName=Carrier,plugin=pool,service=EJB
    2005-03-29 23:00:48,218 INFO [org.jboss.ejb.EntityContainer] Started jboss.j2ee:jndiName=Carrier,service=EJB
    2005-03-29 23:00:48,421 INFO [org.jboss.ejb.plugins.StatefulSessionInstancePool] Started jboss.j2ee:jndiName=SessionCart,plugin=pool,service=EJB
    2005-03-29 23:00:48,421 INFO [org.jboss.ejb.plugins.StatefulSessionFilePersistenceManager] Started null
    2005-03-29 23:00:48,421 INFO [org.jboss.ejb.StatefulSessionContainer] Started jboss.j2ee:jndiName=SessionCart,service=EJB
    2005-03-29 23:00:48,437 INFO [org.jboss.ejb.plugins.StatefulSessionInstancePool] Started jboss.j2ee:jndiName=Cart,plugin=pool,service=EJB
    2005-03-29 23:00:48,437 INFO [org.jboss.ejb.plugins.StatefulSessionFilePersistenceManager] Started null
    2005-03-29 23:00:48,437 INFO [org.jboss.ejb.StatefulSessionContainer] Started jboss.j2ee:jndiName=Cart,service=EJB
    2005-03-29 23:00:48,453 INFO [org.jboss.ejb.plugins.StatelessSessionInstancePool] Started jboss.j2ee:jndiName=SignOn,plugin=pool,service=EJB
    2005-03-29 23:00:48,453 INFO [org.jboss.ejb.StatelessSessionContainer] Started jboss.j2ee:jndiName=SignOn,service=EJB
    2005-03-29 23:00:48,453 INFO [org.jboss.ejb.EjbModule] Started jboss.j2ee:module=app3.jar,service=EjbModule
    2005-03-29 23:00:48,453 INFO [org.jboss.ejb.EJBDeployer] Deployed: file:/C:/jboss-3.2.3/server/default/tmp/deploy/tmp7011taylor_app3.ear-contents/app3.jar
    2005-03-29 23:00:48,546 INFO [org.jboss.web.tomcat.tc4.EmbeddedTomcatService] deploy, ctxPath=/app3, warUrl=file:/C:/jboss-3.2.3/server/default/tmp/deploy/tmp7011taylor_app3.ear-contents/app3.war/
    2005-03-29 23:00:48,687 ERROR [org.jboss.deployment.MainDeployer] could not start deployment: file:/C:/jboss-3.2.3/server/default/tmp/deploy/tmp7011taylor_app3.ear-contents/app3.war
    org.jboss.deployment.DeploymentException: Error during deploy; – nested throwable: (javax.naming.NamingException: ejb-local-ref: ‘LineItem’, with web.xml ejb-link: ‘LineItem’ failed to resolve to an ejb with a LocalHome)
    at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:440)
    at org.jboss.deployment.MainDeployer.start(MainDeployer.java:832)
    at org.jboss.deployment.MainDeployer.start(MainDeployer.java:824)
    at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:642)
    at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:605)
    at sun.reflect.GeneratedMethodAccessor22.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
    at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
    at $Proxy6.deploy(Unknown Source)
    at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:302)
    at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:476)
    at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:201)
    at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:274)
    at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:192)
    at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
    at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:976)
    at $Proxy0.start(Unknown Source)
    at org.jboss.system.ServiceController.start(ServiceController.java:394)
    at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
    at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
    at $Proxy4.start(Unknown Source)
    at org.jboss.deployment.SARDeployer.start(SARDeployer.java:226)
    at org.jboss.deployment.MainDeployer.start(MainDeployer.java:832)
    at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:642)
    at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:605)
    at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:589)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
    at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
    at $Proxy5.deploy(Unknown Source)
    at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:384)
    at org.jboss.system.server.ServerImpl.start(ServerImpl.java:291)
    at org.jboss.Main.boot(Main.java:150)
    at org.jboss.Main$1.run(Main.java:395)
    at java.lang.Thread.run(Thread.java:534)
    Caused by: javax.naming.NamingException: ejb-local-ref: ‘LineItem’, with web.xml ejb-link: ‘LineItem’ failed to resolve to an ejb with a LocalHome
    at org.jboss.web.AbstractWebContainer.linkEjbLocalRefs(AbstractWebContainer.java:756)
    at org.jboss.web.AbstractWebContainer.parseWebAppDescriptors(AbstractWebContainer.java:598)
    at org.jboss.web.AbstractWebContainer$DescriptorParser.parseWebAppDescriptors(AbstractWebContainer.java:1051)
    at org.jboss.web.tomcat.tc4.EmbeddedTomcatService.initENC(EmbeddedTomcatService.java:579)
    at org.jboss.web.tomcat.tc4.EmbeddedTomcatService.createWebContext(EmbeddedTomcatService.java:542)
    at org.jboss.web.tomcat.tc4.EmbeddedTomcatService.performDeploy(EmbeddedTomcatService.java:309)
    at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:428)
    … 49 more
    2005-03-29 23:00:48,687 ERROR [org.jboss.deployment.MainDeployer] could not start deployment: file:/C:/jboss-3.2.3/server/default/deploy/taylor_app3.ear
    org.jboss.deployment.DeploymentException: Error during deploy; – nested throwable: (javax.naming.NamingException: ejb-local-ref: ‘LineItem’, with web.xml ejb-link: ‘LineItem’ failed to resolve to an ejb with a LocalHome)
    at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:440)
    at org.jboss.deployment.MainDeployer.start(MainDeployer.java:832)
    at org.jboss.deployment.MainDeployer.start(MainDeployer.java:824)
    at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:642)
    at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:605)
    at sun.reflect.GeneratedMethodAccessor22.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
    at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
    at $Proxy6.deploy(Unknown Source)
    at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:302)
    at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:476)
    at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:201)
    at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:274)
    at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:192)
    at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
    at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:976)
    at $Proxy0.start(Unknown Source)
    at org.jboss.system.ServiceController.start(ServiceController.java:394)
    at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
    at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
    at $Proxy4.start(Unknown Source)
    at org.jboss.deployment.SARDeployer.start(SARDeployer.java:226)
    at org.jboss.deployment.MainDeployer.start(MainDeployer.java:832)
    at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:642)
    at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:605)
    at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:589)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
    at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
    at $Proxy5.deploy(Unknown Source)
    at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:384)
    at org.jboss.system.server.ServerImpl.start(ServerImpl.java:291)
    at org.jboss.Main.boot(Main.java:150)
    at org.jboss.Main$1.run(Main.java:395)
    at java.lang.Thread.run(Thread.java:534)
    Caused by: javax.naming.NamingException: ejb-local-ref: ‘LineItem’, with web.xml ejb-link: ‘LineItem’ failed to resolve to an ejb with a LocalHome
    at org.jboss.web.AbstractWebContainer.linkEjbLocalRefs(AbstractWebContainer.java:756)
    at org.jboss.web.AbstractWebContainer.parseWebAppDescriptors(AbstractWebContainer.java:598)
    at org.jboss.web.AbstractWebContainer$DescriptorParser.parseWebAppDescriptors(AbstractWebContainer.java:1051)
    at org.jboss.web.tomcat.tc4.EmbeddedTomcatService.initENC(EmbeddedTomcatService.java:579)
    at org.jboss.web.tomcat.tc4.EmbeddedTomcatService.createWebContext(EmbeddedTomcatService.java:542)
    at org.jboss.web.tomcat.tc4.EmbeddedTomcatService.performDeploy(EmbeddedTomcatService.java:309)
    at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:428)
    … 49 more
    2005-03-29 23:00:48,687 ERROR [org.jboss.deployment.scanner.URLDeploymentScanner] MBeanException: Exception in MBean operation ‘checkIncompleteDeployments()’
    Cause: Incomplete Deployment listing:
    Packages waiting for a deployer:
    <none>
    Incompletely deployed packages:
    [org.jboss.deployment.DeploymentInfo@4b1d58d1 { url=file:/C:/jboss-3.2.3/server/default/deploy/taylor_app3.ear }
    deployer: org.jboss.deployment.EARDeployer@13e0aba
    status: Deployment FAILED reason: Error during deploy; – nested throwable: (javax.naming.NamingException: ejb-local-ref: ‘LineItem’, with web.xml ejb-link: ‘LineItem’ failed to resolve to an ejb with a LocalHome)
    state: FAILED
    watch: file:/C:/jboss-3.2.3/server/default/deploy/taylor_app3.ear
    lastDeployed: 1112155247109
    lastModified: 1112155245953
    mbeans:
    ]MBeans waiting for classes:
    <none>
    MBeans waiting for other MBeans:
    <none>

    2005-03-29 23:00:48,687 INFO [org.jboss.deployment.scanner.URLDeploymentScanner] Started jboss.deployment:type=DeploymentScanner,flavor=URL
    2005-03-29 23:00:48,718 INFO [org.jboss.deployment.MainDeployer] Deployed package: file:/C:/jboss-3.2.3/server/default/conf/jboss-service.xml
    2005-03-29 23:00:48,718 INFO [org.jboss.system.server.Server] JBoss (MX MicroKernel) [3.2.3 (build: CVSTag=JBoss_3_2_3 date=200311301445)] Started in 27s:265ms
    2005-03-29 23:11:13,250 INFO [org.jboss.system.server.Server] JBoss SHUTDOWN: Undeploying all packages
    2005-03-29 23:11:13,250 INFO [org.jboss.ejb.EjbModule] Stopping jboss.j2ee:module=app3.jar,service=EjbModule
    2005-03-29 23:11:13,250 INFO [org.jboss.ejb.StatelessSessionContainer] Stopping jboss.j2ee:jndiName=SignOn,service=EJB
    2005-03-29 23:11:13,250 INFO [org.jboss.ejb.plugins.StatelessSessionInstancePool] Stopping jboss.j2ee:jndiName=SignOn,plugin=pool,service=EJB
    2005-03-29 23:11:13,250 INFO [org.jboss.ejb.StatefulSessionContainer] Stopping jboss.j2ee:jndiName=Cart,service=EJB
    2005-03-29 23:11:13,250 INFO [org.jboss.ejb.plugins.StatefulSessionInstancePool] Stopping jboss.j2ee:jndiName=Cart,plugin=pool,service=EJB
    2005-03-29 23:11:13,250 INFO [org.jboss.ejb.plugins.StatefulSessionFilePersistenceManager] Stopping null
    2005-03-29 23:11:13,250 INFO [org.jboss.ejb.StatefulSessionContainer] Stopping jboss.j2ee:jndiName=SessionCart,service=EJB
    2005-03-29 23:11:13,250 INFO [org.jboss.ejb.plugins.StatefulSessionInstancePool] Stopping jboss.j2ee:jndiName=SessionCart,plugin=pool,service=EJB
    2005-03-29 23:11:13,250 INFO [org.jboss.ejb.plugins.StatefulSessionFilePersistenceManager] Stopping null
    2005-03-29 23:11:13,250 INFO [org.jboss.ejb.EntityContainer] Stopping jboss.j2ee:jndiName=Carrier,service=EJB
    2005-03-29 23:11:13,281 INFO [org.jboss.ejb.plugins.EntityInstancePool] Stopping jboss.j2ee:jndiName=Carrier,plugin=pool,service=EJB
    2005-03-29 23:11:13,281 INFO [org.jboss.ejb.EntityContainer] Stopping jboss.j2ee:jndiName=Customer,service=EJB
    2005-03-29 23:11:13,281 INFO [org.jboss.ejb.plugins.EntityInstancePool] Stopping jboss.j2ee:jndiName=Customer,plugin=pool,service=EJB
    2005-03-29 23:11:13,281 INFO [org.jboss.ejb.EntityContainer] Stopping jboss.j2ee:jndiName=Inventory2Item,service=EJB
    2005-03-29 23:11:13,281 INFO [org.jboss.ejb.plugins.EntityInstancePool] Stopping jboss.j2ee:jndiName=Inventory2Item,plugin=pool,service=EJB
    2005-03-29 23:11:13,281 INFO [org.jboss.ejb.EntityContainer] Stopping jboss.j2ee:jndiName=Discounts,service=EJB
    2005-03-29 23:11:13,281 INFO [org.jboss.ejb.plugins.EntityInstancePool] Stopping jboss.j2ee:jndiName=Discounts,plugin=pool,service=EJB
    2005-03-29 23:11:13,281 INFO [org.jboss.ejb.EntityContainer] Stopping jboss.j2ee:jndiName=Users,service=EJB
    2005-03-29 23:11:13,281 INFO [org.jboss.ejb.plugins.EntityInstancePool] Stopping jboss.j2ee:jndiName=Users,plugin=pool,service=EJB
    2005-03-29 23:11:13,281 INFO [org.jboss.ejb.EntityContainer] Stopping jboss.j2ee:jndiName=Supplier,service=EJB
    2005-03-29 23:11:13,281 INFO [org.jboss.ejb.plugins.EntityInstancePool] Stopping jboss.j2ee:jndiName=Supplier,plugin=pool,service=EJB
    2005-03-29 23:11:13,281 INFO [org.jboss.ejb.EntityContainer] Stopping jboss.j2ee:jndiName=Ord,service=EJB
    2005-03-29 23:11:13,281 INFO [org.jboss.ejb.plugins.EntityInstancePool] Stopping jboss.j2ee:jndiName=Ord,plugin=pool,service=EJB
    2005-03-29 23:11:13,281 INFO [org.jboss.ejb.EntityContainer] Stopping jboss.j2ee:jndiName=LineItem,service=EJB
    2005-03-29 23:11:13,281 INFO [org.jboss.ejb.plugins.EntityInstancePool] Stopping jboss.j2ee:jndiName=LineItem,plugin=pool,service=EJB
    2005-03-29 23:11:13,281 INFO [org.jboss.ejb.EntityContainer] Stopping jboss.j2ee:jndiName=Category,service=EJB
    2005-03-29 23:11:13,281 INFO [org.jboss.ejb.plugins.EntityInstancePool] Stopping jboss.j2ee:jndiName=Category,plugin=pool,service=EJB
    2005-03-29 23:11:13,281 INFO [org.jboss.deployment.EARDeployer] Undeploying J2EE application, destroy step: file:/C:/jboss-3.2.3/server/default/deploy/taylor_app3.ear
    2005-03-29 23:11:13,484 WARN [org.jboss.deployment.DeploymentInfo] Could not delete file:/C:/jboss-3.2.3/server/default/tmp/deploy/tmp7011taylor_app3.ear-contents/app3.war/ restart will delete it
    2005-03-29 23:11:13,500 INFO [org.jboss.management.j2ee.EJBModule] destroy(), remove EJB-Module: jboss.management.local:J2EEApplication=taylor_app3.ear,J2EEServer=Local,j2eeType=EJBModule,name=app3.jar
    2005-03-29 23:11:13,500 WARN [org.jboss.deployment.DeploymentInfo] Could not delete file:/C:/jboss-3.2.3/server/default/tmp/deploy/tmp7011taylor_app3.ear restart will delete it
    2005-03-29 23:11:13,500 INFO [org.jboss.web.tomcat.tc4.EmbeddedTomcatService] undeploy, ctxPath=/web-console, warUrl=file:/C:/jboss-3.2.3/server/default/tmp/deploy/tmp7010web-console.war/
    2005-03-29 23:11:13,500 INFO [org.jboss.web.localhost.Engine] StandardHost[localhost]: Removing web application at context path /web-console
    2005-03-29 23:11:13,562 INFO [org.jboss.web.tomcat.tc4.EmbeddedTomcatService] undeploy, ctxPath=/jmx-console, warUrl=file:/C:/jboss-3.2.3/server/default/deploy/jmx-console.war/
    2005-03-29 23:11:13,578 INFO [org.jboss.web.localhost.Engine] StandardHost[localhost]: Removing web application at context path /jmx-console
    2005-03-29 23:11:13,578 INFO [org.jboss.web.tomcat.tc4.EmbeddedTomcatService] undeploy, ctxPath=/HelloWorld, warUrl=file:/C:/jboss-3.2.3/server/default/deploy/HelloWorld.war/
    2005-03-29 23:11:13,578 INFO [org.jboss.web.localhost.Engine] StandardHost[localhost]: Removing web application at context path /HelloWorld
    2005-03-29 23:11:13,578 INFO [org.jboss.web.tomcat.tc4.EmbeddedTomcatService] undeploy, ctxPath=/AnotherHelloWorld, warUrl=file:/C:/jboss-3.2.3/server/default/deploy/AnotherHelloWorld.war/
    2005-03-29 23:11:13,578 INFO [org.jboss.web.localhost.Engine] StandardHost[localhost]: Removing web application at context path /AnotherHelloWorld
    2005-03-29 23:11:13,593 INFO [org.jboss.ejb.EjbModule] Stopping jboss.j2ee:module=SimpleBean.jar,service=EjbModule
    2005-03-29 23:11:13,593 INFO [org.jboss.ejb.EntityContainer] Stopping jboss.j2ee:jndiName=ejb/Simple,service=EJB
    2005-03-29 23:11:13,593 INFO [org.jboss.ejb.plugins.EntityInstancePool] Stopping jboss.j2ee:jndiName=ejb/Simple,plugin=pool,service=EJB
    2005-03-29 23:11:13,593 INFO [org.jboss.management.j2ee.EJBModule] destroy(), remove EJB-Module: jboss.management.local:J2EEApplication=null,J2EEServer=Local,j2eeType=EJBModule,name=SimpleBean.jar
    2005-03-29 23:11:13,593 INFO [org.jboss.mq.server.jmx.Topic.testTopic] Stopping jboss.mq.destination:service=Topic,name=testTopic
    2005-03-29 23:11:13,640 INFO [org.jboss.mq.server.jmx.Topic.securedTopic] Stopping jboss.mq.destination:service=Topic,name=securedTopic
    2005-03-29 23:11:13,640 INFO [org.jboss.mq.server.jmx.Topic.testDurableTopic] Stopping jboss.mq.destination:service=Topic,name=testDurableTopic
    2005-03-29 23:11:13,656 INFO [org.jboss.mq.server.jmx.Queue.testQueue] Stopping jboss.mq.destination:service=Queue,name=testQueue
    2005-03-29 23:11:13,656 INFO [org.jboss.mq.server.jmx.Queue.A] Stopping jboss.mq.destination:service=Queue,name=A
    2005-03-29 23:11:13,656 INFO [org.jboss.mq.server.jmx.Queue.B] Stopping jboss.mq.destination:service=Queue,name=B
    2005-03-29 23:11:13,656 INFO [org.jboss.mq.server.jmx.Queue.C] Stopping jboss.mq.destination:service=Queue,name=C
    2005-03-29 23:11:13,656 INFO [org.jboss.mq.server.jmx.Queue.D] Stopping jboss.mq.destination:service=Queue,name=D
    2005-03-29 23:11:13,656 INFO [org.jboss.mq.server.jmx.Queue.ex] Stopping jboss.mq.destination:service=Queue,name=ex
    2005-03-29 23:11:13,656 INFO [org.jboss.mq.il.http.HTTPServerILService] Stopping jboss.mq:service=InvocationLayer,type=HTTP
    2005-03-29 23:11:13,656 INFO [org.jboss.mq.il.jvm.JVMServerILService] Stopping jboss.mq:service=InvocationLayer,type=JVM
    2005-03-29 23:11:13,656 INFO [org.jboss.mq.il.oil.OILServerILService] Stopping jboss.mq:service=InvocationLayer,type=OIL
    2005-03-29 23:11:13,656 INFO [org.jboss.mq.il.oil2.OIL2ServerILService] Stopping jboss.mq:service=InvocationLayer,type=OIL2
    2005-03-29 23:11:13,656 INFO [org.jboss.mq.il.rmi.RMIServerILService] Stopping jboss.mq:service=InvocationLayer,type=RMI
    2005-03-29 23:11:13,656 INFO [org.jboss.mq.il.uil2.UILServerILService] Stopping jboss.mq:service=InvocationLayer,type=UIL2
    2005-03-29 23:11:13,656 INFO [org.jboss.mq.server.jmx.Invoker] Stopping jboss.mq:service=Invoker
    2005-03-29 23:11:13,656 INFO [org.jboss.mq.server.jmx.InterceptorLoader] Stopping jboss.mq:service=TracingInterceptor
    2005-03-29 23:11:13,656 INFO [org.jboss.mq.server.jmx.Queue.DLQ] Stopping jboss.mq.destination:service=Queue,name=DLQ
    2005-03-29 23:11:13,656 INFO [org.jboss.mq.security.SecurityManager] Stopping jboss.mq:service=SecurityManager
    2005-03-29 23:11:13,656 INFO [org.jboss.mq.server.jmx.DestinationManager] Stopping jboss.mq:service=DestinationManager
    2005-03-29 23:11:13,656 INFO [org.jboss.mq.pm.jdbc2.PersistenceManager] Stopping jboss.mq:service=PersistenceManager
    2005-03-29 23:11:13,656 INFO [org.jboss.resource.connectionmanager.TxConnectionManager] Stopping jboss.jca:service=LocalTxCM,name=DefaultDS
    2005-03-29 23:11:13,656 INFO [org.jboss.resource.connectionmanager.TxConnectionManager] Stopping jboss.jca:service=TxCM,name=JmsXA
    2005-03-29 23:11:13,656 INFO [org.jboss.resource.connectionmanager.TxConnectionManager] Stopping jboss.jca:service=LocalTxCM,name=MyDS
    2005-03-29 23:11:13,656 INFO [org.jboss.resource.connectionmanager.CachedConnectionManager] Stopping jboss.jca:service=CachedConnectionManager
    2005-03-29 23:11:13,671 INFO [org.jboss.varia.property.SystemPropertiesService] Stopping jboss:type=Service,name=SystemProperties
    2005-03-29 23:11:13,671 INFO [org.jboss.varia.property.PropertyEditorManagerService] Stopping jboss:type=Service,name=PropertyEditorManager
    2005-03-29 23:11:13,671 INFO [org.jboss.mail.MailService] Stopping jboss:service=Mail
    2005-03-29 23:11:13,671 INFO [org.jboss.mail.MailService] Mail service ‘java:/Mail’ removed from JNDI
    2005-03-29 23:11:13,671 INFO [org.jboss.naming.NamingAlias] Stopping jboss.mq:service=InvocationLayer,type=UILXA
    2005-03-29 23:11:13,671 INFO [org.jboss.naming.NamingAlias] Stopping jboss.mq:service=InvocationLayer,type=UIL
    2005-03-29 23:11:13,687 INFO [org.jboss.mq.sm.file.DynamicStateManager] Stopping jboss.mq:service=StateManager
    2005-03-29 23:11:13,703 INFO [org.jboss.mq.server.MessageCache] Stopping jboss.mq:service=MessageCache
    2005-03-29 23:11:13,703 INFO [org.jboss.deployment.ClientDeployer] Stopping jboss.j2ee:service=ClientDeployer
    2005-03-29 23:11:13,703 INFO [org.jboss.deployment.MainDeployer] Removing deployer: org.jboss.deployment.ClientDeployer@1443800
    2005-03-29 23:11:13,718 INFO [org.jboss.cache.invalidation.InvalidationManager] Stopping jboss.cache:service=InvalidationManager
    2005-03-29 23:11:13,718 INFO [org.jboss.cache.invalidation.InvalidationManager] Stoping Invalidation Manager jboss.cache:service=InvalidationManager
    2005-03-29 23:11:13,718 INFO [org.jboss.resource.connectionmanager.JBossManagedConnectionPool] Stopping jboss.jca:service=ManagedConnectionPool,name=MyDS
    2005-03-29 23:11:13,718 INFO [org.jboss.resource.connectionmanager.RARDeployment] Stopping jboss.jca:service=ManagedConnectionFactory,name=MyDS
    2005-03-29 23:11:13,734 INFO [org.jboss.resource.connectionmanager.JBossManagedConnectionPool] Stopping jboss.jca:service=ManagedConnectionPool,name=JmsXA
    2005-03-29 23:11:13,734 INFO [org.jboss.resource.connectionmanager.RARDeployment] Stopping jboss.jca:service=ManagedConnectionFactory,name=JmsXA
    2005-03-29 23:11:13,734 INFO [org.jboss.jms.asf.ServerSessionPoolLoader] Stopping jboss.mq:service=ServerSessionPoolMBean,name=StdJMSPool
    2005-03-29 23:11:13,734 INFO [org.jboss.jms.asf.ServerSessionPoolLoader] pool factory StdJMSPool unbound from java:/StdJMSPool
    2005-03-29 23:11:13,734 INFO [org.jboss.jms.jndi.JMSProviderLoader] Stopping jboss.mq:service=JMSProviderLoader,name=JBossMQProvider
    —-

    The modified web.xml is:

    <?xml version = ‘1.0’ encoding = ‘windows-1252’?>
    <!DOCTYPE web-app PUBLIC “-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN” “http://java.sun.com/dtd/web-app_2_3.dtd”&gt;
    <web-app>
    <description>Empty web.xml file for Web Application</description>
    <servlet>
    <servlet-name>action</servlet-name>
    <servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
    <init-param>
    <param-name>config</param-name>
    <param-value>/WEB-INF/struts-config.xml</param-value>
    </init-param>
    <load-on-startup>1</load-on-startup>
    </servlet>
    <servlet-mapping>
    <servlet-name>action</servlet-name>
    <url-pattern>*.do</url-pattern>
    </servlet-mapping>
    <session-config>
    <session-timeout>35</session-timeout>
    </session-config>
    <mime-mapping>
    <extension>html</extension>
    <mime-type>text/html</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>txt</extension>
    <mime-type>text/plain</mime-type>
    </mime-mapping>
    <taglib>
    <taglib-uri>/WEB-INF/struts-bean.tld</taglib-uri>
    <taglib-location>/WEB-INF/struts-bean.tld</taglib-location>
    </taglib>
    <taglib>
    <taglib-uri>/WEB-INF/struts-html.tld</taglib-uri>
    <taglib-location>/WEB-INF/struts-html.tld</taglib-location>
    </taglib>
    <taglib>
    <taglib-uri>/WEB-INF/struts-logic.tld</taglib-uri>
    <taglib-location>/WEB-INF/struts-logic.tld</taglib-location>
    </taglib>

    <taglib>
    <taglib-uri>/WEB-INF/struts-nested.tld</taglib-uri>
    <taglib-location>/WEB-INF/struts-nested.tld</taglib-location>
    </taglib>
    <taglib>
    <taglib-uri>/WEB-INF/struts-template.tld</taglib-uri>
    <taglib-location>/WEB-INF/struts-template.tld</taglib-location>
    </taglib>
    <taglib>
    <taglib-uri>/WEB-INF/struts-tiles.tld</taglib-uri>
    <taglib-location>/WEB-INF/struts-tiles.tld</taglib-location>
    </taglib>
    <ejb-ref>
    <ejb-ref-name>ejb/SessionCart</ejb-ref-name>
    <ejb-ref-type>Session</ejb-ref-type>
    <home>com.alashoofi.taylor.session.SessionCartHome</home>
    <remote>com.alashoofi.taylor.session.SessionCart</remote>
    <ejb-link>SessionCart</ejb-link>
    </ejb-ref>
    <ejb-ref>
    <ejb-ref-name>ejb/Cart</ejb-ref-name>
    <ejb-ref-type>Session</ejb-ref-type>
    <home>com.alashoofi.taylor.session.CartHome</home>
    <remote>com.alashoofi.taylor.session.Cart</remote>
    <ejb-link>Cart</ejb-link>
    </ejb-ref>
    <ejb-ref>
    <ejb-ref-name>ejb/SignOn</ejb-ref-name>
    <ejb-ref-type>Session</ejb-ref-type>
    <home>com.alashoofi.taylor.session.SignOnHome</home>
    <remote>com.alashoofi.taylor.session.SignOn</remote>
    <ejb-link>SignOn</ejb-link>
    </ejb-ref>
    <ejb-local-ref>
    <ejb-ref-name>ejb/Category</ejb-ref-name>
    <ejb-ref-type>Entity</ejb-ref-type>
    <local-home>com.alashoofi.taylor.model.CategoryLocalHome</local-home>
    <local>com.alashoofi.taylor.model.CategoryLocal</local>
    <ejb-link>Category</ejb-link>
    </ejb-local-ref>
    <ejb-local-ref>
    <ejb-ref-name>ejb/Customer</ejb-ref-name>
    <ejb-ref-type>Entity</ejb-ref-type>
    <local-home>com.alashoofi.taylor.model.CustomerLocalHome</local-home>
    <local>com.alashoofi.taylor.model.CustomerLocal</local>
    <ejb-link>Customer</ejb-link>
    </ejb-local-ref>
    <ejb-local-ref>
    <ejb-ref-name>ejb/InventoryItem</ejb-ref-name>
    <ejb-ref-type>Entity</ejb-ref-type>
    <local-home>com.alashoofi.taylor.model.InventoryItemLocalHome</local-home>
    <local>com.alashoofi.taylor.model.InventoryItemLocal</local>
    <ejb-link>InventoryItem</ejb-link>
    </ejb-local-ref>
    <ejb-local-ref>
    <ejb-ref-name>LineItem</ejb-ref-name>
    <ejb-ref-type>Entity</ejb-ref-type>
    <local-home>com.alashoofi.taylor.model.LineItemLocalHome</local-home>
    <local>com.alashoofi.taylor.model.LineItemLocal</local>
    <ejb-link>LineItem</ejb-link>
    </ejb-local-ref>
    <ejb-local-ref>
    <ejb-ref-name>ejb/Ord</ejb-ref-name>
    <ejb-ref-type>Entity</ejb-ref-type>
    <local-home>com.alashoofi.taylor.model.OrdLocalHome</local-home>
    <local>com.alashoofi.taylor.model.OrdLocal</local>
    <ejb-link>Ord</ejb-link>
    </ejb-local-ref>
    <ejb-local-ref>
    <ejb-ref-name>Supplier</ejb-ref-name>
    <ejb-ref-type>Entity</ejb-ref-type>
    <local-home>com.alashoofi.taylor.model.SupplierLocalHome</local-home>
    <local>com.alashoofi.taylor.model.SupplierLocal</local>
    <ejb-link>Supplier</ejb-link>
    </ejb-local-ref>
    <ejb-local-ref>
    <ejb-ref-name>ejb/Users</ejb-ref-name>
    <ejb-ref-type>Entity</ejb-ref-type>
    <local-home>com.alashoofi.taylor.model.UsersLocalHome</local-home>
    <local>com.alashoofi.taylor.model.UsersLocal</local>
    <ejb-link>Users</ejb-link>
    </ejb-local-ref>
    <ejb-local-ref>
    <ejb-ref-name>ejb/Discounts</ejb-ref-name>
    <ejb-ref-type>Entity</ejb-ref-type>
    <local-home>com.alashoofi.taylor.model.DiscountsLocalHome</local-home>
    <local>com.alashoofi.taylor.model.DiscountsLocal</local>
    <ejb-link>Discounts</ejb-link>
    </ejb-local-ref>
    <ejb-local-ref>
    <ejb-ref-name>ejb/Inventory2Item</ejb-ref-name>
    <ejb-ref-type>Entity</ejb-ref-type>
    <local-home>com.alashoofi.taylor.model.Inventory2ItemLocalHome</local-home>
    <local>com.alashoofi.taylor.model.Inventory2ItemLocal</local>
    <ejb-link>Inventory2Item</ejb-link>
    </ejb-local-ref>
    <ejb-local-ref>
    <ejb-ref-name>ejb/Carrier</ejb-ref-name>
    <ejb-ref-type>Entity</ejb-ref-type>
    <local-home>com.alashoofi.taylor.model.CarrierLocalHome</local-home>
    <local>com.alashoofi.taylor.model.CarrierLocal</local>
    <ejb-link>Carrier</ejb-link>
    </ejb-local-ref>
    </web-app>

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: No Context configuration error.

You must be logged in to post in the forum log in