Caldarale, Charles R schrieb am 20.01.2009 um 21:11:21 (-0600):
> Environment variables are not used by services, so it doesn't really
> matter what's in PATH.

True, it only matters for the script version.

> Does the account the Tomcat service runs under have access to the
> directory of interest?

Tomcat logs on as the Local System account. Opening a command prompt
using an AT job to examine this (at 01:15 /interactive cmd.exe). When it
opens:

C:\WINDOWS\system32>whoami
SYSTEM

C:\WINDOWS\system32>cd \src\BerkeleyDbXml\dbxml-2.4.16\bin\debug

C:\src\BerkeleyDbXml\dbxml-2.4.16\bin\debug>notepad libdb_java46d.dll

This works, I can see the DLL in notepad. So the Local System account
can read the files.

> Try setting -verbose:jni in the Java tab of tomcat?w.exe and see if
> anything interesting is displayed.

Don't know exactly what to look for, but it tells mit is dynamic-linking
and registering a lot of native methods, all of which are in namespaces
under "java", "sun", "com.sun", and "org.apache".

I guess I would have been looking for some failure related to
"com.sleepycat", but that is just a guess.

> > And indeed, this works using bin\startup.cmd.
> 
> We'll presume you meant bin\startup.bat.

You can safely do that. :-)

Michael Ludwig

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to