5608057 / javamelody

Automatically exported from code.google.com/p/javamelody
0 stars 0 forks source link

java.lang.IllegalStateException: Unexpected html content type, maybe not authentified #337

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.deploy app & javamelody
2.start tomcat
3.request javamelody and add a App
I type url : http://localhost:8080/xxx/

What is the expected output? What do you see instead?
It's a alert show me :java.lang.IllegalStateException: Unexpected html content 
type, maybe not authentified

What version of the product are you using? On what application server, JDK,
operating system?
javamelody-1.46.0.zip
tomcat 6.x,jdk1.6,windows-7

Please provide any additional information below.
11:16:32,372 WARN  [javamelody] java.lang.IllegalStateException: Unexpected 
html content type, maybe not authentified
java.lang.IllegalStateException: Unexpected html content type, maybe not 
authentified
    at net.bull.javamelody.LabradorRetriever.read(LabradorRetriever.java:294)
    at net.bull.javamelody.LabradorRetriever.call(LabradorRetriever.java:161)
    at net.bull.javamelody.RemoteCollector.collectForUrl(RemoteCollector.java:391)
    at net.bull.javamelody.RemoteCollector.collectDataWithUrls(RemoteCollector.java:96)
    at net.bull.javamelody.RemoteCollector.collectData(RemoteCollector.java:78)
    at net.bull.javamelody.CollectorServer.collectForApplication(CollectorServer.java:167)
    at net.bull.javamelody.CollectorServer.collectForApplication(CollectorServer.java:141)
    at net.bull.javamelody.CollectorServer.addCollectorApplication(CollectorServer.java:249)
    at net.bull.javamelody.CollectorController.addCollectorApplication(CollectorController.java:96)
    at net.bull.javamelody.CollectorServlet.doPost(CollectorServlet.java:135)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:602)
    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
    at java.lang.Thread.run(Thread.java:619)

Original issue reported on code.google.com by hantai8...@gmail.com on 2 Sep 2013 at 3:22

GoogleCodeExporter commented 8 years ago
First, the collector server is optional: you may monitor your application 
without using the collector server. And deploying the collector server in the 
same tomcat than the application is irrelevant.

Then, the javamelody monitoring must be installed and working in your 
application (http://code.google.com/p/javamelody/wiki/UserGuide), before adding 
it to the collector server.

So, what is displayed if you open http://localhost:8080/xxx/monitoring
in a browser where http://localhost:8080/xxx/ is the url of your application?

Original comment by evernat@free.fr on 2 Sep 2013 at 10:12

GoogleCodeExporter commented 8 years ago
No response from the reporter, so resolving as invalid/incomplete.

Original comment by evernat@free.fr on 30 Sep 2013 at 9:45