[Insight-users] ITKToolkit.jar not loading from a web page

Luis Ibanez luis.ibanez at kitware.com
Wed Dec 28 11:50:28 EST 2005



Hi Hammond,


Some questions:


1) Are you trying to run ITK from an Applet ?

2) When you say that libSwigRuntimeJava.so
    is in your Unix path, do you mean the
    one in the server ? or the one in the
    client ?

3) What do you have right now in your
    CLASSPATH ?


Please let us know


    Thanks


       Luis


--------------------------------------
Hammond, Christopher R (Research) wrote:
> 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
> 
> 
> _______________________________________________
> Insight-users mailing list
> Insight-users at itk.org
> http://www.itk.org/mailman/listinfo/insight-users
> 
> 



More information about the Insight-users mailing list