RE: Removing extra white spaces in source

2003-10-27 Thread Ralph Einfeldt
They are not put in by tomcat, they are already in the underlying source. If you have some thing like % % % % jsp:'someTag'/jsp:'someTag' jsp:'someTag'/jsp:'someTag' There are already linefeeds between this lines which are just repeated by tomcat in the output. As a genral purpoose

Session affinity vs sticky session

2003-10-27 Thread Dinh Nguyen
Hi all, I have to raise this question because it may confuse a lot of us and the right answer can clarify something very important: Is session affinity and sticky session the same in apache + jk2 + tomcat load balancing enviroment? As I know, the sticky session means that: if you have many

Re: Session affinity vs sticky session

2003-10-27 Thread Filip Hanik
session affinity==sticky sessions, if you need session replication, try out http://cvs.apache.org/~fhanik/ Filip - Original Message - From: Dinh Nguyen [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Sunday, October 26, 2003 11:03 PM Subject: Session affinity vs sticky

RE: Session affinity vs sticky session

2003-10-27 Thread Ralph Einfeldt
As I understand it, both terms are use for what you call 'session affinity'. This is what mod_jk supports. The term for what you call 'sticky session' is AFAIK session replication. This can also be used in tomcat: http://www.filip.net/tomcat/ -Original Message- From: Dinh Nguyen

Re: Where to put JSP file?

2003-10-27 Thread Bogdan Brzozowski
Thanks very much for your help. It was really valuable to resolve my problem: I placed FirstPage.jsp into SRC directory instead of WEB. As I'm beginner I'll bother you with such kind of 'dummy' qestions in the future I think. Thank you very much once again. Regards Bogdan Brzozowski

RE: Session affinity vs sticky session

2003-10-27 Thread Dinh Nguyen
I got two answers from Filip and Ralph. Basing on what Filip said, can I think that no session replication in session affinity? Tks for yours. -Original Message- From: Filip Hanik [mailto:[EMAIL PROTECTED] Sent: Monday, October 27, 2003 2:11 PM To: Tomcat Users List Subject: Re: Session

Re: Session affinity vs sticky session

2003-10-27 Thread Filip Hanik
correct - Original Message - From: Dinh Nguyen [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Sunday, October 26, 2003 11:47 PM Subject: RE: Session affinity vs sticky session I got two answers from Filip and Ralph. Basing on what Filip said, can I think that no session

RE: Session affinity vs sticky session

2003-10-27 Thread Dinh Nguyen
Filip, you are a man. Thank you very much. Dinh. -Original Message- From: Filip Hanik [mailto:[EMAIL PROTECTED] Sent: Monday, October 27, 2003 2:52 PM To: Tomcat Users List Subject: Re: Session affinity vs sticky session correct - Original Message - From: Dinh Nguyen [EMAIL

Re: Session affinity doesn't work

2003-10-27 Thread Klaus Wienert
I post my working configuration set: For every Tomcat I added a jvmRoute like this: Engine jvmRoute=apps1 name=Standalone defaultHost=localhost debug=0 And this is my workers2.properties: ## Define the shared memory file [shm] ver=1 info=Scoreboard. Required for reconfiguration and status

Tomcat + Connector issues

2003-10-27 Thread Tatu Vanhanen
Hello I have two questions about Tomcat and connnectors. The front-end web server is Apache. 1.) When using Tomcat 4.1.24 and the Warp- connector, the creation of the servlet and the call to init() happens two times (even the class loading). Normally this would not be a great problem, but in my

Tomcat + Connector issues

2003-10-27 Thread Tatu Vanhanen
Hello I have two questions about Tomcat and connnectors. The front-end web server is Apache. 1.) When using Tomcat 4.1.24 and the Warp- connector, the creation of the servlet and the call to init() happens two times (even the class loading). Normally this would not be a great problem, but in my

Information Push

2003-10-27 Thread Ralf Bierig
Hi, Tomcat works over HTTP and therefore implement the HTTP request / response pattern which is like an information pull over the internet. For this I would for example have a JSP which is requested by a browser, these JSP is callign some java beans and the information output is put as a HTML and

RePost: Linux Kernel 2.6

2003-10-27 Thread Oscar Carrillo
Ok, maybe you all headed out of town for the weekend and aren't watching the list. So I'm reposting this so that maybe I can catch the Monday morning stampede. For those in Daylight Savings Time zones, remember you've got an extra hour to read the list :) Just wondering if anyone has experience

tomcat apache question

2003-10-27 Thread Javier Sanchez Monzon
hi there , Hi Matt Raible, i have read on the Tomcat Users List [EMAIL PROTECTED] that you have already configured the tomcat and apache server. I am trying to do this but i have some problems. I hope you can help me. My scenario is: apache 1.2.37 and tomcat 4.1.27 LE. on solaris 8 and

Re: Servlet reload problem

2003-10-27 Thread Neil Zanella
Interesting. I am having either the same problem or in any case a very similar one. I used to use Tomcat 1.4.24 with the autoreload feature that everyone likes to use so much, because it's just so convenient when you're developing web applications not to have to restart the web server every time

servlets: automatic compilation: is it possible?

2003-10-27 Thread Neil Zanella
Hello, I am currently using Tomcat 4.1.27. When I want to deploy a web application I have to recompile the servlet (.java file) and place the produced class file (bytecode) under the WEB-INF/classes directory. Now, with JSP when you have a .jsp file the it all happens automatically: you don't

process file in other context

2003-10-27 Thread Fabian Baum
hi guys, my problem: i have two different contexts A and B. what i want to achieve is, that files (JSPs/servlets) from the first context A which are called from within context A are processed in the second context B. these files need libs and classes, that are ONLY available to context B. i

Virtual host on Tomcat 3.3

2003-10-27 Thread lbc
Hi list I need to host a number of web domains on my Tomcat 3.3 server, and would appreciate if some could point me to a description of what I need to add to the server.xml file. Any help is greatly appreciated. Kind regards Lars -- Lars Ballieu Christensen Sensus ApS - European

Tomcat in combination with SMP and Sun java 1.4.1-01 or IBM java 1.3.x?

2003-10-27 Thread Patrick Ale
Heya! I seem to have some issues running tomcat/a web application with JSPs on SMP machines running either IBM java 1.3.x or Sun Java 1.4.1-01. The application crashes every four hours. The configuration is as follow: Configuration 1: RedHat 7.3 Dual PIII 800Mhz java version 1.3.1 Java(TM) 2

Re: Missing jdbc context

2003-10-27 Thread Peter Harrison
On Thu, 23 Oct 2003 00:59, Johann Uhrmann wrote: Hello, I have some problems with Tomcat 4.1.27 and database connection pooling: Apparently, the context java:comp/env/jdbc does not exist. Can someone give me a hint why that context is not available? This sounds suspeciously like the

RE: Tomcat in combination with SMP and Sun java 1.4.1-01 or IBM java 1.3.x?

2003-10-27 Thread Francois JEANMOUGIN
When I run the same application on a uniprocessor (either a athlon 2400xp+ or single PIII550) the application runs stable for weeks, any idea's what might cause the problem? We found the same, and if you look at the traces, it appears to be a JITC problem. So probably a bad optimization

Re: Information Push

2003-10-27 Thread Holger Klawitter
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 However if somebody know a more generic appraoch, please let me know? Is there a kind of architecture which supports this kind of programming? You can use an applet establishing a permanent connection back to our server. You will have to do the

Re: Tomcat stops handling HTTP connections, socket is SYN_RECV

2003-10-27 Thread frode
On Fri, Oct 24, 2003 at 16:01:48 +0200, [EMAIL PROTECTED] wrote: When everything quiets down, tomcat seems to be unable to service any http requests. Any attempt to connect to port 10003 with a web browser eventually causes a No data in response-style error message. At this point it seems the

RE: Tomcat stops handling HTTP connections, socket is SYN_RECV

2003-10-27 Thread Peter Guyatt
Hi There, Can you let me know which version of Tomcat has this problem ? I have seen a similar problem, I thought that it could be connected to deadlock, but it now does not appear to be the case. Thanks Pete -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]

Re: Tomcat stops handling HTTP connections, socket is SYN_RECV

2003-10-27 Thread Frode E. Moe
On Mon, Oct 27, 2003 at 11:54:48 -, Peter Guyatt wrote: Hi There, Can you let me know which version of Tomcat has this problem ? I have seen a similar problem, I thought that it could be connected to deadlock, but it now does not appear to be the case. Yes, it's (at least)

Re: servlets: automatic compilation: is it possible?

2003-10-27 Thread Tim Funk
Its possible - but not with the existing tomcat functionality. -Tim Neil Zanella wrote: Hello, I am currently using Tomcat 4.1.27. When I want to deploy a web application I have to recompile the servlet (.java file) and place the produced class file (bytecode) under the WEB-INF/classes

Directories structure

2003-10-27 Thread Freddy JSP
Hi, I'm Freddy from Brasil and I'm one new user, so this is a easy question. I'm learning JSP whith one e-book. But all the examples are related with the version 3 of Tomcat. I'm using the version 5. My difficult are to find the equivalent directores of both version (3 and 5), because de directory

How to use JAVA_OPTS with Apache tomcat4.0.6

2003-10-27 Thread Ramachandra
Dear Sir/Madam, Please tell me how can I increase the java virtual heap size. ie., How can I use java -Xms128M or java -Xmx256M with Apache tomcat4.0.6. Actually, while loading the files more than 10MB using the file tag of HTML i.e., Input type="File"

Jcvslet problem

2003-10-27 Thread Baber_Shah
Hi, I'm trying to set up jcvslet 1.01: I have set up a properties file as follows: # #DNE depot properties # JCVSlet.project.type=jcvs JCVSlet.project.name=DNE Repository JCVSlet.project.title=Discovery Networks Europe JCVSlet.project.home=/jcvslet/

StandardWrapperValve[invoker]: Servlet.service() for servlet invoker threw exception

2003-10-27 Thread Sonia Madrid Costa
Hi, i'm using the Tomcat 4.1.27 clustering with apache-ant-1.5.3-1. I'm trying InMemoryReplicationManager class, i have follow http://www.theserverside.com/resources/article.jsp?l=Tomcat page. I have run McastReceiverTest test and McastSenderTest, everything is fine, but when i try to run the

Re: Tomcat stops handling HTTP connections, socket is SYN_RECV

2003-10-27 Thread Remy Maucherat
[EMAIL PROTECTED] wrote: On Fri, Oct 24, 2003 at 16:01:48 +0200, [EMAIL PROTECTED] wrote: When everything quiets down, tomcat seems to be unable to service any http requests. Any attempt to connect to port 10003 with a web browser eventually causes a No data in response-style error message. At

RE: Tomcat stops handling HTTP connections, socket is SYN_RECV

2003-10-27 Thread Peter Guyatt
Hi there, I was JDK1.3.1_09 with 4.1.27 on solaris and have seen the same issue, anyone know if this is a bug in Tomcat ? Thanks Pete -Original Message- From: Frode E. Moe [mailto:[EMAIL PROTECTED] Sent: 27 October 2003 11:58 To: Tomcat Users List Subject: Re: Tomcat stops

RE: Information Push

2003-10-27 Thread Cor Hofman
Ralf, Have a look at http://www.javaworld.com/jw-03-2000/jw-03-pushlet.html http://www.sourceforge.net/projects/pushlets This is a technology using servlets. I had a play with it and it works just fine. The only disadvantage is that it keeps connections open on your server. Which is ok for a

[PATCH] Re: Tomcat stops handling HTTP connections, socket is SYN_RECV

2003-10-27 Thread Frode E. Moe
On Mon, Oct 27, 2003 at 13:29:50 +0100, Remy Maucherat wrote: I've figured out what's going wrong. The following exception is printed once on standard out when things fail: java.lang.OutOfMemoryError: unable to create new native thread at java.lang.Thread.start(Native Method)

RE: Information Push

2003-10-27 Thread Ralf Bierig
Hi, thank you for that pointer. I will have a look and a test. I looks interesting :-) I guess the connection is needed otherwise it can not update the browser. If the client however is not a browser but just a software who understands HTTP and is able to reconnect on demand, then it could be

modifying shutdown behaviour?

2003-10-27 Thread Julie McCabe
Hello, Config details: tomcat 4.1.24; java 1.4.1_02 When the $CATALINA_HOME/bin/shutdown.sh script is called I would like a particular web application to release its resources cleanly and perform tidy up operations before Tomcat shuts down. What is the best method of doing this? Does it

RE: modifying shutdown behaviour?

2003-10-27 Thread Bodycombe, Andrew
You could implement a ServletContextListener. The contextDestroyed() method will be called when your application is about to be removed. -Original Message- From: Julie McCabe [mailto:[EMAIL PROTECTED] Sent: 27 October 2003 13:30 To: [EMAIL PROTECTED] Subject: modifying shutdown

URL of calling JSP page calling a servlet.

2003-10-27 Thread anunay ashish
Hi, I want to trap the url of the JSP page calling a servlet. I want to use the url in the servlet to determine my course of action. Thanks in advance. Regards, Anunay Ashish. - To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: Missing jdbc context

2003-10-27 Thread Christopher Schultz
Hans, Set debug=99 for your server, engine, host, so you can see why tomcat is running into errors processing server.xml. Unfortunately, that setting does not provide any more information about the problem. If this happening when you're trying to use a realm or something like that? I wrestled

Re: How to use JAVA_OPTS with Apache tomcat4.0.6

2003-10-27 Thread Jacob Kjome
You need to read the docs a bit closer and remember that Java is case sensitive... http://java.sun.com/j2se/1.4.1/docs/tooldocs/windows/java.html#options try using... java -Xms128m or java -Xmx256m Jake At 10:02 AM 10/27/2003 +0530, you wrote: Dear Sir/Madam, Please tell me how can I

RE: Directories structure

2003-10-27 Thread Shapira, Yoav
Howdy, Use the directory structure outlined here for tomcat 4.x and 5.x: http://jakarta.apache.org/tomcat/tomcat-4.1-doc/appdev/index.html Yoav Shapira Millennium ChemInformatics -Original Message- From: Freddy JSP [mailto:[EMAIL PROTECTED] Sent: Monday, October 27, 2003 7:15 AM To:

Re: servlets: automatic compilation: is it possible?

2003-10-27 Thread Christopher Schultz
Neil, When I want to deploy a web application I have to recompile the servlet (.java file) and place the produced class file (bytecode) under the WEB-INF/classes directory. Now, with JSP when you have a .jsp file the it all happens automatically: you don't have to manually produce and place any

RE: modifying shutdown behaviour?

2003-10-27 Thread Shapira, Yoav
Howdy, Yup, that's a good suggestion. You actually have extremely fine tuned control over the shutdown process, including: 1. Session destroyed 2. Servlet destroyed 3. Filter destroyed 4. Context destroyed 5. Any class finalize() method 6. Runtime#addShutdownHook(Thread hook) The above list is

RE: Servlet reload problem

2003-10-27 Thread Shapira, Yoav
Howdy, Those links are present: you can click on Tomcat 4.1.27 in the main download page and you get to http://apache.oregonstate.edu/jakarta/tomcat-4/ or more generally http://[mirror-site]/jakarta/tomcat-4. Clicking on binaries in that page takes you to a page that has both the binaries and

Re: Information Push

2003-10-27 Thread Christopher Schultz
Ralf, To be more specise, but I do not want to restrict your answer, I could also think of these variant. I JSP site is requested by a browser. Every few seconds, the Java bean is producing a new updated version of this output website. How would I do this? If all you want is a fresh page after an

Re: modifying shutdown behaviour?

2003-10-27 Thread Christopher Schultz
Julie, When the $CATALINA_HOME/bin/shutdown.sh script is called I would like a particular web application to release its resources cleanly and perform tidy You could implement a ServletContextListener. The contextDestroyed() method will be called when your application is about to be removed.

RE: URL of calling JSP page calling a servlet.

2003-10-27 Thread Shapira, Yoav
Howdy, You mean like the Referer (misspelled) header? Yoav Shapira Millennium ChemInformatics -Original Message- From: anunay ashish [mailto:[EMAIL PROTECTED] Sent: Monday, October 27, 2003 8:55 AM To: Tomcat Users List Subject: URL of calling JSP page calling a servlet. Hi, I want to

RE: WAR file not found

2003-10-27 Thread Shapira, Yoav
Howdy, I have a webapplication running on tomcat-4.1.24. if i create a WAR file of the application and try to deploy it, tomcat cannot find the application. could some one help? Not without more information such as the errors in your tomcat log. Yoav Shapira This e-mail, including any

RE: modifying shutdown behaviour?

2003-10-27 Thread Shapira, Yoav
Howdy, When the $CATALINA_HOME/bin/shutdown.sh script is called I would like a particular web application to release its resources cleanly and perform tidy You could implement a ServletContextListener. The contextDestroyed() method will be called when your application is about to be

Re: URL of calling JSP page calling a servlet.

2003-10-27 Thread anunay ashish
I mean I call a servlet addDataServlet from a JSP file pageFormats.jsp In the addDataServlet I want to know that which is the JSP page that called this servlet? - Original Message - From: Shapira, Yoav [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Monday, October 27, 2003

RE: URL of calling JSP page calling a servlet.

2003-10-27 Thread Shapira, Yoav
Howdy, Yes, use HTTP Referer header. You can RTFM/google on this issue, it's easy. Yoav Shapira Millennium ChemInformatics -Original Message- From: anunay ashish [mailto:[EMAIL PROTECTED] Sent: Monday, October 27, 2003 9:40 AM To: Tomcat Users List Subject: Re: URL of calling JSP page

hit count or statistics

2003-10-27 Thread Hugo Rucha
It's possible to know the hit count statistics or the downloads numbers from my web site through the tomcat logs or other way. _ Tired of spam? Get advanced junk mail protection with MSN 8.

IIS log files

2003-10-27 Thread Chanan Braunstein
Good Morning, I am using Tomcat 4 with the IIS redirector dll (version 1 I think). The URI being written to the IIS log files is always: /jakarta/isapi_redirect.dll instead of the JSP file name. Is there a way to fix that? Chanan Braunstein Knovel Corp. Web Development Manager

RE: IIS log files

2003-10-27 Thread Bui, Bao-Ha D
I have been looking for a way to do that for a long time. So far, the answer is no. If you do find out anything, please post and let me know too. Thanks. Bao-Ha Dam Bui [EMAIL PROTECTED] St. Jude Medical, Inc 651.765.1018 PS: just curious, are you looking at this to use the log for

Application-level security

2003-10-27 Thread Christopher Schultz
All, I've been involved in quite a few web-based applications, and every time I've done one, the team has a different kind of application-level security. I'm interested in people's thoughts on the following methods. 1. Using container-based authentication and authorization (in the form of

RE: Map all URL to one servlet

2003-10-27 Thread Mike Curwen
-Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Bill Barker Sent: Saturday, October 25, 2003 8:48 PM To: [EMAIL PROTECTED] Subject: Re: Map all URL to one servlet However, this mapping will override any extension-mapped (e.g. url-pattern*.jsp/url-pattern)

Re: Map all URL to one servlet

2003-10-27 Thread Tim Funk
The matching should go from most exact to least exact in this order (IIRC): - Exact match - Extension match - Path match (meaning prefix) most exact winning first - Default servlet match So *.jsp takes precendence over /* -Tim Mike Curwen wrote: -Original Message- From: news

Re: Map all URL to one servlet

2003-10-27 Thread Christopher Schultz
Mike, However, this mapping will override any extension-mapped (e.g. url-pattern*.jsp/url-pattern) Servlet. Of course, your Servlet also has to be able to handle serving any static resources (e.g. gifs, stylesheets) as well. I'm currently using a /* mapping, and also using JSP pages, with no

RE: IIS log files

2003-10-27 Thread Chanan Braunstein
Might have to do it from the access logs from within Tomcat - Did you try doing that yet? I haven't yet. We were using Web Trends - we are now using Live Stats - Same idea as Web Trends. Chanan Braunstein Knovel Corp. Web Development Manager 607-773-1840 x672 http://www.knovel.com

RE: Application-level security

2003-10-27 Thread Mike Curwen
I wrote a filter to implement security. I've been using my own, rather than container-managed, because like you, there is quite a bit of work to do, to a new session, before its useful to the app. Also, we wanted our users and roles in a database, rather than the deploy descriptor. So we have

RE: Map all URL to one servlet

2003-10-27 Thread Mike Curwen
local values in WEB-INF/web.xml that 'match' values in conf/web.xml, will always takes precedence (as stated in the spec). And the *.jsp mapping in conf/web.xml is what makes JSP's work, so I hadn't forgotten that. ;) -Original Message- From: Christopher Schultz [mailto:[EMAIL

RE: IIS log files

2003-10-27 Thread Bui, Bao-Ha D
I had to parse Tomcat access logs into the same format as the IIS logs and then merge the parsed Tc log and the iis log for each day and then use WebTrend as normal on the merged file. As far as I know, Webtrend can not read TC log. I am not sure about Live Stats. Bao-Ha Dam Bui [EMAIL

RE: Map all URL to one servlet

2003-10-27 Thread Shapira, Yoav
Howdy, local values in WEB-INF/web.xml that 'match' values in conf/web.xml, will always takes precedence (as stated in the spec). And the *.jsp Be careful where you tread: the spec doesn't mention anything about conf/web.xml, or a web.xml hierarchy. This is a tomcat-specific concern. Yoav

RE: hit count or statistics

2003-10-27 Thread Shapira, Yoav
Howdy, Enable the AccessLogValve in web.xml and run an analyzer (there are many free ones e.g. Webalizer) on the access log file. Yoav Shapira Millennium ChemInformatics -Original Message- From: Hugo Rucha [mailto:[EMAIL PROTECTED] Sent: Monday, October 27, 2003 10:03 AM To: [EMAIL

RE: Application-level security

2003-10-27 Thread Shapira, Yoav
Howdy, I'm interested in people's thoughts on the following methods. 1. Using container-based authentication and authorization (in the form of j_security_check and the security-constraint sections of web.xml). snip Unfortunately, there are also some disadvantages, and some of them are

RE: Map all URL to one servlet

2003-10-27 Thread Mike Curwen
-Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Monday, October 27, 2003 9:47 AM To: Tomcat Users List Subject: RE: Map all URL to one servlet Howdy, local values in WEB-INF/web.xml that 'match' values in conf/web.xml, will always takes precedence

Centralized user management system

2003-10-27 Thread Gang Wu
Hello everyone, I have several applications running on Tomcat server. When developing the applications, each development team invented their own user management system(basically a set of database tables and web interface). Now we got into this kind of awkward situation: User has to remember

timer problem

2003-10-27 Thread Vano Beridze
Hello I've got a web app deployed on tomcat 4.1.24 I've got a strange problem. In a servlet that is loaded on startup I'm scheduling a thread that is executed every 4 hour. It happens to stop sometimes with no error. I don't understand what might be the problem though. It's not a systematic

RE: Map all URL to one servlet

2003-10-27 Thread Shapira, Yoav
Howdy, I admit I was sloppy in my usage of as stated in spec. The *behaviour* was stated in the spec, while never mentioning the implementation of that behaviour ;) The sloppy part is true, which is why I said be careful with terminology (and why I didn't say you were completely wrong) ;)

RE: Application-level security

2003-10-27 Thread Ralph Einfeldt
I prefer solution number 3 (Servlet Filter). As our application has to run under JSDK 2.0 we implemented out own 'filter' that is mapped to each request and has it's own rules how to map the url against users, roles oand groups. -Original Message- From: Christopher Schultz

Re: timer problem

2003-10-27 Thread Daniel Gibby
How do you know that you still have a problem then? Did it just stop again? Do you mean that it stopped 2 months ago, and now it has stopped again? Is it just the thread that stops? Does your whole servlet or webapp stop? Are there errors in your logs? Is your disk full? Does the thread rely on

RE: Centralized user management system

2003-10-27 Thread Shapira, Yoav
Howdy, Tomcat can run with a JDBC Realm to authenticate users and define roles, and that likely has all the features you need. http://jakarta.apache.org/tomcat/tomcat-4.1-doc/realm-howto.html#JDBCRea lm Yoav Shapira Millennium ChemInformatics -Original Message- From: Gang Wu

Re: Tomcat in combination with SMP and Sun java 1.4.1-01 or IBM java 1.3.x?

2003-10-27 Thread Daniel Gibby
See thread tomcat jitters than hangs. Set environment variable for tomcat and apache: LD_ASSUME_KERNEL=2.2.5 Daniel Gibby Francois JEANMOUGIN wrote: When I run the same application on a uniprocessor (either a athlon 2400xp+ or single PIII550) the application runs stable for weeks, any idea's

Re: timer problem

2003-10-27 Thread Vano Beridze
Daniel Gibby wrote: Do you mean that it stopped 2 months ago, and now it has stopped again? yes Is it just the thread that stops? The timer stops. I mean the thread does not execute every four hour after that at all. Does your whole servlet or webapp stop? no Are there errors in your logs?

Many projects

2003-10-27 Thread Andrey . Rogov
How should I configure tomcat to keep a few deployed projects (virtual hosts) and load the requested one project (host) according to request (http://www.site1 or http://www.site2 )?? Thank you, -- Best regards, Andrey mailto:[EMAIL PROTECTED]

Apache proxy question

2003-10-27 Thread William Bondy
I'm a newbie to apache/tomcat intergration. A couple of questions: 1) Can apache run in a proxy mode and still forward requests to Tomcat? 2) If it can, does apache send requests to Tomcat as if Tomcat is part of the proxy server (ie. absolute URL) or an origin server (ie. relative URL), I

Re: Session attributes lost

2003-10-27 Thread Javier Sanchez Monzon
hi , i didn't use JBoss, but i had also a problem about losing http sessions while trying to connect apache and tomcat. the problem was on my configuration serv.xml. Therer was no proxy sever defined. I set up the proxy sever on tomcat an it works, but only internal. i mean only at the

J2SDK 1.4.2_01 + Linux + file.encoding

2003-10-27 Thread Luiz Ricardo
Hi everyone, I have the following configuration: Linux Mandrake 8.0 J2SDK 1.4.2_01 Tomcat 4.1.27 In my application I have to read some files that contains characters that are ISO-8859-1 charset but when I display these file contents by Tomcat the ISO-8859-1 characters are replaced by question

Re: J2SDK 1.4.2_01 + Linux + file.encoding

2003-10-27 Thread David O'Brien
I face the same problem but haven't found a solution yet. I had to revert to the old version of the SDK. If you find anything could you let me know? -Dave At 12:12 PM 10/27/2003, you wrote: Hi everyone, I have the following configuration: Linux Mandrake 8.0 J2SDK 1.4.2_01 Tomcat 4.1.27 In my

What should be the size of shm.file in workers2.properties

2003-10-27 Thread Asif Chowdhary
Hi, When configuring apache + tomcat + mod-jk2 is there a recommended size fo shm.file? Asif Chowdhary mailto:[EMAIL PROTECTED] www.xeye.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For

Virtual server on Tomcat 3.3

2003-10-27 Thread Lars Ballieu Christensen
Hi list I need to host a number of web domains on my Tomcat 3.3 server, and would appreciate if some could point me to a description of what I need to add to the server.xml file in order to create virtual servers. Any help is greatly appreciated. Kind regards Lars

Re: Virtual server on Tomcat 3.3

2003-10-27 Thread rsequeira
Use the Host element Host name=127.0.0.1 Context path= docBase=webapps/examples / Context path=/examples docBase=webapps/ROOT / /Host RS

RE: Virtual server on Tomcat 3.3

2003-10-27 Thread Lars Ballieu Christensen
Hi RS I'm just not sure that will do the job. I need to be able to distinguish between, say, www.abc.com and www.xyz.com Thanks for your help. Lars -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 27. oktober 2003 18:33 To: Tomcat Users List Subject: Re:

Re: J2SDK 1.4.2_01 + Linux + file.encoding

2003-10-27 Thread Jean-Francois Arcand
Have you file a bug on java.sun.com? That would be good to make them aware of the problem (and there is possibly a workaround described there). This is clearly not an issue with Tomcat, but with the JDK. -- Jeanfrancois David O'Brien wrote: I face the same problem but haven't found a solution

RE: Virtual server on Tomcat 3.3

2003-10-27 Thread rsequeira
Actually for TC 3.3, it would help you to read: http://jakarta.apache.org/tomcat/tomcat-3.3-doc/tomcat-ug.html#standard_contexts RS Lars Ballieu

Re: Application-level security

2003-10-27 Thread Christopher Schultz
Yoav, Unfortunately, there are also some disadvantages, and some of them are deal-breakers: - No logout function (does session.invalidate() kill it? it occurs to me that it doesn't, but I haven't yet tried) There used be an HttpSession#logout method. It was removed for several reasons. One of

Re: Application-level security

2003-10-27 Thread Robert Hall
Chris, The August 2003 Java Developer's Journal (vol 8 issue 8) has an article you might want to take a look at: ActiveAuthentication - Extending J2EE form-based authentication by Thomas Beck; http://www.sys-con.com/java/article.cfm?id=2160. Yes, logout is implemented by invalidating the

Tomcat throws exception: java.io.CharConversionException: isHexDigit please help!

2003-10-27 Thread Ravikanth Gangarapu
Hi , I have a simple Servlet that takes a POST request. I am just trying to read a request parameter (from html form) into string and print it out. For some values of input parameters i get the following exception and the string will be empty. I tried Google, no luck. I receive an

RE: Centralized user management system

2003-10-27 Thread Gang Wu
Hi Yoav, Thanks for the message. The JDBC Realm provides a way to connect to an external user management system, so applications can verify user privileges in a standard way. But Tomcat does not provide any mechanism to manage users and roles, which is supposed to be implemented in the external

RE: Centralized user management system

2003-10-27 Thread Shapira, Yoav
Howdy, It sounds like you're looking for a complete standalone user management program to talk to your database. Tomcat doesn't have such a thing, as that's not tomcat's job to provide ;) Yoav Shapira Millennium ChemInformatics -Original Message- From: Gang Wu [mailto:[EMAIL

RE: IMP:Problem migrating to Latest Tomcat 5

2003-10-27 Thread Paresh Varatkar
Hi Remy Two questions 1 where Can I get the binary install for 5.0.14. 2 Also do you think its possible to move the application from Tomcat to jboss easily. Regards Paresh -Original Message- From: Remy Maucherat [mailto:[EMAIL PROTECTED] Sent: Saturday, October 25, 2003 1:46 AM To:

RE: IMP:Problem migrating to Latest Tomcat 5

2003-10-27 Thread Shapira, Yoav
Hola, 1 where Can I get the binary install for 5.0.14. http://apache.oregonstate.edu/jakarta/tomcat-5/v5.0.14-alpha/ 2 Also do you think its possible to move the application from Tomcat to jboss easily. Yes. ;) Yoav Shapira This e-mail, including any attachments, is a confidential

Re: IMP:Problem migrating to Latest Tomcat 5

2003-10-27 Thread Remy Maucherat
Paresh Varatkar wrote: Hi Remy Two questions 1 where Can I get the binary install for 5.0.14. http://mir2.ovh.net/ftp.apache.org/dist/jakarta/tomcat-5/v5.0.14-alpha/ (or another mirror) 2 Also do you think its possible to move the application from Tomcat to jboss easily. That's the idea :)

Servlet not found unless port specified and run thru Tomcat's Man ager; getting a seg fault in the error_log file

2003-10-27 Thread Kengott, Dan
Hi, I'm currently running Apache1.3.27/Tomcat4.1.24/mod_jk-1.3-eapi.so/Solaris. I can't get this application to find and run the servlet. The file structure for this app is: /usr/local/jak/webapps/ProbLog/WEB-INF/classes /usr/local/jak/webapps/ProbLog/WEB-INF/lib/probserver.jar

Out of memory with multipart/form-data and lot of checkboxes

2003-10-27 Thread Zsolt Koppany
Hi, in a form where the user can upload a file and set some attributes with checkbox (couple oh hundreds) I get an out of memory exception even when the file is very small (300 bytes). After some testing I figured out that it is caused by enctype=multipart/form-data. If I removed that I cannot

Re: Out of memory with multipart/form-data and lot of checkboxes

2003-10-27 Thread Christopher Schultz
Zsolt, in a form where the user can upload a file and set some attributes with checkbox (couple oh hundreds) I get an out of memory exception even when the file is very small (300 bytes). After some testing I figured out that it is caused by enctype=multipart/form-data. If I removed that I cannot

automatic reloading redux

2003-10-27 Thread Rishikesh Tembe
Hi all, This is not the standard reloading question :) I have a bunch of properties files in the classpath, and a bunch of objects (created by a servlet) in Tomcat memory. In my webapp, I can see these objects as a list. The wierd thing is that if I change any one of the properties files, Tomcat

Re: automatic reloading redux

2003-10-27 Thread Justin Ruthenbeck
When a reload is done, the entire Classloader is dropped and a new instance is created and used. Any instances of classes loaded by that CL will be gone as well. The behavior you're seeing is correct. justin At 11:43 AM 10/27/2003, you wrote: Hi all, This is not the standard reloading

RE: Centralized user management system

2003-10-27 Thread Gang Wu
Yes, I need a program to maintain a centralized user database, then the later developed applications don't need invent their own user management module anymore. Instead the applications can reference the user information directly or via Tomcat JDBC Realm. There was an article published on Java

Seraph--a web application security framework

2003-10-27 Thread Gang Wu
All, Is there anyone running Seraph with their applications? How was it? http://opensource.atlassian.com/seraph/introduction.html Gang Wu - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

  1   2   >