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
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
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
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?
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,
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,
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,
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
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
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
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
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 -
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
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
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:
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
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
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,
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]
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/*]
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 -
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?
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
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
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,
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
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
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
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
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
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)
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
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
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.
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 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
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
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
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
39 matches
Mail list logo