Bugs item #439133, was opened at 2001-07-06 11:09
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=376685&aid=439133&group_id=22866

Category: JBossServer
Group: v2.2 (stable)
Status: Open
Resolution: None
Priority: 5
Submitted By: Howard Ship (hship)
Assigned to: Nobody/Anonymous (nobody)
Summary: JBoss should have local copies of DTDs

Initial Comment:
OS: Windows 2000 Server
JDK 1.3

JBoss should keep local copies of DTDs (i.e., as 
resources in the classpath) and should configure the 
XML parser to use the local copies instead of the 
canonical copies when the public ID is properly 
specified.

In this example, our firewall crashed, preventing 
access to java.sun.com.  However, this could as likely 
be because java.sun.com crashed, or because Sun 
monkeyed with the paths to the canonical DTDs.  Both 
of these problems have screwed me in the past (not 
with Sun, but with, for example, TopLink).

In addition, it *must* be faster to loaded the DTD 
from a local resource than to read it across the 
network.


[J2EE Deployer Default] Deploy J2EE application: 
file:/C:/JBoss-2.2.2/deploy/Vli
bBeans.jar
[J2EE Deployer Default] Create application 
VlibBeans.jar
[J2EE Deployer Default] install module VlibBeans.jar
[Container factory] Deploying:file:/C:/JBoss-
2.2.2/tmp/deploy/Default/VlibBeans.
jar
[Container factory] External entity not 
found: "http://java.sun.com/dtd/ejb-jar_
2_0.dtd".:-1:4
[Container factory] java.net.UnknownHostException: 
java.sun.com
[Container factory]     at 
org.apache.crimson.parser.Parser2.fatal(Parser2.java:
3035)
[Container factory]     at 
org.apache.crimson.parser.Parser2.externalParameterEn
tity(Parser2.java:2723)
[Container factory]     at 
org.apache.crimson.parser.Parser2.maybeDoctypeDecl(Pa
rser2.java:1154)
[Container factory]     at 
org.apache.crimson.parser.Parser2.parseInternal(Parse
r2.java:488)
[Container factory]     at 
org.apache.crimson.parser.Parser2.parse(Parser2.java:
304)
[Container factory]     at 
org.apache.crimson.parser.XMLReaderImpl.parse(XMLRead
erImpl.java:433)
[Container factory]     at 
org.apache.crimson.jaxp.DocumentBuilderImpl.parse(Doc
umentBuilderImpl.java:179)
[Container factory]     at 
javax.xml.parsers.DocumentBuilder.parse(DocumentBuild
er.java:86)
[Container factory]     at 
org.jboss.metadata.XmlFileLoader.getDocument(XmlFileL
oader.java:148)
[Container factory]     at 
org.jboss.metadata.XmlFileLoader.getDocument(XmlFileL
oader.java:132)
[Container factory]     at 
org.jboss.metadata.XmlFileLoader.load(XmlFileLoader.j
ava:89)
[Container factory]     at 
org.jboss.ejb.ContainerFactory.deploy(ContainerFactor
y.java:388)
[Container factory]     at 
org.jboss.ejb.ContainerFactory.deploy(ContainerFactor
y.java:334)
[Container factory]     at 
org.jboss.ejb.ContainerFactory.deploy(ContainerFactor
y.java:275)
[Container factory]     at 
java.lang.reflect.Method.invoke(Native Method)
[Container factory]     at 
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanSe
rverImpl.java:1628)
[Container factory]     at 
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanSe
rverImpl.java:1523)
[Container factory]     at 
org.jboss.deployment.J2eeDeployer.startApplication(J2
eeDeployer.java:415)
[Container factory]     at 
org.jboss.deployment.J2eeDeployer.deploy(J2eeDeployer
.java:178)

----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=376685&aid=439133&group_id=22866

_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to