It's not a web-inf issue.
It works fine when using IP/Folder/subfolder, just not when using URL/
subfolder.

I'm working around the issue, I'm going to keep at it of course,
there's a problem, which means there's a solution, I just haven't
found it yet.

On Apr 19, 10:11 am, Ivo Verbeek <[email protected]> wrote:
> I got this exact same error today. First the solution: check if you
> still have a web.xml in the WEB-INF folder. If you don't have that,
> that explains what you describe: 404-error because it can not find
> index.cfm and plain-text output if you run a .CFM. And that is
> logical. Without a web.xml, your openBD engine is clueless.
>
> Now the more interesting question, why is the file not longer there?
> In my case I accidently deleted a file too much from Tomcat folder
> (stupid mistake). So what I did it this:
> 1) I deinstalled Tomcat
> 2) I reinstalled it
> 3) Since I do not want to run webapps in Tomcat subfolder, I changed
> the Tomcat server.xml file pointing somewhere else.
>
> The clue is in 1. If you deinstalled Tomcat, it will remove also all
> web.xml files from the WEB-INF folders of all (!) your apps. And when
> you reinstall (step 2), it won't put them back. So if you then switch
> webapp folder (in step 3), you are pointing to Java apps for which all
> the web.xml files are removed.
>
> Your situation might be different, but my guess is the cause is the
> same: somehow the web.xml is removed. It explains exactly why "new"
> folders are working, while "old" ones are not. The new ones have
> proper web.xml, the old ones have not.
>
> Unloading & reloading the app via Tomcat manager, solves it too.
>
> Another learningfull experience.
>
> Ivo

-- 
online documentation: http://openbd.org/manual/
   google+ hints/tips: https://plus.google.com/115990347459711259462
     http://groups.google.com/group/openbd?hl=en

Reply via email to