Dear Paul, If no-one here knows the answer, check out
[EMAIL PROTECTED] (I think you subscribe at [EMAIL PROTECTED] There are always Tomcat-specific security related discussions going on there. I tried dropping my class files into common/classes (4.17 common/lib is for jars) but dbforms couldn't find the interceptors either. The thing I learned about Forte is that when I modified my class files in Forte wouldn't find my changes if I mounted it under ..jakarta-tomcat..webapps/myApp (so that it would appear in the project default tab). I had to re-mount in my Forte file system under...jakarta-tomcat..webapps/myApp/WEB_INF/classes, otherwise the packages wouldn't be right. Also, everytime I open Forte that mounting dissapears and and I have to find it again, setting properties to be hidden=false. Also, I believe I have to reorder the mounting so that the jakarta-tomcat..webapps/myApp/WEB_INF/classes is higher than the jakarta-tomcat..webapps/myApp (this might be because I had the same class in several apps so putting it higher would ensure that it and my changes were found before other ones) My point is that if you modify classes in Forte that are located under WEB-APPS in tomcat, that forte is a little tricky in terms of finding them. It cause me numerous headaches until I got it figured out. I do like Forte by the way -- especially the way it make anonymous cvs and building with ant a snap. Shawn On Sun, 2002-12-29 at 07:30, Paul Mahoney wrote: > Dear Team > > I've finally figured out why I could not deploy my dbforms web app. It > works fine while debugging inside my IDE (Forte for Java CE > 3.3.1/Tomcat) but not when I deploy it under Apache/Tomcat 3.2 > > After much experimenting and scratching of head I realised it only works > under the IDE because I'd "mounted" all the necessary jar files within > the IDE project. There are so many jars, I don't want to put then inside > the web app's "lib" directory as it makes a 28K web app over 1Meg in > size. Instead I placed all the necessary jars (dbforms, log4j, > commons-*, ...) in the %TOMCAT_HOME%\lib\apps. This is where application > shared jars can reside. > > However, when I try to run under tomcat I find neither the resource > bundles, nor the interceptor classes, will load. The reason is, I think, > that as the dbforms classes are loaded by the tomcat container with > certain security constraints, it cannot see the classes or resources of > my web app (in the Webapps directory). That is, when dbforms reads the > dbfoms-comnfig.xml to learn the interceptor class name, it cannot load > it. Equally, it cannot find the ApplicationResources.properties file as > configured in web.xml :( > > If I place all jars in the web app's "lib" directory it does work. > > So, sorry for the long message, and this may be a tomcat question rather > than dbforms, but... does anyone know how to relax the security policy > such that a class loaded by tomcat in the "apps" directory can access > classes from applications deployed within the "webapps" directory? > > Many thanks > > Paul > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > DbForms Mailing List > > http://www.wap-force.net/dbforms -- shawn <[EMAIL PROTECTED]> ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ DbForms Mailing List http://www.wap-force.net/dbforms
