Are you on a live network with an Internet connection?  My guess is that
you are trying to start the XML parser -- without which nothing is going
to work -- and it is trying to get the DTD from the host specified.  If
you are really, really stuck, it is possible to modify DOCTYPE so that it
references a locally cached static copy of the DTD, but most people do not
have to do that.

For example, in the EAR file you are trying to deploy, you will often have
something like a META-INF/application.xml file (or any XML file, for that
matter) which begins like this:

<?xml version="1.0"?>
<!DOCTYPE application PUBLIC "-//Sun Microsystems, Inc.//DTD J2EE
Application 1.2//EN" "http://java.sun.com/j2ee/dtds/application_1_2.dtd";>

Once you start down that road, you need to be able to get the DTD file.  
If your machine is not on a live network, you need to supply a local copy
of the DTD file and modify the DOCTYPE attribute to point to it.

-- Mike


On 2001-06-23 at 19:05 +0200, Marek Sedliak wrote:

> Hi all,
> 
> I am new in JBoss and please I would like to ask you for help.
> 
> I am using JBoss-Tomcat installation and when deploying my .ear file
> (containing EJB jar file and Servlets war file) I am getting the following
> exception:
> 
> 
> [Auto deploy] java.net.UnknownHostException: java.sun.com
> [Auto deploy]   at
> org.apache.crimson.parser.Parser2.fatal(Parser2.java:3035)
> [Auto deploy]   at
> org.apache.crimson.parser.Parser2.externalParameterEntity(Par
> ser2.java:2723)
> [Auto deploy]   at
> org.apache.crimson.parser.Parser2.maybeDoctypeDecl(Parser2.ja
> va:1154)
> [Auto deploy]   at
> org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:
> 488)
[lots of stuff removed]



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

Reply via email to