Thanks for your answer Jan!
As far as I see http://www.zabbix.com http://www.zabbix.com is not
available for WinXP (that's my platform).
I downloaded Zapcat. Can Zapcat be useful without zabbix?
Any more advice for this situation?
Regards
--
View this message in context:
http://www.nab
> From: Len Popp [mailto:[EMAIL PROTECTED]
> Subject: Re: where to place context configuration
>
> But earlier you said:
> > if you're updating the .war without doing an undeployment
> > first, you're breaking the rules, and all bets are off.
Yes, that was probably a bit excessive.
> Is there som
Dear Tokajac,
I want to monitor performance of Tomcat server when I'm running an
application.
Memory usage, threads, objects, user sessions, sql queries and as
much as
possible of other information on server.
JMX is the way to go. JConsole was already suggested. If you want to
really monitor
On Thu, Aug 14, 2008 at 15:55, Caldarale, Charles R
<[EMAIL PROTECTED]> wrote:
> If you just want to replace the webapp, then dropping in a new .war file will
> not lose the element in conf/Catalina/[host]/[appName].xml file, but things
> may not be cleaned up properly, especially on Windows syst
David kerber wrote:
Sureka, Sushil wrote:
Hi,
I have run into an issue related to starting tomcat as a service. When
we were starting tomcat from the command line, we were able to just say
System.getProperty("user.name" ) to retrieve the logged in user id. But
now that we start tomcat using
> From: Mark H. Wood [mailto:[EMAIL PROTECTED]
> Subject: Re: where to place context configuration
>
> Is there a page somewhere which documents this?
I don't think so, at least not in sufficient detail. Mark T's recent message
covers the steps:
http://marc.info/?l=tomcat-user&m=121873999115208&
> From: Len Popp [mailto:[EMAIL PROTECTED]
> Subject: Re: where to place context configuration
>
> So, the server admin can configure the DB server etc. by editing the
> file under the conf dir, but every time they deploy a new version of
> the app the settings are auto-wiped?
Depends on how the r
The thread is about EL- I do not use xpression Language.
What do you think ${row.foo} is? It's the expression language which
isn't being interpreted by your jsp page. Also did you reload your
webapp or tomcat afterwards so it pick's up the change?
As soon as I copy mysql-connector-java-5.
> Exactly how are you accomplishing this hot redeployment? Does Tomcat really
> shut down the application and reload it?
I copy the new version of the WAR file into
C:\apache-tomcat-6.0.18\webapps\, overwriting the old copy.
Here's the log:
Aug 14, 2008 3:45:05 PM org.apache.coyote.http11.Http1
On Thu, Aug 14, 2008 at 11:52 AM, Caldarale, Charles R
<[EMAIL PROTECTED]> wrote:
>> From: Robert Dietrick [mailto:[EMAIL PROTECTED]
>> Subject: Re: where to place context configuration
>>
>> I would very much prefer to use only the one in
>> mywebapp/META-INF/contex.xml
>
> I hope the above is a t
On Thu, Aug 14, 2008 at 01:57:22PM -0500, Caldarale, Charles R wrote:
> You may place the element in either location, but Tomcat
> *may* copy the one from META-INF/context.xml to conf/Catalina/[host]
> so it can access it directly. Proper undeployment will remove the
> copy.
Is there a page some
Please see in text
> This thread may be very helpful to you:
> http://forums.sun.com/thread.jspa?messageID=3335080
The thread is about EL- I do not use xpression Language.
> Essentially you've declared your tags for jstl 1.1, which requires
> servlet spec 2.4, not 2.3. Replace the DOCTYPE and
So, the server admin can configure the DB server etc. by editing the
file under the conf dir, but every time they deploy a new version of
the app the settings are auto-wiped?
Setting aside for the moment what you think I deserve...
That's far from ideal in an environment where the developers and t
This thread may be very helpful to you:
http://forums.sun.com/thread.jspa?messageID=3335080
Essentially you've declared your tags for jstl 1.1, which requires
servlet spec 2.4, not 2.3. Replace the DOCTYPE and with this
in your web.xml:
http://java.sun.com/xml/ns/j2ee";
xml
> From: Angus Mezick [mailto:[EMAIL PROTECTED]
> Subject: RE: where to place context configuration
>
> Am I the only one that is REALLY disturbed about that idea of
> REQUIRING two identical files to run an app?
Probably, because Tomcat does not require that. You may place the
element in either
What you're missing is how Tomcat copies the META-INF/context.xml file
to conf/localhost/Catalina/mywebapp.xml under some circumstances. (Not
surprising that you missed this, since it doesn't seem to be mentioned
in the Tomcat docs.)
One guess is that context.xml is copied into the conf directory
> From: Robert Dietrick [mailto:[EMAIL PROTECTED]
> Subject: Re: where to place context configuration
>
> I would very much prefer to use only the one in
> mywebapp/META-INF/contex.xml
I hope the above is a typo, because if it's really in "contex.xml" Tomcat won't
look at it.
> But this doesn't
Robert Dietrick wrote:
> I would very much prefer to use only the one in
> mywebapp/META-INF/contex.xml, as this is much less invasive (does not
> require changing/adding anything to tomcat's global config
> directories). But this doesn't seem to work.
That isn't the way it is designed.
>
> I ca
I am not sure about the second case. But I don't have context.xml in the
war (META-INF/ directory) and the application works fine for me.
On Thu, Aug 14, 2008 at 1:30 PM, Angus Mezick <[EMAIL PROTECTED]
> wrote:
> Am I the only one that is REALLY disturbed about that idea of REQUIRING
> two ide
You are definitely not alone, Angus. For the record, I'm using Tomcat 5.5.
-rob
On Thu, Aug 14, 2008 at 11:30 AM, Angus Mezick
<[EMAIL PROTECTED]> wrote:
> Am I the only one that is REALLY disturbed about that idea of REQUIRING
> two identical files to run an app? One in the war file and one in
Am I the only one that is REALLY disturbed about that idea of REQUIRING
two identical files to run an app? One in the war file and one in the
conf directory? If the only in the conf directory takes priority, why
the one in the war file needed at all? I am just hoping this isn't in
tomcat 6.0..
I would very much prefer to use only the one in
mywebapp/META-INF/contex.xml, as this is much less invasive (does not
require changing/adding anything to tomcat's global config
directories). But this doesn't seem to work.
I can leave it as is (and am becoming resigned to the fact that this
is my
quiesce the container *look for shutdown*
clean off everything under %TOMCAT_HOME%/work
clean off everything under %TOMCAT_HOME%/logs
clean off everything under %TEMP%
start tc
Martin -
__
Disclaimer and confidentiality note
Everything in this e-mail
- Original Message -
From: "Peter Desjardins" <[EMAIL PROTECTED]>
To: "Tomcat Users List"
Sent: Thursday, August 14, 2008 7:00 PM
Subject: Re: Hot redeploying a WAR - HTML is not refreshed
Those are excellent suggestions. Thanks.
The other thing is that I cant actually recall ever
Please see in text my answer.
ge wrote:
> dataSource="jdbc:mysql://localhost:3306/javatest?user=javauser&password=javadude">
> select id, foo, bar from testdata
I think you want to use the name of the dataSourced, here, not the URL.
You want something like "jdbc/MyDataSource" -- it should matc
Robert Dietrick wrote:
> Hi,
>
> I just noticed that I had a definition in both
> $CATALINA_HOME/conf/Catalina/localhost/mywebapp.xml and in
> $CATALINA_HOME/webapps/mywebapp.war/META-INF/context.xml. In both of
> these context definitions, I define a JNDI database connection pool
> with the sam
> I'm going to guess the servlet spec version in your web.xml isn't up to
> a level that supported the JSTL expression language. What's your
> web.xml look like?
web.xml looks:
--
http://java.sun.com/dtd/web-app_2_3.dtd";>
Eine Web - Ap
Hi,
I just noticed that I had a definition in both
$CATALINA_HOME/conf/Catalina/localhost/mywebapp.xml and in
$CATALINA_HOME/webapps/mywebapp.war/META-INF/context.xml. In both of
these context definitions, I define a JNDI database connection pool
with the same name and identical parameters. Thi
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Zico,
Zico wrote:
> Here, you can see that, the *main page of dspace* takes a longer time to
> load; in the mean time, the main page of tomcat halts for some seconds.
> Though i put *CONTENT=0 *in the html tagging,but tomcat pages shows for some
> sec
Hi,
I am working on the dspace of BRAC University. Here is our site:
http://dspace.bracu.ac.bd
Here, you can see that, the *main page of dspace* takes a longer time to
load; in the mean time, the main page of tomcat halts for some seconds.
Though i put *CONTENT=0 *in the html tagging,but tomcat pa
Finally i started with monitoring
I was trying to start a remote monitoring with :
Instead of that now i'm using the local monitoring of
org.apache.catalina.startup.Bootstrap start
Details which regard the discussion:
Windows XP; apache-tomcat-5.5.26; jdk1.6.0_07; jre1.6.0_07;
There is def
Those are excellent suggestions. Thanks.
> The other thing is that I cant actually recall ever seeing an HTML file in
> the work folder...
> I see stuff like...
> basic_002darithmetic_jsp.class
> basic_002darithmetic_jsp.java
>
> which is what it is used for... ie to hold the compiled JSP's...
>
> From: Peter Desjardins [mailto:[EMAIL PROTECTED]
> Subject: Re: Hot redeploying a WAR - HTML is not refreshed
>
> I did look more closely at what Tomcat is doing when it hot
> redeploys my WAR file.
Exactly how are you accomplishing this hot redeployment? Does Tomcat really
shut down the appli
I'm going to guess the servlet spec version in your web.xml isn't up to
a level that supported the JSTL expression language. What's your
web.xml look like?
--David
ge wrote:
Hi,
Servlet works, jsp not. Why?
Result of servlet:
Datensätze
jdbc:mysql://localhost:3306/java
> From: Tokajac [mailto:[EMAIL PROTECTED]
> Subject: Tomcat JConsole
>
> $ CATALINA_OPTS="-Dcom.sun.management.jmxremote
> -Dcom.sun.management.jmxremote.port=8999
> -Dcom.sun.management.jmxremote.ssl=false
> -Dcom.sun.management.jmxremote.authenticate=false
> -Djava.rmi.server.hostname=test-idc.in
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Elanora,
ge wrote:
> dataSource="jdbc:mysql://localhost:3306/javatest?user=javauser&password=javadude">
> select id, foo, bar from testdata
I think you want to use the name of the dataSourced, here, not the URL.
You want something like "jdbc/MyDat
Hi,
I m using Eclipse 3.4 (in Vista) and Tomcat 5.5 (in linux) as J2EE
development environment.
I want to build a online order form to interact with backend database in linux.
I know I can use dreamweaver to create web page (html template), but I
don't know how to use it and dont' have the time to
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Julio,
Julio César Chaves Fernández wrote:
> I was testing somethings within the login page that is configured in
> the web.xml file... and there was a piece of code doing a redirection
> to assure that the page is loaded over https... first i proved
- Original Message -
From: "Peter Desjardins" <[EMAIL PROTECTED]>
To: "Tomcat Users List"
Sent: Thursday, August 14, 2008 5:00 PM
Subject: Re: Hot redeploying a WAR - HTML is not refreshed
Thanks for the information.
I know it is not the browser caching. I've tried both IE and Fir
I appreciate Your answer a lot, Johnny!
Can U provide me more details about configuring?
Which file should be edited?
Where is the right place to put
-Dcom.sun.management.jmxremote
-Dcom.sun.management.jmxremote.port="9004"
-Dcom.sun.management.jmxremote.authenticate="false"
-Dcom.sun.managem
Hi,
I m using Eclipse 3.4 (in Vista) and Tomcat 5.5 (in linux) as J2EE
development environment.
I want to build a online order form to interact with backend database in linux.
I know I can use dreamweaver to create web page (html template), but I
don't know how to use it and dont' have the time to
Hi,
Servlet works, jsp not. Why?
Result of servlet:
Datensätze
jdbc:mysql://localhost:3306/javatestcom.mysql.jdbc.Driver
javauserjavadude
NameVorname
1 hello
2 hellox
Result of jsp:
-
Results
${row.foo} ${row.bar}
Servlet sou
- Original Message -
From: "Tokajac" <[EMAIL PROTECTED]>
To:
Sent: Thursday, August 14, 2008 4:24 PM
Subject: Tomcat JConsole
How can i monitor Tomcat with JConsole?
I found sg like:
$ CATALINA_OPTS="-Dcom.sun.management.jmxremote
-Dcom.sun.management.jmxremote.port=8999
-Dcom.su
Alonzo Wilson wrote:
> Please explain. How does adding a new connector restart tomcat and
> activate the new ssl cert?
It doesn't.
In 4.1.30 you can use the admin app to add a connector and start it.
In 6.0.16 the admin app doesn't exist so JMX is your only option but this
could be tricky so re
Hi,
I was testing somethings within the login page that is configured in the
web.xml file... and there was a piece of code doing a redirection to assure
that the page is loaded over https... first i proved with a simple login page
over https with no more than the login form ...and it worked as
Adam Gordon wrote:
> I've got the Tomcat admin webapp up and running but am seeing an error
> (when I try and log in) in catalina.out informing me that there are "no
> LoginModules configured for "
>
> We use JAAS for our web app so I'm familiar with the concept of the
> LoginModule and we have a
A cookie is composed of many parts such as:
name, value, path, expiration, secure
Cookie.setValue is only meant to set the value of the cookie. Your code
had the lucky side effect of setting the path and the HttpOnly flag.
If you wish to set a cookie with the HttpOnly flasg set - you need to
Thanks for the information.
I know it is not the browser caching. I've tried both IE and Firefox,
clearing all caches and refreshing.
I did look more closely at what Tomcat is doing when it hot redeploys
my WAR file. I'm using an unmodified copy of Tomcat to test this
issue. So Tomcat deploys
Please explain. How does adding a new connector restart tomcat and
activate the new ssl cert?
>>> Mark Thomas <[EMAIL PROTECTED]> 8/12/2008 5:05 PM >>>
Alonzo Wilson wrote:
> 4.1.30 and 6.0.16
4.1.30 you should be able to use the admin app to add a new
connector. With
6.0.16 you might be able t
I've got the Tomcat admin webapp up and running but am seeing an error
(when I try and log in) in catalina.out informing me that there are "no
LoginModules configured for "
We use JAAS for our web app so I'm familiar with the concept of the
LoginModule and we have a JAAS Realm defined in our c
Tim,
Thanks for the reply. Can you explain what you mean by "becomes part of the
value". I thought I had them part of the cookieValue already?
Can point out the change I need to make in my code snippet?
-Kal
Tim Funk wrote:
>
> With 6.0.18 : "; Path=/; HttpOnly" [literally] becomes part of
How can i monitor Tomcat with JConsole?
I found sg like:
$ CATALINA_OPTS="-Dcom.sun.management.jmxremote
-Dcom.sun.management.jmxremote.port=8999
-Dcom.sun.management.jmxremote.ssl=false
-Dcom.sun.management.jmxremote.authenticate=false
-Djava.rmi.server.hostname=test-idc.internet2.edu";
$ expo
With 6.0.18 : "; Path=/; HttpOnly" [literally] becomes part of the
cookie value. [That it worked before was sheer luck.]
-Tim
KalChitown wrote:
We recently upgraded from 6.0.14 to 6.0.18 due to an XSS security alert we
received.
The following code was working in 6.0.14 version but not in 6.0
Ok... I'm assuming you are using tomcat 5.0.x given they way you
configured your datasource. If this isn't true, you might want to get a
copy of the tomcat-docs webapp for your particular version of tomcat.
The way JDBC connections are configured changed with tomcat 5.5.x and 6.0.x.
Typicall
We recently upgraded from 6.0.14 to 6.0.18 due to an XSS security alert we
received.
The following code was working in 6.0.14 version but not in 6.0.18. Can
anyone explain this or a work around.
String sessionId = "Our session ID";
String cookieValue = sessionId + "; Path=/; HttpOnly ";
Cookie
- Original Message -
From: "Peter Desjardins" <[EMAIL PROTECTED]>
To:
Sent: Thursday, August 14, 2008 6:58 AM
Subject: Hot redeploying a WAR - HTML is not refreshed
Hi. I have a web application that consists of an online help system.
It serves HTML content using the Eclipse user as
LOL
Absolutely no problem. Someone has to do it!
B.
Caldarale, Charles R wrote:
From: Brantley Hobbs [mailto:[EMAIL PROTECTED]
Subject: Re: database application
Cue Charles Caldarale hammering someone for not providing a Tomcat
version in 3...2...1...
(Sorry I'm late, our marvelous co
Thanks gregor. This would be to get tomcat to rotate right?
What i was testing was to have a log4j.properties (which I believe is
the same outcome as the log4j.xml) in the common/classes, and commons
logging and log4j jars in the common/lib.
This worked right I had a tomcat.log which rotates and
Brantley Hobbs wrote:
Cue Charles Caldarale hammering someone for not providing a Tomcat
version in 3...2...1...
Actually, I think he may have missed this one as he was hammering
someone else for using a packaged Tomcat instead of the official
distribution.
;-)
3..2..1..
---
59 matches
Mail list logo