Skip to content

Your example server doesn't work. #1

@GoogleCodeExporter

Description

@GoogleCodeExporter
What steps will reproduce the problem?
1. Download Tomcat 7.0.39 from the Apache website and set up environment 
variables so it will run.
2. Download The Http dispatch server example on your project page: 
http://code.google.com/p/http-dispatch/downloads/detail?name=HTTP_Dispatch_Test_
Server.war&can=2&q=

What is the expected output? 
To see no errors in the log file and be able to run the test android 
application (modified the dispatch url to my expected server and port) on your 
download page. )

What do you see instead?
In the catalina log of my tomcat server:
INFO: Starting Servlet Engine: Apache Tomcat/7.0.39
26-apr-2013 10:07:42 org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive 
C:\Users\Leejjon\Applications\apache-tomcat-7.0.39\webapps\HTTP_Dispatch_Test_Se
rver.war
26-apr-2013 10:07:43 org.apache.catalina.core.StandardContext startInternal
SEVERE: Error listenerStart
26-apr-2013 10:07:43 org.apache.catalina.core.StandardContext startInternal
SEVERE: Context [/HTTP_Dispatch_Test_Server] startup failed due to previous 
errors
26-apr-2013 10:07:43 org.apache.catalina.loader.WebappClassLoader 
clearReferencesThreads
SEVERE: The web application [/HTTP_Dispatch_Test_Server] appears to have 
started a thread named [com.google.inject.internal.util.$Finalizer] but has 
failed to stop it. This is very likely to create a memory leak.
26-apr-2013 10:07:43 org.apache.catalina.loader.WebappClassLoader 
checkThreadLocalMapForLeaks
SEVERE: The web application [/HTTP_Dispatch_Test_Server] created a ThreadLocal 
with key of type [com.google.inject.internal.InjectorImpl$1] (value 
[com.google.inject.internal.InjectorImpl$1@74893969]) and a value of type 
[java.lang.Object[]] (value [[Ljava.lang.Object;@5d185844]) but failed to 
remove it when the web application was stopped. Threads are going to be renewed 
over time to try and avoid a probable memory leak.
26-apr-2013 10:07:43 org.apache.catalina.startup.HostConfig deployDirectory

The Android application gives a 404 when I try to connect (while I can ping the 
server and go to the default apache page).

What version of the product are you using? On what operating system?
- The versions of your server and Android application on the download page of 
this moment.
- Windows 7
- Java 1.7.0_04
- Apache Tomcat 7.0.39


Original issue reported on code.google.com by leej...@gmail.com on 26 Apr 2013 at 8:23

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions