Jim Goodspeed wrote:
Does the acceptCount setting that is part of the AJP connector in the
server.xml file still exist in Tomcat 5.x and Tomcat 6.x?
I see a lot of references to it in Tomcat 4.x, but I have not run across it
in 5 or 6. We have this setting defined in our tomcat 6
ps! sorry...
it's a Windows 2003 Server with Tomcat 6 and java 1.5.7
I don't think the application was delivering a big file but I'll take a
look on this
Pid escribió:
Laura Bartolomé wrote:
Hi again
A few minutes ago we have these problems in our server:
The CPU usage was
Laura Bartolomé wrote:
ps! sorry...
it's a Windows 2003 Server with Tomcat 6 and java 1.5.7
I don't think the application was delivering a big file but I'll take a
look on this
When you next see this issue. Take a thread dump, wait 10 seconds, take
another thread dump, wait 10
just a little question...
when tomcat write errors in stdout it doesn't write date and time...
well we are interesting in time of each error... how can we enabled
this?? it could be??
Thanks...
Laura
PD: W2003 Server + Tomcat 6 + java 1.5.7 :)
I had a look at the Cluster Receiver object reference, and I'm pretty sure it
must be the local address where to listen to incoming data. Since the multicast
route is set on the eth1 interface, I use the relative IP address (10.x).
From the documentation:
address: The address (network
Gregor Schneider wrote:
And it's getting really nuts, when it comes to UTF-8: Talking about
UTF-8 with or without BOM? Even the specs are not clear about that.
Actually, a UTF-8 stream should /never/ need a BOM, because there is no
byte-order, UTF-8 being by definition byte-oriented.
The only
Caldarale, Charles R wrote:
From: Dan Armbrust [mailto:daniel.armbrust.l...@gmail.com]
Subject: Re: How to debug Error: listenerStart?
There is obviously some interaction going on between my webapp
and tomcat's logging system that I don't know about.
Many Tomcat components associated with a
Hello,
Running tomcat on linux. I've written a simple JSP script to create a
directory and a file. When I run it via tomcat, the code runs fine, no
errors, but the directory nor the file get created where I specified. I have
a feeling it's some sort of permission issue. Any help is welcome,
It'll be the user that starts tomcat in the first place.
Jim
From: raga2 ragabo...@gmail.com
To: users@tomcat.apache.org
Sent: Friday, April 3, 2009 11:11:19 AM
Subject: Which user executes JSP in Tomcat?
Hello,
Running tomcat on linux. I've written a
raga2 wrote:
Hello,
Running tomcat on linux. I've written a simple JSP script to create a
directory and a file. When I run it via tomcat, the code runs fine, no
errors, but the directory nor the file get created where I specified. I have
a feeling it's some sort of permission issue. Any
Thanks guys for the reply.
ps -aef tells me it's root running tomcat.
I'm using tomcat 5.5 and Java 1.5.0 Update 16.
If it's root running, then why doesn't the directories get created anywhere?
Something I'm doing wrong.
Thanks for your replies again.
Pid-2 wrote:
raga2 wrote:
I have put the ipv6 address in two places in server.xml. Those are:
Membership className=org.apache.catalina.tribes.membership.McastService
address=228.0.0.8
bind=fc00:10:112:107:0:0:0:236
port=45564
Which user tomcat runs at?
BTW, you do not need JSP to create directory and file. JSP is for template
tasks only. Use simple servlet instead.
-Original Message-
From: raga2 [mailto:ragabo...@gmail.com]
Sent: Friday, April 03, 2009 2:11 PM
To: users@tomcat.apache.org
Subject: Which
BTW, is the script right? do all sub-dirs exist?
Is the path absolut?
any exceptions in the server log? (log/catalina.out)
---
Jens Kapitza
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands,
How about
exec dir=${TOMCAT}/bin/ executable=./shutdown.sh /
Rgds
Gregor
--
just because your paranoid, doesn't mean they're not after you...
gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2
gpgp-key available
@ http://pgpkeys.pca.dfn.de:11371
@ http://pgp.mit.edu:11371/
skype:rc46fi
Which code exactly you use to create directory?
-Original Message-
From: raga2 [mailto:ragabo...@gmail.com]
Sent: Friday, April 03, 2009 2:44 PM
To: users@tomcat.apache.org
Subject: Re: Which user executes JSP in Tomcat?
Thanks guys for the reply.
ps -aef tells me it's root running
Hi Jorge, thanks for the reply.
Actually no, these are the access logs from the Tomcat cluster members;
you can view the corresponding AccessLogValve entries in the server.xml
files referenced below.
I included those logs for illustration, but I have confirmed that those
are the actual
Roy McMorran wrote:
Hi Jorge, thanks for the reply.
Actually no, these are the access logs from the Tomcat cluster members;
you can view the corresponding AccessLogValve entries in the server.xml
files referenced below.
I included those logs for illustration, but I have confirmed that
Mark Thomas wrote:
Nope. The job of that valve is to change the route - exactly what you
are seeing.
Thanks Mark,
Is it the expected behavior then, that the 2nd part of the session ID
changes after a failover, and a new cookie is set?
Thanks,
Roy
--
Roy McMorran
Systems Administrator
Roy McMorran wrote:
Mark Thomas wrote:
Nope. The job of that valve is to change the route - exactly what you
are seeing.
Thanks Mark,
Is it the expected behavior then, that the 2nd part of the session ID
changes after a failover, and a new cookie is set?
Yes
Mark
Mark Thomas wrote:
Roy McMorran wrote:
Thanks Mark,
Is it the expected behavior then, that the 2nd part of the session ID
changes after a failover, and a new cookie is set?
Yes
Mark
Interesting. I am certain I saw the other behavior (both parts of the
session ID were
This worked:
target name=start-tomcat
exec os=Mac OS X executable=/bin/sh
arg line=${TOMCAT}/bin/startup.sh /
/exec
/target
On Fri, Apr 3, 2009 at 7:19 AM, Gregor Schneider rc4...@googlemail.comwrote:
How about
exec dir=${TOMCAT}/bin/ executable=./shutdown.sh /
Rgds
Gregor
--
just
Jens Kapitza wrote:
BTW, is the script right? do all sub-dirs exist?
Is the path absolut?
any exceptions in the server log? (log/catalina.out)
I'll add this : is Tomcat running under a security manager ?
(have a look at things like /etc/init.d/tomcat5.5 and
/etc/default/tomcat5.5)
Anyway,
From: raga2 [mailto:ragabo...@gmail.com]
Subject: Re: Which user executes JSP in Tomcat?
ps -aef tells me it's root running tomcat.
That's a really bad thing to do. You should be running Tomcat under a userid
that does not give it the privilege to scribble anywhere in the file system.
If
From: Laura Bartolomé [mailto:la...@secways.com]
Subject: date and time in log
when tomcat write errors in stdout it doesn't write date and time...
Tomcat does not write to System.out or System.err (other than some esoteric
debugging stuff). The default logging configuration does write to
Hi.
Triggered by a recent comment by Chuck, I would like to use the
swallowOutput attribute of the Context element, in a specific way :
I am using an external webapp for which I do not have the source code.
This webapp currently does not include a META-INF subdirectory nor then
of course a
From: André Warnier [mailto:a...@ice-sa.com]
Subject: Context and swallowOutput
Is it as simple as :
Context swallowOutput=true /
Yes. However, to avoid modifying the webapp structure, I would put the above
in conf/Catalina/[host]/[appName].xml, rather than in the webapp's
On Thu, Apr 2, 2009 at 9:55 PM, Caldarale, Charles R
chuck.caldar...@unisys.com wrote:
From: Dan Armbrust [mailto:daniel.armbrust.l...@gmail.com]
Subject: And even further into the black magic of logging configuration
within tomcat...
So, why didn't log4j try to find the log4j.properties
Charles,
When you say conf/Catalina/[host]/[appName].xml what are you refering to when
you say .../host/ ? What do you want us to add as /host/ / Can you
give example?
/Ed
-Original Message-
From: Caldarale, Charles R chuck.caldar...@unisys.com
Sent: Apr 3, 2009 10:16 AM
To:
Edward Bicker wrote:
Charles,
When you say conf/Catalina/[host]/[appName].xml what are you refering to
when you say .../host/ ? What do you want us to add as /host/ / Can
you give example?
It is the host name as defined in server.xml
(and Catalina is the engine name)
Mark
/Ed
From: Edward Bicker [mailto:g...@travelin.com]
Subject: RE: Context and swallowOutput
When you say conf/Catalina/[host]/[appName].xml what are you refering
to when you say .../host/ ?
The value of the name attribute for the Host under which the webapp is
deployed. For a default
From: Caldarale, Charles R
Subject: RE: Context and swallowOutput
Strictly speaking, the Catalina in the above is also no fixed; it is
actually the name of the Service element, but there's rarely any
reason to change it.
Sorry; as Mark T pointed out, Catalina is actually the name of the
Hi.
I just experienced something which somehow contains a delicious piece of
irony for those who remember the numerous discussions on this list with
topics related to the proper encoding of URLs, POST submission
parameters etc..
Having forgotten my user-id and password for the Tomcat (FAQ)
Ok, got it...Thanks for quick response...
/Ed
-Original Message-
From: Caldarale, Charles R chuck.caldar...@unisys.com
Sent: Apr 3, 2009 10:50 AM
To: Tomcat Users List users@tomcat.apache.org
Subject: RE: Context and swallowOutput
From: Caldarale, Charles R
Subject: RE: Context and
I go and recompile HelloWorldExample
javac HelloWorldExample.java
javac -cp ../../../../lib/servlet-api.jar HelloWorldExample.java
I tried this. No luck.
I've done the same thing on my 6.0.18 installation, and it works fine. Do
you have a JAVA_HOME or JRE_HOME environment variable set?
Just to let you know that this worked out just fine. Even though the
renaming to ROOT.war appears easier, I'm not sure it really is. For
the record, I've made this work on my development machine (Mac OS X
5.6) with Java 1.5 and Tomcat 6.0.18 (a vanilla download from Apache).
Here were my
From: mdunford [mailto:martin.dunf...@gmail.com]
Subject: RE: Tomcat 6.0.18 examples recompile ok but dont work!!
javac -cp ../../../../lib/servlet-api.jar HelloWorldExample.java
I tried this. No luck.
Do you get any errors on the javac? Did you get any errors from javac when you
used
Please Help,
I just tested my gwt app with RPC on host mode it works fine. When I
deployed the app to Tomcat it does not work. I get the \
following message when the client issue a RPC call to the server: The call
failed on the server; see server log for details\
.
When I looked at the logs of
To close out this thread, I've reopened bug
https://issues.apache.org/bugzilla/show_bug.cgi?id=34110 and attached
a war file which demonstrates the problem.
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For
Has anyone used the nsapi redirectory to connect SJSWS 7.0 with Tomcat?
I noted that the documentation all still refers to 6.0, but the README
on the binaries page is somewhat encouraging:
# nsapi_redirector-1.2.28-sjsws6.1sp11.so is for Sun Java System Web
Server (aka Netscape Enterprise
I don't think this is a Tomcat error.
The java.lang.IndexOutOfBoundsException might be due to an
initialization failure: The GWT test harness may be setting something
up for you which is not dealt with when you run it directly in Tomcat.
Also, does your web.xml contain servlet specs
Thanks Ken,I will try that.
Where will system.out write to in the Tomcat server? On host mode it write
to the eclipse console, but I don't where to look on Tomcat server.
On Fri, Apr 3, 2009 at 3:04 PM, Ken Bowen kbo...@als.com wrote:
I don't think this is a Tomcat error.
The
Mark Thomas wrote:
Roy McMorran wrote:
Is it the expected behavior then, that the 2nd part of the session ID
changes after a failover, and a new cookie is set?
Yes
OK, please bear with me here, I may be just showing my ignorance with
respect to Tomcat and web applications in
If you are running a plain Tomcat downloaded from Apache, and if you
haven't changed it's logging, it will write to ${TOMCAT_HOME}/logs/
catalina.out, where ${TOMCAT_HOME} is the place you installed Tomcat.
If you are running Tomcat from an IDE, say Eclipse, it usually will
write out in
From: Roy McMorran [mailto:mcmor...@mdibl.org]
Subject: Re: Session Replication in Cluster
If the session ID changes from ABC123.node1 to ABC123.node2, then
you will start a new session at the browser.
No, you get a new *cookie* at the browser; the session is something only the
server has
On Apr 3, 2009, at 3:31 PM, Roy McMorran wrote:
Mark Thomas wrote:
Roy McMorran wrote:
Is it the expected behavior then, that the 2nd part of the session
ID
changes after a failover, and a new cookie is set?
Yes
OK, please bear with me here, I may be just showing my ignorance
Caldarale, Charles R wrote:
From: Roy McMorran [mailto:mcmor...@mdibl.org]
Subject: Re: Session Replication in Cluster
If the session ID changes from ABC123.node1 to ABC123.node2, then
you will start a new session at the browser.
No, you get a new *cookie* at the browser; the session is
János Löbb wrote:
If You look the values created by the session earlier with
...node1, than You will see the same values after fail over with
...node2. A new session would not know about them.
To verify it You can use the supplied SessionExmaple webapp.
It is like passing a baby among
I recompiled the server code with a system.out.println at the very
beginning, but nothing gets printed. Apparently the server code is not being
entered, which seem to suggest that Tomcat is not connecting the client call
to the server. Any ideas as to why the same work in hosted mode and not on
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chuck,
On 4/2/2009 3:27 PM, Caldarale, Charles R wrote:
From: Christopher Schultz [mailto:ch...@christopherschultz.net]
Subject: Re: Tomcat error: It is not available the ServletAction
I think the reason Xerces works within the application's
This is clearly a GWT configuration problem. I'm not terribly expert,
but when I struggled with GWT issues, I got lots of good help from the
GWT list at
http://groups.google.com/group/Google-Web-Toolkit?hl=enlnk=sg
Start by searching the archives. I pretty sure there have been
János Löbb wrote:
If You look the values created by the session earlier with
...node1, than You will see the same values after fail over with
...node2. A new session would not know about them.
To verify it You can use the supplied SessionExmaple webapp.
OK, trying that.
So, using an
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Jim,
On 4/2/2009 11:37 AM, Jim Goodspeed wrote:
Can you tell me where in Apache I would configure the number of AJP
connections? I'm using Apache 2.2.10 to load balance tomcat using
mod_proxy.
I think the number of AJP connections would be equal
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Oscar,
On 4/2/2009 1:30 PM, Je suis la poubelle wrote:
On Fri, Mar 27, 2009 at 5:34 PM, Christopher Schultz
ch...@christopherschultz.net wrote:
While it's not a terrible idea to specify the encoding in both places,
you should consider the
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Mikolaj,
On 4/2/2009 4:49 PM, Mikolaj Rydzewski wrote:
Caldarale, Charles R wrote:
Whatever you're doing is attempting multiple stops of your webapp.
I observe almost identical exceptions when I redeploy webapplication
that uses quartz scheduler.
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Raga,
On 4/3/2009 6:11 AM, raga2 wrote:
Running tomcat on linux. I've written a simple JSP script to create a
directory and a file. When I run it via tomcat, the code runs fine, no
errors, but the directory nor the file get created where I
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
André,
On 4/3/2009 11:38 AM, André Warnier wrote:
But, guess what, my name in that email appears as
Name: AndréWarnier
I suspect this is careless use of whatever emailing library is being
used. MoinMoin appears to use Python, a language and
Christopher Schultz wrote:
On 4/2/2009 4:49 PM, Mikolaj Rydzewski wrote:
I observe almost identical exceptions when I redeploy webapplication
that uses quartz scheduler. It looks like after webapp's instance has
been undeployed, background quartz thread wants to do something and then
Roy McMorran wrote:
János Löbb wrote:
If You look the values created by the session earlier with
...node1, than You will see the same values after fail over with
...node2. A new session would not know about them.
To verify it You can use the supplied SessionExmaple webapp.
OK, trying
Hi.
One of my preferred subjects...
1) as per the HTTP specs, the server should send a Content-Type header
along with any response to a browser. If the response is of the general
type text, then this Content-Type header should also contain a charset
attribute, indicating the character set
Christopher Schultz:
The problem is when the web server sends a response, it sends it using a
particular character set (let's just say UTF8 for argument's sake). If
you also report that the character set is UTF8 in the META tags, then
it's only valid if the client saves the file to the disk
Hello,
I'm trying a fresh install of Tomcat 6.0.18 on Windows Server 2003 R2
enterprise edition with SP2. After selecting Full install and default port
8080 in the installation steps, the Tomcat logs are showing the dreaded
Socket bind failed error. It doesn't seem to be because some other
From: Manoj Punjabi [mailto:kawi...@gmail.com]
Subject: Tomcat 6.0.18 fresh install on Windows Server 2003:
java.lang.Exception: Socket bind failed
the Tomcat logs are showing the dreaded Socket bind failed error.
You seem to be fixated on the HTTP port, when the errors appear to be
From: Caldarale, Charles R
Subject: RE: How to debug Error: listenerStart?
To close out this thread
Or maybe not.
I've reopened bug
https://issues.apache.org/bugzilla/show_bug.cgi?id=34110
and attached a war file which demonstrates the problem.
I downloaded your a.war file into my Tomcat
64 matches
Mail list logo