chuikingman wrote:
It is tomcat-3.3.2 in red hat linux AS4 , kernel 2.6.9
Can you take exmaple how to use manager webapp
Please advice
Tomcat 3.3.2 is so old that most people on this list may not even
remember if there existed a manager application in it, never mind how to
get
I try to use tomcat manager .
There is account role admin in the linux dir
But when I access http://XXXx:8080/admin/index.html
I input the user name tomcatadmin and passwordtomcat .
It is failed and show not authorized.
I paste the /conf/users/tomcat-users.xml file below
tomcat-users
role
Downgrading to 1.6.0_16 did not help. I'm replacing the apr connector
with http now.
On Wed, 2010-02-24 at 14:52 +0100, Carl wrote:
Taylan,
The failures we've seen are in anywhere between 8 hours to a week of
runtime.
The timing of the failures seems similar.
We have also had
Hi,
At the moment, I stop,kill tomcat and scp the war to webapps folder
and start tomcat server. is there a better way to do it ?
Thanks,
Kaushal
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional
chuikingman wrote:
I try to use tomcat manager .
There is account role admin in the linux dir
But when I access http://XXXx:8080/admin/index.html
I input the user name tomcatadmin and passwordtomcat .
It is failed and show not authorized.
I paste the /conf/users/tomcat-users.xml file below
Kaushal Shriyan wrote:
Hi,
At the moment, I stop,kill tomcat and scp the war to webapps folder
and start tomcat server. is there a better way to do it ?
http://tomcat.apache.org/tomcat-6.0-doc/deployer-howto.html
-
To
On 03/03/2010 06:32, Caldarale, Charles R wrote:
From: Cummins College [mailto:cummins.grou...@gmail.com]
Subject: Access to Tomcat's MBeans
Could someone please help us how to access Tomcat's Mbeans
using Java code.
This is not a direct answer, but you could download the source for Lambda
On 03/03/2010 09:11, Taylan Develioglu wrote:
Downgrading to 1.6.0_16 did not help. I'm replacing the apr connector
with http now.
As Chuck mentioned in the other thread, significant changes occurred at
1.6.10, so trying the release before (1.6.7) might be necessary to
establish a better
On 03/03/2010 09:52, André Warnier wrote:
Kaushal Shriyan wrote:
Hi,
At the moment, I stop,kill tomcat and scp the war to webapps folder
and start tomcat server. is there a better way to do it ?
http://tomcat.apache.org/tomcat-6.0-doc/deployer-howto.html
At the very least you could upload
Pid wrote:
On 03/03/2010 09:52, André Warnier wrote:
Kaushal Shriyan wrote:
Hi,
At the moment, I stop,kill tomcat and scp the war to webapps folder
and start tomcat server. is there a better way to do it ?
http://tomcat.apache.org/tomcat-6.0-doc/deployer-howto.html
At the very least you
I mistakenly stated this worked on my PC. I think the problem is
happening on my workstation and is not related to jsvc.
Stuart Grace/Fishkill/IBM
03/03/2010 12:21 AM
To
users@tomcat.apache.org
cc
Subject
java.util.logging - help needed with configuration and problem
determination
O/s Windows Vista
jdk1.5.0_22
TOMCAT 5.5.28
My problem is that Tomcat that I have installed as a server in Windows only
create empty (0 Kb) Logs Files.
I have searched in all system, in windows events logs, and of course in
tomcat/logs/ but there is nothing!!
Someone knows why??
I have every
Hi
just use whatever the webapps inside
I do not follow-up
My requirements were to expose the war to Outer world via http
and also use / provide credential access for the same application's Business
layer from outside the war file via standalone Client via JNDI via RMI-IIOP
This activity is
Chuck,
Thanks, I will give it a try after I complete the two experiments currently
underway (the IBM JVM and running with strace from the command line.)
Tried bringing the server running the IBM JVM into production this morning
(tested it yesterday with different browsers... can't use IE 6
Gentlemen,
I have the application which could be accessed from different domain
addresses and I need to know from what domain request was sent. I try to get
following from request:
getRemoteHost: 127.0.0.1
getServerName: localhost
I use tomcat 5.5 and I suppose i should configure something to
vgud wrote:
Gentlemen,
I have the application which could be accessed from different domain
addresses and I need to know from what domain request was sent. I try to get
following from request:
getRemoteHost: 127.0.0.1
getServerName: localhost
I use tomcat 5.5 and I suppose i should configure
These may not be as empty as they appear. For example. Startup Tomcat
and, once up, open the catalina log file... Windows may not be reporting
their actual size. However, shutdown Tomcat and you will usually see
the size update.
-Original Message-
From: Miriam esteve
Users use tomcat directly.
My server responds to different domain names, and I want to know which one
users use. I try to get domain name by request.getServerName() but instead
of domainName.com I get 'localhost'.
awarnier wrote:
vgud wrote:
Gentlemen,
I have the application which could
The log size are 0 kb because are empty, I start, stop and all can I do, and
the logs are empty allways.
2010/3/3 Joseph Morgan joseph.mor...@ignitesales.com
These may not be as empty as they appear. For example. Startup Tomcat
and, once up, open the catalina log file... Windows may not be
scalable also seems to be a relative term here, and there are well
documented strategies for scalability. So, the question is, are you
just looking for strategies for scalability or do you have a real
problem with load?
-Original Message-
From: Bharath Vasudevan
What is your logging level set to?
-Original Message-
From: Miriam esteve [mailto:miesvesa...@gmail.com]
Sent: Wednesday, March 03, 2010 7:20 AM
To: Tomcat Users List
Subject: Re: Tomcat generate empty 0 kb logs
The log size are 0 kb because are empty, I start, stop and all can I do,
and that any people here who have actually used it are probably over 50
years old.
And you know that after 35, it is downhill all the way : you start
forgetting things and so on.
Hey... I resemble that remark! They always say that the 2nd thing to go is
memory. I don't remember what
vgud wrote:
Users use tomcat directly.
My server responds to different domain names, and I want to know which one
users use. I try to get domain name by request.getServerName() but instead
of domainName.com I get 'localhost'.
Look up the java doc for HttpRequest.
You should probably use
André Warnier wrote:
vgud wrote:
Users use tomcat directly.
My server responds to different domain names, and I want to know which
one
users use. I try to get domain name by request.getServerName() but
instead
of domainName.com I get 'localhost'.
Look up the java doc for HttpRequest.
You
Did you do something like this in server.xml?
Engine defaultHost=localhost
Host name=localhost /
/Engine
And your client goes to www.example.com, but you getServerName() returns localhost in
stead of www.example.com?
Ronald.
Op woensdag, 3 maart 2010 14:19 schreef vgud
Hello All,
I m using tomcat
connectorhttp://tomcat.apache.org/tomcat-6.0-doc/api/index.htmlAPI's
to establish a connector (on some port both http https) at run time.
I have no issues with the Http as of now.
But Https, facing one issue.
The connector specified on port is getting
On 3 March 2010 13:47, André Warnier a...@ice-sa.com wrote:
André Warnier wrote:
vgud wrote:
My server responds to different domain names, and I want to know which
one users use.
[...]
More precisely :
getRemoteAddr
public java.lang.String getRemoteAddr()
Returns the Internet
From: André Warnier [mailto:a...@ice-sa.com]
Subject: Re: check number of http connection in tomcat
1) the correct link is probably : http://XXXx:8080/manager
That will get you a 404 (at least on non-stone-age Tomcats). The actual
manager URL is:
http://XXXx:8080/manager/html
- Chuck
Exactly. So, could it be configured somehow to make me able get correct
domain?
Ronald Klop wrote:
Did you do something like this in server.xml?
Engine defaultHost=localhost
Host name=localhost /
/Engine
And your client goes to www.example.com, but you getServerName() returns
Peter Crowther wrote:
On 3 March 2010 13:47, André Warnier a...@ice-sa.com wrote:
André Warnier wrote:
vgud wrote:
My server responds to different domain names, and I want to know which
one users use.
[...]
More precisely :
getRemoteAddr
public java.lang.String getRemoteAddr()
Returns
From: vgud [mailto:ivan.gudi...@yahoo.com]
Subject: Re: getServerName returns 'localhost'
So, could it be configured somehow to make me able get
correct domain?
Only if you added all possible domain names and variations thereof that get to
that system's IP address(es).
As Peter suggests,
vgud wrote:
Exactly. So, could it be configured somehow to make me able get correct
domain?
Ronald Klop wrote:
Did you do something like this in server.xml?
Engine defaultHost=localhost
Host name=localhost /
/Engine
Maybe try this :
Engine defaultHost=localhost
Host name=localhost
my level set is Error.
Redirect stdout and stderror AUTO
and other question that may be help is that I can start only whit: *start
tomcat5*, because startup.bat open Tomcat console but close it
inmediatelly... (I obviously I can't see the log!!)
2010/3/3 Joseph Morgan
1. What, exactly, version of 5.5.x is used.
2. Is Tomcat running standalone, or is behind Apache HTTPD, IIS or
other web server, or a load balancer
3. What connectors are configured in server.xml? What connectors
(protocols) are mentioned in catalina.log at startup time. E.g.:
03.02.2010 12:10:01
So... can you get tomcat going at all, or is it just that the logs are
always empty?
-Original Message-
From: Miriam esteve [mailto:miesvesa...@gmail.com]
Sent: Wednesday, March 03, 2010 8:38 AM
To: Tomcat Users List
Subject: Re: Tomcat generate empty 0 kb logs
my level set is Error.
From: André Warnier [mailto:a...@ice-sa.com]
Subject: Re: getServerName returns 'localhost'
public java.lang.String getServerName()
Returns the host name of the server to which the request was sent.
It is the value of the part before : in the Host header value, if
any, or the resolved
Miriam esteve wrote:
my level set is Error.
Redirect stdout and stderror AUTO
and other question that may be help is that I can start only whit: *start
tomcat5*, because startup.bat open Tomcat console but close it
inmediatelly... (I obviously I can't see the log!!)
In that same command
From: Miriam esteve [mailto:miesvesa...@gmail.com]
Subject: Re: Tomcat generate empty 0 kb logs
my level set is Error.
So then normal operation will produce ... 0 bytes. Try leaving it at the
default value of INFO and see what you get.
- Chuck
THIS COMMUNICATION MAY CONTAIN
From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com]
Subject: RE: getServerName returns 'localhost'
The code shows that the HOST header is being used by getServerName().
Testing with the RequestDumperFilter enabled in examples/WEB-
INF/web.xml shows that it works as documented;
André,
I'm try with
catalina.bat run
Using CATALINA_BASE: E:\opt\tomcat
Using CATALINA_HOME: E:\opt\tomcat
Using CATALINA_TMPDIR: E:\opt\tomcat\temp
Using JRE_HOME:E:\opt\java\jdk1.5.0_22
Using CLASSPATH: E:\opt\tomcat\bin\bootstrap.jar
Error occurred during initialization of
From: Miriam esteve [mailto:miesvesa...@gmail.com]
Subject: Re: Tomcat generate empty 0 kb logs
Error occurred during initialization of VM
Could not reserve enough space for object heap
Could not create the Java virtual machine.
The above would explain why your logs are empty - Tomcat
Appreciate it, Mark.
I'll rebuild the Tomcat collection with that jar and see if it will alleviate
this issue.
-Original Message-
From: Mark Shifman [mailto:mark.shif...@yale.edu]
Sent: Tuesday, March 02, 2010 7:08 PM
To: Tomcat Users List
Subject: Re: DB connection error -Tomcat 6
Wow - thanks, Bob. Yeah, that's exactly what we have here.
I have narrowed down the problem or error simply to the naming context.
But why it worked before on 4.1.31 and won't now is a slight mystery.
Maybe in the older version something with server.xml overrode other instances
where now
How can the tomcat start with: start tomcat5, and I can access to my web
application and with startup.sh don't start???
Anyway,
I'm on Windows Vista and I have two setting of JAVA_OPTS,
one in the enviorement variables:
-server -XX:+UseParallelGC -Xmx876m -XX:MaxPermSize=2160m
On Wed, Mar 3, 2010 at 4:50 PM, André Warnier a...@ice-sa.com wrote:
Pid wrote:
On 03/03/2010 09:52, André Warnier wrote:
Kaushal Shriyan wrote:
Hi,
At the moment, I stop,kill tomcat and scp the war to webapps folder
and start tomcat server. is there a better way to do it ?
I change -XX:MaxPermSize=2160m to 256m on JAVA_OPTS of enviorement
variables, and now, catalina.bat run works, and start tomcat, but, the log
is even empty.
2010/3/3 Miriam esteve miesvesa...@gmail.com
How can the tomcat start with: start tomcat5, and I can access to my web
application and
I wonder whether you have looked at
http://tomcat.apache.org/tomcat-6.0-doc/index.html or not
2010/3/3 Kaushal Shriyan kaushalshri...@gmail.com
On Wed, Mar 3, 2010 at 4:50 PM, André Warnier a...@ice-sa.com wrote:
Pid wrote:
On 03/03/2010 09:52, André Warnier wrote:
Kaushal Shriyan
From: Miriam esteve [mailto:miesvesa...@gmail.com]
Subject: Re: Tomcat generate empty 0 kb logs
How can the tomcat start with: start tomcat5, and I can access to my
web application and with startup.sh don't start???
The Windows start command initiates a service; the .bat scripts run Tomcat
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Karthik,
On 3/3/2010 6:56 AM, Karthik Nanjangude wrote:
Hi
just use whatever the webapps inside
I do not follow-up
My requirements were to expose the war to Outer world via http
and also use / provide credential access for the same
I tried to log all request headers and notice three interesting headers:
x-forwarded-for : 10.0.0.24
x-forwarded-host : myRealDomain.com
x-forwarded-server : my.server.ip.address
So, tomcat(or someone else) does some forwarding and attach those headers on
request?
If so where and how it is
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Xie,
On 3/2/2010 6:20 PM, Xie Xiaodong wrote:
Second, you are absolutely right about the log.info(). I first
wrote like this for testing and forgot to get it back to debug
level.
Don't forget that calling log.debug() with a bunch of string
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Jason,
On 3/2/2010 7:21 PM, Jason Brittain wrote:
Why does the request have to be an HTTP request in order to have the
access log run?
That does seem to be a bug.
Note that this is not actually a part of the AccessLogValve, it's just
part of
Hello Ivan,
The headers x-forwarded-for, x-forwarded-host and x-forwarded-server
are typically added by Apache Httpd mod_proxy (1).
It seems that you use Apache Httpd mod_proxy in front of your Tomcat,
both located on the same server (this is the reason why get
localhost).
Your solution may be
Hello,
I think log.debug() method should first check current logging levels, or our
code will have those if() {} template everywhere.
I checked java.util.logging.Logger, and found this:
public void log(Level level, String msg, Object param1) {
if (level.intValue() levelValue || levelValue
Windows Vista* 32 bit*
I just change the JAVA_OPTS and put both equal
-Xms768m
-Xmx768m
-XX:PermSize=256m
-XX:MaxPermSize=512m
The level set to INFO.
the catalina.bat run /startup.bat works, but logs not...
I attach the logging.properties.
2010/3/3 Caldarale, Charles R
Hi, I have a server which has only one IP and runs on Windows XP. And I have
two domain names: a.university.com and b.university.com. I have built two
websites for both of them on the Apache 2.
Now I installed another web application which runs on Tomcat 6, and want to
load the web
Hi,
i have installed apache http 2.2.14 and tomcat 6.0.24. I deployed
railohttp://www.getrailo.org
3.1.2.001 final (cfml engine). I have to
use Windows XP and i have
administrative privileges.
This is my httpd-vhost.conf:
VirtualHost *:80
ServerName railo
DirectoryIndex index.cfm index.html
You can do this by creating new Host and Context entries in the
server.xml file for each site.
For example:
Host name=a.university.com appBase=webapps
unpackWARs=true autoDeploy=true
xmlValidation=false xmlNamespaceAware=false
Context path=
On 03/03/2010 17:01, chenll wrote:
Hi, I have a server which has only one IP and runs on Windows XP. And I have
two domain names: a.university.com and b.university.com. I have built two
websites for both of them on the Apache 2.
Now I installed another web application which runs on Tomcat 6,
Hi Charles,
Let me explain the scenario. When tomcat gets a request, it does a socket
send to some other process to handle the request and then respond. This
would happen fast. But assuming 20k client requests come in at the same
time, the server would try to allocate 20k threads and handle it.
From: Miriam esteve [mailto:miesvesa...@gmail.com]
Subject: Re: Tomcat generate empty 0 kb logs
I attach the logging.properties.
You can't - the list strips out attachments. Paste the contents of the file
directly into your message to the list.
- Chuck
THIS COMMUNICATION MAY CONTAIN
On 03/03/2010 17:21, Bharath Vasudevan wrote:
Hi Charles,
Let me explain the scenario. When tomcat gets a request, it does a socket
send to some other process to handle the request and then respond. This
would happen fast. But assuming 20k client requests come in at the same
time, the
Hello, Christopher,
For log.debug() part, seems I misunderstood your meaning. Sorry about that,
you are right. But I do not think it matters too much. :)
On Wed, Mar 3, 2010 at 5:54 PM, Xie Xiaodong xxd82...@gmail.com wrote:
Hello,
I think log.debug() method should first check current
Thanks Bill. Comet is something that I can dig into :).
On Tue, Mar 2, 2010 at 7:21 PM, Bill Barker billwbar...@verizon.net wrote:
Caldarale, Charles R chuck.caldar...@unisys.com wrote in message
news:99c8b2929b39c24493377ac7a121e21f96cb817...@usea-exch8.na.uis.unisys.com.
..
From:
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the
That would be the last go. Trying to figure out if there is techniques to
handle such scenarios. Looks like comet can asynchronously push data to the
user. If this is going to be seamless to the client, it might as well look
like a response for their request.
On Wed, Mar 3, 2010 at 9:25 AM, Mark
From: Bharath Vasudevan [mailto:bharath@gmail.com]
Subject: Re: Tomcat threads
When tomcat gets a request, it does a socket send to some
other process to handle the request and then respond.
Tomcat doesn't do that - your webapp does.
You have now introduced a previously unmentioned
From: Bharath Vasudevan [mailto:bharath@gmail.com]
Subject: Re: Tomcat threads
Looks like comet can asynchronously push data to the user.
You do understand that there really is no such thing as push (at least in
HTTP)? The client has to have a receive up, so you can't use just a plain
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Bharath,
On 3/2/2010 7:42 PM, Bharath Vasudevan wrote:
Why is it illlogical? Fast is a relative term. If the number of requests
increases, the number of threads that can be handled by the system goes down
. The context switches and the pain to
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Bharath,
On 3/3/2010 12:21 PM, Bharath Vasudevan wrote:
Let me explain the scenario. When tomcat gets a request, it does a socket
send to some other process to handle the request and then respond. This
would happen fast. But assuming 20k client
From: martin [mailto:mrt...@googlemail.com]
Subject: problems with welcome files
i have installed apache http 2.2.14 and tomcat 6.0.24.
Step 1: Get httpd out of the game; test with Tomcat's HTTP Connector first.
When that works, add httpd back in.
I added this to tomcats server.xml:
From: Jordan Michaels [mailto:jor...@viviotech.net]
Subject: Re: Tomcat+apache on name_based virtual hosts
You can do this by creating new Host and Context entries in the
server.xml file for each site.
Please don't suggest putting Context elements in server.xml; that's ancient,
dismal
Hmmm...
No, the server will allocate maxThreads request handlers; the other
requests would sit in the TCP stack's queue (not in the JVM), up to the
configured acceptCount value - which you can set as high as your OS allows.
I was assuming that the tomcat main thread is going to pick it up from
From: Xie Xiaodong [mailto:xxd82...@gmail.com]
Subject: Re: Access Log /Filter/?
http://www.javalobby.org/java/forums/t88518.html
I think you're cherry-picking the data. The most useful comment about
StringBuilder in that thread was this:
Re: StringBuffer
Thus, the performance of the two
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Xie,
On 3/3/2010 11:54 AM, Xie Xiaodong wrote:
I think log.debug() method should first check current logging levels, or our
code will have those if() {} template everywhere.
[snip]
For log.debug() part, seems I misunderstood your meaning. Sorry
Thanks for that but the files you mention are not there.
I went to
commons/daemon/binaries/1.0.2/windows and downloaded
commons-daemon-1.0.2-bin-windows.zip
In that zip there is a prunsrv.exe in the base directory and the same in the
amd directory. i.e. not procrun.exe and procrunw.exe.
From: iainmac [mailto:iain_macau...@hotmail.com]
Subject: Re: Tomcat 6.0.12 in windows vista 64 bits does not start
Thanks for that but the files you mention are not there.
They are, just not quite as you expected.
In that zip there is a prunsrv.exe in the base directory and
the same in
On 3 March 2010 18:24, Bharath Vasudevan bharath@gmail.com wrote:
Hmmm...
No, the server will allocate maxThreads request handlers; the other
requests would sit in the TCP stack's queue (not in the JVM), up to the
configured acceptCount value - which you can set as high as your OS
Note: both a.university.com and b.university.com are built on Apache instead of
Tomcat, so they are not in the directory of webapps. just
a.university.com/webap is pointed to the web application which is built on
Tomcat.
From: chuck.caldar...@unisys.com
To: users@tomcat.apache.org
Date:
Caldarale, Charles R chuck.caldar...@unisys.com wrote in message
news:99c8b2929b39c24493377ac7a121e21f96cb875...@usea-exch8.na.uis.unisys.com...
From: André Warnier [mailto:a...@ice-sa.com]
Subject: Re: check number of http connection in tomcat
1) the correct link is probably :
Pid p...@pidster.com wrote in message
news:4b8e40b8.9070...@pidster.com...
On 03/03/2010 06:32, Caldarale, Charles R wrote:
From: Cummins College [mailto:cummins.grou...@gmail.com]
Subject: Access to Tomcat's MBeans
Could someone please help us how to access Tomcat's Mbeans
using Java code.
We are moving from Sun appserver to tomcat 6.X server.
In Sun application server we had the ability to register an object
configured in an external jndi resource repositories in the local appserver
jndi using
external-jndi-resource elements in the application server config file
(domain.xml).
Thanks for the reply Ster,
But we don't have the privilege to upgrade Apache, because we are using Red
Had Enterprise Linux and we have to go with the default httpd installation
in it, i.e., 2.2.3, but is there a possibility for us to use mod_jk instead
of mod_proxy for load balancing? I read
Bill Barker wrote:
Caldarale, Charles R chuck.caldar...@unisys.com wrote in message
news:99c8b2929b39c24493377ac7a121e21f96cb875...@usea-exch8.na.uis.unisys.com...
From: André Warnier [mailto:a...@ice-sa.com]
Subject: Re: check number of http connection in tomcat
1) the correct link is
Bill Barker wrote:
Otherwise, startup Tomcat once with remote JMX enabled, and browse with
the remote client to find the ObjectNames that you want, and just use
normal JMX calls.
And try this : http://code.google.com/p/jmxsh/
Thanks Folks.
On Wed, Mar 3, 2010 at 1:03 PM, Peter Crowther
peter.crowt...@melandra.comwrote:
On 3 March 2010 18:24, Bharath Vasudevan bharath@gmail.com wrote:
Hmmm...
No, the server will allocate maxThreads request handlers; the other
requests would sit in the TCP stack's queue
86 matches
Mail list logo