AW: Multiple instances of Tomcat

2002-08-02 Thread Ralph Einfeldt
at RUNNING.txt in the tomcat distribution: (4) Advanced Configuration - Multiple Tomcat 4 Instances ... Ralph Einfeldt Uptime Internet Solution Center GmbH Hamburg, Germany Hosting, Content Management, Java Consulting http://www.uptime-isc.de -Ursprüngliche Nachricht- Von: Frank Diakovasilis

AW: Is it possible to include via a directive snippets into the server.xml file

2002-08-09 Thread Ralph Einfeldt
AFAIK tomcat 4.1 has something like that. (Can't find the pointer to that, but there was a post from Craig about that a while ago in this list) If you have to use 4.0 you could use a preprocessor and an shellscript that create server.xml from seperate files from the two teams: E.g.:

AW: SSL just for a login page

2002-08-09 Thread Ralph Einfeldt
Don't do it. It has been pointed out several times that it is not recommanded to switch from https to http and stay in the same session. That would open a !!!BIG!!! security hole. If you really know what you are doing, you can write a filter that redirects every request that came in over

AW: SSL just for a login page

2002-08-09 Thread Ralph Einfeldt
That's no solution, as now the oneway hash can be snooped and hijacked. You win absolutly nothing but wasted efford. -Ursprüngliche Nachricht- Von: Durham David Cntr 805CSS/SCBE [mailto:[EMAIL PROTECTED]] Gesendet: Freitag, 9. August 2002 16:30 An: Tomcat Users List Betreff: RE: SSL

AW: SSL just for a login page

2002-08-09 Thread Ralph Einfeldt
If you switch from HTTPs to HTTP and keep the session, that means that now the sessionid is send unencrypted (either as cookie or as part of the url). So now everybody who can listen to your traffic, can take that data and steel the session and act as the owner of the session, and there is

AW: SSL just for a login page

2002-08-09 Thread Ralph Einfeldt
Yes, I know, if you spend some more effort, you get a bit more security. (- define a time window where the code is valid) (- make the client IP part of the hashcode) But in the end all variants are less secure than https. -Ursprüngliche Nachricht- Von: Ralph Einfeldt Gesendet

AW: migrating from gnuJSP to tomcat 4/apache 2

2002-08-09 Thread Ralph Einfeldt
As I'm on the same road, here are my thoughts (I didn't start trying it, that will not be so soon as we feel not pressure to do the switch): If you have just one context (that what we will have) you can do the following: - Keep your htdoc as it is. - Define a default context: Context

AW: form based auth...

2002-08-12 Thread Ralph Einfeldt
The problem lies in your error.jsp. Have a look at line 61 of the generated file error$jsp.java in the work directory to see what causes the Exception. Ralph Einfeldt Uptime Internet Solution Center GmbH Hamburg, Germany Hosting, Content Management, Java Consulting http://www.uptime-isc.de

AW: 500 error on all JSP pages

2002-08-12 Thread Ralph Einfeldt
The relevant part is the root cause (see below). It looks like your xerces.jar isn't found or the jar that is found is an outdated version. So look where the jar is and if it is the only one on your system, and check that it contains the org/w3c/dom/ranges/DocumentRange.class.

AW: 500 error on all JSP pages

2002-08-12 Thread Ralph Einfeldt
be found before xerces ? There might be other jar files that contain this classes. Have look espcially at jar files in $JAVA_HOME/jre/lib/ext. Ralph Einfeldt Uptime Internet Solution Center GmbH Hamburg, Germany Hosting, Content Management, Java Consulting http://www.uptime-isc.de

AW: mod_jk.so eapi needed...

2002-08-13 Thread Ralph Einfeldt
Take it from http://jakarta.apache.org/builds/jakarta-tomcat/release/v3.3.1/bin/linux /i386/ It's compatible with both tomcat versions. -Ursprüngliche Nachricht- Von: Tomas Straupis [mailto:[EMAIL PROTECTED]] Gesendet: Dienstag, 13. August 2002 10:32 An: [EMAIL PROTECTED]

AW: tomcat performance and load capability

2002-08-13 Thread Ralph Einfeldt
application. Ralph Einfeldt Uptime Internet Solution Center GmbH Hamburg, Germany Hosting, Content Management, Java Consulting http://www.uptime-isc.de -Ursprüngliche Nachricht- Von: michael wimmer [mailto:[EMAIL PROTECTED]] Gesendet: Montag, 12. August 2002 23:25 An: 'Tomcat Users

AW: Turn off caching

2002-08-13 Thread Ralph Einfeldt
Didn't my prevoius suggestions work for you ? RE Von: Ralph Einfeldt RE Gesendet: Donnerstag, 8. August 2002 14:44 RE An: 'Tomcat Users List' RE Betreff: AW: How to clean the cache of Tomcat? RE RE I would just touch all jsp files: RE RE find ${CATALINA_BASE}/webapp -name *.jsp -exec touch

AW: Turn off caching

2002-08-13 Thread Ralph Einfeldt
Sorry didn't think about that, because we don't run our sites directly from the workspace of our version management. We have jobs that copy the files from the workspace to the runtime environment so we can do what we want in the runtime environment without impacting our buildmanagement. Which

AW: Turn off caching

2002-08-13 Thread Ralph Einfeldt
Nearly the same here, the only differeence is that even in our development site we use the scripts to copy from the version management to the place where the development site is running. So no matter what happens in the development site, the date inside our version management is correct. Do

AW: Tomcat Profiling using Catalina API

2002-08-13 Thread Ralph Einfeldt
Although it's not a profiler, you may have a look at http://hansel.sourceforge.net/ It's an open source coverage tool that uses JPDA. -Ursprüngliche Nachricht- Von: Simha, Kailas [mailto:[EMAIL PROTECTED]] Gesendet: Dienstag, 13. August 2002 16:00 An: 'Tomcat Users List' Betreff:

AW: apache integration

2002-08-13 Thread Ralph Einfeldt
These all all different modules to reach the same goal: connect apache with tomcat. mod_jserv - the module that came from the jserv servlet engine for apache. Just forget about it if you use tomcat. mod_jk successor of mod_jserv - Currently the best (At least that's what I sample

AW: Apache+Tomcat+mod_jk

2002-08-13 Thread Ralph Einfeldt
Did you define a unique jvmroute for each in server.xml ? Engine jvmRoute=tomcat1 ... Engine jvmRoute=tomcat2 ... Have you encoded the action for the form(s) ? Otherwise you will have problems if cookies are diabled. -Ursprüngliche Nachricht- Von: Christoph Fischer [mailto:[EMAIL

AW: SSL Connection Tomcat and Apache

2002-08-13 Thread Ralph Einfeldt
Why do you care ? In most cases this traffic is not seen by anybody but yourself. It's a complete different topic if you allow third parties access to systems inside your network and you want to make shure that they don't listen to traffic, that isn't owned by them (E.G if your are an ISP).

AW: tomcat4.0.4 and Servlet Specification 2.3 and JSp1.2

2002-08-13 Thread Ralph Einfeldt
Even if it is supported you have no garantee that this will work. If the included page writes more content than the buffer size for the out stream is, you will get the same exception. -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Gesendet: Dienstag, 13.

AW: Load Balancing Concepts

2002-08-14 Thread Ralph Einfeldt
apache instance and modify the mod_jk configuration for each apache instance accordingly. Ralph Einfeldt Uptime Internet Solution Center GmbH Hamburg, Germany Hosting, Content Management, Java Consulting http://www.uptime-isc.de -Ursprüngliche Nachricht- Von: Schnitzer, Jeff [mailto

WG: AW: Apache+Tomcat+mod_jk

2002-08-14 Thread Ralph Einfeldt
PROTECTED]] Gesendet: Mittwoch, 14. August 2002 09:00 An: Tomcat Users List; Ralph Einfeldt Betreff: Re: AW: Apache+Tomcat+mod_jk Thanks for the reply, I did define the jvmRoute, but that didn't solve the problem. Engine jvmRoute=tomcat1 name=Standalone defaultHost=localhost debug=0 My

AW: WG: AW: Apache+Tomcat+mod_jk

2002-08-14 Thread Ralph Einfeldt
his session. -Ursprüngliche Nachricht- Von: Christoph Fischer [mailto:[EMAIL PROTECTED]] Gesendet: Mittwoch, 14. August 2002 10:40 An: Tomcat Users List; Ralph Einfeldt Betreff: Re: WG: AW: Apache+Tomcat+mod_jk I'm using only servlets, but I also did try the session tracking via

AW: what is url rewriting

2002-08-14 Thread Ralph Einfeldt
url rewriting is mostly done by a module that intecepts incoming requests and changes it the before the request is forwarded to the application. The Application doesn't see the original request. (Look for mod_rewrite for apache) What you look for is redirection. The server tells the browser

AW: forward to TOP-Frame

2002-08-14 Thread Ralph Einfeldt
Then you just can't do it. This is a client site problem. Tomcat (as any web server) doesn't know anything about targets (It's not part of the HTTP protocoll). So every response is send back to the frame that send the request. The !ONLY! way to change that, is to use javascript.

AW: Session and IP

2002-08-14 Thread Ralph Einfeldt
What makes you think that they share the session ? In mosts cases I have seen in the past this kind of problems came from the application that stored something in a way that wasn't session safe. On additional type of problem: Pages with personalized data can sometimes be cached by proxies,

AW: Session and IP

2002-08-14 Thread Ralph Einfeldt
Carlsson - Original Message - From: Ralph Einfeldt [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Wednesday, August 14, 2002 12:35 PM Subject: AW: Session and IP What makes you think that they share the session ? In mosts cases I have seen in the past this kind

AW: How to keep track of sessions

2002-08-14 Thread Ralph Einfeldt
You can implement a ContextListener that persists your Vector when the Context is shutdown. A quite dirty trick would be to store a reference to the Vector in each session and let tomcat do the work for you. -Ursprüngliche Nachricht- Von: Mark O'Driscoll [mailto:[EMAIL PROTECTED]]

AW: How to keep track of sessions

2002-08-14 Thread Ralph Einfeldt
See below -Ursprüngliche Nachricht- Von: Shapira, Yoav [mailto:[EMAIL PROTECTED]] Gesendet: Mittwoch, 14. August 2002 14:59 An: Tomcat Users List Betreff: RE: How to keep track of sessions Sessions are not meant to be persisted across server restarts. Obviously other people

AW: How to keep track of sessions

2002-08-14 Thread Ralph Einfeldt
E.G. if you want to implement a session monitor. Depending on the kind of information you want to display it gets at sime point annoying to to copy everthing from the session to a store and to remove it from the store when the session ends. - More code = more possible error, less perfomance

AW: Bandwidth calculations

2002-08-14 Thread Ralph Einfeldt
Another option on a different level use a weblog analyser like webalizer http://www.mrunix.net/webalizer/ or awstats http://awstats.sourceforge.net/. Hammer the site with some thing you think is a typical load and look at the numbers that are generated by them. This may be not so precise but

AW: How to keep track of sessions

2002-08-14 Thread Ralph Einfeldt
See below: -Ursprüngliche Nachricht- Von: Shapira, Yoav [mailto:[EMAIL PROTECTED]] Gesendet: Mittwoch, 14. August 2002 16:06 An: Tomcat Users List Betreff: RE: How to keep track of sessions More code, yes. But I think the SessionInfo-type objects would be trivial. The manager

AW: How to keep track of sessions

2002-08-14 Thread Ralph Einfeldt
I think you make it a bit to comlicated. The session is invalidated automatically by tomcat. (See session-timeout in web.xml) The only thing that you have to do is implement a HttpSessionBindingListener store an instance of this class in the session. What job are you talking about? Do you

AW: Directory indexing in Tomcat 4.0

2002-08-14 Thread Ralph Einfeldt
Search for welcome-file -Ursprüngliche Nachricht- Von: Todd Fulton [mailto:[EMAIL PROTECTED]] Gesendet: Mittwoch, 14. August 2002 17:35 An: Tomcat Users List Betreff: Directory indexing in Tomcat 4.0 How does one turn off directory indexing in Tomcat 4.0? I've been asking

NullPointerExeptions (Was: How to keep track of sessions)

2002-08-14 Thread Ralph Einfeldt
- First please don't crosspost Your problem has nothing to do with session - No this aren't errors of tomcat. Two different application throw NullPointerExceptions in individual places. (See below) -Ursprüngliche Nachricht- Von: Luminous Heart [mailto:[EMAIL PROTECTED]]

AW: AW: How to keep track of sessions

2002-08-14 Thread Ralph Einfeldt
is invalidated in tomcat, but still this job is running on as/400 so i want to write some code which will mkae sure that i kill this job running on as/400 when the session is being invalidated. also is there a way i can find out the number of active sessions in tomcat??? Ashish Ralph Einfeldt

AW: AW: forward to TOP-Frame

2002-08-14 Thread Ralph Einfeldt
Rather than using this solution I prefer to forget about frames and just use included jsp's. Apart from the possibility to allow scrollable regions on a page (which I hate anyway) I can't see any benefit in using frames in this scenario. -Ursprüngliche Nachricht- Von: Jacob Kjome

AW: j_username in session cookie - where did it go?

2002-08-14 Thread Ralph Einfeldt
Was has the security on the data level to do with Craigs answer? The container makes the authentication, that is it checks the username and password against a Realm. After that the application knows who is logged in and which roles this user has. That's the only thin that a application needs to

AW: AW: AW: forward to TOP-Frame

2002-08-14 Thread Ralph Einfeldt
I noticed it, but haven't looked at it, because I thought it would be a resouce that explains in more depth the solution you provided. (At least you gave no hint like this time what I might expect there) As I wasn't interested in that, I ignores it nearly. (just bookmarked the url)

AW: Errors Compiling a JSP

2002-08-15 Thread Ralph Einfeldt
There should be more information available in one of the logs. Some background: The JSP is compiled to a servlet. With %! % you define members or methods for the class or instance. With % % you fill the body of a method, all implicit variables (like request) are local to this method. Have a

AW: Errors Compiling a JSP

2002-08-15 Thread Ralph Einfeldt
I don't believe that, there are always error messages in log files. look at them. - Have you looked at the genarated servlet ? - Check colorValues for null before derefencing it. - Check colorValues.length before accessing an index. - This is not the right forum to learn java.

AW: [DEBIAN, TOMCAT4 MOD_PROXY]

2002-08-16 Thread Ralph Einfeldt
You can just use the mod_jk from Tomcat 3.3. for tomcat 4. -Ursprüngliche Nachricht- Von: Ángel Carrasco [mailto:[EMAIL PROTECTED]] Gesendet: Freitag, 16. August 2002 00:18 An: Tomcat List Betreff: [DEBIAN, TOMCAT4 MOD_PROXY] I use debian 3.0 (woody) and I install tomcat4 and

AW: AW: [DEBIAN, TOMCAT4 MOD_PROXY]

2002-08-16 Thread Ralph Einfeldt
Where ? Quote from http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.0.4/: NOTE: AJP 1.3 native connectors binaries for Tomcat 3.2 and 3.3 are fully compatible with Tomcat 4.0 AJP 1.3 connector. The AJP 1.3 connector also supports load balancing and auto configuration.

AW: AW: AW: [DEBIAN, TOMCAT4 MOD_PROXY]

2002-08-16 Thread Ralph Einfeldt
I don't know which version mod_jk is delivered with debian. You may have to download the binaray from http://jakarta.apache.org/builds/jakarta-tomcat/release/v3.3.1/bin/linux /i386/ -Ursprüngliche Nachricht- Von: falkom [mailto:[EMAIL PROTECTED]] Gesendet: Freitag, 16. August 2002

AW: How to configure Tomcat 4.01 + Apache http server 1.3.19 work?

2002-02-04 Thread Ralph Einfeldt
- Tomcat is a servlet and jsp engine. So you don't need JServ to do servlets (it wasn't necessary for tomcat 3.* either) - mod_jserv/mod_jk/mod_webapp are different generations of connectors that connect a webserver with tomcat. - There are several reasons to use apache (or IIS)

AW: improper JSP, or Tomcat bug?

2002-02-04 Thread Ralph Einfeldt
Try this: jsp:useBean id=msg class=String scope=session New. % return; %/jsp:useBean Tomcat tries to put out the linfeed between the scriptlet and the useBean Tag. -Ursprüngliche Nachricht- Von: Gregory Guthrie [mailto:[EMAIL PROTECTED]] Gesendet: Montag, 4. Februar 2002 21:56

AW: Session not sticking after timeout

2002-02-04 Thread Ralph Einfeldt
One guess: Did you have a look at the session id that is transmitted after the user logged in ? Is it a new one or is it the an older one ? Have a look at request.getRequestedSessionId()and session.getId() in the login page and the following page. One thing I expierienced is, that the IE has

AW: Session not sticking after timeout BUG?

2002-02-05 Thread Ralph Einfeldt
AFAIK getRequestedSessionId() should alway return somthing if there is a session id present (cookie or url encoded) no matter wether the session id is valid or not. Can you read the JSESSIONID cookie ? Cookie[] mCookies = request.getCookies(); if ((mCookies == null) || (mCookies.length == 0))

AW: AW: Session not sticking after timeout BUG?

2002-02-05 Thread Ralph Einfeldt
Sorry, I'm out of my wisdom, that one for the hard core guys... -Ursprüngliche Nachricht- Von: Ivan E. Markovic [mailto:[EMAIL PROTECTED]] Gesendet: Dienstag, 5. Februar 2002 14:52 An: Tomcat Users List Betreff: Re: AW: Session not sticking after timeout BUG? snip/ I just

AW: welcome-file behavior

2002-02-06 Thread Ralph Einfeldt
Just 2 ideas: - Inputfilter that rewrites the request to your index file. - Output filter that returns the index file instead of the redirect. Which option is better for you, depends on the architecture of your application. (I guess that for most applications the second option is easier.)

AW: PLEASE URGENT: log off problem!!!

2002-02-06 Thread Ralph Einfeldt
That's normal. You can set the SessionTimeOut to a different value. I wouldn't recommens to set it to much higher values than the default of 30 minutes, as this will increase the resource usage of the system. You have to keep in mind that each aktive session needs some memory to store its

AW: TOMCAT 4.X - mod_jk

2002-02-06 Thread Ralph Einfeldt
What happened is the following: The original documents contain the comment !-- Replace localhost with what your Apache ServerName is set to -- but the example didn't contain the string 'localhost'. Now there are two suggested solutions what was ment with that comment. - the entry 'name=Apache'

AW: SendMailServlet.class

2002-02-06 Thread Ralph Einfeldt
To compile the servlet you have to have the mail jars in the classpath. (mail.jar and activation.jar) -Ursprüngliche Nachricht- Von: chad kellerman [mailto:[EMAIL PROTECTED]] Gesendet: Mittwoch, 6. Februar 2002 14:38 An: [EMAIL PROTECTED] Betreff: SendMailServlet.class snip/ javac

AW: SendMailServlet.class

2002-02-06 Thread Ralph Einfeldt
I guess that's still the same error, you get just a different message with the other jdk. mail.jar in probaly not in the classpath when you call javac. -Ursprüngliche Nachricht- Von: chad kellerman [mailto:[EMAIL PROTECTED]] Gesendet: Mittwoch, 6. Februar 2002 16:42 An: Tomcat

AW: SendMailServlet.class

2002-02-06 Thread Ralph Einfeldt
That not his problem, he can't even compile the classes. Saw your previous posts, but I can't help you as we didn't have any problems with JavaMail. -Ursprüngliche Nachricht- Von: Nancy Crisostomo Martinez [mailto:[EMAIL PROTECTED]] Gesendet: Mittwoch, 6. Februar 2002 17:02 An:

AW: Multi-user problem

2002-02-06 Thread Ralph Einfeldt
Apart from using a 'real' driver you should use a connection pool to access the database. Opening the connection on every db access is very inefficient. Further you should explicitly close the Statements (see below) Are query and con instance or class variables ? -Ursprüngliche

AW: how to prevent hitting back button and re-executing code?

2002-02-07 Thread Ralph Einfeldt
The only ways I know is to do this: - implement this on your own store some information in the page that enables you to decide whether the request has been resubmittet and act acordingly. - use a framework that does this for you. (AFAIK struts does this) - Remove the toolbar with the back

AW: EJB - JSP / Properties

2002-02-07 Thread Ralph Einfeldt
I tend to put as much of java code into beans as sensefull. In this case I would create a class that encapsulates the creation of the context. Other ways: - Use an include - Create and use a tag library -Ursprüngliche Nachricht- Von: Loïc Lefèvre [mailto:[EMAIL PROTECTED]]

AW: java.lang.StackOverflowError

2002-02-08 Thread Ralph Einfeldt
I would be more carefully say: it can be a known issue. But it can also be an application error or a setup error. Without any information about where in the java code the StackOverFlow happens and under what circumstances it's hard to say. (As Randy said at least a stacktrace would give some

AW: Moving to Tomcat from SilverStream - replacement for Fulcrum?

2002-02-10 Thread Ralph Einfeldt
Some possible solutions: http://jakarta.apache.org/lucene/docs/index.html http://sourceforge.net/projects/neatseeker/ http://www.htdig.org/ (To use it in java, you have to use some brute force, as they don't deliver a servlet anymore (at least I couldn't find it)

AW: RE: database connect to db overr mod_webapp - possible bug

2002-02-12 Thread Ralph Einfeldt
Can you tell us which of the 4 lines causes the NPE ? (Have a look at the genrated source in the work direectory line 123) -Ursprüngliche Nachricht- Von: Chris Faulkner [mailto:[EMAIL PROTECTED]] Gesendet: Dienstag, 12. Februar 2002 14:40 An: Tomcat Users List Betreff: Re: RE:

AW: AW: RE: database connect to db overr mod_webapp - possible bug

2002-02-12 Thread Ralph Einfeldt
So the lookup in the second line that fails and return a null. Context envCtx = (Context) initCtx.lookup(java:comp/env); I'm currently not using JNI but I remembered a post some time ago. May be this helps: http://mikal.org/interests/java/tomcat/archive/view?mesg=45843 -Ursprüngliche

AW: Question about mod_webapp

2002-02-12 Thread Ralph Einfeldt
According to the following link not. http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.0.2/RELEA SE-NOTES (But this might be outdated in this aspect ?) -Ursprüngliche Nachricht- Von: Chad Johnson [mailto:[EMAIL PROTECTED]] Gesendet: Dienstag, 12. Februar 2002 15:36

AW: Tomcat and Apache load-balancing ?

2002-02-13 Thread Ralph Einfeldt
Depends on the architecture of your infrastructure: apache - tomcat Loadbalacer apache - tomcat In this scenario you don't need the loadbalancing feature of mod_jk but the loadbalancer must honor the sessions. apache tomcat Loadbalacer X

AW: Standard filter implementations

2002-02-14 Thread Ralph Einfeldt
Have a look at: http://www.javaworld.com/javaworld/jw-06-2001/jw-0622-filters.html -Ursprüngliche Nachricht- Von: Attila Szegedi [mailto:[EMAIL PROTECTED]] Gesendet: Donnerstag, 14. Februar 2002 11:45 An: Tomcat Users List Betreff: Standard filter implementations snip/ does

AW: Problem porting webapp from Orion / Resin to Tomcat 4.0.1

2002-02-14 Thread Ralph Einfeldt
Just a guess (Haven't worked with filters by now): You set the contenttype of the response ofter the doFilter(). If the doFilter() creates some output to the output stream it might be flushed before you set the content type. Once a flush() happened on the output stream any call of

AW: Limit of HTML input fields in a form?

2002-02-15 Thread Ralph Einfeldt
Do you use method=post or method=get in the form. This kind of error shouldn't happens with of the of the methods. Post should have no restriction at all, and get can have a restriction but : spec A server SHOULD return 414 (Request-URI Too Long) status if a URI is longe than the server

AW: reloading classes - rephrase

2002-02-18 Thread Ralph Einfeldt
There is not mutch you can do about that at the moment. Future versions of tomcat might be able to recreate the session after reload. But for now the session is lost, because not only your variables get lost but also all internal variables that describe the state of te session.

AW: Signup servlet

2002-02-19 Thread Ralph Einfeldt
Which file ? Can't see an attachment. -Ursprüngliche Nachricht- Von: Uma Maheswar [mailto:[EMAIL PROTECTED]] Gesendet: Dienstag, 19. Februar 2002 15:36 An: Tomcat Users List Betreff: Signup servlet snip/ the database. I am attaching my java file here. Please check snip/ -- To

AW: Signup servlet

2002-02-19 Thread Ralph Einfeldt
Some things you should change: - Move your variables Connection,... inside the doPost() method. Otherwise these variables will be shared between requests. You will get confusing result if two ore more requests run through the doPost() at the same time. - Use a ConnectionPool to

AW: ConcurrentModificationException error

2002-02-19 Thread Ralph Einfeldt
AFAIK that's a result of the way tomcat 4.x implements the internal storage of the parameters. I think you can't remove a parameter inside a loop whitch getParameterNames(). One way around that, is to collect first the names and than remove the parameters. -Ursprüngliche Nachricht-

AW: Catalina Clustering

2002-02-21 Thread Ralph Einfeldt
http://www.ubeans.com/tomcat -Ursprüngliche Nachricht- Von: Paul Brown [mailto:[EMAIL PROTECTED]] Gesendet: Donnerstag, 21. Februar 2002 15:27 An: Tomcat Users List Betreff: Catalina Clustering snip/ Can anyone point me at some 4.0.1 documentation regarding setting up clusters

AW: I get an exception java.io.FileNotFoundException: Tomcat 4 ssl

2002-02-22 Thread Ralph Einfeldt
Make shure that the user that runs tomcat has the proper permissions to read that file and the parent directories. -Ursprüngliche Nachricht- Von: Chuck Amadi [mailto:[EMAIL PROTECTED]] Gesendet: Freitag, 22. Februar 2002 14:38 An: tomcat Betreff: I get an exception

AW: JSP not returning full page problem

2002-02-22 Thread Ralph Einfeldt
Make shure that your page doesn't throw an exeption. If a page is very long and an exception happens, the error directive wiil not always work, because part of the page has already bean transmitted to the client. Best embed your scriptlet in a try/catch block and log the Exception/Throwable.

AW: JSP not returning full page problem

2002-02-22 Thread Ralph Einfeldt
Not Faster but less redundancy: String mSelected for (int a=1;a32;a++) { if ( a==day ) mSelected = SELECTED; } else { mSelected = ; } % OPTION %= mSelected % VALUE=%= a %%= a %/OPTION % } % Or a bit shorter but harder to read: % for (int a=1;a32;a++)

AW: Servlet threw exception java.io.IOException: Posted content length of 36238773 exceeds limit of 8388608

2002-02-25 Thread Ralph Einfeldt
That's a hardcoded limit of OpenCMS. com/opencms/core/CmsRequestHttpServlet.java: private static final int DEFAULT_MAX_POST_SIZE = 8192 * 1024; // 8 Meg ... private int m_maxSize = DEFAULT_MAX_POST_SIZE; ... int length = m_req.getContentLength(); if(length m_maxSize) { throw new

AW: Limiting Memory usage with Tomcat 3.2.2

2002-02-26 Thread Ralph Einfeldt
The default for the ibm and sun jdk is that the memory is limited to some extend. The limitation can be set through the option -Xms -Xmx for the jvm. This just limits the heap size. What you can't restrict is the memory for the code and data segments. (To be honest I don't have a clear idea

AW: AW: Limiting Memory usage with Tomcat 3.2.2

2002-02-26 Thread Ralph Einfeldt
If you are using linux that's not right. What you see are threads not processes. Threads share the same memory, so the memory is just used once. -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Gesendet: Mittwoch, 27. Februar 2002 08:33 An: Tomcat Users

AW: AW: AW: Limiting Memory usage with Tomcat 3.2.2

2002-02-26 Thread Ralph Einfeldt
Then verify if that are independend processes: Have a look at ps ax --forest to see if you have more than one parent process that spans vm's. Kill single pid's and see if other processes/thread die to. -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]

AW: Tomcat 4 + Apache + virtual name-based domains + separate instances

2002-02-27 Thread Ralph Einfeldt
For TC 4 the is an example for virtual hosts with mod_jk: http://jakarta.apache.org/tomcat/tomcat-4.0-doc/config/ajp.html For TC 3.2 there is a how-to for virtual hosts with mod_jk: http://jakarta.apache.org/tomcat/tomcat-3.2-doc/tomcat-apache-howto.html #virtual_hosting

AW: tomcat402+iplanet4.1

2002-02-28 Thread Ralph Einfeldt
Are you also using the mod_jk.so of 3.3 ? If not, give it a try. -Ursprüngliche Nachricht- Von: Thutika, Swamy [mailto:[EMAIL PROTECTED]] Gesendet: Donnerstag, 28. Februar 2002 15:06 An: '[EMAIL PROTECTED]' Betreff: tomcat402+iplanet4.1 snip/ As i didn't find

AW: tomcat402+iplanet4.1

2002-02-28 Thread Ralph Einfeldt
Sorry, was in wrong cinema. Forget it. mod_jk.so is for apache what naspi_redirector.dll is for netscape. -Ursprüngliche Nachricht- Von: Thutika, Swamy [mailto:[EMAIL PROTECTED]] Gesendet: Donnerstag, 28. Februar 2002 15:25 An: 'Tomcat Users List' Betreff: RE: tomcat402+iplanet4.1

AW: tomcat402+iplanet4.1

2002-02-28 Thread Ralph Einfeldt
Your log looks like you already use mod_jk. I don't think that naspi_redirector.dll will produce such messages. (Not shure as I never used it) -Ursprüngliche Nachricht- Von: Thutika, Swamy [mailto:[EMAIL PROTECTED]] Gesendet: Donnerstag, 28. Februar 2002 15:25 An: 'Tomcat Users

AW: XSL - Reload a resource without restarting

2002-02-28 Thread Ralph Einfeldt
Depends on the application/library that is using the file and how much control you have about the application/library. Without more input it's hard to say anything more. -Ursprüngliche Nachricht- Von: Lauer, Oliver [mailto:[EMAIL PROTECTED]] Gesendet: Donnerstag, 28. Februar 2002

AW: XSL - Reload a resource without restarting

2002-02-28 Thread Ralph Einfeldt
I thought that the problem was, how to handle the change not how to recognize it. If the xsl is just file and you know where it is, what about this: long mLastLoad = 0; File mXSLFile = new File(path-to-file); if (mXSLFile.lastModified() mLastLoad) { doWhatEverToReRead(); mLastLoad = (new

AW: Just trying to get things stright...

2002-03-01 Thread Ralph Einfeldt
Partly Wrong. With the HttpConnector you can use tomcat as a stand alone web server. So this hasn't much to do with apache. (It's just a replacement for apache if you don't need the features of apache) The web_app module connects apache with tomcat. To use mod_webapp you need some settings in

AW: Session.getAttribute gives null when it shouldn't?

2002-03-04 Thread Ralph Einfeldt
The 'legal' ways to get this result: - Lost session. If you loose a session all values assigned to the session will be lost. One typical reason to loose a session: Forget to call encodeUrl() on a link and the user has cookies disabled. Another reason: session timeout. -

AW: mod_jk fails in chrooted environment

2002-03-04 Thread Ralph Einfeldt
errno 111 = connection refused I don't know all reasons for this error message. But one reason is, that there is no service listening on the given port. I guess that the java part of the connector is not running. -Ursprüngliche Nachricht- Von: Rohan Oberoi [mailto:[EMAIL

AW: don't found packages...

2002-03-05 Thread Ralph Einfeldt
You have to add the jars to the classpath, not the directory. SET CLASSPATH=c:\tomcat\common\lib\a.jar;c:\tomcat\common\lib\b.jar -Ursprüngliche Nachricht- Von: cyril vidal [mailto:[EMAIL PROTECTED]] Gesendet: Dienstag, 5. März 2002 11:36 An: [EMAIL PROTECTED] Betreff: don't found

AW: Loadbalancing question

2002-03-05 Thread Ralph Einfeldt
Are you shure that you created at least two sessions ? Depending on the browser it's sometimes difficult to create two sessions if you are just opening new windows. If you started two independend browsers that should work with any browser I've tested. As I'm not using tomcat, I can give just

AW: Apache 1.3, mod_webapp and Tomcat4

2002-03-06 Thread Ralph Einfeldt
AFAIK in the current state of mod_webapp everything inside /mywebapp is served by tomcat. Have look at the release notes. -Ursprüngliche Nachricht- Von: Simon Liebold [mailto:[EMAIL PROTECTED]] Gesendet: Mittwoch, 6. März 2002 09:35 An: Tomcat User Betreff: Apache 1.3, mod_webapp

AW: Installing Tomcat as a CGI script

2002-03-06 Thread Ralph Einfeldt
Even if it would be possible to use tomcat this way, I don't think that you will get far with this approach. (Not that I think that this is impossible, but for the efford to achieve this goal you can easily take a better provider without looking at the price) For this to work you need a

AW: Upgrade to JDK1.4 -- unable to compile JSPs

2002-03-07 Thread Ralph Einfeldt
Tomcat is still using parts of your previous java installation to compile. The rt.jar is the new one but javac is the old. Check your PATH, the environment and the registry keys. (Can't be more precise, I don't have java running on windows) -Ursprüngliche Nachricht- Von: Scott

AW: Does anyone know of a Tomcat 3.2.4 Memory Leak Problem?

2002-03-07 Thread Ralph Einfeldt
The classes that implement the servlet are not unloaded. AFAIK currently java has no means to unload single classes. You can only destroy the classloader. This way you loose all classes loaded by the classloader. (that's what happens if you change a JSP and have automatic reloading enabled)

AW: How to Unsubscribe?

2002-03-07 Thread Ralph Einfeldt
Is your current mail adress different from the one you used to subscribe ? Did you also try the following ? ezml-snippet To stop subscription for this address, mail: [EMAIL PROTECTED] /ezml-snippet s/john/tom s/host.domain/58k.com -Ursprüngliche Nachricht- Von: Thomas Riemer

AW: How to Unsubscribe?

2002-03-07 Thread Ralph Einfeldt
It just a snippet from standard ezml mail which you (should) get by sending a mail to [EMAIL PROTECTED] In casse it does not work for you here the complete text: Hi! This is the ezmlm program. I'm managing the [EMAIL PROTECTED] mailing list. I'm working for my owner, who can be reached at

AW: IE 5 on Mac is incompatible with TC 4?

2002-03-08 Thread Ralph Einfeldt
I think they best way you can solve this problem, is to use response.encodeUrl() on all links to enable the session tracking by url. -Ursprüngliche Nachricht- Von: Anders Rundgren [mailto:[EMAIL PROTECTED]] Gesendet: Freitag, 8. März 2002 13:04 An: Tomcat Users List Betreff: SSL:

AW: IE 5 on Mac is incompatible with TC 4?

2002-03-08 Thread Ralph Einfeldt
I got the impression from your previous posts, that the browser is the source not tomcat. -Ursprüngliche Nachricht- Von: Anders Rundgren [mailto:[EMAIL PROTECTED]] Gesendet: Freitag, 8. März 2002 13:19 An: Tomcat Users List Betreff: Re: IE 5 on Mac is incompatible with TC 4?

AW: IE 5 on Mac is incompatible with TC 4?

2002-03-08 Thread Ralph Einfeldt
I don't copletly agree with that. As long as you don't break specs it is possible to do something in tomcat to deal with errors in browsers. (Like missbehavior in the headers of a http request) If a browser has a bug that you can't deal with, without breaking the spec there isn't much you can

AW: IE 5 on Mac is incompatible with TC 4?

2002-03-08 Thread Ralph Einfeldt
Just to list the possible sources: - Tomcat doesn't send the cookie Unlikely, as it works with other browsers - Tomcat send it in a format that this version of ie doesn't recognize Two variants for this - The header contains/misses something that makes this version of IE fail. -

<    1   2   3   4   5   6   7   8   9   10   >