Gents,
cfx_openimage is a c++ dll file
I am running the service under the local system account, which is the
same way the BlueDragon 7.0 Free was configured. Incidentally, the
path for BDFree7.0 bluedragon.xml was "./customtags/
BlueDragonHello.dll" and worked.
To try to isolate the issue, I set up a page to call a custom tag, the
bluedragonhello cfx tag and cfx_openimage.
The following from bluedragon.xml all work using manual start.jar
<nativecustomtags>
<mapping name="cfx_nativebluedragonhello">
<function>ProcessTagRequest</function>
<keeploaded>true</keeploaded>
<name>cfx_nativebluedragonhello</name>
<module>./webroot_cfmlapps/customtags/BlueDragonHello.dll</
module>
<displayname>CFX_NativeBlueDragonHello</displayname>
<description>A simple C++ CFX tag</description>
</mapping>
<mapping name="cfx_openimage">
<function>ProcessTagRequest</function>
<keeploaded>true</keeploaded>
<name>cfx_openimage</name>
<displayname>CFX_openimage</displayname>
<module>D:/Explorers_Log/webroot_cfmlapps/customtags/
cfx_openimage.dll</module>
<description></description>
</mapping>
</nativecustomtags>
<file>
<maxfiles>1000</maxfiles>
<trustcache>false</trustcache>
</file>
<cfmlcustomtags>
<mapping name="cf">
<directory>./webroot_cfmlapps/customtags</directory>
<name>cf</name>
</mapping>
</cfmlcustomtags>
None Work with Service
If I change the <cfmlcustomtags> directory to <directory>D:/
Explorers_Log/webroot_cfmlapps/customtags</directory>
Then the non cfx customtag works in Service
When starting with the start.jar file, both directions of slashes
work.
<nativecustomtags>
<mapping name="cfx_nativebluedragonhello">
<function>ProcessTagRequest</function>
<keeploaded>true</keeploaded>
<name>cfx_nativebluedragonhello</name>
<displayname>CFX_NativeBlueDragonHello</displayname>
<module>D:\Explorers_Log\webroot_cfmlapps\customtags
\BlueDragonHello.dll</module>
<description>A simple C++ CFX tag</description>
</mapping>
<mapping name="cfx_openimage">
<function>ProcessTagRequest</function>
<keeploaded>true</keeploaded>
<name>cfx_openimage</name>
<module>D:/Explorers_Log/webroot_cfmlapps/customtags/
cfx_openimage.dll</module>
<displayname>CFX_openimage</displayname>
<description></description>
</mapping>
</nativecustomtags>
<cfmlcustomtags>
<mapping name="cf">
<directory>D:/Explorers_Log/webroot_cfmlapps/customtags</
directory>
<name>cf</name>
</mapping>
</cfmlcustomtags>
I tried several relative paths for the service...
./webroot_cfmlapps/customtags/BlueDragonHello.dll
../webroot_cfmlapps/customtags/BlueDragonHello.dll
$./webroot_cfmlapps/customtags/BlueDragonHello.dll
and both directions of absolute path slashes.
to no avail...
So close it seems.
Thanks,
Rob
On Dec 17, 9:00 am, Paul Bonfanti <[email protected]> wrote:
> When you run it as a service, is it running under a different user than when
> you run it manually? If so then this could be a permissions problem. Make
> sure the user the service is running under has the correct permissions for:
>
> D:/Explorers_Log/webroot_cfmlapps/customtags/cfx_openimage.dll
>
> Paul
>
> -----Original Message-----
> From: [email protected] [mailto:[email protected]] On Behalf Of
> Rob
> Sent: Wednesday, December 17, 2008 11:58 AM
> To: Open BlueDragon
> Subject: [OpenBD] Re: Installation on IIS Windows 2003 Server
>
> Here is the error from the cfx_openimage tag when running as a service
> vs. manual start using start.jar.
>
> UnsatisfiedLinkError invoking CFXNativeLib method
>
> Rob
>
> On Dec 17, 6:52 am, Rob <[email protected]> wrote:
> > Hi Anthony,
>
> > Here is the snippet from bluedragon.xml:
> > <nativecustomtags>
> > <mapping name="cfx_openimage">
> > <function>ProcessTagRequest</function>
> > <keeploaded>true</keeploaded>
> > <name>cfx_openimage</name>
> > <displayname>CFX_openimage</displayname>
> > <module>D:/Explorers_Log/webroot_cfmlapps/customtags/
> > cfx_openimage.dll</module>
--~--~---------~--~----~------------~-------~--~----~
Open BlueDragon Public Mailing List
http://groups.google.com/group/openbd?hl=en
official blog @ http://blog.openbluedragon.org/
!! save a network - trim replies before posting !!
-~----------~----~----~----~------~----~------~--~---