[mapguide-users] Coldfusion Wrapper Dev - Is there a Java Main-Class

Zac Spitzer zac.spitzer at gmail.com
Mon May 15 21:38:47 EDT 2006


which JAR files did you add to your CFMX lib path? there could be more
than one required.. there also could be conflicting versions of other
java libs involved

Also are you using CFMX 7?

the cfcdev mailing list should be a good place to ask for help in regard to this

cfcdev at cfczone.org

z




On 5/13/06, Chris Gountanis <cgountanis at mpower-tech.com> wrote:
> I keep getting errors:
>
> error no MapGuideJavaApi in java.library.path
> java.lang.UnsatisfiedLinkError: no MapGuideJavaApi in java.library.path
>
>
> And
>
>
> java.lang.NoClassDefFoundError at
> org.osgeo.mapguide.MapGuideJavaApi.InitializeSockets(MapGuideJavaApi.java:18
> )
>
> Using code as simple as other JAR file that have worked:
> <cfset MapGuideJavaApi = CreateObject("JAVA",
> "org.osgeo.mapguide.MapGuideJavaApi")>
> <cfset MapGuideJavaApi.InitializeSockets()>
>
>
>
> --
> Chris Gountanis
> Programmer/Analyst - Network Administrator
> cgountanis at mpower-tech.com
> T: 877-269-6971 | T: 920-830-4053 | F: 920-832-0736
>
> MPOWER TECHNOLOGIES
> 501 S Nicolet Road Appleton, WI 54914
> www.mpower-tech.com
>
> Making complex information more accessible.
>
>
> -----Original Message-----
> From: Scott Hameister [mailto:scotth at mpower-tech.com]
> Sent: Friday, May 12, 2006 1:50 PM
> To: users at mapguide.osgeo.org
> Subject: [mapguide-users] Coldfusion Wrapper Dev - Is there a Java
> Main-Class
>
> I've found a possible means for creating a ColdFusion Java wrapper.This
> Method assumes that there is a Java Main-Class.then all we need to do is
> develop functions for all the public functions as we go.
>
>
>
> I was directed to http://sourceforge.net/projects/cfsynergy as an example
> for creating a Java wrapper.I think this could work easily as a CFM API for
> Mapguide Open Source.Just need someone whose worked on the JAVA side to give
> me some help.I would love to be able to contribute such a wrapper to this
> community if I could get the initial Information necessary.
>
>
>
> Also curious why I couldn't REGSVR32 my DLL files from the DotNet examples
> to create objects from in Coldfusion as well.
>
>
>
>
>
> Scott Hameister
> Director of Product Development
>
> mPower Technologies
>
> 501 S Nicolet Road Appleton, WI 54914
> http://mpower-tech.com <http://mpower-tech.com>
>
> <mailto:scotth at mpower-tech,> scotth at mpower-tech
> <mailto:scotth at mpower-tech.com> .com
> T: 877-269-6971| T: 920-830-4053
>
>
>
>
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe at mapguide.osgeo.org
> For additional commands, e-mail: users-help at mapguide.osgeo.org
>
>


-- 
Zac Spitzer
http://whereszac.org
0405 847 168




More information about the Mapguide_users mailing list