useBodyEncodingForURI=true
It still don't work
Yair
-Original Message-
From: Mark Thomas [mailto:[EMAIL PROTECTED]
Sent: 20 2004 23:29
To: 'Tomcat Users List'
Subject: RE: Getting a request in a non English character
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config
);
And this some how doesn't work ,
Any suggestions?
Regard
Yair
-Original Message-
From: Mark Thomas [mailto:[EMAIL PROTECTED]
Sent: Sunday, April 25, 2004 5:09 PM
To: 'Tomcat Users List'
Subject: RE: Getting a request in a non English character
Got
-nameexecutable/param-name
param-valueYYYapp/param-value
init-param
?
cheng
--- Mark Thomas [EMAIL PROTECTED] wrote: Prior to
5.0.17, the cgi executable was hardcoded to
perl. From 5.0.17 onwards
this is configurable. For example, if you wanted to
use XXXapp as the perl
Prior to 5.0.17, the cgi executable was hardcoded to perl. From 5.0.17 onwards
this is configurable. For example, if you wanted to use XXXapp as the perl
executable, edit conf/web.xml to look something this:
servlet
servlet-namecgi/servlet-name
Depends on your compiler. Look on the docs for how to set the classpath for the
compilier and ensure that all the necessary jar files are included.
Mark
-Original Message-
From: Kalin Mintchev [mailto:[EMAIL PROTECTED]
Sent: Friday, April 23, 2004 9:03 AM
To: [EMAIL PROTECTED]
-Original Message-
From: Keith Hankin [mailto:[EMAIL PROTECTED]
I am trying to specify init context parameters in the default
context in server.xml as follows:
Context path= docBase=ROOT debug=0
Parameter name=configDir value=C:\config override=false/
/Context
This is
of that program into a file.
The OS I am running is XP Professional.
Thanks in advance
Andrea Powles
Mark Thomas [EMAIL PROTECTED] wrote:
OK. Next set of questions:
- which program?
- what is the server OS?
From: Andrea Powles [mailto:[EMAIL PROTECTED]
Im wanting to run the program
You might find the text below useful. It is my standard text on character
encoding.
Mark
REQUESTS
There are a number of situations where there may be a requirement to use non-US
ASCII characters in a URI. These include:
- Parameters in the query string
- Servlet paths
There is a
the useBodyEncodingForURI attribute, is it in an
XML file ? Which one ?
Thanks
Yair
-Original Message-
From: Mark Thomas [mailto:[EMAIL PROTECTED]
Sent: 20 2004 21:19
To: 'Tomcat Users List'
Subject: RE: Getting a request in a non English character
You might find the text below useful
OK. Next set of questions:
- which program?
- what is the server OS?
From: Andrea Powles [mailto:[EMAIL PROTECTED]
Im wanting to run the program on the server.
When I startup Tomcat with the -security option Tomcat
doesn't start up? This is the case even when I take out my
Look at the reloadable attribute.
I use MyEclipse which takes a lot of the pain out of this sort of thing.
Mark
-Original Message-
From: Duncan Krebs [mailto:[EMAIL PROTECTED]
Sent: Monday, April 19, 2004 7:26 PM
To: Tomcat Users List
Subject: Tomcat4x Development Process
Hi,
It is a general requirement. That is why:
1. WEB-INF is defined by the spec and is highly unlikely to change.
2. Protecting resources under WEB-INF is mandated by the spec (SRV.9.5)
-Original Message-
From: Stephen Bacon [mailto:[EMAIL PROTECTED]
Sent: Monday, April 19, 2004 7:52 PM
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Andreas Schildbach
Aside from that, wouldn't it be nice of the servlet spec would allow
binding HttpSessionActivationListeners to the whole
application instead
just to an attribute? In my application, it would be much
elegant/easier. Maybe
Try putting
?xml version=1.0 encoding=ISO-8859-1?
!DOCTYPE web-app
PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN
http://java.sun.com/dtd/web-app_2_3.dtd;
At the start of the web.xml file
Mark
-Original Message-
From: James Bucanek [mailto:[EMAIL PROTECTED]
From: Frank Schaare [mailto:[EMAIL PROTECTED]
we´re building an Intranet application running on Tomcat
4.1.30 (Client
OS is Win2K). It would be very suitable to authentificate the users
against the NT Domain Controller to avoid a second login.
I searched this ML and Google but did not
spec-quote
SRV.15.1.8 HttpSessionActivationListener
public interface HttpSessionActivationListener extends java.util.EventListener
All Superinterfaces: java.util.EventListener
Objects that are bound to a session may listen to container events notifying
them
that sessions will be passivated and
Without looking at your source code, no idea. I have just checked the Tomcat
source and every attribute that implements
HttpSessionActivationListener will have sessionWillPassivate() and
sessionDidActivate() called.
At the moment it looks like something in your app.
Mark
-Original
Andreas,
I believe you have misinterpreted the spec. Having re-read the relevant parts of
the spec (SRV.10.2, SRV.15.1.7 SRV.15.1.8) HttpSessionActivationListener
applies to session attributes. Although HttpSessionActivationListener's
inclusion in table SRV.10-1 could suggest otherwise, section
Where are you trying to run the external program? On the tomcat server or on the
client talking to the server?
If on the server try:
- testing it without the security manager
If on the client:
- The browser security model will not allow this at all unless the
applet/JavaScript is signed.
- If
John
Send an e-mail to [EMAIL PROTECTED] detailing your new and
old e-mail addresses and I or one of the other moderators will look into it for
you.
Mark
-Original Message-
From: John Trollinger [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 15, 2004 3:36 PM
To: [EMAIL PROTECTED]
Read the page you are looking at:
NOTE: For security reasons, using the administration webapp is restricted to
users with role admin. The manager webapp is restricted to users with role
manager. Users are defined in $CATALINA_HOME/conf/tomcat-users.xml.
Add a user with the admin role or add the
You need to write a custom realm.
Mark
My case is that I can't store the username and password of
the roles and users in my server. I need to send the
authenication information in a format of xml file to a
foreign server and get back the login result from that
server. So I can't use
Hi,
Tomcat ignores META tags (for good reasons I won't go in to). Use %@ page
pagEncoding=... %.
Mark
-Original Message-
From: Hassan Schroeder [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 08, 2004 7:11 PM
To: [EMAIL PROTECTED]
Subject: DefaultServlet character encoding
This is implemented within tomcat.
Mark
-Original Message-
From: Martin Alley [mailto:[EMAIL PROTECTED]
Sent: Friday, April 09, 2004 8:28 AM
To: 'Tomcat Users List'
Subject: RE: Session behaviour across http/https boundary
Hi Bill,
Thanks for clarifying.
BTW Do you know
Looks like you have a broken server.xml Try using the one provided with the
tomcat distribution.
Mark
-Original Message-
From: jitender ahuja [mailto:[EMAIL PROTECTED]
Sent: Sunday, April 04, 2004 2:24 PM
To: [EMAIL PROTECTED]
Subject: 5.0.19 server not starting
Hi,
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
I've tried just about every distro from 4.1.28 onwards and
none of them
work under Windows! They all have either ant or
Tomcat4.CoyoteConnector
failures.
Is Tomcat not now supported under Windows?
Tomcat is supported under Windows.
In
in the catalina.out
file is a JMX
issue.
Regards,
Idoia
Mark Thomas
You can't get a use a windows username and password without integrating with
windows authentication. How about fronting things with IIS? Let IIS do the
authentication for you. Haven't tried it but I don't see why it wouldn't work.
-Original Message-
From: Kumar Abhay-CAK203C
OK. Light dawns. Can you try using the memory realm? My realm definition looks
like:
Realm className=org.apache.catalina.realm.MemoryRealm /
Looking again at the exception it looks like a JMX issue with the
UserDatabaseRealm MBean and user names containing '='. I'll have a look at the
code.
Mark
I've look at the code and it would help if you could post your realm definition.
Thanks,
Mark
-Original Message-
From: Mark Thomas [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 25, 2004 6:00 PM
To: 'Tomcat Users List'
Subject: RE: tomcat certificate
OK. Light dawns. Can you
: tomcat certificate
We are using Tomcat 5.0.19 over Linux.
Idoia
Mark Thomas
-users.xml
file:
username=CN=Mark Thomas, OU=WWW, O=XXX, L=YYY, ST=ZZZ, C=GB
It seems tomcat does not like the ´=' character inside a
property value.
I have also tried writing:
username=CN\=Mark Thomas, OU\=WWW, O\=XXX, L\=YYY, ST\=ZZZ, C\=GB
But I still get the same error.
Don´t you get the same
You can archive your web app using ant's jar task.
Mark
-Original Message-
From: Philipp Taprogge [mailto:[EMAIL PROTECTED]
Sent: Monday, March 22, 2004 2:05 AM
To: Tomcat Users List
Subject: Programmatically deploying webapps
Hi!
I am stuck here :-/
Perhaps anyone could
Matt,
Your best bet is to read the security manager documentation provided as part of
the SDK. It should be located in JAVA_HOME\docs\guide\security\permissions.html
and JAVA_HOME\docs\guide\security\PolicyFiles.html
I can't remember if these docs are part of the standard download or whether
OT?
No. That's not what the problem is. Getting a key into the
keystore is not
a difficult task. Fairly simple and straightforward.
Getting a private key
out is something else entirely.
Drew
-Original Message-
From: Mark Thomas [mailto:[EMAIL PROTECTED]
Sent: Thursday
username=CN=Mark Thomas, OU=WWW, O=XXX, L=YYY, ST=ZZZ, C=GB
password=null roles=tomcat,certs/
web.xml:
?xml version=1.0 encoding=ISO-8859-1?
!DOCTYPE web-app
PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN
http://java.sun.com/dtd/web-app_2_3.dtd;
web-app
display-nameBug
You just import the reply into the keystore (using the same alias) and the
keystore combines them for you. Have a look at the keytool docs that come with
the JDK for further info.
Mark
-Original Message-
From: Hamilton Andrew [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 18, 2004
This is not correct. Tomcat does support CLIENT-CERT authentication
'out-of-the-box'. When combined with appropriate authorisation constraints in
web.xml you can limit access to specific URLs.
I have this working quite happily.
Mark
-Original Message-
From: Rommel Sharma
-users.xml the user cert
entry is of the form user username=CN=Mark Thomas, OU=WWW, O=XXX, L=YYY,
ST=ZZZ, C=GB password=null roles=tomcat,certs/
Hope this helps.
-Original Message-
From: Donald Lee [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 16, 2004 12:05 AM
To: [EMAIL PROTECTED
Should do. This works for me with TC4 and the default welcome list.
Mark
-Original Message-
From: Forte, Graham [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 16, 2004 3:33 PM
To: 'Tomcat Users List'
Subject: RE: web.xml Welcome-file for SSL
Corrected subject, any takers.
From: Josh Rehman [mailto:[EMAIL PROTECTED]
Subject: Do the tomcat developers use bugzilla?
At first I was shocked that TC5 has only 15 bugs registered. Then I
looked at the TC4 bugs: only 647, and almost all of them new.
Should I bother filing any more bugs? Are the TC developers using
Ken,
Without knowing the steps you took, I have no idea. It would also help to know
exactly what you are trying to do.
Mark
From: Ken Perregaux [mailto:[EMAIL PROTECTED]
I have setup Tomcat to use CGI but when I try to run my
script or EXE it get
the following error...
HTTP Status 500
Might not be the root cause of your problem but you need to use the SDK not the
JRE.
Mark
-Original Message-
From: Tony Sutton [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 04, 2004 11:14 PM
To: [EMAIL PROTECTED]
Subject: $JAVA_HOME error
Hi there,
I'm new to using
I am not familiar with openssl but having reviewed your steps you might want to
try the following:
- Import your CA cert into the trusted CAs for your browser.
- You shouldn't need your CA cert in your keystore file, providing that the CA
cert is installed in cacerts. Try removing it from the
Have a look at http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13231
In the meta tag has no effect. You need to use the [EMAIL PROTECTED] ... directive
instead.
Mark
-Original Message-
From: Ivan Kozlov [mailto:[EMAIL PROTECTED]
Sent: Saturday, January 24, 2004 8:56 PM
To: [EMAIL
I can't do step 1 and 2 because the certificate and private
key has been
created already with openssl.
The file TestServer_APU.pem contains the private key and
certificate in the
PEM format.
Should that work either?
Sorry, no idea. You may need to convert formats. A quick Google found
I have successfully used a server signed cert with tomcat.
The step by step guide is quite lengthy. I'll give you the edited highlights and
please follow up if you have any more questions.
1. Create key in .keystore with alias tomcat
2. Generate a signing request and sent to CA
3. Receive signed
implementation when moving from PKCS#7 to X.509 certificates?
-Original Message-
From: ext Mark Thomas [mailto:[EMAIL PROTECTED]
Sent: Friday, January 16, 2004 5:20 PM
To: 'Tomcat Users List'
Subject: RE: Using CA-issued certificates in Tomcat 5
Try this - don't delete the alias
Allan,
Essentially, don't use packageless classes. The FAQ
http://jakarta.apache.org/tomcat/faq/classnotfound.html has a bunch of
references regarding this.
Mark
-Original Message-
From: Allan Bruce [mailto:[EMAIL PROTECTED]
Sent: Saturday, January 17, 2004 9:40 PM
To: Tomcat
Try this - don't delete the alias before importing the response.
What happens is:
keytool -genkey -alias tomcat -keyalg RSA
Creates your private and public key
keytool -certreq -keyalg RSA -alias tomcat -file certreq.csr
wraps a copy of your _public_ key in a certficate request
... got the
AFAIK the only difference is that the developer edition is designed to give poor
performance if you have more than 5 concurrent connections. Otherwise they
should be the same.
Mark
-Original Message-
From: Søren Blidorf [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 15, 2004 11:04 PM
Try this in your {JAVA_HOME}\jre\lib\security directory
keytool -list -v -keystore cacerts
You'll need to enter your keystore password. This is changeit by default unless
someone had the good sense to do the obvious.
This will give a long list of the certificates including the validity dates.
Should be something like this to remove expired certs
keytool -delete -alias verisignclass2ca -keystore -cacerts -storepass changeit
keytool -delete -alias verisignclass3ca -keystore -cacerts -storepass changeit
keytool -delete -alias verisignclass4ca -keystore -cacerts -storepass changeit
For the current version of the CGI script the CGI scripts need to be in the
WEB-INF/cgi directory. They are then available via the /cgi-bin/ path. Also, the
webapp must be deployed in an expanded state.
ie: if you deploy myApp.war to the webapp directory containing
WEB-INF/cgi/myScript.cgi then
I do this with Eclipse all the time. The steps to reproduce my configuration are
shown below.
1. Configure the following environment variables:
JPDA_ADDRESS=8999
JPDA_TRANSPORT=dt_socket
2. Start tomcat from the command line with:
catalina jpda start
or
catalina jpda run
3. In Eclipse configure
Resending from the right account...
I do this with Eclipse all the time. The steps to reproduce my configuration are
shown below.
1. Configure the following environment variables:
JPDA_ADDRESS=8999
JPDA_TRANSPORT=dt_socket
2. Start tomcat from the command line with:
catalina jpda start
or
401 - 456 of 456 matches
Mail list logo