Hello Tomcat,
I am trying to return an XML with content-type text/xml
Without any charset specified in header.
I set [EMAIL PROTECTED] contentType=text/xml% in my jsp, expecting header
Content-Type: text/xml
But despite the page directive given I have header
Content-Type:
Hi,
An HP-UX 11.11 build for mod_jk seems to be missing from
http://www.apache.org/dist/jakarta/tomcat-connectors/jk/binaries/
I have attempted to compile mod_jk 1.2.14-1 myself. Apache 1.3.29 is my
target.
After the jk/native/common directory is built, make does seems not pass
through the
Hi,
Getting my application to run requires me to change all sorts of configuration
files. Specifically server.xml.
In order to install on a preinstalled tomcat, I need to modify this file. In
order to simplify this, I want to automate this (so a script will do it, rather
than manually).
for your base server.xml configuration i would suggest using CVS.
it further customizations are needed (for example per client) you can write a
command line wrapper over tomcat mbeans, or direct XML manipulation, or use
third party install tools which usually have built-in support for the
Hi folks!
My Tomcat server seems to be working. I can access the websites without any
problems. But i have suspicious entries the logs for each jsp site.
I think, there is one problem, on which the remaining problems depend, but i
dont know it really. What could be the reason of this problem?
I
I'm using Tomcat 5.5 and want to setup JAAS based authentication. I'm using
jbosssx for the LoginModule implementations.
The jboss implementation is activated when I try to login, but throws a
NameNotFoundException:
javax.security.auth.login.LoginException: javax.naming.NameNotFoundException:
Hi,
If javax.management.timer.Timer can be used inside tomcat, can you please give
an example of how?
Thanx,
Ittay
--
===
Ittay Dror ([EMAIL PROTECTED])
Application Team Leader, RD
Qlusters Inc.
+972-3-6081994 Fax: +972-3-6081841
yes you can use it.
its plain JMX so check out how to use it regardless of tomcat (standalone mode)
and do the same thing in tomcat but by using tomcat's mbean server.
-Original Message-
From: Ittay Dror [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 30, 2005 2:00 PM
To: Tomcat Users
Hi,
I've added log4j.properties in webapps/ROOT/WEB-INF/classes, but the thing is
that when log4j initializes it looks for log4j.xml which it finds in some jar
that is under webapps/ROOT/WEB-INF/lib (jxp).
I can set the log4j.configuration system property when launching Tomcat, but
this
Dear list subscriber,
im now working on this since two weeks and i just can progress with it so i
really need some urgent help on this issue
what i intent to do is to use tomcate behinde apache as a servlet container and
i tried many howto out there on the web but none of them was the right one
Am I allowed to ask what it is and how it differs from java.util.Timer? Just
like to educate myself from time to time...
-Original Message-
From: Guy Katz [mailto:[EMAIL PROTECTED]
Sent: 30 August 2005 12:12
To: Tomcat Users List
Subject: RE: can i use javax.management.timer.Timer?
yes
I don't know if this is the correct User Group.
Has anyone done any development with Java Server Faces to create richer UI
experiences? Is it any good?
TIA
Sue
***Disclaimer***
The contents of this Email may
Classification: UNCLASSIFIED
Caveats: NONE
Sue,
You might want to try this users group[EMAIL PROTECTED]
Personally, I haven't done much with JSFs but certainly it is worth looking
into.
Fadi
-Original Message-
From: Sue Roe [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 30,
From: Sue Roe [EMAIL PROTECTED]
I don't know if this is the correct User Group.
Has anyone done any development with Java Server Faces to create richer UI
experiences? Is it any good?
Try the Apache MyFaces user list - MyFaces is an implementation of the JSF
specification and there's an
Where I work we've been using JSF for a large project and it has been
working well. Although, it can be a bit heavy on the session usage.
The official Sun group can be found here.
http://forum.java.sun.com/forum.jspa?forumID=427
Most of the reference implementation developers answer questions
I have been looking al over for an explanation to what I am seeing. If I
hit my site with https I get my secure page displayed if I hit it with
http it is set up to redirect to https. The problem is the redirect is
trying to use the internal IP address in the URL
(https://10.0.0.4/login.jsp) not
We intended to use the new DUAL CORE technology by Intel (and AMD with other
name) to running WEB applications (j2ee) with Tomcat 5.5 9 in cluster.
To larger trust in the solution, We go through the list to verify somebody
already adopted this Processor type with tomcat and windows
Hi,
When I start a long running servlet I want to give the user some feedback
about the progress, thus I just print some characters to the browser from
the servlet. It works fine when I go directly tomcat but when I go through
apache and tomcat connector I see the characters in the browser only
Check out http://www.unix.org.ua/orelly/java-ent/servlet/ch06_03.htm
Best regards
Robert
-Original Message-
From: Zsolt [mailto:[EMAIL PROTECTED]
Sent: 30 August 2005 15:46
To: Tomcat Users List
Subject: Servlet lush problems via JK-1.2.14 and TC_5.0.28
Hi,
When I start a long
Thanks David, that worked perfectly. I appreciate your help.
Rob
- Original Message -
From: David Smith [EMAIL PROTECTED]
To: Tomcat Users List tomcat-user@jakarta.apache.org
Sent: Monday, August 29, 2005 6:16 PM
Subject: Re: Getting LOGON_USER from the header
By default, tomcat
Thank you Robert, but I have to support also IE.
zsolt
-Original Message-
From: Longson, Robert [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 30, 2005 4:51 PM
To: Tomcat Users List
Subject: RE: Servlet lush problems via JK-1.2.14 and TC_5.0.28
Check out
We are using tomcat 5.0.28 with apache 2.0 using the jk2 (AJP/1.3)
connector. Apache and tomcat are on different servers, Sun V120's running
Solaris 9. Tomcat server has 3 GB RAM and tomcat JVM is set to 1268Mb
(-Xms1268m -Xmx1268m). The version of mod_jk on the apache web server is
1.2.14.
Jk2
i'm using tomcat 5.5.9 with a single webapp deployed with a context path
of and a default host named localhost. when i request the webapp's
root resource (http://localhost:8080/), i get a 400 error with the
message No Host matches server name localhost.
as you can see from my very minimal
Try renaming the context.xml to ROOT.xml, I normally get the 400 error
if it can't find the context for a particular path. For some reason
Tomcat tends to ignore the path on the context.
Paul
On Tue, 2005-08-30 at 09:50 -0700, Brian Moseley wrote:
i'm using tomcat 5.5.9 with a single webapp
The error your getting is more likely saying that you computer can not
resolve localhost as domain name. If so it would have nothing to do
with your server config. Try using the loop back IP(127.0.0.1). If
this is happening on a windows box you may want to run a check for
viruses or
Hello,
To start off with, I hand rolled a database pooling class to handle database
pooling for a ecommerce site I am writing. The application is web-based so of
course I am using Tomcat 5.5 and all was going well. But in my implementation,
I occasionally get errors when the connection has not
Per the 5.5 doc you can't do it that way. You can only specify the path as a
blank string when the context element is in the server.xml.
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/context.html
Look at the path attribute.
Doug
- Original Message -
From: Brian Moseley
From: Scott Purcell [mailto:[EMAIL PROTECTED]
Subject: Database Pooling
If so, how simple is this to implement (I have read here:
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/jndi-resource
s-howto.html but I an not familiar with JNDI.
Try reading the next section of the doc as well:
MySQL shuts down the connections after 8 hours. Ran into this myself.
Yes, Tomcat has pooling built in.
Yes, it handles all aspects of the pool.
Try this link to start with:
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/jndi-datasource-examples-howto.html
It is directed more to the database
Using Tomcat4 over Red Hat Linux
We have a dual server configured with Tomcat4 in fail-over environment.
For some reason the lock file from /var/lock/subsys disapeared from both
servers and then we are unable to stop (service stop) tomcat.
Which log files can I analyze to discover why and when
Is there a link - howto etc on how to install and configure the admin webapp.
I have looked at Faqs for v 5.5.9, googled for it, etc.
There is no howto-install .. RUNNING etc in the webapp .zip file.
Is this list the right place to ask such a question?
PK
From: Bhaskar Mulpuri [mailto:[EMAIL PROTECTED]
Subject: tomcat 5.0.28 - CPU spikes after heap memory reaches 700MB
When the heap memory for the tomcat process reaches 700 Mb
(as shown by solaris top command), for a few requests, the
CPU spikes to 90-95 %.
Is it possible that the
From: Peter Kennard [EMAIL PROTECTED]
Is there a link - howto etc on how to install and configure the admin
webapp.
I have looked at Faqs for v 5.5.9, googled for it, etc.
There is no howto-install .. RUNNING etc in the webapp .zip file.
The 'admin' zip file is structured to overlay the
From: Peter Kennard [mailto:[EMAIL PROTECTED]
Subject: installing admin webapp
Is there a link - howto etc on how to install and configure
the admin webapp.
Installation borders on the trivial: download, unzip. The only
configuration necessary is creating the admin role and associated
Dmitry wrote:
Hello Tomcat,
I am trying to return an XML with content-type text/xml
Without any charset specified in header.
I set [EMAIL PROTECTED] contentType=text/xml% in my jsp, expecting header
Content-Type: text/xml
But despite the page directive given I have header
Content-Type:
The heap memory is still listed at 700 Mb when the CPU spikes up. We have
also set the max memory at 2GB for the tomcat JVM process, but we see the
same behavior.
I have not seen any error messages in the logs either. So I have not been
looking at it from the OOME perspective. Also, we checked
Parsons Technical Services wrote:
Per the 5.5 doc you can't do it that way. You can only specify the path
as a blank string when the context element is in the server.xml.
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/context.html
Look at the path attribute.
aha! man, if only
From: Brian Moseley [mailto:[EMAIL PROTECTED]
Subject: Re: No Host matches server name localhost error
thanks for the pointer. after moving my context definition into
server.xml
Bad move. This is specifically discouraged in 5.5.
i wonder what the motivation was for making it such that
On Tue, 2005-08-30 at 13:25 -0500, Caldarale, Charles R wrote:
From: Brian Moseley [mailto:[EMAIL PROTECTED]
Subject: Re: No Host matches server name localhost error
thanks for the pointer. after moving my context definition into
server.xml
Bad move. This is specifically
Is there a way that I can set the error page URL and number of
retries allowed for the BasicAuthenticator?
Thanks
---rdf
--
Richard D. Ferrante
Assoc Principal Software Engineer
Millennium Pharmaceuticals
40 Landsdowne St.
Cambridge, Ma. 02139
[EMAIL PROTECTED]
Phone: 617-679-7466
Fax:
in my continuing quest to migrate my server app from 5.0.28 to 5.5.9, i
now face a problem with ssl: secure connections hang for variable
amounts of time, and then the server drops them.
curl reports Unknown SSL protocol error in connection to localhost:8443.
my connectors are defined as
From: Paul Austin [mailto:[EMAIL PROTECTED]
Subject: RE: No Host matches server name localhost error
But the context path is only supported when you put it
in the server.xml so you can't deploy the wars to any
other path other than the name of the context file so
deploying to
Paul Austin wrote:
It seems that Tomcat 5.5 discourages you from putting contexts in the
server.xml, and that is something that is a good idea as it's easier to
manage them when they are outside. But the context path is only
supported when you put it in the server.xml so you can't deploy the
Brian Moseley wrote:
i don't recall seeing any references to a ROOT.xml. i tried renaming my
context xml file to ROOT.xml (within conf/Catalina/localhost of course)
but it did not seem to have been processed (requests to / gave that same
400 error).
and gosh, what a misleading error message
I usually put the sslProtocol=TSL' entry in my connector and have to
had any problems.
Julie
-Original Message-
From: Brian Moseley [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 30, 2005 1:38 PM
To: Tomcat Users List
Subject: ssl connections hanging
in my continuing quest to migrate
Well, I was partially correct. It works perfectly when getting the remote
user in a jsp page. What I really want to do is get the remote user in a
filter. Basically, I have a filter set up to see if the user is logged in.
If they are not, I want to get their remote user and check it to see
Julie Moore wrote:
I usually put the sslProtocol=TSL' entry in my connector and have to
had any problems.
wow, you're right. i thought that TLS was the default, but i guess there
is no default. all is good now. thanks for the catch!
lesson learned since yesterday afternoon: read every word
Hi,
Need to override the default certificate authentication to provide some own
validation. Need to embed some new extensions in the certificate and
validate them
Got the following information but having problems doing what is explained
1. Write new SSLImplementation subclassing
Hi,
Parsons Technical Services wrote:
Per the 5.5 doc you can't do it that way. You can only specify the path
as a blank string when the context element is in the server.xml.
To reiterate: so the only 2 ways to define the *default web app* for the
host are either
- to define the context
Thanks for reply !
I did this at the suggestion of someone on a sysadmin list I'm on,
(Nowhere do any docs actually say this :)
I also added the admin rolename type to the user peterk in the
config/tomcat-users.xml file such that it now looks like this
?xml version='1.0' encoding='utf-8'?
Thanks - For the sake of marketing this trivial install should be
explicitly stated in a very obvious how to install information included
with the package. Especially since it is something that if done improperly
(from a POV of not knowing) could affect security.
One of the biggest
BTW the other potential for my failure may be that somewhere in the chain
between Tomcat and the browser the error message page was cached. The link
to the admin webapp may itself may not have the headers set to prevent the
error message from caching ???
I'm only trying to help other's first
From: Peter Kennard [EMAIL PROTECTED]
I would write up such a thing if I knew how to get it in there ;^
Since it sounds like you want it to be a text file included in the admin app
zip file, you might try writing it up and opening an enhancement ticket
against Tomcat 5.5. Attach your
Is Tomcat more stable on Linux or Windows 2003? What are the pros/cons
of using it on each platform?
Thank you in advance for your help and advice,
Chad
Hi
I think this problem would have been well discussed. I tried looking this
up in the forums but couldnt find an answer
Im using Tomcat 5.0.28 and JRE 1.5 and trying to override default
TrustManager with my own. I have written the following SSLImplementation.
The problem here is that even
Wow this seem likely to start flame war. Since it is written in Java
there is really not much of a difference. The only thing that comes to
mind is that you have to reboot windows every time you need to make a
change to the CLASSPATH, JAVA_HOME, or TOMCAT_HOME variables which can
be a
From: Brian Cook [mailto:[EMAIL PROTECTED]
Subject: Re: Does Tomcat run better on Linux or Windows?
The only thing that comes to mind is that you have to
reboot windows every time you need to make a change to
the CLASSPATH, JAVA_HOME, or TOMCAT_HOME variables
That's simply not true.
I've been running Tomcat on both Linux and Windows for a couple years now and
other than the differences in installation and maintenance, haven't noticed any
differences as far as stability is concerned.
Scott
--- Chad Lester [EMAIL PROTECTED] wrote:
Is Tomcat more stable on Linux or Windows
I'm using Tomcat 5.5.9 and IIS 6 on a Windows 2003 machine.
Isapi_redirect.dll (version 1.2.14) seems to work if use a full url such
as this:
http://localhost/jsp-examples/index.html
All the various jsp examples work.
However, if I don't fully specify a document, such as
Will do - where is the procedure for opening an enhancement ticket outlined?
Thanks.
At 05:37 PM 8/30/2005, you wrote:
From: Peter Kennard [EMAIL PROTECTED]
I would write up such a thing if I knew how to get it in there ;^
Since it sounds like you want it to be a text file included in the
First, let me clarify that I am only a user of Tomcat and was simply
pointing out the part of the documentation.
Now as for the issue, I am not sure that it is a bug but just a feature.
Unless you can show where it does not meet the servlet specs then it will
not be considered a bug.
I am
Hi All,
On 30 Aug 2005 at 18:12, Caldarale, Charles R wrote:
From: Brian Cook [mailto:[EMAIL PROTECTED]
Subject: Re: Does Tomcat run better on Linux or Windows?
The only thing that comes to mind is that you have to
reboot windows every time you need to make a change to
the
On 8/30/05, Rob Hills [EMAIL PROTECTED] wrote:
Hi All,
On 30 Aug 2005 at 18:12, Caldarale, Charles R wrote:
From: Brian Cook [mailto:[EMAIL PROTECTED]
Subject: Re: Does Tomcat run better on Linux or Windows?
The only thing that comes to mind is that you have to
reboot windows
Sorry to kick this up. I know its a slightly obscure topic, and I'm
hoping it may have rolled by someone knowledgable.
I just tried using the Jakarta Commons File Upload instead of the
Oreilly MultiPartRequest. I get the same results.
No matter what kind of file I try uploading - it treats it
From: Rob Hills [mailto:[EMAIL PROTECTED]
Subject: RE: Does Tomcat run better on Linux or Windows?
I've not yet been able to find a way of changing environment
variables in Windows and have the OS pick up the changes and
pass them to a service (no matter how often you stop and start
Eeek, this is almost like a which is better: vi or emacs? thread...
Having used tomcat in both environments, here is my $0.02 on the topic:
- Linux
+ more secure out of the box
+ simpler for more complex configurations
+ simpler for upgrades
+ usually more uptime
+ more controlled
From: Peter Kennard [mailto:[EMAIL PROTECTED]
Subject: Re: installing admin webapp
Will do - where is the procedure for opening an enhancement
ticket outlined?
Tomcat development uses Bugzilla for both bug reports and enhancement
requests (although the latter isn't obvious - you have to
OK, my goof. In my frustration and hurry I did not read the RFC well
enough. After re-reading the RFC yet one more time, it finally became
clear. In case it helps anyone else, I'm posting what I learned here.
Basically the browser is allowed/expected to set the encoding type.
Under section 3.3
Is Tomcat more stable on Linux or Windows 2003? What are the pros/cons
of using it on each platform?
If you're planning for a high-performance high-load system, don't use
Windows 2003 Standard Edition. It has serious limitations in the TCP/IP
stack. I wasn't able to open more than ~3500
how to write upload file program using jsp ?
by default program copy file to some temporary folder on server.
how to get the path of that temporary folder ?
***Confidentiality Notice***
The information contained in this electronic message and any
70 matches
Mail list logo