Re: [fusionreactor] JDBC Wrapper Railo Error

32 views
Skip to first unread message

David Stockton

unread,
Apr 4, 2013, 3:46:06 AM4/4/13
to fusion...@googlegroups.com
Hello,

Depending on which version & configuration of CF/Railo you're using the issue is that we shouldn't have really used the variable name "url". This can easily be fixed by updating the below two functions noting the variable name has been changed to uri...

<cffunction name="isWrapped" access="private" returntype="boolean" output="true">
    <cfargument name="uri" type="string" required="true" />

    <cfif find("FusionReactor", uri)><cfreturn true><cfelse> <cfreturn false></cfif>
</cffunction>

<cffunction name="getWrappedString" access="private" returntype="string" output="true">
    <cfargument name="uri" type="string" required="true" />

    <cfif find("FusionReactor", uri)><cfreturn "<font color='green'><b>&nbsp;&nbsp;&nbsp;&nbsp;wrapped</b></font>"><cfelse> <cfreturn "<font color='red'><b>unwrapped</b></font>"></cfif>
</cffunction>

Best regards,
David Stockton
Fusion Team


On 3 April 2013 21:27, nineplanets <sup...@nineplanetsllc.com> wrote:
I'm trying to use the JDBC Wrapper from here:

http://www.fusion-reactor.com/community/developers/autodev_detailed.cfm?article=FRS-300

But when I run the page, it partially loads and then has a "Can't cast Complex Object Type Struct to String" error, noting line 1346:
1344: <cfargument name="url" type="string" required="true" />
1345:
1346: <cfif find("FusionReactor", url)><cfreturn "<font color='green'><b>&nbsp;&nbsp;&nbsp;&nbsp;wrapped</b></font>"><cfelse> <cfreturn "<font color='red'><b>unwrapped</b></font>"></cfif>
1347: </cffunction>
1348:

--
You received this message because you are subscribed to the Google Groups "FusionReactor" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fusionreacto...@googlegroups.com.
To post to this group, send email to fusion...@googlegroups.com.
Visit this group at http://groups.google.com/group/fusionreactor?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

nineplanets

unread,
Apr 4, 2013, 5:47:07 PM4/4/13
to fusion...@googlegroups.com
That fixed the error I was receiving, but when attempting to wrap the datasources, it's rejecting the Railo administrator login.  I know it's the right password, it works for getting me into the Railo admin.  Any idea what might be causing that?

David Stockton

unread,
Apr 5, 2013, 3:37:12 AM4/5/13
to fusion...@googlegroups.com
Hello,

It must be the "admin" users password. Also, do you perhaps use different passwords for your web and server administrators?

Best regards,
David Stockton
Fusion Team

David Stockton

unread,
Apr 17, 2013, 7:03:43 AM4/17/13
to fusion...@googlegroups.com
Hello All,

I've published a new version of the JDBC wrapper tool which includes these edits and a few other minor enhancements...

Best regards,
David Stockton
Fusion Team
To unsubscribe from this group and stop receiving emails from it, send an email to fusionreactor+unsubscribe@googlegroups.com.

nineplanets

unread,
Apr 17, 2013, 6:22:05 PM4/17/13
to fusion...@googlegroups.com
Yes, it was the "admin" users password.  No, the web and server administrator passwords are the same.

David Stockton

unread,
Apr 18, 2013, 7:49:58 AM4/18/13
to fusion...@googlegroups.com
Hello,

Can you send me a screenshot of the error to sup...@fusion-reactor.com please so that I can take a closer look?

Many thanks,
David Stockton
Fusion Team
Reply all
Reply to author
Forward
0 new messages