Hi,
we have a problem when we try to use the JNDI Realm from tomcat (5.0.27) to
access Lotus Domino LDAP (Version 5.0.12) server. According the logs the
user can be found but the binding is somehow not successful. We tried
binding and comparison modes. Unfortunately we cannot use anonymous binding
Thanks Bill,
I am able to get the servlet metrics, but for getting
connector metrics i replaced tomcat_jk.jar from TC
5.0. Even then I am not getting the connector metrics
as i get in TC 5.0. I want to monitor the bytes sent
and received through the connectors. In TC 5.0 I can
get these metrics th
Dear all,
(B
(Bcould you please tell me what versions of Apache (both major and minor)
(Bdoes Tomcat 3.3.1 officially support?
(B
(BWhat about 4.1.12?
(B
(BAlso, what JDK version would you suggest using with both Tomcat 3.3.1
(Band 4.1.12 respectively?
(B
(BThanks in advance!
(B
(BTakes
Are you a spammer? (I found your email on a spammer website!?!)
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Well I didnt expect this answer from GURU, but THANK YOU VERY-VERY MUCH!
Tuesday, August 24, 2004, 9:43:54 AM, you wrote:
> Hi,
> Yes, you can do this with Tomcat by itself. RTFM on the Remote Host
> Filter Valve at
> http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/valve.html.
> Yoav S
oh, I didn't realize the new 4.1.31 includes back port of the new
status servlet in tc5.
or am I mis-reading that?
peter
On Tue, 24 Aug 2004 20:16:08 -0700, Bill Barker <[EMAIL PROTECTED]> wrote:
>
> "Shapira, Yoav" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
>
> >Hi,
> >
> >
"Shapira, Yoav" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>Hi,
>
>>Does Tomcat 4.1.30 provide any MBeans for monitoring
>>the above metrics?
>
>No.
Pure FUD. You need to specify the jsr77Names="true" attribute to the
ServerLifecyleListener to have TC 4 JMX register the servlet
: I'm new to tomcat and trying to figure out how to deploy a WAR file without deleting
all the contents of the old application.
: [snip]
: The reason I want to do this is because my data and program files are all under the
same hierarchy. I want to replace my programs, but not my data. I tried
Maybe you want to automate the build process so you don't depend on
your expanded directory to store your data ?
Say in ant just generate the war file along with your data (from your
build directory) then deploy it.Then you never really worry what
tomcat does to your war file or the directory it ex
Just a "me too".
Slackware 9.1
Apache 2 (sorry, can't find minor version)
Tomcat 4.1.30
JK 1.2
I get the same sort of thing in my catalina.out, and only on POST
submissions. If I switch my form temporarily to GET, the dump goes away.
Here's my server.xml (which has been trimed from the 'out
Hi,
I'm new to tomcat and trying to figure out how to deploy a WAR file without deleting
all the contents of the old application. That is, I want to overwrite the files with
my new archive but not delete any other files that were already there.
The reason I want to do this is because my data a
Hi everyone. More on this problem. When I do --
then, in org.apache.catalina.servlets.CGIServlet.java, inner class
CGIEnvironment, method "boolean setCGIEnvironment(HttpServletRequest)",
the following is true --
sPathInfoOrig = "/search/test.pl"
sCGINames[0] =
"/home/ihab/swdev/smdj/weba
On Aug 10, 2004, at 9:19 AM,
<[EMAIL PROTECTED]> wrote:
From: "Benjamin Armintor" <[EMAIL PROTECTED]>
Date: August 10, 2004 9:19:07 AM PDT
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Subject: RE: Request parameters in catalina.out
Are you using log4j to handle the Tomcat internal logs? I had a
I wrote a jsp file to read the cert file from the C:/certs dir. Initially i
got the same error,
then i changed the catalina.policy file to include file name
permission java.io.FilePermission "C:/certs/f73e89fd.0", "read";
and it worked.
But for some reason the verisign authentication still sho
Hi All,
I am using Apache (1.3) as my http server, and tomcat (3.3)
as my jsp container for my servlet. I can access my servlet
via http://myhost/myservlet. I configured the apache to request
users to enter username/password when myservlet folder is accessed.
I can see the IE popped up a window to
I am using -security option to run TC.
I am not quite sure about the syntax of the policy file, i should check
that,
but can u suggest me what is the correct syntax ?
and also i will try to read this file using some test.jsp and let you know.
thanks.
-Original Message-
From: Benjamin Armin
You shouldn't need to add it anywhere else: Permissions are cumulative,
so if that file permission is in a grant{} block, all the code running
under the jvm will have it. You mentioned making the changes to
java.policy as well: This should be unnecessary, as the catalina.policy
file is the only on
Also in the workers2.properties file I have seen uri entries with ether
worker or context. Neither both.
[uri:/*.jsp]
Context=/
[uri:/servlet/*]
Context=/
or
[uri:/*.jsp]
worker=ajp13:localhost:8009
[uri:/servlet/*]
worker=ajp13:localhost:8009
The log I posted makes me seem to think it's a
No certs is a directory. shall i add it in other place other than the
general grant block.
-Original Message-
From: Benjamin Armintor [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 24, 2004 4:09 PM
To: Tomcat Users List
Subject: RE: java.security.AccessControlException: access denied
I
On Tue, Aug 24, 2004 at 04:14:19PM +, Didier McGillis wrote:
> The site is all Java, tomcat is the app and web server, I have never dealt
> with Tomcat as a web server so is it easy to setup tomcat to handle ssl
> certs and https requests. Any thing I have to watch out for?
One thing
If "certs" is a file and not a directory, take off the "\\-" at the end
of the permission url.
Benjamin J. Armintor
Operations Systems Specialist
ITS-Systems: Mainframe Group
University of Texas - Austin
tele: (512) 232-6562
email: [EMAIL PROTECTED]
-Original Message-
From: Shilpa Nalg
Some configuration info -- sorry for not including in previous post.
I am running Tomcat 5.0.27.
Here are the related log entries from localhost_log.*.txt --
2004-08-24 12:58:41 StandardContext[/smdj]cgi: findCGI:
path=/smd/html/index.jsp, /home/ihab/swdev/smdj/webapp/smd/cgi-bin
2004-08-24 12:58:
I added the below line in the general grant{} block.
permission java.io.FilePermission "C:\\Program Files\\Apache Group\\Tomcat
4.1\\certs\\-", "read";
I tried placing the certs file in other directory too where there is no
whitespace issue. But i still have the problem.
can you think of anything
Ok to begin with here is my problem this is a log file generated by jk2
when IIS is trying to work with Tomcat
38222,0.7035417,"Apache Jakarta
Connector2",None,None,4,N/A,SERVER,"Debug: [jk_isapi_plugin.c (308)]:
In HttpFilterProc Virtual Host redirection of host.domain.com : 80"
Hi folks,
I am trying to get a tag to include the contents of a CGI
which is deployed in the same webapp using the CGI servlet.
My JSP page is mapped (webapp relative) to --
/smd/html/index.jsp
and my CGI mapping is to the path --
/smd/html/cgi-bin/*
In my JSP page, the following --
works
Where did you add the permission in the catalina.policy file? In a
general "grant{}" block?
If not, it's possible that your code doesn't have the permission.
It may also be the case that the whitespace in the filepath causes
problems, but someone who actually runs on Windows could tell you better
When using Tomcat 5.0.27 the following error shows up in the catalina.log
file;
SEVERE: Remote Host 12.159.66.150 SocketException: Connection reset
org.apache.tomcat.util.net.TcpWorkerThread runIt
The ip address 12.159.66.150 is a load balancer that front-ends Tomcat and
checks periodically to mak
I am running Tomcat4.1.30 on windows 2000, with security option turned on.
My java application which is using JDK 1.4, connects to the the credit card
authorizing company called verisign, and returns the approval authorization
code.
I have installed the digital certificate on $TOMCAT_HOME\certs d
What is the content of the perl script?
Mark
> -Original Message-
> From: Marek Gimza [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, August 24, 2004 6:43 PM
> To: Tomcat Users List
> Subject: CGI-BIN - TOMCAT 4.1.29
>
> Hi,
>
> I would be grateful for some assistance
>
> I have spen
Hi,
>(1) I config minProcessors="1", maxProcessors="2" and I appear to get
>servicing of a single request. Increment maxProcessers and I get
concurrent
>servicing of 2 requests, and so on. What exactly is the additional
thread
>used for (shutdown listener? thread pool manager? something else?).
>
I am running Tomcat4.1.30 on windows 2000, with security option turned on.
My java application which is using JDK 1.4, connects to the the credit card
authorizing company called verisign, and returns the approval authorization
code.
I have installed the digital certificate on $TOMCAT_HOME\certs di
Yoav,
Thanks for the + feedback. Apologies for response delay - I'm digest only
and also had wicked work backlog past couple weeks. Will submit a Bugzillia
item as requested.
Additional questions seem relevant prior to that (in the "be careful what
you ask for..." department ;-). With the ou
Thank you QM! I was about to write a similar thing myself.
On 8/24/2004 7:50 AM, QM wrote:
On Tue, Aug 24, 2004 at 11:47:45AM +0200, Patrick Herber wrote:
: I need to implement a custom authorization for a web application, where the
: access to the different resources is defined inside a database t
you're option is to back port the status servlet to tomcat4. if you
manage to do that, it should work I would think :) If you do, I will
gladly use Jmeter's tomcat5 monitor to test it.
peter
On Tue, 24 Aug 2004 10:22:57 -0700 (PDT), Prasheel Vemulapalli
<[EMAIL PROTECTED]> wrote:
> I want to mo
Hi,
I would be grateful for some assistance
I have spent literrally 2 days trying to just a get a PERL or even a shell
script to run from tomcat !!
I have religously followed the steps to modify the web.xml file, rename
the servlet-cgi.jar file and restart tomcat .
When running the cgi scr
Hi,
>Does Tomcat 4.1.30 provide any MBeans for monitoring
>the above metrics?
No.
>Is there any way to get the
>performance metrics from Tomcat 4.1.30 other than JMX
>interface?
You'd have to write some code and rebuild Tomcat with your code for
tracking.
>Where can I find a document that spe
I want to monitor the performance metrics of servlets,
WebApps, Connectors on Tomcat 4.1.30. I am able to get
the same metrics through JMX interface in Tomcat 5.0
but in Tomcat 4.1.30 there are no MBeans for
monitoring the above metrics.
Does Tomcat 4.1.30 provide any MBeans for monitoring
the abo
Believe me I was shocked! I was testing for other issues when I started
noticing some odd behavior and had to dig deeper and pay attention to where
the URL was going, thats when I noticed that it never went to https, and
there were no certs on the server.
I tons of iPlanet, IIS and Apache expe
While Tomcat can be used as a web server, it is more commonly used as a servlet
container behind a more robust web server like Apache. I use the Apache + Tomcat
combination for my site development. My SSL is configured on Apace.
Consequently, I never installed SSL on Tomcat. However, the serve
I get a really strange error when tomcat5 is loading our webapps. I have
no clue where does it comes from. Please help
Aug 24, 2004 5:57:00 PM org.apache.commons.modeler.Registry
registerComponent
SEVERE: Error registering
Catalina:j2eeType=WebModule,name=//localhost/xclin,J2EEApplication=none
Sorry for cross posting, but I have unsubscribed with my old email
Hello,
Anyone have or know a step by step document on how to configure tomcat5 with apache2
to load balance a web site on WinXP envi
I have come to discover that there is a small problem with a web site I have
recently gone to work for. Now let me disclaimer this thing. They dont
take credit card but they do handle names and addresses and account login.
So while its not horrible to me it is still unexceptable.
The site is
so am I :)
Filip
- Original Message -
From: "Wilson, Allen" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Tuesday, August 24, 2004 10:40 AM
Subject: RE: dallas help wanted
What help do you need..i am in dallas
-Original Message-
From: news [mailto:[EMAI
OK, thanks. I was reaching that conclusion. Thanks for the confirmation.
Dave
-Original Message-
From: Tim Funk [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 24, 2004 10:05 AM
To: Tomcat Users List
Subject: Re: Accessing LDAP after authentication
You'll need to connect to LDAP vi
What help do you need..i am in dallas
-Original Message-
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Vic
Sent: Tuesday, August 24, 2004 10:34 AM
To: [EMAIL PROTECTED]
Subject: ot: dallas help wanted
Please e-mail me if you know someone available.
.V
--
Please e-mail me if you know someone available.
.V
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi,
we running our application in a TC 3.2.4 with apache 1.3.27 and IBM JVM
1.3.1 on red hat. Everything is working fine in this environment.
Since we have the need to migrate our app to a 1.4 environment we are also
considering to migrate our Tomcat as this is a quite ancient one. The
problem t
Hi! I'm trying to find the best way to implement passwordless user
switching. In our application, a privileged user can "substitute"
another one by selecting him from a list. The switch must be performed
transparently without the substituted user's password and without asking
the user to log in aga
You'll need to connect to LDAP via JNDI to get the other user attributes.
JNDIRealm only knows how to authenticate and authorize, not user information
retrieval.
To get the user name - request.getRemoteUser() or request.getUserPrincipal()
should give you enough information to perform your ldap
I've gotten a JndiRealm working with Tomcat to authenticate users from our
LDAP directory and allow them access to various parts of our web application
based on groups and roles. That works slick as snot. Now I'd like to pluck
a few more tidbits from our LDAP database -- email address, first name
On Tue, Aug 24, 2004 at 08:55:10AM -0400, Robert Nicholls wrote:
: I may be missing something but I believe that the autogeneration listener
: (org.apache.jk.config.ApacheConfig) in Tomcat 5.0 does not recognize the
: ROOT folder as did the listener for Tomcat 4.1. Is that so? Is this a bug
: or a
On Tue, Aug 24, 2004 at 11:47:45AM +0200, Patrick Herber wrote:
: I need to implement a custom authorization for a web application, where the
: access to the different resources is defined inside a database table with
: some sort of rules, also using regular expressions.
:
: I would like to know i
On Tue, Aug 24, 2004 at 02:19:24PM +0530, Antony Paul wrote:
: What is the best practice for generating URL's in JSP/struts-config when
: the application is behind a web server and both are run in different
: machines. Some pages uses SSL.
You'll have to re-explain this. I don't understand wh
This should work but try firstly using double quotes, and secondly put a space on
either end in case anything else in manipulating the JAVA_OPTS variable. Like so,
export JAVA_OPTS=" -Xms512m -Xmx512m "
It is good practice to set it in catalina.sh as it guarantees that the options are
always ad
Hi all,
What is the best practice for generating URL's in JSP/struts-config when
the application is behind a web server and both are run in different
machines. Some pages uses SSL. In one application I saw them using a
properties file and using a static method to get the proptocol,server and
co
Hi Dale,
Instead of setting in catalina.sh I am setting in console
as follows
export JAVA_OPTS='-Xms512m -Xmx512m'
-Jignesh
On Tue, 2004-08-24 at 08:43, Dale, Matt wrote:
> Can you copy and paste the part of catalina.sh that set the variable because there
> is no reason why it wouldnt work.
>
Hola,
This is not a Tomcat question, it's more general. You might want to ask
on the Java forums or elsewhere. Here's a good background document:
http://java.sun.com/j2se/1.4.2/docs/guide/plugin/developer_guide/using_t
ags.html.
Yoav Shapira
Millennium Research Informatics
>-Original Mess
RTFM. web.xml has ways to do this based on the HTTP error code
yours would be the 404 HTTP error code
Luis Urueña Frías escribió:
Hi!
I'm developing a java webapp over Tomcat 4.2, with client
certificate authentication.
Is there any way to configure a customize error page?
When I
I'm using a filter for the same thing, and i can tell you something
it is blazingly fast, flexible, standard and, in most cases, portable
(Filters are part of the Servlet spec.). So, your best option for your
custom authorization/authentication would be the filters.
besides my authe
What is the importance of CLASSID , in autodownloading JRE of my own choice,
I mean if I only change
http://java.sun.com/products/plugin/autodl/jinstall-1_4_2-windows-i586.cab#V
ersion=1,4,2,0
and do not change classid in my JSP file then will it work properly. Can I
ignore CLASSID value completely
Hi:
I may be missing something but I believe that the autogeneration listener
(org.apache.jk.config.ApacheConfig) in Tomcat 5.0 does not recognize the
ROOT folder as did the listener for Tomcat 4.1. Is that so? Is this a bug
or an omission? If so has anyone got an idea about how to handle the
http
Can you copy and paste the part of catalina.sh that set the variable because there is
no reason why it wouldnt work.
What do you mean by "it won't allow me to set properly"?
-Original Message-
From: Jignesh Patel [mailto:[EMAIL PROTECTED]
Sent: 24 August 2004 23:04
To: Tomcat Users Lis
Hi,
I see you added it to the Wiki page. Good, thanks for contributing ;)
Yoav Shapira
Millennium Research Informatics
>-Original Message-
>From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
>Sent: Monday, August 23, 2004 9:13 AM
>To: [EMAIL PROTECTED]
>Subject: Howto IIS6/JK2/TC5 (germ
Hi,
We are always gladly accepting documentation patches ;). In addition we maintain
references to external documentation on these issues at
http://wiki.apache.org/jakarta-tomcat/Tomcat/Links.
Yoav Shapira
Millennium Research Informatics
>-Original Message-
>From: Michael Südkamp [ma
Thanks a lot Claus,
(I thought that you could use Realms only to perform authentication and not
also authorization!)
Have a nice day.
Best regards,
Patrick
> -Original Message-
> From: Claus Nielsen (BM Data) [mailto:[EMAIL PROTECTED]
> Sent: Dienstag, 24. August 2004 14:31
> To: Tomc
Hi,
Yes, you can do this with Tomcat by itself. RTFM on the Remote Host
Filter Valve at
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/valve.html.
Yoav Shapira
Millennium Research Informatics
>-Original Message-
>From: Eugene [mailto:[EMAIL PROTECTED]
>Sent: Monday, August 23,
Again, I appreciate the feedback. We are working in a rather controlled
environment these days and it turns out that the Java plug-in won't go,
so the whole applet idea looks to be a non-starter anyway. Live and
learn. (or not, I guess...)
VR/
Mark
-Original Message-
From: QM [mailto:[E
We are not using tomcat as a service.
We tried both set JAVA_OPTS for windows and export JAVA_OPTS for linux.
But in linux it won't allow me to set properly.
And on both OS it is not working.
-Jignesh
On Tue, 2004-08-24 at 04:07, Dale, Matt wrote:
> You should only have to make the change in ca
Hi.
The "more standard way" might be to implement the Tomcat Realm interface.
See http://jakarta.apache.org/tomcat/tomcat-5.0-doc/realm-howto.html
You will still have to program it yourself (unless you can use the
JDBCRealm), and it is still Tomcat specific - but it will let you place
the databas
Hello,
Anyone have or know a step by step document on how to configure tomcat5
with apache2 to load balance a web site on WinXP environment, I have
searched all the net, n this user list, with no luck.
I also tried to follow what it posted here and there, with no success. I
know how to configure a
Hi, Varley, Roger!
The Tomcat documentation describes the class load order very clearly, just
browse http://jakarta.apache.org/tomcat/tomcat-5.0-doc/class-loader-howto.html
regards!
Lotus X
[EMAIL PROTECTED]
2004-08-24
>In what order does Tomcat search
Hi!
I'm developing a java webapp
over Tomcat 4.2, with client certificate authentication.
Is there any way to configure a customize error
page?
When I enter in the webapp with an appropiate
certificate, HTTPS runs fine.
And when I enter without it, ssl handshake detects
an error,
an
Hello,
I have now found a work around for this problem:
Because the keytool -genkey was not working I tried installing java again,
didn't work. Thought about using a different (read older) jdk or maybe a
jdk for a different platform than FreeBSD.
However, I found a thread on the sun site with a
Hi,
I need to implement a custom authorization for a web application, where the
access to the different resources is defined inside a database table with
some sort of rules, also using regular expressions.
I would like to know if the only method to do this is programmatically,
implementing - for
Developers -
I have read the WIKI about problems with classcast of
a java.lang.Security object. Here it is
http://wiki.apache.org/jakarta-tomcat/Tomcat/Howto
Even though i have System.out.println statements in
my implementation of the Principal class - and i know
that my principal is being
Yes the Tomcat JK2 docu is suboptimal.
You can try an installer from this site http://www.shiftomat.com/opensource/. It
worked for me. If you don't trust the EXE, the Nullsoft installer script is available
and you can build the script yourself.
Michael
-
Hi William,
I am certain we are several who is running latest TC on IIS 5 with JK2. If
you could give us our config files chances are we quite fast could help
you. Also try google as there are alternative setup guides.
Meanwhile you can glance at my jk2 and workers2 files - these are pretty
ou
You should only have to make the change in catalina.sh on linux. If the variable is
set and exported you shouldnt have any problems. Also check that it is not reset
further in the script than you have set it.
On windows you will have to edit catalina.bat if you start from the command line. Or
Also if not running as a service then create a new variable in OS named as
JAVA_OPTS with new values then it will pick correct values. Remember if you
are running tomact from Start Menu then it will never pick JAVA_OPTS, unless
you edit shortcut link, if u need further assistance ask me.
S H A K E
If you are using Tomcat as a service option then check in registry and
assign the new values in registry.
-Original Message-
From: Jignesh Patel [mailto:[EMAIL PROTECTED]
Sent: 24.08.2004 22:18
To: [EMAIL PROTECTED]
Subject: JVM heap memory
Hi All,
We have set/export JAVA_OPTS option in
Hi All,
We have set/export JAVA_OPTS option in catalina.sh and strtup.sh to
increase JVM heap memory, but it is not reflecting on windows and linux
system.
What needs to be done to make it effective.
-Jignesh
-
To unsubscribe,
81 matches
Mail list logo