[Insight-users] ITKToolkit.jar not loading from a web page
Hammond, Christopher R (Research)
hammondc at crd.ge.com
Wed Dec 28 10:12:46 EST 2005
Hello,
I am trying to use InsightToolkit.jar from a jsp web page in Tomcat. I am able to run the code from the command line in the ITK build on the same machine. I have copied the ITKToolkit.jar file to the WEB-INF/lib directory. When I access the web page I get the error.
javax.servlet.ServletException: Can't load library: /InsightToolkit.jar must be in CLASSPATH/libSwigRuntimeJava.so
at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:498)
at org.apache.jsp.displayDicom_jsp._jspService(displayDicom_jsp.java:63)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:92)
....
I don't know what the first line means when it references libSwigRuntimeJava.so. This file is in my unix path. Maybe some mod to Tomcat startup?
Thanks
Christopher Hammond
Computational Biology and Biostatistics Lab
GE Global Research Center
Building K1, Room 5B37
1 Research Circle, Schenectady, NY 12301
* Phone: 518.387.6960 Dial Comm: 8*833.6960
* FAX: 518.387.7765
More information about the Insight-users
mailing list