Re: When using Tomcat, got "80004002: No such interface supported".
Morten Andersen <[email protected]> Thu, 25 Aug 2005 17:16:28 +0200
| Newsgroups | gmane.comp.windows.devel.jawin |
|---|---|
| Message-ID | <[email protected]> |
Hi Herman, Herman Lee wrote: > I tried setting the CATALINA_OPTS environment variable to the path of the jawin dll. The problem stills there. I think somehow it cannot locate the com interface, which has been registered in the registry. Since the java console program works without any problem, I think the problem is related to the security settings of my com dlls. I tried dcomcnfg and also setting the security permission of the com interface in the registry, but these also doesn't fix the problem. My Tomcat is started without using a SecurityManager. I think that if we were unable to locate the Jawin.dll you would get an UnsatisfiedLinkError, so I think your are right that the Jawin part seems okay. But a wild guess: Is tomcat running as some kind of service, using another user account than the one you are running the test-application with? If this is the case, perhaps your COM-interface has only been registered for your test user, and not system-wide and/or for the tomcat-service user? Hope this brings you a little further. Best Regards Morten