BlueKnight66
asked on
Installing Lucee Server as ROOT app in Tomcat on Mac
Using Homebrew on my Mac I installed Tomcat. Next I downloaded and installed Lucee war file into webapps folder. Lucee ran fine with the exception of images not loading due to it not being at the root. In Tomcat manager I removed the original Root and Lucee apps. Created a new "apps" folder, installed Lucee.war, created a ROOT.xml file in localhost folder of Tomcat pathing out the new Lucee folder. Stopped and restarted Tomcat. Localhost:8080 is now just a blank screen...no errors. Open Tomcat manager, tried to start "/" in application listing. Error message states can't start component. Please help. I followed these directions ( http://brianflove.com/2015/03/05/lucee-on-mac-os-x-yosemite-quick-start/ ) making all the correct changes to the newer versions of both Tomcat and Lucee.
Tomcat = 8.0.32
Lucee = 4.5.3.004
JVM = 1.8.0_74-b02
Mac OS X = 10.11.3
Tomcat = 8.0.32
Lucee = 4.5.3.004
JVM = 1.8.0_74-b02
Mac OS X = 10.11.3
ASKER
gheist,
I did both, the first option worked fine BUT did not properly display the images and wasn't at the root (localhost:8080)
The second option I did resulting in a blank screen. In the Tomcat's application manager an error would result when trying to start Lucee.
What I need help in is trying to troubleshoot why the second option you mentioned will not work when a XML descriptor was used that I am to believe was used properly and placed properly
I did both, the first option worked fine BUT did not properly display the images and wasn't at the root (localhost:8080)
The second option I did resulting in a blank screen. In the Tomcat's application manager an error would result when trying to start Lucee.
What I need help in is trying to troubleshoot why the second option you mentioned will not work when a XML descriptor was used that I am to believe was used properly and placed properly
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thank you for your replies. Okay, I did as you asked. Found the following error in Catalina.out:
26-Feb-2016 09:43:27.357 INFO [localhost-startStop-1] org.apache.catalina.startu p.HostConf ig.deployD escriptor Deploying configuration descriptor /usr/local/Cellar/tomcat/8 .0.32/libe xec/conf/C atalina/lo calhost/RO OT.xml
26-Feb-2016 09:43:27.360 SEVERE [localhost-startStop-1] org.apache.tomcat.util.dig ester.Dige ster.fatal Error Parse Fatal Error at line 2 column 93: Element type "Context" must be followed by either attribute specifications, ">" or "/>".
org.xml.sax.SAXParseExcept ion; lineNumber: 2; columnNumber: 93; Element type "Context" must be followed by either attribute specifications, ">" or "/>".
The following is the ROOT.xml (only 2 lines):
<?xml version="1.0" encoding="UTF-8"?>
<Context docBase="/usr/local/Cellar /tomcat/8. 0.32/libex ec/apps/lu cee-4.5.3. 004” reloadable="true"/>
I did add both path="" and path="/" but still no change.
Thank you
catalina_out.pdf
26-Feb-2016 09:43:27.357 INFO [localhost-startStop-1] org.apache.catalina.startu
26-Feb-2016 09:43:27.360 SEVERE [localhost-startStop-1] org.apache.tomcat.util.dig
org.xml.sax.SAXParseExcept
The following is the ROOT.xml (only 2 lines):
<?xml version="1.0" encoding="UTF-8"?>
<Context docBase="/usr/local/Cellar
I did add both path="" and path="/" but still no change.
Thank you
catalina_out.pdf
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
I just came home 24h after my first posting and find you solved everything. Good job ;)
ASKER
gheist pointed me in the direction to look so I could troubleshoot my own problem. He gave me the tools and I fixed it on my own.
* auto-deply by placng war into webapps
* deploy a war file from anywhere using xml descriptor