House of Fusion
Search over 2,500 ColdFusion resources here
  
Home of the ColdFusion Community

Search cf-talk

July 03, 2009

<<   <   Today   >   >>
Su Mo Tu We Th Fr Sa
       1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31   

Home /  Groups /  ColdFusion Talk (CF-Talk)

problem with net integration

  << Previous Post |  RSS |  Sort Oldest First |  Sort Latest First |  Subscribe to this Group Next >> 
Top  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Rick Root
07/08/2008 02:01 PM

Alright so I wrote this custom tag that uses .net integration to create IIS virtual directories.  IT worked great when I implemented it last night. This morning, I uninstalled coldfusion 8 standard, and installed CF 8 Enterprise in multi-server mode. My web sites are flying now, but my code that creates virtual directories is now broke. It errors on this line: <cfobject     type=".net"     class="System.DirectoryServices.DirectoryEntry"     assembly="#dllPath#"     name="site"> with this error: System.DirectoryServices.DirectoryEntry null and this from the stack trace: java.lang.ClassNotFoundException: System.DirectoryServices.DirectoryEntry at coldfusion.runtime.dotnet.Assembly.loadClass(Assembly.java:232) at I verified that the dll referenced in dllPath still exists, so I'm not sure how to proceed debuggin this. Rick -- Rick Root New Brian Vander Ark Album, songs in the music player and cool behind the scenes video at www.myspace.com/brianvanderark

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Bilal Soylu
07/08/2008 02:41 PM

Could it be that you have uninstalled the java to .net bridge class files?

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Rick Root
07/08/2008 02:49 PM

> Could it be that you have uninstalled the java to .net bridge class files? I uninstalled coldfusion 8 completely then installed CF Enterprise. Unless the .NET integration service didn't get uninstalled and then didn't get re-installed... but if that's the case I don't know how to fix it. -- Rick Root New Brian Vander Ark Album, songs in the music player and cool behind the scenes video at www.myspace.com/brianvanderark

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Gerald Guido
07/08/2008 03:05 PM

See if the service is running... In the control panel >>Administrative Tools ----- Excess quoted text cut - see Original Post for more -----

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Rick Root
07/08/2008 03:29 PM

So I uninstalled the .net integration service.  And then reinstalled using the .net integration service installer. HOWEVER, it requires that you install to a specific instance of CF. If you're running multi-server it won't install to all instances. That's really lame. After installing it to the "Cfusion" instance it seems to work. So I ran the installer 2 more times for the other two instances (they are clustered).. but still no luck. the documentation for the .net installer: http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=othertechnologies_10.html mentions this: "The ColdFusion installer puts the .NET Integration software in the cf_root\jnbridge directory. If you install the ColdFusion multiserver configuration or the J2EE configuration, you can specify the directory in which to install the .NET Integration software. " Which doesn't really help at all especially since after running the installer three times there is no "jnbridge" folder in any of my instances. help!

Top  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Dave Watts
07/08/2008 07:42 PM

----- Excess quoted text cut - see Original Post for more ----- The "jnbridge" directory only exists in a standalone server install. In a multiserver install, it will go to c:\coldfusion8dotnetservice instead, by default. When you reran the installer multiple times, did it let you choose different directories? If you haven't tried that, go ahead and try it. My guess, though, is that it still won't work, because each install will overwrite the previously defined service information. So, here's what I'd try: 1. Install it and hook it to one instance. 2. Edit the service registry key (HKLM\System\CurrentControlSet\Services\ColdFusion 8 .NET Service) to change the service name to something unique. 3. Install it again to a different directory, hooking it to a different instance. 4. Edit that registry key. 5. Repeat steps 3 and 4 as needed. Let me know how that works. I haven't tried it. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information!

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Rick Root
07/09/2008 08:53 AM

Thanks Dave, I'll give that a try when I get a chance. If that's the only way to install .net integration *AFTER* the fact on a multi-server installation, Adobe needs to do something about that! Rick ----- Excess quoted text cut - see Original Post for more -----

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Tim Knell
07/18/2008 11:14 AM

Rick, Did you ever get this to work?  I'm VERY interested as I'm in the same situation. Thanks, Tim. ----- Excess quoted text cut - see Original Post for more -----


<< Previous Thread Today's Threads Next Thread >>

Mailing Lists