Thanks.
Like I've found nothing, I'm choosing a solution like this.
So it is impossible to show CLIENT-CERT realm like
response.setHeader(WWW-Authenticate, CLIENT-CERT realm=\myName\);
I've an another question : how to redirect an request to the secure port within
a serlvet ? I post a new
I wanted to simulate a CLIENt-CERT realm to the browser with serlvet
(response.setHeader(WWW-Authenticate, BASIC realm=\myName\)) but it seems
not possible. So I want to basically redirect my request to SSL.
I wish know how to redirect a request to the secure port within a serlvet but I
don't
Hi All,
I found this error :
java.lang.InternalError: Can't connect to X11
window server using ':0.0' as the value of the DISPLAY
variable.
on UNIX platform.
Please adv.
Thanks
Regards
- IN -
--- Antony GUILLOTEAU [EMAIL PROTECTED]
wrote:
I wanted to simulate a CLIENt-CERT realm
You are not supposed to use awt or swing on a java web server.
remove calls to awt/swing or use headless java.
Iin Nurhidayat a écrit :
Hi All,
I found this error :
java.lang.InternalError: Can't connect to X11
window server using ':0.0' as the value of the DISPLAY
variable.
on UNIX
Stas,
The original link gave a 404 error, but there is this article on the OnJava
site that may shed a little more light for you.
http://www.onjava.com/pub/a/onjava/2001/12/12/openjms.html
I hope this helps.
Regards
Jason
--
Jason Bell
Lead Architect, SpikeSource Europe
e: [EMAIL PROTECTED]
Hi,
do you use some graphic functions in your project? If so,
you should add the following parameter to Tomcat startup:
-Djava.awt.headless=true
cu
cm
Am 22.09.2005 um 09:07 schrieb Iin Nurhidayat:
Hi All,
I found this error :
java.lang.InternalError: Can't connect to X11
window
Dear all,
To whom this may help...
Tomcat 4.1.31 and 5.5.9 have been packaged for solaris by BlastWave and are
available to people who use the BlastWave packages.
You can report any problem to http://www.blastwave.org/bugtrack/
Kind regards,
--
William Bonnet
SunWizard - Le site francais
My problem is not with the DNS settings. They are
mapped to the same IP address (my machine) and that
works fine.
What do you mean your 'hosts' file? Currently I have a
host node in the server.xml file. Under it I define
the various aliases (subdomains).
Thanks,
Assaf
--- Kyle [EMAIL
The Hosts file is hold-over from the pre-DNS method of finding IP
addresses. Basically, there's a file - 'Hosts' - that holds addresses,
in the format:
domain_nameip_address eg
myhost.co.uk123.45.123.45
At one time this was the only way that machines on the Internet knew the
Hi Tom,
Thanks again for the answer. BUT my problem is not the
hosts file. That works fine. My issue is as follows:
I have multiple hosts (as in TOMCAT HOSTS) running on
the server. Each is mapped to a different context/
application. I need to be able to map ALL subdomains
to the same
Hi,
I am using Tomcat 4.1.29 in a production environment and I want tomcat
not to add default charset in Content-Type response header.
Is it possible?
Thanks in advance.
Alpay
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
Somebody please help me , example how to make A DataSource in
server.xml/web.xml
or in webapps/testapps/WEB-INF/web.xml
using postgresql
and an example to access it in servlet . Use a PoolConnection, so only connect
once, the other use that connection.
thank you,
currently I write data
Alpay Ozturk wrote:
Hi,
I am using Tomcat 4.1.29 in a production environment and I want tomcat
not to add default charset in Content-Type response header.
Is it possible?
Thanks in advance.
Alpay
-
To unsubscribe,
You may add the charset of your choice (probably Turkish) to your jsp by
adding
%@ page contentType=text/html; charset=iso-8859-9 %
To the beginning of your jsp page. If you do not add this, Tomcat will
always default to ISO-8859-1 or UTF-8 (I don't remember which one was
default).
Regards,
Hi all,
Just a quick question for you; how can I launch the Tomcat installer
without the installation screens popping up? Can I specify the
installation directory and settings from the command line? I tried
feeding the installer some parameters but it seems to completely ignore
the command line.
Hi !
Thanks for your resnonce. I saw that article at ONJava.com. They use
standalone openJMS server. I'm interested in embedded.
Broken link ? Maybe... However, it's not much info there.
Overview
The Embedded connector enables OpenJMS clients to connect to an
embedded OpenJMS server, i.e. a
I want to configure TomCat 4.1.30 to allow Remote Deployment of my mobile
app. This article
http://developers.sun.com/techtopics/mobility/midp/articles/deploy/ tells
one how to do it for system wide settings. I want to configure it on a per
application basis. How do I do this? Is it possible? What
Assaf wrote:
Hi Tom,
Thanks again for the answer. BUT my problem is not the
hosts file. That works fine. My issue is as follows:
I have multiple hosts (as in TOMCAT HOSTS) running on
the server. Each is mapped to a different context/
application. I need to be able to map ALL subdomains
to the
I don't think that Tomcat can do that without some hacking.
I think that you may be able to accomplish what you need by doing a little
redirecting.
You might be able to use a filter to parse and redirect the request to the
base domain.
Or use the default host as a catch all and the
Richard Burman wrote:
Hi all,
Just a quick question for you; how can I launch the Tomcat installer
without the installation screens popping up? Can I specify the
installation directory and settings from the command line? I tried
feeding the installer some parameters but it seems to completely
starting tomcat:
22.09.2005 12:41:27 org.apache.coyote.tomcat5.MapperListener init
WARNUNG: Error registering contexts
java.util.ConcurrentModificationException
at java.util.HashMap$HashIterator.nextEntry(HashMap.java:782)
at java.util.HashMap$EntryIterator.next(HashMap.java:824)
Thanks Kerem ,
But I need to set the content-type of a servlet response as
application/vnd.wap.mms-message without adding a charset header. Since
some handsets do not accept the MMS response messages although the
messsage is well-encoded. Anyway, thanks for your response.
Regards,
Alpay
On
Hi,
I have a problem with tomcat displaying urls on my
site that include the jsessionid attached at the end.
This is particularly a problem with search engine who
crawl the site and index the page including the
session id.
Is there a way to disable it?
I am also using struts html:link so that
On 9/22/05, Mark [EMAIL PROTECTED] wrote:
I would think that this is possible. I have been writing servlets for
over a year, but have not written a single line of JSP.
Technically speaking each JSP is actually a servlet... more or less.
Everything that works in the server works in the jsp
Thanks Jilles ,
I need to set the content-type of a servlet response as
application/vnd.wap.mms-message. But I will recheck my code if I am
setting content-type to text/html before setting it to
application/vnd.wap.mms-message. If it does not work, I will wrap the
response as you suggested.
Return binary content from a servlet using the ServletOutputStream and
you should have no problem.
This is the way we vend MMS data. (In fact all of our binary data.)
HTH,
Jon
Alpay Ozturk wrote:
Thanks Kerem ,
But I need to set the content-type of a servlet response as
Leon,
Not sure if this will help, but it looks like there was an error when
registering MBeans. Did make any modifications with the Coyote Connnector? This
is the connector that integrates with Apachr or IIS for example.
- andy
Leon Rosenberg [EMAIL PROTECTED] wrote:
starting tomcat:
Leon Rosenberg wrote:
starting tomcat:
22.09.2005 12:41:27 org.apache.coyote.tomcat5.MapperListener init
WARNUNG: Error registering contexts
java.util.ConcurrentModificationException
at java.util.HashMap$HashIterator.nextEntry(HashMap.java:782)
at
Thanx Jilles.
On 9/22/05, Jilles van Gurp [EMAIL PROTECTED] wrote:
Leon Rosenberg wrote:
starting tomcat:
22.09.2005 12:41:27 org.apache.coyote.tomcat5.MapperListener init
WARNUNG: Error registering contexts
java.util.ConcurrentModificationException
at
Hi !
Thanks for your resnonce. I saw that article at ONJava.com. They use
standalone openJMS server. I'm interested in embedded.
I was Googling around, I have to admit, as I found your posting very
interesting. I've downloaded OpenJMS and will try and have a play when I have
half an hour
Lyndon Tiu wrote:
Hello,
I am using on server:
- Tomcat 5.5.9 downloaded from Apache Tomcat website.
- Tried both Java 1.4.2_09(using tomcat compat packages) and Java 1.5.0_03
- RH ES3
on client:
- Firefox 1.0.6
- RH WS3
I have done ssl on Tomcat 4.x and 5.0.x a few times before with no
On Thu, 22 Sep 2005 14:40:25 0100 [EMAIL PROTECTED] wrote:
Lyndon Tiu wrote:
Hello,
I am using on server:
- Tomcat 5.5.9 downloaded from Apache Tomcat website.
- Tried both Java 1.4.2_09(using tomcat compat packages) and Java
1.5.0_03
- RH ES3
on client:
- Firefox
The session ids in the URL (URL Rewriting) are only used when cookies are
switched off as a fallback, so when cookies are switched on on your machine
you shouldn't see the session Id in the URL.
When you don't need a seesion on your page you can use this page directive
to switch off the session,
I'm attempting to modularize one of the xml files by using XInclude under
Tomcat 5.5.9. The application starts, but at the point in time when the
beans should get instantiated I get a NullPointerException in the
ManagedBeanFactory. In the example below, I'm trying to include file2.xml in
Stephen Faustino wrote:
I'm attempting to modularize one of the xml files by using XInclude under
Tomcat 5.5.9. The application starts, but at the point in time when the
beans should get instantiated I get a NullPointerException in the
ManagedBeanFactory. In the example below, I'm trying to
You need mod_gzip or mod_deflate(?) if your using apache in front of tomcat
(via jk)
-Tim
Acácio Furtado Costa wrote:
Hi
We're having problems to configure gzip using TC559/Apache Cluster...
We moved the compression=on and others gzip declarations from connector 80 to 8009
in all Tomcat
Hi,
Is there a possibility to get tomcat working with my own ASCII based
protocol (instead of HTTP). Is there a possibility to register a
protocol-handler or something similar to handle the requests of my
protocol with a servlet?
Thanks,
Martin Peter
I was kind of hoping it would be possible to control the installer as it
already does everything I need. Is there no way to modify the flow of
the installer at all?
Cheers,
Richard.
-Original Message-
From: Jilles van Gurp [mailto:[EMAIL PROTECTED]
Sent: 22 September 2005 12:29
To:
Hi;
I'm running Tomcat 5.5 on Windows 2003/IIS 6.0 using isapi_redirect
The isapi_redirect.exe installer creates a worker.properties.minimal of:
worker.list=wlb,jkstatus
worker.ajp13w.type=ajp13
worker.ajp13w.host=localhost
worker.ajp13w.port=8009
Hi;
I am running on Windows 2003/IIS 6.0 tomcat. I have a single IP address
for all of my websites (I have several) and then use the request header to
determine which website to return. IIS does this very nicely.
I want to have index.jsp in each of these websites. How can I set it up so
that
Hi;
I want to make sure this is correct:
If you want to run Tomcat against multiple websites, not just the default
website, this is what I have had to do.
This is on Windows 2003/IIS 6.0.
I removed isapi_redirector.dll from the default web site ISAPI Filters and
put it in the parent Web Sites
Try something like:
try {
EmbeddedJmsServer server = new EmbeddedJmsServer(config);
Thread serverThread = new Thread( server );
server.init();
serverThread.start();
} catch (Throwable e) {
// do nothing e.printStackTrace();
}
On 9/22/05 9:28 AM, Jason Bell
Hi
How do I suppress the stack trace from exception handling globally (i.e. not
using an errorPage directive)?
I have tried setting the Verbosity of the Logger elements in the server.xml
(for Tomcat 5.0.28) to 0 but this does not seem to stop stack trace.
A simple jsp like this:
%
if
Martin Peter wrote:
Hi,
Is there a possibility to get tomcat working with my own ASCII based
protocol (instead of HTTP). Is there a possibility to register a
protocol-handler or something similar to handle the requests of my
protocol with a servlet?
Hi,
Check out:
From: Robert Koberg [mailto:[EMAIL PROTECTED]
Is there a possibility to get tomcat working with my own ASCII based
protocol (instead of HTTP).
[...]
Check out:
http://java.sun.com/developer/onlineTraining/protocolhandlers/
Different use of 'protocol' - that won't help the original
Hi everyone,
could anyone help me understand what I am doing wrong...
I want to put a session tracking into my jsp page. I use response.encodeURL
method to rewrite all url in my page :
a href=% response.encodeURL(/appName/myJSP.jsp?parameter = + value); %
The problem is that I can not get
From: jonas skrebys [mailto:[EMAIL PROTECTED]
a href=% response.encodeURL [...]
^
I think you're missing an '=' here? Should be %=function();% to write
the result of function to the output. Without that, the encoded URL
will not be written to the output stream. View the source
As I said, I have done this successfully before and I am baffled that it is not
working fo me now.
Perhaps you need send your server.xml along so others can see what
you've done. It definitely works with Firefox and IE on 5.5.9
David
I have a form input on a html page that does a file upload. I am only
getting the first 3k of an upload file. If the file is less than 3k,
the multipart boundaries are structured properly, otherwise, I never get
the end of the file or the ending boundary.
I did binmode(STDIN); but still not
Just posting a job description to anyone interested and qualified. This
is a great position for anyone who loves working with Tomcat, so I
wanted to share the opportunity with the people in this community. If
you are interested, please send me your resume to [EMAIL PROTECTED]
with Web System
David,
Have you looked at setting up virtual hosts in tomcat as this seems to be what
you are looking for.
- andy gordon
David Thielen [EMAIL PROTECTED] wrote:
Hi;
I am running on Windows 2003/IIS 6.0 tomcat. I have a single IP address
for all of my websites (I have several) and then use
swallowoutput=true in your context should help
Jilles
James Cowan wrote:
Hi
How do I suppress the stack trace from exception handling globally (i.e. not
using an errorPage directive)?
I have tried setting the Verbosity of the Logger elements in the server.xml
(for Tomcat 5.0.28) to 0 but
Well, after many many hours' search (seems like not a hot subject),
I finally came to this mail archive. But before getting here, I've
already come across a similar page at
https://problems/
WE are running Tomcat 5.5.9 on Windows Server 2003, Jre 1.5 and are getting
the -12227 unexpected error when using Netscape 8.0 and Firefox
1.0 . Things are OK with Netscape 7.0, and Internet Explorer.
Out Client Auth is set to false in server.xml. Can anybody suggest a
work
Hi All,
I am trying to start my admin application in Tomcat 5.0.28. However, the
manager application is reporting that it could not start the admin
application. The tomcat logs are not reporting any exception.
Any tips on how i can debug this problem ? How can i enable verbose
server
Thanks Bernard,
My problem is to do with Search Engine bots. They seem
to be getting jsessionid when they crawl and do not
remove them. This causes them to index pages INCLUDING
the session id and therefore it appears on the search
engine listing. Any way to remove that?
Assaf
--- Bernhard
Problem solved.
I was generating ssl certs with openssl and apparently, I needed to use keytool.
Thanks.
On Thu, 22 Sep 2005 09:03:52 -0700 tomcat-user@jakarta.apache.org wrote:
As I said, I have done this successfully before and I am baffled that
it is not working fo me now.
I'm using a JDBCRealm with Tomcat 5.0. I have created the tables, configured
the Realm and can see the database connection in Oracle.
When I try to log onto the web application I see the following request in Oracle
SELECT user_pass
FROM users
WHERE user_name = :1
but the login fails. I
Hi,
it is only since 5.5.10
5.5.10 was already released, but it is only supposed to be alpha. I.e.
not recommended for production use.
I have no idea, when the next stable tomcat version will be released
Christoph
Seak, Teng-Fong wrote:
Well, after many many hours' search (seems like not
and minus the trailing ;
-Original Message-
From: Peter Crowther [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 22, 2005 11:01 AM
To: Tomcat Users List
Subject: RE: an advice neede for use of encodeURL method...
From: jonas skrebys [mailto:[EMAIL PROTECTED]
a href=%
Hi,
I want to deploy the same webapp under two different URIs. I created two
context descriptors like this:
Context path=/a docBase=/home/user/myapp debug=0
privileged=false
Logger className=org.apache.catalina.logger.FileLogger
prefix=a. suffix=.txt
timestamp=true/
/Context
Context
Are you are using Tomcat 5.5.X? If so it is not recommended to put any Context
in the server.xml file but instead in the application's META-INF/context.xml
file.
One of the problems we had was by putting the Context tag in server.xml
itself we couldn't redeploy an application without
Thanks for the reply. At the risk of sounding obtuse, where exactly is the
correct place to define this property? I tried to look for it in the Tomcat
docs but couldn't find anywhere that talks about this. I tried setting it as
a -D at tomcat startup, which doesn't seem like the correct place to
We are using 5.0.28 and we are using context deployment files.
On Thu, 2005-09-22 at 15:23 -0300, Ritchie Gillam wrote:
Are you are using Tomcat 5.5.X? If so it is not recommended to put any
Context in the server.xml file but instead in the application's
META-INF/context.xml file.
One
In windows, one of my webapp needs to connect to a database in order to work
correctly.
How can I check for oracle database ready before starting Tomcat service?
Set 'DependOnService' parameter in registry to point to Oracle db service, may
work,
but what if the database is on a different PC?
C:\tomcat-sourceant checkout
Buildfile: build.xml
checkout:
[echo] If the checkout fails, run `cvs -d
:pserver:[EMAIL PROTECTED]:/
home/cvspublic login` and try again. The password for the anonymous CVS
access i
s `anoncvs`
[cvs] cvs [checkout aborted]: connect to cvs.apache.org:2401
Hi!
I'm running TC5.5 and MySQL-4.0.20 on two separate Linux boxes.
Trying setting up a DB connection pool, I followed the example found on:
jakarta.apache.org/tomcat/tomcat-5.5-doc/jndi-datasource-examples-howto.html
Everything works just fine, but I'm a little bit concerned that maybe I am
Print out your Connection Object .toString() to stdout or on a page and
you should see that it is a Pool(ed|able) Connection object.
K
Trond Hersløv wrote:
Everything works just fine, but I'm a little bit concerned that maybe I am
generating a singel connection to the DB and not a pool of
Hi,
Has anyone seen Tomcat JVM using 99.9% cpu when there is no HTTP load at all?
The JSP pages are accessible fine without any loss in functionality, but the
machine is sluggish (expectedly, as the JVM is using all the CPU). If tomcat is
restarted, the problem goes away and the CPU usage
Thanks, I'll do that, but still - how can I be sure that my pool have more than
just this one connection. Writing two servlets with endless loops, avoiding
checking the connections back would give me the answer I guess.
But why is there only one connection established to my DB server??
Is there
I think (not sure as I am not a Tomcat expert) that you can just get 2
connections without closing either - and see that you got 2.
- dave
-Original Message-
From: Trond Hersløv [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 22, 2005 6:24 PM
To: Tomcat Users List
Subject: RE:
Hi sorry for sending this twice, but I am using new
email program and it kinda flipped out when I first
sent it, was not sure it went through the first time.
Hello
I have searched far and wide but no luck so thought i
try here.
I have a Red Hat ES V4 Linux Server that has 3
different
You must change the JAVA_HOME in system variables
-Original Message-
From: lanna august [mailto:[EMAIL PROTECTED]
Sent: 23. september 2005 07:16
To: tomcat-user@jakarta.apache.org
Subject: How to start Tomcat using differnt JRE
Hi sorry for sending this twice, but I am using new
email
73 matches
Mail list logo