Hi, In this case you will have to share the data between the processes. A simple and easy solution would be to use http://hazelcast.com/, for example.
On Tue, Oct 28, 2014 at 2:06 PM, Jason Ricles <jgr...@alum.lehigh.edu> wrote: > No, > > it is external as in it is running in a daemon on a linux machine where the > tomcat server is also running. > > On Tue, Oct 28, 2014 at 4:35 AM, Johan Compagner <jcompag...@servoy.com> > wrote: > > > > > > > > > > I would like to be able to access my sessions from an external java > > class, > > > however each time I do sessionList.getsize() it keeps coming back as 0, > > but > > > there is an active sessions. Is there any way I can access the active > > > sessions in tomcat from an external java class? > > > > > > Jason > > > > > > > What is an external java class? Is it in the same class loader? so it is > > just part of the webapplication? > > then the above approach should work fine > > > > > > -- > > Johan Compagner > > Servoy > > >