This link might help you
http://www.churchillobjects.com/c/11201i.html
Anoop
On 8/9/05, Tom Spence [EMAIL PROTECTED] wrote:
I am using AIX 5.2, TC 5.5.9, JAVA 1.4
I am working on 8443 (443) but got an error and how can I solve this problem?
Using CATALINA_BASE:
just place your .properties file under web-inf/classes which is alway
guaranteed to be in your classpath... - so u are still outside of any
packages...
Anoop
On 8/5/05, Maciej Stoszko [EMAIL PROTECTED] wrote:
Thx Jon,
I had already looked at the wiki entry you graciously pointed me to.
I need
The URLClassLoader is used to load jar files from a specified URL. A
thread is created that can actually load the class/resource. (Please
see API for more info).
There is one method - findClass which accepts a String classname and
throws a ClassNotFoundException if the class could not be found.
why dont you just go to the tomcat_home/bin dir and start using
catalina run command - what do u see when you try that??
Anoop
On 7/29/05, David Shapiro [EMAIL PROTECTED] wrote:
Perhaps an issue with your random device or there is not enough entrophy in
your random device.
-Original
)
Kris74
De: Anoop kumar V [EMAIL PROTECTED]
A: Kris74 [EMAIL PROTECTED], Tomcat Users List
tomcat-user@jakarta.apache.org
Objet: Re: Tomcat Struts Datasource problem
Date: Thu, 28 Jul 2005 14:50:21 -0400
Did you check out this link:
a
href=http://jakarta.apache.org/tomcat/tomcat
Did you check out this link:
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/jndi-datasource-examples-howto.html
HTH,
Anoop
On 7/27/05, Kris74 [EMAIL PROTECTED] wrote:
Thank you for your answer on my topic.
I am using Tomcat 5, (I have 2 versions : 5.0.28 and 5.5.9)
I have post also in
remove the $
Anoop
On 7/28/05, Bruce E. Stemplewski [EMAIL PROTECTED] wrote:
I created a system environment variable called $CATALINA_HOME on XP.
I have it set to D:\MyProjects\java\Eclipse.
If I do a CD %$CATALINA_HOME% at the DOS prompt the directory changes
correctly. I have an
It might be easier than you think to output the error right onto the
page itself.
But would it help if you see the errors (+ other things) on the tomcat
console?? It will certainly help in your debugging.
To do that edit the server.xml in the conf directory and remove lines
similar to this:
Seems like some application/class is consuming too many
thread/resources... I would suggest you use some profiling tool to
understand your problem better - I personally prefer JMeter - but
there are lots of tools available for this purpose.
HTH
Anoop
On 7/21/05, Pugalia, Jai P (JP) [EMAIL
You can use JAVA_OPTS in the catalina.bat file and specify the heap size as in:
set JAVA_OPTS=%JAVA_OPTS% -Xmn128m -Xmx512m
just make sure that the memory you specify for Xmx is lesser than the
ram that you have on the physical machine hosting tomcat or else the
swap memory will be used and you
A log4j mailing list might give u a more effective answer
Try and change the appender to be ConsoleAppender (please check the
name) - see if the output displays on the tomcat console.Then u can
debug from there...
HTH,
Anoop
On 7/4/05, Peter Verhoye [EMAIL PROTECTED] wrote:
Hi all,
I
AFAIK - Tomcat does not care about the system classpath. It picks up
its classpath from catalina.sh -setclasspath.sh (TC 4.x)
In TC 5.x (this too FYI does not care abt the system classpath, but)
you can modify the following lines in catalina.properties file under
the conf dir ...
SNIP
#
#
# List
maybe you just want to ftp the files to the correct location...
u can ftp the war file - that would be easier I think.
-Anoop
On 6/30/05, Vernon [EMAIL PROTECTED] wrote:
I need to use the Ant to do remote deployment on TC,
not using war file format if possible. I have done
some search on the
Yes - check out server.xml under the TOMCAT_HOME/conf folder.
search for debug - if it is 0 I think increasing it to 1 will give u
some detailed level logging - u can go on upto 9. ( I have not tried
this - purely from documentation)
ATB,
Anoop
On 6/30/05, BATCHELOR, SCOTT (CONTRACTOR) [EMAIL
I think the basedir is the path to your webapps folder (excluding the
webapp)- u might want to keep it out of the tomcat installation
directories to improve portability or any other reason!!
Catalina_home is the path to the tomcat installation - In a default
tomcat installation these 2 will be
One suggestion I can give u (one which I / we follow when faced with a
similar situation) is to go to the client site (ot necessarily prod)
to debug it.
If you have used log4j then there are ways u can enable trace logging
in production and catch the problem
From the looks of it - does ur
what happens if u remove the standard root-app ??
I think tomcat is showing u the index.html and maybe this is in your
domain_webapp.
Also shouldn't the line:
Context path= docBase=/etc/tomcat4/webapps/domain_webapp.war /
be
Context path= docBase=/etc/tomcat4/webapps/domain_webapp /
Hope
As per tools - I think you can use JMeter. It gives u some pretty
useful graphs and analysis.
-Anoop
On 6/27/05, James Black [EMAIL PROTECTED] wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Phillip Qin wrote:
I did see this issue happened with my tomcat 4.1/5.0. After I upgraded to
Even I faced this frustrating problem recently - I couldnt really
solved it and just switched images - (I created a new image and it
somehow worked). I am just trying to get u a workaround (not
exactly a cause analysis of your problem) - HTH
-Anoop
On 6/27/05, Ryan Champlin [EMAIL PROTECTED]
looks like there is some code in one of your webapps that is causing a
shutdown - I know for one that if you put System.exit(0) in one of
your servlets and this servlet is invoked at startup (or through
another servlet) then it simulates a normal shutdown of Tomcat (or any
app server for that
why dont u just use log4j.
You can have the log4j.jar in the common/lib folder and each webapp
can have an individual log4j.properties file in the webapp classpath.
YOu can configure log4j.properties to have a filehandler
(FileAppender).
check this also:
Is this 2005-6 MinWebapp3 the JavaFaces webapp?
Also does this appear as a folder under webapps, with a space in between?
Honestly I have not encountered having any problems running javafaces
with other apps under tomcat.
-Anoop
On 6/24/05, Rob Goh [EMAIL PROTECTED] wrote:
Hi Jason (and
Or it is possible that something else is running on port 80 - possibly
a webserver.
U can use the netstat command to check/verify this.
HTH,
Anoop
On 6/21/05, Raghupathy,Gurumoorthy
[EMAIL PROTECTED] wrote:
Is it unix / linux box ? Then yo need to be root when you start tomcat
In addition to the answers u have got!!
IMO - it would be best (and safe) if you use ports 1024 and up. ports
lesser than 1024 are used for system level tasks and there is a
greater possibility of clashing with them. U have 1025 until 64000 (I
think) ports to choose from..
-Anoop
On 6/21/05,
I am using Tomcat 4.1.30 standalone and am repeatedly facing this issue of
java.lang.NoClassDefFoundError: sun/tools/javac/Main
whenever I try to serve up a jsp from a specific folder within webapps.
I know that this is a classpath issue - but i have checked my
JAVA_HOME and it is pointing
sure you have the %JAVA_HOME%\lib\tools.jar?...this jar contains the
java compiler that tomcats needs in order to compile jsps pages.
Hope this helps.
Martín.
-Mensaje original-
De: Anoop kumar V [mailto:[EMAIL PROTECTED]
Enviado el: Miércoles, 15 de Junio de 2005 01:30 p.m.
Para
hi,
You would normally place any shared libraries (JARs) in the shared/lib
folder only.
If you also place it in your app/WEB-INF/lib then tomcat would complain.
(wierd exceptions etc..)
HTH,
Anoop
On 6/10/05, teknokrat [EMAIL PROTECTED] wrote:
Normally I place log4j.jar with my webapp.
Try deleting the browser cache -sometimes thats the problem.
HTH,
Anoop
On 6/10/05, TK [EMAIL PROTECTED] wrote:
I have a Tomcat server serving some dynamic JSP pages, which use
JavaBeans. After modifying the JavaBeans used by the home page, it
seems that Tomcat still serves the old home
We use tomcat standalone on production - most of our pages are dynamic (95%)
and the user load is ~7000 and it has been behaving awesome - we use 4.1.31.
hth,
Anoop
On 5/11/05, Nikola Milutinovic [EMAIL PROTECTED] wrote:
Praveen KUMAR wrote:
Hello,
I am little bit confuse in
Michael,
Everything works perfectly fine in your jsp and bean except that the package
mentioned in your bean (Beany.java) file seems incorrect:
It is:
** BEANY.JAVA
package subapp;
It should be:
** BEANY.JAVA
package subclass;
Or else an alternative is to change the folder
folders should only contain jar files that represent generic
functionality as opposed to customised project specific class files in the
classes folder.
regards,
Anoop
On 5/7/05, Anoop kumar V [EMAIL PROTECTED] wrote:
Michael,
Everything works perfectly fine in your jsp and bean except
Although not 100% sure - I can bet it is your database /db connection that
is pushing this error!!
Anoop
On 5/5/05, Maarten Janssen [EMAIL PROTECTED] wrote:
Hi,
Does anybody know where his is coming from?
java.net.SocketTimeoutException: Read timed out
Seems not al the clients have
role rolename=tomcat/
role rolename=role1/
role rolename=manager/
role rolename=admin/
user username=root password=w8woord
roles=standard,tomcat,admin,manager/
I dont think 'standard' is a role that has been defined - so maybe for
debugging purposes remove that and check - i just verified
Does your servlet do anything like modify tomcat properties etc??
Seems liek an unusual problem to me - one that I have not encoutered!!
-Anoop
On 5/3/05, Ferrari Laura [EMAIL PROTECTED] wrote:
I am working with Tomcat 5.0
In a working webapp \ondemand (with only jsp) I added a
Have you tried restarting tomcat manually?
You can check out what tomcat is pushing out : errors/messages by doing a
tail -f catalina.out
at the prompt.
HTH,
Anoop
On 5/3/05, Fred Cook [EMAIL PROTECTED] wrote:
Hi All,
We are new to tomcat and have been having some difficulties.
well - if Apache is the culprit - why do you want to run it at all. Why not
shut it down? I am assuming that Apache was dedicated to your application
which runs on Tomcat..
Actually matter of fact I have encountered quite a few instances (not on Mac
though) where Tomcat runs best if not better
ideally - I am talking from my TC4.0 days, your images are better off in the
war file. The position they reside in is as under:
/webapps
/your_web_application
jsp's
static html
Your image files go in here -
/web-inf
web.xml
/classes
your_servlet_class files
hope
lets see if you have everything right:
You have installed tomcat from an install available from the tomcat
website??
I assume yes - so that is out of question that the install file in corrupt.
SO probably you opted for a custom install and checked out that u did NOT
want examples to be
and this works
beautifully. I will have to look at web.xml to see what exactly you
changed, because I found on Google many people with the same problem
but no one with the answer. Thank you SO much! You saved my life!
m
On 4/29/05, Anoop kumar V [EMAIL PROTECTED] wrote:
ok here
tomcat, since 5.0 I think has stopped using the bat files and in your case I
think it has been installed as a service already.
If not you can still use the tomcat5.exe or tomcat5w.exe in the
{tomcat_home}/bin folder.
Make sure you have JDK 1.5+ on your system.
HTH,
Anoop
On 4/27/05, [EMAIL
well - the first place I would look at would be in the logs. Also
instead of starting tomcat as a service, start it manually so that u
have access to the tomcat console and note any unusual error messages
- I think you can set the service as manual instead of automatic.. not
sure abt JSVC though -
here is what we have:
Pentium IV 2.5 Ghz / 1.5 GB Ram
OS Windows XP
IDE - IntelliJ IDEA (I give it a 9 on 10 - its that good)
We use cvs - WinCVS / TortoiseCVS for version control. with Win Merge.
MySQL as a breeding database although prod has Sybase and DB2. DB
Visualiser as the db client.
Patrick,
I am not sure if this will help you but it is worth checking out Stack
trace at the following link:
http://tmitevski.users.mcs2.netarray.com/stacktrace/app/launch.jnlp
let me know if it helped..
-Anoop
On 4/22/05, Patrick Lacson [EMAIL PROTECTED] wrote:
If I run tomcat as a windows
I strongly suggest that you look through the man pages of setuid.
Then u need to make adequate changes with setuid in your startup.sh
file which will help u start the process as a normal user even though
root has started the process during boot.
HTH
-Anoop
On 4/15/05, Lorenzo Jiménez [EMAIL
the classes / jar files available for TC 5.5 are not the same in your
case - Check the commons/lib folder and the web-inf/lib folder.
Make sure all the classes/jar files in the above folders in 5.0 are
available and the same as in 5.5 - my guess is that some are missing
in 5.0.
if that does not
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
When i comment out this block in server.xml
!-- Define an Apache-Connector Service --
Service name=Tomcat-Apache
Connector className=org.apache.catalina.connector.warp.WarpConnector
port=8008 minProcessors=5 maxProcessors=75
enableLookups=true
acceptCount=10 debug=0/
kumar V [EMAIL PROTECTED] wrote:
When i comment out this block in server.xml
!-- Define an Apache-Connector Service --
Service name=Tomcat-Apache
Probably due to the nested comment tags, which is a no no, try just
temporarily cutting that whole block out instead or remove the nested
Just make sure you have included catalina.jar file in the classpath.
-Anoop
On Apr 8, 2005 1:23 PM, Parveen Pasha [EMAIL PROTECTED] wrote:
Using Tomcat 5.5 + Fedora Core 3 + jdk1.5.02
Changed the port to 8090 from the default 8080
port in server.xml.
Did not install the runtime
something like winzip and
check for the existence of the class file.
HTH
-Anoop
On Apr 8, 2005 1:41 PM, Robert Harrison [EMAIL PROTECTED] wrote:
Does echo $JAVA_HOME show it set correctly?
Bob
On Apr 8, 2005 1:28 PM, Anoop kumar V [EMAIL PROTECTED] wrote:
Just make sure you have included
Hi All,
For the past couple of months we have been facing a peculiar problem
on our production environment. And we have been unable to resolve this
issue so far.
We have an application hosted on Tomcat 4.1.30 and using JDK1.4.2_06.
We also have an Apache WS - (think it is v2.0.2). Everyday
So - JDK with or without the patches may not be the issue here?? Did
anyone install patches for JDK 1.4.2_06 and see any improvement or
anything??
-Anoop
On Mon, 07 Mar 2005 18:50:49 +0100, David Tonhofer, m-plify S.A.
[EMAIL PROTECTED] wrote:
It might also be that Tomcat needs more memory
hi,
i have been developing using Tomcat 4.0.1.. and i hv had no problems about
that.
Now i have moved all my applications on to the production server, where
hopefully i
wdnt be making any more changes. But i want to make Tomcat respond faster to
requests.
Obviously the production environment
Ohh.. let me also add..
The number of users accessing the application is close to about 100-180 at
peak time.
And i hv IIS configured with Tomcat (which has already slowed it down..was
faster as
a stand-alone on port 8080, but had no choice). And its running on
Win2K(obviously).
Hoping to get
: Anoop Kumar V [SMTP:[EMAIL PROTECTED]]
Sent: Saturday, July 13, 2002 5:11 AM
To: 'Tomcat Users List'
Subject:how to make tomcat faster
hi,
i have been developing using Tomcat 4.0.1.. and i hv had no problems about
that.
Now i have moved all my applications on to the production server
also, system.out.println logging can slow everything down a bit, so
try to do the least of that
but for starters, you should try using the jasper2 from tc.4.1.7, it really
works well.
-reynir.
-Original Message-
From: Anoop Kumar V [mailto:[EMAIL PROTECTED]]
Sent: 13. júlí 2002
Web-Application
Stress Tool, and here I recomend the MS tool, it's very powerfull, and
gives you good reports.
hope it helps
- [EMAIL PROTECTED]
-Original Message-
From: Anoop Kumar V [mailto:[EMAIL PROTECTED]]
Sent: 13. júlí 2002 13:51
To: 'Tomcat Users List'
Subject: RE: how
hi Andrew, (and Tomcat users)
You hv helped me a lot in my previous configuration of IIS with Tomcat.
It is running well on my machine, and now i am trying to run it on another
machine.(reconfiguring), but i am facing a lot of problems here.
pasting the last bit of my isapi.log file..
[Thu Jul
One more thing.. sometimes i get the download-dialog when i access the jsp
page...
need help..
hi Andrew, (and Tomcat users)
You hv helped me a lot in my previous configuration of IIS with Tomcat.
It is running well on my machine, and now i am trying to run it on another
Title: some new probs (tomcat with IIS).. service() failed
Hi,
i am configuring tomcat with IIS. i was successful on my local machine.
I was nect trying out the same thing on serevr machine, but for some reason it
is bombing.. i hv attched isapi.log file. and i am getting
HttpExtensionProc
..
anoop
-Original Message-
From: Anoop Kumar V [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 08, 2002 11:21 AM
To: 'Tomcat Users List'
Subject: RE: I fail to get green arrow for filter status.. IIS with
Tomca t
Hi Andrew,
Here's the info:--
size of isapi_redirect.dll: 112
/date.jsp
http://localhost/examples/jsp/dates/date.jsp i get Cannot find server
error.
Can some body tell me where i am going wrong..
anoop
-Original Message-
From: Anoop Kumar V [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 08, 2002 11:21 AM
To: 'Tomcat Users List'
Subject: RE: I fail
Tomcat 3.3 and that may be the problem you are expreriencing. I
had the best luck using the ZIP file included in the zip file located at
(http://www.getnet.net/~rbarr/TomcatOnIIS/default.htm).
-Andrew
-Original Message-
From: Anoop Kumar V [mailto:[EMAIL PROTECTED]]
Sent: Saturday, July 06
hi,
i know this issue has been raised many, many times, but i cdnt get anything
from the archives.
I am trying to configure IIS with Tomcat, and am following the very popular
link
(http://www.getnet.net/~rbarr/TomcatOnIIS/default.htm).. but try as many
times as i could. i fail to get a green
Pls include tools.jar in ur classpath and then everything wd be fine..
-anoop
-Original Message-
From: Gunter D'Hondt [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 04, 2002 3:32 PM
To: 'Tomcat Users List'
Subject: Installation successfull but still problems!
I've installed Tomcat
directory from jdk and added it to my
classpath.
Greetings,
Gunter
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On
Behalf Of Anoop Kumar V
Sent: donderdag 4 juli 2002 12:20
To: 'Tomcat Users List'
Subject: RE: Installation successfull but still problems!
Pls include
u need to include th tools.jar in ur classpath. This has the javac class
which is being used
to compile the jsp's.
-anoop
-Original Message-
From: Jon Howe [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 03, 2002 7:03 PM
To: [EMAIL PROTECTED]
Subject: Fw: JSP samples error
I
can somebody tell me why these errors keep
coming on my tomcat console. they apear everytime i just visit the
console or do any transaction ..
the errors are as follows:-
2002-07-01 12:31:15 - Ctx( /ndtc ): IOException in: R( /ndtc +
/jsp/resources/cs
s/MasterStyleWin.css + null) Connection
how abt the other applications examples etc,..do they run OK?
regards,
-anoop
-Original Message-
From: wh [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 01, 2002 5:14 PM
To: [EMAIL PROTECTED]
Subject: give me a help
hi
Ask your help! when I installed tomcat in win2000 I was stopped
i think i know why..can u paste the code of ur file.
ANOOP
-Original Message-
From: Halil AKINCI [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 25, 2002 11:57 AM
To: Tomcat Users List; jakarta-tomcat yahoo groups; JSP groups
Subject: call jsp page
how can I call my servlet? To run my
which version of tomcat are u working on.. becoz i guess the context ..
tag is closed with /context and not .../.. maybe that wd fix ur
problem.
-anoop
-Original Message-
From: Jesse Schingen [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 25, 2002 8:45 PM
To: [EMAIL PROTECTED]
do u get any errors on the console window of tomcat??
Anoop Kumar V.
-Original Message-
From: Halil AKINCI [mailto:[EMAIL PROTECTED]]
Sent: Monday, June 24, 2002 7:57 PM
To: Tomcat Users List; JSP groups
Subject: HTTP 405 error
please help me,
I can't run my JSP files. I can run my
it is just that ur tools.jar is not included in ur classpath.. set that..
and everything will work like clockwork.
-Anoop
-Original Message-
From: STEVE R BURRUS [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 25, 2002 10:28 AM
To: Tomcat Users List; [EMAIL PROTECTED]
Subject: RE: problem
u said u created ur web.xml.. but u need to place it in web-inf directory
and not in th e Vt folder.
This shd work.
regds,
anoop
-Original Message-
From: Halil AKINCI [mailto:[EMAIL PROTECTED]]
Sent: Friday, June 21, 2002 7:20 PM
To: Tomcat Users List; jakarta-tomcat yahoo groups
u can use Progra~1 instead of Program Files ( tilde and 1)
Alternatively try enclosing the whole path in quotes.. i hvnt tried this.
Anoop Kumar V.
-Original Message-
From: Yu Ye Zhou [mailto:[EMAIL PROTECTED]]
Sent: Friday, June 21, 2002 7:41 PM
To: Tomcat Users List
Subject: space
created it in web-inf directory.
- Original Message -
From: Anoop Kumar V [EMAIL PROTECTED]
To: 'Tomcat Users List' [EMAIL PROTECTED]
Sent: Friday, June 21, 2002 5:00 PM
Subject: RE: application deployment
u said u created ur web.xml.. but u need to place it in web-inf directory
i know using java u can..guess u will hv to tweak tomcat to do such a thing.
Anoop Kumar V.
-Original Message-
From: Steven Sporen [mailto:[EMAIL PROTECTED]]
Sent: Friday, June 21, 2002 8:00 PM
To: Tomcat Users List
Subject: COM Possible?
Accessing COM object on windows.
Simple
77 matches
Mail list logo