Hi All,
I have the following scenario: one webapp, which has some jars in its
private WEB-INF\lib dir, and one common jar which I would like to
share among several webapps. Hence, I am putting this jar into the
shared\lib directory of Tomcat. The problem is that this common lib
references classes
Hi,
I have a servlet, which implements WebDAV, running in Tomcat 5.5.
When I issue a PROPFIND to an existent resource within the declared
context I get a proper response. However, when the resource doesn't
exist but is still within the context, I get a 501 response code.
The strange thing is that
Hi there,
Currently I am using Tomcat webserver 4.1.2, does any one know how to
monitoring Tomcat webserver ? The reason is I facing problem almost everyday
Tomcat was down, currently I don't know how to see does tomcat running or
down.
Normally after startup I can't see anything except customer
Hi,
When I'm using in JSP:
...
Tomcat (5.5.17) throws exception (javax.servlet.ServletException:
Unable to find a value for "result" in object of class
"com.some.packages.action.LoginActionBean" using operator ".").
I've heard that it can be configured in Tomcat, so he could pass
through it wi
Does com.some.packages.action.LoginActionBean have a public method
getResult()? The test below effectively translates to:
if (actionBean.getResult() != null) {
// some stuff to do
}
--David
Piotr Kiraga wrote:
> Hi,
>
> When I'm using in JSP:
> ...
> Tomcat (5.5.17) throws excep
You should launch tomcat with this java option -Djavax.net.debug=ssl,
you will have probably more details about the problem
-Message d'origine-
De : Anthony Liu [mailto:[EMAIL PROTECTED]
Envoyé : mardi 20 février 2007 02:01
À : users@tomcat.apache.org
Objet : Problem seting up Tomcat SSL
write a small programm (10 lines of code) which makes a http request
via urlconnection or http-client from jakarta/commons and tries to get
an url from your application once a minute. If this fails it can send
you an email or sms (another 10 lines)
regards
leon
On 2/20/07, Virgo Rustianto <[EMAI
Thanks for the reply. Can you provide any more details as to how to go
about this. I have googled quite a bit - I would have thought that
this is quite a common requirement, but I don't see references to it.
I should mention that some of the files are images that the users
upload, and need to be
> From: John Pedersen [mailto:[EMAIL PROTECTED]
> Maybe I am asking too much ( I chose a long time ago not to store
> images and large files in the db - just store names and urls - maybe
> this was a poor choice.)
A lot depends on your environment. For small projects I tend to store
in database
Have we given up here? Do I need to have the packages in separate jars?
On Monday 19 February 2007 08:02, David Smith wrote:
> You don't need to tell tomcat to look in WEB-INF/lib/*.jar. Tomcat does
> that automatically per spec. I'm guessing there is something wrong with
> the way your jar was
Hello,
I am facing to a similar exception in tomcat:
ERROR [org.apache.jk.common.HandlerRequest] Error decoding request
java.net.SocketTimeoutException: Read timed out
having a timeout for Tomcat AJP connector = 1 minute.
It seems that this timeout has a good value, but I still get this kind o
Does com.some.packages.action.LoginActionBean have a public method
getResult()? The test below effectively translates to:
if (actionBean.getResult() != null) {
// some stuff to do
}
The problem is that there could be a class that has no property with
name result. In another case t
Hello,
Angel Todorov wrote:
I have the following scenario: one webapp, which has some jars in its
private WEB-INF\lib dir, and one common jar which I would like to
share among several webapps. Hence, I am putting this jar into the
shared\lib directory of Tomcat. The problem is that this common l
Piotr Kiraga wrote:
Does com.some.packages.action.LoginActionBean have a public method
getResult()? The test below effectively translates to:
if (actionBean.getResult() != null) {
// some stuff to do
}
The problem is that there could be a class that has no property with
name resu
Hi Boris,
This doesn't work for me -> i would like to share classes between
webapps in order for them to have a common classloader. In this way i
can pass object references between two webapps. In tomcat there is no
concept of EAR packaging, and EAR classloading isolation in general. I
don't agre
Hello,
I am facing to a problem concerning apache-tomcat configuration via mod_jk
for our production environment. We are usingApache: 2.0.55, Tomcat 5.0,
mod_jk 1.2.15.
Our first problem has been raised some weeks ago when the clients received
http 404 errors.
mod_jk logs have shown errors
> From: Angel Todorov [mailto:[EMAIL PROTECTED]
> This doesn't work for me -> i would like to share classes between
> webapps in order for them to have a common classloader. In this way i
> can pass object references between two webapps.
Then you'll have to put the jar you want *and all the class
No just got busy with work. Given what you provided in your last
post, it seems to come down to permissions or something overlooked.
Are you running the security manager?
Have you checked file permissions?
Did you restart tomcat (or at least restart the webapp) after building
the .jar fi
You could write a script that wget's the applications home page for a
few iterations and that checks that the process is running and restart
it if no answer.
You could also use nagios with the check_http or with nrpe to check the
processes on the app server. See nagios.org on this one, this is qui
> No just got busy with work. Given what you provided in your last
> post, it seems to come down to permissions or something overlooked.
> Are you running the security manager?
I don't think so. I'm rather new to this (this is the first webapp I've
attempted to deploy), but I don't see anyt
Hi Anthony,
I'm not sure what's your meaning of "Turning the SSLEngine on or
off".
But, after you change the server.xml, you need restart tomcat.
I use tomcat5.5.17, there is a log file under logs of tomcat home
dir,
named as catalina.-mm-yy.log, before restart tomcat, remove t
If you just want to check that the process is running on the machine, here's a
sample bash script that I worked up:
#!/bin/bash
# This script makes sure certain processes are running and emails support if
they aren't
# What process to check for
PROCESS=tomcat
# The command to run
COMMAND=$(ps
I have the same requirement, and had made the same decision (to use file
store
as opposed to the database). This is probably a dumb question, but: I
looked at
bodington- are you referring to a course or to downloading their system
and going
through their code to see how they did it?
TIA.
Subje
Caldarale, Charles R wrote:
From: Daniel Gresh [mailto:[EMAIL PROTECTED]
Subject: Re: Installing Tomcat 6.0.9 on Sun Solaris
When I try to setup a $CATALINA_BASE by moving the
aforementioned directories to $HOME/dtomcat, I get
the error I posted in my original message.
The real question
bump!
Can anyone explain what are the differences between tomcat5.exe and
startup.bat?
cheers,
David
- Forwarded by David Hay/Lex/Lexmark on 02/20/2007 11:12 AM -
[EMAIL PROTECTED]
Startup.bat calls catalina.bat which calls tomcat5.exe
--jms
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 20, 2007 11:14 AM
To: Tomcat Users List
Subject: Fw: Tomcat & Cobertura
bump!
Can anyone explain what are the differences between t
> From: Williams, Allen [mailto:[EMAIL PROTECTED]
> This is probably a dumb question, but: I looked at
> bodington- are you referring to a course or to downloading
> their system and going
> through their code to see how they did it?
I'm referring to going through their code - *if* you can face
> From: Sheets, Jerald [mailto:[EMAIL PROTECTED]
> Subject: RE: Tomcat & Cobertura
>
> Startup.bat calls catalina.bat which calls tomcat5.exe
You apparently haven't actually looked at the scripts. The catalina.bat
script does not use tomcat5.exe; it starts up Tomcat with the standard
Java launc
Hi,
It was caused by a context mix-up by myself. My apologies for
the post.
Regards,
Werner.
--
Werner Donné -- Re
Engelbeekstraat 8
B-3300 Tienen
tel: (+32) 486 425803 e-mail: [EMAIL PROTECTED]
-
To start a new topic, e-m
Thanks...any idea of what would cause this issue?
cheers,
David
"Sheets, Jerald"
<[EMAIL PROTECTED]
Okso back to my original question! ;-)
Any idea what's hidden in tomcat5.exe that is different from running
startup.bat, and prevents Cobertura from recognizing when the server is
shutdown?
cheers,
David
x54680
Well, all things considered, that was one of the most entertaining
emails I've read today! Thanks for the info, too. Do you know of any
reference that addresses this, how to map the external directories and
use them in a secure fashion?
-Original Message-
From: Peter Crowther [mailto:[
| From: Daniel Gresh [mailto:[EMAIL PROTECTED]
| Sent: Monday, 19 February, 2007 15:43
|
| I cannot run "tar xvfz jsvc.tar.gz", as the
| -z argument is not being recognized. The directions said GNU TAR was
| needed, so I searched the web for that, but I came to a confusing site
| that said somethi
Most likely something to do with Windows support/pathing, etc.
We don't run Windows Tomcat, so I can't answer your question in that
respect.
Our load prevents us from using Windows in production.
--jms
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Tuesday,
I took a look at tomcat.exe, it is a renamed service wrapper from common
daemon (http://jakarta.apache.org/commons/daemon/procrun.html)
It is invoked with //IS// parameter to install the service. Parameters
that are given to this installation command are memorized 'somewhere'
and used to run the se
Oh I see. I did gunzip the file and run tar on it. The reason I was
confused though is because the instructions on the Tomcat site said I
need to run autoconf from the jsvc-src directory, but I could not find
any autoconf file anywhere. Therefore, I figured I unzipped it wrong or
something.
I'm ru
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Subject: RE: Tomcat & Cobertura
>
> Any idea what's hidden in tomcat5.exe that is different from
> running startup.bat, and prevents Cobertura from recognizing
> when the server is shutdown?
The service launcher (tomcat5.exe) has more control
> From: Daniel Gresh [mailto:[EMAIL PROTECTED]
> Subject: RE: Installing Tomcat 6.0.9 on Sun Solaris
>
> The reason I was confused though is because the instructions
> on the Tomcat site said I need to run autoconf from the jsvc-src
> directory, but I could not find any autoconf file anywhere.
>
Oh I see, thanks a lot.
On Tue, 2007-02-20 at 14:44, Caldarale, Charles R wrote:
> > From: Daniel Gresh [mailto:[EMAIL PROTECTED]
> > Subject: RE: Installing Tomcat 6.0.9 on Sun Solaris
> >
> > The reason I was confused though is because the instructions
> > on the Tomcat site said I need to ru
> The problem is that there could be a class that has no property with
> name result. In another case there could be another class (bean) that
> has such property (than of course it works fine, but at first case
> Tomcat throws exception).
>
Maybe but let's keep debugging simple. The expressi
Interesting that the Stunnix website appears to make no mention of who
is actually behind it the product.
Also interesting that you have posted a very similar message to a python
mailing list, subject: "Found a product for running Python-based
websites off CDROM -have anybody tried it?"
--
S
>From sun java doc:
Registers a new virtual-machine shutdown hook.
The Java virtual machine shuts down in response to two kinds of events:
The program exits normally, when the last non-daemon thread exits or
when the exit (equivalently, System.exit) method is invoked, or
The virtual machine is t
Ok forgive me now, but this is getting confusing. Where does
result come into this picture? Were you expecting actionBean to be an
instance of a different class? You aren't offering a lot to go on here.
--David
Piotr Kiraga wrote:
> The problem is that there could be a class that has
Hi Chuck,
Digging through the Cobertura code, it looks like it's making the following
call:
Runtime.getRuntime().addShutdownHook(new Thread(saveTimer));
it's run() method simply has the call to save the project data.
This should be "guaranteed" to run (with the usual limitations of sudden
I posted this question/idea to a forum and received no responses. I am
hoping to get some thoughtful discussion/ideas from this mailing list...
The company I am working for is trying to get our application to
"Enterprise Strength" and have been working on server failover issues.
I've never ha
Hi,
I have a webapp "/app" installed on 2 Tomcat servers : one server is production
"t1" and the other, "t2", is development.
How can I, from a single apache (httpd) server, in a single virtualhost,
redirect /app to /app on t1 and /app_dev to /app on t2 ?
I tried the following but /app is t
Hi,
In my experience, since I have to use the JNI, I am forced to use the shared
space for some classes. The only way I made it work is to place everything
that is referenced by the classes in the shared space, in the shared space.
The classes in WEB-INF/.. have no problems accessing the shared
On 2/20/07, Nathan Hook <[EMAIL PROTECTED]> wrote:
The company I am working for is trying to get our application to
"Enterprise Strength" and have been working on server failover issues.
As of right now I'm not a fan of the current clustering solution that is
offered by tomcat
Because?
--
What's your idea why you configured a socket timeout of 2?
nuka schrieb:
> Hello,
>
> I am facing to a problem concerning apache-tomcat configuration via mod_jk
> for our production environment. We are using Apache: 2.0.55, Tomcat 5.0,
> mod_jk 1.2.15.
>
> Our first problem has been raised some
But it could be a useful spam. As I read it and said to myself, "oh, maybe
we could use that here" and then discovered that it does not allow use to
use MySQL w/JDK and did not mention which version of tomcat it was.
Then the costs, we don't mind paying costs, but not 3/4k$ to a fly by night.
Oh
Have a look at:
http://tomcat.apache.org/connectors-doc/reference/apache.html
especially the directive JkWorkerIndicator.
If you combine
SetHandler jakarta-servlet
(this tells apache to let mod_jk handle the request) with setting the
environment variable whose name ist set via JkWorkerIndicato
This configuration was done some time ago by someone else. I don't believe
there is a specific reason for this parameter configuration.
I believe that this should be a default dev configuration.
Rainer Jung-3 wrote:
>
> What's your idea why you configured a socket timeout of 2?
>
> nuka sch
Hi,
I'm currently using a Tomcat 4 container for our web applications (jsp's,
servlets).
When passing parameters with get metod, with many users (about 200); some
parameters,
are overlapped between sessions. There is a special configuration in Tomcat
when i work with sessions??
The Tomcat v
Then start reading on
http://tomcat.apache.org/connectors-doc/reference/workers.html
what your configuration means. You will notice, that a value of 2 for
the socket_timeout does not really make any sense.
Regards,
Rainer
nuka schrieb:
> This configuration was done some time ago by someone els
> From: WILLIAM PARRA [mailto:[EMAIL PROTECTED]
> Subject: overlapped parameters between sessions
>
> When passing parameters with get metod, with many
> users (about 200); some parameters, are overlapped
> between sessions.
If you're speaking of parameters taken from a URL, they are relative t
starting to wonder if that's maybe happening to me some, too, though I've not
confirmed it any of the logs yet.
-Original Message-
From: WILLIAM PARRA [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 20, 2007 4:00 PM
To: Tomcat Users List
Subject: overlapped parameters between sessions
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Ramez,
Ramez Ghazzaoui wrote:
> Thank you guys. Sounds like I need to either write or find a method that
> converts strings to UTF-8. I'll try this tomorrow.
Generally, java.net.URLEncoder.encode(yourString, "UTF-8") will do this
for you quite well.
Hi,
I pass an parameter to identify the type user. With this parameter, i define if
show one page.. or other. Some times the parameter requested, was changed.
In which I can be failing?
Excuse me for my bad english level.
William Enrique Parra Alba
Ingeniero De Sistemas
Universidad Peda
> From: WILLIAM PARRA [mailto:[EMAIL PROTECTED]
> Subject: Re: overlapped parameters between sessions
>
> I pass an parameter to identify the type user. With this
> parameter, i define if show one page.. or other. Some times
> the parameter requested, was changed.
Do you ever store the par
On Tue, Feb 20, 2007 at 03:23:32PM -0500, David Smith wrote:
> Ok forgive me now, but this is getting confusing. Where does
> result come into this picture? Were you expecting actionBean to be an
> instance of a different class? You aren't offering a lot to go on here.
That's what it sou
60 matches
Mail list logo