Tomcat Scheduler

2003-03-16 Thread Tarun Ramakrishna Elankath
Hi list, Is there any scheduler facility that tomcat offers? By means of which I can schedule a task to occur (actually sending email, + other stuff) at regular intervals. Thanks, Tarun - To unsubscribe, e-mail: [EMAIL

Re: javabean constructors

2003-03-16 Thread Henry Tang
http://java.sun.com/products/jsp/tags/11/syntaxref1115.html read above. - Original Message - From: Michael Ni [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, March 15, 2003 7:51 PM Subject: javabean constructors can someone explain to me how contructors work with java beans in

Re: Tomcat Scheduler

2003-03-16 Thread Tomcat-RND
Hi, You can use JDK1.3 provided classes from java.util package. Use the TimerTask, Timer classes. Start a load-on-startup servlet of your application and use the above classes if your requirement is such that these should run whenver server is started. Other wise you can invoke from a request

is there any alternatives to auto refresh

2003-03-16 Thread Michael Ni
hi, im trying to implement this online game. currently my only solution to this is having the browser auto refresh the database through my javabeans. what are my alternatives? i only want to keep refreshing a bits of information, not the whole jsp page. must i research into java applets?

JK and Apache

2003-03-16 Thread Vic Cekvenich
This list is becoming a JK/Apace list. :-( Not starting to try a flame, but a word to the wise: IMO, using Apache or JK in most circumstances is a bad practice. This goes back when sales people would say you need Apache, and Tomcat and EJB server. No need for that. Fact is Tomcat can do it all,

Re: JK2 (cont.)

2003-03-16 Thread Chris Dodunski
Hi again, - Original Message - From: Short, Dave [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Sunday, March 16, 2003 2:30 PM Subject: RE: JK2 (cont.) Paths must match up. Check the paths in the config files I sent against your paths. If they don't match up,

Debugging tomcat cluster performance (Apache1.3+mod_jk+Tomcat4.1.18)

2003-03-16 Thread Ryszard Lach
Hi! Is there any way to debug performance/load of particular node in tomcat cluster? I remember that it was possible with JServ to configure log file so, that it contained information about how many requests are served by each node. I tried to configure JkRequestLogFormat to do the same thing,

RE: Tomcat web admin change

2003-03-16 Thread Etienne
I found part of the answer: the admin.xml file present in windows and unix version. In this file you can change the admin path as you can see (Context path=/admin). On a running tomcat it is working. So I have found a part of my problem. The problem I have now is when I use JBuilder6 starting my

mod_jk2 with Apache 1.3 on OS X?

2003-03-16 Thread Eric Jacobson
Has anyone ever gotten this configuration to work: Tomcat 4.1.x connected to Apache 1.3.27 on Mac OS X using the mod_jk2 connector. I have gotten it to work using the mod_jk connector, but I would like the status functionality in mod_jk2. There is no OS X binary available for mod_jk2 - I got

enctype=MULTIPART/FORM-DATA problem apache 2.0? modjk2?

2003-03-16 Thread Henry Tang
hi, I am not sure what is going on but the code i wrote that allows you to upload pictures to server using enctype=muiltipart/form-data post method behaves differently between in linux apache 1.3 and tomcat 4.12 with web app and winxp tomcat 4.13, mod_jk2 and apache 2.x. The image uploaded to

RE: JK2 (cont.)

2003-03-16 Thread Short, Dave
It looks as though when you commented out the 8080 in the server.xml file you might have messed up the comments, hence the -- error message on line 92. It should look like this: !-- Out of the box 8080 port Connector className=org.apache.coyote.tomcat4.CoyoteConnector

Problems With Tomcat

2003-03-16 Thread rorios
Hi, am try to run the jsk2 in tomcat 4.1, but when am try tu run this in IE 6 tomcat send me this error: Please help me to resolv this problems. thanks!! PD. my tomcat run in Win 2000 and win XP Thanks! HTTP Status 500 -

tomcat tuning

2003-03-16 Thread Kapil Sharma
Hi Guys, I am facing a performance issue with tomcat 4.1.12 on Solaris. Following is my setup apache 1.3.27 tomcat 4.1.12 ajp 13 Following is my server.xml context for database and tomcat-apache connector ResourceParams name=jdbc/foo parameter nameurl/name

tomcat tuning

2003-03-16 Thread Kapil Sharma
Hi Guys, I am facing a performance issue with tomcat 4.1.12 on Solaris. Following is my setup apache 1.3.27 tomcat 4.1.12 ajp 13 Following is my server.xml context for database and tomcat-apache connector ResourceParams name=jdbc/foo parameter nameurl/name

RE: tomcat tuning

2003-03-16 Thread Filip Hanik
the error is that you have a limited number of file descriptor. so it doesn't look like your db pool is causing the problem, but your OS configuration. Increase the number of file descriptors for your system Filip -Original Message- From: Kapil Sharma [mailto:[EMAIL PROTECTED] Sent:

RE: tomcat tuning

2003-03-16 Thread Kapil Sharma
Thanks for reply. This answers one of the problem. Another problem is db connections. I am monitoring db connections and they are just increasing even if there is no load on the server. The problem is tomcat is not clearing idle connections or timing out the db connections. I still cannot

Tuning Tomcat 3

2003-03-16 Thread Liquid
Hi, what can i configure if my Tomcat have many connection, many user working on it by HTTP connector. It take 80 - 90 % of procesor time. Im using FreeBSD 4.7, JDK 1.3.1, Tomcat 3, and dual P3 1,13 GHz. Can you help me? Liquid

JDBC and HTML Special Characters

2003-03-16 Thread Ross Larner
I'm a new Tomcat user, and I have a question regarding outputting HTML special characters from the database. What I am trying to do is use a Stored Procedure in the database to construct a Navigational Tree of DIR and LI tags, mixed in with a hrefs. The problem is, when I pull this out using JDBC,

tomcat monitoring

2003-03-16 Thread Kapil Sharma
Hi, Is there any interface for tomcat similar to apache status module? I want to monitor the tomcat connections. kapil - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

JK2 context mounting

2003-03-16 Thread Aaron Paetznick
I want to be able to mount a Tomcat URI at any arbitrary location in Apache. Apache and Tomcat are currently working with the JK2 connector with existing Tomcat URIs. I'm using Apache v2.0.44, Tomcat v4.1.18, and mod_jk2 v2.0.3-dev. Here is some of my workers2.properties file: [uri:/cocoon/*]

Problem with tomcat

2003-03-16 Thread rorios
Hi, am try to run the jsk2 in tomcat 4.1, but when am try tu run this in IE 6 tomcat send me this error: Please help me to resolv this problems. thanks!! PD. my tomcat run in Win 2000 and win XP Thanks! HTTP Status 500 -

RE: Problems With Tomcat

2003-03-16 Thread Chris Dodunski
I had the same error after having installed Tomcat without the JAVA_HOME environment variable set correctly. Even after correcting this, I had to re-install Tomcat before it worked. Check your JAVA_HOME variable by typing echo %JAVA_HOME% at the command prompt. Does it match your Tomcat path?

application scope question

2003-03-16 Thread Michael Ni
for usebean, i know the bean expires for scope session when the browser is closed. but for scope application, when does the bean expire? does it keep running even after the person who called the bean exits his browser? if so, how can the bean terminate itself in an application scope. mike

Re: tomcat monitoring

2003-03-16 Thread Tim Funk
There is none at this time. It appears this kind of functionality is coming in the future. (At least to 5) -Tim Kapil Sharma wrote: Hi, Is there any interface for tomcat similar to apache status module? I want to monitor the tomcat connections. kapil

Re: application scope question

2003-03-16 Thread Tim Funk
Application scope lasts for the life of the webapp. A webapps ends when either: a) Tomcat stops running b) The machine stop running c) The webapp is restarted -Tim Michael Ni wrote: for usebean, i know the bean expires for scope session when the browser is closed. but for scope application,

tomcat not releasing db connections

2003-03-16 Thread Kapil Sharma
Hi, I am using the default setting of tomcat with apache 1.3.27. Tomcat does not release the db connections. I have keepalive on in my apache settings. Are they related in some way to create this problem? kapil - To

Re: JDBC and HTML Special Characters

2003-03-16 Thread Ross Larner
Nevermind, figured it out - the option escapeXml=false in c:out works. --- Ross Larner [EMAIL PROTECTED] wrote: I'm a new Tomcat user, and I have a question regarding outputting HTML special characters from the database. What I am trying to do is use a Stored Procedure in the database to

Re: Help: Anyone have experience with JNI and Servlets?

2003-03-16 Thread Mufaddal Khumri
What error or exception shows up ? Can you paste the logs from the log file ? Not knowing what exception shows up its difficult to understand what the problem might be. Thanks. At 06:30 PM 3/15/2003 -0800, you wrote: Hi All!e Not sure if this is valid for our topic but it does involve Tomcat

Re: Help: Anyone have experience with JNI and Servlets?

2003-03-16 Thread Matt Fury
Its actually just a generic Servlet Exception the moment it hits one of the Native Methods. I've been doing research all weekend trying to find an answer. The only thing I could find was that I need a common class and I pass the Servlet Request and Response. Not sure if this is true but it sounds

Re: tomcat tuning

2003-03-16 Thread Kwok Peng Tuck
Try a pooled database connection. Don't depend on tomcat to timeout db connections. You might want to look at dbcp in the commons project. Kapil Sharma wrote: Thanks for reply. This answers one of the problem. Another problem is db connections. I am monitoring db connections and they are just

RE: Problems With Tomcat

2003-03-16 Thread Chris Dodunski
Hi Robert, As JSP's have to be compiled (your error message = org.apache.jasper.JasperException: Unable to compile class for JSP), J2RE is probably not up to the task. You need to download and install J2SDK. Define necessary environment variables as system variables. Here are my (Linux)

Re: application scope question

2003-03-16 Thread Eric Larson
The session bean doesn't actually expire when the browser window is closed. It times out at some point in the future when it hasn't been accessed for some number of minutes that you can configure. Theoretically you could manipulate session beans using Listeners to gain access to the beans after

RE: tomcat not releasing db connections

2003-03-16 Thread Filip Hanik
is your code releasing the connections? Filip -Original Message- From: Kapil Sharma [mailto:[EMAIL PROTECTED] Sent: Sunday, March 16, 2003 3:03 PM To: Tomcat Users List Subject: tomcat not releasing db connections Hi, I am using the default setting of tomcat with apache 1.3.27. Tomcat

RE: JK2 (cont.)

2003-03-16 Thread Kent Kruckeberg
I think that is exactly it. I had the same problem and had emailed you both when I discovered this was the problem. I had just signed up for this list, though, so I emailed you personally and you probably didn't recognize my addy so deleted the msg. Just wanted to thank you Dave for the help.

Re: application scope question Please help

2003-03-16 Thread Michael Ni
If a bean is instanced when a person logins in, can he detect if other people from other computers have logged on too? in other words, can a person from a browser see if other people have logged on too? how can i get information about the different instances of a bean that different people

How to turn on secure (MD5 Digest) version of WebDAV?

2003-03-16 Thread Basil Bourque
How does one turn on the secure logon feature (MD5 Digest) in Tomcat's WebDAV server? I cannot find any documentation on the auth-method parameter in the virtual host's web.xml file: login-config auth-methodBASIC/auth-method realm-nameTomcat Supported Realm/realm-name /login-config

Re: How to turn on secure (MD5 Digest) version of WebDAV?

2003-03-16 Thread Uddhav Shirname
What Security Realm are you using? JDBC,JNDI, MemoryRealm? I have had problems with DIGEST authentication for JDBC and JNDIRealm. I had to implement getPassword() and getPrincipal() methods to make it work with digest authentication. -- Uddhav - Original Message - From: Basil Bourque

a question about ajusting Tomcat

2003-03-16 Thread Dmitry Kovtun
Dear friends! I have properly installed Tomcat 4.1.18 on my PC. When I run it I have default page index.jsp and can go through all examples - it works ok. Now I wish to try my own servlets but I can't find the place for class files. In Tomcat documentation I read I have to place my classes into

Tomcat hangs without any error-message

2003-03-16 Thread Björn Clemens
Hi, we have a production-system which uses Tomcat 4.1.18 LE which hangs after around a day. The problem is, that no error-message or behavior can be seen around tomcat. It don't uses more memory or writes any message to log-file. The incoming requests time-out without errormessage or any