1 Reply Latest reply on Dec 8, 2005 6:03 PM by ryan ahn

    can't validate ejb-jar.xml from Duke's Bank code

    ryan ahn Newbie

      Hi All,

      After spending two days on this, I decide to post it since I am not nowhere near solving the issue.

      This is what I get when I start jboss3.2.6

      14:28:11,392 ERROR [URLDeploymentScanner] Incomplete Deployment listing:
      Incompletely deployed packages:
      org.jboss.deployment.DeploymentInfo@85be08d { url=file:/C:/jboss-3.2.6/server/default/deploy/bankws-ejb.jar }
      deployer: org.jboss.ejb.EJBDeployer@15428dd
      status: Deployment FAILED reason: ejb-jar.xml must define a valid DOCTYPE!
      state: FAILED

      I run validation of ejb-jar.xml using xerces 2.6 and this is what I get...

      C:\gps\j2eetutorial14\examples\bank\dd\ejb\ejb-jar.xml(0,0): An exception occurred! Type:NetAccessorException, Message:Could not open file:http://www.ibm.com/webservices/xsd/j2ee_web_services_client_1_1.xsd
      http://java.sun.com/xml/ns/j2ee/j2ee_1_4.xsd(77,73): Fatal error encountered during schema scan

      My setting jdk 1.4.10 ant 1.6.5 ..xecrces parser xercesImpl.jar is latest 2.7 and it is loaded in jboss\lib and ant lib...

      Thanks for helping me...!!