Jump to content
Changes to the Jaspersoft community edition download ×

UnknownHostException


Recommended Posts

By: Vidya Meenakshi - vidyanani

UnknownHostException

2002-04-29 19:53

java.net.UnknownHostException: http://www.jasperreports.com

at java.net.InetAddress.getAllByName0(InetAddress.java:571)

at java.net.InetAddress.getAllByName0(InetAddress.java:540)

at java.net.InetAddress.getByName(InetAddress.java:449)

at java.net.Socket.<init>(Socket.java:100)

at sun.net.NetworkClient.doConnect(NetworkClient.java:50)

at sun.net.www.http.HttpClient.openServer(HttpClient.java:335)

at sun.net.www.http.HttpClient.openServer(HttpClient.java:521)

at sun.net.www.http.HttpClient.<init>(HttpClient.java:271)

at sun.net.www.http.HttpClient.<init>(HttpClient.java:281)

at sun.net.www.http.HttpClient.New(HttpClient.java:293)

at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection

.java:404)

at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLCon

nection.java:497)

at java.net.URL.openStream(URL.java:798)

at org.apache.xerces.readers.DefaultReaderFactory.createReader(DefaultRe

aderFactory.java:149)

at org.apache.xerces.readers.DefaultEntityHandler.startReadingFromExtern

alEntity(DefaultEntityHandler.java:767)

at org.apache.xerces.readers.DefaultEntityHandler.startReadingFromExtern

alSubset(DefaultEntityHandler.java:566)

at org.apache.xerces.framework.XMLDTDScanner.scanDoctypeDecl(XMLDTDScann

er.java:1131)

at org.apache.xerces.framework.XMLDocumentScanner.scanDoctypeDecl(XMLDoc

umentScanner.java:2177)

at org.apache.xerces.framework.XMLDocumentScanner.access$000(XMLDocument

Scanner.java:86)

at org.apache.xerces.framework.XMLDocumentScanner$PrologDispatcher.dispa

tch(XMLDocumentScanner.java:882)

at org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentS

canner.java:380)

at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:908)

at org.apache.commons.digester.Digester.parse(Digester.java:1206)

at dori.jasper.xml.JRXmlLoader.loadXML(JRXmlLoader.java:302)

at dori.jasper.xml.JRXmlLoader.load(JRXmlLoader.java:143)

at dori.jasper.engine.JasperManager.compileReport(JasperManager.java:868

)

at com.claridyne.dyna.common.reports.CdJasperReport.main(CdJasperReport.

java:40)

 

NESTED BY :

dori.jasper.engine.JRException:

at dori.jasper.xml.JRXmlLoader.loadXML(JRXmlLoader.java:310)

at dori.jasper.xml.JRXmlLoader.load(JRXmlLoader.java:143)

at dori.jasper.engine.JasperManager.compileReport(JasperManager.java:868

)

at com.claridyne.dyna.common.reports.CdJasperReport.main(CdJasperReport.

java:40)

 

All I am doing is :

 

JasperManager.compileReport("FontsReport.xml");

 

Why?

 

 

By: Teodor Danciu - teodord

RE: UnknownHostException

2002-04-30 00:57

 

Hi,

 

Make sure that the DTD files found in the

package "dori/jasper/dtds" are available

in the classpath when you compile your report.

 

If the engine does not find the DTD file through

the classpath, it throws this error.

 

Good luck!

Teodor

 

 

 

By: Vidya Meenakshi - vidyanani

RE: UnknownHostException

2002-04-30 10:43

Thanks,I got it working

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...