Tuckey UrlRewriteFilter with Lucee 7

I’ve had success configuring the UrlRewriteFilter 5.1.3 with Lucee 5 but cannot get it to load in Lucee 7 using a commandbox implementation in Windows.

The jar file is in WEB-INF/lib and the web.xml file has been configured in the same manner it was with Lucee 5. When running with Lucee 5 I can see it loaded in the bundles in Lucee admin. It does not even show up in Lucee 7 unless I put it in the bundles folder. When in the bundles folder it does show in Lucee 7 but shows as “not loaded”

Any ideas

I have it in my /lucee/lib folder with my tomcat install?

It’s loaded / used by the servlet engine (here tomcat) or undertow in the case of commandbox, before Lucee even starts loading bundles?

It’s not even an osgi bundle?

Manifest-Version: 1.0
Archiver-Version: Plexus Archiver
Created-By: Apache Maven 3.9.2
Built-By: paul
Build-Jdk: 20.0.2.1
Specification-Title: UrlRewriteFilter
Specification-Version: 5.1.3
Specification-Vendor: Paul Tuckey
Implementation-Title: UrlRewriteFilter
Implementation-Version: 5.1.3
Implementation-Vendor-Id: org.tuckey
Implementation-Vendor: Paul Tuckey
Implementation-Build: ec679

Are you using the jakarta version?

1 Like

Thanks Zack.
I think there must have been something else going wrong and I was getting misleading results from the site I was upgrading.
Not sure if a reboot did the trick but the rewrites appear to be working now.
I thought I had seen the rewritefilter loaded in Lucee 5 bundles but I might be mistaken. Also, I had tried the rewrite-status and was getting a not found message.
The site I am upgrading is an old Lucee 5.4 site and it appears to be working after a small change to the .CFConfig file. This is a credit to the work you guys have done.
Cheers, Pat

1 Like

Ahh the good old reboot worked, sweet

If only we could reboot a certain… (politics are OT and against our code of conduct)