1 Reply Latest reply on May 16, 2005 3:32 PM by mikeg123

    deploying without internet connection

    mikeg123

      I have ejb-jar.xml genereated by an xdoclet and when I deployI don't have an internet connection. is there a way to tell xdoclet to create a DOCTYPE that is going to use local dtd file instead of grabbing it from internet? or tell JBoss not to look for doctype.?

        • 1. Re: deploying without internet connection
          mikeg123

          there was a typo in the checked in files for the 'public-id'
          the correct dtd specification for any of user created xml files should be as
          following sample:

          <!DOCTYPE application PUBLIC "-//Sun Microsystems, Inc.//DTD J2EE Application
          1.3//EN" "http://java.sun.com/dtd/application_1_3.dtd">

          JBoss will try to resolve the public-id ("Sun Microsys...") in it's
          org.jboss.deploymen.JBossEntityResolver class and since we had a typo it
          couldn't find it and that is why it was going to the internet
          ("http://java.sun.com"), otherwise it loads the dtd file from jboss.jar which
          is in the classpath.