Hi all,
I am a java based developer used tomcat for the development purpose.but onlu
know abt it in limited manner,i mean to say wat i have to use.
Now i have some individual projects to develop and i have to do all by my
own so i need to learn abt the tomcat in details.
can some body help me t
Looks like something is calling tomcat PAUSE command from the tomcat
command port. It may not be related to Exception you get prior but more
related to some external process giving instructions to pause on tomcat
administrator interface. Tomcat in itself catches all Exception that
occur during
Christopher Schultz a écrit :
If you use a web server like Apache httpd to make it look like there are
several domains there, but there's really only one deployed instance of
your web application, then you should already be able to share the
cookies across the domains.
And of course, if you ju
Bill Barker wrote:
Got it, thanks very much!
For Tomcat 6, you can get it at
http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/java/org/apache/tomcat/util/modeler/
For earlier Tomcat versions, you can get from common-modeler at
http://commons.apache.org/downloads/download_modeler.cgi.
No, it is not time sensitive. It is command sensitive (if that makes
sense).
Clicking a certain button in a jsp form
On Wed, Jan 30, 2008 at 5:06 PM, Christopher Schultz <
[EMAIL PROTECTED]> wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Tony,
>
> Tony Chamberlain wrote:
> | Now gr
from past experience, it's much better to use hardware load balancing. At a
previous job, we had any where from 12-24 servers load balanced behind a
cisco local director.
Any load balancing router today can do the job, it doesn't have to be
cisco. What I did in the past was to take production log
"Alan Chaney" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi
>
> Where can I find the mbeans-descriptor.dtd?
>
> The documentation mentions a 'fulldocs' download but I can't seem to find
> that.
>
For Tomcat 6, you can get it at
http://svn.apache.org/viewvc/tomcat/tc6.0.x/tru
Chunk,
I'll test that.
Thank you for your help! :)
--
Sincerely,
Maggie
On 1/28/08, Caldarale, Charles R <[EMAIL PROTECTED]> wrote:
>
> > From: maggie [mailto:[EMAIL PROTECTED]
> > Subject: Re: find out the possible bottleneck webapp
> >
> > So what I want is a light weight tool, just find out
Hello Andrew, reading your email, Alan's email and the Mladen email piqued my
interest because I am currently working on a gig to improve the performance and
monitoring of two Tomcat instances supporting 3 web applications and one web
service. I am inclined to agree with Alan. And, did you read
Hi
Where can I find the mbeans-descriptor.dtd?
The documentation mentions a 'fulldocs' download but I can't seem to
find that.
Thanks in advance
Alan Chaney
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubsc
Mark,
You are right, I misread that.
I copied the location of the dll to my path.
.;%JAVA_HOME%\bin;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System
32\Wbem;C:\Program Files\Microsoft SQL Server 2005 JDBC
Driver\sqljdbc_1.2\enu\auth\x86
I am getting past the error of not being configured f
Leo Donahue - PLANDEVX wrote:
Basically it says copy the .dll to where ever you put the sqljdbc.jar
file. I put my sqljdbc.jar file here: C:\Tomcat5028\common\lib
No it doesn't. It says
To use integrated authentication, copy the sqljdbc_auth.dll file to a
directory on the Windows system pat
I downloaded the Microsoft SQL Server jdbc driver, version 1.2 here:
http://msdn2.microsoft.com/en-us/data/aa937724.aspx
I read the instructions about using this driver,
http://msdn2.microsoft.com/en-us/library/ms378526.aspx and the .dll for
integrated security,
http://msdn2.microsoft.com/en-us
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Tony,
Tony Chamberlain wrote:
| Now granted the error occured because the file was not there. I put a
copy
| for the file it was looking for there and our stuff worked. BUT should a
| File Not Found error cause Tomcat to crash? Shouldn't it print
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chuck,
Caldarale, Charles R wrote:
|> From: Christopher Schultz [mailto:[EMAIL PROTECTED]
|> Subject: Servlet Specification 2.5
|>
|> Can anyone point me to a copy of the text of the
|> Servlet Spec 2.5?
|
| http://jcp.org/aboutJava/communityprocess/
> From: Christopher Schultz [mailto:[EMAIL PROTECTED]
> Subject: Servlet Specification 2.5
>
> Can anyone point me to a copy of the text of the
> Servlet Spec 2.5?
http://jcp.org/aboutJava/communityprocess/mrel/jsr154/index2.html
Use the first download button. This will lead you through a cou
I was only able to find a draft version, not the final version. I'll
have to dig around to find where it came from.
--
Len
On Jan 30, 2008 5:41 PM, Christopher Schultz
<[EMAIL PROTECTED]> wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> All,
>
> Can anyone point me to a copy of the t
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
All,
Can anyone point me to a copy of the text of the Servlet Spec 2.5? All I
seem to be able to find is a ZIP file on Sun's site which contains the
reference JAR file and javadocs.
What I'm looking for is a PDF like you can easily get for the 2.4
s
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Steve,
Steve Parker wrote:
| So, you're saying that if I have a single deployed webapp, and I just
| enter a few such domains (e.g., c1.mydomain.com, c2.mydomain.com, etc)
| into DNS to point to this server, that tomcat will automatically
| instantia
I was running a jsp application here via TomCat that someone wrote.
I got no response, and when I looked in catalina.out I saw
Couldn't open execbin/dMAX-Dog.config/home/span/execbin/dMAX-Dog.config (No
such file or directory)
Couldn't open dmagexec/dMAX-Dog.config/home/span/dmagexec/dMAX-Dog.conf
Thanks for the reply.
So, you're saying that if I have a single deployed webapp, and I just
enter a few such domains (e.g., c1.mydomain.com, c2.mydomain.com, etc)
into DNS to point to this server, that tomcat will automatically
instantiate a separate webapp instance for each access subdomain?
On
Always use httpSession *and* url rewriting together. The container takes
care to track session either using url either using cookies, depending
on client configuration. Whatever case, your code is the same, just do
url rewriting everywhere you output links.
legolas a écrit :
Hi
Thank you for
Hi
Thank you for reading my post
Can some one clear my doubt about this subject?
- We can add some attribute to HttpSession in our servlet and then retrieve
it when we need them from the session. This information are kept in the
server. If this statement is correct, How does each session is bindd
It's technically possible that cookies get shared accros domains,
setting the cookie domaine to .mydomain.com. However, it will be of no
help to you, because each subdomain runs it's own set of webapps in
tomcat. The session can't be shared across webapps. If you need to
shared datas with your
Thanks all of you for your tips.
They have gave us a lot of indication how to tackle this..
Great.,,,
Mark H. Wood wrote:
What kind of processors specifically? In a 32-bit address space,
there's no point in giving Tomcat more than 2GB, because the JVM won't
use it. If you have 64-bit users
Answered by Bill 5 years ago..
enablePooling
false
This will turn off tag-pooling.
You'll also need to clear out $CATALINA_HOME/work so that the JSP pages get
re-compiled.
relevant doc at
http://tomcat.apache.org/tomcat-5.5-doc/jasper-howto.html
M-
- Original Message -
From: "C
the application worked fine with Tomcat5.5 with the same configuration
and same code. I have problems since the update to Tomcat5.5.25. Could
the problem occurs because of the changelog? or a bug in the connector
mod_jk? Is there a forum dedicated to this connector?
Manu
Emmanuel Milou wrote:
Hi all,
We use a "global message" .tag file to display any important updates to
users - by default it is blank but can be updated to say, e.g. "Site
will be going down for maintenance in one hour.". We push these updates
by deploying an updated .tag file to our system.
We just switched to Tomcat
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Subject: RE: Redirect "HOST" to "HOST:PORT"
>
> Thanks a lot for such a fast answer but actually I'm a newbie
> and really don't know how to do what you proposed.
Use the iptables utility to redirect 443 to 8443. Consult the man pages
for i
apache httpd server is not related to tomcat. It's a "classical" web
server (http://httpd.apache.org/). Tomcat is a java application server.
If you are under linux, there most probably an already existing package
for this. If you are under windows, you can simply have your tomcat
listen to port
On Today at 5:45pm, MT=>Mladen Turk <[EMAIL PROTECTED]> wrote:
MT> [..snip..]
MT>
MT> Hmm, you might be hitting the point here. When tightening up the vhost
MT> mappings we probably overlooked the SSL (or any other protocol)
MT> scenario, where the actual vhost is the same, only the protocol is
Thanks a lot for such a fast answer but actually I'm a newbie and really
don't know how to do what you proposed.
How can I find out if I have an Apache HTTPD server??? Or if it listens to
port 80???
The folders under my Tomcat goes like this (very simlilar to the one in
SUSE):
+ Tomcat
+
> [EMAIL PROTECTED] a écrit :
>
> I'm running tomcat 5.0 in a SUSE environment.
> To access the webapp the user has to enter in a web browser
> "app.server:8443" and it automatically redirects to
> "https://app.server:8443/myapp/servlet/login"; (this is made with an
> index.htm in the ROOT context)
Glad that your problem is solved :)
++Vamsi
On Jan 30, 2008 10:38 PM, Ole Ersoy <[EMAIL PROTECTED]> wrote:
> OK - Looks like it's an IcedTea thing. I installed JDK 1.6, regenerated
> the key, and now it works fine.
>
> Thanks again for all the helpful suggestions,
> - Ole
>
>
>
> Vamsavardhana
Just use the same trick you already do. This time, instead of putting
your index.html at ROOT, put it under the root folder of an apache httpd
server for that host. This assumes you run an apache httpd server on
that server and it listens to port 80.
[EMAIL PROTECTED] a écrit :
I'm running to
OK - Looks like it's an IcedTea thing. I installed JDK 1.6, regenerated the key, and now it works fine.
Thanks again for all the helpful suggestions,
- Ole
Vamsavardhana Reddy wrote:
Seems strange. Can you send a keystore file that you generated along with
the passwords you used for the k
> I'm running tomcat 5.0 in a SUSE environment.
> To access the webapp the user has to enter in a web browser
> "app.server:8443" and it automatically redirects to
> "https://app.server:8443/myapp/servlet/login"; (this is made with an
> index.htm in the ROOT context). What I have been looking for i
Haroon Rafique wrote:
Your above question got me thinking and I said to myself, I don't harve any
VirtualHosts. And then, I remembered SSL. In my config for apache 2.2.6,
there is an include for conf/extra/httpd-ssl.conf and of course :443 is
served via a VirtualHost.
Hmm, you might be hi
Hmmm...Maybe it's an IcedTea thing. I looked here:
http://www.ensode.net/java_fedora_8_icedtea.html
I'll give the Sun JDK a shot.
Cheers,
- Ole
Vamsavardhana Reddy wrote:
Seems strange. Can you send a keystore file that you generated along with
the passwords you used for the keystore as we
Seems strange.
Agreed - It used to be real easy :-)
Can you send a keystore file that you generated along with
the passwords you used for the keystore as well as the key (you can generate
one with password "secret" say)?
Absolutely - Thanks for being so helpful. Here's what I did:
[EMAI
In \bin\catalina.bat, around line 98, where it sets JAVA_OPTS:
set JAVA_OPTS=%JAVA_OPTS% -Djava.util.logging.manager= etc etc
add this to the end of the line:
-Duser.language=en -Duser.country=US
--
View this message in context:
http://www.nabble.com/Tomcat-5.5-in-Spinglish---oh-the-pain-tp
Guys,
I am using several sub-domains that all point to the same app (they
cause different content to be displayed, depending on the sub-domain).
For example, I have:
content1.myapp.com
content2.myapp.com
content3.myapp.com
...etc...
I need the session data to be shared across these subdomai
On Yesterday at 11:58pm, RJ=>Rainer Jung <[EMAIL PROTECTED]> wrote:
RJ>
RJ> [..snip..]
RJ>
RJ> The ugly: stricter handling of JkMount/JkMountFile etc. with respect
RJ> to virtual hosts. It should have behaved for a long time in the way,
RJ> that mounts are not inherited between virtual hosts a
Ah, yes, I addressed only -Xmx. For -Xms, you could try this. Throw
a typical load at your app. and monitor it until memory use seems to
be fairly stable. Round that up to a convenient number and use that
for -Xms. That way, your app. should not have to ask for more until
the load goes above ty
Seems strange. Can you send a keystore file that you generated along with
the passwords you used for the keystore as well as the key (you can generate
one with password "secret" say)? May be I can investigate if there is
something wrong with the keystore. Also, what JDK/JVM are you using?
++Vam
My InvokerServlet is enabled, but every servlet is explicitly declared
and associated with an url-pattern in web.xml. I actually disabled it
and it did nothing.
/servlet and my jsp are in the same webapp.
Caldarale, Charles R wrote:
From: david delbecq [mailto:[EMAIL PROTECTED]
Subject: Re: Wr
Hi Vamsi,
I tried:
$JAVA_HOME/bin/keytool -genkey -alias tomcat -keyalg RSA -storetype JKS
Thanks for the suggestion though,
- Ole
Vamsavardhana Reddy wrote:
May be you should use the "-storetype JKS" to be sure of the format in which
the keystore is generated.
++Vamsi
On Jan 30, 2008 11:1
> From: Julio Cesar Leiva [mailto:[EMAIL PROTECTED]
> We have an app on a m linux box dual processor dual core , 16GB RAM
> We are wondering what could be the ideal size for Xmx and Xms
It is impossible to answer that question without detailed results from
stress-testing your application with a l
What kind of processors specifically? In a 32-bit address space,
there's no point in giving Tomcat more than 2GB, because the JVM won't
use it. If you have 64-bit userspace and a JVM built for it then you
can use more, but remember to leave a bit for OS caches, other
processes, etc. (Starve the
The answer is in the question, use the results of your load test to find
optimal values for you.
En l'instant précis du 30/01/08 15:19, Julio Cesar Leiva s'exprimait en
ces termes:
Hi all
We have an app on a m linux box dual processor dual core , 16GB RAM
We are wondering what could be the idea
Hi all
We have an app on a m linux box dual processor dual core , 16GB RAM
We are wondering what could be the ideal size for Xmx and Xms (Java Heap
Size)
We have a load test that hits our server with 800 clients sending
request every sec.
Thanks for your tips.
--
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Subject: OutOfMemoryError: allocLargeObjectOrArray
>
> JDK: jrockit-R27.4.0-jdk1.5.0_12
> java.lang.OutOfMemoryError: allocLargeObjectOrArray - Object size:
> 75333648, Num elements: 37666816
1) Try increasing your heap size.
2) Try
> From: KALLURI VENKATA SUBBA REDDY [mailto:[EMAIL PROTECTED]
> Subject: Tomcat 5.5.25 Build Failed [Suse Linux 8, JDK 1.4]
>
> I am trying to build Tomcat 5.5.25
Why are you attempting to do that? Tomcat is pure Java, so its classes
run on any viable JVM. Builds are not required unless you're
---
HARBOR: http://coolharbor.100free.com/index.htm
The best application server on earth
---
- Original Message -
From: <[EMAIL PROTECTED]>
To:
Thanks .. working
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Wesley Schwengle
Sent: Wednesday, January 30, 2008 3:03 PM
To: Tomcat Users List
Subject: RE: getting SEVERE: Catalina.stop: java.net.ConnectException:
Connection refused error
On 30.01.08
It prints only 'java' as process name no tomcat or something like that .
-Original Message-
From: David Delbecq [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 30, 2008 2:54 PM
To: Tomcat Users List
Subject: Re: getting SEVERE: Catalina.stop: java.net.ConnectException:
Connection ref
On 30.01.08 14:50 Meir Yanovich wrote:
Yes I can see it has x in hp
-x Shows the command line in extended format.
Someone knows what is the equivalent in sunOs?
/usr/ucb/ps -auxww :)
Cheers,
Wesley
-
To start a
http://docsun.cites.uiuc.edu/sun_docs/C/solaris_9/SUNWaman/hman1b/ps.1b.html
-e
Displays the environment as well as the arguments to the command.
??
En l'instant précis du 30/01/08 13:50, Meir Yanovich s'exprimait en ces
termes:
Yes I can see it has x in hp
-x Shows the comma
Yes I can see it has x in hp
-x Shows the command line in extended format.
Someone knows what is the equivalent in sunOs?
Thanks
-Original Message-
From: David Delbecq [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 30, 2008 2:41 PM
To: Tomcat Users List
Subject: Re: gett
alanP wrote:
> On startup, on Win XP, I get this hodge-podge in English and Spanish:
I'm not sure about this but it might help to remove tomcat-i18n-es.jar
from common/i18n.
Regards
mks
-
To start a new topic, e-mail: users@t
This is ps from HP-UX/linux, other version might use a different flag :)
There are tons of flags, as long as you can get detailed command line,
or working directory or perhaps environment variables, you should have
enough to limit selection to one process.
En l'instant précis du 30/01/08 13:
En l'instant précis du 30/01/08 13:31, Ray Allen s'exprimait en ces termes:
I'm trying to restrict http access to a given folder. All the
documentation
points to appending the /conf/server.xml entry with the following text:
...
...
That is restricting access to a context n
Hi and thanks for the fast reply but my version of ps
Don't have the x flag, any other way ?
-Original Message-
From: David Delbecq [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 30, 2008 2:22 PM
To: Tomcat Users List
Subject: Re: getting SEVERE: Catalina.stop: java.net.ConnectExcep
There no OOTB way to terminate a Thread. Actually, java in itself does
not provide an OOTB way to kill a Thread! If the Thread is stuck
processing request, your best solution is to stop and restart tomcat.
Only way a Thread can exit in java is to exit the run() method of the
Thread. If it's a t
> I'm trying to restrict http access to a given folder. All the
> documentation
> points to appending the /conf/server.xml entry with the following text:
>
>
> ...
> allow="192.168.*.*" />
> ...
>
>
That is restricting access to a context name restricted, it's not the
same a res
Hi,
I am trying to build Tomcat 5.5.25 on SUSE Linux 8 machine using JDK
1.4.2_04 with the source downloaded from Apache website.
I am getting following message with Build Failed. PLease help me in this.
Thanx in advance
Subba Reddy Kalluri
**
***
ps -aex | grep tomcat | grep java
first part limit to tomcat processes, second part strip non java
processes that are related to tomcat (like the grep tomcat of previous
line ;)
If you need more explicit selection, include the home directory of
tomcat in the grep calls. Here we use, as part of
Hi ,all
The system is Tomcat 5.0.28 started as service, Win2003 .
When I look at http://APPHOST/manager/status
There is a thread that is obviously stucked - it's TIME column grows up and
up - much more than a number written in tomcat/webapp's web.xml.
I know the client who started it , and it
En l'instant précis du 30/01/08 12:50, Ray Allen s'exprimait en ces termes:
I'm trying to restrict http access to a given folder. All the documentation
points to appending the /conf/server.xml entry with the following text:
...
...
That is restricting access to a context name r
I'm trying to restrict http access to a given folder. All the documentation
points to appending the /conf/server.xml entry with the following text:
...
...
Unfortunately it doesn't work. Does this text belong in a different
location; or is there something wrong with my syntax; or
Well this is problematic abit
When I do : ps -fu
Im getting something like this :
/opt/jdk1.5.0_11/jdk/bin/java -Xmn100M -Xms256M -Xmx256M -Djava.util.logging.ma
I have more java process that are running .. can I somhow get the tomcat name
shown ? to be more unique , so I can grep it?
-Or
On startup, on Win XP, I get this hodge-podge in English and Spanish:
INFO: Inicializando Coyote HTTP/1.1 en puerto http-8080
30-ene-2008 11:40:12 org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 1151 ms
30-ene-2008 11:40:12 org.apache.catalina.core.StandardService star
under linux, a combinaision of ps, grep and wc could tell you how much
tomcat processes are active.
En l'instant précis du 30/01/08 09:44, Meir Yanovich s'exprimait en ces
termes:
Yes you are right , there is in the tomcat script , first it is running the
Shatt down the tomcat , is there any b
Some additional info:
Debian Etch w/o system-wide Java installation
These are included in the Funambol sync server bundle (6.5.12):
Java Runtime environment 1.5.0
Tomcat 5.5.20
First of all, instead of recipes, I'd prefer to be pointed at
information on how to debug this problem. I'm not a p
Yes you are right , there is in the tomcat script , first it is running the
Shatt down the tomcat , is there any better way to do this ?
Some kind of checking if the tomcat alive ?
Thanks
-Original Message-
From: David Delbecq [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 30, 200
Seems to be port you are using is being used another process or the user
don't have permissions to use that port. In linux os normal user can't
use port no <1024 not sure on sun os . To bind the port <1024 for non
root user use jsvc.
Meir Yanovich wrote:
Hello all
Im running with my tomcat
Looks like you are trying, for whatever reason, to stop tomcat prior to
starting it. This exception occurs cause there is no tomcat running that
could answer that stop request.
En l'instant précis du 30/01/08 09:25, Meir Yanovich s'exprimait en ces
termes:
Hello all
Im running with my tomcat
Hello all
Im running with my tomcat 5.5 on SunOS 9 , but when I start tomcat im
getting this error The tomcat keeps running fine , but I like to know
how to eliminate this error :
SEVERE: Catalina.stop:
java.net.ConnectException: Connection refused
at java.net.PlainSocketImpl.socketConnect(
This is an internal jvm error. It seems you activated swallowoutput on
your context which makes tomcat reidrect stdout and stderr to an
internal buffer during servlet excecution and later pass it to a logger.
Your servlet is making lots of outputs (75Megs of data) according to
your error, and t
79 matches
Mail list logo