tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: DCOM problem in Tomcat 6 on Windows
Date Tue, 11 Dec 2007 23:28:43 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Karsten,

You didn't mention if you were running Tomcat as a service. I'll assume
you are.

Karsten Silz wrote:
> The call to "CoCreateInstanceEx" in the DLL is returning an error
> code of 0x800706BA, which translates to the message "The RPC server
> is unavailable.", so the DCOM setup fails.

[snip]

> DCOM communication works just fine [from a console program].

Just for grins, have you tried using the identical DLL to run this
console program?

Usually when folks have problems and weird issues running Tomcat on
Windows like this is because they are using Tomcat as a Windows Service
and aren't sensitive to the differences in privilege for their console
user (usually "Karsten" or whatever) and the Tomcat service user
("Tomcat"? "System"... not sure what the default is).

You might want to look into the permissions of the effective user that
Tomcat uses when running as a service.

- -chris

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHXx0r9CaO5/Lv0PARAhZYAKC7GXdiS+FaRLc8TmVxbCxfMgjnAwCgomeL
IQzJGXMvgVk6gO72K0raj9o=
=MVKj
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message