Hello, I had a problem implementing JAAS with Tomcat and I found my error, I
was specifying my custum loginModule in the
(I want to create a index.jsp page with 2 fields (login, pwd) and use the
j_security_check).
Thanks again
Ian Shafer wrote:
Hello,
I have this line in my httpd.conf file:
ProxyPass /webapp/ ajp://localhost:8009/webapp/ min=256 max=256
and in tomcat I have maxThreads set to 256 for both my HTTP connector
and my AJP connector. For some reason, though, I still get a message in
my tomcat log saying
Hello,
I'm currently load testing a webapp running on Tomcat 5.5 that is
fronted by Apache 2.2 and uses mod_proxy_ajp to communicate between
the two.
I'm seeing some odd behavior that I cannot explain.
I have this line in my httpd.conf file:
ProxyPass /webapp/ ajp://localhost:8009/webapp/
Thanks for the suggestion George.
I don't think is the proxy because IE and other browsers work with the same
proxy so I don't see why FireFox should not. I will try your suggestion
though and let you know the outcome.
As far as other suggestions, no. 1 is particularly interesting and will try
i
Thanks for the suggestion George.
I don't think is the proxy because IE and other browsers work with the same
proxy so I don't see why FireFox should not. I will try your suggestion
though and let you know the outcome.
As far as other suggestions, no. 1 is particularly interesting and will try
i
More or less this what I think as well! That Cache-control: max-age=0 is
applied to cookies too. However the cookies in Firefox seem to have the
correct expiration date.
Michael
>-Original Message-
>From: news [mailto:[EMAIL PROTECTED] On Behalf Of Bill Barker
>Sent: 17 February 2006 06:
Thanks for the suggestion Wade but I really did what you are saying and
headers reach the server correctly.
Michael
>-Original Message-
>From: Wade Chandler [mailto:[EMAIL PROTECTED]
>Sent: 17 February 2006 05:16
>To: Tomcat Users List
>Subject: RE: Session Expires At Every Request (Tom
This is really an old thing I read somewhere that IE might not "respond" to
the top headers so the only way to force IE to work as you want it to (no
caching) was to do this (put one more header at the end). Back at that time
(IE 5 was used with 6 not being released yet) this solved me many proble
Hi;
Ok, I went back to Info and it is happening again. I think it's the logging
because the IIS logs don't match the isapi log. Not only does the list of
files not match (these are the only places most of these filenames occur)
but there are files listed in the isapi log that never appear in the I
"Michael Andreas Omerou" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Dear all,
>
> Thanks for your replies to my problem. However, I think the discussion
> has
> been "diverted" into a debate totally irrelevant to the issue.
>
Not that I'm all that interested, but just to pus
I added the , it still doesn't work
Best Regards.
jacky
- Original Message -
From: "Caldarale, Charles R" <[EMAIL PROTECTED]>
To: "Tomcat Users List"
Sent: Friday, February 17, 2006 10:13 AM
Subject: RE: Re: context error
> From: "jacky" <[EMAIL PROTECTED]>
> Subj
Thanks for reply Bill. Is there anyway to setPrincipal on
HttpServletRequest? can I cast to concreate class that implemented that
HttpServletRequest? Which class is it?
anil
anil
All I want to do is setPrincipal from a servlet filter.
Bill Barker wrote:
<[EMAIL PROTECTED]> wrote in messa
"Diwan, Dronesh (Genworth, Contractor)" <[EMAIL PROTECTED]> wrote
in message
news:[EMAIL PROTECTED]
> Any idea on how to change the maxPostSize in the Connector instead of
> using the dafault values.
>
> I have problem in uploading files > 2 MB. I tried setting different
> values as prescribed b
"Bob Faist" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> My guess is that the web app name will need to be treated as case
> sensitive regardless of the configuration.
>
> http://localhost:8080/tomcat-docs/INDEX.html
> http://localhost:8080/tomcat-docs/index.html
>
> Both of the
<[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]
> Hi All
>
>I trying setPrincipal on request on tomcat 5.0.30. But servlet.api.jar
> that comes with tomcat does not have setPrincipal method on HttpRequest
> class. I look at the tomcat source and on AuthenticationBase class uses
Since I regularly use Firefox and sessions I'm pretty sure that there is
really nothing unique to that combination that is causing the problem. It
could be the proxy server below is causing the issue. The obvious thing to
do would be to try from a different network without a proxy server and see
if
> > Monitoring the HTTP headers for both IE and
> Firefox using
> > HttpAnalyzer for
> > IE and LiveHttpHeaders for Firefox gives the
> following:
> > 1) IE
> >
> > (Request-Line):GET http://www.tophotelchoices.com/
> HTTP/1.1
> > Accept:*/*
> > Accept-Language:en-gb
> > Accept-Encoding:gzip, def
I am trying to get the Tomcat connector configured to connect tomcat and
apache and I have two questions:
1) I downloaded the binary distribution for linux, and the filename was:
jakarta-tomcat-connectors-jk-1.2.14-linux-sles9-x86_64-worker.so. Is
this supposed to be mod_jk?
2) What kind of
Just out of curiousity, why do your pages have two HEAD blocks (one at the
top, and one at the bottom of the page)?
George Sexton
MH Software, Inc.
http://www.mhsoftware.com/
Voice: 303 438 9585
> -Original Message-
> From: Michael Andreas Omerou [mailto:[EMAIL PROTECTED]
> Sent: Thur
> From: "jacky" <[EMAIL PROTECTED]>
> Subject: Re: Re: context error
>
> server.xml is the default server.xml:
>
>
>
Part of the problem may be that you have no default . There
should be one (and only one) tag with path="". If you want
your app to be the default, you can jus
Pulkit Singhal wrote:
I would say Eclipse web edition...but you have to figure out how to
integrate it with tomcat...shld be able to find a tutorial on that out there
somewhere.
I use Eclipse WTP but don't bother integrating it with Tomcat--I use the
manager Ant tasks[1] for autodeploying WAR
I added the reloadable="true" crossContext="true", but the same errors
occur.
Best Regards.
jacky
- Original Message -
From: "Warren Pace" <[EMAIL PROTECTED]>
To: "Tomcat Users List"
Sent: Friday, February 17, 2006 5:35 AM
Subject: Re: Re: context error
>
>
Or use NetBeans. It comes with Tomcat Bundled and you can deploy to it
using one button. You can also configure it to deploy to your existing
Tomcat Installations, very easily, with one button execution.
I've only had one side effect from using NetBeans with Tomcat. When my
company switched to
I guess you would just have to write a function to process the data. you
probable need to look at the "result set" and use a data structure where you
can, one by one, add the each child to the parent.
Then you could write a output method that goes through this and for each
node tabs the children an
I would say Eclipse web edition...but you have to figure out how to
integrate it with tomcat...shld be able to find a tutorial on that out there
somewhere.
On 2/16/06, Mike Reynolds <[EMAIL PROTECTED]> wrote:
>
> What is the best development environment for developing a Tomcat servlet?
>
>
> -
What is the best development environment for developing a Tomcat servlet?
-
Brings words and photos together (easily) with
PhotoMail - it's free and works with Yahoo! Mail.
Hi All
I trying setPrincipal on request on tomcat 5.0.30. But
servlet.api.jar that comes with tomcat does not have setPrincipal method
on HttpRequest class. I look at the tomcat source and on
AuthenticationBase class uses that method to setPrincipal. Am I using
wrong servlet api jar? whic
Hi,
Thanks for the help,I researched on that and started working by following this
tutorial:
http://tjworld.net/help/kb/0001_iis6-Tomcat5-JK2.html
But my problem is I am using IIS-5.0,and I got struck on last step of his i.e.
Authorise the DLL as a web application
Select Web Service Extensions in
Dear all,
Thanks for your replies to my problem. However, I think the discussion has
been "diverted" into a debate totally irrelevant to the issue.
As far as Chuck's question whether this could be related to the popup, this
is not the case as the problem happens on other pages too, even on index
>
> From: "jacky" <[EMAIL PROTECTED]>
> Date: 2006/02/15 Wed PM 09:00:29 EST
> To: "Tomcat Users List"
> Subject: Re: Re: context error
>
> hi,
>RedHat7.3, J2sdk1.4.2_10
> server.xml is the default server.xml:
>
>
> //here,
> myworkflow is my web app.
Been a while sinc
working with the JK connectors can be an adventure on its on, so make
sure you don't look yourself down by only looking at one solution.
you can google for other alternatives as well
like this one
http://jspisapi.neurospeech.com/
or you can run Apache on your windows platform, or run tomcat on p
>
> From: "harmeek singh jhutty" <[EMAIL PROTECTED]>
> Date: 2006/02/16 Thu PM 03:57:49 EST
> To: users@tomcat.apache.org
> Subject: Website on Tomcat- few problems
>
> Hi Friends,
> I have a JSP/Java/Tomcat website on which I am able to view the images from
> the outside world but for some rea
thanks a lot, Doug.
I am interested to know if there is anyone who runs tomcat 3.3 in java 1.4. As
far as I remember when tomcat 3.3 was released we were still in java 1.3 world
and therefore I assume no proper testing was done on tomcat 3.3 in java 1.4
environment.
Kind regards,
Sasha.
--
Hi Friends,
I have a JSP/Java/Tomcat website on which I am able to view the images from the
outside world but for some reason the images are not gettin resolved
locally.You can see the site at:
www.customsportsplaques.com
My other question is rite now,I have set the IIS so that any link to
"www
Thanks a lot Charles .. that worked like a charm
> From: harmeek singh jhutty [mailto:[EMAIL PROTECTED]
> Subject: Tomcat in debug mode
>
> But there is no catalina.bat file under tomcat5.5.7/bin
> folder,so how to make this work.
Download and install the .zip version of Tomcat, rather than the .exe
file. For reasons unknown, the scripts are
Hi Friends,
I am using tomcat5.5.7 and I want to start it in debug mode...I researched and
found this link:
http://tomcat.apache.org/faq/development.html
I followed and tried to do this:
Set environment variables JPDA_ADDRESS=8000 and JPDA_TRANSPORT=dt_socket and
then start tomcat using catalin
Throws advice in AOP concept is another mechanism. Go for AspectJ or Aspect
Werkz, Spring AOP or They all support the lovely Aspect Oriented Concept.
Regards,
Ramin
Java Pro <[EMAIL PROTECTED]> wrote:
Is there anyone who can help me with this query?
Original Message -
> From: Giorgio Clavelli [mailto:[EMAIL PROTECTED]
> Subject: Re: Assistance required
>
> It seems you don't have the MySql driver in your classpath.
Nor should any Tomcat administrator or user. Jars for JDBC drivers
should be placed in specific directories, as described in the Tomcat
JDBC and
It seems you don't have the MySql driver in your classpath.
On 2/16/06, Klotz Jr, Dennis <[EMAIL PROTECTED]> wrote:
>
> Just in case you missed them, study the following links. There is a
> wealth of information here:
>
> http://tomcat.apache.org/faq/
>
> and of course
>
> http://tomcat.apache.org
In your situation, you probably don't want to mess around with the
HttpSession object. The session object is designed for sharing info
within the same session, not the same user. If sharing info among
multiple sessions is desired, use ServletContext instead. One solution
would be store your user
Hi;
Well it's been running for almost 24 hours and the only error is (got this
10 times) below. I will turn off debug and see if that causes it to come
back.
[Thu Feb 16 11:37:46 2006] [1680:2112] [debug] jk_isapi_plugin.c (835):
Default redirection of /
[Thu Feb 16 11:37:46 2006] [1680:2112] [de
Bonjour Jean-Phillipe
You can alter the default sort by manipulating SESSION NLS_SORT SESSION
attribute ..for example
connect [EMAIL PROTECTED]
alter session set nls_sort=FRENCH;
CREATE INDEX NLS_GENERIC ON TABLENAME
( NLSSORT(ColumnName,'NLS_SORT=FRENCH'));Bon Chance!Martin-Etats
Unis-
Hi,
I am trying to use OCI Drivers with Tomcat. We have Tomcat 5.5, JDK
1.5 and classes12.jar for Oracle DB 8.1.7. Here is the error we have
when we try to connect. I found some places telling me it can only be
loaded once unless you turn on "Cache jars memory" setting...but I can
find how with
Is there anyone who can help me with this query?
Original Message
Subject:How can we capture all errors without defining it
Date: Wed, 15 Feb 2006 12:30:04 +0530
From: Java Pro <[EMAIL PROTECTED]>
To: users@tomcat.apache.org
Hi,
I would like to know, if we c
Try upgrade from GNU Java (which is the default JVM in the Fedora
distribution) to the Sun Java 5.
GNU Java has too many issues because of is not in the final version (I
remembere) :-(
PETR
On 2/16/06, Medha Parathasarathy <[EMAIL PROTECTED]> wrote:
> I have gone through the server.xml model gi
From: Daniel Guggi
> Basically you have to set up a context for your webapp.
Which context is actually used by the default examples?
Ok, I think..., when I move my class file to the directory where I find the
examples:
"C:\Program Files\Apache Group\Tomcat 4.1\webapps\examples\WEB-INF\classe
maybe if you explain your problem with only the technical details people
can help.
Marcelo Fukushima wrote:
Hello guys.
I dont know if this is the right list for this question, but i dont
have anywhere else to rely on so...
the problem im facing is kinda tricky: theres this one computer that
c
1. What does the 449 and 461 numbers mean?
A: My guess would be line numbers
2. Is there a security hole in our server?
A: What is your setup like, do you have an apache in front of an apache?
Peters Jan wrote:
Hi all,
I would like to ask the list if someone can give me a hint, what might
One addition, my version of Tomcat is 4.1
I read somewhere that the default way to install a servlet is changed, from 3.x
to 4.x, at least I think that is what was said, so the Tomcat version probably
matters in this question.
Marc
wow, apologies for being blunt in advance, not my style, but you really
really really need to slow down and you need to start reading carefully
so that we can get this out of the way.
1. The output from MCaster that we are looking for is when MCaster is
running on both boxes, and tomcat is NOT
You must put the class in a .jar itself located in the WEB-INF/lib
folder of a .war or you must put the class in WEB-INF/classes of a .war
You must also setup your servlet un WEB-INF/web.xml
Then you must deploy you .war in tomcat (the easiest way is to use the
manager: http://tomcat.apache.org/to
To display a servlet, open your browser, and in address bar type in
%TOMCAT_HOME%(the path to your Tomcat installation)/webapps/myapp (the name of
the
dir where your app is located)/servlet/HelloIZ, and lo an behold, your servlet
should pop up!
Jimmy
Take a look at the servlet specification.
Basically you have to set up a context for your webapp. The web.xml file
describes your web-app. This means that you define your servlets and the
servlet-mapping (which urls will be mapped to which servlet) in web.xml
you could use something like this for
Does Jboss have Catalina as a component to it, or is Catalina a apache
component only?
Andrew
-Original Message-
From: Caldarale, Charles R [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 15, 2006 10:58 PM
To: Tomcat Users List
Subject: RE: New to apache / Tomcat
> From: Andrew E
Filip Hanik - Dev Lists wrote:
1. What does the 449 and 461 numbers mean? A: My guess would be line
numbers
Sure those are line numbers, but for [debug] those
are not errors :)
As well as for [info] and [warn].
Anyhow the format is:
[DATE] [PID:ThreadID] [LEVEL] sourcefile (line number): log
> From: Marc Wentink [mailto:[EMAIL PROTECTED]
> Subject: RE: How to install a simple servlet in Tomcat?
>
> One addition, my version of Tomcat is 4.1
Unless you're tasked with development or maintenance of an old
application environment, I'd suggest moving up to the current 5.5.x
version of Tom
JBoss uses Tomcat (catalina) as its default webserver and servlet engine.
Filip
Andrew English wrote:
Does Jboss have Catalina as a component to it, or is Catalina a apache
component only?
Andrew
-Original Message-
From: Caldarale, Charles R [mailto:[EMAIL PROTECTED]
Sent: Wednesda
> From: Andrew English [mailto:[EMAIL PROTECTED]
> Subject: RE: New to apache / Tomcat
>
> Does Jboss have Catalina as a component to it, or is Catalina a apache
> component only?
JBoss uses the embedded form of Tomcat; Catalina is the internal name
given to the servlet container components of T
Hi Support,
Here is a summary of the issue:
When we open telnet sessions to port 8009(or any other port for that
matter), where the number of sessions = value of maxProcessors in
server.xml, opening any further telnet sessions throws the following
errors in the catalina logs :
Ajp13Connector[800
My excuses for such a simple question, but the archives are not =
searchable and the documentation not very clear. Or may-be I am just a =
terrible newbee.
Say I have a class file that contains a servlet, should not I do =
something so that tomcat becomes the container of this servlet, and a =
cl
Now tell us
1. OS Version
- gentoo with 2.6.15 kernel
2. Java version
- Sun JDK 1.5.0.06
OK in response of your previous message.
I start the two servers and run MCast
output is :
On agnes : java -cp tomcat-replication.jar MCaster 224.0.0.1 45564 ovea-inspiron
Usage MCaster [address port messa
And since the HOST argument has not yet been presented, how would the load
balancer know which port to forward to?
You can run on different ports, but each client would have to have URLs that
are constructed to connect to different ports.
George Sexton
MH Software, Inc.
http://www.mhsoftware.com/
Looks like a log4j error, not Tomcat error. What does your
log4j.properties file look like?
Filip
Joey Geiger wrote:
I've done some further searching, and noticed that tomcat was also dumping
information into stdout. There is another log trace that might be helpful if
anyone else recognizes t
ok, you didn't read my message again, that's ok.
Now tell us
1. OS Version
2. Java version
Then follow these steps
1. Shutdown the MCaster program
2. Shutdown both Tomcats - delete or archive your logs
3. Set waitForAck="false" on your element
4. Start tomcat 1
5. Wait 10 seconds
6. Start tomca
-BEGIN PGP SIGNED MESSAGE-
Hash: RIPEMD160
We are using Tomcat 5.5.9, and am having a problem with a memory leak.
Most of the threads in the thread dump have the similar stack trace as
this one does.
It doesn't make sense, because it seems that the ldap connection came
from the tomcat ser
More information:
The code I'm using to get the response code always comes back with http
status 200. The very next line:
ObjectInputStream result = new ObjectInputStream (in);
Is the one that generates the exception of EOF on stream.
Makes perfect sense... I just wish I had a reliable way
> From: Daniel Guggi [mailto:[EMAIL PROTECTED]
> I ran into a session-issue with a webapp. There are situations when it
> would be nice for a user (same browser/same machine/same
> webapp) to have
> the possibility to login twice and thus have two different
> JSESSIONIDs.
If you use cookies to
This might be off topic but I am hoping someone has the time to help me
out.
I recently moved from basic to forms based authentication and I am
having some problems with session expiration and my applets.
I serialize plain old java objects back and forth from my client applet
to tomcat 5.5.15 and
Hi!
I ran into a session-issue with a webapp. There are situations when it
would be nice for a user (same browser/same machine/same webapp) to have
the possibility to login twice and thus have two different JSESSIONIDs.
There is also a problem if the user opens a second browser-window or
-tab, be
> From: Ayyanar Inbamohan [mailto:[EMAIL PROTECTED]
> Subject: Reg: J2SE 1.4 and Tomcat5.5 compatability package
>
> I am using J2SE 1.4 and Tomcat 5.5,
> What is the compatability package I should add in the
> Tomcat 5.5 server to work with J2SE 1.4.
It's the one on the Tomcat download pag
Hi,
I am using J2SE 1.4 and Tomcat 5.5,
What is the compatability package I should add in the Tomcat 5.5 server to
work with
J2SE 1.4.
Thanks in advance,
Ayyanar...
-
Yahoo! Autos. Looking for a sweet ride? Get pricing, revie
Hi!
I ran into session-issue with a webapp. There are situations when it
would be nice for a user (same browser/same machine/same webapp) to have
the possibility to login twice and thus have two different JSESSIONIDs.
There is also a problem if the user opens a second browser-window or
-tab, beca
Just in case you missed them, study the following links. There is a
wealth of information here:
http://tomcat.apache.org/faq/
and of course
http://tomcat.apache.org/tomcat-5.5-doc/index.html
-Original Message-
From: Medha Parathasarathy [mailto:[EMAIL PROTECTED]
Sent: Thursday, Februa
I am using tomcat 5 which come along the fedora core 4
Regards
Sarathy
On Thu, 16 Feb 2006 03:02:34 -0500, "Parsons Technical Services"
<[EMAIL PROTECTED]> said:
> Search the archives as this has been done many times on the list. Links
> are
> available on the website along with some basic inst
I have gone through the server.xml model given by the tomcat site.
However when i try to test the connectivity using a java program :
import java.sql.*;
public class jdbc
{
public static void main(String args[]) throws Exception
I have gone through the server.xml model given by the tomcat site.
However when i try to test the connectivity using a java program :
import java.sql.*;
public class jdbc
{
public static void main(String args[]) throws Exception
Hi,
You can visit the site www.coreservlets.com , it will help to configure
the Tomcat.
You would be able to get the examples of server.xml and web.xml too.
Regards,
Awaneesh Shatmanyu
-Original Message-
From: Medha Parathasarathy [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 16,
thanks,
yes this is shocking.
But is it posible to use different ports on tomcat for SSL.
Wie have a loadbalancer witch could switch to the different ports.
> No its not possible. Here's a link to the FAQ for Apache that discusses
> the issues.
>
> http://httpd.apache.org/docs/2.0/ssl/ssl_faq.
Search the archives as this has been done many times on the list. Links are
available on the website along with some basic instructions.
Secondly we would also need the Tomcat version you are running in order to
assist you.
Doug
- Original Message -
From: "Medha Parathasarathy" <[EM
Yes. By the nature of the design, Java is almost always backward compatible
in that older software will run on newer versions. As usual there are
sometimes exceptions to this.
If you are going to change Java version, you may wish to change it to the
current version. 1.5 is very stable, compati
81 matches
Mail list logo