I'm starting to take a look at connecting Lucee to...
# lucee
e
I'm starting to take a look at connecting Lucee to Azure Cache for Redis service On the extensions page for Lucee 6.0.3.1 I don't see the https://github.com/lucee/extension-redis I don't see the lco file either for manual install I'm not sure where I can find it, I can try the Ortus one, but figured I would try the non ortus one first if anyone knows where I can find the lco file
c
You can grab the .lex from https://download.lucee.org/ Just search for redis (it's the second entry for Lucee 6.x)
e
oh, i think i was thrown off since the id is the same as the one for the Lucee 7+
Thank you!
z
The description comes from the latest version, it's confusing at the moment
e
gotcha, well in the azure dashboard, I see GET and SET operations occurring.... but my app throws an error if I touch the session *Lucee 6.0.3.1 Error (java.lang.ClassNotFoundException)Message*com.microsoft.sqlserver.jdbc.SQLServerResultSetMetaData <cfset session.createdOn = now() /> i have 2 sql server datasources, but neither have the storage option checked App.cfc this.sessionType = "cfml" this.sessionManagement = true this.sessionStorage = "redis"; this.sessionCluster = true; this.setClientCookies = false; this.setDomainCookies = false; feel like i must be missing a different configuration setting someplace
z
6.0.3.1 is quite old btw..... anyway, what's the full stacktrace?
posting just the exception message is like when you rclient emails you and says just, "it's not working" 🙂
e
Your right, @zackster I'll grab the log files this morning and send it over We have some production servers that are running older versions of Lucee... 5.x I believe... some we don't control though, its on my todo list to get a new lucee version template in place after moving sessions to redis
com.microsoft.sqlserver.jdbc.SQLServerResultSetMetaData Error
z
your doing this locally yeah? please try the 6.2.1 final RC and report back if it's still a problem
e
Will do, thanks
seems to have resolved the issue, thanks, I'm going to do some testing and see if find anything else strange
z
Awesome 👍
e
sorry to respond back in this thread, finally getting back to doing some testing, and noticed that the lucee admin can verify the "redisCache" storage check as OK but when watching the gets and sets in azure, nothing comes in on my application.cfc i have <cfset this.sessionCluster = true /> <cfset this.sessionStorage = "redisCache" /> <cfset this.sessionType = "jee" /> I didn't see anything fun in the logs related to sessions or redis... but I could be looking at the wrong logs, was only checking the ones under the lucee-server/context/logs directory