I
ian ward
Hello,
I have some dlls and a corresponding set of jni classes which are part
of my jar which I want to run as a web server in tomcat. I think that
the jar is in the right place (webapps\myapp\WEB-INF\lib) but I'm not
sure where I need to put the dlls. Up to now, while developing/testing
outside of tomcat I have put the jar and the dlls in the same folder
but that doesn't seem to do it. I may have to set some sort of system
variable like path (which I understand is the java.library.path under
windows (xp)). I have tried this but again no joy.
Strangely, I got the thing working for a while, don't know how (moving
files around etc), but that seems to have been a flash in the pan. I'm
trying to launch the jar from a jsp page, via a useBean action and I
get a 'page can't be displayed' message and tomcat crashes and I have
to restart so I don't get any help.
I'm starting to get to the hair-tearing stage so any help, pointers,
suggestions would be very welcome.
Thanks
Ian
I have some dlls and a corresponding set of jni classes which are part
of my jar which I want to run as a web server in tomcat. I think that
the jar is in the right place (webapps\myapp\WEB-INF\lib) but I'm not
sure where I need to put the dlls. Up to now, while developing/testing
outside of tomcat I have put the jar and the dlls in the same folder
but that doesn't seem to do it. I may have to set some sort of system
variable like path (which I understand is the java.library.path under
windows (xp)). I have tried this but again no joy.
Strangely, I got the thing working for a while, don't know how (moving
files around etc), but that seems to have been a flash in the pan. I'm
trying to launch the jar from a jsp page, via a useBean action and I
get a 'page can't be displayed' message and tomcat crashes and I have
to restart so I don't get any help.
I'm starting to get to the hair-tearing stage so any help, pointers,
suggestions would be very welcome.
Thanks
Ian