I found the problem :
I was using a UserPrincipal and a RolePrincipal that had a case insensitive
equals() method. I was first adding the UserPrincipal with name admin, and
then adding a RolePrincipal with name Admin. The case insensitive equals()
implies that the Role was not added as it
Hello list,
is it safe to use the new JDK 5.0 language features, e.g. annotations
and generic types, with Tomcat 5.5? Do people do this in practice? Was
this tested extensively? Are there any known issues in this area? Please
let me know your experience with using new JDK 5.0 constructs with
Didn't have any problems so far...
On Mon, 07 Mar 2005 10:22:09 +0100, Petr Jiricka [EMAIL PROTECTED] wrote:
Hello list,
is it safe to use the new JDK 5.0 language features, e.g. annotations
and generic types, with Tomcat 5.5? Do people do this in practice? Was
this tested extensively? Are
AFAIK the eclipse JDT compiler, that is used per default to compile the
JSPs, doesn't support JDK 5.0 features. So you mustn't use these
features in JSPs or change the JSP compiler.
Christoph
Petr Jiricka wrote:
Hello list,
is it safe to use the new JDK 5.0 language features, e.g. annotations
Port 443 must be opened on the firewall. When a browser uses https it is
talking on port 443 and not 80.
The redirect is telling the browser to call back on port 443 or whatever
port is designated as https, and not a transfer.
Although https can be defined to run on port 80 or any port you
Does anyone know of a good JSP/Servlet mailing list/help list that is
both active and similar in format to this group?
Thanks!
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi all,
I am getting ClassNotFoundException when deserialising
arrays/Lists stored in session. It have no problem with normal objects
but have error when it is made an array or List.
The set up is Tomcat 4.1.12 standalone. Sun J2SE 1.4.2_04. Using
Filestore persistent manager which is set
Hi,
We've been fine with for loops and generics with Tomcat 5.5, but we have only
used JSTL in JSPs, no scriplet.
Allistair.
-Original Message-
From: Christoph Kutzinski [mailto:[EMAIL PROTECTED]
Sent: 07 March 2005 11:44
To: Tomcat Users List
Subject: Re: Using new JDK 5.0
since we're talking about that...
I have a system running *perfectly* using Tomcat 5.0.28 and Java
1.4.2_07. But I think in migrate this system to Java 1.5.0_01 using
Tomcat 1.5.7, in an Production server.
My question is: have any problem in make this migration? What is the
group opinion?
Rodrigo Avila wrote:
since we're talking about that...
I have a system running *perfectly* using Tomcat 5.0.28 and Java
1.4.2_07. But I think in migrate this system to Java 1.5.0_01 using
Tomcat 1.5.7, in an Production server.
My question is: have any problem in make this migration? What is the
Hi!
I have installed Tomcat 5.5.7 and java 1.5. It works perfectly.
I would like to compile some JSP pajes using the Remedy Java API (arapi51.jar).
I don't know where I have to put the jar files from this API. I've put
them here:
D:\Program Files\Apache Software Foundation\Tomcat
Thanks guys -
Got the configs and logging worked out. Your help appreciated. Still
stuck on getting the .pfx out of the client.keystore. Trying java
forums on that front. If anyone interested in the solution let me know
and I'll fill you in when I get it worked out.
- wjs
-Original
Hi All,
I turned on the Reverselookup in my httpd.config file, and also enabled
lookup on the connector in my server.xml.
When getRemoteHost method is invoked it is returning the ipaddress of my
system instead of hostname (which iam expecting).
* I tried by using Inetaddress in my servlet
Hi Friends,
I have this simple method which works fine on my system(Tomcat 5.0,jdk
1.5)..but not on the server(Tomcat 5.5.7,jdk1.5).Can someone explain me why:
-
String syear = null;
int selectedYear = 0;
try{
syear =
On Mar 7, 2005, at 10:21 AM, micky none wrote:
Hi Friends,
I have this simple method which works fine on my system(Tomcat 5.0,jdk
1.5)..but not on the server(Tomcat 5.5.7,jdk1.5).Can someone explain
me why:
See the thread just before this on JDK1.5 -- Java 1.5 is supported in
servlets but not
Is there anyway to map a context to the root of a website.
For instance: http://www.test.com/context/ to
http://www.test.com/
I know I can do this by creating mulitple Tomcat Instances but this is
not very efficient on resources.
I have done it with Mod_warp with success but need to do it
Hi,
Yes this is extremely common and in TC 5.0 is configured using an empty path
attribute in the Context element and in 5.5 it is done by naming your web
application as ROOT. FOr IIS to TC look up JK 1.2.8, there's even an installer.
Your mappings would be /something=ajp13 rather than
Y, but you can only have one ROOT in the webapps folder? Is this what
you are talking about? I would like to have multiple contexts mapped to
the ROOT of different web servers.
http://www.test1.com/mapped to /context1
http://www.test2.com/mapped to /context2
http://www.test3.com/
So, I tried setting the servlet response content type to message/rfc822.
With Netscape Nav 7.2, it prompts me to open the default application
(suggesting MS Outlook Express, which is my default e-mail app). I click OK
and get the e-mail content in all its glory.
With IE 6, it simply displays
I am working on writing some junit tests for a project and am running
into some rather odd behavior... it seems that tomcat is caching the
servlets configuration data somewhere between tests. Here's what I'm
doing...
Presently I have one TestCase class with two methods, let's call them
testA()
Hi All,
For the past couple of months we have been facing a peculiar problem
on our production environment. And we have been unable to resolve this
issue so far.
We have an application hosted on Tomcat 4.1.30 and using JDK1.4.2_06.
We also have an Apache WS - (think it is v2.0.2). Everyday
For JSP authoring questions related to JSTL, custom tag libraries
(especially those supported by jakarta taglibs), you can post to
[EMAIL PROTECTED] If your questions are Jasper or TC
deployment specific, you're better off staying here ;-)
-Rahul
On Mon, 7 Mar 2005 07:56:23 -0500, Anderson, M.
I have looked through the tomcat-user archives regarding the following
issue, but I was not able to find an answer.
I am using Apache Tomcat/5.5.1 (JVM version 1.5.0-rc-b63) on Windows
2000.
It appears to me that, after I have modified env-entry values in
web.xml and then saved the web.xml file,
This is how I use to be able to do it with mod_warp.
WebAppConnection mps warp localhost:8019
WebAppDeploy . mps /
Deployed the specific context to the root of the actual site leaving 1
instance of tomcat with multiple webapps.
Thanks
Ronnie Tartar
407-251-2036
Hi,
I'm using Apache 4.1.30 with MySQL and find that connections are
re-established.
I suspect it's worth looking at the options for your Oracle database
connection url.
For example, with MySQL we can specify:
parameter
nameurl/name
I've seen similar problems in a non-Tomcat Java application.
The root cause was a memory leak. Although Java has good garbage collection,
it relies on object references being released.
This is generally fine, but some buggy applications can add references to
large object to the application
Problem: when datbase restarts connection is not established.
i have a very similar problem, with tomcat 5.5.7 mysql-connector 3.1.6
- when mysql drops the connection after 8 hours (it's a *very*
low-traffic site) JDBCRealm can't or won't reconnect (the underlying
exception is
Hi James,
In mine case I am using jdbc:oracle:thin driver class
oracle.jdbc.driver.OracleDriver
and going through Tomcat doc I can only guess for reconnecting to datbase
a parameter tag in Context tag can
solve the issue.
parameternamevalidationQuery/namevalueSELECT 1 FROM
It might also be that Tomcat needs more memory than the JVM will allocate.
We had that problem.
With the Sun JVM, the options -Xss128k -Xmx128m increased the stack and max
heap size and there no longer was a problem.
Try to set CATALINA_OPTS in bin/startup.sh:
CATALINA_OPTS=$CATALINA_OPTS -server
From: Marshall, Bob [mailto:[EMAIL PROTECTED]
Subject: web.xml env-entry Values Not Re-read Using Tomcat Manager
I am using Apache Tomcat/5.5.1 (JVM version 1.5.0-rc-b63) on Windows 2000.
Have you tried this on a stable version of Tomcat (5.5.7) and a released
version of the JRE (5.0
Hello,
has anyone tried to run Tomcat on Window XP 64 Bit? I
was wondering if it is safe to switch my whole
devlopement environment to the new OS version.
cheer,
Peter
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
I have an object with a TimeStamp member. This will be populated by
users of a website and entered into a database.
My problem is, I would like to allow the users to enter the date in a
number of formats. Does anyone have any recommendations aside from
multiple try catch blocks each trying to
You could do regular expression field validation. That is, client-side
(javascript), build a regular expression object that finds a match for many
formats and run the test function on the input string. If true, a match was
found, and hence a legal date. The downside is that if you have many
Hi,
I'm supporting a legacy app that uses Remedy. It's Tomcat 4.x and Java
1.4 based, but I imagine the setup should be the same. The arapi51.jar
file goes into WEB-INF/lib. This app runs on Linux and there are some
.so files that need to be copied to $JAVA_HOME/jre/lib/i386. The .so
files can
So - JDK with or without the patches may not be the issue here?? Did
anyone install patches for JDK 1.4.2_06 and see any improvement or
anything??
-Anoop
On Mon, 07 Mar 2005 18:50:49 +0100, David Tonhofer, m-plify S.A.
[EMAIL PROTECTED] wrote:
It might also be that Tomcat needs more memory
I have a page in a tomcat 4.1 webapp that has a rather lengthy path name,
but I'd like to be able to email a much shorter link to avoid long links
being broken across lines by some older email clients.
With Apache HTTPD's rewrite module, this could be accomplished. Is there
something similar
okay... so disregard this. It turns out the servlet was parsing the
configuration document into a static variable that was not being reset
between tests. All is well with the world again.
-
To unsubscribe, e-mail: [EMAIL
hi,
does anybody know how to change the default log4j configuration for tomcat 5.0x?
the default logging level is info, I want to change to debug?
Thanks in advance.
Sean
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
You could write a filter to do this. So if the filter see's the shorter
url it can redirect/forward to the longer url.
Subir
-Original Message-
From: David Wall [mailto:[EMAIL PROTECTED]
Sent: Monday, March 07, 2005 11:26 AM
To: Tomcat Users List
Subject: Tomcat 4.1 and
I've read the FAQ regarding 'when it's ready' and I haven't seen
anything about this in the mailing list archives, however, I still
need to be able to answer this question for my boss.
We started up the 5.5 path with .4, which had a bug with POST and
basic auth that required upgrading to .7 which
On Mon, 7 Mar 2005 15:07:15 -0500, Andy Kriger [EMAIL PROTECTED] wrote:
I've read the FAQ regarding 'when it's ready' and I haven't seen
anything about this in the mailing list archives, however, I still
need to be able to answer this question for my boss.
We started up the 5.5 path with .4,
5.5.8 is already released, but it is marked as alpha.
Andy Kriger wrote:
I've read the FAQ regarding 'when it's ready' and I haven't seen
anything about this in the mailing list archives, however, I still
need to be able to answer this question for my boss.
We started up the 5.5 path with .4,
Hi,
I've just installed 5.5.7 and after a few teething problem (mainly the
logger and a few old resources), everything starts okay, the localhost
page is displaying and there are no problems reported in the logs.
But... and I'm sure I'm doing something silly... I'm getting the
following error
The encoding parameter is optional.
If I use the digest.sh script on Fedora Core 3 all works as expected.
FWIW digest.bat also works on XP SP2.
I suggest using the pre-written scripts.
Mark
Ole Ersoy wrote:
Hey everybody,
I'm trying to get the following script to digest
a password for me using
How do I perform a silent install with Tomcat on windows where I pass on the
command line the port, the JVM, and all the other data from the install
dialogs?
John McClain
Senior Software Engineer
TCS Healthcare
[EMAIL PROTECTED]
(530)886-1700x235
Before you criticize someone, walk a mile in their
Ah. Looks like it's just not seeing my context xml file in
conf/Catalina, and must be picking the one in the war file up instead.
Is this expected?
Digby wrote:
Hi,
I've just installed 5.5.7 and after a few teething problem (mainly the
logger and a few old resources), everything starts okay,
Dear list,
i try to setup a tomcat installation which uses a postgreSQL-database
for managing users. However, when starting tomcat i get the following
exceptions:
07.03.2005 20:28:53 org.apache.catalina.realm.UserDatabaseRealm start
SCHWERWIEGEND: Exception looking up UserDatabase under key
I am trying to build a web (myfaces) application that uses a proprietary API
called Documentum Foundation Classes. (DFC)
DFC uses a patched version of Xalan that is provided with the API.
Unfortunately it does not seem to work with Tomcat 5.x, only Tomcat 4.x
I get the following error
Hello,
I think I already found the answer elsewhere (it is not possible!),
but I would be very frustrated and disappointed, and that's why I'm
trying here. What I want is to have a login form on the (publicly
accessible) main page of my web site, so that a user can enter
username/password
You need to use the endorsed standards override mechanism.
http://java.sun.com/j2se/1.4.2/docs/guide/standards/
Put your DFC.jar in common/endorsed and re-try.
-Original Message-
From: Faine, Mark [mailto:[EMAIL PROTECTED]
Sent: Monday, March 07, 2005 4:22 PM
To:
I have been trying for days and tons of google searches and mail archive
searches and can't find an answer to the quandry I find
myself in.
I need to allow users to upload to a directory in the ROOT context of my tomcat
server. For some reason, and it may be a security
deal, I can't retrieve
Yes, I'm currently running it under the 64bit RC2 with the Java 1.5.0 jdk/jre.
It runs well, if only in 32bits.
Jeff
-Original Message-
From: Peter Neu [mailto:[EMAIL PROTECTED]
Sent: Monday, March 07, 2005 12:09 PM
To: Tomcat Users List
Subject: Tomcat on Win XP 64 Bit
Hello,
has
Hello I am running tomcat 5 on windoze xp and trying to get remote debugging
to work. I can do it fine when the server is linux but can not get it to
work with windoze.
In the java options (in the tomcat properties dialog) I put the following
-Xdebug -Xnoagent -Djava.compiler=NONE
Okay, here's the relevant bit of my server.xml and portal.xml. I really
don't think Tomcat is looking in the conf/catalina/myhostname/mycontext.xml
Engine defaultHost=myhostname name=Catalina
Host appBase=webapps name=localhost
/Host
Host appBase=C:\Documents and Settings\All
Hi,
I am trying to intercept the submit action of login.jsp. I am using FORM
authentication. The plan is to wrap the response in the Servlet Filter
to intercept j_security_check action to identify the username,
password and role to create a user object. In this way user profile is
available for
Hi,
This could be because Tomcat uses other -D option, which I am not
exactly sure of (refer the doc).
Besides, you need jdk 1.5XXX and you have to start the server from the
TOMCAT_HOME directory.
Also try to set the suspend=n option to suspend=y this will make the
debuggee to wait till the
If I only do -Xdebug I still get the error messages
Is 1.5 a requirement for windoze??? I have remote debugged before with way
earlier versions on linux
Thanks
-Original Message-
From: Ramu, Vinod [mailto:[EMAIL PROTECTED]
Sent: Monday, March 07, 2005 4:07 PM
To: Tomcat Users List;
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Using: Tomcat 5.5.4, JDK 1.5 Win2000 Server
(Also: Tomcat 5.5.4, OS X Panther 10.3.8 latest JVM)
We have several webapps that are deployed from war files. When
attempting to undeploy the webapp using the Tomcat Manager app, the
war file gets deleted
From: Randy Paries [mailto:[EMAIL PROTECTED]
Subject: RE: Remote debugging with tomcat windows
If I only do -Xdebug I still get the error messages
Have you tried running it from the command line rather than as a service?
Is 1.5 a requirement for windoze???
No; have no idea why anyone
Hello,
Are any plans in the works for Tomcat to support the concept of mapping
J2EE security-roles (as defined in web.xml) to one or more groups, where
a group is an entity in an LDAP/RDBMS/XML security store that may be
shared by multiple applications?
Right now, Tomcat supports a one-to-one
Ok, if I could read I'd be dangerous. I finally found the crossContext
attribute in the context descriptor. Man, I just glossed
right over that one. Changed it in the web app accessing the root directory
and voila, it works. Duh (dull slap as hand hits
forhead with enough force to crack the
Hi,
I tired to get an answer to my serious questions for quite a while ( I
assume, if a question is not answered within a few days, it will be lost ).
This mailing-list did not react to my problems. Are there no
knowledgeable people out there? To connect Apache to Tomcat should not
be a real
Anyone know where to get a comprehensive live of file extensions to
mime types? I have 1020 file extensions and 175 mime types but have
found only 85 mappings. Thanks for any assistance. This is for a
download application.
Jack
--
You can lead a horse to water but you cannot make it float on
Klaus,
Taking a tone with people gives you less chance of a response.
Are you doing any url rewriting in Apache?
PJ
Klaus-F. Kaal wrote:
Hi,
I tired to get an answer to my serious questions for quite a while ( I
assume, if a question is not answered within a few days, it will be
lost ).
This
The 5.5 jndi resource has all of the attributes for
the data source in one element, like this:
Resource name=jdbc/myoracle auth=Container
type=javax.sql.DataSource
driverClassName=oracle.jdbc.driver.OracleDriver
url=jdbc:oracle:thin:[EMAIL
There are plenty. You have to be patient. And yes you can get lost. I have
several times.
Now, where was I?
Oh!
A few questions for you.
Why are you using Apache?
What how-to did you follow?
Are you using mod-jk or mod-jk2 ?
Doug
- Original Message -
From: Klaus-F. Kaal [EMAIL
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Jeroen Kransen wrote:
| Hello,
|
| I think I already found the answer elsewhere (it is not possible!),
| but I would be very frustrated and disappointed, and that's why I'm
| trying here. What I want is to have a login form on the (publicly
|
This is what I found in the documentation
If using a J2SE 1.4 JRE, the compatibility package must be downloaded and
expanded inside the folder where Tomcat was installed
I am using tomcat 5.5
I was not able to get my debugger join the server until I ran the tomcat on the
command using
Hi All,
I have a problem with Tomcat that we use here.
The problem occured when we tried to login.
Sometimes, it will hang on the login page.
This problem can be solved by restarting the Tomcat.
The platform and version :
- Jakarta Tomcat 3.3.1a
- Windows 2000 Advance Server SP4
The error
I am waiting for some knowledgeable person to answer my questions.
Meanwhile I will write a test application, download Tomcat source code
and try to debug the problem.
rgds
Antony Paul
On Mon, 7 Mar 2005 18:30:47 +0530, Antony Paul [EMAIL PROTECTED] wrote:
Hi all,
I am getting
Hi,
I am using tomcat 5.5.7 with JAAS authentication via the JAASRealm realm
implementation.
I have written my own custom LoginModule. How do I get my implementation
of logout() to be called? I tried just invalidating the session from a
JSP page but this didn't work. Is there some hook
I have Tomcat 5.5.7 behind a router/firewall, with port 443 and 8080
forwarded through the firewall. I can make connections from outside the
firewall to port 8080, but not port 443 (it times out). I can access
port 443 on my server if I browse to my server's LAN address or if I
browse to my
Hi,
I am load-balancing tomcat 5.0.28 using JK1.2 / AJP1.3.
For discussion, let's assume I have 2 tomcats (TomcatA and TomcatB)
load-balanced. When I shutdown one of the tomcats (Tomcat B), future
requests for TomcatB is correctly redirected and handled by the TomcatA.
However, the original
I figured it out.
I was importing the new signed cert to a new alias in my keystore,
rather than the original key I generated when I created the keystore.
And, Netscape's CA Chain certs work with JBoss/Tomcat5.
John Urban wrote:
I have sent my CSR and been approved and received my SSL Web server
I created a sample application and is available at
http://geocities.com/antonypaul24/web.html . Any one can download it
and test.
rgds
Antony Paul
On Tue, 8 Mar 2005 10:01:13 +0530, Antony Paul [EMAIL PROTECTED] wrote:
I am waiting for some knowledgeable person to answer my questions.
Hi Doug,
sorry, that I had to shout out, but I can see that every specialist gets
tons of eMails every day. And if he or she does not answer straight away
to some mails, the others will be dumped in a bin and ... lost.
And nobody answered by mails since days...
Thanks for your reply.
I have
Hi Peter,
I can imagine that the gurus get tons of eMails with difficult and silly
questions. And as there is limited time, they can't answer them all. I
believe they keep answering the freshly incoming ones. Since I am really
in problems and did not get an answer over days, I thought, I was
77 matches
Mail list logo