Re: prevent tomcat from setting cookies

2005-06-16 Thread Boris Folgmann
Hi! Rui Alberto schrieb: I don't want tomcat to set cookies on the client. In any situation. I've configured a Context in server.xml to my application: EX: Context cookies=false docBase=cocoon path=/ reloadable=false/ I've got the same problem. There's also an older posting here on the list

How to JkMount /app1 to /

2004-09-16 Thread Boris Folgmann
Ho! I've got an Apache hosting multiple vhosts. Some of them should be connected to Tomcat using mod_jk. Tomcat 4 is running multiple webapps: /app1 /app2 ... What I can do in Apache is: www.dom1.com/app1 is mapped to /app1 using JkMount /app1 Worker www.dom2.com/app2 is mapped to /app2 using

Re: How to format number

2003-10-07 Thread Boris Folgmann
); return fmt.format(f); } -- Dipl.-Inf. Boris Folgmann mailto:[EMAIL PROTECTED] TeamForge GmbH http://www.teamforge.de -m-o-d-w-a-r-s- http://www.modwars.de - To unsubscribe, e-mail: [EMAIL PROTECTED

Why doesn't work same Resource name for different Contexts?

2003-10-06 Thread Boris Folgmann
Hi! I have two instances of the same application running on one tomcat4 server. The only difference is, that they use a different database. The applications have different names of course. My webapps dir looks like that: webapp1 dir webapp1.xml webapp2 dir webapp2.xml The idea is to define the

Re: RPM Pacakages for RHLinux

2003-07-15 Thread Boris Folgmann
Hari Om wrote: where can I download rpm file for JDK and Tomcat on Red Hat Linux 7.1 I tried rpmfind.net freshrpms.net and rpmseek.com Have you checked jpackage.org? cu, boris - To unsubscribe, e-mail: [EMAIL

custom error page for mod_jk

2003-07-10 Thread Boris Folgmann
Hi! Does anybody know how one could set up a maintenance page for Apache that is automatically displayed when mod_jk can not reach tomcat, because it's down for maintenance? At the moment I get the Error 500 page. Of course I could overwrite this with ErrorDocument in httpd.conf, but then it's

Adding multiple params to redirect header

2003-07-09 Thread Boris Folgmann
Hi! Does anybody know a good method to pass all parameters from one request to another one using a redirect header? I can read all parameters of the original request with request.getParameterMap(), but how can I get them into the URL used for the redirect header? cu, boris

Re: NotSerializableException on webapp restart

2003-06-10 Thread Boris Folgmann
Shapira, Yoav schrieb: It depends on how much work you want to do. It's not a good idea for your to depend on implementation details of the Catalina session façade. However, the session ID is a primitive (String) which is serializable. So instead of storing a reference to the session, store

Re: NotSerializableException on webapp restart

2003-06-10 Thread Boris Folgmann
Shapira, Yoav schrieb: You're right. If you want to do it this way, you have to take care of serializing and de-serializing your listener yourself on your webapp's startup and shutdown (e.g. by using a ServletContextListener). IMHO sessionCreated() shoud be called for each session that is

Re: NotSerializableException on webapp restart

2003-06-05 Thread Boris Folgmann
Shapira, Yoav schrieb: Howdy, You're probably putting non-Serializable objects as session attributes... Yes, you are right. For tracking all logged in users I store a reference to every users HttpSession in his user object which is itself in the session context. HttpSession is

Re: mod_jk mapping

2003-06-04 Thread Boris Folgmann
Graham Smith schrieb: Context path= docBase=xfly ... and I have done, but that doesn't really solve the multiple webapps in one container problem. As far as I know you should use ROOT and not xfly for the directory name where your webapp is. Then use this: JkMount / worker1 JkMount /*

NotSerializableException on webapp restart

2003-06-04 Thread Boris Folgmann
Hi! When I restart tomcat 4.1 I get this exeption for my webapp in the logfile. The app works though. Am I doing something wrong concerning java.io.Serializable and the objects in session contexts?? 2003-06-04 12:01:41 StandardManager[/i] IOException while loading persisted sessions:

Re: Environment Question

2003-06-04 Thread Boris Folgmann
Joe schrieb: To counter this problem, I've move all the config into /etc/rc.d/rc5.d instead and now problem 1 2 are solved. This directory is not the right place for general configs. It's for the sysvinit, only symlinks to daemons that should be started or stopped when entering runlevel 5.

Remove role from security constraint?

2003-04-02 Thread Boris Folgmann
Hi! Does anybody know a method to remove a role from a security constraint during runtime? I need this for disabling logins for ordinary users during special maintenance inside the application. cu, boris -- Dipl.-Inf. Boris Folgmann mailto:[EMAIL PROTECTED] Folgmann IT-Consulting

Re: more connector/webapps for one engine

2003-04-02 Thread Boris Folgmann
[EMAIL PROTECTED] schrieb: Hello, Can i have two differents webapps on the same engine, one on the port https, the other on port HTTP ? You can even run multiple webapps (called contexts) on every protocol/port. -- Dipl.-Inf. Boris Folgmann mailto:[EMAIL PROTECTED] Folgmann

Re: Problem with character encoding.

2003-04-02 Thread Boris Folgmann
-- Dipl.-Inf. Boris Folgmann mailto:[EMAIL PROTECTED] Folgmann IT-Consulting http://www.folgmann.de - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: mod_jk2 vs mod_jk

2003-03-25 Thread Boris Folgmann
/release/v2.0.2/rpms/ is empty? :-( cu, boris -- Dipl.-Inf. Boris Folgmann mailto:[EMAIL PROTECTED] Folgmann IT-Consulting http://www.folgmann.de - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e

Re: mod_jk2 vs mod_jk

2003-03-25 Thread Boris Folgmann
Richard Anderson schrieb: I've been using the rpm at www.jpackage.org. I already tried that. But it does not install on Red Hat 8.0. Rebuilding also failed. -- Dipl.-Inf. Boris Folgmann mailto:[EMAIL PROTECTED] Folgmann IT-Consulting http://www.folgmann.de

Re: How to build jk2?

2003-03-07 Thread Boris Folgmann
. Boris Folgmann mailto:[EMAIL PROTECTED] Folgmann IT-Consulting http://www.folgmann.de - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Can the JNDI Connection Pool re-connect after failure?

2003-01-29 Thread Boris Folgmann
. --- cu, boris -- Dipl.-Inf. Boris Folgmann mailto:[EMAIL PROTECTED] Folgmann IT-Consulting http://www.folgmann.de - To unsubscribe, e-mail: [EMAIL

Re: Can the JNDI Connection Pool re-connect after failure?

2003-01-29 Thread Boris Folgmann
done before EVERY query? Anyway, I used an even simpler valueSELECT 1;/value which does not need to read any table but returns a row as requested in the Javadoc. cu, boris -- Dipl.-Inf. Boris Folgmann mailto:[EMAIL PROTECTED] Folgmann IT-Consulting http://www.folgmann.de

Re: Can the JNDI Connection Pool re-connect after failure?

2003-01-28 Thread Boris Folgmann
://jakarta.apache.org/commons/dbcp/api/index.html but did not find a resource argument for configuring something like a reconnect. Any comments welcome. cu, boris -- Dipl.-Inf. Boris Folgmann mailto:[EMAIL PROTECTED] Folgmann IT-Consulting http://www.folgmann.de -- To unsubscribe, e-mail

Re: How to access /images?

2002-12-19 Thread Boris Folgmann
a large project w/o struts! cu, boris -- Dipl.-Inf. Boris Folgmann mailto:[EMAIL PROTECTED] Folgmann IT-Consulting http://www.folgmann.de -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: jsp:getProperty problem

2002-12-13 Thread Boris Folgmann
is no longer necessary. cu, boris -- Dipl.-Inf. Boris Folgmann mailto:[EMAIL PROTECTED] Folgmann IT-Consulting http://www.folgmann.de -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: getProperty problem

2002-12-13 Thread Boris Folgmann
to stick to nicePropName. 4. Remember: best Java style is to begin only class names with capital letters, methods should always begin with a lower case letter. -- Dipl.-Inf. Boris Folgmann mailto:[EMAIL PROTECTED] Folgmann IT-Consulting http://www.folgmann.de -- To unsubscribe, e-mail

Re: Default servlet

2002-12-13 Thread Boris Folgmann
RAFA wrote: Hi. Only with Tomcat, how can I go to a servlet by default? With http://12.:8080 only Load a servlet by default. You have to deploy a webapp to the root context. -- Dipl.-Inf. Boris Folgmann mailto:[EMAIL PROTECTED] Folgmann IT-Consulting http

Re: Where did the tomcat javadocs go?

2002-12-13 Thread Boris Folgmann
Joseph Shraibman wrote: http://jakarta.apache.org/tomcat/tomcat-4.1-doc/catalina/docs/api/ is empty. You can report bugs to the tomcat bugzilla installation on the website. Don't know the exact URL ... -- Dipl.-Inf. Boris Folgmann mailto:[EMAIL PROTECTED] Folgmann IT-Consulting http

Re: apache-tomcat integration

2002-12-11 Thread Boris Folgmann
to mod_jk2, but it's very easy to do the set up. -- Dipl.-Inf. Boris Folgmann mailto:[EMAIL PROTECTED] Folgmann IT-Consulting http://www.folgmann.de -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: Need help using manager of tomcat

2002-12-11 Thread Boris Folgmann
has to be entered in the text fields? -- Dipl.-Inf. Boris Folgmann mailto:[EMAIL PROTECTED] Folgmann IT-Consulting http://www.folgmann.de -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: Need help using manager of tomcat

2002-12-11 Thread Boris Folgmann
. Boris Folgmann mailto:[EMAIL PROTECTED] Folgmann IT-Consulting http://www.folgmann.de -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: Request/Connection Timeout

2002-12-11 Thread Boris Folgmann
Hari Venkatesan wrote: You can set session time outs in Web.xml file Hari This is for the automatic cleanup of beans in the session context. This has nothing to do with HTTP timeouts. -- Dipl.-Inf. Boris Folgmann mailto:[EMAIL PROTECTED] Folgmann IT-Consulting http://www.folgmann.de

How to access /images?

2002-12-11 Thread Boris Folgmann
have nested a lot of directories. cu, boris -- Dipl.-Inf. Boris Folgmann mailto:[EMAIL PROTECTED] Folgmann IT-Consulting http://www.folgmann.de -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]