Re: When using Tomcat, got "80004002: No such interface supported".
Herman Lee <[email protected]> Wed, 17 Aug 2005 08:22:09 -0400
| Newsgroups | gmane.comp.windows.devel.jawin |
|---|---|
| Message-ID | <[email protected]> |
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. Any idea or help that you can think of would be appreciated! >>> [email protected] 8/16/05 3:05:18 PM >>> This may be more about telling Java(while using the launch scripts of tomcat) where to find the jawin dll. May need to set the java.*library*.*path system property. You can set it with the CATALINA_OPTS env var to include -D*java.*library*.*path=\path-to-jawin-dll\ *Herman Lee wrote: >Everthing is fine when I tried jawin in a small java console program. > >When I used the same codes in a java bean, which is activated by a jsp >page, I got the following error: > >"80004002: No such interface supported" > >Using Jawin 2.0-alpha1 and Apache Tomcat 5.0. > >Any help would be appreciated! > > >