tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bob DeRemer <bob.dere...@thingworx.com>
Subject RE: standalone use of Tomcat 8 websocket-api.jar getWebSocketContainer returning null
Date Thu, 22 Aug 2013 18:01:54 GMT


> -----Original Message-----
> From: Mark Thomas [mailto:markt@apache.org]
> Sent: Thursday, August 22, 2013 1:37 PM
> To: Tomcat Users List
> Subject: Re: standalone use of Tomcat 8 websocket-api.jar
> getWebSocketContainer returning null
> 
> On 22/08/2013 17:39, Bob DeRemer wrote:
> > I'm trying to use the Tomcat8 jsr client functionality in a standalone
> > java client.  I'm trying to use the minimal number of jars, so I
> > gabbed websocket-api.jar ONLY.  When I call
> > ContainerProvider.getWebSocketContainer(), it returns null.
> >
> > Do I need another jar to resolve this on the client?
> 
> Yes. You need tomcat-websocket.jar (the implementation) and its dependencies
> (tomcat-juli.jar and tomcat-util.jar). It is possible to split the implementation
> into client and server but we haven't done that. It isn't like the JARs are that big
> anyway.

Not a problem, I just wanted to figure out the minimal as opposed to taking all of them

-thx

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


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


Mime
View raw message