Looks like you are trying to set up lucee manually. I’d try using the Lucee installer. You may find usefull information in this video guide.
It shows the installation from a gui aproach connecting from a windows (not mac) remote machine, but at least it shows what needs to be done on that Ununtu to run Lucee with Apache2.
In Parallels, set the ubuntu box to Bridged
(“Parallels Desktop” -> “Settings” or ⌘,) then the last Symbol (the gear wheel, I think it’s “Enhanced” in English?!) and then at the top: “Network” -> “Change Settings”
Next reboot ubuntu
Next in ubuntu
if you have the desktop environment installed open up a terminal in ubuntu
type in
sudo iptables -F
sudo ufw disable
Now with the local browser (In ubuntu) navigate to localhost:8888
you should see the lucee context
if you do not type in
sudo killall java
sudo ./opt/lucee/lucee_ctl start
sudo service apache2 start
Hi,
thanks for your tips.
But I have connect to my VM, I can surf to Apache site 80… And I can surf to Tomcat site 8080
in Tomcat Manager Lucee is as folder and says… running…
i attache the screenshots. the problem is. how I can connect to Lucee, or how can I make connect apache to tomcat lucee so that I can put cml sites in apache folder…
you can see tomcat manager says Lucee is running true…
But in the shell output for listening ports, 8888 isn’t show
That is what I’ve said in my post before: You have installed Lucee without using the default installer, thus all connections are missing. You’ll need to connect apache2 to Tomcat/Lucee manually. The best actual information I can offer you for this purpose at the moment is an awesome post of @derrickpeavy that somehow is a little lost in this forum. You will find good information there and find the steps to create the connection with mod_proxy. Here it is and thanks to @derrickpeavy for the post.
However, there are guides in the docs, but they neee to be updated. I’ve put this already in my “next contrib list”, but I’m very short with time at the moment, maybe somebody can help out also.
The problem is, without using the lucee installer you have to jump through some additional configuration changes to make lucee “just work” when you could reinstall lucee with the installer
@derrickpeavy and @Terry_Whitney, I’d like to restructure some of the offical Lucee docs, there is a lot that needs to be updated and done. The core Lucee dev team has so much work to do and as a contributor I 'd like to set something up. I would try to create an initial suggestion, and I would need some help for checking that stuff. We could crosscheck with @Zackster, and when we feel like it’s finished, we could ask one of the dev team mega masters (hopefully @isapir to just quickly cross check it for a go). Man, do I miss having @Jordan_Michaels around
You said you have lucee installed, but I’ve only seen tomcat default pages on your screenshots. Your next step is to see if you are able to run a .cfm file at your localhost at your tomcat port 8080. Are you able to run a simple index.cfm with this single line: <cfdump var="#cgi#">
?
Next step is to tell Tomcat that it needs to run the Lucee.jar servlet container by adding the <servlet> directive and the <servlet-mapping> to associate the .cfm/.cfc files in tomcats web.xml configuration file. This needs to be done in the /path-to-tomcat-install/conf/web.xml and add that there. See this link from the docs:
Well, I am available if needed. I am just one of those people who like to understand the pieces of a stack and how to set them up in a way that doesn’t break stuff.