Original Message
Subject: ApacheCon Europe 2005: Registration open and conference program
online!
Date: Fri, 06 May 2005 13:41:42 +0200
From: Lars Eilebrecht <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Registration for ApacheCon Europe 2005 is now open at www.apachecon.com.
Check
Actually, take a look at:
http://www.javaworld.com/javaworld/jw-12-2000/jw-1229-traps.html
-- Jeanfrancois
Shapira, Yoav wrote:
Hi,
You would also want to give the full path to cmd.exe possibly, depending
on how you launch Tomcat.
Yoav Shapira http://www.yoavshapira.com
-Original Message-
Mohamed Rafi S wrote:
Hi All,
I need to run a Embedded Tomcat server in my application. For this, I
checked the sample code and docs, and did the needful.
My application's main class is ApplicationLoader.java, and in the main()
method of my ApplicationLoader.java, I am doing a
appLoader.star
Chris Cherrett wrote:
I have found a work around. It would require that we werite our jsps.
If I pass this to my controller it crashes in Tomcat 5
document.frmGeneral.taskService.value = "/";
This works
document.frmGeneral.taskService.value = "";
Does this help?
Yes. I will still fix the problem (
Gunnar Brading wrote:
I have been in need of using the tag in a Tomcat-only
environment... Is this possible? Reading the source indicates that it
wouldn't be possible to get the information about the role the context
currently is in. Using the requests in-role methods of course tells me
about
s List'
Cc : 'Jeanfrancois Arcand'
Objet : RE : RE : RE : RE : how to access Subject after authentification
The command line is ok !
But I have an exception :
Caused by: java.io.IOException: Impossible de trouver une configuration de
connexion
Hehe :-) Pas mal comme messa
LERBSCHER Jean-Pierre wrote:
Could you tell me what is the correct configuration to access the jaas login
file with this security manager.
You need to start Tomcat using the -security
./catalina.sh start -security
-- Jeanfrancois
Thanks
-Message d'origine-
De : Jeanfrancois A
ist'
Objet : RE: RE : how to access Subject after authentification
I have tried both of these and they both return null!
-Original Message-
From: Jeanfrancois Arcand [mailto:[EMAIL PROTECTED]
Sent: 20 July 2004 16:30
To: Tomcat Users List
Subject: Re: RE : how to access Subject after
Two ways:
httpSession.getAttribute("javax.security.auth.subject")
or
Subject.getSubject(AccessControl.getContext())
-- Jeanfrancois
Matt Harrison wrote:
Sorry for mis-reading your email
If anybody out there knows how to retrieve the Subject, Jean-Pierre and I
would most appreciate it!
But, if, as I
Matt Harrison wrote:
Hi
I've implemented a JAAS Realm authentication module for my servlet/JSP
web-app which is working a treat.
Can anybody tell me how to access in my servlets the
javax.security.auth.Subject object generated at login?
You can get it using
Subject.getSubject(AccessController.g
snpe wrote:
Is there plan that tomcat support JSF specification ?
JSF has been tested on both 4.1.x and 5.x. Just bundle the JSF lib with
your war files.
-- Jeanfrancois
regards
Haris Peco
-
To unsubscribe, e-mail: [EMAIL PRO
[EMAIL PROTECTED] wrote:
I have an application which embeds tomcat 4.1.12. It dynamically creates
contexts, adding wrappers for servlets, etc. Due to the dynamic nature of
this application, it can add and remove servlet mappings after the context
has been started (added into a host in the sta
Yes,
just write your own extension of org.apache.catalina.Realm (or extend
o.a.c.realm.RealmBase)and read:
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/realm-howto.html
then follow the instruction on how to install your own valve (search
the list :-) )
-- Jeanfrancois
Carl Howells wrote:
Is
Nikhil Sidhaye wrote:
Hello Friends,
Recently I got strange error on tomcat startup. I tried tomcat
4.0 as well as tomcat 5.0. But it shut down by giving strange error.
Socket "create" is not supported. while in tomcat 5.0 it gives
the same error indicating port no 8005 which is f
Patrick Willart wrote:
Hello,
I've added the following to my conf/web.xml but it looks like Tomcat
(5.0.18) isn't picking this up. It's serving the file as a plain text file.
I've tried adding the mime-mapping to my applications web.xml but also
without result.
wmv
video/x-ms-wmv
Sander Smith wrote:
I have a problem that I'm unfortunately finding little documentation
to help. I'm writing a servlet and embedding it in a larger Java
program by using the org.apache.catalina.startup.Embedded class.
Things have been working fine up until now. I'm currently trying to
add SSL
Viktor Matic wrote:
On Wed, 2004-05-19 at 18:49, Jeanfrancois Arcand wrote:
/*This line is in servlet service method*/
Subject.doAsPrivileged(subject, new SecuredActions(), null );
Yes, that's probably the problem since SecurityUtil has already set that
value.
Viktor Matic wrote:
On Wed, 2004-05-19 at 17:23, Jeanfrancois Arcand wrote:
Well, take a look at org.apache.catalina.security.SecurityUtil. I am
setting the Subject/AccessControlContext there. I think that might cause
your problem, but I need more info ;-). AnybodyPrincipal is trying to do
Viktor Matic wrote:
We are getting java.lang.ClassCircularityError on the Tomcat 5.0.x (we
have tested the same code on a following releases 5.0.18, 5.0.19 and
5.0.24). The java source code, which we have used for the testing
purposes, consists of the servlet which use our custom implementation of
Janne Väänänen wrote:
I resolved this. The problem was in SecurityUtil.java execute method.
fixed code in execute method:
...
if (subject == null){
subject = new Subject();
//I added following two lines
if (principal != null)
subject.getPrincipals().add(principal);
OK I will take a look and po
anager.
-- Jeanfrancois
*sigh* Any thoughts?
- Original Message -
From: "Jeanfrancois Arcand" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Thursday, April 15, 2004 2:55 PM
Subject: Re: Extending GenericPrincipal/RealmBase: Essentially a
Andrea Powles wrote:
Hi Tomcat users,
I wish for one of my web apps in Tomcat to execute another program on my computer using the exec method. I know that I can’t currently do this due to the security restrictions.
I have tried changing the Catalina policy file but I’m unsure of exactly what
Rossen Raykov wrote:
Probably you can define interface and use casting while you are accessing
your Principle implementation. Frankly, I didn’t try it but it seems like
usable solution.
There is another technique that is quarantined to work though. It is very
simple and employs only Java’s Refle
John H wrote:
HI all,
He have implemented our own realm and principal buy extending org.apache.catalina.realm.RealmBase and GenericPrincipal.
(Using TC5.0.19 on Solaris and Windows. Realm defined in .)
By doing this, however, we've got ourselves into sort of a catch 22 in terms of classloadin
You will need to write a valve in you want to interact with a Realm. See
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/valve.html
The Realm is not available either to the servlet nor filter.
-- Jeanfrancois
Zsolt Koppany wrote:
Hi,
how can I find the Realm of my tomcat application f
Jeanfrancois Arcand wrote:
Philippe Couas wrote:
Hi,
Anyone know where i can found RPM for Tomcat 4.1.30 ?
Here : http://www.jpackage.org/rpm.php?id=2570
:-)
-- Jeanfrancois
jpackage has Tomcat 5 (I did look for Tomcat 4.x...maybe it's there)
http://www.jpackage.org/rpm.php?id
Philippe Couas wrote:
Hi,
Anyone know where i can found RPM for Tomcat 4.1.30 ?
jpackage has Tomcat 5 (I did look for Tomcat 4.x...maybe it's there)
http://www.jpackage.org/rpm.php?id=2571
-- Jeanfrancois
Regards
Philippe
---
y war file with ant-1.6.1 then copied it to the webapps folder
of tomcat-5.0.19. I have the j2sdk1.4.2_03 installed on my machine. When i
start tomcat i have this error.
- Original Message -
From: "Jeanfrancois Arcand" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <
patrick khadra wrote:
When I start tomcat 5, I always get this error. I tried to delete the
configListener.class of the jsf-ri.jar that i need for my jsf
application, but i still get a similar error about the
ConfigListener.class and my webapp can't run. What should I do to make
my jsf webap
ALINA_HOME. Now,
the existing security policy works.
Yes, except it is not supposed to work like that. I will try to fix it
tonigh or tomorrow.
Thanks
-- Jeanfrancois
Jason.
On Tue, 16 Mar 2004, Jeanfrancois Arcand wrote:
Jason Keltz wrote:
Hi.
I've been using the manage
Jason Keltz wrote:
Hi.
I've been using the manager webapp, but after enabling the security
manager (-security on tomcat startup), the manager doesn't run any longer,
giving this error:
type Exception report
message
description The server encountered an internal error () that prevented it
from
Chris Wilt wrote:
Are there any known issues with TomCat running on a Solaris9 OS? I am
currently running TomCat v4.1.27 running on Solaris 2.6 and we are in
the process of upgrading to Solaris9.
Not that I am aware of. Works fine for us.
-- Jeanfrancois
Thanks in advance for your help.
Nathan Maves wrote:
My webapp that is configured for logging work perfect on sun one app
server but now nothing show up in the catalina.out on Tomcat 5.
Any ideas?
Humm...SunOne App Server uses Tomcat 5 and I don't remember fixing such
problem when I integrated Tomcat 5 ;-) Are you sure your
Michael Mangeng wrote:
Hi
I´ve embedded tomcat within our application.
In the embedded class (API-docs) is described:
...
Call |createConnector()| to create at least one TCP/IP connector, and
then call its property setters as desired.
...
The problem is that the Connector interface (
http://
SH Solutions wrote:
Hi
I experience problems using 5.0.18 that did not occur running 4.0.6, but I
do NOT want to revert to it.
Maybe you could help me:
Actually I have a system that uses classloaders for loading add-in groups.
The two most important functions are:
protected Class findClass( St
Brandon Goodin wrote:
I've looked through the release notes and various other files. But, I cannot
find anything that actually shows a list of changes for the versions. Am I
missing it? If not, then that seems pretty crucial to a release.
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/change
rlipi wrote:
Hi,
I found that it is possible to set Single Sign On for all web
aplications running in some "Host".
I do that according to this topic:
http://www.ingrid.org/jajakarta/tomcat/tomcat-4.0b5/src/catalina/docs/si
nglesignon.html#Security. And it also works on Tomcat 5.
I welcome this
Webmaster wrote:
Hi !
On Tue, 27 Jan 2004 12:14:16 -0500, Jeanfrancois Arcand <[EMAIL PROTECTED]> escreveu:
De: Jeanfrancois Arcand <[EMAIL PROTECTED]>
Data: Tue, 27 Jan 2004 12:14:16 -0500
Para: Tomcat Users List <[EMAIL PROTECTED]>
Assunto: Re: Tomcat + Hibernate2
Guy Rouillier wrote:
Jeanfrancois Arcand wrote:
Can you post the entire stack trace? This exception usually
occurs when
a doPrivileged block is missing (when -security). I will try to
reproduce the problem since it is a bug in Tomcat.
Jeanfrancois, I'll include the entire stack tra
Webmaster wrote:
Hi all,
I know this is a little bit out of topic, but the general concept is useful for everybody.
I run tomcat with security manager for a dozen users. Recently, people started to use the hibernate 2 which requires some funky permissions.
I had to put these lines in the 'glo
Can you post the entire stack trace? This exception usually occurs when
a doPrivileged block is missing (when -security). I will try to
reproduce the problem since it is a bug in Tomcat.
Do you have the same exception if you don't turn security on? What your
servlet is trying to do?
Thanks
--
Candyman wrote:
Tomcat 5.0.18 more stable than 16, but it still have a lot of errors and
bugs.
He! before making such statement, can you dress a list of "lot of errors
and bugs"? Your statement is completely wrong. There is not a lot of
errors and bugs:
http://nagoya.apache.org/bugzilla/bu
ks (you need
to understand how the mapper works, etc.). The main object to look at
is MappingData where the result of the mapping is stored.
-- Jeanfrancois
Thanks
again.
-Original Message-
From: Jeanfrancois Arcand [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 15, 2004 11:21 A
bject to look at
is MappingData where the result of the mapping is stored.
-- Jeanfrancois
Thanks
again.
-Original Message-
From: Jeanfrancois Arcand [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 15, 2004 11:21 AM
To: Tomcat Users List
Subject: Re: org.apache.catalina.HttpRequest
Marten Lehmann wrote:
Hello,
I was setting fine grained permissions to my webapp, but always an
exception was thrown. So I tried to use
grant {
permission java.security.AllPermission;
};
but even with that, my application doesn't run (which it does without
-security). When calling the si
Green, Jeffrey wrote:
Hello all. Using valves in Tomcat 4, we successfully managed to intercept
requests to specific contexts and direct them elsewhere. For example, we
could intercept all requests to /SECRETWEBAPP and redirect them to /.
In order to accomplish this, we used valves which wo
BTW you can get the nightly build here:
http://cvs.apache.org/builds/jakarta-tomcat-5/nightly/
Instead of building tomcat from scratch :-)
-- Jeanfrancois
[EMAIL PROTECTED] wrote:
That sounds good.
I'll get the CVS head and check this out. We won't really put much
stress on those server for
thuret olivier wrote:
no thanks i see my error i'm a noobie ..
Have you fixed your problem?
-- Jeanfrancois
- Original Message -
From: "thuret olivier" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Friday, January 09, 2004 5:00 PM
Subject: java.sec
anis wrote:
Hi,
I am using JBoss 3.2.3 with embedded Tomcat 4.
I am developping a secure web-application based on JAAS. The problem is that I want to
use my own custom Principal.
I made the necessary changes in JBoss and EJBContext.getUserprincopal delivers the
right Implementation.
But when
To be sure your web.xml is correct, turn xml validation on. In
server.xml, replace:
by
That may help next time you see such problem.
-- Jeanfrancois
Patrick Scheuerer wrote:
Shapira, Yoav wrote:
Howdy,
OK, now that's the 3rd different version of the filter elements in your
web.xm
J2EE 1.4 SDK (which contains Tomcat 5) uses the Single Sign on feature
and it is working fine. So just add the SingleSignOn valve in your
server.xml.
-- Jeanfrancois
Chris Ward wrote:
Hi,
I was asking about this subject on this list a while back
http://www.mail-archive.com/tomcat-user%40j
Algirdas M. wrote:
Hello,
I've edited catalina.policy and added line:
grant codeBase "file:${catalina.home}/webapps/vvv/WEB-INF/lib/-" {
permission java.security.AllPermission;
};
restarted Tomcat. And when I'm running an application from
vvv/WEB-INF/lib, I'm still becoming exception:
"
FRANCOIS Dufour wrote:
near off mtl for a couple hour off work ill pay 40$ an hour
..and I was under the impression my english was bad ;-)
mtl = Montreal and you are probably looking for a JSP/Servlet expert,
not a Tomcat programmer.
Va voir sur Jobboom ou Monster.ca/fr et rediges ton messag
Read:
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/index.html
Then ask more technical questions (make sure you search the list first)
-- Jeanfrancois
Rahul Toraskar wrote:
Hi,
I am new to Tomcat env. I am using Tomcat 5.0 with Oracle 8.1.7 on Windows
2000 Platform. Earlier i was working on
Kwok Peng Tuck wrote:
Hi list ,
With regards to the security manager in tomcat, is it possible
to ship a policy file with each webapp ?
No it is not. You have to put those permission in catalina.policy.
-- Jeanfrancois
--
"user experience" come into the picture (or I'm very bad...).
-- Jeanfrancois
Regards
Alex
-Original Message-
From: Jeanfrancois Arcand [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 10, 2003 3:21 PM
To: Tomcat Users List
Cc: Ankur Shah
Subject: Re:
ormal tomcat log entries for some strange reason?
Like that.
-- Jeanfrancois
-Original Message-
From: Jeanfrancois Arcand [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 10, 2003 9:33 AM
To: Tomcat Users List
Subject: Re: strange output in localhost_log
You probably have some left over
You probably have some left over from an unsucessful deployment. This
exception means the Context(your app) wasn't started properly and Tomcat
is now trying to stop it.
-- Jeanfrancois
Luc Foisy wrote:
First, what would cause this output in my localhost_log file? Is this a tomcat shutdown?
20
Baer Peter Christoph Alexander wrote:
Am Dienstag, 9. Dezember 2003 20:54 schrieb Ankur Shah:
Remy Maucherat wrote:
Baer Peter Christoph Alexander wrote:
Hi!
I have a question about something, I observe, but don't
want to believe... ;-)
Tomcat 5 can use my keystore, but only if t
3 methods has been added to HttpServletRequest:
public int getRemotePort()
public java.lang.String getLocalName()
public java.lang.String getLocalAddr()
public int getLocalPort()
See section SRV.1.6.2
Be aware that this addition causes source incompatibility in some
cases, such
as when a devel
9-1"),
you now get it in the response.
I will continue using Tomcat 4.1.27 until the fixed release of 5 is stable.
Will be released soon.
-- Jeanfrancois
Thanks,
Steve
-Original Message-
From: Jeanfrancois Arcand [mailto:[EMAIL PROTECTED]
Sent: 01 December 2003 17:54
To: Tomca
Bill Barker has already fixed this:
org.apache.coyote.Response
revision 1.31
date: 2003/11/16 05:20:23; author: billbarker; state: Exp; lines: +10 -3
Restore the ability to explicitly set the charset to iso-latin-1.
Download the latest Tomcat 5 source and try it.
-- Jeanfrancois
Stephen Thoma
See http://jakarta.apache.org/tomcat/tomcat-4.1-doc/manager-howto.html
[ and search the list before asking :-) ]
-- Jeanfrancois
Kumar, Sumit wrote:
Hello,
I am running tomcat 4.1. Can I deploy the servlet after my servlet code has
changed without restarting the server. I am running Tomcat in
See http://jakarta.apache.org/tomcat/tomcat-5.0-doc/deployer-howto.html
-- Jeanfrancois
Rainer Stransky wrote:
What is the common way to install a new version of a war file ?
My experience is, that I have to stop tomcat, delete the .../webapps/app_dir
copy a new app_dir.war to .../webapps and s
See
http://java.sun.com/j2se/1.4.1/docs/guide/standards/
-- Jeanfrancois
Basavaraju P. Banakar [SLK-India] wrote:
Hey all,
I found from the tomcat users list that xalan.jar has to be placed in the
"..\common\endorsed" folder.
but i could'nt find reason behind that...
could someone help in under
I suspect you need to add something like
JPDA_Connector=SharedMemoryAttach. I'm using Netbean and that's very
easy using the current catalina.bat setting. You maybe want to ask the
question to JSwat peoples since they probably know how to to that on win2k.
-- Jeanfrancois.
Wendy Smoak wrote:
It depends on which JPDA connection method you use. Under windoses, you
can use SharedMemoryAttach (transport dt_shmem) or dt_socket (like
UNIX).. See the JPDA documentation for more info :-)
-- Jeanfrancois
Karr, David wrote:
It seems perfectly reasonable to me to default JPDA_ADDRESS to 8000
have any lines with more
than 80 characters.
Or were you referring to web-app_2_3.dtd that comes with struts.jar?
Am I missing something?
Jeanfrancois Arcand wrote:
Xerces 2.2.1 is broken :-) 2.2.2 also :-) ... with Tomcat.
See http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13282 for t
Humm...not clear. I guess you mean the principal. Looks at:
HttpServletRequest.getUserPrincipal() that returns the current
authenticated user
HttpServletRequest.isUserInRole(String role) to see if the current
authenticated user is included in the specified logical role.
-- Jeanfrancois
fangfan
Xerces 2.2.1 is broken :-) 2.2.2 also :-) ... with Tomcat.
See http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13282 for the real
story.
The file that produce the error is struts-config.xml, but you cannot
predict on which file it will crach.
Xerces 2.3.0 works fine for me. You should give
Seems to me that you don't have all the Solaris paches required to run
the VM. I don't have any problems under Solaris 5.8 but if you think you
have all the patches, you may file a bugs against the VM (not Tomcat
since it is a VM crash)
-- Jeanfrancois
Will Hartung wrote:
Anyone else getting
Tomcat 4.1.1x requires JDK 1.2.x and higher. Tomcat 5 requires 1.3.x and
Tomcat 3.x requires 1.1.
-- Jeanfrancois
Tref Gare wrote:
Hi all,
A quick question for a friend who needs to install Tomcat 4.1.12 into a
JDK 1.2 environment. Are there any limitations or constraints regarding
which vers
uot;connect";
// permission java.net.SocketPermission "*.noaa.gov:80", "connect";
// };
//
// The permissions granted to the context WEB-INF/classes directory
// grant codeBase "file:${catalina.home}/webapps/examples/WEB-INF/classes/-"
{
// };
//
// The permission gra
Can you post your catalina.policy file? Your file should contains that
permission:
// These permissions apply to the server startup code
grant codeBase "file:${catalina.home}/bin/bootstrap.jar" {
permission java.security.AllPermission;
}
-- Jeanfrancois
Harish Kumar K.K. wrote:
Hello All
Hop
The feature you want has been implemented in Tomcat 5 (not in Tomcat
4.1.x).
You can probably port it if you realy needs it (see
http://cvs.apache.org/viewcvs/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/security/SecurityUtil.java)
or starts using Tomcat 5.
-- Jeanfrancois
Is your Servlet have a package name? If no, it should.
example:
WEB-INF/classes/my/package/SessionTestServlet
and then try something like that
SessionTest
my.package.SessionTestServlet
-- Jeanfrancois
Pooleery, Manoj wrote:
Maybe I am doing this incorrectly - but I have a servlet
A better solution is to use a database to store your username/password
information and configure the JDBCDatabaseRealm (instead of the default
one: MemoryRealm). See
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/realm-howto.html
-- Jeanfrancois
A.VERGES wrote:
Hi,
Do you know any way to e
Or maybehe is using the old Xerces (1.4.4) with the new Xerces(2.x).
They have make huge changes between the 2 versions and backward
compatibility is no longer supported (Xerces 1.4.4 doesn't fully
supports JAXP, Xerces 2.x does). They probably use a public API, but not
the JAXP one. You will
Jim Henderson wrote:
I have been in IT for approximately 25 years
Scary ;-)
and worked with Cobol, C++,
Fortran, PL1, Java, and others on IBM S390, PDPs, AS400s, PCs.
No Lisp? That's the problem!
I believe
Tomcat is a great server environment. It has a lot of strengths and is
evolving
guration.java:581)
at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:152)
at
org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1175)
...
Any advice?
bfn,
Ward.
On Sun, Feb 02, 2003 at 04:17:13PM -0500, Jeanfrancois Arcand wrote:
There is no such concept associated with se
guration.java:581)
at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:152)
at
org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1175)
...
Any advice?
bfn,
Ward.
On Sun, Feb 02, 2003 at 04:17:13PM -0500, Jeanfrancois Arcand wrote:
There is no such concept associated with se
Seems you JAva VM is not properly installed. If you type java -version,
does it works? Are other Java programs work?
-- Jeanfrancois
Pierre-Philipp Braun wrote:
Hi all,
now i'm trying the binaries from http://jakarta.apache.org/ but i've got
difficulties setting this up even.
When i do:
# bin
Could you post your web.xml file? That will be a good starting point for
us to help you :-)
-- Jeanfrancois
John Qin wrote:
Ijust installed tomcat 4.1.18 today.
everything seems fine. i can see this page
http://localhost:8080/index.jsp. and i run those
Servlet Examples, it showed up, everytin
There is no such concept associated with server.xml.But there is in XML
:-) You can define an ENTITY element at the top of your server.xml file
and reference it inside the body of the element. Do something
like this:
http://your_configuration.xml";>
and then inside the element:
&coyoteC
You can also use HttpServletRequest.getUserPrincipal() to get the
current user.
-- Jeanfrancois
Barney Hamish wrote:
see the j2ee documentation on the request object...
There is the method getRemoteUser()
-Original Message-
From: Shah, Sanjay [mailto:[EMAIL PROTECTED]]
Sent: Frid
Yes, they were a lot of change between 4.1.18 and 4.1.19. That's why it
is considered alpha...
-- Jeanfrancois
Steve Vanspall wrote:
Hi there,
I reported a bug, in tomcat 4.1.18, to bugzilla. The reply I got stated that
it was fixed in Tomcat 4.1.19, having not found a link to the binary for
4
Yes, you can. See
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/cgi-howto.html
-- Jeanfrancois
Red Hat wrote:
Is it possible to run standard cgi perl scripts under tomcat 4.x?
Thx,
CC
Chuck Carson
Sr. Systems Engineer
Syrrx, Inc.
10410 Science Center Drive
San Diego, CA 92121
Work: 858.731
The endorsed dir is used when you want to use another parser that the
one included by default with JDK 1.4 (Crimson). The error you have is
produced because Tomcat requires the full JDK, not only the JRE (the jsp
compiler uses classes from tools.jar, which is only included with the JDK).
- Jean
That should not make any differences since Tomcat (aka the Digester) use
local copy of the DTD. So even if the URL is wrong, internally, Tomcat
uses the previous one and your app should still deploy.
As why the URL change, I guess it is related when java.sun.com where
re-designed :-(
-- Jeanfr
Which Tomcat version are you using (works for me with 4.1/5.0)? From the
error you have provided, seems you are trying to get access to class
ManagerServlet from one of your class. ManagerServlet class is package
protected by Tomcat when running with the security manager (your case).
If you wan
No since web.xml is servlet specific (and Realm are Tomcat specific).
On solution is to create your_app_name.xml that contains a
element that define your realm, put it under /WED-INF and include an
HOW-TO-DEPLOY-THIS-WEB-APP file somewhere in your war file to tell
people how to deploy your ap
Oups (remove the quote)
]>
-- Jeanfrancois
Jeanfrancois Arcand wrote:
I thin it should be defined like this:
"]>
I did not try it but that the way ENTITY works usually.
-- Jeanfrancois
Turner, John wrote:
Sorry, that should be
Typo in "vhost".
John
I thin it should be defined like this:
"]>
I did not try it but that the way ENTITY works usually.
-- Jeanfrancois
Turner, John wrote:
Sorry, that should be
Typo in "vhost".
John
-Original Message-
From: Turner, John [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 08,
No, only manager and admin role are known by Tomcat.
-- Jeanfrancois
Peter Lee wrote:
Does anyone know the usage of the rolename "provider" Any special meaning to
that?
On 3 Jan 2003 at 10:58, Jeanfrancois Arcand wrote:
If you click on the link you just provided, read in
This is against the spec. You cannot replace endorsed library within
your web app (http://java.sun.com/j2se/1.4/docs/guide/standards/). The
Tomcat classloader just ignore the jar file.
see : SRV.9.7.2Web Application Classloader
in the Servlet 2.4 specification
(http://jcp.org/aboutJava/commun
Arthur Chan wrote:
Hi.
I use j2sdk1.4.0 + Apache2 + Tomcat4.0.4 + mod_jk
My applets access tomcat servlets to query an Ora9i database.
Most of the client W98, NT4 and W-XP can access my applet to query the servlets with the exception of 2.
One client uses java 1.3.1_03 and when he tries to use
What kind of errors are you seeing? There is a defaut parser that comes
with JDK 1.4.x (Crimson) and if you want to use Xerces, copy the
xercesImpl,.jar under ${catalina_home}/common/endorsed. With which
Tomcat version it was working before?
-- Jeanfrancois
Jared Walker wrote:
hi all,
I recen
John Clark wrote:
I have spent some time looking at the FAQs, archives, etc. but cannot find
the information I need, can anyone help.
I have an intranet application (using JSP) that currently runs using Oracle
9i (Apache built in) on Linux and using Oracle 8 and Tomcat on NT/2000.
I now want
If you click on the link you just provided, read in the middle of the
page :-), you will read :
"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_
Cookies are disabled in your browser, not in Tomcat :-) Look under
preferences or options menu (based on your browser)
-- Jeanfrancois
Albrecht Berger wrote:
Hello,
I read that it is possible to disable cookies.
Could someone provide a server.xml or web.xml
where cookies are disabled ?
The info
1 - 100 of 153 matches
Mail list logo