Hello,
I'm having a problem with a realm setup that used to work under a
previous version of Tomcat (5.5.9), but isn't now that I'm using
5.5.23. For some reason it's not redirecting users to the login form
upon first access of a protected URL setup in /WEB-INF/web.xml.
Instead they get t
Will;
["Will Parkinson" <[EMAIL PROTECTED]> @ Fri, 8 Jun 2007 16:35:45 +1000]
> Hi Zdenek
>
> I have JDK 6.0 installed (from this url
> http://java.sun.com/javase/downloads/index.jsp)
>
Ubuntu comes preinstalled with GNU classpath and friends so no matter
whether or not you install an "addition
Hi Zdenek
I have JDK 6.0 installed (from this url
http://java.sun.com/javase/downloads/index.jsp)
Cheers
Will
On 6/8/07, Zdeněk Vráblík <[EMAIL PROTECTED]> wrote:
Hi Will,
what java JDK do you have installed?
It looks you don't have installed SUN JDK 5 or higher.
Regards,
Zdenek
On 6/
Hi Will,
what java JDK do you have installed?
It looks you don't have installed SUN JDK 5 or higher.
Regards,
Zdenek
On 6/8/07, Will Parkinson <[EMAIL PROTECTED]> wrote:
Hi Rene,
Thanks for the help, i removed the line i tried the -Xmx=128m alteration
to
the JAVA_OPTS line and nothing ch
Hi Rene,
Thanks for the help, i removed the line i tried the -Xmx=128m alteration to
the JAVA_OPTS line and nothing changes. I also tried removing the -Xmx128M
option all together and what i got was this:
#/etc/init.d/tomcat5.5 status
* Tomcat servlet engine is not running, but pid file exists.
Probably the options setting should be -Xmx=128m. I am not
sure, but you should check the enviroment variables:
CATALINA_OPTS
JAVA_OPTS
and the startup scripts in %CATALINA_HOME%\bin
René
On Fri, 8 Jun 2007 14:14:05 +1000
"Will Parkinson" <[EMAIL PROTECTED]> wrote:
Hi All,
I am having a fe
"Andrei Tchijov" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Bill,
> Tomcat will use my authenticator regardless of "login-config/auth-
> method" setting? If it is the case, how my Authenticator can figure- out
> what auth-method was configured (normally my authentication me
Hi All,
I am having a few problems with tomcat 5.5 on ubuntu feisty
When i start the tomcat service, its outputs that its started ok, but when i
view the status (/etc/init.d/tomcat5.5 status) it says the service is not
running.
This is in the /var/log/tomcat5.5/catalina.out logfile
libgcj: unk
Bill,
Tomcat will use my authenticator regardless of "login-config/auth-
method" setting? If it is the case, how my Authenticator can figure-
out what auth-method was configured (normally my authentication
method will be used in-addition to what ever standard method has been
used)?
Georg,
Finally kind of solved my problem. First, I went to a fresh install of
5.5.23 and then added the log4j.properties file in
${CATALINA_HOME}/common/classes and the log4j jar file in
${CATALINA_HOME}/common/lib. No go. So, thinking maybe the
documentation was wrong, I moved the properti
"Andrei Tchijov" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>I understand. My problem it twofold. In order to make an authentication
>decision ...
> - I need to have an access to some information from HTTP Request,
> - I need to be able build HTTP Response (basically, I need to
On 6/6/07, Jacob Rhoden <[EMAIL PROTECTED]> wrote:
Hi,
Under tomcat 5.5, I would prevent the database connections from timing
out by having a Cron job that accesses the website every 10 minute.
(Because I couldn't work out a better way).
How are you connecting to the database? If you are not u
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Andrei,
Check out securityfilter (http://securityfilter.sourceforge.net). It
implements a filter as suggested by someone else, but it has been used
by others. Why reinvent the wheel?
There are two different interfaces that you can implement in order
Hi,
This one is weird and makes no sense to me. I am moving from a Tomcat
3.x (front ended by Apache) production environment to
apache-tomcat-5.5.23 running standalone. My apps, which are all
interactive tools, are displayed in frame-sets containing either one or
two frames. Each application ha
> From: Andrei Tchijov [mailto:[EMAIL PROTECTED]
> Subject: Re: Is it possible to introduce new authentication
> method without modifying tomcat?
>
> My problem it twofold. In order to make an
> authentication decision ...
> - I need to have an access to some information from HTTP Request,
>
Can you make something out of this?
public class JavaVer {
public static void main(String[] args) {
System.out.println("java.version: " +
System.getProperty("java.runtime.version"));
System.out.println("JAVA_HOME: " + System.getProperty("JAVA_HOME"));
}
}
D:\DEV\classes>java -version
ja
I understand. My problem it twofold. In order to make an
authentication decision ...
- I need to have an access to some information from HTTP Request,
- I need to be able build HTTP Response (basically, I need to be
able to issue challenge in response to authentication request).
As I
> From: Andrei Tchijov [mailto:[EMAIL PROTECTED]
> Subject: Re: Is it possible to introduce new authentication
> method without modifying tomcat?
>
> I was just commenting that I can not see how JAASRealm
> (or any Realm for that matter) can help me
Specifying JAASRealm as the gives you the o
One problem with this is that you have to know where the JRE for 1.5 was
installed. There is nothing that guarantees that the install path is the
default. You might try to get the version information from the binary that
is running if the OS version supports it. It might be more appropriate to
try
I do appreciate that Realm "in general" should not be concern with
Request/Response. One of previous replies to my original question
suggested that I should look into JAASRealm for the solution to my
problem (which does require access to Request/Response). I was just
commenting that I can
oh, sorry. You do that and it STILL runs it with the service. Correct?
Are you sure it doesn't change if you stop and restart it manually?
-Original Message-
From: bachuba [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 07, 2007 3:48 PM
To: users@tomcat.apache.org
Subject: Re: Programmatic
can't you open up the bat or .sh file and just make the change there?
-Original Message-
From: bachuba [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 07, 2007 3:48 PM
To: users@tomcat.apache.org
Subject: Re: Programmatically Determine JVM Version used by Tomcat
I believe the suggested
I believe the suggested solutions will only poll the java version installed
on the computer, correct? I probably should have provided a little more
detail on what is needed.
Tomcat is being installed with JAVA_HOME pointed toward a 1.4 version of
java. Later, JAVA 1.5 is installed and JAVA_HOME
> From: Andrei Tchijov [mailto:[EMAIL PROTECTED]
> Subject: Re: Is it possible to introduce new authentication
> method without modifying tomcat?
>
> Nowhere in the code I can see any indication of how to get
> to HTTP Request and HTTP Response from Realm code.
Why would you want to do that?
I am attempting to compile the latest version of mod_jk for integration
with my apache 2.0.59 server on CentOS-3.8 (32bit)
After running ./configure --with-apxs=/usr/local/apache/bin/apxs
from the native directory, the mod_jk.lai and mod_jk.a files are
created.
Upon running the make install, I
I will be first to admin that I may be silly bugger, but I can not
see how JAASRealm can help me. Nowhere in the code I can see any
indication of how to get to HTTP Request and HTTP Response from Realm
code.
Please enlighten...
Andrei
On Jun 7, 2007, at 12:47 PM, Pid wrote:
Andrei Tchi
I am not using spaces in the real file. It is just a mistake when I copied
and pasted.
Is this the the only way to force the use of an specific cipher suite? Has
anybody ever done this before?
On 6/7/07, Christopher Schultz <[EMAIL PROTECTED]> wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash:
you need this:
http://moskito.anotheria.net/moskitodemo/mui/mskShowAllProducers
its a demo for moskito. moskito itself is located at
http://moskito.anotheria.net
and the source is hosted by java.net
http://moskito.dev.java.net
On 6/7/07, radcio <[EMAIL PROTECTED]> wrote:
Hi,
I am looking for
I think you'd be better off spending your time (== money) on CPU, RAM,
and disk space than doing this. It's one of those ideas that looks
good on paper, but sucks in practice.
Larry
On 6/7/07, rhodebump <[EMAIL PROTECTED]> wrote:
I have 5 war files, each containing the springframework, hibern
Andrei Tchijov wrote:
Hi,
I want to be able to add my own authentication method
(login-config/auth-method) as one of possible choices. Is it possible
to do so without re-compiling tomcat? Ideally, I would love to be able
to achieve my goal by changing server.xml file (and adding some jar
sZabi,
Thnkx for response. I am actually already using similar approach.
It is easy to implement, but it has one problem (from my point of
view). It is not very "user friendly". It is much easier to explain
to end user that if he/she is using "FORM" as authentication method,
all he/she
Hi!
its an options, i use sometime.
Create a filter.
a class likes this.
public class AuthenticationFilter implements Filter {
private static Logger log =
Logger.getLogger(AuthenticationFilter.class);
public void doFilter(ServletRequest request, ServletResponse
response, Filte
Hi,
I am looking for a Tomcat profiler which is able to measure the actual load
of a web page/ request processing time. I've tried Jmeter but doesn't seem
to show request process times, but only file request times.
Thanks a million,
Radu.
--
View this message in context:
http://www.nabble.com
Mmmm..
It should read:
To use "+" as a space is correct within the query, but is not correct
within the path.
- LG
On 6/7/07, Christopher Schultz <[EMAIL PROTECTED]> wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Lucas,
> To use "+" as a space is correct within the query, but is correct
Hi,
I want to be able to add my own authentication method (login-config/
auth-method) as one of possible choices. Is it possible to do so
without re-compiling tomcat? Ideally, I would love to be able to
achieve my goal by changing server.xml file (and adding some jars
with my custom code
bachuba wrote:
Hi,
I'm fairly new to using Tomcat, but need to determine what JVM version (or
at least the path to it) a running Tomcat service is currently using on a
Windows system. If I run tomcat5w.exe and click on the Java tab, I notice
the informaiton is listed there, but I would like to b
> From: bachuba [mailto:[EMAIL PROTECTED]
> Subject: Programmatically Determine JVM Version used by Tomcat
>
> I'm fairly new to using Tomcat, but need to determine what
> JVM version (or at least the path to it)
It's available in a system property:
System.getProperty("java.runtime.version
Hi,
I'm fairly new to using Tomcat, but need to determine what JVM version (or
at least the path to it) a running Tomcat service is currently using on a
Windows system. If I run tomcat5w.exe and click on the Java tab, I notice
the informaiton is listed there, but I would like to be able to get at
David,
Yes, the admin folder is under the server/admin folder. I basically just
untarred it and that's where it was. I didn't change any of the files
but I did check to see if they were there and in the correct place.
Elton
David Smith wrote:
This may or may not be the problem, but did you i
I have 5 war files, each containing the springframework, hibernate jars,
tapestry jars, lots of jars so that each war file is 30 megs.
I wonder, from a performance/memory perspective would it be better to move
these common library jars into the /tomcat/common/lib directory, or should I
keep them
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Lucas,
> To use "+" as a space is correct within the query, but is correct
> within the path.
Huh?
- -chris
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFGaBz59C
> From: Christopher Schultz [mailto:[EMAIL PROTECTED]
> Subject: Re: Encoding issue: + versus %20
>
> > To use "+" as a space is correct within the query, but is correct
> > within the path.
>
> Huh?
I think a rather critical "not" was left out of the second part of the
sentence.
- Chuck
TH
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Thiago,
Thiago Silva wrote:
> I have tried to use the tag "ciphers" in the following part of the
> Server.xml, but it did not used the specific cipher suite that I have set.
>
> code:
> --
>
> http://enigmail.mozdev.org
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Abdelmonaam,
Really? It didn't work? How did you try to unsubscribe? How did you try
to subscribe?
I see a lot of folks who have trouble subscribing or un-subscribing from
mailing lists... I have never had a single problem. (And I use gnupg,
which of
Hi,
I'm developing an Hibernate web application with jboss using a datasource
named "java:/DefaultDS"
java:/DefaultDS
When I configure the same datasource with tomcat, I can't reach it with this
name, but with java:comp/env/DefaultDS
So my hibernate config file must be changed depending on witc
Our site is hosted on Tomcat 5.5 and IIS server.
We are getting following error when we try to uplaod a file of size greater
than around 100KB.
javax.servlet.ServletException: Processing of multipart/form-data request
failed. Stream ended unexpectedly
org.apache.struts.upload.CommonsM
No, imagine if you used a thread to say send an email.
The webapp is done, tomcat is idling and it whacks your thread that hasnt
done the email yet.
You see it in normal java apps as well, ie if a thread is still busy and you
close the app, if you look at the processes, the thread is keeping i
I've seen this as well, sometimes I manage to really screw things up when
developing.
You changing your context path but I found that if I went into
Tomcat 5.5.23\conf\Catalina\localhost and deleted the App.xml context file
there... tomcat recovered nicely, on a redeploy.
Its almost as if i
Excellent... thank you.
Just wanted to ask you if you think its at all possible to do this in
Netbeans 5.5
It seems to me that NB 6 has the ability to pick up on the ant scripts as
part of the project menu's, and thats what you doing, but I was wondering if
your ant scripts can be incorporated
Thanks Chuck
Le 6 juin 07 à 15:57, Caldarale, Charles R a écrit :
From: Jean-Pierre Astier [mailto:[EMAIL PROTECTED]
Subject: error in catalina.out log
6 juin 2007 15:01:08 org.apache.catalina.core.StandardWrapper unload
INFO: Waiting for 6 instance(s) to be deallocated
The above messag
This may be a newb question, but im going to ask anyway. What is the
difference between running tomcat on the command line and running tomcat
through eclipse?
The difference may be an individual thing so I'll describe the issue im
having in a bit more detail. When I start the tomcat server on the
This may or may not be the problem, but did you install it in
server/webapps next to the manager webapp? That is where it's supposed
to be as opposed to in the webapps directory with the other webapps.
--David
Elton Kong wrote:
Martin,
Here is the log pasted. There is a little more at the e
Tim Alberts wrote:
I'm in the process of teaching myself the Realms configuration for
Tomcat and have a couple questions that after hours of reading and
testing I could determine, but this list can hopefully save me some
research time. Reading the documentation at:
http://tomcat.apache.org/t
53 matches
Mail list logo