[vtkusers] Java servlet + Glassfish + volume rendering applications problem
Sebastien Jourdain
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.
Seb
On Wed, Jan 7, 2015 at 10:14 PM, Emptystack <wulihouxiaoshuai at 163.com>
wrote:
> 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
> web
> 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
> help
> me!
>
> Best wishes!
>
>
>
> --
> View this message in context:
> http://vtk.1045678.n5.nabble.com/Java-servlet-Glassfish-volume-rendering-applications-problem-tp5730017.html
> Sent from the VTK - Users mailing list archive at Nabble.com.
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Search the list archives at: http://markmail.org/search/?q=vtkusers
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20150108/0e59f949/attachment.html>
More information about the vtkusers
mailing list