java - tomcat as a service in windows do not load dll files of devices -


i trying run tomcat service, not load device driver dll files, , on starting startup.bat works perfectly.

anyone please suggest options try out.

when windows starts tomcat service not use startup.bat file manual startup. presume dll files in place not on java/tomcat path , made manual additions/changes startup.bat or catalina.bat make them available tomcat? if so, need modify service startup options define them there too.

at command prompt navigate tomcat bin folder. run command tomcat6w.exe //ms//servicename (replacing servicename name of service) open service dialog. click through java tab , there can see can define additional options pass service @ startup. need define value java.library.path refer folder dlls are.

tip: rename tomcat6w.exe file servicename.exe (replacing servicename name of service) , can double-click bring service dialog.


Comments

Popular posts from this blog

java - Suppress Jboss version details from HTTP error response -

gridview - Yii2 DataPorivider $totalSum for a column -

Sass watch command compiles .scss files before full sftp upload -