|
From: Jim R. <jr...@er...> - 2003-12-12 14:30:55
|
Leif, What's strange is the DCOM _client_ work fine. We have an =20 implementation of both the client and the server side of OPC. Both use =20 DLLs. The client is fine, the server fails. Jim On 2003.12.11 20:47, Leif Mortenson wrote: > Philip, > Have you made any progress with your DCOM issue? There was a post =20 > today on a related issue that may be at the root of your problems. He =20 > noticed that DCOM was expecting the JVM to be the one specified by =20 > JAVA_HOME, but the JVM launched by the Wrapper was not the same due =20 > to the value of the wrapper.java.command property. >=20 > Go take a look at the issue and let me know the status of your =20 > problem. =20 > http://sourceforge.net/tracker/index.php?func=3Ddetail&aid=3D820216&gro= up_id=3D39428&atid=3D425187 >=20 > Cheers, > Leif >=20 > Philip Kubat wrote: >=20 >> Ok, here is my guess on what is going on. DCOM/COM interfaces exists =20 >> in a MTA (multi thread apartment) and maintains is own reference =20 >> counter to threads using it, as stated my Microsoft. When I the java =20 >> app in ran within wrapper the jni calls are started in new threads. =20 >> I can view this via the Microsoft debugger. When the first call =20 >> finishes that thread ends, (prior to me next jni call) and it kills =20 >> the last and only reference in the MTA. Thus when the other JNI =20 >> calls go to use this interface it now longer exists. >>=20 >> So the question is why do the jni calls get place in new threads. =20 >> This is not the results when the app is not ran within wrapper. IE =20 >> =E2=80=9Cjava myAppClass=E2=80=9D >>=20 >> Thanks >>=20 >> Phil >> >=20 >=20 >=20 >=20 > ------------------------------------------------------- > This SF.net email is sponsored by: IBM Linux Tutorials. > Become an expert in LINUX or just sharpen your skills. Sign up for =20 > IBM's > Free Linux Tutorials. Learn everything from the bash shell to sys =20 > admin. > Click now! http://ads.osdn.com/?ad_id=3D1278&alloc_id=3D3371&op=3Dclick > _______________________________________________ > Wrapper-user mailing list > Wra...@li... > https://lists.sourceforge.net/lists/listinfo/wrapper-user --=20 Jim Redman (505) 662 5156 x85 http://www.ergotech.com |