1 Reply Latest reply on May 14, 2003 2:46 AM by fireball

    problems compiling demo interes project

    fireball

      Hi!

      I have followed this guide posted in another thread:

      ------------------------------------------------------------------
      1. Download the j2sdk1.4.x, j2sdkee1.3.1, ant1.5.1, xdoclet1.1.2 etc..., install them and set up all the relevant HOME's env variables.

      2. Download the jboss-3.0.3_tomcat-4.1.12.zip boundle and extract it to somewhere in the file system. I put it at c:\jboss-3.0.3_tomcat-4.1.12 for a simple start.

      3. Download the example from http://www.jboss.org/docs/manual/files/documentation-example.zip. I extracted it to c:\jboss-3.0.3_tomcat-4.1.12\examples...

      Please note, there is a prolem with the examples\org\jboss\docs\interest\web.xml, you need to add the following line to it:
      <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">

      4. From command prompt, go to c:\jboss-3.0.3_tomcat-4.1.12\examples\build, where the example was extracted to in step 3, and type in "ant intro-interest-ear"

      5. You will find interest.ear & interest.war under %JBOSS_HOME%\examples\build-examples\interest folder.

      6. Copy interest.ear to %JBOSS_HOME%\server\default\deploy

      7. Copy interest.war to %JBOSS_HOME%\tomcat-4.1.x\webapps

      8. Start JBozz...

      9. That's it! You can get to the Interest EJB Form the site at http://localhost:8080/interest
      ------------------------------------------------------------------

      After doing all this, i get the following error message:

      ------------------------------------------------------------------
      10:12:56,894 ERROR [URLDeploymentScanner] MBeanException: Exception in MBean operation 'checkIncompleteDeployments()'
      Cause: Incomplete Deployment listing:
      Packages waiting for a deployer:

      Incompletely deployed packages:
      [org.jboss.deployment.DeploymentInfo@fa3ebf22 { url=file:/C:/jboss 3.2.1/server/default/deploy/interest.ear }
      deployer: org.jboss.deployment.EARDeployer@955cd5
      status: Deployment FAILED reason: ejb-jar.xml must define a valid DOCTYPE!
      state: FAILED
      watch: file:/C:/jboss 3.2.1/server/default/deploy/interest.ear
      lastDeployed: 1052899970238
      lastModified: 1052899970144
      mbeans:
      ]MBeans waiting for classes:

      MBeans waiting for other MBeans:
      ------------------------------------------------------------------

      Any ideas?

      Cheers,
      Fireball

        • 1. Re: problems compiling demo interes project
          fireball

          Ok, i solved this problem by adding this line (<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">) to the interest/ejb-jar.xml file, but now i get the following strange error:

          Incompletely deployed packages:
          [org.jboss.deployment.DeploymentInfo@fa3ebf22 { url=file:/C:/jboss 3.2.1/server/default/deploy/interest.ear }
          deployer: org.jboss.deployment.EARDeployer@955cd5
          status: Deployment FAILED reason: The processing instruction target matching "[xX][mM][lL]" is not allowed.; - nested
          throwable: (org.xml.sax.SAXParseException: The processing instruction target matching "[xX][mM][lL]" is not allowed.)
          state: FAILED
          watch: file:/C:/jboss 3.2.1/server/default/deploy/interest.ear
          lastDeployed: 1052901687988
          lastModified: 1052901687894
          mbeans:
          ]MBeans waiting for classes:

          MBeans waiting for other MBeans:


          Anybody smarter than me? :(