web-inf / contexts / mod_cfml

৯৬টি ভিউ
প্রথম অপঠিত মেসেজটিতে চলে আসুন

Andrew Roseman

পড়া হয়নি,
১ জানু, ২০১৬, ১১:০৪:১০ PM১/১/১৬
প্রাপক mod_cfml
Hello
I am fairly new to this module, having been a Railo user for the last few year setting up my virtual hosts in tomcat! Anyway, we are deploying a new service on a CentOS server running cPanel. I have installed the latest Lucee, running Tomcat 8, installed the mod_cfml plug-in into Apache 2.4. Everything has worked so far except now i am getting an error when loading a simple CFM file

path [/home/rallylog/public_html/WEB-INF/lucee] is invalid

checking the catalina.out file i see the following

02-Jan-2016 10:38:51.770 INFO [rallylog-info-httpd-confl902-startStop-1] org.apache.catalina.startup.HostConfig.deployDescriptor Deployment of configuration descriptor /usr/local/lucee/tomcat/conf$
[mod_cfml] Verifying context files...
[mod_cfml] Redirect URL => '/index.cfm'
02-Jan-2016 10:38:51.847 SEVERE [ajp-nio-8009-exec-2] org.apache.catalina.core.StandardWrapperValve.invoke Allocate exception for servlet CFMLServlet
 javax.servlet.ServletException: path [/home/rallylog/public_html/WEB-INF/lucee] is invalid

I suspect it is a permissions issue with tomcat not being able to access the folder to use the autodeploy functionality. Can anybody concur with this?

I presume Lucee still require the deployment of the WEB-INF directory for each CFML site (Context) on my server even though this module is being used?

Thanks
Andrew

Jordan Michaels

পড়া হয়নি,
১ জানু, ২০১৬, ১১:২০:২৯ PM১/১/১৬
প্রাপক mod cfml
Hi Andrew,

I agree with you that the issue is with permissions. Seeing as you're trying to get Lucee to work on cPanel, you might be interested in the Lucee4cPanel project (formally Railo4cPanel): https://github.com/utdream/Lucee4cPanel

Unfortunately, I haven't updated it since the Railo/Lucee split, so it needs a good bit of updating, but before you dive in to getting Lucee working nicely on cPanel, you should understand that there a host of pitfalls to it. For example, the default Apache config that the installer adds will get removed the next time cPanel re-configures Apache, and you'll have to manually go edit it again.

To fix issues like that, I created the Lucee4cPanel project, which adds some cPanel hooks and plugins to make Lucee and cPanel work pretty well together. Permissions (like the problem you're currently dealing with) is handled by a hook that is executed when a new user is added. Group permissions are updated so that both the user and the Lucee group have access to user-files. There are still some wrinkles that I have to work out, like file permissions when a user uploads files via FTP or through a webapp, but for the most part things work pretty smoothly.

I just need to work on it and get it updated with Lucee. Wish I had a better answer for you, but that's the best I have for now.

--
Kind regards,
Jordan Michaels
Vivio Technologies

----- Original Message -----
From: "Andrew Roseman" <viper.h...@gmail.com>
To: "mod_cfml" <mod_...@googlegroups.com>
Sent: Friday, January 1, 2016 3:46:48 PM
Subject: [mod_cfml] web-inf / contexts / mod_cfml

Hello
I am fairly new to this module, having been a Railo user for the last few
year setting up my virtual hosts in tomcat! Anyway, we are deploying a new
service on a CentOS server running cPanel. I have installed the latest
Lucee, running Tomcat 8, installed the mod_cfml plug-in into Apache 2.4.
Everything has worked so far except now i am getting an error when loading
a simple CFM file

*path [/home/rallylog/public_html/WEB-INF/lucee] is invalid*

checking the catalina.out file i see the following

02-Jan-2016 10:38:51.770 INFO [rallylog-info-httpd-confl902-startStop-1]
org.apache.catalina.startup.HostConfig.deployDescriptor Deployment of
configuration descriptor /usr/local/lucee/tomcat/conf$
[mod_cfml] Verifying context files...
[mod_cfml] Redirect URL => '/index.cfm'
02-Jan-2016 10:38:51.847 SEVERE [ajp-nio-8009-exec-2]
org.apache.catalina.core.StandardWrapperValve.invoke Allocate exception for
servlet CFMLServlet
javax.servlet.ServletException: path
[/home/rallylog/public_html/WEB-INF/lucee] is invalid

I suspect it is a permissions issue with tomcat not being able to access
the folder to use the autodeploy functionality. Can anybody concur with
this?

I presume Lucee still require the deployment of the WEB-INF directory for
each CFML site (Context) on my server even though this module is being used?

Thanks
Andrew

--
You received this message because you are subscribed to the Google Groups "mod_cfml" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mod_cfml+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
সকলকে উত্তর দিন
লেখককে লিখে পাঠান
ফরওয়ার্ড করুন
0টি নতুন মেসেজ