0 Replies Latest reply on Dec 7, 2010 6:12 AM by omardawod119

    javax.naming.NameNotFoundException: Model not bound Deployment

    omardawod119

      Hi all,

       

      I am getting this error when deploying - Please help me running this simple ejb3 application :

       

      • Failed to create Resource RemarksEJBS.jar - cause: java.lang.Exception:Failed to start deployment [vfs:///C:/jboss-6.0.0.20101110-CR1/server/default/deploy/RemarksEJBS.jar] during deployment of 'RemarksEJBS.jar' - cause: java.lang.RuntimeException:org.jboss.deployers.client.spi.IncompleteDeploymentException: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS): DEPLOYMENTS MISSING DEPENDENCIES: Deployment "jboss.j2ee:jar=RemarksEJBS.jar,name=RemarksEJB,service=EJB3" is missing the following dependencies: Dependency "<UNKNOWN jboss.j2ee:jar=RemarksEJBS.jar,name=RemarksEJB,service=EJB3>" (should be in state "Installed", but is actually in state "** UNRESOLVED Demands 'persistence.unit:unitName=RemarksEJBS.jar#Model' **") Deployment "jboss.j2ee:jar=RemarksEJBS.jar,name=RemarksEJB,service=EJB3_endpoint" is missing the following dependencies: Dependency "jboss.j2ee:jar=RemarksEJBS.jar,name=RemarksEJB,service=EJB3" (should be in state "Installed", but is actually in state "PreInstall") DEPLOYMENTS IN ERROR: Deployment "persistence.unit:unitName=RemarksEJBS.jar#Model" is in error due to the following reason(s): javax.naming.NameNotFoundException: Model not bound Deployment "<UNKNOWN jboss.j2ee:jar=RemarksEJBS.jar,name=RemarksEJB,service=EJB3>" is in error due to the following reason(s): ** UNRESOLVED Demands 'persistence.unit:unitName=RemarksEJBS.jar#Model' ** -> org.jboss.deployers.client.spi.IncompleteDeploymentException:Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS): DEPLOYMENTS MISSING DEPENDENCIES: Deployment "jboss.j2ee:jar=RemarksEJBS.jar,name=RemarksEJB,service=EJB3" is missing the following dependencies: Dependency "<UNKNOWN jboss.j2ee:jar=RemarksEJBS.jar,name=RemarksEJB,service=EJB3>" (should be in state "Installed", but is actually in state "** UNRESOLVED Demands 'persistence.unit:unitName=RemarksEJBS.jar#Model' **") Deployment "jboss.j2ee:jar=RemarksEJBS.jar,name=RemarksEJB,service=EJB3_endpoint" is missing the following dependencies: Dependency "jboss.j2ee:jar=RemarksEJBS.jar,name=RemarksEJB,service=EJB3" (should be in state "Installed", but is actually in state "PreInstall") DEPLOYMENTS IN ERROR: Deployment "persistence.unit:unitName=RemarksEJBS.jar#Model" is in error due to the following reason(s): javax.naming.NameNotFoundException: Model not bound Deployment "<UNKNOWN jboss.j2ee:jar=RemarksEJBS.jar,name=RemarksEJB,service=EJB3>" is in error due to the following reason(s): ** UNRESOLVED Demands 'persistence.unit:unitName=RemarksEJBS.jar#Model' **