Hi, am actually using tomcat version 5.0.28 on Red Hat Linux 6.2.
What i've notice is that each time i compile my java classes, copy them to
/WEB-INF/classes dir. and then redeploy my web application consisting of jsp
pages, I saw the number of java process increases when I do a 'ps -aux'
That is
Hi,
I have loaded tomcat successfully.
When i click Tomcat Administration iam getting the following error.
HTTP Status 404 - /admin
type Status report
message /admin
description The requested resource (/admin) is not available.
Apache Tomcat/4.1.31
I have made the necessary changes in
Hi!
Have you got solution? If yes just ignore this mail.
If not and if you are using UNIX/Linux System try the following:
Start tomcat in CSH Shell and let it run in background. There was a similar
problem discussed
on this list and the solution was to start tomcat in CSH.
Cheers,
Aliye
Hi Luis
Why don't you start with mod_jk as opposed to mod_jk2, mod_jk is more
recent than mod_jk2
Check the apache httpd.conf for the following directives
AddLanguage
AddDefaultCharset UTF-8
Also make sure use in your servlet/JSP:
request.setCharacterEncoding(UTF-8);
Bruno Georges
Glencore
As title said, which configuration file should be modified? And how?
Thanks.
Best Regards
Kevin Kang
MSN: [EMAIL PROTECTED]
[EMAIL PROTECTED]
server.xml.
--
MSN:[EMAIL PROTECTED]
QQ:29967409
-
From: Kevin Kang (CSS) [EMAIL PROTECTED]
Reply-To: Tomcat Users List tomcat-user@jakarta.apache.org
To: Tomcat User Mailing List tomcat-user@jakarta.apache.org
Subject: How to modify default
And how, which line in server.xml, thanks.
Best Regards
Kevin Kang
MSN: [EMAIL PROTECTED]
[EMAIL PROTECTED]
-Original Message-
From: A jie [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 28, 2005 3:33 PM
To: tomcat-user@jakarta.apache.org
Subject: RE: How to modify default language of
Which line of code is on 71?
helloworldservlet.ServletVideo.streamBinaryData(ServletVideo.java:71)
In your finally block, you are closing the servlet output stream, I wonder if
that's causing tomcat a problem since it usually closes the servlet output
stream itself?
Humour me and change
if(
Thanks Bruno, I believed mod_jk was for apache and mod_jk2 for apache2.
I'll try it.
El mar, 28-06-2005 a las 08:32 +0200, Bruno Georges escribió:
Hi Luis
Why don't you start with mod_jk as opposed to mod_jk2, mod_jk is more
recent than mod_jk2
Check the apache httpd.conf for the
This exception means the client (browser) has closed the connection before
Tomcat send all its data. If the application works you should ignore this. My
log is full of it. It also happens if you download something large from Tomcat
and click cancel during the download.
Ronald.
On Tue Jun 28
Hi Ryan -
the problem you're having is not one I've had (and it doesn't sound very
familiar). Some ideas for looking at though: How are you deploying your
application? Are you just editing your files in place? Does this problem
go away when your restart tomcat? Have you checked the logs? Have
Hi,
thanks to this list I installed and configured correctly tomcat 5.5.9 to
work properly with my production eviroment, now I'd like to configure
one instance of tomcat for every developer that works to my web site.
I configured a new directory of tomcat and change the web server port,
in
Hi,
I have a tomcat 4.1.31 (j2sdk1.4.2_08) running in a linux rh9 box. It's
a fresh install.
I'm from Brazil, so I've configured my linux to use pt_BR.ISO-8859-1. If
I type locale, everything is ok.
My CATALINA_OPTS has the -Dfile.encoding=ISO-8859-1
I have no problems with my
Hello everybody.
I am trying to get a mail session using the context's lookup method and I
get a ClassCastException.
this is the resource declaration in my context.xml:
Resource name=mail/sessionMail auth=Container type=javax.mail.Session
mail.smtp.host=localhost/
the code I am using to
Try the following if you are trying to read the following in a servlet:
String s = java.net.URLDecoder.decode(
http://localhost/tomcat-docs/acentua%C3%A7%C3%A3o.txt;, UTF-8 );
You can read the file and write it out to the response stream. Since this is
a text file it will be displayed in the
Hi,
Thanks for replying. No, I'm not using servlets to read the files.
The files are being served directly by tomcat. I have configured tomcat
to allow directory linstings, so I can see the files in the directory
and click on it directly.
By the way, the same problem occurs with files that have
On Mon, 2005-06-27 at 22:56 -0700, Paul Constantine wrote:
Note: this is not meant to be a detailed bug report. I'm just fishing to see
if anyone else is having some these problems.
Hi, I'm a newbie on the list. I've used tomcat with Windows-IIS for about a
year, and I just made the switch
Connection reset by peer means the client disconnected before all the data
was sent.
-Tim
Adriana Suarez wrote:
Hello,
I got this exception and I don't know how to solve it, I have a web
application with a servlet which sends video with formats avi, mpeg,
and mov, it shows the video but the
I'm in process of getting IIS to use Tomcat (for the obvious) but have hit a
problem.
As far as I can tell, the config files are all as they should be, but on
restarting the server and requesting the page I want, a blank is returned
and jk_IIS.log has this in it::
###
One thing that might help:
The name of the worker can contain only the alphanumeric characters
[a-z][A-Z][0-9] and is case insensitive.
http://jakarta.apache.org/tomcat/connectors-doc/config/workers.html
-Original Message-
From: Brereton, Stephen [mailto:[EMAIL PROTECTED]
Sent:
Thanks for pointing that out, but the worker I'm trying to use is 'raid',
and I'm somewhat confused why its picked up the URL of the site as part of
the name - this is the (test) copy - hence the name.
-Original Message-
From: Derrick Koes [mailto:[EMAIL PROTECTED]
Sent: 28 June 2005
Then you won't mind commenting the others and re-trying.;-) Simplify first.
BTW workers2.properties is unused for the JK connector. The JK2 connector uses
it. It is safe to delete.
-Original Message-
From: Brereton, Stephen [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 28, 2005
Hi,
I need to have a single session id in all my contexts in my host ?
Is it possible ?
My problem:
I have a cluster this 1 Apache and 2 Tomcats.
In each Tomcat, I have 5 apps.
I do a request to app1, Apache sends me to Tomcat1. If I request to app2, I
need Apache sends me to Tomcat1 again.
Take your point. BTW do I need to restart Tomcat each time? Bit confused on
that one...
-Original Message-
From: Derrick Koes [mailto:[EMAIL PROTECTED]
Sent: 28 June 2005 17:56
To: Tomcat Users List
Subject: RE: connecting IIS and Tomcat
Then you won't mind commenting the others and
Not unless you changed something in server.xml.
You need to restart the WWW service (IIS).
-Original Message-
From: Brereton, Stephen [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 28, 2005 1:03 PM
To: 'Tomcat Users List'
Subject: RE: connecting IIS and Tomcat
Take your point. BTW do
Set emptySessionPath=true on your connector declaration. This is a tomcat
5.5 feature only.
-Tim
Rogerio Baldini das Neves wrote:
Hi,
I need to have a single session id in all my contexts in my host ?
Is it possible ?
My problem:
I have a cluster this 1 Apache and 2 Tomcats.
In each
Hi all, first post here.
I had a dickens of a time finding where Tomcat (5.5.9) was sticking my
serialized object files (Java 1.5). When starting Tomcat on Win, it writes
them to C:\WINDOWS\system32. When starting via command line (dbl-click
tomcat5.exe), it puts them in the same dir
Hi, I have seen this question discussed several times on this mailing list, but
I have not found anyone with a solution, so I am asking again in the hopes that
someone can help.
Example of problem:
1) Download/Install/Start tomcat 5.5.9 on port 8080
2) Create a directory c:\test
3) Create a
Thanks vey much, Tim
It´s working fine.
- Original Message -
From: Tim Funk [EMAIL PROTECTED]
To: Tomcat Users List tomcat-user@jakarta.apache.org
Sent: Tuesday, June 28, 2005 2:37 PM
Subject: Re: single session id
Set emptySessionPath=true on your connector declaration. This is a
I got this exception: java.sql.SQLException: [Microsoft][SQLServer 2000
Driver for JDBC]No ResultSet set was produced at line # 2 in this code:
conn = this.dataSource.getConnection();
ResourceBundle resourceBundle = ResourceBundle.getBundle(ladw/resources);
statement =
If this is an update, you will almost always get this exception. What is the
query you are attempting to run?
Robert S. Harper
Information Access Technology, Inc.
-Original Message-
From: Carlos Bracho [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 28, 2005 12:54 PM
To:
where do you define your resultset rs...
maarten
-Oorspronkelijk bericht-
Van: Robert Harper [mailto:[EMAIL PROTECTED]
Verzonden: dinsdag 28 juni 2005 21:00
Aan: 'Tomcat Users List'; 'Carlos Bracho'
Onderwerp: RE: Stored Procedures problem
If this is an update, you will almost always
I'm trying to install the admin application of tomcat. When I download
the .zip file. I'm confused about what I'm suppose to deploy, where to deploy
it and how to do it. Of course there are few clues that may any sense to me.
The directory structure in the zip file is very confusing to me.
Those have to be downloaded seperatly they arent part of the base download.
http://jakarta.apache.org/site/downloads/downloads_tomcat-5.cgi
You'll find the admin and other downloads there.
From: lchalupa [EMAIL PROTECTED]
Reply-To: Tomcat Users List tomcat-user@jakarta.apache.org
To:
I doesnt work with mod_jk.
I've tried JkOptions like
+ForwardURICompatUnparsed, +ForwardURIEscaped, +ForwardURICompat ...
It's exactly like with mod_jk2: when I go directly to tomcat using
server:8080/something-with-special-characters-like-áéíóúñ the page is fine.
However if I use
Install mod_jk. I downloaded it from
http://www.apache.org/dist/jakarta/tomcat-connectors/jk/binaries/linux/jk-1.2.10/
Copy the jakarta-connector*.so to your apache2 modules directory.
Activate your new module:
I used this two files in /etc/apache/mods-avaliable:
+---+
mod_jk.conf
have the following code in my jsp, which is called by a forward from my
Controller servlet. The various Dispatchers are either servlets or jsps declared
in my web.xml.
All the servlets and jsps get run correctly. The problem is the output. The
output of the root jsp and the 3-4 included jsps are
I've deleted workers2.properties and get:
[Tue Jun 28 22:27:12 2005] [jk_isapi_plugin.c (1018)]: Using registry.
[Tue Jun 28 22:27:12 2005] [jk_isapi_plugin.c (1020)]: Using log file
G:\Program Files\Apache Software Foundation\Tomcat 5.0\logs\jk_iis.log.
[Tue Jun 28 22:27:12 2005]
Working with a couple different tomcat 5.0.X versions, I'm having
issues with tomcat's memory footprint increasing when I live redeploy.
I do this 2 or 3 times and the server runs out of memory, though
normally it can run for weeks without problem.
I can't seem to find direct references to this
We ran into the same problem up thru version 5.5.7 - the only work around
was to use Stop/Start rather than Reload/Redeploy. We've since updated to
Tomcat 5.5.9, which seems to have corrected the problem.
Thanks,
Scott Stewart
-Original Message-
From: George Finklang [mailto:[EMAIL
Your registry is incorrect.
Try this. Modify values as appropriate.
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Jakarta Isapi
Redirector\1.0]
extension_uri=/jakarta/isapi_redirect.dll
worker_file=C:\\jk-connector\\conf\\workers.properties
I install tomcat on my machine and my webapp can be
accessed as
http://www.mydomain.com:8080/myapp/index.jsp.
If I type http://www.mydomain.com:8080, the default
tomcat page will be displayed. How can I change this
page to something else, or forbid it?
Thanks,
Do you mean to display another page, or to stop the access via port 8080?
-Original Message-
From: Tony Smith [mailto:[EMAIL PROTECTED]
Sent: 28 June 2005 22:39
To: Tomcat Users List
Subject: tomcat default page
I install tomcat on my machine and my webapp can be
accessed as
Hi,
Do a re-direct in the page in
http://www.mydomain.com:8080
to
http://www.mydomain.com:8080/myapp/index.jsp.
António
Citando Brereton, Stephen [EMAIL PROTECTED]:
Do you mean to display another page, or to stop the access via port 8080?
-Original Message-
From: Tony Smith
Hi
I want to define a DBCP pooled MySQL connection for a test application.
The following definition is not working:
?xml version=1.0 encoding=UTF-8?
Context path=/Hibernate-02
Resource name=jdbc/Hibernate02 scope=Shareable
type=javax.sql.DataSource auth=Container/
I would like to try both...
--- Brereton, Stephen [EMAIL PROTECTED]
wrote:
Do you mean to display another page, or to stop the
access via port 8080?
-Original Message-
From: Tony Smith [mailto:[EMAIL PROTECTED]
Sent: 28 June 2005 22:39
To: Tomcat Users List
Subject: tomcat
Hi
I'm searching for the DTD or the XML Schema for the Context.xml files.
Does anybody know where can I find them?
-Behrang
--
Behrang Saeedzadeh
http://www.jroller.com/page/behrangsa
Using Opera's revolutionary e-mail client
The out from the jspwriter is NOT the same out as receieved by
response.getWriter();
The out in the JspPage is buffered.
-Tim
George Finklang wrote:
have the following code in my jsp, which is called by a forward from my
Controller servlet. The various Dispatchers are either servlets or
No ... http://jakarta.apache.org/tomcat/faq/misc.html#dtd
-Tim
Behrang Saeedzadeh wrote:
Hi
I'm searching for the DTD or the XML Schema for the Context.xml files.
Does anybody know where can I find them?
-Behrang
-
To
Greetings, I'm trying to use Log4j in my web app and I'm having some
difficulty.
I'm running Tomcat5.5.7 and JDK 1.5.0
I've followed the instructions here:
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/logging.html
-placed log4j.jar and commons-logging.jar in commons/lib
-placed log4j.xml in
hi guys
i know that to settup tomcat , there no need for apache
i wanna know what java i should use
is it j2dk or j2ee
because i saw some example that uses both..
i am going to run JSP to retrieve info from database
i need guide on how to setup tomcat .. ie what java version i shoud use.
I use JDK.
On 6/29/05, ganesan malairaja [EMAIL PROTECTED] wrote:
hi guys
i know that to settup tomcat , there no need for apache
i wanna know what java i should use
is it j2dk or j2ee
because i saw some example that uses both..
i am going to run JSP to retrieve info from
Robert Taylor [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Greetings, I'm trying to use Log4j in my web app and I'm having some
difficulty.
I'm running Tomcat5.5.7 and JDK 1.5.0
I've followed the instructions here:
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/logging.html
It depends:
5.5.x only needs JRE
5.0.x and earlier versions needs full JDK
As for version I recommend Java 1.5 and it is required for the 5.5.x version
unless you use the compatibility patch for 1.4
Doug
- Original Message -
From: ganesan malairaja [EMAIL PROTECTED]
To:
54 matches
Mail list logo