-
1. Re: Problem of setting up JBoss 3.03
juha Oct 5, 2002 3:06 PM (in response to carfield)hrm, check your DOCTYPE declaration in the web.xml...?
-
2. Re: Problem of setting up JBoss 3.03
carfield Oct 6, 2002 12:58 PM (in response to carfield)I find that my web.xml haven't contain the DOCTYPE, but it work in JBoss 2.4.4...
However, after I add the DOCTYPE, it still error, I think my web.xml is not valid...
]Incompletely deployed packages:
[org.jboss.deployment.DeploymentInfo@9a58ebbc { url=file:/opt/jboss-3.0.3/server/default/deploy/smartcarpark.ear }
deployer: org.jboss.deployment.EARDeployer@ba5bdb
status: Deployment FAILED reason: The content of element type "web-app" must match "(icon?,display-name?,description?,distributable?,context-param*,servlet*,servlet
state: FAILED
watch: file:/opt/jboss-3.0.3/server/default/deploy/smartcarpark.ear
lastDeployed: 1033920459704
lastModified: 1033920459000
I have attach the web.xml, can anyone help me? -
3. Re: Problem of setting up JBoss 3.03
juha Oct 6, 2002 6:05 PM (in response to carfield)youre missing </web-app> at the end
-
4. Re: Problem of setting up JBoss 3.03
carfield Oct 7, 2002 12:42 AM (in response to carfield)It locate at line 119...
-
5. Re: Problem of setting up JBoss 3.03
juha Oct 7, 2002 5:33 AM (in response to carfield)not in the web.xml you posted it isn't
-
6. Re: Problem of setting up JBoss 3.03
juha Oct 7, 2002 5:41 AM (in response to carfield)oh and looking at the dtd it seems (servlet, servlet-mapping) is not a group, so you can't repeat them like that, you need to declare all your servlets first, and then all your servlet mappings.
-
7. Re: Problem of setting up JBoss 3.03
carfield Oct 7, 2002 2:45 PM (in response to carfield)Thx it work now. I don't know that the ordering of DTD is important before