[vtkusers] Java servlet + Glassfish + volume rendering applications problem
sebastien.jourdain at kitware.com
Thu Jan 8 13:31:03 EST 2015
Are you getting the same instance of the servlet, or did Glassfish
instantiate another servlet to handle your second request?
This might not be an issue with your design but it actually could be one.
Also what happen when that servlet get GC?
Just some random thought not knowing anything about your architecture.
On Wed, Jan 7, 2015 at 10:14 PM, Emptystack <wulihouxiaoshuai at 163.com>
> Hello everyone! I have developed a rendering engine (using vtk's
> java-wrapped classes) which can accept users' events like mouse coordinates
> and then generate the resulting image. It works well when it is run as pure
> java applications. But when I deployed it into glassfish web server by Java
> servlet technology, something unexpected happened. When I send the first
> request (from our developed HTML5 web-based medical image viewer) to the
> server, everything works well and we can also get the rendering image. But
> when I send a request to the web server again, my web server stopped at
> the point of vtkRenderWindow::Render(). In a word, In a java servlet
> environment, the first request to this method works very well, but the
> second request failed.
> I have been tormented by this problem for a long time. Hope someone can
> Best wishes!
> View this message in context:
> Sent from the VTK - Users mailing list archive at Nabble.com.
> Powered by www.kitware.com
> Visit other Kitware open-source projects at
> Please keep messages on-topic and check the VTK FAQ at:
> Search the list archives at: http://markmail.org/search/?q=vtkusers
> Follow this link to subscribe/unsubscribe:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the vtkusers