directly if you have any more specific questions. Oh, upgrading to
4.1.24 is a good idea too, for the bug fixes and because you can use data
sources in realms (allowing you to pool login connections).
Rick Fincher
[EMAIL PROTECTED]
Partial WEB-INF/web.xml for Firebird data source:
resource-ref
The datasource setup in the admin console is unstable and usually does not
work. Define your contexxt in conf/server.xml manually. See my previous
post for details.
Rick
- Original Message -
Of course, and I wouldn't be asking the question without tons of
research on my own. I will
Hi Joe,
Type java -version from the command line where you are running the RPM to be
sure you are getting 1.4.1. RH 8.0 ships with a JDK 1.3.1.
JAVA_HOME doesn't have any effect on the shell, only on Tomcat. You have to
set your path so that the shell finds 1.4.1 before 1.3.1, so it can find
- Original Message -
The MD5'd password *is* in the pg_shadow.passwd column. I don't see what
I'm doing wrong.
Is Postgres (or anything other than Java) generating the MD5'd passwords for
the pg_shadow table? If so, have you manually generated the MD5's to see if
they are the same?
Yeah, looks like you almost have it. The MD5'd password should be in
pg_shadow in the userCredCol, passwd in this case.
Be advised that you should either use only HTTPS for this, or run Tomcat on
the same server as Postgres, or run them both on a secure net behind a
firewall on separate machines
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
Hi Rob,
Try it in clear text without the MD5 digest, to verify that your password,
username, role, etc are correct.
I had a lot of problems with digesting.
Also some databases return column names in upper case even if they are in
lower case so you may want to try all caps on your db column
Hi Rob,
Ok, I tried cleartext passwords, but I came up with the same result. I
don't
understand why tomcat is able to start up at all, if the authentication is
failing.
Users are authenticated not Tomcat, so starting Tomcat has nothing to do
with authentication. Tomcat is just a Java
Is this correct? My JVM memory use expands and contracts all the time
during a Tomcat run. The JVM will get bigger until it hits the memory
limits set up at start time, then it will GC and get smaller, according to
the OS anyway.
This is on Solaris but I can't imagine that they would make the
A user is an entity with a user name. That's all you know about them unless
you have more info stored locally. A Principal is an object that contains a
name as a minimum, but also contains other data that varies depending on
what type of security system is used.
From the docs:
getRemoteUser()
Hi All,
Anyone got an idea of what an All threads waiting error is and how to
increase the number of threads or un-deadlock them?
I had this problem with Tomcat 4.1.14 on a Solaris 8 box with JDK 1.4.1.
The error messages I got are below.
Thanks,
Rick
Dec 2, 2002 7:05:09 PM
Hi David,
String user = request.getRemoteUser();
Returns the username of the current user if authentucated or null if not
authenticated.
See HttpServletRequest in J2EE platform docs for more info.
Rick
- Original Message -
From: David Brown [EMAIL PROTECTED]
Hello tc-users and
You should also be able to use connectionUser=dbuser and
connectionPassword=dbpass in the realm tag instead of putting it in the
URL.
Rick
- Original Message -
From: John Murtari [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, October 23, 2002 2:20 PM
Subject: JDBC Realm example
Hi Tuncay,
If I understand your task correctly, you need to develop a system that has
no graphical user interface (The point of sale machines take care of that)
but it needs to conduct transactions between those POS systems and the
database.
That is more or less what J2EE and Enterprise Java
A JSP file isn't enough. You need a web app. That requires a WEB-INF
folder with a web.xml file.
You can run your JSP create the folder WEB-INF (case is important) in your
begjsp-ch01 folder. In WEB-INF put a minimal web.xml file containing
something like the example below.
Now access your
You also need to check to see if localhost is resolvable on your machine.
If you ping localhost you should get a response from 127.0.0.1.
Rick
- Original Message -
From: Raj Saini [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Tuesday, October 15, 2002 6:57 AM
Subject:
You can also try incremental garbage collection (-Xincgc). It is supposed
to be more fine grained garbage collection that runs as an interruptible
background process and significantly reduces pauses.
Rick
- Original Message -
From: Ritesh Saraf [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Hi Filip,
Your servlet can call a class (doesn't have to be a servlet) that sets up a
java.util.timer to run your code as a timerTask. The servlet can get
parameters from the web.xml file (like how often to execute) and pass that
to your class that controls the timer.
The servlet can pass your
Hi Michael,
Have you tried this with Tomcat 4.1.x? Many bugs have been fixed and you
may have better luck.
Rick
- Original Message -
From: Michael Nicholson [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Wednesday, October 09, 2002 3:08 PM
Subject: Context/DBCP
Hi Alan,
Try using connectionName and connectionPassword rather than passing
that info in the URL. Tomcat is probably sticking a user= and password=
onto the end of your url resulting in:
jdbc:mysql://localhost:3306/diamond?user=alan;password=xxx?user=;passw
ord=
which blows up when it
=org.apache.catalina.logger.FileLogger
prefix=localhost__log. suffix=.txt timestamp=true /
/Context
Alan
- Original Message -
From: Rick Fincher [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Tuesday, October 08, 2002 3:32 PM
Subject: Re: JDBCRealm Question
Hi
javax.sql is in the standard edition JDK as of version 1.4. It wasn't in
JDK 1.3 SE. You had to get it from the J2EE version of the JDK or from the
JDBC 2.0 or 3.0 standard extensions jar that was distributed by Sun.
Many vendors included it in their JDBC driver jars.
It contains mostly
CATALINA_HOME replaced TOMCAT_HOME somewhere in there. You only need
CATALINA_HOME.
Rick
- Original Message -
From: Venkat Reddy Valluri [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Thursday, October 03, 2002 4:26 PM
Subject: RE: TomCat java_home variable
Hi Peter,
The docs are not very good on this. There is good news and bad news. The
bad news is that even using JSPC all you get is a bunch of uncompiled
servlets. You still have the slowdown at runtime with the first compile
into class files. You can go in and compile the servlets but
Hi Padu,
It looks like you have this set up OK. Do you have a memory realm set up in
conf/web.xml as is required for this setup?
Also, since your transport guarantee is set up as confidential it is going
to use SSL so you either have to use an HTTPS:// url or you have to have
redirection
Sounds like you are close now. It is working but it is rejecting your
username, password or role.
The name and role in WEB-INF/web.xml have to match the name and role in
conf/tomcat-users.xml. The password is verified at login and must match the
password in conf/tomcat-users.xml.
You can add
Ah Ha. That means you didn't have HTTPS set up properly in the Connector
for SSL Coyote HTTP 1.1, in the conf/server.xml file.
Rick
- Original Message -
From: Padhu Vinirs [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Wednesday, October 02, 2002 2:07 PM
Subject: Re:
without going through
the login page. Is there a place where I need to say that the login info
should not be a permanent cookie but only session scope ???
Thanks
-- padhu
Rick Fincher wrote:
Hi Padu,
It looks like you have this set up OK. Do you have a memory realm set up
in
conf
Hi Chuck,
What version of Tomcat and the JDK? If you are not running JDK 1.4, are you
sure you didn't get the lightweight version of Tomcat? It only works with
JDK 1.4.
Rick
- Original Message -
From: Chuck Carson [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent:
Hi Frank,
Putting it in the common/lib directory is the correct place for it if you
want it accessible by Tomcat and alll your web apps. That way you don't
have multiple copies of your JDBC driver cluttering up your system. Put it
in WEB-INF/lib makes it available to only that web app.
This
-
I was trying jdk 1.4.1, I now rebuilding with 1.3.1_04. I am pretty sure
I got the full version of tomcat:
Jakarta-tomcat-4.1.12-src
I used 'ant dist' to build everything.
Any ideas?
Thanks,
CC
-Original Message-
From: Rick Fincher [mailto:[EMAIL PROTECTED]]
Sent: Tuesday
Hi Chuck,
4.1.12 should be better than 4.0.4, particularly if you run it under the
server version of the JDK under Solaris 8 and incremental garbage collection
(-Xincgc). See http://java.sun.com/products/hotspot/docs/general/hs2.html
for info on the server VM.
Rick
- Original Message
Driver Installation
Is it a bug that tomcat can't recognize oracle's classes12.zip
even though I installed it in the common/lib?
thanks,
frank
On Tue, 1 Oct 2002, Rick Fincher wrote:
Hi Frank,
Putting it in the common/lib directory is the correct place for it if
you
want it accessible
Hi Frank,
That's only for container managed security realms. The JNDI realm looks in
an LDAP database, while the JDBC realm looks in a database for login info
using a JDBC driver that you supply.
The nomenclature is confusing since JNDI can be used to find data sources
for non-login database
Hi Robert,
Make sure that autoDeploy, liveDeploy, and unpackWARs have not been set to
false in the Host container configuration in server.xml.
Your e-mail said your server.xml was attached, but it wasn't in my mail.
Rick
- Original Message -
From: [EMAIL PROTECTED]
To: 'Tomcat Users
Hi Robert,
Saw your server.xml in this one. The following link to the Tomcat docs has
info you might find useful.
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/host.html
Rick
- Original Message -
From: [EMAIL PROTECTED]
To: 'Tomcat Users List' [EMAIL PROTECTED]
Sent:
Hi Ed,
You have a couple of problems. First, you left out the user data constraint
transport guarantee tag that forces Tomcat to use HTTPS. A security
constraint has to have 3 things: 1- the web resource collection describing
what to protect, 2- the authorization constraint describing who
Hi Anup,
You'll have to post the error message so we can see exactly what happened.
Was the error in Apache or Tomcat? Presumably it was in Apache. Anything in
the logs? What versions of Apache and Tomcat are you using? What version
of JDK?
The URL's you give below are not valid, so we
about it :-)
On Tue, 2002-09-24 at 19:35, Rick Fincher wrote:
Hi Keith,
I've been using Firebird and the JayBird JCA-JDBC driver and JSP.
Firebird
is open source and a complete SQL 92 DB. It was spawned from Borland's
Interbase 6.0 when it went open source, so it's commercial quality
Hi Randy,
It depends on what type of security realm you set up. If you use memory
realm it is in the file CATALINA-HOME/conf/tomcat-users.xml. If you use
JDBC realm it is in whatever data table you specify in
CATALINA-HOME/conf/server.xml. If you use JNDI realm its in your LDAP
database.
Hi Keith,
I've been using Firebird and the JayBird JCA-JDBC driver and JSP. Firebird
is open source and a complete SQL 92 DB. It was spawned from Borland's
Interbase 6.0 when it went open source, so it's commercial quality.
Interbase has been around for nearly 20 years as a commercial product,
Is anybody still developing Poolman? I heard the original developer retired
it. If you are just starting out you might want to use another connection
pooling package like DBCP in the Jakarta Commons project, so you don't get
locked into a defunct product.
This is from the web site listed on
Hi Amitabh,
A lot of folks seem to like Tyrex, but it may be overkill for you.
SourceForge has one project called Proxool, that may be useful. The project
is active (released new version on 9/20/02), and seems well documented.
Search for pooling on www.sourceforge.net for a list of projects
That is correct behavior. You cannot access the j-security_check page
directly. You hava to access one of you regular pages and Tomcat will go to
your form page.
Rick
- Original Message -
Hi
I use a Form based authentification in web.xml :
[...]
login-config
Hi Baris,
I tried:
java -classpath CATALINA_HOME/server/lib/catalina.jar
org.apache.catalina.realm.RealmBase -a MD5 aksu
And got:
aksu:394e654ca65973f232653fb0008c603d
So that seems to be working correctly. You may want to try changing
auth-methodBASIC/auth-method, to
The file is in CATALINA_HOME/server/lib/catalina-ant.jar, but only on Tomcat
4.1.X.
Rick
- Original Message -
Hi
I need this file: catalina-ant.jar. Where find it?
In documentation tomcat,
* Download the binary distribution of Ant from
http://jakarta.apache.org/ant
Hi,
If you need to get it up and running fast, just use Tomcat with SSL. You
can always add Apache later if you think it will boost performance. Setting
up an Apache+SSL+Tomcat server can be tricky if you are a newbie (and even
if you aren't).
A lot of this depends on what you are running and
Hi David,
Thanks for the response. I'm using an IDE and all it does is spit out a war
file with the JSP sources and WEB-INF. I guess it can't use class files
because it has no knowlege of the container environment it will be deployed
in.
So it looks like what I need to do is write an ant
Hi All,
There has been some discussion on here and on the TAGLIBS list about
precompiling JSP's in Tomcat.
To avoid confusion, before I go on I want to point out that there has been a
change in Tomcat 4.1.8 in the naming conventions of servlets generated from
JSP's.
In 4.1.8 a JSP file
Thanks Sylvain,
I've posted several questions about JSPC and never got a response. I guess
few people do it.
Anybody know if Tomcat responds to the JSP precompile directive and compiles
stuff upon loading?
Rick
- Original Message -
From: St-Germain, Sylvain [EMAIL PROTECTED]
To:
I believe Front Page suports WebDav and newer versions of Tomcat do as well.
So you shouldn't have too much trouble.
Rick
- Original Message -
Hello all, we are looking for other means on replacing IIS on our servers.
We do have a web editor called FrontPage to edit our web sites from
Hi James,
You have to have a security realm set up to use the manager. Just a shot in
the dark but that may be your problem.
Rick
- Original Message -
Hi all
I have just installed Tomcat 4.1.7 on a machine running Win 2000
Profession
ed
Everything seems to work fine except the
Hi,
I have a webapp that uses Tomcat login security and html frames. If a
user's session times out, and the user tries to access the webapp Tomcat
calls the login page as expected.
The problem is that the old frame is still in the browser and the login page
appears in whichever frame was last
Thanks Craig,
That is perfect. I was hoping to avoid JavaScript, but I couldn't find any
other way.
Thanks again!
Rick
- Original Message -
On Wed, 24 Jul 2002, Rick Fincher wrote:
Hi,
I have a webapp that uses Tomcat login security and html frames. If a
user's session
Hi,
That means you have to put the driver files (usually in a jar file)
someplace where Tomcat can see them. A good place for jar files is
CATALINA_HOME/common/lib. If it is there Tomcat can use it and your webapps
can too. If your driver files aren't in a jar you can put them in
Hi Albert,
You need to put a copy of Interclient.jar into CATALINA_HOME/common/lib.
That will let Tomcat use it for authentication and your webapps use it for
db access.
Rick
- Original Message -
From: albert woltman [EMAIL PROTECTED]
Hello,
I'm using Tomcat 4.0 and Interbase 6.5
Hi Jack,
Sun has a demo webapp that uses tags to send mail and read it off pop and
IMAP servers. The following URL is page on Sun's site that explains how it
works. Down at the bottom near Conclusions is a download link to the
code.
If you have an e-mail address to the phone uer or SMS
Hi Jack,
Are you tasked with coming up with the whole solution, or just sending mail
to a pre-existing setup for e-mailing cell phones?
The easy part is sending mail. Is your monitoring stuff running under
Tomcat?
You can send mail directly from your monitoring software if you have access
to
Hi Kevin,
If no one else can help with imap mail in Tomcat, Sun has a mail webapp on
their web site that supports IMAP and POP and enclosures of graphics and pdf
files, etc.
They use a tag library so it's easy to customize.
Details are at:
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/realm-howto.html
- Original Message -
Does anyone have the link to the TOMCAT JDBCRealm How-TO??
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Hi,
I just installed Tomcat 4.1.7b and JDK 1.4.1b and it looks like the memory leak
problem is still there.
To get around this I have been trying to figure out how to get pre-compiling to work
with JSPC. This seems to work better with the -webapp option using the combination
above, but
Hi Eddie,
I use Interbasse to do what you are trying, but directly to Tomcat, so I
know it can be done. My server.xml entry follows. The only thing I see
different is that you have two forward slashes after the host name. Is this
a typo? Does this work with your other JDBC apps? I'm
Hi Laura,
Tomcat actually does have a pid. It is a java application. Under Solaris
if you do a ps -elf |grep nativ you will see a listing beginning with your
JAVA_HOME and ending with ../bin/sparc/nativ_t. That's the pid of the java
virtual machine. If you have multiple java apps running
Under Solaris you have to use /usr/ucb/ps -ax |grep 'java*' to use the
Berkeley version of ps.
This gives a nice listing of the command line flags too.
Rick
- Original Message -
hi Laura,
when tomcat runs an instance of java is always running..try
ps -ax | grep 'java*'
it
Hi,
Just a shot in the dark because you sound pretty well versed in JSP, but
were your pages pre-compiled?
If not, they compile the first time they are called, that adds significantly
to loading time.
If it looks like class lookup was the bottleneck, was the slowdown on the
first call to the
Rick Fincher wrote:
The javac in J2SE 1.4 has the memory leak 1.1.1 works OK under Solaris.
Sorry, that should have been JVM 1.3.1 works OK under Solaris.
Rick
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Hi Markus,
You can use the same calls in Java to encrypt that Tomcat does. When you
use encrypted passwords with form based authentication, Tomcat reads the
clear text password from the user, then encrypts it according to your
settings (MD-5 for exmple), then retrieves the pre-encrypted
Hi John,
Tomcat will do this automatically with your app but it has to know that it
is meant for the secure port only. You tell it this by including something
like the following in your web.xml for the app.
security-constraint
web-resource-collection
The javac in J2SE 1.4 has the memory leak 1.1.1 works OK under Solaris.
- Original Message -
From: Ralph Einfeldt [EMAIL PROTECTED]
- First make shure that you don't have memory leaks on your own.
- Make shure that you store as few data in sessions as possible.
Remember that the
Hi,
I there a good reference somewhere on using JSPC for pre-compiles?
Also does using the jsp_precompile=true directive do anything under
Tomcat? I read that the spec doesn't require it to actually do anything for
compliance.
Thanks,
Rick
--
To unsubscribe, e-mail: mailto:[EMAIL
I've had the same problem and the code works fine on Tomcat 3.x but the
JSP's won't compile under 4.x. The tags are in a tag library jar called
jtl.jar. You don't need a tld directory if you use a jar. According to the
JSP 1.1 spec it is assumed that the tld will be in a file called taglib.tld
Because the MySql driver is a javax.sql.DataSource and that's what gets
passed back by the pool, making the pool transparent (no pun intended).
That way you can later change the driver or the pooling details without
changing your code (assuming the SQL dialect still works).
Rick
- Original
The problem is that in messagecontent.jsp and messageheaders.jsp they are
using the javamail tag to set msginfo then later they are directly accessing
methods of msginfo in java scripts. This requires that the classes
messageInfo and attachmentInfo have to be imported in messagecontent.jsp and
Hi Steve,
Yes, it's pure java. They have differen't files because of the various
compression schemes used on the files. The .bat files for Windows and the
.sh files for Linux/Solaris/Unix are in all the downloads.
Rick
- Original Message -
From: Steven C. Chau [EMAIL PROTECTED]
To:
Hi Stuart,
It looks as if you have a problem with instance variables (variables in a
class declared outside a method). All logins are going to be using the same
copy of the code, i.e. same variable space etc. All synchronizing does is
make sure that the threads play nice when modifying the
Hi Benjamin,
The sessions have a timeout value. If there is no action on a session for
that amount of time the server kills it. You can also invalidate a session
in your program, usually with a logout page, but there no guaranteeing
that the user will do it.
A snooper could technically get a
.
Rick
You don't know how I can have information about the implementation of
HttpSession ?
Benja.
-Original Message-
From: Rick Fincher [mailto:[EMAIL PROTECTED]]
Sent: mercredi 15 mai 2002 16:17
To: Tomcat Users List
Subject: Re: Session variables
Hi Benjamin
You may want to look at the J2EE docs at:
http://java.sun.com/j2ee/sdk_1.3/techdocs/api/index.html
and look at javax.servlet.http.Http.Session.
These have the details about the calls used by Tomcat to implement sessions.
To see exactly how Tomcat does it, you'll have to look at the Tomcat surce
Hi All,
I have a few simple things I could contribute, like a contact database that
lets users share a database of name, address, etc, etc. info. It uses an
SQL DB but it's all open source.
I'm working on a program to syncronize it with Palm Pilots, but that has a
ways to go.
I've also got a
Older versions of Tomcat don't, new ones will if you set reloadable to
true in the context. It will monitor WEB-ING/lib and WEB-INF/classes for
changes and reload if it detects any.
This canj cause a performance degradation on your server so you may only
want to do this for development.
Rick
We need a FAQ for this list. Is there one already somewhere?
A lot of the questions are answered in the docs, but you have to know where
to find them.
A FAQ with links to the relevant doc pages would be great.
If one doesn't exist, maybe we can make one and just post it to the list
once a
You need to set the CATALINA_HOME systemwide by going to the control panel,
opening sysem, selecting the Advanced tab and clicking Environment
Variables.
That's for Win 2000. It's similar, but a little different (if I remember
correctly) on other Win versions.
You can look it up under help for
Hi Oki,
You can work around the problem by precompiling your web apps with jspc, or
you can use JVM 1.3.1.
It's an easy work around. You just need to be aware of the problem.
Rick
- Original Message -
On 05/07 02:59 Rick Fincher wrote:
What JVM are you using? Java 1.4 has
Hi Hillel,
This is a longshot but you aren't calling login.jsp directly are you? It
should generate errors if you do, but it's just a thought.
Also, what are the implications of making your login page a jsp as opposed
to an html? I haven't tried it, but can that cause a second call to the
If your index.jsp is a frameset each frame gets called with a different
session number.
You may need to make a simple index.jsp that calls your frameset, otherwise
session info set in one frame won't be available to pages in another frame.
Rick
- Original Message -
From: Vincent
Hi Jon,
I have not used it, so I can't say how well it works but the 4.1 server.xml
and example webapps have examples showing how use JNDI for that. The admin
webapp (kind of confusing terminology, manager now refers mostly to
persistence management and the admin webapp is the administration
auth-constraint
Hi Eddie,
Put something like the following in your web.xml and set up a realm in
server.xml. The transport-guaranteeCONFIDENTIAL tag causes SSL to be
used, drop it if you don't want SSL.
Your login form has to have a form with action=j_security_check and that
form must
Hi Wei,
I have used Netscape (4.7) with Tomcat 4.0.3 and had no trouble doing that,
so Netscape 6 should work. Any browser that does HTML should work.
I suspect it is a Netscape configuration problem since it works OK on a
Windows box.
I've had a lot of problems with Netscape 6 on Solaris, so
Hi Jack,
What JVM are you using? Java 1.4 has a memory leak in the javac compiler
that causes a problem under Tomcat.
Are you sure it's SQL Server and not Tomcat with the memory leak?
Rick
- Original Message -
Hi all,
I am using JSQLConnect Drive from NetDirect for SQL server
Hi Ralph,
Have you tried putting catalina.jar in common/lib/ or /java/jre/lib/ext/ or
even WEB-INF/lib?
I don't know if Tomcat can get by without it in tomcat/server/lib, but you
may need to move it to prevent multiple class loading, but I doubt it.
Rick
- Original Message -
From:
Hi Julie,
In your web.xml file if you specify auth-method FORM you have to give it two
form names like so:
auth-methodFORM/auth-method
form-login-config
form-login-page/login.htm/form-login-page
form-error-page/loginFailed.htm/form-error-page
/form-login-config
You
Hi,
Can coyote be configured for use with SSL?
How stable is coyote?
Thanks,
Rick
Hi Albert,
There is a memory leak in the javac compiler in JDK 1.4.0. This is
described in the release notes with Catalina.
You can work around it by using jspc to precompile your JSP's or by dropping
back to JDK 1.3.1.
Hopefully it will be fixed in JDK1.4.1.
Rick
Hi Tomcat User,
I use
Hi Tim,
Your main (or index) page is your init page. After a successful login you
can get the username and role from the request object with the
getRemoteUser() and isUserInRole(roleNameString) methods.
If you need more data than that you can try stuffing data into the session
in your login
Edit that in server.xml in the conf directory.
Tomcat defaults to 8080 (or 8443 sor SSL rather than 443) because some
systems make you jump through a lot of hoops to use ports with numbers below
1000 for security reasons.
Rick
Our web site domain name is hudsonwholesalers.com
The site
Hi Ken,
Have you tried setting the debug level to 99 in the realm tag in server.xml?
You may have already done this, but it will add a lot more info to the log
about the process of getting into the realm.
Rick
Hi,
I've spent many hours last week and a few more today trying to get JDBC
Hi Eric,
If your log is empty you may not have CATALINA_HOME set up correctly. If
you used a Tomcat 3.x and are using some old scripts they may have
TOMCAT_HOME set up in them. They will need to be changed to CATALINA_HOME.
You should see some messages in the logs. Are the permissions of the
Hi Ken,
The spec allows the values:
connectionName=username
connectionPassword=password
in the realm tag in server.xml. You might try that instead of putting the
username and password in the connection URL.
Tomcat then builds the string for the URL with the connection parameters in
it.
Hi Ben,
Someone else today had similar questions so you might want to check for the
subject initializing Session state during realm login.
This was in Tomcat 4.0.x which has this built in.
If you use FORM level security you submit your own jsp page as the login
page and another as the page to
Hi All,
I heard somewhere that there was a memory leak in the JDK 1.4.0 compiler and it
shouldn't be used with Tomcat.
I can't find the reference to that and was wondering if anyone else heard this?
Sorry if this is repetitive, I just signed on and the FAQ is empty.
Rick
1 - 100 of 101 matches
Mail list logo