Yes,

XmlFileLoader has a map of dtds to file names in jboss.jar
As Dain says, just change the url in the dtd.

Regards,
Adrian


>From: "Edward Gemar" <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>CC: <[EMAIL PROTECTED]>
>Subject: RE: [JBoss-user] How do I run JBoss when deployment descriptor 
>dtd's are unavailable?
>Date: Tue, 5 Mar 2002 11:56:08 -0600
>
>       Excuse my ignorance as I'm relatively new to JBoss, but I'm
>still a little foggy on how the dtd, which is a resource on the sun
>site, will get loaded from the local jboss jar file.  Does the
>XmlFileLoader have some sort of map that links the URL
>http://java.sun.com/dtd/application_1_3.dtd  to the application_1_3.dtd
>in the jar file?  I don't see how the fact that the dtd is the jboss.jar
>changes the fact that the doctype declaration in the application.xml
>file points to dtd on the sun site.  It obviously does, but I don't see
>the connection yet.  How does this work?
>
>       Edward
>
>Edward Gemar
>ForwardVue Technologies, Inc.
>Austin, TX
>Vox: 512-482-5126
>Fax: 512-651-3209
>
>
>-----Original Message-----
>From: Adrian Brock [mailto:[EMAIL PROTECTED]]
>Sent: Tuesday, March 05, 2002 11:42 AM
>To: [EMAIL PROTECTED]
>Cc: [EMAIL PROTECTED]
>Subject: RE: [JBoss-user] How do I run JBoss when deployment descriptor
>dtd's are unavailable?
>
>This DTD was missing from the XmlFileLoader before Feb 2nd this
>year. Any versions of JBoss3 after that should be ok.
>
>A temporary solution would be to run a webserver on your laptop
>and in your host table add the entry
>
>127.0.0.1 java.sun.com
>
>Make sure the ip stack is configured to look at hosts before
>the dns.
>
>Regards,
>Adrian
>
>
> >From: "Edward Gemar" <[EMAIL PROTECTED]>
> >To: <[EMAIL PROTECTED]>, "'Jboss-User \(E-mail\)'"
> ><[EMAIL PROTECTED]>
> >Subject: RE: [JBoss-user] How do I run JBoss when deployment descriptor
>
> >dtd's are unavailable?
> >Date: Tue, 5 Mar 2002 10:58:03 -0600
> >
> >JBoss gives me an "External entity not found" error when attempting to
> >load my application.xml file.  This is reasonable when offline since
>the
> >dtd "http://java.sun.com/dtd/application_1_3.dtd"; is indeed
>inaccessible
> >when not connected to the network.  I just checked the jboss jar files
> >and the dtd is indeed in jboss.jar, but wouldn't I need to change the
> >URL in the doctype to point to that one to not get this problem?  What
> >URL are you using to specify the dtd location?
> >
> >This is what my doctype statement looks like:
> >
> ><!DOCTYPE application PUBLIC "-//Sun Microsystems, Inc.//DTD J2EE
> >Application 1.3//EN" "http://java.sun.com/dtd/application_1_3.dtd";>
> >
> >
> >Edward
> >
> >Edward Gemar
> >ForwardVue Technologies, Inc.
> >Austin, TX
> >Vox: 512-482-5126
> >Fax: 512-651-3209
> >
> >-----Original Message-----
> >From: Alex Loubyansky [mailto:[EMAIL PROTECTED]]
> >Sent: Tuesday, March 05, 2002 10:46 AM
> >To: 'Edward Gemar'; Jboss-User (E-mail)
> >Subject: RE: [JBoss-user] How do I run JBoss when deployment descriptor
> >dtd's are unavailable?
> >
> >Hello.
> >
> >All DTDs should be on your local machine in jboss' jar files. I've
>never
> >encountered such a problem running locally. How does JBoss complain on
> >it?
> >
> >alex
> >-----Original Message-----
> >From: [EMAIL PROTECTED]
> >[mailto:[EMAIL PROTECTED]]On Behalf Of Edward
>Gemar
> >Sent: Tuesday, March 05, 2002 5:58 PM
> >To: [EMAIL PROTECTED]
> >Subject: [JBoss-user] How do I run JBoss when deployment descriptor
> >dtd's are unavailable?
> >Hi all,
> >We are setting up a laptop to take to customer sites and demo our J2EE
> >app.= We may or may not have internet connectivity at our customer
>sites
> >so it's important that we can run the server offline (i.e. - not
> >connected to the internet)== The problem is that JBoss when running
> >offline, JBoss complains that it can't the application deployment
> >descriptor dtd at =http://java.sun.com/dtd/application_1_3.dtd.= What
>is
> >the correct way, if any, to turn off deployment descriptor dtd
> >validation in JBoss?= Any assistance is greatly appreciated.
> >
> >Edward
> >
> >
>
>
>
>
>_________________________________________________________________
>MSN Photos is the easiest way to share and print your photos:
>http://photos.msn.com/support/worldwide.aspx
>
>




_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp.;


_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to