Discussions

EJB design: The java.net.UnknownHostException

  1. The java.net.UnknownHostException (3 messages)

    I am using Apache Tomcat 5.5.27 and servlet/jsp code(version 2.4/2.0). Am getting below error in Log4j error file : 2009-01-08 21:37:38,701 [http-8080-Processor25] ERROR org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/fas].[jsp] - Servlet.service() for servlet jsp threw exception java.net.UnknownHostException: APAC at jcifs.netbios.NameServiceClient.getAllByName(NameServiceClient.java:292) at jcifs.netbios.NbtAddress.getAllByName(NbtAddress.java:451) at jcifs.smb.SmbSession.getChallengeForDomain(SmbSession.java:95) at jcifs.http.NtlmHttpFilter.doFilter(NtlmHttpFilter.java:123) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:875) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689) at java.lang.Thread.run(Unknown Source): Can you guys let me know if some one has faced the issue? Do any one has any work around? Kindly let me know its a bit urgent.

    Threaded Messages (3)

  2. Re: The java.net.UnknownHostException[ Go to top ]

    Recently I had come across a site on Java, nice one really http://interview-questions.weebly.com Hope they can solve your issue. Thanks.
  3. Pretty strange. Is there anything in your log4j.xml, which looks for APAC host? Thanks, Vinod http://blog.vinodsingh.com/
  4. Any resolution???[ Go to top ]

    Is there any resolution to this problem. I am getting the same error