question: java.net.UnknownHostException: .chemease.local: .chemease.local

2007-03-21 Thread James liu
i use freebsd 6.2 , tomcat 6(gz file which not installed). java 1.5_07 anyone know how to solve? Error information: Mar 22, 2007 9:03:40 AM org.apache.catalina.core.StandardWrapperValve invoke SEVERE: Servlet.service() for servlet jsp threw exception java.net.UnknownHostException:

Re: question: java.net.UnknownHostException: .chemease.local: .chemease.local

2007-03-21 Thread Rashmi Rubdi
java.net.UnknownHostException Thrown to indicate that the IP address of a host could not be determined. Could you post the snippet of code that throws this error? -Rashmi On 3/21/07, James liu [EMAIL PROTECTED] wrote: SEVERE: Servlet.service() for servlet jsp threw exception

Re: question: java.net.UnknownHostException: .chemease.local: .chemease.local

2007-03-21 Thread James liu
I don't know where error happen from this information. It work well when i use winxp+tomcat6(same zip file)+java 1.6 It is index.jsp. %@ page contentType=text/html; charset=utf-8 pageEncoding=UTF-8% %-- Licensed to the Apache Software Foundation (ASF) under one or more contributor license

Re: question: java.net.UnknownHostException: .chemease.local: .chemease.local

2007-03-21 Thread James liu
Maybe header.jsp output host cause it happen Am i right? i m jsp newbie. %@ page contentType=text/html; charset=utf-8 pageEncoding=UTF-8% %-- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work

Re: question: java.net.UnknownHostException: .chemease.local: .chemease.local

2007-03-21 Thread James liu
i fix itjust modify my host name Thk u,Rashmi

Re: question: java.net.UnknownHostException: .chemease.local: .chemease.local

2007-03-21 Thread Filip Hanik - Dev Lists
your system returns .chemease.local as a hostname, and naturally that doesn't resolve to anything two options 1. fix your hostname 2. possibly add .chemease.local into /etc/hosts to trick the server, not sure how that is gonna work with the . prefix, but it just might Filip James liu wrote: