Perhaps if you changed the first reference (to the V 1.3 dtd) to match the second reference, it would work.
 
Change
<!DOCTYPE application PUBLIC '-//Sun Microsystems, Inc.//DTD J2EE Application 1.3//EN' 'http://java.sun.com/dtd/application_1_3.dtd'>
To:
<!DOCTYPE application PUBLIC '-//Sun Microsystems, Inc.//DTD J2EE Application 1.3//EN' 'http://java.sun.com/j2ee/dtd/application_1_3.dtd'>
 
(I think you are missing the "/j2ee" section of the URL)
 
-Mike

[Michael Schulz]  -----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Sanjay Gupta
Sent: Wednesday, February 13, 2002 12:21 AM
To: [EMAIL PROTECTED]
Subject: [JBoss-user] Help : problem with ejb-jar.xml

Hi All,
I have two ear files. In one of the ear file, i use
 
<!DOCTYPE application PUBLIC '-//Sun Microsystems, Inc.//DTD J2EE Application 1.3//EN' 'http://java.sun.com/dtd/application_1_3.dtd'>
and in another i use
 
<!DOCTYPE application PUBLIC '-//Sun Microsystems, Inc.//DTD J2EE Application 1.3//EN' 'http://java.sun.com/j2ee/dtds/application_1_2.dtd'>
 
Now my problem is when i try to deploy my first ear, i get a message "External entity http://java.sun.com....," not found.
Java.net.socket exception, connection times out.
 
deplpys fine. What can be the possible cause for this error. I read in jboss doc tha we can add url for checking dtd's statically or dynamically.
 
Thanx in advance.
Regards,
Sanjay
 

Reply via email to