Alex
There many approach to this, the first one that come to mind is mod-rewrite
parsing the request and apply some processing if there is a match..
Where do you store credentials? LDAP?
Where is the security boundary in your design?
Hope this helps
Bruno Georges
Glencore International AG
Tel. +
Richard Mixon wrote:
Oliver,
Unless you have a special reason to use mod_jk2, you should probably be
using mod_jk instead. See:
http://tomcat.apache.org/connectors-doc/news/20041100.html#20041115.1
The mod_jk documentation for 5.5. is here::
http://tomcat.apache.org/connectors-doc/
Now, if
Oliver,
Unless you have a special reason to use mod_jk2, you should probably be
using mod_jk instead. See:
http://tomcat.apache.org/connectors-doc/news/20041100.html#20041115.1
The mod_jk documentation for 5.5. is here::
http://tomcat.apache.org/connectors-doc/
Now, if you really need to sta
I've been trying to find some decent documentation on setting up Tomcat
to communicate with mod_jk2 and Apache over unix sockets. So far what
I've found suggests I only need to alter jk2.properties with details of
the socket, and workers2.properties with the same details. I've done
this and res
That's great work!
but how did u mapped email ids to location?
> -Original Message-
> From: Claire McLister [mailto:[EMAIL PROTECTED]
> Sent: Friday, November 04, 2005 5:12 AM
> To: users@tomcat.apache.org
> Subject: Google Map of active users on this list
>
>
> Hi,
>
> We've been work
Hi All,
Just a word of warning...apparently the sloppy Tomcat programmers did
not thoroughly test TC 5.5.12.
The element has an attribute, "xmlValidation". In the default
server.xml that's distributed with TC this value is set to false. If
you set it to "true" you will see a boatload of ver
Hi,
I'm running jboss3.2.5/tomcat5 on linux 2.6.9-1.667, with default
configurations. When clients request web pages (static HTML) normally
(without being behind a proxy), there's no problem. If the request is made
over VPN, it times out. I have tried with small files (<4k) and very simple
HTML (no
I'm writing a web application (a portal app, to be specific) that needs to
be able to load a class (using Class.forName(...)) that was deployed in a
different web application from the one I am developing. I've deployed the
target web app containing the class I want to load, but whenever I call
Clas
Unless you use a 3rd party authorization package which has a tomcat and
apache plugin - your out of luck
-Tim
ALEX HYDE wrote:
Hi all,
I am using Tomcat to serve up my image content. I was considering moving this static content to Apache itself but I'm stuck on how to do dynamic authorisatio
Hi,
We've been working with Google Maps to see if we can automatically map
origins of emails to groups.
As a trial, we've been mapping active emails to this group since Oct
27th at:
http://www.zeesource.net/maps/map.do?group=667
Would like to hear from you what you think of this servic
Hi all,
I am using Tomcat to serve up my image content. I was considering moving this
static content to Apache itself but I'm stuck on how to do dynamic
authorisation of a directory in Apache. In Tomcat I can restrict access to the
images directory by adding a filter and in this filter dynamic
Has anyone done an configuration of IIS6, Tomcat 5.0.x, and Lawson
Portal? I cannot get http://servername:8080/servlet/servletsetup to
work. I can get to http://servername:8080/ and do some lawson cgi calls
but cannot get the servletsetup to work. I can get it to work on tomcat
4.x. I'm not sure wh
Caldarale, Charles R wrote:
You didn't bother to tell us the version of Tomcat you're using, but for
the current level look at the documentation for the HTTP connector here:
http://tomcat.apache.org/tomcat-5.5-doc/config/http.html
The address attribute is what you need to specify.
Apologies,
Hi, we're using the latest version of Tomcat, but we've had this
problem with previous versions as well. Our application uses
include files. For example:
--...
Here is some HTML code.
Check the MIME type mapping in your web app's web.xml. For instance, add
this in webapp/WEB-INF/web.xml:
wmv
video/x-ms-wmv
Robson
Denis Ahearn wrote:
Does anyone know how to get Windows Media Player video files (wmv) to work
within Tomcat 5.0 (or if this is even possible)? I have
The Tomcat Windows distibution has an executable named tomcat5w.exe in the
bin directory. Double click the executable, click the Java tab, and add the
following to the Java Options field:
-Djava.security.manager
-Djava.security.policy=C:\path\to\tomcat\conf\catalina.policy
Ken
-Origin
Does anyone know how to get Windows Media Player video files (wmv) to work
within Tomcat 5.0 (or if this is even possible)? I have a link in a JSP
page to a wmv file. When I click on the link, instead of the video
appearing in Windows Media Player, all I see is a binary dump of the video
file in
We just recently upgraded one of our servers from JDK 1.3.15 to 1.4.2. After
doing so, we are no longer able to get the web application to work. I am
including the error and the web.xml. This worked fine with JDK 1.3.x.
Any suggestions?
Nov 3, 2005 5:27:05 PM org.apache.commons.digester.Dig
> From: Andoni [mailto:[EMAIL PROTECTED]
> Subject: Re: How to use -security when running as a service
> under Windows.
>
> Ok, as I said to my boss:
> 2. OpenVMS is still stuck on Tomcat 4.1
Not true - Tomcat is pure Java, and the 5.5 levels will run on a 1.4
JRE.
> 3. OpenVMS does not allow
Ok, as I said to my boss:
1. OpenVMS is still stuck on Java 1.4
2. OpenVMS is still stuck on Tomcat 4.1
3. OpenVMS does not allow 'tail' access to log files!
4. Can't run JBoss, Apache 2, etc.
5. JVM on VMS has more bugs than a roach-infested sewer.
6. .jar files have to be "steamed" before the can
Kurt,
Yes, I was thinking that using rsync would still involve bulding/deploying
the war file. Here's the scenario I see:
1) Build war file, deploy to each Tomcat.
2) Developer makes changes to JSP during the day, then checks into CVS.
3) CVS can kick off a script that uses rsync/scp to update c
Kurt,
Yes, I was thinking that using rsync would still involve bulding/deploying
the war file. Here's the scenario I see:
1) Build war file, deploy to each Tomcat.
2) Developer makes changes to JSP during the day, then checks into CVS.
3) CVS can kick off a script that uses rsync/scp to update c
Hi,
That's fine, but where do I add these when I am not running Catalina.bat? Or
are you saying that tomcat.exe is just calling catalina.bat?
Andoni.
- Original Message -
From: Ken Pawliw
Newsgroups: gmane.comp.jakarta.tomcat.user
Sent: Thursday, November 03, 2005 3:06 PM
Sub
> -Original Message-
> From: Ernesto Garcia [mailto:[EMAIL PROTECTED]
> Sent: Thursday, November 03, 2005 9:00 AM
> To: users@tomcat.apache.org
> Subject: Inner class session attributes not supported?
>
>
> I define a static inner class inside my JSP
... and then put it in the session.
Chris:
Well, the Temp tablespace usually is used just for sorting, which are
rather short-lived. So, I can't see why 5GB would fill-up unless you
were absolutely swamped with requests (in which case, you'd be
describing a lot worse problems).
So, the point I'm driving at is that if the ro
As a follow-up, the CAs are in the jre/.../cacerts store as well as
being in the .truststore
Rick
-Original Message-
From: Steinberger, Richard [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 03, 2005 12:06 PM
To: users@tomcat.apache.org
Subject: Client Certificate Authentication Fail
[EMAIL PROTECTED] wrote:
Hi All,
We are facing repeated issues on MemoryLeaks with tomcat 4.0.3 . It will will
be a great help if anyone who experienced same can confirm whether they are
known bugs with this particular version of tomcat 4.0.3 and been resolved in
the later versions. Please pr
Mine are not. They are on their own RBS tablespace.
But the person's configuration that I'm describing, I'm not sure. What
were you driving at?
Chris
-Original Message-
From: Anthony Carlos [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 03, 2005 11:34 AM
To: Tomcat Users List
Su
Chris:
Are your rollback segments located on the Temp tablespace?
-Anthony
On Nov 3, 2005, at 12:13 PM, Bliesner, Christopher P wrote:
Hello,
I am currently using Tomcat 4.1.12 with Oracle 8i on a Solaris 8 Unix
machine and I have successfully set up the Tomcat configuration,
pooling, etc. a
Thanks a lot guys. Certainly I misunderstood.
Samit Paul
-Original Message-
From: MW Janssen [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 02, 2005 2:51 AM
To: 'Tomcat Users List'
Subject: RE: Tomcat 5.5.12 Refresh/Cache problem
that's what i meant.
regards.
-Oorspronkelij
** Resending this message...don't know if it got through the first
time.**
Hello,
I am currently using Tomcat 4.1.12 with Oracle 8i on a Solaris 8 Unix
machine and I have successfully set up the Tomcat configuration,
pooling, etc. and all is working as it should.
However, I'm running into error
I am trying to do something in contextDestroyed that requires the
filesystem directory of the web application. However, once
contextDestroyed has been called that path no longer exists.
public void contextDestroyed(ServletContextEvent event)
{
String path = event.getServletContext().getRea
I have a site where a user can save reports for later viewing. An html
file is created and the user can then access it later. For some reason,
the html files that get created today are not accessible. A 404 error is
returned. The html files from yesterday can be ac
> From: Michael P. Soulier [mailto:[EMAIL PROTECTED]
> Subject: restrict to localhost
>
> How do I tell tomcat to bind only to localhost?
You didn't bother to tell us the version of Tomcat you're using, but for
the current level look at the documentation for the HTTP connector here:
http://tomca
I have a setup where apache is proxypassing to tomcat, and we only want
tomcat to bind to locahost:8080, as all authentication is currently done
in apache.
Unfortunately tomcat binds to all interfaces, so someone can get past
that by going right to port 8080.
How do I tell tomcat to bind onl
Hello,
I am currently using Tomcat 4.1.12 with Oracle 8i on a Solaris 8 Unix
machine and I have successfully set up the Tomcat configuration,
pooling, etc. and all is working as it should.
However, I'm running into errors with the Temp tablespace in Oracle in
relation to Tomcat taking up all of i
Hello All!
I am trying to setup client certificate authentication in 5.5.12 on
windows.
I am getting the following error page
HTTP Status 401 - Cannot authenticate with the provided credentials
type Status report
message Cannot authent
Richard,
Thanks for the reply! Regarding your idea of using rsync- does that
still involve building a .war file? I'm pretty ignorant of how 'real
sites' do this, and of the whole deploy mechanism in general. I mean,
how do people manage 100's of tomcats? I'm trying to get my system to
the
Hi,
I have am .MHT file on my web application. It is a web-archive page.
If i open it through the file system ( double click) , an internet explorer is
opened and the page is seen properly.
If i try to access the MHT page through the web server, the page looks like
gibberish.
I tried adding
Can you give us some details
Tomcat version
Distro
Tomcat compiled or binary install?
Vanilla Tomcat installation or other applications installed?
Brent
___
Brent Andrewsen
Web Application Engineer
[EMAIL PROTECTED]
Office: (801) 861-2909
Novell, Inc.
Softwar
Kurt,
Just using a ".war" file to deploy from should not keep you from updating
the JSP pages. We do occasional patches to our JSP pages in a two-server
cluster with no problem.
However if you pre-compile the JSP pages before building the ".war" file
that could pose an issue.
Using CVS as a repl
Thanks to Bill Barker who supplied me with this advice a couple of weeks
ago...
Actually, what you need to do is to add to the Java Options section:
-Djava.security.manager
-Djava.security.policy==C:\path\to\tomcat\conf\catalina.policy
If you look in catalina.bat, you will see that this is wh
I define a static inner class inside my JSP, I create an instance of it and
then I keep the resulting object as a session attribute. When getting the
attribute again I will get a ClassCastException when downcasting to my inner
class. Is this a bug or standard behaviour?
Thanks,
Ernesto García
You're going from OpenVMS to Windows?!?!? WHY?
Why go from the most secure system on the planet to the most exposed?
Just wondering?
jd
Sr. Systems Engineer
OpenVMS Alpha Support Team
(813) 366-2359
"OpenVMS: When downtime is not an option"
-Original Message-
From: Andoni [mailto:[EMA
Kurt:
Have you looked into writing an Ant task to do this for you?
-Anthony
On Nov 3, 2005, at 9:19 AM, Kurt Overberg wrote:
Hello All, I'm currently running mid-sized website (load balanced
across five servers). Its a fairly large web application with a
front and a back-end. In producti
Yes, that was the problem.
The PermSpace was Full, the we get an OutOfMemoryError.
Thanks to you.
-- anna
BTW: Does someone know a good source about the content
of the permspace. I read the sun-document, but there are only
a few line about class and method-objects. In another place
I read a
Hello All, I'm currently running mid-sized website (load balanced across
five servers). Its a fairly large web application with a front and a
back-end. In production, the application is sitting exploded in a
directory which tomcats point at. It looks rather like a development
sandbox. I do
Hi All,
I've set up Tomcat to work inside of Apache. It's all
going ok and I am trying to serve up 3gp to phones. My
file worked ok on Sony Ericsson but on Nokia it
doesn't work. I have only configurred Tomcat and not
Apache to serve up 3gp mimetype. The Nokia does not
know what the file type is.
Hi,
I'm running apache 2.0.54 under windows XP with tomcat 5.5.7 and keep
getting this error:
trying to connect socket 772 to 127.0.0.1:8009
connect to 127.0.0.1:8009 failed with errno=61
Failed opening socket to (127.0.0.1:8009) with (errno=61)
Error connecting to the Tomcat process.
I can co
you can put the two log jar files in your web app web-inf/lib directory and the
log4j properties in your web app classes directory. make sure your web app
log4j properties file specifies its own log file and log file location. Its
useful and may be good practice to place all log files in the tom
Hi All,
I could successfully implement load-balancing in tomcat apache setup. I got
idea from the foll. case.
http://www.junlu.com/msg/189637.html
Do exactly same, what he has tried explaining
It has worked perfectly fine for me.
Regds,
Nehal
-Original Message-
From: Nehal San
It looks like your custom tag is creating its own body content. The body
content is handed back to the tag so furthur transformations may be done on
it. So the whole tag needs evaluated and buffered before it may be flushed.
Your tag is returning BodyTag.EVAL_BODY_BUFFERED during doStartTag().
You can place common library in common/lib. If that class needs to use
reflection to instantiate any classes in your webapp - it may fail. (But
since this looks to be a standalone utility - that doesn't seem to be the case)
In the case of the reloads - a dll may only be registered once during t
Andy Kriger wrote:
Thanks for the info. A followup question...
"The second one is where the application has ThreadLocal data that is
attached to a container thread. In tomcat this thread will be part of
the thread pool, so it will never be garbage collected."
We use ThreadLocal to handle our H
Hi
I have some custom tags which can have in body
other custom tag(s). Some of them list the content
of a ResultSet in HTML page. I used flush to force
the output of HTML.
This solution works fine using IAS9i but ported to
JBoss 4.0.3 (what includes Tomcat 5.5.9) it throws
"java.io.IOException:
55 matches
Mail list logo