It doesnt really matter, as long as you get the desired result in your
application...
Well, actually, MSW2k supposedly can have optional languages/encodings loaded,
chosen on a per-user basis, and the console supposedly does display the
language and encoding the user is set up for. I'd assume
Hi !
I've come across an IMO strange behaviour of the Tomcat classloader
and would like to ask, wether this is intended and if yes why it is
that way.
I'm having a struts based webapp running under Tomcat 4.1.18
The webapp makes use of a DB2 database via commons-dbcp.jar
which comes with struts.
Return Receipt
Your Please reply--Important print writer problem.
document
:
Does load-on-startup still work for anyone under 4.1.18?
Just wanted to check for now, I'm not sure if it's a problem with jk
or with tomcat itself yet.
--
Rasputin :: Jack of All Trades - Master of Nuns
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
Well, it seems yu've got some pbs with apr.
I use to work with Apache 1.3.26, not Apache 2.x.
It seems that Apache 2 is build including apr
This is an excerpt of the build.properties.sample.
# APR location - by default the version included in Apache2 is used.
# Don't edit unless you install
Hi,
I did exactly as in the John Turner's website, Apache
1.3.27 with mod_jk and tomcat 4.1.18. To sum up here is what is
happening
1. I already have a Bugzilla running on my server at port80. Can't
stop it
2. At port 8080 I can see Tomcat listening. I need it on 80 ( Apache
is
When you say you can't stop it do you mean won't stop it? or you are
unable to stop it?
Donie
-Original Message-
From: Vivek Singh [mailto:[EMAIL PROTECTED]]
Sent: 06 January 2003 10:52
To: 'Tomcat Users List'
Subject: TOMCAT Not listening on 80
Hi,
I did exactly as in
Won't stop it!!
My team members will kill me if I stop it. I believe one of the reasons
why Tomcat cannot communicate with Apache is that I have no virtual host
thing going. I might be wrong
What do you think?
~Vivek
-Original Message-
From: Donie Kelly [mailto:[EMAIL PROTECTED]]
Hi Dave
This is exactly what I see on my OSX setup - sorry, I can't help you
with a fix at present, but please keep me posted of your progress if
4.1.18 works I may try an install here (currently running 4.1.12, as
you are, which was the latest build from the MAC website).
FYI I tried the
Hi all,
I have a web application running within tomcat which serves both JSP
files and static GIF files. I need to set the cache-control headers on
the GIF files to specify Cache-Control: no-cache. This is easy to do
for the JSP files, but I can find no reference on how to do it for
static
Somebody has subscribed an address to the list that equates to some
companies tech support address. So whenever a new thread is started, that
tech support address gets a copy, creates a new trouble ticket, and sends
out an email confirmation.
We're just lucky the tech support app they are
If you're saying that Apache's httpd.conf has no JkMount directives for JK,
then yes, your setup will never work.
If you've setup auto-generation according to my HOWTO, you can check your
Apache config prior to a restart as specified in my HOWTO, with:
/path/to/apache/bin/apachectl configtest
John,
I don't remember doing any of these JkMount directives, I
did not find any reference to this in your website, so there you go
:-)
And I had created a mod_jk.conf file in the path you had told and
included it at the end of httpd.conf, It had some autogenerated stuff in
I can't figure out where is this apachectl. I have no idea about JkMount
too.
Here is the current status
1. I have a Bugzilla at port 80.
2. I have a tomcat at port 8080.
Can someone help me.
~Vivek
-Original Message-
From: Turner, John [mailto:[EMAIL PROTECTED]]
Sent:
Hi Again
I've just spotted something really dumbbut perhaps the answer (so
dumb it had better not be the answer).
I checked the Tomcat 4 docs, and is says that you need JDK 1.2 or
higher to use this version of the product - I can't find anything
different in the JNDI docs either.
Now
Is it possible to reload configuration changes in server.xml without
bringing down the entire tomcat-server?
Will this be included in the manager app in future releases?
thx alot
Johannes Fiala
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
Hi all,
Am want to be running my servlets from C:\myAps and
below is how i've configured Server.xml and web.xml in
C:\myAps\WEB-INF\web.xml.
Problem: I cannot add more servlet mappings to the
web.xml. I have to delete one to test the other! How
can i add/map all my servlets e.g
If you make changes via the admin app the changes might be immediately
seen. (You'll have to play with it to see if it meets your needs)
If you manually change server.xml - then your out of luck and must restart.
-Tim
[EMAIL PROTECTED] wrote:
Is it possible to reload configuration changes in
Try the following in your web.xml:
web-app
servlet
servlet-nameMemberAuth/servlet-name
servlet-classMemberAuth/servlet-class
/servlet
servlet
servlet-nameMemberAuth2/servlet-name
servlet-classMemberAuth2/servlet-class
/servlet
servlet-mapping
Hi,
I have an ant script (small, b/c I'm new to ant) that builds some
classes and copies them over to my WEB-INF/classes directory. But I'd
like to see if I can program the ant script to reload the webapp too,
does anyone know how this is done?
Thanks,
Erik
PS (OT of Tomcat, but...): I
Hi
I am using tomcat-3.3.1.
How do i give directory authentication like .htaccess in tomcat ?
Regards,
--
Mazin Mohammed Vasnet Communication Pvt. Ltd
System Administrator www.vasnet.co.in
0824-451001
[EMAIL PROTECTED]
--
To unsubscribe, e-mail: mailto:[EMAIL
Please understand that we are operating in the dark. In one of your
previous posts, and in your private email to me off-list, you indicated that
you followed my HOWTO exactly.
If that is true, then you have:
1. tomcat set on 8080, with a JK-compatible connector listening on 8009, and
Did you include a LoadModule line in Apache's config to load mod_jk? You
cannot use JK commands in httpd.conf unless you load a module that
understands them.
Perhaps you might want to take a step back, tell us more specifically what
you want to do, and perhaps consider setting up a test
In another thread here, Craig mentioned that there was a discussion about
this on tomcat-dev for Tomcat 5, where Tomcat would pick up server.xml
changes on the fly.
John
-Original Message-
From: Tim Funk [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 06, 2003 7:16 AM
To: Tomcat
I use wget(http://www.gnu.org/directory/GNU/wget.html) with ant.
It is similar to this:
Properties to have set somewhere (build.properties):
webapp.path=/mywebapp
tomcat.instance=localhost:8080
tomcat.user=foo
tomcat.passwd=bar
wget.dir=/usr/local/bin/
wget.exe=wget
ANT SNIPPET:
Hi, could anyone tell me how to access files using relative paths from a
servlet? Say, if servlet is mapped to /bar and the file foo.html is in
the webapps top dir. How do I access the foo.html file from the servlet.
I tried ../foo.html, /foo.html and even
Howdy,
You likely don't have enough memory to do the job the JSP needs to do.
Try setting -Xmx (max heap size) to something big. You should also
profile your code to see where memory is being used. Search the list
archives for much much more information on this topic.
Yoav Shapira
Millennium
Howdy,
As everyone else illustrated, there are many options and each one has
advantages and disadvantages. I don't like JDOM too much because it
seems dead (at least as far as the open-source / XML standard pace
goes), not having released anything in 10 months or so.
I like writing my own SAX
Hi,
Did you try getServletContext().getResourceAsStream(/foo.html); ?
Yoav Shapira
Millennium ChemInformatics
-Original Message-
From: Øyvind Hvamstad [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 06, 2003 8:36 AM
To: [EMAIL PROTECTED]
Subject: Relative paths in servlets?
Hi, could
Hi,
Works for me. In the proper order too ;)
Yoav Shapira
Millennium ChemInformatics
-Original Message-
From: Rasputin [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 06, 2003 5:31 AM
To: [EMAIL PROTECTED]
Subject: servlet load-on-startup
Does load-on-startup still work for anyone
/bar is your servlet mapping which has nothing to do with a real path on
your system. You want to get the real path from the base of the context:
String contextPath = getServletContext.getRealPath(/);
Check is that is null before using it as it *will* be null if you serve
your app directly
See the example at:
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/appdev/
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/appdev/sample/
It provides examples using the Tomcat Ant manager tasks which is exactly
what you need.
Jake
At 08:04 AM 1/6/2003 -0500, you wrote:
Hi,
I have an ant
Hello Everyone,
I've searched the archives and can't seem to find anything on thie
problem we're having upgrading our app from running against Tomcat 3.2
to 4.1.18.
Under 3.2 everything works peachy, but under 4.1.18 we're having one
issue. We're using the Jython java python implementation
Hi All,
My application is a servlet and it uses another application that tries to
read a property file.
Now the problem is that this application was never designed to work along
with a servlet and
does not read its property file using a method like
Hi,
That depends entirely on the application. Its documentation should indicate how it
can be configured to read the file. Chances are for one of the following:
- The app has some configuration file where you can specify the file path
- The app can take a runtime CLI parameter, e.g.
On Mon, 2003-01-06 at 15:22, Jacob Kjome wrote:
Check is that is null before using it as it *will* be null if you serve
your app directly from a .war file rather than from a directory on the file
system.
Odd, I do serve mine from a .war file, however the contextPath is not
null, but points
I recently switched a web application from a memory realm to a JDBC realm
for authentication. After making the switch, the web app now requires that
users log in twice. The app is running with SSL, and using Basic
authentication. The Login.jsp page listed in the XML below as the welcome
file
Mod_jk redirects based on uriworkerproperties file. If the file has been
setup correctly then check/remove that previous web container redirection,
which may capturing the jsp requests before mod_jk can process it.
-Original Message-
From: Sebastião Carlos Santos [mailto:[EMAIL
This is a good idead Wendy but I can't change their code..
Sumit wrote:
Now the question that I have for you bright folks out there is how am I
supposed to go about
feeding this application its property file:)
Will this do?
ClassLoader cl = YourClassName.class.getClassLoader();
Hi Yoav,
Well of all that I know of this application is that it reads a file from a
directory structure
Something like
com/apps/Application/sample.prop
and the application is also in the same package
whereas my application resides in the package
com/apps/MyApp/MyService
Now, this very
There is a memory leak in the Sun javac compiler which could be the cause of
this problem.
You could use the jikes compiler to get around this problem.
Andy
-Original Message-
From: Laxmikanth M.S. [mailto:[EMAIL PROTECTED]]
Sent: 04 January 2003 12:21
To: Tomcat Users List
Subject:
Hello,
I found some messages about this but no solution yet.
I have tomcat 4.1.12 in RH 7.3 with some servlets. Tomcat spawns some
threads for every new request, but the new threads never die.
They remain in sleeping status and the memory reports (although not to be
trusted because of linux
Hi,
Is that all the app documentation says?
Do you know the name of the class that tries to read sample.prop and what argument it
passes into the classloader getResource() call?
If you put sample.prop in the same directory as the classes in the
com.apps.Application package, it should work.
Hi All,
Is there a way to manage the sessions with the default session manger
other than using the admin webapp? for instance... is there a way to
list all the logged in users in the current webapp? Or does one need
to extend the default session manager to allow access?
Thanks,
Rick
--
To
When I'm running Tomcat 4 with JPDA_TRANSPORT and JPDA_ADDRESS set, I can
succesfully attach JBuilder to the tomcat process using jpda. I can debug
all servlet and utility classes but I have problems debugging JSPs. The
problem is that all generated java files seem to be part of the package
It still works for me, however it seems to work two well.. it
seems to get called twice for the same servlet now. not sure why.
-Rick
-Original Message-
From: Rasputin [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 06, 2003 2:31 AM
To: [EMAIL PROTECTED]
Subject: servlet load-on-startup
Tim Funk wrote:
I use wget(http://www.gnu.org/directory/GNU/wget.html) with ant.
Tim,
Thanks for your idea -- it's a good one and I didn't even think of it.
But according to the link Jacob Kjome posted, the same can be done using
a build.properties and custom ant task with the
You could always use a .wgetrc to contain those parameters.
Or ant's GET task probably does the trick too since it supports BASIC
authentication.
In the near future - I hope to change my deploy tasks to use ant's GET
instead of wget.
-Tim
Erik Price wrote:
Tim Funk wrote:
I use
You are confusing the WAR structure with the actual .war archive. The .war
archive is a .jar format archive. I challenge you to try to use File IO to
access a file inside a .jar or .war archive. If you can do it, please let
us all know because you will have broken new ground in Java :-)
The latest Sun javac compiler has, supposedly, fixed the memory leak. Grab
j2sdk1.4.1_01.
Unfortunately, for those on Windows, jikes cannot be used to compile jsp's
because it doesn't support some encoding options on Windows, only Unix/Linux.
Jake
At 02:58 PM 1/6/2003 +, you wrote:
config_files.doc
Description: MS-Word document
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
On Mon, 2003-01-06 at 16:31, Jacob Kjome wrote:
Assuming the .war file is in CATALINA_HOME/webapps
Context path=/mypath docBase=myWarArchive.war/
Make sure to stop tomcat before you put the .war file into webapps. Add
the above to your server.xml or a context configuration file (like
JK:
http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk/release/v1.2.2
/bin/linux/i386/
JK2:
http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk2/release/v2.0.
1/bin/linux/i386/
John
-Original Message-
From: Vincent Geneste [mailto:[EMAIL PROTECTED]]
Sent:
I had some problems sending the mail with this content. Can you please open the file where I have described the error I am receiving.
(See attached file: config_files.doc)
Thanks a bunch for the help.
Krishna Nagaraj
config_files.doc
Description: MS-Word document
--
To unsubscribe, e-mail:
Turner, John wrote:
We're just lucky the tech support app they are using is well-behaved enough
to understand that it should only reply to each new thread with one message
instead of one message for the thread itself and every reply in that thread.
Is there not someone with some kind of
Hi Sumit,
you could read the properties file yourself as InputStream,
create a temp file from this and pass this temp file or the real
path to the temp file to the other app. It shouldn't be bad for
performance, if only done once. But you can't write to it any
more, because it's temp.
Andreas
To manage session in your applications, you have to set the
privileged attribute in server.xml (for your context) and then
implement an interface I just can't remember which one... You can find
out which one is it downloading tomcat sources and looking for session
management classes
On Mon,
Hi!
I am trying to add postgresql datasource to tomcat 4.1.18 running on
RedHat 7.3, with sun jdk 1.4.0_02.
My addition to server.xml as follows.
Context path=/DBTest docBase=DBTest
debug=5 reloadable=true crossContext=true
Logger className=org.apache.catalina.logger.FileLogger
Hi there,
Hi vivek,
John Turner's suggestion is right on. Try setting it up on a
development box first. This will save you and your colleagues a lot of
headaches later on. Besides it is good practice. But here are some
pointers.
1. Log in as root or su to it
su -
2. Search for perl
which
Nice list.
John
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 06, 2003 11:14 AM
To: Tomcat Users List
Subject: Re: RE: TOMCAT Not listening on 80
Hi there,
Hi vivek,
John Turner's suggestion is right on. Try setting it up on a
thats only for windows 2000, but thanks.
also we are looking for a more general solution not dependant on the OS
On Sun, 5 Jan 2003, Noel J. Bergman wrote:
Jason,
Does this help at all? http://www.mvps.org/win32/ntfs/lnw.html
--- Noel
--
To unsubscribe, e-mail: mailto:[EMAIL
On Mon, 6 Jan 2003, Michael Gerdau wrote:
Date: Mon, 06 Jan 2003 10:21:02 +0100
From: Michael Gerdau [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: [EMAIL PROTECTED] [EMAIL PROTECTED]
Subject: Strange behaviour of Tomcat classloader
Hi !
I've come across an IMO
Hello!
I am having a problem with Tomcat 3.3.1 running with Apache. I have set
up an xml file named apps-BS.xml under the conf directory as is shown
with the apps-examples.xml file. However, I am still unable to access
the BS app from a browser. Basically, I copied the apps-examples.xml
I need a list of enterprises that use Tomcat as Web Server.
Can someboby help me?
_
MSN Hotmail, o maior webmail do Brasil. http://www.hotmail.com
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands,
Thanks Yoav. that helped...I was running after the wrong horse:)
Regards,
-Sumit
-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 06, 2003 10:31 AM
To: Shrotriya, Sumit
Subject: RE: Reading Property files...related to servlets
Hi,
It looks like
ant does reload.
Look in the Application Developer documentation
http://localhost:8080/tomcat-docs/appdev/index.html
At 08:04 AM 1/6/2003 -0500, you wrote:
Hi,
I have an ant script (small, b/c I'm new to ant) that builds some classes and copies
them over to my WEB-INF/classes directory. But
There doesn't appear to be anything wrong with the XML below,
assuming the '-' at the beginning of some lines are *not* in the
actual file.
Check the log output of Tomcat to make sure no problems are being
reported at startup and when tomcat receives the browser request.
Cheers,
Larry
Reading the docs, it seems that deploying or redeploying a WAR file
should be as dropping the WAR in the right directory or copying a
revised WAR over an already deployed WAR. This is not working. Any
ideas as to what to check into?
unpackWARs = false
autoDeploy = true
Thank you
--
To
What I did was I wrote a reflective class loader based on SAX.
The idea is that with a few hints, XML files, particularly simpler XML
files, are self-describing.
Since a majority of XML fields are scalar (number, string, dates), the
loader can handle those automatically. It uses the first tag of
Hi,
I am resposting this message as I did not get any answer/comment/advice.
Has anyone ever got Digest authentication working with Tomcat?
-Original Message-
From: KUMAR,PANKAJ (HP-Cupertino,ex1) [mailto:[EMAIL PROTECTED]]
Subject: Tomcat 4.1.18: Digest authentication not working?
Hi,
Ahoy there!
This is an automated response, to let you know
that we have received your query and will answer
your email as soon as possible.
We know you'd like to get back to playing our
state-of-the-art online games. We'd therefore like
to assure you that we are determined to keep our
service at
Hello Øyvind,
I'm not aggravated, I was just pointing out the misconception.
Jake
Monday, January 06, 2003, 9:30:26 AM, you wrote:
ØH On Mon, 2003-01-06 at 16:31, Jacob Kjome wrote:
Assuming the .war file is in CATALINA_HOME/webapps
Context path=/mypath docBase=myWarArchive.war/
Make
Should it be apps-BS.xml?
This is what I saw in the docs:
· Add a Context entry in the Tomcat apps.xml configuration file. This approach
is described briefly below, and allows you to position the document root of your web
application at some point other than the $TOMCAT_HOME/webapps/
When you switched to Digest mode did you convert the original clear text
passwords to the digest format you wish to use?
-Original Message-
From: KUMAR,PANKAJ (HP-Cupertino,ex1) [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 06, 2003 11:13 AM
To: '[EMAIL PROTECTED]'
Subject: REPOST:
I might be wrong.. but there is a difference between
using Digest for authentication and storing the
passwords as digest version in the user
tomcat-users.xml file.
The former is what Pankaj is tying to do.. this causes
the passwords to be transmitted as digests version of
themselves from the
I also delete the existing directory and then restart.
Your message didn't mention the restart.
There is another gotcha. That I have encountered that occurs
it you have an entry for that context
Is that your case?
At 11:56 AM 1/6/2003 -0600, you wrote:
Reading the docs, it seems that deploying
Any help appreciated! Can't find any documentation :-(
--- Sam Ewing [EMAIL PROTECTED] wrote:
Has anyone got a successfully working JAASRealm
configuration? Would like to see the Realm
configurations.. any help appreciated. Thanks!
/s
__
On the same issue... does using DIGEST Authentication
work when the password itself is stored in digest
form?
I wasnt able to get it to work...
/s
--- Sam Ewing [EMAIL PROTECTED] wrote:
I might be wrong.. but there is a difference between
using Digest for authentication and storing the
Hello there... I have a web app that works perfect under tomcat 4.1.12.
I'm using apache + mod_jk.
It works partially ok with 4.1.18, everything under http works fine,
but if i
call something using https, i get the following error:
An error occured while loading
i know this is not a tomcat problem, but i think someone will be able to
help me out on this from this list.. i am trying to use dbTags and access
Oracle DB, but i think i am not getting the url right.. i tried
jdbc:oracle:thin:@server:port:service but doesn't seem to like it.. any
help
Hi Torsten,
Sorry the delay (and for sending a copy directly to your address). I got
a little vacation :)
Torsten Fohrer wrote:
Please try this steps.
1. hang on catalina.out, access.log
OK. I assume that access.log is localhost_log.date, is that correct ?
2. request the page with the
My understanding is, that the DB2 JDBC driver is loaded by the
webapplication. However once the commons-dbcp.jar from the common/lib
dir has been loaded and utilized then all at a sudden shared/lib
seems no longer part of the searchpath. But when commons-dbcp.jar
is taken from the
jdbc:oracle:thin:@machine:port:database
-Original Message-
From: Vladimer Shioshvili [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 06, 2003 1:44 PM
To: Tomcat Users List
Subject: jakarta-taglibs DBTags
i know this is not a tomcat problem, but i think someone will be able to
help me
-Original Message-
From: Sam Ewing [mailto:[EMAIL PROTECTED]]
On the same issue... does using DIGEST Authentication
work when the password itself is stored in digest
form?
No, it doesn't. I tried with MD5 digested passwords ( set digest attribute
of Realm element to MD5 and
thanks...
At 01:52 PM 1/6/2003, you wrote:
jdbc:oracle:thin:@machine:port:database
-Original Message-
From: Vladimer Shioshvili [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 06, 2003 1:44 PM
To: Tomcat Users List
Subject: jakarta-taglibs DBTags
i know this is not a tomcat problem,
Is there a way to find out the number of active connections in a
connection pool?
Hari
The delete the existing dir and restart is necessary when
unpackWARs=true. Is it also required for unpackWARs=false? for false
there are no directories. The goal is to hot redeploy just by coping in
the new WAR.
What is the gotcha that you refer to?
Paul Campbell wrote:
I also delete the
I have explained the error in this attached document.
(See attached file: problem.doc)
Thanks a lot
Krishna
problem.doc
Description: MS-Word document
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Thank you very much for the reply. After double checking all my settings and
for hunting where the problem was, i disabled a filter i had implemented to
ensure that https was being used when i wanted.
Disabling the filter allowed tc 4.1.18 to work using https. So now the problem
becomes why
This is the fourth time you've posted this today. We get it. If someone
has an answer, I'm sure they will reply.
John
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 06, 2003 2:32 PM
To: [EMAIL PROTECTED]
Subject: ERROR IN TOMCAT 4.18 +
Ms. Krishna please read: http://www.tuxedo.org/~esr/faqs/smart-questions.html
here is the contents of her attached document:
If I try to browse a jpg file of size greater than 34KB then I get an
image which has a dark pattern from the middle of the image. This only
happens if the image is
Hi,
I am working on a project which uses Tomcat as servlet container and castor
(ver 0.9.39) which is embedded in Jbuilder 7/8. My problem is that
Unmarshaller.unmarshal(class, reader) has problem with Tomcat 4.1.18.
Unmarshal method does not return proper java object, however, it does not
throw
Can't you determine if something is over SSL using
ServletRequest.isSecure()?
In any case, your filter can still check for 443 regardless of the
implementation differences between .12 and .18 using
ServletRequest.getServerPort(). Just don't use getRequestURL().
John
-Original
Sorry. I didn't mean to send 4 times. The first 2 times only the attached
document was displayed in the mail. That's why I sent it out again by
adding more explanation into the attached doc.
Again I apologize for the inconvenience.
I have created a simple tomcat web app that uses a
JNDIRealm for authentication per the instructions in
the Tomcat 4.1 documentation. When I start tomcat,
the login process for this web app works fine for a
few minutes or logins.
Eventually, I reach a state where the first login
always fails
I remember reading that one of the distributions of Castor had the same
issue you are describing with parsing. My recommendation is to upgrade
to Castor 4.1 and see if that fixes your issue, it did for me.
Jacob
-Original Message-
From: Ali Kaplan [mailto:[EMAIL PROTECTED]]
Sent:
We have a development tomcat 3.3.1 final on
a server that has Red Hat Linux release 7.1 (Seawolf) Kernel
2.4.2-2 on an i686.
There are no problems here whatsoever when retrieving an
object from the ServletContext and casting it to it's
original type.
On my machine running windows2000
Thanks, Larry and Paul. (Paul, I don't think I got your whole message,
it seemed to be truncated)
The '-' at the beginning or some lines are *not* in the actual file. I
run tomcat from a window so that I can have live debugging on my
development computer instead of running it as a
Hi Rob,
You have two separate sets of usernames and passwords here. One that the
JDBC driver uses to open the database connection, and another set that
Tomcat reads from a database table and compares to what you type in when
prompted
The realm stuff sets up when Tomcat starts, but it just sits
Tomcat 3.3.1 can only use WEB.XML file that uses the servlet 2.2 dtd.
To be more clear the top of your web.xml file should contain the following:
!DOCTYPE web-app
PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.2//EN
http://java.sun.com/j2ee/dtds/web-app_2_2.dtd;
The
1 - 100 of 146 matches
Mail list logo