As you asked on the Tomcat forum, I'm assuming your wish a solution that
runs on Tomcat.
I have seen a number of web services frameworks discussed on this forum -
all that run under Tomcat (Axis is one I believe). I would think they must
all be built using the Servlet API as a foundation - but I
Helmut,
Where did you look for log files? Often they will be in the logs directory
under the Tomcat home directory. Sometimes the standard output goes to a
file called catalina.out.
To help further you could supply:
- Tomcat version, there should be a file called RELEASE_NOTES somewhere
under
Gregor,
I believe you've got it backwards. The correct syntax for Tomcat 5.5 is your
working context.xml.
See:
http://tomcat.apache.org/tomcat-5.5-doc/jndi-datasource-examples-howto.html
-Original Message-
From: Gregor Schneider [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 11, 2006
Duong,
Hopefully someone can give you more specifics. FWIW we moved one site to
straight HTTPS a couple of years back and have seen no ill-effects, and none
of the frustration we had experience trying to switch back and forth between
the two. I am sure there is some performance hit - that's why
in a direction please.
lee
Richard Mixon wrote ..
Lee,
First, I assumed you are using the bash shell, not csh or something
else unusual.
Have you changed catalina.sh or startup.sh ? Take a look at
catalina.sh around line 73 - it should look something like:
if [ -r $CATALINA_HOME/bin
Did you search the list? It was discussed/answered recently.
-Original Message-
From: KEGan [mailto:[EMAIL PROTECTED]
Sent: Sunday, September 03, 2006 8:03 PM
To: Tomcat Users List
Subject: Tomcat 6 release date ?
Hi,
Anyone knows when Tomcat 6 is likely to be released ? And what are
There is no need to change any of the shell scripts.
You need to set environment variable JAVA_OPTS with the desired option and
the tomcat scripts will pick it up automatically.
The catalina.sh script looks for a script called setenv.sh to set this and
other similar options. Here are the
Concerning the questions on Realm ...
I think if you re-read the section
http://tomcat.apache.org/tomcat-5.5-doc/realm-howto.html#JDBCRealm you will
find the answer.
The names of the tables are not important, they can be specified using the
XML attributes userTable and userRoleTable on the Real
I heard Tomcat 5.5.17runs internally on JDK 1.5.
Not quite correct. If you just get the core Tomcat 5.5.x download, it
expects to run in a Java 1.5 environment. However on the same page you
download the Core Tomcat package from ...
http://tomcat.apache.org/download-55.cgi
There is a JDK 1.4
If you are wanting to send email, you probably are interested in the Java
Mail API - not the JMS API - they are for (usually) different purposes.
However one could conceivably use JMS as a conduit between the various
components of such a system (e.g. email assembly, delivery and the MTA).
Changing to
servlet-mapping
servlet-nameController/servlet-name
url-pattern/Controller/url-pattern
/servlet-mapping
Will fix the /ecommerce/ecommerce problem.
Probably what you are really trying to do is make your webapp the ROOT
webapp. For that you need to rename your webapp
Tim,
I don't believe that answers Sridhar's question (or mine). It has been
noticable since the latest J2EE spec was release (with updates to the JSP
and Servlet spec) this past spring - I have not seen any mention of a future
version of Tomcat that might support them. Not asking for a date/when,
or functionality.
-Tim
Richard Mixon wrote:
Tim,
I don't believe that answers Sridhar's question (or mine). It has been
noticable since the latest J2EE spec was release (with updates to the
JSP and Servlet spec) this past spring - I have not seen any mention
of a future version of Tomcat
More information is needed to help.
What version of Tomcat, what version of your OS. Also, where are you
defining your JDBCReal - in server.xml or in context.xml?
-Original Message-
From: Li [mailto:[EMAIL PROTECTED]
Sent: Sunday, August 06, 2006 8:01 PM
To: Tomcat Users List
Subject:
You did not say which version of Tomcat you were using, or what OS. It
appears you are using Windows - check the settings on any software firewall
you may have configured as this may be preventing access. Can you ping from
the other machine to your Tomcat server?
-Original Message-
From:
Take a look at the section of this page on the tomcat-users mailing list:
http://tomcat.apache.org/lists.html
Basically you just create a new email (I.E. do not reply to an existing
email from the list), address it to users@tomcat.apache.org with an
appropriate Subject and message Body.
HTH
It is still unclear what your purpose is. Will all users be running the
exact same program/application? Or will each users be changing the program
(such as in a class or academic environment)?
-Original Message-
From: Pratap Parne [mailto:[EMAIL PROTECTED]
Sent: Sunday, July 16, 2006
Maybe I'm missing something, but if you re-generate the pages, and have
Tomcat in development mode, the new pages will automatically be re-compiled
the next time they are accessed.
-Original Message-
From: Tom Potter [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 13, 2006 7:59 AM
To:
in the context.xml or in some file that
context.xml references.
Paul
-Original Message-
From: Richard Mixon [mailto:[EMAIL PROTECTED]
Sent: Saturday, June 24, 2006 9:44 PM
To: 'Tomcat Users List'
Subject: [SPAM] RE: Best Practice for properties files
Paul, are you using the deployer application
Paul, are you using the deployer application to deploy your app (e.g.
apache-tomcat-5.5.17-deployer)?
If so, then it is very easy to modify the build.xml to customize the
log4j.properties, app.properties and any other file, and then deploy it
properly. You could even have a different ant target
Tomcat 5.5 works fine with Java 1.4 - just be sure and download the 'JDK 1.4
Compatability Package:' at this link:
http://tomcat.apache.org/download-55.cgi
It is all of 1.6MB in size. Just follow the instructions - its easy.
HTH - Richard
-Original Message-
From: [EMAIL PROTECTED]
I do not believe that files under the WEB-INF directory can be directly
referred to by the browser. You applet class (usually it is served as a .jar
file) must not be under WEB-INF. Maybe the catalina.policy file can change
this - but I don't think so.
-Original Message-
From: wolverine
If I understand correctly, you are describing moving a src file
(ProfileServlet.java) under project/WEB-INF/src in your production Tomcat
webapps directory. I know that am not sure why you believe that Tomcat will
automatically compile your servlet source (I believe it will for a .jsp
file)
The
What makes you think the GC should run? Are you out of memory? The GC will
not run in many situations unless it has a need to.
HTH - Richard
-Original Message-
From: Benjamin Chu [mailto:[EMAIL PROTECTED]
Sent: Monday, May 29, 2006 8:25 PM
To: Tomcat Users List
Subject: When does the
Tomcat's purpose is to listen for requests and pass them on to the
appropriately mapped servlet. Maybe you do not want to use Tomcat, but
instead roll your own server that simply listens on a particular port for
socket opens. But again, to do this well is not a trivial exercise.
The port you
SuSE has a very nice mechanism for selecting which of several versions of
Java to run.
I would recommend you take the 15 minutes to read the README in /etc/java
and then follow it.
The old way of just unjarring multiple Java versions to different locations
and then creating the links and
parameter
nameremoveAbandonedTimeout/name
value60/value
/parameter
parameter
namelogAbandoned/name
valuetrue/value
/parameter
!-- 2006/04/18 Richard Mixon, changes to avoid firedrummarket.com lockups
--
!-- Explicitly stating pool sizes and values
:[EMAIL PROTECTED]
Sent: Tuesday, April 18, 2006 8:53 PM
To: Tomcat Users List; [EMAIL PROTECTED]
Subject: Re: DBCP 1.1 minIdle parameter - does it work in Tomcat 4.1.18?
This also possibly could be related to the use of the connections retrieved
from the pool.
On 4/18/06, Richard Mixon [EMAIL
I'm still curious about the crazy logAbandoned messages - not sure how to
interpret or rely on them. I'll try a again with a briefer posting - maybe I
was too detailed in the original post.
We are getting strange (erroneous?) messages because of the logAbandoned
parameter:
1) The dates look
}
}
-Original Message-
From: Richard Mixon [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 04, 2006 10:57 PM
To: users@tomcat.apache.org
Subject: Diagnosing DBCP JDBC connection leak using removeAbandoned parm
Bear with me, I'll try to make this short, but want to give enough
info
Bear with me, I'll try to make this short, but want to give enough
info/background that it makes sense. Basically we are a bit confused by the
output of the DBCP logAbandoned parameter. Any help is appreciated.
Environment: We are using Tomcat 4.1.18 (for now), MySQL 4.0.18, Java
1.5.0_04-b05,
We are about to move an application from Tomcat 4.1 to Tomcat 5.5.
We are already running Tomcat 4.1 under Sun java 1.5 on 32-bit Linux on dual
Xeon processors with 4GB of memory.
Can anyone else comment on what we should expect as far as changes in
stability and performance?
Also, I am
This is done quite commonly. For almost a year I used IBM 64bit JVM on SuSE
Linux running dual AMD Opteron chips. Went back to Sun eventually when I
upgraded OS versions - but the IBM JVM and Tomcat worked well.
HTH - Richard
-Original Message-
From: Krish B [mailto:[EMAIL PROTECTED]
I have not used MyEclipse, but when I run Tomcat under Eclipse, the
catalina.out output goes to an Eclipse console window, not to a file.
Check your settings, I believe this can be changed.
- Richard
-Original Message-
From: GUNJAN SINGH [mailto:[EMAIL PROTECTED]
Sent: Wednesday,
Dola,
I have not had a problem just renaming the current c:\eclipse directory to
c:\eclipse_old and then installing (unzipping) the WTP all-in-one bundle -
as follows.
The only thing different I do is that I have all of my plugins in a separate
directory. I do this by creating a directory
Dennis,
For just that webapp, you can always bump the session timeout to a very high
value.
That would just take a change to the web.xml, no change of authentication
method needed.
HTH - Richard
-Original Message-
From: Klotz Jr, Dennis [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March
Typically one would look in the Connector statement in your
TOMCAT_HOME/conf/server.xml file. For Tomcat 5.5.15 it is something
similar to:
Connector port=8080 maxHttpHeaderSize=8192
maxThreads=150 minSpareThreads=25 maxSpareThreads=75
enableLookups=false
Matt,
We just modify the apache-tomcat-5.5.15-deployer/build.xml script to
customize the application when it compiles and deploys it.
It's a standard ant build.xml, we just added another target that lets us
modify properties and other files for the specific host we are deploying to.
Theres a
Brad,
I also am running SuSE SLES9 and have mod_jk connecting apache to tomcat.
Here are the packages I have installed:
# rpm -qa | egrep apache2
apache2-example-pages-2.0.49-27.29
apache2-mod_php4-4.3.4-43.46.8
apache2-prefork-2.0.49-27.38
apache2-devel-2.0.49-27.34
Not positive, but I believe that Jboss also offers support for just Tomcat.
I attended a webinar a while back and it appears a number of the Tomcat
developers are also affiliated with Jboss.
HTH - Richard
-Original Message-
From: Kirt Dankmyer [mailto:[EMAIL PROTECTED]
Sent: Friday,
Oh, as to your original question about log/syslog. I believe since the later
versions of Tomcat 5.5.x all can use Log4J for all logging, you can do this.
I believe reading that Log4J has a syslog appender that will re-direct
output to syslog.
You will need to go to the Log4J site
Your code does not really get serialized. You just have to be sure that
you are not storing any objects in the Session that are not Serializable -
i.e. they must implement the interface java.io.Serializable.
For many of your custom object types it may be as simple as just
implementing the
Andri,
I'm guessing that you are using a 32-bit version of (SuSE) Linux Enterprise
9. You need to use the 64-bit version to get heap sizes greater than 2GB
(actually it ends up being closer to th 1800m as you have experience). An of
course your hardware needs to support 64-bit (e.g. with AMD64
If you are using the Tomcat version that ships with SLES9 (version 5.0.x I
believe) just use the /etc/init.d/tomcat script. There is usually a symbolic
link created and you can just issue one of the following from a root command
prompt:
rctomcat start
rctomcat stop
rctomcat restart
Zohar,
Not exactly clear on your requirements. Do you care which backend server the
client is initially redirected to?
If not, then you can use a load balancer that supports session affinity.
It will use a load-balancing algorithm to initially decide which back-end
server to forward a particular
Mukesh,
Tim Funk's reply to your post earlier gave pretty good guidance as to what
steps you need to take.
Your question/post has not changed so I'm not sure what you are asking.
HTH - Richard
-Original Message-
From: mukesh [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 05, 2006
Jan,
Tomcat runs just fine on Linux. Use the most recent version (Fedora Core 4
is fine, or OpenSuse 10, or ...). These should come with a fairly recent
version of Tomcat (5.x or 5.5.x) or the packages should be available.
I prefer to install Tomcat myself on Linux, from a downloaded binary
Claudio,
I'm sorry but I have a bit of trouble following your explanation (I just do
not know your object model/domain well enough to follow the explanation).
But I'm still wondering if this is not a problem of ill-formed JavaBeans.
Are you aware of the rules for naming JavaBeans classes and
I did a bit more research and found the two areas of concern. Would
appreciate any comments or insights into how to resolve this.
1) First there were 37 waiting threads in the thread pool. There were and
additional 22 that were in Object.wait on a read in the JK code. There was
one that was
Can anyone take a look at the thread dump below and give me a clue as to
what cause the CPU to rise to 99% and things to get unresponsive? Sorry the
dump is so large (850 lines)
Oh ... This is a Fedora Core 2 Linux box with 1GB of RAM and dual Xeons.
Thanks -Richard
Mario,
Your CATALINA_HOME and DAEMON_HOME should be pointing to
/usr/local/jakarta-tomcat not the bin subdirectory.
That should help - Richard
-Original Message-
From: Mário Gamito [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 07, 2005 5:36 AM
To: users@tomcat.apache.org
Subject:
Roger,
A thread dump/stack trace of all the threads in the Tomcat JVM is one way to
see whats happening. It will show what is happening in detail - and may even
highlight some problems. It does take a bit of study to understand what you
are seeing. Here is an article I use that covers both
is 64 bit... also the JRE ...
dose it make a problem ... ?
Richard Mixon wrote:
Aydin,
I do not have reference for any such documentation. However
in the past
I have been bit badly a number of times trying to move a web
application from Windows to Linux. The other way around
Hello,
I am moving a couple of small Java websites for a customer from one hosting
provider to another. Both are RedHat Linux machines with Tomcat 4.1.31 and
Java 1.4.2. On the new server I get the following error the first time I hit
a JSP page on the site.
...
- Root Cause -
To: Tomcat Users List
Subject: RE: How to set the admin console for 5.5.x
From: Richard Mixon [mailto:[EMAIL PROTECTED]
Subject: RE: How to set the admin console for 5.5.x
You have placed it in the wrong directory structure. It is mostly
under server/webapps - not webapps
And does this have to do with session replication errors?
At least when hijacking a thread remember to change the Subject line. But
better still create an entirely new email and address it to the list. This
will make it easier on those of us that use threaded mail readers.
Concerning your
Nehal, I believe he is talking about windows (startup.bat ?), so there's not
.profile for the user.
NanFei, there are a number of detailed posts on this topic during the last
week - search/Google for them. I believe you need to run tomcatw.exe - but I
do not have that version. You can also
Birendar,
In order to help we need a bit more information:
- what version of Tomcat?
- what version of Java you are using?
- what operating system and version?
- the specific Internal Server Error message and status code also, just to
be sure?
- what is the BES in Tomcat+BES?
- what is the
Mike,
Doing an exclude is one approach (as mentioned by Len). When I encountered
this issue a couple of years ago, my Googling turned up the recommended
approach of naming your include files with a .jspf suffix instead of a
.jsp suffix. Jasper should ignore them - and it will be clear which files
) and that too for 64bit. Do jakarta have binary
for 32 bit linux? I know they have nice .so files for Win32 and OSX. ( :( )
Thanks again.
Regards,
Dhaval
--- Richard Mixon [EMAIL PROTECTED] wrote:
Dhaval,
I hope I can help - at least a bit.
First, your assumption as to whether you have
Search the list. I believe there was a post about a similar mime problem
yesterday. The mime settings where slightly different what you show in your
post.
HTH - Richard
-Original Message-
From: Yair Fine [mailto:[EMAIL PROTECTED]
Sent: Friday, November 04, 2005 5:53 AM
To: Tomcat Users
Preston,
Assuming you are on some form of *nix and your script starts with something
like ...
#! /bin/sh
... you can probably put the following statement right after it ...
set -o xtrace
This will trace the script to standard output.
But come to think of it, if this is at boot time it may
(and not a war)
just feels...I dunno... 'amatuerish'. Maybe I'm just paranoid.
My shell-fu is much better than my java-fu, so I can figure it out that way,
I guess I just assumed there's some big, complex apache project for managing
large numbers of tomcats remotely.
Thanks again!
/kurt
Richard
(and not a war)
just feels...I dunno... 'amatuerish'. Maybe I'm just paranoid.
My shell-fu is much better than my java-fu, so I can figure it out that way,
I guess I just assumed there's some big, complex apache project for managing
large numbers of tomcats remotely.
Thanks again!
/kurt
Richard
I'm pretty familiar with Tomcat, but have no idea what RAD is and how its
Tomcat related. If you explain that someone might be able to better help.
-Original Message-
From: Developer Developer [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 18, 2005 8:59 AM
To: Tomcat Users List
I have a customer running Tomcat 4.0.18. About twice a week their system is
locking up - obviously we don't know why or I would not be asking.
Symptoms
1) CPU usage per TOP is not very high.
2) When requesting the main web page, the page goes white and never returns.
When this happened yesterday
One thing I forgot, that might be relevant.
Another Tomcat instance on the server continued to function just fine. It
also accesses a different MySQL database, but its served by the same MySQL
instance.
- Richard
-Original Message-
From: Richard Mixon [mailto:[EMAIL PROTECTED]
Sent
67 matches
Mail list logo