Re: Preload of servlet does not work with Tomcat 5.5.15

2006-04-23 Thread Markus Schönhaber
Tom Bednarz wrote: > I defined the following in the web.xml of my web application: > > > MTWInit > ch.smartsol.mtweb.servlets.MTWInit > > MailConfiguration > /WEB-INF/config/Mail.properties > > 1 > > > This servlet is NOT loaded at all. This is true for the f

Preload of servlet does not work with Tomcat 5.5.15

2006-04-23 Thread Tom Bednarz
I have a silly problem: I defined the following in the web.xml of my web application: MTWInit ch.smartsol.mtweb.servlets.MTWInit MailConfiguration /WEB-INF/config/Mail.properties 1 This servlet is NOT loaded at all. This is true for the following situations: -

Tomcat 5.5.17 500 error

2006-04-23 Thread Jack Wang
I hava a web app running well in tomcat 5.5.16 yesterday, but when I copy the app in another machine, I met following error. "org.apache.jasper.JasperException: File "/webwork" not found" when I use webwork in jsp. "org.apache.jasper.JasperException: /index.jsp(22,4) File "/common/cn/myMen

Re[4]: Tomcat works on Linux localhost but not in the network

2006-04-23 Thread Corobitsyn Roman
This is Linux question, but not Tomcat I don`t know how to set up firewall in RH See this link http://www.redhat.com/docs/manuals/enterprise/RHEL-3-Manual/security-guide/ch-fw.html Hope, this can help jl> yeap . jl> I disable the firewall and I'm getting response, but jl> do you know how to e

Re: using digester from within a servlet

2006-04-23 Thread Frank W. Zammetti
It looks to me like your ObjectCreate rule is incorrect... I believe the class you reference must be the fully-qualified name. For instance, look at this source as an example: http://cvs.sourceforge.net/viewcvs.py/javawebparts/javawebparts/WEB-INF/src/javawebparts/taglib/ajaxtags/AjaxInit.java

Re: using digester from within a servlet

2006-04-23 Thread Marc Farrow
I have no knowledge of digesters, but if you are wanting Tomcat (the engine itself) to use a class, then it has to be in the common/lib folder and not deployed with the webapp. Not sure if this is the direction you want to go or not. hth On 4/23/06, Christopher Piggott <[EMAIL PROTECTED]> wrot

using digester from within a servlet

2006-04-23 Thread Christopher Piggott
Hi, My goal is to use digester within a servlet, to parse a configuration file. When running within the servlet context digester is unable to find the classes specified by my rules. For example, I have this set of rules to process an element which occurs within a element: digester.addObjec

Setting sessions to only use cookies

2006-04-23 Thread Todd Huss
Is there a way in Tomcat to configure it to only use cookies for sessions and disable jsessionid URL rewriting? I'd like to use c:url in my application so that I can deploy the war anywhere and it will rewrite the base path propely. However, the URL rewriting with jsessionid's is problematic fo

autocreate a Context Descriptor for webApps without ME TA-INF/context.xml

2006-04-23 Thread Bodo Piehl
I read in the documentation in chapter "A word on Contexts" the text below. If I put a war-file (which doesn't contain a META-INF/context.xml) into the webapps-dir, the war-file is extracted and the webApp deployed, e.g. on startup. But afterwards the Context Descriptor isn't autogenerated and

Re: Curious memory usage under Windows Server 2000

2006-04-23 Thread Mark Thomas
Richard Toren wrote: > When I run Tomcat under Windws Server 2000 the Windows Task Manager > shows an increasing memory usage over time (let's say 2 weeks) despite > that the > manager jsp page (server/manager/html) always shows the same usage for > Tomcat. Also the same Tomcat running under Linux

RE: ANT task for context.xml generation?

2006-04-23 Thread Tim Lucia
I use ant's replace task to generate my context.xml from a template version. QA builds replace using a qa.properties file and production builds replace using a prod.properties -- They contain datasource definitions where the URLs and the connection pool variables differ. Otherwise, the context.xml

Curious memory usage under Windows Server 2000

2006-04-23 Thread Richard Toren
When I run Tomcat under Windws Server 2000 the Windows Task Manager shows an increasing memory usage over time (let's say 2 weeks) despite that the manager jsp page (server/manager/html) always shows the same usage for Tomcat. Also the same Tomcat running under Linux has no memory creep. I can

Re: ANT task for context.xml generation?

2006-04-23 Thread Richard Toren
Mark Thomas wrote: Nikita Tovstoles wrote: Is there an ANT task for generating context.xml files? No. Mark - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Sounds like ano