1 Reply Latest reply on Feb 25, 2003 4:50 PM by Ian Tivey

    Problems encountered when customising the Template project.

    Ian Tivey Newbie

      Hi everyone,

      I'm having problems customising the Template project used in the Getting Started documentation and hopefully someone out there can help me!

      I've created a simple Session Bean and a JSP page to access it and call a method on it.

      The directory structure is thus:

      /src/main/ejb/com/lboro/coteach/session/
      |------- UserTabInfoBean.java

      /web/jsp/
      |------- ejbTest.jsp

      /etc/WEB-INF/
      |--------- jboss-web.xml
      |--------- web-client.xml

      all of the other required directories (/src/main/client, /src/main/servlet) present but are empty.

      I had to remove the parts from build.xml which referenced the /etc/bin directory as I only have a web client.

      When I run ant, it says that it compiles fine.

      The problem comes when I switch to the window which JBoss is running in and get the following error

      21:38:59,527 INFO [MainDeployer] Deployed package: file:/var/local/jboss/server/default/deploy/ejb-test.jar
      21:38:59,530 ERROR [URLDeploymentScanner] MBeanException: Exception in MBean operation 'checkIncompleteDeployments()'
      Cause: Incomplete Deployment listing:
      Packages waiting for a deployer:

      Incompletely deployed packages:

      MBeans waiting for classes:

      MBeans waiting for other MBeans:
      [ObjectName: jboss.j2ee:jndiName=ejb/UserTabInfoEJB,service=EJB
      state: FAILED
      I Depend On:
      Depends On Me: java.lang.ClassNotFoundException: com.lboro.coteach.interfaces.UserTabInfoEJBHome]


      I have attached the UserTabInfoBean.java class to this message.

      I hope someone can help as it's getting close to handing in date!

      Many Thanks,

      Ian
      Loughborough University