https://issues.apache.org/bugzilla/show_bug.cgi?id=56442

            Bug ID: 56442
           Summary: ClassNotFoundException does not produce error
           Product: Tomcat 8
           Version: 8.0.5
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: minor
          Priority: P2
         Component: WebSocket
          Assignee: dev@tomcat.apache.org
          Reporter: th...@corrisoft.com

I was attempting to deploy my war file with an endpoint annotation defined in
it to my tomcat server. When I deployed it, I received no error messages, but
the endpoint was returning 404.

I switched to tomcat 7.0.52 and dropped the war file in there. I received a
stack trace because one of the dependent classes was not included in the war
file. Once I fixed the classptath problems, the error disappeared and the
endpoint showed up. I moved this back to tomcat 8.0.5 and it is now working
fine.

The problem is that the error does not show up in the log. An error on the
dependent class needs to show up in the log to tell the deployer there is a
problem with the endpoint instead of silently not standing it up.

This problem can be re-created by creating a basic endpoint with one dependent
class not in the class path.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to