Installing on Railo 3.3.1 MAC OS X

26 views
Skip to first unread message

James Eisenlohr

unread,
Jun 11, 2012, 4:40:21 PM6/11/12
to cfr...@googlegroups.com
Hello Peter,

Thank you for sharing cfRegex!

I got interested in using cfRegex after seeing your your StackOverFlow post http://stackoverflow.com/questions/3046437/regex-find-content-question 

I am having issues installing it with Railo 3.3.1 on Mac OS X though. The instructions say to copy Regex.cfc to 2 locations. In step 3, the {railo-server}/context/components/ directory does not exist? Any suggestions?

Thank you,

James

Peter Boughton

unread,
Jun 11, 2012, 6:12:15 PM6/11/12
to cfr...@googlegroups.com
Hi James, thanks for your interest. :)

The directory will definitely exist (since Railo itself has files in it), but it might be in a different location.

If you have performed a WAR install, there is no server-level components directory, and you should instead use the WEB-INF/railo/components directory.

If this is not a WAR, can you confirm which method you used to setup Railo? (e.g. using Railo installer, configured manually, etc)


Thanks,

Peter

James Eisenlohr

unread,
Jun 12, 2012, 12:06:19 PM6/12/12
to cfr...@googlegroups.com
Hi Peter,

Thanks for your quick response!

I just used the Railo installer for OSX. 

Folder structure I have:
  • /Library/Railo/lib/railo-server/context/library/tag/
  • /Library/Railo/lib/railo-server/context/library/function/
  • /Library/Railo/lib/railo-server/context/components/ <--- missing folder
  • /Library/Railo/tomcat/webapps/ROOT/WEB-INF/railo/components/
  • /Library/Railo/tomcat/webapps/ROOT/WEB-INF/railo/library/tag/
  • /Library/Railo/tomcat/webapps/ROOT/WEB-INF/railo/library/function/
  • /Library/Railo/tomcat/webapps/ROOT/mysite/WEB-INF/railo/components/
  • /Library/Railo/tomcat/webapps/ROOT/mysite/WEB-INF/railo/library/tag/
  • /Library/Railo/tomcat/webapps/ROOT/mysite/WEB-INF/railo/library/function/
Where should I put all the files? Under "mysite" folder's WEB-INF?

Thanks,

James

Peter Boughton

unread,
Jun 12, 2012, 12:39:06 PM6/12/12
to cfr...@googlegroups.com
Yes, putting them under mysite's WEB-INF will work. (The only downside is you would need to repeat this each time a new site/context is added.)

I'll need to check if this is expected behaviour for the installer, but in the mean time I've added a quick note to the instructions regarding this.

Thanks,

Peter

James Eisenlohr

unread,
Jun 12, 2012, 2:31:26 PM6/12/12
to cfr...@googlegroups.com
It works! Thank you, Peter!

Any update on when cfregex will be available as a Railo extension?

James

Peter Boughton

unread,
Jun 13, 2012, 11:13:48 AM6/13/12
to cfr...@googlegroups.com
Unfortunately no updates at the moment - it's not much work, but I've had other priorities get in the way.

James Eisenlohr

unread,
Jun 13, 2012, 11:17:17 AM6/13/12
to cfr...@googlegroups.com
I know all about other priorities! Thanks! :)
Reply all
Reply to author
Forward
0 new messages