tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Konstantin Kolinko <knst.koli...@gmail.com>
Subject Re: Configuring a JSR-356 Websocket
Date Tue, 22 Apr 2014 13:02:06 GMT
2014-04-22 16:43 GMT+04:00 Thom Hehl <thehl@corrisoft.com>:
>
> On 04/22/2014 07:50 AM, Konstantin Kolinko wrote:
>>
>> 2014-04-22 15:31 GMT+04:00 Thom Hehl <thehl@corrisoft.com>:
>>>
>>> On 04/21/2014 04:30 PM, Daniel Mikusa wrote:
>>>>
>>>> On Apr 21, 2014, at 9:58 AM, Thom Hehl <thehl@corrisoft.com> wrote:
>>>>
>>
>>
>> 1. What exactly version of Tomcat you are using?
>> https://wiki.apache.org/tomcat/FAQ/Linux_Unix#Q5
>>
>> 2. Does you copy of Tomcat has the following libraries in its lib
>> directory?
>> tomcat-websocket.jar
>> websocket-api.jar
>>
>> 3. Loading of what class fails?
>>
>> Your class, or some of its dependencies?
>>
>> What is stacktrace when class loading fails?
>>
>>> I have been through the examples web.xml and cannot find any
>>> configuration for websockets
>>> at all except the listener definition for the old school version of web
>>> sockets. (I'm
>>> assuming this predated JSR-356.)
>>
>> All websockets in Tomcat 8 are JSR-356.  ("Old-school" were in Tomcat
>> 7, where both them and JSR-356 are available now).
>>
>> Best regards,
>> Konstantin Kolinko
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>> For additional commands, e-mail: users-help@tomcat.apache.org
>>
> 1. Sorry, tomcat 8.0.5.
> 2. Yes.
> 3. My class. A class being used was not included on the classpath, which
> caused the class not to load.
>
> The stacktrace is IllegalStateException from ClassNotFoundException. This
> stack trace doesn't show up anywhere in tomcat 8.0.5.

If you are in debugger, you can go to "threads" view and there should
be a way to copy a thread's stacktrace in its context menu.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message