Selon Marcus Better mar...@better.se:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
syed shah wrote:
1)How to get console output on ubuntu
If you are running Tomcat with the startup script provided by Ubuntu in
/etc/init.d/tomcat*, you have logs in /var/log/tomcat* and
Thanks for explanation.
Now I have changed the files basely you mail and now situation is following:
I am trying to develop a new servlet:
/opt/secm/servlet directory has WEB-INF structure with class file and web.xml
file.
What rights has to have direcotry servlet and all subdirectories.
In
Hello, i am a newer to tomcat, when use tomcat ssl 8443 port I met a problem.
Who can give me some suggestion? Thanks!
system environment: windowsXP tomcat5.5.26 jdk1.6.0_02(jdk and
jre both on D:\program file\java)
these are my steps, is something wrong?
step 1: generate
Some versions of IE have issues when downloading PDF files under HTTPS
and cache-control headers do affect this. Google for more info.
I'm not familiar with PD4ML but if you're having concurrent request
issues then you should check you're not doing something in your code
which is causing the
yuting lv wrote:
these are my steps, is something wrong?
Yes.
step 1: generate tomcattest.keystore file under C:\key directory, about 2KB
%JAVA_HOME%\binkeytool -genkey -alias tomcattest -keyalg RSA -keypass
changeit -storepass changeit -keystore C:\key\tomcattest.keystore
-validity 360
robr wrote:
Pid-2 wrote:
Robert Rowntree wrote:
we are running a cluster of 3 nodes. we are on linux . we run tomcat
5.5.15
and do not use the server.conf clustering . we cluster tomcat with an
external load balancer.
That's a really old Tomcat, lots and lots of bug fixes since then.
Pid wrote:
robr wrote:
Pid-2 wrote:
Robert Rowntree wrote:
we are running a cluster of 3 nodes. we are on linux . we run tomcat
5.5.15
and do not use the server.conf clustering . we cluster tomcat with an
external load balancer.
That's a really old Tomcat, lots and lots of bug fixes since
Hi all,
Im wondering if it's judicious to use apache with ajp connector, it seems
that, APR or NIO connector are more performant than AJP and they not support
AJP,
so it's very useful to use Apache on front end of tomcat using using AJP and
mod_jk?
Best regards!
--
View this message in
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Pid,
On 6/16/2009 5:09 AM, Pid wrote:
You understand the point I'm trying to make?
You've started out by saying that you want the war to expand.
1. new war is uploaded.
2. server1 is restarted
2a expanded dir is removed
2b war is
From: lmk [mailto:lotf...@yahoo.fr]
Subject: Apache And tomcat: wich is the best conenctor to use
Im wondering if it's judicious to use apache with ajp connector
If you have no other reason to use httpd, then don't - just let Tomcat serve
the static content; this will reduce complexity and
I have no good reason except increase tomcat response, Im not using SSL
for the moment. Im just testing mod_jk and load balancing in order to
imporove performance.
Caldarale, Charles R wrote:
Subject: Apache And tomcat: wich is the best conenctor to use
Im wondering if it's
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Petr,
On 6/16/2009 4:03 AM, Hracek, Petr wrote:
Now I have changed the files basely you mail and now situation is following:
You are getting closer.
I am trying to develop a new servlet:
/opt/secm/servlet directory has WEB-INF structure with
From: lmk [mailto:lotf...@yahoo.fr]
Subject: RE: Apache And tomcat: wich is the best conenctor to use
Im just testing mod_jk and load balancing in order to
imporove performance.
Then you do have a need for httpd (load balancing), so AJP is the most
appropriate connector.
- Chuck
THIS
From: Christopher Schultz [mailto:ch...@christopherschultz.net]
Subject: Re: deploy webapp to nfs shared drive
This would only be a problem if Tomcat's work directory was shared,
right? Or do I have things wrong thinking that WAR files are expanded
into the work directory rather than the
From: Hracek, Petr [mailto:petr.hra...@siemens-enterprise.com]
Subject: RE: Beginner with apache
I am trying to develop a new servlet:
You still seem to be confusing the concepts of webapp and servlet. A servlet
is a single Java class that extends the HttpServlet class, providing concrete
Caldarale, Charles R wrote:
From: Christopher Schultz [mailto:ch...@christopherschultz.net]
Subject: Re: deploy webapp to nfs shared drive
This would only be a problem if Tomcat's work directory was shared,
right? Or do I have things wrong thinking that WAR files are expanded
into the work
I have found a file called tomcat5.5 in /etc/init.d/ which has the start-up
script for Tomcat 5. Would I simply make a copy of this called tomcat6 and
adjust the file to my specifics, or is there an easier way to do this? The text
of the file is attached, if it is of any help, but from reading
My current setup: Windows Server 2003 on X86 (32bit).
Apache Tomcat 6.0.16
Apache Httpd server 2.059 with mod_jk
Using JVM 1.6.0_06
Current setting for the JVM used by tomcat is as follows:
Initial Memory pool - 768MB
Max Memory pool - 1536MB
Is there a way to go beyond 2GB for the max
thanks a lot..
Caldarale, Charles R wrote:
From: lmk [mailto:lotf...@yahoo.fr]
Subject: RE: Apache And tomcat: wich is the best conenctor to use
Im just testing mod_jk and load balancing in order to
imporove performance.
Then you do have a need for httpd (load balancing), so AJP is
André Warnier wrote:
Caldarale, Charles R wrote:
From: Christopher Schultz [mailto:ch...@christopherschultz.net]
Subject: Re: deploy webapp to nfs shared drive
This would only be a problem if Tomcat's work directory was shared,
right? Or do I have things wrong thinking that WAR files are
From: André Warnier [mailto:a...@ice-sa.com]
Subject: Re: deploy webapp to nfs shared drive
As far as I remember the beginning of this thread, the OP wants to have
these applications autodeployed; which means that something in Tomcat
has to watch these things, and notice when there's a
From: Mehrotra, Anurag [mailto:amehro...@telebright.com]
Subject: Tomcat JVM configuration
Current setting for the JVM used by tomcat is as follows:
Initial Memory pool - 768MB
Max Memory pool - 1536MB
By pool, do you really mean heap? Non-standard terminology only causes
confusion.
On Tue, Jun 16, 2009 at 7:09 AM, Mehrotra,
Anuragamehro...@telebright.com wrote:
Is there a way to go beyond 2GB for the max memory pool on the above
platform?
Would Unix allow me to allocate more memory to tomcat (JVM)?
Can't tell you anything about Windows but I'd think any 64-bit OS
would
Timo is correct
you want to esure your initialisation script environment parameters fit your
environment such as
JAVA_HOME
CATALINA_HOME
Viel Gluck/Bon Chance
Martin Gainty
Vereinigte Staaten/Etats Unis (GMT+5)
__
Note de déni et de confidentialité
Hi all,
I am writing a webapp that uses JMX to manage weblogic and websphere servers
and hosting it on Tomcat 6.0.18. The app also uses Jython to manipulate
MBeans within the app servers.
Here's the issue that I'm facing:
To get a JMX connection using JMXConnectionFactory using below:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Anurag,
On 6/16/2009 10:09 AM, Mehrotra, Anurag wrote:
My current setup: Windows Server 2003 on X86 (32bit).
Apache Tomcat 6.0.16
Using JVM 1.6.0_06
Current setting for the JVM used by tomcat is as follows:
Initial Memory pool - 768MB
Max
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Jeba,
On 6/15/2009 5:32 PM, JebaB wrote:
I am currently using Tomcat 6.0 and in the previous versions I have used, I
used to see a message when all the threads are in use and Tomcat was
rejecting connections due to no more available threads. I am
Sure,
You can assign Max Memory pool to 2048M or more, thanks.
Best Regards,
Zeeshan Ahmad.
-Original Message-
From: Mehrotra, Anurag [mailto:amehro...@telebright.com]
Sent: Tuesday, June 16, 2009 8:10 PM
To: users@tomcat.apache.org
Subject: Tomcat JVM configuration
My current setup:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
To whom it may concern,
On 6/15/2009 2:33 PM, J Channel wrote:
I put to conf/catalina.properties
org.apache.catalina.SESSION_COOKIE_NAME=jsessionidto have cookie name in
lower case, but now server give me so:
Set-Cookie
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Attacus,
On 6/15/2009 4:42 PM, attacus wrote:
In case with domain name Apache searches static content instead of my
dynamic JBoss-Tomcat-produced page, and finally returns error 404.
Please help me if you have any ideas where to dig.
Sounds like
From: Pankaj Tandon [mailto:pankajtan...@gmail.com]
Subject: Using JMX with Tomcat: classloading issues
Because rt.jar is (probably) used by the bootstrap classloader,
I HAVE to include weblogic.jar in the CATALINA_HOME/common/lib
directory.
Yes, rt.jar is handled by the bootstrap
request TOMCAT use the weblogic.management.remote package from wljmxclient.jar
instead as illustrated here:
Djmx.remote.protocol.provider.pkgs=weblogic.management.remote
and
Djava.class.path=D:\jdk1.5.0_16\lib\jconsole.jar;D:\jdk1.5.0_16\lib\tools.jar;%WL_HOME%\server\lib\wljmxclient.jar
Zeeshan Ahmad wrote:
Sure,
You can assign Max Memory pool to 2048M or more, thanks.
Bzzz. Wrong. Not on that OS you can't. The other replies are correct.
You really need a 64-bit JVM.
Mark
Best Regards,
Zeeshan Ahmad.
-Original Message-
From: Mehrotra, Anurag
Thanks
It worked
If just it would be mentioned in documention it would save me several ours
of
debugging
Should i report a bug or i have missed it?
Evgeny
On Fri, Jun 12, 2009 at 10:24 AM, Tsirkin Evgeny tsir...@gmail.com wrote:
On Fri, Jun 12, 2009 at 1:25 AM, Rainer Jung
Mark Thomas wrote:
Bzzz. Wrong.
Someone's been watching a lot of TV gameshows.
Too bad there isn't an internet media type to convey this properly to
the recipient.
-
To unsubscribe, e-mail:
It is possible if you will add the following parameters in the Tomcat
Home/bin/catlina.sh
JAVA_OPTS=$JAVA_OPTS -Xms200M -Xmx2048M
Best Regards,
Zeeshan Ahmad.
Associate Manager SCM.
P Save a tree...pls don't print this e-mail unless necessary
-Original Message-
From: Mark Thomas
From: Zeeshan Ahmad [mailto:zah...@i2cinc.com]
Subject: RE: Tomcat JVM configuration
It is possible if you will add the following parameters in the Tomcat
Home/bin/catlina.sh
JAVA_OPTS=$JAVA_OPTS -Xms200M -Xmx2048M
So after posting one completely wrong answer, you follow it up with
Do you know where I can find a shell script (not a jsp) that will monitor
the JVM and get me the same information as the Tomcat Manager does (free,
max, total)? I am monitorijng a cluster of tomcats and need to keep track
of the free memory over time. I have been looking for one and so far have
Matt Corban wrote:
Do you know where I can find a shell script (not a jsp) that will monitor
the JVM and get me the same information as the Tomcat Manager does (free,
max, total)? I am monitorijng a cluster of tomcats and need to keep track
of the free memory over time. I have been looking for
You could try booting Windows with the /3G option.
That will get you a little more - say 100 to 200 Mb (VOE) - not what you
would really expect.
Everyone else is correct.
If you really need a significantly larger heap, you will need to go to a
64-bit OS and Java implementation.
I am in the process
@Chuck: Yes, I did kind of munge the bootstrap and System classloaders
together. But the problem still remains. When I remove weblogic.jar from
common/lib and my code attempts to establish a JMX connection using below:
JMXConnector connector = JMXConnectorFactory.connect(serviceURL, h);
I get
Mukerjee, Neiloy (Neil) wrote:
I have found a file called tomcat5.5 in /etc/init.d/ which has the start-up script for Tomcat 5. Would I simply make a copy of this called tomcat6 and adjust the file to my specifics, or is there an easier way to do this? The text of the file is attached, if it is
...even increasing the log verbosity to ALL didn't helped. There's
still this huge gap completely undocumented in the logs.
So I think I have to go the thread dump road: unfortunately I don't
have idea about how to get thorough it.
Here's what I experimented with... I found three jsvc processes
On 16.06.2009 17:28, Tsirkin Evgeny wrote:
Thanks
It worked
If just it would be mentioned in documention it would save me several ours
of
debugging
Should i report a bug or i have missed it?
Would you mind to provide some sentences or corrections for specific
docs pages?
Regards,
Rainer
@chuck and @martin You both helped me. Turns out that I could move all
weblogic classes in WEB-INF/lib and out of the System classloader. But
moving just weblogic.jar did not do the trick. I needed to package the
following jars from the BEA distribution into the Webapp:
weblogic.jar
André Warnier wrote:
Matt Corban wrote:
Do you know where I can find a shell script (not a jsp) that will monitor
the JVM and get me the same information as the Tomcat Manager does (free,
max, total)? I am monitorijng a cluster of tomcats and need to keep
track
of the free memory over time.
I am not too familiar with jmap, jstack or jinfo. I could write a script
that uses jmap to get the memory of the tomcat running and then store the
necessary information in a log file.
On Tue, Jun 16, 2009 at 12:39 PM, Pid p...@pidster.com wrote:
André Warnier wrote:
Matt Corban wrote:
Do
Dear Matt,
I am not too familiar with jmap, jstack or jinfo. I could write a
script
that uses jmap to get the memory of the tomcat running and then
store the
necessary information in a log file.
That is an option, or you could use a tool that does that for you,
plus make nice graphs.
Christopher, you right.
I fill like something is wrong here. I am not experienced in Apache
configuration. So please do not kick me hard. :)
#
# Use name-based virtual hosting.
#
NameVirtualHost *:443
#
# VirtualHost example:
# Almost any Apache directive may go into a VirtualHost container.
#
Startup.bat in CATALINA_HOME/bin runs without error, but Tomcat does not
startup
Tim Rucker
Professional Services Americas
Teradata
* E-Mail: timothy.ruc...@teradata.com mailto:tr185...@teradata.com
* SMS: iPhone mailto:timruc...@txt.att.net
* Virtual Office: (614) 314-4427
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Rainer,
On 6/16/2009 1:05 PM, Rainer Jung wrote:
Would you mind to provide some sentences or corrections for specific
docs pages?
How about adding:
Rule extensions were added in mod_jk 1.2.17. If you would like to use
rule (mount?) extensions,
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Tim,
On 6/16/2009 6:04 PM, Rucker, Timothy wrote:
Startup.bat in CATALINA_HOME/bin runs without error, but Tomcat does not
startup
That sucks. Any idea what's wrong?
- -chris
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (MingW32)
Comment:
From: Rucker, Timothy [mailto:timothy.ruc...@teradata.com]
Subject: Tomcat window appears briefly, does not startup - Windows XP
Startup.bat in CATALINA_HOME/bin runs without error, but Tomcat does
not startup
Tomcat version?
JVM version?
Anything in the logs?
Try running catalina.bat
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Zeeshan,
On 6/16/2009 11:44 AM, Zeeshan Ahmad wrote:
It is possible if you will add the following parameters in the Tomcat
Home/bin/catlina.sh
JAVA_OPTS=$JAVA_OPTS -Xms200M -Xmx2048M
Note that you have a smaller initial heap. The JVM may be
Chuck,
Tomcat version 5.5.23
JVM version 1.5.0_19-b02
Nothing in the logs unfortunately.
-Original Message-
From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com]
Sent: Tuesday, June 16, 2009 6:12 PM
To: Tomcat Users List
Subject: RE: Tomcat window appears briefly, does not
Hi all,
I know Tomcat classloading is a hairy subject but I've tried all I could and
would appreciate some help!
I'm using Tomcat 6.0.18 with JDK 1.6
My webapp uses the Weblogic supplied Jython Interpreter called
WLSTInterpreter.
My weblogic.jar is in my WEB-INF/lib directory but for some
run
CATALINA_HOME/bin/catalina.bat run
and no new window will be created
Filip
Rucker, Timothy wrote:
Startup.bat in CATALINA_HOME/bin runs without error, but Tomcat does not
startup
Tim Rucker
Professional Services Americas
Teradata
* E-Mail: timothy.ruc...@teradata.com
Hi,
I have tomcat working with ssl, but I'd like to allow localhost clients to
use no authentication.
Is it possible to deploy the same service with authentication to external
addresses and no auth to 127.0.0.1?
If this is in the docs, could someone send me a link to this section?
Thanks
-Bruce
Tim-
what do the logs say?
Martin Gainty
__
Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité
Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger
sein, so bitten wir hoeflich um eine Mitteilung.
I'm just starting poking with servlets, and simply cannot figure out how
to do this.
I'm trying to read data which is posted directly to the server. The HTTP
POST looks something like this:
POST /api/ HTTP/1.1
User-Agent: Jakarta Commons-HttpClient/3.1
Host: averageurl.com
Content-Length: 94
Just a follow up on this, I did manage to get the virtual hosting and
everything working.
Windows server wise, I used the DNS tools v in Win2K3 Srinstead of the hosts
file. For some reason the HOSTS file isn't working correctly. This is an
issue for another time.
What I did to get Tomcat
From: Josh Gooding [mailto:josh.good...@gmail.com]
Subject: Re: Just a few questions on my Tomcat Configuration
the problem I was having is that instead of using
$CATALINA_HOME/[directory name]/ROOT, I was leaving
the ROOT directory out and putting it into just the
directory name (which
Thanks Mark, you solved my problem that confused me two days.
In fact, there are two tomcat on my disk D, one is for netbeans, one
is for usual test app.
The tcnative-1.dll file is not in the tomcat which I used to test
https://localhost:8443 SSL configuration, I found this file in another
tomcat
From: yuting lv [mailto:yutin...@gmail.com]
Subject: Re: SSL Configuration Problem, can not open
https://localhost:8443
should not I put two tomcat on the same disk, isn't it?
Having multiple Tomcats installed on the same disk is not a problem. I have
four different versions installed on
From: Kyle Brantley [mailto:k...@averageurl.com]
Subject: Reading POSTed data
I'm trying to read data which is posted directly to the server.
I'll assume you have a doPost() method in your servlet.
I cannot figure out how to read this posted data from the servlet.
Read the servlet spec,
Caldarale, Charles R wrote:
From: Kyle Brantley [mailto:k...@averageurl.com]
Subject: Reading POSTed data
I'm trying to read data which is posted directly to the server.
I'll assume you have a doPost() method in your servlet.
I do.
I cannot figure out how to read this posted data
2009/6/16 Caldarale, Charles R chuck.caldar...@unisys.com:
From: Kyle Brantley [mailto:k...@averageurl.com]
Subject: Reading POSTed data
I cannot figure out how to read this posted data from the servlet.
Read the servlet spec, not just the javadocs; section 3.1 discusses how POST
data
From: Kyle Brantley [mailto:k...@averageurl.com]
Subject: Re: Reading POSTed data
The data isn't in a form where those calls would recognize them.
To be a proper POST body, it must be. The content should be preceded by
something like xml= (without the quotes), and then you would retrieve
From: Len Popp [mailto:len.p...@gmail.com]
Subject: Re: Reading POSTed data
Ah, but section 3.1.1 says that POST data is only available through
getParameter if the content type is application/x-www-form-urlencoded.
You're right, I missed that. There must be something else getting at the
As for the transcription error? it is just that, I fat fingered some
keystrokes and it sent it in the middle of an edit. I was going to take out
the second abc and edit it to say xyz and have the 2nd Host reflect that.
Not sure if I follow how you can have more than one webapp for any given
On 06/16/2009 09:36 PM, Caldarale, Charles R wrote:
From: Len Popp [mailto:len.p...@gmail.com]
Subject: Re: Reading POSTed data
Ah, but section 3.1.1 says that POST data is only available through
getParameter if the content type is application/x-www-form-urlencoded.
You're right, I missed
From: Josh Gooding [mailto:josh.good...@gmail.com]
Subject: Re: Just a few questions on my Tomcat Configuration
Not sure if I follow how you can have more than one webapp
for any given Host.
The normal state of affairs is to have multiple webapps; look at what comes
with Tomcat.
Would
72 matches
Mail list logo