problems compiling demo interes project
fireball May 14, 2003 2:29 AMHi!
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