Well, it's entirely possible that I'm still an idiot, as this was all
just from memory.
It this point, I would look for some xml path settings inside
tomcat/conf/ and [yourApp]WEB-INF/
Again; make backups first, so you can revert everything; and be sure to
restart Tomcat before testing any change.
Alternately, you can put everything back to where it was at first, then
set up the Apache web server to ajp proxy all of your requests from good
old port 80 - to WHEREVER your openbd is running - on the Tomcat side.
Matt's got a fun blog on the subject at:
http://mattwoodward.com/machblog/index.cfm?event=showEntry&entryId=03233F6F-ED2C-43C7-AFF5FA2B3C3D845B
It's not as hard as it looks. He just loves to type...
Al
On 2/24/2011 1:39 PM, ben.8 wrote:
Hello,
Thank you for the suggestion; in hindsight, this seems gobsmackingly
obvious.
The problem I'm having now is that the Tomcat installation doesn't
seem to be serving up its /ROOT directory.
http://localhost:8080 is returning a 404, and I can't for the life of
me find what directory it is using as its root. I suspect there's a
problem with my Tomcat deployment, as it isn't serving up the
$CATALINA_HOME/webapps/ROOT/index.jsp page at all. I shall go digging
into the Tomcat documentation, but once I get that figured out I'm
sure you've solved my other problem.
Thanks again.
On Feb 24, 1:12 pm, Alan Holden<[email protected]> wrote:
1) back up the original webapps/ROOT dir - just in case I'm an idiot.
2) remove everything from the webapps/ROOT dir.
3) copy the contents of your openbd app dir over to the webapps/ROOT dir.
4) insure the dir& file permissions are the same as before.
5) stop and restart Tomcat.
Al Holden
On 2/24/2011 11:50 AM, ben.8 wrote:
Hello,
I have OpenBD running locally on Tomcat via the Eclipse IDE. Is there
some way to configure the environment such that I can do testing and
migration with my app on the "root" (e.g., localhost:8080/index.cfm)
instead of localhost:8080/{projectname}/index.cfm?
I realize this is probably more of an Eclipse/Tomcat question, but I'm
not certain OpenBD is processing in the root Tomcat context. I'm
hoping someone here has solved the same problem or knows how it is
done and might be able to point me in the right direction. I'm new to
Java App servers so I'm not even certain which direction I should be
looking, sometimes.
I am migrating our CF app to OpenBD to deploy to Amazon's Elastic
Beanstalk platform; the test OpenBD deployment I pushed to an AWS
instance works without a hitch, which is certainly promising. The
deployed WAR is visible on the root of the Elastic Beanstalk
environment, so that's also nice.
Thanks for any pointers.
--
[email protected]
--
tag/function ref: http://www.openbluedragon.org/manual/
mailing list - http://groups.google.com/group/openbd?hl=en
Get to Texas in Feb for OpenCFSummit http://www.opencfsummit.org/