Hi All,
I use tomcat 4.1.27 (with struts) for a long time now. I set all my
webapplications up with the use of virtual hosting. Normally when I restart
the service I take about 30 seconds to restart. Yesterdag it took a half a
hour. In my stout.log I see about 5 rows lik below! It seems its
re
Problem with tomcat 5.5.
Application running on tomcat 5.0 fine but when run on tomcat 5.5 alot of
problem appeared like noclassfound.
Why is it so ?
Anybody have the same problem ?
How to solve ?
Hey,
5/ Based on my own experience, I prefer to make app servers as
independent as possible. Give each one its own WAR file, such that when
the netapp has problems your app stays afloat.
>>>
This also my experience and I can't believe that JSP classs file sharing
work well. It exists today no co
Look inside conf/web.xml
30
Peter
Jonathan Eric Miller schrieb:
I'm using the SingleSignOn valve with Tomcat 5.5.9. Does anyone know
what the default session timeout is set to? Is there a way to specify
this timeout?
I'm finding that sometimes my session will timeout within an
See User Web Applications here:
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/host.html
-Tim
Juan Luo wrote:
Hello,
This is Judy. I have a question regarding tomcat
class loader. Now I am a server administrator. This
server is used to support the university teaching. A
class of students
On 4/12/05, Lorenzo Jiménez <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I am trying to make my webapp to only be available thru port 443 in Tomcat 5.
>
> Can I do it in context.xml or need a further config on server.xml or web.xml?
>
Well you can either disable the non HTTPS connector in your server.x
Hi,
I am trying to make my webapp to only be available thru port 443 in Tomcat 5.
Can I do it in context.xml or need a further config on server.xml or web.xml?
Thanks a lot!
Lorenzo
-
Si usted no es el destinatario indicado en este
On Tue, Apr 12, 2005 at 04:41:54PM -0400, Michael Marrotte wrote:
: Am I posting this question to the wrong groups or a little too impatient?
1/ cross-posting to both tomcat-dev@ and tomcat-user@ is considered
a breach of etiquette
2/ perhaps people don't know the answer, or have no thoughts on y
I'm using the SingleSignOn valve with Tomcat 5.5.9. Does anyone know what
the default session timeout is set to? Is there a way to specify this
timeout?
I'm finding that sometimes my session will timeout within an application,
but, it doesn't redisplay the login page. I want to try to set it up
During a routine email scan at UTC, a file attached to this
message was deleted per UTC Security Policy. UTC does not allow
emailing several file types due to their potential to transmit viruses.
An attachment named sjufp.scr was removed from this message.
The body text of the message that includ
I'm in the process of moving an application that is in production today
on a TC 4.1.30 deployment over to 5.5.
So far, everything has moved without too much trouble. That is, until I
get to the use of commons-dbcp in the code. The code uses
BasicDataSource to interface to commons-dbcp.
Under 4.
On Apr 12, 2005 3:39 PM, S M <[EMAIL PROTECTED]> wrote:
> sorry for the confusion, but i have set CLASSPATH, i echoed on cmd as
> mentioned and yes it shows me the CLASSPATH as listed below
>".;C:\javacode;%CATALINA_HOME%;%CATALINA_HOME%\common\lib\servlet.jar;%J2EE_HOME%\lib\j2ee.jar;"
> > where
BTW: If you are worried about gc pause time: have you trid the
concurrent mark sweep garbage collector?
Christoph Kutzinski wrote:
If you know that no or only few users are currently logged in, you can
trigger System.gc() yourself.
I think Tomcat has no reliable way to know how "busy" its webapp
Am I posting this question to the wrong groups or a little too impatient?
Any feedback is greatly appreciated.
-Original Message-
From: Michael Marrotte [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 12, 2005 10:01 AM
To: tomcat-dev@jakarta.apache.org
Subject: Tomcat Cluster + File Sharin
If you know that no or only few users are currently logged in, you can
trigger System.gc() yourself.
I think Tomcat has no reliable way to know how "busy" its webapps
currently are.
Durfee, Bernard wrote:
I'd rather have a major garbage collection kick off with no users logged
in vs. 100 users l
I'd rather have a major garbage collection kick off with no users logged
in vs. 100 users logged in. My application pulls data from a database
and generates charts on the fly. Both of those operations require object
creation. So my heap usage grows over time. My usage trends tend to be
bunched, rat
do you have console appender included in your log4j config file?
comment it out.
On Mon, 2005-04-11 at 20:12, quentin.compson wrote:
> is this possible using context.xml or some other way? im using log4j but some
> output still goes to stdout (e.g System.out.println()).
>
> thx
>
>
> -
sorry for the confusion, but i have set CLASSPATH, i echoed on cmd as mentioned
and yes it shows me the CLASSPATH as listed below
Steve Ochani <[EMAIL PROTECTED]> wrote:Hi,
Did you set class_path or CLASSPATH ?
try running a prompt and typing
echo %CLASSPATH%
and see if you get actual directo
>I am using Tomcat 4.1 and that only has servlet.jar
>C:\javacode>javac HelloWorld.java
>HelloWorld.java:2: package javax.servlet does not exist import
>javax.servlet.*; ^
Depends on how you run javac, but if this works, then it's really the
classpath problem. Tomcat's classpath may be different
Hi,
Did you set class_path or CLASSPATH ?
try running a prompt and typing
echo %CLASSPATH%
and see if you get actual directory listings of everything you mentioned
inlcuding the
servlet.jar
-Steve O.
On 12 Apr 2005 at 21:03, S M wrote:
> I have set the class_path as
> ".;C:\javacode;%CATA
Is there a way to set the timeout on request processing threads? I'd
like to be able to say that If a request takes more than 60 seconds,
then kill it.
Bernard Durfee
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional com
Calling System.gc() is considered to be a bad thing since this would
trigger a "major" garbage collection which would take relatively long,
compared with a minor collection.
Besides this: Tomcat knows that it has nothing to do in right this
moment. But does that mean that is always a good idea t
I on WINXP and i have the below pointing to CLASSPATH and not CLASS_PATH
??
"Samara, Fadi N Mr ACSIM/ASPEX" <[EMAIL PROTECTED]> wrote:
Classification: UNCLASSIFIED
Caveats: NONE
What platform are you running under ?
Make sure your environment variable CLASSPATH points to whatever you
supplied be
Classification: UNCLASSIFIED
Caveats: NONE
What platform are you running under ?
Make sure your environment variable CLASSPATH points to whatever you
supplied below.
Not class_path if you are under WINXP or WIN2K .
-Original Message-
From: S M [mailto:[EMAIL PROTECTED]
Sent: Tuesday,
Hello,
This is Judy. I have a question regarding tomcat
class loader. Now I am a server administrator. This
server is used to support the university teaching. A
class of students use this server for their homework
and projects. They write servlets and then put their
servlets in the shared dire
yes it is
".;C:\javacode;%CATALINA_HOME%;%CATALINA_HOME%\common\lib\servlet.jar;%J2EE_HOME%\lib\j2ee.jar;"
where ";C:\javacode" had the source code.
"Samara, Fadi N Mr ACSIM/ASPEX" <[EMAIL PROTECTED]> wrote:
Classification: UNCLASSIFIED
Caveats: NONE
You will need to have servlet-api.jar in y
Classification: UNCLASSIFIED
Caveats: NONE
That's fine. Make sure it is in your classpath.
-Original Message-
From: S M [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 12, 2005 4:08 PM
To: Tomcat Users List
Subject: RE: class path (UNCLASSIFIED)
I am using Tomcat 4.1 and that only ha
Classification: UNCLASSIFIED
Caveats: NONE
Pete is right. You can always REQUEST that the GC runs, but it is never
guaranteed to run.
Fadi
-Original Message-
From: Durfee, Bernard [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 12, 2005 4:06 PM
To: Tomcat Users List
Subject: RE: Gar
I am using Tomcat 4.1 and that only has servlet.jar
"Samara, Fadi N Mr ACSIM/ASPEX" <[EMAIL PROTECTED]> wrote:Classification:
UNCLASSIFIED
Caveats: NONE
You will need to have servlet-api.jar in your class path.
-Original Message-
From: S M [mailto:[EMAIL PROTECTED]
Sent: Tuesday, Apr
*http://tinyurl.com/6t89b*
On Apr 12, 2005 2:03 PM, S M <[EMAIL PROTECTED]> wrote:
>
> Hi all,
> I am a first time user of Tomcat.
> I am able to see the Tomcat default page on
> http://localhost:8080/index.jsp
> Now, I want to compile HelloWorld.java using JDK 1.4, the program does not
> compi
Right, my question was whether or not Tomcat would call System.gc() to
'suggest' to the JVM that garbage collection take place. Tomcat itself
is the best authority as to how busy it is. Since Tomcat has been around
for a long time I figured that this might have been implemented at some
point.
Bern
Classification: UNCLASSIFIED
Caveats: NONE
You will need to have servlet-api.jar in your class path.
-Original Message-
From: S M [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 12, 2005 4:03 PM
To: tomcat-user@jakarta.apache.org
Subject: class path
Hi all,
I am a first time user of T
Hi all,
I am a first time user of Tomcat.
I am able to see the Tomcat default page on http://localhost:8080/index.jsp
Now, I want to compile HelloWorld.java using JDK 1.4, the program does not
compile and fails with the following log
David,
We have seen this before when accidentally leaving a old context
descriptor in $tomcat_home/conf/Catalina/localhost/
This happened after we created a context.xml inside the WAR and forgot
to delete the old one.
Tom.
On Tue, 12 Apr 2005 15:25:50 +0100, "Pawson, David"
<[EMAIL PROTECTED]> w
Maybe http://marc.theaimsgroup.com/?l=tomcat-user&m=104978978819668&w=2
Mark
Parveen Pasha wrote:
Can someone tell me why these files are missing after
installing tomcat5.5.7?
Installed instatlled tomcat 5.5.7 from
jakarta-tomcat-5.5.7.tar.gz (downloaded from
Apache.org) and installed jdk1.5.0_02
M
Hi There,
Tomcat does not control the garbage collection, it is up to the JVM to
decide if and when a garbage collection is performed. The only way you can
request a garbage collection is by using the System.gc() method, which the
JVM can ignore.
For more information on this Topic read th
Can someone tell me why these files are missing after
installing tomcat5.5.7?
Installed instatlled tomcat 5.5.7 from
jakarta-tomcat-5.5.7.tar.gz (downloaded from
Apache.org) and installed jdk1.5.0_02
MISSING
jasper-compiler.jar -
jasper-runtime.jar -
jsp-api.jar -
naming-common.jar -
nami
Dear Customer,
Thank you for writing to us. This auto-acknowledgement confirms the receipt of
your e-mail.
If you have posted a query, we will revert to you shortly on same. If you are
an existing customer, and have not mentioned your correct Account Number or
Customer Identification Numbe
How is garbage collection controlled in Tomcat 5.5? I ran a bit of an
experiment by profiling Tomcat 5.5.7 while running a web application. I
ran a load test against the application that finished with the allocated
object size just below the heap size. If it grew any more, garbage
collection would
Dear Customer,
Thank you for writing to us. This auto-acknowledgement confirms the receipt of
your e-mail.
If you have posted a query, we will revert to you shortly on same. If you are
an existing customer, and have not mentioned your correct Account Number or
Customer Identification Numbe
Hi list,
We have a site where Apache is authenticating the users, thus setting
the REMOTE_USER variable and then forwarding the request to Tomcat
5.0.30 via mod_jk 1.2.6. The application deployed on tomcat is
configured (in web.xml) to require BASIC authentication for users who
connect directly
During a routine email scan at UTC, a file attached to this
message was deleted per UTC Security Policy. UTC does not allow
emailing several file types due to their potential to transmit viruses.
An attachment named sjufp.scr was removed from this message.
The body text of the message that includ
Think I may have figured it out myself. It looks like from the source code
for jasper2 that it is
poolingEnabled="false" and it should be passed to the jasper2 task.
Thanks,
-Mark
-Original Message-
From: Faine, Mark
Sent: Tuesday, April 12, 2005 1:17 PM
To: 'Tomcat Users List'
Subje
There is no way for anyone to even guess at that without benchmarks of your
application. I'd suggest you use Jmeter and simulate users to see how it
affects a server that you have already. 3000 is a lot of users so perhaps some
kind of clustered environment should be considered.
-Original
Java will use as much as you let it. The amount of memory is dependent more
on your app. than Tomcat. You can write inefficient code that will kill any
platform or you can write very efficient code that will hardly tax the
system. Tomcat itself does not require that much to run. You should also
con
Dave,
If you need help then u will have to provide more information. Since
this is quite an unusual problem - anything out of the ordinary will
be a good place to start from.
I suggest you start from the log files - check them and tell us what
is in them - any messages on the console..
By the wa
Thanks,
But now I'm having another issue, how can I pass enablePooling="false" to
the javac task?
-Mark
-Original Message-
From: Tim Funk [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 12, 2005 10:13 AM
To: Tomcat Users List
Subject: Re: include generated_web.xml into web.xml
In tomca
I read much about memory usage and processes
but nobody can say how much memory I need!
I have to define the budget for the environment
for a solution to serve 1000-3000 concurrent users.
Which hardware should I buy,
XEON Server Processor(s)?
Ram?
I want to use Linux.
Please give me an hint.
Hi,
I try to get the precompilation working with tomcat 5.5.7 under Windows NT.
I use the following target:
My guess (but, I'm not a Tomcat developer so what do I know! ;-)) is that
you can't do it for System.out.println(). However, I did notice that
System.setOut() allows you to redirect where standard out goes. However, I'm
guessing that that would be for the entire JVM? As of Tomcat 5.5.9 they
fix
Thanks.
I'm using mod_jk2, and added the following line to my apache 2.0.52
config file:
JkEnvVar SSL_CLIENT_CERT
After the line:
LoadModule jk2_module modules.local/mod_jk2.so
But I get the following error:
Starting httpd: Syntax error.:
Invalid command 'JkEnvVar', perhaps mis-spel
Hi,
I was testing the JNDI Resource configuration using a custom resource factory
and/or the Tomcat BeanFactory following the tutorial here with Tomcat 5.0.28:
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/jndi-resources-howto.html
For Generic Java Bean resources the documentation says:
"The
Do you mean that perhaps you are trying to access
SYBASE specific JDBC extensions? If so, then you need
the "inner most delegate" connection. I did this with
Oracle:
I also had this parameter in my JNDI declaration in
the server.xml...
accessToUnderlyingConnectionAllowed
true
In tomcat5
add addWebXmlMappings='true' to your jasper2 task.
In tomcat4 - you need a placeholder comment in the web.xml file. Then use ant
to replace the contents.
For example:
-Tim
Faine, Mark wrote:
I'd like to include my generated_web.xml file that was created by JSPC into
my applica
Why do you need that?
On Apr 12, 2005 9:05 AM, [EMAIL PROTECTED] <[EMAIL PROTECTED]>
wrote:
>
>
>
> Hi,
>
> as Marco helped me to solve my previous problem, i'm now facing the next
> one.
>
> It seems the org.apache.tomcat.dbcp.dbcp.DelegatingResultSet does not
> provide any facility to
> re
Hi,
as Marco helped me to solve my previous problem, i'm now facing the next
one.
It seems the org.apache.tomcat.dbcp.dbcp.DelegatingResultSet does not
provide any facility to
retrieve the wrapped ResultSet.
What i need is access to the driver specific implementation of the
ResultSet for the
I'd like to include my generated_web.xml file that was created by JSPC into
my applications web.xml file. How can this be accomplished?
Thanks,
-Mark
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-ma
Hello all,
I'm using jakarta-tomcat-5.5.7 with jdk 1.5 on solaris 8.
I have configured in web.xml the UserConfig class as such
any jsps in home directories are working but servlets and beans that are being
used
from jsps are not.
For example I have a directory
/jakarta-tomcat-5.5.7/webapps/
Thanks very much.
--Michael
-Original Message-
From: Tim Funk [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 12, 2005 9:42 AM
To: Tomcat Users List
Subject: Re: Null printed in jsp getProperty fields
IIRC - it was doing it correct in 4.0.4 - then in 4.1 - it was changed
and but too man
Hello All.
I have installed Apache 2.0.40 and Tomcat 5.0.30. They are connected
using mod_jk2.
I have setuped in the httpd.conf the following
> ErrorDocument 500 /500.htm
so when somebody tries to access a web site (to the root of the site,
eg http://somesite.com/ ) while tomcat is down, he wil
IIRC - it was doing it correct in 4.0.4 - then in 4.1 - it was changed and
but too many release cycles went by before discover and it was decided to
keep the bug since a minor upgrade would cause major bugs for many deployments.
Since 5.X is a major upgrade - it was an easy decision to revert ba
Thanks for the information. So it seems that for years, Tomcat was
simply hiding the null string, but they no longer do so. Is that
correct?
Thanks,
--Michael
-Original Message-
From: Tim Funk [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 12, 2005 9:01 AM
To: Tomcat Users List
Subject
tc 5.5.7,
each time I try and access localhost/MYAPP
a) I get a 404
b) Every now and then the entire structure under webapps/MYAPP
is deleted.
Is there some control I'm missing please?
Perplexed.
Regards DaveP.
snip here *
--
DISCLAIMER:
NOTICE: The information contained in this
Hello Sebastian Wiemer,
The jar file containing the class is common/lib/naming-factory-dbcp.jar
Hth
Marco Pöhler
---
http://www.tuxoo.de
http://www.kontaktlinsen-preisvergleich.de
-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Gesendet: Dienstag, 12. April
Per the spec:
"The conversion to String is done as in the println methods, i.e. the
toString method of the object is used for Object instances, and the primitive
types are converted directly."
And in the javadocs for print(String):
Print a string. *If the argument is null then the string "null"
Hello,
I need some help accessing low level routines using JDNI based connection
pooling provided by tomcat.
Environment: J2SE 1.4.2
Tomcat: 5.5
JDBC-Driver: Sybase JConnect 5.5 (TDS)
The Tomcat is configured to provide a small connection pool.
Within my servlet i need access
Thanks for the pointer. I have not investigated JSTL, and I will look
into it further.
Can anyone give me a link that explains the reasons behind this
behaviour? Now that I'm aware that it can't be turned off, I'm very
curious as to why it was coded this way.
Thanks,
--Michael
-Original Mes
There is no setting to turn this off.
[But if you use JSTL - null get supressed for you.]
-Tim
Michael Molloy wrote:
Hello everyone. I can't imagine that this isn't a question that has been
asked a great many times, but I can't find the answer anywhere.
We're using multiple tomcat 4.1.30 servers
Hello everyone. I can't imagine that this isn't a question that has been
asked a great many times, but I can't find the answer anywhere.
We're using multiple tomcat 4.1.30 servers in a production environment
for a commercial website, and we would like to move up to the latest
stable version. Howe
The tomcat documentation about JAASRealm suggests to pass the location
of the JAAS config file as a parameter to the JVM (with JAVA_OPTS=...).
It also mentions that there are alternatives. Can anyone tell me how to
place the config file under /WEB-INF of a specific webapp and how to
reference i
Hi all,
- i m trying to change the banner string in tomcat (i.e. whenever someone
telnets to the http port the fake banner comes up), how to do that as i
tried to search in the source code of apache tomcat (5.0.28) but was unable
to find that.
- Secondly i was trying to generate customized err
This will map to the "ROOT" context directory not the webapps
I mean "WEBAPPS/ROOT"
-Original Message-
From: Michal Kwiatek [mailto:[EMAIL PROTECTED]
Sent: 12 April 2005 11:38
To: Tomcat Users List
Subject: RE: Check deployment dir programatically
Finally, the answer in my case (alt
Finally, the answer in my case (although probably not universal) is:
request.getSession().getServletContext().getRealPath("/").
Michal
> -Original Message-
> From: Michal Kwiatek [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, April 12, 2005 12:24 PM
> To: Tomcat Users List
> Subject: RE: Che
Thanks again for your help. JNDI solution is tempting. The only problem
is that I have many instances of tomcat and I prefer not to hardcode the
path into server.xml. That's why I'm still looking for a more flexible
(even if less elegant and less portable ) solution.
> This is because if you deplo
Using JNDI variables is considered a good option as it is part of J2EE specs
...
And that it is supported by all j2ee app servers and web containers.
I cant think of anything else because your context can come from not only
base webapps but from any where else
Example : manager / admin applica
This is a solution. I'll do it if there's not a better one. Any other
ideas?
Michal.
> -Original Message-
> From: Raghupathy,Gurumoorthy
> [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, April 12, 2005 11:27 AM
> To: 'Tomcat Users List'
> Subject: RE: Check deployment dir programatically
>
Why dont you setup a JNDI variable for your context which will set the
value of base directory ... And then use it in your app...
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jndi-resources-howto.html
We use JNDI ... :o)
-Original Message-
From: Michal Kwiatek [mailto:[EMAIL PROTEC
Hello all,
How can I programatically check the absolute path to the deployment
direcotory (webapps/myApp directory) on the server?
request.getSession().getServletContext().getResourceAsStream(fileName)
works fine to read a file from the direcory, but I see no equivalent to
check the root deployme
hi,
first you need to test if the script will be happy to
execute: leave it where you want it to be called from
the browser and in shell to type
/path/to/script/test.pl
if it execute, then you know it is your tomcat config
problem. you may need to restart tomcat after change
the .xml file(?)
the
Forward only works within a context
-Original Message-
From: Ron Crayton [mailto:[EMAIL PROTECTED]
Sent: 11 April 2005 19:36
To: tomcat-user@jakarta.apache.org
Subject: RequestDispatcher.forward() to doc located on HTTP Server
Is it possible to use Request.forward() to forward a reques
Are you using modk jk ?
If yes then file is worth printing
http://jakarta.apache.org/tomcat/connectors-doc/config/printer/apache.html
-Original Message-
From: Hoda Nadeem [mailto:[EMAIL PROTECTED]
Sent: 11 April 2005 22:18
To: tomcat-user@jakarta.apache.org
Subject: Getting Env Vars
-Original Message-
From: [EMAIL PROTECTED]
Following is a version of a context.xml file that goes in
the META-INF directory of a webapp.
hth,
Thanks Luke.
Trying to move up to 5.5.7 (or .9 now :-)
Confus
82 matches
Mail list logo